Documentation
¶
Overview ¶
Package gen 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 ¶
- func DeliverAlertGroupEventWebhookHandler(si WebhookReceiverInterface, ...) http.Handler
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- type AcceptRouteSuggestion201JSONResponse
- type AcceptRouteSuggestion201ResponseHeaders
- type AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse
- type AcceptRouteSuggestion401ApplicationProblemPlusJSONResponse
- type AcceptRouteSuggestion403ApplicationProblemPlusJSONResponse
- type AcceptRouteSuggestion404ApplicationProblemPlusJSONResponse
- type AcceptRouteSuggestion409ApplicationProblemPlusJSONResponse
- type AcceptRouteSuggestion422ApplicationProblemPlusJSONResponse
- type AcceptRouteSuggestion429ApplicationProblemPlusJSONResponse
- type AcceptRouteSuggestionJSONRequestBody
- type AcceptRouteSuggestionRequestObject
- type AcceptRouteSuggestionResponseObject
- type AccountLink
- type AccountLinkId
- type AccountLinkList
- type AckTimeoutPolicy
- type AcknowledgeAlertGroup200JSONResponse
- type AcknowledgeAlertGroup401ApplicationProblemPlusJSONResponse
- type AcknowledgeAlertGroup403ApplicationProblemPlusJSONResponse
- type AcknowledgeAlertGroup404ApplicationProblemPlusJSONResponse
- type AcknowledgeAlertGroup409ApplicationProblemPlusJSONResponse
- type AcknowledgeAlertGroup429ApplicationProblemPlusJSONResponse
- type AcknowledgeAlertGroupRequestObject
- type AcknowledgeAlertGroupResponseObject
- type ActiveStorm
- type ActorKind
- type ActorRef
- type ActorRefKind
- type AgDeliveryProblem
- type AgIntegration
- type AgLabelColumns
- type AgNumber
- type AgOwner
- type AgQuery
- type AgReopened
- type AgResolveReason
- type AgResolvedBy
- type AgRoute
- type AgSeverity
- type AgSnoozedNoEnd
- type AgSort
- type AgStatus
- type AgUnclaimed
- type AgUrgent
- type AlertGroup
- type AlertGroupAlert
- type AlertGroupAlertList
- type AlertGroupCounts
- type AlertGroupDelivery
- type AlertGroupDeliveryList
- type AlertGroupId
- type AlertGroupLink
- type AlertGroupLinkKind
- type AlertGroupList
- type AlertGroupNotice
- type AlertGroupNoticeKind
- type AlertGroupRef
- type AlertGroupStatistics
- type AlertGroupStatisticsGroupBy
- type AlertGroupStatisticsItem
- type AlertGroupStatus
- type AlertState
- type AlertmanagerAlert
- type AlertmanagerRoute
- type AlertmanagerRouteList
- type AlertmanagerWebhook
- type AnswerReminder200JSONResponse
- type AnswerReminder401ApplicationProblemPlusJSONResponse
- type AnswerReminder403ApplicationProblemPlusJSONResponse
- type AnswerReminder404ApplicationProblemPlusJSONResponse
- type AnswerReminder409ApplicationProblemPlusJSONResponse
- type AnswerReminder429ApplicationProblemPlusJSONResponse
- type AnswerReminderRequestObject
- type AnswerReminderResponseObject
- type AuditActor
- type AuditActorKind
- type AuditDiffEntry
- type AuditEntry
- type AuditEntryList
- type BadRequest
- type BadRequestApplicationProblemPlusJSONResponse
- type BeginTotpEnrolment201JSONResponse
- type BeginTotpEnrolment401ApplicationProblemPlusJSONResponse
- type BeginTotpEnrolment403ApplicationProblemPlusJSONResponse
- type BeginTotpEnrolment409ApplicationProblemPlusJSONResponse
- type BeginTotpEnrolment429ApplicationProblemPlusJSONResponse
- type BeginTotpEnrolmentRequestObject
- type BeginTotpEnrolmentResponseObject
- type BrokenDestination
- type BulkCommandItem
- type BulkCommandRequest
- type BulkCommandRequestCommand
- type BulkCommandResult
- type BulkOutcome
- type ChangePassword204Response
- type ChangePassword400ApplicationProblemPlusJSONResponse
- type ChangePassword401ApplicationProblemPlusJSONResponse
- type ChangePassword403ApplicationProblemPlusJSONResponse
- type ChangePassword409ApplicationProblemPlusJSONResponse
- type ChangePassword422ApplicationProblemPlusJSONResponse
- type ChangePassword429ApplicationProblemPlusJSONResponse
- type ChangePasswordJSONRequestBody
- type ChangePasswordRequestObject
- type ChangePasswordResponseObject
- type CheckConnection200JSONResponse
- type CheckConnection400ApplicationProblemPlusJSONResponse
- type CheckConnection401ApplicationProblemPlusJSONResponse
- type CheckConnection403ApplicationProblemPlusJSONResponse
- type CheckConnection404ApplicationProblemPlusJSONResponse
- type CheckConnection429ApplicationProblemPlusJSONResponse
- type CheckConnection503ApplicationProblemPlusJSONResponse
- type CheckConnectionJSONRequestBody
- type CheckConnectionRequestObject
- type CheckConnectionResponseObject
- type CheckDestination200JSONResponse
- type CheckDestination401ApplicationProblemPlusJSONResponse
- type CheckDestination403ApplicationProblemPlusJSONResponse
- type CheckDestination404ApplicationProblemPlusJSONResponse
- type CheckDestination422ApplicationProblemPlusJSONResponse
- type CheckDestination429ApplicationProblemPlusJSONResponse
- type CheckDestination503ApplicationProblemPlusJSONResponse
- type CheckDestinationRequestObject
- type CheckDestinationResponseObject
- type CheckOidcSettings200JSONResponse
- type CheckOidcSettings401ApplicationProblemPlusJSONResponse
- type CheckOidcSettings403ApplicationProblemPlusJSONResponse
- type CheckOidcSettings429ApplicationProblemPlusJSONResponse
- type CheckOidcSettingsRequestObject
- type CheckOidcSettingsResponseObject
- type CommandName
- type CommandOutcome
- type CommandResult
- type CompleteOidcLink302Response
- type CompleteOidcLink302ResponseHeaders
- type CompleteOidcLink429ApplicationProblemPlusJSONResponse
- type CompleteOidcLinkParams
- type CompleteOidcLinkRequestObject
- type CompleteOidcLinkResponseObject
- type CompleteOidcSignIn302Response
- type CompleteOidcSignIn302ResponseHeaders
- type CompleteOidcSignIn429ApplicationProblemPlusJSONResponse
- type CompleteOidcSignInParams
- type CompleteOidcSignInRequestObject
- type CompleteOidcSignInResponseObject
- type CompletePasswordSetup204Response
- type CompletePasswordSetup400ApplicationProblemPlusJSONResponse
- type CompletePasswordSetup403ApplicationProblemPlusJSONResponse
- type CompletePasswordSetup404ApplicationProblemPlusJSONResponse
- type CompletePasswordSetup410ApplicationProblemPlusJSONResponse
- type CompletePasswordSetup422ApplicationProblemPlusJSONResponse
- type CompletePasswordSetup429ApplicationProblemPlusJSONResponse
- type CompletePasswordSetupJSONRequestBody
- type CompletePasswordSetupRequestObject
- type CompletePasswordSetupResponseObject
- type ConfirmMattermostLink201JSONResponse
- type ConfirmMattermostLink400ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLink401ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLink403ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLink404ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLink409ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLink422ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLink429ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLink503ApplicationProblemPlusJSONResponse
- type ConfirmMattermostLinkJSONRequestBody
- type ConfirmMattermostLinkRequestObject
- type ConfirmMattermostLinkResponseObject
- type ConfirmTotpEnrolment200JSONResponse
- type ConfirmTotpEnrolment400ApplicationProblemPlusJSONResponse
- type ConfirmTotpEnrolment401ApplicationProblemPlusJSONResponse
- type ConfirmTotpEnrolment403ApplicationProblemPlusJSONResponse
- type ConfirmTotpEnrolment409ApplicationProblemPlusJSONResponse
- type ConfirmTotpEnrolment422ApplicationProblemPlusJSONResponse
- type ConfirmTotpEnrolment429ApplicationProblemPlusJSONResponse
- type ConfirmTotpEnrolmentJSONRequestBody
- type ConfirmTotpEnrolmentRequestObject
- type ConfirmTotpEnrolmentResponseObject
- type Conflict
- type ConflictApplicationProblemPlusJSONResponse
- type Connection
- func (t Connection) AsMattermostConnection() (MattermostConnection, error)
- func (t Connection) AsTelegramConnection() (TelegramConnection, error)
- func (t Connection) Discriminator() (string, error)
- func (t *Connection) FromMattermostConnection(v MattermostConnection) error
- func (t *Connection) FromTelegramConnection(v TelegramConnection) error
- func (t Connection) MarshalJSON() ([]byte, error)
- func (t *Connection) MergeMattermostConnection(v MattermostConnection) error
- func (t *Connection) MergeTelegramConnection(v TelegramConnection) error
- func (t *Connection) UnmarshalJSON(b []byte) error
- func (t Connection) ValueByDiscriminator() (interface{}, error)
- type ConnectionCheckRequest
- type ConnectionCheckResult
- type ConnectionCheckResultWarnings
- type ConnectionCheckStep
- type ConnectionCheckStepName
- type ConnectionId
- type ConnectionInput
- func (t ConnectionInput) AsMattermostConnectionInput() (MattermostConnectionInput, error)
- func (t ConnectionInput) AsTelegramConnectionInput() (TelegramConnectionInput, error)
- func (t ConnectionInput) Discriminator() (string, error)
- func (t *ConnectionInput) FromMattermostConnectionInput(v MattermostConnectionInput) error
- func (t *ConnectionInput) FromTelegramConnectionInput(v TelegramConnectionInput) error
- func (t ConnectionInput) MarshalJSON() ([]byte, error)
- func (t *ConnectionInput) MergeMattermostConnectionInput(v MattermostConnectionInput) error
- func (t *ConnectionInput) MergeTelegramConnectionInput(v TelegramConnectionInput) error
- func (t *ConnectionInput) UnmarshalJSON(b []byte) error
- func (t ConnectionInput) ValueByDiscriminator() (interface{}, error)
- type ConnectionList
- type ConnectionPath
- type ConnectionType
- type ConvertUserToLocal200JSONResponse
- type ConvertUserToLocal401ApplicationProblemPlusJSONResponse
- type ConvertUserToLocal403ApplicationProblemPlusJSONResponse
- type ConvertUserToLocal404ApplicationProblemPlusJSONResponse
- type ConvertUserToLocal409ApplicationProblemPlusJSONResponse
- type ConvertUserToLocal429ApplicationProblemPlusJSONResponse
- type ConvertUserToLocalRequestObject
- type ConvertUserToLocalResponseObject
- type CreateAlertGroupNote201JSONResponse
- type CreateAlertGroupNote400ApplicationProblemPlusJSONResponse
- type CreateAlertGroupNote401ApplicationProblemPlusJSONResponse
- type CreateAlertGroupNote403ApplicationProblemPlusJSONResponse
- type CreateAlertGroupNote404ApplicationProblemPlusJSONResponse
- type CreateAlertGroupNote422ApplicationProblemPlusJSONResponse
- type CreateAlertGroupNote429ApplicationProblemPlusJSONResponse
- type CreateAlertGroupNoteJSONRequestBody
- type CreateAlertGroupNoteRequestObject
- type CreateAlertGroupNoteResponseObject
- type CreateConnection201JSONResponse
- type CreateConnection201ResponseHeaders
- type CreateConnection400ApplicationProblemPlusJSONResponse
- type CreateConnection401ApplicationProblemPlusJSONResponse
- type CreateConnection403ApplicationProblemPlusJSONResponse
- type CreateConnection409ApplicationProblemPlusJSONResponse
- type CreateConnection422ApplicationProblemPlusJSONResponse
- type CreateConnection429ApplicationProblemPlusJSONResponse
- type CreateConnectionJSONRequestBody
- type CreateConnectionRequestObject
- type CreateConnectionResponseObject
- type CreateDestination201JSONResponse
- type CreateDestination201ResponseHeaders
- type CreateDestination400ApplicationProblemPlusJSONResponse
- type CreateDestination401ApplicationProblemPlusJSONResponse
- type CreateDestination403ApplicationProblemPlusJSONResponse
- type CreateDestination409ApplicationProblemPlusJSONResponse
- type CreateDestination422ApplicationProblemPlusJSONResponse
- type CreateDestination429ApplicationProblemPlusJSONResponse
- type CreateDestination503ApplicationProblemPlusJSONResponse
- type CreateDestinationJSONRequestBody
- type CreateDestinationRequestObject
- type CreateDestinationResponseObject
- type CreateIntegration201JSONResponse
- type CreateIntegration201ResponseHeaders
- type CreateIntegration400ApplicationProblemPlusJSONResponse
- type CreateIntegration401ApplicationProblemPlusJSONResponse
- type CreateIntegration403ApplicationProblemPlusJSONResponse
- type CreateIntegration409ApplicationProblemPlusJSONResponse
- type CreateIntegration422ApplicationProblemPlusJSONResponse
- type CreateIntegration429ApplicationProblemPlusJSONResponse
- type CreateIntegrationJSONRequestBody
- type CreateIntegrationRequestObject
- type CreateIntegrationResponseObject
- type CreateIntegrationToken201JSONResponse
- type CreateIntegrationToken400ApplicationProblemPlusJSONResponse
- type CreateIntegrationToken401ApplicationProblemPlusJSONResponse
- type CreateIntegrationToken403ApplicationProblemPlusJSONResponse
- type CreateIntegrationToken404ApplicationProblemPlusJSONResponse
- type CreateIntegrationToken409ApplicationProblemPlusJSONResponse
- type CreateIntegrationToken422ApplicationProblemPlusJSONResponse
- type CreateIntegrationToken429ApplicationProblemPlusJSONResponse
- type CreateIntegrationTokenJSONRequestBody
- type CreateIntegrationTokenRequestObject
- type CreateIntegrationTokenResponseObject
- type CreateLinkRule201JSONResponse
- type CreateLinkRule201ResponseHeaders
- type CreateLinkRule400ApplicationProblemPlusJSONResponse
- type CreateLinkRule401ApplicationProblemPlusJSONResponse
- type CreateLinkRule403ApplicationProblemPlusJSONResponse
- type CreateLinkRule409ApplicationProblemPlusJSONResponse
- type CreateLinkRule422ApplicationProblemPlusJSONResponse
- type CreateLinkRule429ApplicationProblemPlusJSONResponse
- type CreateLinkRuleJSONRequestBody
- type CreateLinkRuleRequestObject
- type CreateLinkRuleResponseObject
- type CreateLookupTable201JSONResponse
- type CreateLookupTable201ResponseHeaders
- type CreateLookupTable400ApplicationProblemPlusJSONResponse
- type CreateLookupTable401ApplicationProblemPlusJSONResponse
- type CreateLookupTable403ApplicationProblemPlusJSONResponse
- type CreateLookupTable409ApplicationProblemPlusJSONResponse
- type CreateLookupTable422ApplicationProblemPlusJSONResponse
- type CreateLookupTable429ApplicationProblemPlusJSONResponse
- type CreateLookupTableJSONRequestBody
- type CreateLookupTableRequestObject
- type CreateLookupTableResponseObject
- type CreatePasswordSetupLink201JSONResponse
- type CreatePasswordSetupLink401ApplicationProblemPlusJSONResponse
- type CreatePasswordSetupLink403ApplicationProblemPlusJSONResponse
- type CreatePasswordSetupLink404ApplicationProblemPlusJSONResponse
- type CreatePasswordSetupLink409ApplicationProblemPlusJSONResponse
- type CreatePasswordSetupLink429ApplicationProblemPlusJSONResponse
- type CreatePasswordSetupLinkRequestObject
- type CreatePasswordSetupLinkResponseObject
- type CreatePersonalAccessToken201JSONResponse
- type CreatePersonalAccessToken400ApplicationProblemPlusJSONResponse
- type CreatePersonalAccessToken401ApplicationProblemPlusJSONResponse
- type CreatePersonalAccessToken403ApplicationProblemPlusJSONResponse
- type CreatePersonalAccessToken422ApplicationProblemPlusJSONResponse
- type CreatePersonalAccessToken429ApplicationProblemPlusJSONResponse
- type CreatePersonalAccessTokenJSONRequestBody
- type CreatePersonalAccessTokenRequestObject
- type CreatePersonalAccessTokenResponseObject
- type CreateRoute201JSONResponse
- type CreateRoute201ResponseHeaders
- type CreateRoute400ApplicationProblemPlusJSONResponse
- type CreateRoute401ApplicationProblemPlusJSONResponse
- type CreateRoute403ApplicationProblemPlusJSONResponse
- type CreateRoute409ApplicationProblemPlusJSONResponse
- type CreateRoute422ApplicationProblemPlusJSONResponse
- type CreateRoute429ApplicationProblemPlusJSONResponse
- type CreateRouteJSONRequestBody
- type CreateRouteRequestObject
- type CreateRouteResponseObject
- type CreateServiceAccount201JSONResponse
- type CreateServiceAccount201ResponseHeaders
- type CreateServiceAccount400ApplicationProblemPlusJSONResponse
- type CreateServiceAccount401ApplicationProblemPlusJSONResponse
- type CreateServiceAccount403ApplicationProblemPlusJSONResponse
- type CreateServiceAccount409ApplicationProblemPlusJSONResponse
- type CreateServiceAccount422ApplicationProblemPlusJSONResponse
- type CreateServiceAccount429ApplicationProblemPlusJSONResponse
- type CreateServiceAccountJSONRequestBody
- type CreateServiceAccountRequestObject
- type CreateServiceAccountResponseObject
- type CreateServiceAccountToken201JSONResponse
- type CreateServiceAccountToken400ApplicationProblemPlusJSONResponse
- type CreateServiceAccountToken401ApplicationProblemPlusJSONResponse
- type CreateServiceAccountToken403ApplicationProblemPlusJSONResponse
- type CreateServiceAccountToken404ApplicationProblemPlusJSONResponse
- type CreateServiceAccountToken422ApplicationProblemPlusJSONResponse
- type CreateServiceAccountToken429ApplicationProblemPlusJSONResponse
- type CreateServiceAccountTokenJSONRequestBody
- type CreateServiceAccountTokenRequestObject
- type CreateServiceAccountTokenResponseObject
- type CreateSession201JSONResponse
- type CreateSession400ApplicationProblemPlusJSONResponse
- type CreateSession401ApplicationProblemPlusJSONResponse
- type CreateSession403ApplicationProblemPlusJSONResponse
- type CreateSession429ApplicationProblemPlusJSONResponse
- type CreateSessionJSONRequestBody
- type CreateSessionRequestObject
- type CreateSessionResponseObject
- type CreateUser201JSONResponse
- type CreateUser201ResponseHeaders
- type CreateUser400ApplicationProblemPlusJSONResponse
- type CreateUser401ApplicationProblemPlusJSONResponse
- type CreateUser403ApplicationProblemPlusJSONResponse
- type CreateUser409ApplicationProblemPlusJSONResponse
- type CreateUser422ApplicationProblemPlusJSONResponse
- type CreateUser429ApplicationProblemPlusJSONResponse
- type CreateUserJSONRequestBody
- type CreateUserRequestObject
- type CreateUserResponseObject
- type Cursor
- type DeleteConnection204Response
- type DeleteConnection401ApplicationProblemPlusJSONResponse
- type DeleteConnection403ApplicationProblemPlusJSONResponse
- type DeleteConnection404ApplicationProblemPlusJSONResponse
- type DeleteConnection409ApplicationProblemPlusJSONResponse
- type DeleteConnection412ApplicationProblemPlusJSONResponse
- type DeleteConnection429ApplicationProblemPlusJSONResponse
- type DeleteConnectionParams
- type DeleteConnectionRequestObject
- type DeleteConnectionResponseObject
- type DeleteCurrentSession204Response
- type DeleteCurrentSession401ApplicationProblemPlusJSONResponse
- type DeleteCurrentSession403ApplicationProblemPlusJSONResponse
- type DeleteCurrentSession429ApplicationProblemPlusJSONResponse
- type DeleteCurrentSessionRequestObject
- type DeleteCurrentSessionResponseObject
- type DeleteDestination204Response
- type DeleteDestination401ApplicationProblemPlusJSONResponse
- type DeleteDestination403ApplicationProblemPlusJSONResponse
- type DeleteDestination404ApplicationProblemPlusJSONResponse
- type DeleteDestination412ApplicationProblemPlusJSONResponse
- type DeleteDestination429ApplicationProblemPlusJSONResponse
- type DeleteDestinationParams
- type DeleteDestinationRequestObject
- type DeleteDestinationResponseObject
- type DeleteDestinationSecret204Response
- type DeleteDestinationSecret401ApplicationProblemPlusJSONResponse
- type DeleteDestinationSecret403ApplicationProblemPlusJSONResponse
- type DeleteDestinationSecret404ApplicationProblemPlusJSONResponse
- type DeleteDestinationSecret409ApplicationProblemPlusJSONResponse
- type DeleteDestinationSecret412ApplicationProblemPlusJSONResponse
- type DeleteDestinationSecret429ApplicationProblemPlusJSONResponse
- type DeleteDestinationSecretParams
- type DeleteDestinationSecretRequestObject
- type DeleteDestinationSecretResponseObject
- type DeleteIntegration204Response
- type DeleteIntegration401ApplicationProblemPlusJSONResponse
- type DeleteIntegration403ApplicationProblemPlusJSONResponse
- type DeleteIntegration404ApplicationProblemPlusJSONResponse
- type DeleteIntegration409ApplicationProblemPlusJSONResponse
- type DeleteIntegration412ApplicationProblemPlusJSONResponse
- type DeleteIntegration429ApplicationProblemPlusJSONResponse
- type DeleteIntegrationParams
- type DeleteIntegrationRequestObject
- type DeleteIntegrationResponseObject
- type DeleteLinkRule204Response
- type DeleteLinkRule401ApplicationProblemPlusJSONResponse
- type DeleteLinkRule403ApplicationProblemPlusJSONResponse
- type DeleteLinkRule404ApplicationProblemPlusJSONResponse
- type DeleteLinkRule409ApplicationProblemPlusJSONResponse
- type DeleteLinkRule412ApplicationProblemPlusJSONResponse
- type DeleteLinkRule429ApplicationProblemPlusJSONResponse
- type DeleteLinkRuleParams
- type DeleteLinkRuleRequestObject
- type DeleteLinkRuleResponseObject
- type DeleteLookupTable204Response
- type DeleteLookupTable401ApplicationProblemPlusJSONResponse
- type DeleteLookupTable403ApplicationProblemPlusJSONResponse
- type DeleteLookupTable404ApplicationProblemPlusJSONResponse
- type DeleteLookupTable409ApplicationProblemPlusJSONResponse
- type DeleteLookupTable412ApplicationProblemPlusJSONResponse
- type DeleteLookupTable429ApplicationProblemPlusJSONResponse
- type DeleteLookupTableParams
- type DeleteLookupTableRequestObject
- type DeleteLookupTableResponseObject
- type DeleteMyAccountLink204Response
- type DeleteMyAccountLink401ApplicationProblemPlusJSONResponse
- type DeleteMyAccountLink403ApplicationProblemPlusJSONResponse
- type DeleteMyAccountLink404ApplicationProblemPlusJSONResponse
- type DeleteMyAccountLink429ApplicationProblemPlusJSONResponse
- type DeleteMyAccountLinkRequestObject
- type DeleteMyAccountLinkResponseObject
- type DeleteMySessions204Response
- type DeleteMySessions401ApplicationProblemPlusJSONResponse
- type DeleteMySessions403ApplicationProblemPlusJSONResponse
- type DeleteMySessions429ApplicationProblemPlusJSONResponse
- type DeleteMySessionsRequestObject
- type DeleteMySessionsResponseObject
- type DeleteRoute204Response
- type DeleteRoute401ApplicationProblemPlusJSONResponse
- type DeleteRoute403ApplicationProblemPlusJSONResponse
- type DeleteRoute404ApplicationProblemPlusJSONResponse
- type DeleteRoute409ApplicationProblemPlusJSONResponse
- type DeleteRoute412ApplicationProblemPlusJSONResponse
- type DeleteRoute429ApplicationProblemPlusJSONResponse
- type DeleteRouteParams
- type DeleteRouteRequestObject
- type DeleteRouteResponseObject
- type DeleteServiceAccount204Response
- type DeleteServiceAccount401ApplicationProblemPlusJSONResponse
- type DeleteServiceAccount403ApplicationProblemPlusJSONResponse
- type DeleteServiceAccount404ApplicationProblemPlusJSONResponse
- type DeleteServiceAccount412ApplicationProblemPlusJSONResponse
- type DeleteServiceAccount429ApplicationProblemPlusJSONResponse
- type DeleteServiceAccountParams
- type DeleteServiceAccountRequestObject
- type DeleteServiceAccountResponseObject
- type DeleteUser204Response
- type DeleteUser401ApplicationProblemPlusJSONResponse
- type DeleteUser403ApplicationProblemPlusJSONResponse
- type DeleteUser404ApplicationProblemPlusJSONResponse
- type DeleteUser409ApplicationProblemPlusJSONResponse
- type DeleteUser412ApplicationProblemPlusJSONResponse
- type DeleteUser429ApplicationProblemPlusJSONResponse
- type DeleteUserAccountLink204Response
- type DeleteUserAccountLink401ApplicationProblemPlusJSONResponse
- type DeleteUserAccountLink403ApplicationProblemPlusJSONResponse
- type DeleteUserAccountLink404ApplicationProblemPlusJSONResponse
- type DeleteUserAccountLink429ApplicationProblemPlusJSONResponse
- type DeleteUserAccountLinkRequestObject
- type DeleteUserAccountLinkResponseObject
- type DeleteUserParams
- type DeleteUserRequestObject
- type DeleteUserResponseObject
- type DeliverAlertGroupEventJSONRequestBody
- type DeliverAlertGroupEventParams
- type DeliveryErrorClass
- type DeliveryEventKind
- type DeliveryState
- type Destination
- func (t Destination) AsMattermostDestination() (MattermostDestination, error)
- func (t Destination) AsTelegramDestination() (TelegramDestination, error)
- func (t Destination) AsWebhookDestination() (WebhookDestination, error)
- func (t Destination) Discriminator() (string, error)
- func (t *Destination) FromMattermostDestination(v MattermostDestination) error
- func (t *Destination) FromTelegramDestination(v TelegramDestination) error
- func (t *Destination) FromWebhookDestination(v WebhookDestination) error
- func (t Destination) MarshalJSON() ([]byte, error)
- func (t *Destination) MergeMattermostDestination(v MattermostDestination) error
- func (t *Destination) MergeTelegramDestination(v TelegramDestination) error
- func (t *Destination) MergeWebhookDestination(v WebhookDestination) error
- func (t *Destination) UnmarshalJSON(b []byte) error
- func (t Destination) ValueByDiscriminator() (interface{}, error)
- type DestinationCheckItem
- type DestinationCheckItemName
- type DestinationCheckResult
- type DestinationCreated
- type DestinationHealth
- type DestinationId
- type DestinationInput
- func (t DestinationInput) AsMattermostDestinationInput() (MattermostDestinationInput, error)
- func (t DestinationInput) AsTelegramDestinationInput() (TelegramDestinationInput, error)
- func (t DestinationInput) AsWebhookDestinationInput() (WebhookDestinationInput, error)
- func (t DestinationInput) Discriminator() (string, error)
- func (t *DestinationInput) FromMattermostDestinationInput(v MattermostDestinationInput) error
- func (t *DestinationInput) FromTelegramDestinationInput(v TelegramDestinationInput) error
- func (t *DestinationInput) FromWebhookDestinationInput(v WebhookDestinationInput) error
- func (t DestinationInput) MarshalJSON() ([]byte, error)
- func (t *DestinationInput) MergeMattermostDestinationInput(v MattermostDestinationInput) error
- func (t *DestinationInput) MergeTelegramDestinationInput(v TelegramDestinationInput) error
- func (t *DestinationInput) MergeWebhookDestinationInput(v WebhookDestinationInput) error
- func (t *DestinationInput) UnmarshalJSON(b []byte) error
- func (t DestinationInput) ValueByDiscriminator() (interface{}, error)
- type DestinationList
- type DestinationPreview
- type DestinationPreviewItem
- type DestinationPreviewItemFormat
- type DestinationPreviewItemName
- type DestinationPreviewRequest
- type DestinationReadFields
- type DestinationRef
- type DestinationSecret
- type DestinationSecretInput
- type DestinationSecretList
- type DestinationTestRequest
- type DestinationTestResult
- type DestinationType
- type DestinationWarning
- type DestinationWarningKind
- type DisableServiceAccount200JSONResponse
- type DisableServiceAccount401ApplicationProblemPlusJSONResponse
- type DisableServiceAccount403ApplicationProblemPlusJSONResponse
- type DisableServiceAccount404ApplicationProblemPlusJSONResponse
- type DisableServiceAccount409ApplicationProblemPlusJSONResponse
- type DisableServiceAccount429ApplicationProblemPlusJSONResponse
- type DisableServiceAccountRequestObject
- type DisableServiceAccountResponseObject
- type DisableUser200JSONResponse
- type DisableUser401ApplicationProblemPlusJSONResponse
- type DisableUser403ApplicationProblemPlusJSONResponse
- type DisableUser404ApplicationProblemPlusJSONResponse
- type DisableUser409ApplicationProblemPlusJSONResponse
- type DisableUser429ApplicationProblemPlusJSONResponse
- type DisableUserRequestObject
- type DisableUserResponseObject
- type DismissRouteSuggestion204Response
- type DismissRouteSuggestion401ApplicationProblemPlusJSONResponse
- type DismissRouteSuggestion403ApplicationProblemPlusJSONResponse
- type DismissRouteSuggestion404ApplicationProblemPlusJSONResponse
- type DismissRouteSuggestion409ApplicationProblemPlusJSONResponse
- type DismissRouteSuggestion429ApplicationProblemPlusJSONResponse
- type DismissRouteSuggestionRequestObject
- type DismissRouteSuggestionResponseObject
- type DurationStats
- type EnableServiceAccount200JSONResponse
- type EnableServiceAccount401ApplicationProblemPlusJSONResponse
- type EnableServiceAccount403ApplicationProblemPlusJSONResponse
- type EnableServiceAccount404ApplicationProblemPlusJSONResponse
- type EnableServiceAccount409ApplicationProblemPlusJSONResponse
- type EnableServiceAccount429ApplicationProblemPlusJSONResponse
- type EnableServiceAccountRequestObject
- type EnableServiceAccountResponseObject
- type EnableUser200JSONResponse
- type EnableUser401ApplicationProblemPlusJSONResponse
- type EnableUser403ApplicationProblemPlusJSONResponse
- type EnableUser404ApplicationProblemPlusJSONResponse
- type EnableUser409ApplicationProblemPlusJSONResponse
- type EnableUser429ApplicationProblemPlusJSONResponse
- type EnableUserRequestObject
- type EnableUserResponseObject
- type EntityRef
- type ExtractionRule
- type Forbidden
- type ForbiddenApplicationProblemPlusJSONResponse
- type From
- type GenerateSigningSecret201JSONResponse
- type GenerateSigningSecret401ApplicationProblemPlusJSONResponse
- type GenerateSigningSecret403ApplicationProblemPlusJSONResponse
- type GenerateSigningSecret404ApplicationProblemPlusJSONResponse
- type GenerateSigningSecret409ApplicationProblemPlusJSONResponse
- type GenerateSigningSecret429ApplicationProblemPlusJSONResponse
- type GenerateSigningSecretRequestObject
- type GenerateSigningSecretResponseObject
- type GetAlertGroup200JSONResponse
- type GetAlertGroup401ApplicationProblemPlusJSONResponse
- type GetAlertGroup403ApplicationProblemPlusJSONResponse
- type GetAlertGroup404ApplicationProblemPlusJSONResponse
- type GetAlertGroup429ApplicationProblemPlusJSONResponse
- type GetAlertGroupCounts200JSONResponse
- type GetAlertGroupCounts400ApplicationProblemPlusJSONResponse
- type GetAlertGroupCounts401ApplicationProblemPlusJSONResponse
- type GetAlertGroupCounts403ApplicationProblemPlusJSONResponse
- type GetAlertGroupCounts422ApplicationProblemPlusJSONResponse
- type GetAlertGroupCounts429ApplicationProblemPlusJSONResponse
- type GetAlertGroupCountsParams
- type GetAlertGroupCountsRequestObject
- type GetAlertGroupCountsResponseObject
- type GetAlertGroupRequestObject
- type GetAlertGroupResponseObject
- type GetAlertGroupStatistics200JSONResponse
- type GetAlertGroupStatistics400ApplicationProblemPlusJSONResponse
- type GetAlertGroupStatistics401ApplicationProblemPlusJSONResponse
- type GetAlertGroupStatistics403ApplicationProblemPlusJSONResponse
- type GetAlertGroupStatistics404ApplicationProblemPlusJSONResponse
- type GetAlertGroupStatistics422ApplicationProblemPlusJSONResponse
- type GetAlertGroupStatistics429ApplicationProblemPlusJSONResponse
- type GetAlertGroupStatisticsParams
- type GetAlertGroupStatisticsParamsGroupBy
- type GetAlertGroupStatisticsRequestObject
- type GetAlertGroupStatisticsResponseObject
- type GetAlertGroupTimeline200JSONResponse
- type GetAlertGroupTimeline400ApplicationProblemPlusJSONResponse
- type GetAlertGroupTimeline401ApplicationProblemPlusJSONResponse
- type GetAlertGroupTimeline403ApplicationProblemPlusJSONResponse
- type GetAlertGroupTimeline404ApplicationProblemPlusJSONResponse
- type GetAlertGroupTimeline429ApplicationProblemPlusJSONResponse
- type GetAlertGroupTimelineParams
- type GetAlertGroupTimelineParamsOrder
- type GetAlertGroupTimelineRequestObject
- type GetAlertGroupTimelineResponseObject
- type GetConnection200JSONResponse
- type GetConnection200ResponseHeaders
- type GetConnection401ApplicationProblemPlusJSONResponse
- type GetConnection403ApplicationProblemPlusJSONResponse
- type GetConnection404ApplicationProblemPlusJSONResponse
- type GetConnection429ApplicationProblemPlusJSONResponse
- type GetConnectionRequestObject
- type GetConnectionResponseObject
- type GetCurrentSession200JSONResponse
- type GetCurrentSession401ApplicationProblemPlusJSONResponse
- type GetCurrentSession403ApplicationProblemPlusJSONResponse
- type GetCurrentSession429ApplicationProblemPlusJSONResponse
- type GetCurrentSessionRequestObject
- type GetCurrentSessionResponseObject
- type GetDestination200JSONResponse
- type GetDestination200ResponseHeaders
- type GetDestination401ApplicationProblemPlusJSONResponse
- type GetDestination403ApplicationProblemPlusJSONResponse
- type GetDestination404ApplicationProblemPlusJSONResponse
- type GetDestination429ApplicationProblemPlusJSONResponse
- type GetDestinationRequestObject
- type GetDestinationResponseObject
- type GetIntegration200JSONResponse
- type GetIntegration200ResponseHeaders
- type GetIntegration401ApplicationProblemPlusJSONResponse
- type GetIntegration403ApplicationProblemPlusJSONResponse
- type GetIntegration404ApplicationProblemPlusJSONResponse
- type GetIntegration429ApplicationProblemPlusJSONResponse
- type GetIntegrationRequestObject
- type GetIntegrationResponseObject
- type GetKeyring200JSONResponse
- type GetKeyring401ApplicationProblemPlusJSONResponse
- type GetKeyring403ApplicationProblemPlusJSONResponse
- type GetKeyring429ApplicationProblemPlusJSONResponse
- type GetKeyringRequestObject
- type GetKeyringResponseObject
- type GetLinkRule200JSONResponse
- type GetLinkRule200ResponseHeaders
- type GetLinkRule401ApplicationProblemPlusJSONResponse
- type GetLinkRule403ApplicationProblemPlusJSONResponse
- type GetLinkRule404ApplicationProblemPlusJSONResponse
- type GetLinkRule429ApplicationProblemPlusJSONResponse
- type GetLinkRuleRequestObject
- type GetLinkRuleResponseObject
- type GetLookupTable200JSONResponse
- type GetLookupTable200ResponseHeaders
- type GetLookupTable401ApplicationProblemPlusJSONResponse
- type GetLookupTable403ApplicationProblemPlusJSONResponse
- type GetLookupTable404ApplicationProblemPlusJSONResponse
- type GetLookupTable429ApplicationProblemPlusJSONResponse
- type GetLookupTableRequestObject
- type GetLookupTableResponseObject
- type GetMe200JSONResponse
- type GetMe401ApplicationProblemPlusJSONResponse
- type GetMe403ApplicationProblemPlusJSONResponse
- type GetMe429ApplicationProblemPlusJSONResponse
- type GetMeRequestObject
- type GetMeResponseObject
- type GetMyTotp200JSONResponse
- type GetMyTotp401ApplicationProblemPlusJSONResponse
- type GetMyTotp403ApplicationProblemPlusJSONResponse
- type GetMyTotp429ApplicationProblemPlusJSONResponse
- type GetMyTotpRequestObject
- type GetMyTotpResponseObject
- type GetOidcSettings200JSONResponse
- type GetOidcSettings200ResponseHeaders
- type GetOidcSettings401ApplicationProblemPlusJSONResponse
- type GetOidcSettings403ApplicationProblemPlusJSONResponse
- type GetOidcSettings429ApplicationProblemPlusJSONResponse
- type GetOidcSettingsRequestObject
- type GetOidcSettingsResponseObject
- type GetOpenApiSpec200ApplicationyamlResponse
- type GetOpenApiSpecRequestObject
- type GetOpenApiSpecResponseObject
- type GetOrganization200JSONResponse
- type GetOrganization200ResponseHeaders
- type GetOrganization401ApplicationProblemPlusJSONResponse
- type GetOrganization403ApplicationProblemPlusJSONResponse
- type GetOrganization429ApplicationProblemPlusJSONResponse
- type GetOrganizationRequestObject
- type GetOrganizationResponseObject
- type GetOutboundPolicy200JSONResponse
- type GetOutboundPolicy200ResponseHeaders
- type GetOutboundPolicy401ApplicationProblemPlusJSONResponse
- type GetOutboundPolicy403ApplicationProblemPlusJSONResponse
- type GetOutboundPolicy429ApplicationProblemPlusJSONResponse
- type GetOutboundPolicyRequestObject
- type GetOutboundPolicyResponseObject
- type GetRoute200JSONResponse
- type GetRoute200ResponseHeaders
- type GetRoute401ApplicationProblemPlusJSONResponse
- type GetRoute403ApplicationProblemPlusJSONResponse
- type GetRoute404ApplicationProblemPlusJSONResponse
- type GetRoute429ApplicationProblemPlusJSONResponse
- type GetRouteRequestObject
- type GetRouteResponseObject
- type GetServiceAccount200JSONResponse
- type GetServiceAccount200ResponseHeaders
- type GetServiceAccount401ApplicationProblemPlusJSONResponse
- type GetServiceAccount403ApplicationProblemPlusJSONResponse
- type GetServiceAccount404ApplicationProblemPlusJSONResponse
- type GetServiceAccount429ApplicationProblemPlusJSONResponse
- type GetServiceAccountRequestObject
- type GetServiceAccountResponseObject
- type GetSignInOptions200JSONResponse
- type GetSignInOptions429ApplicationProblemPlusJSONResponse
- type GetSignInOptionsRequestObject
- type GetSignInOptionsResponseObject
- type GetSigningSecret200JSONResponse
- type GetSigningSecret401ApplicationProblemPlusJSONResponse
- type GetSigningSecret403ApplicationProblemPlusJSONResponse
- type GetSigningSecret404ApplicationProblemPlusJSONResponse
- type GetSigningSecret409ApplicationProblemPlusJSONResponse
- type GetSigningSecret429ApplicationProblemPlusJSONResponse
- type GetSigningSecretRequestObject
- type GetSigningSecretResponseObject
- type GetStoredSnapshot200JSONResponse
- type GetStoredSnapshot401ApplicationProblemPlusJSONResponse
- type GetStoredSnapshot403ApplicationProblemPlusJSONResponse
- type GetStoredSnapshot404ApplicationProblemPlusJSONResponse
- type GetStoredSnapshot429ApplicationProblemPlusJSONResponse
- type GetStoredSnapshotRequestObject
- type GetStoredSnapshotResponseObject
- type GetSystemStatus200JSONResponse
- type GetSystemStatus401ApplicationProblemPlusJSONResponse
- type GetSystemStatus403ApplicationProblemPlusJSONResponse
- type GetSystemStatus429ApplicationProblemPlusJSONResponse
- type GetSystemStatusRequestObject
- type GetSystemStatusResponseObject
- type GetUser200JSONResponse
- type GetUser200ResponseHeaders
- type GetUser401ApplicationProblemPlusJSONResponse
- type GetUser403ApplicationProblemPlusJSONResponse
- type GetUser404ApplicationProblemPlusJSONResponse
- type GetUser429ApplicationProblemPlusJSONResponse
- type GetUserRequestObject
- type GetUserResponseObject
- type Gone
- type GoneApplicationProblemPlusJSONResponse
- type GroupKeyPreview
- type GroupKeyPreviewExample
- type GroupKeyPreviewRequest
- type GroupKeyPreviewSide
- type HeaderTemplate
- type HealthState
- type HeartbeatGet204Response
- type HeartbeatGet401ApplicationProblemPlusJSONResponse
- type HeartbeatGetRequestObject
- type HeartbeatGetResponseObject
- type HeartbeatGetWithPathToken204Response
- type HeartbeatGetWithPathToken401ApplicationProblemPlusJSONResponse
- type HeartbeatGetWithPathTokenRequestObject
- type HeartbeatGetWithPathTokenResponseObject
- type HeartbeatInfo
- type HeartbeatPost204Response
- type HeartbeatPost401ApplicationProblemPlusJSONResponse
- type HeartbeatPostRequestObject
- type HeartbeatPostResponseObject
- type HeartbeatPostWithPathToken204Response
- type HeartbeatPostWithPathToken401ApplicationProblemPlusJSONResponse
- type HeartbeatPostWithPathTokenRequestObject
- type HeartbeatPostWithPathTokenResponseObject
- type HeartbeatSettingsInput
- type HeartbeatState
- type HintEvent
- type HintEventType
- type IfMatch
- type IfMatchOptional
- type IngestSnapshot202Response
- type IngestSnapshot401ApplicationProblemPlusJSONResponse
- type IngestSnapshot413ApplicationProblemPlusJSONResponse
- type IngestSnapshot500ApplicationProblemPlusJSONResponse
- type IngestSnapshotRequestObject
- type IngestSnapshotResponseObject
- type IngestSnapshotWithPathToken202Response
- type IngestSnapshotWithPathToken401ApplicationProblemPlusJSONResponse
- type IngestSnapshotWithPathToken413ApplicationProblemPlusJSONResponse
- type IngestSnapshotWithPathToken500ApplicationProblemPlusJSONResponse
- type IngestSnapshotWithPathTokenRequestObject
- type IngestSnapshotWithPathTokenResponseObject
- type IngestTokenInPath
- type Integration
- type IntegrationAlert
- type IntegrationAlertList
- type IntegrationAttention
- type IntegrationAttentionIssue
- type IntegrationBase
- type IntegrationBaseConnectionMode
- type IntegrationConnectionMode
- type IntegrationId
- type IntegrationInput
- type IntegrationInputConnectionMode
- type IntegrationList
- type IntegrationToken
- type IntegrationTokenCreate
- type IntegrationTokenCreated
- type IntegrationTokenId
- type IntegrationTokenList
- type IntegrationWarning
- type IntegrationWarningKind
- type InternalError
- type InternalErrorApplicationProblemPlusJSONResponse
- type InvalidParamFormatError
- type Keyring
- type KeyringKey
- type LabelMatchers
- type Labels
- type Language
- type LifecycleEvent
- type Limit
- type Limited
- type LimitedApplicationProblemPlusJSONResponse
- type LimitedResponseHeaders
- type Limiter
- type LinkRule
- type LinkRuleBase
- type LinkRuleId
- type LinkRuleList
- type LinkRuleScope
- type LinkRuleScopeType
- type LinkableConnection
- type LinkableConnectionList
- type ListAlertGroupAlerts200JSONResponse
- type ListAlertGroupAlerts400ApplicationProblemPlusJSONResponse
- type ListAlertGroupAlerts401ApplicationProblemPlusJSONResponse
- type ListAlertGroupAlerts403ApplicationProblemPlusJSONResponse
- type ListAlertGroupAlerts404ApplicationProblemPlusJSONResponse
- type ListAlertGroupAlerts429ApplicationProblemPlusJSONResponse
- type ListAlertGroupAlertsParams
- type ListAlertGroupAlertsRequestObject
- type ListAlertGroupAlertsResponseObject
- type ListAlertGroupDeliveries200JSONResponse
- type ListAlertGroupDeliveries401ApplicationProblemPlusJSONResponse
- type ListAlertGroupDeliveries403ApplicationProblemPlusJSONResponse
- type ListAlertGroupDeliveries404ApplicationProblemPlusJSONResponse
- type ListAlertGroupDeliveries429ApplicationProblemPlusJSONResponse
- type ListAlertGroupDeliveriesRequestObject
- type ListAlertGroupDeliveriesResponseObject
- type ListAlertGroupNotes200JSONResponse
- type ListAlertGroupNotes400ApplicationProblemPlusJSONResponse
- type ListAlertGroupNotes401ApplicationProblemPlusJSONResponse
- type ListAlertGroupNotes403ApplicationProblemPlusJSONResponse
- type ListAlertGroupNotes404ApplicationProblemPlusJSONResponse
- type ListAlertGroupNotes429ApplicationProblemPlusJSONResponse
- type ListAlertGroupNotesParams
- type ListAlertGroupNotesRequestObject
- type ListAlertGroupNotesResponseObject
- type ListAlertGroups200JSONResponse
- type ListAlertGroups400ApplicationProblemPlusJSONResponse
- type ListAlertGroups401ApplicationProblemPlusJSONResponse
- type ListAlertGroups403ApplicationProblemPlusJSONResponse
- type ListAlertGroups422ApplicationProblemPlusJSONResponse
- type ListAlertGroups429ApplicationProblemPlusJSONResponse
- type ListAlertGroupsParams
- type ListAlertGroupsParamsSort
- type ListAlertGroupsRequestObject
- type ListAlertGroupsResponseObject
- type ListAlertmanagerRoutes200JSONResponse
- type ListAlertmanagerRoutes401ApplicationProblemPlusJSONResponse
- type ListAlertmanagerRoutes403ApplicationProblemPlusJSONResponse
- type ListAlertmanagerRoutes404ApplicationProblemPlusJSONResponse
- type ListAlertmanagerRoutes429ApplicationProblemPlusJSONResponse
- type ListAlertmanagerRoutesRequestObject
- type ListAlertmanagerRoutesResponseObject
- type ListAuditLog200JSONResponse
- type ListAuditLog400ApplicationProblemPlusJSONResponse
- type ListAuditLog401ApplicationProblemPlusJSONResponse
- type ListAuditLog403ApplicationProblemPlusJSONResponse
- type ListAuditLog429ApplicationProblemPlusJSONResponse
- type ListAuditLogParams
- type ListAuditLogRequestObject
- type ListAuditLogResponseObject
- type ListConnectionChannels200JSONResponse
- type ListConnectionChannels400ApplicationProblemPlusJSONResponse
- type ListConnectionChannels401ApplicationProblemPlusJSONResponse
- type ListConnectionChannels403ApplicationProblemPlusJSONResponse
- type ListConnectionChannels404ApplicationProblemPlusJSONResponse
- type ListConnectionChannels409ApplicationProblemPlusJSONResponse
- type ListConnectionChannels429ApplicationProblemPlusJSONResponse
- type ListConnectionChannels503ApplicationProblemPlusJSONResponse
- type ListConnectionChannelsParams
- type ListConnectionChannelsRequestObject
- type ListConnectionChannelsResponseObject
- type ListConnections200JSONResponse
- type ListConnections400ApplicationProblemPlusJSONResponse
- type ListConnections401ApplicationProblemPlusJSONResponse
- type ListConnections403ApplicationProblemPlusJSONResponse
- type ListConnections429ApplicationProblemPlusJSONResponse
- type ListConnectionsParams
- type ListConnectionsRequestObject
- type ListConnectionsResponseObject
- type ListDestinationSecrets200JSONResponse
- type ListDestinationSecrets200ResponseHeaders
- type ListDestinationSecrets401ApplicationProblemPlusJSONResponse
- type ListDestinationSecrets403ApplicationProblemPlusJSONResponse
- type ListDestinationSecrets404ApplicationProblemPlusJSONResponse
- type ListDestinationSecrets409ApplicationProblemPlusJSONResponse
- type ListDestinationSecrets429ApplicationProblemPlusJSONResponse
- type ListDestinationSecretsRequestObject
- type ListDestinationSecretsResponseObject
- type ListDestinations200JSONResponse
- type ListDestinations400ApplicationProblemPlusJSONResponse
- type ListDestinations401ApplicationProblemPlusJSONResponse
- type ListDestinations403ApplicationProblemPlusJSONResponse
- type ListDestinations429ApplicationProblemPlusJSONResponse
- type ListDestinationsParams
- type ListDestinationsRequestObject
- type ListDestinationsResponseObject
- type ListIntegrationAlerts200JSONResponse
- type ListIntegrationAlerts400ApplicationProblemPlusJSONResponse
- type ListIntegrationAlerts401ApplicationProblemPlusJSONResponse
- type ListIntegrationAlerts403ApplicationProblemPlusJSONResponse
- type ListIntegrationAlerts404ApplicationProblemPlusJSONResponse
- type ListIntegrationAlerts429ApplicationProblemPlusJSONResponse
- type ListIntegrationAlertsParams
- type ListIntegrationAlertsParamsSort
- type ListIntegrationAlertsRequestObject
- type ListIntegrationAlertsResponseObject
- type ListIntegrationTokens200JSONResponse
- type ListIntegrationTokens401ApplicationProblemPlusJSONResponse
- type ListIntegrationTokens403ApplicationProblemPlusJSONResponse
- type ListIntegrationTokens404ApplicationProblemPlusJSONResponse
- type ListIntegrationTokens429ApplicationProblemPlusJSONResponse
- type ListIntegrationTokensRequestObject
- type ListIntegrationTokensResponseObject
- type ListIntegrations200JSONResponse
- type ListIntegrations400ApplicationProblemPlusJSONResponse
- type ListIntegrations401ApplicationProblemPlusJSONResponse
- type ListIntegrations403ApplicationProblemPlusJSONResponse
- type ListIntegrations429ApplicationProblemPlusJSONResponse
- type ListIntegrationsParams
- type ListIntegrationsRequestObject
- type ListIntegrationsResponseObject
- type ListLinkRules200JSONResponse
- type ListLinkRules400ApplicationProblemPlusJSONResponse
- type ListLinkRules401ApplicationProblemPlusJSONResponse
- type ListLinkRules403ApplicationProblemPlusJSONResponse
- type ListLinkRules429ApplicationProblemPlusJSONResponse
- type ListLinkRulesParams
- type ListLinkRulesRequestObject
- type ListLinkRulesResponseObject
- type ListLinkableConnections200JSONResponse
- type ListLinkableConnections401ApplicationProblemPlusJSONResponse
- type ListLinkableConnections403ApplicationProblemPlusJSONResponse
- type ListLinkableConnections429ApplicationProblemPlusJSONResponse
- type ListLinkableConnectionsRequestObject
- type ListLinkableConnectionsResponseObject
- type ListLookupTables200JSONResponse
- type ListLookupTables400ApplicationProblemPlusJSONResponse
- type ListLookupTables401ApplicationProblemPlusJSONResponse
- type ListLookupTables403ApplicationProblemPlusJSONResponse
- type ListLookupTables429ApplicationProblemPlusJSONResponse
- type ListLookupTablesParams
- type ListLookupTablesRequestObject
- type ListLookupTablesResponseObject
- type ListMyAccountLinks200JSONResponse
- type ListMyAccountLinks401ApplicationProblemPlusJSONResponse
- type ListMyAccountLinks403ApplicationProblemPlusJSONResponse
- type ListMyAccountLinks429ApplicationProblemPlusJSONResponse
- type ListMyAccountLinksRequestObject
- type ListMyAccountLinksResponseObject
- type ListMySessions200JSONResponse
- type ListMySessions401ApplicationProblemPlusJSONResponse
- type ListMySessions403ApplicationProblemPlusJSONResponse
- type ListMySessions429ApplicationProblemPlusJSONResponse
- type ListMySessionsRequestObject
- type ListMySessionsResponseObject
- type ListPersonalAccessTokens200JSONResponse
- type ListPersonalAccessTokens401ApplicationProblemPlusJSONResponse
- type ListPersonalAccessTokens403ApplicationProblemPlusJSONResponse
- type ListPersonalAccessTokens429ApplicationProblemPlusJSONResponse
- type ListPersonalAccessTokensRequestObject
- type ListPersonalAccessTokensResponseObject
- type ListRelatedAlertGroups200JSONResponse
- type ListRelatedAlertGroups400ApplicationProblemPlusJSONResponse
- type ListRelatedAlertGroups401ApplicationProblemPlusJSONResponse
- type ListRelatedAlertGroups403ApplicationProblemPlusJSONResponse
- type ListRelatedAlertGroups404ApplicationProblemPlusJSONResponse
- type ListRelatedAlertGroups429ApplicationProblemPlusJSONResponse
- type ListRelatedAlertGroupsParams
- type ListRelatedAlertGroupsRequestObject
- type ListRelatedAlertGroupsResponseObject
- type ListRoles200JSONResponse
- type ListRoles401ApplicationProblemPlusJSONResponse
- type ListRoles403ApplicationProblemPlusJSONResponse
- type ListRoles429ApplicationProblemPlusJSONResponse
- type ListRolesRequestObject
- type ListRolesResponseObject
- type ListRouteProfiles200JSONResponse
- type ListRouteProfiles401ApplicationProblemPlusJSONResponse
- type ListRouteProfiles403ApplicationProblemPlusJSONResponse
- type ListRouteProfiles429ApplicationProblemPlusJSONResponse
- type ListRouteProfilesRequestObject
- type ListRouteProfilesResponseObject
- type ListRouteSuggestions200JSONResponse
- type ListRouteSuggestions401ApplicationProblemPlusJSONResponse
- type ListRouteSuggestions403ApplicationProblemPlusJSONResponse
- type ListRouteSuggestions429ApplicationProblemPlusJSONResponse
- type ListRouteSuggestionsRequestObject
- type ListRouteSuggestionsResponseObject
- type ListRoutes200JSONResponse
- type ListRoutes200ResponseHeaders
- type ListRoutes401ApplicationProblemPlusJSONResponse
- type ListRoutes403ApplicationProblemPlusJSONResponse
- type ListRoutes429ApplicationProblemPlusJSONResponse
- type ListRoutesRequestObject
- type ListRoutesResponseObject
- type ListServiceAccountTokens200JSONResponse
- type ListServiceAccountTokens401ApplicationProblemPlusJSONResponse
- type ListServiceAccountTokens403ApplicationProblemPlusJSONResponse
- type ListServiceAccountTokens404ApplicationProblemPlusJSONResponse
- type ListServiceAccountTokens429ApplicationProblemPlusJSONResponse
- type ListServiceAccountTokensRequestObject
- type ListServiceAccountTokensResponseObject
- type ListServiceAccounts200JSONResponse
- type ListServiceAccounts400ApplicationProblemPlusJSONResponse
- type ListServiceAccounts401ApplicationProblemPlusJSONResponse
- type ListServiceAccounts403ApplicationProblemPlusJSONResponse
- type ListServiceAccounts429ApplicationProblemPlusJSONResponse
- type ListServiceAccountsParams
- type ListServiceAccountsRequestObject
- type ListServiceAccountsResponseObject
- type ListSeverityValues200JSONResponse
- type ListSeverityValues401ApplicationProblemPlusJSONResponse
- type ListSeverityValues403ApplicationProblemPlusJSONResponse
- type ListSeverityValues429ApplicationProblemPlusJSONResponse
- type ListSeverityValuesRequestObject
- type ListSeverityValuesResponseObject
- type ListStoredSnapshots200JSONResponse
- type ListStoredSnapshots400ApplicationProblemPlusJSONResponse
- type ListStoredSnapshots401ApplicationProblemPlusJSONResponse
- type ListStoredSnapshots403ApplicationProblemPlusJSONResponse
- type ListStoredSnapshots429ApplicationProblemPlusJSONResponse
- type ListStoredSnapshotsParams
- type ListStoredSnapshotsRequestObject
- type ListStoredSnapshotsResponseObject
- type ListSystemNotices200JSONResponse
- type ListSystemNotices401ApplicationProblemPlusJSONResponse
- type ListSystemNotices403ApplicationProblemPlusJSONResponse
- type ListSystemNotices429ApplicationProblemPlusJSONResponse
- type ListSystemNoticesRequestObject
- type ListSystemNoticesResponseObject
- type ListUserAccountLinks200JSONResponse
- type ListUserAccountLinks401ApplicationProblemPlusJSONResponse
- type ListUserAccountLinks403ApplicationProblemPlusJSONResponse
- type ListUserAccountLinks404ApplicationProblemPlusJSONResponse
- type ListUserAccountLinks429ApplicationProblemPlusJSONResponse
- type ListUserAccountLinksRequestObject
- type ListUserAccountLinksResponseObject
- type ListUserDirectory200JSONResponse
- type ListUserDirectory400ApplicationProblemPlusJSONResponse
- type ListUserDirectory401ApplicationProblemPlusJSONResponse
- type ListUserDirectory403ApplicationProblemPlusJSONResponse
- type ListUserDirectory429ApplicationProblemPlusJSONResponse
- type ListUserDirectoryParams
- type ListUserDirectoryRequestObject
- type ListUserDirectoryResponseObject
- type ListUsers200JSONResponse
- type ListUsers400ApplicationProblemPlusJSONResponse
- type ListUsers401ApplicationProblemPlusJSONResponse
- type ListUsers403ApplicationProblemPlusJSONResponse
- type ListUsers429ApplicationProblemPlusJSONResponse
- type ListUsersParams
- type ListUsersRequestObject
- type ListUsersResponseObject
- type LookupEntry
- type LookupTable
- type LookupTableBase
- type LookupTableId
- type LookupTableList
- type Loudness
- type Matcher
- type MatcherOp
- type MattermostAction200JSONResponse
- type MattermostActionAnswer
- type MattermostActionContext
- type MattermostActionJSONRequestBody
- type MattermostActionRequest
- type MattermostActionRequestObject
- type MattermostActionResponseObject
- type MattermostChannel
- type MattermostChannelList
- type MattermostChannelType
- type MattermostConnection
- type MattermostConnectionBase
- type MattermostConnectionBaseType
- type MattermostConnectionInput
- type MattermostConnectionInputType
- type MattermostConnectionType
- type MattermostDestination
- type MattermostDestinationInput
- type MattermostDestinationInputType
- type MattermostDestinationType
- type MattermostLinkConfirm
- type MattermostLinkRequest
- type MattermostLinkStarted
- type Me
- type MeUpdate
- type MentionName
- type MentionSetting
- type MentionSettingEveryone
- type MentionSettings
- type Messenger
- type MiddlewareFunc
- type MoveOpenAlertGroups200JSONResponse
- type MoveOpenAlertGroups401ApplicationProblemPlusJSONResponse
- type MoveOpenAlertGroups403ApplicationProblemPlusJSONResponse
- type MoveOpenAlertGroups404ApplicationProblemPlusJSONResponse
- type MoveOpenAlertGroups409ApplicationProblemPlusJSONResponse
- type MoveOpenAlertGroups429ApplicationProblemPlusJSONResponse
- type MoveOpenAlertGroupsRequestObject
- type MoveOpenAlertGroupsResponseObject
- type MovedAlertGroups
- type NextNotice
- type NextNoticeKind
- type NotFound
- type NotFoundApplicationProblemPlusJSONResponse
- type Note
- type NoteInput
- type NoteList
- type NullableAlertGroupStatus
- type NullableLanguage
- type NullablePublicId
- type NullableResolveReason
- type OidcCheckResult
- type OidcGroupMapping
- type OidcLinkStart
- type OidcSettings
- type OidcSettingsBase
- type OidcSettingsInput
- type OidcUnmatchedRole
- type OidcWarning
- type OidcWarningKind
- type Organization
- type OrganizationBase
- type OrganizationInput
- type OutboundPolicy
- type OutboundPolicyPolicy
- type OutgoingHeartbeatResult
- type OutgoingWebhookEvent
- type OutgoingWebhookEventVersion
- type PasswordChange
- type PasswordSetup
- type PasswordSetupLink
- type PayloadTooLarge
- type PayloadTooLargeApplicationProblemPlusJSONResponse
- type Permission
- type PersonalAccessToken
- type PersonalAccessTokenCreate
- type PersonalAccessTokenCreated
- type PersonalAccessTokenList
- type PreconditionFailed
- type PreconditionFailedApplicationProblemPlusJSONResponse
- type PreconditionRequired
- type PreconditionRequiredApplicationProblemPlusJSONResponse
- type PreviewDestination200JSONResponse
- type PreviewDestination400ApplicationProblemPlusJSONResponse
- type PreviewDestination401ApplicationProblemPlusJSONResponse
- type PreviewDestination403ApplicationProblemPlusJSONResponse
- type PreviewDestination404ApplicationProblemPlusJSONResponse
- type PreviewDestination422ApplicationProblemPlusJSONResponse
- type PreviewDestination429ApplicationProblemPlusJSONResponse
- type PreviewDestinationJSONRequestBody
- type PreviewDestinationRequestObject
- type PreviewDestinationResponseObject
- type PreviewGroupKey200JSONResponse
- type PreviewGroupKey400ApplicationProblemPlusJSONResponse
- type PreviewGroupKey401ApplicationProblemPlusJSONResponse
- type PreviewGroupKey403ApplicationProblemPlusJSONResponse
- type PreviewGroupKey404ApplicationProblemPlusJSONResponse
- type PreviewGroupKey422ApplicationProblemPlusJSONResponse
- type PreviewGroupKey429ApplicationProblemPlusJSONResponse
- type PreviewGroupKeyJSONRequestBody
- type PreviewGroupKeyRequestObject
- type PreviewGroupKeyResponseObject
- type PreviewTemplate200JSONResponse
- type PreviewTemplate400ApplicationProblemPlusJSONResponse
- type PreviewTemplate401ApplicationProblemPlusJSONResponse
- type PreviewTemplate403ApplicationProblemPlusJSONResponse
- type PreviewTemplate404ApplicationProblemPlusJSONResponse
- type PreviewTemplate429ApplicationProblemPlusJSONResponse
- type PreviewTemplateJSONRequestBody
- type PreviewTemplateRequestObject
- type PreviewTemplateResponseObject
- type Problem
- type ProblemError
- type ProxyConfig
- type ProxyConfigInput
- type ProxyType
- type PublicId
- type QueueDepth
- type RegenerateTotpRecoveryCodes200JSONResponse
- type RegenerateTotpRecoveryCodes400ApplicationProblemPlusJSONResponse
- type RegenerateTotpRecoveryCodes401ApplicationProblemPlusJSONResponse
- type RegenerateTotpRecoveryCodes403ApplicationProblemPlusJSONResponse
- type RegenerateTotpRecoveryCodes409ApplicationProblemPlusJSONResponse
- type RegenerateTotpRecoveryCodes422ApplicationProblemPlusJSONResponse
- type RegenerateTotpRecoveryCodes429ApplicationProblemPlusJSONResponse
- type RegenerateTotpRecoveryCodesJSONRequestBody
- type RegenerateTotpRecoveryCodesRequestObject
- type RegenerateTotpRecoveryCodesResponseObject
- type RelatedAlertGroup
- type RelatedAlertGroupList
- type RemindersPolicy
- type RemoveTotp204Response
- type RemoveTotp400ApplicationProblemPlusJSONResponse
- type RemoveTotp401ApplicationProblemPlusJSONResponse
- type RemoveTotp403ApplicationProblemPlusJSONResponse
- type RemoveTotp404ApplicationProblemPlusJSONResponse
- type RemoveTotp429ApplicationProblemPlusJSONResponse
- type RemoveTotpJSONRequestBody
- type RemoveTotpRequestObject
- type RemoveTotpResponseObject
- type RenderedRequest
- type ReorderRoutes200JSONResponse
- type ReorderRoutes200ResponseHeaders
- type ReorderRoutes400ApplicationProblemPlusJSONResponse
- type ReorderRoutes401ApplicationProblemPlusJSONResponse
- type ReorderRoutes403ApplicationProblemPlusJSONResponse
- type ReorderRoutes409ApplicationProblemPlusJSONResponse
- type ReorderRoutes412ApplicationProblemPlusJSONResponse
- type ReorderRoutes422ApplicationProblemPlusJSONResponse
- type ReorderRoutes428ApplicationProblemPlusJSONResponse
- type ReorderRoutes429ApplicationProblemPlusJSONResponse
- type ReorderRoutesJSONRequestBody
- type ReorderRoutesParams
- type ReorderRoutesRequestObject
- type ReorderRoutesResponseObject
- type ReplicaStatus
- type RequestTemplate
- type RequestTemplateMethod
- type RequiredHeaderError
- type RequiredParamError
- type ResetUserTotp204Response
- type ResetUserTotp401ApplicationProblemPlusJSONResponse
- type ResetUserTotp403ApplicationProblemPlusJSONResponse
- type ResetUserTotp404ApplicationProblemPlusJSONResponse
- type ResetUserTotp429ApplicationProblemPlusJSONResponse
- type ResetUserTotpRequestObject
- type ResetUserTotpResponseObject
- type ResolveAlertGroup200JSONResponse
- type ResolveAlertGroup400ApplicationProblemPlusJSONResponse
- type ResolveAlertGroup401ApplicationProblemPlusJSONResponse
- type ResolveAlertGroup403ApplicationProblemPlusJSONResponse
- type ResolveAlertGroup404ApplicationProblemPlusJSONResponse
- type ResolveAlertGroup409ApplicationProblemPlusJSONResponse
- type ResolveAlertGroup422ApplicationProblemPlusJSONResponse
- type ResolveAlertGroup429ApplicationProblemPlusJSONResponse
- type ResolveAlertGroupJSONRequestBody
- type ResolveAlertGroupRequestObject
- type ResolveAlertGroupResponseObject
- type ResolveReason
- type ResolveRequest
- type ResolvedBy
- type ResolverKind
- type RetentionSettings
- type RetirePreviousSigningSecret204Response
- type RetirePreviousSigningSecret401ApplicationProblemPlusJSONResponse
- type RetirePreviousSigningSecret403ApplicationProblemPlusJSONResponse
- type RetirePreviousSigningSecret404ApplicationProblemPlusJSONResponse
- type RetirePreviousSigningSecret409ApplicationProblemPlusJSONResponse
- type RetirePreviousSigningSecret429ApplicationProblemPlusJSONResponse
- type RetirePreviousSigningSecretRequestObject
- type RetirePreviousSigningSecretResponseObject
- type RevokeIntegrationToken204Response
- type RevokeIntegrationToken401ApplicationProblemPlusJSONResponse
- type RevokeIntegrationToken403ApplicationProblemPlusJSONResponse
- type RevokeIntegrationToken404ApplicationProblemPlusJSONResponse
- type RevokeIntegrationToken429ApplicationProblemPlusJSONResponse
- type RevokeIntegrationTokenRequestObject
- type RevokeIntegrationTokenResponseObject
- type RevokePersonalAccessToken204Response
- type RevokePersonalAccessToken401ApplicationProblemPlusJSONResponse
- type RevokePersonalAccessToken403ApplicationProblemPlusJSONResponse
- type RevokePersonalAccessToken404ApplicationProblemPlusJSONResponse
- type RevokePersonalAccessToken429ApplicationProblemPlusJSONResponse
- type RevokePersonalAccessTokenRequestObject
- type RevokePersonalAccessTokenResponseObject
- type RevokeServiceAccountToken204Response
- type RevokeServiceAccountToken401ApplicationProblemPlusJSONResponse
- type RevokeServiceAccountToken403ApplicationProblemPlusJSONResponse
- type RevokeServiceAccountToken404ApplicationProblemPlusJSONResponse
- type RevokeServiceAccountToken429ApplicationProblemPlusJSONResponse
- type RevokeServiceAccountTokenRequestObject
- type RevokeServiceAccountTokenResponseObject
- type Role
- type RoleList
- type RoleName
- type Route
- type RouteId
- type RouteInput
- type RouteList
- type RouteOrder
- type RoutePolicy
- type RouteProfile
- type RouteProfileId
- type RouteProfileList
- type RouteStorm
- type RouteSuggestion
- type RouteSuggestionAcceptance
- type RouteSuggestionId
- type RouteSuggestionList
- type RouteTemplates
- type RunBulkCommand200JSONResponse
- type RunBulkCommand400ApplicationProblemPlusJSONResponse
- type RunBulkCommand401ApplicationProblemPlusJSONResponse
- type RunBulkCommand403ApplicationProblemPlusJSONResponse
- type RunBulkCommand422ApplicationProblemPlusJSONResponse
- type RunBulkCommand429ApplicationProblemPlusJSONResponse
- type RunBulkCommandJSONRequestBody
- type RunBulkCommandRequestObject
- type RunBulkCommandResponseObject
- type SecretName
- type SecretStatus
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AcceptRouteSuggestion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AcknowledgeAlertGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AnswerReminder(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) BeginTotpEnrolment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckDestination(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckOidcSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteOidcLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteOidcSignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompletePasswordSetup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfirmMattermostLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfirmTotpEnrolment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConvertUserToLocal(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateAlertGroupNote(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDestination(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateIntegration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateIntegrationToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateLinkRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateLookupTable(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePasswordSetupLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePersonalAccessToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateRoute(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceAccountToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteCurrentSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDestination(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDestinationSecret(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteIntegration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteLinkRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteLookupTable(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteMyAccountLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteMySessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteRoute(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteServiceAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteUserAccountLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DisableServiceAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DisableUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DismissRouteSuggestion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EnableServiceAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EnableUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GenerateSigningSecret(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAlertGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAlertGroupCounts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAlertGroupStatistics(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAlertGroupTimeline(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCurrentSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDestination(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetIntegration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetKeyring(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetLinkRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetLookupTable(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMe(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMyTotp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOidcSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOpenApiSpec(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOutboundPolicy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoute(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetServiceAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSignInOptions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSigningSecret(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetStoredSnapshot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSystemStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) HeartbeatGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) HeartbeatGetWithPathToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) HeartbeatPost(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) HeartbeatPostWithPathToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IngestSnapshot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IngestSnapshotWithPathToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAlertGroupAlerts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAlertGroupDeliveries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAlertGroupNotes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAlertGroups(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAlertmanagerRoutes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAuditLog(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConnectionChannels(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConnections(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDestinationSecrets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDestinations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListIntegrationAlerts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListIntegrationTokens(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListIntegrations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListLinkRules(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListLinkableConnections(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListLookupTables(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMyAccountLinks(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMySessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPersonalAccessTokens(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRelatedAlertGroups(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRoles(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRouteProfiles(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRouteSuggestions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRoutes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceAccountTokens(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceAccounts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSeverityValues(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListStoredSnapshots(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSystemNotices(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListUserAccountLinks(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListUserDirectory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MattermostAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MoveOpenAlertGroups(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewDestination(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewGroupKey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RegenerateTotpRecoveryCodes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveTotp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReorderRoutes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResetUserTotp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResolveAlertGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetirePreviousSigningSecret(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeIntegrationToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokePersonalAccessToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeServiceAccountToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RunBulkCommand(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetDestinationSecret(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SnoozeAlertGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartMattermostLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartOidcLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartOidcSignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartTelegramLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StreamLiveUpdates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SubmitSessionTotp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TelegramWebhook(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TestDestination(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnacknowledgeAlertGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnresolveAlertGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnsnoozeAlertGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDestination(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateIntegration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateLinkRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateLookupTable(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateMe(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOidcSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOutboundPolicy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateRoute(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateServiceAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)
- type ServiceAccount
- type ServiceAccountId
- type ServiceAccountInput
- type ServiceAccountList
- type ServiceAccountStatus
- type ServiceAccountToken
- type ServiceAccountTokenCreate
- type ServiceAccountTokenCreated
- type ServiceAccountTokenList
- type Session
- type SessionCreate
- type SessionInfo
- type SessionInfoList
- type SessionMethod
- type SessionState
- type SessionTotp
- type SetDestinationSecret200JSONResponse
- type SetDestinationSecret200ResponseHeaders
- type SetDestinationSecret400ApplicationProblemPlusJSONResponse
- type SetDestinationSecret401ApplicationProblemPlusJSONResponse
- type SetDestinationSecret403ApplicationProblemPlusJSONResponse
- type SetDestinationSecret404ApplicationProblemPlusJSONResponse
- type SetDestinationSecret409ApplicationProblemPlusJSONResponse
- type SetDestinationSecret412ApplicationProblemPlusJSONResponse
- type SetDestinationSecret422ApplicationProblemPlusJSONResponse
- type SetDestinationSecret429ApplicationProblemPlusJSONResponse
- type SetDestinationSecretJSONRequestBody
- type SetDestinationSecretParams
- type SetDestinationSecretRequestObject
- type SetDestinationSecretResponseObject
- type SeverityLevel
- type SeverityLevelStyle
- type SeverityMappingEntry
- type SeverityValue
- type SeverityValueList
- type SignInOptions
- type SigningSecretGenerated
- type SigningSecretStatus
- type SnapshotState
- type SnoozeAlertGroup200JSONResponse
- type SnoozeAlertGroup400ApplicationProblemPlusJSONResponse
- type SnoozeAlertGroup401ApplicationProblemPlusJSONResponse
- type SnoozeAlertGroup403ApplicationProblemPlusJSONResponse
- type SnoozeAlertGroup404ApplicationProblemPlusJSONResponse
- type SnoozeAlertGroup409ApplicationProblemPlusJSONResponse
- type SnoozeAlertGroup422ApplicationProblemPlusJSONResponse
- type SnoozeAlertGroup429ApplicationProblemPlusJSONResponse
- type SnoozeAlertGroupJSONRequestBody
- type SnoozeAlertGroupRequestObject
- type SnoozeAlertGroupResponseObject
- type SnoozeRequest
- type SnoozeRequestNoEnd
- type StartMattermostLink202JSONResponse
- type StartMattermostLink400ApplicationProblemPlusJSONResponse
- type StartMattermostLink401ApplicationProblemPlusJSONResponse
- type StartMattermostLink403ApplicationProblemPlusJSONResponse
- type StartMattermostLink404ApplicationProblemPlusJSONResponse
- type StartMattermostLink409ApplicationProblemPlusJSONResponse
- type StartMattermostLink422ApplicationProblemPlusJSONResponse
- type StartMattermostLink429ApplicationProblemPlusJSONResponse
- type StartMattermostLink503ApplicationProblemPlusJSONResponse
- type StartMattermostLinkJSONRequestBody
- type StartMattermostLinkRequestObject
- type StartMattermostLinkResponseObject
- type StartOidcLink201JSONResponse
- type StartOidcLink401ApplicationProblemPlusJSONResponse
- type StartOidcLink403ApplicationProblemPlusJSONResponse
- type StartOidcLink409ApplicationProblemPlusJSONResponse
- type StartOidcLink429ApplicationProblemPlusJSONResponse
- type StartOidcLinkRequestObject
- type StartOidcLinkResponseObject
- type StartOidcSignIn302Response
- type StartOidcSignIn302ResponseHeaders
- type StartOidcSignIn409ApplicationProblemPlusJSONResponse
- type StartOidcSignIn429ApplicationProblemPlusJSONResponse
- type StartOidcSignInParams
- type StartOidcSignInRequestObject
- type StartOidcSignInResponseObject
- type StartTelegramLink201JSONResponse
- type StartTelegramLink400ApplicationProblemPlusJSONResponse
- type StartTelegramLink401ApplicationProblemPlusJSONResponse
- type StartTelegramLink403ApplicationProblemPlusJSONResponse
- type StartTelegramLink422ApplicationProblemPlusJSONResponse
- type StartTelegramLink429ApplicationProblemPlusJSONResponse
- type StartTelegramLink503ApplicationProblemPlusJSONResponse
- type StartTelegramLinkJSONRequestBody
- type StartTelegramLinkRequestObject
- type StartTelegramLinkResponseObject
- type StatisticsDay
- type StdHTTPServerOptions
- type StoredSnapshot
- type StoredSnapshotBodyEncoding
- type StoredSnapshotId
- type StoredSnapshotList
- type StoredSnapshotSummary
- type StreamLiveUpdates200ResponseHeaders
- type StreamLiveUpdates200TexteventStreamResponse
- type StreamLiveUpdates401ApplicationProblemPlusJSONResponse
- type StreamLiveUpdates403ApplicationProblemPlusJSONResponse
- type StreamLiveUpdates429ApplicationProblemPlusJSONResponse
- type StreamLiveUpdatesRequestObject
- type StreamLiveUpdatesResponseObject
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SubmitSessionTotp200JSONResponse
- type SubmitSessionTotp400ApplicationProblemPlusJSONResponse
- type SubmitSessionTotp401ApplicationProblemPlusJSONResponse
- type SubmitSessionTotp403ApplicationProblemPlusJSONResponse
- type SubmitSessionTotp409ApplicationProblemPlusJSONResponse
- type SubmitSessionTotp422ApplicationProblemPlusJSONResponse
- type SubmitSessionTotp429ApplicationProblemPlusJSONResponse
- type SubmitSessionTotpJSONRequestBody
- type SubmitSessionTotpRequestObject
- type SubmitSessionTotpResponseObject
- type SuggestionId
- type SystemNotice
- type SystemNoticeAudience
- type SystemNoticeKind
- type SystemNoticeList
- type SystemStatus
- type TelegramConnection
- type TelegramConnectionBase
- type TelegramConnectionBaseType
- type TelegramConnectionInput
- type TelegramConnectionInputType
- type TelegramConnectionType
- type TelegramConnectionWarnings
- type TelegramDestination
- type TelegramDestinationInput
- type TelegramDestinationInputType
- type TelegramDestinationType
- type TelegramLinkRequest
- type TelegramLinkStart
- type TelegramUpdate
- type TelegramUpdateMode
- type TelegramWebhook200Response
- type TelegramWebhook400ApplicationProblemPlusJSONResponse
- type TelegramWebhook401ApplicationProblemPlusJSONResponse
- type TelegramWebhookJSONRequestBody
- type TelegramWebhookRequestObject
- type TelegramWebhookResponseObject
- type TemplateErrorEntry
- type TemplateErrorEntrySubjectKind
- type TemplateErrorState
- type TemplateErrorStateFallback
- type TemplateKind
- type TemplatePreviewRequest
- type TemplatePreviewRequestFormat
- type TemplatePreviewResult
- type TemplatePreviewResultFormat
- type TemplatePreviewResultSample
- type TestDestination200JSONResponse
- type TestDestination400ApplicationProblemPlusJSONResponse
- type TestDestination401ApplicationProblemPlusJSONResponse
- type TestDestination403ApplicationProblemPlusJSONResponse
- type TestDestination404ApplicationProblemPlusJSONResponse
- type TestDestination422ApplicationProblemPlusJSONResponse
- type TestDestination429ApplicationProblemPlusJSONResponse
- type TestDestinationJSONRequestBody
- type TestDestinationRequestObject
- type TestDestinationResponseObject
- type TestSource
- type TestSourceKind
- type TestStep
- type TestStepName
- type TimelineActor
- type TimelineAlertsEntry
- type TimelineAlertsEntryKind
- type TimelineDeliveryEntry
- type TimelineDeliveryEntryKind
- type TimelineEntry
- func (t TimelineEntry) AsTimelineAlertsEntry() (TimelineAlertsEntry, error)
- func (t TimelineEntry) AsTimelineDeliveryEntry() (TimelineDeliveryEntry, error)
- func (t TimelineEntry) AsTimelineNoteEntry() (TimelineNoteEntry, error)
- func (t TimelineEntry) AsTimelineStatusEntry() (TimelineStatusEntry, error)
- func (t TimelineEntry) AsTimelineSystemEntry() (TimelineSystemEntry, error)
- func (t TimelineEntry) AsTimelineTimersEntry() (TimelineTimersEntry, error)
- func (t TimelineEntry) Discriminator() (string, error)
- func (t *TimelineEntry) FromTimelineAlertsEntry(v TimelineAlertsEntry) error
- func (t *TimelineEntry) FromTimelineDeliveryEntry(v TimelineDeliveryEntry) error
- func (t *TimelineEntry) FromTimelineNoteEntry(v TimelineNoteEntry) error
- func (t *TimelineEntry) FromTimelineStatusEntry(v TimelineStatusEntry) error
- func (t *TimelineEntry) FromTimelineSystemEntry(v TimelineSystemEntry) error
- func (t *TimelineEntry) FromTimelineTimersEntry(v TimelineTimersEntry) error
- func (t TimelineEntry) MarshalJSON() ([]byte, error)
- func (t *TimelineEntry) MergeTimelineAlertsEntry(v TimelineAlertsEntry) error
- func (t *TimelineEntry) MergeTimelineDeliveryEntry(v TimelineDeliveryEntry) error
- func (t *TimelineEntry) MergeTimelineNoteEntry(v TimelineNoteEntry) error
- func (t *TimelineEntry) MergeTimelineStatusEntry(v TimelineStatusEntry) error
- func (t *TimelineEntry) MergeTimelineSystemEntry(v TimelineSystemEntry) error
- func (t *TimelineEntry) MergeTimelineTimersEntry(v TimelineTimersEntry) error
- func (t *TimelineEntry) UnmarshalJSON(b []byte) error
- func (t TimelineEntry) ValueByDiscriminator() (interface{}, error)
- type TimelineEntryBase
- type TimelineEntryList
- type TimelineKind
- type TimelineLifecycleFields
- type TimelineNoteEntry
- type TimelineNoteEntryKind
- type TimelineStatusEntry
- type TimelineStatusEntryKind
- type TimelineSystemEntry
- type TimelineSystemEntryKind
- type TimelineSystemEntrySystemEvent
- type TimelineTimersEntry
- type TimelineTimersEntryKind
- type To
- type TokenId
- type TooManyRequests
- type TooManyRequestsApplicationProblemPlusJSONResponse
- type TooManyRequestsResponseHeaders
- type TooManyValuesForParamError
- type TotpCode
- type TotpEnrolment
- type TotpPolicy
- type TotpRecoveryCodes
- type TotpRemoval
- type TotpStatus
- type Transport
- type UnacknowledgeAlertGroup200JSONResponse
- type UnacknowledgeAlertGroup401ApplicationProblemPlusJSONResponse
- type UnacknowledgeAlertGroup403ApplicationProblemPlusJSONResponse
- type UnacknowledgeAlertGroup404ApplicationProblemPlusJSONResponse
- type UnacknowledgeAlertGroup409ApplicationProblemPlusJSONResponse
- type UnacknowledgeAlertGroup429ApplicationProblemPlusJSONResponse
- type UnacknowledgeAlertGroupRequestObject
- type UnacknowledgeAlertGroupResponseObject
- type Unauthorized
- type UnauthorizedApplicationProblemPlusJSONResponse
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type Unprocessable
- type UnprocessableApplicationProblemPlusJSONResponse
- type UnresolveAlertGroup200JSONResponse
- type UnresolveAlertGroup401ApplicationProblemPlusJSONResponse
- type UnresolveAlertGroup403ApplicationProblemPlusJSONResponse
- type UnresolveAlertGroup404ApplicationProblemPlusJSONResponse
- type UnresolveAlertGroup409ApplicationProblemPlusJSONResponse
- type UnresolveAlertGroup429ApplicationProblemPlusJSONResponse
- type UnresolveAlertGroupRequestObject
- type UnresolveAlertGroupResponseObject
- type UnsnoozeAlertGroup200JSONResponse
- type UnsnoozeAlertGroup401ApplicationProblemPlusJSONResponse
- type UnsnoozeAlertGroup403ApplicationProblemPlusJSONResponse
- type UnsnoozeAlertGroup404ApplicationProblemPlusJSONResponse
- type UnsnoozeAlertGroup409ApplicationProblemPlusJSONResponse
- type UnsnoozeAlertGroup429ApplicationProblemPlusJSONResponse
- type UnsnoozeAlertGroupRequestObject
- type UnsnoozeAlertGroupResponseObject
- type UpdateConnection200JSONResponse
- type UpdateConnection200ResponseHeaders
- type UpdateConnection400ApplicationProblemPlusJSONResponse
- type UpdateConnection401ApplicationProblemPlusJSONResponse
- type UpdateConnection403ApplicationProblemPlusJSONResponse
- type UpdateConnection404ApplicationProblemPlusJSONResponse
- type UpdateConnection409ApplicationProblemPlusJSONResponse
- type UpdateConnection412ApplicationProblemPlusJSONResponse
- type UpdateConnection422ApplicationProblemPlusJSONResponse
- type UpdateConnection428ApplicationProblemPlusJSONResponse
- type UpdateConnection429ApplicationProblemPlusJSONResponse
- type UpdateConnectionJSONRequestBody
- type UpdateConnectionParams
- type UpdateConnectionRequestObject
- type UpdateConnectionResponseObject
- type UpdateDestination200JSONResponse
- type UpdateDestination200ResponseHeaders
- type UpdateDestination400ApplicationProblemPlusJSONResponse
- type UpdateDestination401ApplicationProblemPlusJSONResponse
- type UpdateDestination403ApplicationProblemPlusJSONResponse
- type UpdateDestination404ApplicationProblemPlusJSONResponse
- type UpdateDestination409ApplicationProblemPlusJSONResponse
- type UpdateDestination412ApplicationProblemPlusJSONResponse
- type UpdateDestination422ApplicationProblemPlusJSONResponse
- type UpdateDestination428ApplicationProblemPlusJSONResponse
- type UpdateDestination429ApplicationProblemPlusJSONResponse
- type UpdateDestination503ApplicationProblemPlusJSONResponse
- type UpdateDestinationJSONRequestBody
- type UpdateDestinationParams
- type UpdateDestinationRequestObject
- type UpdateDestinationResponseObject
- type UpdateIntegration200JSONResponse
- type UpdateIntegration200ResponseHeaders
- type UpdateIntegration400ApplicationProblemPlusJSONResponse
- type UpdateIntegration401ApplicationProblemPlusJSONResponse
- type UpdateIntegration403ApplicationProblemPlusJSONResponse
- type UpdateIntegration404ApplicationProblemPlusJSONResponse
- type UpdateIntegration409ApplicationProblemPlusJSONResponse
- type UpdateIntegration412ApplicationProblemPlusJSONResponse
- type UpdateIntegration422ApplicationProblemPlusJSONResponse
- type UpdateIntegration428ApplicationProblemPlusJSONResponse
- type UpdateIntegration429ApplicationProblemPlusJSONResponse
- type UpdateIntegrationJSONRequestBody
- type UpdateIntegrationParams
- type UpdateIntegrationRequestObject
- type UpdateIntegrationResponseObject
- type UpdateLinkRule200JSONResponse
- type UpdateLinkRule200ResponseHeaders
- type UpdateLinkRule400ApplicationProblemPlusJSONResponse
- type UpdateLinkRule401ApplicationProblemPlusJSONResponse
- type UpdateLinkRule403ApplicationProblemPlusJSONResponse
- type UpdateLinkRule404ApplicationProblemPlusJSONResponse
- type UpdateLinkRule409ApplicationProblemPlusJSONResponse
- type UpdateLinkRule412ApplicationProblemPlusJSONResponse
- type UpdateLinkRule422ApplicationProblemPlusJSONResponse
- type UpdateLinkRule428ApplicationProblemPlusJSONResponse
- type UpdateLinkRule429ApplicationProblemPlusJSONResponse
- type UpdateLinkRuleJSONRequestBody
- type UpdateLinkRuleParams
- type UpdateLinkRuleRequestObject
- type UpdateLinkRuleResponseObject
- type UpdateLookupTable200JSONResponse
- type UpdateLookupTable200ResponseHeaders
- type UpdateLookupTable400ApplicationProblemPlusJSONResponse
- type UpdateLookupTable401ApplicationProblemPlusJSONResponse
- type UpdateLookupTable403ApplicationProblemPlusJSONResponse
- type UpdateLookupTable404ApplicationProblemPlusJSONResponse
- type UpdateLookupTable409ApplicationProblemPlusJSONResponse
- type UpdateLookupTable412ApplicationProblemPlusJSONResponse
- type UpdateLookupTable422ApplicationProblemPlusJSONResponse
- type UpdateLookupTable428ApplicationProblemPlusJSONResponse
- type UpdateLookupTable429ApplicationProblemPlusJSONResponse
- type UpdateLookupTableJSONRequestBody
- type UpdateLookupTableParams
- type UpdateLookupTableRequestObject
- type UpdateLookupTableResponseObject
- type UpdateMe200JSONResponse
- type UpdateMe400ApplicationProblemPlusJSONResponse
- type UpdateMe401ApplicationProblemPlusJSONResponse
- type UpdateMe403ApplicationProblemPlusJSONResponse
- type UpdateMe422ApplicationProblemPlusJSONResponse
- type UpdateMe429ApplicationProblemPlusJSONResponse
- type UpdateMeJSONRequestBody
- type UpdateMeRequestObject
- type UpdateMeResponseObject
- type UpdateOidcSettings200JSONResponse
- type UpdateOidcSettings200ResponseHeaders
- type UpdateOidcSettings400ApplicationProblemPlusJSONResponse
- type UpdateOidcSettings401ApplicationProblemPlusJSONResponse
- type UpdateOidcSettings403ApplicationProblemPlusJSONResponse
- type UpdateOidcSettings412ApplicationProblemPlusJSONResponse
- type UpdateOidcSettings422ApplicationProblemPlusJSONResponse
- type UpdateOidcSettings428ApplicationProblemPlusJSONResponse
- type UpdateOidcSettings429ApplicationProblemPlusJSONResponse
- type UpdateOidcSettingsJSONRequestBody
- type UpdateOidcSettingsParams
- type UpdateOidcSettingsRequestObject
- type UpdateOidcSettingsResponseObject
- type UpdateOrganization200JSONResponse
- type UpdateOrganization200ResponseHeaders
- type UpdateOrganization400ApplicationProblemPlusJSONResponse
- type UpdateOrganization401ApplicationProblemPlusJSONResponse
- type UpdateOrganization403ApplicationProblemPlusJSONResponse
- type UpdateOrganization412ApplicationProblemPlusJSONResponse
- type UpdateOrganization422ApplicationProblemPlusJSONResponse
- type UpdateOrganization428ApplicationProblemPlusJSONResponse
- type UpdateOrganization429ApplicationProblemPlusJSONResponse
- type UpdateOrganizationJSONRequestBody
- type UpdateOrganizationParams
- type UpdateOrganizationRequestObject
- type UpdateOrganizationResponseObject
- type UpdateOutboundPolicy200JSONResponse
- type UpdateOutboundPolicy200ResponseHeaders
- type UpdateOutboundPolicy400ApplicationProblemPlusJSONResponse
- type UpdateOutboundPolicy401ApplicationProblemPlusJSONResponse
- type UpdateOutboundPolicy403ApplicationProblemPlusJSONResponse
- type UpdateOutboundPolicy412ApplicationProblemPlusJSONResponse
- type UpdateOutboundPolicy422ApplicationProblemPlusJSONResponse
- type UpdateOutboundPolicy428ApplicationProblemPlusJSONResponse
- type UpdateOutboundPolicy429ApplicationProblemPlusJSONResponse
- type UpdateOutboundPolicyJSONRequestBody
- type UpdateOutboundPolicyParams
- type UpdateOutboundPolicyRequestObject
- type UpdateOutboundPolicyResponseObject
- type UpdateRoute200JSONResponse
- type UpdateRoute200ResponseHeaders
- type UpdateRoute400ApplicationProblemPlusJSONResponse
- type UpdateRoute401ApplicationProblemPlusJSONResponse
- type UpdateRoute403ApplicationProblemPlusJSONResponse
- type UpdateRoute404ApplicationProblemPlusJSONResponse
- type UpdateRoute409ApplicationProblemPlusJSONResponse
- type UpdateRoute412ApplicationProblemPlusJSONResponse
- type UpdateRoute422ApplicationProblemPlusJSONResponse
- type UpdateRoute428ApplicationProblemPlusJSONResponse
- type UpdateRoute429ApplicationProblemPlusJSONResponse
- type UpdateRouteJSONRequestBody
- type UpdateRouteParams
- type UpdateRouteRequestObject
- type UpdateRouteResponseObject
- type UpdateServiceAccount200JSONResponse
- type UpdateServiceAccount200ResponseHeaders
- type UpdateServiceAccount400ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount401ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount403ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount404ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount409ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount412ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount422ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount428ApplicationProblemPlusJSONResponse
- type UpdateServiceAccount429ApplicationProblemPlusJSONResponse
- type UpdateServiceAccountJSONRequestBody
- type UpdateServiceAccountParams
- type UpdateServiceAccountRequestObject
- type UpdateServiceAccountResponseObject
- type UpdateUser200JSONResponse
- type UpdateUser200ResponseHeaders
- type UpdateUser400ApplicationProblemPlusJSONResponse
- type UpdateUser401ApplicationProblemPlusJSONResponse
- type UpdateUser403ApplicationProblemPlusJSONResponse
- type UpdateUser404ApplicationProblemPlusJSONResponse
- type UpdateUser409ApplicationProblemPlusJSONResponse
- type UpdateUser412ApplicationProblemPlusJSONResponse
- type UpdateUser422ApplicationProblemPlusJSONResponse
- type UpdateUser428ApplicationProblemPlusJSONResponse
- type UpdateUser429ApplicationProblemPlusJSONResponse
- type UpdateUserJSONRequestBody
- type UpdateUserParams
- type UpdateUserRequestObject
- type UpdateUserResponseObject
- type User
- type UserCreate
- type UserCreated
- type UserDirectoryList
- type UserId
- type UserList
- type UserRef
- type UserSignInMethod
- type UserSource
- type UserStatus
- type UserUpdate
- type WebhookActor
- type WebhookAlert
- type WebhookAlertGroup
- type WebhookDestination
- type WebhookDestinationBase
- type WebhookDestinationBaseMode
- type WebhookDestinationBaseType
- type WebhookDestinationInput
- type WebhookDestinationInputMode
- type WebhookDestinationInputType
- type WebhookDestinationMode
- type WebhookDestinationType
- type WebhookEventName
- type WebhookEventsConfig
- type WebhookMentionTarget
- type WebhookMentionTargetType
- type WebhookReceiverInterface
- type WebhookReceiverMiddlewareFunc
- type WebhookTemplateConfig
- type WebhookUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeliverAlertGroupEventWebhookHandler ¶
func DeliverAlertGroupEventWebhookHandler(si WebhookReceiverInterface, errHandler func(w http.ResponseWriter, r *http.Request, err error), middlewares ...WebhookReceiverMiddlewareFunc) http.Handler
DeliverAlertGroupEventWebhookHandler returns the http.Handler for the alertGroupEvent webhook. Mount this at the URL path advertised to webhook senders. errHandler may be nil; if so, parameter-binding errors return 400 with the error message. Middlewares are applied in the order provided -- the last argument becomes the outermost wrapper.
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type AcceptRouteSuggestion201JSONResponse ¶
type AcceptRouteSuggestion201JSONResponse struct {
Body Route
Headers AcceptRouteSuggestion201ResponseHeaders
}
func (AcceptRouteSuggestion201JSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion201JSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse ¶
type AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestion401ApplicationProblemPlusJSONResponse ¶
type AcceptRouteSuggestion401ApplicationProblemPlusJSONResponse struct {
}
func (AcceptRouteSuggestion401ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion401ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestion403ApplicationProblemPlusJSONResponse ¶
type AcceptRouteSuggestion403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (AcceptRouteSuggestion403ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion403ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestion404ApplicationProblemPlusJSONResponse ¶
type AcceptRouteSuggestion404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (AcceptRouteSuggestion404ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion404ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestion409ApplicationProblemPlusJSONResponse ¶
type AcceptRouteSuggestion409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (AcceptRouteSuggestion409ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion409ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestion422ApplicationProblemPlusJSONResponse ¶
type AcceptRouteSuggestion422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (AcceptRouteSuggestion422ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion422ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestion429ApplicationProblemPlusJSONResponse ¶
type AcceptRouteSuggestion429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (AcceptRouteSuggestion429ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse ¶
func (response AcceptRouteSuggestion429ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
type AcceptRouteSuggestionJSONRequestBody ¶
type AcceptRouteSuggestionJSONRequestBody = RouteSuggestionAcceptance
AcceptRouteSuggestionJSONRequestBody defines body for AcceptRouteSuggestion for application/json ContentType.
type AcceptRouteSuggestionRequestObject ¶
type AcceptRouteSuggestionRequestObject struct {
SuggestionId SuggestionId `json:"suggestion_id"`
Body *AcceptRouteSuggestionJSONRequestBody
}
type AcceptRouteSuggestionResponseObject ¶
type AcceptRouteSuggestionResponseObject interface {
VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error
}
type AccountLink ¶
type AccountLink struct {
// Connection The Connection the link was made through; Mattermost links belong to it.
Connection *EntityRef `json:"connection,omitempty"`
CreatedAt time.Time `json:"created_at"`
ExternalId string `json:"external_id"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
LastUsedAt nullable.Nullable[time.Time] `json:"last_used_at,omitempty"`
Messenger Messenger `json:"messenger"`
Username nullable.Nullable[string] `json:"username,omitempty"`
}
AccountLink defines model for AccountLink.
type AccountLinkId ¶
type AccountLinkId = PublicId
AccountLinkId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type AccountLinkList ¶
type AccountLinkList struct {
Items []AccountLink `json:"items"`
}
AccountLinkList defines model for AccountLinkList.
type AckTimeoutPolicy ¶
type AckTimeoutPolicy struct {
Enabled bool `json:"enabled"`
// FirstIntervalSeconds Notices come at F, 3F and 7F after the start (intervals double, at most three).
FirstIntervalSeconds int `json:"first_interval_seconds"`
}
AckTimeoutPolicy defines model for AckTimeoutPolicy.
type AcknowledgeAlertGroup200JSONResponse ¶
type AcknowledgeAlertGroup200JSONResponse CommandResult
func (AcknowledgeAlertGroup200JSONResponse) VisitAcknowledgeAlertGroupResponse ¶
func (response AcknowledgeAlertGroup200JSONResponse) VisitAcknowledgeAlertGroupResponse(w http.ResponseWriter) error
type AcknowledgeAlertGroup401ApplicationProblemPlusJSONResponse ¶
type AcknowledgeAlertGroup401ApplicationProblemPlusJSONResponse struct {
}
func (AcknowledgeAlertGroup401ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse ¶
func (response AcknowledgeAlertGroup401ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse(w http.ResponseWriter) error
type AcknowledgeAlertGroup403ApplicationProblemPlusJSONResponse ¶
type AcknowledgeAlertGroup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (AcknowledgeAlertGroup403ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse ¶
func (response AcknowledgeAlertGroup403ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse(w http.ResponseWriter) error
type AcknowledgeAlertGroup404ApplicationProblemPlusJSONResponse ¶
type AcknowledgeAlertGroup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (AcknowledgeAlertGroup404ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse ¶
func (response AcknowledgeAlertGroup404ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse(w http.ResponseWriter) error
type AcknowledgeAlertGroup409ApplicationProblemPlusJSONResponse ¶
type AcknowledgeAlertGroup409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (AcknowledgeAlertGroup409ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse ¶
func (response AcknowledgeAlertGroup409ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse(w http.ResponseWriter) error
type AcknowledgeAlertGroup429ApplicationProblemPlusJSONResponse ¶
type AcknowledgeAlertGroup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (AcknowledgeAlertGroup429ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse ¶
func (response AcknowledgeAlertGroup429ApplicationProblemPlusJSONResponse) VisitAcknowledgeAlertGroupResponse(w http.ResponseWriter) error
type AcknowledgeAlertGroupRequestObject ¶
type AcknowledgeAlertGroupRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
}
type AcknowledgeAlertGroupResponseObject ¶
type AcknowledgeAlertGroupResponseObject interface {
VisitAcknowledgeAlertGroupResponse(w http.ResponseWriter) error
}
type ActiveStorm ¶
type ActiveStorm struct {
AlertGroupCount int `json:"alert_group_count"`
Route EntityRef `json:"route"`
Since time.Time `json:"since"`
}
ActiveStorm defines model for ActiveStorm.
type ActorKind ¶
type ActorKind string
ActorKind defines model for ActorKind.
type ActorRef ¶
type ActorRef struct {
// Deactivated The user or Service account was deleted; the UI shows "(deactivated)".
Deactivated bool `json:"deactivated"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Kind ActorRefKind `json:"kind"`
// Login Users only.
Login *string `json:"login,omitempty"`
Name string `json:"name"`
}
ActorRef Who resolved an Alert Group or wrote a Note: a User or a Service account. An Owner is always a User (`UserRef`), because a Service account cannot become an Owner.
type ActorRefKind ¶
type ActorRefKind string
ActorRefKind defines model for ActorRef.Kind.
const ( ActorRefKindServiceAccount ActorRefKind = "service_account" ActorRefKindUser ActorRefKind = "user" )
Defines values for ActorRefKind.
func (ActorRefKind) Valid ¶
func (e ActorRefKind) Valid() bool
Valid indicates whether the value is a known member of the ActorRefKind enum.
type AgDeliveryProblem ¶
type AgDeliveryProblem = bool
AgDeliveryProblem defines model for AgDeliveryProblem.
type AgLabelColumns ¶
type AgLabelColumns = []string
AgLabelColumns defines model for AgLabelColumns.
type AgResolvedBy ¶
type AgResolvedBy = ResolverKind
AgResolvedBy Who resolved an Alert Group: a person or the system.
type AgSort ¶
type AgSort string
AgSort defines model for AgSort.
type AlertGroup ¶
type AlertGroup struct {
// AllowedCommands Commands the current status allows for the caller's Permissions and identity; Acknowledge on another user's Alert Group is a Takeover. A Service account is not offered `acknowledge` or `still_on_it`.
AllowedCommands []CommandName `json:"allowed_commands"`
// CommonAnnotations Label names and values.
CommonAnnotations *Labels `json:"common_annotations,omitempty"`
// CommonLabels Label names and values.
CommonLabels *Labels `json:"common_labels,omitempty"`
// DeliveryProblem Any Destination is Not delivered, waiting for a Broken Destination, deleted in the messenger or has a Thread not attached.
DeliveryProblem bool `json:"delivery_problem"`
// DetailsRemoved Alerts and Timeline were removed by retention; only the summary row and its Notes remain.
DetailsRemoved *bool `json:"details_removed,omitempty"`
FiringAlertCount int `json:"firing_alert_count"`
// GroupLabels Label names and values.
GroupLabels *Labels `json:"group_labels,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Integrations []EntityRef `json:"integrations"`
// LabelValues Values of the labels requested with `label_columns`, when all Alerts share them.
LabelValues *Labels `json:"label_values,omitempty"`
LastChangedAt time.Time `json:"last_changed_at"`
Links *[]AlertGroupLink `json:"links,omitempty"`
// NextNotice The next scheduled ack timeout notice or Reminder.
NextNotice *NextNotice `json:"next_notice,omitempty"`
Notices *[]AlertGroupNotice `json:"notices,omitempty"`
// Number The `#N`, assigned per Organization without gaps.
Number int `json:"number"`
// Owner Set while acknowledged. Always a User: a Service account cannot become an Owner; a Personal access token acts as its User.
Owner *UserRef `json:"owner,omitempty"`
ReopenCount int `json:"reopen_count"`
// Resolution Set when resolved.
Resolution *ResolvedBy `json:"resolution,omitempty"`
ResolvedAlertCount int `json:"resolved_alert_count"`
ResolvedAt nullable.Nullable[time.Time] `json:"resolved_at,omitempty"`
Route EntityRef `json:"route"`
SeverityLevel SeverityLevel `json:"severity_level"`
// SnoozeUntil Null while snoozed means no end.
SnoozeUntil nullable.Nullable[time.Time] `json:"snooze_until,omitempty"`
// SnoozedBy Set while snoozed: who set the current Snooze, a User or a Service account ("Snoozed by" in the Root message). Stored on the Alert Group by Snooze, restored with the Snooze by a Reopen into snoozed, and cleared when the Snooze ends.
SnoozedBy *ActorRef `json:"snoozed_by,omitempty"`
StartedAt time.Time `json:"started_at"`
Status AlertGroupStatus `json:"status"`
Summary nullable.Nullable[string] `json:"summary,omitempty"`
Title string `json:"title"`
Unclaimed bool `json:"unclaimed"`
Urgent bool `json:"urgent"`
}
AlertGroup defines model for AlertGroup.
type AlertGroupAlert ¶
type AlertGroupAlert struct {
AlertmanagerGroups []string `json:"alertmanager_groups"`
// Annotations Label names and values.
Annotations *Labels `json:"annotations,omitempty"`
Fingerprint string `json:"fingerprint"`
Integration *EntityRef `json:"integration,omitempty"`
// Labels Label names and values.
Labels Labels `json:"labels"`
LastSeenAt time.Time `json:"last_seen_at"`
// ResolveReason Why an Alert resolved; null while it fires.
ResolveReason nullable.Nullable[NullableResolveReason] `json:"resolve_reason,omitempty"`
ResolveReasonText nullable.Nullable[string] `json:"resolve_reason_text,omitempty"`
ResolvedAt nullable.Nullable[time.Time] `json:"resolved_at,omitempty"`
// SourceUrl The Alert's `generatorURL`.
SourceUrl nullable.Nullable[string] `json:"source_url,omitempty"`
StartsAt time.Time `json:"starts_at"`
State AlertState `json:"state"`
}
AlertGroupAlert defines model for AlertGroupAlert.
type AlertGroupAlertList ¶
type AlertGroupAlertList struct {
Items []AlertGroupAlert `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
AlertGroupAlertList defines model for AlertGroupAlertList.
type AlertGroupCounts ¶
type AlertGroupCounts struct {
Acknowledged int `json:"acknowledged"`
All int `json:"all"`
Firing int `json:"firing"`
Resolved int `json:"resolved"`
Snoozed int `json:"snoozed"`
}
AlertGroupCounts Alert Groups matching the other filters, per status tab. The default tab Open is the sum of `firing`, `acknowledged` and `snoozed`.
type AlertGroupDelivery ¶
type AlertGroupDelivery struct {
Destination DestinationRef `json:"destination"`
// Error Provider error text of Not delivered. Secrets, the Signing secret and tokens are masked. Untrusted: render as plain text.
Error nullable.Nullable[string] `json:"error,omitempty"`
// MessageUrl Link to the Root message where the messenger provides one.
MessageUrl nullable.Nullable[string] `json:"message_url,omitempty"`
PossibleDuplicate bool `json:"possible_duplicate"`
// State `waiting_for_broken_destination` — derived, never stored: a `pending` delivery whose Destination is Broken; `withheld` — never posted to this Destination: the Alert Group resolved while a Storm summary stood for it or while the Destination was Broken; `retired` — no longer updated there after its final edit, because the Destination left the Route or was deleted.
State DeliveryState `json:"state"`
ThreadNotAttached bool `json:"thread_not_attached"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
AlertGroupDelivery defines model for AlertGroupDelivery.
type AlertGroupDeliveryList ¶
type AlertGroupDeliveryList struct {
Items []AlertGroupDelivery `json:"items"`
}
AlertGroupDeliveryList defines model for AlertGroupDeliveryList.
type AlertGroupId ¶
type AlertGroupId = PublicId
AlertGroupId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type AlertGroupLink ¶
type AlertGroupLink struct {
// Kind `runbook` and `dashboard` come from the `runbook_url` and `dashboard_url` annotations, `source` from the `generatorURL` of a firing Alert, `link_rule` from a Link rule (see `link_rule_id`).
Kind AlertGroupLinkKind `json:"kind"`
// LinkRuleId The `public_id` of the Link rule; set only for the kind `link_rule`.
LinkRuleId *PublicId `json:"link_rule_id,omitempty"`
// Name The name of a `link_rule` link — the rule's name, followed by `: ` and the label value for the scope `label_value` — or the English name of a built-in link (`Runbook`, `Dashboard`, `Source`).
Name string `json:"name"`
Url string `json:"url"`
}
AlertGroupLink One link of an Alert Group. `kind` says where it comes from, so a client can name the built-in links in its own language and tell them from a Link rule that has the same name.
type AlertGroupLinkKind ¶
type AlertGroupLinkKind string
AlertGroupLinkKind `runbook` and `dashboard` come from the `runbook_url` and `dashboard_url` annotations, `source` from the `generatorURL` of a firing Alert, `link_rule` from a Link rule (see `link_rule_id`).
const ( AlertGroupLinkKindDashboard AlertGroupLinkKind = "dashboard" AlertGroupLinkKindLinkRule AlertGroupLinkKind = "link_rule" AlertGroupLinkKindRunbook AlertGroupLinkKind = "runbook" AlertGroupLinkKindSource AlertGroupLinkKind = "source" )
Defines values for AlertGroupLinkKind.
func (AlertGroupLinkKind) Valid ¶
func (e AlertGroupLinkKind) Valid() bool
Valid indicates whether the value is a known member of the AlertGroupLinkKind enum.
type AlertGroupList ¶
type AlertGroupList struct {
Items []AlertGroup `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
AlertGroupList defines model for AlertGroupList.
type AlertGroupNotice ¶
type AlertGroupNotice struct {
Count nullable.Nullable[int] `json:"count,omitempty"`
Kind AlertGroupNoticeKind `json:"kind"`
// Label The Instance label that changed, for `replacement`.
Label nullable.Nullable[string] `json:"label,omitempty"`
// RelatedAlertGroup For `newer_alert_group_exists`: the open Alert Group of the same Route and Group key values that takes part in grouping, shown as a link in place of Unresolve.
RelatedAlertGroup *AlertGroupRef `json:"related_alert_group,omitempty"`
// ResolvedNumber The `#N` of the manually resolved Alert Group, for `firing_again_after_manual_resolve`.
ResolvedNumber nullable.Nullable[int] `json:"resolved_number,omitempty"`
RetentionDays nullable.Nullable[int] `json:"retention_days,omitempty"`
}
AlertGroupNotice A banner for the Alert Group page; the UI owns the wording.
type AlertGroupNoticeKind ¶
type AlertGroupNoticeKind string
AlertGroupNoticeKind defines model for AlertGroupNotice.Kind.
const ( AlertsStillFiring AlertGroupNoticeKind = "alerts_still_firing" DetailsRemoved AlertGroupNoticeKind = "details_removed" FiringAgainAfterManualResolve AlertGroupNoticeKind = "firing_again_after_manual_resolve" NewerAlertGroupExists AlertGroupNoticeKind = "newer_alert_group_exists" Replacement AlertGroupNoticeKind = "replacement" )
Defines values for AlertGroupNoticeKind.
func (AlertGroupNoticeKind) Valid ¶
func (e AlertGroupNoticeKind) Valid() bool
Valid indicates whether the value is a known member of the AlertGroupNoticeKind enum.
type AlertGroupRef ¶
type AlertGroupRef struct {
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Number The `#N` of the Alert Group.
Number int `json:"number"`
}
AlertGroupRef defines model for AlertGroupRef.
type AlertGroupStatistics ¶
type AlertGroupStatistics struct {
From time.Time `json:"from"`
GroupBy AlertGroupStatisticsGroupBy `json:"group_by"`
Items []AlertGroupStatisticsItem `json:"items"`
To time.Time `json:"to"`
}
AlertGroupStatistics defines model for AlertGroupStatistics.
type AlertGroupStatisticsGroupBy ¶
type AlertGroupStatisticsGroupBy string
AlertGroupStatisticsGroupBy defines model for AlertGroupStatistics.GroupBy.
const ( AlertGroupStatisticsGroupByIntegration AlertGroupStatisticsGroupBy = "integration" AlertGroupStatisticsGroupByRoute AlertGroupStatisticsGroupBy = "route" )
Defines values for AlertGroupStatisticsGroupBy.
func (AlertGroupStatisticsGroupBy) Valid ¶
func (e AlertGroupStatisticsGroupBy) Valid() bool
Valid indicates whether the value is a known member of the AlertGroupStatisticsGroupBy enum.
type AlertGroupStatisticsItem ¶
type AlertGroupStatisticsItem struct {
AlertGroupCount int `json:"alert_group_count"`
PerDay []StatisticsDay `json:"per_day"`
Subject EntityRef `json:"subject"`
// TimeToAcknowledge From the start of each Alert Group to its first acknowledgement. Takeover, Unacknowledge and Reopen do not change it; Alert Groups resolved without ever being acknowledged are left out, so `count` may be lower than `alert_group_count`.
TimeToAcknowledge DurationStats `json:"time_to_acknowledge"`
TimeToResolve DurationStats `json:"time_to_resolve"`
}
AlertGroupStatisticsItem defines model for AlertGroupStatisticsItem.
type AlertGroupStatus ¶
type AlertGroupStatus string
AlertGroupStatus defines model for AlertGroupStatus.
const ( AlertGroupStatusAcknowledged AlertGroupStatus = "acknowledged" AlertGroupStatusFiring AlertGroupStatus = "firing" AlertGroupStatusResolved AlertGroupStatus = "resolved" AlertGroupStatusSnoozed AlertGroupStatus = "snoozed" )
Defines values for AlertGroupStatus.
func (AlertGroupStatus) Valid ¶
func (e AlertGroupStatus) Valid() bool
Valid indicates whether the value is a known member of the AlertGroupStatus enum.
type AlertState ¶
type AlertState string
AlertState defines model for AlertState.
const ( AlertStateFiring AlertState = "firing" AlertStateResolved AlertState = "resolved" )
Defines values for AlertState.
func (AlertState) Valid ¶
func (e AlertState) Valid() bool
Valid indicates whether the value is a known member of the AlertState enum.
type AlertmanagerAlert ¶
type AlertmanagerAlert struct {
// Annotations Label names and values.
Annotations *Labels `json:"annotations,omitempty"`
// EndsAt RFC 3339; Alertmanager sends `0001-01-01T00:00:00Z` for firing alerts.
EndsAt *string `json:"endsAt,omitempty"`
Fingerprint *string `json:"fingerprint,omitempty"`
GeneratorURL *string `json:"generatorURL,omitempty"`
// Labels Label names and values.
Labels Labels `json:"labels"`
StartsAt time.Time `json:"startsAt"`
Status AlertState `json:"status"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertmanagerAlert defines model for AlertmanagerAlert.
func (AlertmanagerAlert) Get ¶
func (a AlertmanagerAlert) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for AlertmanagerAlert. Returns the specified element and whether it was found
func (AlertmanagerAlert) MarshalJSON ¶
func (a AlertmanagerAlert) MarshalJSON() ([]byte, error)
Override default JSON handling for AlertmanagerAlert to handle AdditionalProperties
func (*AlertmanagerAlert) Set ¶
func (a *AlertmanagerAlert) Set(fieldName string, value interface{})
Setter for additional properties for AlertmanagerAlert
func (*AlertmanagerAlert) UnmarshalJSON ¶
func (a *AlertmanagerAlert) UnmarshalJSON(b []byte) error
Override default JSON handling for AlertmanagerAlert to handle AdditionalProperties
type AlertmanagerRoute ¶
type AlertmanagerRoute struct {
LearnedRepeatIntervalSeconds nullable.Nullable[int] `json:"learned_repeat_interval_seconds,omitempty"`
LongIntervalWarning bool `json:"long_interval_warning"`
// RecommendedSnippet Route snippet with a recommended repeat interval, set with `long_interval_warning`.
RecommendedSnippet nullable.Nullable[string] `json:"recommended_snippet,omitempty"`
// ResolveByAbsenceAfterSeconds Time to resolve by absence (`processing.stale_after_factor` times the interval, or `processing.stale_after_unlearned`).
ResolveByAbsenceAfterSeconds nullable.Nullable[int] `json:"resolve_by_absence_after_seconds,omitempty"`
RoutePath string `json:"route_path"`
TruncatedGroupCount int `json:"truncated_group_count"`
}
AlertmanagerRoute An Alertmanager route Muster learned from the `groupKey` of Snapshots.
type AlertmanagerRouteList ¶
type AlertmanagerRouteList struct {
Items []AlertmanagerRoute `json:"items"`
}
AlertmanagerRouteList defines model for AlertmanagerRouteList.
type AlertmanagerWebhook ¶
type AlertmanagerWebhook struct {
Alerts []AlertmanagerAlert `json:"alerts"`
// CommonAnnotations Label names and values.
CommonAnnotations *Labels `json:"commonAnnotations,omitempty"`
// CommonLabels Label names and values.
CommonLabels *Labels `json:"commonLabels,omitempty"`
ExternalURL *string `json:"externalURL,omitempty"`
GroupKey string `json:"groupKey"`
// GroupLabels Label names and values.
GroupLabels *Labels `json:"groupLabels,omitempty"`
// NotificationReason Present in newer Alertmanager versions; one value marks a repeat.
NotificationReason *string `json:"notification_reason,omitempty"`
Receiver *string `json:"receiver,omitempty"`
Status AlertState `json:"status"`
// TruncatedAlerts Number of alerts Alertmanager left out because of `max_alerts`.
TruncatedAlerts *int `json:"truncatedAlerts,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertmanagerWebhook Alertmanager webhook payload (version 4), a Snapshot, as Muster expects to read it during processing. It documents the payload only: the ingestion endpoints do not validate against it and store the body as received, so a payload that differs in details, or is not JSON at all, is a processing error of that Snapshot, never a rejected request.
func (AlertmanagerWebhook) Get ¶
func (a AlertmanagerWebhook) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for AlertmanagerWebhook. Returns the specified element and whether it was found
func (AlertmanagerWebhook) MarshalJSON ¶
func (a AlertmanagerWebhook) MarshalJSON() ([]byte, error)
Override default JSON handling for AlertmanagerWebhook to handle AdditionalProperties
func (*AlertmanagerWebhook) Set ¶
func (a *AlertmanagerWebhook) Set(fieldName string, value interface{})
Setter for additional properties for AlertmanagerWebhook
func (*AlertmanagerWebhook) UnmarshalJSON ¶
func (a *AlertmanagerWebhook) UnmarshalJSON(b []byte) error
Override default JSON handling for AlertmanagerWebhook to handle AdditionalProperties
type AnswerReminder200JSONResponse ¶
type AnswerReminder200JSONResponse CommandResult
func (AnswerReminder200JSONResponse) VisitAnswerReminderResponse ¶
func (response AnswerReminder200JSONResponse) VisitAnswerReminderResponse(w http.ResponseWriter) error
type AnswerReminder401ApplicationProblemPlusJSONResponse ¶
type AnswerReminder401ApplicationProblemPlusJSONResponse struct {
}
func (AnswerReminder401ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse ¶
func (response AnswerReminder401ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse(w http.ResponseWriter) error
type AnswerReminder403ApplicationProblemPlusJSONResponse ¶
type AnswerReminder403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (AnswerReminder403ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse ¶
func (response AnswerReminder403ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse(w http.ResponseWriter) error
type AnswerReminder404ApplicationProblemPlusJSONResponse ¶
type AnswerReminder404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (AnswerReminder404ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse ¶
func (response AnswerReminder404ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse(w http.ResponseWriter) error
type AnswerReminder409ApplicationProblemPlusJSONResponse ¶
type AnswerReminder409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (AnswerReminder409ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse ¶
func (response AnswerReminder409ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse(w http.ResponseWriter) error
type AnswerReminder429ApplicationProblemPlusJSONResponse ¶
type AnswerReminder429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (AnswerReminder429ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse ¶
func (response AnswerReminder429ApplicationProblemPlusJSONResponse) VisitAnswerReminderResponse(w http.ResponseWriter) error
type AnswerReminderRequestObject ¶
type AnswerReminderRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
}
type AnswerReminderResponseObject ¶
type AnswerReminderResponseObject interface {
VisitAnswerReminderResponse(w http.ResponseWriter) error
}
type AuditActor ¶
type AuditActor struct {
// Id A `public_id` in the format of `PublicId`, or null.
Id nullable.Nullable[NullablePublicId] `json:"id,omitempty"`
Kind AuditActorKind `json:"kind"`
// Name Current name; `deleted-user-<id>` for deleted users.
Name string `json:"name"`
}
AuditActor defines model for AuditActor.
type AuditActorKind ¶
type AuditActorKind string
AuditActorKind defines model for AuditActor.Kind.
const ( AuditActorKindBootstrap AuditActorKind = "bootstrap" AuditActorKindCli AuditActorKind = "cli" AuditActorKindServiceAccount AuditActorKind = "service_account" AuditActorKindSystem AuditActorKind = "system" AuditActorKindUser AuditActorKind = "user" )
Defines values for AuditActorKind.
func (AuditActorKind) Valid ¶
func (e AuditActorKind) Valid() bool
Valid indicates whether the value is a known member of the AuditActorKind enum.
type AuditDiffEntry ¶
type AuditDiffEntry struct {
// After New value; any JSON type.
After interface{} `json:"after,omitempty"`
// Before Previous value; any JSON type.
Before interface{} `json:"before,omitempty"`
Pointer string `json:"pointer"`
SecretChanged *bool `json:"secret_changed,omitempty"`
}
AuditDiffEntry One changed field. For Secrets only `secret_changed` is true and no values are present.
type AuditEntry ¶
type AuditEntry struct {
// Action Stable action type such as `integration.update`, `alert_group.acknowledge`, `alert_group.takeover`, `auth.sign_in`, `auth.sign_in_refused`, `token.issue`, `account_link.link_rejected`.
Action string `json:"action"`
Actor AuditActor `json:"actor"`
At time.Time `json:"at"`
// Details Action-specific context, for example the groups a refused OIDC sign-in carried. Never contains Secrets.
Details *map[string]interface{} `json:"details,omitempty"`
Diff *[]AuditDiffEntry `json:"diff,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
ResourceId nullable.Nullable[string] `json:"resource_id,omitempty"`
ResourceName nullable.Nullable[string] `json:"resource_name,omitempty"`
ResourceType nullable.Nullable[string] `json:"resource_type,omitempty"`
// TokenId A `public_id` in the format of `PublicId`, or null.
TokenId nullable.Nullable[NullablePublicId] `json:"token_id,omitempty"`
TokenName nullable.Nullable[string] `json:"token_name,omitempty"`
// Transport How a Command or change reached Muster. `cli` marks audited CLI commands (`--actor`); `system` marks transitions Muster starts on its own.
Transport Transport `json:"transport"`
}
AuditEntry defines model for AuditEntry.
type AuditEntryList ¶
type AuditEntryList struct {
Items []AuditEntry `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
AuditEntryList defines model for AuditEntryList.
type BadRequest ¶
type BadRequest = Problem
BadRequest RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type BadRequestApplicationProblemPlusJSONResponse ¶
type BadRequestApplicationProblemPlusJSONResponse Problem
type BeginTotpEnrolment201JSONResponse ¶
type BeginTotpEnrolment201JSONResponse TotpEnrolment
func (BeginTotpEnrolment201JSONResponse) VisitBeginTotpEnrolmentResponse ¶
func (response BeginTotpEnrolment201JSONResponse) VisitBeginTotpEnrolmentResponse(w http.ResponseWriter) error
type BeginTotpEnrolment401ApplicationProblemPlusJSONResponse ¶
type BeginTotpEnrolment401ApplicationProblemPlusJSONResponse struct {
}
func (BeginTotpEnrolment401ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse ¶
func (response BeginTotpEnrolment401ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse(w http.ResponseWriter) error
type BeginTotpEnrolment403ApplicationProblemPlusJSONResponse ¶
type BeginTotpEnrolment403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (BeginTotpEnrolment403ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse ¶
func (response BeginTotpEnrolment403ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse(w http.ResponseWriter) error
type BeginTotpEnrolment409ApplicationProblemPlusJSONResponse ¶
type BeginTotpEnrolment409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (BeginTotpEnrolment409ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse ¶
func (response BeginTotpEnrolment409ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse(w http.ResponseWriter) error
type BeginTotpEnrolment429ApplicationProblemPlusJSONResponse ¶
type BeginTotpEnrolment429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (BeginTotpEnrolment429ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse ¶
func (response BeginTotpEnrolment429ApplicationProblemPlusJSONResponse) VisitBeginTotpEnrolmentResponse(w http.ResponseWriter) error
type BeginTotpEnrolmentRequestObject ¶
type BeginTotpEnrolmentRequestObject struct {
}
type BeginTotpEnrolmentResponseObject ¶
type BeginTotpEnrolmentResponseObject interface {
VisitBeginTotpEnrolmentResponse(w http.ResponseWriter) error
}
type BrokenDestination ¶
type BrokenDestination struct {
Destination EntityRef `json:"destination"`
Reason string `json:"reason"`
Since time.Time `json:"since"`
}
BrokenDestination defines model for BrokenDestination.
type BulkCommandItem ¶
type BulkCommandItem struct {
// AlertGroupId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
AlertGroupId PublicId `json:"alert_group_id"`
// Code Stable code of a result other than `done` and `unchanged`: with `refused`, a `command-refused` code such as `already_resolved` or `owner_must_be_user` (Acknowledge by a Service account); with `skipped`, `owned_by_other` for an Acknowledge skipped because another user owns the Alert Group; with `failed`, `not_found` for an id that names no Alert Group the caller may see.
Code nullable.Nullable[string] `json:"code,omitempty"`
// Message For example "skipped: owned by Alice".
Message nullable.Nullable[string] `json:"message,omitempty"`
Number nullable.Nullable[int] `json:"number,omitempty"`
Outcome BulkOutcome `json:"outcome"`
}
BulkCommandItem defines model for BulkCommandItem.
type BulkCommandRequest ¶
type BulkCommandRequest struct {
// AlertGroupIds At most `alert_group.bulk_max`.
AlertGroupIds []PublicId `json:"alert_group_ids"`
Command BulkCommandRequestCommand `json:"command"`
// Note For `resolve`; optional.
Note *string `json:"note,omitempty"`
// Snooze Required for `snooze`.
Snooze *SnoozeRequest `json:"snooze,omitempty"`
}
BulkCommandRequest A Command on up to `alert_group.bulk_max` Alert Groups. Arguments belong to their command: `snooze` for `snooze`, `note` for `resolve`; others are ignored.
type BulkCommandRequestCommand ¶
type BulkCommandRequestCommand string
BulkCommandRequestCommand defines model for BulkCommandRequest.Command.
const ( BulkCommandRequestCommandAcknowledge BulkCommandRequestCommand = "acknowledge" BulkCommandRequestCommandResolve BulkCommandRequestCommand = "resolve" BulkCommandRequestCommandSnooze BulkCommandRequestCommand = "snooze" BulkCommandRequestCommandUnsnooze BulkCommandRequestCommand = "unsnooze" )
Defines values for BulkCommandRequestCommand.
func (BulkCommandRequestCommand) Valid ¶
func (e BulkCommandRequestCommand) Valid() bool
Valid indicates whether the value is a known member of the BulkCommandRequestCommand enum.
type BulkCommandResult ¶
type BulkCommandResult struct {
Results []BulkCommandItem `json:"results"`
}
BulkCommandResult One outcome per Alert Group; a refusal never stops the others.
type BulkOutcome ¶
type BulkOutcome string
BulkOutcome defines model for BulkOutcome.
const ( BulkOutcomeDone BulkOutcome = "done" BulkOutcomeFailed BulkOutcome = "failed" BulkOutcomeRefused BulkOutcome = "refused" BulkOutcomeSkipped BulkOutcome = "skipped" BulkOutcomeUnchanged BulkOutcome = "unchanged" )
Defines values for BulkOutcome.
func (BulkOutcome) Valid ¶
func (e BulkOutcome) Valid() bool
Valid indicates whether the value is a known member of the BulkOutcome enum.
type ChangePassword204Response ¶
type ChangePassword204Response struct {
}
func (ChangePassword204Response) VisitChangePasswordResponse ¶
func (response ChangePassword204Response) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword400ApplicationProblemPlusJSONResponse ¶
type ChangePassword400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ChangePassword400ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword400ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword401ApplicationProblemPlusJSONResponse ¶
type ChangePassword401ApplicationProblemPlusJSONResponse struct {
}
func (ChangePassword401ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword401ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword403ApplicationProblemPlusJSONResponse ¶
type ChangePassword403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ChangePassword403ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword403ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword409ApplicationProblemPlusJSONResponse ¶
type ChangePassword409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ChangePassword409ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword409ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword422ApplicationProblemPlusJSONResponse ¶
type ChangePassword422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (ChangePassword422ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword422ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword429ApplicationProblemPlusJSONResponse ¶
type ChangePassword429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ChangePassword429ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword429ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePasswordJSONRequestBody ¶
type ChangePasswordJSONRequestBody = PasswordChange
ChangePasswordJSONRequestBody defines body for ChangePassword for application/json ContentType.
type ChangePasswordRequestObject ¶
type ChangePasswordRequestObject struct {
Body *ChangePasswordJSONRequestBody
}
type ChangePasswordResponseObject ¶
type ChangePasswordResponseObject interface {
VisitChangePasswordResponse(w http.ResponseWriter) error
}
type CheckConnection200JSONResponse ¶
type CheckConnection200JSONResponse ConnectionCheckResult
func (CheckConnection200JSONResponse) VisitCheckConnectionResponse ¶
func (response CheckConnection200JSONResponse) VisitCheckConnectionResponse(w http.ResponseWriter) error
type CheckConnection400ApplicationProblemPlusJSONResponse ¶
type CheckConnection400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CheckConnection400ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse ¶
func (response CheckConnection400ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse(w http.ResponseWriter) error
type CheckConnection401ApplicationProblemPlusJSONResponse ¶
type CheckConnection401ApplicationProblemPlusJSONResponse struct {
}
func (CheckConnection401ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse ¶
func (response CheckConnection401ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse(w http.ResponseWriter) error
type CheckConnection403ApplicationProblemPlusJSONResponse ¶
type CheckConnection403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CheckConnection403ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse ¶
func (response CheckConnection403ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse(w http.ResponseWriter) error
type CheckConnection404ApplicationProblemPlusJSONResponse ¶
type CheckConnection404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CheckConnection404ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse ¶
func (response CheckConnection404ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse(w http.ResponseWriter) error
type CheckConnection429ApplicationProblemPlusJSONResponse ¶
type CheckConnection429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CheckConnection429ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse ¶
func (response CheckConnection429ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse(w http.ResponseWriter) error
type CheckConnection503ApplicationProblemPlusJSONResponse ¶
type CheckConnection503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (CheckConnection503ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse ¶
func (response CheckConnection503ApplicationProblemPlusJSONResponse) VisitCheckConnectionResponse(w http.ResponseWriter) error
type CheckConnectionJSONRequestBody ¶
type CheckConnectionJSONRequestBody = ConnectionCheckRequest
CheckConnectionJSONRequestBody defines body for CheckConnection for application/json ContentType.
type CheckConnectionRequestObject ¶
type CheckConnectionRequestObject struct {
ConnectionId ConnectionId `json:"connection_id"`
Body *CheckConnectionJSONRequestBody
}
type CheckConnectionResponseObject ¶
type CheckConnectionResponseObject interface {
VisitCheckConnectionResponse(w http.ResponseWriter) error
}
type CheckDestination200JSONResponse ¶
type CheckDestination200JSONResponse DestinationCheckResult
func (CheckDestination200JSONResponse) VisitCheckDestinationResponse ¶
func (response CheckDestination200JSONResponse) VisitCheckDestinationResponse(w http.ResponseWriter) error
type CheckDestination401ApplicationProblemPlusJSONResponse ¶
type CheckDestination401ApplicationProblemPlusJSONResponse struct {
}
func (CheckDestination401ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse ¶
func (response CheckDestination401ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse(w http.ResponseWriter) error
type CheckDestination403ApplicationProblemPlusJSONResponse ¶
type CheckDestination403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CheckDestination403ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse ¶
func (response CheckDestination403ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse(w http.ResponseWriter) error
type CheckDestination404ApplicationProblemPlusJSONResponse ¶
type CheckDestination404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CheckDestination404ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse ¶
func (response CheckDestination404ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse(w http.ResponseWriter) error
type CheckDestination422ApplicationProblemPlusJSONResponse ¶
type CheckDestination422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CheckDestination422ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse ¶
func (response CheckDestination422ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse(w http.ResponseWriter) error
type CheckDestination429ApplicationProblemPlusJSONResponse ¶
type CheckDestination429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CheckDestination429ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse ¶
func (response CheckDestination429ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse(w http.ResponseWriter) error
type CheckDestination503ApplicationProblemPlusJSONResponse ¶
type CheckDestination503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (CheckDestination503ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse ¶
func (response CheckDestination503ApplicationProblemPlusJSONResponse) VisitCheckDestinationResponse(w http.ResponseWriter) error
type CheckDestinationRequestObject ¶
type CheckDestinationRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
}
type CheckDestinationResponseObject ¶
type CheckDestinationResponseObject interface {
VisitCheckDestinationResponse(w http.ResponseWriter) error
}
type CheckOidcSettings200JSONResponse ¶
type CheckOidcSettings200JSONResponse OidcCheckResult
func (CheckOidcSettings200JSONResponse) VisitCheckOidcSettingsResponse ¶
func (response CheckOidcSettings200JSONResponse) VisitCheckOidcSettingsResponse(w http.ResponseWriter) error
type CheckOidcSettings401ApplicationProblemPlusJSONResponse ¶
type CheckOidcSettings401ApplicationProblemPlusJSONResponse struct {
}
func (CheckOidcSettings401ApplicationProblemPlusJSONResponse) VisitCheckOidcSettingsResponse ¶
func (response CheckOidcSettings401ApplicationProblemPlusJSONResponse) VisitCheckOidcSettingsResponse(w http.ResponseWriter) error
type CheckOidcSettings403ApplicationProblemPlusJSONResponse ¶
type CheckOidcSettings403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CheckOidcSettings403ApplicationProblemPlusJSONResponse) VisitCheckOidcSettingsResponse ¶
func (response CheckOidcSettings403ApplicationProblemPlusJSONResponse) VisitCheckOidcSettingsResponse(w http.ResponseWriter) error
type CheckOidcSettings429ApplicationProblemPlusJSONResponse ¶
type CheckOidcSettings429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CheckOidcSettings429ApplicationProblemPlusJSONResponse) VisitCheckOidcSettingsResponse ¶
func (response CheckOidcSettings429ApplicationProblemPlusJSONResponse) VisitCheckOidcSettingsResponse(w http.ResponseWriter) error
type CheckOidcSettingsRequestObject ¶
type CheckOidcSettingsRequestObject struct {
}
type CheckOidcSettingsResponseObject ¶
type CheckOidcSettingsResponseObject interface {
VisitCheckOidcSettingsResponse(w http.ResponseWriter) error
}
type CommandName ¶
type CommandName string
CommandName The Commands a caller may run on an Alert Group now (`allowed_commands`). `still_on_it` appears while a Reminder is pending and the caller is the Owner; `add_note` while the caller holds `alert-groups:note`. A Service account is never offered `acknowledge` or `still_on_it`.
const ( CommandNameAcknowledge CommandName = "acknowledge" CommandNameAddNote CommandName = "add_note" CommandNameResolve CommandName = "resolve" CommandNameSnooze CommandName = "snooze" CommandNameStillOnIt CommandName = "still_on_it" CommandNameUnacknowledge CommandName = "unacknowledge" CommandNameUnresolve CommandName = "unresolve" CommandNameUnsnooze CommandName = "unsnooze" )
Defines values for CommandName.
func (CommandName) Valid ¶
func (e CommandName) Valid() bool
Valid indicates whether the value is a known member of the CommandName enum.
type CommandOutcome ¶
type CommandOutcome string
CommandOutcome `unchanged` for an idempotent repeat, such as Acknowledge by the current Owner.
const ( CommandOutcomeDone CommandOutcome = "done" CommandOutcomeUnchanged CommandOutcome = "unchanged" )
Defines values for CommandOutcome.
func (CommandOutcome) Valid ¶
func (e CommandOutcome) Valid() bool
Valid indicates whether the value is a known member of the CommandOutcome enum.
type CommandResult ¶
type CommandResult struct {
AlertGroup AlertGroup `json:"alert_group"`
// Outcome `unchanged` for an idempotent repeat, such as Acknowledge by the current Owner.
Outcome CommandOutcome `json:"outcome"`
}
CommandResult defines model for CommandResult.
type CompleteOidcLink302Response ¶
type CompleteOidcLink302Response struct {
Headers CompleteOidcLink302ResponseHeaders
}
func (CompleteOidcLink302Response) VisitCompleteOidcLinkResponse ¶
func (response CompleteOidcLink302Response) VisitCompleteOidcLinkResponse(w http.ResponseWriter) error
type CompleteOidcLink302ResponseHeaders ¶
type CompleteOidcLink302ResponseHeaders struct {
Location *string
}
type CompleteOidcLink429ApplicationProblemPlusJSONResponse ¶
type CompleteOidcLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CompleteOidcLink429ApplicationProblemPlusJSONResponse) VisitCompleteOidcLinkResponse ¶
func (response CompleteOidcLink429ApplicationProblemPlusJSONResponse) VisitCompleteOidcLinkResponse(w http.ResponseWriter) error
type CompleteOidcLinkParams ¶
type CompleteOidcLinkParams struct {
// Code Authorization code.
Code *string `form:"code,omitempty" json:"code,omitempty"`
// State State issued by `startOidcLink`.
State *string `form:"state,omitempty" json:"state,omitempty"`
// Error Error reported by the identity provider.
Error *string `form:"error,omitempty" json:"error,omitempty"`
}
CompleteOidcLinkParams defines parameters for CompleteOidcLink.
type CompleteOidcLinkRequestObject ¶
type CompleteOidcLinkRequestObject struct {
Params CompleteOidcLinkParams
}
type CompleteOidcLinkResponseObject ¶
type CompleteOidcLinkResponseObject interface {
VisitCompleteOidcLinkResponse(w http.ResponseWriter) error
}
type CompleteOidcSignIn302Response ¶
type CompleteOidcSignIn302Response struct {
Headers CompleteOidcSignIn302ResponseHeaders
}
func (CompleteOidcSignIn302Response) VisitCompleteOidcSignInResponse ¶
func (response CompleteOidcSignIn302Response) VisitCompleteOidcSignInResponse(w http.ResponseWriter) error
type CompleteOidcSignIn302ResponseHeaders ¶
type CompleteOidcSignIn302ResponseHeaders struct {
Location *string
}
type CompleteOidcSignIn429ApplicationProblemPlusJSONResponse ¶
type CompleteOidcSignIn429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CompleteOidcSignIn429ApplicationProblemPlusJSONResponse) VisitCompleteOidcSignInResponse ¶
func (response CompleteOidcSignIn429ApplicationProblemPlusJSONResponse) VisitCompleteOidcSignInResponse(w http.ResponseWriter) error
type CompleteOidcSignInParams ¶
type CompleteOidcSignInParams struct {
// Code Authorization code.
Code *string `form:"code,omitempty" json:"code,omitempty"`
// State State issued by `startOidcSignIn`.
State *string `form:"state,omitempty" json:"state,omitempty"`
// Error Error reported by the identity provider.
Error *string `form:"error,omitempty" json:"error,omitempty"`
}
CompleteOidcSignInParams defines parameters for CompleteOidcSignIn.
type CompleteOidcSignInRequestObject ¶
type CompleteOidcSignInRequestObject struct {
Params CompleteOidcSignInParams
}
type CompleteOidcSignInResponseObject ¶
type CompleteOidcSignInResponseObject interface {
VisitCompleteOidcSignInResponse(w http.ResponseWriter) error
}
type CompletePasswordSetup204Response ¶
type CompletePasswordSetup204Response struct {
}
func (CompletePasswordSetup204Response) VisitCompletePasswordSetupResponse ¶
func (response CompletePasswordSetup204Response) VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
type CompletePasswordSetup400ApplicationProblemPlusJSONResponse ¶
type CompletePasswordSetup400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CompletePasswordSetup400ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse ¶
func (response CompletePasswordSetup400ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
type CompletePasswordSetup403ApplicationProblemPlusJSONResponse ¶
type CompletePasswordSetup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CompletePasswordSetup403ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse ¶
func (response CompletePasswordSetup403ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
type CompletePasswordSetup404ApplicationProblemPlusJSONResponse ¶
type CompletePasswordSetup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CompletePasswordSetup404ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse ¶
func (response CompletePasswordSetup404ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
type CompletePasswordSetup410ApplicationProblemPlusJSONResponse ¶
type CompletePasswordSetup410ApplicationProblemPlusJSONResponse struct {
GoneApplicationProblemPlusJSONResponse
}
func (CompletePasswordSetup410ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse ¶
func (response CompletePasswordSetup410ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
type CompletePasswordSetup422ApplicationProblemPlusJSONResponse ¶
type CompletePasswordSetup422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CompletePasswordSetup422ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse ¶
func (response CompletePasswordSetup422ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
type CompletePasswordSetup429ApplicationProblemPlusJSONResponse ¶
type CompletePasswordSetup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CompletePasswordSetup429ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse ¶
func (response CompletePasswordSetup429ApplicationProblemPlusJSONResponse) VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
type CompletePasswordSetupJSONRequestBody ¶
type CompletePasswordSetupJSONRequestBody = PasswordSetup
CompletePasswordSetupJSONRequestBody defines body for CompletePasswordSetup for application/json ContentType.
type CompletePasswordSetupRequestObject ¶
type CompletePasswordSetupRequestObject struct {
Body *CompletePasswordSetupJSONRequestBody
}
type CompletePasswordSetupResponseObject ¶
type CompletePasswordSetupResponseObject interface {
VisitCompletePasswordSetupResponse(w http.ResponseWriter) error
}
type ConfirmMattermostLink201JSONResponse ¶
type ConfirmMattermostLink201JSONResponse AccountLink
func (ConfirmMattermostLink201JSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink201JSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink400ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ConfirmMattermostLink400ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink400ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink401ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink401ApplicationProblemPlusJSONResponse struct {
}
func (ConfirmMattermostLink401ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink401ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink403ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ConfirmMattermostLink403ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink403ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink404ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ConfirmMattermostLink404ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink404ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink409ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ConfirmMattermostLink409ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink409ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink422ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (ConfirmMattermostLink422ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink422ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink429ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ConfirmMattermostLink429ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink429ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLink503ApplicationProblemPlusJSONResponse ¶
type ConfirmMattermostLink503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (ConfirmMattermostLink503ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse ¶
func (response ConfirmMattermostLink503ApplicationProblemPlusJSONResponse) VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
type ConfirmMattermostLinkJSONRequestBody ¶
type ConfirmMattermostLinkJSONRequestBody = MattermostLinkConfirm
ConfirmMattermostLinkJSONRequestBody defines body for ConfirmMattermostLink for application/json ContentType.
type ConfirmMattermostLinkRequestObject ¶
type ConfirmMattermostLinkRequestObject struct {
Body *ConfirmMattermostLinkJSONRequestBody
}
type ConfirmMattermostLinkResponseObject ¶
type ConfirmMattermostLinkResponseObject interface {
VisitConfirmMattermostLinkResponse(w http.ResponseWriter) error
}
type ConfirmTotpEnrolment200JSONResponse ¶
type ConfirmTotpEnrolment200JSONResponse TotpRecoveryCodes
func (ConfirmTotpEnrolment200JSONResponse) VisitConfirmTotpEnrolmentResponse ¶
func (response ConfirmTotpEnrolment200JSONResponse) VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
type ConfirmTotpEnrolment400ApplicationProblemPlusJSONResponse ¶
type ConfirmTotpEnrolment400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ConfirmTotpEnrolment400ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse ¶
func (response ConfirmTotpEnrolment400ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
type ConfirmTotpEnrolment401ApplicationProblemPlusJSONResponse ¶
type ConfirmTotpEnrolment401ApplicationProblemPlusJSONResponse struct {
}
func (ConfirmTotpEnrolment401ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse ¶
func (response ConfirmTotpEnrolment401ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
type ConfirmTotpEnrolment403ApplicationProblemPlusJSONResponse ¶
type ConfirmTotpEnrolment403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ConfirmTotpEnrolment403ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse ¶
func (response ConfirmTotpEnrolment403ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
type ConfirmTotpEnrolment409ApplicationProblemPlusJSONResponse ¶
type ConfirmTotpEnrolment409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ConfirmTotpEnrolment409ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse ¶
func (response ConfirmTotpEnrolment409ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
type ConfirmTotpEnrolment422ApplicationProblemPlusJSONResponse ¶
type ConfirmTotpEnrolment422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (ConfirmTotpEnrolment422ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse ¶
func (response ConfirmTotpEnrolment422ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
type ConfirmTotpEnrolment429ApplicationProblemPlusJSONResponse ¶
type ConfirmTotpEnrolment429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ConfirmTotpEnrolment429ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse ¶
func (response ConfirmTotpEnrolment429ApplicationProblemPlusJSONResponse) VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
type ConfirmTotpEnrolmentJSONRequestBody ¶
type ConfirmTotpEnrolmentJSONRequestBody = TotpCode
ConfirmTotpEnrolmentJSONRequestBody defines body for ConfirmTotpEnrolment for application/json ContentType.
type ConfirmTotpEnrolmentRequestObject ¶
type ConfirmTotpEnrolmentRequestObject struct {
Body *ConfirmTotpEnrolmentJSONRequestBody
}
type ConfirmTotpEnrolmentResponseObject ¶
type ConfirmTotpEnrolmentResponseObject interface {
VisitConfirmTotpEnrolmentResponse(w http.ResponseWriter) error
}
type Conflict ¶
type Conflict = Problem
Conflict RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type ConflictApplicationProblemPlusJSONResponse ¶
type ConflictApplicationProblemPlusJSONResponse Problem
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection A Connection; `type` selects the variant.
func (Connection) AsMattermostConnection ¶
func (t Connection) AsMattermostConnection() (MattermostConnection, error)
AsMattermostConnection returns the union data inside the Connection as a MattermostConnection
func (Connection) AsTelegramConnection ¶
func (t Connection) AsTelegramConnection() (TelegramConnection, error)
AsTelegramConnection returns the union data inside the Connection as a TelegramConnection
func (Connection) Discriminator ¶
func (t Connection) Discriminator() (string, error)
func (*Connection) FromMattermostConnection ¶
func (t *Connection) FromMattermostConnection(v MattermostConnection) error
FromMattermostConnection overwrites any union data inside the Connection as the provided MattermostConnection
func (*Connection) FromTelegramConnection ¶
func (t *Connection) FromTelegramConnection(v TelegramConnection) error
FromTelegramConnection overwrites any union data inside the Connection as the provided TelegramConnection
func (Connection) MarshalJSON ¶
func (t Connection) MarshalJSON() ([]byte, error)
func (*Connection) MergeMattermostConnection ¶
func (t *Connection) MergeMattermostConnection(v MattermostConnection) error
MergeMattermostConnection performs a merge with any union data inside the Connection, using the provided MattermostConnection
func (*Connection) MergeTelegramConnection ¶
func (t *Connection) MergeTelegramConnection(v TelegramConnection) error
MergeTelegramConnection performs a merge with any union data inside the Connection, using the provided TelegramConnection
func (*Connection) UnmarshalJSON ¶
func (t *Connection) UnmarshalJSON(b []byte) error
func (Connection) ValueByDiscriminator ¶
func (t Connection) ValueByDiscriminator() (interface{}, error)
type ConnectionCheckRequest ¶
type ConnectionCheckRequest struct {
// BaseUrl An unsaved Telegram Bot API base URL. When set, only the dry probe runs, and the token is never sent to that address.
BaseUrl nullable.Nullable[string] `json:"base_url,omitempty"`
}
ConnectionCheckRequest defines model for ConnectionCheckRequest.
type ConnectionCheckResult ¶
type ConnectionCheckResult struct {
// BotName The bot's name or username.
BotName nullable.Nullable[string] `json:"bot_name,omitempty"`
Ok bool `json:"ok"`
PendingUpdates nullable.Nullable[int] `json:"pending_updates,omitempty"`
Steps []ConnectionCheckStep `json:"steps"`
// Warnings Hints that do not fail the check. `press_answers_in_thread` (Mattermost): the bot's roles do not grant `create_post_ephemeral`, so the bot may not make ephemeral messages and the answers to button presses show in the Thread of the Root message instead of the channel view; granting that permission, for example with the system admin role, shows them in the channel.
Warnings []ConnectionCheckResultWarnings `json:"warnings"`
// WebhookSet Telegram only. A set webhook makes long polling fail with 409.
WebhookSet nullable.Nullable[bool] `json:"webhook_set,omitempty"`
}
ConnectionCheckResult defines model for ConnectionCheckResult.
type ConnectionCheckResultWarnings ¶
type ConnectionCheckResultWarnings string
ConnectionCheckResultWarnings defines model for ConnectionCheckResult.Warnings.
const (
PressAnswersInThread ConnectionCheckResultWarnings = "press_answers_in_thread"
)
Defines values for ConnectionCheckResultWarnings.
func (ConnectionCheckResultWarnings) Valid ¶
func (e ConnectionCheckResultWarnings) Valid() bool
Valid indicates whether the value is a known member of the ConnectionCheckResultWarnings enum.
type ConnectionCheckStep ¶
type ConnectionCheckStep struct {
LatencyMs nullable.Nullable[int] `json:"latency_ms,omitempty"`
// Message What answered when the step failed; untrusted text where it comes from the remote side. Secrets, the Signing secret and tokens are masked.
Message nullable.Nullable[string] `json:"message,omitempty"`
Name ConnectionCheckStepName `json:"name"`
Ok bool `json:"ok"`
Skipped *bool `json:"skipped,omitempty"`
// Via How the request travelled.
Via *ConnectionPath `json:"via,omitempty"`
}
ConnectionCheckStep defines model for ConnectionCheckStep.
type ConnectionCheckStepName ¶
type ConnectionCheckStepName string
ConnectionCheckStepName defines model for ConnectionCheckStep.Name.
const ( ConnectionCheckStepNameDryProbe ConnectionCheckStepName = "dry_probe" ConnectionCheckStepNameGetMe ConnectionCheckStepName = "get_me" ConnectionCheckStepNameGetWebhookInfo ConnectionCheckStepName = "get_webhook_info" ConnectionCheckStepNameToken ConnectionCheckStepName = "token" )
Defines values for ConnectionCheckStepName.
func (ConnectionCheckStepName) Valid ¶
func (e ConnectionCheckStepName) Valid() bool
Valid indicates whether the value is a known member of the ConnectionCheckStepName enum.
type ConnectionId ¶
type ConnectionId = PublicId
ConnectionId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type ConnectionInput ¶
type ConnectionInput struct {
// contains filtered or unexported fields
}
ConnectionInput A Connection as written; `type` selects the variant and cannot change on update.
func (ConnectionInput) AsMattermostConnectionInput ¶
func (t ConnectionInput) AsMattermostConnectionInput() (MattermostConnectionInput, error)
AsMattermostConnectionInput returns the union data inside the ConnectionInput as a MattermostConnectionInput
func (ConnectionInput) AsTelegramConnectionInput ¶
func (t ConnectionInput) AsTelegramConnectionInput() (TelegramConnectionInput, error)
AsTelegramConnectionInput returns the union data inside the ConnectionInput as a TelegramConnectionInput
func (ConnectionInput) Discriminator ¶
func (t ConnectionInput) Discriminator() (string, error)
func (*ConnectionInput) FromMattermostConnectionInput ¶
func (t *ConnectionInput) FromMattermostConnectionInput(v MattermostConnectionInput) error
FromMattermostConnectionInput overwrites any union data inside the ConnectionInput as the provided MattermostConnectionInput
func (*ConnectionInput) FromTelegramConnectionInput ¶
func (t *ConnectionInput) FromTelegramConnectionInput(v TelegramConnectionInput) error
FromTelegramConnectionInput overwrites any union data inside the ConnectionInput as the provided TelegramConnectionInput
func (ConnectionInput) MarshalJSON ¶
func (t ConnectionInput) MarshalJSON() ([]byte, error)
func (*ConnectionInput) MergeMattermostConnectionInput ¶
func (t *ConnectionInput) MergeMattermostConnectionInput(v MattermostConnectionInput) error
MergeMattermostConnectionInput performs a merge with any union data inside the ConnectionInput, using the provided MattermostConnectionInput
func (*ConnectionInput) MergeTelegramConnectionInput ¶
func (t *ConnectionInput) MergeTelegramConnectionInput(v TelegramConnectionInput) error
MergeTelegramConnectionInput performs a merge with any union data inside the ConnectionInput, using the provided TelegramConnectionInput
func (*ConnectionInput) UnmarshalJSON ¶
func (t *ConnectionInput) UnmarshalJSON(b []byte) error
func (ConnectionInput) ValueByDiscriminator ¶
func (t ConnectionInput) ValueByDiscriminator() (interface{}, error)
type ConnectionList ¶
type ConnectionList struct {
Items []Connection `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
ConnectionList defines model for ConnectionList.
type ConnectionPath ¶
type ConnectionPath string
ConnectionPath How the request travelled.
const ( ConnectionPathDirect ConnectionPath = "direct" ConnectionPathProxy ConnectionPath = "proxy" )
Defines values for ConnectionPath.
func (ConnectionPath) Valid ¶
func (e ConnectionPath) Valid() bool
Valid indicates whether the value is a known member of the ConnectionPath enum.
type ConnectionType ¶
type ConnectionType string
ConnectionType defines model for ConnectionType.
const ( ConnectionTypeMattermost ConnectionType = "mattermost" ConnectionTypeTelegram ConnectionType = "telegram" )
Defines values for ConnectionType.
func (ConnectionType) Valid ¶
func (e ConnectionType) Valid() bool
Valid indicates whether the value is a known member of the ConnectionType enum.
type ConvertUserToLocal200JSONResponse ¶
type ConvertUserToLocal200JSONResponse UserCreated
func (ConvertUserToLocal200JSONResponse) VisitConvertUserToLocalResponse ¶
func (response ConvertUserToLocal200JSONResponse) VisitConvertUserToLocalResponse(w http.ResponseWriter) error
type ConvertUserToLocal401ApplicationProblemPlusJSONResponse ¶
type ConvertUserToLocal401ApplicationProblemPlusJSONResponse struct {
}
func (ConvertUserToLocal401ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse ¶
func (response ConvertUserToLocal401ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse(w http.ResponseWriter) error
type ConvertUserToLocal403ApplicationProblemPlusJSONResponse ¶
type ConvertUserToLocal403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ConvertUserToLocal403ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse ¶
func (response ConvertUserToLocal403ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse(w http.ResponseWriter) error
type ConvertUserToLocal404ApplicationProblemPlusJSONResponse ¶
type ConvertUserToLocal404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ConvertUserToLocal404ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse ¶
func (response ConvertUserToLocal404ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse(w http.ResponseWriter) error
type ConvertUserToLocal409ApplicationProblemPlusJSONResponse ¶
type ConvertUserToLocal409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ConvertUserToLocal409ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse ¶
func (response ConvertUserToLocal409ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse(w http.ResponseWriter) error
type ConvertUserToLocal429ApplicationProblemPlusJSONResponse ¶
type ConvertUserToLocal429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ConvertUserToLocal429ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse ¶
func (response ConvertUserToLocal429ApplicationProblemPlusJSONResponse) VisitConvertUserToLocalResponse(w http.ResponseWriter) error
type ConvertUserToLocalRequestObject ¶
type ConvertUserToLocalRequestObject struct {
UserId UserId `json:"user_id"`
}
type ConvertUserToLocalResponseObject ¶
type ConvertUserToLocalResponseObject interface {
VisitConvertUserToLocalResponse(w http.ResponseWriter) error
}
type CreateAlertGroupNote201JSONResponse ¶
type CreateAlertGroupNote201JSONResponse Note
func (CreateAlertGroupNote201JSONResponse) VisitCreateAlertGroupNoteResponse ¶
func (response CreateAlertGroupNote201JSONResponse) VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
type CreateAlertGroupNote400ApplicationProblemPlusJSONResponse ¶
type CreateAlertGroupNote400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateAlertGroupNote400ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse ¶
func (response CreateAlertGroupNote400ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
type CreateAlertGroupNote401ApplicationProblemPlusJSONResponse ¶
type CreateAlertGroupNote401ApplicationProblemPlusJSONResponse struct {
}
func (CreateAlertGroupNote401ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse ¶
func (response CreateAlertGroupNote401ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
type CreateAlertGroupNote403ApplicationProblemPlusJSONResponse ¶
type CreateAlertGroupNote403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateAlertGroupNote403ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse ¶
func (response CreateAlertGroupNote403ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
type CreateAlertGroupNote404ApplicationProblemPlusJSONResponse ¶
type CreateAlertGroupNote404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CreateAlertGroupNote404ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse ¶
func (response CreateAlertGroupNote404ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
type CreateAlertGroupNote422ApplicationProblemPlusJSONResponse ¶
type CreateAlertGroupNote422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateAlertGroupNote422ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse ¶
func (response CreateAlertGroupNote422ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
type CreateAlertGroupNote429ApplicationProblemPlusJSONResponse ¶
type CreateAlertGroupNote429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateAlertGroupNote429ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse ¶
func (response CreateAlertGroupNote429ApplicationProblemPlusJSONResponse) VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
type CreateAlertGroupNoteJSONRequestBody ¶
type CreateAlertGroupNoteJSONRequestBody = NoteInput
CreateAlertGroupNoteJSONRequestBody defines body for CreateAlertGroupNote for application/json ContentType.
type CreateAlertGroupNoteRequestObject ¶
type CreateAlertGroupNoteRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
Body *CreateAlertGroupNoteJSONRequestBody
}
type CreateAlertGroupNoteResponseObject ¶
type CreateAlertGroupNoteResponseObject interface {
VisitCreateAlertGroupNoteResponse(w http.ResponseWriter) error
}
type CreateConnection201JSONResponse ¶
type CreateConnection201JSONResponse struct {
Body Connection
Headers CreateConnection201ResponseHeaders
}
func (CreateConnection201JSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection201JSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection400ApplicationProblemPlusJSONResponse ¶
type CreateConnection400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateConnection400ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection400ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection401ApplicationProblemPlusJSONResponse ¶
type CreateConnection401ApplicationProblemPlusJSONResponse struct {
}
func (CreateConnection401ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection401ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection403ApplicationProblemPlusJSONResponse ¶
type CreateConnection403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateConnection403ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection403ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection409ApplicationProblemPlusJSONResponse ¶
type CreateConnection409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateConnection409ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection409ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection422ApplicationProblemPlusJSONResponse ¶
type CreateConnection422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateConnection422ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection422ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection429ApplicationProblemPlusJSONResponse ¶
type CreateConnection429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateConnection429ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection429ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnectionJSONRequestBody ¶
type CreateConnectionJSONRequestBody = ConnectionInput
CreateConnectionJSONRequestBody defines body for CreateConnection for application/json ContentType.
type CreateConnectionRequestObject ¶
type CreateConnectionRequestObject struct {
Body *CreateConnectionJSONRequestBody
}
type CreateConnectionResponseObject ¶
type CreateConnectionResponseObject interface {
VisitCreateConnectionResponse(w http.ResponseWriter) error
}
type CreateDestination201JSONResponse ¶
type CreateDestination201JSONResponse struct {
Body DestinationCreated
Headers CreateDestination201ResponseHeaders
}
func (CreateDestination201JSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination201JSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestination400ApplicationProblemPlusJSONResponse ¶
type CreateDestination400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateDestination400ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination400ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestination401ApplicationProblemPlusJSONResponse ¶
type CreateDestination401ApplicationProblemPlusJSONResponse struct {
}
func (CreateDestination401ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination401ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestination403ApplicationProblemPlusJSONResponse ¶
type CreateDestination403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateDestination403ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination403ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestination409ApplicationProblemPlusJSONResponse ¶
type CreateDestination409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateDestination409ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination409ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestination422ApplicationProblemPlusJSONResponse ¶
type CreateDestination422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateDestination422ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination422ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestination429ApplicationProblemPlusJSONResponse ¶
type CreateDestination429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateDestination429ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination429ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestination503ApplicationProblemPlusJSONResponse ¶
type CreateDestination503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (CreateDestination503ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse ¶
func (response CreateDestination503ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error
type CreateDestinationJSONRequestBody ¶
type CreateDestinationJSONRequestBody = DestinationInput
CreateDestinationJSONRequestBody defines body for CreateDestination for application/json ContentType.
type CreateDestinationRequestObject ¶
type CreateDestinationRequestObject struct {
Body *CreateDestinationJSONRequestBody
}
type CreateDestinationResponseObject ¶
type CreateDestinationResponseObject interface {
VisitCreateDestinationResponse(w http.ResponseWriter) error
}
type CreateIntegration201JSONResponse ¶
type CreateIntegration201JSONResponse struct {
Body Integration
Headers CreateIntegration201ResponseHeaders
}
func (CreateIntegration201JSONResponse) VisitCreateIntegrationResponse ¶
func (response CreateIntegration201JSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error
type CreateIntegration400ApplicationProblemPlusJSONResponse ¶
type CreateIntegration400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateIntegration400ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse ¶
func (response CreateIntegration400ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error
type CreateIntegration401ApplicationProblemPlusJSONResponse ¶
type CreateIntegration401ApplicationProblemPlusJSONResponse struct {
}
func (CreateIntegration401ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse ¶
func (response CreateIntegration401ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error
type CreateIntegration403ApplicationProblemPlusJSONResponse ¶
type CreateIntegration403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateIntegration403ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse ¶
func (response CreateIntegration403ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error
type CreateIntegration409ApplicationProblemPlusJSONResponse ¶
type CreateIntegration409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateIntegration409ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse ¶
func (response CreateIntegration409ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error
type CreateIntegration422ApplicationProblemPlusJSONResponse ¶
type CreateIntegration422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateIntegration422ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse ¶
func (response CreateIntegration422ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error
type CreateIntegration429ApplicationProblemPlusJSONResponse ¶
type CreateIntegration429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateIntegration429ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse ¶
func (response CreateIntegration429ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error
type CreateIntegrationJSONRequestBody ¶
type CreateIntegrationJSONRequestBody = IntegrationInput
CreateIntegrationJSONRequestBody defines body for CreateIntegration for application/json ContentType.
type CreateIntegrationRequestObject ¶
type CreateIntegrationRequestObject struct {
Body *CreateIntegrationJSONRequestBody
}
type CreateIntegrationResponseObject ¶
type CreateIntegrationResponseObject interface {
VisitCreateIntegrationResponse(w http.ResponseWriter) error
}
type CreateIntegrationToken201JSONResponse ¶
type CreateIntegrationToken201JSONResponse IntegrationTokenCreated
func (CreateIntegrationToken201JSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken201JSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationToken400ApplicationProblemPlusJSONResponse ¶
type CreateIntegrationToken400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateIntegrationToken400ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken400ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationToken401ApplicationProblemPlusJSONResponse ¶
type CreateIntegrationToken401ApplicationProblemPlusJSONResponse struct {
}
func (CreateIntegrationToken401ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken401ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationToken403ApplicationProblemPlusJSONResponse ¶
type CreateIntegrationToken403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateIntegrationToken403ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken403ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationToken404ApplicationProblemPlusJSONResponse ¶
type CreateIntegrationToken404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CreateIntegrationToken404ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken404ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationToken409ApplicationProblemPlusJSONResponse ¶
type CreateIntegrationToken409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateIntegrationToken409ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken409ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationToken422ApplicationProblemPlusJSONResponse ¶
type CreateIntegrationToken422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateIntegrationToken422ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken422ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationToken429ApplicationProblemPlusJSONResponse ¶
type CreateIntegrationToken429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateIntegrationToken429ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse ¶
func (response CreateIntegrationToken429ApplicationProblemPlusJSONResponse) VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
type CreateIntegrationTokenJSONRequestBody ¶
type CreateIntegrationTokenJSONRequestBody = IntegrationTokenCreate
CreateIntegrationTokenJSONRequestBody defines body for CreateIntegrationToken for application/json ContentType.
type CreateIntegrationTokenRequestObject ¶
type CreateIntegrationTokenRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
Body *CreateIntegrationTokenJSONRequestBody
}
type CreateIntegrationTokenResponseObject ¶
type CreateIntegrationTokenResponseObject interface {
VisitCreateIntegrationTokenResponse(w http.ResponseWriter) error
}
type CreateLinkRule201JSONResponse ¶
type CreateLinkRule201JSONResponse struct {
Body LinkRule
Headers CreateLinkRule201ResponseHeaders
}
func (CreateLinkRule201JSONResponse) VisitCreateLinkRuleResponse ¶
func (response CreateLinkRule201JSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error
type CreateLinkRule400ApplicationProblemPlusJSONResponse ¶
type CreateLinkRule400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateLinkRule400ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse ¶
func (response CreateLinkRule400ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error
type CreateLinkRule401ApplicationProblemPlusJSONResponse ¶
type CreateLinkRule401ApplicationProblemPlusJSONResponse struct {
}
func (CreateLinkRule401ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse ¶
func (response CreateLinkRule401ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error
type CreateLinkRule403ApplicationProblemPlusJSONResponse ¶
type CreateLinkRule403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateLinkRule403ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse ¶
func (response CreateLinkRule403ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error
type CreateLinkRule409ApplicationProblemPlusJSONResponse ¶
type CreateLinkRule409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateLinkRule409ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse ¶
func (response CreateLinkRule409ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error
type CreateLinkRule422ApplicationProblemPlusJSONResponse ¶
type CreateLinkRule422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateLinkRule422ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse ¶
func (response CreateLinkRule422ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error
type CreateLinkRule429ApplicationProblemPlusJSONResponse ¶
type CreateLinkRule429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateLinkRule429ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse ¶
func (response CreateLinkRule429ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error
type CreateLinkRuleJSONRequestBody ¶
type CreateLinkRuleJSONRequestBody = LinkRuleBase
CreateLinkRuleJSONRequestBody defines body for CreateLinkRule for application/json ContentType.
type CreateLinkRuleRequestObject ¶
type CreateLinkRuleRequestObject struct {
Body *CreateLinkRuleJSONRequestBody
}
type CreateLinkRuleResponseObject ¶
type CreateLinkRuleResponseObject interface {
VisitCreateLinkRuleResponse(w http.ResponseWriter) error
}
type CreateLookupTable201JSONResponse ¶
type CreateLookupTable201JSONResponse struct {
Body LookupTable
Headers CreateLookupTable201ResponseHeaders
}
func (CreateLookupTable201JSONResponse) VisitCreateLookupTableResponse ¶
func (response CreateLookupTable201JSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error
type CreateLookupTable400ApplicationProblemPlusJSONResponse ¶
type CreateLookupTable400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateLookupTable400ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse ¶
func (response CreateLookupTable400ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error
type CreateLookupTable401ApplicationProblemPlusJSONResponse ¶
type CreateLookupTable401ApplicationProblemPlusJSONResponse struct {
}
func (CreateLookupTable401ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse ¶
func (response CreateLookupTable401ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error
type CreateLookupTable403ApplicationProblemPlusJSONResponse ¶
type CreateLookupTable403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateLookupTable403ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse ¶
func (response CreateLookupTable403ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error
type CreateLookupTable409ApplicationProblemPlusJSONResponse ¶
type CreateLookupTable409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateLookupTable409ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse ¶
func (response CreateLookupTable409ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error
type CreateLookupTable422ApplicationProblemPlusJSONResponse ¶
type CreateLookupTable422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateLookupTable422ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse ¶
func (response CreateLookupTable422ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error
type CreateLookupTable429ApplicationProblemPlusJSONResponse ¶
type CreateLookupTable429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateLookupTable429ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse ¶
func (response CreateLookupTable429ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error
type CreateLookupTableJSONRequestBody ¶
type CreateLookupTableJSONRequestBody = LookupTableBase
CreateLookupTableJSONRequestBody defines body for CreateLookupTable for application/json ContentType.
type CreateLookupTableRequestObject ¶
type CreateLookupTableRequestObject struct {
Body *CreateLookupTableJSONRequestBody
}
type CreateLookupTableResponseObject ¶
type CreateLookupTableResponseObject interface {
VisitCreateLookupTableResponse(w http.ResponseWriter) error
}
type CreatePasswordSetupLink201JSONResponse ¶
type CreatePasswordSetupLink201JSONResponse PasswordSetupLink
func (CreatePasswordSetupLink201JSONResponse) VisitCreatePasswordSetupLinkResponse ¶
func (response CreatePasswordSetupLink201JSONResponse) VisitCreatePasswordSetupLinkResponse(w http.ResponseWriter) error
type CreatePasswordSetupLink401ApplicationProblemPlusJSONResponse ¶
type CreatePasswordSetupLink401ApplicationProblemPlusJSONResponse struct {
}
func (CreatePasswordSetupLink401ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse ¶
func (response CreatePasswordSetupLink401ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse(w http.ResponseWriter) error
type CreatePasswordSetupLink403ApplicationProblemPlusJSONResponse ¶
type CreatePasswordSetupLink403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreatePasswordSetupLink403ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse ¶
func (response CreatePasswordSetupLink403ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse(w http.ResponseWriter) error
type CreatePasswordSetupLink404ApplicationProblemPlusJSONResponse ¶
type CreatePasswordSetupLink404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CreatePasswordSetupLink404ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse ¶
func (response CreatePasswordSetupLink404ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse(w http.ResponseWriter) error
type CreatePasswordSetupLink409ApplicationProblemPlusJSONResponse ¶
type CreatePasswordSetupLink409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreatePasswordSetupLink409ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse ¶
func (response CreatePasswordSetupLink409ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse(w http.ResponseWriter) error
type CreatePasswordSetupLink429ApplicationProblemPlusJSONResponse ¶
type CreatePasswordSetupLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreatePasswordSetupLink429ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse ¶
func (response CreatePasswordSetupLink429ApplicationProblemPlusJSONResponse) VisitCreatePasswordSetupLinkResponse(w http.ResponseWriter) error
type CreatePasswordSetupLinkRequestObject ¶
type CreatePasswordSetupLinkRequestObject struct {
UserId UserId `json:"user_id"`
}
type CreatePasswordSetupLinkResponseObject ¶
type CreatePasswordSetupLinkResponseObject interface {
VisitCreatePasswordSetupLinkResponse(w http.ResponseWriter) error
}
type CreatePersonalAccessToken201JSONResponse ¶
type CreatePersonalAccessToken201JSONResponse PersonalAccessTokenCreated
func (CreatePersonalAccessToken201JSONResponse) VisitCreatePersonalAccessTokenResponse ¶
func (response CreatePersonalAccessToken201JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
type CreatePersonalAccessToken400ApplicationProblemPlusJSONResponse ¶
type CreatePersonalAccessToken400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreatePersonalAccessToken400ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse ¶
func (response CreatePersonalAccessToken400ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
type CreatePersonalAccessToken401ApplicationProblemPlusJSONResponse ¶
type CreatePersonalAccessToken401ApplicationProblemPlusJSONResponse struct {
}
func (CreatePersonalAccessToken401ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse ¶
func (response CreatePersonalAccessToken401ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
type CreatePersonalAccessToken403ApplicationProblemPlusJSONResponse ¶
type CreatePersonalAccessToken403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreatePersonalAccessToken403ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse ¶
func (response CreatePersonalAccessToken403ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
type CreatePersonalAccessToken422ApplicationProblemPlusJSONResponse ¶
type CreatePersonalAccessToken422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreatePersonalAccessToken422ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse ¶
func (response CreatePersonalAccessToken422ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
type CreatePersonalAccessToken429ApplicationProblemPlusJSONResponse ¶
type CreatePersonalAccessToken429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreatePersonalAccessToken429ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse ¶
func (response CreatePersonalAccessToken429ApplicationProblemPlusJSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
type CreatePersonalAccessTokenJSONRequestBody ¶
type CreatePersonalAccessTokenJSONRequestBody = PersonalAccessTokenCreate
CreatePersonalAccessTokenJSONRequestBody defines body for CreatePersonalAccessToken for application/json ContentType.
type CreatePersonalAccessTokenRequestObject ¶
type CreatePersonalAccessTokenRequestObject struct {
Body *CreatePersonalAccessTokenJSONRequestBody
}
type CreatePersonalAccessTokenResponseObject ¶
type CreatePersonalAccessTokenResponseObject interface {
VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
}
type CreateRoute201JSONResponse ¶
type CreateRoute201JSONResponse struct {
Body Route
Headers CreateRoute201ResponseHeaders
}
func (CreateRoute201JSONResponse) VisitCreateRouteResponse ¶
func (response CreateRoute201JSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error
type CreateRoute400ApplicationProblemPlusJSONResponse ¶
type CreateRoute400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateRoute400ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse ¶
func (response CreateRoute400ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error
type CreateRoute401ApplicationProblemPlusJSONResponse ¶
type CreateRoute401ApplicationProblemPlusJSONResponse struct {
}
func (CreateRoute401ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse ¶
func (response CreateRoute401ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error
type CreateRoute403ApplicationProblemPlusJSONResponse ¶
type CreateRoute403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateRoute403ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse ¶
func (response CreateRoute403ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error
type CreateRoute409ApplicationProblemPlusJSONResponse ¶
type CreateRoute409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateRoute409ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse ¶
func (response CreateRoute409ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error
type CreateRoute422ApplicationProblemPlusJSONResponse ¶
type CreateRoute422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateRoute422ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse ¶
func (response CreateRoute422ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error
type CreateRoute429ApplicationProblemPlusJSONResponse ¶
type CreateRoute429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateRoute429ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse ¶
func (response CreateRoute429ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error
type CreateRouteJSONRequestBody ¶
type CreateRouteJSONRequestBody = RouteInput
CreateRouteJSONRequestBody defines body for CreateRoute for application/json ContentType.
type CreateRouteRequestObject ¶
type CreateRouteRequestObject struct {
Body *CreateRouteJSONRequestBody
}
type CreateRouteResponseObject ¶
type CreateRouteResponseObject interface {
VisitCreateRouteResponse(w http.ResponseWriter) error
}
type CreateServiceAccount201JSONResponse ¶
type CreateServiceAccount201JSONResponse struct {
Body ServiceAccount
Headers CreateServiceAccount201ResponseHeaders
}
func (CreateServiceAccount201JSONResponse) VisitCreateServiceAccountResponse ¶
func (response CreateServiceAccount201JSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error
type CreateServiceAccount400ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccount400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateServiceAccount400ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse ¶
func (response CreateServiceAccount400ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error
type CreateServiceAccount401ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccount401ApplicationProblemPlusJSONResponse struct {
}
func (CreateServiceAccount401ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse ¶
func (response CreateServiceAccount401ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error
type CreateServiceAccount403ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccount403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateServiceAccount403ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse ¶
func (response CreateServiceAccount403ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error
type CreateServiceAccount409ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccount409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateServiceAccount409ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse ¶
func (response CreateServiceAccount409ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error
type CreateServiceAccount422ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccount422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateServiceAccount422ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse ¶
func (response CreateServiceAccount422ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error
type CreateServiceAccount429ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccount429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateServiceAccount429ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse ¶
func (response CreateServiceAccount429ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error
type CreateServiceAccountJSONRequestBody ¶
type CreateServiceAccountJSONRequestBody = ServiceAccountInput
CreateServiceAccountJSONRequestBody defines body for CreateServiceAccount for application/json ContentType.
type CreateServiceAccountRequestObject ¶
type CreateServiceAccountRequestObject struct {
Body *CreateServiceAccountJSONRequestBody
}
type CreateServiceAccountResponseObject ¶
type CreateServiceAccountResponseObject interface {
VisitCreateServiceAccountResponse(w http.ResponseWriter) error
}
type CreateServiceAccountToken201JSONResponse ¶
type CreateServiceAccountToken201JSONResponse ServiceAccountTokenCreated
func (CreateServiceAccountToken201JSONResponse) VisitCreateServiceAccountTokenResponse ¶
func (response CreateServiceAccountToken201JSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
type CreateServiceAccountToken400ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccountToken400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateServiceAccountToken400ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse ¶
func (response CreateServiceAccountToken400ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
type CreateServiceAccountToken401ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccountToken401ApplicationProblemPlusJSONResponse struct {
}
func (CreateServiceAccountToken401ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse ¶
func (response CreateServiceAccountToken401ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
type CreateServiceAccountToken403ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccountToken403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateServiceAccountToken403ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse ¶
func (response CreateServiceAccountToken403ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
type CreateServiceAccountToken404ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccountToken404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CreateServiceAccountToken404ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse ¶
func (response CreateServiceAccountToken404ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
type CreateServiceAccountToken422ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccountToken422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateServiceAccountToken422ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse ¶
func (response CreateServiceAccountToken422ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
type CreateServiceAccountToken429ApplicationProblemPlusJSONResponse ¶
type CreateServiceAccountToken429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateServiceAccountToken429ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse ¶
func (response CreateServiceAccountToken429ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
type CreateServiceAccountTokenJSONRequestBody ¶
type CreateServiceAccountTokenJSONRequestBody = ServiceAccountTokenCreate
CreateServiceAccountTokenJSONRequestBody defines body for CreateServiceAccountToken for application/json ContentType.
type CreateServiceAccountTokenRequestObject ¶
type CreateServiceAccountTokenRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
Body *CreateServiceAccountTokenJSONRequestBody
}
type CreateServiceAccountTokenResponseObject ¶
type CreateServiceAccountTokenResponseObject interface {
VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
}
type CreateSession201JSONResponse ¶
type CreateSession201JSONResponse Session
func (CreateSession201JSONResponse) VisitCreateSessionResponse ¶
func (response CreateSession201JSONResponse) VisitCreateSessionResponse(w http.ResponseWriter) error
type CreateSession400ApplicationProblemPlusJSONResponse ¶
type CreateSession400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateSession400ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse ¶
func (response CreateSession400ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse(w http.ResponseWriter) error
type CreateSession401ApplicationProblemPlusJSONResponse ¶
type CreateSession401ApplicationProblemPlusJSONResponse struct {
}
func (CreateSession401ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse ¶
func (response CreateSession401ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse(w http.ResponseWriter) error
type CreateSession403ApplicationProblemPlusJSONResponse ¶
type CreateSession403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateSession403ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse ¶
func (response CreateSession403ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse(w http.ResponseWriter) error
type CreateSession429ApplicationProblemPlusJSONResponse ¶
type CreateSession429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateSession429ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse ¶
func (response CreateSession429ApplicationProblemPlusJSONResponse) VisitCreateSessionResponse(w http.ResponseWriter) error
type CreateSessionJSONRequestBody ¶
type CreateSessionJSONRequestBody = SessionCreate
CreateSessionJSONRequestBody defines body for CreateSession for application/json ContentType.
type CreateSessionRequestObject ¶
type CreateSessionRequestObject struct {
Body *CreateSessionJSONRequestBody
}
type CreateSessionResponseObject ¶
type CreateSessionResponseObject interface {
VisitCreateSessionResponse(w http.ResponseWriter) error
}
type CreateUser201JSONResponse ¶
type CreateUser201JSONResponse struct {
Body UserCreated
Headers CreateUser201ResponseHeaders
}
func (CreateUser201JSONResponse) VisitCreateUserResponse ¶
func (response CreateUser201JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser400ApplicationProblemPlusJSONResponse ¶
type CreateUser400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (CreateUser400ApplicationProblemPlusJSONResponse) VisitCreateUserResponse ¶
func (response CreateUser400ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser401ApplicationProblemPlusJSONResponse ¶
type CreateUser401ApplicationProblemPlusJSONResponse struct {
}
func (CreateUser401ApplicationProblemPlusJSONResponse) VisitCreateUserResponse ¶
func (response CreateUser401ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser403ApplicationProblemPlusJSONResponse ¶
type CreateUser403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (CreateUser403ApplicationProblemPlusJSONResponse) VisitCreateUserResponse ¶
func (response CreateUser403ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser409ApplicationProblemPlusJSONResponse ¶
type CreateUser409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CreateUser409ApplicationProblemPlusJSONResponse) VisitCreateUserResponse ¶
func (response CreateUser409ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser422ApplicationProblemPlusJSONResponse ¶
type CreateUser422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (CreateUser422ApplicationProblemPlusJSONResponse) VisitCreateUserResponse ¶
func (response CreateUser422ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser429ApplicationProblemPlusJSONResponse ¶
type CreateUser429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (CreateUser429ApplicationProblemPlusJSONResponse) VisitCreateUserResponse ¶
func (response CreateUser429ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUserJSONRequestBody ¶
type CreateUserJSONRequestBody = UserCreate
CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.
type CreateUserRequestObject ¶
type CreateUserRequestObject struct {
Body *CreateUserJSONRequestBody
}
type CreateUserResponseObject ¶
type CreateUserResponseObject interface {
VisitCreateUserResponse(w http.ResponseWriter) error
}
type DeleteConnection204Response ¶
type DeleteConnection204Response struct {
}
func (DeleteConnection204Response) VisitDeleteConnectionResponse ¶
func (response DeleteConnection204Response) VisitDeleteConnectionResponse(w http.ResponseWriter) error
type DeleteConnection401ApplicationProblemPlusJSONResponse ¶
type DeleteConnection401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteConnection401ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse ¶
func (response DeleteConnection401ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse(w http.ResponseWriter) error
type DeleteConnection403ApplicationProblemPlusJSONResponse ¶
type DeleteConnection403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteConnection403ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse ¶
func (response DeleteConnection403ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse(w http.ResponseWriter) error
type DeleteConnection404ApplicationProblemPlusJSONResponse ¶
type DeleteConnection404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteConnection404ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse ¶
func (response DeleteConnection404ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse(w http.ResponseWriter) error
type DeleteConnection409ApplicationProblemPlusJSONResponse ¶
type DeleteConnection409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DeleteConnection409ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse ¶
func (response DeleteConnection409ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse(w http.ResponseWriter) error
type DeleteConnection412ApplicationProblemPlusJSONResponse ¶
type DeleteConnection412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteConnection412ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse ¶
func (response DeleteConnection412ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse(w http.ResponseWriter) error
type DeleteConnection429ApplicationProblemPlusJSONResponse ¶
type DeleteConnection429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteConnection429ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse ¶
func (response DeleteConnection429ApplicationProblemPlusJSONResponse) VisitDeleteConnectionResponse(w http.ResponseWriter) error
type DeleteConnectionParams ¶
type DeleteConnectionParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteConnectionParams defines parameters for DeleteConnection.
type DeleteConnectionRequestObject ¶
type DeleteConnectionRequestObject struct {
ConnectionId ConnectionId `json:"connection_id"`
Params DeleteConnectionParams
}
type DeleteConnectionResponseObject ¶
type DeleteConnectionResponseObject interface {
VisitDeleteConnectionResponse(w http.ResponseWriter) error
}
type DeleteCurrentSession204Response ¶
type DeleteCurrentSession204Response struct {
}
func (DeleteCurrentSession204Response) VisitDeleteCurrentSessionResponse ¶
func (response DeleteCurrentSession204Response) VisitDeleteCurrentSessionResponse(w http.ResponseWriter) error
type DeleteCurrentSession401ApplicationProblemPlusJSONResponse ¶
type DeleteCurrentSession401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteCurrentSession401ApplicationProblemPlusJSONResponse) VisitDeleteCurrentSessionResponse ¶
func (response DeleteCurrentSession401ApplicationProblemPlusJSONResponse) VisitDeleteCurrentSessionResponse(w http.ResponseWriter) error
type DeleteCurrentSession403ApplicationProblemPlusJSONResponse ¶
type DeleteCurrentSession403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteCurrentSession403ApplicationProblemPlusJSONResponse) VisitDeleteCurrentSessionResponse ¶
func (response DeleteCurrentSession403ApplicationProblemPlusJSONResponse) VisitDeleteCurrentSessionResponse(w http.ResponseWriter) error
type DeleteCurrentSession429ApplicationProblemPlusJSONResponse ¶
type DeleteCurrentSession429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteCurrentSession429ApplicationProblemPlusJSONResponse) VisitDeleteCurrentSessionResponse ¶
func (response DeleteCurrentSession429ApplicationProblemPlusJSONResponse) VisitDeleteCurrentSessionResponse(w http.ResponseWriter) error
type DeleteCurrentSessionRequestObject ¶
type DeleteCurrentSessionRequestObject struct {
}
type DeleteCurrentSessionResponseObject ¶
type DeleteCurrentSessionResponseObject interface {
VisitDeleteCurrentSessionResponse(w http.ResponseWriter) error
}
type DeleteDestination204Response ¶
type DeleteDestination204Response struct {
}
func (DeleteDestination204Response) VisitDeleteDestinationResponse ¶
func (response DeleteDestination204Response) VisitDeleteDestinationResponse(w http.ResponseWriter) error
type DeleteDestination401ApplicationProblemPlusJSONResponse ¶
type DeleteDestination401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteDestination401ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse ¶
func (response DeleteDestination401ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse(w http.ResponseWriter) error
type DeleteDestination403ApplicationProblemPlusJSONResponse ¶
type DeleteDestination403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteDestination403ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse ¶
func (response DeleteDestination403ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse(w http.ResponseWriter) error
type DeleteDestination404ApplicationProblemPlusJSONResponse ¶
type DeleteDestination404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteDestination404ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse ¶
func (response DeleteDestination404ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse(w http.ResponseWriter) error
type DeleteDestination412ApplicationProblemPlusJSONResponse ¶
type DeleteDestination412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteDestination412ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse ¶
func (response DeleteDestination412ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse(w http.ResponseWriter) error
type DeleteDestination429ApplicationProblemPlusJSONResponse ¶
type DeleteDestination429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteDestination429ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse ¶
func (response DeleteDestination429ApplicationProblemPlusJSONResponse) VisitDeleteDestinationResponse(w http.ResponseWriter) error
type DeleteDestinationParams ¶
type DeleteDestinationParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteDestinationParams defines parameters for DeleteDestination.
type DeleteDestinationRequestObject ¶
type DeleteDestinationRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
Params DeleteDestinationParams
}
type DeleteDestinationResponseObject ¶
type DeleteDestinationResponseObject interface {
VisitDeleteDestinationResponse(w http.ResponseWriter) error
}
type DeleteDestinationSecret204Response ¶
type DeleteDestinationSecret204Response struct {
}
func (DeleteDestinationSecret204Response) VisitDeleteDestinationSecretResponse ¶
func (response DeleteDestinationSecret204Response) VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
type DeleteDestinationSecret401ApplicationProblemPlusJSONResponse ¶
type DeleteDestinationSecret401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteDestinationSecret401ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse ¶
func (response DeleteDestinationSecret401ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
type DeleteDestinationSecret403ApplicationProblemPlusJSONResponse ¶
type DeleteDestinationSecret403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteDestinationSecret403ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse ¶
func (response DeleteDestinationSecret403ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
type DeleteDestinationSecret404ApplicationProblemPlusJSONResponse ¶
type DeleteDestinationSecret404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteDestinationSecret404ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse ¶
func (response DeleteDestinationSecret404ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
type DeleteDestinationSecret409ApplicationProblemPlusJSONResponse ¶
type DeleteDestinationSecret409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DeleteDestinationSecret409ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse ¶
func (response DeleteDestinationSecret409ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
type DeleteDestinationSecret412ApplicationProblemPlusJSONResponse ¶
type DeleteDestinationSecret412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteDestinationSecret412ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse ¶
func (response DeleteDestinationSecret412ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
type DeleteDestinationSecret429ApplicationProblemPlusJSONResponse ¶
type DeleteDestinationSecret429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteDestinationSecret429ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse ¶
func (response DeleteDestinationSecret429ApplicationProblemPlusJSONResponse) VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
type DeleteDestinationSecretParams ¶
type DeleteDestinationSecretParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteDestinationSecretParams defines parameters for DeleteDestinationSecret.
type DeleteDestinationSecretRequestObject ¶
type DeleteDestinationSecretRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
SecretName SecretName `json:"secret_name"`
Params DeleteDestinationSecretParams
}
type DeleteDestinationSecretResponseObject ¶
type DeleteDestinationSecretResponseObject interface {
VisitDeleteDestinationSecretResponse(w http.ResponseWriter) error
}
type DeleteIntegration204Response ¶
type DeleteIntegration204Response struct {
}
func (DeleteIntegration204Response) VisitDeleteIntegrationResponse ¶
func (response DeleteIntegration204Response) VisitDeleteIntegrationResponse(w http.ResponseWriter) error
type DeleteIntegration401ApplicationProblemPlusJSONResponse ¶
type DeleteIntegration401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteIntegration401ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse ¶
func (response DeleteIntegration401ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse(w http.ResponseWriter) error
type DeleteIntegration403ApplicationProblemPlusJSONResponse ¶
type DeleteIntegration403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteIntegration403ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse ¶
func (response DeleteIntegration403ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse(w http.ResponseWriter) error
type DeleteIntegration404ApplicationProblemPlusJSONResponse ¶
type DeleteIntegration404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteIntegration404ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse ¶
func (response DeleteIntegration404ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse(w http.ResponseWriter) error
type DeleteIntegration409ApplicationProblemPlusJSONResponse ¶
type DeleteIntegration409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DeleteIntegration409ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse ¶
func (response DeleteIntegration409ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse(w http.ResponseWriter) error
type DeleteIntegration412ApplicationProblemPlusJSONResponse ¶
type DeleteIntegration412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteIntegration412ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse ¶
func (response DeleteIntegration412ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse(w http.ResponseWriter) error
type DeleteIntegration429ApplicationProblemPlusJSONResponse ¶
type DeleteIntegration429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteIntegration429ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse ¶
func (response DeleteIntegration429ApplicationProblemPlusJSONResponse) VisitDeleteIntegrationResponse(w http.ResponseWriter) error
type DeleteIntegrationParams ¶
type DeleteIntegrationParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteIntegrationParams defines parameters for DeleteIntegration.
type DeleteIntegrationRequestObject ¶
type DeleteIntegrationRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
Params DeleteIntegrationParams
}
type DeleteIntegrationResponseObject ¶
type DeleteIntegrationResponseObject interface {
VisitDeleteIntegrationResponse(w http.ResponseWriter) error
}
type DeleteLinkRule204Response ¶
type DeleteLinkRule204Response struct {
}
func (DeleteLinkRule204Response) VisitDeleteLinkRuleResponse ¶
func (response DeleteLinkRule204Response) VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
type DeleteLinkRule401ApplicationProblemPlusJSONResponse ¶
type DeleteLinkRule401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteLinkRule401ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse ¶
func (response DeleteLinkRule401ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
type DeleteLinkRule403ApplicationProblemPlusJSONResponse ¶
type DeleteLinkRule403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteLinkRule403ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse ¶
func (response DeleteLinkRule403ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
type DeleteLinkRule404ApplicationProblemPlusJSONResponse ¶
type DeleteLinkRule404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteLinkRule404ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse ¶
func (response DeleteLinkRule404ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
type DeleteLinkRule409ApplicationProblemPlusJSONResponse ¶
type DeleteLinkRule409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DeleteLinkRule409ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse ¶
func (response DeleteLinkRule409ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
type DeleteLinkRule412ApplicationProblemPlusJSONResponse ¶
type DeleteLinkRule412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteLinkRule412ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse ¶
func (response DeleteLinkRule412ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
type DeleteLinkRule429ApplicationProblemPlusJSONResponse ¶
type DeleteLinkRule429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteLinkRule429ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse ¶
func (response DeleteLinkRule429ApplicationProblemPlusJSONResponse) VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
type DeleteLinkRuleParams ¶
type DeleteLinkRuleParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteLinkRuleParams defines parameters for DeleteLinkRule.
type DeleteLinkRuleRequestObject ¶
type DeleteLinkRuleRequestObject struct {
LinkRuleId LinkRuleId `json:"link_rule_id"`
Params DeleteLinkRuleParams
}
type DeleteLinkRuleResponseObject ¶
type DeleteLinkRuleResponseObject interface {
VisitDeleteLinkRuleResponse(w http.ResponseWriter) error
}
type DeleteLookupTable204Response ¶
type DeleteLookupTable204Response struct {
}
func (DeleteLookupTable204Response) VisitDeleteLookupTableResponse ¶
func (response DeleteLookupTable204Response) VisitDeleteLookupTableResponse(w http.ResponseWriter) error
type DeleteLookupTable401ApplicationProblemPlusJSONResponse ¶
type DeleteLookupTable401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteLookupTable401ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse ¶
func (response DeleteLookupTable401ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse(w http.ResponseWriter) error
type DeleteLookupTable403ApplicationProblemPlusJSONResponse ¶
type DeleteLookupTable403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteLookupTable403ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse ¶
func (response DeleteLookupTable403ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse(w http.ResponseWriter) error
type DeleteLookupTable404ApplicationProblemPlusJSONResponse ¶
type DeleteLookupTable404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteLookupTable404ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse ¶
func (response DeleteLookupTable404ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse(w http.ResponseWriter) error
type DeleteLookupTable409ApplicationProblemPlusJSONResponse ¶
type DeleteLookupTable409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DeleteLookupTable409ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse ¶
func (response DeleteLookupTable409ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse(w http.ResponseWriter) error
type DeleteLookupTable412ApplicationProblemPlusJSONResponse ¶
type DeleteLookupTable412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteLookupTable412ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse ¶
func (response DeleteLookupTable412ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse(w http.ResponseWriter) error
type DeleteLookupTable429ApplicationProblemPlusJSONResponse ¶
type DeleteLookupTable429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteLookupTable429ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse ¶
func (response DeleteLookupTable429ApplicationProblemPlusJSONResponse) VisitDeleteLookupTableResponse(w http.ResponseWriter) error
type DeleteLookupTableParams ¶
type DeleteLookupTableParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteLookupTableParams defines parameters for DeleteLookupTable.
type DeleteLookupTableRequestObject ¶
type DeleteLookupTableRequestObject struct {
LookupTableId LookupTableId `json:"lookup_table_id"`
Params DeleteLookupTableParams
}
type DeleteLookupTableResponseObject ¶
type DeleteLookupTableResponseObject interface {
VisitDeleteLookupTableResponse(w http.ResponseWriter) error
}
type DeleteMyAccountLink204Response ¶
type DeleteMyAccountLink204Response struct {
}
func (DeleteMyAccountLink204Response) VisitDeleteMyAccountLinkResponse ¶
func (response DeleteMyAccountLink204Response) VisitDeleteMyAccountLinkResponse(w http.ResponseWriter) error
type DeleteMyAccountLink401ApplicationProblemPlusJSONResponse ¶
type DeleteMyAccountLink401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteMyAccountLink401ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse ¶
func (response DeleteMyAccountLink401ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse(w http.ResponseWriter) error
type DeleteMyAccountLink403ApplicationProblemPlusJSONResponse ¶
type DeleteMyAccountLink403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteMyAccountLink403ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse ¶
func (response DeleteMyAccountLink403ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse(w http.ResponseWriter) error
type DeleteMyAccountLink404ApplicationProblemPlusJSONResponse ¶
type DeleteMyAccountLink404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteMyAccountLink404ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse ¶
func (response DeleteMyAccountLink404ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse(w http.ResponseWriter) error
type DeleteMyAccountLink429ApplicationProblemPlusJSONResponse ¶
type DeleteMyAccountLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteMyAccountLink429ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse ¶
func (response DeleteMyAccountLink429ApplicationProblemPlusJSONResponse) VisitDeleteMyAccountLinkResponse(w http.ResponseWriter) error
type DeleteMyAccountLinkRequestObject ¶
type DeleteMyAccountLinkRequestObject struct {
AccountLinkId AccountLinkId `json:"account_link_id"`
}
type DeleteMyAccountLinkResponseObject ¶
type DeleteMyAccountLinkResponseObject interface {
VisitDeleteMyAccountLinkResponse(w http.ResponseWriter) error
}
type DeleteMySessions204Response ¶
type DeleteMySessions204Response struct {
}
func (DeleteMySessions204Response) VisitDeleteMySessionsResponse ¶
func (response DeleteMySessions204Response) VisitDeleteMySessionsResponse(w http.ResponseWriter) error
type DeleteMySessions401ApplicationProblemPlusJSONResponse ¶
type DeleteMySessions401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteMySessions401ApplicationProblemPlusJSONResponse) VisitDeleteMySessionsResponse ¶
func (response DeleteMySessions401ApplicationProblemPlusJSONResponse) VisitDeleteMySessionsResponse(w http.ResponseWriter) error
type DeleteMySessions403ApplicationProblemPlusJSONResponse ¶
type DeleteMySessions403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteMySessions403ApplicationProblemPlusJSONResponse) VisitDeleteMySessionsResponse ¶
func (response DeleteMySessions403ApplicationProblemPlusJSONResponse) VisitDeleteMySessionsResponse(w http.ResponseWriter) error
type DeleteMySessions429ApplicationProblemPlusJSONResponse ¶
type DeleteMySessions429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteMySessions429ApplicationProblemPlusJSONResponse) VisitDeleteMySessionsResponse ¶
func (response DeleteMySessions429ApplicationProblemPlusJSONResponse) VisitDeleteMySessionsResponse(w http.ResponseWriter) error
type DeleteMySessionsRequestObject ¶
type DeleteMySessionsRequestObject struct {
}
type DeleteMySessionsResponseObject ¶
type DeleteMySessionsResponseObject interface {
VisitDeleteMySessionsResponse(w http.ResponseWriter) error
}
type DeleteRoute204Response ¶
type DeleteRoute204Response struct {
}
func (DeleteRoute204Response) VisitDeleteRouteResponse ¶
func (response DeleteRoute204Response) VisitDeleteRouteResponse(w http.ResponseWriter) error
type DeleteRoute401ApplicationProblemPlusJSONResponse ¶
type DeleteRoute401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteRoute401ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse ¶
func (response DeleteRoute401ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse(w http.ResponseWriter) error
type DeleteRoute403ApplicationProblemPlusJSONResponse ¶
type DeleteRoute403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteRoute403ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse ¶
func (response DeleteRoute403ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse(w http.ResponseWriter) error
type DeleteRoute404ApplicationProblemPlusJSONResponse ¶
type DeleteRoute404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteRoute404ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse ¶
func (response DeleteRoute404ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse(w http.ResponseWriter) error
type DeleteRoute409ApplicationProblemPlusJSONResponse ¶
type DeleteRoute409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DeleteRoute409ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse ¶
func (response DeleteRoute409ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse(w http.ResponseWriter) error
type DeleteRoute412ApplicationProblemPlusJSONResponse ¶
type DeleteRoute412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteRoute412ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse ¶
func (response DeleteRoute412ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse(w http.ResponseWriter) error
type DeleteRoute429ApplicationProblemPlusJSONResponse ¶
type DeleteRoute429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteRoute429ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse ¶
func (response DeleteRoute429ApplicationProblemPlusJSONResponse) VisitDeleteRouteResponse(w http.ResponseWriter) error
type DeleteRouteParams ¶
type DeleteRouteParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteRouteParams defines parameters for DeleteRoute.
type DeleteRouteRequestObject ¶
type DeleteRouteRequestObject struct {
RouteId RouteId `json:"route_id"`
Params DeleteRouteParams
}
type DeleteRouteResponseObject ¶
type DeleteRouteResponseObject interface {
VisitDeleteRouteResponse(w http.ResponseWriter) error
}
type DeleteServiceAccount204Response ¶
type DeleteServiceAccount204Response struct {
}
func (DeleteServiceAccount204Response) VisitDeleteServiceAccountResponse ¶
func (response DeleteServiceAccount204Response) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
type DeleteServiceAccount401ApplicationProblemPlusJSONResponse ¶
type DeleteServiceAccount401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteServiceAccount401ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse ¶
func (response DeleteServiceAccount401ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
type DeleteServiceAccount403ApplicationProblemPlusJSONResponse ¶
type DeleteServiceAccount403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteServiceAccount403ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse ¶
func (response DeleteServiceAccount403ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
type DeleteServiceAccount404ApplicationProblemPlusJSONResponse ¶
type DeleteServiceAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteServiceAccount404ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse ¶
func (response DeleteServiceAccount404ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
type DeleteServiceAccount412ApplicationProblemPlusJSONResponse ¶
type DeleteServiceAccount412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteServiceAccount412ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse ¶
func (response DeleteServiceAccount412ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
type DeleteServiceAccount429ApplicationProblemPlusJSONResponse ¶
type DeleteServiceAccount429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteServiceAccount429ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse ¶
func (response DeleteServiceAccount429ApplicationProblemPlusJSONResponse) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
type DeleteServiceAccountParams ¶
type DeleteServiceAccountParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteServiceAccountParams defines parameters for DeleteServiceAccount.
type DeleteServiceAccountRequestObject ¶
type DeleteServiceAccountRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
Params DeleteServiceAccountParams
}
type DeleteServiceAccountResponseObject ¶
type DeleteServiceAccountResponseObject interface {
VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
}
type DeleteUser204Response ¶
type DeleteUser204Response struct {
}
func (DeleteUser204Response) VisitDeleteUserResponse ¶
func (response DeleteUser204Response) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser401ApplicationProblemPlusJSONResponse ¶
type DeleteUser401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteUser401ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser401ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser403ApplicationProblemPlusJSONResponse ¶
type DeleteUser403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteUser403ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser403ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser404ApplicationProblemPlusJSONResponse ¶
type DeleteUser404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteUser404ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser404ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser409ApplicationProblemPlusJSONResponse ¶
type DeleteUser409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DeleteUser409ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser409ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser412ApplicationProblemPlusJSONResponse ¶
type DeleteUser412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (DeleteUser412ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser412ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser429ApplicationProblemPlusJSONResponse ¶
type DeleteUser429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteUser429ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser429ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUserAccountLink204Response ¶
type DeleteUserAccountLink204Response struct {
}
func (DeleteUserAccountLink204Response) VisitDeleteUserAccountLinkResponse ¶
func (response DeleteUserAccountLink204Response) VisitDeleteUserAccountLinkResponse(w http.ResponseWriter) error
type DeleteUserAccountLink401ApplicationProblemPlusJSONResponse ¶
type DeleteUserAccountLink401ApplicationProblemPlusJSONResponse struct {
}
func (DeleteUserAccountLink401ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse ¶
func (response DeleteUserAccountLink401ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse(w http.ResponseWriter) error
type DeleteUserAccountLink403ApplicationProblemPlusJSONResponse ¶
type DeleteUserAccountLink403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DeleteUserAccountLink403ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse ¶
func (response DeleteUserAccountLink403ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse(w http.ResponseWriter) error
type DeleteUserAccountLink404ApplicationProblemPlusJSONResponse ¶
type DeleteUserAccountLink404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DeleteUserAccountLink404ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse ¶
func (response DeleteUserAccountLink404ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse(w http.ResponseWriter) error
type DeleteUserAccountLink429ApplicationProblemPlusJSONResponse ¶
type DeleteUserAccountLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DeleteUserAccountLink429ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse ¶
func (response DeleteUserAccountLink429ApplicationProblemPlusJSONResponse) VisitDeleteUserAccountLinkResponse(w http.ResponseWriter) error
type DeleteUserAccountLinkRequestObject ¶
type DeleteUserAccountLinkRequestObject struct {
UserId UserId `json:"user_id"`
AccountLinkId AccountLinkId `json:"account_link_id"`
}
type DeleteUserAccountLinkResponseObject ¶
type DeleteUserAccountLinkResponseObject interface {
VisitDeleteUserAccountLinkResponse(w http.ResponseWriter) error
}
type DeleteUserParams ¶
type DeleteUserParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
DeleteUserParams defines parameters for DeleteUser.
type DeleteUserRequestObject ¶
type DeleteUserRequestObject struct {
UserId UserId `json:"user_id"`
Params DeleteUserParams
}
type DeleteUserResponseObject ¶
type DeleteUserResponseObject interface {
VisitDeleteUserResponse(w http.ResponseWriter) error
}
type DeliverAlertGroupEventJSONRequestBody ¶
type DeliverAlertGroupEventJSONRequestBody = OutgoingWebhookEvent
DeliverAlertGroupEventJSONRequestBody defines body for DeliverAlertGroupEvent for application/json ContentType.
type DeliverAlertGroupEventParams ¶
type DeliverAlertGroupEventParams struct {
// WebhookId Id of this event, kept across retries.
WebhookId string `json:"webhook-id"`
// WebhookTimestamp Unix time in seconds when the request was signed.
WebhookTimestamp string `json:"webhook-timestamp"`
// WebhookSignature One or more space-separated `v1,<base64>` signatures.
WebhookSignature string `json:"webhook-signature"`
}
DeliverAlertGroupEventParams defines parameters for DeliverAlertGroupEvent.
type DeliveryErrorClass ¶
type DeliveryErrorClass string
DeliveryErrorClass How a delivery attempt ended. `limited`: no limiter token was free within `delivery.interactive_budget`, so nothing was sent (a test only; the attempt did not reach the remote side).
const ( DeliveryErrorClassBlocked DeliveryErrorClass = "blocked" DeliveryErrorClassFatal DeliveryErrorClass = "fatal" DeliveryErrorClassLimited DeliveryErrorClass = "limited" DeliveryErrorClassNone DeliveryErrorClass = "none" DeliveryErrorClassRetryAfter DeliveryErrorClass = "retry_after" DeliveryErrorClassTemplateError DeliveryErrorClass = "template_error" DeliveryErrorClassTransient DeliveryErrorClass = "transient" DeliveryErrorClassUnknown DeliveryErrorClass = "unknown" )
Defines values for DeliveryErrorClass.
func (DeliveryErrorClass) Valid ¶
func (e DeliveryErrorClass) Valid() bool
Valid indicates whether the value is a known member of the DeliveryErrorClass enum.
type DeliveryEventKind ¶
type DeliveryEventKind string
DeliveryEventKind Delivery events are not lifecycle events and reach neither messengers nor outgoing webhook events.
const ( DeliveryEventKindDeletedInMessenger DeliveryEventKind = "deleted_in_messenger" DeliveryEventKindDeliveredLate DeliveryEventKind = "delivered_late" DeliveryEventKindDestinationBroken DeliveryEventKind = "destination_broken" DeliveryEventKindDestinationRecovered DeliveryEventKind = "destination_recovered" DeliveryEventKindFinalEdit DeliveryEventKind = "final_edit" DeliveryEventKindMarkupRejected DeliveryEventKind = "markup_rejected" DeliveryEventKindNotDelivered DeliveryEventKind = "not_delivered" DeliveryEventKindPossibleDuplicate DeliveryEventKind = "possible_duplicate" DeliveryEventKindPublication DeliveryEventKind = "publication" DeliveryEventKindRepublished DeliveryEventKind = "republished" DeliveryEventKindStormSummary DeliveryEventKind = "storm_summary" DeliveryEventKindThreadNotAttached DeliveryEventKind = "thread_not_attached" )
Defines values for DeliveryEventKind.
func (DeliveryEventKind) Valid ¶
func (e DeliveryEventKind) Valid() bool
Valid indicates whether the value is a known member of the DeliveryEventKind enum.
type DeliveryState ¶
type DeliveryState string
DeliveryState `waiting_for_broken_destination` — derived, never stored: a `pending` delivery whose Destination is Broken; `withheld` — never posted to this Destination: the Alert Group resolved while a Storm summary stood for it or while the Destination was Broken; `retired` — no longer updated there after its final edit, because the Destination left the Route or was deleted.
const ( DeliveryStateDeletedInMessenger DeliveryState = "deleted_in_messenger" DeliveryStateDelivered DeliveryState = "delivered" DeliveryStateNotDelivered DeliveryState = "not_delivered" DeliveryStatePending DeliveryState = "pending" DeliveryStateRetired DeliveryState = "retired" DeliveryStateWaitingForBrokenDestination DeliveryState = "waiting_for_broken_destination" DeliveryStateWithheld DeliveryState = "withheld" )
Defines values for DeliveryState.
func (DeliveryState) Valid ¶
func (e DeliveryState) Valid() bool
Valid indicates whether the value is a known member of the DeliveryState enum.
type Destination ¶
type Destination struct {
// contains filtered or unexported fields
}
Destination A Destination; `type` selects the variant.
func (Destination) AsMattermostDestination ¶
func (t Destination) AsMattermostDestination() (MattermostDestination, error)
AsMattermostDestination returns the union data inside the Destination as a MattermostDestination
func (Destination) AsTelegramDestination ¶
func (t Destination) AsTelegramDestination() (TelegramDestination, error)
AsTelegramDestination returns the union data inside the Destination as a TelegramDestination
func (Destination) AsWebhookDestination ¶
func (t Destination) AsWebhookDestination() (WebhookDestination, error)
AsWebhookDestination returns the union data inside the Destination as a WebhookDestination
func (Destination) Discriminator ¶
func (t Destination) Discriminator() (string, error)
func (*Destination) FromMattermostDestination ¶
func (t *Destination) FromMattermostDestination(v MattermostDestination) error
FromMattermostDestination overwrites any union data inside the Destination as the provided MattermostDestination
func (*Destination) FromTelegramDestination ¶
func (t *Destination) FromTelegramDestination(v TelegramDestination) error
FromTelegramDestination overwrites any union data inside the Destination as the provided TelegramDestination
func (*Destination) FromWebhookDestination ¶
func (t *Destination) FromWebhookDestination(v WebhookDestination) error
FromWebhookDestination overwrites any union data inside the Destination as the provided WebhookDestination
func (Destination) MarshalJSON ¶
func (t Destination) MarshalJSON() ([]byte, error)
func (*Destination) MergeMattermostDestination ¶
func (t *Destination) MergeMattermostDestination(v MattermostDestination) error
MergeMattermostDestination performs a merge with any union data inside the Destination, using the provided MattermostDestination
func (*Destination) MergeTelegramDestination ¶
func (t *Destination) MergeTelegramDestination(v TelegramDestination) error
MergeTelegramDestination performs a merge with any union data inside the Destination, using the provided TelegramDestination
func (*Destination) MergeWebhookDestination ¶
func (t *Destination) MergeWebhookDestination(v WebhookDestination) error
MergeWebhookDestination performs a merge with any union data inside the Destination, using the provided WebhookDestination
func (*Destination) UnmarshalJSON ¶
func (t *Destination) UnmarshalJSON(b []byte) error
func (Destination) ValueByDiscriminator ¶
func (t Destination) ValueByDiscriminator() (interface{}, error)
type DestinationCheckItem ¶
type DestinationCheckItem struct {
Message nullable.Nullable[string] `json:"message,omitempty"`
// Name One step of the check. Telegram: `channel_exists`; `discussion_group` fails when the channel has no linked discussion group, that is, comments are not enabled for the channel (the message says to enable them); `bot_rights_channel`; `bot_rights_group` fails when the bot is not an admin of the discussion group (the message says to make the bot an admin there).
Name DestinationCheckItemName `json:"name"`
Ok bool `json:"ok"`
}
DestinationCheckItem defines model for DestinationCheckItem.
type DestinationCheckItemName ¶
type DestinationCheckItemName string
DestinationCheckItemName One step of the check. Telegram: `channel_exists`; `discussion_group` fails when the channel has no linked discussion group, that is, comments are not enabled for the channel (the message says to enable them); `bot_rights_channel`; `bot_rights_group` fails when the bot is not an admin of the discussion group (the message says to make the bot an admin there).
const ( DestinationCheckItemNameBotInChannel DestinationCheckItemName = "bot_in_channel" DestinationCheckItemNameBotRightsChannel DestinationCheckItemName = "bot_rights_channel" DestinationCheckItemNameBotRightsGroup DestinationCheckItemName = "bot_rights_group" DestinationCheckItemNameChannelExists DestinationCheckItemName = "channel_exists" DestinationCheckItemNameDiscussionGroup DestinationCheckItemName = "discussion_group" DestinationCheckItemNameToken DestinationCheckItemName = "token" )
Defines values for DestinationCheckItemName.
func (DestinationCheckItemName) Valid ¶
func (e DestinationCheckItemName) Valid() bool
Valid indicates whether the value is a known member of the DestinationCheckItemName enum.
type DestinationCheckResult ¶
type DestinationCheckResult struct {
Checks []DestinationCheckItem `json:"checks"`
Health DestinationHealth `json:"health"`
Ok bool `json:"ok"`
}
DestinationCheckResult defines model for DestinationCheckResult.
type DestinationCreated ¶
type DestinationCreated struct {
// Destination A Destination; `type` selects the variant.
Destination Destination `json:"destination"`
// SigningSecret The Signing secret of a new outgoing webhook Destination. Shown once; null for the other types.
SigningSecret nullable.Nullable[string] `json:"signing_secret"`
}
DestinationCreated defines model for DestinationCreated.
type DestinationHealth ¶
type DestinationHealth struct {
// Reason The error, or "unavailable after repeated failures: {last error}". Untrusted where it comes from the remote side. Secrets, the Signing secret and tokens are masked.
Reason nullable.Nullable[string] `json:"reason,omitempty"`
Since nullable.Nullable[time.Time] `json:"since,omitempty"`
State HealthState `json:"state"`
}
DestinationHealth defines model for DestinationHealth.
type DestinationId ¶
type DestinationId = PublicId
DestinationId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type DestinationInput ¶
type DestinationInput struct {
// contains filtered or unexported fields
}
DestinationInput A Destination as written; `type` selects the variant and cannot change on update. Routes are attached through the Route's `destination_ids`.
func (DestinationInput) AsMattermostDestinationInput ¶
func (t DestinationInput) AsMattermostDestinationInput() (MattermostDestinationInput, error)
AsMattermostDestinationInput returns the union data inside the DestinationInput as a MattermostDestinationInput
func (DestinationInput) AsTelegramDestinationInput ¶
func (t DestinationInput) AsTelegramDestinationInput() (TelegramDestinationInput, error)
AsTelegramDestinationInput returns the union data inside the DestinationInput as a TelegramDestinationInput
func (DestinationInput) AsWebhookDestinationInput ¶
func (t DestinationInput) AsWebhookDestinationInput() (WebhookDestinationInput, error)
AsWebhookDestinationInput returns the union data inside the DestinationInput as a WebhookDestinationInput
func (DestinationInput) Discriminator ¶
func (t DestinationInput) Discriminator() (string, error)
func (*DestinationInput) FromMattermostDestinationInput ¶
func (t *DestinationInput) FromMattermostDestinationInput(v MattermostDestinationInput) error
FromMattermostDestinationInput overwrites any union data inside the DestinationInput as the provided MattermostDestinationInput
func (*DestinationInput) FromTelegramDestinationInput ¶
func (t *DestinationInput) FromTelegramDestinationInput(v TelegramDestinationInput) error
FromTelegramDestinationInput overwrites any union data inside the DestinationInput as the provided TelegramDestinationInput
func (*DestinationInput) FromWebhookDestinationInput ¶
func (t *DestinationInput) FromWebhookDestinationInput(v WebhookDestinationInput) error
FromWebhookDestinationInput overwrites any union data inside the DestinationInput as the provided WebhookDestinationInput
func (DestinationInput) MarshalJSON ¶
func (t DestinationInput) MarshalJSON() ([]byte, error)
func (*DestinationInput) MergeMattermostDestinationInput ¶
func (t *DestinationInput) MergeMattermostDestinationInput(v MattermostDestinationInput) error
MergeMattermostDestinationInput performs a merge with any union data inside the DestinationInput, using the provided MattermostDestinationInput
func (*DestinationInput) MergeTelegramDestinationInput ¶
func (t *DestinationInput) MergeTelegramDestinationInput(v TelegramDestinationInput) error
MergeTelegramDestinationInput performs a merge with any union data inside the DestinationInput, using the provided TelegramDestinationInput
func (*DestinationInput) MergeWebhookDestinationInput ¶
func (t *DestinationInput) MergeWebhookDestinationInput(v WebhookDestinationInput) error
MergeWebhookDestinationInput performs a merge with any union data inside the DestinationInput, using the provided WebhookDestinationInput
func (*DestinationInput) UnmarshalJSON ¶
func (t *DestinationInput) UnmarshalJSON(b []byte) error
func (DestinationInput) ValueByDiscriminator ¶
func (t DestinationInput) ValueByDiscriminator() (interface{}, error)
type DestinationList ¶
type DestinationList struct {
Items []Destination `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
DestinationList defines model for DestinationList.
type DestinationPreview ¶
type DestinationPreview struct {
Items []DestinationPreviewItem `json:"items"`
}
DestinationPreview defines model for DestinationPreview.
type DestinationPreviewItem ¶
type DestinationPreviewItem struct {
Format nullable.Nullable[DestinationPreviewItemFormat] `json:"format,omitempty"`
Name DestinationPreviewItemName `json:"name"`
// Request A request as it would be or was sent, with Secrets, the Signing secret and tokens masked.
Request *RenderedRequest `json:"request,omitempty"`
// Text The rendered Root message text.
Text nullable.Nullable[string] `json:"text,omitempty"`
}
DestinationPreviewItem defines model for DestinationPreviewItem.
type DestinationPreviewItemFormat ¶
type DestinationPreviewItemFormat string
DestinationPreviewItemFormat defines model for DestinationPreviewItem.Format.
const ( DestinationPreviewItemFormatHtml DestinationPreviewItemFormat = "html" DestinationPreviewItemFormatJson DestinationPreviewItemFormat = "json" DestinationPreviewItemFormatLessThannil DestinationPreviewItemFormat = "<nil>" DestinationPreviewItemFormatMarkdown DestinationPreviewItemFormat = "markdown" DestinationPreviewItemFormatPlain DestinationPreviewItemFormat = "plain" )
Defines values for DestinationPreviewItemFormat.
func (DestinationPreviewItemFormat) Valid ¶
func (e DestinationPreviewItemFormat) Valid() bool
Valid indicates whether the value is a known member of the DestinationPreviewItemFormat enum.
type DestinationPreviewItemName ¶
type DestinationPreviewItemName string
DestinationPreviewItemName defines model for DestinationPreviewItem.Name.
const ( DestinationPreviewItemNameCreate DestinationPreviewItemName = "create" DestinationPreviewItemNameEvent DestinationPreviewItemName = "event" DestinationPreviewItemNameMessage DestinationPreviewItemName = "message" DestinationPreviewItemNameOpenThread DestinationPreviewItemName = "open_thread" DestinationPreviewItemNameReplyInThread DestinationPreviewItemName = "reply_in_thread" DestinationPreviewItemNameUpdate DestinationPreviewItemName = "update" )
Defines values for DestinationPreviewItemName.
func (DestinationPreviewItemName) Valid ¶
func (e DestinationPreviewItemName) Valid() bool
Valid indicates whether the value is a known member of the DestinationPreviewItemName enum.
type DestinationPreviewRequest ¶
type DestinationPreviewRequest struct {
Source TestSource `json:"source"`
}
DestinationPreviewRequest defines model for DestinationPreviewRequest.
type DestinationReadFields ¶
type DestinationReadFields struct {
CreatedAt time.Time `json:"created_at"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
Health DestinationHealth `json:"health"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Routes []EntityRef `json:"routes"`
TemplateError *TemplateErrorState `json:"template_error,omitempty"`
}
DestinationReadFields defines model for DestinationReadFields.
type DestinationRef ¶
type DestinationRef struct {
Health DestinationHealth `json:"health"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Name string `json:"name"`
Type DestinationType `json:"type"`
}
DestinationRef defines model for DestinationRef.
type DestinationSecret ¶
type DestinationSecret struct {
Name string `json:"name"`
Set bool `json:"set"`
UpdatedAt nullable.Nullable[time.Time] `json:"updated_at,omitempty"`
}
DestinationSecret A named Secret of an outgoing webhook Destination, referenced as `{{ .Secrets.<name> }}`.
type DestinationSecretInput ¶
type DestinationSecretInput struct {
// Value Write-only Secret.
Value *string `json:"value,omitempty"`
}
DestinationSecretInput defines model for DestinationSecretInput.
type DestinationSecretList ¶
type DestinationSecretList struct {
Items []DestinationSecret `json:"items"`
}
DestinationSecretList defines model for DestinationSecretList.
type DestinationTestRequest ¶
type DestinationTestRequest struct {
Source TestSource `json:"source"`
}
DestinationTestRequest defines model for DestinationTestRequest.
type DestinationTestResult ¶
type DestinationTestResult struct {
// Health Health after the test; a successful test of a Broken Destination makes it healthy.
Health DestinationHealth `json:"health"`
// Steps The `message` step for a messenger, followed by the `press` step for Mattermost; for an outgoing webhook the `event` step and the `create` step, in this order, as the Destination's mode requires.
Steps []TestStep `json:"steps"`
}
DestinationTestResult defines model for DestinationTestResult.
type DestinationType ¶
type DestinationType string
DestinationType defines model for DestinationType.
const ( DestinationTypeMattermost DestinationType = "mattermost" DestinationTypeTelegram DestinationType = "telegram" DestinationTypeWebhook DestinationType = "webhook" )
Defines values for DestinationType.
func (DestinationType) Valid ¶
func (e DestinationType) Valid() bool
Valid indicates whether the value is a known member of the DestinationType enum.
type DestinationWarning ¶
type DestinationWarning struct {
// Field JSON Pointer to the header or URL holding a literal credential; store it as a Secret instead.
Field nullable.Nullable[string] `json:"field,omitempty"`
Kind DestinationWarningKind `json:"kind"`
Since nullable.Nullable[time.Time] `json:"since,omitempty"`
}
DestinationWarning defines model for DestinationWarning.
type DestinationWarningKind ¶
type DestinationWarningKind string
DestinationWarningKind defines model for DestinationWarning.Kind.
const ( LiteralCredential DestinationWarningKind = "literal_credential" PreviousSigningSecretActive DestinationWarningKind = "previous_signing_secret_active" )
Defines values for DestinationWarningKind.
func (DestinationWarningKind) Valid ¶
func (e DestinationWarningKind) Valid() bool
Valid indicates whether the value is a known member of the DestinationWarningKind enum.
type DisableServiceAccount200JSONResponse ¶
type DisableServiceAccount200JSONResponse ServiceAccount
func (DisableServiceAccount200JSONResponse) VisitDisableServiceAccountResponse ¶
func (response DisableServiceAccount200JSONResponse) VisitDisableServiceAccountResponse(w http.ResponseWriter) error
type DisableServiceAccount401ApplicationProblemPlusJSONResponse ¶
type DisableServiceAccount401ApplicationProblemPlusJSONResponse struct {
}
func (DisableServiceAccount401ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse ¶
func (response DisableServiceAccount401ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse(w http.ResponseWriter) error
type DisableServiceAccount403ApplicationProblemPlusJSONResponse ¶
type DisableServiceAccount403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DisableServiceAccount403ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse ¶
func (response DisableServiceAccount403ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse(w http.ResponseWriter) error
type DisableServiceAccount404ApplicationProblemPlusJSONResponse ¶
type DisableServiceAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DisableServiceAccount404ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse ¶
func (response DisableServiceAccount404ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse(w http.ResponseWriter) error
type DisableServiceAccount409ApplicationProblemPlusJSONResponse ¶
type DisableServiceAccount409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DisableServiceAccount409ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse ¶
func (response DisableServiceAccount409ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse(w http.ResponseWriter) error
type DisableServiceAccount429ApplicationProblemPlusJSONResponse ¶
type DisableServiceAccount429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DisableServiceAccount429ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse ¶
func (response DisableServiceAccount429ApplicationProblemPlusJSONResponse) VisitDisableServiceAccountResponse(w http.ResponseWriter) error
type DisableServiceAccountRequestObject ¶
type DisableServiceAccountRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
}
type DisableServiceAccountResponseObject ¶
type DisableServiceAccountResponseObject interface {
VisitDisableServiceAccountResponse(w http.ResponseWriter) error
}
type DisableUser200JSONResponse ¶
type DisableUser200JSONResponse User
func (DisableUser200JSONResponse) VisitDisableUserResponse ¶
func (response DisableUser200JSONResponse) VisitDisableUserResponse(w http.ResponseWriter) error
type DisableUser401ApplicationProblemPlusJSONResponse ¶
type DisableUser401ApplicationProblemPlusJSONResponse struct {
}
func (DisableUser401ApplicationProblemPlusJSONResponse) VisitDisableUserResponse ¶
func (response DisableUser401ApplicationProblemPlusJSONResponse) VisitDisableUserResponse(w http.ResponseWriter) error
type DisableUser403ApplicationProblemPlusJSONResponse ¶
type DisableUser403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DisableUser403ApplicationProblemPlusJSONResponse) VisitDisableUserResponse ¶
func (response DisableUser403ApplicationProblemPlusJSONResponse) VisitDisableUserResponse(w http.ResponseWriter) error
type DisableUser404ApplicationProblemPlusJSONResponse ¶
type DisableUser404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DisableUser404ApplicationProblemPlusJSONResponse) VisitDisableUserResponse ¶
func (response DisableUser404ApplicationProblemPlusJSONResponse) VisitDisableUserResponse(w http.ResponseWriter) error
type DisableUser409ApplicationProblemPlusJSONResponse ¶
type DisableUser409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DisableUser409ApplicationProblemPlusJSONResponse) VisitDisableUserResponse ¶
func (response DisableUser409ApplicationProblemPlusJSONResponse) VisitDisableUserResponse(w http.ResponseWriter) error
type DisableUser429ApplicationProblemPlusJSONResponse ¶
type DisableUser429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DisableUser429ApplicationProblemPlusJSONResponse) VisitDisableUserResponse ¶
func (response DisableUser429ApplicationProblemPlusJSONResponse) VisitDisableUserResponse(w http.ResponseWriter) error
type DisableUserRequestObject ¶
type DisableUserRequestObject struct {
UserId UserId `json:"user_id"`
}
type DisableUserResponseObject ¶
type DisableUserResponseObject interface {
VisitDisableUserResponse(w http.ResponseWriter) error
}
type DismissRouteSuggestion204Response ¶
type DismissRouteSuggestion204Response struct {
}
func (DismissRouteSuggestion204Response) VisitDismissRouteSuggestionResponse ¶
func (response DismissRouteSuggestion204Response) VisitDismissRouteSuggestionResponse(w http.ResponseWriter) error
type DismissRouteSuggestion401ApplicationProblemPlusJSONResponse ¶
type DismissRouteSuggestion401ApplicationProblemPlusJSONResponse struct {
}
func (DismissRouteSuggestion401ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse ¶
func (response DismissRouteSuggestion401ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse(w http.ResponseWriter) error
type DismissRouteSuggestion403ApplicationProblemPlusJSONResponse ¶
type DismissRouteSuggestion403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (DismissRouteSuggestion403ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse ¶
func (response DismissRouteSuggestion403ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse(w http.ResponseWriter) error
type DismissRouteSuggestion404ApplicationProblemPlusJSONResponse ¶
type DismissRouteSuggestion404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DismissRouteSuggestion404ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse ¶
func (response DismissRouteSuggestion404ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse(w http.ResponseWriter) error
type DismissRouteSuggestion409ApplicationProblemPlusJSONResponse ¶
type DismissRouteSuggestion409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (DismissRouteSuggestion409ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse ¶
func (response DismissRouteSuggestion409ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse(w http.ResponseWriter) error
type DismissRouteSuggestion429ApplicationProblemPlusJSONResponse ¶
type DismissRouteSuggestion429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (DismissRouteSuggestion429ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse ¶
func (response DismissRouteSuggestion429ApplicationProblemPlusJSONResponse) VisitDismissRouteSuggestionResponse(w http.ResponseWriter) error
type DismissRouteSuggestionRequestObject ¶
type DismissRouteSuggestionRequestObject struct {
SuggestionId SuggestionId `json:"suggestion_id"`
}
type DismissRouteSuggestionResponseObject ¶
type DismissRouteSuggestionResponseObject interface {
VisitDismissRouteSuggestionResponse(w http.ResponseWriter) error
}
type DurationStats ¶
type DurationStats struct {
Count int `json:"count"`
MedianSeconds nullable.Nullable[int] `json:"median_seconds,omitempty"`
P95Seconds nullable.Nullable[int] `json:"p95_seconds,omitempty"`
}
DurationStats defines model for DurationStats.
type EnableServiceAccount200JSONResponse ¶
type EnableServiceAccount200JSONResponse ServiceAccount
func (EnableServiceAccount200JSONResponse) VisitEnableServiceAccountResponse ¶
func (response EnableServiceAccount200JSONResponse) VisitEnableServiceAccountResponse(w http.ResponseWriter) error
type EnableServiceAccount401ApplicationProblemPlusJSONResponse ¶
type EnableServiceAccount401ApplicationProblemPlusJSONResponse struct {
}
func (EnableServiceAccount401ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse ¶
func (response EnableServiceAccount401ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse(w http.ResponseWriter) error
type EnableServiceAccount403ApplicationProblemPlusJSONResponse ¶
type EnableServiceAccount403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (EnableServiceAccount403ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse ¶
func (response EnableServiceAccount403ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse(w http.ResponseWriter) error
type EnableServiceAccount404ApplicationProblemPlusJSONResponse ¶
type EnableServiceAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (EnableServiceAccount404ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse ¶
func (response EnableServiceAccount404ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse(w http.ResponseWriter) error
type EnableServiceAccount409ApplicationProblemPlusJSONResponse ¶
type EnableServiceAccount409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (EnableServiceAccount409ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse ¶
func (response EnableServiceAccount409ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse(w http.ResponseWriter) error
type EnableServiceAccount429ApplicationProblemPlusJSONResponse ¶
type EnableServiceAccount429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (EnableServiceAccount429ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse ¶
func (response EnableServiceAccount429ApplicationProblemPlusJSONResponse) VisitEnableServiceAccountResponse(w http.ResponseWriter) error
type EnableServiceAccountRequestObject ¶
type EnableServiceAccountRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
}
type EnableServiceAccountResponseObject ¶
type EnableServiceAccountResponseObject interface {
VisitEnableServiceAccountResponse(w http.ResponseWriter) error
}
type EnableUser200JSONResponse ¶
type EnableUser200JSONResponse User
func (EnableUser200JSONResponse) VisitEnableUserResponse ¶
func (response EnableUser200JSONResponse) VisitEnableUserResponse(w http.ResponseWriter) error
type EnableUser401ApplicationProblemPlusJSONResponse ¶
type EnableUser401ApplicationProblemPlusJSONResponse struct {
}
func (EnableUser401ApplicationProblemPlusJSONResponse) VisitEnableUserResponse ¶
func (response EnableUser401ApplicationProblemPlusJSONResponse) VisitEnableUserResponse(w http.ResponseWriter) error
type EnableUser403ApplicationProblemPlusJSONResponse ¶
type EnableUser403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (EnableUser403ApplicationProblemPlusJSONResponse) VisitEnableUserResponse ¶
func (response EnableUser403ApplicationProblemPlusJSONResponse) VisitEnableUserResponse(w http.ResponseWriter) error
type EnableUser404ApplicationProblemPlusJSONResponse ¶
type EnableUser404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (EnableUser404ApplicationProblemPlusJSONResponse) VisitEnableUserResponse ¶
func (response EnableUser404ApplicationProblemPlusJSONResponse) VisitEnableUserResponse(w http.ResponseWriter) error
type EnableUser409ApplicationProblemPlusJSONResponse ¶
type EnableUser409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (EnableUser409ApplicationProblemPlusJSONResponse) VisitEnableUserResponse ¶
func (response EnableUser409ApplicationProblemPlusJSONResponse) VisitEnableUserResponse(w http.ResponseWriter) error
type EnableUser429ApplicationProblemPlusJSONResponse ¶
type EnableUser429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (EnableUser429ApplicationProblemPlusJSONResponse) VisitEnableUserResponse ¶
func (response EnableUser429ApplicationProblemPlusJSONResponse) VisitEnableUserResponse(w http.ResponseWriter) error
type EnableUserRequestObject ¶
type EnableUserRequestObject struct {
UserId UserId `json:"user_id"`
}
type EnableUserResponseObject ¶
type EnableUserResponseObject interface {
VisitEnableUserResponse(w http.ResponseWriter) error
}
type EntityRef ¶
type EntityRef struct {
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Name string `json:"name"`
}
EntityRef defines model for EntityRef.
type ExtractionRule ¶
type ExtractionRule struct {
// Name Name under which the value is stored per Alert Group and Destination (`.Response.<name>`).
Name string `json:"name"`
// Path JSONPath into the response, for example `$.data.id`.
Path string `json:"path"`
}
ExtractionRule defines model for ExtractionRule.
type Forbidden ¶
type Forbidden = Problem
Forbidden RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type ForbiddenApplicationProblemPlusJSONResponse ¶
type ForbiddenApplicationProblemPlusJSONResponse Problem
type GenerateSigningSecret201JSONResponse ¶
type GenerateSigningSecret201JSONResponse SigningSecretGenerated
func (GenerateSigningSecret201JSONResponse) VisitGenerateSigningSecretResponse ¶
func (response GenerateSigningSecret201JSONResponse) VisitGenerateSigningSecretResponse(w http.ResponseWriter) error
type GenerateSigningSecret401ApplicationProblemPlusJSONResponse ¶
type GenerateSigningSecret401ApplicationProblemPlusJSONResponse struct {
}
func (GenerateSigningSecret401ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse ¶
func (response GenerateSigningSecret401ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse(w http.ResponseWriter) error
type GenerateSigningSecret403ApplicationProblemPlusJSONResponse ¶
type GenerateSigningSecret403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GenerateSigningSecret403ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse ¶
func (response GenerateSigningSecret403ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse(w http.ResponseWriter) error
type GenerateSigningSecret404ApplicationProblemPlusJSONResponse ¶
type GenerateSigningSecret404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GenerateSigningSecret404ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse ¶
func (response GenerateSigningSecret404ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse(w http.ResponseWriter) error
type GenerateSigningSecret409ApplicationProblemPlusJSONResponse ¶
type GenerateSigningSecret409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (GenerateSigningSecret409ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse ¶
func (response GenerateSigningSecret409ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse(w http.ResponseWriter) error
type GenerateSigningSecret429ApplicationProblemPlusJSONResponse ¶
type GenerateSigningSecret429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GenerateSigningSecret429ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse ¶
func (response GenerateSigningSecret429ApplicationProblemPlusJSONResponse) VisitGenerateSigningSecretResponse(w http.ResponseWriter) error
type GenerateSigningSecretRequestObject ¶
type GenerateSigningSecretRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
}
type GenerateSigningSecretResponseObject ¶
type GenerateSigningSecretResponseObject interface {
VisitGenerateSigningSecretResponse(w http.ResponseWriter) error
}
type GetAlertGroup200JSONResponse ¶
type GetAlertGroup200JSONResponse AlertGroup
func (GetAlertGroup200JSONResponse) VisitGetAlertGroupResponse ¶
func (response GetAlertGroup200JSONResponse) VisitGetAlertGroupResponse(w http.ResponseWriter) error
type GetAlertGroup401ApplicationProblemPlusJSONResponse ¶
type GetAlertGroup401ApplicationProblemPlusJSONResponse struct {
}
func (GetAlertGroup401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse ¶
func (response GetAlertGroup401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse(w http.ResponseWriter) error
type GetAlertGroup403ApplicationProblemPlusJSONResponse ¶
type GetAlertGroup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetAlertGroup403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse ¶
func (response GetAlertGroup403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse(w http.ResponseWriter) error
type GetAlertGroup404ApplicationProblemPlusJSONResponse ¶
type GetAlertGroup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAlertGroup404ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse ¶
func (response GetAlertGroup404ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse(w http.ResponseWriter) error
type GetAlertGroup429ApplicationProblemPlusJSONResponse ¶
type GetAlertGroup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetAlertGroup429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse ¶
func (response GetAlertGroup429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupResponse(w http.ResponseWriter) error
type GetAlertGroupCounts200JSONResponse ¶
type GetAlertGroupCounts200JSONResponse AlertGroupCounts
func (GetAlertGroupCounts200JSONResponse) VisitGetAlertGroupCountsResponse ¶
func (response GetAlertGroupCounts200JSONResponse) VisitGetAlertGroupCountsResponse(w http.ResponseWriter) error
type GetAlertGroupCounts400ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupCounts400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (GetAlertGroupCounts400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse ¶
func (response GetAlertGroupCounts400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse(w http.ResponseWriter) error
type GetAlertGroupCounts401ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupCounts401ApplicationProblemPlusJSONResponse struct {
}
func (GetAlertGroupCounts401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse ¶
func (response GetAlertGroupCounts401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse(w http.ResponseWriter) error
type GetAlertGroupCounts403ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupCounts403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetAlertGroupCounts403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse ¶
func (response GetAlertGroupCounts403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse(w http.ResponseWriter) error
type GetAlertGroupCounts422ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupCounts422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (GetAlertGroupCounts422ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse ¶
func (response GetAlertGroupCounts422ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse(w http.ResponseWriter) error
type GetAlertGroupCounts429ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupCounts429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetAlertGroupCounts429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse ¶
func (response GetAlertGroupCounts429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupCountsResponse(w http.ResponseWriter) error
type GetAlertGroupCountsParams ¶
type GetAlertGroupCountsParams struct {
// Route Only these Routes (`public_id`).
Route *AgRoute `form:"route,omitempty" json:"route,omitempty"`
// Integration Only Alert Groups with Alerts from these Integrations (`public_id`).
Integration *AgIntegration `form:"integration,omitempty" json:"integration,omitempty"`
// Severity Only these Severity levels.
Severity *AgSeverity `form:"severity,omitempty" json:"severity,omitempty"`
// Urgent Only Urgent (true) or non-Urgent (false) Alert Groups.
Urgent *AgUrgent `form:"urgent,omitempty" json:"urgent,omitempty"`
// ResolvedBy Only Alert Groups resolved by a person or by the system.
ResolvedBy *AgResolvedBy `form:"resolved_by,omitempty" json:"resolved_by,omitempty"`
// ResolveReason With `resolved_by=system`: the reason.
ResolveReason *AgResolveReason `form:"resolve_reason,omitempty" json:"resolve_reason,omitempty"`
// Reopened True: Reopen count above zero.
Reopened *AgReopened `form:"reopened,omitempty" json:"reopened,omitempty"`
// Label Label filter: one Alertmanager-syntax Matcher per repeat of the parameter, combined with AND. Each value is a whole matcher: `label=namespace%3D%22payments%22&label=pod%3D~%22api-.*%22` means `namespace="payments"` and `pod=~"api-.*"`. There is no per-label shorthand. On Alert Groups the Matchers are matched against the common labels — the labels every Alert of the group has with the same value — so the filter also works on summary rows after the Alerts were removed; a label the Alerts do not share counts as absent. On the Alerts view of an Integration they are matched against each Alert's labels.
Label *LabelMatchers `form:"label,omitempty" json:"label,omitempty"`
// Owner A user `public_id`, `me` (the calling User; `422` for a Service account token), or `none` for Alert Groups nobody owns, resolved ones included.
Owner *AgOwner `form:"owner,omitempty" json:"owner,omitempty"`
// SnoozedNoEnd True: only Alert Groups snoozed with no end. False: every Alert Group but those.
SnoozedNoEnd *AgSnoozedNoEnd `form:"snoozed_no_end,omitempty" json:"snoozed_no_end,omitempty"`
// DeliveryProblem Any Destination is Not delivered, waiting for a Broken Destination, deleted in the messenger or has a Thread not attached.
DeliveryProblem *AgDeliveryProblem `form:"delivery_problem,omitempty" json:"delivery_problem,omitempty"`
// Unclaimed Only Unclaimed Alert Groups.
Unclaimed *AgUnclaimed `form:"unclaimed,omitempty" json:"unclaimed,omitempty"`
// From Start of the time range (RFC 3339, UTC).
From *From `form:"from,omitempty" json:"from,omitempty"`
// To End of the time range (RFC 3339, UTC).
To *To `form:"to,omitempty" json:"to,omitempty"`
// Q Search by text in the title or `summary`, case-insensitive and matching parts of words. A `#N` typed here is the same as `number`.
Q *AgQuery `form:"q,omitempty" json:"q,omitempty"`
}
GetAlertGroupCountsParams defines parameters for GetAlertGroupCounts.
type GetAlertGroupCountsRequestObject ¶
type GetAlertGroupCountsRequestObject struct {
Params GetAlertGroupCountsParams
}
type GetAlertGroupCountsResponseObject ¶
type GetAlertGroupCountsResponseObject interface {
VisitGetAlertGroupCountsResponse(w http.ResponseWriter) error
}
type GetAlertGroupRequestObject ¶
type GetAlertGroupRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
}
type GetAlertGroupResponseObject ¶
type GetAlertGroupResponseObject interface {
VisitGetAlertGroupResponse(w http.ResponseWriter) error
}
type GetAlertGroupStatistics200JSONResponse ¶
type GetAlertGroupStatistics200JSONResponse AlertGroupStatistics
func (GetAlertGroupStatistics200JSONResponse) VisitGetAlertGroupStatisticsResponse ¶
func (response GetAlertGroupStatistics200JSONResponse) VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
type GetAlertGroupStatistics400ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupStatistics400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (GetAlertGroupStatistics400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse ¶
func (response GetAlertGroupStatistics400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
type GetAlertGroupStatistics401ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupStatistics401ApplicationProblemPlusJSONResponse struct {
}
func (GetAlertGroupStatistics401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse ¶
func (response GetAlertGroupStatistics401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
type GetAlertGroupStatistics403ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupStatistics403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetAlertGroupStatistics403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse ¶
func (response GetAlertGroupStatistics403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
type GetAlertGroupStatistics404ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupStatistics404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAlertGroupStatistics404ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse ¶
func (response GetAlertGroupStatistics404ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
type GetAlertGroupStatistics422ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupStatistics422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (GetAlertGroupStatistics422ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse ¶
func (response GetAlertGroupStatistics422ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
type GetAlertGroupStatistics429ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupStatistics429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetAlertGroupStatistics429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse ¶
func (response GetAlertGroupStatistics429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
type GetAlertGroupStatisticsParams ¶
type GetAlertGroupStatisticsParams struct {
// GroupBy What one item stands for.
GroupBy GetAlertGroupStatisticsParamsGroupBy `form:"group_by" json:"group_by"`
// Route Only these Routes (`public_id`); with `group_by=route`.
Route *[]PublicId `form:"route,omitempty" json:"route,omitempty"`
// Integration Only these Integrations (`public_id`); with `group_by=integration`.
Integration *[]PublicId `form:"integration,omitempty" json:"integration,omitempty"`
// From Start of the time range (RFC 3339, UTC).
From *From `form:"from,omitempty" json:"from,omitempty"`
// To End of the time range (RFC 3339, UTC).
To *To `form:"to,omitempty" json:"to,omitempty"`
// TimeZone IANA time zone that splits days; defaults to the Organization's.
TimeZone *string `form:"time_zone,omitempty" json:"time_zone,omitempty"`
}
GetAlertGroupStatisticsParams defines parameters for GetAlertGroupStatistics.
type GetAlertGroupStatisticsParamsGroupBy ¶
type GetAlertGroupStatisticsParamsGroupBy string
GetAlertGroupStatisticsParamsGroupBy defines parameters for GetAlertGroupStatistics.
const ( GetAlertGroupStatisticsParamsGroupByIntegration GetAlertGroupStatisticsParamsGroupBy = "integration" GetAlertGroupStatisticsParamsGroupByRoute GetAlertGroupStatisticsParamsGroupBy = "route" )
Defines values for GetAlertGroupStatisticsParamsGroupBy.
func (GetAlertGroupStatisticsParamsGroupBy) Valid ¶
func (e GetAlertGroupStatisticsParamsGroupBy) Valid() bool
Valid indicates whether the value is a known member of the GetAlertGroupStatisticsParamsGroupBy enum.
type GetAlertGroupStatisticsRequestObject ¶
type GetAlertGroupStatisticsRequestObject struct {
Params GetAlertGroupStatisticsParams
}
type GetAlertGroupStatisticsResponseObject ¶
type GetAlertGroupStatisticsResponseObject interface {
VisitGetAlertGroupStatisticsResponse(w http.ResponseWriter) error
}
type GetAlertGroupTimeline200JSONResponse ¶
type GetAlertGroupTimeline200JSONResponse TimelineEntryList
func (GetAlertGroupTimeline200JSONResponse) VisitGetAlertGroupTimelineResponse ¶
func (response GetAlertGroupTimeline200JSONResponse) VisitGetAlertGroupTimelineResponse(w http.ResponseWriter) error
type GetAlertGroupTimeline400ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupTimeline400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (GetAlertGroupTimeline400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse ¶
func (response GetAlertGroupTimeline400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse(w http.ResponseWriter) error
type GetAlertGroupTimeline401ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupTimeline401ApplicationProblemPlusJSONResponse struct {
}
func (GetAlertGroupTimeline401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse ¶
func (response GetAlertGroupTimeline401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse(w http.ResponseWriter) error
type GetAlertGroupTimeline403ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupTimeline403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetAlertGroupTimeline403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse ¶
func (response GetAlertGroupTimeline403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse(w http.ResponseWriter) error
type GetAlertGroupTimeline404ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupTimeline404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAlertGroupTimeline404ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse ¶
func (response GetAlertGroupTimeline404ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse(w http.ResponseWriter) error
type GetAlertGroupTimeline429ApplicationProblemPlusJSONResponse ¶
type GetAlertGroupTimeline429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetAlertGroupTimeline429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse ¶
func (response GetAlertGroupTimeline429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupTimelineResponse(w http.ResponseWriter) error
type GetAlertGroupTimelineParams ¶
type GetAlertGroupTimelineParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Kind Only these kinds.
Kind *[]TimelineKind `form:"kind,omitempty" json:"kind,omitempty"`
// Order Newest first by default.
Order *GetAlertGroupTimelineParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
GetAlertGroupTimelineParams defines parameters for GetAlertGroupTimeline.
type GetAlertGroupTimelineParamsOrder ¶
type GetAlertGroupTimelineParamsOrder string
GetAlertGroupTimelineParamsOrder defines parameters for GetAlertGroupTimeline.
const ( Asc GetAlertGroupTimelineParamsOrder = "asc" Desc GetAlertGroupTimelineParamsOrder = "desc" )
Defines values for GetAlertGroupTimelineParamsOrder.
func (GetAlertGroupTimelineParamsOrder) Valid ¶
func (e GetAlertGroupTimelineParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAlertGroupTimelineParamsOrder enum.
type GetAlertGroupTimelineRequestObject ¶
type GetAlertGroupTimelineRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
Params GetAlertGroupTimelineParams
}
type GetAlertGroupTimelineResponseObject ¶
type GetAlertGroupTimelineResponseObject interface {
VisitGetAlertGroupTimelineResponse(w http.ResponseWriter) error
}
type GetConnection200JSONResponse ¶
type GetConnection200JSONResponse struct {
Body Connection
Headers GetConnection200ResponseHeaders
}
func (GetConnection200JSONResponse) VisitGetConnectionResponse ¶
func (response GetConnection200JSONResponse) VisitGetConnectionResponse(w http.ResponseWriter) error
type GetConnection200ResponseHeaders ¶
type GetConnection200ResponseHeaders struct {
ETag *string
}
type GetConnection401ApplicationProblemPlusJSONResponse ¶
type GetConnection401ApplicationProblemPlusJSONResponse struct {
}
func (GetConnection401ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse ¶
func (response GetConnection401ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse(w http.ResponseWriter) error
type GetConnection403ApplicationProblemPlusJSONResponse ¶
type GetConnection403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetConnection403ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse ¶
func (response GetConnection403ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse(w http.ResponseWriter) error
type GetConnection404ApplicationProblemPlusJSONResponse ¶
type GetConnection404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConnection404ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse ¶
func (response GetConnection404ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse(w http.ResponseWriter) error
type GetConnection429ApplicationProblemPlusJSONResponse ¶
type GetConnection429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetConnection429ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse ¶
func (response GetConnection429ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse(w http.ResponseWriter) error
type GetConnectionRequestObject ¶
type GetConnectionRequestObject struct {
ConnectionId ConnectionId `json:"connection_id"`
}
type GetConnectionResponseObject ¶
type GetConnectionResponseObject interface {
VisitGetConnectionResponse(w http.ResponseWriter) error
}
type GetCurrentSession200JSONResponse ¶
type GetCurrentSession200JSONResponse Session
func (GetCurrentSession200JSONResponse) VisitGetCurrentSessionResponse ¶
func (response GetCurrentSession200JSONResponse) VisitGetCurrentSessionResponse(w http.ResponseWriter) error
type GetCurrentSession401ApplicationProblemPlusJSONResponse ¶
type GetCurrentSession401ApplicationProblemPlusJSONResponse struct {
}
func (GetCurrentSession401ApplicationProblemPlusJSONResponse) VisitGetCurrentSessionResponse ¶
func (response GetCurrentSession401ApplicationProblemPlusJSONResponse) VisitGetCurrentSessionResponse(w http.ResponseWriter) error
type GetCurrentSession403ApplicationProblemPlusJSONResponse ¶
type GetCurrentSession403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetCurrentSession403ApplicationProblemPlusJSONResponse) VisitGetCurrentSessionResponse ¶
func (response GetCurrentSession403ApplicationProblemPlusJSONResponse) VisitGetCurrentSessionResponse(w http.ResponseWriter) error
type GetCurrentSession429ApplicationProblemPlusJSONResponse ¶
type GetCurrentSession429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetCurrentSession429ApplicationProblemPlusJSONResponse) VisitGetCurrentSessionResponse ¶
func (response GetCurrentSession429ApplicationProblemPlusJSONResponse) VisitGetCurrentSessionResponse(w http.ResponseWriter) error
type GetCurrentSessionRequestObject ¶
type GetCurrentSessionRequestObject struct {
}
type GetCurrentSessionResponseObject ¶
type GetCurrentSessionResponseObject interface {
VisitGetCurrentSessionResponse(w http.ResponseWriter) error
}
type GetDestination200JSONResponse ¶
type GetDestination200JSONResponse struct {
Body Destination
Headers GetDestination200ResponseHeaders
}
func (GetDestination200JSONResponse) VisitGetDestinationResponse ¶
func (response GetDestination200JSONResponse) VisitGetDestinationResponse(w http.ResponseWriter) error
type GetDestination200ResponseHeaders ¶
type GetDestination200ResponseHeaders struct {
ETag *string
}
type GetDestination401ApplicationProblemPlusJSONResponse ¶
type GetDestination401ApplicationProblemPlusJSONResponse struct {
}
func (GetDestination401ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse ¶
func (response GetDestination401ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse(w http.ResponseWriter) error
type GetDestination403ApplicationProblemPlusJSONResponse ¶
type GetDestination403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetDestination403ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse ¶
func (response GetDestination403ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse(w http.ResponseWriter) error
type GetDestination404ApplicationProblemPlusJSONResponse ¶
type GetDestination404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetDestination404ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse ¶
func (response GetDestination404ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse(w http.ResponseWriter) error
type GetDestination429ApplicationProblemPlusJSONResponse ¶
type GetDestination429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetDestination429ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse ¶
func (response GetDestination429ApplicationProblemPlusJSONResponse) VisitGetDestinationResponse(w http.ResponseWriter) error
type GetDestinationRequestObject ¶
type GetDestinationRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
}
type GetDestinationResponseObject ¶
type GetDestinationResponseObject interface {
VisitGetDestinationResponse(w http.ResponseWriter) error
}
type GetIntegration200JSONResponse ¶
type GetIntegration200JSONResponse struct {
Body Integration
Headers GetIntegration200ResponseHeaders
}
func (GetIntegration200JSONResponse) VisitGetIntegrationResponse ¶
func (response GetIntegration200JSONResponse) VisitGetIntegrationResponse(w http.ResponseWriter) error
type GetIntegration200ResponseHeaders ¶
type GetIntegration200ResponseHeaders struct {
ETag *string
}
type GetIntegration401ApplicationProblemPlusJSONResponse ¶
type GetIntegration401ApplicationProblemPlusJSONResponse struct {
}
func (GetIntegration401ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse ¶
func (response GetIntegration401ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse(w http.ResponseWriter) error
type GetIntegration403ApplicationProblemPlusJSONResponse ¶
type GetIntegration403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetIntegration403ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse ¶
func (response GetIntegration403ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse(w http.ResponseWriter) error
type GetIntegration404ApplicationProblemPlusJSONResponse ¶
type GetIntegration404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetIntegration404ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse ¶
func (response GetIntegration404ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse(w http.ResponseWriter) error
type GetIntegration429ApplicationProblemPlusJSONResponse ¶
type GetIntegration429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetIntegration429ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse ¶
func (response GetIntegration429ApplicationProblemPlusJSONResponse) VisitGetIntegrationResponse(w http.ResponseWriter) error
type GetIntegrationRequestObject ¶
type GetIntegrationRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
}
type GetIntegrationResponseObject ¶
type GetIntegrationResponseObject interface {
VisitGetIntegrationResponse(w http.ResponseWriter) error
}
type GetKeyring200JSONResponse ¶
type GetKeyring200JSONResponse Keyring
func (GetKeyring200JSONResponse) VisitGetKeyringResponse ¶
func (response GetKeyring200JSONResponse) VisitGetKeyringResponse(w http.ResponseWriter) error
type GetKeyring401ApplicationProblemPlusJSONResponse ¶
type GetKeyring401ApplicationProblemPlusJSONResponse struct {
}
func (GetKeyring401ApplicationProblemPlusJSONResponse) VisitGetKeyringResponse ¶
func (response GetKeyring401ApplicationProblemPlusJSONResponse) VisitGetKeyringResponse(w http.ResponseWriter) error
type GetKeyring403ApplicationProblemPlusJSONResponse ¶
type GetKeyring403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetKeyring403ApplicationProblemPlusJSONResponse) VisitGetKeyringResponse ¶
func (response GetKeyring403ApplicationProblemPlusJSONResponse) VisitGetKeyringResponse(w http.ResponseWriter) error
type GetKeyring429ApplicationProblemPlusJSONResponse ¶
type GetKeyring429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetKeyring429ApplicationProblemPlusJSONResponse) VisitGetKeyringResponse ¶
func (response GetKeyring429ApplicationProblemPlusJSONResponse) VisitGetKeyringResponse(w http.ResponseWriter) error
type GetKeyringRequestObject ¶
type GetKeyringRequestObject struct {
}
type GetKeyringResponseObject ¶
type GetKeyringResponseObject interface {
VisitGetKeyringResponse(w http.ResponseWriter) error
}
type GetLinkRule200JSONResponse ¶
type GetLinkRule200JSONResponse struct {
Body LinkRule
Headers GetLinkRule200ResponseHeaders
}
func (GetLinkRule200JSONResponse) VisitGetLinkRuleResponse ¶
func (response GetLinkRule200JSONResponse) VisitGetLinkRuleResponse(w http.ResponseWriter) error
type GetLinkRule200ResponseHeaders ¶
type GetLinkRule200ResponseHeaders struct {
ETag *string
}
type GetLinkRule401ApplicationProblemPlusJSONResponse ¶
type GetLinkRule401ApplicationProblemPlusJSONResponse struct {
}
func (GetLinkRule401ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse ¶
func (response GetLinkRule401ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse(w http.ResponseWriter) error
type GetLinkRule403ApplicationProblemPlusJSONResponse ¶
type GetLinkRule403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetLinkRule403ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse ¶
func (response GetLinkRule403ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse(w http.ResponseWriter) error
type GetLinkRule404ApplicationProblemPlusJSONResponse ¶
type GetLinkRule404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetLinkRule404ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse ¶
func (response GetLinkRule404ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse(w http.ResponseWriter) error
type GetLinkRule429ApplicationProblemPlusJSONResponse ¶
type GetLinkRule429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetLinkRule429ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse ¶
func (response GetLinkRule429ApplicationProblemPlusJSONResponse) VisitGetLinkRuleResponse(w http.ResponseWriter) error
type GetLinkRuleRequestObject ¶
type GetLinkRuleRequestObject struct {
LinkRuleId LinkRuleId `json:"link_rule_id"`
}
type GetLinkRuleResponseObject ¶
type GetLinkRuleResponseObject interface {
VisitGetLinkRuleResponse(w http.ResponseWriter) error
}
type GetLookupTable200JSONResponse ¶
type GetLookupTable200JSONResponse struct {
Body LookupTable
Headers GetLookupTable200ResponseHeaders
}
func (GetLookupTable200JSONResponse) VisitGetLookupTableResponse ¶
func (response GetLookupTable200JSONResponse) VisitGetLookupTableResponse(w http.ResponseWriter) error
type GetLookupTable200ResponseHeaders ¶
type GetLookupTable200ResponseHeaders struct {
ETag *string
}
type GetLookupTable401ApplicationProblemPlusJSONResponse ¶
type GetLookupTable401ApplicationProblemPlusJSONResponse struct {
}
func (GetLookupTable401ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse ¶
func (response GetLookupTable401ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse(w http.ResponseWriter) error
type GetLookupTable403ApplicationProblemPlusJSONResponse ¶
type GetLookupTable403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetLookupTable403ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse ¶
func (response GetLookupTable403ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse(w http.ResponseWriter) error
type GetLookupTable404ApplicationProblemPlusJSONResponse ¶
type GetLookupTable404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetLookupTable404ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse ¶
func (response GetLookupTable404ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse(w http.ResponseWriter) error
type GetLookupTable429ApplicationProblemPlusJSONResponse ¶
type GetLookupTable429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetLookupTable429ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse ¶
func (response GetLookupTable429ApplicationProblemPlusJSONResponse) VisitGetLookupTableResponse(w http.ResponseWriter) error
type GetLookupTableRequestObject ¶
type GetLookupTableRequestObject struct {
LookupTableId LookupTableId `json:"lookup_table_id"`
}
type GetLookupTableResponseObject ¶
type GetLookupTableResponseObject interface {
VisitGetLookupTableResponse(w http.ResponseWriter) error
}
type GetMe200JSONResponse ¶
type GetMe200JSONResponse Me
func (GetMe200JSONResponse) VisitGetMeResponse ¶
func (response GetMe200JSONResponse) VisitGetMeResponse(w http.ResponseWriter) error
type GetMe401ApplicationProblemPlusJSONResponse ¶
type GetMe401ApplicationProblemPlusJSONResponse struct {
}
func (GetMe401ApplicationProblemPlusJSONResponse) VisitGetMeResponse ¶
func (response GetMe401ApplicationProblemPlusJSONResponse) VisitGetMeResponse(w http.ResponseWriter) error
type GetMe403ApplicationProblemPlusJSONResponse ¶
type GetMe403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetMe403ApplicationProblemPlusJSONResponse) VisitGetMeResponse ¶
func (response GetMe403ApplicationProblemPlusJSONResponse) VisitGetMeResponse(w http.ResponseWriter) error
type GetMe429ApplicationProblemPlusJSONResponse ¶
type GetMe429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetMe429ApplicationProblemPlusJSONResponse) VisitGetMeResponse ¶
func (response GetMe429ApplicationProblemPlusJSONResponse) VisitGetMeResponse(w http.ResponseWriter) error
type GetMeRequestObject ¶
type GetMeRequestObject struct {
}
type GetMeResponseObject ¶
type GetMeResponseObject interface {
VisitGetMeResponse(w http.ResponseWriter) error
}
type GetMyTotp200JSONResponse ¶
type GetMyTotp200JSONResponse TotpStatus
func (GetMyTotp200JSONResponse) VisitGetMyTotpResponse ¶
func (response GetMyTotp200JSONResponse) VisitGetMyTotpResponse(w http.ResponseWriter) error
type GetMyTotp401ApplicationProblemPlusJSONResponse ¶
type GetMyTotp401ApplicationProblemPlusJSONResponse struct {
}
func (GetMyTotp401ApplicationProblemPlusJSONResponse) VisitGetMyTotpResponse ¶
func (response GetMyTotp401ApplicationProblemPlusJSONResponse) VisitGetMyTotpResponse(w http.ResponseWriter) error
type GetMyTotp403ApplicationProblemPlusJSONResponse ¶
type GetMyTotp403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetMyTotp403ApplicationProblemPlusJSONResponse) VisitGetMyTotpResponse ¶
func (response GetMyTotp403ApplicationProblemPlusJSONResponse) VisitGetMyTotpResponse(w http.ResponseWriter) error
type GetMyTotp429ApplicationProblemPlusJSONResponse ¶
type GetMyTotp429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetMyTotp429ApplicationProblemPlusJSONResponse) VisitGetMyTotpResponse ¶
func (response GetMyTotp429ApplicationProblemPlusJSONResponse) VisitGetMyTotpResponse(w http.ResponseWriter) error
type GetMyTotpRequestObject ¶
type GetMyTotpRequestObject struct {
}
type GetMyTotpResponseObject ¶
type GetMyTotpResponseObject interface {
VisitGetMyTotpResponse(w http.ResponseWriter) error
}
type GetOidcSettings200JSONResponse ¶
type GetOidcSettings200JSONResponse struct {
Body OidcSettings
Headers GetOidcSettings200ResponseHeaders
}
func (GetOidcSettings200JSONResponse) VisitGetOidcSettingsResponse ¶
func (response GetOidcSettings200JSONResponse) VisitGetOidcSettingsResponse(w http.ResponseWriter) error
type GetOidcSettings200ResponseHeaders ¶
type GetOidcSettings200ResponseHeaders struct {
ETag *string
}
type GetOidcSettings401ApplicationProblemPlusJSONResponse ¶
type GetOidcSettings401ApplicationProblemPlusJSONResponse struct {
}
func (GetOidcSettings401ApplicationProblemPlusJSONResponse) VisitGetOidcSettingsResponse ¶
func (response GetOidcSettings401ApplicationProblemPlusJSONResponse) VisitGetOidcSettingsResponse(w http.ResponseWriter) error
type GetOidcSettings403ApplicationProblemPlusJSONResponse ¶
type GetOidcSettings403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetOidcSettings403ApplicationProblemPlusJSONResponse) VisitGetOidcSettingsResponse ¶
func (response GetOidcSettings403ApplicationProblemPlusJSONResponse) VisitGetOidcSettingsResponse(w http.ResponseWriter) error
type GetOidcSettings429ApplicationProblemPlusJSONResponse ¶
type GetOidcSettings429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetOidcSettings429ApplicationProblemPlusJSONResponse) VisitGetOidcSettingsResponse ¶
func (response GetOidcSettings429ApplicationProblemPlusJSONResponse) VisitGetOidcSettingsResponse(w http.ResponseWriter) error
type GetOidcSettingsRequestObject ¶
type GetOidcSettingsRequestObject struct {
}
type GetOidcSettingsResponseObject ¶
type GetOidcSettingsResponseObject interface {
VisitGetOidcSettingsResponse(w http.ResponseWriter) error
}
type GetOpenApiSpec200ApplicationyamlResponse ¶
func (GetOpenApiSpec200ApplicationyamlResponse) VisitGetOpenApiSpecResponse ¶
func (response GetOpenApiSpec200ApplicationyamlResponse) VisitGetOpenApiSpecResponse(w http.ResponseWriter) error
type GetOpenApiSpecRequestObject ¶
type GetOpenApiSpecRequestObject struct {
}
type GetOpenApiSpecResponseObject ¶
type GetOpenApiSpecResponseObject interface {
VisitGetOpenApiSpecResponse(w http.ResponseWriter) error
}
type GetOrganization200JSONResponse ¶
type GetOrganization200JSONResponse struct {
Body Organization
Headers GetOrganization200ResponseHeaders
}
func (GetOrganization200JSONResponse) VisitGetOrganizationResponse ¶
func (response GetOrganization200JSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error
type GetOrganization200ResponseHeaders ¶
type GetOrganization200ResponseHeaders struct {
ETag *string
}
type GetOrganization401ApplicationProblemPlusJSONResponse ¶
type GetOrganization401ApplicationProblemPlusJSONResponse struct {
}
func (GetOrganization401ApplicationProblemPlusJSONResponse) VisitGetOrganizationResponse ¶
func (response GetOrganization401ApplicationProblemPlusJSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error
type GetOrganization403ApplicationProblemPlusJSONResponse ¶
type GetOrganization403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetOrganization403ApplicationProblemPlusJSONResponse) VisitGetOrganizationResponse ¶
func (response GetOrganization403ApplicationProblemPlusJSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error
type GetOrganization429ApplicationProblemPlusJSONResponse ¶
type GetOrganization429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetOrganization429ApplicationProblemPlusJSONResponse) VisitGetOrganizationResponse ¶
func (response GetOrganization429ApplicationProblemPlusJSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error
type GetOrganizationRequestObject ¶
type GetOrganizationRequestObject struct {
}
type GetOrganizationResponseObject ¶
type GetOrganizationResponseObject interface {
VisitGetOrganizationResponse(w http.ResponseWriter) error
}
type GetOutboundPolicy200JSONResponse ¶
type GetOutboundPolicy200JSONResponse struct {
Body OutboundPolicy
Headers GetOutboundPolicy200ResponseHeaders
}
func (GetOutboundPolicy200JSONResponse) VisitGetOutboundPolicyResponse ¶
func (response GetOutboundPolicy200JSONResponse) VisitGetOutboundPolicyResponse(w http.ResponseWriter) error
type GetOutboundPolicy200ResponseHeaders ¶
type GetOutboundPolicy200ResponseHeaders struct {
ETag *string
}
type GetOutboundPolicy401ApplicationProblemPlusJSONResponse ¶
type GetOutboundPolicy401ApplicationProblemPlusJSONResponse struct {
}
func (GetOutboundPolicy401ApplicationProblemPlusJSONResponse) VisitGetOutboundPolicyResponse ¶
func (response GetOutboundPolicy401ApplicationProblemPlusJSONResponse) VisitGetOutboundPolicyResponse(w http.ResponseWriter) error
type GetOutboundPolicy403ApplicationProblemPlusJSONResponse ¶
type GetOutboundPolicy403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetOutboundPolicy403ApplicationProblemPlusJSONResponse) VisitGetOutboundPolicyResponse ¶
func (response GetOutboundPolicy403ApplicationProblemPlusJSONResponse) VisitGetOutboundPolicyResponse(w http.ResponseWriter) error
type GetOutboundPolicy429ApplicationProblemPlusJSONResponse ¶
type GetOutboundPolicy429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetOutboundPolicy429ApplicationProblemPlusJSONResponse) VisitGetOutboundPolicyResponse ¶
func (response GetOutboundPolicy429ApplicationProblemPlusJSONResponse) VisitGetOutboundPolicyResponse(w http.ResponseWriter) error
type GetOutboundPolicyRequestObject ¶
type GetOutboundPolicyRequestObject struct {
}
type GetOutboundPolicyResponseObject ¶
type GetOutboundPolicyResponseObject interface {
VisitGetOutboundPolicyResponse(w http.ResponseWriter) error
}
type GetRoute200JSONResponse ¶
type GetRoute200JSONResponse struct {
Body Route
Headers GetRoute200ResponseHeaders
}
func (GetRoute200JSONResponse) VisitGetRouteResponse ¶
func (response GetRoute200JSONResponse) VisitGetRouteResponse(w http.ResponseWriter) error
type GetRoute200ResponseHeaders ¶
type GetRoute200ResponseHeaders struct {
ETag *string
}
type GetRoute401ApplicationProblemPlusJSONResponse ¶
type GetRoute401ApplicationProblemPlusJSONResponse struct {
}
func (GetRoute401ApplicationProblemPlusJSONResponse) VisitGetRouteResponse ¶
func (response GetRoute401ApplicationProblemPlusJSONResponse) VisitGetRouteResponse(w http.ResponseWriter) error
type GetRoute403ApplicationProblemPlusJSONResponse ¶
type GetRoute403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetRoute403ApplicationProblemPlusJSONResponse) VisitGetRouteResponse ¶
func (response GetRoute403ApplicationProblemPlusJSONResponse) VisitGetRouteResponse(w http.ResponseWriter) error
type GetRoute404ApplicationProblemPlusJSONResponse ¶
type GetRoute404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetRoute404ApplicationProblemPlusJSONResponse) VisitGetRouteResponse ¶
func (response GetRoute404ApplicationProblemPlusJSONResponse) VisitGetRouteResponse(w http.ResponseWriter) error
type GetRoute429ApplicationProblemPlusJSONResponse ¶
type GetRoute429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetRoute429ApplicationProblemPlusJSONResponse) VisitGetRouteResponse ¶
func (response GetRoute429ApplicationProblemPlusJSONResponse) VisitGetRouteResponse(w http.ResponseWriter) error
type GetRouteRequestObject ¶
type GetRouteRequestObject struct {
RouteId RouteId `json:"route_id"`
}
type GetRouteResponseObject ¶
type GetRouteResponseObject interface {
VisitGetRouteResponse(w http.ResponseWriter) error
}
type GetServiceAccount200JSONResponse ¶
type GetServiceAccount200JSONResponse struct {
Body ServiceAccount
Headers GetServiceAccount200ResponseHeaders
}
func (GetServiceAccount200JSONResponse) VisitGetServiceAccountResponse ¶
func (response GetServiceAccount200JSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error
type GetServiceAccount200ResponseHeaders ¶
type GetServiceAccount200ResponseHeaders struct {
ETag *string
}
type GetServiceAccount401ApplicationProblemPlusJSONResponse ¶
type GetServiceAccount401ApplicationProblemPlusJSONResponse struct {
}
func (GetServiceAccount401ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse ¶
func (response GetServiceAccount401ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error
type GetServiceAccount403ApplicationProblemPlusJSONResponse ¶
type GetServiceAccount403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetServiceAccount403ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse ¶
func (response GetServiceAccount403ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error
type GetServiceAccount404ApplicationProblemPlusJSONResponse ¶
type GetServiceAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetServiceAccount404ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse ¶
func (response GetServiceAccount404ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error
type GetServiceAccount429ApplicationProblemPlusJSONResponse ¶
type GetServiceAccount429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetServiceAccount429ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse ¶
func (response GetServiceAccount429ApplicationProblemPlusJSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error
type GetServiceAccountRequestObject ¶
type GetServiceAccountRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
}
type GetServiceAccountResponseObject ¶
type GetServiceAccountResponseObject interface {
VisitGetServiceAccountResponse(w http.ResponseWriter) error
}
type GetSignInOptions200JSONResponse ¶
type GetSignInOptions200JSONResponse SignInOptions
func (GetSignInOptions200JSONResponse) VisitGetSignInOptionsResponse ¶
func (response GetSignInOptions200JSONResponse) VisitGetSignInOptionsResponse(w http.ResponseWriter) error
type GetSignInOptions429ApplicationProblemPlusJSONResponse ¶
type GetSignInOptions429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetSignInOptions429ApplicationProblemPlusJSONResponse) VisitGetSignInOptionsResponse ¶
func (response GetSignInOptions429ApplicationProblemPlusJSONResponse) VisitGetSignInOptionsResponse(w http.ResponseWriter) error
type GetSignInOptionsRequestObject ¶
type GetSignInOptionsRequestObject struct {
}
type GetSignInOptionsResponseObject ¶
type GetSignInOptionsResponseObject interface {
VisitGetSignInOptionsResponse(w http.ResponseWriter) error
}
type GetSigningSecret200JSONResponse ¶
type GetSigningSecret200JSONResponse SigningSecretStatus
func (GetSigningSecret200JSONResponse) VisitGetSigningSecretResponse ¶
func (response GetSigningSecret200JSONResponse) VisitGetSigningSecretResponse(w http.ResponseWriter) error
type GetSigningSecret401ApplicationProblemPlusJSONResponse ¶
type GetSigningSecret401ApplicationProblemPlusJSONResponse struct {
}
func (GetSigningSecret401ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse ¶
func (response GetSigningSecret401ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse(w http.ResponseWriter) error
type GetSigningSecret403ApplicationProblemPlusJSONResponse ¶
type GetSigningSecret403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetSigningSecret403ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse ¶
func (response GetSigningSecret403ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse(w http.ResponseWriter) error
type GetSigningSecret404ApplicationProblemPlusJSONResponse ¶
type GetSigningSecret404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetSigningSecret404ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse ¶
func (response GetSigningSecret404ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse(w http.ResponseWriter) error
type GetSigningSecret409ApplicationProblemPlusJSONResponse ¶
type GetSigningSecret409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (GetSigningSecret409ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse ¶
func (response GetSigningSecret409ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse(w http.ResponseWriter) error
type GetSigningSecret429ApplicationProblemPlusJSONResponse ¶
type GetSigningSecret429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetSigningSecret429ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse ¶
func (response GetSigningSecret429ApplicationProblemPlusJSONResponse) VisitGetSigningSecretResponse(w http.ResponseWriter) error
type GetSigningSecretRequestObject ¶
type GetSigningSecretRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
}
type GetSigningSecretResponseObject ¶
type GetSigningSecretResponseObject interface {
VisitGetSigningSecretResponse(w http.ResponseWriter) error
}
type GetStoredSnapshot200JSONResponse ¶
type GetStoredSnapshot200JSONResponse StoredSnapshot
func (GetStoredSnapshot200JSONResponse) VisitGetStoredSnapshotResponse ¶
func (response GetStoredSnapshot200JSONResponse) VisitGetStoredSnapshotResponse(w http.ResponseWriter) error
type GetStoredSnapshot401ApplicationProblemPlusJSONResponse ¶
type GetStoredSnapshot401ApplicationProblemPlusJSONResponse struct {
}
func (GetStoredSnapshot401ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse ¶
func (response GetStoredSnapshot401ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse(w http.ResponseWriter) error
type GetStoredSnapshot403ApplicationProblemPlusJSONResponse ¶
type GetStoredSnapshot403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetStoredSnapshot403ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse ¶
func (response GetStoredSnapshot403ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse(w http.ResponseWriter) error
type GetStoredSnapshot404ApplicationProblemPlusJSONResponse ¶
type GetStoredSnapshot404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetStoredSnapshot404ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse ¶
func (response GetStoredSnapshot404ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse(w http.ResponseWriter) error
type GetStoredSnapshot429ApplicationProblemPlusJSONResponse ¶
type GetStoredSnapshot429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetStoredSnapshot429ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse ¶
func (response GetStoredSnapshot429ApplicationProblemPlusJSONResponse) VisitGetStoredSnapshotResponse(w http.ResponseWriter) error
type GetStoredSnapshotRequestObject ¶
type GetStoredSnapshotRequestObject struct {
StoredSnapshotId StoredSnapshotId `json:"stored_snapshot_id"`
}
type GetStoredSnapshotResponseObject ¶
type GetStoredSnapshotResponseObject interface {
VisitGetStoredSnapshotResponse(w http.ResponseWriter) error
}
type GetSystemStatus200JSONResponse ¶
type GetSystemStatus200JSONResponse SystemStatus
func (GetSystemStatus200JSONResponse) VisitGetSystemStatusResponse ¶
func (response GetSystemStatus200JSONResponse) VisitGetSystemStatusResponse(w http.ResponseWriter) error
type GetSystemStatus401ApplicationProblemPlusJSONResponse ¶
type GetSystemStatus401ApplicationProblemPlusJSONResponse struct {
}
func (GetSystemStatus401ApplicationProblemPlusJSONResponse) VisitGetSystemStatusResponse ¶
func (response GetSystemStatus401ApplicationProblemPlusJSONResponse) VisitGetSystemStatusResponse(w http.ResponseWriter) error
type GetSystemStatus403ApplicationProblemPlusJSONResponse ¶
type GetSystemStatus403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetSystemStatus403ApplicationProblemPlusJSONResponse) VisitGetSystemStatusResponse ¶
func (response GetSystemStatus403ApplicationProblemPlusJSONResponse) VisitGetSystemStatusResponse(w http.ResponseWriter) error
type GetSystemStatus429ApplicationProblemPlusJSONResponse ¶
type GetSystemStatus429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetSystemStatus429ApplicationProblemPlusJSONResponse) VisitGetSystemStatusResponse ¶
func (response GetSystemStatus429ApplicationProblemPlusJSONResponse) VisitGetSystemStatusResponse(w http.ResponseWriter) error
type GetSystemStatusRequestObject ¶
type GetSystemStatusRequestObject struct {
}
type GetSystemStatusResponseObject ¶
type GetSystemStatusResponseObject interface {
VisitGetSystemStatusResponse(w http.ResponseWriter) error
}
type GetUser200JSONResponse ¶
type GetUser200JSONResponse struct {
Body User
Headers GetUser200ResponseHeaders
}
func (GetUser200JSONResponse) VisitGetUserResponse ¶
func (response GetUser200JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser200ResponseHeaders ¶
type GetUser200ResponseHeaders struct {
ETag *string
}
type GetUser401ApplicationProblemPlusJSONResponse ¶
type GetUser401ApplicationProblemPlusJSONResponse struct {
}
func (GetUser401ApplicationProblemPlusJSONResponse) VisitGetUserResponse ¶
func (response GetUser401ApplicationProblemPlusJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser403ApplicationProblemPlusJSONResponse ¶
type GetUser403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (GetUser403ApplicationProblemPlusJSONResponse) VisitGetUserResponse ¶
func (response GetUser403ApplicationProblemPlusJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser404ApplicationProblemPlusJSONResponse ¶
type GetUser404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetUser404ApplicationProblemPlusJSONResponse) VisitGetUserResponse ¶
func (response GetUser404ApplicationProblemPlusJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser429ApplicationProblemPlusJSONResponse ¶
type GetUser429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (GetUser429ApplicationProblemPlusJSONResponse) VisitGetUserResponse ¶
func (response GetUser429ApplicationProblemPlusJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUserRequestObject ¶
type GetUserRequestObject struct {
UserId UserId `json:"user_id"`
}
type GetUserResponseObject ¶
type GetUserResponseObject interface {
VisitGetUserResponse(w http.ResponseWriter) error
}
type Gone ¶
type Gone = Problem
Gone RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type GoneApplicationProblemPlusJSONResponse ¶
type GoneApplicationProblemPlusJSONResponse Problem
type GroupKeyPreview ¶
type GroupKeyPreview struct {
// Current Absent when no saved Route was given.
Current *GroupKeyPreviewSide `json:"current,omitempty"`
PeriodSeconds int `json:"period_seconds"`
Proposed GroupKeyPreviewSide `json:"proposed"`
// Truncated True when `routing.group_key_preview_max_alerts` stopped the reading before the start of the period, so the counts cover only its most recent part.
Truncated bool `json:"truncated"`
}
GroupKeyPreview Covers the Alerts reported firing in the Stored Snapshots of the period that the Route would take at its place in the current evaluation order (Matchers without a saved Route stand for a new Route just before the Default route), each Alert once with its Integration's Static labels, read from the newest Snapshot back and at most `routing.group_key_preview_max_alerts` of them.
type GroupKeyPreviewExample ¶
type GroupKeyPreviewExample struct {
AlertCount int `json:"alert_count"`
// GroupKeyValues Label names and values.
GroupKeyValues Labels `json:"group_key_values"`
}
GroupKeyPreviewExample defines model for GroupKeyPreviewExample.
type GroupKeyPreviewRequest ¶
type GroupKeyPreviewRequest struct {
// Matchers Matchers to preview instead of, or without, a saved Route's own.
Matchers *[]Matcher `json:"matchers,omitempty"`
// PeriodSeconds Defaults to `routing.group_key_preview_period`; at most `retention.stored_snapshots`.
PeriodSeconds *int `json:"period_seconds,omitempty"`
ProposedGroupKey []string `json:"proposed_group_key"`
// RouteId A saved Route; its current Group key is the "current" side.
RouteId nullable.Nullable[NullablePublicId] `json:"route_id,omitempty"`
}
GroupKeyPreviewRequest Preview of a Group key. Give `route_id` for a saved Route, `matchers` for a Route that is not saved yet (the create form), or both to try other Matchers on a saved Route; at least one of the two is required (`422`).
type GroupKeyPreviewSide ¶
type GroupKeyPreviewSide struct {
AlertGroupCount int `json:"alert_group_count"`
// Examples The `routing.group_key_preview_examples` largest Alert Groups.
Examples []GroupKeyPreviewExample `json:"examples"`
}
GroupKeyPreviewSide defines model for GroupKeyPreviewSide.
type HeaderTemplate ¶
type HeaderTemplate struct {
Name string `json:"name"`
// Value Go template; may reference `{{ .Secrets.<name> }}`, never a Secret value.
Value string `json:"value"`
}
HeaderTemplate defines model for HeaderTemplate.
type HealthState ¶
type HealthState string
HealthState defines model for HealthState.
const ( Broken HealthState = "broken" Healthy HealthState = "healthy" )
Defines values for HealthState.
func (HealthState) Valid ¶
func (e HealthState) Valid() bool
Valid indicates whether the value is a known member of the HealthState enum.
type HeartbeatGet204Response ¶
type HeartbeatGet204Response struct {
}
func (HeartbeatGet204Response) VisitHeartbeatGetResponse ¶
func (response HeartbeatGet204Response) VisitHeartbeatGetResponse(w http.ResponseWriter) error
type HeartbeatGet401ApplicationProblemPlusJSONResponse ¶
type HeartbeatGet401ApplicationProblemPlusJSONResponse struct {
}
func (HeartbeatGet401ApplicationProblemPlusJSONResponse) VisitHeartbeatGetResponse ¶
func (response HeartbeatGet401ApplicationProblemPlusJSONResponse) VisitHeartbeatGetResponse(w http.ResponseWriter) error
type HeartbeatGetRequestObject ¶
type HeartbeatGetRequestObject struct {
}
type HeartbeatGetResponseObject ¶
type HeartbeatGetResponseObject interface {
VisitHeartbeatGetResponse(w http.ResponseWriter) error
}
type HeartbeatGetWithPathToken204Response ¶
type HeartbeatGetWithPathToken204Response struct {
}
func (HeartbeatGetWithPathToken204Response) VisitHeartbeatGetWithPathTokenResponse ¶
func (response HeartbeatGetWithPathToken204Response) VisitHeartbeatGetWithPathTokenResponse(w http.ResponseWriter) error
type HeartbeatGetWithPathToken401ApplicationProblemPlusJSONResponse ¶
type HeartbeatGetWithPathToken401ApplicationProblemPlusJSONResponse struct {
}
func (HeartbeatGetWithPathToken401ApplicationProblemPlusJSONResponse) VisitHeartbeatGetWithPathTokenResponse ¶
func (response HeartbeatGetWithPathToken401ApplicationProblemPlusJSONResponse) VisitHeartbeatGetWithPathTokenResponse(w http.ResponseWriter) error
type HeartbeatGetWithPathTokenRequestObject ¶
type HeartbeatGetWithPathTokenRequestObject struct {
IngestToken IngestTokenInPath `json:"ingest_token"`
}
type HeartbeatGetWithPathTokenResponseObject ¶
type HeartbeatGetWithPathTokenResponseObject interface {
VisitHeartbeatGetWithPathTokenResponse(w http.ResponseWriter) error
}
type HeartbeatInfo ¶
type HeartbeatInfo struct {
Enabled bool `json:"enabled"`
LastSignalAt nullable.Nullable[time.Time] `json:"last_signal_at,omitempty"`
LostSince nullable.Nullable[time.Time] `json:"lost_since,omitempty"`
State HeartbeatState `json:"state"`
TimeoutSeconds int `json:"timeout_seconds"`
// Url Heartbeat URL on the ingest listener, without a token. Send one of the Integration's tokens as `Authorization: Bearer`, or append it as `/<token>`.
Url *string `json:"url,omitempty"`
}
HeartbeatInfo defines model for HeartbeatInfo.
type HeartbeatPost204Response ¶
type HeartbeatPost204Response struct {
}
func (HeartbeatPost204Response) VisitHeartbeatPostResponse ¶
func (response HeartbeatPost204Response) VisitHeartbeatPostResponse(w http.ResponseWriter) error
type HeartbeatPost401ApplicationProblemPlusJSONResponse ¶
type HeartbeatPost401ApplicationProblemPlusJSONResponse struct {
}
func (HeartbeatPost401ApplicationProblemPlusJSONResponse) VisitHeartbeatPostResponse ¶
func (response HeartbeatPost401ApplicationProblemPlusJSONResponse) VisitHeartbeatPostResponse(w http.ResponseWriter) error
type HeartbeatPostRequestObject ¶
type HeartbeatPostRequestObject struct {
}
type HeartbeatPostResponseObject ¶
type HeartbeatPostResponseObject interface {
VisitHeartbeatPostResponse(w http.ResponseWriter) error
}
type HeartbeatPostWithPathToken204Response ¶
type HeartbeatPostWithPathToken204Response struct {
}
func (HeartbeatPostWithPathToken204Response) VisitHeartbeatPostWithPathTokenResponse ¶
func (response HeartbeatPostWithPathToken204Response) VisitHeartbeatPostWithPathTokenResponse(w http.ResponseWriter) error
type HeartbeatPostWithPathToken401ApplicationProblemPlusJSONResponse ¶
type HeartbeatPostWithPathToken401ApplicationProblemPlusJSONResponse struct {
}
func (HeartbeatPostWithPathToken401ApplicationProblemPlusJSONResponse) VisitHeartbeatPostWithPathTokenResponse ¶
func (response HeartbeatPostWithPathToken401ApplicationProblemPlusJSONResponse) VisitHeartbeatPostWithPathTokenResponse(w http.ResponseWriter) error
type HeartbeatPostWithPathTokenRequestObject ¶
type HeartbeatPostWithPathTokenRequestObject struct {
IngestToken IngestTokenInPath `json:"ingest_token"`
}
type HeartbeatPostWithPathTokenResponseObject ¶
type HeartbeatPostWithPathTokenResponseObject interface {
VisitHeartbeatPostWithPathTokenResponse(w http.ResponseWriter) error
}
type HeartbeatSettingsInput ¶
type HeartbeatSettingsInput struct {
Enabled bool `json:"enabled"`
// TimeoutSeconds Defaults to `integration.heartbeat_timeout`.
TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
}
HeartbeatSettingsInput defines model for HeartbeatSettingsInput.
type HeartbeatState ¶
type HeartbeatState string
HeartbeatState defines model for HeartbeatState.
const ( Live HeartbeatState = "live" Lost HeartbeatState = "lost" NotConfigured HeartbeatState = "not_configured" Waiting HeartbeatState = "waiting" )
Defines values for HeartbeatState.
func (HeartbeatState) Valid ¶
func (e HeartbeatState) Valid() bool
Valid indicates whether the value is a known member of the HeartbeatState enum.
type HintEvent ¶
type HintEvent struct {
// Id A `public_id` in the format of `PublicId`, or null.
Id nullable.Nullable[NullablePublicId] `json:"id"`
Type HintEventType `json:"type"`
}
HintEvent Data of a server-sent event named `hint`, delivered on `GET /live-updates`.
| `type` | `id` | Meaning | |---|---|---| | `alert-group` | the Alert Group `public_id` | It changed (status, Alerts, Timeline, delivery state): refresh its page and any list row. | | `alert-groups` | null | New Alert Groups may match the current list filters or counts: the UI announces "N new". | | `integration`, `route`, `connection`, `destination` | the resource `public_id`, or null for the whole collection | A configuration resource changed. | | `organization` | null | Organization settings changed. | | `system-notices`, `system-status` | null | The Organization-wide notices, or the System status, changed. | | `account-links` | null | An Account link of the signed-in user appeared or disappeared. |
type HintEventType ¶
type HintEventType string
HintEventType defines model for HintEvent.Type.
const ( HintEventTypeAccountLinks HintEventType = "account-links" HintEventTypeAlertGroup HintEventType = "alert-group" HintEventTypeAlertGroups HintEventType = "alert-groups" HintEventTypeConnection HintEventType = "connection" HintEventTypeDestination HintEventType = "destination" HintEventTypeIntegration HintEventType = "integration" HintEventTypeOrganization HintEventType = "organization" HintEventTypeRoute HintEventType = "route" HintEventTypeSystemNotices HintEventType = "system-notices" HintEventTypeSystemStatus HintEventType = "system-status" )
Defines values for HintEventType.
func (HintEventType) Valid ¶
func (e HintEventType) Valid() bool
Valid indicates whether the value is a known member of the HintEventType enum.
type IfMatchOptional ¶
type IfMatchOptional = string
IfMatchOptional defines model for IfMatchOptional.
type IngestSnapshot202Response ¶
type IngestSnapshot202Response struct {
}
func (IngestSnapshot202Response) VisitIngestSnapshotResponse ¶
func (response IngestSnapshot202Response) VisitIngestSnapshotResponse(w http.ResponseWriter) error
type IngestSnapshot401ApplicationProblemPlusJSONResponse ¶
type IngestSnapshot401ApplicationProblemPlusJSONResponse struct {
}
func (IngestSnapshot401ApplicationProblemPlusJSONResponse) VisitIngestSnapshotResponse ¶
func (response IngestSnapshot401ApplicationProblemPlusJSONResponse) VisitIngestSnapshotResponse(w http.ResponseWriter) error
type IngestSnapshot413ApplicationProblemPlusJSONResponse ¶
type IngestSnapshot413ApplicationProblemPlusJSONResponse struct {
PayloadTooLargeApplicationProblemPlusJSONResponse
}
func (IngestSnapshot413ApplicationProblemPlusJSONResponse) VisitIngestSnapshotResponse ¶
func (response IngestSnapshot413ApplicationProblemPlusJSONResponse) VisitIngestSnapshotResponse(w http.ResponseWriter) error
type IngestSnapshot500ApplicationProblemPlusJSONResponse ¶
type IngestSnapshot500ApplicationProblemPlusJSONResponse struct {
InternalErrorApplicationProblemPlusJSONResponse
}
func (IngestSnapshot500ApplicationProblemPlusJSONResponse) VisitIngestSnapshotResponse ¶
func (response IngestSnapshot500ApplicationProblemPlusJSONResponse) VisitIngestSnapshotResponse(w http.ResponseWriter) error
type IngestSnapshotResponseObject ¶
type IngestSnapshotResponseObject interface {
VisitIngestSnapshotResponse(w http.ResponseWriter) error
}
type IngestSnapshotWithPathToken202Response ¶
type IngestSnapshotWithPathToken202Response struct {
}
func (IngestSnapshotWithPathToken202Response) VisitIngestSnapshotWithPathTokenResponse ¶
func (response IngestSnapshotWithPathToken202Response) VisitIngestSnapshotWithPathTokenResponse(w http.ResponseWriter) error
type IngestSnapshotWithPathToken401ApplicationProblemPlusJSONResponse ¶
type IngestSnapshotWithPathToken401ApplicationProblemPlusJSONResponse struct {
}
func (IngestSnapshotWithPathToken401ApplicationProblemPlusJSONResponse) VisitIngestSnapshotWithPathTokenResponse ¶
func (response IngestSnapshotWithPathToken401ApplicationProblemPlusJSONResponse) VisitIngestSnapshotWithPathTokenResponse(w http.ResponseWriter) error
type IngestSnapshotWithPathToken413ApplicationProblemPlusJSONResponse ¶
type IngestSnapshotWithPathToken413ApplicationProblemPlusJSONResponse struct {
PayloadTooLargeApplicationProblemPlusJSONResponse
}
func (IngestSnapshotWithPathToken413ApplicationProblemPlusJSONResponse) VisitIngestSnapshotWithPathTokenResponse ¶
func (response IngestSnapshotWithPathToken413ApplicationProblemPlusJSONResponse) VisitIngestSnapshotWithPathTokenResponse(w http.ResponseWriter) error
type IngestSnapshotWithPathToken500ApplicationProblemPlusJSONResponse ¶
type IngestSnapshotWithPathToken500ApplicationProblemPlusJSONResponse struct {
InternalErrorApplicationProblemPlusJSONResponse
}
func (IngestSnapshotWithPathToken500ApplicationProblemPlusJSONResponse) VisitIngestSnapshotWithPathTokenResponse ¶
func (response IngestSnapshotWithPathToken500ApplicationProblemPlusJSONResponse) VisitIngestSnapshotWithPathTokenResponse(w http.ResponseWriter) error
type IngestSnapshotWithPathTokenRequestObject ¶
type IngestSnapshotWithPathTokenRequestObject struct {
IngestToken IngestTokenInPath `json:"ingest_token"`
ContentType string
Body io.Reader
}
type IngestSnapshotWithPathTokenResponseObject ¶
type IngestSnapshotWithPathTokenResponseObject interface {
VisitIngestSnapshotWithPathTokenResponse(w http.ResponseWriter) error
}
type IngestTokenInPath ¶
type IngestTokenInPath = string
IngestTokenInPath defines model for IngestTokenInPath.
type Integration ¶
type Integration struct {
// Builtin True for the "Muster" Integration of Internal alerts; it cannot be edited or deleted and has no tokens.
Builtin bool `json:"builtin"`
// ConnectionMode The Connection mode; in L1 the only mode is `webhook_only` (webhook-only in the glossary).
ConnectionMode IntegrationConnectionMode `json:"connection_mode"`
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description,omitempty"`
DuplicateWindowSeconds int `json:"duplicate_window_seconds"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
Heartbeat HeartbeatInfo `json:"heartbeat"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// IngestUrl Ingestion endpoint on the ingest listener (`MUSTER_INGEST_URL` + `/api/v1/ingest`).
IngestUrl *string `json:"ingest_url,omitempty"`
LastSnapshotAt nullable.Nullable[time.Time] `json:"last_snapshot_at,omitempty"`
// Name Unique in the Organization.
Name string `json:"name"`
// OpenAlertGroupCount Open Alert Groups that deleting the Integration would resolve.
OpenAlertGroupCount int `json:"open_alert_group_count"`
SnapshotCount int `json:"snapshot_count"`
// StaticLabels Label names and values.
StaticLabels Labels `json:"static_labels"`
Warnings []IntegrationWarning `json:"warnings"`
}
Integration defines model for Integration.
type IntegrationAlert ¶
type IntegrationAlert struct {
// AlertGroup The Alert Group the Alert lives in.
AlertGroup *AlertGroupRef `json:"alert_group,omitempty"`
AlertmanagerGroups []string `json:"alertmanager_groups"`
// Annotations Label names and values.
Annotations *Labels `json:"annotations,omitempty"`
Fingerprint string `json:"fingerprint"`
// Labels Label names and values.
Labels Labels `json:"labels"`
LastSeenAt time.Time `json:"last_seen_at"`
// ResolveReason Why an Alert resolved; null while it fires.
ResolveReason nullable.Nullable[NullableResolveReason] `json:"resolve_reason,omitempty"`
// ResolveReasonText Full reason text, for example "Integration prod-eu deleted".
ResolveReasonText nullable.Nullable[string] `json:"resolve_reason_text,omitempty"`
ResolvedAt nullable.Nullable[time.Time] `json:"resolved_at,omitempty"`
// Route The Route that took the Alert; absent before routing.
Route *EntityRef `json:"route,omitempty"`
SeverityLevel *SeverityLevel `json:"severity_level,omitempty"`
// SeverityRaw Severity value as received when it has no mapping.
SeverityRaw nullable.Nullable[string] `json:"severity_raw,omitempty"`
StartsAt time.Time `json:"starts_at"`
State AlertState `json:"state"`
// StaticLabelWarnings Static labels the Alert already carried; its own value won.
StaticLabelWarnings *[]string `json:"static_label_warnings,omitempty"`
}
IntegrationAlert An Alert as Muster tracks it for one Integration.
type IntegrationAlertList ¶
type IntegrationAlertList struct {
Items []IntegrationAlert `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
IntegrationAlertList defines model for IntegrationAlertList.
type IntegrationAttention ¶
type IntegrationAttention struct {
Integration EntityRef `json:"integration"`
Issue IntegrationAttentionIssue `json:"issue"`
Since nullable.Nullable[time.Time] `json:"since,omitempty"`
}
IntegrationAttention defines model for IntegrationAttention.
type IntegrationAttentionIssue ¶
type IntegrationAttentionIssue string
IntegrationAttentionIssue defines model for IntegrationAttention.Issue.
const ( IntegrationAttentionIssueHeartbeatLost IntegrationAttentionIssue = "heartbeat_lost" IntegrationAttentionIssueSnapshotTruncated IntegrationAttentionIssue = "snapshot_truncated" )
Defines values for IntegrationAttentionIssue.
func (IntegrationAttentionIssue) Valid ¶
func (e IntegrationAttentionIssue) Valid() bool
Valid indicates whether the value is a known member of the IntegrationAttentionIssue enum.
type IntegrationBase ¶
type IntegrationBase struct {
// ConnectionMode The Connection mode; in L1 the only mode is `webhook_only` (webhook-only in the glossary).
ConnectionMode IntegrationBaseConnectionMode `json:"connection_mode"`
Description *string `json:"description,omitempty"`
DuplicateWindowSeconds int `json:"duplicate_window_seconds"`
// Name Unique in the Organization.
Name string `json:"name"`
// StaticLabels Label names and values.
StaticLabels Labels `json:"static_labels"`
}
IntegrationBase defines model for IntegrationBase.
type IntegrationBaseConnectionMode ¶
type IntegrationBaseConnectionMode string
IntegrationBaseConnectionMode The Connection mode; in L1 the only mode is `webhook_only` (webhook-only in the glossary).
const (
IntegrationBaseConnectionModeWebhookOnly IntegrationBaseConnectionMode = "webhook_only"
)
Defines values for IntegrationBaseConnectionMode.
func (IntegrationBaseConnectionMode) Valid ¶
func (e IntegrationBaseConnectionMode) Valid() bool
Valid indicates whether the value is a known member of the IntegrationBaseConnectionMode enum.
type IntegrationConnectionMode ¶
type IntegrationConnectionMode string
IntegrationConnectionMode The Connection mode; in L1 the only mode is `webhook_only` (webhook-only in the glossary).
const (
IntegrationConnectionModeWebhookOnly IntegrationConnectionMode = "webhook_only"
)
Defines values for IntegrationConnectionMode.
func (IntegrationConnectionMode) Valid ¶
func (e IntegrationConnectionMode) Valid() bool
Valid indicates whether the value is a known member of the IntegrationConnectionMode enum.
type IntegrationId ¶
type IntegrationId = PublicId
IntegrationId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type IntegrationInput ¶
type IntegrationInput struct {
// ConnectionMode The Connection mode; in L1 the only mode is `webhook_only` (webhook-only in the glossary).
ConnectionMode IntegrationInputConnectionMode `json:"connection_mode"`
Description *string `json:"description,omitempty"`
DuplicateWindowSeconds int `json:"duplicate_window_seconds"`
Heartbeat HeartbeatSettingsInput `json:"heartbeat"`
// Name Unique in the Organization.
Name string `json:"name"`
// StaticLabels Label names and values.
StaticLabels Labels `json:"static_labels"`
}
IntegrationInput defines model for IntegrationInput.
type IntegrationInputConnectionMode ¶
type IntegrationInputConnectionMode string
IntegrationInputConnectionMode The Connection mode; in L1 the only mode is `webhook_only` (webhook-only in the glossary).
const (
IntegrationInputConnectionModeWebhookOnly IntegrationInputConnectionMode = "webhook_only"
)
Defines values for IntegrationInputConnectionMode.
func (IntegrationInputConnectionMode) Valid ¶
func (e IntegrationInputConnectionMode) Valid() bool
Valid indicates whether the value is a known member of the IntegrationInputConnectionMode enum.
type IntegrationList ¶
type IntegrationList struct {
Items []Integration `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
IntegrationList defines model for IntegrationList.
type IntegrationToken ¶
type IntegrationToken struct {
CreatedAt time.Time `json:"created_at"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
LastUsedAt nullable.Nullable[time.Time] `json:"last_used_at,omitempty"`
Name *string `json:"name,omitempty"`
}
IntegrationToken defines model for IntegrationToken.
type IntegrationTokenCreate ¶
type IntegrationTokenCreate struct {
// Name Optional label to tell tokens apart during rotation.
Name *string `json:"name,omitempty"`
}
IntegrationTokenCreate defines model for IntegrationTokenCreate.
type IntegrationTokenCreated ¶
type IntegrationTokenCreated struct {
// AlertmanagerSnippet Alertmanager receiver and route (YAML) with `send_resolved: true`, `max_alerts: 0`, `http_config.authorization` and the token. The route is a child route with `continue: true`, to be placed first, followed by a commented catch-all child route for the default receiver, to be kept last, so that the default receiver keeps getting alerts. Shown once.
AlertmanagerSnippet string `json:"alertmanager_snippet"`
// HeartbeatSnippet Always-firing rule, route and receiver for the Heartbeat; null while the Heartbeat is off. Shown once.
HeartbeatSnippet nullable.Nullable[string] `json:"heartbeat_snippet,omitempty"`
Token IntegrationToken `json:"token"`
// Value The token, starting with `mstr_int_`. Shown once.
Value string `json:"value"`
}
IntegrationTokenCreated defines model for IntegrationTokenCreated.
type IntegrationTokenId ¶
type IntegrationTokenId = PublicId
IntegrationTokenId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type IntegrationTokenList ¶
type IntegrationTokenList struct {
Items []IntegrationToken `json:"items"`
}
IntegrationTokenList defines model for IntegrationTokenList.
type IntegrationWarning ¶
type IntegrationWarning struct {
Kind IntegrationWarningKind `json:"kind"`
RepeatIntervalSeconds nullable.Nullable[int] `json:"repeat_interval_seconds,omitempty"`
// RoutePath For `long_repeat_interval`; the Alertmanager route.
RoutePath nullable.Nullable[string] `json:"route_path,omitempty"`
// Since For `heartbeat_lost`.
Since nullable.Nullable[time.Time] `json:"since,omitempty"`
// TruncatedGroupCount For `snapshot_truncated`.
TruncatedGroupCount nullable.Nullable[int] `json:"truncated_group_count,omitempty"`
}
IntegrationWarning defines model for IntegrationWarning.
type IntegrationWarningKind ¶
type IntegrationWarningKind string
IntegrationWarningKind defines model for IntegrationWarning.Kind.
const ( IntegrationWarningKindHeartbeatLost IntegrationWarningKind = "heartbeat_lost" IntegrationWarningKindHeartbeatNotConfigured IntegrationWarningKind = "heartbeat_not_configured" IntegrationWarningKindHeartbeatWaiting IntegrationWarningKind = "heartbeat_waiting" IntegrationWarningKindLongRepeatInterval IntegrationWarningKind = "long_repeat_interval" IntegrationWarningKindSnapshotTruncated IntegrationWarningKind = "snapshot_truncated" )
Defines values for IntegrationWarningKind.
func (IntegrationWarningKind) Valid ¶
func (e IntegrationWarningKind) Valid() bool
Valid indicates whether the value is a known member of the IntegrationWarningKind enum.
type InternalError ¶
type InternalError = Problem
InternalError RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type InternalErrorApplicationProblemPlusJSONResponse ¶
type InternalErrorApplicationProblemPlusJSONResponse Problem
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type Keyring ¶
type Keyring struct {
Keys []KeyringKey `json:"keys"`
}
Keyring defines model for Keyring.
type KeyringKey ¶
type KeyringKey struct {
Active bool `json:"active"`
// HeldBy Live replicas that hold the key.
HeldBy []string `json:"held_by"`
// Id Key id derived from the key material.
Id string `json:"id"`
// MissingOn Live replicas that do not hold the key; activation is refused while this is not empty.
MissingOn []string `json:"missing_on"`
// Needed A stored Secret or an open Root message still depends on the key.
Needed bool `json:"needed"`
// Removable The key is no longer used and can be removed from `MUSTER_SECRET_KEYS`.
Removable bool `json:"removable"`
}
KeyringKey defines model for KeyringKey.
type LifecycleEvent ¶
type LifecycleEvent string
LifecycleEvent Lifecycle event names, exactly as in the lifecycle event tables (every row is one Timeline entry with the row's kind, loudness and Mentions). The Timeline kind of each event is given in `x-event-kinds`.
const ( LifecycleEventAckTimeout LifecycleEvent = "ack_timeout" LifecycleEventAcknowledged LifecycleEvent = "acknowledged" LifecycleEventAlertContinued LifecycleEvent = "alert_continued" LifecycleEventAlertReplaced LifecycleEvent = "alert_replaced" LifecycleEventAlertResolved LifecycleEvent = "alert_resolved" LifecycleEventAlertsAdded LifecycleEvent = "alerts_added" LifecycleEventAnnotationsChanged LifecycleEvent = "annotations_changed" LifecycleEventAutoUnacknowledged LifecycleEvent = "auto_unacknowledged" LifecycleEventCreated LifecycleEvent = "created" LifecycleEventMovedToDefaultRoute LifecycleEvent = "moved_to_default_route" LifecycleEventNoteAdded LifecycleEvent = "note_added" LifecycleEventNoticesMissed LifecycleEvent = "notices_missed" LifecycleEventReminder LifecycleEvent = "reminder" LifecycleEventReminderAnswered LifecycleEvent = "reminder_answered" LifecycleEventReopened LifecycleEvent = "reopened" LifecycleEventResolved LifecycleEvent = "resolved" LifecycleEventSeverityRaised LifecycleEvent = "severity_raised" LifecycleEventSnoozeEnded LifecycleEvent = "snooze_ended" LifecycleEventSnoozed LifecycleEvent = "snoozed" LifecycleEventTakeover LifecycleEvent = "takeover" LifecycleEventUnacknowledged LifecycleEvent = "unacknowledged" LifecycleEventUnclaimed LifecycleEvent = "unclaimed" LifecycleEventUnresolved LifecycleEvent = "unresolved" LifecycleEventUnsnoozed LifecycleEvent = "unsnoozed" LifecycleEventUrgencyRaised LifecycleEvent = "urgency_raised" )
Defines values for LifecycleEvent.
func (LifecycleEvent) Valid ¶
func (e LifecycleEvent) Valid() bool
Valid indicates whether the value is a known member of the LifecycleEvent enum.
type Limited ¶
type Limited = Problem
Limited RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type LimitedApplicationProblemPlusJSONResponse ¶
type LimitedApplicationProblemPlusJSONResponse struct {
Body Problem
Headers LimitedResponseHeaders
}
type LimitedResponseHeaders ¶
type LimitedResponseHeaders struct {
RetryAfter *int
}
type LinkRule ¶
type LinkRule struct {
// Builtin The built-in "Explore" rule cannot be deleted (`409` `builtin_immutable`).
Builtin bool `json:"builtin"`
CreatedAt time.Time `json:"created_at"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Matchers []Matcher `json:"matchers"`
Name string `json:"name"`
Scope LinkRuleScope `json:"scope"`
// UrlTemplate Go template that may call `lookup table key column`.
UrlTemplate string `json:"url_template"`
}
LinkRule defines model for LinkRule.
type LinkRuleBase ¶
type LinkRuleBase struct {
Matchers []Matcher `json:"matchers"`
Name string `json:"name"`
Scope LinkRuleScope `json:"scope"`
// UrlTemplate Go template that may call `lookup table key column`.
UrlTemplate string `json:"url_template"`
}
LinkRuleBase defines model for LinkRuleBase.
type LinkRuleId ¶
type LinkRuleId = PublicId
LinkRuleId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type LinkRuleList ¶
type LinkRuleList struct {
Items []LinkRule `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
LinkRuleList defines model for LinkRuleList.
type LinkRuleScope ¶
type LinkRuleScope struct {
// Label The label whose every value yields a link, for `label_value`.
Label nullable.Nullable[string] `json:"label,omitempty"`
Type LinkRuleScopeType `json:"type"`
}
LinkRuleScope defines model for LinkRuleScope.
type LinkRuleScopeType ¶
type LinkRuleScopeType string
LinkRuleScopeType defines model for LinkRuleScope.Type.
const ( LinkRuleScopeTypeAlertGroup LinkRuleScopeType = "alert_group" LinkRuleScopeTypeLabelValue LinkRuleScopeType = "label_value" )
Defines values for LinkRuleScopeType.
func (LinkRuleScopeType) Valid ¶
func (e LinkRuleScopeType) Valid() bool
Valid indicates whether the value is a known member of the LinkRuleScopeType enum.
type LinkableConnection ¶
type LinkableConnection struct {
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Messenger Messenger `json:"messenger"`
Name string `json:"name"`
}
LinkableConnection A Connection an account can be linked through, as the profile sees it; no other Connection field is shown.
type LinkableConnectionList ¶
type LinkableConnectionList struct {
Items []LinkableConnection `json:"items"`
}
LinkableConnectionList defines model for LinkableConnectionList.
type ListAlertGroupAlerts200JSONResponse ¶
type ListAlertGroupAlerts200JSONResponse AlertGroupAlertList
func (ListAlertGroupAlerts200JSONResponse) VisitListAlertGroupAlertsResponse ¶
func (response ListAlertGroupAlerts200JSONResponse) VisitListAlertGroupAlertsResponse(w http.ResponseWriter) error
type ListAlertGroupAlerts400ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupAlerts400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListAlertGroupAlerts400ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse ¶
func (response ListAlertGroupAlerts400ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse(w http.ResponseWriter) error
type ListAlertGroupAlerts401ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupAlerts401ApplicationProblemPlusJSONResponse struct {
}
func (ListAlertGroupAlerts401ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse ¶
func (response ListAlertGroupAlerts401ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse(w http.ResponseWriter) error
type ListAlertGroupAlerts403ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupAlerts403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListAlertGroupAlerts403ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse ¶
func (response ListAlertGroupAlerts403ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse(w http.ResponseWriter) error
type ListAlertGroupAlerts404ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupAlerts404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListAlertGroupAlerts404ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse ¶
func (response ListAlertGroupAlerts404ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse(w http.ResponseWriter) error
type ListAlertGroupAlerts429ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupAlerts429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListAlertGroupAlerts429ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse ¶
func (response ListAlertGroupAlerts429ApplicationProblemPlusJSONResponse) VisitListAlertGroupAlertsResponse(w http.ResponseWriter) error
type ListAlertGroupAlertsParams ¶
type ListAlertGroupAlertsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// State Filter by firing or resolved; firing Alerts come first.
State *AlertState `form:"state,omitempty" json:"state,omitempty"`
}
ListAlertGroupAlertsParams defines parameters for ListAlertGroupAlerts.
type ListAlertGroupAlertsRequestObject ¶
type ListAlertGroupAlertsRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
Params ListAlertGroupAlertsParams
}
type ListAlertGroupAlertsResponseObject ¶
type ListAlertGroupAlertsResponseObject interface {
VisitListAlertGroupAlertsResponse(w http.ResponseWriter) error
}
type ListAlertGroupDeliveries200JSONResponse ¶
type ListAlertGroupDeliveries200JSONResponse AlertGroupDeliveryList
func (ListAlertGroupDeliveries200JSONResponse) VisitListAlertGroupDeliveriesResponse ¶
func (response ListAlertGroupDeliveries200JSONResponse) VisitListAlertGroupDeliveriesResponse(w http.ResponseWriter) error
type ListAlertGroupDeliveries401ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupDeliveries401ApplicationProblemPlusJSONResponse struct {
}
func (ListAlertGroupDeliveries401ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse ¶
func (response ListAlertGroupDeliveries401ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse(w http.ResponseWriter) error
type ListAlertGroupDeliveries403ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupDeliveries403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListAlertGroupDeliveries403ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse ¶
func (response ListAlertGroupDeliveries403ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse(w http.ResponseWriter) error
type ListAlertGroupDeliveries404ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupDeliveries404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListAlertGroupDeliveries404ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse ¶
func (response ListAlertGroupDeliveries404ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse(w http.ResponseWriter) error
type ListAlertGroupDeliveries429ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupDeliveries429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListAlertGroupDeliveries429ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse ¶
func (response ListAlertGroupDeliveries429ApplicationProblemPlusJSONResponse) VisitListAlertGroupDeliveriesResponse(w http.ResponseWriter) error
type ListAlertGroupDeliveriesRequestObject ¶
type ListAlertGroupDeliveriesRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
}
type ListAlertGroupDeliveriesResponseObject ¶
type ListAlertGroupDeliveriesResponseObject interface {
VisitListAlertGroupDeliveriesResponse(w http.ResponseWriter) error
}
type ListAlertGroupNotes200JSONResponse ¶
type ListAlertGroupNotes200JSONResponse NoteList
func (ListAlertGroupNotes200JSONResponse) VisitListAlertGroupNotesResponse ¶
func (response ListAlertGroupNotes200JSONResponse) VisitListAlertGroupNotesResponse(w http.ResponseWriter) error
type ListAlertGroupNotes400ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupNotes400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListAlertGroupNotes400ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse ¶
func (response ListAlertGroupNotes400ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse(w http.ResponseWriter) error
type ListAlertGroupNotes401ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupNotes401ApplicationProblemPlusJSONResponse struct {
}
func (ListAlertGroupNotes401ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse ¶
func (response ListAlertGroupNotes401ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse(w http.ResponseWriter) error
type ListAlertGroupNotes403ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupNotes403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListAlertGroupNotes403ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse ¶
func (response ListAlertGroupNotes403ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse(w http.ResponseWriter) error
type ListAlertGroupNotes404ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupNotes404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListAlertGroupNotes404ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse ¶
func (response ListAlertGroupNotes404ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse(w http.ResponseWriter) error
type ListAlertGroupNotes429ApplicationProblemPlusJSONResponse ¶
type ListAlertGroupNotes429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListAlertGroupNotes429ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse ¶
func (response ListAlertGroupNotes429ApplicationProblemPlusJSONResponse) VisitListAlertGroupNotesResponse(w http.ResponseWriter) error
type ListAlertGroupNotesParams ¶
type ListAlertGroupNotesParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAlertGroupNotesParams defines parameters for ListAlertGroupNotes.
type ListAlertGroupNotesRequestObject ¶
type ListAlertGroupNotesRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
Params ListAlertGroupNotesParams
}
type ListAlertGroupNotesResponseObject ¶
type ListAlertGroupNotesResponseObject interface {
VisitListAlertGroupNotesResponse(w http.ResponseWriter) error
}
type ListAlertGroups200JSONResponse ¶
type ListAlertGroups200JSONResponse AlertGroupList
func (ListAlertGroups200JSONResponse) VisitListAlertGroupsResponse ¶
func (response ListAlertGroups200JSONResponse) VisitListAlertGroupsResponse(w http.ResponseWriter) error
type ListAlertGroups400ApplicationProblemPlusJSONResponse ¶
type ListAlertGroups400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListAlertGroups400ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse ¶
func (response ListAlertGroups400ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse(w http.ResponseWriter) error
type ListAlertGroups401ApplicationProblemPlusJSONResponse ¶
type ListAlertGroups401ApplicationProblemPlusJSONResponse struct {
}
func (ListAlertGroups401ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse ¶
func (response ListAlertGroups401ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse(w http.ResponseWriter) error
type ListAlertGroups403ApplicationProblemPlusJSONResponse ¶
type ListAlertGroups403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListAlertGroups403ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse ¶
func (response ListAlertGroups403ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse(w http.ResponseWriter) error
type ListAlertGroups422ApplicationProblemPlusJSONResponse ¶
type ListAlertGroups422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (ListAlertGroups422ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse ¶
func (response ListAlertGroups422ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse(w http.ResponseWriter) error
type ListAlertGroups429ApplicationProblemPlusJSONResponse ¶
type ListAlertGroups429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListAlertGroups429ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse ¶
func (response ListAlertGroups429ApplicationProblemPlusJSONResponse) VisitListAlertGroupsResponse(w http.ResponseWriter) error
type ListAlertGroupsParams ¶
type ListAlertGroupsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Status Only these statuses. Default: firing, acknowledged and snoozed.
Status *AgStatus `form:"status,omitempty" json:"status,omitempty"`
// Route Only these Routes (`public_id`).
Route *AgRoute `form:"route,omitempty" json:"route,omitempty"`
// Integration Only Alert Groups with Alerts from these Integrations (`public_id`).
Integration *AgIntegration `form:"integration,omitempty" json:"integration,omitempty"`
// Severity Only these Severity levels.
Severity *AgSeverity `form:"severity,omitempty" json:"severity,omitempty"`
// Urgent Only Urgent (true) or non-Urgent (false) Alert Groups.
Urgent *AgUrgent `form:"urgent,omitempty" json:"urgent,omitempty"`
// ResolvedBy Only Alert Groups resolved by a person or by the system.
ResolvedBy *AgResolvedBy `form:"resolved_by,omitempty" json:"resolved_by,omitempty"`
// ResolveReason With `resolved_by=system`: the reason.
ResolveReason *AgResolveReason `form:"resolve_reason,omitempty" json:"resolve_reason,omitempty"`
// Reopened True: Reopen count above zero.
Reopened *AgReopened `form:"reopened,omitempty" json:"reopened,omitempty"`
// Label Label filter: one Alertmanager-syntax Matcher per repeat of the parameter, combined with AND. Each value is a whole matcher: `label=namespace%3D%22payments%22&label=pod%3D~%22api-.*%22` means `namespace="payments"` and `pod=~"api-.*"`. There is no per-label shorthand. On Alert Groups the Matchers are matched against the common labels — the labels every Alert of the group has with the same value — so the filter also works on summary rows after the Alerts were removed; a label the Alerts do not share counts as absent. On the Alerts view of an Integration they are matched against each Alert's labels.
Label *LabelMatchers `form:"label,omitempty" json:"label,omitempty"`
// Owner A user `public_id`, `me` (the calling User; `422` for a Service account token), or `none` for Alert Groups nobody owns, resolved ones included.
Owner *AgOwner `form:"owner,omitempty" json:"owner,omitempty"`
// SnoozedNoEnd True: only Alert Groups snoozed with no end. False: every Alert Group but those.
SnoozedNoEnd *AgSnoozedNoEnd `form:"snoozed_no_end,omitempty" json:"snoozed_no_end,omitempty"`
// DeliveryProblem Any Destination is Not delivered, waiting for a Broken Destination, deleted in the messenger or has a Thread not attached.
DeliveryProblem *AgDeliveryProblem `form:"delivery_problem,omitempty" json:"delivery_problem,omitempty"`
// Unclaimed Only Unclaimed Alert Groups.
Unclaimed *AgUnclaimed `form:"unclaimed,omitempty" json:"unclaimed,omitempty"`
// From Start of the time range (RFC 3339, UTC).
From *From `form:"from,omitempty" json:"from,omitempty"`
// To End of the time range (RFC 3339, UTC).
To *To `form:"to,omitempty" json:"to,omitempty"`
// Number The Alert Group with exactly this `#N`. Neither the default time range nor the default status applies: a number is found whatever its age and status (while its summary row is kept); the other filters still apply.
Number *AgNumber `form:"number,omitempty" json:"number,omitempty"`
// Q Search by text in the title or `summary`, case-insensitive and matching parts of words. A `#N` typed here is the same as `number`.
Q *AgQuery `form:"q,omitempty" json:"q,omitempty"`
// Sort Sort field; a leading `-` sorts descending.
Sort *ListAlertGroupsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// LabelColumns Label names whose shared value is returned in `label_values` of each Alert Group.
LabelColumns *AgLabelColumns `form:"label_columns,omitempty" json:"label_columns,omitempty"`
}
ListAlertGroupsParams defines parameters for ListAlertGroups.
type ListAlertGroupsParamsSort ¶
type ListAlertGroupsParamsSort string
ListAlertGroupsParamsSort defines parameters for ListAlertGroups.
const ( ListAlertGroupsParamsSortLastChangedAt ListAlertGroupsParamsSort = "last_changed_at" ListAlertGroupsParamsSortMinusLastChangedAt ListAlertGroupsParamsSort = "-last_changed_at" ListAlertGroupsParamsSortMinusStartedAt ListAlertGroupsParamsSort = "-started_at" ListAlertGroupsParamsSortStartedAt ListAlertGroupsParamsSort = "started_at" )
Defines values for ListAlertGroupsParamsSort.
func (ListAlertGroupsParamsSort) Valid ¶
func (e ListAlertGroupsParamsSort) Valid() bool
Valid indicates whether the value is a known member of the ListAlertGroupsParamsSort enum.
type ListAlertGroupsRequestObject ¶
type ListAlertGroupsRequestObject struct {
Params ListAlertGroupsParams
}
type ListAlertGroupsResponseObject ¶
type ListAlertGroupsResponseObject interface {
VisitListAlertGroupsResponse(w http.ResponseWriter) error
}
type ListAlertmanagerRoutes200JSONResponse ¶
type ListAlertmanagerRoutes200JSONResponse AlertmanagerRouteList
func (ListAlertmanagerRoutes200JSONResponse) VisitListAlertmanagerRoutesResponse ¶
func (response ListAlertmanagerRoutes200JSONResponse) VisitListAlertmanagerRoutesResponse(w http.ResponseWriter) error
type ListAlertmanagerRoutes401ApplicationProblemPlusJSONResponse ¶
type ListAlertmanagerRoutes401ApplicationProblemPlusJSONResponse struct {
}
func (ListAlertmanagerRoutes401ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse ¶
func (response ListAlertmanagerRoutes401ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse(w http.ResponseWriter) error
type ListAlertmanagerRoutes403ApplicationProblemPlusJSONResponse ¶
type ListAlertmanagerRoutes403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListAlertmanagerRoutes403ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse ¶
func (response ListAlertmanagerRoutes403ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse(w http.ResponseWriter) error
type ListAlertmanagerRoutes404ApplicationProblemPlusJSONResponse ¶
type ListAlertmanagerRoutes404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListAlertmanagerRoutes404ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse ¶
func (response ListAlertmanagerRoutes404ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse(w http.ResponseWriter) error
type ListAlertmanagerRoutes429ApplicationProblemPlusJSONResponse ¶
type ListAlertmanagerRoutes429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListAlertmanagerRoutes429ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse ¶
func (response ListAlertmanagerRoutes429ApplicationProblemPlusJSONResponse) VisitListAlertmanagerRoutesResponse(w http.ResponseWriter) error
type ListAlertmanagerRoutesRequestObject ¶
type ListAlertmanagerRoutesRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
}
type ListAlertmanagerRoutesResponseObject ¶
type ListAlertmanagerRoutesResponseObject interface {
VisitListAlertmanagerRoutesResponse(w http.ResponseWriter) error
}
type ListAuditLog200JSONResponse ¶
type ListAuditLog200JSONResponse AuditEntryList
func (ListAuditLog200JSONResponse) VisitListAuditLogResponse ¶
func (response ListAuditLog200JSONResponse) VisitListAuditLogResponse(w http.ResponseWriter) error
type ListAuditLog400ApplicationProblemPlusJSONResponse ¶
type ListAuditLog400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListAuditLog400ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse ¶
func (response ListAuditLog400ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse(w http.ResponseWriter) error
type ListAuditLog401ApplicationProblemPlusJSONResponse ¶
type ListAuditLog401ApplicationProblemPlusJSONResponse struct {
}
func (ListAuditLog401ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse ¶
func (response ListAuditLog401ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse(w http.ResponseWriter) error
type ListAuditLog403ApplicationProblemPlusJSONResponse ¶
type ListAuditLog403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListAuditLog403ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse ¶
func (response ListAuditLog403ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse(w http.ResponseWriter) error
type ListAuditLog429ApplicationProblemPlusJSONResponse ¶
type ListAuditLog429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListAuditLog429ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse ¶
func (response ListAuditLog429ApplicationProblemPlusJSONResponse) VisitListAuditLogResponse(w http.ResponseWriter) error
type ListAuditLogParams ¶
type ListAuditLogParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// From Start of the time range (RFC 3339, UTC).
From *From `form:"from,omitempty" json:"from,omitempty"`
// To End of the time range (RFC 3339, UTC).
To *To `form:"to,omitempty" json:"to,omitempty"`
// Actor Actor `public_id` (user or Service account).
Actor *string `form:"actor,omitempty" json:"actor,omitempty"`
// Action Action type, for example `integration.update`.
Action *string `form:"action,omitempty" json:"action,omitempty"`
// ResourceType Resource type, for example `integration`.
ResourceType *string `form:"resource_type,omitempty" json:"resource_type,omitempty"`
// ResourceId Resource `public_id`.
ResourceId *string `form:"resource_id,omitempty" json:"resource_id,omitempty"`
}
ListAuditLogParams defines parameters for ListAuditLog.
type ListAuditLogRequestObject ¶
type ListAuditLogRequestObject struct {
Params ListAuditLogParams
}
type ListAuditLogResponseObject ¶
type ListAuditLogResponseObject interface {
VisitListAuditLogResponse(w http.ResponseWriter) error
}
type ListConnectionChannels200JSONResponse ¶
type ListConnectionChannels200JSONResponse MattermostChannelList
func (ListConnectionChannels200JSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels200JSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannels400ApplicationProblemPlusJSONResponse ¶
type ListConnectionChannels400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListConnectionChannels400ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels400ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannels401ApplicationProblemPlusJSONResponse ¶
type ListConnectionChannels401ApplicationProblemPlusJSONResponse struct {
}
func (ListConnectionChannels401ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels401ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannels403ApplicationProblemPlusJSONResponse ¶
type ListConnectionChannels403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListConnectionChannels403ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels403ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannels404ApplicationProblemPlusJSONResponse ¶
type ListConnectionChannels404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListConnectionChannels404ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels404ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannels409ApplicationProblemPlusJSONResponse ¶
type ListConnectionChannels409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ListConnectionChannels409ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels409ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannels429ApplicationProblemPlusJSONResponse ¶
type ListConnectionChannels429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListConnectionChannels429ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels429ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannels503ApplicationProblemPlusJSONResponse ¶
type ListConnectionChannels503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (ListConnectionChannels503ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse ¶
func (response ListConnectionChannels503ApplicationProblemPlusJSONResponse) VisitListConnectionChannelsResponse(w http.ResponseWriter) error
type ListConnectionChannelsParams ¶
type ListConnectionChannelsParams struct {
// TeamId Only this team.
TeamId *string `form:"team_id,omitempty" json:"team_id,omitempty"`
// Q Match on channel name.
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
ListConnectionChannelsParams defines parameters for ListConnectionChannels.
type ListConnectionChannelsRequestObject ¶
type ListConnectionChannelsRequestObject struct {
ConnectionId ConnectionId `json:"connection_id"`
Params ListConnectionChannelsParams
}
type ListConnectionChannelsResponseObject ¶
type ListConnectionChannelsResponseObject interface {
VisitListConnectionChannelsResponse(w http.ResponseWriter) error
}
type ListConnections200JSONResponse ¶
type ListConnections200JSONResponse ConnectionList
func (ListConnections200JSONResponse) VisitListConnectionsResponse ¶
func (response ListConnections200JSONResponse) VisitListConnectionsResponse(w http.ResponseWriter) error
type ListConnections400ApplicationProblemPlusJSONResponse ¶
type ListConnections400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListConnections400ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse ¶
func (response ListConnections400ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse(w http.ResponseWriter) error
type ListConnections401ApplicationProblemPlusJSONResponse ¶
type ListConnections401ApplicationProblemPlusJSONResponse struct {
}
func (ListConnections401ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse ¶
func (response ListConnections401ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse(w http.ResponseWriter) error
type ListConnections403ApplicationProblemPlusJSONResponse ¶
type ListConnections403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListConnections403ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse ¶
func (response ListConnections403ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse(w http.ResponseWriter) error
type ListConnections429ApplicationProblemPlusJSONResponse ¶
type ListConnections429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListConnections429ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse ¶
func (response ListConnections429ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse(w http.ResponseWriter) error
type ListConnectionsParams ¶
type ListConnectionsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Type Filter by type.
Type *ConnectionType `form:"type,omitempty" json:"type,omitempty"`
}
ListConnectionsParams defines parameters for ListConnections.
type ListConnectionsRequestObject ¶
type ListConnectionsRequestObject struct {
Params ListConnectionsParams
}
type ListConnectionsResponseObject ¶
type ListConnectionsResponseObject interface {
VisitListConnectionsResponse(w http.ResponseWriter) error
}
type ListDestinationSecrets200JSONResponse ¶
type ListDestinationSecrets200JSONResponse struct {
Body DestinationSecretList
Headers ListDestinationSecrets200ResponseHeaders
}
func (ListDestinationSecrets200JSONResponse) VisitListDestinationSecretsResponse ¶
func (response ListDestinationSecrets200JSONResponse) VisitListDestinationSecretsResponse(w http.ResponseWriter) error
type ListDestinationSecrets200ResponseHeaders ¶
type ListDestinationSecrets200ResponseHeaders struct {
ETag *string
}
type ListDestinationSecrets401ApplicationProblemPlusJSONResponse ¶
type ListDestinationSecrets401ApplicationProblemPlusJSONResponse struct {
}
func (ListDestinationSecrets401ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse ¶
func (response ListDestinationSecrets401ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse(w http.ResponseWriter) error
type ListDestinationSecrets403ApplicationProblemPlusJSONResponse ¶
type ListDestinationSecrets403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListDestinationSecrets403ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse ¶
func (response ListDestinationSecrets403ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse(w http.ResponseWriter) error
type ListDestinationSecrets404ApplicationProblemPlusJSONResponse ¶
type ListDestinationSecrets404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListDestinationSecrets404ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse ¶
func (response ListDestinationSecrets404ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse(w http.ResponseWriter) error
type ListDestinationSecrets409ApplicationProblemPlusJSONResponse ¶
type ListDestinationSecrets409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ListDestinationSecrets409ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse ¶
func (response ListDestinationSecrets409ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse(w http.ResponseWriter) error
type ListDestinationSecrets429ApplicationProblemPlusJSONResponse ¶
type ListDestinationSecrets429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListDestinationSecrets429ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse ¶
func (response ListDestinationSecrets429ApplicationProblemPlusJSONResponse) VisitListDestinationSecretsResponse(w http.ResponseWriter) error
type ListDestinationSecretsRequestObject ¶
type ListDestinationSecretsRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
}
type ListDestinationSecretsResponseObject ¶
type ListDestinationSecretsResponseObject interface {
VisitListDestinationSecretsResponse(w http.ResponseWriter) error
}
type ListDestinations200JSONResponse ¶
type ListDestinations200JSONResponse DestinationList
func (ListDestinations200JSONResponse) VisitListDestinationsResponse ¶
func (response ListDestinations200JSONResponse) VisitListDestinationsResponse(w http.ResponseWriter) error
type ListDestinations400ApplicationProblemPlusJSONResponse ¶
type ListDestinations400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListDestinations400ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse ¶
func (response ListDestinations400ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse(w http.ResponseWriter) error
type ListDestinations401ApplicationProblemPlusJSONResponse ¶
type ListDestinations401ApplicationProblemPlusJSONResponse struct {
}
func (ListDestinations401ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse ¶
func (response ListDestinations401ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse(w http.ResponseWriter) error
type ListDestinations403ApplicationProblemPlusJSONResponse ¶
type ListDestinations403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListDestinations403ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse ¶
func (response ListDestinations403ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse(w http.ResponseWriter) error
type ListDestinations429ApplicationProblemPlusJSONResponse ¶
type ListDestinations429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListDestinations429ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse ¶
func (response ListDestinations429ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse(w http.ResponseWriter) error
type ListDestinationsParams ¶
type ListDestinationsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Type Filter by type.
Type *DestinationType `form:"type,omitempty" json:"type,omitempty"`
// Health Filter by health.
Health *HealthState `form:"health,omitempty" json:"health,omitempty"`
// Route Only Destinations of this Route (`public_id`).
Route *string `form:"route,omitempty" json:"route,omitempty"`
}
ListDestinationsParams defines parameters for ListDestinations.
type ListDestinationsRequestObject ¶
type ListDestinationsRequestObject struct {
Params ListDestinationsParams
}
type ListDestinationsResponseObject ¶
type ListDestinationsResponseObject interface {
VisitListDestinationsResponse(w http.ResponseWriter) error
}
type ListIntegrationAlerts200JSONResponse ¶
type ListIntegrationAlerts200JSONResponse IntegrationAlertList
func (ListIntegrationAlerts200JSONResponse) VisitListIntegrationAlertsResponse ¶
func (response ListIntegrationAlerts200JSONResponse) VisitListIntegrationAlertsResponse(w http.ResponseWriter) error
type ListIntegrationAlerts400ApplicationProblemPlusJSONResponse ¶
type ListIntegrationAlerts400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListIntegrationAlerts400ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse ¶
func (response ListIntegrationAlerts400ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse(w http.ResponseWriter) error
type ListIntegrationAlerts401ApplicationProblemPlusJSONResponse ¶
type ListIntegrationAlerts401ApplicationProblemPlusJSONResponse struct {
}
func (ListIntegrationAlerts401ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse ¶
func (response ListIntegrationAlerts401ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse(w http.ResponseWriter) error
type ListIntegrationAlerts403ApplicationProblemPlusJSONResponse ¶
type ListIntegrationAlerts403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListIntegrationAlerts403ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse ¶
func (response ListIntegrationAlerts403ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse(w http.ResponseWriter) error
type ListIntegrationAlerts404ApplicationProblemPlusJSONResponse ¶
type ListIntegrationAlerts404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListIntegrationAlerts404ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse ¶
func (response ListIntegrationAlerts404ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse(w http.ResponseWriter) error
type ListIntegrationAlerts429ApplicationProblemPlusJSONResponse ¶
type ListIntegrationAlerts429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListIntegrationAlerts429ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse ¶
func (response ListIntegrationAlerts429ApplicationProblemPlusJSONResponse) VisitListIntegrationAlertsResponse(w http.ResponseWriter) error
type ListIntegrationAlertsParams ¶
type ListIntegrationAlertsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// State Filter by state.
State *AlertState `form:"state,omitempty" json:"state,omitempty"`
// Label Label filter: one Alertmanager-syntax Matcher per repeat of the parameter, combined with AND. Each value is a whole matcher: `label=namespace%3D%22payments%22&label=pod%3D~%22api-.*%22` means `namespace="payments"` and `pod=~"api-.*"`. There is no per-label shorthand. On Alert Groups the Matchers are matched against the common labels — the labels every Alert of the group has with the same value — so the filter also works on summary rows after the Alerts were removed; a label the Alerts do not share counts as absent. On the Alerts view of an Integration they are matched against each Alert's labels.
Label *LabelMatchers `form:"label,omitempty" json:"label,omitempty"`
// Q Case-insensitive match on label values.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Sort Sort field; a leading `-` sorts descending.
Sort *ListIntegrationAlertsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
}
ListIntegrationAlertsParams defines parameters for ListIntegrationAlerts.
type ListIntegrationAlertsParamsSort ¶
type ListIntegrationAlertsParamsSort string
ListIntegrationAlertsParamsSort defines parameters for ListIntegrationAlerts.
const ( LastSeenAt ListIntegrationAlertsParamsSort = "last_seen_at" MinusLastSeenAt ListIntegrationAlertsParamsSort = "-last_seen_at" MinusStartsAt ListIntegrationAlertsParamsSort = "-starts_at" StartsAt ListIntegrationAlertsParamsSort = "starts_at" )
Defines values for ListIntegrationAlertsParamsSort.
func (ListIntegrationAlertsParamsSort) Valid ¶
func (e ListIntegrationAlertsParamsSort) Valid() bool
Valid indicates whether the value is a known member of the ListIntegrationAlertsParamsSort enum.
type ListIntegrationAlertsRequestObject ¶
type ListIntegrationAlertsRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
Params ListIntegrationAlertsParams
}
type ListIntegrationAlertsResponseObject ¶
type ListIntegrationAlertsResponseObject interface {
VisitListIntegrationAlertsResponse(w http.ResponseWriter) error
}
type ListIntegrationTokens200JSONResponse ¶
type ListIntegrationTokens200JSONResponse IntegrationTokenList
func (ListIntegrationTokens200JSONResponse) VisitListIntegrationTokensResponse ¶
func (response ListIntegrationTokens200JSONResponse) VisitListIntegrationTokensResponse(w http.ResponseWriter) error
type ListIntegrationTokens401ApplicationProblemPlusJSONResponse ¶
type ListIntegrationTokens401ApplicationProblemPlusJSONResponse struct {
}
func (ListIntegrationTokens401ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse ¶
func (response ListIntegrationTokens401ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse(w http.ResponseWriter) error
type ListIntegrationTokens403ApplicationProblemPlusJSONResponse ¶
type ListIntegrationTokens403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListIntegrationTokens403ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse ¶
func (response ListIntegrationTokens403ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse(w http.ResponseWriter) error
type ListIntegrationTokens404ApplicationProblemPlusJSONResponse ¶
type ListIntegrationTokens404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListIntegrationTokens404ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse ¶
func (response ListIntegrationTokens404ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse(w http.ResponseWriter) error
type ListIntegrationTokens429ApplicationProblemPlusJSONResponse ¶
type ListIntegrationTokens429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListIntegrationTokens429ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse ¶
func (response ListIntegrationTokens429ApplicationProblemPlusJSONResponse) VisitListIntegrationTokensResponse(w http.ResponseWriter) error
type ListIntegrationTokensRequestObject ¶
type ListIntegrationTokensRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
}
type ListIntegrationTokensResponseObject ¶
type ListIntegrationTokensResponseObject interface {
VisitListIntegrationTokensResponse(w http.ResponseWriter) error
}
type ListIntegrations200JSONResponse ¶
type ListIntegrations200JSONResponse IntegrationList
func (ListIntegrations200JSONResponse) VisitListIntegrationsResponse ¶
func (response ListIntegrations200JSONResponse) VisitListIntegrationsResponse(w http.ResponseWriter) error
type ListIntegrations400ApplicationProblemPlusJSONResponse ¶
type ListIntegrations400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListIntegrations400ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse ¶
func (response ListIntegrations400ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse(w http.ResponseWriter) error
type ListIntegrations401ApplicationProblemPlusJSONResponse ¶
type ListIntegrations401ApplicationProblemPlusJSONResponse struct {
}
func (ListIntegrations401ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse ¶
func (response ListIntegrations401ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse(w http.ResponseWriter) error
type ListIntegrations403ApplicationProblemPlusJSONResponse ¶
type ListIntegrations403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListIntegrations403ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse ¶
func (response ListIntegrations403ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse(w http.ResponseWriter) error
type ListIntegrations429ApplicationProblemPlusJSONResponse ¶
type ListIntegrations429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListIntegrations429ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse ¶
func (response ListIntegrations429ApplicationProblemPlusJSONResponse) VisitListIntegrationsResponse(w http.ResponseWriter) error
type ListIntegrationsParams ¶
type ListIntegrationsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListIntegrationsParams defines parameters for ListIntegrations.
type ListIntegrationsRequestObject ¶
type ListIntegrationsRequestObject struct {
Params ListIntegrationsParams
}
type ListIntegrationsResponseObject ¶
type ListIntegrationsResponseObject interface {
VisitListIntegrationsResponse(w http.ResponseWriter) error
}
type ListLinkRules200JSONResponse ¶
type ListLinkRules200JSONResponse LinkRuleList
func (ListLinkRules200JSONResponse) VisitListLinkRulesResponse ¶
func (response ListLinkRules200JSONResponse) VisitListLinkRulesResponse(w http.ResponseWriter) error
type ListLinkRules400ApplicationProblemPlusJSONResponse ¶
type ListLinkRules400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListLinkRules400ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse ¶
func (response ListLinkRules400ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse(w http.ResponseWriter) error
type ListLinkRules401ApplicationProblemPlusJSONResponse ¶
type ListLinkRules401ApplicationProblemPlusJSONResponse struct {
}
func (ListLinkRules401ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse ¶
func (response ListLinkRules401ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse(w http.ResponseWriter) error
type ListLinkRules403ApplicationProblemPlusJSONResponse ¶
type ListLinkRules403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListLinkRules403ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse ¶
func (response ListLinkRules403ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse(w http.ResponseWriter) error
type ListLinkRules429ApplicationProblemPlusJSONResponse ¶
type ListLinkRules429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListLinkRules429ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse ¶
func (response ListLinkRules429ApplicationProblemPlusJSONResponse) VisitListLinkRulesResponse(w http.ResponseWriter) error
type ListLinkRulesParams ¶
type ListLinkRulesParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListLinkRulesParams defines parameters for ListLinkRules.
type ListLinkRulesRequestObject ¶
type ListLinkRulesRequestObject struct {
Params ListLinkRulesParams
}
type ListLinkRulesResponseObject ¶
type ListLinkRulesResponseObject interface {
VisitListLinkRulesResponse(w http.ResponseWriter) error
}
type ListLinkableConnections200JSONResponse ¶
type ListLinkableConnections200JSONResponse LinkableConnectionList
func (ListLinkableConnections200JSONResponse) VisitListLinkableConnectionsResponse ¶
func (response ListLinkableConnections200JSONResponse) VisitListLinkableConnectionsResponse(w http.ResponseWriter) error
type ListLinkableConnections401ApplicationProblemPlusJSONResponse ¶
type ListLinkableConnections401ApplicationProblemPlusJSONResponse struct {
}
func (ListLinkableConnections401ApplicationProblemPlusJSONResponse) VisitListLinkableConnectionsResponse ¶
func (response ListLinkableConnections401ApplicationProblemPlusJSONResponse) VisitListLinkableConnectionsResponse(w http.ResponseWriter) error
type ListLinkableConnections403ApplicationProblemPlusJSONResponse ¶
type ListLinkableConnections403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListLinkableConnections403ApplicationProblemPlusJSONResponse) VisitListLinkableConnectionsResponse ¶
func (response ListLinkableConnections403ApplicationProblemPlusJSONResponse) VisitListLinkableConnectionsResponse(w http.ResponseWriter) error
type ListLinkableConnections429ApplicationProblemPlusJSONResponse ¶
type ListLinkableConnections429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListLinkableConnections429ApplicationProblemPlusJSONResponse) VisitListLinkableConnectionsResponse ¶
func (response ListLinkableConnections429ApplicationProblemPlusJSONResponse) VisitListLinkableConnectionsResponse(w http.ResponseWriter) error
type ListLinkableConnectionsRequestObject ¶
type ListLinkableConnectionsRequestObject struct {
}
type ListLinkableConnectionsResponseObject ¶
type ListLinkableConnectionsResponseObject interface {
VisitListLinkableConnectionsResponse(w http.ResponseWriter) error
}
type ListLookupTables200JSONResponse ¶
type ListLookupTables200JSONResponse LookupTableList
func (ListLookupTables200JSONResponse) VisitListLookupTablesResponse ¶
func (response ListLookupTables200JSONResponse) VisitListLookupTablesResponse(w http.ResponseWriter) error
type ListLookupTables400ApplicationProblemPlusJSONResponse ¶
type ListLookupTables400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListLookupTables400ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse ¶
func (response ListLookupTables400ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse(w http.ResponseWriter) error
type ListLookupTables401ApplicationProblemPlusJSONResponse ¶
type ListLookupTables401ApplicationProblemPlusJSONResponse struct {
}
func (ListLookupTables401ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse ¶
func (response ListLookupTables401ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse(w http.ResponseWriter) error
type ListLookupTables403ApplicationProblemPlusJSONResponse ¶
type ListLookupTables403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListLookupTables403ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse ¶
func (response ListLookupTables403ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse(w http.ResponseWriter) error
type ListLookupTables429ApplicationProblemPlusJSONResponse ¶
type ListLookupTables429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListLookupTables429ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse ¶
func (response ListLookupTables429ApplicationProblemPlusJSONResponse) VisitListLookupTablesResponse(w http.ResponseWriter) error
type ListLookupTablesParams ¶
type ListLookupTablesParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListLookupTablesParams defines parameters for ListLookupTables.
type ListLookupTablesRequestObject ¶
type ListLookupTablesRequestObject struct {
Params ListLookupTablesParams
}
type ListLookupTablesResponseObject ¶
type ListLookupTablesResponseObject interface {
VisitListLookupTablesResponse(w http.ResponseWriter) error
}
type ListMyAccountLinks200JSONResponse ¶
type ListMyAccountLinks200JSONResponse AccountLinkList
func (ListMyAccountLinks200JSONResponse) VisitListMyAccountLinksResponse ¶
func (response ListMyAccountLinks200JSONResponse) VisitListMyAccountLinksResponse(w http.ResponseWriter) error
type ListMyAccountLinks401ApplicationProblemPlusJSONResponse ¶
type ListMyAccountLinks401ApplicationProblemPlusJSONResponse struct {
}
func (ListMyAccountLinks401ApplicationProblemPlusJSONResponse) VisitListMyAccountLinksResponse ¶
func (response ListMyAccountLinks401ApplicationProblemPlusJSONResponse) VisitListMyAccountLinksResponse(w http.ResponseWriter) error
type ListMyAccountLinks403ApplicationProblemPlusJSONResponse ¶
type ListMyAccountLinks403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListMyAccountLinks403ApplicationProblemPlusJSONResponse) VisitListMyAccountLinksResponse ¶
func (response ListMyAccountLinks403ApplicationProblemPlusJSONResponse) VisitListMyAccountLinksResponse(w http.ResponseWriter) error
type ListMyAccountLinks429ApplicationProblemPlusJSONResponse ¶
type ListMyAccountLinks429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListMyAccountLinks429ApplicationProblemPlusJSONResponse) VisitListMyAccountLinksResponse ¶
func (response ListMyAccountLinks429ApplicationProblemPlusJSONResponse) VisitListMyAccountLinksResponse(w http.ResponseWriter) error
type ListMyAccountLinksRequestObject ¶
type ListMyAccountLinksRequestObject struct {
}
type ListMyAccountLinksResponseObject ¶
type ListMyAccountLinksResponseObject interface {
VisitListMyAccountLinksResponse(w http.ResponseWriter) error
}
type ListMySessions200JSONResponse ¶
type ListMySessions200JSONResponse SessionInfoList
func (ListMySessions200JSONResponse) VisitListMySessionsResponse ¶
func (response ListMySessions200JSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error
type ListMySessions401ApplicationProblemPlusJSONResponse ¶
type ListMySessions401ApplicationProblemPlusJSONResponse struct {
}
func (ListMySessions401ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse ¶
func (response ListMySessions401ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error
type ListMySessions403ApplicationProblemPlusJSONResponse ¶
type ListMySessions403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListMySessions403ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse ¶
func (response ListMySessions403ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error
type ListMySessions429ApplicationProblemPlusJSONResponse ¶
type ListMySessions429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListMySessions429ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse ¶
func (response ListMySessions429ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error
type ListMySessionsRequestObject ¶
type ListMySessionsRequestObject struct {
}
type ListMySessionsResponseObject ¶
type ListMySessionsResponseObject interface {
VisitListMySessionsResponse(w http.ResponseWriter) error
}
type ListPersonalAccessTokens200JSONResponse ¶
type ListPersonalAccessTokens200JSONResponse PersonalAccessTokenList
func (ListPersonalAccessTokens200JSONResponse) VisitListPersonalAccessTokensResponse ¶
func (response ListPersonalAccessTokens200JSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error
type ListPersonalAccessTokens401ApplicationProblemPlusJSONResponse ¶
type ListPersonalAccessTokens401ApplicationProblemPlusJSONResponse struct {
}
func (ListPersonalAccessTokens401ApplicationProblemPlusJSONResponse) VisitListPersonalAccessTokensResponse ¶
func (response ListPersonalAccessTokens401ApplicationProblemPlusJSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error
type ListPersonalAccessTokens403ApplicationProblemPlusJSONResponse ¶
type ListPersonalAccessTokens403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListPersonalAccessTokens403ApplicationProblemPlusJSONResponse) VisitListPersonalAccessTokensResponse ¶
func (response ListPersonalAccessTokens403ApplicationProblemPlusJSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error
type ListPersonalAccessTokens429ApplicationProblemPlusJSONResponse ¶
type ListPersonalAccessTokens429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListPersonalAccessTokens429ApplicationProblemPlusJSONResponse) VisitListPersonalAccessTokensResponse ¶
func (response ListPersonalAccessTokens429ApplicationProblemPlusJSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error
type ListPersonalAccessTokensRequestObject ¶
type ListPersonalAccessTokensRequestObject struct {
}
type ListPersonalAccessTokensResponseObject ¶
type ListPersonalAccessTokensResponseObject interface {
VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error
}
type ListRelatedAlertGroups200JSONResponse ¶
type ListRelatedAlertGroups200JSONResponse RelatedAlertGroupList
func (ListRelatedAlertGroups200JSONResponse) VisitListRelatedAlertGroupsResponse ¶
func (response ListRelatedAlertGroups200JSONResponse) VisitListRelatedAlertGroupsResponse(w http.ResponseWriter) error
type ListRelatedAlertGroups400ApplicationProblemPlusJSONResponse ¶
type ListRelatedAlertGroups400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListRelatedAlertGroups400ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse ¶
func (response ListRelatedAlertGroups400ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse(w http.ResponseWriter) error
type ListRelatedAlertGroups401ApplicationProblemPlusJSONResponse ¶
type ListRelatedAlertGroups401ApplicationProblemPlusJSONResponse struct {
}
func (ListRelatedAlertGroups401ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse ¶
func (response ListRelatedAlertGroups401ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse(w http.ResponseWriter) error
type ListRelatedAlertGroups403ApplicationProblemPlusJSONResponse ¶
type ListRelatedAlertGroups403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListRelatedAlertGroups403ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse ¶
func (response ListRelatedAlertGroups403ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse(w http.ResponseWriter) error
type ListRelatedAlertGroups404ApplicationProblemPlusJSONResponse ¶
type ListRelatedAlertGroups404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListRelatedAlertGroups404ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse ¶
func (response ListRelatedAlertGroups404ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse(w http.ResponseWriter) error
type ListRelatedAlertGroups429ApplicationProblemPlusJSONResponse ¶
type ListRelatedAlertGroups429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListRelatedAlertGroups429ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse ¶
func (response ListRelatedAlertGroups429ApplicationProblemPlusJSONResponse) VisitListRelatedAlertGroupsResponse(w http.ResponseWriter) error
type ListRelatedAlertGroupsParams ¶
type ListRelatedAlertGroupsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListRelatedAlertGroupsParams defines parameters for ListRelatedAlertGroups.
type ListRelatedAlertGroupsRequestObject ¶
type ListRelatedAlertGroupsRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
Params ListRelatedAlertGroupsParams
}
type ListRelatedAlertGroupsResponseObject ¶
type ListRelatedAlertGroupsResponseObject interface {
VisitListRelatedAlertGroupsResponse(w http.ResponseWriter) error
}
type ListRoles200JSONResponse ¶
type ListRoles200JSONResponse RoleList
func (ListRoles200JSONResponse) VisitListRolesResponse ¶
func (response ListRoles200JSONResponse) VisitListRolesResponse(w http.ResponseWriter) error
type ListRoles401ApplicationProblemPlusJSONResponse ¶
type ListRoles401ApplicationProblemPlusJSONResponse struct {
}
func (ListRoles401ApplicationProblemPlusJSONResponse) VisitListRolesResponse ¶
func (response ListRoles401ApplicationProblemPlusJSONResponse) VisitListRolesResponse(w http.ResponseWriter) error
type ListRoles403ApplicationProblemPlusJSONResponse ¶
type ListRoles403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListRoles403ApplicationProblemPlusJSONResponse) VisitListRolesResponse ¶
func (response ListRoles403ApplicationProblemPlusJSONResponse) VisitListRolesResponse(w http.ResponseWriter) error
type ListRoles429ApplicationProblemPlusJSONResponse ¶
type ListRoles429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListRoles429ApplicationProblemPlusJSONResponse) VisitListRolesResponse ¶
func (response ListRoles429ApplicationProblemPlusJSONResponse) VisitListRolesResponse(w http.ResponseWriter) error
type ListRolesRequestObject ¶
type ListRolesRequestObject struct {
}
type ListRolesResponseObject ¶
type ListRolesResponseObject interface {
VisitListRolesResponse(w http.ResponseWriter) error
}
type ListRouteProfiles200JSONResponse ¶
type ListRouteProfiles200JSONResponse RouteProfileList
func (ListRouteProfiles200JSONResponse) VisitListRouteProfilesResponse ¶
func (response ListRouteProfiles200JSONResponse) VisitListRouteProfilesResponse(w http.ResponseWriter) error
type ListRouteProfiles401ApplicationProblemPlusJSONResponse ¶
type ListRouteProfiles401ApplicationProblemPlusJSONResponse struct {
}
func (ListRouteProfiles401ApplicationProblemPlusJSONResponse) VisitListRouteProfilesResponse ¶
func (response ListRouteProfiles401ApplicationProblemPlusJSONResponse) VisitListRouteProfilesResponse(w http.ResponseWriter) error
type ListRouteProfiles403ApplicationProblemPlusJSONResponse ¶
type ListRouteProfiles403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListRouteProfiles403ApplicationProblemPlusJSONResponse) VisitListRouteProfilesResponse ¶
func (response ListRouteProfiles403ApplicationProblemPlusJSONResponse) VisitListRouteProfilesResponse(w http.ResponseWriter) error
type ListRouteProfiles429ApplicationProblemPlusJSONResponse ¶
type ListRouteProfiles429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListRouteProfiles429ApplicationProblemPlusJSONResponse) VisitListRouteProfilesResponse ¶
func (response ListRouteProfiles429ApplicationProblemPlusJSONResponse) VisitListRouteProfilesResponse(w http.ResponseWriter) error
type ListRouteProfilesRequestObject ¶
type ListRouteProfilesRequestObject struct {
}
type ListRouteProfilesResponseObject ¶
type ListRouteProfilesResponseObject interface {
VisitListRouteProfilesResponse(w http.ResponseWriter) error
}
type ListRouteSuggestions200JSONResponse ¶
type ListRouteSuggestions200JSONResponse RouteSuggestionList
func (ListRouteSuggestions200JSONResponse) VisitListRouteSuggestionsResponse ¶
func (response ListRouteSuggestions200JSONResponse) VisitListRouteSuggestionsResponse(w http.ResponseWriter) error
type ListRouteSuggestions401ApplicationProblemPlusJSONResponse ¶
type ListRouteSuggestions401ApplicationProblemPlusJSONResponse struct {
}
func (ListRouteSuggestions401ApplicationProblemPlusJSONResponse) VisitListRouteSuggestionsResponse ¶
func (response ListRouteSuggestions401ApplicationProblemPlusJSONResponse) VisitListRouteSuggestionsResponse(w http.ResponseWriter) error
type ListRouteSuggestions403ApplicationProblemPlusJSONResponse ¶
type ListRouteSuggestions403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListRouteSuggestions403ApplicationProblemPlusJSONResponse) VisitListRouteSuggestionsResponse ¶
func (response ListRouteSuggestions403ApplicationProblemPlusJSONResponse) VisitListRouteSuggestionsResponse(w http.ResponseWriter) error
type ListRouteSuggestions429ApplicationProblemPlusJSONResponse ¶
type ListRouteSuggestions429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListRouteSuggestions429ApplicationProblemPlusJSONResponse) VisitListRouteSuggestionsResponse ¶
func (response ListRouteSuggestions429ApplicationProblemPlusJSONResponse) VisitListRouteSuggestionsResponse(w http.ResponseWriter) error
type ListRouteSuggestionsRequestObject ¶
type ListRouteSuggestionsRequestObject struct {
}
type ListRouteSuggestionsResponseObject ¶
type ListRouteSuggestionsResponseObject interface {
VisitListRouteSuggestionsResponse(w http.ResponseWriter) error
}
type ListRoutes200JSONResponse ¶
type ListRoutes200JSONResponse struct {
Body RouteList
Headers ListRoutes200ResponseHeaders
}
func (ListRoutes200JSONResponse) VisitListRoutesResponse ¶
func (response ListRoutes200JSONResponse) VisitListRoutesResponse(w http.ResponseWriter) error
type ListRoutes200ResponseHeaders ¶
type ListRoutes200ResponseHeaders struct {
ETag *string
}
type ListRoutes401ApplicationProblemPlusJSONResponse ¶
type ListRoutes401ApplicationProblemPlusJSONResponse struct {
}
func (ListRoutes401ApplicationProblemPlusJSONResponse) VisitListRoutesResponse ¶
func (response ListRoutes401ApplicationProblemPlusJSONResponse) VisitListRoutesResponse(w http.ResponseWriter) error
type ListRoutes403ApplicationProblemPlusJSONResponse ¶
type ListRoutes403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListRoutes403ApplicationProblemPlusJSONResponse) VisitListRoutesResponse ¶
func (response ListRoutes403ApplicationProblemPlusJSONResponse) VisitListRoutesResponse(w http.ResponseWriter) error
type ListRoutes429ApplicationProblemPlusJSONResponse ¶
type ListRoutes429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListRoutes429ApplicationProblemPlusJSONResponse) VisitListRoutesResponse ¶
func (response ListRoutes429ApplicationProblemPlusJSONResponse) VisitListRoutesResponse(w http.ResponseWriter) error
type ListRoutesRequestObject ¶
type ListRoutesRequestObject struct {
}
type ListRoutesResponseObject ¶
type ListRoutesResponseObject interface {
VisitListRoutesResponse(w http.ResponseWriter) error
}
type ListServiceAccountTokens200JSONResponse ¶
type ListServiceAccountTokens200JSONResponse ServiceAccountTokenList
func (ListServiceAccountTokens200JSONResponse) VisitListServiceAccountTokensResponse ¶
func (response ListServiceAccountTokens200JSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error
type ListServiceAccountTokens401ApplicationProblemPlusJSONResponse ¶
type ListServiceAccountTokens401ApplicationProblemPlusJSONResponse struct {
}
func (ListServiceAccountTokens401ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse ¶
func (response ListServiceAccountTokens401ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error
type ListServiceAccountTokens403ApplicationProblemPlusJSONResponse ¶
type ListServiceAccountTokens403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListServiceAccountTokens403ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse ¶
func (response ListServiceAccountTokens403ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error
type ListServiceAccountTokens404ApplicationProblemPlusJSONResponse ¶
type ListServiceAccountTokens404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListServiceAccountTokens404ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse ¶
func (response ListServiceAccountTokens404ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error
type ListServiceAccountTokens429ApplicationProblemPlusJSONResponse ¶
type ListServiceAccountTokens429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListServiceAccountTokens429ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse ¶
func (response ListServiceAccountTokens429ApplicationProblemPlusJSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error
type ListServiceAccountTokensRequestObject ¶
type ListServiceAccountTokensRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
}
type ListServiceAccountTokensResponseObject ¶
type ListServiceAccountTokensResponseObject interface {
VisitListServiceAccountTokensResponse(w http.ResponseWriter) error
}
type ListServiceAccounts200JSONResponse ¶
type ListServiceAccounts200JSONResponse ServiceAccountList
func (ListServiceAccounts200JSONResponse) VisitListServiceAccountsResponse ¶
func (response ListServiceAccounts200JSONResponse) VisitListServiceAccountsResponse(w http.ResponseWriter) error
type ListServiceAccounts400ApplicationProblemPlusJSONResponse ¶
type ListServiceAccounts400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListServiceAccounts400ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse ¶
func (response ListServiceAccounts400ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse(w http.ResponseWriter) error
type ListServiceAccounts401ApplicationProblemPlusJSONResponse ¶
type ListServiceAccounts401ApplicationProblemPlusJSONResponse struct {
}
func (ListServiceAccounts401ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse ¶
func (response ListServiceAccounts401ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse(w http.ResponseWriter) error
type ListServiceAccounts403ApplicationProblemPlusJSONResponse ¶
type ListServiceAccounts403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListServiceAccounts403ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse ¶
func (response ListServiceAccounts403ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse(w http.ResponseWriter) error
type ListServiceAccounts429ApplicationProblemPlusJSONResponse ¶
type ListServiceAccounts429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListServiceAccounts429ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse ¶
func (response ListServiceAccounts429ApplicationProblemPlusJSONResponse) VisitListServiceAccountsResponse(w http.ResponseWriter) error
type ListServiceAccountsParams ¶
type ListServiceAccountsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListServiceAccountsParams defines parameters for ListServiceAccounts.
type ListServiceAccountsRequestObject ¶
type ListServiceAccountsRequestObject struct {
Params ListServiceAccountsParams
}
type ListServiceAccountsResponseObject ¶
type ListServiceAccountsResponseObject interface {
VisitListServiceAccountsResponse(w http.ResponseWriter) error
}
type ListSeverityValues200JSONResponse ¶
type ListSeverityValues200JSONResponse SeverityValueList
func (ListSeverityValues200JSONResponse) VisitListSeverityValuesResponse ¶
func (response ListSeverityValues200JSONResponse) VisitListSeverityValuesResponse(w http.ResponseWriter) error
type ListSeverityValues401ApplicationProblemPlusJSONResponse ¶
type ListSeverityValues401ApplicationProblemPlusJSONResponse struct {
}
func (ListSeverityValues401ApplicationProblemPlusJSONResponse) VisitListSeverityValuesResponse ¶
func (response ListSeverityValues401ApplicationProblemPlusJSONResponse) VisitListSeverityValuesResponse(w http.ResponseWriter) error
type ListSeverityValues403ApplicationProblemPlusJSONResponse ¶
type ListSeverityValues403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListSeverityValues403ApplicationProblemPlusJSONResponse) VisitListSeverityValuesResponse ¶
func (response ListSeverityValues403ApplicationProblemPlusJSONResponse) VisitListSeverityValuesResponse(w http.ResponseWriter) error
type ListSeverityValues429ApplicationProblemPlusJSONResponse ¶
type ListSeverityValues429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListSeverityValues429ApplicationProblemPlusJSONResponse) VisitListSeverityValuesResponse ¶
func (response ListSeverityValues429ApplicationProblemPlusJSONResponse) VisitListSeverityValuesResponse(w http.ResponseWriter) error
type ListSeverityValuesRequestObject ¶
type ListSeverityValuesRequestObject struct {
}
type ListSeverityValuesResponseObject ¶
type ListSeverityValuesResponseObject interface {
VisitListSeverityValuesResponse(w http.ResponseWriter) error
}
type ListStoredSnapshots200JSONResponse ¶
type ListStoredSnapshots200JSONResponse StoredSnapshotList
func (ListStoredSnapshots200JSONResponse) VisitListStoredSnapshotsResponse ¶
func (response ListStoredSnapshots200JSONResponse) VisitListStoredSnapshotsResponse(w http.ResponseWriter) error
type ListStoredSnapshots400ApplicationProblemPlusJSONResponse ¶
type ListStoredSnapshots400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListStoredSnapshots400ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse ¶
func (response ListStoredSnapshots400ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse(w http.ResponseWriter) error
type ListStoredSnapshots401ApplicationProblemPlusJSONResponse ¶
type ListStoredSnapshots401ApplicationProblemPlusJSONResponse struct {
}
func (ListStoredSnapshots401ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse ¶
func (response ListStoredSnapshots401ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse(w http.ResponseWriter) error
type ListStoredSnapshots403ApplicationProblemPlusJSONResponse ¶
type ListStoredSnapshots403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListStoredSnapshots403ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse ¶
func (response ListStoredSnapshots403ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse(w http.ResponseWriter) error
type ListStoredSnapshots429ApplicationProblemPlusJSONResponse ¶
type ListStoredSnapshots429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListStoredSnapshots429ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse ¶
func (response ListStoredSnapshots429ApplicationProblemPlusJSONResponse) VisitListStoredSnapshotsResponse(w http.ResponseWriter) error
type ListStoredSnapshotsParams ¶
type ListStoredSnapshotsParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Integration Integration `public_id`.
Integration string `form:"integration" json:"integration"`
// From Start of the time range (RFC 3339, UTC).
From *From `form:"from,omitempty" json:"from,omitempty"`
// To End of the time range (RFC 3339, UTC).
To *To `form:"to,omitempty" json:"to,omitempty"`
// State Only Snapshots in these processing states.
State *[]SnapshotState `form:"state,omitempty" json:"state,omitempty"`
}
ListStoredSnapshotsParams defines parameters for ListStoredSnapshots.
type ListStoredSnapshotsRequestObject ¶
type ListStoredSnapshotsRequestObject struct {
Params ListStoredSnapshotsParams
}
type ListStoredSnapshotsResponseObject ¶
type ListStoredSnapshotsResponseObject interface {
VisitListStoredSnapshotsResponse(w http.ResponseWriter) error
}
type ListSystemNotices200JSONResponse ¶
type ListSystemNotices200JSONResponse SystemNoticeList
func (ListSystemNotices200JSONResponse) VisitListSystemNoticesResponse ¶
func (response ListSystemNotices200JSONResponse) VisitListSystemNoticesResponse(w http.ResponseWriter) error
type ListSystemNotices401ApplicationProblemPlusJSONResponse ¶
type ListSystemNotices401ApplicationProblemPlusJSONResponse struct {
}
func (ListSystemNotices401ApplicationProblemPlusJSONResponse) VisitListSystemNoticesResponse ¶
func (response ListSystemNotices401ApplicationProblemPlusJSONResponse) VisitListSystemNoticesResponse(w http.ResponseWriter) error
type ListSystemNotices403ApplicationProblemPlusJSONResponse ¶
type ListSystemNotices403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListSystemNotices403ApplicationProblemPlusJSONResponse) VisitListSystemNoticesResponse ¶
func (response ListSystemNotices403ApplicationProblemPlusJSONResponse) VisitListSystemNoticesResponse(w http.ResponseWriter) error
type ListSystemNotices429ApplicationProblemPlusJSONResponse ¶
type ListSystemNotices429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListSystemNotices429ApplicationProblemPlusJSONResponse) VisitListSystemNoticesResponse ¶
func (response ListSystemNotices429ApplicationProblemPlusJSONResponse) VisitListSystemNoticesResponse(w http.ResponseWriter) error
type ListSystemNoticesRequestObject ¶
type ListSystemNoticesRequestObject struct {
}
type ListSystemNoticesResponseObject ¶
type ListSystemNoticesResponseObject interface {
VisitListSystemNoticesResponse(w http.ResponseWriter) error
}
type ListUserAccountLinks200JSONResponse ¶
type ListUserAccountLinks200JSONResponse AccountLinkList
func (ListUserAccountLinks200JSONResponse) VisitListUserAccountLinksResponse ¶
func (response ListUserAccountLinks200JSONResponse) VisitListUserAccountLinksResponse(w http.ResponseWriter) error
type ListUserAccountLinks401ApplicationProblemPlusJSONResponse ¶
type ListUserAccountLinks401ApplicationProblemPlusJSONResponse struct {
}
func (ListUserAccountLinks401ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse ¶
func (response ListUserAccountLinks401ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse(w http.ResponseWriter) error
type ListUserAccountLinks403ApplicationProblemPlusJSONResponse ¶
type ListUserAccountLinks403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListUserAccountLinks403ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse ¶
func (response ListUserAccountLinks403ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse(w http.ResponseWriter) error
type ListUserAccountLinks404ApplicationProblemPlusJSONResponse ¶
type ListUserAccountLinks404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListUserAccountLinks404ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse ¶
func (response ListUserAccountLinks404ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse(w http.ResponseWriter) error
type ListUserAccountLinks429ApplicationProblemPlusJSONResponse ¶
type ListUserAccountLinks429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListUserAccountLinks429ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse ¶
func (response ListUserAccountLinks429ApplicationProblemPlusJSONResponse) VisitListUserAccountLinksResponse(w http.ResponseWriter) error
type ListUserAccountLinksRequestObject ¶
type ListUserAccountLinksRequestObject struct {
UserId UserId `json:"user_id"`
}
type ListUserAccountLinksResponseObject ¶
type ListUserAccountLinksResponseObject interface {
VisitListUserAccountLinksResponse(w http.ResponseWriter) error
}
type ListUserDirectory200JSONResponse ¶
type ListUserDirectory200JSONResponse UserDirectoryList
func (ListUserDirectory200JSONResponse) VisitListUserDirectoryResponse ¶
func (response ListUserDirectory200JSONResponse) VisitListUserDirectoryResponse(w http.ResponseWriter) error
type ListUserDirectory400ApplicationProblemPlusJSONResponse ¶
type ListUserDirectory400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListUserDirectory400ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse ¶
func (response ListUserDirectory400ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse(w http.ResponseWriter) error
type ListUserDirectory401ApplicationProblemPlusJSONResponse ¶
type ListUserDirectory401ApplicationProblemPlusJSONResponse struct {
}
func (ListUserDirectory401ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse ¶
func (response ListUserDirectory401ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse(w http.ResponseWriter) error
type ListUserDirectory403ApplicationProblemPlusJSONResponse ¶
type ListUserDirectory403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListUserDirectory403ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse ¶
func (response ListUserDirectory403ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse(w http.ResponseWriter) error
type ListUserDirectory429ApplicationProblemPlusJSONResponse ¶
type ListUserDirectory429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListUserDirectory429ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse ¶
func (response ListUserDirectory429ApplicationProblemPlusJSONResponse) VisitListUserDirectoryResponse(w http.ResponseWriter) error
type ListUserDirectoryParams ¶
type ListUserDirectoryParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Q Case-insensitive match on name and login.
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
ListUserDirectoryParams defines parameters for ListUserDirectory.
type ListUserDirectoryRequestObject ¶
type ListUserDirectoryRequestObject struct {
Params ListUserDirectoryParams
}
type ListUserDirectoryResponseObject ¶
type ListUserDirectoryResponseObject interface {
VisitListUserDirectoryResponse(w http.ResponseWriter) error
}
type ListUsers200JSONResponse ¶
type ListUsers200JSONResponse UserList
func (ListUsers200JSONResponse) VisitListUsersResponse ¶
func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsers400ApplicationProblemPlusJSONResponse ¶
type ListUsers400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ListUsers400ApplicationProblemPlusJSONResponse) VisitListUsersResponse ¶
func (response ListUsers400ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsers401ApplicationProblemPlusJSONResponse ¶
type ListUsers401ApplicationProblemPlusJSONResponse struct {
}
func (ListUsers401ApplicationProblemPlusJSONResponse) VisitListUsersResponse ¶
func (response ListUsers401ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsers403ApplicationProblemPlusJSONResponse ¶
type ListUsers403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ListUsers403ApplicationProblemPlusJSONResponse) VisitListUsersResponse ¶
func (response ListUsers403ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsers429ApplicationProblemPlusJSONResponse ¶
type ListUsers429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ListUsers429ApplicationProblemPlusJSONResponse) VisitListUsersResponse ¶
func (response ListUsers429ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsersParams ¶
type ListUsersParams struct {
// Cursor Opaque cursor from `next_cursor` of the previous page. Offsets are not supported.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (`api.page_size`).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Q Case-insensitive match on name, login and email.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Role Filter by Role.
Role *RoleName `form:"role,omitempty" json:"role,omitempty"`
// Status Filter by status.
Status *UserStatus `form:"status,omitempty" json:"status,omitempty"`
// Source Filter by source.
Source *UserSource `form:"source,omitempty" json:"source,omitempty"`
}
ListUsersParams defines parameters for ListUsers.
type ListUsersRequestObject ¶
type ListUsersRequestObject struct {
Params ListUsersParams
}
type ListUsersResponseObject ¶
type ListUsersResponseObject interface {
VisitListUsersResponse(w http.ResponseWriter) error
}
type LookupEntry ¶
type LookupEntry struct {
Key string `json:"key"`
// Values One value per column; every column has a value.
Values map[string]string `json:"values"`
}
LookupEntry defines model for LookupEntry.
type LookupTable ¶
type LookupTable struct {
// Columns Column names, unique within the table.
Columns []string `json:"columns"`
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description,omitempty"`
// Entries Rows. The keys of `values` must be exactly `columns` (`422` otherwise).
Entries []LookupEntry `json:"entries"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Name Unique in the Organization; Link rule templates call `lookup` with it.
Name string `json:"name"`
}
LookupTable defines model for LookupTable.
type LookupTableBase ¶
type LookupTableBase struct {
// Columns Column names, unique within the table.
Columns []string `json:"columns"`
Description *string `json:"description,omitempty"`
// Entries Rows. The keys of `values` must be exactly `columns` (`422` otherwise).
Entries []LookupEntry `json:"entries"`
// Name Unique in the Organization; Link rule templates call `lookup` with it.
Name string `json:"name"`
}
LookupTableBase A table of keys and columns. A template reads one cell with `lookup "<table>" <key> "<column>"`, for example `lookup "grafana" .Labels.cluster "datasource_uid"`. The built-in "Explore" rule uses a table with the columns `address` and `datasource_uid`, one row per environment or cluster.
type LookupTableId ¶
type LookupTableId = PublicId
LookupTableId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type LookupTableList ¶
type LookupTableList struct {
Items []LookupTable `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
LookupTableList defines model for LookupTableList.
type Matcher ¶
type Matcher struct {
Label string `json:"label"`
Op MatcherOp `json:"op"`
// Value Literal value, or an RE2 expression for `=~` and `!~`.
Value string `json:"value"`
}
Matcher A condition on one label, in Alertmanager syntax. Matchers of a Route are combined with AND.
type MatcherOp ¶
type MatcherOp string
MatcherOp defines model for Matcher.Op.
type MattermostAction200JSONResponse ¶
type MattermostAction200JSONResponse MattermostActionAnswer
func (MattermostAction200JSONResponse) VisitMattermostActionResponse ¶
func (response MattermostAction200JSONResponse) VisitMattermostActionResponse(w http.ResponseWriter) error
type MattermostActionAnswer ¶
type MattermostActionAnswer struct {
// EphemeralText Shown by Mattermost to the person who pressed alone, from System, in the Thread of the Root message.
EphemeralText *string `json:"ephemeral_text,omitempty"`
// SkipSlackParsing Always `true` with `ephemeral_text`, so that the text is shown as it is.
SkipSlackParsing *bool `json:"skip_slack_parsing,omitempty"`
}
MattermostActionAnswer Empty, or the text for the person who pressed when its ephemeral post was refused or failed. Never `update`.
type MattermostActionContext ¶
type MattermostActionContext struct {
// Action Opaque action id signed with the button-signature key.
Action string `json:"action"`
// KeyId Id of the key that signed the action id.
KeyId string `json:"key_id"`
}
MattermostActionContext The integration data Muster put on the button. Mattermost does not sign the request, so authenticity rests on the signed action id.
type MattermostActionJSONRequestBody ¶
type MattermostActionJSONRequestBody = MattermostActionRequest
MattermostActionJSONRequestBody defines body for MattermostAction for application/json ContentType.
type MattermostActionRequest ¶
type MattermostActionRequest struct {
ChannelId string `json:"channel_id"`
// Context The integration data Muster put on the button. Mattermost does not sign the request, so authenticity rests on the signed action id.
Context MattermostActionContext `json:"context"`
DataSource *string `json:"data_source,omitempty"`
PostId string `json:"post_id"`
TeamId *string `json:"team_id,omitempty"`
TriggerId *string `json:"trigger_id,omitempty"`
Type *string `json:"type,omitempty"`
UserId string `json:"user_id"`
UserName *string `json:"user_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MattermostActionRequest Button press sent by the Mattermost server.
func (MattermostActionRequest) Get ¶
func (a MattermostActionRequest) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MattermostActionRequest. Returns the specified element and whether it was found
func (MattermostActionRequest) MarshalJSON ¶
func (a MattermostActionRequest) MarshalJSON() ([]byte, error)
Override default JSON handling for MattermostActionRequest to handle AdditionalProperties
func (*MattermostActionRequest) Set ¶
func (a *MattermostActionRequest) Set(fieldName string, value interface{})
Setter for additional properties for MattermostActionRequest
func (*MattermostActionRequest) UnmarshalJSON ¶
func (a *MattermostActionRequest) UnmarshalJSON(b []byte) error
Override default JSON handling for MattermostActionRequest to handle AdditionalProperties
type MattermostActionRequestObject ¶
type MattermostActionRequestObject struct {
ConnectionId ConnectionId `json:"connection_id"`
Body *MattermostActionJSONRequestBody
}
type MattermostActionResponseObject ¶
type MattermostActionResponseObject interface {
VisitMattermostActionResponse(w http.ResponseWriter) error
}
type MattermostChannel ¶
type MattermostChannel struct {
Archived *bool `json:"archived,omitempty"`
DisplayName string `json:"display_name"`
Id string `json:"id"`
Name string `json:"name"`
TeamId string `json:"team_id"`
TeamName string `json:"team_name"`
Type MattermostChannelType `json:"type"`
}
MattermostChannel defines model for MattermostChannel.
type MattermostChannelList ¶
type MattermostChannelList struct {
Items []MattermostChannel `json:"items"`
}
MattermostChannelList defines model for MattermostChannelList.
type MattermostChannelType ¶
type MattermostChannelType string
MattermostChannelType defines model for MattermostChannel.Type.
const ( MattermostChannelTypeDirect MattermostChannelType = "direct" MattermostChannelTypeGroup MattermostChannelType = "group" MattermostChannelTypeOpen MattermostChannelType = "open" MattermostChannelTypePrivate MattermostChannelType = "private" )
Defines values for MattermostChannelType.
func (MattermostChannelType) Valid ¶
func (e MattermostChannelType) Valid() bool
Valid indicates whether the value is a known member of the MattermostChannelType enum.
type MattermostConnection ¶
type MattermostConnection struct {
// BotTokenStatus What a read shows instead of a Secret. The value itself is never returned.
BotTokenStatus SecretStatus `json:"bot_token_status"`
// BotUsername The bot's username, as the last successful Connection check found it; null before one and after the server URL or the bot token changed.
BotUsername nullable.Nullable[string] `json:"bot_username,omitempty"`
// CallbackUrl The address that Mattermost calls for button presses of this Connection — `mattermostAction` at `MUSTER_INGEST_URL` (`<MUSTER_INGEST_URL>/api/v1/callbacks/mattermost/<id>`). The Connection page shows it with the hint about `AllowedUntrustedInternalConnections`.
CallbackUrl *string `json:"callback_url,omitempty"`
CreatedAt time.Time `json:"created_at"`
// DestinationCount A Connection used by Destinations cannot be deleted.
DestinationCount int `json:"destination_count"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
Name string `json:"name"`
// Proxy Per-client proxy as read. The password is a Secret.
Proxy ProxyConfig `json:"proxy"`
ServerUrl string `json:"server_url"`
Type MattermostConnectionType `json:"type"`
}
MattermostConnection defines model for MattermostConnection.
type MattermostConnectionBase ¶
type MattermostConnectionBase struct {
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
Name string `json:"name"`
ServerUrl string `json:"server_url"`
Type MattermostConnectionBaseType `json:"type"`
}
MattermostConnectionBase defines model for MattermostConnectionBase.
type MattermostConnectionBaseType ¶
type MattermostConnectionBaseType string
MattermostConnectionBaseType defines model for MattermostConnectionBase.Type.
const (
MattermostConnectionBaseTypeMattermost MattermostConnectionBaseType = "mattermost"
)
Defines values for MattermostConnectionBaseType.
func (MattermostConnectionBaseType) Valid ¶
func (e MattermostConnectionBaseType) Valid() bool
Valid indicates whether the value is a known member of the MattermostConnectionBaseType enum.
type MattermostConnectionInput ¶
type MattermostConnectionInput struct {
// BotToken Write-only Secret. Omit on update to keep the stored one.
BotToken *string `json:"bot_token,omitempty"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
Name string `json:"name"`
// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
Proxy ProxyConfigInput `json:"proxy"`
ServerUrl string `json:"server_url"`
Type MattermostConnectionInputType `json:"type"`
}
MattermostConnectionInput defines model for MattermostConnectionInput.
type MattermostConnectionInputType ¶
type MattermostConnectionInputType string
MattermostConnectionInputType defines model for MattermostConnectionInput.Type.
const (
MattermostConnectionInputTypeMattermost MattermostConnectionInputType = "mattermost"
)
Defines values for MattermostConnectionInputType.
func (MattermostConnectionInputType) Valid ¶
func (e MattermostConnectionInputType) Valid() bool
Valid indicates whether the value is a known member of the MattermostConnectionInputType enum.
type MattermostConnectionType ¶
type MattermostConnectionType string
MattermostConnectionType defines model for MattermostConnection.Type.
const (
MattermostConnectionTypeMattermost MattermostConnectionType = "mattermost"
)
Defines values for MattermostConnectionType.
func (MattermostConnectionType) Valid ¶
func (e MattermostConnectionType) Valid() bool
Valid indicates whether the value is a known member of the MattermostConnectionType enum.
type MattermostDestination ¶
type MattermostDestination struct {
ChannelId string `json:"channel_id"`
ChannelName nullable.Nullable[string] `json:"channel_name,omitempty"`
// ConnectionId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
ConnectionId PublicId `json:"connection_id"`
CreatedAt time.Time `json:"created_at"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
Health DestinationHealth `json:"health"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
// Mentions Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
Mentions MentionSettings `json:"mentions"`
Name string `json:"name"`
Routes []EntityRef `json:"routes"`
TeamId string `json:"team_id"`
TeamName nullable.Nullable[string] `json:"team_name,omitempty"`
TemplateError *TemplateErrorState `json:"template_error,omitempty"`
Type MattermostDestinationType `json:"type"`
}
MattermostDestination defines model for MattermostDestination.
type MattermostDestinationInput ¶
type MattermostDestinationInput struct {
ChannelId string `json:"channel_id"`
// ConnectionId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
ConnectionId PublicId `json:"connection_id"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
// Mentions Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
Mentions MentionSettings `json:"mentions"`
Name string `json:"name"`
TeamId string `json:"team_id"`
Type MattermostDestinationInputType `json:"type"`
}
MattermostDestinationInput defines model for MattermostDestinationInput.
type MattermostDestinationInputType ¶
type MattermostDestinationInputType string
MattermostDestinationInputType defines model for MattermostDestinationInput.Type.
const (
MattermostDestinationInputTypeMattermost MattermostDestinationInputType = "mattermost"
)
Defines values for MattermostDestinationInputType.
func (MattermostDestinationInputType) Valid ¶
func (e MattermostDestinationInputType) Valid() bool
Valid indicates whether the value is a known member of the MattermostDestinationInputType enum.
type MattermostDestinationType ¶
type MattermostDestinationType string
MattermostDestinationType defines model for MattermostDestination.Type.
const (
MattermostDestinationTypeMattermost MattermostDestinationType = "mattermost"
)
Defines values for MattermostDestinationType.
func (MattermostDestinationType) Valid ¶
func (e MattermostDestinationType) Valid() bool
Valid indicates whether the value is a known member of the MattermostDestinationType enum.
type MattermostLinkConfirm ¶
type MattermostLinkConfirm struct {
// Code The code the bot sent as a direct message.
Code *string `json:"code,omitempty"`
// RequestId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
RequestId PublicId `json:"request_id"`
}
MattermostLinkConfirm defines model for MattermostLinkConfirm.
type MattermostLinkRequest ¶
type MattermostLinkRequest struct {
// ConnectionId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
ConnectionId PublicId `json:"connection_id"`
// Username The `@username` to link; a leading `@` is optional.
Username string `json:"username"`
}
MattermostLinkRequest defines model for MattermostLinkRequest.
type MattermostLinkStarted ¶
type MattermostLinkStarted struct {
AttemptsRemaining int `json:"attempts_remaining"`
ExpiresAt time.Time `json:"expires_at"`
// RequestId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
RequestId PublicId `json:"request_id"`
}
MattermostLinkStarted defines model for MattermostLinkStarted.
type Me ¶
type Me struct {
// Permissions Effective Permissions of the caller, narrowed by the token if one is used.
Permissions []Permission `json:"permissions"`
User User `json:"user"`
}
Me defines model for Me.
type MeUpdate ¶
type MeUpdate struct {
// Language UI or template language; null follows the default.
Language nullable.Nullable[NullableLanguage] `json:"language,omitempty"`
Name string `json:"name"`
TimeZone nullable.Nullable[string] `json:"time_zone,omitempty"`
}
MeUpdate defines model for MeUpdate.
type MentionName ¶
type MentionName string
MentionName A symbolic Mention that each Destination turns into real Mentions.
const ( MentionNameAckTimeout MentionName = "ack_timeout" MentionNameNewAlertGroup MentionName = "new_alert_group" MentionNameNewAlerts MentionName = "new_alerts" MentionNameOwner MentionName = "owner" MentionNamePreviousOwner MentionName = "previous_owner" MentionNameReopen MentionName = "reopen" MentionNameRiseToUrgent MentionName = "rise_to_urgent" MentionNameSnoozeEnded MentionName = "snooze_ended" )
Defines values for MentionName.
func (MentionName) Valid ¶
func (e MentionName) Valid() bool
Valid indicates whether the value is a known member of the MentionName enum.
type MentionSetting ¶
type MentionSetting struct {
// Everyone `none`, or the chat-wide mention the messenger supports; Telegram has none of them.
Everyone MentionSettingEveryone `json:"everyone"`
// Groups Messenger groups.
Groups []string `json:"groups"`
// UserIds Muster users, rendered through their Account links.
UserIds []PublicId `json:"user_ids"`
}
MentionSetting Whom to mention for one kind of Loud event. The default is nobody.
type MentionSettingEveryone ¶
type MentionSettingEveryone string
MentionSettingEveryone `none`, or the chat-wide mention the messenger supports; Telegram has none of them.
const ( MentionSettingEveryoneAll MentionSettingEveryone = "all" MentionSettingEveryoneChannel MentionSettingEveryone = "channel" MentionSettingEveryoneHere MentionSettingEveryone = "here" MentionSettingEveryoneNone MentionSettingEveryone = "none" )
Defines values for MentionSettingEveryone.
func (MentionSettingEveryone) Valid ¶
func (e MentionSettingEveryone) Valid() bool
Valid indicates whether the value is a known member of the MentionSettingEveryone enum.
type MentionSettings ¶
type MentionSettings struct {
// AckTimeout Whom to mention for one kind of Loud event. The default is nobody.
AckTimeout MentionSetting `json:"ack_timeout"`
// NewAlertGroup Whom to mention for one kind of Loud event. The default is nobody.
NewAlertGroup MentionSetting `json:"new_alert_group"`
// NewAlerts Whom to mention for one kind of Loud event. The default is nobody.
NewAlerts MentionSetting `json:"new_alerts"`
// Reopen Whom to mention for one kind of Loud event. The default is nobody.
Reopen MentionSetting `json:"reopen"`
// RiseToUrgent Whom to mention for one kind of Loud event. The default is nobody.
RiseToUrgent MentionSetting `json:"rise_to_urgent"`
// SnoozeEnded Whom to mention for one kind of Loud event. The default is nobody.
SnoozeEnded MentionSetting `json:"snooze_ended"`
}
MentionSettings Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
type Messenger ¶
type Messenger string
Messenger defines model for Messenger.
Defines values for Messenger.
type MoveOpenAlertGroups200JSONResponse ¶
type MoveOpenAlertGroups200JSONResponse MovedAlertGroups
func (MoveOpenAlertGroups200JSONResponse) VisitMoveOpenAlertGroupsResponse ¶
func (response MoveOpenAlertGroups200JSONResponse) VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error
type MoveOpenAlertGroups401ApplicationProblemPlusJSONResponse ¶
type MoveOpenAlertGroups401ApplicationProblemPlusJSONResponse struct {
}
func (MoveOpenAlertGroups401ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse ¶
func (response MoveOpenAlertGroups401ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error
type MoveOpenAlertGroups403ApplicationProblemPlusJSONResponse ¶
type MoveOpenAlertGroups403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (MoveOpenAlertGroups403ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse ¶
func (response MoveOpenAlertGroups403ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error
type MoveOpenAlertGroups404ApplicationProblemPlusJSONResponse ¶
type MoveOpenAlertGroups404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (MoveOpenAlertGroups404ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse ¶
func (response MoveOpenAlertGroups404ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error
type MoveOpenAlertGroups409ApplicationProblemPlusJSONResponse ¶
type MoveOpenAlertGroups409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (MoveOpenAlertGroups409ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse ¶
func (response MoveOpenAlertGroups409ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error
type MoveOpenAlertGroups429ApplicationProblemPlusJSONResponse ¶
type MoveOpenAlertGroups429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (MoveOpenAlertGroups429ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse ¶
func (response MoveOpenAlertGroups429ApplicationProblemPlusJSONResponse) VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error
type MoveOpenAlertGroupsRequestObject ¶
type MoveOpenAlertGroupsRequestObject struct {
RouteId RouteId `json:"route_id"`
}
type MoveOpenAlertGroupsResponseObject ¶
type MoveOpenAlertGroupsResponseObject interface {
VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error
}
type MovedAlertGroups ¶
type MovedAlertGroups struct {
// Moved Open Alert Groups moved to the Default route.
Moved int `json:"moved"`
}
MovedAlertGroups defines model for MovedAlertGroups.
type NextNotice ¶
type NextNotice struct {
At time.Time `json:"at"`
Kind NextNoticeKind `json:"kind"`
}
NextNotice defines model for NextNotice.
type NextNoticeKind ¶
type NextNoticeKind string
NextNoticeKind defines model for NextNotice.Kind.
const ( NextNoticeKindAckTimeout NextNoticeKind = "ack_timeout" NextNoticeKindReminder NextNoticeKind = "reminder" )
Defines values for NextNoticeKind.
func (NextNoticeKind) Valid ¶
func (e NextNoticeKind) Valid() bool
Valid indicates whether the value is a known member of the NextNoticeKind enum.
type NotFound ¶
type NotFound = Problem
NotFound RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type NotFoundApplicationProblemPlusJSONResponse ¶
type NotFoundApplicationProblemPlusJSONResponse Problem
type Note ¶
type Note struct {
// Author Who resolved an Alert Group or wrote a Note: a User or a Service account. An Owner is always a User (`UserRef`), because a Service account cannot become an Owner.
Author ActorRef `json:"author"`
Body string `json:"body"`
CreatedAt time.Time `json:"created_at"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Transport How a Command or change reached Muster. `cli` marks audited CLI commands (`--actor`); `system` marks transitions Muster starts on its own.
Transport Transport `json:"transport"`
}
Note defines model for Note.
type NoteInput ¶
type NoteInput struct {
// Body At most `alert_group.note_max_length` characters.
Body string `json:"body"`
}
NoteInput defines model for NoteInput.
type NoteList ¶
type NoteList struct {
Items []Note `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
NoteList defines model for NoteList.
type NullableAlertGroupStatus ¶
type NullableAlertGroupStatus string
NullableAlertGroupStatus defines model for NullableAlertGroupStatus.
const ( NullableAlertGroupStatusAcknowledged NullableAlertGroupStatus = "acknowledged" NullableAlertGroupStatusFiring NullableAlertGroupStatus = "firing" NullableAlertGroupStatusLessThannil NullableAlertGroupStatus = "<nil>" NullableAlertGroupStatusResolved NullableAlertGroupStatus = "resolved" NullableAlertGroupStatusSnoozed NullableAlertGroupStatus = "snoozed" )
Defines values for NullableAlertGroupStatus.
func (NullableAlertGroupStatus) Valid ¶
func (e NullableAlertGroupStatus) Valid() bool
Valid indicates whether the value is a known member of the NullableAlertGroupStatus enum.
type NullableLanguage ¶
type NullableLanguage string
NullableLanguage UI or template language; null follows the default.
const ( NullableLanguageEn NullableLanguage = "en" NullableLanguageLessThannil NullableLanguage = "<nil>" NullableLanguageRu NullableLanguage = "ru" )
Defines values for NullableLanguage.
func (NullableLanguage) Valid ¶
func (e NullableLanguage) Valid() bool
Valid indicates whether the value is a known member of the NullableLanguage enum.
type NullablePublicId ¶
type NullablePublicId = string
NullablePublicId A `public_id` in the format of `PublicId`, or null.
type NullableResolveReason ¶
type NullableResolveReason string
NullableResolveReason Why an Alert resolved; null while it fires.
const ( NullableResolveReasonGone NullableResolveReason = "gone" NullableResolveReasonIntegrationDeleted NullableResolveReason = "integration_deleted" NullableResolveReasonLessThannil NullableResolveReason = "<nil>" NullableResolveReasonResolved NullableResolveReason = "resolved" NullableResolveReasonStale NullableResolveReason = "stale" )
Defines values for NullableResolveReason.
func (NullableResolveReason) Valid ¶
func (e NullableResolveReason) Valid() bool
Valid indicates whether the value is a known member of the NullableResolveReason enum.
type OidcCheckResult ¶
type OidcCheckResult struct {
AuthorizationEndpoint nullable.Nullable[string] `json:"authorization_endpoint,omitempty"`
// Error What failed; names the blocking rule when the outbound address policy refused the target. Secrets and tokens are masked.
Error nullable.Nullable[string] `json:"error,omitempty"`
Issuer nullable.Nullable[string] `json:"issuer,omitempty"`
JwksUri nullable.Nullable[string] `json:"jwks_uri,omitempty"`
LatencyMs *int `json:"latency_ms,omitempty"`
Ok bool `json:"ok"`
TokenEndpoint nullable.Nullable[string] `json:"token_endpoint,omitempty"`
// Via How the request travelled.
Via ConnectionPath `json:"via"`
Warnings *[]OidcWarning `json:"warnings,omitempty"`
}
OidcCheckResult defines model for OidcCheckResult.
type OidcGroupMapping ¶
OidcGroupMapping defines model for OidcGroupMapping.
type OidcLinkStart ¶
type OidcLinkStart struct {
// AuthorizationUrl The identity provider's authorization endpoint with the link request; open it in the browser.
AuthorizationUrl string `json:"authorization_url"`
// ExpiresAt The link must be completed before this time.
ExpiresAt time.Time `json:"expires_at"`
}
OidcLinkStart defines model for OidcLinkStart.
type OidcSettings ¶
type OidcSettings struct {
ClientId string `json:"client_id"`
// ClientSecretExpiresOn Optional expiry date of the client secret; the OIDC settings warn within `oidc.secret_expiry_lead`.
ClientSecretExpiresOn nullable.Nullable[openapi_types.Date] `json:"client_secret_expires_on,omitempty"`
// ClientSecretStatus What a read shows instead of a Secret. The value itself is never returned.
ClientSecretStatus SecretStatus `json:"client_secret_status"`
// DisplayName Provider name for the button "Sign in with {display_name}". Defaults to the host of the issuer URL; a read leaves it out while the default applies, and an empty value returns to the default.
DisplayName *string `json:"display_name,omitempty"`
Enabled bool `json:"enabled"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
GroupMappings []OidcGroupMapping `json:"group_mappings"`
GroupsClaim string `json:"groups_claim"`
IssuerUrl string `json:"issuer_url"`
// Proxy Per-client proxy as read. The password is a Secret.
Proxy ProxyConfig `json:"proxy"`
// Scopes Scopes requested at sign-in and linking. Muster always adds `openid` and `offline_access`; allow `offline_access` for the Muster client at the IdP, or users are not re-checked in the background, OIDC sessions end after `auth.oidc_fallback_session_lifetime`, and Personal access tokens follow `auth.oidc_token_grace`.
Scopes *[]string `json:"scopes,omitempty"`
SkipTotpWithIdpMfa bool `json:"skip_totp_with_idp_mfa"`
// SyncRole On: the identity provider decides the Role at every sign-in. Off: the mapping applies only when the user is created.
SyncRole bool `json:"sync_role"`
// UnmatchedRole Role for users without a matching group; `none` refuses the sign-in.
UnmatchedRole OidcUnmatchedRole `json:"unmatched_role"`
UpdatedAt nullable.Nullable[time.Time] `json:"updated_at,omitempty"`
Warnings []OidcWarning `json:"warnings"`
}
OidcSettings defines model for OidcSettings.
type OidcSettingsBase ¶
type OidcSettingsBase struct {
ClientId string `json:"client_id"`
// ClientSecretExpiresOn Optional expiry date of the client secret; the OIDC settings warn within `oidc.secret_expiry_lead`.
ClientSecretExpiresOn nullable.Nullable[openapi_types.Date] `json:"client_secret_expires_on,omitempty"`
// DisplayName Provider name for the button "Sign in with {display_name}". Defaults to the host of the issuer URL; a read leaves it out while the default applies, and an empty value returns to the default.
DisplayName *string `json:"display_name,omitempty"`
Enabled bool `json:"enabled"`
GroupMappings []OidcGroupMapping `json:"group_mappings"`
GroupsClaim string `json:"groups_claim"`
IssuerUrl string `json:"issuer_url"`
// Scopes Scopes requested at sign-in and linking. Muster always adds `openid` and `offline_access`; allow `offline_access` for the Muster client at the IdP, or users are not re-checked in the background, OIDC sessions end after `auth.oidc_fallback_session_lifetime`, and Personal access tokens follow `auth.oidc_token_grace`.
Scopes *[]string `json:"scopes,omitempty"`
SkipTotpWithIdpMfa bool `json:"skip_totp_with_idp_mfa"`
// SyncRole On: the identity provider decides the Role at every sign-in. Off: the mapping applies only when the user is created.
SyncRole bool `json:"sync_role"`
// UnmatchedRole Role for users without a matching group; `none` refuses the sign-in.
UnmatchedRole OidcUnmatchedRole `json:"unmatched_role"`
}
OidcSettingsBase defines model for OidcSettingsBase.
type OidcSettingsInput ¶
type OidcSettingsInput struct {
ClientId string `json:"client_id"`
// ClientSecret Write-only Secret. Omit to keep the stored one.
ClientSecret *string `json:"client_secret,omitempty"`
// ClientSecretExpiresOn Optional expiry date of the client secret; the OIDC settings warn within `oidc.secret_expiry_lead`.
ClientSecretExpiresOn nullable.Nullable[openapi_types.Date] `json:"client_secret_expires_on,omitempty"`
// DisplayName Provider name for the button "Sign in with {display_name}". Defaults to the host of the issuer URL; a read leaves it out while the default applies, and an empty value returns to the default.
DisplayName *string `json:"display_name,omitempty"`
Enabled bool `json:"enabled"`
GroupMappings []OidcGroupMapping `json:"group_mappings"`
GroupsClaim string `json:"groups_claim"`
IssuerUrl string `json:"issuer_url"`
// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
Proxy ProxyConfigInput `json:"proxy"`
// Scopes Scopes requested at sign-in and linking. Muster always adds `openid` and `offline_access`; allow `offline_access` for the Muster client at the IdP, or users are not re-checked in the background, OIDC sessions end after `auth.oidc_fallback_session_lifetime`, and Personal access tokens follow `auth.oidc_token_grace`.
Scopes *[]string `json:"scopes,omitempty"`
SkipTotpWithIdpMfa bool `json:"skip_totp_with_idp_mfa"`
// SyncRole On: the identity provider decides the Role at every sign-in. Off: the mapping applies only when the user is created.
SyncRole bool `json:"sync_role"`
// UnmatchedRole Role for users without a matching group; `none` refuses the sign-in.
UnmatchedRole OidcUnmatchedRole `json:"unmatched_role"`
}
OidcSettingsInput defines model for OidcSettingsInput.
type OidcUnmatchedRole ¶
type OidcUnmatchedRole string
OidcUnmatchedRole Role for users without a matching group; `none` refuses the sign-in.
const ( OidcUnmatchedRoleNone OidcUnmatchedRole = "none" OidcUnmatchedRoleResponder OidcUnmatchedRole = "responder" OidcUnmatchedRoleViewer OidcUnmatchedRole = "viewer" )
Defines values for OidcUnmatchedRole.
func (OidcUnmatchedRole) Valid ¶
func (e OidcUnmatchedRole) Valid() bool
Valid indicates whether the value is a known member of the OidcUnmatchedRole enum.
type OidcWarning ¶
type OidcWarning struct {
ExpiresOn nullable.Nullable[openapi_types.Date] `json:"expires_on,omitempty"`
// Kind `nobody_can_sign_in`: the mapping is empty and unmatched users get no Role. `groups_claim_missing`: discovery does not advertise the groups claim, or a test sign-in carried no such claim. `secret_expiring`: see `expires_on`. `last_admin_kept`: Role sync left `user` as Admin because they are the last active Admin, although the identity provider maps them to `role`.
Kind OidcWarningKind `json:"kind"`
// Role For `last_admin_kept`, the Role the identity provider maps the user to.
Role *RoleName `json:"role,omitempty"`
// User For `last_admin_kept`, the Admin whose Role sync was not applied.
User *UserRef `json:"user,omitempty"`
}
OidcWarning defines model for OidcWarning.
type OidcWarningKind ¶
type OidcWarningKind string
OidcWarningKind `nobody_can_sign_in`: the mapping is empty and unmatched users get no Role. `groups_claim_missing`: discovery does not advertise the groups claim, or a test sign-in carried no such claim. `secret_expiring`: see `expires_on`. `last_admin_kept`: Role sync left `user` as Admin because they are the last active Admin, although the identity provider maps them to `role`.
const ( GroupsClaimMissing OidcWarningKind = "groups_claim_missing" LastAdminKept OidcWarningKind = "last_admin_kept" NobodyCanSignIn OidcWarningKind = "nobody_can_sign_in" SecretExpiring OidcWarningKind = "secret_expiring" )
Defines values for OidcWarningKind.
func (OidcWarningKind) Valid ¶
func (e OidcWarningKind) Valid() bool
Valid indicates whether the value is a known member of the OidcWarningKind enum.
type Organization ¶
type Organization struct {
CriticalIsUrgent bool `json:"critical_is_urgent"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
InstanceLabels []string `json:"instance_labels"`
Name string `json:"name"`
// OidcTokenGraceSeconds `auth.oidc_token_grace` (default 7 days), only for accounts that sign in through OIDC and for which the IdP granted no offline token: their Personal access tokens work while the owner's last OIDC sign-in is no older than this, and otherwise get `401` with `oidc_recheck_required` until the owner signs in through OIDC again. Accounts with an offline token are re-checked in the background instead and have no such limit. Service account tokens are not affected. Edited on Organization → Security.
OidcTokenGraceSeconds int `json:"oidc_token_grace_seconds"`
OutgoingHeartbeat struct {
// Proxy Per-client proxy as read. The password is a Secret.
Proxy ProxyConfig `json:"proxy"`
// UrlStatus What a read shows instead of a Secret. The value itself is never returned.
UrlStatus SecretStatus `json:"url_status"`
} `json:"outgoing_heartbeat"`
// Retention Retention periods in days. `alert_group_summaries_days` must be at least `alert_details_days`: details are always removed before the summary rows they belong to, and an update that breaks this gets `422` with `retention_order`. Details are the Alerts inside Alert Groups, Timeline entries and delivery events; Notes are not details: they are kept with the summary rows and deleted with them.
Retention RetentionSettings `json:"retention"`
// SeverityLabel Label that carries severity.
SeverityLabel string `json:"severity_label"`
// SeverityMapping Values of the severity label mapped to Severity levels. Unmapped values count as warning.
SeverityMapping []SeverityMappingEntry `json:"severity_mapping"`
SeverityStyles []SeverityLevelStyle `json:"severity_styles"`
// TimeZone IANA time zone used for times in messages.
TimeZone string `json:"time_zone"`
// TotpRequired Who must enrol TOTP. `local_users` covers every account that has a password; an account that signs in through OIDC — created through OIDC or linked — is not one. A user has one TOTP enrolment, asked at every sign-in and kept when the account changes its sign-in method; on an OIDC sign-in `oidc.skip_totp_with_idp_mfa` may skip it.
TotpRequired TotpPolicy `json:"totp_required"`
}
Organization defines model for Organization.
type OrganizationBase ¶
type OrganizationBase struct {
CriticalIsUrgent bool `json:"critical_is_urgent"`
InstanceLabels []string `json:"instance_labels"`
Name string `json:"name"`
// OidcTokenGraceSeconds `auth.oidc_token_grace` (default 7 days), only for accounts that sign in through OIDC and for which the IdP granted no offline token: their Personal access tokens work while the owner's last OIDC sign-in is no older than this, and otherwise get `401` with `oidc_recheck_required` until the owner signs in through OIDC again. Accounts with an offline token are re-checked in the background instead and have no such limit. Service account tokens are not affected. Edited on Organization → Security.
OidcTokenGraceSeconds int `json:"oidc_token_grace_seconds"`
// Retention Retention periods in days. `alert_group_summaries_days` must be at least `alert_details_days`: details are always removed before the summary rows they belong to, and an update that breaks this gets `422` with `retention_order`. Details are the Alerts inside Alert Groups, Timeline entries and delivery events; Notes are not details: they are kept with the summary rows and deleted with them.
Retention RetentionSettings `json:"retention"`
// SeverityLabel Label that carries severity.
SeverityLabel string `json:"severity_label"`
// SeverityMapping Values of the severity label mapped to Severity levels. Unmapped values count as warning.
SeverityMapping []SeverityMappingEntry `json:"severity_mapping"`
SeverityStyles []SeverityLevelStyle `json:"severity_styles"`
// TimeZone IANA time zone used for times in messages.
TimeZone string `json:"time_zone"`
// TotpRequired Who must enrol TOTP. `local_users` covers every account that has a password; an account that signs in through OIDC — created through OIDC or linked — is not one. A user has one TOTP enrolment, asked at every sign-in and kept when the account changes its sign-in method; on an OIDC sign-in `oidc.skip_totp_with_idp_mfa` may skip it.
TotpRequired TotpPolicy `json:"totp_required"`
}
OrganizationBase defines model for OrganizationBase.
type OrganizationInput ¶
type OrganizationInput struct {
CriticalIsUrgent bool `json:"critical_is_urgent"`
InstanceLabels []string `json:"instance_labels"`
Name string `json:"name"`
// OidcTokenGraceSeconds `auth.oidc_token_grace` (default 7 days), only for accounts that sign in through OIDC and for which the IdP granted no offline token: their Personal access tokens work while the owner's last OIDC sign-in is no older than this, and otherwise get `401` with `oidc_recheck_required` until the owner signs in through OIDC again. Accounts with an offline token are re-checked in the background instead and have no such limit. Service account tokens are not affected. Edited on Organization → Security.
OidcTokenGraceSeconds int `json:"oidc_token_grace_seconds"`
OutgoingHeartbeat struct {
// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
Proxy ProxyConfigInput `json:"proxy"`
// Url Write-only Secret; such URLs carry tokens. Omit to keep the stored one; `null` clears it.
Url nullable.Nullable[string] `json:"url,omitempty"`
} `json:"outgoing_heartbeat"`
// Retention Retention periods in days. `alert_group_summaries_days` must be at least `alert_details_days`: details are always removed before the summary rows they belong to, and an update that breaks this gets `422` with `retention_order`. Details are the Alerts inside Alert Groups, Timeline entries and delivery events; Notes are not details: they are kept with the summary rows and deleted with them.
Retention RetentionSettings `json:"retention"`
// SeverityLabel Label that carries severity.
SeverityLabel string `json:"severity_label"`
// SeverityMapping Values of the severity label mapped to Severity levels. Unmapped values count as warning.
SeverityMapping []SeverityMappingEntry `json:"severity_mapping"`
SeverityStyles []SeverityLevelStyle `json:"severity_styles"`
// TimeZone IANA time zone used for times in messages.
TimeZone string `json:"time_zone"`
// TotpRequired Who must enrol TOTP. `local_users` covers every account that has a password; an account that signs in through OIDC — created through OIDC or linked — is not one. A user has one TOTP enrolment, asked at every sign-in and kept when the account changes its sign-in method; on an OIDC sign-in `oidc.skip_totp_with_idp_mfa` may skip it.
TotpRequired TotpPolicy `json:"totp_required"`
}
OrganizationInput defines model for OrganizationInput.
type OutboundPolicy ¶
type OutboundPolicy struct {
// Allowed Allowed networks (CIDR), host names and domains.
Allowed []string `json:"allowed"`
// AlwaysBlocked Rules that always apply (link-local, cloud metadata, unspecified and multicast addresses); no allowed entry opens them.
AlwaysBlocked *[]string `json:"always_blocked,omitempty"`
// Denied Denied networks, host names and domains. A denied entry always wins.
Denied []string `json:"denied"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
Policy OutboundPolicyPolicy `json:"policy"`
}
OutboundPolicy defines model for OutboundPolicy.
type OutboundPolicyPolicy ¶
type OutboundPolicyPolicy string
OutboundPolicyPolicy defines model for OutboundPolicy.Policy.
const ( Standard OutboundPolicyPolicy = "standard" Strict OutboundPolicyPolicy = "strict" )
Defines values for OutboundPolicyPolicy.
func (OutboundPolicyPolicy) Valid ¶
func (e OutboundPolicyPolicy) Valid() bool
Valid indicates whether the value is a known member of the OutboundPolicyPolicy enum.
type OutgoingHeartbeatResult ¶
type OutgoingHeartbeatResult struct {
// Configured False when no URL is set; the page suggests setting one.
Configured bool `json:"configured"`
LastAttemptAt nullable.Nullable[time.Time] `json:"last_attempt_at,omitempty"`
LastError nullable.Nullable[string] `json:"last_error,omitempty"`
LastOk nullable.Nullable[bool] `json:"last_ok,omitempty"`
}
OutgoingHeartbeatResult defines model for OutgoingHeartbeatResult.
type OutgoingWebhookEvent ¶
type OutgoingWebhookEvent struct {
Actor WebhookActor `json:"actor"`
// AlertGroup The current state of the Alert Group when the event was recorded.
AlertGroup WebhookAlertGroup `json:"alert_group"`
// Alerts One element per Alert, by fingerprint.
Alerts []WebhookAlert `json:"alerts"`
// Event One of the lifecycle event names (see `LifecycleEvent`) or `test`, which only a Destination test sends. New names are added within `version` 1; receivers ignore names they do not know.
Event WebhookEventName `json:"event"`
Mentions []WebhookMentionTarget `json:"mentions"`
// Notify True exactly when the event is Loud.
Notify bool `json:"notify"`
OccurredAt time.Time `json:"occurred_at"`
// Sequence The lifecycle event number of the Alert Group, kept across retries. It grows with every lifecycle event of the Alert Group but may have gaps, and for a Destination added to the Route later it does not start at 1; receivers rely only on "greater means newer". 0 on the `test` event.
Sequence int `json:"sequence"`
// Test True only on the `test` event, which carries an example or recent Alert Group and belongs to no Alert Group's order.
Test *bool `json:"test,omitempty"`
Version OutgoingWebhookEventVersion `json:"version"`
}
OutgoingWebhookEvent Body of an events-mode request. The id of the event travels in the `webhook-id` header and is kept across retries. Events of one Alert Group are sent in order, at least once and never collapsed; a greater `sequence` means a newer event of the same Alert Group, and nothing more. New event names and new fields are added within `version` 1; removing a field or changing its meaning needs a new `version`. Receivers must ignore unknown `event` values and unknown fields.
type OutgoingWebhookEventVersion ¶
type OutgoingWebhookEventVersion int
OutgoingWebhookEventVersion defines model for OutgoingWebhookEvent.Version.
const (
OutgoingWebhookEventVersionN1 OutgoingWebhookEventVersion = 1
)
Defines values for OutgoingWebhookEventVersion.
func (OutgoingWebhookEventVersion) Valid ¶
func (e OutgoingWebhookEventVersion) Valid() bool
Valid indicates whether the value is a known member of the OutgoingWebhookEventVersion enum.
type PasswordChange ¶
type PasswordChange struct {
CurrentPassword *string `json:"current_password,omitempty"`
// NewPassword At least `auth.password_min_length` characters; a shorter one gets `422` with `too_short`.
NewPassword *string `json:"new_password,omitempty"`
}
PasswordChange defines model for PasswordChange.
type PasswordSetup ¶
type PasswordSetup struct {
// Password At least `auth.password_min_length` characters; a shorter one gets `422` with `too_short`.
Password *string `json:"password,omitempty"`
// Token The token from the setup link.
Token *string `json:"token,omitempty"`
}
PasswordSetup defines model for PasswordSetup.
type PasswordSetupLink ¶
PasswordSetupLink Single-use link the Admin hands over; Muster sends no email. The token is in the URL fragment (`<public url>/password-setup#token=<token>`), so it is not sent to any server until the page posts it.
type PayloadTooLarge ¶
type PayloadTooLarge = Problem
PayloadTooLarge RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type PayloadTooLargeApplicationProblemPlusJSONResponse ¶
type PayloadTooLargeApplicationProblemPlusJSONResponse Problem
type Permission ¶
type Permission string
Permission One thing a Role allows, named `<resource>:<verb>`. Every operation lists the Permission it needs in `x-permission`. A Personal access token can only narrow its owner's Permissions; a Service account has its Role's Permissions.
| Permission | Admin | Responder | Viewer | |---|---|---|---| | `alert-groups:read`, `alerts:read` | yes | yes | yes | | `integrations:read`, `routes:read`, `connections:read`, `destinations:read`, `link-rules:read`, `lookup-tables:read` (Secrets masked) | yes | yes | yes | | `alert-groups:acknowledge` (also "Still on it"), `alert-groups:resolve`, `alert-groups:snooze`, `alert-groups:note` | yes | yes | no | | `integrations:write`, `routes:write`, `connections:write`, `destinations:write`, `destinations:test`, `link-rules:write`, `lookup-tables:write`, `templates:preview` | yes | no | no | | `stored-snapshots:read` | yes | no | no | | `users:read`, `users:write`, `oidc:read`, `oidc:write`, `service-accounts:read`, `service-accounts:write`, `organization:read`, `organization:write` | yes | no | no | | `audit-log:read`, `system-status:read` | yes | no | no |
`organization:read` covers the settings pages only Admins see (outbound address policy, Keyring status, severity values seen). The basic read of the `organization` resource needs no Permission.
The special values `authenticated` (any signed-in identity: own profile, TOTP, Account links, Personal access tokens, the basic `organization` read, system notices, live updates), `integration-token` (ingestion and Heartbeat only) and `none` (public, or authenticated by the request itself, such as a signed messenger callback) appear only in `x-permission`.
const ( AlertGroupsAcknowledge Permission = "alert-groups:acknowledge" AlertGroupsNote Permission = "alert-groups:note" AlertGroupsRead Permission = "alert-groups:read" AlertGroupsResolve Permission = "alert-groups:resolve" AlertGroupsSnooze Permission = "alert-groups:snooze" AlertsRead Permission = "alerts:read" AuditLogRead Permission = "audit-log:read" ConnectionsRead Permission = "connections:read" ConnectionsWrite Permission = "connections:write" DestinationsRead Permission = "destinations:read" DestinationsTest Permission = "destinations:test" DestinationsWrite Permission = "destinations:write" IntegrationsRead Permission = "integrations:read" IntegrationsWrite Permission = "integrations:write" LinkRulesRead Permission = "link-rules:read" LinkRulesWrite Permission = "link-rules:write" LookupTablesRead Permission = "lookup-tables:read" LookupTablesWrite Permission = "lookup-tables:write" OidcRead Permission = "oidc:read" OidcWrite Permission = "oidc:write" OrganizationRead Permission = "organization:read" OrganizationWrite Permission = "organization:write" RoutesRead Permission = "routes:read" RoutesWrite Permission = "routes:write" ServiceAccountsRead Permission = "service-accounts:read" ServiceAccountsWrite Permission = "service-accounts:write" StoredSnapshotsRead Permission = "stored-snapshots:read" SystemStatusRead Permission = "system-status:read" TemplatesPreview Permission = "templates:preview" UsersRead Permission = "users:read" UsersWrite Permission = "users:write" )
Defines values for Permission.
func (Permission) Valid ¶
func (e Permission) Valid() bool
Valid indicates whether the value is a known member of the Permission enum.
type PersonalAccessToken ¶
type PersonalAccessToken struct {
CreatedAt time.Time `json:"created_at"`
// ExpiresAt Null means the token never expires; the UI warns.
ExpiresAt nullable.Nullable[time.Time] `json:"expires_at,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
LastUsedAddress nullable.Nullable[string] `json:"last_used_address,omitempty"`
LastUsedAt nullable.Nullable[time.Time] `json:"last_used_at,omitempty"`
Name string `json:"name"`
Permissions []Permission `json:"permissions"`
}
PersonalAccessToken defines model for PersonalAccessToken.
type PersonalAccessTokenCreate ¶
type PersonalAccessTokenCreate struct {
ExpiresAt nullable.Nullable[time.Time] `json:"expires_at,omitempty"`
Name string `json:"name"`
// Permissions Must be a subset of the Permissions the caller holds.
Permissions []Permission `json:"permissions"`
}
PersonalAccessTokenCreate defines model for PersonalAccessTokenCreate.
type PersonalAccessTokenCreated ¶
type PersonalAccessTokenCreated struct {
Token PersonalAccessToken `json:"token"`
// Value The token, starting with `mstr_pat_`. Shown once.
Value string `json:"value"`
}
PersonalAccessTokenCreated defines model for PersonalAccessTokenCreated.
type PersonalAccessTokenList ¶
type PersonalAccessTokenList struct {
Items []PersonalAccessToken `json:"items"`
}
PersonalAccessTokenList defines model for PersonalAccessTokenList.
type PreconditionFailed ¶
type PreconditionFailed = Problem
PreconditionFailed RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type PreconditionFailedApplicationProblemPlusJSONResponse ¶
type PreconditionFailedApplicationProblemPlusJSONResponse Problem
type PreconditionRequired ¶
type PreconditionRequired = Problem
PreconditionRequired RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type PreconditionRequiredApplicationProblemPlusJSONResponse ¶
type PreconditionRequiredApplicationProblemPlusJSONResponse Problem
type PreviewDestination200JSONResponse ¶
type PreviewDestination200JSONResponse DestinationPreview
func (PreviewDestination200JSONResponse) VisitPreviewDestinationResponse ¶
func (response PreviewDestination200JSONResponse) VisitPreviewDestinationResponse(w http.ResponseWriter) error
type PreviewDestination400ApplicationProblemPlusJSONResponse ¶
type PreviewDestination400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (PreviewDestination400ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse ¶
func (response PreviewDestination400ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse(w http.ResponseWriter) error
type PreviewDestination401ApplicationProblemPlusJSONResponse ¶
type PreviewDestination401ApplicationProblemPlusJSONResponse struct {
}
func (PreviewDestination401ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse ¶
func (response PreviewDestination401ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse(w http.ResponseWriter) error
type PreviewDestination403ApplicationProblemPlusJSONResponse ¶
type PreviewDestination403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (PreviewDestination403ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse ¶
func (response PreviewDestination403ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse(w http.ResponseWriter) error
type PreviewDestination404ApplicationProblemPlusJSONResponse ¶
type PreviewDestination404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (PreviewDestination404ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse ¶
func (response PreviewDestination404ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse(w http.ResponseWriter) error
type PreviewDestination422ApplicationProblemPlusJSONResponse ¶
type PreviewDestination422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (PreviewDestination422ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse ¶
func (response PreviewDestination422ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse(w http.ResponseWriter) error
type PreviewDestination429ApplicationProblemPlusJSONResponse ¶
type PreviewDestination429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (PreviewDestination429ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse ¶
func (response PreviewDestination429ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse(w http.ResponseWriter) error
type PreviewDestinationJSONRequestBody ¶
type PreviewDestinationJSONRequestBody = DestinationPreviewRequest
PreviewDestinationJSONRequestBody defines body for PreviewDestination for application/json ContentType.
type PreviewDestinationRequestObject ¶
type PreviewDestinationRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
Body *PreviewDestinationJSONRequestBody
}
type PreviewDestinationResponseObject ¶
type PreviewDestinationResponseObject interface {
VisitPreviewDestinationResponse(w http.ResponseWriter) error
}
type PreviewGroupKey200JSONResponse ¶
type PreviewGroupKey200JSONResponse GroupKeyPreview
func (PreviewGroupKey200JSONResponse) VisitPreviewGroupKeyResponse ¶
func (response PreviewGroupKey200JSONResponse) VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
type PreviewGroupKey400ApplicationProblemPlusJSONResponse ¶
type PreviewGroupKey400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (PreviewGroupKey400ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse ¶
func (response PreviewGroupKey400ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
type PreviewGroupKey401ApplicationProblemPlusJSONResponse ¶
type PreviewGroupKey401ApplicationProblemPlusJSONResponse struct {
}
func (PreviewGroupKey401ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse ¶
func (response PreviewGroupKey401ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
type PreviewGroupKey403ApplicationProblemPlusJSONResponse ¶
type PreviewGroupKey403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (PreviewGroupKey403ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse ¶
func (response PreviewGroupKey403ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
type PreviewGroupKey404ApplicationProblemPlusJSONResponse ¶
type PreviewGroupKey404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (PreviewGroupKey404ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse ¶
func (response PreviewGroupKey404ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
type PreviewGroupKey422ApplicationProblemPlusJSONResponse ¶
type PreviewGroupKey422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (PreviewGroupKey422ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse ¶
func (response PreviewGroupKey422ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
type PreviewGroupKey429ApplicationProblemPlusJSONResponse ¶
type PreviewGroupKey429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (PreviewGroupKey429ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse ¶
func (response PreviewGroupKey429ApplicationProblemPlusJSONResponse) VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
type PreviewGroupKeyJSONRequestBody ¶
type PreviewGroupKeyJSONRequestBody = GroupKeyPreviewRequest
PreviewGroupKeyJSONRequestBody defines body for PreviewGroupKey for application/json ContentType.
type PreviewGroupKeyRequestObject ¶
type PreviewGroupKeyRequestObject struct {
Body *PreviewGroupKeyJSONRequestBody
}
type PreviewGroupKeyResponseObject ¶
type PreviewGroupKeyResponseObject interface {
VisitPreviewGroupKeyResponse(w http.ResponseWriter) error
}
type PreviewTemplate200JSONResponse ¶
type PreviewTemplate200JSONResponse TemplatePreviewResult
func (PreviewTemplate200JSONResponse) VisitPreviewTemplateResponse ¶
func (response PreviewTemplate200JSONResponse) VisitPreviewTemplateResponse(w http.ResponseWriter) error
type PreviewTemplate400ApplicationProblemPlusJSONResponse ¶
type PreviewTemplate400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (PreviewTemplate400ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse ¶
func (response PreviewTemplate400ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse(w http.ResponseWriter) error
type PreviewTemplate401ApplicationProblemPlusJSONResponse ¶
type PreviewTemplate401ApplicationProblemPlusJSONResponse struct {
}
func (PreviewTemplate401ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse ¶
func (response PreviewTemplate401ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse(w http.ResponseWriter) error
type PreviewTemplate403ApplicationProblemPlusJSONResponse ¶
type PreviewTemplate403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (PreviewTemplate403ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse ¶
func (response PreviewTemplate403ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse(w http.ResponseWriter) error
type PreviewTemplate404ApplicationProblemPlusJSONResponse ¶
type PreviewTemplate404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (PreviewTemplate404ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse ¶
func (response PreviewTemplate404ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse(w http.ResponseWriter) error
type PreviewTemplate429ApplicationProblemPlusJSONResponse ¶
type PreviewTemplate429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (PreviewTemplate429ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse ¶
func (response PreviewTemplate429ApplicationProblemPlusJSONResponse) VisitPreviewTemplateResponse(w http.ResponseWriter) error
type PreviewTemplateJSONRequestBody ¶
type PreviewTemplateJSONRequestBody = TemplatePreviewRequest
PreviewTemplateJSONRequestBody defines body for PreviewTemplate for application/json ContentType.
type PreviewTemplateRequestObject ¶
type PreviewTemplateRequestObject struct {
Body *PreviewTemplateJSONRequestBody
}
type PreviewTemplateResponseObject ¶
type PreviewTemplateResponseObject interface {
VisitPreviewTemplateResponse(w http.ResponseWriter) error
}
type Problem ¶
type Problem struct {
// Code Stable machine code that refines `type`, listed per type in `x-problem-codes`. Clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`.
Code *string `json:"code,omitempty"`
// Detail Human explanation of this occurrence; may change between releases.
Detail *string `json:"detail,omitempty"`
// Errors Field-level errors. Present for `validation-failed`.
Errors *[]ProblemError `json:"errors,omitempty"`
// Instance Request path that produced the problem.
Instance *string `json:"instance,omitempty"`
// LinkRules Set on the `in_use` refusal of a Lookup table (`updateLookupTable`, `deleteLookupTable`); the Link rules whose URL templates read the table by its name, in the order they were created.
LinkRules *[]EntityRef `json:"link_rules,omitempty"`
// OpenAlertGroupCount Set on `route-has-open-alert-groups`; the number of open Alert Groups that block the deletion.
OpenAlertGroupCount *int `json:"open_alert_group_count,omitempty"`
// RelatedAlertGroup Set on refusals that name another Alert Group, such as an Unresolve refused because a newer open Alert Group exists.
RelatedAlertGroup *AlertGroupRef `json:"related_alert_group,omitempty"`
// RetryAfterSeconds Set on `rate-limited`; equals the `Retry-After` header.
RetryAfterSeconds *int `json:"retry_after_seconds,omitempty"`
// Status HTTP status code.
Status int `json:"status"`
// Title Short human summary; may change between releases.
Title string `json:"title"`
// Type Stable problem type URI.
Type string `json:"type"`
}
Problem RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type ProblemError ¶
type ProblemError struct {
// Code Stable code such as `required`, `invalid_format`, `unknown_id`, `too_long`, `too_short`, `out_of_range`, `invalid_regex`, `template_syntax`, `unknown_function`, `duplicate`, `unsupported`.
Code string `json:"code"`
// Column Column of a template error.
Column *int `json:"column,omitempty"`
// Detail Human explanation; may change between releases.
Detail *string `json:"detail,omitempty"`
// Line Line of a template error.
Line *int `json:"line,omitempty"`
// Pointer RFC 6901 JSON Pointer to the offending field in the request body, or “ for the whole body. Query and path parameters use `/query/<name>` and `/path/<name>`.
Pointer string `json:"pointer"`
}
ProblemError defines model for ProblemError.
type ProxyConfig ¶
type ProxyConfig struct {
// Address `host:port`.
Address *string `json:"address,omitempty"`
Enabled bool `json:"enabled"`
// PasswordStatus What a read shows instead of a Secret. The value itself is never returned.
PasswordStatus *SecretStatus `json:"password_status,omitempty"`
Type *ProxyType `json:"type,omitempty"`
Username nullable.Nullable[string] `json:"username,omitempty"`
}
ProxyConfig Per-client proxy as read. The password is a Secret.
type ProxyConfigInput ¶
type ProxyConfigInput struct {
// Address `host:port`; the proxy's own address is checked by the outbound address policy.
Address *string `json:"address,omitempty"`
Enabled bool `json:"enabled"`
// Password Write-only Secret. Omit to keep the stored one; `null` clears it.
Password nullable.Nullable[string] `json:"password,omitempty"`
Type *ProxyType `json:"type,omitempty"`
Username nullable.Nullable[string] `json:"username,omitempty"`
}
ProxyConfigInput Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
type ProxyType ¶
type ProxyType string
ProxyType defines model for ProxyType.
Defines values for ProxyType.
type PublicId ¶
type PublicId = string
PublicId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type QueueDepth ¶
QueueDepth defines model for QueueDepth.
type RegenerateTotpRecoveryCodes200JSONResponse ¶
type RegenerateTotpRecoveryCodes200JSONResponse TotpRecoveryCodes
func (RegenerateTotpRecoveryCodes200JSONResponse) VisitRegenerateTotpRecoveryCodesResponse ¶
func (response RegenerateTotpRecoveryCodes200JSONResponse) VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
type RegenerateTotpRecoveryCodes400ApplicationProblemPlusJSONResponse ¶
type RegenerateTotpRecoveryCodes400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (RegenerateTotpRecoveryCodes400ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse ¶
func (response RegenerateTotpRecoveryCodes400ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
type RegenerateTotpRecoveryCodes401ApplicationProblemPlusJSONResponse ¶
type RegenerateTotpRecoveryCodes401ApplicationProblemPlusJSONResponse struct {
}
func (RegenerateTotpRecoveryCodes401ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse ¶
func (response RegenerateTotpRecoveryCodes401ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
type RegenerateTotpRecoveryCodes403ApplicationProblemPlusJSONResponse ¶
type RegenerateTotpRecoveryCodes403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (RegenerateTotpRecoveryCodes403ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse ¶
func (response RegenerateTotpRecoveryCodes403ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
type RegenerateTotpRecoveryCodes409ApplicationProblemPlusJSONResponse ¶
type RegenerateTotpRecoveryCodes409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RegenerateTotpRecoveryCodes409ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse ¶
func (response RegenerateTotpRecoveryCodes409ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
type RegenerateTotpRecoveryCodes422ApplicationProblemPlusJSONResponse ¶
type RegenerateTotpRecoveryCodes422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (RegenerateTotpRecoveryCodes422ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse ¶
func (response RegenerateTotpRecoveryCodes422ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
type RegenerateTotpRecoveryCodes429ApplicationProblemPlusJSONResponse ¶
type RegenerateTotpRecoveryCodes429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (RegenerateTotpRecoveryCodes429ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse ¶
func (response RegenerateTotpRecoveryCodes429ApplicationProblemPlusJSONResponse) VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
type RegenerateTotpRecoveryCodesJSONRequestBody ¶
type RegenerateTotpRecoveryCodesJSONRequestBody = TotpCode
RegenerateTotpRecoveryCodesJSONRequestBody defines body for RegenerateTotpRecoveryCodes for application/json ContentType.
type RegenerateTotpRecoveryCodesRequestObject ¶
type RegenerateTotpRecoveryCodesRequestObject struct {
Body *RegenerateTotpRecoveryCodesJSONRequestBody
}
type RegenerateTotpRecoveryCodesResponseObject ¶
type RegenerateTotpRecoveryCodesResponseObject interface {
VisitRegenerateTotpRecoveryCodesResponse(w http.ResponseWriter) error
}
type RelatedAlertGroup ¶
type RelatedAlertGroup struct {
DurationSeconds nullable.Nullable[int] `json:"duration_seconds,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Number int `json:"number"`
Resolution *ResolvedBy `json:"resolution,omitempty"`
StartedAt time.Time `json:"started_at"`
Status AlertGroupStatus `json:"status"`
}
RelatedAlertGroup defines model for RelatedAlertGroup.
type RelatedAlertGroupList ¶
type RelatedAlertGroupList struct {
Items []RelatedAlertGroup `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
RelatedAlertGroupList defines model for RelatedAlertGroupList.
type RemindersPolicy ¶
type RemindersPolicy struct {
// CapSeconds Intervals double up to this cap.
CapSeconds int `json:"cap_seconds"`
Enabled bool `json:"enabled"`
FirstIntervalSeconds int `json:"first_interval_seconds"`
}
RemindersPolicy defines model for RemindersPolicy.
type RemoveTotp204Response ¶
type RemoveTotp204Response struct {
}
func (RemoveTotp204Response) VisitRemoveTotpResponse ¶
func (response RemoveTotp204Response) VisitRemoveTotpResponse(w http.ResponseWriter) error
type RemoveTotp400ApplicationProblemPlusJSONResponse ¶
type RemoveTotp400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (RemoveTotp400ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse ¶
func (response RemoveTotp400ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse(w http.ResponseWriter) error
type RemoveTotp401ApplicationProblemPlusJSONResponse ¶
type RemoveTotp401ApplicationProblemPlusJSONResponse struct {
}
func (RemoveTotp401ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse ¶
func (response RemoveTotp401ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse(w http.ResponseWriter) error
type RemoveTotp403ApplicationProblemPlusJSONResponse ¶
type RemoveTotp403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (RemoveTotp403ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse ¶
func (response RemoveTotp403ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse(w http.ResponseWriter) error
type RemoveTotp404ApplicationProblemPlusJSONResponse ¶
type RemoveTotp404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RemoveTotp404ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse ¶
func (response RemoveTotp404ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse(w http.ResponseWriter) error
type RemoveTotp429ApplicationProblemPlusJSONResponse ¶
type RemoveTotp429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (RemoveTotp429ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse ¶
func (response RemoveTotp429ApplicationProblemPlusJSONResponse) VisitRemoveTotpResponse(w http.ResponseWriter) error
type RemoveTotpJSONRequestBody ¶
type RemoveTotpJSONRequestBody = TotpRemoval
RemoveTotpJSONRequestBody defines body for RemoveTotp for application/json ContentType.
type RemoveTotpRequestObject ¶
type RemoveTotpRequestObject struct {
Body *RemoveTotpJSONRequestBody
}
type RemoveTotpResponseObject ¶
type RemoveTotpResponseObject interface {
VisitRemoveTotpResponse(w http.ResponseWriter) error
}
type RenderedRequest ¶
type RenderedRequest struct {
Body nullable.Nullable[string] `json:"body,omitempty"`
Headers []HeaderTemplate `json:"headers"`
Method string `json:"method"`
Url string `json:"url"`
}
RenderedRequest A request as it would be or was sent, with Secrets, the Signing secret and tokens masked.
type ReorderRoutes200JSONResponse ¶
type ReorderRoutes200JSONResponse struct {
Body RouteList
Headers ReorderRoutes200ResponseHeaders
}
func (ReorderRoutes200JSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes200JSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes200ResponseHeaders ¶
type ReorderRoutes200ResponseHeaders struct {
ETag *string
}
type ReorderRoutes400ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ReorderRoutes400ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes400ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes401ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes401ApplicationProblemPlusJSONResponse struct {
}
func (ReorderRoutes401ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes401ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes403ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ReorderRoutes403ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes403ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes409ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ReorderRoutes409ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes409ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes412ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (ReorderRoutes412ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes412ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes422ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (ReorderRoutes422ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes422ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes428ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (ReorderRoutes428ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes428ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutes429ApplicationProblemPlusJSONResponse ¶
type ReorderRoutes429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ReorderRoutes429ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse ¶
func (response ReorderRoutes429ApplicationProblemPlusJSONResponse) VisitReorderRoutesResponse(w http.ResponseWriter) error
type ReorderRoutesJSONRequestBody ¶
type ReorderRoutesJSONRequestBody = RouteOrder
ReorderRoutesJSONRequestBody defines body for ReorderRoutes for application/json ContentType.
type ReorderRoutesParams ¶
type ReorderRoutesParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
ReorderRoutesParams defines parameters for ReorderRoutes.
type ReorderRoutesRequestObject ¶
type ReorderRoutesRequestObject struct {
Params ReorderRoutesParams
Body *ReorderRoutesJSONRequestBody
}
type ReorderRoutesResponseObject ¶
type ReorderRoutesResponseObject interface {
VisitReorderRoutesResponse(w http.ResponseWriter) error
}
type ReplicaStatus ¶
type ReplicaStatus struct {
Id string `json:"id"`
KeyIds []string `json:"key_ids"`
Leader bool `json:"leader"`
RefreshedAt time.Time `json:"refreshed_at"`
}
ReplicaStatus defines model for ReplicaStatus.
type RequestTemplate ¶
type RequestTemplate struct {
// Body Go template.
Body nullable.Nullable[string] `json:"body,omitempty"`
Extract *[]ExtractionRule `json:"extract,omitempty"`
Headers []HeaderTemplate `json:"headers"`
Method RequestTemplateMethod `json:"method"`
// Url Go template.
Url string `json:"url"`
}
RequestTemplate defines model for RequestTemplate.
type RequestTemplateMethod ¶
type RequestTemplateMethod string
RequestTemplateMethod defines model for RequestTemplate.Method.
const ( DELETE RequestTemplateMethod = "DELETE" GET RequestTemplateMethod = "GET" PATCH RequestTemplateMethod = "PATCH" POST RequestTemplateMethod = "POST" PUT RequestTemplateMethod = "PUT" )
Defines values for RequestTemplateMethod.
func (RequestTemplateMethod) Valid ¶
func (e RequestTemplateMethod) Valid() bool
Valid indicates whether the value is a known member of the RequestTemplateMethod enum.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ResetUserTotp204Response ¶
type ResetUserTotp204Response struct {
}
func (ResetUserTotp204Response) VisitResetUserTotpResponse ¶
func (response ResetUserTotp204Response) VisitResetUserTotpResponse(w http.ResponseWriter) error
type ResetUserTotp401ApplicationProblemPlusJSONResponse ¶
type ResetUserTotp401ApplicationProblemPlusJSONResponse struct {
}
func (ResetUserTotp401ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse ¶
func (response ResetUserTotp401ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse(w http.ResponseWriter) error
type ResetUserTotp403ApplicationProblemPlusJSONResponse ¶
type ResetUserTotp403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ResetUserTotp403ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse ¶
func (response ResetUserTotp403ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse(w http.ResponseWriter) error
type ResetUserTotp404ApplicationProblemPlusJSONResponse ¶
type ResetUserTotp404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ResetUserTotp404ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse ¶
func (response ResetUserTotp404ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse(w http.ResponseWriter) error
type ResetUserTotp429ApplicationProblemPlusJSONResponse ¶
type ResetUserTotp429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ResetUserTotp429ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse ¶
func (response ResetUserTotp429ApplicationProblemPlusJSONResponse) VisitResetUserTotpResponse(w http.ResponseWriter) error
type ResetUserTotpRequestObject ¶
type ResetUserTotpRequestObject struct {
UserId UserId `json:"user_id"`
}
type ResetUserTotpResponseObject ¶
type ResetUserTotpResponseObject interface {
VisitResetUserTotpResponse(w http.ResponseWriter) error
}
type ResolveAlertGroup200JSONResponse ¶
type ResolveAlertGroup200JSONResponse CommandResult
func (ResolveAlertGroup200JSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup200JSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroup400ApplicationProblemPlusJSONResponse ¶
type ResolveAlertGroup400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (ResolveAlertGroup400ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup400ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroup401ApplicationProblemPlusJSONResponse ¶
type ResolveAlertGroup401ApplicationProblemPlusJSONResponse struct {
}
func (ResolveAlertGroup401ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup401ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroup403ApplicationProblemPlusJSONResponse ¶
type ResolveAlertGroup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (ResolveAlertGroup403ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup403ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroup404ApplicationProblemPlusJSONResponse ¶
type ResolveAlertGroup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ResolveAlertGroup404ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup404ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroup409ApplicationProblemPlusJSONResponse ¶
type ResolveAlertGroup409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ResolveAlertGroup409ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup409ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroup422ApplicationProblemPlusJSONResponse ¶
type ResolveAlertGroup422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (ResolveAlertGroup422ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup422ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroup429ApplicationProblemPlusJSONResponse ¶
type ResolveAlertGroup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (ResolveAlertGroup429ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse ¶
func (response ResolveAlertGroup429ApplicationProblemPlusJSONResponse) VisitResolveAlertGroupResponse(w http.ResponseWriter) error
type ResolveAlertGroupJSONRequestBody ¶
type ResolveAlertGroupJSONRequestBody = ResolveRequest
ResolveAlertGroupJSONRequestBody defines body for ResolveAlertGroup for application/json ContentType.
type ResolveAlertGroupRequestObject ¶
type ResolveAlertGroupRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
Body *ResolveAlertGroupJSONRequestBody
}
type ResolveAlertGroupResponseObject ¶
type ResolveAlertGroupResponseObject interface {
VisitResolveAlertGroupResponse(w http.ResponseWriter) error
}
type ResolveReason ¶
type ResolveReason string
ResolveReason Why an Alert resolved.
const ( ResolveReasonGone ResolveReason = "gone" ResolveReasonIntegrationDeleted ResolveReason = "integration_deleted" ResolveReasonResolved ResolveReason = "resolved" ResolveReasonStale ResolveReason = "stale" )
Defines values for ResolveReason.
func (ResolveReason) Valid ¶
func (e ResolveReason) Valid() bool
Valid indicates whether the value is a known member of the ResolveReason enum.
type ResolveRequest ¶
type ResolveRequest struct {
// Note Optional Note recorded in the same request.
Note *string `json:"note,omitempty"`
}
ResolveRequest defines model for ResolveRequest.
type ResolvedBy ¶
type ResolvedBy struct {
// Actor Set when `by` is `user`: the User or Service account that resolved it.
Actor *ActorRef `json:"actor,omitempty"`
// By Who resolved an Alert Group: a person or the system.
By ResolverKind `json:"by"`
// Reason Reason text when the system resolved it.
Reason nullable.Nullable[string] `json:"reason,omitempty"`
// ReasonCode Why an Alert resolved; null while it fires.
ReasonCode nullable.Nullable[NullableResolveReason] `json:"reason_code,omitempty"`
}
ResolvedBy defines model for ResolvedBy.
type ResolverKind ¶
type ResolverKind string
ResolverKind Who resolved an Alert Group: a person or the system.
const ( ResolverKindSystem ResolverKind = "system" ResolverKindUser ResolverKind = "user" )
Defines values for ResolverKind.
func (ResolverKind) Valid ¶
func (e ResolverKind) Valid() bool
Valid indicates whether the value is a known member of the ResolverKind enum.
type RetentionSettings ¶
type RetentionSettings struct {
// AlertDetailsDays Alerts inside Alert Groups, Timeline entries and delivery events (`retention.alert_details`). Never Notes.
AlertDetailsDays int `json:"alert_details_days"`
// AlertGroupSummariesDays Alert Group summary rows with their Notes (`retention.alert_group_summaries`); at least `alert_details_days`.
AlertGroupSummariesDays int `json:"alert_group_summaries_days"`
AuditLogDays int `json:"audit_log_days"`
StoredSnapshotsDays int `json:"stored_snapshots_days"`
}
RetentionSettings Retention periods in days. `alert_group_summaries_days` must be at least `alert_details_days`: details are always removed before the summary rows they belong to, and an update that breaks this gets `422` with `retention_order`. Details are the Alerts inside Alert Groups, Timeline entries and delivery events; Notes are not details: they are kept with the summary rows and deleted with them.
type RetirePreviousSigningSecret204Response ¶
type RetirePreviousSigningSecret204Response struct {
}
func (RetirePreviousSigningSecret204Response) VisitRetirePreviousSigningSecretResponse ¶
func (response RetirePreviousSigningSecret204Response) VisitRetirePreviousSigningSecretResponse(w http.ResponseWriter) error
type RetirePreviousSigningSecret401ApplicationProblemPlusJSONResponse ¶
type RetirePreviousSigningSecret401ApplicationProblemPlusJSONResponse struct {
}
func (RetirePreviousSigningSecret401ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse ¶
func (response RetirePreviousSigningSecret401ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse(w http.ResponseWriter) error
type RetirePreviousSigningSecret403ApplicationProblemPlusJSONResponse ¶
type RetirePreviousSigningSecret403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (RetirePreviousSigningSecret403ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse ¶
func (response RetirePreviousSigningSecret403ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse(w http.ResponseWriter) error
type RetirePreviousSigningSecret404ApplicationProblemPlusJSONResponse ¶
type RetirePreviousSigningSecret404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RetirePreviousSigningSecret404ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse ¶
func (response RetirePreviousSigningSecret404ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse(w http.ResponseWriter) error
type RetirePreviousSigningSecret409ApplicationProblemPlusJSONResponse ¶
type RetirePreviousSigningSecret409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RetirePreviousSigningSecret409ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse ¶
func (response RetirePreviousSigningSecret409ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse(w http.ResponseWriter) error
type RetirePreviousSigningSecret429ApplicationProblemPlusJSONResponse ¶
type RetirePreviousSigningSecret429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (RetirePreviousSigningSecret429ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse ¶
func (response RetirePreviousSigningSecret429ApplicationProblemPlusJSONResponse) VisitRetirePreviousSigningSecretResponse(w http.ResponseWriter) error
type RetirePreviousSigningSecretRequestObject ¶
type RetirePreviousSigningSecretRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
}
type RetirePreviousSigningSecretResponseObject ¶
type RetirePreviousSigningSecretResponseObject interface {
VisitRetirePreviousSigningSecretResponse(w http.ResponseWriter) error
}
type RevokeIntegrationToken204Response ¶
type RevokeIntegrationToken204Response struct {
}
func (RevokeIntegrationToken204Response) VisitRevokeIntegrationTokenResponse ¶
func (response RevokeIntegrationToken204Response) VisitRevokeIntegrationTokenResponse(w http.ResponseWriter) error
type RevokeIntegrationToken401ApplicationProblemPlusJSONResponse ¶
type RevokeIntegrationToken401ApplicationProblemPlusJSONResponse struct {
}
func (RevokeIntegrationToken401ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse ¶
func (response RevokeIntegrationToken401ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse(w http.ResponseWriter) error
type RevokeIntegrationToken403ApplicationProblemPlusJSONResponse ¶
type RevokeIntegrationToken403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (RevokeIntegrationToken403ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse ¶
func (response RevokeIntegrationToken403ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse(w http.ResponseWriter) error
type RevokeIntegrationToken404ApplicationProblemPlusJSONResponse ¶
type RevokeIntegrationToken404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RevokeIntegrationToken404ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse ¶
func (response RevokeIntegrationToken404ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse(w http.ResponseWriter) error
type RevokeIntegrationToken429ApplicationProblemPlusJSONResponse ¶
type RevokeIntegrationToken429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (RevokeIntegrationToken429ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse ¶
func (response RevokeIntegrationToken429ApplicationProblemPlusJSONResponse) VisitRevokeIntegrationTokenResponse(w http.ResponseWriter) error
type RevokeIntegrationTokenRequestObject ¶
type RevokeIntegrationTokenRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
IntegrationTokenId IntegrationTokenId `json:"integration_token_id"`
}
type RevokeIntegrationTokenResponseObject ¶
type RevokeIntegrationTokenResponseObject interface {
VisitRevokeIntegrationTokenResponse(w http.ResponseWriter) error
}
type RevokePersonalAccessToken204Response ¶
type RevokePersonalAccessToken204Response struct {
}
func (RevokePersonalAccessToken204Response) VisitRevokePersonalAccessTokenResponse ¶
func (response RevokePersonalAccessToken204Response) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error
type RevokePersonalAccessToken401ApplicationProblemPlusJSONResponse ¶
type RevokePersonalAccessToken401ApplicationProblemPlusJSONResponse struct {
}
func (RevokePersonalAccessToken401ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse ¶
func (response RevokePersonalAccessToken401ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error
type RevokePersonalAccessToken403ApplicationProblemPlusJSONResponse ¶
type RevokePersonalAccessToken403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (RevokePersonalAccessToken403ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse ¶
func (response RevokePersonalAccessToken403ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error
type RevokePersonalAccessToken404ApplicationProblemPlusJSONResponse ¶
type RevokePersonalAccessToken404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RevokePersonalAccessToken404ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse ¶
func (response RevokePersonalAccessToken404ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error
type RevokePersonalAccessToken429ApplicationProblemPlusJSONResponse ¶
type RevokePersonalAccessToken429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (RevokePersonalAccessToken429ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse ¶
func (response RevokePersonalAccessToken429ApplicationProblemPlusJSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error
type RevokePersonalAccessTokenRequestObject ¶
type RevokePersonalAccessTokenRequestObject struct {
TokenId TokenId `json:"token_id"`
}
type RevokePersonalAccessTokenResponseObject ¶
type RevokePersonalAccessTokenResponseObject interface {
VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error
}
type RevokeServiceAccountToken204Response ¶
type RevokeServiceAccountToken204Response struct {
}
func (RevokeServiceAccountToken204Response) VisitRevokeServiceAccountTokenResponse ¶
func (response RevokeServiceAccountToken204Response) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error
type RevokeServiceAccountToken401ApplicationProblemPlusJSONResponse ¶
type RevokeServiceAccountToken401ApplicationProblemPlusJSONResponse struct {
}
func (RevokeServiceAccountToken401ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse ¶
func (response RevokeServiceAccountToken401ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error
type RevokeServiceAccountToken403ApplicationProblemPlusJSONResponse ¶
type RevokeServiceAccountToken403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (RevokeServiceAccountToken403ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse ¶
func (response RevokeServiceAccountToken403ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error
type RevokeServiceAccountToken404ApplicationProblemPlusJSONResponse ¶
type RevokeServiceAccountToken404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RevokeServiceAccountToken404ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse ¶
func (response RevokeServiceAccountToken404ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error
type RevokeServiceAccountToken429ApplicationProblemPlusJSONResponse ¶
type RevokeServiceAccountToken429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (RevokeServiceAccountToken429ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse ¶
func (response RevokeServiceAccountToken429ApplicationProblemPlusJSONResponse) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error
type RevokeServiceAccountTokenRequestObject ¶
type RevokeServiceAccountTokenRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
TokenId TokenId `json:"token_id"`
}
type RevokeServiceAccountTokenResponseObject ¶
type RevokeServiceAccountTokenResponseObject interface {
VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error
}
type Role ¶
type Role struct {
Name RoleName `json:"name"`
Permissions []Permission `json:"permissions"`
}
Role defines model for Role.
type RoleList ¶
type RoleList struct {
Items []Role `json:"items"`
}
RoleList defines model for RoleList.
type RoleName ¶
type RoleName string
RoleName defines model for RoleName.
type Route ¶
type Route struct {
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description,omitempty"`
DestinationIds []PublicId `json:"destination_ids"`
// Destinations The Route's Destinations with their health, for the Broken warning.
Destinations []DestinationRef `json:"destinations"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// GroupKey Label names whose values split the Route's Alerts into Alert Groups. A missing label counts as an empty value.
GroupKey []string `json:"group_key"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
IsDefault bool `json:"is_default"`
// Matchers Combined with AND. The Default route has none.
Matchers []Matcher `json:"matchers"`
// Name Unique in the Organization.
Name string `json:"name"`
OpenAlertGroupCount int `json:"open_alert_group_count"`
Policy RoutePolicy `json:"policy"`
// Position Zero-based position in evaluation order; the Default route is last.
Position int `json:"position"`
// Storm Set while the Route's Storm is active (`storm_active`), for the Storm banner.
Storm *RouteStorm `json:"storm,omitempty"`
StormActive bool `json:"storm_active"`
// TemplateError Set while a template of the Route keeps failing.
TemplateError *TemplateErrorState `json:"template_error,omitempty"`
Urgent bool `json:"urgent"`
}
Route defines model for Route.
type RouteId ¶
type RouteId = PublicId
RouteId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type RouteInput ¶
type RouteInput struct {
Description *string `json:"description,omitempty"`
DestinationIds []PublicId `json:"destination_ids"`
// GroupKey Label names whose values split the Route's Alerts into Alert Groups. A missing label counts as an empty value.
GroupKey []string `json:"group_key"`
// Matchers Combined with AND. The Default route has none.
Matchers []Matcher `json:"matchers"`
// Name Unique in the Organization.
Name string `json:"name"`
Policy RoutePolicy `json:"policy"`
Urgent bool `json:"urgent"`
}
RouteInput defines model for RouteInput.
type RouteList ¶
type RouteList struct {
Items []Route `json:"items"`
}
RouteList All Routes in evaluation order, the Default route last. The list ETag covers the order.
type RouteOrder ¶
type RouteOrder struct {
// RouteIds Every Route except the Default route, in the new order.
RouteIds []PublicId `json:"route_ids"`
}
RouteOrder defines model for RouteOrder.
type RoutePolicy ¶
type RoutePolicy struct {
AckTimeout AckTimeoutPolicy `json:"ack_timeout"`
AutoUnacknowledge bool `json:"auto_unacknowledge"`
GracePeriodSeconds int `json:"grace_period_seconds"`
Language Language `json:"language"`
Reminders RemindersPolicy `json:"reminders"`
ReopenWindowSeconds int `json:"reopen_window_seconds"`
// SnoozeDurationsSeconds Quick durations offered in messengers and the Snooze dialog.
SnoozeDurationsSeconds []int `json:"snooze_durations_seconds"`
// StormThreshold New Alert Groups per minute above which a Storm starts.
StormThreshold int `json:"storm_threshold"`
// Templates Go templates rendered in the template sandbox. Null uses Muster's default — the default content, which Muster lays out itself, for `root_message` and `line`, and the built-in template for `ack_timeout_notice`; `previewTemplate` returns the source of the built-in template of a kind for an empty `template`, for an editor to start from. In `updateRoute` a key left out keeps the stored template and null resets it to the built-in one; in `createRoute` a key left out is the built-in one. A template that fails its dry run against recent Stored Snapshots is refused with `422` at `/policy/templates/<name>`, with `template_syntax` or `unknown_function`, its `line` and `column`.
Templates RouteTemplates `json:"templates"`
ThreadBatchingWindowSeconds int `json:"thread_batching_window_seconds"`
UrgentRiseRemovesAck bool `json:"urgent_rise_removes_ack"`
}
RoutePolicy defines model for RoutePolicy.
type RouteProfile ¶
type RouteProfile struct {
GroupKey []string `json:"group_key"`
Id RouteProfileId `json:"id"`
Name string `json:"name"`
Policy RoutePolicy `json:"policy"`
Urgent bool `json:"urgent"`
}
RouteProfile A starting set of Route settings. Profiles only pre-fill the create form and are not stored.
type RouteProfileId ¶
type RouteProfileId string
RouteProfileId defines model for RouteProfile.Id.
const ( Informational RouteProfileId = "informational" OnCall RouteProfileId = "on_call" )
Defines values for RouteProfileId.
func (RouteProfileId) Valid ¶
func (e RouteProfileId) Valid() bool
Valid indicates whether the value is a known member of the RouteProfileId enum.
type RouteProfileList ¶
type RouteProfileList struct {
Items []RouteProfile `json:"items"`
}
RouteProfileList defines model for RouteProfileList.
type RouteStorm ¶
type RouteStorm struct {
// AlertGroupCount New Alert Groups of the Route since the Storm started — the count of its Storm summary.
AlertGroupCount int `json:"alert_group_count"`
// Since When the Storm started.
Since time.Time `json:"since"`
}
RouteStorm defines model for RouteStorm.
type RouteSuggestion ¶
type RouteSuggestion struct {
// Id `heartbeat_lost` suggests a Route for `alertname="MusterHeartbeatLost"`; `internal_alerts` suggests a Route for `alertname=~"Muster.*"`.
Id RouteSuggestionId `json:"id"`
// Route The Route that accepting would create at the top of the list, or for `internal_alerts` directly below the last Route other than the Default route that takes an Internal alert.
Route RouteInput `json:"route"`
}
RouteSuggestion defines model for RouteSuggestion.
type RouteSuggestionAcceptance ¶
type RouteSuggestionAcceptance struct {
// DestinationIds Destinations for the created Route; required for `internal_alerts`.
DestinationIds *[]PublicId `json:"destination_ids,omitempty"`
}
RouteSuggestionAcceptance defines model for RouteSuggestionAcceptance.
type RouteSuggestionId ¶
type RouteSuggestionId string
RouteSuggestionId `heartbeat_lost` suggests a Route for `alertname="MusterHeartbeatLost"`; `internal_alerts` suggests a Route for `alertname=~"Muster.*"`.
const ( RouteSuggestionIdHeartbeatLost RouteSuggestionId = "heartbeat_lost" RouteSuggestionIdInternalAlerts RouteSuggestionId = "internal_alerts" )
Defines values for RouteSuggestionId.
func (RouteSuggestionId) Valid ¶
func (e RouteSuggestionId) Valid() bool
Valid indicates whether the value is a known member of the RouteSuggestionId enum.
type RouteSuggestionList ¶
type RouteSuggestionList struct {
Items []RouteSuggestion `json:"items"`
}
RouteSuggestionList defines model for RouteSuggestionList.
type RouteTemplates ¶
type RouteTemplates struct {
AckTimeoutNotice nullable.Nullable[string] `json:"ack_timeout_notice,omitempty"`
Line nullable.Nullable[string] `json:"line,omitempty"`
// RootMessage Renders only the body of the Root message — from the environment and start time to the Alerts; the status colour, heading, links, notices, footer and buttons always come from Muster.
RootMessage nullable.Nullable[string] `json:"root_message,omitempty"`
}
RouteTemplates Go templates rendered in the template sandbox. Null uses Muster's default — the default content, which Muster lays out itself, for `root_message` and `line`, and the built-in template for `ack_timeout_notice`; `previewTemplate` returns the source of the built-in template of a kind for an empty `template`, for an editor to start from. In `updateRoute` a key left out keeps the stored template and null resets it to the built-in one; in `createRoute` a key left out is the built-in one. A template that fails its dry run against recent Stored Snapshots is refused with `422` at `/policy/templates/<name>`, with `template_syntax` or `unknown_function`, its `line` and `column`.
type RunBulkCommand200JSONResponse ¶
type RunBulkCommand200JSONResponse BulkCommandResult
func (RunBulkCommand200JSONResponse) VisitRunBulkCommandResponse ¶
func (response RunBulkCommand200JSONResponse) VisitRunBulkCommandResponse(w http.ResponseWriter) error
type RunBulkCommand400ApplicationProblemPlusJSONResponse ¶
type RunBulkCommand400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (RunBulkCommand400ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse ¶
func (response RunBulkCommand400ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse(w http.ResponseWriter) error
type RunBulkCommand401ApplicationProblemPlusJSONResponse ¶
type RunBulkCommand401ApplicationProblemPlusJSONResponse struct {
}
func (RunBulkCommand401ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse ¶
func (response RunBulkCommand401ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse(w http.ResponseWriter) error
type RunBulkCommand403ApplicationProblemPlusJSONResponse ¶
type RunBulkCommand403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (RunBulkCommand403ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse ¶
func (response RunBulkCommand403ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse(w http.ResponseWriter) error
type RunBulkCommand422ApplicationProblemPlusJSONResponse ¶
type RunBulkCommand422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (RunBulkCommand422ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse ¶
func (response RunBulkCommand422ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse(w http.ResponseWriter) error
type RunBulkCommand429ApplicationProblemPlusJSONResponse ¶
type RunBulkCommand429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (RunBulkCommand429ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse ¶
func (response RunBulkCommand429ApplicationProblemPlusJSONResponse) VisitRunBulkCommandResponse(w http.ResponseWriter) error
type RunBulkCommandJSONRequestBody ¶
type RunBulkCommandJSONRequestBody = BulkCommandRequest
RunBulkCommandJSONRequestBody defines body for RunBulkCommand for application/json ContentType.
type RunBulkCommandRequestObject ¶
type RunBulkCommandRequestObject struct {
Body *RunBulkCommandJSONRequestBody
}
type RunBulkCommandResponseObject ¶
type RunBulkCommandResponseObject interface {
VisitRunBulkCommandResponse(w http.ResponseWriter) error
}
type SecretStatus ¶
type SecretStatus struct {
Set bool `json:"set"`
UpdatedAt nullable.Nullable[time.Time] `json:"updated_at,omitempty"`
}
SecretStatus What a read shows instead of a Secret. The value itself is never returned.
type ServeMux ¶
type ServeMux interface {
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
http.Handler
}
ServeMux is an abstraction of http.ServeMux.
type ServerInterface ¶
type ServerInterface interface {
// GetAlertGroupCounts Count Alert Groups per status
// (GET /alert-group-counts)
GetAlertGroupCounts(w http.ResponseWriter, r *http.Request, params GetAlertGroupCountsParams)
// GetAlertGroupStatistics Read Alert Group statistics
// (GET /alert-group-statistics)
GetAlertGroupStatistics(w http.ResponseWriter, r *http.Request, params GetAlertGroupStatisticsParams)
// ListAlertGroups List Alert Groups
// (GET /alert-groups)
ListAlertGroups(w http.ResponseWriter, r *http.Request, params ListAlertGroupsParams)
// RunBulkCommand Run a Command on several Alert Groups
// (POST /alert-groups/bulk-commands)
RunBulkCommand(w http.ResponseWriter, r *http.Request)
// GetAlertGroup Read an Alert Group
// (GET /alert-groups/{alert_group_id})
GetAlertGroup(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// AcknowledgeAlertGroup Acknowledge
// (POST /alert-groups/{alert_group_id}/acknowledge)
AcknowledgeAlertGroup(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// ListAlertGroupAlerts List the Alerts of an Alert Group
// (GET /alert-groups/{alert_group_id}/alerts)
ListAlertGroupAlerts(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId, params ListAlertGroupAlertsParams)
// ListAlertGroupDeliveries Read delivery state per Destination
// (GET /alert-groups/{alert_group_id}/deliveries)
ListAlertGroupDeliveries(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// ListAlertGroupNotes List Notes
// (GET /alert-groups/{alert_group_id}/notes)
ListAlertGroupNotes(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId, params ListAlertGroupNotesParams)
// CreateAlertGroupNote Add a Note
// (POST /alert-groups/{alert_group_id}/notes)
CreateAlertGroupNote(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// ListRelatedAlertGroups List previous Alert Groups with the same key
// (GET /alert-groups/{alert_group_id}/related)
ListRelatedAlertGroups(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId, params ListRelatedAlertGroupsParams)
// ResolveAlertGroup Resolve
// (POST /alert-groups/{alert_group_id}/resolve)
ResolveAlertGroup(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// SnoozeAlertGroup Snooze
// (POST /alert-groups/{alert_group_id}/snooze)
SnoozeAlertGroup(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// AnswerReminder Answer a Reminder with "Still on it"
// (POST /alert-groups/{alert_group_id}/still-on-it)
AnswerReminder(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// GetAlertGroupTimeline Read the Timeline of an Alert Group
// (GET /alert-groups/{alert_group_id}/timeline)
GetAlertGroupTimeline(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId, params GetAlertGroupTimelineParams)
// UnacknowledgeAlertGroup Unacknowledge
// (POST /alert-groups/{alert_group_id}/unacknowledge)
UnacknowledgeAlertGroup(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// UnresolveAlertGroup Unresolve
// (POST /alert-groups/{alert_group_id}/unresolve)
UnresolveAlertGroup(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// UnsnoozeAlertGroup Unsnooze
// (POST /alert-groups/{alert_group_id}/unsnooze)
UnsnoozeAlertGroup(w http.ResponseWriter, r *http.Request, alertGroupId AlertGroupId)
// ListAuditLog List Audit log entries
// (GET /audit-log)
ListAuditLog(w http.ResponseWriter, r *http.Request, params ListAuditLogParams)
// MattermostAction Receive a Mattermost button press
// (POST /callbacks/mattermost/{connection_id})
MattermostAction(w http.ResponseWriter, r *http.Request, connectionId ConnectionId)
// TelegramWebhook Receive a Telegram update (webhook update mode)
// (POST /callbacks/telegram/{connection_id})
TelegramWebhook(w http.ResponseWriter, r *http.Request, connectionId ConnectionId)
// ListConnections List connections
// (GET /connections)
ListConnections(w http.ResponseWriter, r *http.Request, params ListConnectionsParams)
// CreateConnection Create Connection
// (POST /connections)
CreateConnection(w http.ResponseWriter, r *http.Request)
// DeleteConnection Delete Connection
// (DELETE /connections/{connection_id})
DeleteConnection(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params DeleteConnectionParams)
// GetConnection Read Connection
// (GET /connections/{connection_id})
GetConnection(w http.ResponseWriter, r *http.Request, connectionId ConnectionId)
// UpdateConnection Update Connection
// (PUT /connections/{connection_id})
UpdateConnection(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params UpdateConnectionParams)
// ListConnectionChannels List channels visible to the bot
// (GET /connections/{connection_id}/channels)
ListConnectionChannels(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params ListConnectionChannelsParams)
// CheckConnection Check a Connection
// (POST /connections/{connection_id}/checks)
CheckConnection(w http.ResponseWriter, r *http.Request, connectionId ConnectionId)
// ListDestinations List destinations
// (GET /destinations)
ListDestinations(w http.ResponseWriter, r *http.Request, params ListDestinationsParams)
// CreateDestination Create Destination
// (POST /destinations)
CreateDestination(w http.ResponseWriter, r *http.Request)
// DeleteDestination Delete Destination
// (DELETE /destinations/{destination_id})
DeleteDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId, params DeleteDestinationParams)
// GetDestination Read Destination
// (GET /destinations/{destination_id})
GetDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// UpdateDestination Update Destination
// (PUT /destinations/{destination_id})
UpdateDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId, params UpdateDestinationParams)
// CheckDestination Run the Destination check
// (POST /destinations/{destination_id}/checks)
CheckDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// PreviewDestination Preview a message or request
// (POST /destinations/{destination_id}/previews)
PreviewDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// ListDestinationSecrets List the Secrets of a webhook Destination
// (GET /destinations/{destination_id}/secrets)
ListDestinationSecrets(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// DeleteDestinationSecret Delete a Secret of a webhook Destination
// (DELETE /destinations/{destination_id}/secrets/{secret_name})
DeleteDestinationSecret(w http.ResponseWriter, r *http.Request, destinationId DestinationId, secretName SecretName, params DeleteDestinationSecretParams)
// SetDestinationSecret Set a Secret of a webhook Destination
// (PUT /destinations/{destination_id}/secrets/{secret_name})
SetDestinationSecret(w http.ResponseWriter, r *http.Request, destinationId DestinationId, secretName SecretName, params SetDestinationSecretParams)
// GetSigningSecret Read the Signing secret status
// (GET /destinations/{destination_id}/signing-secret)
GetSigningSecret(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// GenerateSigningSecret Regenerate the Signing secret
// (POST /destinations/{destination_id}/signing-secret)
GenerateSigningSecret(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// RetirePreviousSigningSecret Retire the previous Signing secret
// (DELETE /destinations/{destination_id}/signing-secret/previous)
RetirePreviousSigningSecret(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// TestDestination Send a test message
// (POST /destinations/{destination_id}/tests)
TestDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
// PreviewGroupKey Preview a Group key
// (POST /group-key-previews)
PreviewGroupKey(w http.ResponseWriter, r *http.Request)
// HeartbeatGet Heartbeat signal (GET)
// (GET /heartbeat)
HeartbeatGet(w http.ResponseWriter, r *http.Request)
// HeartbeatPost Heartbeat signal (POST)
// (POST /heartbeat)
HeartbeatPost(w http.ResponseWriter, r *http.Request)
// HeartbeatGetWithPathToken Heartbeat signal (GET, token in the path)
// (GET /heartbeat/{ingest_token})
HeartbeatGetWithPathToken(w http.ResponseWriter, r *http.Request, ingestToken IngestTokenInPath)
// HeartbeatPostWithPathToken Heartbeat signal (POST, token in the path)
// (POST /heartbeat/{ingest_token})
HeartbeatPostWithPathToken(w http.ResponseWriter, r *http.Request, ingestToken IngestTokenInPath)
// IngestSnapshot Receive an Alertmanager webhook
// (POST /ingest)
IngestSnapshot(w http.ResponseWriter, r *http.Request)
// IngestSnapshotWithPathToken Receive an Alertmanager webhook (token in the path)
// (POST /ingest/{ingest_token})
IngestSnapshotWithPathToken(w http.ResponseWriter, r *http.Request, ingestToken IngestTokenInPath)
// ListIntegrations List integrations
// (GET /integrations)
ListIntegrations(w http.ResponseWriter, r *http.Request, params ListIntegrationsParams)
// CreateIntegration Create Integration
// (POST /integrations)
CreateIntegration(w http.ResponseWriter, r *http.Request)
// DeleteIntegration Delete Integration
// (DELETE /integrations/{integration_id})
DeleteIntegration(w http.ResponseWriter, r *http.Request, integrationId IntegrationId, params DeleteIntegrationParams)
// GetIntegration Read Integration
// (GET /integrations/{integration_id})
GetIntegration(w http.ResponseWriter, r *http.Request, integrationId IntegrationId)
// UpdateIntegration Update Integration
// (PUT /integrations/{integration_id})
UpdateIntegration(w http.ResponseWriter, r *http.Request, integrationId IntegrationId, params UpdateIntegrationParams)
// ListAlertmanagerRoutes List learned Alertmanager routes
// (GET /integrations/{integration_id}/alertmanager-routes)
ListAlertmanagerRoutes(w http.ResponseWriter, r *http.Request, integrationId IntegrationId)
// ListIntegrationAlerts List the Alerts view of an Integration
// (GET /integrations/{integration_id}/alerts)
ListIntegrationAlerts(w http.ResponseWriter, r *http.Request, integrationId IntegrationId, params ListIntegrationAlertsParams)
// ListIntegrationTokens List Integration tokens
// (GET /integrations/{integration_id}/tokens)
ListIntegrationTokens(w http.ResponseWriter, r *http.Request, integrationId IntegrationId)
// CreateIntegrationToken Create an Integration token
// (POST /integrations/{integration_id}/tokens)
CreateIntegrationToken(w http.ResponseWriter, r *http.Request, integrationId IntegrationId)
// RevokeIntegrationToken Revoke an Integration token
// (DELETE /integrations/{integration_id}/tokens/{integration_token_id})
RevokeIntegrationToken(w http.ResponseWriter, r *http.Request, integrationId IntegrationId, integrationTokenId IntegrationTokenId)
// ListLinkRules List linkrules
// (GET /link-rules)
ListLinkRules(w http.ResponseWriter, r *http.Request, params ListLinkRulesParams)
// CreateLinkRule Create LinkRule
// (POST /link-rules)
CreateLinkRule(w http.ResponseWriter, r *http.Request)
// DeleteLinkRule Delete LinkRule
// (DELETE /link-rules/{link_rule_id})
DeleteLinkRule(w http.ResponseWriter, r *http.Request, linkRuleId LinkRuleId, params DeleteLinkRuleParams)
// GetLinkRule Read LinkRule
// (GET /link-rules/{link_rule_id})
GetLinkRule(w http.ResponseWriter, r *http.Request, linkRuleId LinkRuleId)
// UpdateLinkRule Update LinkRule
// (PUT /link-rules/{link_rule_id})
UpdateLinkRule(w http.ResponseWriter, r *http.Request, linkRuleId LinkRuleId, params UpdateLinkRuleParams)
// StreamLiveUpdates Stream change hints
// (GET /live-updates)
StreamLiveUpdates(w http.ResponseWriter, r *http.Request)
// ListLookupTables List lookuptables
// (GET /lookup-tables)
ListLookupTables(w http.ResponseWriter, r *http.Request, params ListLookupTablesParams)
// CreateLookupTable Create LookupTable
// (POST /lookup-tables)
CreateLookupTable(w http.ResponseWriter, r *http.Request)
// DeleteLookupTable Delete LookupTable
// (DELETE /lookup-tables/{lookup_table_id})
DeleteLookupTable(w http.ResponseWriter, r *http.Request, lookupTableId LookupTableId, params DeleteLookupTableParams)
// GetLookupTable Read LookupTable
// (GET /lookup-tables/{lookup_table_id})
GetLookupTable(w http.ResponseWriter, r *http.Request, lookupTableId LookupTableId)
// UpdateLookupTable Update LookupTable
// (PUT /lookup-tables/{lookup_table_id})
UpdateLookupTable(w http.ResponseWriter, r *http.Request, lookupTableId LookupTableId, params UpdateLookupTableParams)
// GetMe Read own profile
// (GET /me)
GetMe(w http.ResponseWriter, r *http.Request)
// UpdateMe Update own profile
// (PUT /me)
UpdateMe(w http.ResponseWriter, r *http.Request)
// ListMyAccountLinks List own Account links
// (GET /me/account-links)
ListMyAccountLinks(w http.ResponseWriter, r *http.Request)
// ListLinkableConnections List the Connections an account can be linked through
// (GET /me/account-links/connections)
ListLinkableConnections(w http.ResponseWriter, r *http.Request)
// StartMattermostLink Start linking a Mattermost account
// (POST /me/account-links/mattermost)
StartMattermostLink(w http.ResponseWriter, r *http.Request)
// ConfirmMattermostLink Confirm a Mattermost link with the code
// (POST /me/account-links/mattermost/confirmation)
ConfirmMattermostLink(w http.ResponseWriter, r *http.Request)
// StartTelegramLink Start linking a Telegram account
// (POST /me/account-links/telegram)
StartTelegramLink(w http.ResponseWriter, r *http.Request)
// DeleteMyAccountLink Unlink an own messenger account
// (DELETE /me/account-links/{account_link_id})
DeleteMyAccountLink(w http.ResponseWriter, r *http.Request, accountLinkId AccountLinkId)
// StartOidcLink Start linking an OIDC identity
// (POST /me/oidc-identity)
StartOidcLink(w http.ResponseWriter, r *http.Request)
// CompleteOidcLink Complete linking an OIDC identity
// (GET /me/oidc-identity/callback)
CompleteOidcLink(w http.ResponseWriter, r *http.Request, params CompleteOidcLinkParams)
// ChangePassword Change own password
// (PUT /me/password)
ChangePassword(w http.ResponseWriter, r *http.Request)
// ListPersonalAccessTokens List own Personal access tokens
// (GET /me/personal-access-tokens)
ListPersonalAccessTokens(w http.ResponseWriter, r *http.Request)
// CreatePersonalAccessToken Create a Personal access token
// (POST /me/personal-access-tokens)
CreatePersonalAccessToken(w http.ResponseWriter, r *http.Request)
// RevokePersonalAccessToken Revoke a Personal access token
// (DELETE /me/personal-access-tokens/{token_id})
RevokePersonalAccessToken(w http.ResponseWriter, r *http.Request, tokenId TokenId)
// DeleteMySessions Sign out everywhere
// (DELETE /me/sessions)
DeleteMySessions(w http.ResponseWriter, r *http.Request)
// ListMySessions List own sessions
// (GET /me/sessions)
ListMySessions(w http.ResponseWriter, r *http.Request)
// GetMyTotp Read own TOTP status
// (GET /me/totp)
GetMyTotp(w http.ResponseWriter, r *http.Request)
// BeginTotpEnrolment Begin TOTP enrolment
// (POST /me/totp)
BeginTotpEnrolment(w http.ResponseWriter, r *http.Request)
// ConfirmTotpEnrolment Confirm TOTP enrolment
// (POST /me/totp/confirmation)
ConfirmTotpEnrolment(w http.ResponseWriter, r *http.Request)
// RegenerateTotpRecoveryCodes Regenerate recovery codes
// (POST /me/totp/recovery-codes)
RegenerateTotpRecoveryCodes(w http.ResponseWriter, r *http.Request)
// RemoveTotp Remove own TOTP
// (POST /me/totp/removal)
RemoveTotp(w http.ResponseWriter, r *http.Request)
// GetOidcSettings Read OIDC settings
// (GET /oidc-settings)
GetOidcSettings(w http.ResponseWriter, r *http.Request)
// UpdateOidcSettings Update OIDC settings
// (PUT /oidc-settings)
UpdateOidcSettings(w http.ResponseWriter, r *http.Request, params UpdateOidcSettingsParams)
// CheckOidcSettings Check the connection to the identity provider
// (POST /oidc-settings/checks)
CheckOidcSettings(w http.ResponseWriter, r *http.Request)
// GetOpenApiSpec Read this specification
// (GET /openapi.yaml)
GetOpenApiSpec(w http.ResponseWriter, r *http.Request)
// GetOrganization Read the Organization
// (GET /organization)
GetOrganization(w http.ResponseWriter, r *http.Request)
// UpdateOrganization Update the Organization
// (PUT /organization)
UpdateOrganization(w http.ResponseWriter, r *http.Request, params UpdateOrganizationParams)
// GetKeyring Read the Keyring status
// (GET /organization/keyring)
GetKeyring(w http.ResponseWriter, r *http.Request)
// GetOutboundPolicy Read the outbound address policy
// (GET /organization/outbound-policy)
GetOutboundPolicy(w http.ResponseWriter, r *http.Request)
// UpdateOutboundPolicy Update the outbound address policy
// (PUT /organization/outbound-policy)
UpdateOutboundPolicy(w http.ResponseWriter, r *http.Request, params UpdateOutboundPolicyParams)
// ListSeverityValues List severity values seen
// (GET /organization/severity-values)
ListSeverityValues(w http.ResponseWriter, r *http.Request)
// CompletePasswordSetup Set a password from a setup link
// (POST /password-setups)
CompletePasswordSetup(w http.ResponseWriter, r *http.Request)
// ListRoles List Roles with their Permissions
// (GET /roles)
ListRoles(w http.ResponseWriter, r *http.Request)
// ReorderRoutes Reorder Routes
// (PUT /route-order)
ReorderRoutes(w http.ResponseWriter, r *http.Request, params ReorderRoutesParams)
// ListRouteProfiles List Route profiles
// (GET /route-profiles)
ListRouteProfiles(w http.ResponseWriter, r *http.Request)
// ListRouteSuggestions List Route suggestions
// (GET /route-suggestions)
ListRouteSuggestions(w http.ResponseWriter, r *http.Request)
// AcceptRouteSuggestion Accept a Route suggestion
// (POST /route-suggestions/{suggestion_id}/accept)
AcceptRouteSuggestion(w http.ResponseWriter, r *http.Request, suggestionId SuggestionId)
// DismissRouteSuggestion Dismiss a Route suggestion
// (POST /route-suggestions/{suggestion_id}/dismiss)
DismissRouteSuggestion(w http.ResponseWriter, r *http.Request, suggestionId SuggestionId)
// ListRoutes List Routes in evaluation order
// (GET /routes)
ListRoutes(w http.ResponseWriter, r *http.Request)
// CreateRoute Create a Route
// (POST /routes)
CreateRoute(w http.ResponseWriter, r *http.Request)
// DeleteRoute Delete a Route
// (DELETE /routes/{route_id})
DeleteRoute(w http.ResponseWriter, r *http.Request, routeId RouteId, params DeleteRouteParams)
// GetRoute Read a Route
// (GET /routes/{route_id})
GetRoute(w http.ResponseWriter, r *http.Request, routeId RouteId)
// UpdateRoute Update a Route
// (PUT /routes/{route_id})
UpdateRoute(w http.ResponseWriter, r *http.Request, routeId RouteId, params UpdateRouteParams)
// MoveOpenAlertGroups Move open Alert Groups to the Default route
// (POST /routes/{route_id}/move-open-alert-groups)
MoveOpenAlertGroups(w http.ResponseWriter, r *http.Request, routeId RouteId)
// ListServiceAccounts List Service accounts
// (GET /service-accounts)
ListServiceAccounts(w http.ResponseWriter, r *http.Request, params ListServiceAccountsParams)
// CreateServiceAccount Create a Service account
// (POST /service-accounts)
CreateServiceAccount(w http.ResponseWriter, r *http.Request)
// DeleteServiceAccount Delete a Service account
// (DELETE /service-accounts/{service_account_id})
DeleteServiceAccount(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId, params DeleteServiceAccountParams)
// GetServiceAccount Read a Service account
// (GET /service-accounts/{service_account_id})
GetServiceAccount(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId)
// UpdateServiceAccount Update a Service account
// (PUT /service-accounts/{service_account_id})
UpdateServiceAccount(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId, params UpdateServiceAccountParams)
// DisableServiceAccount Disable a Service account
// (POST /service-accounts/{service_account_id}/disable)
DisableServiceAccount(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId)
// EnableServiceAccount Enable a Service account
// (POST /service-accounts/{service_account_id}/enable)
EnableServiceAccount(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId)
// ListServiceAccountTokens List tokens of a Service account
// (GET /service-accounts/{service_account_id}/tokens)
ListServiceAccountTokens(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId)
// CreateServiceAccountToken Create a Service account token
// (POST /service-accounts/{service_account_id}/tokens)
CreateServiceAccountToken(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId)
// RevokeServiceAccountToken Revoke a Service account token
// (DELETE /service-accounts/{service_account_id}/tokens/{token_id})
RevokeServiceAccountToken(w http.ResponseWriter, r *http.Request, serviceAccountId ServiceAccountId, tokenId TokenId)
// CreateSession Sign in with a local account
// (POST /sessions)
CreateSession(w http.ResponseWriter, r *http.Request)
// DeleteCurrentSession Sign out
// (DELETE /sessions/current)
DeleteCurrentSession(w http.ResponseWriter, r *http.Request)
// GetCurrentSession Read the current session
// (GET /sessions/current)
GetCurrentSession(w http.ResponseWriter, r *http.Request)
// SubmitSessionTotp Give the second factor
// (POST /sessions/current/totp)
SubmitSessionTotp(w http.ResponseWriter, r *http.Request)
// CompleteOidcSignIn Complete OIDC sign-in
// (GET /sessions/oidc/callback)
CompleteOidcSignIn(w http.ResponseWriter, r *http.Request, params CompleteOidcSignInParams)
// StartOidcSignIn Start OIDC sign-in
// (GET /sessions/oidc/start)
StartOidcSignIn(w http.ResponseWriter, r *http.Request, params StartOidcSignInParams)
// GetSignInOptions Read sign-in options
// (GET /sign-in-options)
GetSignInOptions(w http.ResponseWriter, r *http.Request)
// ListStoredSnapshots List Stored Snapshots
// (GET /stored-snapshots)
ListStoredSnapshots(w http.ResponseWriter, r *http.Request, params ListStoredSnapshotsParams)
// GetStoredSnapshot Read a Stored Snapshot as received
// (GET /stored-snapshots/{stored_snapshot_id})
GetStoredSnapshot(w http.ResponseWriter, r *http.Request, storedSnapshotId StoredSnapshotId)
// ListSystemNotices List active Organization-wide notices
// (GET /system-notices)
ListSystemNotices(w http.ResponseWriter, r *http.Request)
// GetSystemStatus Read the System status
// (GET /system-status)
GetSystemStatus(w http.ResponseWriter, r *http.Request)
// PreviewTemplate Render a template against a sample
// (POST /template-previews)
PreviewTemplate(w http.ResponseWriter, r *http.Request)
// ListUserDirectory List users for pickers and filters
// (GET /user-directory)
ListUserDirectory(w http.ResponseWriter, r *http.Request, params ListUserDirectoryParams)
// ListUsers List users
// (GET /users)
ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)
// CreateUser Create a local user
// (POST /users)
CreateUser(w http.ResponseWriter, r *http.Request)
// DeleteUser Delete a user
// (DELETE /users/{user_id})
DeleteUser(w http.ResponseWriter, r *http.Request, userId UserId, params DeleteUserParams)
// GetUser Read a user
// (GET /users/{user_id})
GetUser(w http.ResponseWriter, r *http.Request, userId UserId)
// UpdateUser Update a user
// (PUT /users/{user_id})
UpdateUser(w http.ResponseWriter, r *http.Request, userId UserId, params UpdateUserParams)
// ListUserAccountLinks List a user's Account links
// (GET /users/{user_id}/account-links)
ListUserAccountLinks(w http.ResponseWriter, r *http.Request, userId UserId)
// DeleteUserAccountLink Remove a user's Account link
// (DELETE /users/{user_id}/account-links/{account_link_id})
DeleteUserAccountLink(w http.ResponseWriter, r *http.Request, userId UserId, accountLinkId AccountLinkId)
// ConvertUserToLocal Convert an OIDC account to local
// (POST /users/{user_id}/convert-to-local)
ConvertUserToLocal(w http.ResponseWriter, r *http.Request, userId UserId)
// DisableUser Disable a user
// (POST /users/{user_id}/disable)
DisableUser(w http.ResponseWriter, r *http.Request, userId UserId)
// EnableUser Enable a user
// (POST /users/{user_id}/enable)
EnableUser(w http.ResponseWriter, r *http.Request, userId UserId)
// CreatePasswordSetupLink Issue a password setup link
// (POST /users/{user_id}/password-setup-links)
CreatePasswordSetupLink(w http.ResponseWriter, r *http.Request, userId UserId)
// ResetUserTotp Reset a user's TOTP
// (POST /users/{user_id}/reset-totp)
ResetUserTotp(w http.ResponseWriter, r *http.Request, userId UserId)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AcceptRouteSuggestion ¶
func (siw *ServerInterfaceWrapper) AcceptRouteSuggestion(w http.ResponseWriter, r *http.Request)
AcceptRouteSuggestion operation middleware
func (*ServerInterfaceWrapper) AcknowledgeAlertGroup ¶
func (siw *ServerInterfaceWrapper) AcknowledgeAlertGroup(w http.ResponseWriter, r *http.Request)
AcknowledgeAlertGroup operation middleware
func (*ServerInterfaceWrapper) AnswerReminder ¶
func (siw *ServerInterfaceWrapper) AnswerReminder(w http.ResponseWriter, r *http.Request)
AnswerReminder operation middleware
func (*ServerInterfaceWrapper) BeginTotpEnrolment ¶
func (siw *ServerInterfaceWrapper) BeginTotpEnrolment(w http.ResponseWriter, r *http.Request)
BeginTotpEnrolment operation middleware
func (*ServerInterfaceWrapper) ChangePassword ¶
func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)
ChangePassword operation middleware
func (*ServerInterfaceWrapper) CheckConnection ¶
func (siw *ServerInterfaceWrapper) CheckConnection(w http.ResponseWriter, r *http.Request)
CheckConnection operation middleware
func (*ServerInterfaceWrapper) CheckDestination ¶
func (siw *ServerInterfaceWrapper) CheckDestination(w http.ResponseWriter, r *http.Request)
CheckDestination operation middleware
func (*ServerInterfaceWrapper) CheckOidcSettings ¶
func (siw *ServerInterfaceWrapper) CheckOidcSettings(w http.ResponseWriter, r *http.Request)
CheckOidcSettings operation middleware
func (*ServerInterfaceWrapper) CompleteOidcLink ¶
func (siw *ServerInterfaceWrapper) CompleteOidcLink(w http.ResponseWriter, r *http.Request)
CompleteOidcLink operation middleware
func (*ServerInterfaceWrapper) CompleteOidcSignIn ¶
func (siw *ServerInterfaceWrapper) CompleteOidcSignIn(w http.ResponseWriter, r *http.Request)
CompleteOidcSignIn operation middleware
func (*ServerInterfaceWrapper) CompletePasswordSetup ¶
func (siw *ServerInterfaceWrapper) CompletePasswordSetup(w http.ResponseWriter, r *http.Request)
CompletePasswordSetup operation middleware
func (*ServerInterfaceWrapper) ConfirmMattermostLink ¶
func (siw *ServerInterfaceWrapper) ConfirmMattermostLink(w http.ResponseWriter, r *http.Request)
ConfirmMattermostLink operation middleware
func (*ServerInterfaceWrapper) ConfirmTotpEnrolment ¶
func (siw *ServerInterfaceWrapper) ConfirmTotpEnrolment(w http.ResponseWriter, r *http.Request)
ConfirmTotpEnrolment operation middleware
func (*ServerInterfaceWrapper) ConvertUserToLocal ¶
func (siw *ServerInterfaceWrapper) ConvertUserToLocal(w http.ResponseWriter, r *http.Request)
ConvertUserToLocal operation middleware
func (*ServerInterfaceWrapper) CreateAlertGroupNote ¶
func (siw *ServerInterfaceWrapper) CreateAlertGroupNote(w http.ResponseWriter, r *http.Request)
CreateAlertGroupNote operation middleware
func (*ServerInterfaceWrapper) CreateConnection ¶
func (siw *ServerInterfaceWrapper) CreateConnection(w http.ResponseWriter, r *http.Request)
CreateConnection operation middleware
func (*ServerInterfaceWrapper) CreateDestination ¶
func (siw *ServerInterfaceWrapper) CreateDestination(w http.ResponseWriter, r *http.Request)
CreateDestination operation middleware
func (*ServerInterfaceWrapper) CreateIntegration ¶
func (siw *ServerInterfaceWrapper) CreateIntegration(w http.ResponseWriter, r *http.Request)
CreateIntegration operation middleware
func (*ServerInterfaceWrapper) CreateIntegrationToken ¶
func (siw *ServerInterfaceWrapper) CreateIntegrationToken(w http.ResponseWriter, r *http.Request)
CreateIntegrationToken operation middleware
func (*ServerInterfaceWrapper) CreateLinkRule ¶
func (siw *ServerInterfaceWrapper) CreateLinkRule(w http.ResponseWriter, r *http.Request)
CreateLinkRule operation middleware
func (*ServerInterfaceWrapper) CreateLookupTable ¶
func (siw *ServerInterfaceWrapper) CreateLookupTable(w http.ResponseWriter, r *http.Request)
CreateLookupTable operation middleware
func (*ServerInterfaceWrapper) CreatePasswordSetupLink ¶
func (siw *ServerInterfaceWrapper) CreatePasswordSetupLink(w http.ResponseWriter, r *http.Request)
CreatePasswordSetupLink operation middleware
func (*ServerInterfaceWrapper) CreatePersonalAccessToken ¶
func (siw *ServerInterfaceWrapper) CreatePersonalAccessToken(w http.ResponseWriter, r *http.Request)
CreatePersonalAccessToken operation middleware
func (*ServerInterfaceWrapper) CreateRoute ¶
func (siw *ServerInterfaceWrapper) CreateRoute(w http.ResponseWriter, r *http.Request)
CreateRoute operation middleware
func (*ServerInterfaceWrapper) CreateServiceAccount ¶
func (siw *ServerInterfaceWrapper) CreateServiceAccount(w http.ResponseWriter, r *http.Request)
CreateServiceAccount operation middleware
func (*ServerInterfaceWrapper) CreateServiceAccountToken ¶
func (siw *ServerInterfaceWrapper) CreateServiceAccountToken(w http.ResponseWriter, r *http.Request)
CreateServiceAccountToken operation middleware
func (*ServerInterfaceWrapper) CreateSession ¶
func (siw *ServerInterfaceWrapper) CreateSession(w http.ResponseWriter, r *http.Request)
CreateSession operation middleware
func (*ServerInterfaceWrapper) CreateUser ¶
func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)
CreateUser operation middleware
func (*ServerInterfaceWrapper) DeleteConnection ¶
func (siw *ServerInterfaceWrapper) DeleteConnection(w http.ResponseWriter, r *http.Request)
DeleteConnection operation middleware
func (*ServerInterfaceWrapper) DeleteCurrentSession ¶
func (siw *ServerInterfaceWrapper) DeleteCurrentSession(w http.ResponseWriter, r *http.Request)
DeleteCurrentSession operation middleware
func (*ServerInterfaceWrapper) DeleteDestination ¶
func (siw *ServerInterfaceWrapper) DeleteDestination(w http.ResponseWriter, r *http.Request)
DeleteDestination operation middleware
func (*ServerInterfaceWrapper) DeleteDestinationSecret ¶
func (siw *ServerInterfaceWrapper) DeleteDestinationSecret(w http.ResponseWriter, r *http.Request)
DeleteDestinationSecret operation middleware
func (*ServerInterfaceWrapper) DeleteIntegration ¶
func (siw *ServerInterfaceWrapper) DeleteIntegration(w http.ResponseWriter, r *http.Request)
DeleteIntegration operation middleware
func (*ServerInterfaceWrapper) DeleteLinkRule ¶
func (siw *ServerInterfaceWrapper) DeleteLinkRule(w http.ResponseWriter, r *http.Request)
DeleteLinkRule operation middleware
func (*ServerInterfaceWrapper) DeleteLookupTable ¶
func (siw *ServerInterfaceWrapper) DeleteLookupTable(w http.ResponseWriter, r *http.Request)
DeleteLookupTable operation middleware
func (*ServerInterfaceWrapper) DeleteMyAccountLink ¶
func (siw *ServerInterfaceWrapper) DeleteMyAccountLink(w http.ResponseWriter, r *http.Request)
DeleteMyAccountLink operation middleware
func (*ServerInterfaceWrapper) DeleteMySessions ¶
func (siw *ServerInterfaceWrapper) DeleteMySessions(w http.ResponseWriter, r *http.Request)
DeleteMySessions operation middleware
func (*ServerInterfaceWrapper) DeleteRoute ¶
func (siw *ServerInterfaceWrapper) DeleteRoute(w http.ResponseWriter, r *http.Request)
DeleteRoute operation middleware
func (*ServerInterfaceWrapper) DeleteServiceAccount ¶
func (siw *ServerInterfaceWrapper) DeleteServiceAccount(w http.ResponseWriter, r *http.Request)
DeleteServiceAccount operation middleware
func (*ServerInterfaceWrapper) DeleteUser ¶
func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)
DeleteUser operation middleware
func (*ServerInterfaceWrapper) DeleteUserAccountLink ¶
func (siw *ServerInterfaceWrapper) DeleteUserAccountLink(w http.ResponseWriter, r *http.Request)
DeleteUserAccountLink operation middleware
func (*ServerInterfaceWrapper) DisableServiceAccount ¶
func (siw *ServerInterfaceWrapper) DisableServiceAccount(w http.ResponseWriter, r *http.Request)
DisableServiceAccount operation middleware
func (*ServerInterfaceWrapper) DisableUser ¶
func (siw *ServerInterfaceWrapper) DisableUser(w http.ResponseWriter, r *http.Request)
DisableUser operation middleware
func (*ServerInterfaceWrapper) DismissRouteSuggestion ¶
func (siw *ServerInterfaceWrapper) DismissRouteSuggestion(w http.ResponseWriter, r *http.Request)
DismissRouteSuggestion operation middleware
func (*ServerInterfaceWrapper) EnableServiceAccount ¶
func (siw *ServerInterfaceWrapper) EnableServiceAccount(w http.ResponseWriter, r *http.Request)
EnableServiceAccount operation middleware
func (*ServerInterfaceWrapper) EnableUser ¶
func (siw *ServerInterfaceWrapper) EnableUser(w http.ResponseWriter, r *http.Request)
EnableUser operation middleware
func (*ServerInterfaceWrapper) GenerateSigningSecret ¶
func (siw *ServerInterfaceWrapper) GenerateSigningSecret(w http.ResponseWriter, r *http.Request)
GenerateSigningSecret operation middleware
func (*ServerInterfaceWrapper) GetAlertGroup ¶
func (siw *ServerInterfaceWrapper) GetAlertGroup(w http.ResponseWriter, r *http.Request)
GetAlertGroup operation middleware
func (*ServerInterfaceWrapper) GetAlertGroupCounts ¶
func (siw *ServerInterfaceWrapper) GetAlertGroupCounts(w http.ResponseWriter, r *http.Request)
GetAlertGroupCounts operation middleware
func (*ServerInterfaceWrapper) GetAlertGroupStatistics ¶
func (siw *ServerInterfaceWrapper) GetAlertGroupStatistics(w http.ResponseWriter, r *http.Request)
GetAlertGroupStatistics operation middleware
func (*ServerInterfaceWrapper) GetAlertGroupTimeline ¶
func (siw *ServerInterfaceWrapper) GetAlertGroupTimeline(w http.ResponseWriter, r *http.Request)
GetAlertGroupTimeline operation middleware
func (*ServerInterfaceWrapper) GetConnection ¶
func (siw *ServerInterfaceWrapper) GetConnection(w http.ResponseWriter, r *http.Request)
GetConnection operation middleware
func (*ServerInterfaceWrapper) GetCurrentSession ¶
func (siw *ServerInterfaceWrapper) GetCurrentSession(w http.ResponseWriter, r *http.Request)
GetCurrentSession operation middleware
func (*ServerInterfaceWrapper) GetDestination ¶
func (siw *ServerInterfaceWrapper) GetDestination(w http.ResponseWriter, r *http.Request)
GetDestination operation middleware
func (*ServerInterfaceWrapper) GetIntegration ¶
func (siw *ServerInterfaceWrapper) GetIntegration(w http.ResponseWriter, r *http.Request)
GetIntegration operation middleware
func (*ServerInterfaceWrapper) GetKeyring ¶
func (siw *ServerInterfaceWrapper) GetKeyring(w http.ResponseWriter, r *http.Request)
GetKeyring operation middleware
func (*ServerInterfaceWrapper) GetLinkRule ¶
func (siw *ServerInterfaceWrapper) GetLinkRule(w http.ResponseWriter, r *http.Request)
GetLinkRule operation middleware
func (*ServerInterfaceWrapper) GetLookupTable ¶
func (siw *ServerInterfaceWrapper) GetLookupTable(w http.ResponseWriter, r *http.Request)
GetLookupTable operation middleware
func (*ServerInterfaceWrapper) GetMe ¶
func (siw *ServerInterfaceWrapper) GetMe(w http.ResponseWriter, r *http.Request)
GetMe operation middleware
func (*ServerInterfaceWrapper) GetMyTotp ¶
func (siw *ServerInterfaceWrapper) GetMyTotp(w http.ResponseWriter, r *http.Request)
GetMyTotp operation middleware
func (*ServerInterfaceWrapper) GetOidcSettings ¶
func (siw *ServerInterfaceWrapper) GetOidcSettings(w http.ResponseWriter, r *http.Request)
GetOidcSettings operation middleware
func (*ServerInterfaceWrapper) GetOpenApiSpec ¶
func (siw *ServerInterfaceWrapper) GetOpenApiSpec(w http.ResponseWriter, r *http.Request)
GetOpenApiSpec operation middleware
func (*ServerInterfaceWrapper) GetOrganization ¶
func (siw *ServerInterfaceWrapper) GetOrganization(w http.ResponseWriter, r *http.Request)
GetOrganization operation middleware
func (*ServerInterfaceWrapper) GetOutboundPolicy ¶
func (siw *ServerInterfaceWrapper) GetOutboundPolicy(w http.ResponseWriter, r *http.Request)
GetOutboundPolicy operation middleware
func (*ServerInterfaceWrapper) GetRoute ¶
func (siw *ServerInterfaceWrapper) GetRoute(w http.ResponseWriter, r *http.Request)
GetRoute operation middleware
func (*ServerInterfaceWrapper) GetServiceAccount ¶
func (siw *ServerInterfaceWrapper) GetServiceAccount(w http.ResponseWriter, r *http.Request)
GetServiceAccount operation middleware
func (*ServerInterfaceWrapper) GetSignInOptions ¶
func (siw *ServerInterfaceWrapper) GetSignInOptions(w http.ResponseWriter, r *http.Request)
GetSignInOptions operation middleware
func (*ServerInterfaceWrapper) GetSigningSecret ¶
func (siw *ServerInterfaceWrapper) GetSigningSecret(w http.ResponseWriter, r *http.Request)
GetSigningSecret operation middleware
func (*ServerInterfaceWrapper) GetStoredSnapshot ¶
func (siw *ServerInterfaceWrapper) GetStoredSnapshot(w http.ResponseWriter, r *http.Request)
GetStoredSnapshot operation middleware
func (*ServerInterfaceWrapper) GetSystemStatus ¶
func (siw *ServerInterfaceWrapper) GetSystemStatus(w http.ResponseWriter, r *http.Request)
GetSystemStatus operation middleware
func (*ServerInterfaceWrapper) GetUser ¶
func (siw *ServerInterfaceWrapper) GetUser(w http.ResponseWriter, r *http.Request)
GetUser operation middleware
func (*ServerInterfaceWrapper) HeartbeatGet ¶
func (siw *ServerInterfaceWrapper) HeartbeatGet(w http.ResponseWriter, r *http.Request)
HeartbeatGet operation middleware
func (*ServerInterfaceWrapper) HeartbeatGetWithPathToken ¶
func (siw *ServerInterfaceWrapper) HeartbeatGetWithPathToken(w http.ResponseWriter, r *http.Request)
HeartbeatGetWithPathToken operation middleware
func (*ServerInterfaceWrapper) HeartbeatPost ¶
func (siw *ServerInterfaceWrapper) HeartbeatPost(w http.ResponseWriter, r *http.Request)
HeartbeatPost operation middleware
func (*ServerInterfaceWrapper) HeartbeatPostWithPathToken ¶
func (siw *ServerInterfaceWrapper) HeartbeatPostWithPathToken(w http.ResponseWriter, r *http.Request)
HeartbeatPostWithPathToken operation middleware
func (*ServerInterfaceWrapper) IngestSnapshot ¶
func (siw *ServerInterfaceWrapper) IngestSnapshot(w http.ResponseWriter, r *http.Request)
IngestSnapshot operation middleware
func (*ServerInterfaceWrapper) IngestSnapshotWithPathToken ¶
func (siw *ServerInterfaceWrapper) IngestSnapshotWithPathToken(w http.ResponseWriter, r *http.Request)
IngestSnapshotWithPathToken operation middleware
func (*ServerInterfaceWrapper) ListAlertGroupAlerts ¶
func (siw *ServerInterfaceWrapper) ListAlertGroupAlerts(w http.ResponseWriter, r *http.Request)
ListAlertGroupAlerts operation middleware
func (*ServerInterfaceWrapper) ListAlertGroupDeliveries ¶
func (siw *ServerInterfaceWrapper) ListAlertGroupDeliveries(w http.ResponseWriter, r *http.Request)
ListAlertGroupDeliveries operation middleware
func (*ServerInterfaceWrapper) ListAlertGroupNotes ¶
func (siw *ServerInterfaceWrapper) ListAlertGroupNotes(w http.ResponseWriter, r *http.Request)
ListAlertGroupNotes operation middleware
func (*ServerInterfaceWrapper) ListAlertGroups ¶
func (siw *ServerInterfaceWrapper) ListAlertGroups(w http.ResponseWriter, r *http.Request)
ListAlertGroups operation middleware
func (*ServerInterfaceWrapper) ListAlertmanagerRoutes ¶
func (siw *ServerInterfaceWrapper) ListAlertmanagerRoutes(w http.ResponseWriter, r *http.Request)
ListAlertmanagerRoutes operation middleware
func (*ServerInterfaceWrapper) ListAuditLog ¶
func (siw *ServerInterfaceWrapper) ListAuditLog(w http.ResponseWriter, r *http.Request)
ListAuditLog operation middleware
func (*ServerInterfaceWrapper) ListConnectionChannels ¶
func (siw *ServerInterfaceWrapper) ListConnectionChannels(w http.ResponseWriter, r *http.Request)
ListConnectionChannels operation middleware
func (*ServerInterfaceWrapper) ListConnections ¶
func (siw *ServerInterfaceWrapper) ListConnections(w http.ResponseWriter, r *http.Request)
ListConnections operation middleware
func (*ServerInterfaceWrapper) ListDestinationSecrets ¶
func (siw *ServerInterfaceWrapper) ListDestinationSecrets(w http.ResponseWriter, r *http.Request)
ListDestinationSecrets operation middleware
func (*ServerInterfaceWrapper) ListDestinations ¶
func (siw *ServerInterfaceWrapper) ListDestinations(w http.ResponseWriter, r *http.Request)
ListDestinations operation middleware
func (*ServerInterfaceWrapper) ListIntegrationAlerts ¶
func (siw *ServerInterfaceWrapper) ListIntegrationAlerts(w http.ResponseWriter, r *http.Request)
ListIntegrationAlerts operation middleware
func (*ServerInterfaceWrapper) ListIntegrationTokens ¶
func (siw *ServerInterfaceWrapper) ListIntegrationTokens(w http.ResponseWriter, r *http.Request)
ListIntegrationTokens operation middleware
func (*ServerInterfaceWrapper) ListIntegrations ¶
func (siw *ServerInterfaceWrapper) ListIntegrations(w http.ResponseWriter, r *http.Request)
ListIntegrations operation middleware
func (*ServerInterfaceWrapper) ListLinkRules ¶
func (siw *ServerInterfaceWrapper) ListLinkRules(w http.ResponseWriter, r *http.Request)
ListLinkRules operation middleware
func (*ServerInterfaceWrapper) ListLinkableConnections ¶
func (siw *ServerInterfaceWrapper) ListLinkableConnections(w http.ResponseWriter, r *http.Request)
ListLinkableConnections operation middleware
func (*ServerInterfaceWrapper) ListLookupTables ¶
func (siw *ServerInterfaceWrapper) ListLookupTables(w http.ResponseWriter, r *http.Request)
ListLookupTables operation middleware
func (*ServerInterfaceWrapper) ListMyAccountLinks ¶
func (siw *ServerInterfaceWrapper) ListMyAccountLinks(w http.ResponseWriter, r *http.Request)
ListMyAccountLinks operation middleware
func (*ServerInterfaceWrapper) ListMySessions ¶
func (siw *ServerInterfaceWrapper) ListMySessions(w http.ResponseWriter, r *http.Request)
ListMySessions operation middleware
func (*ServerInterfaceWrapper) ListPersonalAccessTokens ¶
func (siw *ServerInterfaceWrapper) ListPersonalAccessTokens(w http.ResponseWriter, r *http.Request)
ListPersonalAccessTokens operation middleware
func (*ServerInterfaceWrapper) ListRelatedAlertGroups ¶
func (siw *ServerInterfaceWrapper) ListRelatedAlertGroups(w http.ResponseWriter, r *http.Request)
ListRelatedAlertGroups operation middleware
func (*ServerInterfaceWrapper) ListRoles ¶
func (siw *ServerInterfaceWrapper) ListRoles(w http.ResponseWriter, r *http.Request)
ListRoles operation middleware
func (*ServerInterfaceWrapper) ListRouteProfiles ¶
func (siw *ServerInterfaceWrapper) ListRouteProfiles(w http.ResponseWriter, r *http.Request)
ListRouteProfiles operation middleware
func (*ServerInterfaceWrapper) ListRouteSuggestions ¶
func (siw *ServerInterfaceWrapper) ListRouteSuggestions(w http.ResponseWriter, r *http.Request)
ListRouteSuggestions operation middleware
func (*ServerInterfaceWrapper) ListRoutes ¶
func (siw *ServerInterfaceWrapper) ListRoutes(w http.ResponseWriter, r *http.Request)
ListRoutes operation middleware
func (*ServerInterfaceWrapper) ListServiceAccountTokens ¶
func (siw *ServerInterfaceWrapper) ListServiceAccountTokens(w http.ResponseWriter, r *http.Request)
ListServiceAccountTokens operation middleware
func (*ServerInterfaceWrapper) ListServiceAccounts ¶
func (siw *ServerInterfaceWrapper) ListServiceAccounts(w http.ResponseWriter, r *http.Request)
ListServiceAccounts operation middleware
func (*ServerInterfaceWrapper) ListSeverityValues ¶
func (siw *ServerInterfaceWrapper) ListSeverityValues(w http.ResponseWriter, r *http.Request)
ListSeverityValues operation middleware
func (*ServerInterfaceWrapper) ListStoredSnapshots ¶
func (siw *ServerInterfaceWrapper) ListStoredSnapshots(w http.ResponseWriter, r *http.Request)
ListStoredSnapshots operation middleware
func (*ServerInterfaceWrapper) ListSystemNotices ¶
func (siw *ServerInterfaceWrapper) ListSystemNotices(w http.ResponseWriter, r *http.Request)
ListSystemNotices operation middleware
func (*ServerInterfaceWrapper) ListUserAccountLinks ¶
func (siw *ServerInterfaceWrapper) ListUserAccountLinks(w http.ResponseWriter, r *http.Request)
ListUserAccountLinks operation middleware
func (*ServerInterfaceWrapper) ListUserDirectory ¶
func (siw *ServerInterfaceWrapper) ListUserDirectory(w http.ResponseWriter, r *http.Request)
ListUserDirectory operation middleware
func (*ServerInterfaceWrapper) ListUsers ¶
func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)
ListUsers operation middleware
func (*ServerInterfaceWrapper) MattermostAction ¶
func (siw *ServerInterfaceWrapper) MattermostAction(w http.ResponseWriter, r *http.Request)
MattermostAction operation middleware
func (*ServerInterfaceWrapper) MoveOpenAlertGroups ¶
func (siw *ServerInterfaceWrapper) MoveOpenAlertGroups(w http.ResponseWriter, r *http.Request)
MoveOpenAlertGroups operation middleware
func (*ServerInterfaceWrapper) PreviewDestination ¶
func (siw *ServerInterfaceWrapper) PreviewDestination(w http.ResponseWriter, r *http.Request)
PreviewDestination operation middleware
func (*ServerInterfaceWrapper) PreviewGroupKey ¶
func (siw *ServerInterfaceWrapper) PreviewGroupKey(w http.ResponseWriter, r *http.Request)
PreviewGroupKey operation middleware
func (*ServerInterfaceWrapper) PreviewTemplate ¶
func (siw *ServerInterfaceWrapper) PreviewTemplate(w http.ResponseWriter, r *http.Request)
PreviewTemplate operation middleware
func (*ServerInterfaceWrapper) RegenerateTotpRecoveryCodes ¶
func (siw *ServerInterfaceWrapper) RegenerateTotpRecoveryCodes(w http.ResponseWriter, r *http.Request)
RegenerateTotpRecoveryCodes operation middleware
func (*ServerInterfaceWrapper) RemoveTotp ¶
func (siw *ServerInterfaceWrapper) RemoveTotp(w http.ResponseWriter, r *http.Request)
RemoveTotp operation middleware
func (*ServerInterfaceWrapper) ReorderRoutes ¶
func (siw *ServerInterfaceWrapper) ReorderRoutes(w http.ResponseWriter, r *http.Request)
ReorderRoutes operation middleware
func (*ServerInterfaceWrapper) ResetUserTotp ¶
func (siw *ServerInterfaceWrapper) ResetUserTotp(w http.ResponseWriter, r *http.Request)
ResetUserTotp operation middleware
func (*ServerInterfaceWrapper) ResolveAlertGroup ¶
func (siw *ServerInterfaceWrapper) ResolveAlertGroup(w http.ResponseWriter, r *http.Request)
ResolveAlertGroup operation middleware
func (*ServerInterfaceWrapper) RetirePreviousSigningSecret ¶
func (siw *ServerInterfaceWrapper) RetirePreviousSigningSecret(w http.ResponseWriter, r *http.Request)
RetirePreviousSigningSecret operation middleware
func (*ServerInterfaceWrapper) RevokeIntegrationToken ¶
func (siw *ServerInterfaceWrapper) RevokeIntegrationToken(w http.ResponseWriter, r *http.Request)
RevokeIntegrationToken operation middleware
func (*ServerInterfaceWrapper) RevokePersonalAccessToken ¶
func (siw *ServerInterfaceWrapper) RevokePersonalAccessToken(w http.ResponseWriter, r *http.Request)
RevokePersonalAccessToken operation middleware
func (*ServerInterfaceWrapper) RevokeServiceAccountToken ¶
func (siw *ServerInterfaceWrapper) RevokeServiceAccountToken(w http.ResponseWriter, r *http.Request)
RevokeServiceAccountToken operation middleware
func (*ServerInterfaceWrapper) RunBulkCommand ¶
func (siw *ServerInterfaceWrapper) RunBulkCommand(w http.ResponseWriter, r *http.Request)
RunBulkCommand operation middleware
func (*ServerInterfaceWrapper) SetDestinationSecret ¶
func (siw *ServerInterfaceWrapper) SetDestinationSecret(w http.ResponseWriter, r *http.Request)
SetDestinationSecret operation middleware
func (*ServerInterfaceWrapper) SnoozeAlertGroup ¶
func (siw *ServerInterfaceWrapper) SnoozeAlertGroup(w http.ResponseWriter, r *http.Request)
SnoozeAlertGroup operation middleware
func (*ServerInterfaceWrapper) StartMattermostLink ¶
func (siw *ServerInterfaceWrapper) StartMattermostLink(w http.ResponseWriter, r *http.Request)
StartMattermostLink operation middleware
func (*ServerInterfaceWrapper) StartOidcLink ¶
func (siw *ServerInterfaceWrapper) StartOidcLink(w http.ResponseWriter, r *http.Request)
StartOidcLink operation middleware
func (*ServerInterfaceWrapper) StartOidcSignIn ¶
func (siw *ServerInterfaceWrapper) StartOidcSignIn(w http.ResponseWriter, r *http.Request)
StartOidcSignIn operation middleware
func (*ServerInterfaceWrapper) StartTelegramLink ¶
func (siw *ServerInterfaceWrapper) StartTelegramLink(w http.ResponseWriter, r *http.Request)
StartTelegramLink operation middleware
func (*ServerInterfaceWrapper) StreamLiveUpdates ¶
func (siw *ServerInterfaceWrapper) StreamLiveUpdates(w http.ResponseWriter, r *http.Request)
StreamLiveUpdates operation middleware
func (*ServerInterfaceWrapper) SubmitSessionTotp ¶
func (siw *ServerInterfaceWrapper) SubmitSessionTotp(w http.ResponseWriter, r *http.Request)
SubmitSessionTotp operation middleware
func (*ServerInterfaceWrapper) TelegramWebhook ¶
func (siw *ServerInterfaceWrapper) TelegramWebhook(w http.ResponseWriter, r *http.Request)
TelegramWebhook operation middleware
func (*ServerInterfaceWrapper) TestDestination ¶
func (siw *ServerInterfaceWrapper) TestDestination(w http.ResponseWriter, r *http.Request)
TestDestination operation middleware
func (*ServerInterfaceWrapper) UnacknowledgeAlertGroup ¶
func (siw *ServerInterfaceWrapper) UnacknowledgeAlertGroup(w http.ResponseWriter, r *http.Request)
UnacknowledgeAlertGroup operation middleware
func (*ServerInterfaceWrapper) UnresolveAlertGroup ¶
func (siw *ServerInterfaceWrapper) UnresolveAlertGroup(w http.ResponseWriter, r *http.Request)
UnresolveAlertGroup operation middleware
func (*ServerInterfaceWrapper) UnsnoozeAlertGroup ¶
func (siw *ServerInterfaceWrapper) UnsnoozeAlertGroup(w http.ResponseWriter, r *http.Request)
UnsnoozeAlertGroup operation middleware
func (*ServerInterfaceWrapper) UpdateConnection ¶
func (siw *ServerInterfaceWrapper) UpdateConnection(w http.ResponseWriter, r *http.Request)
UpdateConnection operation middleware
func (*ServerInterfaceWrapper) UpdateDestination ¶
func (siw *ServerInterfaceWrapper) UpdateDestination(w http.ResponseWriter, r *http.Request)
UpdateDestination operation middleware
func (*ServerInterfaceWrapper) UpdateIntegration ¶
func (siw *ServerInterfaceWrapper) UpdateIntegration(w http.ResponseWriter, r *http.Request)
UpdateIntegration operation middleware
func (*ServerInterfaceWrapper) UpdateLinkRule ¶
func (siw *ServerInterfaceWrapper) UpdateLinkRule(w http.ResponseWriter, r *http.Request)
UpdateLinkRule operation middleware
func (*ServerInterfaceWrapper) UpdateLookupTable ¶
func (siw *ServerInterfaceWrapper) UpdateLookupTable(w http.ResponseWriter, r *http.Request)
UpdateLookupTable operation middleware
func (*ServerInterfaceWrapper) UpdateMe ¶
func (siw *ServerInterfaceWrapper) UpdateMe(w http.ResponseWriter, r *http.Request)
UpdateMe operation middleware
func (*ServerInterfaceWrapper) UpdateOidcSettings ¶
func (siw *ServerInterfaceWrapper) UpdateOidcSettings(w http.ResponseWriter, r *http.Request)
UpdateOidcSettings operation middleware
func (*ServerInterfaceWrapper) UpdateOrganization ¶
func (siw *ServerInterfaceWrapper) UpdateOrganization(w http.ResponseWriter, r *http.Request)
UpdateOrganization operation middleware
func (*ServerInterfaceWrapper) UpdateOutboundPolicy ¶
func (siw *ServerInterfaceWrapper) UpdateOutboundPolicy(w http.ResponseWriter, r *http.Request)
UpdateOutboundPolicy operation middleware
func (*ServerInterfaceWrapper) UpdateRoute ¶
func (siw *ServerInterfaceWrapper) UpdateRoute(w http.ResponseWriter, r *http.Request)
UpdateRoute operation middleware
func (*ServerInterfaceWrapper) UpdateServiceAccount ¶
func (siw *ServerInterfaceWrapper) UpdateServiceAccount(w http.ResponseWriter, r *http.Request)
UpdateServiceAccount operation middleware
func (*ServerInterfaceWrapper) UpdateUser ¶
func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)
UpdateUser operation middleware
type ServiceAccount ¶
type ServiceAccount struct {
CreatedAt time.Time `json:"created_at"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Name string `json:"name"`
Role RoleName `json:"role"`
Status ServiceAccountStatus `json:"status"`
TokenCount int `json:"token_count"`
}
ServiceAccount A non-person identity with a Role and tokens. It cannot sign in and has no Account links. It can never become the Owner of an Alert Group: Acknowledge and "Still on it" from it are refused with `command-refused` `owner_must_be_user`; it may Resolve, Snooze and add Notes.
type ServiceAccountId ¶
type ServiceAccountId = PublicId
ServiceAccountId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type ServiceAccountInput ¶
ServiceAccountInput defines model for ServiceAccountInput.
type ServiceAccountList ¶
type ServiceAccountList struct {
Items []ServiceAccount `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
ServiceAccountList defines model for ServiceAccountList.
type ServiceAccountStatus ¶
type ServiceAccountStatus string
ServiceAccountStatus defines model for ServiceAccount.Status.
const ( ServiceAccountStatusActive ServiceAccountStatus = "active" ServiceAccountStatusDisabled ServiceAccountStatus = "disabled" )
Defines values for ServiceAccountStatus.
func (ServiceAccountStatus) Valid ¶
func (e ServiceAccountStatus) Valid() bool
Valid indicates whether the value is a known member of the ServiceAccountStatus enum.
type ServiceAccountToken ¶
type ServiceAccountToken struct {
CreatedAt time.Time `json:"created_at"`
// ExpiresAt Null means the token never expires; the UI warns.
ExpiresAt nullable.Nullable[time.Time] `json:"expires_at,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
LastUsedAddress nullable.Nullable[string] `json:"last_used_address,omitempty"`
LastUsedAt nullable.Nullable[time.Time] `json:"last_used_at,omitempty"`
Name string `json:"name"`
}
ServiceAccountToken defines model for ServiceAccountToken.
type ServiceAccountTokenCreate ¶
type ServiceAccountTokenCreate struct {
ExpiresAt nullable.Nullable[time.Time] `json:"expires_at,omitempty"`
Name string `json:"name"`
}
ServiceAccountTokenCreate defines model for ServiceAccountTokenCreate.
type ServiceAccountTokenCreated ¶
type ServiceAccountTokenCreated struct {
Token ServiceAccountToken `json:"token"`
// Value The token, starting with `mstr_sat_`. Shown once.
Value string `json:"value"`
}
ServiceAccountTokenCreated defines model for ServiceAccountTokenCreated.
type ServiceAccountTokenList ¶
type ServiceAccountTokenList struct {
Items []ServiceAccountToken `json:"items"`
}
ServiceAccountTokenList defines model for ServiceAccountTokenList.
type Session ¶
type Session struct {
// CsrfToken Send as `X-CSRF-Token` on every mutating request made with the session cookie.
CsrfToken string `json:"csrf_token"`
ExpiresAt time.Time `json:"expires_at"`
IdleExpiresAt time.Time `json:"idle_expires_at"`
// Method How the session signed in. OIDC accounts are re-checked at the identity provider per user, in the background, with the offline token the IdP granted at sign-in (`offline_access`); when the IdP refuses the user, all of the user's sessions end and the next request gets `401` with `oidc_session_ended`. An `oidc` session of a user without an offline token ends at most `auth.oidc_fallback_session_lifetime` after sign-in.
Method SessionMethod `json:"method"`
// Permissions Empty while the session is limited (`totp_required`, `totp_enrolment_required`).
Permissions []Permission `json:"permissions"`
// State `totp_required` after the password (or OIDC) step when the user has TOTP and the code was not yet given; `totp_enrolment_required` while the Organization's TOTP policy demands enrolment. In both limited states `permissions` is empty and only `getCurrentSession`, `deleteCurrentSession` and, per state, `submitSessionTotp` (`totp_required`) or `beginTotpEnrolment`, `confirmTotpEnrolment` and `getMyTotp` (`totp_enrolment_required`) work; everything else answers `403` with the code `totp_required` or `totp_enrolment_required`.
State SessionState `json:"state"`
User User `json:"user"`
}
Session defines model for Session.
type SessionCreate ¶
type SessionCreate struct {
// Login Compared case-insensitively.
Login string `json:"login"`
Password *string `json:"password,omitempty"`
// RecoveryCode A single-use recovery code instead of `totp_code`.
RecoveryCode *string `json:"recovery_code,omitempty"`
// TotpCode Current TOTP code, if the user has TOTP and wants to finish in one request.
TotpCode *string `json:"totp_code,omitempty"`
}
SessionCreate defines model for SessionCreate.
type SessionInfo ¶
type SessionInfo struct {
Address nullable.Nullable[string] `json:"address,omitempty"`
CreatedAt time.Time `json:"created_at"`
Current bool `json:"current"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
LastUsedAt time.Time `json:"last_used_at"`
// Method How the session signed in. OIDC accounts are re-checked at the identity provider per user, in the background, with the offline token the IdP granted at sign-in (`offline_access`); when the IdP refuses the user, all of the user's sessions end and the next request gets `401` with `oidc_session_ended`. An `oidc` session of a user without an offline token ends at most `auth.oidc_fallback_session_lifetime` after sign-in.
Method SessionMethod `json:"method"`
UserAgent nullable.Nullable[string] `json:"user_agent,omitempty"`
}
SessionInfo defines model for SessionInfo.
type SessionInfoList ¶
type SessionInfoList struct {
Items []SessionInfo `json:"items"`
}
SessionInfoList defines model for SessionInfoList.
type SessionMethod ¶
type SessionMethod string
SessionMethod How the session signed in. OIDC accounts are re-checked at the identity provider per user, in the background, with the offline token the IdP granted at sign-in (`offline_access`); when the IdP refuses the user, all of the user's sessions end and the next request gets `401` with `oidc_session_ended`. An `oidc` session of a user without an offline token ends at most `auth.oidc_fallback_session_lifetime` after sign-in.
const ( SessionMethodLocal SessionMethod = "local" SessionMethodOidc SessionMethod = "oidc" )
Defines values for SessionMethod.
func (SessionMethod) Valid ¶
func (e SessionMethod) Valid() bool
Valid indicates whether the value is a known member of the SessionMethod enum.
type SessionState ¶
type SessionState string
SessionState `totp_required` after the password (or OIDC) step when the user has TOTP and the code was not yet given; `totp_enrolment_required` while the Organization's TOTP policy demands enrolment. In both limited states `permissions` is empty and only `getCurrentSession`, `deleteCurrentSession` and, per state, `submitSessionTotp` (`totp_required`) or `beginTotpEnrolment`, `confirmTotpEnrolment` and `getMyTotp` (`totp_enrolment_required`) work; everything else answers `403` with the code `totp_required` or `totp_enrolment_required`.
const ( SessionStateActive SessionState = "active" SessionStateTotpEnrolmentRequired SessionState = "totp_enrolment_required" SessionStateTotpRequired SessionState = "totp_required" )
Defines values for SessionState.
func (SessionState) Valid ¶
func (e SessionState) Valid() bool
Valid indicates whether the value is a known member of the SessionState enum.
type SessionTotp ¶
type SessionTotp struct {
// RecoveryCode A single-use recovery code.
RecoveryCode *string `json:"recovery_code,omitempty"`
// TotpCode Current TOTP code.
TotpCode *string `json:"totp_code,omitempty"`
}
SessionTotp Exactly one of the two fields.
type SetDestinationSecret200JSONResponse ¶
type SetDestinationSecret200JSONResponse struct {
Body DestinationSecret
Headers SetDestinationSecret200ResponseHeaders
}
func (SetDestinationSecret200JSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret200JSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret200ResponseHeaders ¶
type SetDestinationSecret200ResponseHeaders struct {
ETag *string
}
type SetDestinationSecret400ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (SetDestinationSecret400ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret400ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret401ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret401ApplicationProblemPlusJSONResponse struct {
}
func (SetDestinationSecret401ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret401ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret403ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (SetDestinationSecret403ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret403ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret404ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetDestinationSecret404ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret404ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret409ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetDestinationSecret409ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret409ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret412ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (SetDestinationSecret412ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret412ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret422ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (SetDestinationSecret422ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret422ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecret429ApplicationProblemPlusJSONResponse ¶
type SetDestinationSecret429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (SetDestinationSecret429ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse ¶
func (response SetDestinationSecret429ApplicationProblemPlusJSONResponse) VisitSetDestinationSecretResponse(w http.ResponseWriter) error
type SetDestinationSecretJSONRequestBody ¶
type SetDestinationSecretJSONRequestBody = DestinationSecretInput
SetDestinationSecretJSONRequestBody defines body for SetDestinationSecret for application/json ContentType.
type SetDestinationSecretParams ¶
type SetDestinationSecretParams struct {
// IfMatch Optional ETag; when present and stale, the request gets `412`.
IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}
SetDestinationSecretParams defines parameters for SetDestinationSecret.
type SetDestinationSecretRequestObject ¶
type SetDestinationSecretRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
SecretName SecretName `json:"secret_name"`
Params SetDestinationSecretParams
Body *SetDestinationSecretJSONRequestBody
}
type SetDestinationSecretResponseObject ¶
type SetDestinationSecretResponseObject interface {
VisitSetDestinationSecretResponse(w http.ResponseWriter) error
}
type SeverityLevel ¶
type SeverityLevel string
SeverityLevel defines model for SeverityLevel.
const ( Critical SeverityLevel = "critical" Info SeverityLevel = "info" Warning SeverityLevel = "warning" )
Defines values for SeverityLevel.
func (SeverityLevel) Valid ¶
func (e SeverityLevel) Valid() bool
Valid indicates whether the value is a known member of the SeverityLevel enum.
type SeverityLevelStyle ¶
type SeverityLevelStyle struct {
// Color CSS hex colour, for example `#d32f2f`.
Color string `json:"color"`
Emoji string `json:"emoji"`
Level SeverityLevel `json:"level"`
}
SeverityLevelStyle defines model for SeverityLevelStyle.
type SeverityMappingEntry ¶
type SeverityMappingEntry struct {
Level SeverityLevel `json:"level"`
Value string `json:"value"`
}
SeverityMappingEntry defines model for SeverityMappingEntry.
type SeverityValue ¶
type SeverityValue struct {
Count int `json:"count"`
Level SeverityLevel `json:"level"`
// Mapped False when the value has no mapping and counts as warning.
Mapped bool `json:"mapped"`
Value string `json:"value"`
}
SeverityValue defines model for SeverityValue.
type SeverityValueList ¶
type SeverityValueList struct {
Items []SeverityValue `json:"items"`
WindowDays int `json:"window_days"`
}
SeverityValueList defines model for SeverityValueList.
type SignInOptions ¶
type SignInOptions struct {
Oidc struct {
// DisplayName Provider name for the button "Sign in with {display_name}". Present while OIDC is enabled.
DisplayName *string `json:"display_name,omitempty"`
Enabled bool `json:"enabled"`
} `json:"oidc"`
}
SignInOptions What the sign-in page offers besides the local form, which is always shown.
type SigningSecretGenerated ¶
type SigningSecretGenerated struct {
// Secret The new Signing secret. Shown once.
Secret string `json:"secret"`
Status SigningSecretStatus `json:"status"`
}
SigningSecretGenerated defines model for SigningSecretGenerated.
type SigningSecretStatus ¶
type SigningSecretStatus struct {
// PreviousActiveSince Set while the previous Signing secret still signs.
PreviousActiveSince nullable.Nullable[time.Time] `json:"previous_active_since,omitempty"`
Set bool `json:"set"`
UpdatedAt nullable.Nullable[time.Time] `json:"updated_at,omitempty"`
}
SigningSecretStatus defines model for SigningSecretStatus.
type SnapshotState ¶
type SnapshotState string
SnapshotState `pending` until a worker has processed it, `processed`, or `failed` when the body could not be processed. A failed Snapshot is never retried by itself; `muster ingest replay` reprocesses it after a fix.
const ( SnapshotStateFailed SnapshotState = "failed" SnapshotStatePending SnapshotState = "pending" SnapshotStateProcessed SnapshotState = "processed" )
Defines values for SnapshotState.
func (SnapshotState) Valid ¶
func (e SnapshotState) Valid() bool
Valid indicates whether the value is a known member of the SnapshotState enum.
type SnoozeAlertGroup200JSONResponse ¶
type SnoozeAlertGroup200JSONResponse CommandResult
func (SnoozeAlertGroup200JSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup200JSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroup400ApplicationProblemPlusJSONResponse ¶
type SnoozeAlertGroup400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (SnoozeAlertGroup400ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup400ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroup401ApplicationProblemPlusJSONResponse ¶
type SnoozeAlertGroup401ApplicationProblemPlusJSONResponse struct {
}
func (SnoozeAlertGroup401ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup401ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroup403ApplicationProblemPlusJSONResponse ¶
type SnoozeAlertGroup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (SnoozeAlertGroup403ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup403ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroup404ApplicationProblemPlusJSONResponse ¶
type SnoozeAlertGroup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SnoozeAlertGroup404ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup404ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroup409ApplicationProblemPlusJSONResponse ¶
type SnoozeAlertGroup409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SnoozeAlertGroup409ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup409ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroup422ApplicationProblemPlusJSONResponse ¶
type SnoozeAlertGroup422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (SnoozeAlertGroup422ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup422ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroup429ApplicationProblemPlusJSONResponse ¶
type SnoozeAlertGroup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (SnoozeAlertGroup429ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse ¶
func (response SnoozeAlertGroup429ApplicationProblemPlusJSONResponse) VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
type SnoozeAlertGroupJSONRequestBody ¶
type SnoozeAlertGroupJSONRequestBody = SnoozeRequest
SnoozeAlertGroupJSONRequestBody defines body for SnoozeAlertGroup for application/json ContentType.
type SnoozeAlertGroupRequestObject ¶
type SnoozeAlertGroupRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
Body *SnoozeAlertGroupJSONRequestBody
}
type SnoozeAlertGroupResponseObject ¶
type SnoozeAlertGroupResponseObject interface {
VisitSnoozeAlertGroupResponse(w http.ResponseWriter) error
}
type SnoozeRequest ¶
type SnoozeRequest struct {
// NoEnd Snooze until someone unsnoozes it.
NoEnd *SnoozeRequestNoEnd `json:"no_end,omitempty"`
// Until A future time.
Until *time.Time `json:"until,omitempty"`
}
SnoozeRequest Exactly one of `until` and `no_end`; neither, both or a past `until` is `422`. A Snooze with no end is chosen explicitly, never by leaving a field out. The UI shows a warning before sending `no_end`.
type SnoozeRequestNoEnd ¶
type SnoozeRequestNoEnd bool
SnoozeRequestNoEnd Snooze until someone unsnoozes it.
const (
True SnoozeRequestNoEnd = true
)
Defines values for SnoozeRequestNoEnd.
func (SnoozeRequestNoEnd) Valid ¶
func (e SnoozeRequestNoEnd) Valid() bool
Valid indicates whether the value is a known member of the SnoozeRequestNoEnd enum.
type StartMattermostLink202JSONResponse ¶
type StartMattermostLink202JSONResponse MattermostLinkStarted
func (StartMattermostLink202JSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink202JSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink400ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (StartMattermostLink400ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink400ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink401ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink401ApplicationProblemPlusJSONResponse struct {
}
func (StartMattermostLink401ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink401ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink403ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (StartMattermostLink403ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink403ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink404ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (StartMattermostLink404ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink404ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink409ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (StartMattermostLink409ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink409ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink422ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (StartMattermostLink422ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink422ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink429ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (StartMattermostLink429ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink429ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLink503ApplicationProblemPlusJSONResponse ¶
type StartMattermostLink503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (StartMattermostLink503ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse ¶
func (response StartMattermostLink503ApplicationProblemPlusJSONResponse) VisitStartMattermostLinkResponse(w http.ResponseWriter) error
type StartMattermostLinkJSONRequestBody ¶
type StartMattermostLinkJSONRequestBody = MattermostLinkRequest
StartMattermostLinkJSONRequestBody defines body for StartMattermostLink for application/json ContentType.
type StartMattermostLinkRequestObject ¶
type StartMattermostLinkRequestObject struct {
Body *StartMattermostLinkJSONRequestBody
}
type StartMattermostLinkResponseObject ¶
type StartMattermostLinkResponseObject interface {
VisitStartMattermostLinkResponse(w http.ResponseWriter) error
}
type StartOidcLink201JSONResponse ¶
type StartOidcLink201JSONResponse OidcLinkStart
func (StartOidcLink201JSONResponse) VisitStartOidcLinkResponse ¶
func (response StartOidcLink201JSONResponse) VisitStartOidcLinkResponse(w http.ResponseWriter) error
type StartOidcLink401ApplicationProblemPlusJSONResponse ¶
type StartOidcLink401ApplicationProblemPlusJSONResponse struct {
}
func (StartOidcLink401ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse ¶
func (response StartOidcLink401ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse(w http.ResponseWriter) error
type StartOidcLink403ApplicationProblemPlusJSONResponse ¶
type StartOidcLink403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (StartOidcLink403ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse ¶
func (response StartOidcLink403ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse(w http.ResponseWriter) error
type StartOidcLink409ApplicationProblemPlusJSONResponse ¶
type StartOidcLink409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (StartOidcLink409ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse ¶
func (response StartOidcLink409ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse(w http.ResponseWriter) error
type StartOidcLink429ApplicationProblemPlusJSONResponse ¶
type StartOidcLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (StartOidcLink429ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse ¶
func (response StartOidcLink429ApplicationProblemPlusJSONResponse) VisitStartOidcLinkResponse(w http.ResponseWriter) error
type StartOidcLinkRequestObject ¶
type StartOidcLinkRequestObject struct {
}
type StartOidcLinkResponseObject ¶
type StartOidcLinkResponseObject interface {
VisitStartOidcLinkResponse(w http.ResponseWriter) error
}
type StartOidcSignIn302Response ¶
type StartOidcSignIn302Response struct {
Headers StartOidcSignIn302ResponseHeaders
}
func (StartOidcSignIn302Response) VisitStartOidcSignInResponse ¶
func (response StartOidcSignIn302Response) VisitStartOidcSignInResponse(w http.ResponseWriter) error
type StartOidcSignIn302ResponseHeaders ¶
type StartOidcSignIn302ResponseHeaders struct {
Location *string
}
type StartOidcSignIn409ApplicationProblemPlusJSONResponse ¶
type StartOidcSignIn409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (StartOidcSignIn409ApplicationProblemPlusJSONResponse) VisitStartOidcSignInResponse ¶
func (response StartOidcSignIn409ApplicationProblemPlusJSONResponse) VisitStartOidcSignInResponse(w http.ResponseWriter) error
type StartOidcSignIn429ApplicationProblemPlusJSONResponse ¶
type StartOidcSignIn429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (StartOidcSignIn429ApplicationProblemPlusJSONResponse) VisitStartOidcSignInResponse ¶
func (response StartOidcSignIn429ApplicationProblemPlusJSONResponse) VisitStartOidcSignInResponse(w http.ResponseWriter) error
type StartOidcSignInParams ¶
type StartOidcSignInParams struct {
// ReturnTo Path to open after sign-in: a relative path that starts with a single `/` (never `//`, `/\` or a scheme), at most 2000 characters. Anything else is ignored, not refused, so the flow is no open redirect.
ReturnTo *string `form:"return_to,omitempty" json:"return_to,omitempty"`
}
StartOidcSignInParams defines parameters for StartOidcSignIn.
type StartOidcSignInRequestObject ¶
type StartOidcSignInRequestObject struct {
Params StartOidcSignInParams
}
type StartOidcSignInResponseObject ¶
type StartOidcSignInResponseObject interface {
VisitStartOidcSignInResponse(w http.ResponseWriter) error
}
type StartTelegramLink201JSONResponse ¶
type StartTelegramLink201JSONResponse TelegramLinkStart
func (StartTelegramLink201JSONResponse) VisitStartTelegramLinkResponse ¶
func (response StartTelegramLink201JSONResponse) VisitStartTelegramLinkResponse(w http.ResponseWriter) error
type StartTelegramLink400ApplicationProblemPlusJSONResponse ¶
type StartTelegramLink400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (StartTelegramLink400ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse ¶
func (response StartTelegramLink400ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse(w http.ResponseWriter) error
type StartTelegramLink401ApplicationProblemPlusJSONResponse ¶
type StartTelegramLink401ApplicationProblemPlusJSONResponse struct {
}
func (StartTelegramLink401ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse ¶
func (response StartTelegramLink401ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse(w http.ResponseWriter) error
type StartTelegramLink403ApplicationProblemPlusJSONResponse ¶
type StartTelegramLink403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (StartTelegramLink403ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse ¶
func (response StartTelegramLink403ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse(w http.ResponseWriter) error
type StartTelegramLink422ApplicationProblemPlusJSONResponse ¶
type StartTelegramLink422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (StartTelegramLink422ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse ¶
func (response StartTelegramLink422ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse(w http.ResponseWriter) error
type StartTelegramLink429ApplicationProblemPlusJSONResponse ¶
type StartTelegramLink429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (StartTelegramLink429ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse ¶
func (response StartTelegramLink429ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse(w http.ResponseWriter) error
type StartTelegramLink503ApplicationProblemPlusJSONResponse ¶
type StartTelegramLink503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (StartTelegramLink503ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse ¶
func (response StartTelegramLink503ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse(w http.ResponseWriter) error
type StartTelegramLinkJSONRequestBody ¶
type StartTelegramLinkJSONRequestBody = TelegramLinkRequest
StartTelegramLinkJSONRequestBody defines body for StartTelegramLink for application/json ContentType.
type StartTelegramLinkRequestObject ¶
type StartTelegramLinkRequestObject struct {
Body *StartTelegramLinkJSONRequestBody
}
type StartTelegramLinkResponseObject ¶
type StartTelegramLinkResponseObject interface {
VisitStartTelegramLinkResponse(w http.ResponseWriter) error
}
type StatisticsDay ¶
type StatisticsDay struct {
AlertGroupCount int `json:"alert_group_count"`
Date openapi_types.Date `json:"date"`
// TimeToAcknowledge From the start of each Alert Group to its first acknowledgement; see `AlertGroupStatisticsItem`.
TimeToAcknowledge DurationStats `json:"time_to_acknowledge"`
TimeToResolve DurationStats `json:"time_to_resolve"`
}
StatisticsDay defines model for StatisticsDay.
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StoredSnapshot ¶
type StoredSnapshot struct {
AlertCount nullable.Nullable[int] `json:"alert_count,omitempty"`
// Body The body exactly as received. Alertmanager sends a JSON payload (see `AlertmanagerWebhook`), but any body up to the limit is stored.
Body string `json:"body"`
// BodyEncoding `base64` when the stored bytes are not valid UTF-8.
BodyEncoding StoredSnapshotBodyEncoding `json:"body_encoding"`
// ContentType The `Content-Type` of the request, if any.
ContentType nullable.Nullable[string] `json:"content_type"`
// GroupKey The `groupKey` of the payload; null when it could not be read.
GroupKey nullable.Nullable[string] `json:"group_key,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Integration EntityRef `json:"integration"`
ProcessedAt nullable.Nullable[time.Time] `json:"processed_at,omitempty"`
// ProcessingError Why processing failed, for `failed`: for example the body is not valid JSON or does not look like an Alertmanager payload. The body itself stays as received.
ProcessingError nullable.Nullable[string] `json:"processing_error,omitempty"`
ReceivedAt time.Time `json:"received_at"`
SizeBytes int `json:"size_bytes"`
// State `pending` until a worker has processed it, `processed`, or `failed` when the body could not be processed. A failed Snapshot is never retried by itself; `muster ingest replay` reprocesses it after a fix.
State SnapshotState `json:"state"`
TruncatedAlerts nullable.Nullable[int] `json:"truncated_alerts,omitempty"`
}
StoredSnapshot defines model for StoredSnapshot.
type StoredSnapshotBodyEncoding ¶
type StoredSnapshotBodyEncoding string
StoredSnapshotBodyEncoding `base64` when the stored bytes are not valid UTF-8.
const ( Base64 StoredSnapshotBodyEncoding = "base64" Utf8 StoredSnapshotBodyEncoding = "utf8" )
Defines values for StoredSnapshotBodyEncoding.
func (StoredSnapshotBodyEncoding) Valid ¶
func (e StoredSnapshotBodyEncoding) Valid() bool
Valid indicates whether the value is a known member of the StoredSnapshotBodyEncoding enum.
type StoredSnapshotId ¶
type StoredSnapshotId = PublicId
StoredSnapshotId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type StoredSnapshotList ¶
type StoredSnapshotList struct {
Items []StoredSnapshotSummary `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
StoredSnapshotList defines model for StoredSnapshotList.
type StoredSnapshotSummary ¶
type StoredSnapshotSummary struct {
AlertCount nullable.Nullable[int] `json:"alert_count,omitempty"`
// GroupKey The `groupKey` of the payload; null when it could not be read.
GroupKey nullable.Nullable[string] `json:"group_key,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Integration EntityRef `json:"integration"`
ProcessedAt nullable.Nullable[time.Time] `json:"processed_at,omitempty"`
// ProcessingError Why processing failed, for `failed`: for example the body is not valid JSON or does not look like an Alertmanager payload. The body itself stays as received.
ProcessingError nullable.Nullable[string] `json:"processing_error,omitempty"`
ReceivedAt time.Time `json:"received_at"`
SizeBytes int `json:"size_bytes"`
// State `pending` until a worker has processed it, `processed`, or `failed` when the body could not be processed. A failed Snapshot is never retried by itself; `muster ingest replay` reprocesses it after a fix.
State SnapshotState `json:"state"`
TruncatedAlerts nullable.Nullable[int] `json:"truncated_alerts,omitempty"`
}
StoredSnapshotSummary defines model for StoredSnapshotSummary.
type StreamLiveUpdates200ResponseHeaders ¶
type StreamLiveUpdates200ResponseHeaders struct {
CacheControl *string
}
type StreamLiveUpdates200TexteventStreamResponse ¶
type StreamLiveUpdates200TexteventStreamResponse struct {
Body io.Reader
Headers StreamLiveUpdates200ResponseHeaders
ContentLength int64
}
func (StreamLiveUpdates200TexteventStreamResponse) VisitStreamLiveUpdatesResponse ¶
func (response StreamLiveUpdates200TexteventStreamResponse) VisitStreamLiveUpdatesResponse(w http.ResponseWriter) error
type StreamLiveUpdates401ApplicationProblemPlusJSONResponse ¶
type StreamLiveUpdates401ApplicationProblemPlusJSONResponse struct {
}
func (StreamLiveUpdates401ApplicationProblemPlusJSONResponse) VisitStreamLiveUpdatesResponse ¶
func (response StreamLiveUpdates401ApplicationProblemPlusJSONResponse) VisitStreamLiveUpdatesResponse(w http.ResponseWriter) error
type StreamLiveUpdates403ApplicationProblemPlusJSONResponse ¶
type StreamLiveUpdates403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (StreamLiveUpdates403ApplicationProblemPlusJSONResponse) VisitStreamLiveUpdatesResponse ¶
func (response StreamLiveUpdates403ApplicationProblemPlusJSONResponse) VisitStreamLiveUpdatesResponse(w http.ResponseWriter) error
type StreamLiveUpdates429ApplicationProblemPlusJSONResponse ¶
type StreamLiveUpdates429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (StreamLiveUpdates429ApplicationProblemPlusJSONResponse) VisitStreamLiveUpdatesResponse ¶
func (response StreamLiveUpdates429ApplicationProblemPlusJSONResponse) VisitStreamLiveUpdatesResponse(w http.ResponseWriter) error
type StreamLiveUpdatesRequestObject ¶
type StreamLiveUpdatesRequestObject struct {
}
type StreamLiveUpdatesResponseObject ¶
type StreamLiveUpdatesResponseObject interface {
VisitStreamLiveUpdatesResponse(w http.ResponseWriter) error
}
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// GetAlertGroupCounts Count Alert Groups per status
// (GET /alert-group-counts)
GetAlertGroupCounts(ctx context.Context, request GetAlertGroupCountsRequestObject) (GetAlertGroupCountsResponseObject, error)
// GetAlertGroupStatistics Read Alert Group statistics
// (GET /alert-group-statistics)
GetAlertGroupStatistics(ctx context.Context, request GetAlertGroupStatisticsRequestObject) (GetAlertGroupStatisticsResponseObject, error)
// ListAlertGroups List Alert Groups
// (GET /alert-groups)
ListAlertGroups(ctx context.Context, request ListAlertGroupsRequestObject) (ListAlertGroupsResponseObject, error)
// RunBulkCommand Run a Command on several Alert Groups
// (POST /alert-groups/bulk-commands)
RunBulkCommand(ctx context.Context, request RunBulkCommandRequestObject) (RunBulkCommandResponseObject, error)
// GetAlertGroup Read an Alert Group
// (GET /alert-groups/{alert_group_id})
GetAlertGroup(ctx context.Context, request GetAlertGroupRequestObject) (GetAlertGroupResponseObject, error)
// AcknowledgeAlertGroup Acknowledge
// (POST /alert-groups/{alert_group_id}/acknowledge)
AcknowledgeAlertGroup(ctx context.Context, request AcknowledgeAlertGroupRequestObject) (AcknowledgeAlertGroupResponseObject, error)
// ListAlertGroupAlerts List the Alerts of an Alert Group
// (GET /alert-groups/{alert_group_id}/alerts)
ListAlertGroupAlerts(ctx context.Context, request ListAlertGroupAlertsRequestObject) (ListAlertGroupAlertsResponseObject, error)
// ListAlertGroupDeliveries Read delivery state per Destination
// (GET /alert-groups/{alert_group_id}/deliveries)
ListAlertGroupDeliveries(ctx context.Context, request ListAlertGroupDeliveriesRequestObject) (ListAlertGroupDeliveriesResponseObject, error)
// ListAlertGroupNotes List Notes
// (GET /alert-groups/{alert_group_id}/notes)
ListAlertGroupNotes(ctx context.Context, request ListAlertGroupNotesRequestObject) (ListAlertGroupNotesResponseObject, error)
// CreateAlertGroupNote Add a Note
// (POST /alert-groups/{alert_group_id}/notes)
CreateAlertGroupNote(ctx context.Context, request CreateAlertGroupNoteRequestObject) (CreateAlertGroupNoteResponseObject, error)
// ListRelatedAlertGroups List previous Alert Groups with the same key
// (GET /alert-groups/{alert_group_id}/related)
ListRelatedAlertGroups(ctx context.Context, request ListRelatedAlertGroupsRequestObject) (ListRelatedAlertGroupsResponseObject, error)
// ResolveAlertGroup Resolve
// (POST /alert-groups/{alert_group_id}/resolve)
ResolveAlertGroup(ctx context.Context, request ResolveAlertGroupRequestObject) (ResolveAlertGroupResponseObject, error)
// SnoozeAlertGroup Snooze
// (POST /alert-groups/{alert_group_id}/snooze)
SnoozeAlertGroup(ctx context.Context, request SnoozeAlertGroupRequestObject) (SnoozeAlertGroupResponseObject, error)
// AnswerReminder Answer a Reminder with "Still on it"
// (POST /alert-groups/{alert_group_id}/still-on-it)
AnswerReminder(ctx context.Context, request AnswerReminderRequestObject) (AnswerReminderResponseObject, error)
// GetAlertGroupTimeline Read the Timeline of an Alert Group
// (GET /alert-groups/{alert_group_id}/timeline)
GetAlertGroupTimeline(ctx context.Context, request GetAlertGroupTimelineRequestObject) (GetAlertGroupTimelineResponseObject, error)
// UnacknowledgeAlertGroup Unacknowledge
// (POST /alert-groups/{alert_group_id}/unacknowledge)
UnacknowledgeAlertGroup(ctx context.Context, request UnacknowledgeAlertGroupRequestObject) (UnacknowledgeAlertGroupResponseObject, error)
// UnresolveAlertGroup Unresolve
// (POST /alert-groups/{alert_group_id}/unresolve)
UnresolveAlertGroup(ctx context.Context, request UnresolveAlertGroupRequestObject) (UnresolveAlertGroupResponseObject, error)
// UnsnoozeAlertGroup Unsnooze
// (POST /alert-groups/{alert_group_id}/unsnooze)
UnsnoozeAlertGroup(ctx context.Context, request UnsnoozeAlertGroupRequestObject) (UnsnoozeAlertGroupResponseObject, error)
// ListAuditLog List Audit log entries
// (GET /audit-log)
ListAuditLog(ctx context.Context, request ListAuditLogRequestObject) (ListAuditLogResponseObject, error)
// MattermostAction Receive a Mattermost button press
// (POST /callbacks/mattermost/{connection_id})
MattermostAction(ctx context.Context, request MattermostActionRequestObject) (MattermostActionResponseObject, error)
// TelegramWebhook Receive a Telegram update (webhook update mode)
// (POST /callbacks/telegram/{connection_id})
TelegramWebhook(ctx context.Context, request TelegramWebhookRequestObject) (TelegramWebhookResponseObject, error)
// ListConnections List connections
// (GET /connections)
ListConnections(ctx context.Context, request ListConnectionsRequestObject) (ListConnectionsResponseObject, error)
// CreateConnection Create Connection
// (POST /connections)
CreateConnection(ctx context.Context, request CreateConnectionRequestObject) (CreateConnectionResponseObject, error)
// DeleteConnection Delete Connection
// (DELETE /connections/{connection_id})
DeleteConnection(ctx context.Context, request DeleteConnectionRequestObject) (DeleteConnectionResponseObject, error)
// GetConnection Read Connection
// (GET /connections/{connection_id})
GetConnection(ctx context.Context, request GetConnectionRequestObject) (GetConnectionResponseObject, error)
// UpdateConnection Update Connection
// (PUT /connections/{connection_id})
UpdateConnection(ctx context.Context, request UpdateConnectionRequestObject) (UpdateConnectionResponseObject, error)
// ListConnectionChannels List channels visible to the bot
// (GET /connections/{connection_id}/channels)
ListConnectionChannels(ctx context.Context, request ListConnectionChannelsRequestObject) (ListConnectionChannelsResponseObject, error)
// CheckConnection Check a Connection
// (POST /connections/{connection_id}/checks)
CheckConnection(ctx context.Context, request CheckConnectionRequestObject) (CheckConnectionResponseObject, error)
// ListDestinations List destinations
// (GET /destinations)
ListDestinations(ctx context.Context, request ListDestinationsRequestObject) (ListDestinationsResponseObject, error)
// CreateDestination Create Destination
// (POST /destinations)
CreateDestination(ctx context.Context, request CreateDestinationRequestObject) (CreateDestinationResponseObject, error)
// DeleteDestination Delete Destination
// (DELETE /destinations/{destination_id})
DeleteDestination(ctx context.Context, request DeleteDestinationRequestObject) (DeleteDestinationResponseObject, error)
// GetDestination Read Destination
// (GET /destinations/{destination_id})
GetDestination(ctx context.Context, request GetDestinationRequestObject) (GetDestinationResponseObject, error)
// UpdateDestination Update Destination
// (PUT /destinations/{destination_id})
UpdateDestination(ctx context.Context, request UpdateDestinationRequestObject) (UpdateDestinationResponseObject, error)
// CheckDestination Run the Destination check
// (POST /destinations/{destination_id}/checks)
CheckDestination(ctx context.Context, request CheckDestinationRequestObject) (CheckDestinationResponseObject, error)
// PreviewDestination Preview a message or request
// (POST /destinations/{destination_id}/previews)
PreviewDestination(ctx context.Context, request PreviewDestinationRequestObject) (PreviewDestinationResponseObject, error)
// ListDestinationSecrets List the Secrets of a webhook Destination
// (GET /destinations/{destination_id}/secrets)
ListDestinationSecrets(ctx context.Context, request ListDestinationSecretsRequestObject) (ListDestinationSecretsResponseObject, error)
// DeleteDestinationSecret Delete a Secret of a webhook Destination
// (DELETE /destinations/{destination_id}/secrets/{secret_name})
DeleteDestinationSecret(ctx context.Context, request DeleteDestinationSecretRequestObject) (DeleteDestinationSecretResponseObject, error)
// SetDestinationSecret Set a Secret of a webhook Destination
// (PUT /destinations/{destination_id}/secrets/{secret_name})
SetDestinationSecret(ctx context.Context, request SetDestinationSecretRequestObject) (SetDestinationSecretResponseObject, error)
// GetSigningSecret Read the Signing secret status
// (GET /destinations/{destination_id}/signing-secret)
GetSigningSecret(ctx context.Context, request GetSigningSecretRequestObject) (GetSigningSecretResponseObject, error)
// GenerateSigningSecret Regenerate the Signing secret
// (POST /destinations/{destination_id}/signing-secret)
GenerateSigningSecret(ctx context.Context, request GenerateSigningSecretRequestObject) (GenerateSigningSecretResponseObject, error)
// RetirePreviousSigningSecret Retire the previous Signing secret
// (DELETE /destinations/{destination_id}/signing-secret/previous)
RetirePreviousSigningSecret(ctx context.Context, request RetirePreviousSigningSecretRequestObject) (RetirePreviousSigningSecretResponseObject, error)
// TestDestination Send a test message
// (POST /destinations/{destination_id}/tests)
TestDestination(ctx context.Context, request TestDestinationRequestObject) (TestDestinationResponseObject, error)
// PreviewGroupKey Preview a Group key
// (POST /group-key-previews)
PreviewGroupKey(ctx context.Context, request PreviewGroupKeyRequestObject) (PreviewGroupKeyResponseObject, error)
// HeartbeatGet Heartbeat signal (GET)
// (GET /heartbeat)
HeartbeatGet(ctx context.Context, request HeartbeatGetRequestObject) (HeartbeatGetResponseObject, error)
// HeartbeatPost Heartbeat signal (POST)
// (POST /heartbeat)
HeartbeatPost(ctx context.Context, request HeartbeatPostRequestObject) (HeartbeatPostResponseObject, error)
// HeartbeatGetWithPathToken Heartbeat signal (GET, token in the path)
// (GET /heartbeat/{ingest_token})
HeartbeatGetWithPathToken(ctx context.Context, request HeartbeatGetWithPathTokenRequestObject) (HeartbeatGetWithPathTokenResponseObject, error)
// HeartbeatPostWithPathToken Heartbeat signal (POST, token in the path)
// (POST /heartbeat/{ingest_token})
HeartbeatPostWithPathToken(ctx context.Context, request HeartbeatPostWithPathTokenRequestObject) (HeartbeatPostWithPathTokenResponseObject, error)
// IngestSnapshot Receive an Alertmanager webhook
// (POST /ingest)
IngestSnapshot(ctx context.Context, request IngestSnapshotRequestObject) (IngestSnapshotResponseObject, error)
// IngestSnapshotWithPathToken Receive an Alertmanager webhook (token in the path)
// (POST /ingest/{ingest_token})
IngestSnapshotWithPathToken(ctx context.Context, request IngestSnapshotWithPathTokenRequestObject) (IngestSnapshotWithPathTokenResponseObject, error)
// ListIntegrations List integrations
// (GET /integrations)
ListIntegrations(ctx context.Context, request ListIntegrationsRequestObject) (ListIntegrationsResponseObject, error)
// CreateIntegration Create Integration
// (POST /integrations)
CreateIntegration(ctx context.Context, request CreateIntegrationRequestObject) (CreateIntegrationResponseObject, error)
// DeleteIntegration Delete Integration
// (DELETE /integrations/{integration_id})
DeleteIntegration(ctx context.Context, request DeleteIntegrationRequestObject) (DeleteIntegrationResponseObject, error)
// GetIntegration Read Integration
// (GET /integrations/{integration_id})
GetIntegration(ctx context.Context, request GetIntegrationRequestObject) (GetIntegrationResponseObject, error)
// UpdateIntegration Update Integration
// (PUT /integrations/{integration_id})
UpdateIntegration(ctx context.Context, request UpdateIntegrationRequestObject) (UpdateIntegrationResponseObject, error)
// ListAlertmanagerRoutes List learned Alertmanager routes
// (GET /integrations/{integration_id}/alertmanager-routes)
ListAlertmanagerRoutes(ctx context.Context, request ListAlertmanagerRoutesRequestObject) (ListAlertmanagerRoutesResponseObject, error)
// ListIntegrationAlerts List the Alerts view of an Integration
// (GET /integrations/{integration_id}/alerts)
ListIntegrationAlerts(ctx context.Context, request ListIntegrationAlertsRequestObject) (ListIntegrationAlertsResponseObject, error)
// ListIntegrationTokens List Integration tokens
// (GET /integrations/{integration_id}/tokens)
ListIntegrationTokens(ctx context.Context, request ListIntegrationTokensRequestObject) (ListIntegrationTokensResponseObject, error)
// CreateIntegrationToken Create an Integration token
// (POST /integrations/{integration_id}/tokens)
CreateIntegrationToken(ctx context.Context, request CreateIntegrationTokenRequestObject) (CreateIntegrationTokenResponseObject, error)
// RevokeIntegrationToken Revoke an Integration token
// (DELETE /integrations/{integration_id}/tokens/{integration_token_id})
RevokeIntegrationToken(ctx context.Context, request RevokeIntegrationTokenRequestObject) (RevokeIntegrationTokenResponseObject, error)
// ListLinkRules List linkrules
// (GET /link-rules)
ListLinkRules(ctx context.Context, request ListLinkRulesRequestObject) (ListLinkRulesResponseObject, error)
// CreateLinkRule Create LinkRule
// (POST /link-rules)
CreateLinkRule(ctx context.Context, request CreateLinkRuleRequestObject) (CreateLinkRuleResponseObject, error)
// DeleteLinkRule Delete LinkRule
// (DELETE /link-rules/{link_rule_id})
DeleteLinkRule(ctx context.Context, request DeleteLinkRuleRequestObject) (DeleteLinkRuleResponseObject, error)
// GetLinkRule Read LinkRule
// (GET /link-rules/{link_rule_id})
GetLinkRule(ctx context.Context, request GetLinkRuleRequestObject) (GetLinkRuleResponseObject, error)
// UpdateLinkRule Update LinkRule
// (PUT /link-rules/{link_rule_id})
UpdateLinkRule(ctx context.Context, request UpdateLinkRuleRequestObject) (UpdateLinkRuleResponseObject, error)
// StreamLiveUpdates Stream change hints
// (GET /live-updates)
StreamLiveUpdates(ctx context.Context, request StreamLiveUpdatesRequestObject) (StreamLiveUpdatesResponseObject, error)
// ListLookupTables List lookuptables
// (GET /lookup-tables)
ListLookupTables(ctx context.Context, request ListLookupTablesRequestObject) (ListLookupTablesResponseObject, error)
// CreateLookupTable Create LookupTable
// (POST /lookup-tables)
CreateLookupTable(ctx context.Context, request CreateLookupTableRequestObject) (CreateLookupTableResponseObject, error)
// DeleteLookupTable Delete LookupTable
// (DELETE /lookup-tables/{lookup_table_id})
DeleteLookupTable(ctx context.Context, request DeleteLookupTableRequestObject) (DeleteLookupTableResponseObject, error)
// GetLookupTable Read LookupTable
// (GET /lookup-tables/{lookup_table_id})
GetLookupTable(ctx context.Context, request GetLookupTableRequestObject) (GetLookupTableResponseObject, error)
// UpdateLookupTable Update LookupTable
// (PUT /lookup-tables/{lookup_table_id})
UpdateLookupTable(ctx context.Context, request UpdateLookupTableRequestObject) (UpdateLookupTableResponseObject, error)
// GetMe Read own profile
// (GET /me)
GetMe(ctx context.Context, request GetMeRequestObject) (GetMeResponseObject, error)
// UpdateMe Update own profile
// (PUT /me)
UpdateMe(ctx context.Context, request UpdateMeRequestObject) (UpdateMeResponseObject, error)
// ListMyAccountLinks List own Account links
// (GET /me/account-links)
ListMyAccountLinks(ctx context.Context, request ListMyAccountLinksRequestObject) (ListMyAccountLinksResponseObject, error)
// ListLinkableConnections List the Connections an account can be linked through
// (GET /me/account-links/connections)
ListLinkableConnections(ctx context.Context, request ListLinkableConnectionsRequestObject) (ListLinkableConnectionsResponseObject, error)
// StartMattermostLink Start linking a Mattermost account
// (POST /me/account-links/mattermost)
StartMattermostLink(ctx context.Context, request StartMattermostLinkRequestObject) (StartMattermostLinkResponseObject, error)
// ConfirmMattermostLink Confirm a Mattermost link with the code
// (POST /me/account-links/mattermost/confirmation)
ConfirmMattermostLink(ctx context.Context, request ConfirmMattermostLinkRequestObject) (ConfirmMattermostLinkResponseObject, error)
// StartTelegramLink Start linking a Telegram account
// (POST /me/account-links/telegram)
StartTelegramLink(ctx context.Context, request StartTelegramLinkRequestObject) (StartTelegramLinkResponseObject, error)
// DeleteMyAccountLink Unlink an own messenger account
// (DELETE /me/account-links/{account_link_id})
DeleteMyAccountLink(ctx context.Context, request DeleteMyAccountLinkRequestObject) (DeleteMyAccountLinkResponseObject, error)
// StartOidcLink Start linking an OIDC identity
// (POST /me/oidc-identity)
StartOidcLink(ctx context.Context, request StartOidcLinkRequestObject) (StartOidcLinkResponseObject, error)
// CompleteOidcLink Complete linking an OIDC identity
// (GET /me/oidc-identity/callback)
CompleteOidcLink(ctx context.Context, request CompleteOidcLinkRequestObject) (CompleteOidcLinkResponseObject, error)
// ChangePassword Change own password
// (PUT /me/password)
ChangePassword(ctx context.Context, request ChangePasswordRequestObject) (ChangePasswordResponseObject, error)
// ListPersonalAccessTokens List own Personal access tokens
// (GET /me/personal-access-tokens)
ListPersonalAccessTokens(ctx context.Context, request ListPersonalAccessTokensRequestObject) (ListPersonalAccessTokensResponseObject, error)
// CreatePersonalAccessToken Create a Personal access token
// (POST /me/personal-access-tokens)
CreatePersonalAccessToken(ctx context.Context, request CreatePersonalAccessTokenRequestObject) (CreatePersonalAccessTokenResponseObject, error)
// RevokePersonalAccessToken Revoke a Personal access token
// (DELETE /me/personal-access-tokens/{token_id})
RevokePersonalAccessToken(ctx context.Context, request RevokePersonalAccessTokenRequestObject) (RevokePersonalAccessTokenResponseObject, error)
// DeleteMySessions Sign out everywhere
// (DELETE /me/sessions)
DeleteMySessions(ctx context.Context, request DeleteMySessionsRequestObject) (DeleteMySessionsResponseObject, error)
// ListMySessions List own sessions
// (GET /me/sessions)
ListMySessions(ctx context.Context, request ListMySessionsRequestObject) (ListMySessionsResponseObject, error)
// GetMyTotp Read own TOTP status
// (GET /me/totp)
GetMyTotp(ctx context.Context, request GetMyTotpRequestObject) (GetMyTotpResponseObject, error)
// BeginTotpEnrolment Begin TOTP enrolment
// (POST /me/totp)
BeginTotpEnrolment(ctx context.Context, request BeginTotpEnrolmentRequestObject) (BeginTotpEnrolmentResponseObject, error)
// ConfirmTotpEnrolment Confirm TOTP enrolment
// (POST /me/totp/confirmation)
ConfirmTotpEnrolment(ctx context.Context, request ConfirmTotpEnrolmentRequestObject) (ConfirmTotpEnrolmentResponseObject, error)
// RegenerateTotpRecoveryCodes Regenerate recovery codes
// (POST /me/totp/recovery-codes)
RegenerateTotpRecoveryCodes(ctx context.Context, request RegenerateTotpRecoveryCodesRequestObject) (RegenerateTotpRecoveryCodesResponseObject, error)
// RemoveTotp Remove own TOTP
// (POST /me/totp/removal)
RemoveTotp(ctx context.Context, request RemoveTotpRequestObject) (RemoveTotpResponseObject, error)
// GetOidcSettings Read OIDC settings
// (GET /oidc-settings)
GetOidcSettings(ctx context.Context, request GetOidcSettingsRequestObject) (GetOidcSettingsResponseObject, error)
// UpdateOidcSettings Update OIDC settings
// (PUT /oidc-settings)
UpdateOidcSettings(ctx context.Context, request UpdateOidcSettingsRequestObject) (UpdateOidcSettingsResponseObject, error)
// CheckOidcSettings Check the connection to the identity provider
// (POST /oidc-settings/checks)
CheckOidcSettings(ctx context.Context, request CheckOidcSettingsRequestObject) (CheckOidcSettingsResponseObject, error)
// GetOpenApiSpec Read this specification
// (GET /openapi.yaml)
GetOpenApiSpec(ctx context.Context, request GetOpenApiSpecRequestObject) (GetOpenApiSpecResponseObject, error)
// GetOrganization Read the Organization
// (GET /organization)
GetOrganization(ctx context.Context, request GetOrganizationRequestObject) (GetOrganizationResponseObject, error)
// UpdateOrganization Update the Organization
// (PUT /organization)
UpdateOrganization(ctx context.Context, request UpdateOrganizationRequestObject) (UpdateOrganizationResponseObject, error)
// GetKeyring Read the Keyring status
// (GET /organization/keyring)
GetKeyring(ctx context.Context, request GetKeyringRequestObject) (GetKeyringResponseObject, error)
// GetOutboundPolicy Read the outbound address policy
// (GET /organization/outbound-policy)
GetOutboundPolicy(ctx context.Context, request GetOutboundPolicyRequestObject) (GetOutboundPolicyResponseObject, error)
// UpdateOutboundPolicy Update the outbound address policy
// (PUT /organization/outbound-policy)
UpdateOutboundPolicy(ctx context.Context, request UpdateOutboundPolicyRequestObject) (UpdateOutboundPolicyResponseObject, error)
// ListSeverityValues List severity values seen
// (GET /organization/severity-values)
ListSeverityValues(ctx context.Context, request ListSeverityValuesRequestObject) (ListSeverityValuesResponseObject, error)
// CompletePasswordSetup Set a password from a setup link
// (POST /password-setups)
CompletePasswordSetup(ctx context.Context, request CompletePasswordSetupRequestObject) (CompletePasswordSetupResponseObject, error)
// ListRoles List Roles with their Permissions
// (GET /roles)
ListRoles(ctx context.Context, request ListRolesRequestObject) (ListRolesResponseObject, error)
// ReorderRoutes Reorder Routes
// (PUT /route-order)
ReorderRoutes(ctx context.Context, request ReorderRoutesRequestObject) (ReorderRoutesResponseObject, error)
// ListRouteProfiles List Route profiles
// (GET /route-profiles)
ListRouteProfiles(ctx context.Context, request ListRouteProfilesRequestObject) (ListRouteProfilesResponseObject, error)
// ListRouteSuggestions List Route suggestions
// (GET /route-suggestions)
ListRouteSuggestions(ctx context.Context, request ListRouteSuggestionsRequestObject) (ListRouteSuggestionsResponseObject, error)
// AcceptRouteSuggestion Accept a Route suggestion
// (POST /route-suggestions/{suggestion_id}/accept)
AcceptRouteSuggestion(ctx context.Context, request AcceptRouteSuggestionRequestObject) (AcceptRouteSuggestionResponseObject, error)
// DismissRouteSuggestion Dismiss a Route suggestion
// (POST /route-suggestions/{suggestion_id}/dismiss)
DismissRouteSuggestion(ctx context.Context, request DismissRouteSuggestionRequestObject) (DismissRouteSuggestionResponseObject, error)
// ListRoutes List Routes in evaluation order
// (GET /routes)
ListRoutes(ctx context.Context, request ListRoutesRequestObject) (ListRoutesResponseObject, error)
// CreateRoute Create a Route
// (POST /routes)
CreateRoute(ctx context.Context, request CreateRouteRequestObject) (CreateRouteResponseObject, error)
// DeleteRoute Delete a Route
// (DELETE /routes/{route_id})
DeleteRoute(ctx context.Context, request DeleteRouteRequestObject) (DeleteRouteResponseObject, error)
// GetRoute Read a Route
// (GET /routes/{route_id})
GetRoute(ctx context.Context, request GetRouteRequestObject) (GetRouteResponseObject, error)
// UpdateRoute Update a Route
// (PUT /routes/{route_id})
UpdateRoute(ctx context.Context, request UpdateRouteRequestObject) (UpdateRouteResponseObject, error)
// MoveOpenAlertGroups Move open Alert Groups to the Default route
// (POST /routes/{route_id}/move-open-alert-groups)
MoveOpenAlertGroups(ctx context.Context, request MoveOpenAlertGroupsRequestObject) (MoveOpenAlertGroupsResponseObject, error)
// ListServiceAccounts List Service accounts
// (GET /service-accounts)
ListServiceAccounts(ctx context.Context, request ListServiceAccountsRequestObject) (ListServiceAccountsResponseObject, error)
// CreateServiceAccount Create a Service account
// (POST /service-accounts)
CreateServiceAccount(ctx context.Context, request CreateServiceAccountRequestObject) (CreateServiceAccountResponseObject, error)
// DeleteServiceAccount Delete a Service account
// (DELETE /service-accounts/{service_account_id})
DeleteServiceAccount(ctx context.Context, request DeleteServiceAccountRequestObject) (DeleteServiceAccountResponseObject, error)
// GetServiceAccount Read a Service account
// (GET /service-accounts/{service_account_id})
GetServiceAccount(ctx context.Context, request GetServiceAccountRequestObject) (GetServiceAccountResponseObject, error)
// UpdateServiceAccount Update a Service account
// (PUT /service-accounts/{service_account_id})
UpdateServiceAccount(ctx context.Context, request UpdateServiceAccountRequestObject) (UpdateServiceAccountResponseObject, error)
// DisableServiceAccount Disable a Service account
// (POST /service-accounts/{service_account_id}/disable)
DisableServiceAccount(ctx context.Context, request DisableServiceAccountRequestObject) (DisableServiceAccountResponseObject, error)
// EnableServiceAccount Enable a Service account
// (POST /service-accounts/{service_account_id}/enable)
EnableServiceAccount(ctx context.Context, request EnableServiceAccountRequestObject) (EnableServiceAccountResponseObject, error)
// ListServiceAccountTokens List tokens of a Service account
// (GET /service-accounts/{service_account_id}/tokens)
ListServiceAccountTokens(ctx context.Context, request ListServiceAccountTokensRequestObject) (ListServiceAccountTokensResponseObject, error)
// CreateServiceAccountToken Create a Service account token
// (POST /service-accounts/{service_account_id}/tokens)
CreateServiceAccountToken(ctx context.Context, request CreateServiceAccountTokenRequestObject) (CreateServiceAccountTokenResponseObject, error)
// RevokeServiceAccountToken Revoke a Service account token
// (DELETE /service-accounts/{service_account_id}/tokens/{token_id})
RevokeServiceAccountToken(ctx context.Context, request RevokeServiceAccountTokenRequestObject) (RevokeServiceAccountTokenResponseObject, error)
// CreateSession Sign in with a local account
// (POST /sessions)
CreateSession(ctx context.Context, request CreateSessionRequestObject) (CreateSessionResponseObject, error)
// DeleteCurrentSession Sign out
// (DELETE /sessions/current)
DeleteCurrentSession(ctx context.Context, request DeleteCurrentSessionRequestObject) (DeleteCurrentSessionResponseObject, error)
// GetCurrentSession Read the current session
// (GET /sessions/current)
GetCurrentSession(ctx context.Context, request GetCurrentSessionRequestObject) (GetCurrentSessionResponseObject, error)
// SubmitSessionTotp Give the second factor
// (POST /sessions/current/totp)
SubmitSessionTotp(ctx context.Context, request SubmitSessionTotpRequestObject) (SubmitSessionTotpResponseObject, error)
// CompleteOidcSignIn Complete OIDC sign-in
// (GET /sessions/oidc/callback)
CompleteOidcSignIn(ctx context.Context, request CompleteOidcSignInRequestObject) (CompleteOidcSignInResponseObject, error)
// StartOidcSignIn Start OIDC sign-in
// (GET /sessions/oidc/start)
StartOidcSignIn(ctx context.Context, request StartOidcSignInRequestObject) (StartOidcSignInResponseObject, error)
// GetSignInOptions Read sign-in options
// (GET /sign-in-options)
GetSignInOptions(ctx context.Context, request GetSignInOptionsRequestObject) (GetSignInOptionsResponseObject, error)
// ListStoredSnapshots List Stored Snapshots
// (GET /stored-snapshots)
ListStoredSnapshots(ctx context.Context, request ListStoredSnapshotsRequestObject) (ListStoredSnapshotsResponseObject, error)
// GetStoredSnapshot Read a Stored Snapshot as received
// (GET /stored-snapshots/{stored_snapshot_id})
GetStoredSnapshot(ctx context.Context, request GetStoredSnapshotRequestObject) (GetStoredSnapshotResponseObject, error)
// ListSystemNotices List active Organization-wide notices
// (GET /system-notices)
ListSystemNotices(ctx context.Context, request ListSystemNoticesRequestObject) (ListSystemNoticesResponseObject, error)
// GetSystemStatus Read the System status
// (GET /system-status)
GetSystemStatus(ctx context.Context, request GetSystemStatusRequestObject) (GetSystemStatusResponseObject, error)
// PreviewTemplate Render a template against a sample
// (POST /template-previews)
PreviewTemplate(ctx context.Context, request PreviewTemplateRequestObject) (PreviewTemplateResponseObject, error)
// ListUserDirectory List users for pickers and filters
// (GET /user-directory)
ListUserDirectory(ctx context.Context, request ListUserDirectoryRequestObject) (ListUserDirectoryResponseObject, error)
// ListUsers List users
// (GET /users)
ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
// CreateUser Create a local user
// (POST /users)
CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)
// DeleteUser Delete a user
// (DELETE /users/{user_id})
DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)
// GetUser Read a user
// (GET /users/{user_id})
GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)
// UpdateUser Update a user
// (PUT /users/{user_id})
UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)
// ListUserAccountLinks List a user's Account links
// (GET /users/{user_id}/account-links)
ListUserAccountLinks(ctx context.Context, request ListUserAccountLinksRequestObject) (ListUserAccountLinksResponseObject, error)
// DeleteUserAccountLink Remove a user's Account link
// (DELETE /users/{user_id}/account-links/{account_link_id})
DeleteUserAccountLink(ctx context.Context, request DeleteUserAccountLinkRequestObject) (DeleteUserAccountLinkResponseObject, error)
// ConvertUserToLocal Convert an OIDC account to local
// (POST /users/{user_id}/convert-to-local)
ConvertUserToLocal(ctx context.Context, request ConvertUserToLocalRequestObject) (ConvertUserToLocalResponseObject, error)
// DisableUser Disable a user
// (POST /users/{user_id}/disable)
DisableUser(ctx context.Context, request DisableUserRequestObject) (DisableUserResponseObject, error)
// EnableUser Enable a user
// (POST /users/{user_id}/enable)
EnableUser(ctx context.Context, request EnableUserRequestObject) (EnableUserResponseObject, error)
// CreatePasswordSetupLink Issue a password setup link
// (POST /users/{user_id}/password-setup-links)
CreatePasswordSetupLink(ctx context.Context, request CreatePasswordSetupLinkRequestObject) (CreatePasswordSetupLinkResponseObject, error)
// ResetUserTotp Reset a user's TOTP
// (POST /users/{user_id}/reset-totp)
ResetUserTotp(ctx context.Context, request ResetUserTotpRequestObject) (ResetUserTotpResponseObject, error)
}
StrictServerInterface represents all server handlers.
type SubmitSessionTotp200JSONResponse ¶
type SubmitSessionTotp200JSONResponse Session
func (SubmitSessionTotp200JSONResponse) VisitSubmitSessionTotpResponse ¶
func (response SubmitSessionTotp200JSONResponse) VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
type SubmitSessionTotp400ApplicationProblemPlusJSONResponse ¶
type SubmitSessionTotp400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (SubmitSessionTotp400ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse ¶
func (response SubmitSessionTotp400ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
type SubmitSessionTotp401ApplicationProblemPlusJSONResponse ¶
type SubmitSessionTotp401ApplicationProblemPlusJSONResponse struct {
}
func (SubmitSessionTotp401ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse ¶
func (response SubmitSessionTotp401ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
type SubmitSessionTotp403ApplicationProblemPlusJSONResponse ¶
type SubmitSessionTotp403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (SubmitSessionTotp403ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse ¶
func (response SubmitSessionTotp403ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
type SubmitSessionTotp409ApplicationProblemPlusJSONResponse ¶
type SubmitSessionTotp409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SubmitSessionTotp409ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse ¶
func (response SubmitSessionTotp409ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
type SubmitSessionTotp422ApplicationProblemPlusJSONResponse ¶
type SubmitSessionTotp422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (SubmitSessionTotp422ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse ¶
func (response SubmitSessionTotp422ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
type SubmitSessionTotp429ApplicationProblemPlusJSONResponse ¶
type SubmitSessionTotp429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (SubmitSessionTotp429ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse ¶
func (response SubmitSessionTotp429ApplicationProblemPlusJSONResponse) VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
type SubmitSessionTotpJSONRequestBody ¶
type SubmitSessionTotpJSONRequestBody = SessionTotp
SubmitSessionTotpJSONRequestBody defines body for SubmitSessionTotp for application/json ContentType.
type SubmitSessionTotpRequestObject ¶
type SubmitSessionTotpRequestObject struct {
Body *SubmitSessionTotpJSONRequestBody
}
type SubmitSessionTotpResponseObject ¶
type SubmitSessionTotpResponseObject interface {
VisitSubmitSessionTotpResponse(w http.ResponseWriter) error
}
type SuggestionId ¶
type SuggestionId = RouteSuggestionId
SuggestionId `heartbeat_lost` suggests a Route for `alertname="MusterHeartbeatLost"`; `internal_alerts` suggests a Route for `alertname=~"Muster.*"`.
type SystemNotice ¶
type SystemNotice struct {
Audience SystemNoticeAudience `json:"audience"`
Kind SystemNoticeKind `json:"kind"`
Since nullable.Nullable[time.Time] `json:"since,omitempty"`
// Until End of the recovery window ("Data may be incomplete until HH:MM").
Until nullable.Nullable[time.Time] `json:"until,omitempty"`
}
SystemNotice defines model for SystemNotice.
type SystemNoticeAudience ¶
type SystemNoticeAudience string
SystemNoticeAudience defines model for SystemNotice.Audience.
const ( SystemNoticeAudienceAdmins SystemNoticeAudience = "admins" SystemNoticeAudienceAll SystemNoticeAudience = "all" )
Defines values for SystemNoticeAudience.
func (SystemNoticeAudience) Valid ¶
func (e SystemNoticeAudience) Valid() bool
Valid indicates whether the value is a known member of the SystemNoticeAudience enum.
type SystemNoticeKind ¶
type SystemNoticeKind string
SystemNoticeKind defines model for SystemNotice.Kind.
const ( NoReplicaLeading SystemNoticeKind = "no_replica_leading" RecoveringAfterDowntime SystemNoticeKind = "recovering_after_downtime" )
Defines values for SystemNoticeKind.
func (SystemNoticeKind) Valid ¶
func (e SystemNoticeKind) Valid() bool
Valid indicates whether the value is a known member of the SystemNoticeKind enum.
type SystemNoticeList ¶
type SystemNoticeList struct {
// Items Active Organization-wide notices the caller may see.
Items []SystemNotice `json:"items"`
}
SystemNoticeList defines model for SystemNoticeList.
type SystemStatus ¶
type SystemStatus struct {
ActiveStorms []ActiveStorm `json:"active_storms"`
BrokenDestinations []BrokenDestination `json:"broken_destinations"`
Commit *string `json:"commit,omitempty"`
DeliveryQueues []QueueDepth `json:"delivery_queues"`
IntegrationsAttention []IntegrationAttention `json:"integrations_attention"`
OutgoingHeartbeat OutgoingHeartbeatResult `json:"outgoing_heartbeat"`
Recovery struct {
Active bool `json:"active"`
PeriodFrom nullable.Nullable[time.Time] `json:"period_from,omitempty"`
PeriodTo nullable.Nullable[time.Time] `json:"period_to,omitempty"`
Until nullable.Nullable[time.Time] `json:"until,omitempty"`
} `json:"recovery"`
// Replicas Every live replica with the key ids it holds; the Leader is flagged.
Replicas []ReplicaStatus `json:"replicas"`
TemplateErrors []TemplateErrorEntry `json:"template_errors"`
Version string `json:"version"`
}
SystemStatus Read-only status for Admins.
type TelegramConnection ¶
type TelegramConnection struct {
// BotApiBaseUrl Absolute http(s) URL without query, fragment or user information; a path prefix is allowed. Requests go to `<base>/bot<token>/<method>`. A self-hosted Bot API server keeps the bot on that server only: never call api.telegram.org with this token from anywhere else.
BotApiBaseUrl string `json:"bot_api_base_url"`
// BotTokenStatus What a read shows instead of a Secret. The value itself is never returned.
BotTokenStatus SecretStatus `json:"bot_token_status"`
BotUsername nullable.Nullable[string] `json:"bot_username,omitempty"`
CreatedAt time.Time `json:"created_at"`
DestinationCount int `json:"destination_count"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
Name string `json:"name"`
// Proxy Per-client proxy as read. The password is a Secret.
Proxy ProxyConfig `json:"proxy"`
Type TelegramConnectionType `json:"type"`
UpdateMode TelegramUpdateMode `json:"update_mode"`
Warnings []TelegramConnectionWarnings `json:"warnings"`
}
TelegramConnection defines model for TelegramConnection.
type TelegramConnectionBase ¶
type TelegramConnectionBase struct {
// BotApiBaseUrl Absolute http(s) URL without query, fragment or user information; a path prefix is allowed. Requests go to `<base>/bot<token>/<method>`. A self-hosted Bot API server keeps the bot on that server only: never call api.telegram.org with this token from anywhere else.
BotApiBaseUrl string `json:"bot_api_base_url"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
Name string `json:"name"`
Type TelegramConnectionBaseType `json:"type"`
UpdateMode TelegramUpdateMode `json:"update_mode"`
}
TelegramConnectionBase defines model for TelegramConnectionBase.
type TelegramConnectionBaseType ¶
type TelegramConnectionBaseType string
TelegramConnectionBaseType defines model for TelegramConnectionBase.Type.
const (
TelegramConnectionBaseTypeTelegram TelegramConnectionBaseType = "telegram"
)
Defines values for TelegramConnectionBaseType.
func (TelegramConnectionBaseType) Valid ¶
func (e TelegramConnectionBaseType) Valid() bool
Valid indicates whether the value is a known member of the TelegramConnectionBaseType enum.
type TelegramConnectionInput ¶
type TelegramConnectionInput struct {
// BotApiBaseUrl Absolute http(s) URL without query, fragment or user information; a path prefix is allowed. Requests go to `<base>/bot<token>/<method>`. A self-hosted Bot API server keeps the bot on that server only: never call api.telegram.org with this token from anywhere else.
BotApiBaseUrl string `json:"bot_api_base_url"`
// BotToken Write-only Secret. Omit on update to keep the stored one.
BotToken *string `json:"bot_token,omitempty"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
Name string `json:"name"`
// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
Proxy ProxyConfigInput `json:"proxy"`
Type TelegramConnectionInputType `json:"type"`
UpdateMode TelegramUpdateMode `json:"update_mode"`
}
TelegramConnectionInput defines model for TelegramConnectionInput.
type TelegramConnectionInputType ¶
type TelegramConnectionInputType string
TelegramConnectionInputType defines model for TelegramConnectionInput.Type.
const (
TelegramConnectionInputTypeTelegram TelegramConnectionInputType = "telegram"
)
Defines values for TelegramConnectionInputType.
func (TelegramConnectionInputType) Valid ¶
func (e TelegramConnectionInputType) Valid() bool
Valid indicates whether the value is a known member of the TelegramConnectionInputType enum.
type TelegramConnectionType ¶
type TelegramConnectionType string
TelegramConnectionType defines model for TelegramConnection.Type.
const (
TelegramConnectionTypeTelegram TelegramConnectionType = "telegram"
)
Defines values for TelegramConnectionType.
func (TelegramConnectionType) Valid ¶
func (e TelegramConnectionType) Valid() bool
Valid indicates whether the value is a known member of the TelegramConnectionType enum.
type TelegramConnectionWarnings ¶
type TelegramConnectionWarnings string
TelegramConnectionWarnings defines model for TelegramConnection.Warnings.
const (
BaseUrlUsesHttp TelegramConnectionWarnings = "base_url_uses_http"
)
Defines values for TelegramConnectionWarnings.
func (TelegramConnectionWarnings) Valid ¶
func (e TelegramConnectionWarnings) Valid() bool
Valid indicates whether the value is a known member of the TelegramConnectionWarnings enum.
type TelegramDestination ¶
type TelegramDestination struct {
// ChannelId Telegram chat id or `@username` of the channel. Comments must be enabled on the channel.
ChannelId string `json:"channel_id"`
ChannelTitle nullable.Nullable[string] `json:"channel_title,omitempty"`
// ConnectionId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
ConnectionId PublicId `json:"connection_id"`
CreatedAt time.Time `json:"created_at"`
// DiscussionGroupId The channel's linked discussion group, where comments live, found by the Destination check through `getChat` on the channel (`linked_chat_id`). Not an input. Null until a check has found it.
DiscussionGroupId nullable.Nullable[string] `json:"discussion_group_id,omitempty"`
DiscussionGroupTitle nullable.Nullable[string] `json:"discussion_group_title,omitempty"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
Health DestinationHealth `json:"health"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
// Mentions Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
Mentions MentionSettings `json:"mentions"`
Name string `json:"name"`
Routes []EntityRef `json:"routes"`
TemplateError *TemplateErrorState `json:"template_error,omitempty"`
Type TelegramDestinationType `json:"type"`
}
TelegramDestination defines model for TelegramDestination.
type TelegramDestinationInput ¶
type TelegramDestinationInput struct {
// ChannelId Telegram chat id or `@username` of the channel. Comments must be enabled on the channel.
ChannelId string `json:"channel_id"`
// ConnectionId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
ConnectionId PublicId `json:"connection_id"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
// Mentions Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
Mentions MentionSettings `json:"mentions"`
Name string `json:"name"`
Type TelegramDestinationInputType `json:"type"`
}
TelegramDestinationInput A Telegram Destination is configured by its channel only; Muster finds the channel's discussion group itself (see `TelegramDestination.discussion_group_id`).
type TelegramDestinationInputType ¶
type TelegramDestinationInputType string
TelegramDestinationInputType defines model for TelegramDestinationInput.Type.
const (
TelegramDestinationInputTypeTelegram TelegramDestinationInputType = "telegram"
)
Defines values for TelegramDestinationInputType.
func (TelegramDestinationInputType) Valid ¶
func (e TelegramDestinationInputType) Valid() bool
Valid indicates whether the value is a known member of the TelegramDestinationInputType enum.
type TelegramDestinationType ¶
type TelegramDestinationType string
TelegramDestinationType defines model for TelegramDestination.Type.
const (
TelegramDestinationTypeTelegram TelegramDestinationType = "telegram"
)
Defines values for TelegramDestinationType.
func (TelegramDestinationType) Valid ¶
func (e TelegramDestinationType) Valid() bool
Valid indicates whether the value is a known member of the TelegramDestinationType enum.
type TelegramLinkRequest ¶
type TelegramLinkRequest struct {
// ConnectionId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
ConnectionId PublicId `json:"connection_id"`
}
TelegramLinkRequest defines model for TelegramLinkRequest.
type TelegramLinkStart ¶
type TelegramLinkStart struct {
// DeepLink `t.me/<bot>?start=<token>`. The token is single-use and bound to the User and the Connection.
DeepLink string `json:"deep_link"`
ExpiresAt time.Time `json:"expires_at"`
}
TelegramLinkStart defines model for TelegramLinkStart.
type TelegramUpdate ¶
type TelegramUpdate struct {
UpdateId int64 `json:"update_id"`
AdditionalProperties map[string]interface{} `json:"-"`
}
TelegramUpdate A Bot API Update. Muster requests only the update types it needs and ignores unknown fields.
func (TelegramUpdate) Get ¶
func (a TelegramUpdate) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for TelegramUpdate. Returns the specified element and whether it was found
func (TelegramUpdate) MarshalJSON ¶
func (a TelegramUpdate) MarshalJSON() ([]byte, error)
Override default JSON handling for TelegramUpdate to handle AdditionalProperties
func (*TelegramUpdate) Set ¶
func (a *TelegramUpdate) Set(fieldName string, value interface{})
Setter for additional properties for TelegramUpdate
func (*TelegramUpdate) UnmarshalJSON ¶
func (a *TelegramUpdate) UnmarshalJSON(b []byte) error
Override default JSON handling for TelegramUpdate to handle AdditionalProperties
type TelegramUpdateMode ¶
type TelegramUpdateMode string
TelegramUpdateMode defines model for TelegramUpdateMode.
const ( TelegramUpdateModeLongPolling TelegramUpdateMode = "long_polling" TelegramUpdateModeWebhook TelegramUpdateMode = "webhook" )
Defines values for TelegramUpdateMode.
func (TelegramUpdateMode) Valid ¶
func (e TelegramUpdateMode) Valid() bool
Valid indicates whether the value is a known member of the TelegramUpdateMode enum.
type TelegramWebhook200Response ¶
type TelegramWebhook200Response struct {
}
func (TelegramWebhook200Response) VisitTelegramWebhookResponse ¶
func (response TelegramWebhook200Response) VisitTelegramWebhookResponse(w http.ResponseWriter) error
type TelegramWebhook400ApplicationProblemPlusJSONResponse ¶
type TelegramWebhook400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (TelegramWebhook400ApplicationProblemPlusJSONResponse) VisitTelegramWebhookResponse ¶
func (response TelegramWebhook400ApplicationProblemPlusJSONResponse) VisitTelegramWebhookResponse(w http.ResponseWriter) error
type TelegramWebhook401ApplicationProblemPlusJSONResponse ¶
type TelegramWebhook401ApplicationProblemPlusJSONResponse struct {
}
func (TelegramWebhook401ApplicationProblemPlusJSONResponse) VisitTelegramWebhookResponse ¶
func (response TelegramWebhook401ApplicationProblemPlusJSONResponse) VisitTelegramWebhookResponse(w http.ResponseWriter) error
type TelegramWebhookJSONRequestBody ¶
type TelegramWebhookJSONRequestBody = TelegramUpdate
TelegramWebhookJSONRequestBody defines body for TelegramWebhook for application/json ContentType.
type TelegramWebhookRequestObject ¶
type TelegramWebhookRequestObject struct {
ConnectionId ConnectionId `json:"connection_id"`
Body *TelegramWebhookJSONRequestBody
}
type TelegramWebhookResponseObject ¶
type TelegramWebhookResponseObject interface {
VisitTelegramWebhookResponse(w http.ResponseWriter) error
}
type TemplateErrorEntry ¶
type TemplateErrorEntry struct {
Error string `json:"error"`
Since time.Time `json:"since"`
Subject EntityRef `json:"subject"`
SubjectKind TemplateErrorEntrySubjectKind `json:"subject_kind"`
Template TemplateKind `json:"template"`
}
TemplateErrorEntry defines model for TemplateErrorEntry.
type TemplateErrorEntrySubjectKind ¶
type TemplateErrorEntrySubjectKind string
TemplateErrorEntrySubjectKind defines model for TemplateErrorEntry.SubjectKind.
const ( TemplateErrorEntrySubjectKindDestination TemplateErrorEntrySubjectKind = "destination" TemplateErrorEntrySubjectKindRoute TemplateErrorEntrySubjectKind = "route" )
Defines values for TemplateErrorEntrySubjectKind.
func (TemplateErrorEntrySubjectKind) Valid ¶
func (e TemplateErrorEntrySubjectKind) Valid() bool
Valid indicates whether the value is a known member of the TemplateErrorEntrySubjectKind enum.
type TemplateErrorState ¶
type TemplateErrorState struct {
Error string `json:"error"`
// Fallback `fallback_template` for messenger templates, `not_sent` for outgoing webhook requests.
Fallback TemplateErrorStateFallback `json:"fallback"`
Since time.Time `json:"since"`
}
TemplateErrorState defines model for TemplateErrorState.
type TemplateErrorStateFallback ¶
type TemplateErrorStateFallback string
TemplateErrorStateFallback `fallback_template` for messenger templates, `not_sent` for outgoing webhook requests.
const ( FallbackTemplate TemplateErrorStateFallback = "fallback_template" NotSent TemplateErrorStateFallback = "not_sent" )
Defines values for TemplateErrorStateFallback.
func (TemplateErrorStateFallback) Valid ¶
func (e TemplateErrorStateFallback) Valid() bool
Valid indicates whether the value is a known member of the TemplateErrorStateFallback enum.
type TemplateKind ¶
type TemplateKind string
TemplateKind defines model for TemplateKind.
const ( TemplateKindAckTimeoutNotice TemplateKind = "ack_timeout_notice" TemplateKindLine TemplateKind = "line" TemplateKindLinkRule TemplateKind = "link_rule" TemplateKindRootMessage TemplateKind = "root_message" TemplateKindWebhookRequest TemplateKind = "webhook_request" )
Defines values for TemplateKind.
func (TemplateKind) Valid ¶
func (e TemplateKind) Valid() bool
Valid indicates whether the value is a known member of the TemplateKind enum.
type TemplatePreviewRequest ¶
type TemplatePreviewRequest struct {
// AlertGroupId A `public_id` in the format of `PublicId`, or null.
AlertGroupId nullable.Nullable[NullablePublicId] `json:"alert_group_id,omitempty"`
// Format The markup the output is laid out in and alert data are escaped for — `markdown` as in Mattermost (the default), `html` as in Telegram. Ignored for `link_rule` and `webhook_request`, which have no markup.
Format nullable.Nullable[TemplatePreviewRequestFormat] `json:"format,omitempty"`
Kind TemplateKind `json:"kind"`
// Language UI or template language; null follows the default.
Language nullable.Nullable[NullableLanguage] `json:"language,omitempty"`
// LengthLimit Messenger length limit to apply, for example 4096.
LengthLimit nullable.Nullable[int] `json:"length_limit,omitempty"`
// RouteId A `public_id` in the format of `PublicId`, or null.
RouteId nullable.Nullable[NullablePublicId] `json:"route_id,omitempty"`
// StoredSnapshotId A recent Stored Snapshot as the sample. Without a sample the most recent ones the Route took are used (`template.dry_run_sample`), or a built-in example.
StoredSnapshotId nullable.Nullable[string] `json:"stored_snapshot_id,omitempty"`
// Template The template to render; empty renders what a Route without a template of the kind shows, and the result returns the source of the built-in template.
Template string `json:"template"`
}
TemplatePreviewRequest defines model for TemplatePreviewRequest.
type TemplatePreviewRequestFormat ¶
type TemplatePreviewRequestFormat string
TemplatePreviewRequestFormat The markup the output is laid out in and alert data are escaped for — `markdown` as in Mattermost (the default), `html` as in Telegram. Ignored for `link_rule` and `webhook_request`, which have no markup.
const ( TemplatePreviewRequestFormatHtml TemplatePreviewRequestFormat = "html" TemplatePreviewRequestFormatLessThannil TemplatePreviewRequestFormat = "<nil>" TemplatePreviewRequestFormatMarkdown TemplatePreviewRequestFormat = "markdown" )
Defines values for TemplatePreviewRequestFormat.
func (TemplatePreviewRequestFormat) Valid ¶
func (e TemplatePreviewRequestFormat) Valid() bool
Valid indicates whether the value is a known member of the TemplatePreviewRequestFormat enum.
type TemplatePreviewResult ¶
type TemplatePreviewResult struct {
Errors []ProblemError `json:"errors"`
// Format The markup of `output`; null for kinds without markup.
Format nullable.Nullable[TemplatePreviewResultFormat] `json:"format,omitempty"`
// Output Rendered text; null when the template failed.
Output nullable.Nullable[string] `json:"output,omitempty"`
Sample nullable.Nullable[TemplatePreviewResultSample] `json:"sample,omitempty"`
// Source The source of the rendered template — the request's `template`, or for an empty one the built-in template of the kind in the preview's language, for an editor to start from; null for `link_rule` and `webhook_request`, which have no built-in template.
Source nullable.Nullable[string] `json:"source,omitempty"`
// Truncated The output was shortened to the length limit.
Truncated *bool `json:"truncated,omitempty"`
Valid bool `json:"valid"`
}
TemplatePreviewResult defines model for TemplatePreviewResult.
type TemplatePreviewResultFormat ¶
type TemplatePreviewResultFormat string
TemplatePreviewResultFormat The markup of `output`; null for kinds without markup.
const ( TemplatePreviewResultFormatHtml TemplatePreviewResultFormat = "html" TemplatePreviewResultFormatLessThannil TemplatePreviewResultFormat = "<nil>" TemplatePreviewResultFormatMarkdown TemplatePreviewResultFormat = "markdown" )
Defines values for TemplatePreviewResultFormat.
func (TemplatePreviewResultFormat) Valid ¶
func (e TemplatePreviewResultFormat) Valid() bool
Valid indicates whether the value is a known member of the TemplatePreviewResultFormat enum.
type TemplatePreviewResultSample ¶
type TemplatePreviewResultSample string
TemplatePreviewResultSample defines model for TemplatePreviewResult.Sample.
const ( TemplatePreviewResultSampleAlertGroup TemplatePreviewResultSample = "alert_group" TemplatePreviewResultSampleExample TemplatePreviewResultSample = "example" TemplatePreviewResultSampleLessThannil TemplatePreviewResultSample = "<nil>" TemplatePreviewResultSampleStoredSnapshot TemplatePreviewResultSample = "stored_snapshot" )
Defines values for TemplatePreviewResultSample.
func (TemplatePreviewResultSample) Valid ¶
func (e TemplatePreviewResultSample) Valid() bool
Valid indicates whether the value is a known member of the TemplatePreviewResultSample enum.
type TestDestination200JSONResponse ¶
type TestDestination200JSONResponse DestinationTestResult
func (TestDestination200JSONResponse) VisitTestDestinationResponse ¶
func (response TestDestination200JSONResponse) VisitTestDestinationResponse(w http.ResponseWriter) error
type TestDestination400ApplicationProblemPlusJSONResponse ¶
type TestDestination400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (TestDestination400ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse ¶
func (response TestDestination400ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse(w http.ResponseWriter) error
type TestDestination401ApplicationProblemPlusJSONResponse ¶
type TestDestination401ApplicationProblemPlusJSONResponse struct {
}
func (TestDestination401ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse ¶
func (response TestDestination401ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse(w http.ResponseWriter) error
type TestDestination403ApplicationProblemPlusJSONResponse ¶
type TestDestination403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (TestDestination403ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse ¶
func (response TestDestination403ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse(w http.ResponseWriter) error
type TestDestination404ApplicationProblemPlusJSONResponse ¶
type TestDestination404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (TestDestination404ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse ¶
func (response TestDestination404ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse(w http.ResponseWriter) error
type TestDestination422ApplicationProblemPlusJSONResponse ¶
type TestDestination422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (TestDestination422ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse ¶
func (response TestDestination422ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse(w http.ResponseWriter) error
type TestDestination429ApplicationProblemPlusJSONResponse ¶
type TestDestination429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (TestDestination429ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse ¶
func (response TestDestination429ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse(w http.ResponseWriter) error
type TestDestinationJSONRequestBody ¶
type TestDestinationJSONRequestBody = DestinationTestRequest
TestDestinationJSONRequestBody defines body for TestDestination for application/json ContentType.
type TestDestinationRequestObject ¶
type TestDestinationRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
Body *TestDestinationJSONRequestBody
}
type TestDestinationResponseObject ¶
type TestDestinationResponseObject interface {
VisitTestDestinationResponse(w http.ResponseWriter) error
}
type TestSource ¶
type TestSource struct {
// AlertGroupId A recent Alert Group of one of the Destination's Routes; required for `alert_group`.
AlertGroupId nullable.Nullable[string] `json:"alert_group_id,omitempty"`
Kind TestSourceKind `json:"kind"`
}
TestSource defines model for TestSource.
type TestSourceKind ¶
type TestSourceKind string
TestSourceKind defines model for TestSource.Kind.
const ( TestSourceKindAlertGroup TestSourceKind = "alert_group" TestSourceKindExample TestSourceKind = "example" )
Defines values for TestSourceKind.
func (TestSourceKind) Valid ¶
func (e TestSourceKind) Valid() bool
Valid indicates whether the value is a known member of the TestSourceKind enum.
type TestStep ¶
type TestStep struct {
DurationMs int `json:"duration_ms"`
// Error What failed. Secrets, the Signing secret and tokens are masked.
Error nullable.Nullable[string] `json:"error,omitempty"`
// ErrorClass How a delivery attempt ended. `limited`: no limiter token was free within `delivery.interactive_budget`, so nothing was sent (a test only; the attempt did not reach the remote side).
ErrorClass DeliveryErrorClass `json:"error_class"`
Extracted *map[string]string `json:"extracted,omitempty"`
// Name `message` — the test message to a messenger; `press` — for a Mattermost Destination, the bot's own press of the test message's first button (`POST /api/v4/posts/{post_id}/actions/{action_id}`): `error_class` `none` when the press reached Muster's callback; otherwise `error` says to add the host of `MUSTER_INGEST_URL` to `ServiceSettings.AllowedUntrustedInternalConnections` on the Mattermost server, and `limited` means no limiter token was free for it; `event` and `create` — the requests of an outgoing webhook.
Name TestStepName `json:"name"`
// Request A request as it would be or was sent, with Secrets, the Signing secret and tokens masked.
Request *RenderedRequest `json:"request,omitempty"`
// ResponseBody Truncated. Untrusted text; render as plain text. Secrets, the Signing secret and tokens are masked.
ResponseBody nullable.Nullable[string] `json:"response_body,omitempty"`
ResponseStatus nullable.Nullable[int] `json:"response_status,omitempty"`
}
TestStep defines model for TestStep.
type TestStepName ¶
type TestStepName string
TestStepName `message` — the test message to a messenger; `press` — for a Mattermost Destination, the bot's own press of the test message's first button (`POST /api/v4/posts/{post_id}/actions/{action_id}`): `error_class` `none` when the press reached Muster's callback; otherwise `error` says to add the host of `MUSTER_INGEST_URL` to `ServiceSettings.AllowedUntrustedInternalConnections` on the Mattermost server, and `limited` means no limiter token was free for it; `event` and `create` — the requests of an outgoing webhook.
const ( TestStepNameCreate TestStepName = "create" TestStepNameEvent TestStepName = "event" TestStepNameMessage TestStepName = "message" TestStepNamePress TestStepName = "press" )
Defines values for TestStepName.
func (TestStepName) Valid ¶
func (e TestStepName) Valid() bool
Valid indicates whether the value is a known member of the TestStepName enum.
type TimelineActor ¶
type TimelineActor struct {
// Id A `public_id` in the format of `PublicId`, or null.
Id nullable.Nullable[NullablePublicId] `json:"id,omitempty"`
Kind ActorKind `json:"kind"`
Name nullable.Nullable[string] `json:"name,omitempty"`
// Reason Reason of an automatic transition, for example `owner_disabled` or `owner_deleted` when disabling or deleting a user released their acknowledgement.
Reason nullable.Nullable[string] `json:"reason,omitempty"`
TokenName nullable.Nullable[string] `json:"token_name,omitempty"`
// Transport How a Command or change reached Muster. `cli` marks audited CLI commands (`--actor`); `system` marks transitions Muster starts on its own.
Transport *Transport `json:"transport,omitempty"`
}
TimelineActor Who caused the entry. `system` entries carry the reason in `reason`.
type TimelineAlertsEntry ¶
type TimelineAlertsEntry struct {
// Actor Who caused the entry. `system` entries carry the reason in `reason`.
Actor TimelineActor `json:"actor"`
At time.Time `json:"at"`
// Event Lifecycle event names, exactly as in the lifecycle event tables (every row is one Timeline entry with the row's kind, loudness and Mentions).
// The Timeline kind of each event is given in `x-event-kinds`.
Event LifecycleEvent `json:"event"`
Fingerprints *[]string `json:"fingerprints,omitempty"`
// Id `TE` for lifecycle and system entries, `NE` for a Note (the same id as its `note`), `DE` for a delivery event.
Id PublicId `json:"id"`
Kind TimelineAlertsEntryKind `json:"kind"`
// LabelConflicts Static labels the added Alerts already carried.
LabelConflicts *[]string `json:"label_conflicts,omitempty"`
Loudness Loudness `json:"loudness"`
Mentions []MentionName `json:"mentions"`
Reason nullable.Nullable[string] `json:"reason,omitempty"`
// ReplacedLabel The Instance label that differs, for `alert_replaced`.
ReplacedLabel nullable.Nullable[string] `json:"replaced_label,omitempty"`
}
TimelineAlertsEntry defines model for TimelineAlertsEntry.
type TimelineAlertsEntryKind ¶
type TimelineAlertsEntryKind string
TimelineAlertsEntryKind defines model for TimelineAlertsEntry.Kind.
const (
TimelineAlertsEntryKindAlerts TimelineAlertsEntryKind = "alerts"
)
Defines values for TimelineAlertsEntryKind.
func (TimelineAlertsEntryKind) Valid ¶
func (e TimelineAlertsEntryKind) Valid() bool
Valid indicates whether the value is a known member of the TimelineAlertsEntryKind enum.
type TimelineDeliveryEntry ¶
type TimelineDeliveryEntry struct {
// Actor Who caused the entry. `system` entries carry the reason in `reason`.
Actor TimelineActor `json:"actor"`
At time.Time `json:"at"`
// DeliveryEvent Delivery events are not lifecycle events and reach neither messengers nor outgoing webhook events.
DeliveryEvent DeliveryEventKind `json:"delivery_event"`
Destination EntityRef `json:"destination"`
// Error Provider error text. Secrets, the Signing secret and tokens are masked. Untrusted: render as plain text.
Error nullable.Nullable[string] `json:"error,omitempty"`
// Id `TE` for lifecycle and system entries, `NE` for a Note (the same id as its `note`), `DE` for a delivery event.
Id PublicId `json:"id"`
Kind TimelineDeliveryEntryKind `json:"kind"`
Loudness Loudness `json:"loudness"`
// Mentions Mentions the delivery event carried (see the Loud and Quiet table of delivery events).
Mentions []MentionName `json:"mentions"`
}
TimelineDeliveryEntry defines model for TimelineDeliveryEntry.
type TimelineDeliveryEntryKind ¶
type TimelineDeliveryEntryKind string
TimelineDeliveryEntryKind defines model for TimelineDeliveryEntry.Kind.
const (
TimelineDeliveryEntryKindDelivery TimelineDeliveryEntryKind = "delivery"
)
Defines values for TimelineDeliveryEntryKind.
func (TimelineDeliveryEntryKind) Valid ¶
func (e TimelineDeliveryEntryKind) Valid() bool
Valid indicates whether the value is a known member of the TimelineDeliveryEntryKind enum.
type TimelineEntry ¶
type TimelineEntry struct {
// contains filtered or unexported fields
}
TimelineEntry One Timeline entry; `kind` selects the variant.
func (TimelineEntry) AsTimelineAlertsEntry ¶
func (t TimelineEntry) AsTimelineAlertsEntry() (TimelineAlertsEntry, error)
AsTimelineAlertsEntry returns the union data inside the TimelineEntry as a TimelineAlertsEntry
func (TimelineEntry) AsTimelineDeliveryEntry ¶
func (t TimelineEntry) AsTimelineDeliveryEntry() (TimelineDeliveryEntry, error)
AsTimelineDeliveryEntry returns the union data inside the TimelineEntry as a TimelineDeliveryEntry
func (TimelineEntry) AsTimelineNoteEntry ¶
func (t TimelineEntry) AsTimelineNoteEntry() (TimelineNoteEntry, error)
AsTimelineNoteEntry returns the union data inside the TimelineEntry as a TimelineNoteEntry
func (TimelineEntry) AsTimelineStatusEntry ¶
func (t TimelineEntry) AsTimelineStatusEntry() (TimelineStatusEntry, error)
AsTimelineStatusEntry returns the union data inside the TimelineEntry as a TimelineStatusEntry
func (TimelineEntry) AsTimelineSystemEntry ¶
func (t TimelineEntry) AsTimelineSystemEntry() (TimelineSystemEntry, error)
AsTimelineSystemEntry returns the union data inside the TimelineEntry as a TimelineSystemEntry
func (TimelineEntry) AsTimelineTimersEntry ¶
func (t TimelineEntry) AsTimelineTimersEntry() (TimelineTimersEntry, error)
AsTimelineTimersEntry returns the union data inside the TimelineEntry as a TimelineTimersEntry
func (TimelineEntry) Discriminator ¶
func (t TimelineEntry) Discriminator() (string, error)
func (*TimelineEntry) FromTimelineAlertsEntry ¶
func (t *TimelineEntry) FromTimelineAlertsEntry(v TimelineAlertsEntry) error
FromTimelineAlertsEntry overwrites any union data inside the TimelineEntry as the provided TimelineAlertsEntry
func (*TimelineEntry) FromTimelineDeliveryEntry ¶
func (t *TimelineEntry) FromTimelineDeliveryEntry(v TimelineDeliveryEntry) error
FromTimelineDeliveryEntry overwrites any union data inside the TimelineEntry as the provided TimelineDeliveryEntry
func (*TimelineEntry) FromTimelineNoteEntry ¶
func (t *TimelineEntry) FromTimelineNoteEntry(v TimelineNoteEntry) error
FromTimelineNoteEntry overwrites any union data inside the TimelineEntry as the provided TimelineNoteEntry
func (*TimelineEntry) FromTimelineStatusEntry ¶
func (t *TimelineEntry) FromTimelineStatusEntry(v TimelineStatusEntry) error
FromTimelineStatusEntry overwrites any union data inside the TimelineEntry as the provided TimelineStatusEntry
func (*TimelineEntry) FromTimelineSystemEntry ¶
func (t *TimelineEntry) FromTimelineSystemEntry(v TimelineSystemEntry) error
FromTimelineSystemEntry overwrites any union data inside the TimelineEntry as the provided TimelineSystemEntry
func (*TimelineEntry) FromTimelineTimersEntry ¶
func (t *TimelineEntry) FromTimelineTimersEntry(v TimelineTimersEntry) error
FromTimelineTimersEntry overwrites any union data inside the TimelineEntry as the provided TimelineTimersEntry
func (TimelineEntry) MarshalJSON ¶
func (t TimelineEntry) MarshalJSON() ([]byte, error)
func (*TimelineEntry) MergeTimelineAlertsEntry ¶
func (t *TimelineEntry) MergeTimelineAlertsEntry(v TimelineAlertsEntry) error
MergeTimelineAlertsEntry performs a merge with any union data inside the TimelineEntry, using the provided TimelineAlertsEntry
func (*TimelineEntry) MergeTimelineDeliveryEntry ¶
func (t *TimelineEntry) MergeTimelineDeliveryEntry(v TimelineDeliveryEntry) error
MergeTimelineDeliveryEntry performs a merge with any union data inside the TimelineEntry, using the provided TimelineDeliveryEntry
func (*TimelineEntry) MergeTimelineNoteEntry ¶
func (t *TimelineEntry) MergeTimelineNoteEntry(v TimelineNoteEntry) error
MergeTimelineNoteEntry performs a merge with any union data inside the TimelineEntry, using the provided TimelineNoteEntry
func (*TimelineEntry) MergeTimelineStatusEntry ¶
func (t *TimelineEntry) MergeTimelineStatusEntry(v TimelineStatusEntry) error
MergeTimelineStatusEntry performs a merge with any union data inside the TimelineEntry, using the provided TimelineStatusEntry
func (*TimelineEntry) MergeTimelineSystemEntry ¶
func (t *TimelineEntry) MergeTimelineSystemEntry(v TimelineSystemEntry) error
MergeTimelineSystemEntry performs a merge with any union data inside the TimelineEntry, using the provided TimelineSystemEntry
func (*TimelineEntry) MergeTimelineTimersEntry ¶
func (t *TimelineEntry) MergeTimelineTimersEntry(v TimelineTimersEntry) error
MergeTimelineTimersEntry performs a merge with any union data inside the TimelineEntry, using the provided TimelineTimersEntry
func (*TimelineEntry) UnmarshalJSON ¶
func (t *TimelineEntry) UnmarshalJSON(b []byte) error
func (TimelineEntry) ValueByDiscriminator ¶
func (t TimelineEntry) ValueByDiscriminator() (interface{}, error)
type TimelineEntryBase ¶
type TimelineEntryBase struct {
// Actor Who caused the entry. `system` entries carry the reason in `reason`.
Actor TimelineActor `json:"actor"`
At time.Time `json:"at"`
// Id `TE` for lifecycle and system entries, `NE` for a Note (the same id as its `note`), `DE` for a delivery event.
Id PublicId `json:"id"`
Kind TimelineKind `json:"kind"`
}
TimelineEntryBase defines model for TimelineEntryBase.
type TimelineEntryList ¶
type TimelineEntryList struct {
Items []TimelineEntry `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
TimelineEntryList defines model for TimelineEntryList.
type TimelineKind ¶
type TimelineKind string
TimelineKind defines model for TimelineKind.
const ( TimelineKindAlerts TimelineKind = "alerts" TimelineKindDelivery TimelineKind = "delivery" TimelineKindNotes TimelineKind = "notes" TimelineKindStatus TimelineKind = "status" TimelineKindSystem TimelineKind = "system" TimelineKindTimers TimelineKind = "timers" )
Defines values for TimelineKind.
func (TimelineKind) Valid ¶
func (e TimelineKind) Valid() bool
Valid indicates whether the value is a known member of the TimelineKind enum.
type TimelineLifecycleFields ¶
type TimelineLifecycleFields struct {
// Event Lifecycle event names, exactly as in the lifecycle event tables (every row is one Timeline entry with the row's kind, loudness and Mentions).
// The Timeline kind of each event is given in `x-event-kinds`.
Event LifecycleEvent `json:"event"`
Loudness Loudness `json:"loudness"`
Mentions []MentionName `json:"mentions"`
}
TimelineLifecycleFields defines model for TimelineLifecycleFields.
type TimelineNoteEntry ¶
type TimelineNoteEntry struct {
// Actor Who caused the entry. `system` entries carry the reason in `reason`.
Actor TimelineActor `json:"actor"`
At time.Time `json:"at"`
// Event Lifecycle event names, exactly as in the lifecycle event tables (every row is one Timeline entry with the row's kind, loudness and Mentions).
// The Timeline kind of each event is given in `x-event-kinds`.
Event LifecycleEvent `json:"event"`
// Id `TE` for lifecycle and system entries, `NE` for a Note (the same id as its `note`), `DE` for a delivery event.
Id PublicId `json:"id"`
Kind TimelineNoteEntryKind `json:"kind"`
Loudness Loudness `json:"loudness"`
Mentions []MentionName `json:"mentions"`
Note Note `json:"note"`
}
TimelineNoteEntry defines model for TimelineNoteEntry.
type TimelineNoteEntryKind ¶
type TimelineNoteEntryKind string
TimelineNoteEntryKind defines model for TimelineNoteEntry.Kind.
const (
TimelineNoteEntryKindNotes TimelineNoteEntryKind = "notes"
)
Defines values for TimelineNoteEntryKind.
func (TimelineNoteEntryKind) Valid ¶
func (e TimelineNoteEntryKind) Valid() bool
Valid indicates whether the value is a known member of the TimelineNoteEntryKind enum.
type TimelineStatusEntry ¶
type TimelineStatusEntry struct {
// Actor Who caused the entry. `system` entries carry the reason in `reason`.
Actor TimelineActor `json:"actor"`
At time.Time `json:"at"`
// Event Lifecycle event names, exactly as in the lifecycle event tables (every row is one Timeline entry with the row's kind, loudness and Mentions).
// The Timeline kind of each event is given in `x-event-kinds`.
Event LifecycleEvent `json:"event"`
// Fingerprints The Alerts that started the Alert Group (`created`), reopened it (`reopened`) or whose resolution resolved it (`resolved`): Alerts of one Snapshot are one entry.
Fingerprints *[]string `json:"fingerprints,omitempty"`
FromStatus nullable.Nullable[NullableAlertGroupStatus] `json:"from_status,omitempty"`
// Id `TE` for lifecycle and system entries, `NE` for a Note (the same id as its `note`), `DE` for a delivery event.
Id PublicId `json:"id"`
Kind TimelineStatusEntryKind `json:"kind"`
// LabelConflicts Static labels the Alerts of `created` or `reopened` already carried.
LabelConflicts *[]string `json:"label_conflicts,omitempty"`
Loudness Loudness `json:"loudness"`
Mentions []MentionName `json:"mentions"`
// Owner The Owner after the entry, if any.
Owner *UserRef `json:"owner,omitempty"`
// PreviousOwner The Owner who lost the Alert Group (Takeover, urgency rise, auto-unacknowledge, an Owner disabled or deleted).
PreviousOwner *UserRef `json:"previous_owner,omitempty"`
// Reason Reason of an automatic status change.
Reason nullable.Nullable[string] `json:"reason,omitempty"`
SnoozeUntil nullable.Nullable[time.Time] `json:"snooze_until,omitempty"`
ToStatus *AlertGroupStatus `json:"to_status,omitempty"`
}
TimelineStatusEntry defines model for TimelineStatusEntry.
type TimelineStatusEntryKind ¶
type TimelineStatusEntryKind string
TimelineStatusEntryKind defines model for TimelineStatusEntry.Kind.
const (
TimelineStatusEntryKindStatus TimelineStatusEntryKind = "status"
)
Defines values for TimelineStatusEntryKind.
func (TimelineStatusEntryKind) Valid ¶
func (e TimelineStatusEntryKind) Valid() bool
Valid indicates whether the value is a known member of the TimelineStatusEntryKind enum.
type TimelineSystemEntry ¶
type TimelineSystemEntry struct {
// Actor Who caused the entry. `system` entries carry the reason in `reason`.
Actor TimelineActor `json:"actor"`
At time.Time `json:"at"`
Detail nullable.Nullable[string] `json:"detail,omitempty"`
// Event Set for lifecycle events of kind `system`.
Event *LifecycleEvent `json:"event,omitempty"`
// Id `TE` for lifecycle and system entries, `NE` for a Note (the same id as its `note`), `DE` for a delivery event.
Id PublicId `json:"id"`
Kind TimelineSystemEntryKind `json:"kind"`
Loudness *Loudness `json:"loudness,omitempty"`
Mentions *[]MentionName `json:"mentions,omitempty"`
PeriodFrom nullable.Nullable[time.Time] `json:"period_from,omitempty"`
PeriodTo nullable.Nullable[time.Time] `json:"period_to,omitempty"`
SystemEvent TimelineSystemEntrySystemEvent `json:"system_event"`
}
TimelineSystemEntry defines model for TimelineSystemEntry.
type TimelineSystemEntryKind ¶
type TimelineSystemEntryKind string
TimelineSystemEntryKind defines model for TimelineSystemEntry.Kind.
const (
TimelineSystemEntryKindSystem TimelineSystemEntryKind = "system"
)
Defines values for TimelineSystemEntryKind.
func (TimelineSystemEntryKind) Valid ¶
func (e TimelineSystemEntryKind) Valid() bool
Valid indicates whether the value is a known member of the TimelineSystemEntryKind enum.
type TimelineSystemEntrySystemEvent ¶
type TimelineSystemEntrySystemEvent string
TimelineSystemEntrySystemEvent defines model for TimelineSystemEntry.SystemEvent.
const ( TimelineSystemEntrySystemEventFallbackTemplateUsed TimelineSystemEntrySystemEvent = "fallback_template_used" TimelineSystemEntrySystemEventMovedToDefaultRoute TimelineSystemEntrySystemEvent = "moved_to_default_route" TimelineSystemEntrySystemEventTemplateValueMissing TimelineSystemEntrySystemEvent = "template_value_missing" )
Defines values for TimelineSystemEntrySystemEvent.
func (TimelineSystemEntrySystemEvent) Valid ¶
func (e TimelineSystemEntrySystemEvent) Valid() bool
Valid indicates whether the value is a known member of the TimelineSystemEntrySystemEvent enum.
type TimelineTimersEntry ¶
type TimelineTimersEntry struct {
// Actor Who caused the entry. `system` entries carry the reason in `reason`.
Actor TimelineActor `json:"actor"`
At time.Time `json:"at"`
// Event Lifecycle event names, exactly as in the lifecycle event tables (every row is one Timeline entry with the row's kind, loudness and Mentions).
// The Timeline kind of each event is given in `x-event-kinds`.
Event LifecycleEvent `json:"event"`
// Id `TE` for lifecycle and system entries, `NE` for a Note (the same id as its `note`), `DE` for a delivery event.
Id PublicId `json:"id"`
Kind TimelineTimersEntryKind `json:"kind"`
Loudness Loudness `json:"loudness"`
Mentions []MentionName `json:"mentions"`
// MissedCount For `notices_missed`.
MissedCount nullable.Nullable[int] `json:"missed_count,omitempty"`
NoticeNumber nullable.Nullable[int] `json:"notice_number,omitempty"`
}
TimelineTimersEntry defines model for TimelineTimersEntry.
type TimelineTimersEntryKind ¶
type TimelineTimersEntryKind string
TimelineTimersEntryKind defines model for TimelineTimersEntry.Kind.
const (
TimelineTimersEntryKindTimers TimelineTimersEntryKind = "timers"
)
Defines values for TimelineTimersEntryKind.
func (TimelineTimersEntryKind) Valid ¶
func (e TimelineTimersEntryKind) Valid() bool
Valid indicates whether the value is a known member of the TimelineTimersEntryKind enum.
type TokenId ¶
type TokenId = PublicId
TokenId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type TooManyRequests ¶
type TooManyRequests = Problem
TooManyRequests RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type TooManyRequestsApplicationProblemPlusJSONResponse ¶
type TooManyRequestsApplicationProblemPlusJSONResponse struct {
Body Problem
Headers TooManyRequestsResponseHeaders
}
type TooManyRequestsResponseHeaders ¶
type TooManyRequestsResponseHeaders struct {
RetryAfter *int
}
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type TotpCode ¶
type TotpCode struct {
// Code Current TOTP code.
Code string `json:"code"`
}
TotpCode defines model for TotpCode.
type TotpEnrolment ¶
type TotpEnrolment struct {
OtpauthUri string `json:"otpauth_uri"`
// Secret Base32 seed for manual entry.
Secret string `json:"secret"`
}
TotpEnrolment Shown once, while enrolling. The UI renders `otpauth_uri` as a QR code.
type TotpPolicy ¶
type TotpPolicy string
TotpPolicy Who must enrol TOTP. `local_users` covers every account that has a password; an account that signs in through OIDC — created through OIDC or linked — is not one. A user has one TOTP enrolment, asked at every sign-in and kept when the account changes its sign-in method; on an OIDC sign-in `oidc.skip_totp_with_idp_mfa` may skip it.
const ( TotpPolicyEveryone TotpPolicy = "everyone" TotpPolicyLocalUsers TotpPolicy = "local_users" TotpPolicyNobody TotpPolicy = "nobody" )
Defines values for TotpPolicy.
func (TotpPolicy) Valid ¶
func (e TotpPolicy) Valid() bool
Valid indicates whether the value is a known member of the TotpPolicy enum.
type TotpRecoveryCodes ¶
type TotpRecoveryCodes struct {
Codes []string `json:"codes"`
}
TotpRecoveryCodes Single-use recovery codes, shown once.
type TotpRemoval ¶
type TotpRemoval struct {
// Password The current password; local users only.
Password *string `json:"password,omitempty"`
// RecoveryCode A single-use recovery code.
RecoveryCode *string `json:"recovery_code,omitempty"`
// TotpCode Current TOTP code.
TotpCode *string `json:"totp_code,omitempty"`
}
TotpRemoval One proof is enough.
type TotpStatus ¶
type TotpStatus struct {
Enrolled bool `json:"enrolled"`
EnrolledAt nullable.Nullable[time.Time] `json:"enrolled_at,omitempty"`
EnrolmentPending bool `json:"enrolment_pending"`
RecoveryCodesRemaining int `json:"recovery_codes_remaining"`
}
TotpStatus defines model for TotpStatus.
type Transport ¶
type Transport string
Transport How a Command or change reached Muster. `cli` marks audited CLI commands (`--actor`); `system` marks transitions Muster starts on its own.
type UnacknowledgeAlertGroup200JSONResponse ¶
type UnacknowledgeAlertGroup200JSONResponse CommandResult
func (UnacknowledgeAlertGroup200JSONResponse) VisitUnacknowledgeAlertGroupResponse ¶
func (response UnacknowledgeAlertGroup200JSONResponse) VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error
type UnacknowledgeAlertGroup401ApplicationProblemPlusJSONResponse ¶
type UnacknowledgeAlertGroup401ApplicationProblemPlusJSONResponse struct {
}
func (UnacknowledgeAlertGroup401ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse ¶
func (response UnacknowledgeAlertGroup401ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error
type UnacknowledgeAlertGroup403ApplicationProblemPlusJSONResponse ¶
type UnacknowledgeAlertGroup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UnacknowledgeAlertGroup403ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse ¶
func (response UnacknowledgeAlertGroup403ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error
type UnacknowledgeAlertGroup404ApplicationProblemPlusJSONResponse ¶
type UnacknowledgeAlertGroup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UnacknowledgeAlertGroup404ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse ¶
func (response UnacknowledgeAlertGroup404ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error
type UnacknowledgeAlertGroup409ApplicationProblemPlusJSONResponse ¶
type UnacknowledgeAlertGroup409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UnacknowledgeAlertGroup409ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse ¶
func (response UnacknowledgeAlertGroup409ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error
type UnacknowledgeAlertGroup429ApplicationProblemPlusJSONResponse ¶
type UnacknowledgeAlertGroup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UnacknowledgeAlertGroup429ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse ¶
func (response UnacknowledgeAlertGroup429ApplicationProblemPlusJSONResponse) VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error
type UnacknowledgeAlertGroupRequestObject ¶
type UnacknowledgeAlertGroupRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
}
type UnacknowledgeAlertGroupResponseObject ¶
type UnacknowledgeAlertGroupResponseObject interface {
VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error
}
type Unauthorized ¶
type Unauthorized = Problem
Unauthorized RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type UnauthorizedApplicationProblemPlusJSONResponse ¶
type UnauthorizedApplicationProblemPlusJSONResponse Problem
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type Unprocessable ¶
type Unprocessable = Problem
Unprocessable RFC 9457 problem details, served as `application/problem+json`. `type` is a stable URI under `https://muster-io.github.io/muster/problems/`; clients branch on `type`, `code` and `errors[].code`, never on `title` or `detail`. Validation errors raised by the request-validation middleware and by the strict server are mapped to this schema by one function. Every `code` is listed in `x-problem-codes`.
type UnprocessableApplicationProblemPlusJSONResponse ¶
type UnprocessableApplicationProblemPlusJSONResponse Problem
type UnresolveAlertGroup200JSONResponse ¶
type UnresolveAlertGroup200JSONResponse CommandResult
func (UnresolveAlertGroup200JSONResponse) VisitUnresolveAlertGroupResponse ¶
func (response UnresolveAlertGroup200JSONResponse) VisitUnresolveAlertGroupResponse(w http.ResponseWriter) error
type UnresolveAlertGroup401ApplicationProblemPlusJSONResponse ¶
type UnresolveAlertGroup401ApplicationProblemPlusJSONResponse struct {
}
func (UnresolveAlertGroup401ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse ¶
func (response UnresolveAlertGroup401ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse(w http.ResponseWriter) error
type UnresolveAlertGroup403ApplicationProblemPlusJSONResponse ¶
type UnresolveAlertGroup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UnresolveAlertGroup403ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse ¶
func (response UnresolveAlertGroup403ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse(w http.ResponseWriter) error
type UnresolveAlertGroup404ApplicationProblemPlusJSONResponse ¶
type UnresolveAlertGroup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UnresolveAlertGroup404ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse ¶
func (response UnresolveAlertGroup404ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse(w http.ResponseWriter) error
type UnresolveAlertGroup409ApplicationProblemPlusJSONResponse ¶
type UnresolveAlertGroup409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UnresolveAlertGroup409ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse ¶
func (response UnresolveAlertGroup409ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse(w http.ResponseWriter) error
type UnresolveAlertGroup429ApplicationProblemPlusJSONResponse ¶
type UnresolveAlertGroup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UnresolveAlertGroup429ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse ¶
func (response UnresolveAlertGroup429ApplicationProblemPlusJSONResponse) VisitUnresolveAlertGroupResponse(w http.ResponseWriter) error
type UnresolveAlertGroupRequestObject ¶
type UnresolveAlertGroupRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
}
type UnresolveAlertGroupResponseObject ¶
type UnresolveAlertGroupResponseObject interface {
VisitUnresolveAlertGroupResponse(w http.ResponseWriter) error
}
type UnsnoozeAlertGroup200JSONResponse ¶
type UnsnoozeAlertGroup200JSONResponse CommandResult
func (UnsnoozeAlertGroup200JSONResponse) VisitUnsnoozeAlertGroupResponse ¶
func (response UnsnoozeAlertGroup200JSONResponse) VisitUnsnoozeAlertGroupResponse(w http.ResponseWriter) error
type UnsnoozeAlertGroup401ApplicationProblemPlusJSONResponse ¶
type UnsnoozeAlertGroup401ApplicationProblemPlusJSONResponse struct {
}
func (UnsnoozeAlertGroup401ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse ¶
func (response UnsnoozeAlertGroup401ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse(w http.ResponseWriter) error
type UnsnoozeAlertGroup403ApplicationProblemPlusJSONResponse ¶
type UnsnoozeAlertGroup403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UnsnoozeAlertGroup403ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse ¶
func (response UnsnoozeAlertGroup403ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse(w http.ResponseWriter) error
type UnsnoozeAlertGroup404ApplicationProblemPlusJSONResponse ¶
type UnsnoozeAlertGroup404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UnsnoozeAlertGroup404ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse ¶
func (response UnsnoozeAlertGroup404ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse(w http.ResponseWriter) error
type UnsnoozeAlertGroup409ApplicationProblemPlusJSONResponse ¶
type UnsnoozeAlertGroup409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UnsnoozeAlertGroup409ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse ¶
func (response UnsnoozeAlertGroup409ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse(w http.ResponseWriter) error
type UnsnoozeAlertGroup429ApplicationProblemPlusJSONResponse ¶
type UnsnoozeAlertGroup429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UnsnoozeAlertGroup429ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse ¶
func (response UnsnoozeAlertGroup429ApplicationProblemPlusJSONResponse) VisitUnsnoozeAlertGroupResponse(w http.ResponseWriter) error
type UnsnoozeAlertGroupRequestObject ¶
type UnsnoozeAlertGroupRequestObject struct {
AlertGroupId AlertGroupId `json:"alert_group_id"`
}
type UnsnoozeAlertGroupResponseObject ¶
type UnsnoozeAlertGroupResponseObject interface {
VisitUnsnoozeAlertGroupResponse(w http.ResponseWriter) error
}
type UpdateConnection200JSONResponse ¶
type UpdateConnection200JSONResponse struct {
Body Connection
Headers UpdateConnection200ResponseHeaders
}
func (UpdateConnection200JSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection200JSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection200ResponseHeaders ¶
type UpdateConnection200ResponseHeaders struct {
ETag *string
}
type UpdateConnection400ApplicationProblemPlusJSONResponse ¶
type UpdateConnection400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateConnection400ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection400ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection401ApplicationProblemPlusJSONResponse ¶
type UpdateConnection401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateConnection401ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection401ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection403ApplicationProblemPlusJSONResponse ¶
type UpdateConnection403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateConnection403ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection403ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection404ApplicationProblemPlusJSONResponse ¶
type UpdateConnection404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateConnection404ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection404ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection409ApplicationProblemPlusJSONResponse ¶
type UpdateConnection409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateConnection409ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection409ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection412ApplicationProblemPlusJSONResponse ¶
type UpdateConnection412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateConnection412ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection412ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection422ApplicationProblemPlusJSONResponse ¶
type UpdateConnection422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateConnection422ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection422ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection428ApplicationProblemPlusJSONResponse ¶
type UpdateConnection428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateConnection428ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection428ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnection429ApplicationProblemPlusJSONResponse ¶
type UpdateConnection429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateConnection429ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse ¶
func (response UpdateConnection429ApplicationProblemPlusJSONResponse) VisitUpdateConnectionResponse(w http.ResponseWriter) error
type UpdateConnectionJSONRequestBody ¶
type UpdateConnectionJSONRequestBody = ConnectionInput
UpdateConnectionJSONRequestBody defines body for UpdateConnection for application/json ContentType.
type UpdateConnectionParams ¶
type UpdateConnectionParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateConnectionParams defines parameters for UpdateConnection.
type UpdateConnectionRequestObject ¶
type UpdateConnectionRequestObject struct {
ConnectionId ConnectionId `json:"connection_id"`
Params UpdateConnectionParams
Body *UpdateConnectionJSONRequestBody
}
type UpdateConnectionResponseObject ¶
type UpdateConnectionResponseObject interface {
VisitUpdateConnectionResponse(w http.ResponseWriter) error
}
type UpdateDestination200JSONResponse ¶
type UpdateDestination200JSONResponse struct {
Body Destination
Headers UpdateDestination200ResponseHeaders
}
func (UpdateDestination200JSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination200JSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination200ResponseHeaders ¶
type UpdateDestination200ResponseHeaders struct {
ETag *string
}
type UpdateDestination400ApplicationProblemPlusJSONResponse ¶
type UpdateDestination400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateDestination400ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination400ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination401ApplicationProblemPlusJSONResponse ¶
type UpdateDestination401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateDestination401ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination401ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination403ApplicationProblemPlusJSONResponse ¶
type UpdateDestination403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateDestination403ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination403ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination404ApplicationProblemPlusJSONResponse ¶
type UpdateDestination404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateDestination404ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination404ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination409ApplicationProblemPlusJSONResponse ¶
type UpdateDestination409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateDestination409ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination409ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination412ApplicationProblemPlusJSONResponse ¶
type UpdateDestination412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateDestination412ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination412ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination422ApplicationProblemPlusJSONResponse ¶
type UpdateDestination422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateDestination422ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination422ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination428ApplicationProblemPlusJSONResponse ¶
type UpdateDestination428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateDestination428ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination428ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination429ApplicationProblemPlusJSONResponse ¶
type UpdateDestination429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateDestination429ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination429ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestination503ApplicationProblemPlusJSONResponse ¶
type UpdateDestination503ApplicationProblemPlusJSONResponse struct {
LimitedApplicationProblemPlusJSONResponse
}
func (UpdateDestination503ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse ¶
func (response UpdateDestination503ApplicationProblemPlusJSONResponse) VisitUpdateDestinationResponse(w http.ResponseWriter) error
type UpdateDestinationJSONRequestBody ¶
type UpdateDestinationJSONRequestBody = DestinationInput
UpdateDestinationJSONRequestBody defines body for UpdateDestination for application/json ContentType.
type UpdateDestinationParams ¶
type UpdateDestinationParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateDestinationParams defines parameters for UpdateDestination.
type UpdateDestinationRequestObject ¶
type UpdateDestinationRequestObject struct {
DestinationId DestinationId `json:"destination_id"`
Params UpdateDestinationParams
Body *UpdateDestinationJSONRequestBody
}
type UpdateDestinationResponseObject ¶
type UpdateDestinationResponseObject interface {
VisitUpdateDestinationResponse(w http.ResponseWriter) error
}
type UpdateIntegration200JSONResponse ¶
type UpdateIntegration200JSONResponse struct {
Body Integration
Headers UpdateIntegration200ResponseHeaders
}
func (UpdateIntegration200JSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration200JSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration200ResponseHeaders ¶
type UpdateIntegration200ResponseHeaders struct {
ETag *string
}
type UpdateIntegration400ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateIntegration400ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration400ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration401ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateIntegration401ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration401ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration403ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateIntegration403ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration403ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration404ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateIntegration404ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration404ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration409ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateIntegration409ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration409ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration412ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateIntegration412ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration412ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration422ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateIntegration422ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration422ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration428ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateIntegration428ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration428ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegration429ApplicationProblemPlusJSONResponse ¶
type UpdateIntegration429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateIntegration429ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse ¶
func (response UpdateIntegration429ApplicationProblemPlusJSONResponse) VisitUpdateIntegrationResponse(w http.ResponseWriter) error
type UpdateIntegrationJSONRequestBody ¶
type UpdateIntegrationJSONRequestBody = IntegrationInput
UpdateIntegrationJSONRequestBody defines body for UpdateIntegration for application/json ContentType.
type UpdateIntegrationParams ¶
type UpdateIntegrationParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateIntegrationParams defines parameters for UpdateIntegration.
type UpdateIntegrationRequestObject ¶
type UpdateIntegrationRequestObject struct {
IntegrationId IntegrationId `json:"integration_id"`
Params UpdateIntegrationParams
Body *UpdateIntegrationJSONRequestBody
}
type UpdateIntegrationResponseObject ¶
type UpdateIntegrationResponseObject interface {
VisitUpdateIntegrationResponse(w http.ResponseWriter) error
}
type UpdateLinkRule200JSONResponse ¶
type UpdateLinkRule200JSONResponse struct {
Body LinkRule
Headers UpdateLinkRule200ResponseHeaders
}
func (UpdateLinkRule200JSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule200JSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule200ResponseHeaders ¶
type UpdateLinkRule200ResponseHeaders struct {
ETag *string
}
type UpdateLinkRule400ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule400ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule400ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule401ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateLinkRule401ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule401ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule403ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule403ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule403ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule404ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule404ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule404ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule409ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule409ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule409ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule412ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule412ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule412ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule422ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule422ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule422ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule428ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule428ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule428ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRule429ApplicationProblemPlusJSONResponse ¶
type UpdateLinkRule429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateLinkRule429ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse ¶
func (response UpdateLinkRule429ApplicationProblemPlusJSONResponse) VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
type UpdateLinkRuleJSONRequestBody ¶
type UpdateLinkRuleJSONRequestBody = LinkRuleBase
UpdateLinkRuleJSONRequestBody defines body for UpdateLinkRule for application/json ContentType.
type UpdateLinkRuleParams ¶
type UpdateLinkRuleParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateLinkRuleParams defines parameters for UpdateLinkRule.
type UpdateLinkRuleRequestObject ¶
type UpdateLinkRuleRequestObject struct {
LinkRuleId LinkRuleId `json:"link_rule_id"`
Params UpdateLinkRuleParams
Body *UpdateLinkRuleJSONRequestBody
}
type UpdateLinkRuleResponseObject ¶
type UpdateLinkRuleResponseObject interface {
VisitUpdateLinkRuleResponse(w http.ResponseWriter) error
}
type UpdateLookupTable200JSONResponse ¶
type UpdateLookupTable200JSONResponse struct {
Body LookupTable
Headers UpdateLookupTable200ResponseHeaders
}
func (UpdateLookupTable200JSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable200JSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable200ResponseHeaders ¶
type UpdateLookupTable200ResponseHeaders struct {
ETag *string
}
type UpdateLookupTable400ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable400ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable400ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable401ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateLookupTable401ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable401ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable403ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable403ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable403ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable404ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable404ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable404ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable409ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable409ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable409ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable412ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable412ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable412ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable422ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable422ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable422ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable428ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable428ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable428ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTable429ApplicationProblemPlusJSONResponse ¶
type UpdateLookupTable429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateLookupTable429ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse ¶
func (response UpdateLookupTable429ApplicationProblemPlusJSONResponse) VisitUpdateLookupTableResponse(w http.ResponseWriter) error
type UpdateLookupTableJSONRequestBody ¶
type UpdateLookupTableJSONRequestBody = LookupTableBase
UpdateLookupTableJSONRequestBody defines body for UpdateLookupTable for application/json ContentType.
type UpdateLookupTableParams ¶
type UpdateLookupTableParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateLookupTableParams defines parameters for UpdateLookupTable.
type UpdateLookupTableRequestObject ¶
type UpdateLookupTableRequestObject struct {
LookupTableId LookupTableId `json:"lookup_table_id"`
Params UpdateLookupTableParams
Body *UpdateLookupTableJSONRequestBody
}
type UpdateLookupTableResponseObject ¶
type UpdateLookupTableResponseObject interface {
VisitUpdateLookupTableResponse(w http.ResponseWriter) error
}
type UpdateMe200JSONResponse ¶
type UpdateMe200JSONResponse Me
func (UpdateMe200JSONResponse) VisitUpdateMeResponse ¶
func (response UpdateMe200JSONResponse) VisitUpdateMeResponse(w http.ResponseWriter) error
type UpdateMe400ApplicationProblemPlusJSONResponse ¶
type UpdateMe400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateMe400ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse ¶
func (response UpdateMe400ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse(w http.ResponseWriter) error
type UpdateMe401ApplicationProblemPlusJSONResponse ¶
type UpdateMe401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateMe401ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse ¶
func (response UpdateMe401ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse(w http.ResponseWriter) error
type UpdateMe403ApplicationProblemPlusJSONResponse ¶
type UpdateMe403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateMe403ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse ¶
func (response UpdateMe403ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse(w http.ResponseWriter) error
type UpdateMe422ApplicationProblemPlusJSONResponse ¶
type UpdateMe422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateMe422ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse ¶
func (response UpdateMe422ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse(w http.ResponseWriter) error
type UpdateMe429ApplicationProblemPlusJSONResponse ¶
type UpdateMe429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateMe429ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse ¶
func (response UpdateMe429ApplicationProblemPlusJSONResponse) VisitUpdateMeResponse(w http.ResponseWriter) error
type UpdateMeJSONRequestBody ¶
type UpdateMeJSONRequestBody = MeUpdate
UpdateMeJSONRequestBody defines body for UpdateMe for application/json ContentType.
type UpdateMeRequestObject ¶
type UpdateMeRequestObject struct {
Body *UpdateMeJSONRequestBody
}
type UpdateMeResponseObject ¶
type UpdateMeResponseObject interface {
VisitUpdateMeResponse(w http.ResponseWriter) error
}
type UpdateOidcSettings200JSONResponse ¶
type UpdateOidcSettings200JSONResponse struct {
Body OidcSettings
Headers UpdateOidcSettings200ResponseHeaders
}
func (UpdateOidcSettings200JSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings200JSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettings200ResponseHeaders ¶
type UpdateOidcSettings200ResponseHeaders struct {
ETag *string
}
type UpdateOidcSettings400ApplicationProblemPlusJSONResponse ¶
type UpdateOidcSettings400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateOidcSettings400ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings400ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettings401ApplicationProblemPlusJSONResponse ¶
type UpdateOidcSettings401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateOidcSettings401ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings401ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettings403ApplicationProblemPlusJSONResponse ¶
type UpdateOidcSettings403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateOidcSettings403ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings403ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettings412ApplicationProblemPlusJSONResponse ¶
type UpdateOidcSettings412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateOidcSettings412ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings412ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettings422ApplicationProblemPlusJSONResponse ¶
type UpdateOidcSettings422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateOidcSettings422ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings422ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettings428ApplicationProblemPlusJSONResponse ¶
type UpdateOidcSettings428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateOidcSettings428ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings428ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettings429ApplicationProblemPlusJSONResponse ¶
type UpdateOidcSettings429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateOidcSettings429ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse ¶
func (response UpdateOidcSettings429ApplicationProblemPlusJSONResponse) VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
type UpdateOidcSettingsJSONRequestBody ¶
type UpdateOidcSettingsJSONRequestBody = OidcSettingsInput
UpdateOidcSettingsJSONRequestBody defines body for UpdateOidcSettings for application/json ContentType.
type UpdateOidcSettingsParams ¶
type UpdateOidcSettingsParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateOidcSettingsParams defines parameters for UpdateOidcSettings.
type UpdateOidcSettingsRequestObject ¶
type UpdateOidcSettingsRequestObject struct {
Params UpdateOidcSettingsParams
Body *UpdateOidcSettingsJSONRequestBody
}
type UpdateOidcSettingsResponseObject ¶
type UpdateOidcSettingsResponseObject interface {
VisitUpdateOidcSettingsResponse(w http.ResponseWriter) error
}
type UpdateOrganization200JSONResponse ¶
type UpdateOrganization200JSONResponse struct {
Body Organization
Headers UpdateOrganization200ResponseHeaders
}
func (UpdateOrganization200JSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization200JSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganization200ResponseHeaders ¶
type UpdateOrganization200ResponseHeaders struct {
ETag *string
}
type UpdateOrganization400ApplicationProblemPlusJSONResponse ¶
type UpdateOrganization400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateOrganization400ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization400ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganization401ApplicationProblemPlusJSONResponse ¶
type UpdateOrganization401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateOrganization401ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization401ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganization403ApplicationProblemPlusJSONResponse ¶
type UpdateOrganization403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateOrganization403ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization403ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganization412ApplicationProblemPlusJSONResponse ¶
type UpdateOrganization412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateOrganization412ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization412ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganization422ApplicationProblemPlusJSONResponse ¶
type UpdateOrganization422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateOrganization422ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization422ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganization428ApplicationProblemPlusJSONResponse ¶
type UpdateOrganization428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateOrganization428ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization428ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganization429ApplicationProblemPlusJSONResponse ¶
type UpdateOrganization429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateOrganization429ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse ¶
func (response UpdateOrganization429ApplicationProblemPlusJSONResponse) VisitUpdateOrganizationResponse(w http.ResponseWriter) error
type UpdateOrganizationJSONRequestBody ¶
type UpdateOrganizationJSONRequestBody = OrganizationInput
UpdateOrganizationJSONRequestBody defines body for UpdateOrganization for application/json ContentType.
type UpdateOrganizationParams ¶
type UpdateOrganizationParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateOrganizationParams defines parameters for UpdateOrganization.
type UpdateOrganizationRequestObject ¶
type UpdateOrganizationRequestObject struct {
Params UpdateOrganizationParams
Body *UpdateOrganizationJSONRequestBody
}
type UpdateOrganizationResponseObject ¶
type UpdateOrganizationResponseObject interface {
VisitUpdateOrganizationResponse(w http.ResponseWriter) error
}
type UpdateOutboundPolicy200JSONResponse ¶
type UpdateOutboundPolicy200JSONResponse struct {
Body OutboundPolicy
Headers UpdateOutboundPolicy200ResponseHeaders
}
func (UpdateOutboundPolicy200JSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy200JSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicy200ResponseHeaders ¶
type UpdateOutboundPolicy200ResponseHeaders struct {
ETag *string
}
type UpdateOutboundPolicy400ApplicationProblemPlusJSONResponse ¶
type UpdateOutboundPolicy400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateOutboundPolicy400ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy400ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicy401ApplicationProblemPlusJSONResponse ¶
type UpdateOutboundPolicy401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateOutboundPolicy401ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy401ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicy403ApplicationProblemPlusJSONResponse ¶
type UpdateOutboundPolicy403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateOutboundPolicy403ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy403ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicy412ApplicationProblemPlusJSONResponse ¶
type UpdateOutboundPolicy412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateOutboundPolicy412ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy412ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicy422ApplicationProblemPlusJSONResponse ¶
type UpdateOutboundPolicy422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateOutboundPolicy422ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy422ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicy428ApplicationProblemPlusJSONResponse ¶
type UpdateOutboundPolicy428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateOutboundPolicy428ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy428ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicy429ApplicationProblemPlusJSONResponse ¶
type UpdateOutboundPolicy429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateOutboundPolicy429ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse ¶
func (response UpdateOutboundPolicy429ApplicationProblemPlusJSONResponse) VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
type UpdateOutboundPolicyJSONRequestBody ¶
type UpdateOutboundPolicyJSONRequestBody = OutboundPolicy
UpdateOutboundPolicyJSONRequestBody defines body for UpdateOutboundPolicy for application/json ContentType.
type UpdateOutboundPolicyParams ¶
type UpdateOutboundPolicyParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateOutboundPolicyParams defines parameters for UpdateOutboundPolicy.
type UpdateOutboundPolicyRequestObject ¶
type UpdateOutboundPolicyRequestObject struct {
Params UpdateOutboundPolicyParams
Body *UpdateOutboundPolicyJSONRequestBody
}
type UpdateOutboundPolicyResponseObject ¶
type UpdateOutboundPolicyResponseObject interface {
VisitUpdateOutboundPolicyResponse(w http.ResponseWriter) error
}
type UpdateRoute200JSONResponse ¶
type UpdateRoute200JSONResponse struct {
Body Route
Headers UpdateRoute200ResponseHeaders
}
func (UpdateRoute200JSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute200JSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute200ResponseHeaders ¶
type UpdateRoute200ResponseHeaders struct {
ETag *string
}
type UpdateRoute400ApplicationProblemPlusJSONResponse ¶
type UpdateRoute400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateRoute400ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute400ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute401ApplicationProblemPlusJSONResponse ¶
type UpdateRoute401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateRoute401ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute401ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute403ApplicationProblemPlusJSONResponse ¶
type UpdateRoute403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateRoute403ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute403ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute404ApplicationProblemPlusJSONResponse ¶
type UpdateRoute404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateRoute404ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute404ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute409ApplicationProblemPlusJSONResponse ¶
type UpdateRoute409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateRoute409ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute409ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute412ApplicationProblemPlusJSONResponse ¶
type UpdateRoute412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateRoute412ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute412ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute422ApplicationProblemPlusJSONResponse ¶
type UpdateRoute422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateRoute422ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute422ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute428ApplicationProblemPlusJSONResponse ¶
type UpdateRoute428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateRoute428ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute428ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRoute429ApplicationProblemPlusJSONResponse ¶
type UpdateRoute429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateRoute429ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse ¶
func (response UpdateRoute429ApplicationProblemPlusJSONResponse) VisitUpdateRouteResponse(w http.ResponseWriter) error
type UpdateRouteJSONRequestBody ¶
type UpdateRouteJSONRequestBody = RouteInput
UpdateRouteJSONRequestBody defines body for UpdateRoute for application/json ContentType.
type UpdateRouteParams ¶
type UpdateRouteParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateRouteParams defines parameters for UpdateRoute.
type UpdateRouteRequestObject ¶
type UpdateRouteRequestObject struct {
RouteId RouteId `json:"route_id"`
Params UpdateRouteParams
Body *UpdateRouteJSONRequestBody
}
type UpdateRouteResponseObject ¶
type UpdateRouteResponseObject interface {
VisitUpdateRouteResponse(w http.ResponseWriter) error
}
type UpdateServiceAccount200JSONResponse ¶
type UpdateServiceAccount200JSONResponse struct {
Body ServiceAccount
Headers UpdateServiceAccount200ResponseHeaders
}
func (UpdateServiceAccount200JSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount200JSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount200ResponseHeaders ¶
type UpdateServiceAccount200ResponseHeaders struct {
ETag *string
}
type UpdateServiceAccount400ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount400ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount400ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount401ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateServiceAccount401ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount401ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount403ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount403ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount403ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount404ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount404ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount404ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount409ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount409ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount409ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount412ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount412ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount412ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount422ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount422ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount422ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount428ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount428ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount428ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccount429ApplicationProblemPlusJSONResponse ¶
type UpdateServiceAccount429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateServiceAccount429ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse ¶
func (response UpdateServiceAccount429ApplicationProblemPlusJSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
type UpdateServiceAccountJSONRequestBody ¶
type UpdateServiceAccountJSONRequestBody = ServiceAccountInput
UpdateServiceAccountJSONRequestBody defines body for UpdateServiceAccount for application/json ContentType.
type UpdateServiceAccountParams ¶
type UpdateServiceAccountParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateServiceAccountParams defines parameters for UpdateServiceAccount.
type UpdateServiceAccountRequestObject ¶
type UpdateServiceAccountRequestObject struct {
ServiceAccountId ServiceAccountId `json:"service_account_id"`
Params UpdateServiceAccountParams
Body *UpdateServiceAccountJSONRequestBody
}
type UpdateServiceAccountResponseObject ¶
type UpdateServiceAccountResponseObject interface {
VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
}
type UpdateUser200JSONResponse ¶
type UpdateUser200JSONResponse struct {
Body User
Headers UpdateUser200ResponseHeaders
}
func (UpdateUser200JSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser200JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser200ResponseHeaders ¶
type UpdateUser200ResponseHeaders struct {
ETag *string
}
type UpdateUser400ApplicationProblemPlusJSONResponse ¶
type UpdateUser400ApplicationProblemPlusJSONResponse struct {
BadRequestApplicationProblemPlusJSONResponse
}
func (UpdateUser400ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser400ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser401ApplicationProblemPlusJSONResponse ¶
type UpdateUser401ApplicationProblemPlusJSONResponse struct {
}
func (UpdateUser401ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser401ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser403ApplicationProblemPlusJSONResponse ¶
type UpdateUser403ApplicationProblemPlusJSONResponse struct {
ForbiddenApplicationProblemPlusJSONResponse
}
func (UpdateUser403ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser403ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser404ApplicationProblemPlusJSONResponse ¶
type UpdateUser404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateUser404ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser404ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser409ApplicationProblemPlusJSONResponse ¶
type UpdateUser409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateUser409ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser409ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser412ApplicationProblemPlusJSONResponse ¶
type UpdateUser412ApplicationProblemPlusJSONResponse struct {
PreconditionFailedApplicationProblemPlusJSONResponse
}
func (UpdateUser412ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser412ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser422ApplicationProblemPlusJSONResponse ¶
type UpdateUser422ApplicationProblemPlusJSONResponse struct {
UnprocessableApplicationProblemPlusJSONResponse
}
func (UpdateUser422ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser422ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser428ApplicationProblemPlusJSONResponse ¶
type UpdateUser428ApplicationProblemPlusJSONResponse struct {
PreconditionRequiredApplicationProblemPlusJSONResponse
}
func (UpdateUser428ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser428ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser429ApplicationProblemPlusJSONResponse ¶
type UpdateUser429ApplicationProblemPlusJSONResponse struct {
TooManyRequestsApplicationProblemPlusJSONResponse
}
func (UpdateUser429ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser429ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUserJSONRequestBody ¶
type UpdateUserJSONRequestBody = UserUpdate
UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.
type UpdateUserParams ¶
type UpdateUserParams struct {
// IfMatch ETag of the representation being replaced, as returned by the last read. A mismatch gets `412`; a missing header gets `428`.
IfMatch IfMatch `json:"If-Match"`
}
UpdateUserParams defines parameters for UpdateUser.
type UpdateUserRequestObject ¶
type UpdateUserRequestObject struct {
UserId UserId `json:"user_id"`
Params UpdateUserParams
Body *UpdateUserJSONRequestBody
}
type UpdateUserResponseObject ¶
type UpdateUserResponseObject interface {
VisitUpdateUserResponse(w http.ResponseWriter) error
}
type User ¶
type User struct {
CreatedAt time.Time `json:"created_at"`
Email nullable.Nullable[string] `json:"email,omitempty"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Language UI language; null follows the browser.
Language nullable.Nullable[NullableLanguage] `json:"language,omitempty"`
LastSignInAt nullable.Nullable[time.Time] `json:"last_sign_in_at,omitempty"`
// Login As entered. Logins are case-insensitive; uniqueness and sign-in compare them lowercased.
Login string `json:"login"`
// Name Display name. `deleted-user-<id>` after deletion.
Name string `json:"name"`
// OidcOfflineAccess True while Muster holds an offline token from the identity provider for this OIDC account, so it is re-checked in the background and its Personal access tokens have no inactivity limit. The token itself is never returned.
OidcOfflineAccess *bool `json:"oidc_offline_access,omitempty"`
Role RoleName `json:"role"`
// RoleLocked True for an account that signs in through OIDC while OIDC and `oidc.sync_role` are both on, so the identity provider decides the Role.
RoleLocked *bool `json:"role_locked,omitempty"`
// SignInMethod How the user signs in now, one way only. `local` with a password (which may still wait for its setup link); `oidc` only through the identity provider, which is then the only source of truth for the account — created through OIDC, or a local account that linked an identity and lost its password.
SignInMethod *UserSignInMethod `json:"sign_in_method,omitempty"`
// Source How the account was created; `sign_in_method` says how it signs in now (linking OIDC or a conversion by an Admin changes it).
Source UserSource `json:"source"`
Status UserStatus `json:"status"`
// TimeZone IANA time zone; null follows the browser.
TimeZone nullable.Nullable[string] `json:"time_zone,omitempty"`
TotpEnabled bool `json:"totp_enabled"`
}
User defines model for User.
type UserCreate ¶
type UserCreate struct {
Email nullable.Nullable[string] `json:"email,omitempty"`
// Login Stored as entered and unique case-insensitively in the Organization (`409` `name_taken` when another user has the same login in any case).
Login string `json:"login"`
Name string `json:"name"`
Role RoleName `json:"role"`
}
UserCreate defines model for UserCreate.
type UserCreated ¶
type UserCreated struct {
// PasswordSetupLink Single-use link the Admin hands over; Muster sends no email. The token is in the URL fragment (`<public url>/password-setup#token=<token>`), so it is not sent to any server until the page posts it.
PasswordSetupLink PasswordSetupLink `json:"password_setup_link"`
User User `json:"user"`
}
UserCreated defines model for UserCreated.
type UserDirectoryList ¶
type UserDirectoryList struct {
Items []UserRef `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
UserDirectoryList defines model for UserDirectoryList.
type UserId ¶
type UserId = PublicId
UserId Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
type UserList ¶
type UserList struct {
Items []User `json:"items"`
NextCursor nullable.Nullable[string] `json:"next_cursor"`
}
UserList defines model for UserList.
type UserRef ¶
type UserRef struct {
// Deactivated The user was deleted; the UI shows "(deactivated)".
Deactivated bool `json:"deactivated"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Login *string `json:"login,omitempty"`
Name string `json:"name"`
}
UserRef A User. Used wherever the person must be a User: the Owner and the previous Owner.
type UserSignInMethod ¶
type UserSignInMethod string
UserSignInMethod How the user signs in now, one way only. `local` with a password (which may still wait for its setup link); `oidc` only through the identity provider, which is then the only source of truth for the account — created through OIDC, or a local account that linked an identity and lost its password.
const ( UserSignInMethodLocal UserSignInMethod = "local" UserSignInMethodOidc UserSignInMethod = "oidc" )
Defines values for UserSignInMethod.
func (UserSignInMethod) Valid ¶
func (e UserSignInMethod) Valid() bool
Valid indicates whether the value is a known member of the UserSignInMethod enum.
type UserSource ¶
type UserSource string
UserSource How the account was created; `sign_in_method` says how it signs in now (linking OIDC or a conversion by an Admin changes it).
const ( UserSourceBootstrap UserSource = "bootstrap" UserSourceLocal UserSource = "local" UserSourceOidc UserSource = "oidc" )
Defines values for UserSource.
func (UserSource) Valid ¶
func (e UserSource) Valid() bool
Valid indicates whether the value is a known member of the UserSource enum.
type UserStatus ¶
type UserStatus string
UserStatus defines model for UserStatus.
const ( UserStatusActive UserStatus = "active" UserStatusDeleted UserStatus = "deleted" UserStatusDisabled UserStatus = "disabled" )
Defines values for UserStatus.
func (UserStatus) Valid ¶
func (e UserStatus) Valid() bool
Valid indicates whether the value is a known member of the UserStatus enum.
type UserUpdate ¶
type UserUpdate struct {
Email nullable.Nullable[string] `json:"email,omitempty"`
Name string `json:"name"`
Role RoleName `json:"role"`
}
UserUpdate defines model for UserUpdate.
type WebhookActor ¶
type WebhookActor struct {
// Id A `public_id` in the format of `PublicId`, or null.
Id nullable.Nullable[NullablePublicId] `json:"id,omitempty"`
Kind ActorKind `json:"kind"`
Login nullable.Nullable[string] `json:"login,omitempty"`
Name nullable.Nullable[string] `json:"name,omitempty"`
// Reason Reason of a `system` transition, for example `timer`, or `owner_disabled` and `owner_deleted` when disabling or deleting a user released their acknowledgement.
Reason nullable.Nullable[string] `json:"reason,omitempty"`
TokenName nullable.Nullable[string] `json:"token_name,omitempty"`
// Transport How a Command or change reached Muster. `cli` marks audited CLI commands (`--actor`); `system` marks transitions Muster starts on its own.
Transport *Transport `json:"transport,omitempty"`
}
WebhookActor defines model for WebhookActor.
type WebhookAlert ¶
type WebhookAlert struct {
// Annotations Label names and values.
Annotations *Labels `json:"annotations,omitempty"`
Fingerprint string `json:"fingerprint"`
GeneratorUrl nullable.Nullable[string] `json:"generator_url,omitempty"`
// Labels Label names and values.
Labels Labels `json:"labels"`
// ResolveReason Why an Alert resolved; null while it fires.
ResolveReason nullable.Nullable[NullableResolveReason] `json:"resolve_reason,omitempty"`
ResolvedAt nullable.Nullable[time.Time] `json:"resolved_at,omitempty"`
StartsAt time.Time `json:"starts_at"`
Status AlertState `json:"status"`
}
WebhookAlert defines model for WebhookAlert.
type WebhookAlertGroup ¶
type WebhookAlertGroup struct {
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Number int `json:"number"`
// Owner Present while acknowledged.
Owner *WebhookUser `json:"owner,omitempty"`
ReopenCount *int `json:"reopen_count,omitempty"`
ResolvedAt nullable.Nullable[time.Time] `json:"resolved_at,omitempty"`
Route EntityRef `json:"route"`
SeverityLevel SeverityLevel `json:"severity_level"`
SnoozeUntil nullable.Nullable[time.Time] `json:"snooze_until,omitempty"`
StartedAt time.Time `json:"started_at"`
Status AlertGroupStatus `json:"status"`
Summary nullable.Nullable[string] `json:"summary,omitempty"`
Title string `json:"title"`
Urgent bool `json:"urgent"`
// Url Link to the Alert Group page at `MUSTER_PUBLIC_URL`.
Url string `json:"url"`
}
WebhookAlertGroup The current state of the Alert Group when the event was recorded.
type WebhookDestination ¶
type WebhookDestination struct {
CreatedAt time.Time `json:"created_at"`
// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. Lets a client update an item of a list without reading it again.
Etag *string `json:"etag,omitempty"`
// Events Required when `mode` is `events` or `both`.
Events *WebhookEventsConfig `json:"events,omitempty"`
Health DestinationHealth `json:"health"`
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
// Mentions Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
Mentions MentionSettings `json:"mentions"`
Mode WebhookDestinationMode `json:"mode"`
Name string `json:"name"`
// Proxy Per-client proxy as read. The password is a Secret.
Proxy ProxyConfig `json:"proxy"`
Routes []EntityRef `json:"routes"`
SigningSecretStatus SigningSecretStatus `json:"signing_secret_status"`
// Template Required when `mode` is `template` or `both`.
Template *WebhookTemplateConfig `json:"template,omitempty"`
TemplateError *TemplateErrorState `json:"template_error,omitempty"`
Type WebhookDestinationType `json:"type"`
Warnings []DestinationWarning `json:"warnings"`
}
WebhookDestination defines model for WebhookDestination.
type WebhookDestinationBase ¶
type WebhookDestinationBase struct {
// Events Required when `mode` is `events` or `both`.
Events *WebhookEventsConfig `json:"events,omitempty"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
// Mentions Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
Mentions MentionSettings `json:"mentions"`
Mode WebhookDestinationBaseMode `json:"mode"`
Name string `json:"name"`
// Template Required when `mode` is `template` or `both`.
Template *WebhookTemplateConfig `json:"template,omitempty"`
Type WebhookDestinationBaseType `json:"type"`
}
WebhookDestinationBase defines model for WebhookDestinationBase.
type WebhookDestinationBaseMode ¶
type WebhookDestinationBaseMode string
WebhookDestinationBaseMode defines model for WebhookDestinationBase.Mode.
const ( WebhookDestinationBaseModeBoth WebhookDestinationBaseMode = "both" WebhookDestinationBaseModeEvents WebhookDestinationBaseMode = "events" WebhookDestinationBaseModeTemplate WebhookDestinationBaseMode = "template" )
Defines values for WebhookDestinationBaseMode.
func (WebhookDestinationBaseMode) Valid ¶
func (e WebhookDestinationBaseMode) Valid() bool
Valid indicates whether the value is a known member of the WebhookDestinationBaseMode enum.
type WebhookDestinationBaseType ¶
type WebhookDestinationBaseType string
WebhookDestinationBaseType defines model for WebhookDestinationBase.Type.
const (
WebhookDestinationBaseTypeWebhook WebhookDestinationBaseType = "webhook"
)
Defines values for WebhookDestinationBaseType.
func (WebhookDestinationBaseType) Valid ¶
func (e WebhookDestinationBaseType) Valid() bool
Valid indicates whether the value is a known member of the WebhookDestinationBaseType enum.
type WebhookDestinationInput ¶
type WebhookDestinationInput struct {
// Events Required when `mode` is `events` or `both`.
Events *WebhookEventsConfig `json:"events,omitempty"`
// Limiter A rate limit of `limit` calls per `per_seconds`.
Limiter Limiter `json:"limiter"`
// Mentions Keyed by the Mention names of Loud events. Reminders and auto-unacknowledge always mention the Owner, Takeovers the previous Owner.
Mentions MentionSettings `json:"mentions"`
Mode WebhookDestinationInputMode `json:"mode"`
Name string `json:"name"`
// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
Proxy ProxyConfigInput `json:"proxy"`
// Template Required when `mode` is `template` or `both`.
Template *WebhookTemplateConfig `json:"template,omitempty"`
Type WebhookDestinationInputType `json:"type"`
}
WebhookDestinationInput defines model for WebhookDestinationInput.
type WebhookDestinationInputMode ¶
type WebhookDestinationInputMode string
WebhookDestinationInputMode defines model for WebhookDestinationInput.Mode.
const ( WebhookDestinationInputModeBoth WebhookDestinationInputMode = "both" WebhookDestinationInputModeEvents WebhookDestinationInputMode = "events" WebhookDestinationInputModeTemplate WebhookDestinationInputMode = "template" )
Defines values for WebhookDestinationInputMode.
func (WebhookDestinationInputMode) Valid ¶
func (e WebhookDestinationInputMode) Valid() bool
Valid indicates whether the value is a known member of the WebhookDestinationInputMode enum.
type WebhookDestinationInputType ¶
type WebhookDestinationInputType string
WebhookDestinationInputType defines model for WebhookDestinationInput.Type.
const (
WebhookDestinationInputTypeWebhook WebhookDestinationInputType = "webhook"
)
Defines values for WebhookDestinationInputType.
func (WebhookDestinationInputType) Valid ¶
func (e WebhookDestinationInputType) Valid() bool
Valid indicates whether the value is a known member of the WebhookDestinationInputType enum.
type WebhookDestinationMode ¶
type WebhookDestinationMode string
WebhookDestinationMode defines model for WebhookDestination.Mode.
const ( WebhookDestinationModeBoth WebhookDestinationMode = "both" WebhookDestinationModeEvents WebhookDestinationMode = "events" WebhookDestinationModeTemplate WebhookDestinationMode = "template" )
Defines values for WebhookDestinationMode.
func (WebhookDestinationMode) Valid ¶
func (e WebhookDestinationMode) Valid() bool
Valid indicates whether the value is a known member of the WebhookDestinationMode enum.
type WebhookDestinationType ¶
type WebhookDestinationType string
WebhookDestinationType defines model for WebhookDestination.Type.
const (
WebhookDestinationTypeWebhook WebhookDestinationType = "webhook"
)
Defines values for WebhookDestinationType.
func (WebhookDestinationType) Valid ¶
func (e WebhookDestinationType) Valid() bool
Valid indicates whether the value is a known member of the WebhookDestinationType enum.
type WebhookEventName ¶
type WebhookEventName string
WebhookEventName One of the lifecycle event names (see `LifecycleEvent`) or `test`, which only a Destination test sends. New names are added within `version` 1; receivers ignore names they do not know.
const ( WebhookEventNameAckTimeout WebhookEventName = "ack_timeout" WebhookEventNameAcknowledged WebhookEventName = "acknowledged" WebhookEventNameAlertContinued WebhookEventName = "alert_continued" WebhookEventNameAlertReplaced WebhookEventName = "alert_replaced" WebhookEventNameAlertResolved WebhookEventName = "alert_resolved" WebhookEventNameAlertsAdded WebhookEventName = "alerts_added" WebhookEventNameAnnotationsChanged WebhookEventName = "annotations_changed" WebhookEventNameAutoUnacknowledged WebhookEventName = "auto_unacknowledged" WebhookEventNameCreated WebhookEventName = "created" WebhookEventNameMovedToDefaultRoute WebhookEventName = "moved_to_default_route" WebhookEventNameNoteAdded WebhookEventName = "note_added" WebhookEventNameNoticesMissed WebhookEventName = "notices_missed" WebhookEventNameReminder WebhookEventName = "reminder" WebhookEventNameReminderAnswered WebhookEventName = "reminder_answered" WebhookEventNameReopened WebhookEventName = "reopened" WebhookEventNameResolved WebhookEventName = "resolved" WebhookEventNameSeverityRaised WebhookEventName = "severity_raised" WebhookEventNameSnoozeEnded WebhookEventName = "snooze_ended" WebhookEventNameSnoozed WebhookEventName = "snoozed" WebhookEventNameTakeover WebhookEventName = "takeover" WebhookEventNameTest WebhookEventName = "test" WebhookEventNameUnacknowledged WebhookEventName = "unacknowledged" WebhookEventNameUnclaimed WebhookEventName = "unclaimed" WebhookEventNameUnresolved WebhookEventName = "unresolved" WebhookEventNameUnsnoozed WebhookEventName = "unsnoozed" WebhookEventNameUrgencyRaised WebhookEventName = "urgency_raised" )
Defines values for WebhookEventName.
func (WebhookEventName) Valid ¶
func (e WebhookEventName) Valid() bool
Valid indicates whether the value is a known member of the WebhookEventName enum.
type WebhookEventsConfig ¶
type WebhookEventsConfig struct {
Headers []HeaderTemplate `json:"headers"`
// Url Go template that may use Secrets.
Url string `json:"url"`
}
WebhookEventsConfig defines model for WebhookEventsConfig.
type WebhookMentionTarget ¶
type WebhookMentionTarget struct {
// Id A `public_id` in the format of `PublicId`, or null.
Id nullable.Nullable[NullablePublicId] `json:"id,omitempty"`
Login nullable.Nullable[string] `json:"login,omitempty"`
Name nullable.Nullable[string] `json:"name,omitempty"`
Type WebhookMentionTargetType `json:"type"`
}
WebhookMentionTarget A resolved Mention as data. `everyone` has no other fields, `group` has `name`, `user` has `id`, `name` and `login`.
type WebhookMentionTargetType ¶
type WebhookMentionTargetType string
WebhookMentionTargetType defines model for WebhookMentionTarget.Type.
const ( WebhookMentionTargetTypeEveryone WebhookMentionTargetType = "everyone" WebhookMentionTargetTypeGroup WebhookMentionTargetType = "group" WebhookMentionTargetTypeUser WebhookMentionTargetType = "user" )
Defines values for WebhookMentionTargetType.
func (WebhookMentionTargetType) Valid ¶
func (e WebhookMentionTargetType) Valid() bool
Valid indicates whether the value is a known member of the WebhookMentionTargetType enum.
type WebhookReceiverInterface ¶
type WebhookReceiverInterface interface {
// Events-mode request to an outgoing webhook Destination
// HandleDeliverAlertGroupEventWebhook handles the POST webhook for alertGroupEvent.
HandleDeliverAlertGroupEventWebhook(w http.ResponseWriter, r *http.Request, params DeliverAlertGroupEventParams)
}
WebhookReceiverInterface represents handlers for receiving inbound webhook requests. Each webhook becomes a Handle*Webhook method that the implementation fills in. The caller mounts the per- webhook http.Handler returned by {Op}WebhookHandler at whatever URL path they advertise to senders.
type WebhookReceiverMiddlewareFunc ¶
WebhookReceiverMiddlewareFunc wraps an http.Handler with cross- cutting behavior (signature verification, logging, rate limiting, ...).
type WebhookTemplateConfig ¶
type WebhookTemplateConfig struct {
Create RequestTemplate `json:"create"`
// OpenThread Runs once before the first Thread reply.
OpenThread *RequestTemplate `json:"open_thread,omitempty"`
// ReplyInThread Carries the events whose messenger form is a Thread reply.
ReplyInThread *RequestTemplate `json:"reply_in_thread,omitempty"`
Update RequestTemplate `json:"update"`
}
WebhookTemplateConfig defines model for WebhookTemplateConfig.
type WebhookUser ¶
type WebhookUser struct {
// Id Opaque public identifier (`public_id`): a type prefix of one or two letters followed by 12 random characters of Crockford base32 (`0`–`9` and `A`–`Z` without `I`, `L`, `O` and `U`; 60 bits), such as `AGK7M3QX9P2RTA` for an Alert Group. Prefixes use the same letters and differ per type: `AG` Alert Group, `AE` Audit log entry, `AK` Account link, `AR` Account link request, `CN` Connection, `DE` delivery event, `DS` Destination, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RT` Route, `SA` Service account, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry. Responses always carry the canonical upper-case form. Input is case-insensitive and normalized before lookup — `O` reads as `0`, `I` and `L` as `1` — so the pattern also admits lower case and those letters. People refer to Alert Groups by `#N`, never by `public_id`.
Id PublicId `json:"id"`
Login string `json:"login"`
Name string `json:"name"`
}
WebhookUser defines model for WebhookUser.