gen

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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 AcceptRouteSuggestion201ResponseHeaders

type AcceptRouteSuggestion201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse

type AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse

func (response AcceptRouteSuggestion400ApplicationProblemPlusJSONResponse) VisitAcceptRouteSuggestionResponse(w http.ResponseWriter) error

type AcceptRouteSuggestion401ApplicationProblemPlusJSONResponse

type AcceptRouteSuggestion401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 struct {
	// Connection The Connection the link was made through; Mattermost, Bridge and Slack links belong to it.
	Connection *EntityRef `json:"connection,omitempty"`
	CreatedAt  time.Time  `json:"created_at"`

	// DisplayName Set on Bridge and Slack links; the account's name as the bridge reported it, which a Bridge's Mentions and footers show, or a Slack account's `profile.display_name`, else `profile.real_name`, which names the account where Muster shows the link (Slack Mentions and footers write `<@external_id>`).
	DisplayName *string `json:"display_name,omitempty"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 The account's username; for a Bridge link, the handle the bridge reported; for a Slack link, the account's `name`.
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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.

const (
	ActorKindServiceAccount ActorKind = "service_account"
	ActorKindSystem         ActorKind = "system"
	ActorKindUser           ActorKind = "user"
)

Defines values for ActorKind.

func (ActorKind) Valid

func (e ActorKind) Valid() bool

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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, or is a row of the statistics by people: a User or a Service account. An Owner is always a User (`UserRef`), because a Service account cannot become an Owner; a Service account is a row of the statistics by people only through what it resolved.

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 AddTeamUser200JSONResponse

type AddTeamUser200JSONResponse TeamUser

func (AddTeamUser200JSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser200JSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUser201JSONResponse

type AddTeamUser201JSONResponse struct {
	Body    TeamUser
	Headers AddTeamUser201ResponseHeaders
}

func (AddTeamUser201JSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser201JSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUser201ResponseHeaders

type AddTeamUser201ResponseHeaders struct {
	Location *string
}

type AddTeamUser400ApplicationProblemPlusJSONResponse

type AddTeamUser400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (AddTeamUser400ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser400ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUser401ApplicationProblemPlusJSONResponse

type AddTeamUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (AddTeamUser401ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser401ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUser403ApplicationProblemPlusJSONResponse

type AddTeamUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (AddTeamUser403ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser403ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUser404ApplicationProblemPlusJSONResponse

type AddTeamUser404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (AddTeamUser404ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser404ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUser422ApplicationProblemPlusJSONResponse

type AddTeamUser422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (AddTeamUser422ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser422ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUser429ApplicationProblemPlusJSONResponse

type AddTeamUser429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (AddTeamUser429ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse

func (response AddTeamUser429ApplicationProblemPlusJSONResponse) VisitAddTeamUserResponse(w http.ResponseWriter) error

type AddTeamUserJSONRequestBody

type AddTeamUserJSONRequestBody = TeamUserAdd

AddTeamUserJSONRequestBody defines body for AddTeamUser for application/json ContentType.

type AddTeamUserRequestObject

type AddTeamUserRequestObject struct {
	TeamId TeamId `json:"team_id"`
	Body   *AddTeamUserJSONRequestBody
}

type AddTeamUserResponseObject

type AddTeamUserResponseObject interface {
	VisitAddTeamUserResponse(w http.ResponseWriter) error
}

type AgAssignee

type AgAssignee = string

AgAssignee defines model for AgAssignee.

type AgDeliveryProblem

type AgDeliveryProblem = bool

AgDeliveryProblem defines model for AgDeliveryProblem.

type AgFirstAcknowledgedBy

type AgFirstAcknowledgedBy = string

AgFirstAcknowledgedBy defines model for AgFirstAcknowledgedBy.

type AgIntegration

type AgIntegration = []string

AgIntegration defines model for AgIntegration.

type AgLabelColumns

type AgLabelColumns = []string

AgLabelColumns defines model for AgLabelColumns.

type AgNumber

type AgNumber = int

AgNumber defines model for AgNumber.

type AgOwner

type AgOwner = string

AgOwner defines model for AgOwner.

type AgQuery

type AgQuery = string

AgQuery defines model for AgQuery.

type AgReopened

type AgReopened = bool

AgReopened defines model for AgReopened.

type AgResolveReason

type AgResolveReason = ResolveReason

AgResolveReason Why an Alert resolved.

type AgResolvedBy

type AgResolvedBy = ResolverKind

AgResolvedBy Who resolved an Alert Group: a person or the system.

type AgRoute

type AgRoute = []string

AgRoute defines model for AgRoute.

type AgSeverity

type AgSeverity = []SeverityLevel

AgSeverity defines model for AgSeverity.

type AgSnoozedNoEnd

type AgSnoozedNoEnd = bool

AgSnoozedNoEnd defines model for AgSnoozedNoEnd.

type AgSort

type AgSort string

AgSort defines model for AgSort.

const (
	AgSortLastChangedAt      AgSort = "last_changed_at"
	AgSortMinusLastChangedAt AgSort = "-last_changed_at"
	AgSortMinusStartedAt     AgSort = "-started_at"
	AgSortStartedAt          AgSort = "started_at"
)

Defines values for AgSort.

func (AgSort) Valid

func (e AgSort) Valid() bool

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

type AgStatus

type AgStatus = []AlertGroupStatus

AgStatus defines model for AgStatus.

type AgTeam

type AgTeam = string

AgTeam defines model for AgTeam.

type AgUnclaimed

type AgUnclaimed = bool

AgUnclaimed defines model for AgUnclaimed.

type AgUrgent

type AgUrgent = bool

AgUrgent defines model for AgUrgent.

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"`

	// Assignees The Assignees of the Alert Group (C-32.FR-12): for each chain started on it, running or run out, the people its latest step Paging people by name reached, each with the owning Team of the chain; in the order they became Assignees, by chain. Empty before the chains reach anyone and once acknowledged, snoozed or resolved. Changes arrive as the `alert-group` hint.
	Assignees []Assignee `json:"assignees"`

	// 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, Timeline and delivery state were removed by retention; only the summary row and its Notes remain.
	DetailsRemoved *bool `json:"details_removed,omitempty"`

	// EscalationChains The runs of the Escalation chains of the Alert Group since they last started (C-32.FR-18): one per chain, in the order they started, empty before its chains first started or where none applies. A run stays here, `ran_out` or `stopped`, until the chains start over. Changes arrive as the `alert-group` hint.
	EscalationChains []AlertGroupChain `json:"escalation_chains"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 The highest Severity level of the firing Alerts, raised to the Route's Minimum severity (`minimum_severity`); each Alert keeps its own level.
	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"`

	// Teams The Teams of the Alert Group (C-25.FR-6), those of every Alert that ever joined it, in the order they joined; they only grow.
	Teams     []AlertGroupTeam `json:"teams"`
	Title     string           `json:"title"`
	Unclaimed bool             `json:"unclaimed"`

	// Urgent True exactly when `severity_level` is `critical`.
	Urgent bool `json:"urgent"`
}

AlertGroup defines model for AlertGroup.

type AlertGroupActorStatistics

type AlertGroupActorStatistics struct {
	From  time.Time                       `json:"from"`
	Items []AlertGroupActorStatisticsItem `json:"items"`
	To    time.Time                       `json:"to"`
}

AlertGroupActorStatistics defines model for AlertGroupActorStatistics.

type AlertGroupActorStatisticsItem

type AlertGroupActorStatisticsItem struct {
	// AcknowledgedFirstCount The Alert Groups whose first acknowledgement the actor made; 0 for a Service account.
	AcknowledgedFirstCount int `json:"acknowledged_first_count"`

	// Actor The User or Service account; null for the item of the Alert Groups whose first acknowledgement names nobody ("Unknown").
	Actor nullable.Nullable[ActorRef] `json:"actor"`

	// ResolvedCount The Alert Groups the actor resolved, by their resolver; 0 for the item with `actor` null.
	ResolvedCount int `json:"resolved_count"`

	// TimeToAcknowledge From the start of each Alert Group to its first acknowledgement, over the Alert Groups the actor acknowledged first; its `count` is `acknowledged_first_count`.
	TimeToAcknowledge DurationStats `json:"time_to_acknowledge"`
}

AlertGroupActorStatisticsItem defines model for AlertGroupActorStatisticsItem.

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"`

	// Teams The Teams the Alert belongs to, decided when it last started firing (C-25.FR-5).
	Teams []TeamMembership `json:"teams"`
}

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 AlertGroupChain

type AlertGroupChain struct {
	// Chain The chain, null once it was deleted.
	Chain nullable.Nullable[EscalationChainRef] `json:"chain"`

	// ChainName The name of the chain when the run started.
	ChainName string `json:"chain_name"`

	// NextStepAt When the next step is due, on the business clock; null once it ran out or stopped.
	NextStepAt nullable.Nullable[time.Time] `json:"next_step_at"`

	// RunId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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`.
	RunId PublicId `json:"run_id"`

	// Sources What named the chain on the Alert Group, one run however many name it (P-70).
	Sources   []EscalationRunSource `json:"sources"`
	StartedAt time.Time             `json:"started_at"`

	// State The state of a run: `running`, `ran_out` once it passed its last step without an acknowledgement, `stopped` by Acknowledge, Snooze or Resolve.
	State EscalationRunState `json:"state"`

	// Step The step the run is at while it runs — a wait it waits out, or the step due next — and null once it ran out or stopped.
	Step nullable.Nullable[EscalationStepPosition] `json:"step"`
}

AlertGroupChain A run of an Escalation chain on an Alert Group, of the current start of its chains.

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"`

	// Entries The entries that reached the Destination, the Route's first; empty for a delivery made before 0.2.0 until the Alert Group's next change.
	Entries []DeliveryEntry `json:"entries"`

	// 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"`

	// PastEditWindow The Root message is past its bridge's edit window (C-22.FR-9) while the delivery is pending or delivered. Muster no longer edits it and posts a new Root message on the next change of status. Always false for other Destination types.
	PastEditWindow    bool `json:"past_edit_window"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"
	AlertGroupStatisticsGroupByTeam        AlertGroupStatisticsGroupBy = "team"
)

Defines values for AlertGroupStatisticsGroupBy.

func (AlertGroupStatisticsGroupBy) Valid

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 AlertGroupTeam

type AlertGroupTeam struct {
	JoinedAt time.Time `json:"joined_at"`

	// Matcher The Team matcher that picked the Alert, in the Alertmanager syntax, for the rule `matcher`.
	Matcher nullable.Nullable[string] `json:"matcher"`

	// Rule How an Alert belongs to a Team (C-25.FR-5) — by the value of the Team label, equal to the Team's slug, or by one of its Team matchers.
	Rule TeamRule `json:"rule"`

	// Team The Team an object names, with its slug; `deleted` is true for a Team that was deleted since.
	Team TeamRef `json:"team"`
}

AlertGroupTeam A Team of an Alert Group (C-25.FR-6), with the rule of the first Alert that brought it and when it joined; a Team deleted since keeps its name, with `deleted` true.

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. Grafana does not send it, and its repeats are learned from identical Snapshots.
	NotificationReason *string `json:"notification_reason,omitempty"`

	// OrgId The id of the Grafana organization. Only Grafana's webhook contact point sends it, and a Snapshot whose `orgId` is present and not null is a Snapshot from Grafana. Grafana computes `status` from the alerts it lists, so a truncated Snapshot from Grafana with `status: resolved` resolves only the Alerts it lists as resolved, and the Alerts it leaves out stay firing; an untruncated one, like Alertmanager's, resolves its whole Alertmanager group.
	OrgId    *int       `json:"orgId,omitempty"`
	Receiver *string    `json:"receiver,omitempty"`
	Status   AlertState `json:"status"`

	// TruncatedAlerts Number of alerts left out because of Alertmanager's `max_alerts`, or because of Max alerts of Grafana's webhook contact point.
	TruncatedAlerts *int `json:"truncatedAlerts,omitempty"`

	// Version `"4"` from Alertmanager, `"1"` from Grafana's webhook contact point. Not read.
	Version              *string                `json:"version,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AlertmanagerWebhook Alertmanager webhook payload, a Snapshot, as Muster expects to read it during processing: the payload of Alertmanager (version 4), and the payload of the webhook contact point of Grafana Alerting (version `"1"`), whose built-in Alertmanager sends the same format with additions. Fields this schema does not name are ignored, Grafana's `title`, `message`, `state` and `appVersion` and its per-alert fields included. 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 Assignee

type Assignee struct {
	// Chain The chain, null once it was deleted.
	Chain nullable.Nullable[EscalationChainRef] `json:"chain"`

	// Since When the person became an Assignee of the chain, on the business clock.
	Since time.Time `json:"since"`

	// Team The owning Team of the chain when its run started; null when none owns it.
	Team nullable.Nullable[TeamRef] `json:"team"`

	// User A User. Used wherever the person must be a User: the Owner and the previous Owner.
	User UserRef `json:"user"`
}

Assignee A person the Escalation chain `chain` Paged last and reached (C-32.FR-12), with the owning Team of the chain, since when.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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. `bridge` marks presses and Text commands through a Bridge Connection; `slack` marks presses through a Slack Connection; `gateway` marks an Acknowledge from a call through a Notification gateway; `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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 BridgeAccountLinkEvent

type BridgeAccountLinkEvent struct {
	// Id Stable across retries and polls; Muster handles each id of a Connection once. Printable ASCII without spaces, so that it can travel as the `webhook-id` header.
	Id string `json:"id"`

	// OccurredAt When it happened in the messenger, or when the bridge learned of it.
	OccurredAt time.Time   `json:"occurred_at"`
	Token      string      `json:"token"`
	Type       interface{} `json:"type"`

	// User A messenger account as a bridge names it, a copy of the schema `Person` of the Bridge protocol.
	User BridgePerson `json:"user"`
}

BridgeAccountLinkEvent defines model for BridgeAccountLinkEvent.

type BridgeButtonStyle

type BridgeButtonStyle string

BridgeButtonStyle A hint; the bridge maps it to the closest style its messenger has, or shows a plain button.

const (
	Danger  BridgeButtonStyle = "danger"
	Neutral BridgeButtonStyle = "neutral"
	Primary BridgeButtonStyle = "primary"
	Success BridgeButtonStyle = "success"
)

Defines values for BridgeButtonStyle.

func (BridgeButtonStyle) Valid

func (e BridgeButtonStyle) Valid() bool

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

type BridgeCapabilities

type BridgeCapabilities struct {
	// Buttons The bridge shows buttons and reports presses on them.
	Buttons *struct {
		DataMaxBytes int `json:"data_max_bytes"`

		// MaxPerMessage Muster sends at most this many, dropping Snooze buttons first: the Snooze presets, then the durations from the longest.
		MaxPerMessage int `json:"max_per_message"`
		MaxPerRow     int `json:"max_per_row"`

		// Styles The style hints the messenger can show as such; the bridge maps the others to the closest one, or shows a plain button.
		Styles []BridgeButtonStyle `json:"styles"`
	} `json:"buttons,omitempty"`

	// Delete The bot can delete its own messages (unused by Muster L1).
	Delete *struct {
		MaxAgeSeconds nullable.Nullable[int] `json:"max_age_seconds"`
	} `json:"delete,omitempty"`

	// DeletionEvents The bridge reports `message_deleted` when a message of the bot is deleted in the messenger.
	DeletionEvents *bool `json:"deletion_events,omitempty"`

	// DirectMessages The bot can send direct messages, which Account links by code need.
	DirectMessages *struct {
		// BotCanStart Whether the bot can write to a person who never wrote to it.
		BotCanStart bool `json:"bot_can_start"`
	} `json:"direct_messages,omitempty"`

	// EveryoneMentions The mentions of everyone in the chat that the bridge's messenger has, by their symbolic names.
	EveryoneMentions *[]BridgeCapabilitiesEveryoneMentions `json:"everyone_mentions,omitempty"`

	// GroupMentions The bridge renders a group mention that Muster sends as a `mentions` entry of the kind `group`; the Team mentions and group entries of a Destination need it.
	GroupMentions *bool `json:"group_mentions,omitempty"`

	// NativeMentions Mention markers become the messenger's own mentions, which notify the person.
	NativeMentions *bool `json:"native_mentions,omitempty"`

	// PrivateAnswers How the bridge can show an answer to one person only: an ephemeral message, a pop-up (short plain text), or both.
	PrivateAnswers *[]BridgeCapabilitiesPrivateAnswers `json:"private_answers,omitempty"`

	// QuietMessages The messenger can post a new message without notifying anyone (`notify` false).
	QuietMessages *bool `json:"quiet_messages,omitempty"`

	// StatusColor The messenger can colour a message by `color`; otherwise the bridge shows `emoji`.
	StatusColor *bool `json:"status_color,omitempty"`

	// ThreadMessages The bridge reports people's messages in Threads of the bot's messages — every one, or only those that mention the bot. Text commands need it.
	ThreadMessages *BridgeCapabilitiesThreadMessages `json:"thread_messages,omitempty"`
}

BridgeCapabilities The optional features of the bridge. A missing member means the feature is not offered.

type BridgeCapabilitiesEveryoneMentions

type BridgeCapabilitiesEveryoneMentions string

BridgeCapabilitiesEveryoneMentions defines model for BridgeCapabilities.EveryoneMentions.

const (
	BridgeCapabilitiesEveryoneMentionsAll      BridgeCapabilitiesEveryoneMentions = "all"
	BridgeCapabilitiesEveryoneMentionsChannel  BridgeCapabilitiesEveryoneMentions = "channel"
	BridgeCapabilitiesEveryoneMentionsEveryone BridgeCapabilitiesEveryoneMentions = "everyone"
	BridgeCapabilitiesEveryoneMentionsHere     BridgeCapabilitiesEveryoneMentions = "here"
)

Defines values for BridgeCapabilitiesEveryoneMentions.

func (BridgeCapabilitiesEveryoneMentions) Valid

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

type BridgeCapabilitiesPrivateAnswers

type BridgeCapabilitiesPrivateAnswers string

BridgeCapabilitiesPrivateAnswers defines model for BridgeCapabilities.PrivateAnswers.

const (
	Ephemeral BridgeCapabilitiesPrivateAnswers = "ephemeral"
	Popup     BridgeCapabilitiesPrivateAnswers = "popup"
)

Defines values for BridgeCapabilitiesPrivateAnswers.

func (BridgeCapabilitiesPrivateAnswers) Valid

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

type BridgeCapabilitiesThreadMessages

type BridgeCapabilitiesThreadMessages string

BridgeCapabilitiesThreadMessages The bridge reports people's messages in Threads of the bot's messages — every one, or only those that mention the bot. Text commands need it.

const (
	BridgeCapabilitiesThreadMessagesAll          BridgeCapabilitiesThreadMessages = "all"
	BridgeCapabilitiesThreadMessagesMentionsOnly BridgeCapabilitiesThreadMessages = "mentions_only"
)

Defines values for BridgeCapabilitiesThreadMessages.

func (BridgeCapabilitiesThreadMessages) Valid

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

type BridgeCodeLinkRequest

type BridgeCodeLinkRequest 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Handle The handle of the account to link, of the kind the Connection's `handle_kind` names.
	Handle string `json:"handle"`
}

BridgeCodeLinkRequest defines model for BridgeCodeLinkRequest.

type BridgeCodeLinkStarted

type BridgeCodeLinkStarted 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
}

BridgeCodeLinkStarted defines model for BridgeCodeLinkStarted.

type BridgeConnection

type BridgeConnection struct {
	// BaseUrl Absolute http(s) URL of the bridge without query, fragment or user information; a path prefix is allowed and a trailing `/` is dropped. Requests go to `<base>/v1/…` with the token as `Authorization: Bearer`, only to this address.
	BaseUrl string `json:"base_url"`

	// BotTokenStatus What a read shows instead of a Secret. The value itself is never returned.
	BotTokenStatus SecretStatus `json:"bot_token_status"`

	// CallbackUrl `bridgeEvent` at `MUSTER_INGEST_URL` (`<MUSTER_INGEST_URL>/api/v1/callbacks/bridge/<id>`), where a bridge in push mode posts events signed with the push secret.
	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"`

	// EventDelivery How a Bridge Connection receives events (`connection.bridge.event_delivery`): `poll` — Muster polls the bridge from the Leader; `push` — the bridge posts each event to the Connection's `callback_url`, signed with the push secret.
	EventDelivery BridgeEventDelivery `json:"event_delivery"`

	// Gateway The state of the Connection as a Notification gateway (C-30.FR-8), kept apart from the health of its Destinations; null when it is not one, neither declaring the role `gateway` in its stored `info` nor Broken.
	Gateway nullable.Nullable[GatewayState] `json:"gateway,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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Info The last `info` a Connection check read, with the members of `BridgeInfo`; Muster stores the whole answer, and members this version does not know are not returned. Null before the first check and after the base URL or the token changed.
	Info nullable.Nullable[BridgeInfo] `json:"info,omitempty"`

	// InfoReadAt When Muster read `info`; null while `info` is null.
	InfoReadAt nullable.Nullable[time.Time] `json:"info_read_at,omitempty"`

	// Limiter A rate limit of `limit` calls per `per_seconds`.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// Proxy Per-client proxy as read. The password is a Secret.
	Proxy ProxyConfig `json:"proxy"`

	// PushSecretStatus What a read shows instead of a Secret. The value itself is never returned.
	PushSecretStatus SecretStatus `json:"push_secret_status"`

	// Roles The roles of the bridge from the stored `info`, `["messenger"]` while `info` is null or declares none. A Connection whose only role is `gateway` is a Notification gateway and cannot be a Destination.
	Roles *[]BridgeInfoRole    `json:"roles,omitempty"`
	Type  BridgeConnectionType `json:"type"`

	// Warnings Problems of the saved settings that do not stop the Connection. `push_secret_too_short` (`push`): the stored push secret has a key shorter than 24 bytes, saved before Muster refused one; the push callback still accepts events signed with it, and saving a new `push_secret` of 24 bytes or more ends the warning.
	Warnings []BridgeConnectionWarnings `json:"warnings"`
}

BridgeConnection defines model for BridgeConnection.

type BridgeConnectionBase

type BridgeConnectionBase struct {
	// BaseUrl Absolute http(s) URL of the bridge without query, fragment or user information; a path prefix is allowed and a trailing `/` is dropped. Requests go to `<base>/v1/…` with the token as `Authorization: Bearer`, only to this address.
	BaseUrl string `json:"base_url"`

	// EventDelivery How a Bridge Connection receives events (`connection.bridge.event_delivery`): `poll` — Muster polls the bridge from the Leader; `push` — the bridge posts each event to the Connection's `callback_url`, signed with the push secret.
	EventDelivery BridgeEventDelivery `json:"event_delivery"`

	// Limiter A rate limit of `limit` calls per `per_seconds`.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`
	Type      BridgeConnectionBaseType  `json:"type"`
}

BridgeConnectionBase defines model for BridgeConnectionBase.

type BridgeConnectionBaseType

type BridgeConnectionBaseType string

BridgeConnectionBaseType defines model for BridgeConnectionBase.Type.

const (
	BridgeConnectionBaseTypeBridge BridgeConnectionBaseType = "bridge"
)

Defines values for BridgeConnectionBaseType.

func (BridgeConnectionBaseType) Valid

func (e BridgeConnectionBaseType) Valid() bool

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

type BridgeConnectionDraft

type BridgeConnectionDraft struct {
	// BaseUrl The bridge's base URL as `BridgeConnectionBase` takes it.
	BaseUrl string `json:"base_url"`

	// BotToken A token typed in the form, sent only to `base_url`. Omit it to use the stored token of `connection_id`, which goes only to its saved base URL through its saved proxy.
	BotToken *string `json:"bot_token,omitempty"`

	// ConnectionId The saved Bridge Connection that the form edits; omit it for a new one. An omitted `proxy` is its saved proxy, and no proxy without it.
	ConnectionId *PublicId `json:"connection_id,omitempty"`

	// EventDelivery How a Bridge Connection receives events (`connection.bridge.event_delivery`): `poll` — Muster polls the bridge from the Leader; `push` — the bridge posts each event to the Connection's `callback_url`, signed with the push secret.
	EventDelivery BridgeEventDelivery `json:"event_delivery"`

	// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
	Proxy *ProxyConfigInput         `json:"proxy,omitempty"`
	Type  BridgeConnectionDraftType `json:"type"`
}

BridgeConnectionDraft A Bridge Connection as its form holds it, for `checkConnectionDraft`; the push secret is not checked.

type BridgeConnectionDraftType

type BridgeConnectionDraftType string

BridgeConnectionDraftType defines model for BridgeConnectionDraft.Type.

const (
	BridgeConnectionDraftTypeBridge BridgeConnectionDraftType = "bridge"
)

Defines values for BridgeConnectionDraftType.

func (BridgeConnectionDraftType) Valid

func (e BridgeConnectionDraftType) Valid() bool

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

type BridgeConnectionInput

type BridgeConnectionInput struct {
	// BaseUrl Absolute http(s) URL of the bridge without query, fragment or user information; a path prefix is allowed and a trailing `/` is dropped. Requests go to `<base>/v1/…` with the token as `Authorization: Bearer`, only to this address.
	BaseUrl string `json:"base_url"`

	// BotToken Write-only Secret. Omit on update to keep the stored one; a new `base_url` needs it again.
	BotToken *string `json:"bot_token,omitempty"`

	// EventDelivery How a Bridge Connection receives events (`connection.bridge.event_delivery`): `poll` — Muster polls the bridge from the Leader; `push` — the bridge posts each event to the Connection's `callback_url`, signed with the push secret.
	EventDelivery BridgeEventDelivery `json:"event_delivery"`

	// Limiter A rate limit of `limit` calls per `per_seconds`.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
	Proxy ProxyConfigInput `json:"proxy"`

	// PushSecret Write-only Secret in the Standard Webhooks form, `whsec_` and the base64 of a key of at least 24 bytes, such as 32 random bytes; a shorter key is `invalid_format`. Required with `event_delivery` `push`. Omit on update to keep the stored one, even one shorter than 24 bytes saved before that minimum, which `warnings` reports; a save in `poll` clears it.
	PushSecret *string                   `json:"push_secret,omitempty"`
	Type       BridgeConnectionInputType `json:"type"`
}

BridgeConnectionInput defines model for BridgeConnectionInput.

type BridgeConnectionInputType

type BridgeConnectionInputType string

BridgeConnectionInputType defines model for BridgeConnectionInput.Type.

const (
	BridgeConnectionInputTypeBridge BridgeConnectionInputType = "bridge"
)

Defines values for BridgeConnectionInputType.

func (BridgeConnectionInputType) Valid

func (e BridgeConnectionInputType) Valid() bool

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

type BridgeConnectionType

type BridgeConnectionType string

BridgeConnectionType defines model for BridgeConnection.Type.

const (
	BridgeConnectionTypeBridge BridgeConnectionType = "bridge"
)

Defines values for BridgeConnectionType.

func (BridgeConnectionType) Valid

func (e BridgeConnectionType) Valid() bool

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

type BridgeConnectionWarnings

type BridgeConnectionWarnings string

BridgeConnectionWarnings defines model for BridgeConnection.Warnings.

const (
	PushSecretTooShort BridgeConnectionWarnings = "push_secret_too_short"
)

Defines values for BridgeConnectionWarnings.

func (BridgeConnectionWarnings) Valid

func (e BridgeConnectionWarnings) Valid() bool

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

type BridgeDestination

type BridgeDestination struct {
	// Buttons A Destination's button set, `destination.buttons` (C-28.FR-8): `organization`, "As in the Organization", the default, follows the Organization's set and its later changes; `own` shows only `items`, which are then required. A change re-renders the Destination's open Root messages, as edits.
	Buttons DestinationButtonSet `json:"buttons"`

	// ChannelId The channel as its messenger names it, an opaque string of up to 512 characters; surrounding white space is trimmed.
	ChannelId string `json:"channel_id"`

	// ChannelName The channel's name as the bridge's `checkChannel` answered it when the Destination was last saved. Untrusted text from the bridge.
	ChannelName nullable.Nullable[string] `json:"channel_name,omitempty"`

	// ConnectionId A Bridge Connection.
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 `destination.bridge.limiter`: the form proposes 30 requests per minute, sends and edits together, or half of the Connection's `info.limits.send_per_second_per_channel` when its info has it.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries in order, each with what it mentions now.
	MentionEntries []MentionEntry `json:"mention_entries"`

	// MentionWarnings The people and entries whose Mentions were not delivered (C-28.FR-3), by entry and then by the person's name; always empty on an outgoing webhook, which takes every person as data.
	MentionWarnings []MentionWarning `json:"mention_warnings"`

	// Mentions The L1 form of the Mention entries that L1 can express on the Destination's type (C-28.FR-5), removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions MentionSettings `json:"mentions"`
	Name     string          `json:"name"`

	// OwningTeam The Team that owns the Destination, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Routes       []EntityRef                         `json:"routes"`

	// Teams The Teams that name the Destination as a Destination of the Team, by name.
	Teams         []TeamRef             `json:"teams"`
	TemplateError *TemplateErrorState   `json:"template_error,omitempty"`
	Type          BridgeDestinationType `json:"type"`
}

BridgeDestination defines model for BridgeDestination.

type BridgeDestinationInput

type BridgeDestinationInput struct {
	// Buttons The Destination's button set (C-28.FR-8, FR-10); omitted on create is `organization`, omitted on an update keeps it.
	Buttons *DestinationButtonSet `json:"buttons,omitempty"`

	// ChannelId The channel as its messenger names it, an opaque string of up to 512 characters; surrounding white space is trimmed.
	ChannelId string `json:"channel_id"`

	// ConnectionId A Bridge Connection.
	ConnectionId PublicId `json:"connection_id"`

	// Limiter `destination.bridge.limiter`: the form proposes 30 requests per minute, sends and edits together, or half of the Connection's `info.limits.send_per_second_per_channel` when its info has it.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries (C-28.FR-1, FR-2), in order, each a target and the Loud events it applies to; omitted on create is none, which mentions nobody, and omitted on an update keeps them. A target the Destination's Connection cannot mention is refused with `422` `mention_unsupported` at `/mention_entries/{i}/target` — a Bridge takes the words of everyone its bridge declares in `everyone_mentions`, groups and Teams only when it declares `group_mentions`, and any person — and an entry whose target equals a stored one is kept whatever the Connection can mention now. An unknown or deleted User or Team is refused with `unknown_id` at its `user_id` or `team_id` unless the entry's target equals a stored one, and a target listed twice with `duplicate` at `/mention_entries/{i}/target`.
	MentionEntries *[]MentionEntryInput `json:"mention_entries,omitempty"`

	// Mentions The Mention settings of L1 (C-12.FR-8), deprecated since 0.2.0 and removed in 0.3.0 (C-28.FR-5). In a read, computed from the `mention_entries` that L1 can express on the Destination's type — the everyone choices, chosen Users and messenger groups L1 took there, for the six kinds of L1 — so that the other entries are not seen in it. In a request it is optional: when a request has no `mention_entries`, it sets them by the conversion of the 0.2.0 migration — on create they are its result; on update it replaces the entries that L1 can express, keeps the others after them, keeps the `storm_started` of a target present before and after, and changes nothing when it equals the stored form — validated as L1 validated it, at pointers under `/mentions`; ignored when `mention_entries` is present.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions *MentionSettings `json:"mentions,omitempty"`
	Name     string           `json:"name"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Type         BridgeDestinationInputType          `json:"type"`
}

BridgeDestinationInput A Bridge Destination (C-22.FR-3) is a channel of the bridge's messenger, named by its id. Saving it runs the bridge's `checkChannel`, which posts nothing, and keeps the channel's name the bridge answers.

type BridgeDestinationInputType

type BridgeDestinationInputType string

BridgeDestinationInputType defines model for BridgeDestinationInput.Type.

const (
	BridgeDestinationInputTypeBridge BridgeDestinationInputType = "bridge"
)

Defines values for BridgeDestinationInputType.

func (BridgeDestinationInputType) Valid

func (e BridgeDestinationInputType) Valid() bool

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

type BridgeDestinationType

type BridgeDestinationType string

BridgeDestinationType defines model for BridgeDestination.Type.

const (
	BridgeDestinationTypeBridge BridgeDestinationType = "bridge"
)

Defines values for BridgeDestinationType.

func (BridgeDestinationType) Valid

func (e BridgeDestinationType) Valid() bool

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

type BridgeEvent

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

BridgeEvent An event of a bridge, pushed by `bridgeEvent`; a copy of the schema `Event` of the Bridge protocol (`api/bridge.yaml`). `type` selects the variant.

func (BridgeEvent) AsBridgeAccountLinkEvent

func (t BridgeEvent) AsBridgeAccountLinkEvent() (BridgeAccountLinkEvent, error)

AsBridgeAccountLinkEvent returns the union data inside the BridgeEvent as a BridgeAccountLinkEvent

func (BridgeEvent) AsBridgeMessageDeletedEvent

func (t BridgeEvent) AsBridgeMessageDeletedEvent() (BridgeMessageDeletedEvent, error)

AsBridgeMessageDeletedEvent returns the union data inside the BridgeEvent as a BridgeMessageDeletedEvent

func (BridgeEvent) AsBridgeNotificationAcknowledgedEvent

func (t BridgeEvent) AsBridgeNotificationAcknowledgedEvent() (BridgeNotificationAcknowledgedEvent, error)

AsBridgeNotificationAcknowledgedEvent returns the union data inside the BridgeEvent as a BridgeNotificationAcknowledgedEvent

func (BridgeEvent) AsBridgePressEvent

func (t BridgeEvent) AsBridgePressEvent() (BridgePressEvent, error)

AsBridgePressEvent returns the union data inside the BridgeEvent as a BridgePressEvent

func (BridgeEvent) AsBridgeThreadMessageEvent

func (t BridgeEvent) AsBridgeThreadMessageEvent() (BridgeThreadMessageEvent, error)

AsBridgeThreadMessageEvent returns the union data inside the BridgeEvent as a BridgeThreadMessageEvent

func (BridgeEvent) Discriminator

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

func (*BridgeEvent) FromBridgeAccountLinkEvent

func (t *BridgeEvent) FromBridgeAccountLinkEvent(v BridgeAccountLinkEvent) error

FromBridgeAccountLinkEvent overwrites any union data inside the BridgeEvent as the provided BridgeAccountLinkEvent

func (*BridgeEvent) FromBridgeMessageDeletedEvent

func (t *BridgeEvent) FromBridgeMessageDeletedEvent(v BridgeMessageDeletedEvent) error

FromBridgeMessageDeletedEvent overwrites any union data inside the BridgeEvent as the provided BridgeMessageDeletedEvent

func (*BridgeEvent) FromBridgeNotificationAcknowledgedEvent

func (t *BridgeEvent) FromBridgeNotificationAcknowledgedEvent(v BridgeNotificationAcknowledgedEvent) error

FromBridgeNotificationAcknowledgedEvent overwrites any union data inside the BridgeEvent as the provided BridgeNotificationAcknowledgedEvent

func (*BridgeEvent) FromBridgePressEvent

func (t *BridgeEvent) FromBridgePressEvent(v BridgePressEvent) error

FromBridgePressEvent overwrites any union data inside the BridgeEvent as the provided BridgePressEvent

func (*BridgeEvent) FromBridgeThreadMessageEvent

func (t *BridgeEvent) FromBridgeThreadMessageEvent(v BridgeThreadMessageEvent) error

FromBridgeThreadMessageEvent overwrites any union data inside the BridgeEvent as the provided BridgeThreadMessageEvent

func (BridgeEvent) MarshalJSON

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

func (*BridgeEvent) MergeBridgeAccountLinkEvent

func (t *BridgeEvent) MergeBridgeAccountLinkEvent(v BridgeAccountLinkEvent) error

MergeBridgeAccountLinkEvent performs a merge with any union data inside the BridgeEvent, using the provided BridgeAccountLinkEvent

func (*BridgeEvent) MergeBridgeMessageDeletedEvent

func (t *BridgeEvent) MergeBridgeMessageDeletedEvent(v BridgeMessageDeletedEvent) error

MergeBridgeMessageDeletedEvent performs a merge with any union data inside the BridgeEvent, using the provided BridgeMessageDeletedEvent

func (*BridgeEvent) MergeBridgeNotificationAcknowledgedEvent

func (t *BridgeEvent) MergeBridgeNotificationAcknowledgedEvent(v BridgeNotificationAcknowledgedEvent) error

MergeBridgeNotificationAcknowledgedEvent performs a merge with any union data inside the BridgeEvent, using the provided BridgeNotificationAcknowledgedEvent

func (*BridgeEvent) MergeBridgePressEvent

func (t *BridgeEvent) MergeBridgePressEvent(v BridgePressEvent) error

MergeBridgePressEvent performs a merge with any union data inside the BridgeEvent, using the provided BridgePressEvent

func (*BridgeEvent) MergeBridgeThreadMessageEvent

func (t *BridgeEvent) MergeBridgeThreadMessageEvent(v BridgeThreadMessageEvent) error

MergeBridgeThreadMessageEvent performs a merge with any union data inside the BridgeEvent, using the provided BridgeThreadMessageEvent

func (*BridgeEvent) UnmarshalJSON

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

func (BridgeEvent) ValueByDiscriminator

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

type BridgeEvent204Response

type BridgeEvent204Response struct {
}

func (BridgeEvent204Response) VisitBridgeEventResponse

func (response BridgeEvent204Response) VisitBridgeEventResponse(w http.ResponseWriter) error

type BridgeEvent400ApplicationProblemPlusJSONResponse

type BridgeEvent400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (BridgeEvent400ApplicationProblemPlusJSONResponse) VisitBridgeEventResponse

func (response BridgeEvent400ApplicationProblemPlusJSONResponse) VisitBridgeEventResponse(w http.ResponseWriter) error

type BridgeEvent401ApplicationProblemPlusJSONResponse

type BridgeEvent401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (BridgeEvent401ApplicationProblemPlusJSONResponse) VisitBridgeEventResponse

func (response BridgeEvent401ApplicationProblemPlusJSONResponse) VisitBridgeEventResponse(w http.ResponseWriter) error

type BridgeEvent500ApplicationProblemPlusJSONResponse

type BridgeEvent500ApplicationProblemPlusJSONResponse struct {
	InternalErrorApplicationProblemPlusJSONResponse
}

func (BridgeEvent500ApplicationProblemPlusJSONResponse) VisitBridgeEventResponse

func (response BridgeEvent500ApplicationProblemPlusJSONResponse) VisitBridgeEventResponse(w http.ResponseWriter) error

type BridgeEventBase

type BridgeEventBase struct {
	// Id Stable across retries and polls; Muster handles each id of a Connection once. Printable ASCII without spaces, so that it can travel as the `webhook-id` header.
	Id string `json:"id"`

	// OccurredAt When it happened in the messenger, or when the bridge learned of it.
	OccurredAt time.Time `json:"occurred_at"`
	Type       string    `json:"type"`
}

BridgeEventBase The members of every Bridge event, a copy of the schema `EventBase` of the Bridge protocol.

type BridgeEventDelivery

type BridgeEventDelivery string

BridgeEventDelivery How a Bridge Connection receives events (`connection.bridge.event_delivery`): `poll` — Muster polls the bridge from the Leader; `push` — the bridge posts each event to the Connection's `callback_url`, signed with the push secret.

const (
	BridgeEventDeliveryPoll BridgeEventDelivery = "poll"
	BridgeEventDeliveryPush BridgeEventDelivery = "push"
)

Defines values for BridgeEventDelivery.

func (BridgeEventDelivery) Valid

func (e BridgeEventDelivery) Valid() bool

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

type BridgeEventJSONRequestBody

type BridgeEventJSONRequestBody = BridgeEvent

BridgeEventJSONRequestBody defines body for BridgeEvent for application/json ContentType.

type BridgeEventParams

type BridgeEventParams struct {
	// WebhookId The event's `id`, kept across retries.
	WebhookId string `json:"webhook-id"`

	// WebhookTimestamp Unix time of this attempt, in seconds.
	WebhookTimestamp string `json:"webhook-timestamp"`

	// WebhookSignature `v1,<base64 HMAC-SHA256>`; several signatures separated by spaces are allowed while a secret is rotated.
	WebhookSignature string `json:"webhook-signature"`
}

BridgeEventParams defines parameters for BridgeEvent.

type BridgeEventRequestObject

type BridgeEventRequestObject struct {
	ConnectionId ConnectionId `json:"connection_id"`
	Params       BridgeEventParams
	Body         *BridgeEventJSONRequestBody
}

type BridgeEventResponseObject

type BridgeEventResponseObject interface {
	VisitBridgeEventResponse(w http.ResponseWriter) error
}

type BridgeInfo

type BridgeInfo struct {
	Bridge struct {
		Name    string `json:"name"`
		Version string `json:"version"`
	} `json:"bridge"`

	// Capabilities The optional features of the bridge. A missing member means the feature is not offered.
	Capabilities BridgeCapabilities `json:"capabilities"`

	// EventDelivery The event delivery modes the bridge offers; each Connection chooses one.
	EventDelivery []BridgeInfoEventDelivery `json:"event_delivery"`

	// Limits The limits of the bridge, a copy of the schema `Limits` of the Bridge protocol.
	Limits BridgeLimits `json:"limits"`

	// LinkUrlTemplate An `http` or `https` link that opens a chat with the bot and hands it the Account link token, with `{token}` where the token goes.
	LinkUrlTemplate nullable.Nullable[string] `json:"link_url_template,omitempty"`
	Messenger       struct {
		// Name The messenger's name as people know it; Muster shows it on the Connection and the Destinations.
		Name string `json:"name"`
	} `json:"messenger"`

	// ProtocolVersion The major version of this protocol the bridge speaks.
	ProtocolVersion BridgeInfoProtocolVersion `json:"protocol_version"`

	// Roles What the bridge is; `messenger` when it is missing.
	Roles *[]BridgeInfoRole `json:"roles,omitempty"`

	// UserLookup What a person enters to be found for an Account link by code, and what `findUsers` searches by. `none` offers only the token sent to the bot.
	UserLookup BridgeInfoUserLookup `json:"user_lookup"`
}

BridgeInfo The `info` of a bridge, a copy of the schema `Info` of the Bridge protocol (`api/bridge.yaml`).

type BridgeInfoEventDelivery

type BridgeInfoEventDelivery string

BridgeInfoEventDelivery defines model for BridgeInfo.EventDelivery.

const (
	BridgeInfoEventDeliveryPoll BridgeInfoEventDelivery = "poll"
	BridgeInfoEventDeliveryPush BridgeInfoEventDelivery = "push"
)

Defines values for BridgeInfoEventDelivery.

func (BridgeInfoEventDelivery) Valid

func (e BridgeInfoEventDelivery) Valid() bool

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

type BridgeInfoProtocolVersion

type BridgeInfoProtocolVersion string

BridgeInfoProtocolVersion The major version of this protocol the bridge speaks.

const (
	BridgeInfoProtocolVersionN1 BridgeInfoProtocolVersion = "1"
)

Defines values for BridgeInfoProtocolVersion.

func (BridgeInfoProtocolVersion) Valid

func (e BridgeInfoProtocolVersion) Valid() bool

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

type BridgeInfoRole

type BridgeInfoRole string

BridgeInfoRole `messenger`: a bridge to a messenger, whose channels are Destinations; `gateway`: a Notification gateway, which reaches people outside messengers.

const (
	BridgeInfoRoleGateway   BridgeInfoRole = "gateway"
	BridgeInfoRoleMessenger BridgeInfoRole = "messenger"
)

Defines values for BridgeInfoRole.

func (BridgeInfoRole) Valid

func (e BridgeInfoRole) Valid() bool

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

type BridgeInfoUserLookup

type BridgeInfoUserLookup string

BridgeInfoUserLookup What a person enters to be found for an Account link by code, and what `findUsers` searches by. `none` offers only the token sent to the bot.

const (
	BridgeInfoUserLookupEmail    BridgeInfoUserLookup = "email"
	BridgeInfoUserLookupLogin    BridgeInfoUserLookup = "login"
	BridgeInfoUserLookupNone     BridgeInfoUserLookup = "none"
	BridgeInfoUserLookupUserId   BridgeInfoUserLookup = "user_id"
	BridgeInfoUserLookupUsername BridgeInfoUserLookup = "username"
)

Defines values for BridgeInfoUserLookup.

func (BridgeInfoUserLookup) Valid

func (e BridgeInfoUserLookup) Valid() bool

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

type BridgeLimits

type BridgeLimits struct {
	// EditMaxAgeSeconds How long after posting the bot can still edit a message; `null` when edits never expire. Muster stops editing a minute earlier.
	EditMaxAgeSeconds nullable.Nullable[int] `json:"edit_max_age_seconds"`

	// MaxBodyLength The longest `body`, in Unicode code points of the CommonMark Muster sends, that the bridge always accepts for a post and for an edit alike, after its own rendering.
	MaxBodyLength int `json:"max_body_length"`

	// SendPerSecond A hint for the Connection limiter, over all channels of the bot.
	SendPerSecond *float32 `json:"send_per_second,omitempty"`

	// SendPerSecondPerChannel A hint for the Destination limiter; `rate_limited` stays the truth.
	SendPerSecondPerChannel *float32 `json:"send_per_second_per_channel,omitempty"`
}

BridgeLimits The limits of the bridge, a copy of the schema `Limits` of the Bridge protocol.

type BridgeLinkConfirm

type BridgeLinkConfirm 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
}

BridgeLinkConfirm defines model for BridgeLinkConfirm.

type BridgeLinkRequest

type BridgeLinkRequest 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
}

BridgeLinkRequest defines model for BridgeLinkRequest.

type BridgeLinkStart

type BridgeLinkStart struct {
	ExpiresAt time.Time `json:"expires_at"`

	// LinkUrl The bridge's `link_url_template` with the token, which opens a chat with the bot and hands it the token; null without a template.
	LinkUrl nullable.Nullable[string] `json:"link_url"`

	// Token Send it to the bot in a direct message. Single use and bound to the User and the Connection.
	Token string `json:"token"`
}

BridgeLinkStart defines model for BridgeLinkStart.

type BridgeMessageDeletedEvent

type BridgeMessageDeletedEvent struct {
	// Id Stable across retries and polls; Muster handles each id of a Connection once. Printable ASCII without spaces, so that it can travel as the `webhook-id` header.
	Id        string `json:"id"`
	MessageId string `json:"message_id"`

	// OccurredAt When it happened in the messenger, or when the bridge learned of it.
	OccurredAt time.Time   `json:"occurred_at"`
	Type       interface{} `json:"type"`
}

BridgeMessageDeletedEvent defines model for BridgeMessageDeletedEvent.

type BridgeNotificationAcknowledgedEvent

type BridgeNotificationAcknowledgedEvent struct {
	Data string `json:"data"`

	// Id Stable across retries and polls; Muster handles each id of a Connection once. Printable ASCII without spaces, so that it can travel as the `webhook-id` header.
	Id             string `json:"id"`
	NotificationId string `json:"notification_id"`

	// OccurredAt When it happened in the messenger, or when the bridge learned of it.
	OccurredAt time.Time   `json:"occurred_at"`
	Type       interface{} `json:"type"`
}

BridgeNotificationAcknowledgedEvent defines model for BridgeNotificationAcknowledgedEvent.

type BridgePerson

type BridgePerson struct {
	DisplayName string `json:"display_name"`

	// ExternalId The account's stable id in the messenger.
	ExternalId string `json:"external_id"`

	// Handle The account's handle of the kind `user_lookup` declares, when the bridge knows it.
	Handle nullable.Nullable[string] `json:"handle,omitempty"`
}

BridgePerson A messenger account as a bridge names it, a copy of the schema `Person` of the Bridge protocol.

type BridgePressEvent

type BridgePressEvent struct {
	// Data The button's `data`, unchanged.
	Data string `json:"data"`

	// Id Stable across retries and polls; Muster handles each id of a Connection once. Printable ASCII without spaces, so that it can travel as the `webhook-id` header.
	Id string `json:"id"`

	// MessageId The message the button belongs to, a Root message or a Thread reply.
	MessageId string `json:"message_id"`

	// OccurredAt When it happened in the messenger, or when the bridge learned of it.
	OccurredAt time.Time   `json:"occurred_at"`
	Type       interface{} `json:"type"`

	// User A messenger account as a bridge names it, a copy of the schema `Person` of the Bridge protocol.
	User BridgePerson `json:"user"`
}

BridgePressEvent defines model for BridgePressEvent.

type BridgeThreadMessageEvent

type BridgeThreadMessageEvent struct {
	// Id Stable across retries and polls; Muster handles each id of a Connection once. Printable ASCII without spaces, so that it can travel as the `webhook-id` header.
	Id string `json:"id"`

	// MessageId The message whose Thread it is in, usually a Root message, never the id of a reply.
	MessageId string `json:"message_id"`

	// OccurredAt When it happened in the messenger, or when the bridge learned of it.
	OccurredAt time.Time `json:"occurred_at"`

	// Text The message as plain text, mentions of the bot removed.
	Text      string                    `json:"text"`
	ThreadRef nullable.Nullable[string] `json:"thread_ref"`
	Type      interface{}               `json:"type"`

	// User A messenger account as a bridge names it, a copy of the schema `Person` of the Bridge protocol.
	User BridgePerson `json:"user"`
}

BridgeThreadMessageEvent defines model for BridgeThreadMessageEvent.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 ButtonSetItem

type ButtonSetItem struct {
	Button ButtonSetItemButton `json:"button"`

	// Preset A Snooze preset. `tomorrow` ends at the first start of the working day (`organization.workday_start`) after now, `week_start` at the first start of the working day on the first day of the week (`organization.week_start`) after now. After now is strict, so at the start itself the next one counts, and before the start of the working day `tomorrow` ends the same morning.
	Preset *SnoozePreset `json:"preset,omitempty"`

	// SnoozeSeconds The Snooze duration in seconds, as `route.snooze_durations` names it; at least 1.
	SnoozeSeconds *int64 `json:"snooze_seconds,omitempty"`
}

ButtonSetItem One entry of a button set (C-28.FR-8): `acknowledge` (Acknowledge, with Unacknowledge on an acknowledged Root message), `resolve`, `snooze` — one Snooze duration by its value, `snooze_seconds`, at least 1 and required with `snooze` — or `snooze_preset` — one Snooze preset, `preset`, required with `snooze_preset`. Fields the button does not take are ignored. A duration that no Route has is accepted and simply never shown. Refused with `422` `validation-failed` at the item's pointer: `required` for a missing `snooze_seconds` or `preset`, `out_of_range` for a `snooze_seconds` below 1, `duplicate` for the same button, duration or preset a second time.

type ButtonSetItemButton

type ButtonSetItemButton string

ButtonSetItemButton defines model for ButtonSetItem.Button.

const (
	ButtonSetItemButtonAcknowledge  ButtonSetItemButton = "acknowledge"
	ButtonSetItemButtonResolve      ButtonSetItemButton = "resolve"
	ButtonSetItemButtonSnooze       ButtonSetItemButton = "snooze"
	ButtonSetItemButtonSnoozePreset ButtonSetItemButton = "snooze_preset"
)

Defines values for ButtonSetItemButton.

func (ButtonSetItemButton) Valid

func (e ButtonSetItemButton) Valid() bool

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

type ChainEntry

type ChainEntry struct {
	// ChainId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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`.
	ChainId PublicId `json:"chain_id"`

	// SeverityCondition Omitted, `any`.
	SeverityCondition *SeverityCondition `json:"severity_condition,omitempty"`
}

ChainEntry An Escalation chain that a Route or a Team names, with its Severity condition (C-32.FR-2), checked against the Severity level of the Alert Group.

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CheckConnectionDraft200JSONResponse

type CheckConnectionDraft200JSONResponse ConnectionCheckResult

func (CheckConnectionDraft200JSONResponse) VisitCheckConnectionDraftResponse

func (response CheckConnectionDraft200JSONResponse) VisitCheckConnectionDraftResponse(w http.ResponseWriter) error

type CheckConnectionDraft400ApplicationProblemPlusJSONResponse

type CheckConnectionDraft400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CheckConnectionDraft400ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse

func (response CheckConnectionDraft400ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse(w http.ResponseWriter) error

type CheckConnectionDraft401ApplicationProblemPlusJSONResponse

type CheckConnectionDraft401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CheckConnectionDraft401ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse

func (response CheckConnectionDraft401ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse(w http.ResponseWriter) error

type CheckConnectionDraft403ApplicationProblemPlusJSONResponse

type CheckConnectionDraft403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CheckConnectionDraft403ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse

func (response CheckConnectionDraft403ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse(w http.ResponseWriter) error

type CheckConnectionDraft422ApplicationProblemPlusJSONResponse

type CheckConnectionDraft422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (CheckConnectionDraft422ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse

func (response CheckConnectionDraft422ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse(w http.ResponseWriter) error

type CheckConnectionDraft429ApplicationProblemPlusJSONResponse

type CheckConnectionDraft429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CheckConnectionDraft429ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse

func (response CheckConnectionDraft429ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse(w http.ResponseWriter) error

type CheckConnectionDraft503ApplicationProblemPlusJSONResponse

type CheckConnectionDraft503ApplicationProblemPlusJSONResponse struct {
	LimitedApplicationProblemPlusJSONResponse
}

func (CheckConnectionDraft503ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse

func (response CheckConnectionDraft503ApplicationProblemPlusJSONResponse) VisitCheckConnectionDraftResponse(w http.ResponseWriter) error

type CheckConnectionDraftJSONRequestBody

type CheckConnectionDraftJSONRequestBody = ConnectionDraft

CheckConnectionDraftJSONRequestBody defines body for CheckConnectionDraft for application/json ContentType.

type CheckConnectionDraftRequestObject

type CheckConnectionDraftRequestObject struct {
	Body *CheckConnectionDraftJSONRequestBody
}

type CheckConnectionDraftResponseObject

type CheckConnectionDraftResponseObject interface {
	VisitCheckConnectionDraftResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ConfirmBridgeLink201JSONResponse

type ConfirmBridgeLink201JSONResponse AccountLink

func (ConfirmBridgeLink201JSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink201JSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLink400ApplicationProblemPlusJSONResponse

type ConfirmBridgeLink400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ConfirmBridgeLink400ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink400ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLink401ApplicationProblemPlusJSONResponse

type ConfirmBridgeLink401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ConfirmBridgeLink401ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink401ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLink403ApplicationProblemPlusJSONResponse

type ConfirmBridgeLink403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ConfirmBridgeLink403ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink403ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLink404ApplicationProblemPlusJSONResponse

type ConfirmBridgeLink404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ConfirmBridgeLink404ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink404ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLink409ApplicationProblemPlusJSONResponse

type ConfirmBridgeLink409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (ConfirmBridgeLink409ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink409ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLink422ApplicationProblemPlusJSONResponse

type ConfirmBridgeLink422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ConfirmBridgeLink422ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink422ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLink429ApplicationProblemPlusJSONResponse

type ConfirmBridgeLink429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ConfirmBridgeLink429ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse

func (response ConfirmBridgeLink429ApplicationProblemPlusJSONResponse) VisitConfirmBridgeLinkResponse(w http.ResponseWriter) error

type ConfirmBridgeLinkJSONRequestBody

type ConfirmBridgeLinkJSONRequestBody = BridgeLinkConfirm

ConfirmBridgeLinkJSONRequestBody defines body for ConfirmBridgeLink for application/json ContentType.

type ConfirmBridgeLinkRequestObject

type ConfirmBridgeLinkRequestObject struct {
	Body *ConfirmBridgeLinkJSONRequestBody
}

type ConfirmBridgeLinkResponseObject

type ConfirmBridgeLinkResponseObject interface {
	VisitConfirmBridgeLinkResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ConfirmMyGatewayContact200JSONResponse

type ConfirmMyGatewayContact200JSONResponse GatewayContact

func (ConfirmMyGatewayContact200JSONResponse) VisitConfirmMyGatewayContactResponse

func (response ConfirmMyGatewayContact200JSONResponse) VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error

type ConfirmMyGatewayContact400ApplicationProblemPlusJSONResponse

type ConfirmMyGatewayContact400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ConfirmMyGatewayContact400ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse

func (response ConfirmMyGatewayContact400ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error

type ConfirmMyGatewayContact401ApplicationProblemPlusJSONResponse

type ConfirmMyGatewayContact401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ConfirmMyGatewayContact401ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse

func (response ConfirmMyGatewayContact401ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error

type ConfirmMyGatewayContact403ApplicationProblemPlusJSONResponse

type ConfirmMyGatewayContact403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ConfirmMyGatewayContact403ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse

func (response ConfirmMyGatewayContact403ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error

type ConfirmMyGatewayContact404ApplicationProblemPlusJSONResponse

type ConfirmMyGatewayContact404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ConfirmMyGatewayContact404ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse

func (response ConfirmMyGatewayContact404ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error

type ConfirmMyGatewayContact422ApplicationProblemPlusJSONResponse

type ConfirmMyGatewayContact422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ConfirmMyGatewayContact422ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse

func (response ConfirmMyGatewayContact422ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error

type ConfirmMyGatewayContact429ApplicationProblemPlusJSONResponse

type ConfirmMyGatewayContact429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ConfirmMyGatewayContact429ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse

func (response ConfirmMyGatewayContact429ApplicationProblemPlusJSONResponse) VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error

type ConfirmMyGatewayContactJSONRequestBody

type ConfirmMyGatewayContactJSONRequestBody = GatewayContactConfirm

ConfirmMyGatewayContactJSONRequestBody defines body for ConfirmMyGatewayContact for application/json ContentType.

type ConfirmMyGatewayContactRequestObject

type ConfirmMyGatewayContactRequestObject struct {
	GatewayContactId GatewayContactId `json:"gateway_contact_id"`
	Body             *ConfirmMyGatewayContactJSONRequestBody
}

type ConfirmMyGatewayContactResponseObject

type ConfirmMyGatewayContactResponseObject interface {
	VisitConfirmMyGatewayContactResponse(w http.ResponseWriter) error
}

type ConfirmSlackLink201JSONResponse

type ConfirmSlackLink201JSONResponse AccountLink

func (ConfirmSlackLink201JSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink201JSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink400ApplicationProblemPlusJSONResponse

type ConfirmSlackLink400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink400ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink400ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink401ApplicationProblemPlusJSONResponse

type ConfirmSlackLink401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink401ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink401ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink403ApplicationProblemPlusJSONResponse

type ConfirmSlackLink403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink403ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink403ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink404ApplicationProblemPlusJSONResponse

type ConfirmSlackLink404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink404ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink404ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink409ApplicationProblemPlusJSONResponse

type ConfirmSlackLink409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink409ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink409ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink422ApplicationProblemPlusJSONResponse

type ConfirmSlackLink422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink422ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink422ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink429ApplicationProblemPlusJSONResponse

type ConfirmSlackLink429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink429ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink429ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLink503ApplicationProblemPlusJSONResponse

type ConfirmSlackLink503ApplicationProblemPlusJSONResponse struct {
	LimitedApplicationProblemPlusJSONResponse
}

func (ConfirmSlackLink503ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse

func (response ConfirmSlackLink503ApplicationProblemPlusJSONResponse) VisitConfirmSlackLinkResponse(w http.ResponseWriter) error

type ConfirmSlackLinkJSONRequestBody

type ConfirmSlackLinkJSONRequestBody = SlackLinkConfirm

ConfirmSlackLinkJSONRequestBody defines body for ConfirmSlackLink for application/json ContentType.

type ConfirmSlackLinkRequestObject

type ConfirmSlackLinkRequestObject struct {
	Body *ConfirmSlackLinkJSONRequestBody
}

type ConfirmSlackLinkResponseObject

type ConfirmSlackLinkResponseObject interface {
	VisitConfirmSlackLinkResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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

func (t Connection) AsBridgeConnection() (BridgeConnection, error)

AsBridgeConnection returns the union data inside the Connection as a BridgeConnection

func (Connection) AsMattermostConnection

func (t Connection) AsMattermostConnection() (MattermostConnection, error)

AsMattermostConnection returns the union data inside the Connection as a MattermostConnection

func (Connection) AsSlackConnection

func (t Connection) AsSlackConnection() (SlackConnection, error)

AsSlackConnection returns the union data inside the Connection as a SlackConnection

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

func (t *Connection) FromBridgeConnection(v BridgeConnection) error

FromBridgeConnection overwrites any union data inside the Connection as the provided BridgeConnection

func (*Connection) FromMattermostConnection

func (t *Connection) FromMattermostConnection(v MattermostConnection) error

FromMattermostConnection overwrites any union data inside the Connection as the provided MattermostConnection

func (*Connection) FromSlackConnection

func (t *Connection) FromSlackConnection(v SlackConnection) error

FromSlackConnection overwrites any union data inside the Connection as the provided SlackConnection

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

func (t *Connection) MergeBridgeConnection(v BridgeConnection) error

MergeBridgeConnection performs a merge with any union data inside the Connection, using the provided BridgeConnection

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

func (t *Connection) MergeSlackConnection(v SlackConnection) error

MergeSlackConnection performs a merge with any union data inside the Connection, using the provided SlackConnection

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 ConnectionChannelList

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

ConnectionChannelList The channels of a Connection's bot, by the Connection's type; only `SlackChannelList` has `truncated`.

func (ConnectionChannelList) AsMattermostChannelList

func (t ConnectionChannelList) AsMattermostChannelList() (MattermostChannelList, error)

AsMattermostChannelList returns the union data inside the ConnectionChannelList as a MattermostChannelList

func (ConnectionChannelList) AsSlackChannelList

func (t ConnectionChannelList) AsSlackChannelList() (SlackChannelList, error)

AsSlackChannelList returns the union data inside the ConnectionChannelList as a SlackChannelList

func (*ConnectionChannelList) FromMattermostChannelList

func (t *ConnectionChannelList) FromMattermostChannelList(v MattermostChannelList) error

FromMattermostChannelList overwrites any union data inside the ConnectionChannelList as the provided MattermostChannelList

func (*ConnectionChannelList) FromSlackChannelList

func (t *ConnectionChannelList) FromSlackChannelList(v SlackChannelList) error

FromSlackChannelList overwrites any union data inside the ConnectionChannelList as the provided SlackChannelList

func (ConnectionChannelList) MarshalJSON

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

func (*ConnectionChannelList) MergeMattermostChannelList

func (t *ConnectionChannelList) MergeMattermostChannelList(v MattermostChannelList) error

MergeMattermostChannelList performs a merge with any union data inside the ConnectionChannelList, using the provided MattermostChannelList

func (*ConnectionChannelList) MergeSlackChannelList

func (t *ConnectionChannelList) MergeSlackChannelList(v SlackChannelList) error

MergeSlackChannelList performs a merge with any union data inside the ConnectionChannelList, using the provided SlackChannelList

func (*ConnectionChannelList) UnmarshalJSON

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

type ConnectionCheckOptionalScope

type ConnectionCheckOptionalScope struct {
	Present bool   `json:"present"`
	Scope   string `json:"scope"`
}

ConnectionCheckOptionalScope An optional scope of a Slack bot token and whether the token has it.

type ConnectionCheckRequest

type ConnectionCheckRequest struct {
	// BaseUrl An unsaved Telegram Bot API base URL. When set, only the dry probe runs against it, without the token: a stored token is sent only to the saved address of its Connection. Kept for API clients; `checkConnectionDraft` checks a draft with its token typed again.
	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"`

	// BotRoles Mattermost only. Set with the warning `press_answers_in_thread`, omitted otherwise — the system roles of the bot `bot_name` that Muster read from its user (`GET /api/v4/users/me`), none of which grants `create_post_ephemeral`, empty when the bot has none; clients name them with the bot, so that the operator sees which account the token belongs to.
	BotRoles *[]string `json:"bot_roles,omitempty"`

	// Info Bridge only. The `info` that the step `info` read, with the members of `BridgeInfo` — stored on the Connection by `checkConnection`, never by `checkConnectionDraft` —, null when that step failed or was skipped; omitted for the other types.
	Info           nullable.Nullable[BridgeInfo] `json:"info,omitempty"`
	Ok             bool                          `json:"ok"`
	PendingUpdates nullable.Nullable[int]        `json:"pending_updates,omitempty"`

	// RequestLogRun The check run of the requests this check made (`CR…`); `listRequestLog` with `run` lists them.
	RequestLogRun PublicId `json:"request_log_run"`

	// Slack Slack only. What the step `token` found — the workspace and the bot — and the app that the step `app_token` found, stored on the Connection by a passing `checkConnection`; null when `token` failed, and for the other types.
	Slack nullable.Nullable[SlackCheckInfo] `json:"slack,omitempty"`
	Steps []ConnectionCheckStep             `json:"steps"`

	// Warnings Hints that do not fail the check. `press_answers_in_thread` (Mattermost): none of the bot's roles, which `bot_roles` lists, grants `create_post_ephemeral`, so the bot `bot_name` 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 the bot account itself that permission, for example with the system admin role, shows them in the channel. `another_client_connected` (Slack, `socket` mode): the last `hello` counted another connection of the Slack app than the Leader's; presses are shared between them at random — use one Slack app for each Connection and share it with no other Connection or installation.
	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 (
	AnotherClientConnected ConnectionCheckResultWarnings = "another_client_connected"
	PressAnswersInThread   ConnectionCheckResultWarnings = "press_answers_in_thread"
)

Defines values for ConnectionCheckResultWarnings.

func (ConnectionCheckResultWarnings) Valid

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

type ConnectionCheckStep

type ConnectionCheckStep struct {
	// Code What a step of the Connection check found, as a stable code that clients translate, with `message` as its detail in English; null when the step passed with nothing to say or was skipped. A step that failed: `token_invalid` — the messenger refused the bot token (`token`, `get_me`) or the bridge refused the token (`info`); for Slack, `token_invalid` — Slack refused the bot token or the app-level token (`token`, `app_token`), `wrong_token_type` — the bot token is not a bot's: Slack answered `not_allowed_token_type`, or `auth.test` named no `bot_id` (`token`), `missing_scope` — the bot token lacks scopes Muster needs, which `missing_scopes` lists and `message` names (`scopes`), `app_mismatch` — the app-level token belongs to another Slack app than the bot token (`app_token`), and `not_slack` — the address answered the dry probe, but not with Slack's JSON `{"ok":false, "error":"not_authed"}`; for the dry probe (`dry_probe`, without any token: Telegram `GET <base>/bot0:x/getMe`, Mattermost `GET <server>/api/v4/system/ping`, a Bridge `GET <base>/v1/info`, Slack `POST https://slack.com/api/auth.test`), `not_bot_api` — the address answered, but not as a Bot API (not JSON), `not_mattermost` — the address answered, but not as a Mattermost server (not JSON, or `200` JSON whose `status` is not `OK`), `not_bridge` — the address answered, but not with a problem of the Bridge protocol (`application/problem+json`), `wrong_path_prefix` — it answered 404, so the path prefix of the address is wrong, `unexpected_status` — it answered another status than the probe expects (`401` from a Bot API or a bridge, `200` from Mattermost or Slack) in the expected format; for `info`, `protocol_version_unknown` — the bridge speaks a protocol version this Muster does not, which `message` names, and `protocol_mismatch` — the answer does not match the protocol or is larger than 64 KiB, which `message` names; for `event_delivery`, `event_delivery_not_offered` — the bridge does not offer the Connection's event delivery mode; for any step, `dns_failed` — the host name does not resolve, `connect_failed` — no connection, or the answer could not be read, `tls_failed` — the TLS handshake failed, `timeout` — no answer in time, `proxy_refused` — the proxy refused its credentials, `blocked` — the outbound address policy refused the address, and `request_failed` — any other failure, such as an error answer, which `message` names (from a bridge, the problem's masked `detail`). A step that passed: `webhook_set` (`get_webhook_info`) — a webhook is set, and `message` names its host.
	Code nullable.Nullable[NullableConnectionCheckCode] `json:"code,omitempty"`

	// LatencyMs How long the step's request took; null for a step that made no request: one that was skipped, `event_delivery`, which only reads the info that the step `info` read, and `scopes`, which reads the header of the answer of `token`. The latency of `app_token` is that of its two requests together.
	LatencyMs nullable.Nullable[int] `json:"latency_ms,omitempty"`

	// Message What answered when the step failed, or what a step that passed found, in English; untrusted text where it comes from the remote side. Secrets, the Signing secret and tokens are masked. Clients translate `code` and show this text as its detail where it says more than the code's text.
	Message nullable.Nullable[string] `json:"message,omitempty"`

	// MissingScopes Set with the code `missing_scope` (Slack, step `scopes`), omitted otherwise — the scopes the bot token lacks, in the order Muster lists them, which clients name in their own words; `message` names them in English.
	MissingScopes *[]string `json:"missing_scopes,omitempty"`

	// Name The step: Mattermost `token` and `groups`, which reads the groups and passes whatever the server answers, its `message` saying when the server did not list them, or `dry_probe` and `token` for a draft; Telegram `dry_probe`, `get_me` and `get_webhook_info`; a Bridge `info` and `event_delivery`, or `dry_probe` before them for a draft; Slack `token`, `scopes` and, in `socket` mode, `app_token`, or `dry_probe` before them for a draft that may send no token — `POST https://slack.com/api/auth.test` without `Authorization`, which passes on a `200` JSON answer `ok: false` with the `error` `not_authed`.
	Name ConnectionCheckStepName `json:"name"`
	Ok   bool                    `json:"ok"`

	// OptionalScopes Set on the Slack step `scopes` once `token` passed, omitted otherwise — each scope the bot token may have and whether it has it; a missing one never fails the step (C-24.FR-2). `usergroups:read` is the one Team mentions and user group entries need.
	OptionalScopes *[]ConnectionCheckOptionalScope `json:"optional_scopes,omitempty"`
	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 The step: Mattermost `token` and `groups`, which reads the groups and passes whatever the server answers, its `message` saying when the server did not list them, or `dry_probe` and `token` for a draft; Telegram `dry_probe`, `get_me` and `get_webhook_info`; a Bridge `info` and `event_delivery`, or `dry_probe` before them for a draft; Slack `token`, `scopes` and, in `socket` mode, `app_token`, or `dry_probe` before them for a draft that may send no token — `POST https://slack.com/api/auth.test` without `Authorization`, which passes on a `200` JSON answer `ok: false` with the `error` `not_authed`.

const (
	ConnectionCheckStepNameAppToken       ConnectionCheckStepName = "app_token"
	ConnectionCheckStepNameDryProbe       ConnectionCheckStepName = "dry_probe"
	ConnectionCheckStepNameEventDelivery  ConnectionCheckStepName = "event_delivery"
	ConnectionCheckStepNameGetMe          ConnectionCheckStepName = "get_me"
	ConnectionCheckStepNameGetWebhookInfo ConnectionCheckStepName = "get_webhook_info"
	ConnectionCheckStepNameGroups         ConnectionCheckStepName = "groups"
	ConnectionCheckStepNameInfo           ConnectionCheckStepName = "info"
	ConnectionCheckStepNameScopes         ConnectionCheckStepName = "scopes"
	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 ConnectionDraft

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

ConnectionDraft A Connection as its form holds it before it is saved, for `checkConnectionDraft`; `type` selects the variant.

func (ConnectionDraft) AsBridgeConnectionDraft

func (t ConnectionDraft) AsBridgeConnectionDraft() (BridgeConnectionDraft, error)

AsBridgeConnectionDraft returns the union data inside the ConnectionDraft as a BridgeConnectionDraft

func (ConnectionDraft) AsMattermostConnectionDraft

func (t ConnectionDraft) AsMattermostConnectionDraft() (MattermostConnectionDraft, error)

AsMattermostConnectionDraft returns the union data inside the ConnectionDraft as a MattermostConnectionDraft

func (ConnectionDraft) AsSlackConnectionDraft

func (t ConnectionDraft) AsSlackConnectionDraft() (SlackConnectionDraft, error)

AsSlackConnectionDraft returns the union data inside the ConnectionDraft as a SlackConnectionDraft

func (ConnectionDraft) AsTelegramConnectionDraft

func (t ConnectionDraft) AsTelegramConnectionDraft() (TelegramConnectionDraft, error)

AsTelegramConnectionDraft returns the union data inside the ConnectionDraft as a TelegramConnectionDraft

func (ConnectionDraft) Discriminator

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

func (*ConnectionDraft) FromBridgeConnectionDraft

func (t *ConnectionDraft) FromBridgeConnectionDraft(v BridgeConnectionDraft) error

FromBridgeConnectionDraft overwrites any union data inside the ConnectionDraft as the provided BridgeConnectionDraft

func (*ConnectionDraft) FromMattermostConnectionDraft

func (t *ConnectionDraft) FromMattermostConnectionDraft(v MattermostConnectionDraft) error

FromMattermostConnectionDraft overwrites any union data inside the ConnectionDraft as the provided MattermostConnectionDraft

func (*ConnectionDraft) FromSlackConnectionDraft

func (t *ConnectionDraft) FromSlackConnectionDraft(v SlackConnectionDraft) error

FromSlackConnectionDraft overwrites any union data inside the ConnectionDraft as the provided SlackConnectionDraft

func (*ConnectionDraft) FromTelegramConnectionDraft

func (t *ConnectionDraft) FromTelegramConnectionDraft(v TelegramConnectionDraft) error

FromTelegramConnectionDraft overwrites any union data inside the ConnectionDraft as the provided TelegramConnectionDraft

func (ConnectionDraft) MarshalJSON

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

func (*ConnectionDraft) MergeBridgeConnectionDraft

func (t *ConnectionDraft) MergeBridgeConnectionDraft(v BridgeConnectionDraft) error

MergeBridgeConnectionDraft performs a merge with any union data inside the ConnectionDraft, using the provided BridgeConnectionDraft

func (*ConnectionDraft) MergeMattermostConnectionDraft

func (t *ConnectionDraft) MergeMattermostConnectionDraft(v MattermostConnectionDraft) error

MergeMattermostConnectionDraft performs a merge with any union data inside the ConnectionDraft, using the provided MattermostConnectionDraft

func (*ConnectionDraft) MergeSlackConnectionDraft

func (t *ConnectionDraft) MergeSlackConnectionDraft(v SlackConnectionDraft) error

MergeSlackConnectionDraft performs a merge with any union data inside the ConnectionDraft, using the provided SlackConnectionDraft

func (*ConnectionDraft) MergeTelegramConnectionDraft

func (t *ConnectionDraft) MergeTelegramConnectionDraft(v TelegramConnectionDraft) error

MergeTelegramConnectionDraft performs a merge with any union data inside the ConnectionDraft, using the provided TelegramConnectionDraft

func (*ConnectionDraft) UnmarshalJSON

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

func (ConnectionDraft) ValueByDiscriminator

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

type ConnectionGroup

type ConnectionGroup struct {
	DisplayName string `json:"display_name"`

	// Id The messenger's id of the group; a Slack user group's is the `group_id` of a Team mention.
	Id string `json:"id"`

	// MemberCount How many people are in the group; null when the messenger did not say.
	MemberCount nullable.Nullable[int] `json:"member_count"`

	// Name What a mention names, without `@`; the `group` of a Team mention.
	Name string `json:"name"`
}

ConnectionGroup A group a Connection can mention.

type ConnectionGroupList

type ConnectionGroupList struct {
	Items []ConnectionGroup `json:"items"`

	// Truncated More groups may exist than were read.
	Truncated bool `json:"truncated"`
}

ConnectionGroupList defines model for ConnectionGroupList.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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) AsBridgeConnectionInput

func (t ConnectionInput) AsBridgeConnectionInput() (BridgeConnectionInput, error)

AsBridgeConnectionInput returns the union data inside the ConnectionInput as a BridgeConnectionInput

func (ConnectionInput) AsMattermostConnectionInput

func (t ConnectionInput) AsMattermostConnectionInput() (MattermostConnectionInput, error)

AsMattermostConnectionInput returns the union data inside the ConnectionInput as a MattermostConnectionInput

func (ConnectionInput) AsSlackConnectionInput

func (t ConnectionInput) AsSlackConnectionInput() (SlackConnectionInput, error)

AsSlackConnectionInput returns the union data inside the ConnectionInput as a SlackConnectionInput

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

func (t *ConnectionInput) FromBridgeConnectionInput(v BridgeConnectionInput) error

FromBridgeConnectionInput overwrites any union data inside the ConnectionInput as the provided BridgeConnectionInput

func (*ConnectionInput) FromMattermostConnectionInput

func (t *ConnectionInput) FromMattermostConnectionInput(v MattermostConnectionInput) error

FromMattermostConnectionInput overwrites any union data inside the ConnectionInput as the provided MattermostConnectionInput

func (*ConnectionInput) FromSlackConnectionInput

func (t *ConnectionInput) FromSlackConnectionInput(v SlackConnectionInput) error

FromSlackConnectionInput overwrites any union data inside the ConnectionInput as the provided SlackConnectionInput

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

func (t *ConnectionInput) MergeBridgeConnectionInput(v BridgeConnectionInput) error

MergeBridgeConnectionInput performs a merge with any union data inside the ConnectionInput, using the provided BridgeConnectionInput

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

func (t *ConnectionInput) MergeSlackConnectionInput(v SlackConnectionInput) error

MergeSlackConnectionInput performs a merge with any union data inside the ConnectionInput, using the provided SlackConnectionInput

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 ConnectionRef

type ConnectionRef 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 ConnectionType `json:"type"`
}

ConnectionRef A Connection by name, with its type.

type ConnectionType

type ConnectionType string

ConnectionType defines model for ConnectionType.

const (
	ConnectionTypeBridge     ConnectionType = "bridge"
	ConnectionTypeMattermost ConnectionType = "mattermost"
	ConnectionTypeSlack      ConnectionType = "slack"
	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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateConnection201ResponseHeaders

type CreateConnection201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateConnection400ApplicationProblemPlusJSONResponse

type CreateConnection400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateConnection400ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse

func (response CreateConnection400ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error

type CreateConnection401ApplicationProblemPlusJSONResponse

type CreateConnection401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateDestination201ResponseHeaders

type CreateDestination201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateDestination400ApplicationProblemPlusJSONResponse

type CreateDestination400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateDestination400ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse

func (response CreateDestination400ApplicationProblemPlusJSONResponse) VisitCreateDestinationResponse(w http.ResponseWriter) error

type CreateDestination401ApplicationProblemPlusJSONResponse

type CreateDestination401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateEscalationChain201JSONResponse

type CreateEscalationChain201JSONResponse struct {
	Body    EscalationChain
	Headers CreateEscalationChain201ResponseHeaders
}

func (CreateEscalationChain201JSONResponse) VisitCreateEscalationChainResponse

func (response CreateEscalationChain201JSONResponse) VisitCreateEscalationChainResponse(w http.ResponseWriter) error

type CreateEscalationChain201ResponseHeaders

type CreateEscalationChain201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateEscalationChain400ApplicationProblemPlusJSONResponse

type CreateEscalationChain400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateEscalationChain400ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse

func (response CreateEscalationChain400ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse(w http.ResponseWriter) error

type CreateEscalationChain401ApplicationProblemPlusJSONResponse

type CreateEscalationChain401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateEscalationChain401ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse

func (response CreateEscalationChain401ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse(w http.ResponseWriter) error

type CreateEscalationChain403ApplicationProblemPlusJSONResponse

type CreateEscalationChain403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateEscalationChain403ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse

func (response CreateEscalationChain403ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse(w http.ResponseWriter) error

type CreateEscalationChain409ApplicationProblemPlusJSONResponse

type CreateEscalationChain409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateEscalationChain409ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse

func (response CreateEscalationChain409ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse(w http.ResponseWriter) error

type CreateEscalationChain422ApplicationProblemPlusJSONResponse

type CreateEscalationChain422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (CreateEscalationChain422ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse

func (response CreateEscalationChain422ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse(w http.ResponseWriter) error

type CreateEscalationChain429ApplicationProblemPlusJSONResponse

type CreateEscalationChain429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CreateEscalationChain429ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse

func (response CreateEscalationChain429ApplicationProblemPlusJSONResponse) VisitCreateEscalationChainResponse(w http.ResponseWriter) error

type CreateEscalationChainJSONRequestBody

type CreateEscalationChainJSONRequestBody = EscalationChainInput

CreateEscalationChainJSONRequestBody defines body for CreateEscalationChain for application/json ContentType.

type CreateEscalationChainRequestObject

type CreateEscalationChainRequestObject struct {
	Body *CreateEscalationChainJSONRequestBody
}

type CreateEscalationChainResponseObject

type CreateEscalationChainResponseObject interface {
	VisitCreateEscalationChainResponse(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 CreateIntegration201ResponseHeaders

type CreateIntegration201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateIntegration400ApplicationProblemPlusJSONResponse

type CreateIntegration400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateIntegration400ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse

func (response CreateIntegration400ApplicationProblemPlusJSONResponse) VisitCreateIntegrationResponse(w http.ResponseWriter) error

type CreateIntegration401ApplicationProblemPlusJSONResponse

type CreateIntegration401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateLinkRule201ResponseHeaders

type CreateLinkRule201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateLinkRule400ApplicationProblemPlusJSONResponse

type CreateLinkRule400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateLinkRule400ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse

func (response CreateLinkRule400ApplicationProblemPlusJSONResponse) VisitCreateLinkRuleResponse(w http.ResponseWriter) error

type CreateLinkRule401ApplicationProblemPlusJSONResponse

type CreateLinkRule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateLookupTable201ResponseHeaders

type CreateLookupTable201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateLookupTable400ApplicationProblemPlusJSONResponse

type CreateLookupTable400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateLookupTable400ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse

func (response CreateLookupTable400ApplicationProblemPlusJSONResponse) VisitCreateLookupTableResponse(w http.ResponseWriter) error

type CreateLookupTable401ApplicationProblemPlusJSONResponse

type CreateLookupTable401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateMyGatewayContact202JSONResponse

type CreateMyGatewayContact202JSONResponse GatewayContact

func (CreateMyGatewayContact202JSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact202JSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContact400ApplicationProblemPlusJSONResponse

type CreateMyGatewayContact400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateMyGatewayContact400ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact400ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContact401ApplicationProblemPlusJSONResponse

type CreateMyGatewayContact401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateMyGatewayContact401ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact401ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContact403ApplicationProblemPlusJSONResponse

type CreateMyGatewayContact403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateMyGatewayContact403ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact403ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContact422ApplicationProblemPlusJSONResponse

type CreateMyGatewayContact422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (CreateMyGatewayContact422ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact422ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContact429ApplicationProblemPlusJSONResponse

type CreateMyGatewayContact429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CreateMyGatewayContact429ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact429ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContact502ApplicationProblemPlusJSONResponse

type CreateMyGatewayContact502ApplicationProblemPlusJSONResponse struct {
	GatewayRefusedApplicationProblemPlusJSONResponse
}

func (CreateMyGatewayContact502ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact502ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContact503ApplicationProblemPlusJSONResponse

type CreateMyGatewayContact503ApplicationProblemPlusJSONResponse struct {
	LimitedApplicationProblemPlusJSONResponse
}

func (CreateMyGatewayContact503ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse

func (response CreateMyGatewayContact503ApplicationProblemPlusJSONResponse) VisitCreateMyGatewayContactResponse(w http.ResponseWriter) error

type CreateMyGatewayContactJSONRequestBody

type CreateMyGatewayContactJSONRequestBody = GatewayContactInput

CreateMyGatewayContactJSONRequestBody defines body for CreateMyGatewayContact for application/json ContentType.

type CreateMyGatewayContactRequestObject

type CreateMyGatewayContactRequestObject struct {
	Body *CreateMyGatewayContactJSONRequestBody
}

type CreateMyGatewayContactResponseObject

type CreateMyGatewayContactResponseObject interface {
	VisitCreateMyGatewayContactResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateRoute201ResponseHeaders

type CreateRoute201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateRoute400ApplicationProblemPlusJSONResponse

type CreateRoute400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateRoute400ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse

func (response CreateRoute400ApplicationProblemPlusJSONResponse) VisitCreateRouteResponse(w http.ResponseWriter) error

type CreateRoute401ApplicationProblemPlusJSONResponse

type CreateRoute401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateSchedule201JSONResponse

type CreateSchedule201JSONResponse struct {
	Body    Schedule
	Headers CreateSchedule201ResponseHeaders
}

func (CreateSchedule201JSONResponse) VisitCreateScheduleResponse

func (response CreateSchedule201JSONResponse) VisitCreateScheduleResponse(w http.ResponseWriter) error

type CreateSchedule201ResponseHeaders

type CreateSchedule201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateSchedule400ApplicationProblemPlusJSONResponse

type CreateSchedule400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateSchedule400ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse

func (response CreateSchedule400ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse(w http.ResponseWriter) error

type CreateSchedule401ApplicationProblemPlusJSONResponse

type CreateSchedule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateSchedule401ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse

func (response CreateSchedule401ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse(w http.ResponseWriter) error

type CreateSchedule403ApplicationProblemPlusJSONResponse

type CreateSchedule403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateSchedule403ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse

func (response CreateSchedule403ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse(w http.ResponseWriter) error

type CreateSchedule409ApplicationProblemPlusJSONResponse

type CreateSchedule409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateSchedule409ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse

func (response CreateSchedule409ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse(w http.ResponseWriter) error

type CreateSchedule422ApplicationProblemPlusJSONResponse

type CreateSchedule422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (CreateSchedule422ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse

func (response CreateSchedule422ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse(w http.ResponseWriter) error

type CreateSchedule429ApplicationProblemPlusJSONResponse

type CreateSchedule429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CreateSchedule429ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse

func (response CreateSchedule429ApplicationProblemPlusJSONResponse) VisitCreateScheduleResponse(w http.ResponseWriter) error

type CreateScheduleJSONRequestBody

type CreateScheduleJSONRequestBody = ScheduleInput

CreateScheduleJSONRequestBody defines body for CreateSchedule for application/json ContentType.

type CreateScheduleOverride201JSONResponse

type CreateScheduleOverride201JSONResponse struct {
	Body    ScheduleOverride
	Headers CreateScheduleOverride201ResponseHeaders
}

func (CreateScheduleOverride201JSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride201JSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverride201ResponseHeaders

type CreateScheduleOverride201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateScheduleOverride400ApplicationProblemPlusJSONResponse

type CreateScheduleOverride400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateScheduleOverride400ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride400ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverride401ApplicationProblemPlusJSONResponse

type CreateScheduleOverride401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateScheduleOverride401ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride401ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverride403ApplicationProblemPlusJSONResponse

type CreateScheduleOverride403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateScheduleOverride403ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride403ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverride404ApplicationProblemPlusJSONResponse

type CreateScheduleOverride404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (CreateScheduleOverride404ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride404ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverride409ApplicationProblemPlusJSONResponse

type CreateScheduleOverride409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateScheduleOverride409ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride409ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverride422ApplicationProblemPlusJSONResponse

type CreateScheduleOverride422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (CreateScheduleOverride422ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride422ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverride429ApplicationProblemPlusJSONResponse

type CreateScheduleOverride429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CreateScheduleOverride429ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse

func (response CreateScheduleOverride429ApplicationProblemPlusJSONResponse) VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error

type CreateScheduleOverrideJSONRequestBody

type CreateScheduleOverrideJSONRequestBody = ScheduleOverrideInput

CreateScheduleOverrideJSONRequestBody defines body for CreateScheduleOverride for application/json ContentType.

type CreateScheduleOverrideRequestObject

type CreateScheduleOverrideRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
	Body       *CreateScheduleOverrideJSONRequestBody
}

type CreateScheduleOverrideResponseObject

type CreateScheduleOverrideResponseObject interface {
	VisitCreateScheduleOverrideResponse(w http.ResponseWriter) error
}

type CreateScheduleRequestObject

type CreateScheduleRequestObject struct {
	Body *CreateScheduleJSONRequestBody
}

type CreateScheduleResponseObject

type CreateScheduleResponseObject interface {
	VisitCreateScheduleResponse(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 CreateServiceAccount201ResponseHeaders

type CreateServiceAccount201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateServiceAccount400ApplicationProblemPlusJSONResponse

type CreateServiceAccount400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateServiceAccount400ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse

func (response CreateServiceAccount400ApplicationProblemPlusJSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error

type CreateServiceAccount401ApplicationProblemPlusJSONResponse

type CreateServiceAccount401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateTeam201JSONResponse

type CreateTeam201JSONResponse struct {
	Body    Team
	Headers CreateTeam201ResponseHeaders
}

func (CreateTeam201JSONResponse) VisitCreateTeamResponse

func (response CreateTeam201JSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam201ResponseHeaders

type CreateTeam201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateTeam400ApplicationProblemPlusJSONResponse

type CreateTeam400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateTeam400ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse

func (response CreateTeam400ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam401ApplicationProblemPlusJSONResponse

type CreateTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateTeam401ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse

func (response CreateTeam401ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam403ApplicationProblemPlusJSONResponse

type CreateTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateTeam403ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse

func (response CreateTeam403ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam409ApplicationProblemPlusJSONResponse

type CreateTeam409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateTeam409ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse

func (response CreateTeam409ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam422ApplicationProblemPlusJSONResponse

type CreateTeam422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (CreateTeam422ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse

func (response CreateTeam422ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam429ApplicationProblemPlusJSONResponse

type CreateTeam429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CreateTeam429ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse

func (response CreateTeam429ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeamJSONRequestBody

type CreateTeamJSONRequestBody = TeamInput

CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.

type CreateTeamRequestObject

type CreateTeamRequestObject struct {
	Body *CreateTeamJSONRequestBody
}

type CreateTeamResponseObject

type CreateTeamResponseObject interface {
	VisitCreateTeamResponse(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 CreateUser201ResponseHeaders

type CreateUser201ResponseHeaders struct {
	ETag     *string
	Location *string
}

type CreateUser400ApplicationProblemPlusJSONResponse

type CreateUser400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateUser400ApplicationProblemPlusJSONResponse) VisitCreateUserResponse

func (response CreateUser400ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser401ApplicationProblemPlusJSONResponse

type CreateUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 CreateUserGatewayContact401ApplicationProblemPlusJSONResponse

type CreateUserGatewayContact401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateUserGatewayContact401ApplicationProblemPlusJSONResponse) VisitCreateUserGatewayContactResponse

func (response CreateUserGatewayContact401ApplicationProblemPlusJSONResponse) VisitCreateUserGatewayContactResponse(w http.ResponseWriter) error

type CreateUserGatewayContact403ApplicationProblemPlusJSONResponse

type CreateUserGatewayContact403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateUserGatewayContact403ApplicationProblemPlusJSONResponse) VisitCreateUserGatewayContactResponse

func (response CreateUserGatewayContact403ApplicationProblemPlusJSONResponse) VisitCreateUserGatewayContactResponse(w http.ResponseWriter) error

type CreateUserGatewayContact429ApplicationProblemPlusJSONResponse

type CreateUserGatewayContact429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CreateUserGatewayContact429ApplicationProblemPlusJSONResponse) VisitCreateUserGatewayContactResponse

func (response CreateUserGatewayContact429ApplicationProblemPlusJSONResponse) VisitCreateUserGatewayContactResponse(w http.ResponseWriter) error

type CreateUserGatewayContactJSONBody

type CreateUserGatewayContactJSONBody = map[string]interface{}

CreateUserGatewayContactJSONBody defines parameters for CreateUserGatewayContact.

type CreateUserGatewayContactJSONRequestBody

type CreateUserGatewayContactJSONRequestBody = CreateUserGatewayContactJSONBody

CreateUserGatewayContactJSONRequestBody defines body for CreateUserGatewayContact for application/json ContentType.

type CreateUserGatewayContactRequestObject

type CreateUserGatewayContactRequestObject struct {
	UserId UserId `json:"user_id"`
	Body   *CreateUserGatewayContactJSONRequestBody
}

type CreateUserGatewayContactResponseObject

type CreateUserGatewayContactResponseObject interface {
	VisitCreateUserGatewayContactResponse(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 Cursor

type Cursor = string

Cursor defines model for Cursor.

type DeleteConnection204Response

type DeleteConnection204Response struct {
}

func (DeleteConnection204Response) VisitDeleteConnectionResponse

func (response DeleteConnection204Response) VisitDeleteConnectionResponse(w http.ResponseWriter) error

type DeleteConnection401ApplicationProblemPlusJSONResponse

type DeleteConnection401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 DeleteEscalationChain204Response

type DeleteEscalationChain204Response struct {
}

func (DeleteEscalationChain204Response) VisitDeleteEscalationChainResponse

func (response DeleteEscalationChain204Response) VisitDeleteEscalationChainResponse(w http.ResponseWriter) error

type DeleteEscalationChain401ApplicationProblemPlusJSONResponse

type DeleteEscalationChain401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteEscalationChain401ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse

func (response DeleteEscalationChain401ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse(w http.ResponseWriter) error

type DeleteEscalationChain403ApplicationProblemPlusJSONResponse

type DeleteEscalationChain403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteEscalationChain403ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse

func (response DeleteEscalationChain403ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse(w http.ResponseWriter) error

type DeleteEscalationChain404ApplicationProblemPlusJSONResponse

type DeleteEscalationChain404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteEscalationChain404ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse

func (response DeleteEscalationChain404ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse(w http.ResponseWriter) error

type DeleteEscalationChain409ApplicationProblemPlusJSONResponse

type DeleteEscalationChain409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteEscalationChain409ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse

func (response DeleteEscalationChain409ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse(w http.ResponseWriter) error

type DeleteEscalationChain412ApplicationProblemPlusJSONResponse

type DeleteEscalationChain412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (DeleteEscalationChain412ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse

func (response DeleteEscalationChain412ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse(w http.ResponseWriter) error

type DeleteEscalationChain429ApplicationProblemPlusJSONResponse

type DeleteEscalationChain429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (DeleteEscalationChain429ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse

func (response DeleteEscalationChain429ApplicationProblemPlusJSONResponse) VisitDeleteEscalationChainResponse(w http.ResponseWriter) error

type DeleteEscalationChainParams

type DeleteEscalationChainParams struct {
	// IfMatch Optional ETag; when present and stale, the request gets `412`.
	IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}

DeleteEscalationChainParams defines parameters for DeleteEscalationChain.

type DeleteEscalationChainRequestObject

type DeleteEscalationChainRequestObject struct {
	EscalationChainId EscalationChainId `json:"escalation_chain_id"`
	Params            DeleteEscalationChainParams
}

type DeleteEscalationChainResponseObject

type DeleteEscalationChainResponseObject interface {
	VisitDeleteEscalationChainResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 DeleteMyGatewayContact204Response

type DeleteMyGatewayContact204Response struct {
}

func (DeleteMyGatewayContact204Response) VisitDeleteMyGatewayContactResponse

func (response DeleteMyGatewayContact204Response) VisitDeleteMyGatewayContactResponse(w http.ResponseWriter) error

type DeleteMyGatewayContact401ApplicationProblemPlusJSONResponse

type DeleteMyGatewayContact401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteMyGatewayContact401ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse

func (response DeleteMyGatewayContact401ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse(w http.ResponseWriter) error

type DeleteMyGatewayContact403ApplicationProblemPlusJSONResponse

type DeleteMyGatewayContact403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteMyGatewayContact403ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse

func (response DeleteMyGatewayContact403ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse(w http.ResponseWriter) error

type DeleteMyGatewayContact404ApplicationProblemPlusJSONResponse

type DeleteMyGatewayContact404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteMyGatewayContact404ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse

func (response DeleteMyGatewayContact404ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse(w http.ResponseWriter) error

type DeleteMyGatewayContact429ApplicationProblemPlusJSONResponse

type DeleteMyGatewayContact429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (DeleteMyGatewayContact429ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse

func (response DeleteMyGatewayContact429ApplicationProblemPlusJSONResponse) VisitDeleteMyGatewayContactResponse(w http.ResponseWriter) error

type DeleteMyGatewayContactRequestObject

type DeleteMyGatewayContactRequestObject struct {
	GatewayContactId GatewayContactId `json:"gateway_contact_id"`
}

type DeleteMyGatewayContactResponseObject

type DeleteMyGatewayContactResponseObject interface {
	VisitDeleteMyGatewayContactResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 DeleteSchedule204Response

type DeleteSchedule204Response struct {
}

func (DeleteSchedule204Response) VisitDeleteScheduleResponse

func (response DeleteSchedule204Response) VisitDeleteScheduleResponse(w http.ResponseWriter) error

type DeleteSchedule401ApplicationProblemPlusJSONResponse

type DeleteSchedule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteSchedule401ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse

func (response DeleteSchedule401ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse(w http.ResponseWriter) error

type DeleteSchedule403ApplicationProblemPlusJSONResponse

type DeleteSchedule403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteSchedule403ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse

func (response DeleteSchedule403ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse(w http.ResponseWriter) error

type DeleteSchedule404ApplicationProblemPlusJSONResponse

type DeleteSchedule404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteSchedule404ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse

func (response DeleteSchedule404ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse(w http.ResponseWriter) error

type DeleteSchedule409ApplicationProblemPlusJSONResponse

type DeleteSchedule409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteSchedule409ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse

func (response DeleteSchedule409ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse(w http.ResponseWriter) error

type DeleteSchedule412ApplicationProblemPlusJSONResponse

type DeleteSchedule412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (DeleteSchedule412ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse

func (response DeleteSchedule412ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse(w http.ResponseWriter) error

type DeleteSchedule429ApplicationProblemPlusJSONResponse

type DeleteSchedule429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (DeleteSchedule429ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse

func (response DeleteSchedule429ApplicationProblemPlusJSONResponse) VisitDeleteScheduleResponse(w http.ResponseWriter) error

type DeleteScheduleOverride204Response

type DeleteScheduleOverride204Response struct {
}

func (DeleteScheduleOverride204Response) VisitDeleteScheduleOverrideResponse

func (response DeleteScheduleOverride204Response) VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error

type DeleteScheduleOverride401ApplicationProblemPlusJSONResponse

type DeleteScheduleOverride401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteScheduleOverride401ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse

func (response DeleteScheduleOverride401ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error

type DeleteScheduleOverride403ApplicationProblemPlusJSONResponse

type DeleteScheduleOverride403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteScheduleOverride403ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse

func (response DeleteScheduleOverride403ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error

type DeleteScheduleOverride404ApplicationProblemPlusJSONResponse

type DeleteScheduleOverride404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteScheduleOverride404ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse

func (response DeleteScheduleOverride404ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error

type DeleteScheduleOverride409ApplicationProblemPlusJSONResponse

type DeleteScheduleOverride409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteScheduleOverride409ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse

func (response DeleteScheduleOverride409ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error

type DeleteScheduleOverride412ApplicationProblemPlusJSONResponse

type DeleteScheduleOverride412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (DeleteScheduleOverride412ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse

func (response DeleteScheduleOverride412ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error

type DeleteScheduleOverride429ApplicationProblemPlusJSONResponse

type DeleteScheduleOverride429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (DeleteScheduleOverride429ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse

func (response DeleteScheduleOverride429ApplicationProblemPlusJSONResponse) VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error

type DeleteScheduleOverrideParams

type DeleteScheduleOverrideParams struct {
	// IfMatch Optional ETag; when present and stale, the request gets `412`.
	IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}

DeleteScheduleOverrideParams defines parameters for DeleteScheduleOverride.

type DeleteScheduleOverrideRequestObject

type DeleteScheduleOverrideRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
	OverrideId OverrideId `json:"override_id"`
	Params     DeleteScheduleOverrideParams
}

type DeleteScheduleOverrideResponseObject

type DeleteScheduleOverrideResponseObject interface {
	VisitDeleteScheduleOverrideResponse(w http.ResponseWriter) error
}

type DeleteScheduleParams

type DeleteScheduleParams struct {
	// IfMatch Optional ETag; when present and stale, the request gets `412`.
	IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}

DeleteScheduleParams defines parameters for DeleteSchedule.

type DeleteScheduleRequestObject

type DeleteScheduleRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
	Params     DeleteScheduleParams
}

type DeleteScheduleResponseObject

type DeleteScheduleResponseObject interface {
	VisitDeleteScheduleResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 DeleteTeam204Response

type DeleteTeam204Response struct {
}

func (DeleteTeam204Response) VisitDeleteTeamResponse

func (response DeleteTeam204Response) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam401ApplicationProblemPlusJSONResponse

type DeleteTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteTeam401ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam401ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam403ApplicationProblemPlusJSONResponse

type DeleteTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteTeam403ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam403ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam404ApplicationProblemPlusJSONResponse

type DeleteTeam404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteTeam404ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam404ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam409ApplicationProblemPlusJSONResponse

type DeleteTeam409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteTeam409ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam409ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam412ApplicationProblemPlusJSONResponse

type DeleteTeam412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (DeleteTeam412ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam412ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam429ApplicationProblemPlusJSONResponse

type DeleteTeam429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (DeleteTeam429ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam429ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeamParams

type DeleteTeamParams struct {
	// IfMatch Optional ETag; when present and stale, the request gets `412`.
	IfMatch *IfMatchOptional `json:"If-Match,omitempty"`
}

DeleteTeamParams defines parameters for DeleteTeam.

type DeleteTeamRequestObject

type DeleteTeamRequestObject struct {
	TeamId TeamId `json:"team_id"`
	Params DeleteTeamParams
}

type DeleteTeamResponseObject

type DeleteTeamResponseObject interface {
	VisitDeleteTeamResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 DeleteUserGatewayContact204Response

type DeleteUserGatewayContact204Response struct {
}

func (DeleteUserGatewayContact204Response) VisitDeleteUserGatewayContactResponse

func (response DeleteUserGatewayContact204Response) VisitDeleteUserGatewayContactResponse(w http.ResponseWriter) error

type DeleteUserGatewayContact401ApplicationProblemPlusJSONResponse

type DeleteUserGatewayContact401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteUserGatewayContact401ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse

func (response DeleteUserGatewayContact401ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse(w http.ResponseWriter) error

type DeleteUserGatewayContact403ApplicationProblemPlusJSONResponse

type DeleteUserGatewayContact403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteUserGatewayContact403ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse

func (response DeleteUserGatewayContact403ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse(w http.ResponseWriter) error

type DeleteUserGatewayContact404ApplicationProblemPlusJSONResponse

type DeleteUserGatewayContact404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteUserGatewayContact404ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse

func (response DeleteUserGatewayContact404ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse(w http.ResponseWriter) error

type DeleteUserGatewayContact429ApplicationProblemPlusJSONResponse

type DeleteUserGatewayContact429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (DeleteUserGatewayContact429ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse

func (response DeleteUserGatewayContact429ApplicationProblemPlusJSONResponse) VisitDeleteUserGatewayContactResponse(w http.ResponseWriter) error

type DeleteUserGatewayContactRequestObject

type DeleteUserGatewayContactRequestObject struct {
	UserId           UserId           `json:"user_id"`
	GatewayContactId GatewayContactId `json:"gateway_contact_id"`
}

type DeleteUserGatewayContactResponseObject

type DeleteUserGatewayContactResponseObject interface {
	VisitDeleteUserGatewayContactResponse(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 DeliveryEntry

type DeliveryEntry struct {
	// Kind `route`, the Alert Group's Route, or `team`, a Team of the Alert Group on a Route with `deliver_to_teams`.
	Kind DeliveryEntryKind `json:"kind"`

	// SeverityCondition The Severity condition of a Destination of a Route or a Team (C-26.FR-1), checked against the Severity level of the Alert Group, the highest level of its firing Alerts raised to the Route's Minimum severity. `any` meets every level, `critical` only critical, `below_critical` every level but critical.
	SeverityCondition SeverityCondition `json:"severity_condition"`

	// Team The Team of a `team` entry, null for `route`.
	Team nullable.Nullable[TeamRef] `json:"team"`
}

DeliveryEntry An entry that reached a Destination of an Alert Group (C-26.FR-3, FR-4), with the condition it had when it first did. Entries are added and never removed, so a Destination keeps the entries that once reached it after the Severity level fell or the Team's Alerts resolved.

type DeliveryEntryKind

type DeliveryEntryKind string

DeliveryEntryKind `route`, the Alert Group's Route, or `team`, a Team of the Alert Group on a Route with `deliver_to_teams`.

const (
	DeliveryEntryKindRoute DeliveryEntryKind = "route"
	DeliveryEntryKindTeam  DeliveryEntryKind = "team"
)

Defines values for DeliveryEntryKind.

func (DeliveryEntryKind) Valid

func (e DeliveryEntryKind) Valid() bool

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

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"
	DeliveryEventKindMentionNotDelivered       DeliveryEventKind = "mention_not_delivered"
	DeliveryEventKindNotDelivered              DeliveryEventKind = "not_delivered"
	DeliveryEventKindPossibleDuplicate         DeliveryEventKind = "possible_duplicate"
	DeliveryEventKindPublication               DeliveryEventKind = "publication"
	DeliveryEventKindRepublished               DeliveryEventKind = "republished"
	DeliveryEventKindRepublishedPastEditWindow DeliveryEventKind = "republished_past_edit_window"
	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 DeliveryPreview

type DeliveryPreview struct {
	// AlertGroups The `routing.group_key_preview_examples` largest Alert Groups of the proposed Group key.
	AlertGroups []DeliveryPreviewGroup `json:"alert_groups"`

	// DestinationCounts Every Destination that any Alert Group the Alerts would form reaches.
	DestinationCounts []DeliveryPreviewCount `json:"destination_counts"`

	// SharedKeyWarning True when the Route delivers to the Teams and the proposed Group key lacks the Team label, so that Alerts of different Teams with the same key share one Alert Group.
	SharedKeyWarning bool `json:"shared_key_warning"`
}

DeliveryPreview defines model for DeliveryPreview.

type DeliveryPreviewCount

type DeliveryPreviewCount struct {
	// AlertGroupCount How many of all the Alert Groups the Alerts would form reach the Destination, listed or not.
	AlertGroupCount int            `json:"alert_group_count"`
	Destination     DestinationRef `json:"destination"`
}

DeliveryPreviewCount defines model for DeliveryPreviewCount.

type DeliveryPreviewDestination

type DeliveryPreviewDestination struct {
	Destination DestinationRef `json:"destination"`

	// Entries The entries that reach the Destination, the Route's first, then the Teams' by Team.
	Entries []DeliveryEntry `json:"entries"`
}

DeliveryPreviewDestination defines model for DeliveryPreviewDestination.

type DeliveryPreviewGroup

type DeliveryPreviewGroup struct {
	AlertCount int `json:"alert_count"`

	// Destinations The Destinations the Alert Group would reach.
	Destinations []DeliveryPreviewDestination `json:"destinations"`

	// GroupKeyValues Label names and values.
	GroupKeyValues Labels `json:"group_key_values"`

	// SeverityLevel The highest Severity level of the Alerts raised to the Minimum severity.
	SeverityLevel SeverityLevel `json:"severity_level"`

	// Teams The Teams of the Alerts, by the Team label and the Team matchers as saved.
	Teams []TeamRef `json:"teams"`
}

DeliveryPreviewGroup defines model for DeliveryPreviewGroup.

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

func (t Destination) AsBridgeDestination() (BridgeDestination, error)

AsBridgeDestination returns the union data inside the Destination as a BridgeDestination

func (Destination) AsMattermostDestination

func (t Destination) AsMattermostDestination() (MattermostDestination, error)

AsMattermostDestination returns the union data inside the Destination as a MattermostDestination

func (Destination) AsSlackDestination

func (t Destination) AsSlackDestination() (SlackDestination, error)

AsSlackDestination returns the union data inside the Destination as a SlackDestination

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

func (t *Destination) FromBridgeDestination(v BridgeDestination) error

FromBridgeDestination overwrites any union data inside the Destination as the provided BridgeDestination

func (*Destination) FromMattermostDestination

func (t *Destination) FromMattermostDestination(v MattermostDestination) error

FromMattermostDestination overwrites any union data inside the Destination as the provided MattermostDestination

func (*Destination) FromSlackDestination

func (t *Destination) FromSlackDestination(v SlackDestination) error

FromSlackDestination overwrites any union data inside the Destination as the provided SlackDestination

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

func (t *Destination) MergeBridgeDestination(v BridgeDestination) error

MergeBridgeDestination performs a merge with any union data inside the Destination, using the provided BridgeDestination

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

func (t *Destination) MergeSlackDestination(v SlackDestination) error

MergeSlackDestination performs a merge with any union data inside the Destination, using the provided SlackDestination

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 DestinationButtonSet

type DestinationButtonSet struct {
	// Items Required with `own`, ignored with `organization`.
	Items  *[]ButtonSetItem           `json:"items,omitempty"`
	Source DestinationButtonSetSource `json:"source"`
}

DestinationButtonSet A Destination's button set, `destination.buttons` (C-28.FR-8): `organization`, "As in the Organization", the default, follows the Organization's set and its later changes; `own` shows only `items`, which are then required. A change re-renders the Destination's open Root messages, as edits.

type DestinationButtonSetSource

type DestinationButtonSetSource string

DestinationButtonSetSource defines model for DestinationButtonSet.Source.

const (
	DestinationButtonSetSourceOrganization DestinationButtonSetSource = "organization"
	DestinationButtonSetSourceOwn          DestinationButtonSetSource = "own"
)

Defines values for DestinationButtonSetSource.

func (DestinationButtonSetSource) Valid

func (e DestinationButtonSetSource) Valid() bool

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

type DestinationCheckItem

type DestinationCheckItem struct {
	// AbsentUsers Set with `discussion_group_members` only, omitted otherwise — the people `getChatMember` answered as outside the discussion group (`left`, `kicked`, `restricted` and not a member, or `400` `Bad Request: PARTICIPANT_ID_INVALID`), by name; a person whose call failed otherwise is not named. Telegram shows a leave only a while after it, about a minute.
	AbsentUsers *[]UserRef `json:"absent_users,omitempty"`

	// Code Why a check of the Destination check failed, as a stable code that clients translate, with `message` as its detail in English; null for a check that passed. `token_invalid` — the messenger refused the bot token (`token`, Telegram `channel_exists`, Bridge `channel`); Mattermost `bot_in_channel`: `bot_not_in_channel`, `channel_in_other_team` — the channel is not in the Destination's team, `channel_archived`; Telegram `channel_exists`: `channel_not_found` — the channel was not found or the bot cannot see it, `not_a_channel` — the chat is not a channel; `discussion_group`: `comments_disabled` — the channel has no linked discussion group, so comments are not enabled, `changed_since_saved` — the channel or its discussion group changed since the Destination was saved, and a save takes the new one; `bot_rights_channel`: `bot_not_channel_admin`, `bot_may_not_post`, `bot_may_not_edit`; `bot_rights_group`: `bot_not_group_admin`, whose `message` names the group; Bridge `channel`: `channel_forbidden` — the bridge answered `forbidden`: the channel does not exist or the bot cannot use it, with the bridge's `detail` as `message`, and `request_failed` for any other error class of the bridge, whose `message` names the class; Slack `channel`: `token_invalid` — Slack refused the bot token, `missing_scope` — the bot token lacks a scope `conversations.info` needs, which `missing_scopes` lists, `channel_not_found` — no such channel, a deleted one, or a private channel the bot is not in, `channel_archived`, `bot_not_in_channel` — `message` says "Invite the bot to the channel: /invite @{bot}", and `request_failed` for any other error of Slack's, which `message` names; any check: `dns_failed`, `connect_failed`, `tls_failed`, `timeout`, `proxy_refused`, `blocked` and `request_failed`, as in `NullableConnectionCheckCode`.
	Code nullable.Nullable[NullableDestinationCheckCode] `json:"code,omitempty"`

	// Message Why the check failed, in English; untrusted text where it comes from the messenger. Clients translate `code` and show this text as its detail where it says more than the code's text.
	Message nullable.Nullable[string] `json:"message,omitempty"`

	// MissingScopes Set with the code `missing_scope` (Slack `channel`), omitted otherwise — the scopes Slack named as needed (`needed` of its answer), which clients name in their own words; `message` names them in English.
	MissingScopes *[]string `json:"missing_scopes,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). Bridge: `channel`, the bridge's `checkChannel` — whether the bot can post, edit and reply in the channel. Slack: `channel`, `conversations.info` — whether the channel exists, is not archived and has the bot as a member. Telegram, after the others pass: `discussion_group_members`, which always passes, reads with `getChatMember` whether each person with a Telegram Account link of the Teams that name the Destination, and each one whom an Escalation chain Paging in it can Page through a Schedule — in a Rotation layer of a Schedule that a `page_on_call` step of the chain names, or with an Override of it that has not ended —, is in the discussion group, once per person, and names in `absent_users` those it saw outside (C-27.FR-8).
	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). Bridge: `channel`, the bridge's `checkChannel` — whether the bot can post, edit and reply in the channel. Slack: `channel`, `conversations.info` — whether the channel exists, is not archived and has the bot as a member. Telegram, after the others pass: `discussion_group_members`, which always passes, reads with `getChatMember` whether each person with a Telegram Account link of the Teams that name the Destination, and each one whom an Escalation chain Paging in it can Page through a Schedule — in a Rotation layer of a Schedule that a `page_on_call` step of the chain names, or with an Override of it that has not ended —, is in the discussion group, once per person, and names in `absent_users` those it saw outside (C-27.FR-8).

const (
	DestinationCheckItemNameBotInChannel           DestinationCheckItemName = "bot_in_channel"
	DestinationCheckItemNameBotRightsChannel       DestinationCheckItemName = "bot_rights_channel"
	DestinationCheckItemNameBotRightsGroup         DestinationCheckItemName = "bot_rights_group"
	DestinationCheckItemNameChannel                DestinationCheckItemName = "channel"
	DestinationCheckItemNameChannelExists          DestinationCheckItemName = "channel_exists"
	DestinationCheckItemNameDiscussionGroup        DestinationCheckItemName = "discussion_group"
	DestinationCheckItemNameDiscussionGroupMembers DestinationCheckItemName = "discussion_group_members"
	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"`

	// RequestLogRun The check run of the requests this check made (`CR…`); `listRequestLog` with `run` and the Destination lists them.
	RequestLogRun PublicId `json:"request_log_run"`
}

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 DestinationEntry

type DestinationEntry struct {
	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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`.
	DestinationId PublicId `json:"destination_id"`

	// SeverityCondition Omitted, `any`.
	SeverityCondition *SeverityCondition `json:"severity_condition,omitempty"`
}

DestinationEntry A Destination of a Route or a Team with its Severity condition.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 and Teams attach it through their `destination_entries`.

func (DestinationInput) AsBridgeDestinationInput

func (t DestinationInput) AsBridgeDestinationInput() (BridgeDestinationInput, error)

AsBridgeDestinationInput returns the union data inside the DestinationInput as a BridgeDestinationInput

func (DestinationInput) AsMattermostDestinationInput

func (t DestinationInput) AsMattermostDestinationInput() (MattermostDestinationInput, error)

AsMattermostDestinationInput returns the union data inside the DestinationInput as a MattermostDestinationInput

func (DestinationInput) AsSlackDestinationInput

func (t DestinationInput) AsSlackDestinationInput() (SlackDestinationInput, error)

AsSlackDestinationInput returns the union data inside the DestinationInput as a SlackDestinationInput

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

func (t *DestinationInput) FromBridgeDestinationInput(v BridgeDestinationInput) error

FromBridgeDestinationInput overwrites any union data inside the DestinationInput as the provided BridgeDestinationInput

func (*DestinationInput) FromMattermostDestinationInput

func (t *DestinationInput) FromMattermostDestinationInput(v MattermostDestinationInput) error

FromMattermostDestinationInput overwrites any union data inside the DestinationInput as the provided MattermostDestinationInput

func (*DestinationInput) FromSlackDestinationInput

func (t *DestinationInput) FromSlackDestinationInput(v SlackDestinationInput) error

FromSlackDestinationInput overwrites any union data inside the DestinationInput as the provided SlackDestinationInput

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

func (t *DestinationInput) MergeBridgeDestinationInput(v BridgeDestinationInput) error

MergeBridgeDestinationInput performs a merge with any union data inside the DestinationInput, using the provided BridgeDestinationInput

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

func (t *DestinationInput) MergeSlackDestinationInput(v SlackDestinationInput) error

MergeSlackDestinationInput performs a merge with any union data inside the DestinationInput, using the provided SlackDestinationInput

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; for Mattermost, the post's `message`, which is empty, the attachment being in `request`; for a Bridge, the envelope, and for Slack, the body of `chat.postMessage`, as JSON.
	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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// MentionEntries The Mention entries in order, each with what it mentions now.
	MentionEntries []MentionEntry `json:"mention_entries"`

	// MentionWarnings The people and entries whose Mentions were not delivered (C-28.FR-3), by entry and then by the person's name; always empty on an outgoing webhook, which takes every person as data.
	MentionWarnings []MentionWarning `json:"mention_warnings"`

	// Mentions The L1 form of the Mention entries that L1 can express on the Destination's type (C-28.FR-5), removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions MentionSettings `json:"mentions"`

	// OwningTeam The Team that owns the Destination, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`
	Routes     []EntityRef                `json:"routes"`

	// Teams The Teams that name the Destination as a Destination of the Team, by name.
	Teams         []TeamRef           `json:"teams"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// RequestLogRun The check run of the requests this test made (`CR…`); `listRequestLog` with `run` and the Destination lists them.
	RequestLogRun PublicId `json:"request_log_run"`

	// Steps The `message` step for a messenger — alone for Telegram, a Bridge and Slack — 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 (
	DestinationTypeBridge     DestinationType = "bridge"
	DestinationTypeMattermost DestinationType = "mattermost"
	DestinationTypeSlack      DestinationType = "slack"
	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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 EscalationChain

type EscalationChain struct {
	CreatedAt   time.Time `json:"created_at"`
	Description string    `json:"description"`

	// Destinations The Destinations the chain writes in, by name, with their health — those of the Routes and of the Teams that name it (C-32.FR-8), as configured.
	Destinations []DestinationRef `json:"destinations"`

	// Etag The same value as the `ETag` header; send it as `If-Match` on the next update.
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the chain as code, such as `terraform`, or null when none does (C-33.FR-11); see `EscalationChainInput`.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// OwningTeam The Team that owns the chain, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`

	// OwningTeamId A `public_id` in the format of `PublicId`, or null.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id"`

	// Referrers The Routes and the Teams that are not deleted and name the chain, by name, each with its Severity condition.
	Referrers EscalationChainReferrers `json:"referrers"`
	Steps     []EscalationStep         `json:"steps"`

	// Warnings What the chain cannot do — `pages_nobody` first — then what its steps cannot do, by step.
	Warnings []EscalationChainWarning `json:"warnings"`
}

EscalationChain defines model for EscalationChain.

type EscalationChainId

type EscalationChainId = PublicId

EscalationChainId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 EscalationChainInput

type EscalationChainInput struct {
	// Description Omit it on an update to keep it.
	Description *string `json:"description,omitempty"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// Name Unique in the Organization, ignoring case.
	Name string `json:"name"`

	// OwningTeamId The Team that owns the chain (C-25.FR-2), whose Working hours its steps use; `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`

	// Steps The steps in their order, at most 20 (`escalation.limits`, else `422` `out_of_range` at `/steps`), replaced as a whole.
	Steps []EscalationStepInput `json:"steps"`
}

EscalationChainInput defines model for EscalationChainInput.

type EscalationChainList

type EscalationChainList struct {
	Items      []EscalationChain         `json:"items"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

EscalationChainList defines model for EscalationChainList.

type EscalationChainRef

type EscalationChainRef 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// OwningTeam The Team that owns the chain, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`
}

EscalationChainRef An Escalation chain by name, with its owning Team.

type EscalationChainReferrers

type EscalationChainReferrers struct {
	Routes []EscalationChainRouteReferrer `json:"routes"`
	Teams  []EscalationChainTeamReferrer  `json:"teams"`
}

EscalationChainReferrers The Routes and the Teams that are not deleted and name the chain, by name, each with its Severity condition.

type EscalationChainRouteReferrer

type EscalationChainRouteReferrer struct {
	Route EntityRef `json:"route"`

	// SeverityCondition The Severity condition of a Destination of a Route or a Team (C-26.FR-1), checked against the Severity level of the Alert Group, the highest level of its firing Alerts raised to the Route's Minimum severity. `any` meets every level, `critical` only critical, `below_critical` every level but critical.
	SeverityCondition SeverityCondition `json:"severity_condition"`
}

EscalationChainRouteReferrer defines model for EscalationChainRouteReferrer.

type EscalationChainTeamReferrer

type EscalationChainTeamReferrer struct {
	// SeverityCondition The Severity condition of a Destination of a Route or a Team (C-26.FR-1), checked against the Severity level of the Alert Group, the highest level of its firing Alerts raised to the Route's Minimum severity. `any` meets every level, `critical` only critical, `below_critical` every level but critical.
	SeverityCondition SeverityCondition `json:"severity_condition"`

	// Team The Team an object names, with its slug; `deleted` is true for a Team that was deleted since.
	Team TeamRef `json:"team"`
}

EscalationChainTeamReferrer defines model for EscalationChainTeamReferrer.

type EscalationChainWarning

type EscalationChainWarning struct {
	// Destination With `everyone_unsupported`, the Destination that cannot mention; with `destination_deleted`, the deleted Destination; null with the other kinds.
	Destination nullable.Nullable[EntityRef] `json:"destination"`

	// Kind What the chain or one of its steps cannot do (C-32.FR-17): `everyone_unsupported`, a `page_team` step whose Team mention or word for everyone the Connection of one of the chain's Destinations cannot mention, such as a Telegram Destination; `gateway_deleted`, a `call` step whose Notification gateway was deleted or is no Notification gateway any more; `destination_deleted`, a `webhook` step whose Destination was deleted; `team_deleted`, a `page_team` step whose Team — the one it names, else the chain's owning Team — was deleted; `pages_nobody`, a chain none of whose steps Pages anyone — no `page_on_call`, `page_people`, `page_team` or `call` step, such as an empty chain or one of waits, repeats and webhooks — the only warning of the chain as a whole, with `step` null.
	Kind EscalationChainWarningKind `json:"kind"`

	// Reason With `everyone_unsupported`, why the Connection cannot mention; null otherwise.
	Reason nullable.Nullable[MentionUnavailableReason] `json:"reason"`

	// Step The number of the step; null with `pages_nobody`, which concerns the chain as a whole.
	Step nullable.Nullable[int] `json:"step"`
}

EscalationChainWarning defines model for EscalationChainWarning.

type EscalationChainWarningKind

type EscalationChainWarningKind string

EscalationChainWarningKind What the chain or one of its steps cannot do (C-32.FR-17): `everyone_unsupported`, a `page_team` step whose Team mention or word for everyone the Connection of one of the chain's Destinations cannot mention, such as a Telegram Destination; `gateway_deleted`, a `call` step whose Notification gateway was deleted or is no Notification gateway any more; `destination_deleted`, a `webhook` step whose Destination was deleted; `team_deleted`, a `page_team` step whose Team — the one it names, else the chain's owning Team — was deleted; `pages_nobody`, a chain none of whose steps Pages anyone — no `page_on_call`, `page_people`, `page_team` or `call` step, such as an empty chain or one of waits, repeats and webhooks — the only warning of the chain as a whole, with `step` null.

const (
	EscalationChainWarningKindDestinationDeleted  EscalationChainWarningKind = "destination_deleted"
	EscalationChainWarningKindEveryoneUnsupported EscalationChainWarningKind = "everyone_unsupported"
	EscalationChainWarningKindGatewayDeleted      EscalationChainWarningKind = "gateway_deleted"
	EscalationChainWarningKindPagesNobody         EscalationChainWarningKind = "pages_nobody"
	EscalationChainWarningKindTeamDeleted         EscalationChainWarningKind = "team_deleted"
)

Defines values for EscalationChainWarningKind.

func (EscalationChainWarningKind) Valid

func (e EscalationChainWarningKind) Valid() bool

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

type EscalationRun

type EscalationRun struct {
	// AlertGroup The Alert Group of a run.
	AlertGroup EscalationRunAlertGroup `json:"alert_group"`

	// EndedAt When it ran out or stopped; null while it runs.
	EndedAt nullable.Nullable[time.Time] `json:"ended_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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	StartedAt time.Time `json:"started_at"`

	// State The state of a run: `running`, `ran_out` once it passed its last step without an acknowledgement, `stopped` by Acknowledge, Snooze or Resolve.
	State EscalationRunState `json:"state"`

	// Steps The steps it made and skipped, in their order, each made one with its Pages; a repeat makes its steps again. A step is `skipped` here only as a whole; a person a step that was made skipped — a Viewer or a disabled User — is in the Timeline of the Alert Group as `escalation_step_skipped`. Once the details of the Alert Group are removed (C-09.FR-16) a run lists no steps, and so no Pages.
	Steps []EscalationRunStep `json:"steps"`

	// StoppedBy What stopped it; null while it runs and once it ran out.
	StoppedBy nullable.Nullable[EscalationRunStop] `json:"stopped_by"`
}

EscalationRun A run of an Escalation chain on an Alert Group, as "How it went" lists it, with the Pages of its steps.

type EscalationRunAlertGroup

type EscalationRunAlertGroup 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	SeverityLevel SeverityLevel `json:"severity_level"`
	Title         string        `json:"title"`
}

EscalationRunAlertGroup The Alert Group of a run.

type EscalationRunList

type EscalationRunList struct {
	Items      []EscalationRun           `json:"items"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

EscalationRunList defines model for EscalationRunList.

type EscalationRunPage

type EscalationRunPage struct {
	// Everyone The word for everyone in the chat that a `page_team` step wrote instead of a Team mention; null otherwise.
	Everyone nullable.Nullable[PageEveryone] `json:"everyone"`

	// Gateway The Notification gateway of a call, deleted ones included; null for a Page by Mention.
	Gateway nullable.Nullable[EntityRef] `json:"gateway"`

	// Kind `mention`, a Page by Mention in the Threads of the chain's Destinations; `call`, a call through a Notification gateway to the confirmed contact of its person (C-30.FR-4), from a step "Call through a Notification gateway" or a call action of a Notification rule. Later versions add kinds; clients show an unknown one as it is.
	Kind    EscalationRunPageKind    `json:"kind"`
	Outcome EscalationRunPageOutcome `json:"outcome"`

	// Reason Why a Page reached its person nowhere (`page_not_delivered`): the Notification gateway refused the call (`call_refused`), answered what Muster cannot classify (`call_unknown`), or kept failing until the retry budget was used (`call_budget_used`); the person had no confirmed contact at the gateway at the first attempt (`no_confirmed_contact`); the gateway was deleted, or is no Notification gateway any more, before the call was sent (`gateway_deleted`); or the call came due while the gateway was Broken, and is never sent (`gateway_broken`). A Page by Mention (C-32.FR-10): none of its chain's Destinations has the Alert Group's Root message (`no_root_message`), the person has no Account link in the Identity space of any of them (`no_account_link`), or every Thread reply that would mention them ended Not delivered, was withheld while its Destination was Broken, or was never sent because its Root message ended Not delivered (`not_delivered`). Null for the other events of the kind. Later versions add reasons; clients show an unknown one as it is.
	Reason nullable.Nullable[PageNotDeliveredReason] `json:"reason"`

	// Team The Team whose Team mention a `page_team` step wrote; null otherwise.
	Team nullable.Nullable[TeamRef] `json:"team"`

	// Users The people the Page names; empty for a Page of a Team or of everyone in the chat.
	Users []UserRef `json:"users"`
}

EscalationRunPage A Page a step of a run made (C-32.FR-18): its kind, the people it names, or the Team or the word for everyone in the chat of a `page_team` step, the Notification gateway of a call, and its outcome (C-32.FR-10): `pending` until every Thread reply of it ended, even after one reached someone; then `delivered` when one reached a person it names (or, for a Team or everyone in the chat, when one was delivered), else `not_delivered`. A Page that could reach nobody when it was made ends `not_delivered` at once. A call is `pending` until it ends, `delivered` once the gateway accepted it, and `not_delivered` when it ended Not delivered, with its reason, or when it was not made because the chain or the rule that Paged stopped first, as on an acknowledgement, without one (C-30.FR-4). `reason`, only with `not_delivered`: for a Page of people that ended at once, the one reason all its people missed it for, such as `no_account_link`, null when they missed it for several; for one whose Thread replies ended without reaching anyone, `not_delivered`; for a call, why it ended Not delivered, such as `call_refused`; null for a Page of a Team or of everyone in the chat.

type EscalationRunPageKind

type EscalationRunPageKind string

EscalationRunPageKind `mention`, a Page by Mention in the Threads of the chain's Destinations; `call`, a call through a Notification gateway to the confirmed contact of its person (C-30.FR-4), from a step "Call through a Notification gateway" or a call action of a Notification rule. Later versions add kinds; clients show an unknown one as it is.

const (
	EscalationRunPageKindCall    EscalationRunPageKind = "call"
	EscalationRunPageKindMention EscalationRunPageKind = "mention"
)

Defines values for EscalationRunPageKind.

func (EscalationRunPageKind) Valid

func (e EscalationRunPageKind) Valid() bool

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

type EscalationRunPageOutcome

type EscalationRunPageOutcome string

EscalationRunPageOutcome defines model for EscalationRunPage.Outcome.

const (
	EscalationRunPageOutcomeDelivered    EscalationRunPageOutcome = "delivered"
	EscalationRunPageOutcomeNotDelivered EscalationRunPageOutcome = "not_delivered"
	EscalationRunPageOutcomePending      EscalationRunPageOutcome = "pending"
)

Defines values for EscalationRunPageOutcome.

func (EscalationRunPageOutcome) Valid

func (e EscalationRunPageOutcome) Valid() bool

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

type EscalationRunSource

type EscalationRunSource struct {
	Kind EscalationRunSourceKind `json:"kind"`

	// Team The Team, for `team`; null for `route`.
	Team nullable.Nullable[TeamRef] `json:"team"`
}

EscalationRunSource What named the chain of a run on an Alert Group, its Route or one of its Teams.

type EscalationRunSourceKind

type EscalationRunSourceKind string

EscalationRunSourceKind defines model for EscalationRunSource.Kind.

const (
	EscalationRunSourceKindRoute EscalationRunSourceKind = "route"
	EscalationRunSourceKindTeam  EscalationRunSourceKind = "team"
)

Defines values for EscalationRunSourceKind.

func (EscalationRunSourceKind) Valid

func (e EscalationRunSourceKind) Valid() bool

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

type EscalationRunState

type EscalationRunState string

EscalationRunState The state of a run: `running`, `ran_out` once it passed its last step without an acknowledgement, `stopped` by Acknowledge, Snooze or Resolve.

const (
	RanOut  EscalationRunState = "ran_out"
	Running EscalationRunState = "running"
	Stopped EscalationRunState = "stopped"
)

Defines values for EscalationRunState.

func (EscalationRunState) Valid

func (e EscalationRunState) Valid() bool

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

type EscalationRunStep

type EscalationRunStep struct {
	At time.Time `json:"at"`

	// Kind The kind of an Escalation step (C-32.FR-3): Page the On-call of a Schedule (`page_on_call`), Page chosen people (`page_people`), Page a whole Team or everyone in the chat (`page_team`), call through a Notification gateway (`call`), wait (`wait`), send to an outgoing webhook (`webhook`) and repeat from an earlier step (`repeat`).
	Kind    EscalationStepKind       `json:"kind"`
	Number  int                      `json:"number"`
	Outcome EscalationRunStepOutcome `json:"outcome"`

	// Pages The Pages the step made, in the order they were made — its first Mentions, then the later Mentions of the Notification rules it started, which are Pages of the step that started them (C-31.FR-3); empty for a skipped step and for a step that Pages nobody, such as a wait.
	Pages []EscalationRunPage `json:"pages"`

	// Reason Why a step was skipped (`escalation_step_skipped`, C-32.FR-14): outside the Working hours of its chain (`outside_working_hours`), for a Severity level its condition does not meet (`severity`), in a gap of the Schedule it Pages (`schedule_gap`), for a person it names who became a Viewer (`viewer`) or was disabled (`disabled`) since it was saved, or for a step "Send to an outgoing webhook" whose Destination was deleted (`destination_deleted`) or is no longer an outgoing webhook in the mode events or both (`webhook_events_required`), or for a step "Page the whole Team" that none of its chain's Destinations can mention, as a Telegram channel cannot (`no_mention_possible`), or for a step "Call through a Notification gateway" or a call action of a Notification rule whose gateway was deleted or is no Notification gateway any more (`gateway_deleted`), or for a person it would call who has no confirmed contact there (`no_confirmed_contact`), with the person in `paged_users` (C-32.FR-14, C-30.FR-9, C-31.FR-3). Null when the step was made. Later versions add reasons; clients show an unknown one as it is.
	Reason nullable.Nullable[EscalationSkipReason] `json:"reason"`
}

EscalationRunStep A step a run made or skipped, with the reason of a skip and the Pages of a made step.

type EscalationRunStepOutcome

type EscalationRunStepOutcome string

EscalationRunStepOutcome defines model for EscalationRunStep.Outcome.

const (
	EscalationRunStepOutcomeMade    EscalationRunStepOutcome = "made"
	EscalationRunStepOutcomeSkipped EscalationRunStepOutcome = "skipped"
)

Defines values for EscalationRunStepOutcome.

func (EscalationRunStepOutcome) Valid

func (e EscalationRunStepOutcome) Valid() bool

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

type EscalationRunStop

type EscalationRunStop struct {
	Actor       nullable.Nullable[ActorRef]       `json:"actor"`
	Command     EscalationRunStopCommand          `json:"command"`
	Destination nullable.Nullable[DestinationRef] `json:"destination"`
}

EscalationRunStop What stopped a run: the Command `acknowledge`, `snooze` or `resolve`, or `started_over` for a run that a start-over of the chains found still running; the person who ran it, null for Muster, as for a Resolve by the Alerts; and the Destination whose message the Command came from, which this version does not record yet: always null.

type EscalationRunStopCommand

type EscalationRunStopCommand string

EscalationRunStopCommand defines model for EscalationRunStop.Command.

const (
	EscalationRunStopCommandAcknowledge EscalationRunStopCommand = "acknowledge"
	EscalationRunStopCommandResolve     EscalationRunStopCommand = "resolve"
	EscalationRunStopCommandSnooze      EscalationRunStopCommand = "snooze"
	EscalationRunStopCommandStartedOver EscalationRunStopCommand = "started_over"
)

Defines values for EscalationRunStopCommand.

func (EscalationRunStopCommand) Valid

func (e EscalationRunStopCommand) Valid() bool

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

type EscalationSkipReason

type EscalationSkipReason string

EscalationSkipReason Why a step was skipped (`escalation_step_skipped`, C-32.FR-14): outside the Working hours of its chain (`outside_working_hours`), for a Severity level its condition does not meet (`severity`), in a gap of the Schedule it Pages (`schedule_gap`), for a person it names who became a Viewer (`viewer`) or was disabled (`disabled`) since it was saved, or for a step "Send to an outgoing webhook" whose Destination was deleted (`destination_deleted`) or is no longer an outgoing webhook in the mode events or both (`webhook_events_required`), or for a step "Page the whole Team" that none of its chain's Destinations can mention, as a Telegram channel cannot (`no_mention_possible`), or for a step "Call through a Notification gateway" or a call action of a Notification rule whose gateway was deleted or is no Notification gateway any more (`gateway_deleted`), or for a person it would call who has no confirmed contact there (`no_confirmed_contact`), with the person in `paged_users` (C-32.FR-14, C-30.FR-9, C-31.FR-3). Null when the step was made. Later versions add reasons; clients show an unknown one as it is.

const (
	EscalationSkipReasonDestinationDeleted    EscalationSkipReason = "destination_deleted"
	EscalationSkipReasonDisabled              EscalationSkipReason = "disabled"
	EscalationSkipReasonGatewayDeleted        EscalationSkipReason = "gateway_deleted"
	EscalationSkipReasonLessThannil           EscalationSkipReason = "<nil>"
	EscalationSkipReasonNoConfirmedContact    EscalationSkipReason = "no_confirmed_contact"
	EscalationSkipReasonNoMentionPossible     EscalationSkipReason = "no_mention_possible"
	EscalationSkipReasonOutsideWorkingHours   EscalationSkipReason = "outside_working_hours"
	EscalationSkipReasonScheduleGap           EscalationSkipReason = "schedule_gap"
	EscalationSkipReasonSeverity              EscalationSkipReason = "severity"
	EscalationSkipReasonViewer                EscalationSkipReason = "viewer"
	EscalationSkipReasonWebhookEventsRequired EscalationSkipReason = "webhook_events_required"
)

Defines values for EscalationSkipReason.

func (EscalationSkipReason) Valid

func (e EscalationSkipReason) Valid() bool

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

type EscalationStep

type EscalationStep struct {
	// CallTarget With `call`, whom it calls — the On-call of `schedule_id` or the people of `user_ids`.
	CallTarget *EscalationStepCallTarget `json:"call_target,omitempty"`

	// Destination The Destination of `destination_id`, deleted ones included.
	Destination *EntityRef `json:"destination,omitempty"`

	// DestinationId With `webhook`, an outgoing webhook Destination in the mode `events` or `both`, else `422` `webhook_events_required` at it.
	DestinationId *PublicId `json:"destination_id,omitempty"`

	// Everyone With `page_team` instead of `team_id`, the word for everyone in the chat.
	Everyone *EscalationStepEveryone `json:"everyone,omitempty"`

	// Gateway The Notification gateway of `gateway_id`, deleted ones included.
	Gateway *EntityRef `json:"gateway,omitempty"`

	// GatewayId With `call`, the Notification gateway it calls through, required while several exist; omitted while one exists, it is that one, which the read names. A call step while no Notification gateway exists is refused with `422` `gateway_required` at the step (C-30.FR-9).
	GatewayId *PublicId `json:"gateway_id,omitempty"`

	// Importance With `page_on_call` and `page_people`; omitted, `normal`.
	Importance *PageImportance `json:"importance,omitempty"`

	// Kind The kind of an Escalation step (C-32.FR-3): Page the On-call of a Schedule (`page_on_call`), Page chosen people (`page_people`), Page a whole Team or everyone in the chat (`page_team`), call through a Notification gateway (`call`), wait (`wait`), send to an outgoing webhook (`webhook`) and repeat from an earlier step (`repeat`).
	Kind EscalationStepKind `json:"kind"`

	// Number The step's number, from 1, which `repeat_from` and the warnings use.
	Number int `json:"number"`

	// RepeatFrom With `repeat`, the number of an earlier step, from 1, to go back to; else `422` `out_of_range`.
	RepeatFrom *int `json:"repeat_from,omitempty"`

	// RepeatTimes With `repeat`, how many times it goes back, from 1 to 10 (`escalation.limits`).
	RepeatTimes *int `json:"repeat_times,omitempty"`

	// Schedule The Schedule of `schedule_id`.
	Schedule *ScheduleRef `json:"schedule,omitempty"`

	// ScheduleId With `page_on_call`, and with `call` and the `call_target` `on_call`.
	ScheduleId *PublicId `json:"schedule_id,omitempty"`

	// SeverityCondition With the steps that Page or send; omitted, `any`.
	SeverityCondition *SeverityCondition `json:"severity_condition,omitempty"`

	// Team With `page_team` without `everyone`, the Team it Pages — the one `team_id` names, else the chain's owning Team.
	Team *TeamRef `json:"team,omitempty"`

	// TeamId With `page_team`, the Team whose Team mention the step writes; omit it, and `everyone`, for the chain's owning Team.
	TeamId *PublicId `json:"team_id,omitempty"`

	// UserIds With `page_people`, and with `call` and the `call_target` `people`; at least one, each once. A Viewer or a disabled User that the save adds is refused with `422` `not_pageable` at `/steps/{i}/user_ids/{j}`, with the `reason`; one the stored steps already name passes, and is skipped at run time while they may not be Paged (C-32.FR-14).
	UserIds *[]PublicId `json:"user_ids,omitempty"`

	// Users The people of `user_ids`, in their order.
	Users *[]UserRef `json:"users,omitempty"`

	// WaitSeconds With `wait`, a whole number of minutes from 1 to 1,440 (`escalation.limits`) — a multiple of 60 from 60 to 86400 — else `422` `out_of_range` at it.
	WaitSeconds *int `json:"wait_seconds,omitempty"`

	// WorkingHoursOnly With the steps that Page or send; omitted, false. True makes the step only in the Working hours of the chain's owning Team, else the Organization's (C-25.FR-9).
	WorkingHoursOnly *bool `json:"working_hours_only,omitempty"`
}

EscalationStep defines model for EscalationStep.

type EscalationStepCallTarget

type EscalationStepCallTarget string

EscalationStepCallTarget With `call`, whom it calls — the On-call of `schedule_id` or the people of `user_ids`.

const (
	EscalationStepCallTargetOnCall EscalationStepCallTarget = "on_call"
	EscalationStepCallTargetPeople EscalationStepCallTarget = "people"
)

Defines values for EscalationStepCallTarget.

func (EscalationStepCallTarget) Valid

func (e EscalationStepCallTarget) Valid() bool

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

type EscalationStepEveryone

type EscalationStepEveryone string

EscalationStepEveryone With `page_team` instead of `team_id`, the word for everyone in the chat.

const (
	EscalationStepEveryoneAll      EscalationStepEveryone = "all"
	EscalationStepEveryoneChannel  EscalationStepEveryone = "channel"
	EscalationStepEveryoneEveryone EscalationStepEveryone = "everyone"
	EscalationStepEveryoneHere     EscalationStepEveryone = "here"
)

Defines values for EscalationStepEveryone.

func (EscalationStepEveryone) Valid

func (e EscalationStepEveryone) Valid() bool

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

type EscalationStepInput

type EscalationStepInput struct {
	// CallTarget With `call`, whom it calls — the On-call of `schedule_id` or the people of `user_ids`.
	CallTarget *EscalationStepInputCallTarget `json:"call_target,omitempty"`

	// DestinationId With `webhook`, an outgoing webhook Destination in the mode `events` or `both`, else `422` `webhook_events_required` at it.
	DestinationId *PublicId `json:"destination_id,omitempty"`

	// Everyone With `page_team` instead of `team_id`, the word for everyone in the chat.
	Everyone *EscalationStepInputEveryone `json:"everyone,omitempty"`

	// GatewayId With `call`, the Notification gateway it calls through, required while several exist; omitted while one exists, it is that one, which the read names. A call step while no Notification gateway exists is refused with `422` `gateway_required` at the step (C-30.FR-9).
	GatewayId *PublicId `json:"gateway_id,omitempty"`

	// Importance With `page_on_call` and `page_people`; omitted, `normal`.
	Importance *PageImportance `json:"importance,omitempty"`

	// Kind The kind of an Escalation step (C-32.FR-3): Page the On-call of a Schedule (`page_on_call`), Page chosen people (`page_people`), Page a whole Team or everyone in the chat (`page_team`), call through a Notification gateway (`call`), wait (`wait`), send to an outgoing webhook (`webhook`) and repeat from an earlier step (`repeat`).
	Kind EscalationStepKind `json:"kind"`

	// RepeatFrom With `repeat`, the number of an earlier step, from 1, to go back to; else `422` `out_of_range`.
	RepeatFrom *int `json:"repeat_from,omitempty"`

	// RepeatTimes With `repeat`, how many times it goes back, from 1 to 10 (`escalation.limits`).
	RepeatTimes *int `json:"repeat_times,omitempty"`

	// ScheduleId With `page_on_call`, and with `call` and the `call_target` `on_call`.
	ScheduleId *PublicId `json:"schedule_id,omitempty"`

	// SeverityCondition With the steps that Page or send; omitted, `any`.
	SeverityCondition *SeverityCondition `json:"severity_condition,omitempty"`

	// TeamId With `page_team`, the Team whose Team mention the step writes; omit it, and `everyone`, for the chain's owning Team.
	TeamId *PublicId `json:"team_id,omitempty"`

	// UserIds With `page_people`, and with `call` and the `call_target` `people`; at least one, each once. A Viewer or a disabled User that the save adds is refused with `422` `not_pageable` at `/steps/{i}/user_ids/{j}`, with the `reason`; one the stored steps already name passes, and is skipped at run time while they may not be Paged (C-32.FR-14).
	UserIds *[]PublicId `json:"user_ids,omitempty"`

	// WaitSeconds With `wait`, a whole number of minutes from 1 to 1,440 (`escalation.limits`) — a multiple of 60 from 60 to 86400 — else `422` `out_of_range` at it.
	WaitSeconds *int `json:"wait_seconds,omitempty"`

	// WorkingHoursOnly With the steps that Page or send; omitted, false. True makes the step only in the Working hours of the chain's owning Team, else the Organization's (C-25.FR-9).
	WorkingHoursOnly *bool `json:"working_hours_only,omitempty"`
}

EscalationStepInput An Escalation step with the fields of its kind only; a field another kind takes is refused with `422` `unsupported` at it, and a missing one with `required`. `page_on_call` takes `schedule_id`, a Schedule of any Team, and `importance`; `page_people` takes `user_ids` and `importance`; `page_team` takes `team_id` — the chain's owning Team when omitted, and required when the chain has none — or `everyone`; `call` takes `call_target` with `schedule_id` (`on_call`) or `user_ids` (`people`), and `gateway_id`; `wait` takes `wait_seconds`; `webhook` takes `destination_id`; `repeat` takes `repeat_from` and `repeat_times`. The steps that Page or send — every kind but `wait` and `repeat` — also take `working_hours_only` and `severity_condition`. An id that names nothing is refused with `422` `unknown_id` at it.

type EscalationStepInputCallTarget

type EscalationStepInputCallTarget string

EscalationStepInputCallTarget With `call`, whom it calls — the On-call of `schedule_id` or the people of `user_ids`.

const (
	EscalationStepInputCallTargetOnCall EscalationStepInputCallTarget = "on_call"
	EscalationStepInputCallTargetPeople EscalationStepInputCallTarget = "people"
)

Defines values for EscalationStepInputCallTarget.

func (EscalationStepInputCallTarget) Valid

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

type EscalationStepInputEveryone

type EscalationStepInputEveryone string

EscalationStepInputEveryone With `page_team` instead of `team_id`, the word for everyone in the chat.

const (
	EscalationStepInputEveryoneAll      EscalationStepInputEveryone = "all"
	EscalationStepInputEveryoneChannel  EscalationStepInputEveryone = "channel"
	EscalationStepInputEveryoneEveryone EscalationStepInputEveryone = "everyone"
	EscalationStepInputEveryoneHere     EscalationStepInputEveryone = "here"
)

Defines values for EscalationStepInputEveryone.

func (EscalationStepInputEveryone) Valid

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

type EscalationStepKind

type EscalationStepKind string

EscalationStepKind The kind of an Escalation step (C-32.FR-3): Page the On-call of a Schedule (`page_on_call`), Page chosen people (`page_people`), Page a whole Team or everyone in the chat (`page_team`), call through a Notification gateway (`call`), wait (`wait`), send to an outgoing webhook (`webhook`) and repeat from an earlier step (`repeat`).

const (
	EscalationStepKindCall       EscalationStepKind = "call"
	EscalationStepKindPageOnCall EscalationStepKind = "page_on_call"
	EscalationStepKindPagePeople EscalationStepKind = "page_people"
	EscalationStepKindPageTeam   EscalationStepKind = "page_team"
	EscalationStepKindRepeat     EscalationStepKind = "repeat"
	EscalationStepKindWait       EscalationStepKind = "wait"
	EscalationStepKindWebhook    EscalationStepKind = "webhook"
)

Defines values for EscalationStepKind.

func (EscalationStepKind) Valid

func (e EscalationStepKind) Valid() bool

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

type EscalationStepPosition

type EscalationStepPosition struct {
	// Kind The kind of an Escalation step (C-32.FR-3): Page the On-call of a Schedule (`page_on_call`), Page chosen people (`page_people`), Page a whole Team or everyone in the chat (`page_team`), call through a Notification gateway (`call`), wait (`wait`), send to an outgoing webhook (`webhook`) and repeat from an earlier step (`repeat`).
	Kind   EscalationStepKind `json:"kind"`
	Number int                `json:"number"`
}

EscalationStepPosition A step of a run by its number and kind.

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 From

type From = time.Time

From defines model for From.

type GatewayContact

type GatewayContact struct {
	Confirmed   bool                         `json:"confirmed"`
	ConfirmedAt nullable.Nullable[time.Time] `json:"confirmed_at"`
	Connection  EntityRef                    `json:"connection"`
	Contact     string                       `json:"contact"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Replaces The confirmed contact of the same person and gateway that this one replaces once it is confirmed, until then the one called; null for a confirmed contact and without one.
	Replaces nullable.Nullable[NullablePublicId] `json:"replaces"`
}

GatewayContact A person's contact at a Notification gateway. A contact is personal data, not a Secret — its person, Admins and the gateway read it — and the Request log masks it. Only a confirmed contact is called.

type GatewayContactConfirm

type GatewayContactConfirm struct {
	// Code The code the gateway delivered.
	Code *string `json:"code,omitempty"`
}

GatewayContactConfirm defines model for GatewayContactConfirm.

type GatewayContactId

type GatewayContactId = PublicId

GatewayContactId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 GatewayContactInput

type GatewayContactInput 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Contact A phone number or another address the gateway understands, as text; trimmed, 1 to 200 characters. Muster does not check phone numbers.
	Contact string `json:"contact"`
}

GatewayContactInput defines model for GatewayContactInput.

type GatewayContactList

type GatewayContactList struct {
	Items []GatewayContact `json:"items"`
}

GatewayContactList defines model for GatewayContactList.

type GatewayRefused

type GatewayRefused = Problem

GatewayRefused 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 GatewayRefusedApplicationProblemPlusJSONResponse

type GatewayRefusedApplicationProblemPlusJSONResponse Problem

type GatewayState

type GatewayState struct {
	Broken bool `json:"broken"`

	// BrokenSince When it became Broken; null while it is in order.
	BrokenSince nullable.Nullable[time.Time] `json:"broken_since"`

	// NextProbeAt When Muster probes it through `info` next; null while it is in order.
	NextProbeAt nullable.Nullable[time.Time] `json:"next_probe_at"`

	// Reason The error of the call that made it Broken, or of the last probe, or "unavailable after repeated failures: {last error}". Untrusted, from the remote side; Secrets, tokens and the contacts and texts of calls are masked. Null while it is in order.
	Reason nullable.Nullable[string] `json:"reason"`
}

GatewayState The state of a Notification gateway (C-30.FR-8). A call that the gateway answered with a Fatal error, or that used up `delivery.transient_budget`, makes it Broken; calls that come due while it is Broken end Not delivered with `gateway_broken` and are never sent after it recovers. Muster probes it through `info` every `delivery.broken_probe_interval`, and a successful probe or Connection check ends the state.

type GenerateSigningSecret201JSONResponse

type GenerateSigningSecret201JSONResponse SigningSecretGenerated

func (GenerateSigningSecret201JSONResponse) VisitGenerateSigningSecretResponse

func (response GenerateSigningSecret201JSONResponse) VisitGenerateSigningSecretResponse(w http.ResponseWriter) error

type GenerateSigningSecret401ApplicationProblemPlusJSONResponse

type GenerateSigningSecret401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 GetAlertGroupActorStatistics200JSONResponse

type GetAlertGroupActorStatistics200JSONResponse AlertGroupActorStatistics

func (GetAlertGroupActorStatistics200JSONResponse) VisitGetAlertGroupActorStatisticsResponse

func (response GetAlertGroupActorStatistics200JSONResponse) VisitGetAlertGroupActorStatisticsResponse(w http.ResponseWriter) error

type GetAlertGroupActorStatistics400ApplicationProblemPlusJSONResponse

type GetAlertGroupActorStatistics400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (GetAlertGroupActorStatistics400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse

func (response GetAlertGroupActorStatistics400ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse(w http.ResponseWriter) error

type GetAlertGroupActorStatistics401ApplicationProblemPlusJSONResponse

type GetAlertGroupActorStatistics401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetAlertGroupActorStatistics401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse

func (response GetAlertGroupActorStatistics401ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse(w http.ResponseWriter) error

type GetAlertGroupActorStatistics403ApplicationProblemPlusJSONResponse

type GetAlertGroupActorStatistics403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetAlertGroupActorStatistics403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse

func (response GetAlertGroupActorStatistics403ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse(w http.ResponseWriter) error

type GetAlertGroupActorStatistics422ApplicationProblemPlusJSONResponse

type GetAlertGroupActorStatistics422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (GetAlertGroupActorStatistics422ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse

func (response GetAlertGroupActorStatistics422ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse(w http.ResponseWriter) error

type GetAlertGroupActorStatistics429ApplicationProblemPlusJSONResponse

type GetAlertGroupActorStatistics429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetAlertGroupActorStatistics429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse

func (response GetAlertGroupActorStatistics429ApplicationProblemPlusJSONResponse) VisitGetAlertGroupActorStatisticsResponse(w http.ResponseWriter) error

type GetAlertGroupActorStatisticsParams

type GetAlertGroupActorStatisticsParams struct {
	// Route Only the Alert Groups of these Routes (`public_id`); in `getAlertGroupStatistics` with `group_by=route` also the items.
	Route *StatisticsRoute `form:"route,omitempty" json:"route,omitempty"`

	// Integration Only the Alert Groups with Alerts from these Integrations (`public_id`); in `getAlertGroupStatistics` with `group_by=integration` also the items, of those Integrations only.
	Integration *StatisticsIntegration `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. An Alert Group is Urgent exactly when its Severity level is critical.
	Urgent *AgUrgent `form:"urgent,omitempty" json:"urgent,omitempty"`

	// Team Only Alert Groups that have this Team among their Teams (C-25.FR-6), deleted or not, by its `public_id`; or `mine` for those that have any Team of the calling User ("My Teams"; `422` `unsupported` for a Service account token). An unknown Team is `422` `unknown_id`.
	Team *AgTeam `form:"team,omitempty" json:"team,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"`

	// FirstAcknowledgedBy Only Alert Groups whose first acknowledgement this User made (C-09.FR-27), by the User's `public_id`, deleted Users included; or `me`, the calling User (`422` `unsupported` for a Service account token). Only Users acknowledge (C-04.FR-2), so an id that names no User, a Service account's included, is `422` `unknown_id`.
	FirstAcknowledgedBy *AgFirstAcknowledgedBy `form:"first_acknowledged_by,omitempty" json:"first_acknowledged_by,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"`
}

GetAlertGroupActorStatisticsParams defines parameters for GetAlertGroupActorStatistics.

type GetAlertGroupActorStatisticsRequestObject

type GetAlertGroupActorStatisticsRequestObject struct {
	Params GetAlertGroupActorStatisticsParams
}

type GetAlertGroupActorStatisticsResponseObject

type GetAlertGroupActorStatisticsResponseObject interface {
	VisitGetAlertGroupActorStatisticsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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. An Alert Group is Urgent exactly when its Severity level is critical.
	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"`

	// Assignee Only the open Alert Groups where this User is an Assignee (C-32.FR-12, FR-18), by the User's `public_id`, deleted Users included; or `me`, the calling User (`422` `unsupported` for a Service account token). An Alert Group leaves it once acknowledged, snoozed or resolved. An id that names no User is `422` `unknown_id`.
	Assignee *AgAssignee `form:"assignee,omitempty" json:"assignee,omitempty"`

	// Team Only Alert Groups that have this Team among their Teams (C-25.FR-6), deleted or not, by its `public_id`; or `mine` for those that have any Team of the calling User ("My Teams"; `422` `unsupported` for a Service account token). An unknown Team is `422` `unknown_id`.
	Team *AgTeam `form:"team,omitempty" json:"team,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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 the Alert Groups of these Routes (`public_id`); in `getAlertGroupStatistics` with `group_by=route` also the items.
	Route *StatisticsRoute `form:"route,omitempty" json:"route,omitempty"`

	// Integration Only the Alert Groups with Alerts from these Integrations (`public_id`); in `getAlertGroupStatistics` with `group_by=integration` also the items, of those Integrations only.
	Integration *StatisticsIntegration `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. An Alert Group is Urgent exactly when its Severity level is critical.
	Urgent *AgUrgent `form:"urgent,omitempty" json:"urgent,omitempty"`

	// Team Only Alert Groups that have this Team among their Teams (C-25.FR-6), deleted or not, by its `public_id`; or `mine` for those that have any Team of the calling User ("My Teams"; `422` `unsupported` for a Service account token). An unknown Team is `422` `unknown_id`.
	Team *AgTeam `form:"team,omitempty" json:"team,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"`

	// FirstAcknowledgedBy Only Alert Groups whose first acknowledgement this User made (C-09.FR-27), by the User's `public_id`, deleted Users included; or `me`, the calling User (`422` `unsupported` for a Service account token). Only Users acknowledge (C-04.FR-2), so an id that names no User, a Service account's included, is `422` `unknown_id`.
	FirstAcknowledgedBy *AgFirstAcknowledgedBy `form:"first_acknowledged_by,omitempty" json:"first_acknowledged_by,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"
	GetAlertGroupStatisticsParamsGroupByTeam        GetAlertGroupStatisticsParamsGroupBy = "team"
)

Defines values for GetAlertGroupStatisticsParamsGroupBy.

func (GetAlertGroupStatisticsParamsGroupBy) Valid

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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.

Defines values for GetAlertGroupTimelineParamsOrder.

func (GetAlertGroupTimelineParamsOrder) Valid

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 GetEscalationChain200JSONResponse

type GetEscalationChain200JSONResponse struct {
	Body    EscalationChain
	Headers GetEscalationChain200ResponseHeaders
}

func (GetEscalationChain200JSONResponse) VisitGetEscalationChainResponse

func (response GetEscalationChain200JSONResponse) VisitGetEscalationChainResponse(w http.ResponseWriter) error

type GetEscalationChain200ResponseHeaders

type GetEscalationChain200ResponseHeaders struct {
	ETag *string
}

type GetEscalationChain401ApplicationProblemPlusJSONResponse

type GetEscalationChain401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetEscalationChain401ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse

func (response GetEscalationChain401ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse(w http.ResponseWriter) error

type GetEscalationChain403ApplicationProblemPlusJSONResponse

type GetEscalationChain403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetEscalationChain403ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse

func (response GetEscalationChain403ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse(w http.ResponseWriter) error

type GetEscalationChain404ApplicationProblemPlusJSONResponse

type GetEscalationChain404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetEscalationChain404ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse

func (response GetEscalationChain404ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse(w http.ResponseWriter) error

type GetEscalationChain429ApplicationProblemPlusJSONResponse

type GetEscalationChain429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetEscalationChain429ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse

func (response GetEscalationChain429ApplicationProblemPlusJSONResponse) VisitGetEscalationChainResponse(w http.ResponseWriter) error

type GetEscalationChainRequestObject

type GetEscalationChainRequestObject struct {
	EscalationChainId EscalationChainId `json:"escalation_chain_id"`
}

type GetEscalationChainResponseObject

type GetEscalationChainResponseObject interface {
	VisitGetEscalationChainResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMe401ApplicationProblemPlusJSONResponse) VisitGetMeResponse

type GetMe403ApplicationProblemPlusJSONResponse

type GetMe403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetMe403ApplicationProblemPlusJSONResponse) VisitGetMeResponse

type GetMe429ApplicationProblemPlusJSONResponse

type GetMe429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetMe429ApplicationProblemPlusJSONResponse) VisitGetMeResponse

type GetMeRequestObject

type GetMeRequestObject struct {
}

type GetMeResponseObject

type GetMeResponseObject interface {
	VisitGetMeResponse(w http.ResponseWriter) error
}

type GetMyIcalFeed200JSONResponse

type GetMyIcalFeed200JSONResponse IcalFeed

func (GetMyIcalFeed200JSONResponse) VisitGetMyIcalFeedResponse

func (response GetMyIcalFeed200JSONResponse) VisitGetMyIcalFeedResponse(w http.ResponseWriter) error

type GetMyIcalFeed401ApplicationProblemPlusJSONResponse

type GetMyIcalFeed401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMyIcalFeed401ApplicationProblemPlusJSONResponse) VisitGetMyIcalFeedResponse

func (response GetMyIcalFeed401ApplicationProblemPlusJSONResponse) VisitGetMyIcalFeedResponse(w http.ResponseWriter) error

type GetMyIcalFeed403ApplicationProblemPlusJSONResponse

type GetMyIcalFeed403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetMyIcalFeed403ApplicationProblemPlusJSONResponse) VisitGetMyIcalFeedResponse

func (response GetMyIcalFeed403ApplicationProblemPlusJSONResponse) VisitGetMyIcalFeedResponse(w http.ResponseWriter) error

type GetMyIcalFeed429ApplicationProblemPlusJSONResponse

type GetMyIcalFeed429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetMyIcalFeed429ApplicationProblemPlusJSONResponse) VisitGetMyIcalFeedResponse

func (response GetMyIcalFeed429ApplicationProblemPlusJSONResponse) VisitGetMyIcalFeedResponse(w http.ResponseWriter) error

type GetMyIcalFeedRequestObject

type GetMyIcalFeedRequestObject struct {
}

type GetMyIcalFeedResponseObject

type GetMyIcalFeedResponseObject interface {
	VisitGetMyIcalFeedResponse(w http.ResponseWriter) error
}

type GetMyNotificationRules200JSONResponse

type GetMyNotificationRules200JSONResponse struct {
	Body    NotificationRules
	Headers GetMyNotificationRules200ResponseHeaders
}

func (GetMyNotificationRules200JSONResponse) VisitGetMyNotificationRulesResponse

func (response GetMyNotificationRules200JSONResponse) VisitGetMyNotificationRulesResponse(w http.ResponseWriter) error

type GetMyNotificationRules200ResponseHeaders

type GetMyNotificationRules200ResponseHeaders struct {
	ETag *string
}

type GetMyNotificationRules401ApplicationProblemPlusJSONResponse

type GetMyNotificationRules401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMyNotificationRules401ApplicationProblemPlusJSONResponse) VisitGetMyNotificationRulesResponse

func (response GetMyNotificationRules401ApplicationProblemPlusJSONResponse) VisitGetMyNotificationRulesResponse(w http.ResponseWriter) error

type GetMyNotificationRules403ApplicationProblemPlusJSONResponse

type GetMyNotificationRules403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetMyNotificationRules403ApplicationProblemPlusJSONResponse) VisitGetMyNotificationRulesResponse

func (response GetMyNotificationRules403ApplicationProblemPlusJSONResponse) VisitGetMyNotificationRulesResponse(w http.ResponseWriter) error

type GetMyNotificationRules429ApplicationProblemPlusJSONResponse

type GetMyNotificationRules429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetMyNotificationRules429ApplicationProblemPlusJSONResponse) VisitGetMyNotificationRulesResponse

func (response GetMyNotificationRules429ApplicationProblemPlusJSONResponse) VisitGetMyNotificationRulesResponse(w http.ResponseWriter) error

type GetMyNotificationRulesRequestObject

type GetMyNotificationRulesRequestObject struct {
}

type GetMyNotificationRulesResponseObject

type GetMyNotificationRulesResponseObject interface {
	VisitGetMyNotificationRulesResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 GetOnCallNow200JSONResponse

type GetOnCallNow200JSONResponse OnCallNow

func (GetOnCallNow200JSONResponse) VisitGetOnCallNowResponse

func (response GetOnCallNow200JSONResponse) VisitGetOnCallNowResponse(w http.ResponseWriter) error

type GetOnCallNow400ApplicationProblemPlusJSONResponse

type GetOnCallNow400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (GetOnCallNow400ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse

func (response GetOnCallNow400ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse(w http.ResponseWriter) error

type GetOnCallNow401ApplicationProblemPlusJSONResponse

type GetOnCallNow401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetOnCallNow401ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse

func (response GetOnCallNow401ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse(w http.ResponseWriter) error

type GetOnCallNow403ApplicationProblemPlusJSONResponse

type GetOnCallNow403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetOnCallNow403ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse

func (response GetOnCallNow403ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse(w http.ResponseWriter) error

type GetOnCallNow422ApplicationProblemPlusJSONResponse

type GetOnCallNow422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (GetOnCallNow422ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse

func (response GetOnCallNow422ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse(w http.ResponseWriter) error

type GetOnCallNow429ApplicationProblemPlusJSONResponse

type GetOnCallNow429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetOnCallNow429ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse

func (response GetOnCallNow429ApplicationProblemPlusJSONResponse) VisitGetOnCallNowResponse(w http.ResponseWriter) error

type GetOnCallNowParams

type GetOnCallNowParams struct {
	// Teams `all`, the default, lists every Team; `mine` the Teams of the calling User, as "My Teams". A Service account is in no Team, so its `mine` is refused with `422` `unsupported` at `/query/teams`.
	Teams *GetOnCallNowParamsTeams `form:"teams,omitempty" json:"teams,omitempty"`
}

GetOnCallNowParams defines parameters for GetOnCallNow.

type GetOnCallNowParamsTeams

type GetOnCallNowParamsTeams string

GetOnCallNowParamsTeams defines parameters for GetOnCallNow.

const (
	GetOnCallNowParamsTeamsAll  GetOnCallNowParamsTeams = "all"
	GetOnCallNowParamsTeamsMine GetOnCallNowParamsTeams = "mine"
)

Defines values for GetOnCallNowParamsTeams.

func (GetOnCallNowParamsTeams) Valid

func (e GetOnCallNowParamsTeams) Valid() bool

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

type GetOnCallNowRequestObject

type GetOnCallNowRequestObject struct {
	Params GetOnCallNowParams
}

type GetOnCallNowResponseObject

type GetOnCallNowResponseObject interface {
	VisitGetOnCallNowResponse(w http.ResponseWriter) error
}

type GetOpenApiSpec200ApplicationyamlResponse

type GetOpenApiSpec200ApplicationyamlResponse struct {
	Body          io.Reader
	ContentLength int64
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 GetRequestRecord200JSONResponse

type GetRequestRecord200JSONResponse RequestRecord

func (GetRequestRecord200JSONResponse) VisitGetRequestRecordResponse

func (response GetRequestRecord200JSONResponse) VisitGetRequestRecordResponse(w http.ResponseWriter) error

type GetRequestRecord401ApplicationProblemPlusJSONResponse

type GetRequestRecord401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetRequestRecord401ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse

func (response GetRequestRecord401ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse(w http.ResponseWriter) error

type GetRequestRecord403ApplicationProblemPlusJSONResponse

type GetRequestRecord403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetRequestRecord403ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse

func (response GetRequestRecord403ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse(w http.ResponseWriter) error

type GetRequestRecord404ApplicationProblemPlusJSONResponse

type GetRequestRecord404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetRequestRecord404ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse

func (response GetRequestRecord404ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse(w http.ResponseWriter) error

type GetRequestRecord429ApplicationProblemPlusJSONResponse

type GetRequestRecord429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetRequestRecord429ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse

func (response GetRequestRecord429ApplicationProblemPlusJSONResponse) VisitGetRequestRecordResponse(w http.ResponseWriter) error

type GetRequestRecordRequestObject

type GetRequestRecordRequestObject struct {
	RequestRecordId RequestRecordId `json:"request_record_id"`
}

type GetRequestRecordResponseObject

type GetRequestRecordResponseObject interface {
	VisitGetRequestRecordResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 GetSchedule200JSONResponse

type GetSchedule200JSONResponse struct {
	Body    Schedule
	Headers GetSchedule200ResponseHeaders
}

func (GetSchedule200JSONResponse) VisitGetScheduleResponse

func (response GetSchedule200JSONResponse) VisitGetScheduleResponse(w http.ResponseWriter) error

type GetSchedule200ResponseHeaders

type GetSchedule200ResponseHeaders struct {
	ETag *string
}

type GetSchedule401ApplicationProblemPlusJSONResponse

type GetSchedule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetSchedule401ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse

func (response GetSchedule401ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse(w http.ResponseWriter) error

type GetSchedule403ApplicationProblemPlusJSONResponse

type GetSchedule403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetSchedule403ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse

func (response GetSchedule403ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse(w http.ResponseWriter) error

type GetSchedule404ApplicationProblemPlusJSONResponse

type GetSchedule404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetSchedule404ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse

func (response GetSchedule404ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse(w http.ResponseWriter) error

type GetSchedule429ApplicationProblemPlusJSONResponse

type GetSchedule429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetSchedule429ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse

func (response GetSchedule429ApplicationProblemPlusJSONResponse) VisitGetScheduleResponse(w http.ResponseWriter) error

type GetScheduleOnCall200JSONResponse

type GetScheduleOnCall200JSONResponse ScheduleOnCall

func (GetScheduleOnCall200JSONResponse) VisitGetScheduleOnCallResponse

func (response GetScheduleOnCall200JSONResponse) VisitGetScheduleOnCallResponse(w http.ResponseWriter) error

type GetScheduleOnCall400ApplicationProblemPlusJSONResponse

type GetScheduleOnCall400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (GetScheduleOnCall400ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse

func (response GetScheduleOnCall400ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse(w http.ResponseWriter) error

type GetScheduleOnCall401ApplicationProblemPlusJSONResponse

type GetScheduleOnCall401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetScheduleOnCall401ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse

func (response GetScheduleOnCall401ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse(w http.ResponseWriter) error

type GetScheduleOnCall403ApplicationProblemPlusJSONResponse

type GetScheduleOnCall403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetScheduleOnCall403ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse

func (response GetScheduleOnCall403ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse(w http.ResponseWriter) error

type GetScheduleOnCall404ApplicationProblemPlusJSONResponse

type GetScheduleOnCall404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetScheduleOnCall404ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse

func (response GetScheduleOnCall404ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse(w http.ResponseWriter) error

type GetScheduleOnCall422ApplicationProblemPlusJSONResponse

type GetScheduleOnCall422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (GetScheduleOnCall422ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse

func (response GetScheduleOnCall422ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse(w http.ResponseWriter) error

type GetScheduleOnCall429ApplicationProblemPlusJSONResponse

type GetScheduleOnCall429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetScheduleOnCall429ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse

func (response GetScheduleOnCall429ApplicationProblemPlusJSONResponse) VisitGetScheduleOnCallResponse(w http.ResponseWriter) error

type GetScheduleOnCallParams

type GetScheduleOnCallParams struct {
	// From The start of the period (RFC 3339); the business clock's now by default.
	From *time.Time `form:"from,omitempty" json:"from,omitempty"`

	// To The end of the period (RFC 3339); `schedule.gap_view` after `from` by default.
	To *time.Time `form:"to,omitempty" json:"to,omitempty"`
}

GetScheduleOnCallParams defines parameters for GetScheduleOnCall.

type GetScheduleOnCallRequestObject

type GetScheduleOnCallRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
	Params     GetScheduleOnCallParams
}

type GetScheduleOnCallResponseObject

type GetScheduleOnCallResponseObject interface {
	VisitGetScheduleOnCallResponse(w http.ResponseWriter) error
}

type GetScheduleRequestObject

type GetScheduleRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
}

type GetScheduleResponseObject

type GetScheduleResponseObject interface {
	VisitGetScheduleResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 GetTeam200JSONResponse

type GetTeam200JSONResponse struct {
	Body    Team
	Headers GetTeam200ResponseHeaders
}

func (GetTeam200JSONResponse) VisitGetTeamResponse

func (response GetTeam200JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam200ResponseHeaders

type GetTeam200ResponseHeaders struct {
	ETag *string
}

type GetTeam401ApplicationProblemPlusJSONResponse

type GetTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetTeam401ApplicationProblemPlusJSONResponse) VisitGetTeamResponse

func (response GetTeam401ApplicationProblemPlusJSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam403ApplicationProblemPlusJSONResponse

type GetTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetTeam403ApplicationProblemPlusJSONResponse) VisitGetTeamResponse

func (response GetTeam403ApplicationProblemPlusJSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam404ApplicationProblemPlusJSONResponse

type GetTeam404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetTeam404ApplicationProblemPlusJSONResponse) VisitGetTeamResponse

func (response GetTeam404ApplicationProblemPlusJSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam429ApplicationProblemPlusJSONResponse

type GetTeam429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetTeam429ApplicationProblemPlusJSONResponse) VisitGetTeamResponse

func (response GetTeam429ApplicationProblemPlusJSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeamRequestObject

type GetTeamRequestObject struct {
	TeamId TeamId `json:"team_id"`
}

type GetTeamResponseObject

type GetTeamResponseObject interface {
	VisitGetTeamResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 GetUserNotificationRules200JSONResponse

type GetUserNotificationRules200JSONResponse struct {
	Body    NotificationRules
	Headers GetUserNotificationRules200ResponseHeaders
}

func (GetUserNotificationRules200JSONResponse) VisitGetUserNotificationRulesResponse

func (response GetUserNotificationRules200JSONResponse) VisitGetUserNotificationRulesResponse(w http.ResponseWriter) error

type GetUserNotificationRules200ResponseHeaders

type GetUserNotificationRules200ResponseHeaders struct {
	ETag *string
}

type GetUserNotificationRules401ApplicationProblemPlusJSONResponse

type GetUserNotificationRules401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetUserNotificationRules401ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse

func (response GetUserNotificationRules401ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse(w http.ResponseWriter) error

type GetUserNotificationRules403ApplicationProblemPlusJSONResponse

type GetUserNotificationRules403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetUserNotificationRules403ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse

func (response GetUserNotificationRules403ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse(w http.ResponseWriter) error

type GetUserNotificationRules404ApplicationProblemPlusJSONResponse

type GetUserNotificationRules404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetUserNotificationRules404ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse

func (response GetUserNotificationRules404ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse(w http.ResponseWriter) error

type GetUserNotificationRules429ApplicationProblemPlusJSONResponse

type GetUserNotificationRules429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetUserNotificationRules429ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse

func (response GetUserNotificationRules429ApplicationProblemPlusJSONResponse) VisitGetUserNotificationRulesResponse(w http.ResponseWriter) error

type GetUserNotificationRulesRequestObject

type GetUserNotificationRulesRequestObject struct {
	UserId UserId `json:"user_id"`
}

type GetUserNotificationRulesResponseObject

type GetUserNotificationRulesResponseObject interface {
	VisitGetUserNotificationRulesResponse(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"`

	// Delivery Absent when the request gave neither `destination_entries` nor `deliver_to_teams` and no `route_id`.
	Delivery      *DeliveryPreview    `json:"delivery,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 {
	// DeliverToTeams The unsaved "Also to the Teams from the label"; the saved Route's when absent and `route_id` is given, else false.
	DeliverToTeams *bool `json:"deliver_to_teams,omitempty"`

	// DestinationEntries The unsaved Destinations of the Route with their Severity conditions; the saved Route's when absent and `route_id` is given, else none.
	DestinationEntries *[]DestinationEntry `json:"destination_entries,omitempty"`

	// Matchers Matchers to preview instead of, or without, a saved Route's own.
	Matchers *[]Matcher `json:"matchers,omitempty"`

	// MinimumSeverity The unsaved Minimum severity of the Route; the saved Route's when absent and `route_id` is given, else `none`.
	MinimumSeverity *MinimumSeverity `json:"minimum_severity,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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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, the runs of its Escalation chains): 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`, `team`, `schedule`, `escalation-chain` | 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` | the Account link `public_id`, or null when several changed at once | An Account link of the signed-in user appeared, changed 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"
	HintEventTypeEscalationChain HintEventType = "escalation-chain"
	HintEventTypeIntegration     HintEventType = "integration"
	HintEventTypeOrganization    HintEventType = "organization"
	HintEventTypeRoute           HintEventType = "route"
	HintEventTypeSchedule        HintEventType = "schedule"
	HintEventTypeSystemNotices   HintEventType = "system-notices"
	HintEventTypeSystemStatus    HintEventType = "system-status"
	HintEventTypeTeam            HintEventType = "team"
)

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 HttpHeaders

type HttpHeaders map[string][]string

HttpHeaders HTTP headers by name, each with its values, masked. Untrusted text.

type IcalFeed

type IcalFeed struct {
	// Exists Whether the caller has an iCal feed.
	Exists bool `json:"exists"`

	// IssuedAt When the feed was issued; null without one.
	IssuedAt nullable.Nullable[time.Time] `json:"issued_at"`
}

IcalFeed defines model for IcalFeed.

type IcalFeedIssued

type IcalFeedIssued struct {
	IssuedAt time.Time `json:"issued_at"`

	// Url The link of the feed, `MUSTER_PUBLIC_URL/ical/{token}.ics`, whose token starts with `mstr_cal_`. Shown once.
	Url string `json:"url"`
}

IcalFeedIssued defines model for IcalFeedIssued.

type IfMatch

type IfMatch = string

IfMatch defines model for IfMatch.

type IfMatchOptional

type IfMatchOptional = string

IfMatchOptional defines model for IfMatchOptional.

type InUseRef

type InUseRef 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 InUseRefType `json:"type"`
}

InUseRef An object that holds the resource a deletion refuses.

type InUseRefType

type InUseRefType string

InUseRefType defines model for InUseRef.Type.

const (
	InUseRefTypeEscalationChain InUseRefType = "escalation_chain"
	InUseRefTypeRoute           InUseRefType = "route"
	InUseRefTypeSchedule        InUseRefType = "schedule"
	InUseRefTypeTeam            InUseRefType = "team"
)

Defines values for InUseRefType.

func (InUseRefType) Valid

func (e InUseRefType) Valid() bool

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

type IngestSnapshot202Response

type IngestSnapshot202Response struct {
}

func (IngestSnapshot202Response) VisitIngestSnapshotResponse

func (response IngestSnapshot202Response) VisitIngestSnapshotResponse(w http.ResponseWriter) error

type IngestSnapshot401ApplicationProblemPlusJSONResponse

type IngestSnapshot401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 IngestSnapshotRequestObject

type IngestSnapshotRequestObject struct {
	ContentType string
	Body        io.Reader
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,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"`

	// Teams The Teams the Alert belongs to, decided when it last started firing (C-25.FR-5).
	Teams []TeamMembership `json:"teams"`
}

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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// 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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// 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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 {
	// Error For `snapshot_failed`; why processing failed, as `processing_error` of that Stored Snapshot, for example `the webhook has no groupKey`. The sender still got `202`.
	Error                 nullable.Nullable[string] `json:"error,omitempty"`
	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`, the time of the last signal; for `snapshot_failed`, the time the failed Stored Snapshot was received.
	Since nullable.Nullable[time.Time] `json:"since,omitempty"`

	// SnapshotId For `snapshot_failed`; the id of the newest Stored Snapshot of the Integration, which failed. The warning stands until a later Snapshot is processed.
	SnapshotId nullable.Nullable[string] `json:"snapshot_id,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"
	IntegrationWarningKindSnapshotFailed         IntegrationWarningKind = "snapshot_failed"
	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

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type IssueMyIcalFeed201JSONResponse

type IssueMyIcalFeed201JSONResponse IcalFeedIssued

func (IssueMyIcalFeed201JSONResponse) VisitIssueMyIcalFeedResponse

func (response IssueMyIcalFeed201JSONResponse) VisitIssueMyIcalFeedResponse(w http.ResponseWriter) error

type IssueMyIcalFeed401ApplicationProblemPlusJSONResponse

type IssueMyIcalFeed401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (IssueMyIcalFeed401ApplicationProblemPlusJSONResponse) VisitIssueMyIcalFeedResponse

func (response IssueMyIcalFeed401ApplicationProblemPlusJSONResponse) VisitIssueMyIcalFeedResponse(w http.ResponseWriter) error

type IssueMyIcalFeed403ApplicationProblemPlusJSONResponse

type IssueMyIcalFeed403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (IssueMyIcalFeed403ApplicationProblemPlusJSONResponse) VisitIssueMyIcalFeedResponse

func (response IssueMyIcalFeed403ApplicationProblemPlusJSONResponse) VisitIssueMyIcalFeedResponse(w http.ResponseWriter) error

type IssueMyIcalFeed429ApplicationProblemPlusJSONResponse

type IssueMyIcalFeed429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (IssueMyIcalFeed429ApplicationProblemPlusJSONResponse) VisitIssueMyIcalFeedResponse

func (response IssueMyIcalFeed429ApplicationProblemPlusJSONResponse) VisitIssueMyIcalFeedResponse(w http.ResponseWriter) error

type IssueMyIcalFeedRequestObject

type IssueMyIcalFeedRequestObject struct {
}

type IssueMyIcalFeedResponseObject

type IssueMyIcalFeedResponseObject interface {
	VisitIssueMyIcalFeedResponse(w http.ResponseWriter) 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, an open Root message or a call through a Notification gateway that its person may still acknowledge still depends on the key.
	Needed bool `json:"needed"`

	// Removable The key is no longer used and can be removed from `MUSTER_SECRET_KEYS`. Only a key that was active before can be removable; a key that was never active is `not_active_yet`, to be activated, never removed.
	Removable bool `json:"removable"`

	// State `active`; else `needed` when a stored Secret, an open Root message or a call through a Notification gateway still depends on the key; else `removable` when it was active before; else `not_active_yet`: a key that was never active, such as one added for a rotation.
	State KeyringKeyState `json:"state"`
}

KeyringKey defines model for KeyringKey.

type KeyringKeyState

type KeyringKeyState string

KeyringKeyState `active`; else `needed` when a stored Secret, an open Root message or a call through a Notification gateway still depends on the key; else `removable` when it was active before; else `not_active_yet`: a key that was never active, such as one added for a rotation.

const (
	KeyringKeyStateActive       KeyringKeyState = "active"
	KeyringKeyStateNeeded       KeyringKeyState = "needed"
	KeyringKeyStateNotActiveYet KeyringKeyState = "not_active_yet"
	KeyringKeyStateRemovable    KeyringKeyState = "removable"
)

Defines values for KeyringKeyState.

func (KeyringKeyState) Valid

func (e KeyringKeyState) Valid() bool

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

type LabelMatchers

type LabelMatchers = []string

LabelMatchers defines model for LabelMatchers.

type Labels

type Labels map[string]string

Labels Label names and values.

type Language

type Language string

Language defines model for Language.

const (
	LanguageEn Language = "en"
	LanguageRu Language = "ru"
)

Defines values for Language.

func (Language) Valid

func (e Language) Valid() bool

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

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"
	LifecycleEventAssigneesChanged      LifecycleEvent = "assignees_changed"
	LifecycleEventAutoUnacknowledged    LifecycleEvent = "auto_unacknowledged"
	LifecycleEventCreated               LifecycleEvent = "created"
	LifecycleEventDestinationJoined     LifecycleEvent = "destination_joined"
	LifecycleEventEscalationStepSkipped LifecycleEvent = "escalation_step_skipped"
	LifecycleEventEscalationWebhook     LifecycleEvent = "escalation_webhook"
	LifecycleEventMovedToDefaultRoute   LifecycleEvent = "moved_to_default_route"
	LifecycleEventNoteAdded             LifecycleEvent = "note_added"
	LifecycleEventNoticesMissed         LifecycleEvent = "notices_missed"
	LifecycleEventPageNotDelivered      LifecycleEvent = "page_not_delivered"
	LifecycleEventPaged                 LifecycleEvent = "paged"
	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"
	LifecycleEventTeamJoined            LifecycleEvent = "team_joined"
	LifecycleEventUnacknowledged        LifecycleEvent = "unacknowledged"
	LifecycleEventUnclaimed             LifecycleEvent = "unclaimed"
	LifecycleEventUnknownTeamValue      LifecycleEvent = "unknown_team_value"
	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 Limit

type Limit = int

Limit defines model for Limit.

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 Limiter

type Limiter struct {
	Limit      int `json:"limit"`
	PerSeconds int `json:"per_seconds"`
}

Limiter A rate limit of `limit` calls per `per_seconds`.

type LinkHandleKind

type LinkHandleKind string

LinkHandleKind Set on Bridge Connections only; the kind of handle a code needs, the `user_lookup` of the Connection's last `info`, which labels the handle field — Email, Login, Username or User id. Null when no code is offered.

const (
	LinkHandleKindEmail       LinkHandleKind = "email"
	LinkHandleKindLessThannil LinkHandleKind = "<nil>"
	LinkHandleKindLogin       LinkHandleKind = "login"
	LinkHandleKindUserId      LinkHandleKind = "user_id"
	LinkHandleKindUsername    LinkHandleKind = "username"
)

Defines values for LinkHandleKind.

func (LinkHandleKind) Valid

func (e LinkHandleKind) Valid() bool

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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	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 {
	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 {
	// HandleKind Set on Bridge Connections only; the kind of handle a code needs, the `user_lookup` of the Connection's last `info`, which labels the handle field — Email, Login, Username or User id. Null when no code is offered.
	HandleKind nullable.Nullable[LinkHandleKind] `json:"handle_kind,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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// LinkMethods Set on Bridge Connections only, from the Connection's last `info`; `token`, a token sent to the bot, always, and `code`, a code sent by direct message, where `info` declares `direct_messages` with `bot_can_start` and a `user_lookup` other than `none`. Only `token` while Muster has not read `info`.
	LinkMethods *[]LinkableConnectionLinkMethods `json:"link_methods,omitempty"`
	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. A Bridge Connection also says how an account can be linked through it; a Slack Connection has neither `link_methods` nor `handle_kind`, since its accounts link by a code sent by direct message.

type LinkableConnectionLinkMethods

type LinkableConnectionLinkMethods string

LinkableConnectionLinkMethods defines model for LinkableConnection.LinkMethods.

const (
	LinkableConnectionLinkMethodsCode  LinkableConnectionLinkMethods = "code"
	LinkableConnectionLinkMethodsToken LinkableConnectionLinkMethods = "token"
)

Defines values for LinkableConnectionLinkMethods.

func (LinkableConnectionLinkMethods) Valid

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

type LinkableConnectionList

type LinkableConnectionList struct {
	Items []LinkableConnection `json:"items"`
}

LinkableConnectionList defines model for LinkableConnectionList.

type LinkedMessenger

type LinkedMessenger struct {
	Connection EntityRef      `json:"connection"`
	Type       ConnectionType `json:"type"`
}

LinkedMessenger A messenger account the person linked (an Account link), through the Connection named.

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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. An Alert Group is Urgent exactly when its Severity level is critical.
	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"`

	// Assignee Only the open Alert Groups where this User is an Assignee (C-32.FR-12, FR-18), by the User's `public_id`, deleted Users included; or `me`, the calling User (`422` `unsupported` for a Service account token). An Alert Group leaves it once acknowledged, snoozed or resolved. An id that names no User is `422` `unknown_id`.
	Assignee *AgAssignee `form:"assignee,omitempty" json:"assignee,omitempty"`

	// Team Only Alert Groups that have this Team among their Teams (C-25.FR-6), deleted or not, by its `public_id`; or `mine` for those that have any Team of the calling User ("My Teams"; `422` `unsupported` for a Service account token). An unknown Team is `422` `unknown_id`.
	Team *AgTeam `form:"team,omitempty" json:"team,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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ConnectionChannelList

func (ListConnectionChannels200JSONResponse) MarshalJSON

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

func (*ListConnectionChannels200JSONResponse) UnmarshalJSON

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

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 (Mattermost); a Slack Connection ignores it.
	TeamId *string `form:"team_id,omitempty" json:"team_id,omitempty"`

	// Q Only channels whose name, or a Mattermost channel's display name, contains this text, regardless of case.
	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 ListConnectionGroups200JSONResponse

type ListConnectionGroups200JSONResponse ConnectionGroupList

func (ListConnectionGroups200JSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups200JSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroups400ApplicationProblemPlusJSONResponse

type ListConnectionGroups400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListConnectionGroups400ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups400ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroups401ApplicationProblemPlusJSONResponse

type ListConnectionGroups401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListConnectionGroups401ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups401ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroups403ApplicationProblemPlusJSONResponse

type ListConnectionGroups403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListConnectionGroups403ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups403ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroups404ApplicationProblemPlusJSONResponse

type ListConnectionGroups404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListConnectionGroups404ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups404ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroups409ApplicationProblemPlusJSONResponse

type ListConnectionGroups409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (ListConnectionGroups409ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups409ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroups429ApplicationProblemPlusJSONResponse

type ListConnectionGroups429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListConnectionGroups429ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups429ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroups503ApplicationProblemPlusJSONResponse

type ListConnectionGroups503ApplicationProblemPlusJSONResponse struct {
	LimitedApplicationProblemPlusJSONResponse
}

func (ListConnectionGroups503ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse

func (response ListConnectionGroups503ApplicationProblemPlusJSONResponse) VisitListConnectionGroupsResponse(w http.ResponseWriter) error

type ListConnectionGroupsParams

type ListConnectionGroupsParams struct {
	// Q Only groups whose name or display name contains this text, regardless of case.
	Q *string `form:"q,omitempty" json:"q,omitempty"`
}

ListConnectionGroupsParams defines parameters for ListConnectionGroups.

type ListConnectionGroupsRequestObject

type ListConnectionGroupsRequestObject struct {
	ConnectionId ConnectionId `json:"connection_id"`
	Params       ListConnectionGroupsParams
}

type ListConnectionGroupsResponseObject

type ListConnectionGroupsResponseObject interface {
	VisitListConnectionGroupsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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"`

	// Role Filter by role: `messenger` lists every Mattermost, Telegram and Slack Connection and the Bridge Connections whose stored `info` has the role `messenger`, which a bridge that declares no roles has; `gateway` only the Bridge Connections whose stored `info` has the role `gateway`.
	Role *BridgeInfoRole `form:"role,omitempty" json:"role,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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListDestinations422ApplicationProblemPlusJSONResponse

type ListDestinations422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ListDestinations422ApplicationProblemPlusJSONResponse) VisitListDestinationsResponse

func (response ListDestinations422ApplicationProblemPlusJSONResponse) 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"`

	// Team Only what this Team owns (its `public_id`), or with `mine` what the Teams of the calling User own — "My Teams". A Service account has no Teams, so its `mine` is refused with `422` `unsupported`. A value that names no Team, or a deleted one, matches nothing.
	Team *OwningTeamQuery `form:"team,omitempty" json:"team,omitempty"`
}

ListDestinationsParams defines parameters for ListDestinations.

type ListDestinationsRequestObject

type ListDestinationsRequestObject struct {
	Params ListDestinationsParams
}

type ListDestinationsResponseObject

type ListDestinationsResponseObject interface {
	VisitListDestinationsResponse(w http.ResponseWriter) error
}

type ListEscalationChainRuns200JSONResponse

type ListEscalationChainRuns200JSONResponse EscalationRunList

func (ListEscalationChainRuns200JSONResponse) VisitListEscalationChainRunsResponse

func (response ListEscalationChainRuns200JSONResponse) VisitListEscalationChainRunsResponse(w http.ResponseWriter) error

type ListEscalationChainRuns400ApplicationProblemPlusJSONResponse

type ListEscalationChainRuns400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListEscalationChainRuns400ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse

func (response ListEscalationChainRuns400ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse(w http.ResponseWriter) error

type ListEscalationChainRuns401ApplicationProblemPlusJSONResponse

type ListEscalationChainRuns401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListEscalationChainRuns401ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse

func (response ListEscalationChainRuns401ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse(w http.ResponseWriter) error

type ListEscalationChainRuns403ApplicationProblemPlusJSONResponse

type ListEscalationChainRuns403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListEscalationChainRuns403ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse

func (response ListEscalationChainRuns403ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse(w http.ResponseWriter) error

type ListEscalationChainRuns404ApplicationProblemPlusJSONResponse

type ListEscalationChainRuns404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListEscalationChainRuns404ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse

func (response ListEscalationChainRuns404ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse(w http.ResponseWriter) error

type ListEscalationChainRuns429ApplicationProblemPlusJSONResponse

type ListEscalationChainRuns429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListEscalationChainRuns429ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse

func (response ListEscalationChainRuns429ApplicationProblemPlusJSONResponse) VisitListEscalationChainRunsResponse(w http.ResponseWriter) error

type ListEscalationChainRunsParams

type ListEscalationChainRunsParams 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"`
}

ListEscalationChainRunsParams defines parameters for ListEscalationChainRuns.

type ListEscalationChainRunsRequestObject

type ListEscalationChainRunsRequestObject struct {
	EscalationChainId EscalationChainId `json:"escalation_chain_id"`
	Params            ListEscalationChainRunsParams
}

type ListEscalationChainRunsResponseObject

type ListEscalationChainRunsResponseObject interface {
	VisitListEscalationChainRunsResponse(w http.ResponseWriter) error
}

type ListEscalationChains200JSONResponse

type ListEscalationChains200JSONResponse EscalationChainList

func (ListEscalationChains200JSONResponse) VisitListEscalationChainsResponse

func (response ListEscalationChains200JSONResponse) VisitListEscalationChainsResponse(w http.ResponseWriter) error

type ListEscalationChains400ApplicationProblemPlusJSONResponse

type ListEscalationChains400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListEscalationChains400ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse

func (response ListEscalationChains400ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse(w http.ResponseWriter) error

type ListEscalationChains401ApplicationProblemPlusJSONResponse

type ListEscalationChains401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListEscalationChains401ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse

func (response ListEscalationChains401ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse(w http.ResponseWriter) error

type ListEscalationChains403ApplicationProblemPlusJSONResponse

type ListEscalationChains403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListEscalationChains403ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse

func (response ListEscalationChains403ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse(w http.ResponseWriter) error

type ListEscalationChains422ApplicationProblemPlusJSONResponse

type ListEscalationChains422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ListEscalationChains422ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse

func (response ListEscalationChains422ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse(w http.ResponseWriter) error

type ListEscalationChains429ApplicationProblemPlusJSONResponse

type ListEscalationChains429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListEscalationChains429ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse

func (response ListEscalationChains429ApplicationProblemPlusJSONResponse) VisitListEscalationChainsResponse(w http.ResponseWriter) error

type ListEscalationChainsParams

type ListEscalationChainsParams 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"`

	// Team Only what this Team owns (its `public_id`), or with `mine` what the Teams of the calling User own — "My Teams". A Service account has no Teams, so its `mine` is refused with `422` `unsupported`. A value that names no Team, or a deleted one, matches nothing.
	Team *OwningTeamQuery `form:"team,omitempty" json:"team,omitempty"`

	// Q Case-insensitive match on the name.
	Q *string `form:"q,omitempty" json:"q,omitempty"`
}

ListEscalationChainsParams defines parameters for ListEscalationChains.

type ListEscalationChainsRequestObject

type ListEscalationChainsRequestObject struct {
	Params ListEscalationChainsParams
}

type ListEscalationChainsResponseObject

type ListEscalationChainsResponseObject interface {
	VisitListEscalationChainsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListMyGatewayContacts200JSONResponse

type ListMyGatewayContacts200JSONResponse GatewayContactList

func (ListMyGatewayContacts200JSONResponse) VisitListMyGatewayContactsResponse

func (response ListMyGatewayContacts200JSONResponse) VisitListMyGatewayContactsResponse(w http.ResponseWriter) error

type ListMyGatewayContacts401ApplicationProblemPlusJSONResponse

type ListMyGatewayContacts401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListMyGatewayContacts401ApplicationProblemPlusJSONResponse) VisitListMyGatewayContactsResponse

func (response ListMyGatewayContacts401ApplicationProblemPlusJSONResponse) VisitListMyGatewayContactsResponse(w http.ResponseWriter) error

type ListMyGatewayContacts403ApplicationProblemPlusJSONResponse

type ListMyGatewayContacts403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListMyGatewayContacts403ApplicationProblemPlusJSONResponse) VisitListMyGatewayContactsResponse

func (response ListMyGatewayContacts403ApplicationProblemPlusJSONResponse) VisitListMyGatewayContactsResponse(w http.ResponseWriter) error

type ListMyGatewayContacts429ApplicationProblemPlusJSONResponse

type ListMyGatewayContacts429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListMyGatewayContacts429ApplicationProblemPlusJSONResponse) VisitListMyGatewayContactsResponse

func (response ListMyGatewayContacts429ApplicationProblemPlusJSONResponse) VisitListMyGatewayContactsResponse(w http.ResponseWriter) error

type ListMyGatewayContactsRequestObject

type ListMyGatewayContactsRequestObject struct {
}

type ListMyGatewayContactsResponseObject

type ListMyGatewayContactsResponseObject interface {
	VisitListMyGatewayContactsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListRequestLog200JSONResponse

type ListRequestLog200JSONResponse RequestLogList

func (ListRequestLog200JSONResponse) VisitListRequestLogResponse

func (response ListRequestLog200JSONResponse) VisitListRequestLogResponse(w http.ResponseWriter) error

type ListRequestLog400ApplicationProblemPlusJSONResponse

type ListRequestLog400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListRequestLog400ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse

func (response ListRequestLog400ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse(w http.ResponseWriter) error

type ListRequestLog401ApplicationProblemPlusJSONResponse

type ListRequestLog401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListRequestLog401ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse

func (response ListRequestLog401ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse(w http.ResponseWriter) error

type ListRequestLog403ApplicationProblemPlusJSONResponse

type ListRequestLog403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListRequestLog403ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse

func (response ListRequestLog403ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse(w http.ResponseWriter) error

type ListRequestLog404ApplicationProblemPlusJSONResponse

type ListRequestLog404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListRequestLog404ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse

func (response ListRequestLog404ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse(w http.ResponseWriter) error

type ListRequestLog422ApplicationProblemPlusJSONResponse

type ListRequestLog422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ListRequestLog422ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse

func (response ListRequestLog422ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse(w http.ResponseWriter) error

type ListRequestLog429ApplicationProblemPlusJSONResponse

type ListRequestLog429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListRequestLog429ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse

func (response ListRequestLog429ApplicationProblemPlusJSONResponse) VisitListRequestLogResponse(w http.ResponseWriter) error

type ListRequestLogParams

type ListRequestLogParams 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"`

	// Connection The Connection whose records are listed, by `public_id`.
	Connection *PublicId `form:"connection,omitempty" json:"connection,omitempty"`

	// Destination The Destination whose records are listed, by `public_id`.
	Destination *PublicId `form:"destination,omitempty" json:"destination,omitempty"`

	// Direction Only the requests Muster sent (`outbound`) or received (`inbound`).
	Direction *RequestDirection `form:"direction,omitempty" json:"direction,omitempty"`

	// StatusClass Only the records whose answer has a status of this class, or, with `none`, those that got no answer or are a Socket Mode envelope, whose confirmation has no status.
	StatusClass *ListRequestLogParamsStatusClass `form:"status_class,omitempty" json:"status_class,omitempty"`

	// Operation Only the records of this operation, such as `createPost`, `getUpdates`, `pollEvents` or `event`.
	Operation *string `form:"operation,omitempty" json:"operation,omitempty"`

	// AlertGroup Only the records of the deliveries of this Alert Group, by `public_id`.
	AlertGroup *PublicId `form:"alert_group,omitempty" json:"alert_group,omitempty"`

	// Run Only the records of this check run (`CR…`), which the results of `checkConnection`, `checkConnectionDraft`, `checkDestination` and `testDestination` name as `request_log_run`. Alone it lists the records of the run whose owner is a Connection or nobody and needs `connections:read`; the records of an outgoing webhook's test or probe are listed beside its `destination`. A run that left no record, or an id that is no check run, lists nothing.
	Run *PublicId `form:"run,omitempty" json:"run,omitempty"`
}

ListRequestLogParams defines parameters for ListRequestLog.

type ListRequestLogParamsStatusClass

type ListRequestLogParamsStatusClass string

ListRequestLogParamsStatusClass defines parameters for ListRequestLog.

const (
	ListRequestLogParamsStatusClassN2xx ListRequestLogParamsStatusClass = "2xx"
	ListRequestLogParamsStatusClassN3xx ListRequestLogParamsStatusClass = "3xx"
	ListRequestLogParamsStatusClassN4xx ListRequestLogParamsStatusClass = "4xx"
	ListRequestLogParamsStatusClassN5xx ListRequestLogParamsStatusClass = "5xx"
	ListRequestLogParamsStatusClassNone ListRequestLogParamsStatusClass = "none"
)

Defines values for ListRequestLogParamsStatusClass.

func (ListRequestLogParamsStatusClass) Valid

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

type ListRequestLogRequestObject

type ListRequestLogRequestObject struct {
	Params ListRequestLogParams
}

type ListRequestLogResponseObject

type ListRequestLogResponseObject interface {
	VisitListRequestLogResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListRouteLabelSuggestions200JSONResponse

type ListRouteLabelSuggestions200JSONResponse RouteLabelSuggestionList

func (ListRouteLabelSuggestions200JSONResponse) VisitListRouteLabelSuggestionsResponse

func (response ListRouteLabelSuggestions200JSONResponse) VisitListRouteLabelSuggestionsResponse(w http.ResponseWriter) error

type ListRouteLabelSuggestions401ApplicationProblemPlusJSONResponse

type ListRouteLabelSuggestions401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListRouteLabelSuggestions401ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse

func (response ListRouteLabelSuggestions401ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse(w http.ResponseWriter) error

type ListRouteLabelSuggestions403ApplicationProblemPlusJSONResponse

type ListRouteLabelSuggestions403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListRouteLabelSuggestions403ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse

func (response ListRouteLabelSuggestions403ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse(w http.ResponseWriter) error

type ListRouteLabelSuggestions404ApplicationProblemPlusJSONResponse

type ListRouteLabelSuggestions404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListRouteLabelSuggestions404ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse

func (response ListRouteLabelSuggestions404ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse(w http.ResponseWriter) error

type ListRouteLabelSuggestions429ApplicationProblemPlusJSONResponse

type ListRouteLabelSuggestions429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListRouteLabelSuggestions429ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse

func (response ListRouteLabelSuggestions429ApplicationProblemPlusJSONResponse) VisitListRouteLabelSuggestionsResponse(w http.ResponseWriter) error

type ListRouteLabelSuggestionsRequestObject

type ListRouteLabelSuggestionsRequestObject struct {
	RouteId RouteId `json:"route_id"`
}

type ListRouteLabelSuggestionsResponseObject

type ListRouteLabelSuggestionsResponseObject interface {
	VisitListRouteLabelSuggestionsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListRoutes422ApplicationProblemPlusJSONResponse

type ListRoutes422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ListRoutes422ApplicationProblemPlusJSONResponse) VisitListRoutesResponse

func (response ListRoutes422ApplicationProblemPlusJSONResponse) VisitListRoutesResponse(w http.ResponseWriter) error

type ListRoutes429ApplicationProblemPlusJSONResponse

type ListRoutes429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListRoutes429ApplicationProblemPlusJSONResponse) VisitListRoutesResponse

func (response ListRoutes429ApplicationProblemPlusJSONResponse) VisitListRoutesResponse(w http.ResponseWriter) error

type ListRoutesParams

type ListRoutesParams struct {
	// Team Only what this Team owns (its `public_id`), or with `mine` what the Teams of the calling User own — "My Teams". A Service account has no Teams, so its `mine` is refused with `422` `unsupported`. A value that names no Team, or a deleted one, matches nothing.
	Team *OwningTeamQuery `form:"team,omitempty" json:"team,omitempty"`
}

ListRoutesParams defines parameters for ListRoutes.

type ListRoutesRequestObject

type ListRoutesRequestObject struct {
	Params ListRoutesParams
}

type ListRoutesResponseObject

type ListRoutesResponseObject interface {
	VisitListRoutesResponse(w http.ResponseWriter) error
}

type ListScheduleOverrides200JSONResponse

type ListScheduleOverrides200JSONResponse ScheduleOverrideList

func (ListScheduleOverrides200JSONResponse) VisitListScheduleOverridesResponse

func (response ListScheduleOverrides200JSONResponse) VisitListScheduleOverridesResponse(w http.ResponseWriter) error

type ListScheduleOverrides400ApplicationProblemPlusJSONResponse

type ListScheduleOverrides400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListScheduleOverrides400ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse

func (response ListScheduleOverrides400ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse(w http.ResponseWriter) error

type ListScheduleOverrides401ApplicationProblemPlusJSONResponse

type ListScheduleOverrides401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListScheduleOverrides401ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse

func (response ListScheduleOverrides401ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse(w http.ResponseWriter) error

type ListScheduleOverrides403ApplicationProblemPlusJSONResponse

type ListScheduleOverrides403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListScheduleOverrides403ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse

func (response ListScheduleOverrides403ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse(w http.ResponseWriter) error

type ListScheduleOverrides404ApplicationProblemPlusJSONResponse

type ListScheduleOverrides404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListScheduleOverrides404ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse

func (response ListScheduleOverrides404ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse(w http.ResponseWriter) error

type ListScheduleOverrides429ApplicationProblemPlusJSONResponse

type ListScheduleOverrides429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListScheduleOverrides429ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse

func (response ListScheduleOverrides429ApplicationProblemPlusJSONResponse) VisitListScheduleOverridesResponse(w http.ResponseWriter) error

type ListScheduleOverridesParams

type ListScheduleOverridesParams struct {
	// From Only the Overrides that end after this time (RFC 3339); the business clock's now by default.
	From *time.Time `form:"from,omitempty" json:"from,omitempty"`

	// To Only the Overrides that start before this time (RFC 3339).
	To *time.Time `form:"to,omitempty" json:"to,omitempty"`

	// 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"`
}

ListScheduleOverridesParams defines parameters for ListScheduleOverrides.

type ListScheduleOverridesRequestObject

type ListScheduleOverridesRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
	Params     ListScheduleOverridesParams
}

type ListScheduleOverridesResponseObject

type ListScheduleOverridesResponseObject interface {
	VisitListScheduleOverridesResponse(w http.ResponseWriter) error
}

type ListSchedules200JSONResponse

type ListSchedules200JSONResponse ScheduleList

func (ListSchedules200JSONResponse) VisitListSchedulesResponse

func (response ListSchedules200JSONResponse) VisitListSchedulesResponse(w http.ResponseWriter) error

type ListSchedules400ApplicationProblemPlusJSONResponse

type ListSchedules400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListSchedules400ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse

func (response ListSchedules400ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse(w http.ResponseWriter) error

type ListSchedules401ApplicationProblemPlusJSONResponse

type ListSchedules401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListSchedules401ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse

func (response ListSchedules401ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse(w http.ResponseWriter) error

type ListSchedules403ApplicationProblemPlusJSONResponse

type ListSchedules403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListSchedules403ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse

func (response ListSchedules403ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse(w http.ResponseWriter) error

type ListSchedules422ApplicationProblemPlusJSONResponse

type ListSchedules422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ListSchedules422ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse

func (response ListSchedules422ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse(w http.ResponseWriter) error

type ListSchedules429ApplicationProblemPlusJSONResponse

type ListSchedules429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListSchedules429ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse

func (response ListSchedules429ApplicationProblemPlusJSONResponse) VisitListSchedulesResponse(w http.ResponseWriter) error

type ListSchedulesParams

type ListSchedulesParams 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"`

	// Team Only the Schedules of this Team (its `public_id`), or with `mine` those of the Teams of the calling User — "My Teams". A Service account is in no Team, so its `mine` is refused with `422` `unsupported`. A value that names no Team matches nothing.
	Team *string `form:"team,omitempty" json:"team,omitempty"`

	// Q Case-insensitive match on the name.
	Q *string `form:"q,omitempty" json:"q,omitempty"`
}

ListSchedulesParams defines parameters for ListSchedules.

type ListSchedulesRequestObject

type ListSchedulesRequestObject struct {
	Params ListSchedulesParams
}

type ListSchedulesResponseObject

type ListSchedulesResponseObject interface {
	VisitListSchedulesResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListSnoozePresets200JSONResponse

type ListSnoozePresets200JSONResponse SnoozePresetList

func (ListSnoozePresets200JSONResponse) VisitListSnoozePresetsResponse

func (response ListSnoozePresets200JSONResponse) VisitListSnoozePresetsResponse(w http.ResponseWriter) error

type ListSnoozePresets401ApplicationProblemPlusJSONResponse

type ListSnoozePresets401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListSnoozePresets401ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse

func (response ListSnoozePresets401ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse(w http.ResponseWriter) error

type ListSnoozePresets403ApplicationProblemPlusJSONResponse

type ListSnoozePresets403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListSnoozePresets403ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse

func (response ListSnoozePresets403ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse(w http.ResponseWriter) error

type ListSnoozePresets422ApplicationProblemPlusJSONResponse

type ListSnoozePresets422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (ListSnoozePresets422ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse

func (response ListSnoozePresets422ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse(w http.ResponseWriter) error

type ListSnoozePresets429ApplicationProblemPlusJSONResponse

type ListSnoozePresets429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListSnoozePresets429ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse

func (response ListSnoozePresets429ApplicationProblemPlusJSONResponse) VisitListSnoozePresetsResponse(w http.ResponseWriter) error

type ListSnoozePresetsParams

type ListSnoozePresetsParams struct {
	// TimeZone IANA time zone of the ends; defaults to the caller's profile time zone, else the Organization's.
	TimeZone *string `form:"time_zone,omitempty" json:"time_zone,omitempty"`
}

ListSnoozePresetsParams defines parameters for ListSnoozePresets.

type ListSnoozePresetsRequestObject

type ListSnoozePresetsRequestObject struct {
	Params ListSnoozePresetsParams
}

type ListSnoozePresetsResponseObject

type ListSnoozePresetsResponseObject interface {
	VisitListSnoozePresetsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListTeamLabelValues200JSONResponse

type ListTeamLabelValues200JSONResponse TeamLabelValueList

func (ListTeamLabelValues200JSONResponse) VisitListTeamLabelValuesResponse

func (response ListTeamLabelValues200JSONResponse) VisitListTeamLabelValuesResponse(w http.ResponseWriter) error

type ListTeamLabelValues401ApplicationProblemPlusJSONResponse

type ListTeamLabelValues401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListTeamLabelValues401ApplicationProblemPlusJSONResponse) VisitListTeamLabelValuesResponse

func (response ListTeamLabelValues401ApplicationProblemPlusJSONResponse) VisitListTeamLabelValuesResponse(w http.ResponseWriter) error

type ListTeamLabelValues403ApplicationProblemPlusJSONResponse

type ListTeamLabelValues403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListTeamLabelValues403ApplicationProblemPlusJSONResponse) VisitListTeamLabelValuesResponse

func (response ListTeamLabelValues403ApplicationProblemPlusJSONResponse) VisitListTeamLabelValuesResponse(w http.ResponseWriter) error

type ListTeamLabelValues429ApplicationProblemPlusJSONResponse

type ListTeamLabelValues429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListTeamLabelValues429ApplicationProblemPlusJSONResponse) VisitListTeamLabelValuesResponse

func (response ListTeamLabelValues429ApplicationProblemPlusJSONResponse) VisitListTeamLabelValuesResponse(w http.ResponseWriter) error

type ListTeamLabelValuesRequestObject

type ListTeamLabelValuesRequestObject struct {
}

type ListTeamLabelValuesResponseObject

type ListTeamLabelValuesResponseObject interface {
	VisitListTeamLabelValuesResponse(w http.ResponseWriter) error
}

type ListTeamUsers200JSONResponse

type ListTeamUsers200JSONResponse TeamUserList

func (ListTeamUsers200JSONResponse) VisitListTeamUsersResponse

func (response ListTeamUsers200JSONResponse) VisitListTeamUsersResponse(w http.ResponseWriter) error

type ListTeamUsers401ApplicationProblemPlusJSONResponse

type ListTeamUsers401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListTeamUsers401ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse

func (response ListTeamUsers401ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse(w http.ResponseWriter) error

type ListTeamUsers403ApplicationProblemPlusJSONResponse

type ListTeamUsers403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListTeamUsers403ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse

func (response ListTeamUsers403ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse(w http.ResponseWriter) error

type ListTeamUsers404ApplicationProblemPlusJSONResponse

type ListTeamUsers404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListTeamUsers404ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse

func (response ListTeamUsers404ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse(w http.ResponseWriter) error

type ListTeamUsers429ApplicationProblemPlusJSONResponse

type ListTeamUsers429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListTeamUsers429ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse

func (response ListTeamUsers429ApplicationProblemPlusJSONResponse) VisitListTeamUsersResponse(w http.ResponseWriter) error

type ListTeamUsersRequestObject

type ListTeamUsersRequestObject struct {
	TeamId TeamId `json:"team_id"`
}

type ListTeamUsersResponseObject

type ListTeamUsersResponseObject interface {
	VisitListTeamUsersResponse(w http.ResponseWriter) error
}

type ListTeams200JSONResponse

type ListTeams200JSONResponse TeamList

func (ListTeams200JSONResponse) VisitListTeamsResponse

func (response ListTeams200JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams400ApplicationProblemPlusJSONResponse

type ListTeams400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListTeams400ApplicationProblemPlusJSONResponse) VisitListTeamsResponse

func (response ListTeams400ApplicationProblemPlusJSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams401ApplicationProblemPlusJSONResponse

type ListTeams401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListTeams401ApplicationProblemPlusJSONResponse) VisitListTeamsResponse

func (response ListTeams401ApplicationProblemPlusJSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams403ApplicationProblemPlusJSONResponse

type ListTeams403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListTeams403ApplicationProblemPlusJSONResponse) VisitListTeamsResponse

func (response ListTeams403ApplicationProblemPlusJSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams429ApplicationProblemPlusJSONResponse

type ListTeams429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListTeams429ApplicationProblemPlusJSONResponse) VisitListTeamsResponse

func (response ListTeams429ApplicationProblemPlusJSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeamsParams

type ListTeamsParams 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 the name and the slug.
	Q *string `form:"q,omitempty" json:"q,omitempty"`
}

ListTeamsParams defines parameters for ListTeams.

type ListTeamsRequestObject

type ListTeamsRequestObject struct {
	Params ListTeamsParams
}

type ListTeamsResponseObject

type ListTeamsResponseObject interface {
	VisitListTeamsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 ListUserGatewayContacts200JSONResponse

type ListUserGatewayContacts200JSONResponse GatewayContactList

func (ListUserGatewayContacts200JSONResponse) VisitListUserGatewayContactsResponse

func (response ListUserGatewayContacts200JSONResponse) VisitListUserGatewayContactsResponse(w http.ResponseWriter) error

type ListUserGatewayContacts401ApplicationProblemPlusJSONResponse

type ListUserGatewayContacts401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListUserGatewayContacts401ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse

func (response ListUserGatewayContacts401ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse(w http.ResponseWriter) error

type ListUserGatewayContacts403ApplicationProblemPlusJSONResponse

type ListUserGatewayContacts403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListUserGatewayContacts403ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse

func (response ListUserGatewayContacts403ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse(w http.ResponseWriter) error

type ListUserGatewayContacts404ApplicationProblemPlusJSONResponse

type ListUserGatewayContacts404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListUserGatewayContacts404ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse

func (response ListUserGatewayContacts404ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse(w http.ResponseWriter) error

type ListUserGatewayContacts429ApplicationProblemPlusJSONResponse

type ListUserGatewayContacts429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ListUserGatewayContacts429ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse

func (response ListUserGatewayContacts429ApplicationProblemPlusJSONResponse) VisitListUserGatewayContactsResponse(w http.ResponseWriter) error

type ListUserGatewayContactsRequestObject

type ListUserGatewayContactsRequestObject struct {
	UserId UserId `json:"user_id"`
}

type ListUserGatewayContactsResponseObject

type ListUserGatewayContactsResponseObject interface {
	VisitListUserGatewayContactsResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 Loudness

type Loudness string

Loudness defines model for Loudness.

const (
	Loud  Loudness = "loud"
	Quiet Loudness = "quiet"
)

Defines values for Loudness.

func (Loudness) Valid

func (e Loudness) Valid() bool

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

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.

const (
	MatcherOpEmpty      MatcherOp = "!="
	MatcherOpEqual      MatcherOp = "="
	MatcherOpEqualTilde MatcherOp = "=~"
	MatcherOpN1         MatcherOp = "!~"
)

Defines values for MatcherOp.

func (MatcherOp) Valid

func (e MatcherOp) Valid() bool

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

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"`

	// Secret The button's callback secret, derived with the key `key_id` from the Connection and the action id. A press without it, or with another one, changes nothing and is not verified; a press without it on a Root message posted before buttons carried one also has that Root message edited again, so that its buttons carry it.
	Secret *string `json:"secret,omitempty"`
}

MattermostActionContext The integration data Muster put on the button, which the Mattermost server strips from the posts it sends to clients. Mattermost does not sign the request, so authenticity rests on the callback secret, which only the Mattermost server knows, and 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, which the Mattermost server strips from the posts it sends to clients. Mattermost does not sign the request, so authenticity rests on the callback secret, which only the Mattermost server knows, and 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 The channels of a Mattermost Connection's bot; it has no other member, so that no Slack list reads as one.

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"`

	// GroupsRead Whether the server listed the groups to the bot at the last successful Connection check (its step `groups`), which `listConnectionGroups` needs; a Team mention is saved by name either way. Null as `bot_username`.
	GroupsRead nullable.Nullable[bool] `json:"groups_read,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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string]    `json:"managed_by,omitempty"`
	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

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

type MattermostConnectionDraft

type MattermostConnectionDraft struct {
	// BotToken A bot token typed in the form, sent only to `server_url`. Omit it to use the stored token of `connection_id`, which goes only to its saved server URL through its saved proxy.
	BotToken *string `json:"bot_token,omitempty"`

	// ConnectionId The saved Mattermost Connection that the form edits; omit it for a new one. An omitted `proxy` is its saved proxy, and no proxy without it.
	ConnectionId *PublicId `json:"connection_id,omitempty"`

	// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
	Proxy *ProxyConfigInput `json:"proxy,omitempty"`

	// ServerUrl The server URL as `MattermostConnectionBase` takes it.
	ServerUrl string                        `json:"server_url"`
	Type      MattermostConnectionDraftType `json:"type"`
}

MattermostConnectionDraft A Mattermost Connection as its form holds it, for `checkConnectionDraft`.

type MattermostConnectionDraftType

type MattermostConnectionDraftType string

MattermostConnectionDraftType defines model for MattermostConnectionDraft.Type.

const (
	MattermostConnectionDraftTypeMattermost MattermostConnectionDraftType = "mattermost"
)

Defines values for MattermostConnectionDraftType.

func (MattermostConnectionDraftType) Valid

Valid indicates whether the value is a known member of the MattermostConnectionDraftType 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	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

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 {
	// Buttons A Destination's button set, `destination.buttons` (C-28.FR-8): `organization`, "As in the Organization", the default, follows the Organization's set and its later changes; `own` shows only `items`, which are then required. A change re-renders the Destination's open Root messages, as edits.
	Buttons     DestinationButtonSet      `json:"buttons"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries in order, each with what it mentions now.
	MentionEntries []MentionEntry `json:"mention_entries"`

	// MentionWarnings The people and entries whose Mentions were not delivered (C-28.FR-3), by entry and then by the person's name; always empty on an outgoing webhook, which takes every person as data.
	MentionWarnings []MentionWarning `json:"mention_warnings"`

	// Mentions The L1 form of the Mention entries that L1 can express on the Destination's type (C-28.FR-5), removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions MentionSettings `json:"mentions"`
	Name     string          `json:"name"`

	// OwningTeam The Team that owns the Destination, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Routes       []EntityRef                         `json:"routes"`
	TeamId       string                              `json:"team_id"`
	TeamName     nullable.Nullable[string]           `json:"team_name,omitempty"`

	// Teams The Teams that name the Destination as a Destination of the Team, by name.
	Teams         []TeamRef                 `json:"teams"`
	TemplateError *TemplateErrorState       `json:"template_error,omitempty"`
	Type          MattermostDestinationType `json:"type"`
}

MattermostDestination defines model for MattermostDestination.

type MattermostDestinationInput

type MattermostDestinationInput struct {
	// Buttons The Destination's button set (C-28.FR-8, FR-10); omitted on create is `organization`, omitted on an update keeps it.
	Buttons   *DestinationButtonSet `json:"buttons,omitempty"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries (C-28.FR-1, FR-2), in order, each a target and the Loud events it applies to; omitted on create is none, which mentions nobody, and omitted on an update keeps them. A target the Destination's Connection cannot mention is refused with `422` `mention_unsupported` at `/mention_entries/{i}/target` — Mattermost has no `everyone` — and an entry whose target equals a stored one is kept whatever the Connection can mention now. An unknown or deleted User or Team is refused with `unknown_id` at its `user_id` or `team_id` unless the entry's target equals a stored one, and a target listed twice with `duplicate` at `/mention_entries/{i}/target`.
	MentionEntries *[]MentionEntryInput `json:"mention_entries,omitempty"`

	// Mentions The Mention settings of L1 (C-12.FR-8), deprecated since 0.2.0 and removed in 0.3.0 (C-28.FR-5). In a read, computed from the `mention_entries` that L1 can express on the Destination's type — the everyone choices, chosen Users and messenger groups L1 took there, for the six kinds of L1 — so that the other entries are not seen in it. In a request it is optional: when a request has no `mention_entries`, it sets them by the conversion of the 0.2.0 migration — on create they are its result; on update it replaces the entries that L1 can express, keeps the others after them, keeps the `storm_started` of a target present before and after, and changes nothing when it equals the stored form — validated as L1 validated it, at pointers under `/mentions`; ignored when `mention_entries` is present.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions *MentionSettings `json:"mentions,omitempty"`
	Name     string           `json:"name"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 MentionEntry

type MentionEntry struct {
	Available  bool                `json:"available"`
	Events     []MentionEvent      `json:"events"`
	ResolvesTo []MentionResolution `json:"resolves_to"`

	// Target The target of a Mention entry as read, with the User or the Team it names; a deleted User reads `deactivated`, a deleted Team `deleted`, and such an entry mentions nobody.
	Target MentionTarget `json:"target"`

	// UnavailableReason Why the Connection cannot mention the target now; null while it can.
	UnavailableReason nullable.Nullable[MentionUnavailableReason] `json:"unavailable_reason"`
}

MentionEntry A Mention entry as read, with whether the Destination's Connection can mention its target now and what it mentions now. An entry whose Connection lost the ability stays, reads `available` false with the reason, and mentions nobody.

type MentionEntryInput

type MentionEntryInput struct {
	// Events The Loud events the entry applies to, each once; all seven when omitted.
	Events *[]MentionEvent `json:"events,omitempty"`

	// Target The target of a Mention entry, with the fields of its kind only; another field is refused with `422` `invalid_format` at it, and a missing one with `required`.
	Target MentionTargetInput `json:"target"`
}

MentionEntryInput A Mention entry as written (C-28.FR-1).

type MentionEntryRef

type MentionEntryRef struct {
	Position int `json:"position"`

	// Target The target of a Mention entry as read, with the User or the Team it names; a deleted User reads `deactivated`, a deleted Team `deleted`, and such an entry mentions nobody.
	Target MentionTarget `json:"target"`
}

MentionEntryRef The Mention entry that named a person, a group or everyone, as on the Destination — its position in the Destination's `mention_entries` and its target; in the Timeline, as it was when the message was delivered.

type MentionEvent

type MentionEvent string

MentionEvent A Loud event a Mention entry applies to (C-28.FR-1): a new Alert Group (`new_alert_group`, which also applies to `destination_joined`), new Alerts, a Reopen, an ack timeout notice, the end of a Snooze, a rise to critical, and the start of a Storm (`storm_started`, the first publication of a Storm summary).

const (
	MentionEventAckTimeout    MentionEvent = "ack_timeout"
	MentionEventNewAlertGroup MentionEvent = "new_alert_group"
	MentionEventNewAlerts     MentionEvent = "new_alerts"
	MentionEventReopen        MentionEvent = "reopen"
	MentionEventRiseToUrgent  MentionEvent = "rise_to_urgent"
	MentionEventSnoozeEnded   MentionEvent = "snooze_ended"
	MentionEventStormStarted  MentionEvent = "storm_started"
)

Defines values for MentionEvent.

func (MentionEvent) Valid

func (e MentionEvent) Valid() bool

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

type MentionName

type MentionName string

MentionName A symbolic Mention that each Destination turns into real Mentions; `paged` is the people of a Page by their Account links, or the Team mention or token of a step "Page the whole Team" (C-32.FR-9).

const (
	MentionNameAckTimeout    MentionName = "ack_timeout"
	MentionNameNewAlertGroup MentionName = "new_alert_group"
	MentionNameNewAlerts     MentionName = "new_alerts"
	MentionNameOwner         MentionName = "owner"
	MentionNamePaged         MentionName = "paged"
	MentionNamePreviousOwner MentionName = "previous_owner"
	MentionNameReopen        MentionName = "reopen"
	MentionNameRiseToUrgent  MentionName = "rise_to_urgent"
	MentionNameSnoozeEnded   MentionName = "snooze_ended"
	MentionNameStormStarted  MentionName = "storm_started"
)

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 MentionNotDeliveredReason

type MentionNotDeliveredReason string

MentionNotDeliveredReason Why a person whom a Mention entry named was not mentioned as their messenger mentions them (C-28.FR-3): they have no Account link in the Identity space of the Destination's Connection, so the message left them out (`no_account_link`), or the bridge does not declare `native_mentions` in its `info` — or Muster has read none yet — or their Account link has no marker, its `external_id` being longer than 512 characters or neither it nor the person having a display name, so the message named them by the plain name, which notifies nobody (`bridge_cannot_mention_people`, C-22.FR-16), or the message went through a bridge whose Mention line keeps only the whole Mentions that fit half of `limits.max_body_length` and left theirs out (`message_too_long`, C-12.FR-11). `message_too_long` is also the reason of a group, a Team mention or everyone in the chat that such a line left out, the only reason a Mention that names no one person is not delivered.

const (
	MentionNotDeliveredReasonBridgeCannotMentionPeople MentionNotDeliveredReason = "bridge_cannot_mention_people"
	MentionNotDeliveredReasonMessageTooLong            MentionNotDeliveredReason = "message_too_long"
	MentionNotDeliveredReasonNoAccountLink             MentionNotDeliveredReason = "no_account_link"
)

Defines values for MentionNotDeliveredReason.

func (MentionNotDeliveredReason) Valid

func (e MentionNotDeliveredReason) Valid() bool

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

type MentionPage

type MentionPage struct {
	ChainName string `json:"chain_name"`
	Step      int    `json:"step"`
}

MentionPage A Page as a "Mention not delivered" names it in place of an entry, which a Page does not have (C-32.FR-9, C-12.FR-11): the number of its Escalation step and the name of its Escalation chain when the chain's run started, as the `paged` entry of the Timeline names them.

type MentionResolution

type MentionResolution struct {
	// Mentions Empty when the entry mentions nobody now for it — a Team without a Team mention for the Connection, a Team without a main Schedule or in a gap of it, a deleted User or Team, or a target the Connection cannot mention now.
	Mentions []MentionResolved `json:"mentions"`

	// Team The Team of a Team or On-call target, one item per Team that is not deleted for the targets from the label; null for the other targets.
	Team nullable.Nullable[TeamRef] `json:"team"`
}

MentionResolution What an entry mentions now for one Team, or for no Team.

type MentionResolved

type MentionResolved struct {
	// Kind `user`, a person, by the username of their Account link in the Destination's Identity space, else by their login; `group`, a messenger group or a Team mention, and on an outgoing webhook a Team by its slug; `everyone`, the word of everyone in the chat.
	Kind MentionResolvedKind `json:"kind"`

	// Linked For a `user`, whether they have an Account link in the Destination's Identity space — one without it is not mentioned (C-28.FR-3) — always true on an outgoing webhook, which mentions people as data; true for the other kinds.
	Linked bool   `json:"linked"`
	Name   string `json:"name"`
}

MentionResolved One Mention an entry makes now, as the Destination's messenger writes it.

type MentionResolvedKind

type MentionResolvedKind string

MentionResolvedKind `user`, a person, by the username of their Account link in the Destination's Identity space, else by their login; `group`, a messenger group or a Team mention, and on an outgoing webhook a Team by its slug; `everyone`, the word of everyone in the chat.

const (
	MentionResolvedKindEveryone MentionResolvedKind = "everyone"
	MentionResolvedKindGroup    MentionResolvedKind = "group"
	MentionResolvedKindUser     MentionResolvedKind = "user"
)

Defines values for MentionResolvedKind.

func (MentionResolvedKind) Valid

func (e MentionResolvedKind) Valid() bool

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

type MentionSetting

type MentionSetting struct {
	// Everyone `none`, or the chat-wide mention the messenger supports: Mattermost takes `channel`, `all` and `here`, Slack `channel` and `here` but not `all`; Telegram and Bridges have none of them; an outgoing webhook takes each as data.
	Everyone MentionSettingEveryone `json:"everyone"`

	// Groups Messenger groups: Mattermost group names; Telegram, Bridges and Slack have none.
	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: Mattermost takes `channel`, `all` and `here`, Slack `channel` and `here` but not `all`; Telegram and Bridges have none of them; an outgoing webhook takes each as data.

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 MentionTarget

type MentionTarget struct {
	// Everyone With `everyone` only, the word of the messenger.
	Everyone *MentionTargetEveryone `json:"everyone,omitempty"`

	// Group With `group` only, the group's name without `@` — 1 to 64 letters, digits, `.`, `_` and `-`, starting with a letter or a digit, the handle of a Slack user group; any text but empty for an outgoing webhook.
	Group *string `json:"group,omitempty"`

	// GroupId With `group` only, the Slack user group's id (`S` followed by digits and capital letters), from `listConnectionGroups`, required on Slack and refused on the other types.
	GroupId *string `json:"group_id,omitempty"`

	// Kind Whom a Mention entry names (C-28.FR-1): everyone in the chat (`everyone`), a person (`user`), a messenger group (`group`), a Team (`team`), the Teams of the Alert Group (`teams_from_label`), the On-call of a Team's main Schedule (`on_call_of_team`), and the On-call of each Team of the Alert Group (`on_call_of_teams_from_label`).
	Kind MentionTargetKind `json:"kind"`

	// Team The Team of a `team` or `on_call_of_team` target.
	Team *TeamRef `json:"team,omitempty"`

	// TeamId With `team` and `on_call_of_team` only.
	TeamId *PublicId `json:"team_id,omitempty"`

	// User The User of a `user` target.
	User *UserRef `json:"user,omitempty"`

	// UserId With `user` only.
	UserId *PublicId `json:"user_id,omitempty"`
}

MentionTarget The target of a Mention entry as read, with the User or the Team it names; a deleted User reads `deactivated`, a deleted Team `deleted`, and such an entry mentions nobody.

type MentionTargetEveryone

type MentionTargetEveryone string

MentionTargetEveryone With `everyone` only, the word of the messenger.

const (
	MentionTargetEveryoneAll      MentionTargetEveryone = "all"
	MentionTargetEveryoneChannel  MentionTargetEveryone = "channel"
	MentionTargetEveryoneEveryone MentionTargetEveryone = "everyone"
	MentionTargetEveryoneHere     MentionTargetEveryone = "here"
)

Defines values for MentionTargetEveryone.

func (MentionTargetEveryone) Valid

func (e MentionTargetEveryone) Valid() bool

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

type MentionTargetInput

type MentionTargetInput struct {
	// Everyone With `everyone` only, the word of the messenger.
	Everyone *MentionTargetInputEveryone `json:"everyone,omitempty"`

	// Group With `group` only, the group's name without `@` — 1 to 64 letters, digits, `.`, `_` and `-`, starting with a letter or a digit, the handle of a Slack user group; any text but empty for an outgoing webhook.
	Group *string `json:"group,omitempty"`

	// GroupId With `group` only, the Slack user group's id (`S` followed by digits and capital letters), from `listConnectionGroups`, required on Slack and refused on the other types.
	GroupId *string `json:"group_id,omitempty"`

	// Kind Whom a Mention entry names (C-28.FR-1): everyone in the chat (`everyone`), a person (`user`), a messenger group (`group`), a Team (`team`), the Teams of the Alert Group (`teams_from_label`), the On-call of a Team's main Schedule (`on_call_of_team`), and the On-call of each Team of the Alert Group (`on_call_of_teams_from_label`).
	Kind MentionTargetKind `json:"kind"`

	// TeamId With `team` and `on_call_of_team` only.
	TeamId *PublicId `json:"team_id,omitempty"`

	// UserId With `user` only.
	UserId *PublicId `json:"user_id,omitempty"`
}

MentionTargetInput The target of a Mention entry, with the fields of its kind only; another field is refused with `422` `invalid_format` at it, and a missing one with `required`.

type MentionTargetInputEveryone

type MentionTargetInputEveryone string

MentionTargetInputEveryone With `everyone` only, the word of the messenger.

const (
	MentionTargetInputEveryoneAll      MentionTargetInputEveryone = "all"
	MentionTargetInputEveryoneChannel  MentionTargetInputEveryone = "channel"
	MentionTargetInputEveryoneEveryone MentionTargetInputEveryone = "everyone"
	MentionTargetInputEveryoneHere     MentionTargetInputEveryone = "here"
)

Defines values for MentionTargetInputEveryone.

func (MentionTargetInputEveryone) Valid

func (e MentionTargetInputEveryone) Valid() bool

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

type MentionTargetKind

type MentionTargetKind string

MentionTargetKind Whom a Mention entry names (C-28.FR-1): everyone in the chat (`everyone`), a person (`user`), a messenger group (`group`), a Team (`team`), the Teams of the Alert Group (`teams_from_label`), the On-call of a Team's main Schedule (`on_call_of_team`), and the On-call of each Team of the Alert Group (`on_call_of_teams_from_label`).

const (
	MentionTargetKindEveryone               MentionTargetKind = "everyone"
	MentionTargetKindGroup                  MentionTargetKind = "group"
	MentionTargetKindOnCallOfTeam           MentionTargetKind = "on_call_of_team"
	MentionTargetKindOnCallOfTeamsFromLabel MentionTargetKind = "on_call_of_teams_from_label"
	MentionTargetKindTeam                   MentionTargetKind = "team"
	MentionTargetKindTeamsFromLabel         MentionTargetKind = "teams_from_label"
	MentionTargetKindUser                   MentionTargetKind = "user"
)

Defines values for MentionTargetKind.

func (MentionTargetKind) Valid

func (e MentionTargetKind) Valid() bool

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

type MentionUnavailableReason

type MentionUnavailableReason string

MentionUnavailableReason Why a Connection cannot mention a target (C-25.FR-8, C-28.FR-2): `telegram_no_groups`, Telegram has no group mentions and no mentions of everyone; `usergroups_read_missing`, a Slack Connection whose last check found no `usergroups:read`; `bridge_no_group_mentions`, a bridge that declares no `group_mentions`; `bridge_not_declared`, a mention of everyone that the bridge does not declare in `everyone_mentions`; `messenger_has_no_token`, a mention of everyone that the messenger does not have, such as `@everyone` in Mattermost and `@all` and `@everyone` in Slack.

const (
	BridgeNoGroupMentions MentionUnavailableReason = "bridge_no_group_mentions"
	BridgeNotDeclared     MentionUnavailableReason = "bridge_not_declared"
	MessengerHasNoToken   MentionUnavailableReason = "messenger_has_no_token"
	TelegramNoGroups      MentionUnavailableReason = "telegram_no_groups"
	UsergroupsReadMissing MentionUnavailableReason = "usergroups_read_missing"
)

Defines values for MentionUnavailableReason.

func (MentionUnavailableReason) Valid

func (e MentionUnavailableReason) Valid() bool

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

type MentionWarning

type MentionWarning struct {
	// Entry The entry as it is on the Destination now.
	Entry MentionEntryRef `json:"entry"`

	// Mention The group or everyone in the chat; absent for a person.
	Mention   *NamedMention  `json:"mention,omitempty"`
	Messenger ConnectionType `json:"messenger"`

	// Reason The reason of the latest "Mention not delivered".
	Reason MentionNotDeliveredReason `json:"reason"`

	// Since When the first "Mention not delivered" of the person through the entry since their last delivered Mention through it was recorded.
	Since time.Time `json:"since"`

	// User The person; absent for a group or everyone, which `mention` names.
	User *UserRef `json:"user,omitempty"`
}

MentionWarning A warning of a Destination about a person and an entry whose latest "Mention not delivered" is not followed by a delivered Mention of that person through that entry (C-28.FR-3): computed from the delivery events kept for `retention.alert_details`, never stored, so it clears once a later Loud message mentions the person through the entry, or once retention removes the events. An entry removed from the Destination since, or a deleted User, has none. Through a bridge whose Mention line left out a group, a Team mention or everyone in the chat that an entry named (C-12.FR-11), the warning is about that Mention, with `mention` in place of `user`, and clears once a later Loud message carries it.

type MessageLayout

type MessageLayout struct {
	// Alerts The Alerts by their distinguishing label (C-29.FR-3); null for an Alert Group of one Alert.
	Alerts nullable.Nullable[MessageLayoutAlerts] `json:"alerts"`

	// Assignees The Assignees with the owning Teams of their chains, before an acknowledgement; empty until Escalation chains Page people, and in a preview.
	Assignees []MessageLayoutPerson `json:"assignees"`

	// Description The `description` annotation of the first Alert that has one; empty when there is none.
	Description string `json:"description"`

	// Fields Severity, Route, Teams (left out when the Alert Group has none) and Started.
	Fields []MessageLayoutField `json:"fields"`

	// Labels The key labels of "Labels in the message"; the value of a label whose values differ among the firing Alerts is "N values" in the Route's language.
	Labels []MessageLayoutLabel `json:"labels"`

	// Links The links, "Open in Muster" first.
	Links []MessageLayoutLink `json:"links"`

	// Notices The notices that apply, then the footer as a line, except the footer of an acknowledgement that `owner` names, of which only "Escalation chains stopped" is a line, and the Assignees.
	Notices []string `json:"notices"`

	// Number The Alert Group's number alone, without `#`.
	Number int `json:"number"`

	// Owner Who acknowledged the Alert Group, without a Team, while it is acknowledged, in the layout of the markup `commonmark` that bridges receive; null otherwise, while the footer names them.
	Owner  nullable.Nullable[MessageLayoutPerson] `json:"owner"`
	Status MessageLayoutStatus                    `json:"status"`

	// Summary Empty when there is none.
	Summary string `json:"summary"`

	// Title The title without the number.
	Title string `json:"title"`
}

MessageLayout The content of a Root message as structured, plain-text data (C-29.FR-1, FR-8), the same that the Bridge protocol carries next to `body`. Its values are never escaped for any markup.

type MessageLayoutAlertValue

type MessageLayoutAlertValue struct {
	Resolved bool   `json:"resolved"`
	Value    string `json:"value"`
}

MessageLayoutAlertValue defines model for MessageLayoutAlertValue.

type MessageLayoutAlerts

type MessageLayoutAlerts struct {
	// Label The distinguishing label.
	Label string `json:"label"`

	// Total How many Alerts the Alert Group has, so that a reader counts the ones not listed itself.
	Total int `json:"total"`

	// Values Up to `message.compact_alerts_listed` values, firing Alerts first.
	Values []MessageLayoutAlertValue `json:"values"`
}

MessageLayoutAlerts defines model for MessageLayoutAlerts.

type MessageLayoutField

type MessageLayoutField struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

MessageLayoutField defines model for MessageLayoutField.

type MessageLayoutLabel

type MessageLayoutLabel struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

MessageLayoutLabel defines model for MessageLayoutLabel.

type MessageLayoutLink struct {
	Label string `json:"label"`
	Url   string `json:"url"`
}

MessageLayoutLink defines model for MessageLayoutLink.

type MessageLayoutPerson

type MessageLayoutPerson struct {
	Name string `json:"name"`

	// Ref The `ref` of the person's entry in the envelope's `mentions` where the message carries their Mention, otherwise null.
	Ref  nullable.Nullable[string] `json:"ref"`
	Team *MessageLayoutTeam        `json:"team,omitempty"`
}

MessageLayoutPerson defines model for MessageLayoutPerson.

type MessageLayoutStatus

type MessageLayoutStatus struct {
	Key MessageLayoutStatusKey `json:"key"`

	// Word The status as a word in the Route's language.
	Word string `json:"word"`
}

MessageLayoutStatus defines model for MessageLayoutStatus.

type MessageLayoutStatusKey

type MessageLayoutStatusKey string

MessageLayoutStatusKey defines model for MessageLayoutStatus.Key.

const (
	MessageLayoutStatusKeyAcknowledged MessageLayoutStatusKey = "acknowledged"
	MessageLayoutStatusKeyFiring       MessageLayoutStatusKey = "firing"
	MessageLayoutStatusKeyResolved     MessageLayoutStatusKey = "resolved"
	MessageLayoutStatusKeySnoozed      MessageLayoutStatusKey = "snoozed"
)

Defines values for MessageLayoutStatusKey.

func (MessageLayoutStatusKey) Valid

func (e MessageLayoutStatusKey) Valid() bool

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

type MessageLayoutTeam

type MessageLayoutTeam struct {
	Name string `json:"name"`
}

MessageLayoutTeam defines model for MessageLayoutTeam.

type Messenger

type Messenger string

Messenger defines model for Messenger.

const (
	MessengerBridge     Messenger = "bridge"
	MessengerMattermost Messenger = "mattermost"
	MessengerSlack      Messenger = "slack"
	MessengerTelegram   Messenger = "telegram"
)

Defines values for Messenger.

func (Messenger) Valid

func (e Messenger) Valid() bool

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

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type MinimumSeverity

type MinimumSeverity string

MinimumSeverity `route.minimum_severity` (default `none`): the lowest Severity level of the Route's Alert Groups. It only raises the Severity level of the Route's Alert Groups — never the level of an Alert, and never lowers one; an Urgent Alert Group is a critical one.

const (
	MinimumSeverityCritical MinimumSeverity = "critical"
	MinimumSeverityNone     MinimumSeverity = "none"
	MinimumSeverityWarning  MinimumSeverity = "warning"
)

Defines values for MinimumSeverity.

func (MinimumSeverity) Valid

func (e MinimumSeverity) Valid() bool

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

type MoveOpenAlertGroups200JSONResponse

type MoveOpenAlertGroups200JSONResponse MovedAlertGroups

func (MoveOpenAlertGroups200JSONResponse) VisitMoveOpenAlertGroupsResponse

func (response MoveOpenAlertGroups200JSONResponse) VisitMoveOpenAlertGroupsResponse(w http.ResponseWriter) error

type MoveOpenAlertGroups401ApplicationProblemPlusJSONResponse

type MoveOpenAlertGroups401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 NamedMention

type NamedMention struct {
	Kind NamedMentionKind `json:"kind"`
	Name string           `json:"name"`
}

NamedMention A Mention that names no one person, which a bridge's Mention line left out for length (C-28.FR-3, C-12.FR-11): `group`, a messenger group — a group entry or a Team mention — by its name, or `everyone`, everyone in the chat, by its symbolic name (`here`, `channel` or `all`).

type NamedMentionKind

type NamedMentionKind string

NamedMentionKind defines model for NamedMention.Kind.

const (
	NamedMentionKindEveryone NamedMentionKind = "everyone"
	NamedMentionKindGroup    NamedMentionKind = "group"
)

Defines values for NamedMentionKind.

func (NamedMentionKind) Valid

func (e NamedMentionKind) Valid() bool

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

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 NotImplemented

type NotImplemented = Problem

NotImplemented 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 NotImplementedApplicationProblemPlusJSONResponse

type NotImplementedApplicationProblemPlusJSONResponse Problem

type NotPageableReason

type NotPageableReason string

NotPageableReason Why a person may not be Paged: a Viewer, a disabled User, or a User who is not in the Team.

const (
	NotPageableReasonDisabled  NotPageableReason = "disabled"
	NotPageableReasonNotInTeam NotPageableReason = "not_in_team"
	NotPageableReasonViewer    NotPageableReason = "viewer"
)

Defines values for NotPageableReason.

func (NotPageableReason) Valid

func (e NotPageableReason) Valid() bool

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

type Note

type Note struct {
	// Author Who resolved an Alert Group or wrote a Note, or is a row of the statistics by people: a User or a Service account. An Owner is always a User (`UserRef`), because a Service account cannot become an Owner; a Service account is a row of the statistics by people only through what it resolved.
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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. `bridge` marks presses and Text commands through a Bridge Connection; `slack` marks presses through a Slack Connection; `gateway` marks an Acknowledge from a call through a Notification gateway; `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 NotificationRuleAction

type NotificationRuleAction struct {
	// Available Set in reads; false for a call that cannot run now, which stays in the rule.
	Available *bool `json:"available,omitempty"`

	// Gateway Set in reads; the gateway of a call, null for the other kinds and for a Connection that no longer exists.
	Gateway nullable.Nullable[EntityRef] `json:"gateway,omitempty"`

	// GatewayId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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`.
	GatewayId *PublicId                  `json:"gateway_id,omitempty"`
	Kind      NotificationRuleActionKind `json:"kind"`

	// UnavailableReason Set in reads; why `available` is false, null when it is true.
	UnavailableReason nullable.Nullable[NotificationRuleUnavailableReason] `json:"unavailable_reason,omitempty"`

	// WaitSeconds The wait in seconds, with `wait`; a multiple of 60 from 60 to 3600.
	WaitSeconds *int `json:"wait_seconds,omitempty"`
}

NotificationRuleAction One action of a Notification rule (C-31.FR-1): `mention`, a Mention in the Thread; `call`, a call through the Notification gateway `gateway_id`, required when more than one Notification gateway exists and otherwise the only one; `wait`, a wait of `wait_seconds` before the next action, a whole number of minutes from 1 to 60 (`notification_rule.limits`): a multiple of 60 from 60 to 3600, else `422` `out_of_range` at its `wait_seconds`, `required` without it. Actions without a wait between them happen at the same moment. Fields the kind does not take are ignored. `gateway`, `available` and `unavailable_reason` are set in reads and ignored in requests, so that a read can be sent back.

type NotificationRuleActionKind

type NotificationRuleActionKind string

NotificationRuleActionKind defines model for NotificationRuleAction.Kind.

const (
	NotificationRuleActionKindCall    NotificationRuleActionKind = "call"
	NotificationRuleActionKindMention NotificationRuleActionKind = "mention"
	NotificationRuleActionKindWait    NotificationRuleActionKind = "wait"
)

Defines values for NotificationRuleActionKind.

func (NotificationRuleActionKind) Valid

func (e NotificationRuleActionKind) Valid() bool

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

type NotificationRuleSet

type NotificationRuleSet struct {
	Important []NotificationRuleAction `json:"important"`
	Normal    []NotificationRuleAction `json:"normal"`
}

NotificationRuleSet The normal and the important rule, each at most 10 actions (`notification_rule.limits`, else `422` `out_of_range` at the rule) with at least one `mention` or `call` (else `422` `required` at the rule). A call while no Notification gateway exists is `422` `gateway_required` at the action; one whose `gateway_id` names a Connection that is no Notification gateway `unknown_id` at its `gateway_id`. As many calls through a gateway as the stored rules of the same owner have, across both rules, pass without these checks, which keeps an action whose gateway was deleted; a further call through it is checked.

type NotificationRuleUnavailableReason

type NotificationRuleUnavailableReason string

NotificationRuleUnavailableReason `gateway_deleted`: the gateway of the call was deleted or is no Notification gateway any more; `no_confirmed_contact`: the person has no confirmed contact at it (never in the Organization's rules).

const (
	NotificationRuleUnavailableReasonGatewayDeleted     NotificationRuleUnavailableReason = "gateway_deleted"
	NotificationRuleUnavailableReasonNoConfirmedContact NotificationRuleUnavailableReason = "no_confirmed_contact"
)

Defines values for NotificationRuleUnavailableReason.

func (NotificationRuleUnavailableReason) Valid

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

type NotificationRules

type NotificationRules struct {
	// Etag The same value as the `ETag` header; send it as `If-Match` on the next update. In the state `organization` it changes with every change of the Organization, whose rules the User follows.
	Etag *string `json:"etag,omitempty"`

	// Gateway The gateway of the state `call`; null in the other states.
	Gateway nullable.Nullable[EntityRef] `json:"gateway"`

	// Important The important rule in effect.
	Important []NotificationRuleAction `json:"important"`

	// Normal The normal rule in effect.
	Normal []NotificationRuleAction `json:"normal"`

	// State The state of a User's rules (C-31.FR-2): `organization`, "As in the Organization", the default — the Organization's current rules; `call`, "Call" — the Organization's rules as they were when chosen, with a call through the chosen gateway at the start of the important rule; `no_call`, "Don't call" — the Organization's rules as they were when chosen, without any call; `custom` — sequences set through the API.
	State NotificationRulesState `json:"state"`
}

NotificationRules A User's Notification rules as in effect.

type NotificationRulesState

type NotificationRulesState string

NotificationRulesState The state of a User's rules (C-31.FR-2): `organization`, "As in the Organization", the default — the Organization's current rules; `call`, "Call" — the Organization's rules as they were when chosen, with a call through the chosen gateway at the start of the important rule; `no_call`, "Don't call" — the Organization's rules as they were when chosen, without any call; `custom` — sequences set through the API.

const (
	NotificationRulesStateCall         NotificationRulesState = "call"
	NotificationRulesStateCustom       NotificationRulesState = "custom"
	NotificationRulesStateNoCall       NotificationRulesState = "no_call"
	NotificationRulesStateOrganization NotificationRulesState = "organization"
)

Defines values for NotificationRulesState.

func (NotificationRulesState) Valid

func (e NotificationRulesState) Valid() bool

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

type NotificationRulesUpdate

type NotificationRulesUpdate struct {
	// GatewayId With `call`, the Notification gateway of the call; may be left out when the User has a confirmed contact at exactly one.
	GatewayId *PublicId `json:"gateway_id,omitempty"`

	// Important With `custom`, the important rule; required.
	Important *[]NotificationRuleAction `json:"important,omitempty"`

	// Normal With `custom`, the normal rule; required.
	Normal *[]NotificationRuleAction `json:"normal,omitempty"`

	// State The state of a User's rules (C-31.FR-2): `organization`, "As in the Organization", the default — the Organization's current rules; `call`, "Call" — the Organization's rules as they were when chosen, with a call through the chosen gateway at the start of the important rule; `no_call`, "Don't call" — the Organization's rules as they were when chosen, without any call; `custom` — sequences set through the API.
	State NotificationRulesState `json:"state"`
}

NotificationRulesUpdate A change of a User's rules; fields the state does not take are ignored.

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 NullableCheckKind

type NullableCheckKind string

NullableCheckKind The check or test a request belongs to, null for any other request.

const (
	NullableCheckKindConnectionCheck  NullableCheckKind = "connection_check"
	NullableCheckKindDestinationCheck NullableCheckKind = "destination_check"
	NullableCheckKindDraftCheck       NullableCheckKind = "draft_check"
	NullableCheckKindLessThannil      NullableCheckKind = "<nil>"
	NullableCheckKindProbe            NullableCheckKind = "probe"
	NullableCheckKindTest             NullableCheckKind = "test"
)

Defines values for NullableCheckKind.

func (NullableCheckKind) Valid

func (e NullableCheckKind) Valid() bool

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

type NullableConnectionCheckCode

type NullableConnectionCheckCode string

NullableConnectionCheckCode What a step of the Connection check found, as a stable code that clients translate, with `message` as its detail in English; null when the step passed with nothing to say or was skipped. A step that failed: `token_invalid` — the messenger refused the bot token (`token`, `get_me`) or the bridge refused the token (`info`); for Slack, `token_invalid` — Slack refused the bot token or the app-level token (`token`, `app_token`), `wrong_token_type` — the bot token is not a bot's: Slack answered `not_allowed_token_type`, or `auth.test` named no `bot_id` (`token`), `missing_scope` — the bot token lacks scopes Muster needs, which `missing_scopes` lists and `message` names (`scopes`), `app_mismatch` — the app-level token belongs to another Slack app than the bot token (`app_token`), and `not_slack` — the address answered the dry probe, but not with Slack's JSON `{"ok":false, "error":"not_authed"}`; for the dry probe (`dry_probe`, without any token: Telegram `GET <base>/bot0:x/getMe`, Mattermost `GET <server>/api/v4/system/ping`, a Bridge `GET <base>/v1/info`, Slack `POST https://slack.com/api/auth.test`), `not_bot_api` — the address answered, but not as a Bot API (not JSON), `not_mattermost` — the address answered, but not as a Mattermost server (not JSON, or `200` JSON whose `status` is not `OK`), `not_bridge` — the address answered, but not with a problem of the Bridge protocol (`application/problem+json`), `wrong_path_prefix` — it answered 404, so the path prefix of the address is wrong, `unexpected_status` — it answered another status than the probe expects (`401` from a Bot API or a bridge, `200` from Mattermost or Slack) in the expected format; for `info`, `protocol_version_unknown` — the bridge speaks a protocol version this Muster does not, which `message` names, and `protocol_mismatch` — the answer does not match the protocol or is larger than 64 KiB, which `message` names; for `event_delivery`, `event_delivery_not_offered` — the bridge does not offer the Connection's event delivery mode; for any step, `dns_failed` — the host name does not resolve, `connect_failed` — no connection, or the answer could not be read, `tls_failed` — the TLS handshake failed, `timeout` — no answer in time, `proxy_refused` — the proxy refused its credentials, `blocked` — the outbound address policy refused the address, and `request_failed` — any other failure, such as an error answer, which `message` names (from a bridge, the problem's masked `detail`). A step that passed: `webhook_set` (`get_webhook_info`) — a webhook is set, and `message` names its host.

const (
	NullableConnectionCheckCodeAppMismatch             NullableConnectionCheckCode = "app_mismatch"
	NullableConnectionCheckCodeBlocked                 NullableConnectionCheckCode = "blocked"
	NullableConnectionCheckCodeConnectFailed           NullableConnectionCheckCode = "connect_failed"
	NullableConnectionCheckCodeDnsFailed               NullableConnectionCheckCode = "dns_failed"
	NullableConnectionCheckCodeEventDeliveryNotOffered NullableConnectionCheckCode = "event_delivery_not_offered"
	NullableConnectionCheckCodeLessThannil             NullableConnectionCheckCode = "<nil>"
	NullableConnectionCheckCodeMissingScope            NullableConnectionCheckCode = "missing_scope"
	NullableConnectionCheckCodeNotBotApi               NullableConnectionCheckCode = "not_bot_api"
	NullableConnectionCheckCodeNotBridge               NullableConnectionCheckCode = "not_bridge"
	NullableConnectionCheckCodeNotMattermost           NullableConnectionCheckCode = "not_mattermost"
	NullableConnectionCheckCodeNotSlack                NullableConnectionCheckCode = "not_slack"
	NullableConnectionCheckCodeProtocolMismatch        NullableConnectionCheckCode = "protocol_mismatch"
	NullableConnectionCheckCodeProtocolVersionUnknown  NullableConnectionCheckCode = "protocol_version_unknown"
	NullableConnectionCheckCodeProxyRefused            NullableConnectionCheckCode = "proxy_refused"
	NullableConnectionCheckCodeRequestFailed           NullableConnectionCheckCode = "request_failed"
	NullableConnectionCheckCodeTimeout                 NullableConnectionCheckCode = "timeout"
	NullableConnectionCheckCodeTlsFailed               NullableConnectionCheckCode = "tls_failed"
	NullableConnectionCheckCodeTokenInvalid            NullableConnectionCheckCode = "token_invalid"
	NullableConnectionCheckCodeUnexpectedStatus        NullableConnectionCheckCode = "unexpected_status"
	NullableConnectionCheckCodeWebhookSet              NullableConnectionCheckCode = "webhook_set"
	NullableConnectionCheckCodeWrongPathPrefix         NullableConnectionCheckCode = "wrong_path_prefix"
	NullableConnectionCheckCodeWrongTokenType          NullableConnectionCheckCode = "wrong_token_type"
)

Defines values for NullableConnectionCheckCode.

func (NullableConnectionCheckCode) Valid

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

type NullableDestinationCheckCode

type NullableDestinationCheckCode string

NullableDestinationCheckCode Why a check of the Destination check failed, as a stable code that clients translate, with `message` as its detail in English; null for a check that passed. `token_invalid` — the messenger refused the bot token (`token`, Telegram `channel_exists`, Bridge `channel`); Mattermost `bot_in_channel`: `bot_not_in_channel`, `channel_in_other_team` — the channel is not in the Destination's team, `channel_archived`; Telegram `channel_exists`: `channel_not_found` — the channel was not found or the bot cannot see it, `not_a_channel` — the chat is not a channel; `discussion_group`: `comments_disabled` — the channel has no linked discussion group, so comments are not enabled, `changed_since_saved` — the channel or its discussion group changed since the Destination was saved, and a save takes the new one; `bot_rights_channel`: `bot_not_channel_admin`, `bot_may_not_post`, `bot_may_not_edit`; `bot_rights_group`: `bot_not_group_admin`, whose `message` names the group; Bridge `channel`: `channel_forbidden` — the bridge answered `forbidden`: the channel does not exist or the bot cannot use it, with the bridge's `detail` as `message`, and `request_failed` for any other error class of the bridge, whose `message` names the class; Slack `channel`: `token_invalid` — Slack refused the bot token, `missing_scope` — the bot token lacks a scope `conversations.info` needs, which `missing_scopes` lists, `channel_not_found` — no such channel, a deleted one, or a private channel the bot is not in, `channel_archived`, `bot_not_in_channel` — `message` says "Invite the bot to the channel: /invite @{bot}", and `request_failed` for any other error of Slack's, which `message` names; any check: `dns_failed`, `connect_failed`, `tls_failed`, `timeout`, `proxy_refused`, `blocked` and `request_failed`, as in `NullableConnectionCheckCode`.

const (
	NullableDestinationCheckCodeBlocked            NullableDestinationCheckCode = "blocked"
	NullableDestinationCheckCodeBotMayNotEdit      NullableDestinationCheckCode = "bot_may_not_edit"
	NullableDestinationCheckCodeBotMayNotPost      NullableDestinationCheckCode = "bot_may_not_post"
	NullableDestinationCheckCodeBotNotChannelAdmin NullableDestinationCheckCode = "bot_not_channel_admin"
	NullableDestinationCheckCodeBotNotGroupAdmin   NullableDestinationCheckCode = "bot_not_group_admin"
	NullableDestinationCheckCodeBotNotInChannel    NullableDestinationCheckCode = "bot_not_in_channel"
	NullableDestinationCheckCodeChangedSinceSaved  NullableDestinationCheckCode = "changed_since_saved"
	NullableDestinationCheckCodeChannelArchived    NullableDestinationCheckCode = "channel_archived"
	NullableDestinationCheckCodeChannelForbidden   NullableDestinationCheckCode = "channel_forbidden"
	NullableDestinationCheckCodeChannelInOtherTeam NullableDestinationCheckCode = "channel_in_other_team"
	NullableDestinationCheckCodeChannelNotFound    NullableDestinationCheckCode = "channel_not_found"
	NullableDestinationCheckCodeCommentsDisabled   NullableDestinationCheckCode = "comments_disabled"
	NullableDestinationCheckCodeConnectFailed      NullableDestinationCheckCode = "connect_failed"
	NullableDestinationCheckCodeDnsFailed          NullableDestinationCheckCode = "dns_failed"
	NullableDestinationCheckCodeLessThannil        NullableDestinationCheckCode = "<nil>"
	NullableDestinationCheckCodeMissingScope       NullableDestinationCheckCode = "missing_scope"
	NullableDestinationCheckCodeNotAChannel        NullableDestinationCheckCode = "not_a_channel"
	NullableDestinationCheckCodeProxyRefused       NullableDestinationCheckCode = "proxy_refused"
	NullableDestinationCheckCodeRequestFailed      NullableDestinationCheckCode = "request_failed"
	NullableDestinationCheckCodeTimeout            NullableDestinationCheckCode = "timeout"
	NullableDestinationCheckCodeTlsFailed          NullableDestinationCheckCode = "tls_failed"
	NullableDestinationCheckCodeTokenInvalid       NullableDestinationCheckCode = "token_invalid"
)

Defines values for NullableDestinationCheckCode.

func (NullableDestinationCheckCode) Valid

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

type NullableHttpHeaders

type NullableHttpHeaders map[string][]string

NullableHttpHeaders HTTP headers by name, each with its values, masked, or null. Untrusted text.

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 NullableOutgoingHeartbeatErrorClass

type NullableOutgoingHeartbeatErrorClass string

NullableOutgoingHeartbeatErrorClass Why the last outgoing heartbeat failed; null when it succeeded or was not sent. The URL answered `last_status` and the answer was classified `transient` (a server error, the next interval is the retry), `retry_after` (the URL asked to wait), `fatal` (a client error, such as a wrong URL), `redirect` (Muster follows no redirects) or `unknown`; or there was no answer: `blocked` (the outbound address policy refused the address), `dns`, `connect`, `tls`, `timeout`, `proxy_auth` (the proxy refused its credentials); or Muster could not prepare the request (`internal`, such as a URL it cannot decrypt).

const (
	NullableOutgoingHeartbeatErrorClassBlocked     NullableOutgoingHeartbeatErrorClass = "blocked"
	NullableOutgoingHeartbeatErrorClassConnect     NullableOutgoingHeartbeatErrorClass = "connect"
	NullableOutgoingHeartbeatErrorClassDns         NullableOutgoingHeartbeatErrorClass = "dns"
	NullableOutgoingHeartbeatErrorClassFatal       NullableOutgoingHeartbeatErrorClass = "fatal"
	NullableOutgoingHeartbeatErrorClassInternal    NullableOutgoingHeartbeatErrorClass = "internal"
	NullableOutgoingHeartbeatErrorClassLessThannil NullableOutgoingHeartbeatErrorClass = "<nil>"
	NullableOutgoingHeartbeatErrorClassProxyAuth   NullableOutgoingHeartbeatErrorClass = "proxy_auth"
	NullableOutgoingHeartbeatErrorClassRedirect    NullableOutgoingHeartbeatErrorClass = "redirect"
	NullableOutgoingHeartbeatErrorClassRetryAfter  NullableOutgoingHeartbeatErrorClass = "retry_after"
	NullableOutgoingHeartbeatErrorClassTimeout     NullableOutgoingHeartbeatErrorClass = "timeout"
	NullableOutgoingHeartbeatErrorClassTls         NullableOutgoingHeartbeatErrorClass = "tls"
	NullableOutgoingHeartbeatErrorClassTransient   NullableOutgoingHeartbeatErrorClass = "transient"
	NullableOutgoingHeartbeatErrorClassUnknown     NullableOutgoingHeartbeatErrorClass = "unknown"
)

Defines values for NullableOutgoingHeartbeatErrorClass.

func (NullableOutgoingHeartbeatErrorClass) Valid

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

type NullablePageImportance

type NullablePageImportance string

NullablePageImportance How a step Paged its people, which ran their Notification rule of that name (C-31.FR-3); null for a Page of a Team or of everyone in the chat, and for the events of the kind that are no Page by Mention.

const (
	NullablePageImportanceImportant   NullablePageImportance = "important"
	NullablePageImportanceLessThannil NullablePageImportance = "<nil>"
	NullablePageImportanceNormal      NullablePageImportance = "normal"
)

Defines values for NullablePageImportance.

func (NullablePageImportance) Valid

func (e NullablePageImportance) Valid() bool

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

type NullablePublicId

type NullablePublicId = string

NullablePublicId A `public_id` in the format of `PublicId`, or null.

type NullableRequestErrorClass

type NullableRequestErrorClass string

NullableRequestErrorClass How the attempt failed, as the outbound package classified it: the answer asked to wait (`retry_after`), was a server error, or the attempt got no answer, such as a refused connection or a timeout (`transient`); the answer was a client error (`fatal`), an answer it could not judge, such as one larger than its limit (`unknown`), or a redirect, which Muster never follows (`redirect`); or the outbound address policy refused the address (`blocked`). Null for an attempt that succeeded.

const (
	NullableRequestErrorClassBlocked     NullableRequestErrorClass = "blocked"
	NullableRequestErrorClassFatal       NullableRequestErrorClass = "fatal"
	NullableRequestErrorClassLessThannil NullableRequestErrorClass = "<nil>"
	NullableRequestErrorClassRedirect    NullableRequestErrorClass = "redirect"
	NullableRequestErrorClassRetryAfter  NullableRequestErrorClass = "retry_after"
	NullableRequestErrorClassTransient   NullableRequestErrorClass = "transient"
	NullableRequestErrorClassUnknown     NullableRequestErrorClass = "unknown"
)

Defines values for NullableRequestErrorClass.

func (NullableRequestErrorClass) Valid

func (e NullableRequestErrorClass) Valid() bool

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

type NullableRequestErrorCode

type NullableRequestErrorCode string

NullableRequestErrorCode What failed when the attempt got no answer, as the checks name it (`NullableConnectionCheckCode`) — `dns_failed`, `connect_failed`, `tls_failed`, `timeout`, `proxy_refused`, `blocked` or `request_failed`. Null for an attempt that got an answer.

const (
	NullableRequestErrorCodeBlocked       NullableRequestErrorCode = "blocked"
	NullableRequestErrorCodeConnectFailed NullableRequestErrorCode = "connect_failed"
	NullableRequestErrorCodeDnsFailed     NullableRequestErrorCode = "dns_failed"
	NullableRequestErrorCodeLessThannil   NullableRequestErrorCode = "<nil>"
	NullableRequestErrorCodeProxyRefused  NullableRequestErrorCode = "proxy_refused"
	NullableRequestErrorCodeRequestFailed NullableRequestErrorCode = "request_failed"
	NullableRequestErrorCodeTimeout       NullableRequestErrorCode = "timeout"
	NullableRequestErrorCodeTlsFailed     NullableRequestErrorCode = "tls_failed"
)

Defines values for NullableRequestErrorCode.

func (NullableRequestErrorCode) Valid

func (e NullableRequestErrorCode) Valid() bool

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

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 NullableStatusChangeReason

type NullableStatusChangeReason string

NullableStatusChangeReason The stable code of the reason of an automatic status change: why the Alert that resolved the Alert Group resolved (`resolved`, `gone`, `stale`, `integration_deleted`), why the Owner was released (`owner_disabled`, `owner_deleted`), `reminders_unanswered` when nobody answered the last two Reminders and the Alert Group was unacknowledged automatically, or `minimum_severity` when the Severity level was raised by the Minimum severity of the Route. Null when the entry has no reason or its reason has no code.

const (
	NullableStatusChangeReasonGone                NullableStatusChangeReason = "gone"
	NullableStatusChangeReasonIntegrationDeleted  NullableStatusChangeReason = "integration_deleted"
	NullableStatusChangeReasonLessThannil         NullableStatusChangeReason = "<nil>"
	NullableStatusChangeReasonMinimumSeverity     NullableStatusChangeReason = "minimum_severity"
	NullableStatusChangeReasonOwnerDeleted        NullableStatusChangeReason = "owner_deleted"
	NullableStatusChangeReasonOwnerDisabled       NullableStatusChangeReason = "owner_disabled"
	NullableStatusChangeReasonRemindersUnanswered NullableStatusChangeReason = "reminders_unanswered"
	NullableStatusChangeReasonResolved            NullableStatusChangeReason = "resolved"
	NullableStatusChangeReasonStale               NullableStatusChangeReason = "stale"
)

Defines values for NullableStatusChangeReason.

func (NullableStatusChangeReason) Valid

func (e NullableStatusChangeReason) Valid() bool

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

type NullableTestStepErrorCode

type NullableTestStepErrorCode string

NullableTestStepErrorCode What failed in a step where `error_class` does not tell it, for the `press` step of a Mattermost Destination: `press_not_reached` — the bot pressed the button, but the press did not reach Muster's callback; `error` names the host of `MUSTER_INGEST_URL` to add to `ServiceSettings.AllowedUntrustedInternalConnections` on the Mattermost server; `bot_unknown` — no Connection check has learned the bot yet, so it did not press; run the Connection check, then test again. Null otherwise.

const (
	NullableTestStepErrorCodeBotUnknown      NullableTestStepErrorCode = "bot_unknown"
	NullableTestStepErrorCodeLessThannil     NullableTestStepErrorCode = "<nil>"
	NullableTestStepErrorCodePressNotReached NullableTestStepErrorCode = "press_not_reached"
)

Defines values for NullableTestStepErrorCode.

func (NullableTestStepErrorCode) Valid

func (e NullableTestStepErrorCode) Valid() bool

Valid indicates whether the value is a known member of the NullableTestStepErrorCode 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"`

	// OfflineAccessOffered Present when discovery was read. True when discovery lists `offline_access` in `scopes_supported` or publishes no `scopes_supported`; Muster then requests it, and users who are granted an offline token are re-checked in the background. False when the list lacks it (as GitLab's does) — Muster does not add it, and unless the provider grants an offline token OIDC sessions end `auth.oidc_fallback_session_lifetime` after sign-in, there is no background re-check, and Personal access tokens follow `auth.oidc_token_grace`. `offline_access` is also requested, whatever this value, when the Admin adds it to the configured scopes; `requested_scopes` then lists it. Neither value is a warning.
	OfflineAccessOffered *bool `json:"offline_access_offered,omitempty"`
	Ok                   bool  `json:"ok"`

	// RequestedScopes Present when discovery was read. The scopes a sign-in and a link request from this identity provider, in order — `openid`, `offline_access` when `offline_access_offered`, then the configured scopes.
	RequestedScopes *[]string                 `json:"requested_scopes,omitempty"`
	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

type OidcGroupMapping struct {
	// Claim The claim the entry reads, by its exact name, from the ID token and then from userinfo; omitted or empty reads `groups_claim`. GitLab's role claims are `https://gitlab.org/claims/groups/owner`, `…/maintainer` and `…/developer`, and GitLab puts them in userinfo.
	Claim *string `json:"claim,omitempty"`

	// Group A value of the claim, matched exactly, or a subtree `a/b/*`, which matches `a/b` and every group below it at `/` boundaries — `a/b/c`, never `a/bx`. There are no other wildcards. An empty group, or `*` anywhere but a trailing `/*`, is refused with `422` `invalid_format` at the entry's `group`.
	Group string   `json:"group"`
	Role  RoleName `json:"role"`
}

OidcGroupMapping An entry of the Role mapping. When the entries map a person to several Roles, the highest wins.

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 {
	// ClaimsSupported The claims that discovery listed in `claims_supported` at the last connection check, for the editors to suggest; empty before a check, and after the issuer URL changed until the next one.
	ClaimsSupported *[]string `json:"claims_supported,omitempty"`
	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 The Role mapping, at most 500 entries, each with the claim it reads.
	GroupMappings []OidcGroupMapping `json:"group_mappings"`
	GroupsClaim   string             `json:"groups_claim"`
	IssuerUrl     string             `json:"issuer_url"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The OIDC settings exist once and read null until a write sets it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// 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` when the IdP's discovery lists it in `scopes_supported` or publishes no `scopes_supported`; when Muster requests it, allow `offline_access` for the Muster client at the IdP. Without an offline token 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`. The connection check shows the scopes a sign-in requests.
	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 The Role mapping, at most 500 entries, each with the claim it reads.
	GroupMappings []OidcGroupMapping `json:"group_mappings"`
	GroupsClaim   string             `json:"groups_claim"`
	IssuerUrl     string             `json:"issuer_url"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The OIDC settings exist once and read null until a write sets it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// Scopes Scopes requested at sign-in and linking. Muster always adds `openid`, and `offline_access` when the IdP's discovery lists it in `scopes_supported` or publishes no `scopes_supported`; when Muster requests it, allow `offline_access` for the Muster client at the IdP. Without an offline token 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`. The connection check shows the scopes a sign-in requests.
	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 The Role mapping, at most 500 entries, each with the claim it reads.
	GroupMappings []OidcGroupMapping `json:"group_mappings"`
	GroupsClaim   string             `json:"groups_claim"`
	IssuerUrl     string             `json:"issuer_url"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The OIDC settings exist once and read null until a write sets it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// 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` when the IdP's discovery lists it in `scopes_supported` or publishes no `scopes_supported`; when Muster requests it, allow `offline_access` for the Muster client at the IdP. Without an offline token 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`. The connection check shows the scopes a sign-in requests.
	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 {
	// Claim For `groups_claim_missing`, the claim no sign-in has carried yet.
	Claim     *string                               `json:"claim,omitempty"`
	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`, one per claim, named by `claim` — the groups claim and every claim an entry of the mapping names: no sign-in has carried the claim yet, so the entries that read it have not matched anyone yet: no sign-in has seen it in an ID token or userinfo since the groups claim, the issuer, the client ID or the scopes last changed, and the latest check found discovery not advertising it. `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`, one per claim, named by `claim` — the groups claim and every claim an entry of the mapping names: no sign-in has carried the claim yet, so the entries that read it have not matched anyone yet: no sign-in has seen it in an ID token or userinfo since the groups claim, the issuer, the client ID or the scopes last changed, and the latest check found discovery not advertising it. `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 OnCallNext

type OnCallNext struct {
	End   time.Time `json:"end"`
	Start time.Time `json:"start"`

	// User The person On-call then; null for a gap.
	User nullable.Nullable[UserRef] `json:"user"`
}

OnCallNext The segment of a Schedule's Result after the current one, cut to `schedule.gap_view`.

type OnCallNow

type OnCallNow struct {
	Items []TeamOnCall `json:"items"`
}

OnCallNow "On call now": the On-call of each Team, by the Team's name.

type OnCallReach

type OnCallReach struct {
	Destination DestinationRef `json:"destination"`

	// GatewayReaches True when the current On-call has a confirmed contact at a Notification gateway, so that a call through it reaches them; whether that gateway is Broken is not considered (C-27.FR-8).
	GatewayReaches *bool `json:"gateway_reaches,omitempty"`

	// Messenger The messenger of the Destination — the type of its Connection, or `webhook`.
	Messenger DestinationType `json:"messenger"`

	// Reason Why a Mention of an On-call cannot reach a Destination of their Team, or of an Escalation chain that Pages their Schedule (C-27.FR-8): `no_account_link` — the person has no Account link in the Identity space of the Connection of a Mattermost, Slack, Telegram or Bridge Destination; `bridge_no_native_mentions` — the bridge of a Bridge Destination does not declare `native_mentions` in the `info` its Connection check last read; `webhook_no_thread_reply` — an outgoing webhook in template mode has no "reply in thread" request; `not_in_discussion_group` — the last Destination check of a Telegram Destination saw the person outside the discussion group of its channel.
	Reason ReachReason `json:"reason"`
}

OnCallReach A Destination of the Team, or of an Escalation chain that Pages its main Schedule, that a Mention of its On-call cannot reach, with why (C-27.FR-8).

type OnCallSegment

type OnCallSegment struct {
	End time.Time `json:"end"`

	// Source Null in a gap.
	Source nullable.Nullable[OnCallSource] `json:"source"`
	Start  time.Time                       `json:"start"`

	// User Null in a gap.
	User nullable.Nullable[UserRef] `json:"user"`
}

OnCallSegment A segment of the Result, with the person On-call in it, or nobody in a gap.

type OnCallSource

type OnCallSource struct {
	Kind OnCallSourceKind `json:"kind"`

	// OverrideId Set with `override`.
	OverrideId *PublicId `json:"override_id,omitempty"`

	// RotationLayer Set with `rotation_layer`.
	RotationLayer *EntityRef `json:"rotation_layer,omitempty"`
}

OnCallSource What decides a segment of the Result.

type OnCallSourceKind

type OnCallSourceKind string

OnCallSourceKind defines model for OnCallSource.Kind.

const (
	OnCallSourceKindOverride      OnCallSourceKind = "override"
	OnCallSourceKindRotationLayer OnCallSourceKind = "rotation_layer"
)

Defines values for OnCallSourceKind.

func (OnCallSourceKind) Valid

func (e OnCallSourceKind) Valid() bool

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

type Organization

type Organization struct {
	// Buttons The Organization's button set (C-28.FR-8, FR-10); omit it on an update to keep it.
	Buttons OrganizationButtonSet `json:"buttons"`

	// CriticalIsUrgent Always true from 0.2.0: critical is Urgent. Ignored in requests; removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The Organization's settings are one object with one mark, null until a write sets it, whichever page of the web UI edits them.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// NotificationRules The Organization's default Notification rules (`organization.notification_rules`, C-31.FR-2; default: normal a Mention; important a Mention, a wait of 300 seconds and a Mention), which every User in the state `organization` follows at once; Users in `call`, `no_call` or `custom` keep their rules. Omit it on an update to keep it. Validated as `NotificationRuleSet` says, at `/notification_rules/...`; a call needs only an existing Notification gateway, never a contact. A change is recorded in the diff of `organization.updated` at `/notification_rules/normal` and `/notification_rules/important`. In 0.2.0 they change only through the API.
	NotificationRules NotificationRuleSet `json:"notification_rules"`

	// 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, from 1 to 36500 (100 years). `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"`

	// TeamLabel The Team label (`organization.team_label`, default `team`), whose value names a Team by its slug (C-25.FR-5). Omit it on an update to keep it. A label that an Internal alert sets itself — `alertname`, `severity` and the entity and name labels of the Internal alerts, such as `schedule` or `team_id` — is refused with `422` `reserved_label` at `/team_label`. A change applies to the Alerts that start firing afterwards, evaluates the Teams of the open Alert Groups again (C-25.FR-13) and re-renders their open Root messages Quietly, as edits, since their key labels show it (C-29.FR-2). A value that is not a label name is refused with `422` `invalid_format`.
	TeamLabel string `json:"team_label"`

	// TimeZone IANA time zone used for times in messages. A change re-renders the open Root messages Quietly, as edits (C-29.FR-1).
	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"`

	// WeekStart A day of the week. As the Organization's `week_start` it is `organization.week_start` (default `monday`), the first day of the week, on which the Snooze preset `week_start` ends at the start of the working day; omit it on an update to keep it.
	WeekStart Weekday `json:"week_start"`

	// WorkdayEnd The end of the working day (`organization.working_hours`, default `18:00`), later than `workday_start` on the same day, else `422` `out_of_range` at the field the update changes, `/workday_end` or `/workday_start`. Omit it on an update to keep it.
	WorkdayEnd string `json:"workday_end"`

	// WorkdayStart The start of the working day, `organization.workday_start` (default `09:00`), a time of day `HH:MM` on the 24-hour clock, at which the Snooze presets end in their time zone. Omit it on an update to keep it. A change applies to Snoozes set afterwards and never moves one already set; it re-renders the open Root messages Quietly, as edits, whose Snooze presets show it (C-10.FR-18).
	WorkdayStart string `json:"workday_start"`

	// WorkingDays The days of the Organization's Working hours (`organization.working_hours`, default Monday to Friday). Omit it on an update to keep it.
	WorkingDays []Weekday `json:"working_days"`

	// WorkingHours The Organization's Working hours, derived (C-25.FR-9) — `working_days`, from `workday_start` to `workday_end`, in `time_zone` — which every Team without its own follows.
	WorkingHours *WorkingHours `json:"working_hours,omitempty"`
}

Organization defines model for Organization.

type OrganizationBase

type OrganizationBase struct {
	// Buttons The Organization's button set (C-28.FR-8, FR-10); omit it on an update to keep it.
	Buttons *OrganizationButtonSet `json:"buttons,omitempty"`

	// CriticalIsUrgent Always true from 0.2.0: critical is Urgent. Ignored in requests; removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	CriticalIsUrgent *bool    `json:"critical_is_urgent,omitempty"`
	InstanceLabels   []string `json:"instance_labels"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The Organization's settings are one object with one mark, null until a write sets it, whichever page of the web UI edits them.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// NotificationRules The Organization's default Notification rules (`organization.notification_rules`, C-31.FR-2; default: normal a Mention; important a Mention, a wait of 300 seconds and a Mention), which every User in the state `organization` follows at once; Users in `call`, `no_call` or `custom` keep their rules. Omit it on an update to keep it. Validated as `NotificationRuleSet` says, at `/notification_rules/...`; a call needs only an existing Notification gateway, never a contact. A change is recorded in the diff of `organization.updated` at `/notification_rules/normal` and `/notification_rules/important`. In 0.2.0 they change only through the API.
	NotificationRules *NotificationRuleSet `json:"notification_rules,omitempty"`

	// 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, from 1 to 36500 (100 years). `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"`

	// TeamLabel The Team label (`organization.team_label`, default `team`), whose value names a Team by its slug (C-25.FR-5). Omit it on an update to keep it. A label that an Internal alert sets itself — `alertname`, `severity` and the entity and name labels of the Internal alerts, such as `schedule` or `team_id` — is refused with `422` `reserved_label` at `/team_label`. A change applies to the Alerts that start firing afterwards, evaluates the Teams of the open Alert Groups again (C-25.FR-13) and re-renders their open Root messages Quietly, as edits, since their key labels show it (C-29.FR-2). A value that is not a label name is refused with `422` `invalid_format`.
	TeamLabel *string `json:"team_label,omitempty"`

	// TimeZone IANA time zone used for times in messages. A change re-renders the open Root messages Quietly, as edits (C-29.FR-1).
	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"`

	// WeekStart A day of the week. As the Organization's `week_start` it is `organization.week_start` (default `monday`), the first day of the week, on which the Snooze preset `week_start` ends at the start of the working day; omit it on an update to keep it.
	WeekStart *Weekday `json:"week_start,omitempty"`

	// WorkdayEnd The end of the working day (`organization.working_hours`, default `18:00`), later than `workday_start` on the same day, else `422` `out_of_range` at the field the update changes, `/workday_end` or `/workday_start`. Omit it on an update to keep it.
	WorkdayEnd *string `json:"workday_end,omitempty"`

	// WorkdayStart The start of the working day, `organization.workday_start` (default `09:00`), a time of day `HH:MM` on the 24-hour clock, at which the Snooze presets end in their time zone. Omit it on an update to keep it. A change applies to Snoozes set afterwards and never moves one already set; it re-renders the open Root messages Quietly, as edits, whose Snooze presets show it (C-10.FR-18).
	WorkdayStart *string `json:"workday_start,omitempty"`

	// WorkingDays The days of the Organization's Working hours (`organization.working_hours`, default Monday to Friday). Omit it on an update to keep it.
	WorkingDays *[]Weekday `json:"working_days,omitempty"`
}

OrganizationBase defines model for OrganizationBase.

type OrganizationButtonSet

type OrganizationButtonSet struct {
	All bool `json:"all"`

	// Items Required when `all` is false, ignored otherwise.
	Items *[]ButtonSetItem `json:"items,omitempty"`
}

OrganizationButtonSet The Organization's button set, `organization.buttons` (C-28.FR-8): the buttons the Root messages of the Destinations that follow it show, in the order of the buttons by status. `all: true`, the default, is every button, durations a Route gains later included; `all: false` shows only `items`, which are then required. Unsnooze on a snoozed Root message and the buttons of Reminders always show; the UI, the API and the Text commands of Bridges keep every action. A change re-renders the open Root messages of the Destinations that follow the Organization, as edits.

type OrganizationInput

type OrganizationInput struct {
	// Buttons The Organization's button set (C-28.FR-8, FR-10); omit it on an update to keep it.
	Buttons *OrganizationButtonSet `json:"buttons,omitempty"`

	// CriticalIsUrgent Always true from 0.2.0: critical is Urgent. Ignored in requests; removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	CriticalIsUrgent *bool    `json:"critical_is_urgent,omitempty"`
	InstanceLabels   []string `json:"instance_labels"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The Organization's settings are one object with one mark, null until a write sets it, whichever page of the web UI edits them.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// NotificationRules The Organization's default Notification rules (`organization.notification_rules`, C-31.FR-2; default: normal a Mention; important a Mention, a wait of 300 seconds and a Mention), which every User in the state `organization` follows at once; Users in `call`, `no_call` or `custom` keep their rules. Omit it on an update to keep it. Validated as `NotificationRuleSet` says, at `/notification_rules/...`; a call needs only an existing Notification gateway, never a contact. A change is recorded in the diff of `organization.updated` at `/notification_rules/normal` and `/notification_rules/important`. In 0.2.0 they change only through the API.
	NotificationRules *NotificationRuleSet `json:"notification_rules,omitempty"`

	// 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, from 1 to 36500 (100 years). `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"`

	// TeamLabel The Team label (`organization.team_label`, default `team`), whose value names a Team by its slug (C-25.FR-5). Omit it on an update to keep it. A label that an Internal alert sets itself — `alertname`, `severity` and the entity and name labels of the Internal alerts, such as `schedule` or `team_id` — is refused with `422` `reserved_label` at `/team_label`. A change applies to the Alerts that start firing afterwards, evaluates the Teams of the open Alert Groups again (C-25.FR-13) and re-renders their open Root messages Quietly, as edits, since their key labels show it (C-29.FR-2). A value that is not a label name is refused with `422` `invalid_format`.
	TeamLabel *string `json:"team_label,omitempty"`

	// TimeZone IANA time zone used for times in messages. A change re-renders the open Root messages Quietly, as edits (C-29.FR-1).
	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"`

	// WeekStart A day of the week. As the Organization's `week_start` it is `organization.week_start` (default `monday`), the first day of the week, on which the Snooze preset `week_start` ends at the start of the working day; omit it on an update to keep it.
	WeekStart *Weekday `json:"week_start,omitempty"`

	// WorkdayEnd The end of the working day (`organization.working_hours`, default `18:00`), later than `workday_start` on the same day, else `422` `out_of_range` at the field the update changes, `/workday_end` or `/workday_start`. Omit it on an update to keep it.
	WorkdayEnd *string `json:"workday_end,omitempty"`

	// WorkdayStart The start of the working day, `organization.workday_start` (default `09:00`), a time of day `HH:MM` on the 24-hour clock, at which the Snooze presets end in their time zone. Omit it on an update to keep it. A change applies to Snoozes set afterwards and never moves one already set; it re-renders the open Root messages Quietly, as edits, whose Snooze presets show it (C-10.FR-18).
	WorkdayStart *string `json:"workday_start,omitempty"`

	// WorkingDays The days of the Organization's Working hours (`organization.working_hours`, default Monday to Friday). Omit it on an update to keep it.
	WorkingDays *[]Weekday `json:"working_days,omitempty"`
}

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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The policy exists once and reads null until a write sets it; a write that changes only the mark leaves the policy that every replica applies as it is.
	ManagedBy nullable.Nullable[string] `json:"managed_by,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 What failed, in English and without the URL; clients translate `last_error_class` and show this text as its detail.
	LastError nullable.Nullable[string] `json:"last_error,omitempty"`

	// LastErrorClass Why the last outgoing heartbeat failed; null when it succeeded or was not sent. The URL answered `last_status` and the answer was classified `transient` (a server error, the next interval is the retry), `retry_after` (the URL asked to wait), `fatal` (a client error, such as a wrong URL), `redirect` (Muster follows no redirects) or `unknown`; or there was no answer: `blocked` (the outbound address policy refused the address), `dns`, `connect`, `tls`, `timeout`, `proxy_auth` (the proxy refused its credentials); or Muster could not prepare the request (`internal`, such as a URL it cannot decrypt).
	LastErrorClass nullable.Nullable[NullableOutgoingHeartbeatErrorClass] `json:"last_error_class,omitempty"`
	LastOk         nullable.Nullable[bool]                                `json:"last_ok,omitempty"`

	// LastStatus The status code the URL answered the last failed heartbeat with; null without an answer.
	LastStatus nullable.Nullable[int] `json:"last_status,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"`

	// Destination The Destination the Alert Group joined, only on `destination_joined`; the outgoing webhook Destination the step sent to, only on `escalation_webhook`.
	Destination *WebhookDestinationRef `json:"destination,omitempty"`

	// EscalationStep The chain, the step and the reason, only on `escalation_step_skipped` and `escalation_webhook`, whose reason is null.
	EscalationStep *WebhookEscalationStep `json:"escalation_step,omitempty"`

	// 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 The Mentions of a Loud event as data (C-15.FR-11), empty on a Quiet one. On `paged` they are the people of the Page as `user` targets, or for a step "Page the whole Team" its Team as a `team` target or everyone in the chat as an `everyone` target, never the Destination's Mention entries.
	Mentions []WebhookMentionTarget `json:"mentions"`

	// Notify True exactly when the event is Loud.
	Notify     bool      `json:"notify"`
	OccurredAt time.Time `json:"occurred_at"`

	// Page The Page, only on `paged` and `page_not_delivered`.
	Page *WebhookPage `json:"page,omitempty"`

	// 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

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

type OverrideId

type OverrideId = PublicId

OverrideId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 OwningTeamQuery

type OwningTeamQuery = string

OwningTeamQuery defines model for OwningTeamQuery.

type PageEveryone

type PageEveryone string

PageEveryone The word for everyone in the chat that a `page_team` step wrote instead of a Team mention; null otherwise.

const (
	PageEveryoneAll         PageEveryone = "all"
	PageEveryoneChannel     PageEveryone = "channel"
	PageEveryoneEveryone    PageEveryone = "everyone"
	PageEveryoneHere        PageEveryone = "here"
	PageEveryoneLessThannil PageEveryone = "<nil>"
)

Defines values for PageEveryone.

func (PageEveryone) Valid

func (e PageEveryone) Valid() bool

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

type PageImportance

type PageImportance string

PageImportance How a step Pages a person, which runs their Notification rule of that name (C-31.FR-3).

const (
	PageImportanceImportant PageImportance = "important"
	PageImportanceNormal    PageImportance = "normal"
)

Defines values for PageImportance.

func (PageImportance) Valid

func (e PageImportance) Valid() bool

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

type PageNotDeliveredReason

type PageNotDeliveredReason string

PageNotDeliveredReason Why a Page reached its person nowhere (`page_not_delivered`): the Notification gateway refused the call (`call_refused`), answered what Muster cannot classify (`call_unknown`), or kept failing until the retry budget was used (`call_budget_used`); the person had no confirmed contact at the gateway at the first attempt (`no_confirmed_contact`); the gateway was deleted, or is no Notification gateway any more, before the call was sent (`gateway_deleted`); or the call came due while the gateway was Broken, and is never sent (`gateway_broken`). A Page by Mention (C-32.FR-10): none of its chain's Destinations has the Alert Group's Root message (`no_root_message`), the person has no Account link in the Identity space of any of them (`no_account_link`), or every Thread reply that would mention them ended Not delivered, was withheld while its Destination was Broken, or was never sent because its Root message ended Not delivered (`not_delivered`). Null for the other events of the kind. Later versions add reasons; clients show an unknown one as it is.

const (
	PageNotDeliveredReasonCallBudgetUsed     PageNotDeliveredReason = "call_budget_used"
	PageNotDeliveredReasonCallRefused        PageNotDeliveredReason = "call_refused"
	PageNotDeliveredReasonCallUnknown        PageNotDeliveredReason = "call_unknown"
	PageNotDeliveredReasonGatewayBroken      PageNotDeliveredReason = "gateway_broken"
	PageNotDeliveredReasonGatewayDeleted     PageNotDeliveredReason = "gateway_deleted"
	PageNotDeliveredReasonLessThannil        PageNotDeliveredReason = "<nil>"
	PageNotDeliveredReasonNoAccountLink      PageNotDeliveredReason = "no_account_link"
	PageNotDeliveredReasonNoConfirmedContact PageNotDeliveredReason = "no_confirmed_contact"
	PageNotDeliveredReasonNoRootMessage      PageNotDeliveredReason = "no_root_message"
	PageNotDeliveredReasonNotDelivered       PageNotDeliveredReason = "not_delivered"
)

Defines values for PageNotDeliveredReason.

func (PageNotDeliveredReason) Valid

func (e PageNotDeliveredReason) Valid() bool

Valid indicates whether the value is a known member of the PageNotDeliveredReason 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 struct {
	ExpiresAt time.Time `json:"expires_at"`
	Url       string    `json:"url"`
}

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 | | `teams:read` (Teams, the people in them and their Working hours) | 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 | | `teams:write` (Teams and the people in them) | yes | no | no | | `schedules:read` (Schedules, Rotation layers, Overrides and the On-call) | yes | yes | yes | | `schedules:write` (Schedules and Rotation layers, and a Team's main Schedule) | yes | no | no | | `schedule-overrides:write` (Overrides, when the caller is in the Team or is an Admin) | yes | yes | no | | `escalation-chains:read` (Escalation chains with their steps) | yes | yes | yes | | `escalation-chains:write` (Escalation chains with their steps; naming a chain on a Route needs `routes:write`, on a Team `teams:write`) | 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. A Team grants no Permission and limits none: every check is a check of the Role.

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"
	EscalationChainsRead   Permission = "escalation-chains:read"
	EscalationChainsWrite  Permission = "escalation-chains: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"
	ScheduleOverridesWrite Permission = "schedule-overrides:write"
	SchedulesRead          Permission = "schedules:read"
	SchedulesWrite         Permission = "schedules:write"
	ServiceAccountsRead    Permission = "service-accounts:read"
	ServiceAccountsWrite   Permission = "service-accounts:write"
	StoredSnapshotsRead    Permission = "stored-snapshots:read"
	SystemStatusRead       Permission = "system-status:read"
	TeamsRead              Permission = "teams:read"
	TeamsWrite             Permission = "teams:write"
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 PreviewDestination501ApplicationProblemPlusJSONResponse

type PreviewDestination501ApplicationProblemPlusJSONResponse struct {
	NotImplementedApplicationProblemPlusJSONResponse
}

func (PreviewDestination501ApplicationProblemPlusJSONResponse) VisitPreviewDestinationResponse

func (response PreviewDestination501ApplicationProblemPlusJSONResponse) 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	// AttemptsRemaining Set on the `link_code_invalid` refusal of `confirmMattermostLink`, `confirmBridgeLink` and `confirmSlackLink`; the attempts left for the code of the link request, 0 once it can no longer be used (void, used or expired, or after the last wrong code). Set on the `contact_code_invalid` refusal of `confirmMyGatewayContact` too, with the attempts left for the code of the contact, 0 once it is void.
	AttemptsRemaining *int `json:"attempts_remaining,omitempty"`

	// 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"`

	// GatewayClass Set on `gateway-refused`; how the Notification gateway refused the notification, as the Bridge protocol classifies it.
	GatewayClass *ProblemGatewayClass `json:"gateway_class,omitempty"`

	// InUseBy Set on `team_in_use`, `schedule_in_use` and `chain_in_use`; the objects that hold the resource, each with its kind, `public_id` and name.
	InUseBy *[]InUseRef `json:"in_use_by,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 {
	// CheckCode Set on `destination_check_failed`; the code of the failing check, as in `DestinationCheckItem`, which clients translate, with `detail` as its English text.
	CheckCode nullable.Nullable[NullableDestinationCheckCode] `json:"check_code,omitempty"`

	// 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"`

	// MissingScopes Set on `destination_check_failed` with the `check_code` `missing_scope` (Slack), omitted otherwise — the scopes Slack named as needed, as in `DestinationCheckItem`, which clients name in their own words; `detail` names them in English.
	MissingScopes *[]string `json:"missing_scopes,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"`

	// Reason Set on `not_pageable`; why the person may not be Paged.
	Reason *NotPageableReason `json:"reason,omitempty"`
}

ProblemError defines model for ProblemError.

type ProblemGatewayClass

type ProblemGatewayClass string

ProblemGatewayClass Set on `gateway-refused`; how the Notification gateway refused the notification, as the Bridge protocol classifies it.

const (
	ProblemGatewayClassForbidden   ProblemGatewayClass = "forbidden"
	ProblemGatewayClassGone        ProblemGatewayClass = "gone"
	ProblemGatewayClassInvalid     ProblemGatewayClass = "invalid"
	ProblemGatewayClassRateLimited ProblemGatewayClass = "rate_limited"
	ProblemGatewayClassTransient   ProblemGatewayClass = "transient"
)

Defines values for ProblemGatewayClass.

func (ProblemGatewayClass) Valid

func (e ProblemGatewayClass) Valid() bool

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

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.

const (
	ProxyTypeHttp   ProxyType = "http"
	ProxyTypeHttps  ProxyType = "https"
	ProxyTypeSocks5 ProxyType = "socks5"
)

Defines values for ProxyType.

func (ProxyType) Valid

func (e ProxyType) Valid() bool

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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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

type QueueDepth struct {
	Destination EntityRef `json:"destination"`
	Queued      int       `json:"queued"`
}

QueueDepth defines model for QueueDepth.

type ReachReason

type ReachReason string

ReachReason Why a Mention of an On-call cannot reach a Destination of their Team, or of an Escalation chain that Pages their Schedule (C-27.FR-8): `no_account_link` — the person has no Account link in the Identity space of the Connection of a Mattermost, Slack, Telegram or Bridge Destination; `bridge_no_native_mentions` — the bridge of a Bridge Destination does not declare `native_mentions` in the `info` its Connection check last read; `webhook_no_thread_reply` — an outgoing webhook in template mode has no "reply in thread" request; `not_in_discussion_group` — the last Destination check of a Telegram Destination saw the person outside the discussion group of its channel.

const (
	ReachReasonBridgeNoNativeMentions ReachReason = "bridge_no_native_mentions"
	ReachReasonNoAccountLink          ReachReason = "no_account_link"
	ReachReasonNotInDiscussionGroup   ReachReason = "not_in_discussion_group"
	ReachReasonWebhookNoThreadReply   ReachReason = "webhook_no_thread_reply"
)

Defines values for ReachReason.

func (ReachReason) Valid

func (e ReachReason) Valid() bool

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

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 RemoveTeamUser204Response

type RemoveTeamUser204Response struct {
}

func (RemoveTeamUser204Response) VisitRemoveTeamUserResponse

func (response RemoveTeamUser204Response) VisitRemoveTeamUserResponse(w http.ResponseWriter) error

type RemoveTeamUser401ApplicationProblemPlusJSONResponse

type RemoveTeamUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RemoveTeamUser401ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse

func (response RemoveTeamUser401ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse(w http.ResponseWriter) error

type RemoveTeamUser403ApplicationProblemPlusJSONResponse

type RemoveTeamUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RemoveTeamUser403ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse

func (response RemoveTeamUser403ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse(w http.ResponseWriter) error

type RemoveTeamUser404ApplicationProblemPlusJSONResponse

type RemoveTeamUser404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RemoveTeamUser404ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse

func (response RemoveTeamUser404ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse(w http.ResponseWriter) error

type RemoveTeamUser429ApplicationProblemPlusJSONResponse

type RemoveTeamUser429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (RemoveTeamUser429ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse

func (response RemoveTeamUser429ApplicationProblemPlusJSONResponse) VisitRemoveTeamUserResponse(w http.ResponseWriter) error

type RemoveTeamUserRequestObject

type RemoveTeamUserRequestObject struct {
	TeamId TeamId `json:"team_id"`
	UserId UserId `json:"user_id"`
}

type RemoveTeamUserResponseObject

type RemoveTeamUserResponseObject interface {
	VisitRemoveTeamUserResponse(w http.ResponseWriter) error
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 RequestDirection

type RequestDirection string

RequestDirection Whether Muster sent the request (`outbound`) or received it (`inbound`).

const (
	Inbound  RequestDirection = "inbound"
	Outbound RequestDirection = "outbound"
)

Defines values for RequestDirection.

func (RequestDirection) Valid

func (e RequestDirection) Valid() bool

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

type RequestLogList

type RequestLogList struct {
	Items      []RequestRecordSummary    `json:"items"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

RequestLogList defines model for RequestLogList.

type RequestRecord

type RequestRecord struct {
	// AlertGroup The Alert Group whose delivery the request made, null for none.
	AlertGroup nullable.Nullable[AlertGroupRef] `json:"alert_group"`

	// At When the attempt was made, on the business clock.
	At time.Time `json:"at"`

	// Attempt Which attempt of the request this was, from 1.
	Attempt int `json:"attempt"`

	// Check The check or test a request belongs to, null for any other request.
	Check nullable.Nullable[NullableCheckKind] `json:"check"`

	// CheckRun A `public_id` in the format of `PublicId`, or null.
	CheckRun nullable.Nullable[NullablePublicId] `json:"check_run"`

	// ConnectionId A `public_id` in the format of `PublicId`, or null.
	ConnectionId nullable.Nullable[NullablePublicId] `json:"connection_id"`

	// Destination The Destination the request concerns, null for none.
	Destination nullable.Nullable[DestinationRef] `json:"destination"`

	// Direction Whether Muster sent the request (`outbound`) or received it (`inbound`).
	Direction RequestDirection `json:"direction"`

	// Error Why the attempt failed, masked; null for one that succeeded. Untrusted where it comes from the remote side.
	Error nullable.Nullable[string] `json:"error"`

	// ErrorClass How the attempt failed, as the outbound package classified it: the answer asked to wait (`retry_after`), was a server error, or the attempt got no answer, such as a refused connection or a timeout (`transient`); the answer was a client error (`fatal`), an answer it could not judge, such as one larger than its limit (`unknown`), or a redirect, which Muster never follows (`redirect`); or the outbound address policy refused the address (`blocked`). Null for an attempt that succeeded.
	ErrorClass nullable.Nullable[NullableRequestErrorClass] `json:"error_class"`

	// ErrorCode What failed when the attempt got no answer, as the checks name it (`NullableConnectionCheckCode`) — `dns_failed`, `connect_failed`, `tls_failed`, `timeout`, `proxy_refused`, `blocked` or `request_failed`. Null for an attempt that got an answer.
	ErrorCode nullable.Nullable[NullableRequestErrorCode] `json:"error_code"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	LatencyMs int      `json:"latency_ms"`

	// Method The HTTP method, `WEBSOCKET` for an envelope received over a Slack Socket Mode connection.
	Method string `json:"method"`

	// Operation The operation as its protocol names it — the Bot API method for Telegram, the Web API method for Slack (`auth.test`, `chat.postMessage`), the `operationId` of the Bridge protocol, the operation of Mattermost's REST API in lower camel case — or for an outgoing webhook `event`, or the request of the template mode (`create`, `update`, `open_thread`, `reply_in_thread`).
	Operation string `json:"operation"`

	// RequestBody The body as sent, masked, cut to `request_log.body_max` bytes at a character boundary, bytes that are not UTF-8 replaced; untrusted text.
	RequestBody string `json:"request_body"`

	// RequestBodyBytes The length in bytes of the request body after Secrets are masked and before signed action ids and tokens are masked, bytes that are not UTF-8 replaced and the body cut.
	RequestBodyBytes int `json:"request_body_bytes"`

	// RequestBodyTruncated The request body is cut to `request_log.body_max` bytes.
	RequestBodyTruncated bool `json:"request_body_truncated"`

	// RequestHeaders HTTP headers by name, each with its values, masked. Untrusted text.
	RequestHeaders HttpHeaders `json:"request_headers"`

	// ResponseBody The answer's body, masked and cut as the request body — for a Socket Mode envelope Muster's confirmation; null without an answer; untrusted text.
	ResponseBody nullable.Nullable[string] `json:"response_body"`

	// ResponseBodyBytes The length in bytes of the answer's body after Secrets are masked and before signed action ids and tokens are masked, bytes that are not UTF-8 replaced and the body cut; for an answer larger than the client reads, of the bytes read. 0 without an answer.
	ResponseBodyBytes int `json:"response_body_bytes"`

	// ResponseBodyTruncated The answer's body is cut to `request_log.body_max` bytes.
	ResponseBodyTruncated bool `json:"response_body_truncated"`

	// ResponseHeaders The answer's headers, masked; null without an answer and for a Socket Mode envelope, whose confirmation has none.
	ResponseHeaders nullable.Nullable[NullableHttpHeaders] `json:"response_headers"`

	// Status The status of the answer, null when the attempt got no answer, and for a Socket Mode envelope, whose confirmation has no status.
	Status nullable.Nullable[int] `json:"status"`

	// Url The URL as errors show it, masked; untrusted text. Without user information, with the path prefix of the base URL as `[redacted]`.
	Url string `json:"url"`

	// Via How the request travelled.
	Via ConnectionPath `json:"via"`
}

RequestRecord One attempt of a request with its headers and bodies, masked. Headers, bodies and the error are untrusted text.

type RequestRecordId

type RequestRecordId = PublicId

RequestRecordId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 RequestRecordSummary

type RequestRecordSummary struct {
	// AlertGroup The Alert Group whose delivery the request made, null for none.
	AlertGroup nullable.Nullable[AlertGroupRef] `json:"alert_group"`

	// At When the attempt was made, on the business clock.
	At time.Time `json:"at"`

	// Attempt Which attempt of the request this was, from 1.
	Attempt int `json:"attempt"`

	// Check The check or test a request belongs to, null for any other request.
	Check nullable.Nullable[NullableCheckKind] `json:"check"`

	// CheckRun A `public_id` in the format of `PublicId`, or null.
	CheckRun nullable.Nullable[NullablePublicId] `json:"check_run"`

	// ConnectionId A `public_id` in the format of `PublicId`, or null.
	ConnectionId nullable.Nullable[NullablePublicId] `json:"connection_id"`

	// Destination The Destination the request concerns, null for none.
	Destination nullable.Nullable[DestinationRef] `json:"destination"`

	// Direction Whether Muster sent the request (`outbound`) or received it (`inbound`).
	Direction RequestDirection `json:"direction"`

	// ErrorClass How the attempt failed, as the outbound package classified it: the answer asked to wait (`retry_after`), was a server error, or the attempt got no answer, such as a refused connection or a timeout (`transient`); the answer was a client error (`fatal`), an answer it could not judge, such as one larger than its limit (`unknown`), or a redirect, which Muster never follows (`redirect`); or the outbound address policy refused the address (`blocked`). Null for an attempt that succeeded.
	ErrorClass nullable.Nullable[NullableRequestErrorClass] `json:"error_class"`

	// ErrorCode What failed when the attempt got no answer, as the checks name it (`NullableConnectionCheckCode`) — `dns_failed`, `connect_failed`, `tls_failed`, `timeout`, `proxy_refused`, `blocked` or `request_failed`. Null for an attempt that got an answer.
	ErrorCode nullable.Nullable[NullableRequestErrorCode] `json:"error_code"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	LatencyMs int      `json:"latency_ms"`

	// Method The HTTP method, `WEBSOCKET` for an envelope received over a Slack Socket Mode connection.
	Method string `json:"method"`

	// Operation The operation as its protocol names it — the Bot API method for Telegram, the Web API method for Slack (`auth.test`, `chat.postMessage`), the `operationId` of the Bridge protocol, the operation of Mattermost's REST API in lower camel case — or for an outgoing webhook `event`, or the request of the template mode (`create`, `update`, `open_thread`, `reply_in_thread`).
	Operation string `json:"operation"`

	// RequestBodyTruncated The request body is cut to `request_log.body_max` bytes.
	RequestBodyTruncated bool `json:"request_body_truncated"`

	// ResponseBodyTruncated The answer's body is cut to `request_log.body_max` bytes.
	ResponseBodyTruncated bool `json:"response_body_truncated"`

	// Status The status of the answer, null when the attempt got no answer, and for a Socket Mode envelope, whose confirmation has no status.
	Status nullable.Nullable[int] `json:"status"`

	// Url The URL as errors show it, masked; untrusted text. Without user information, with the path prefix of the base URL as `[redacted]`.
	Url string `json:"url"`

	// Via How the request travelled.
	Via ConnectionPath `json:"via"`
}

RequestRecordSummary One attempt of a request as a list shows it.

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

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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 ResetMyNotificationRules200JSONResponse

type ResetMyNotificationRules200JSONResponse struct {
	Body    NotificationRules
	Headers ResetMyNotificationRules200ResponseHeaders
}

func (ResetMyNotificationRules200JSONResponse) VisitResetMyNotificationRulesResponse

func (response ResetMyNotificationRules200JSONResponse) VisitResetMyNotificationRulesResponse(w http.ResponseWriter) error

type ResetMyNotificationRules200ResponseHeaders

type ResetMyNotificationRules200ResponseHeaders struct {
	ETag *string
}

type ResetMyNotificationRules401ApplicationProblemPlusJSONResponse

type ResetMyNotificationRules401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ResetMyNotificationRules401ApplicationProblemPlusJSONResponse) VisitResetMyNotificationRulesResponse

func (response ResetMyNotificationRules401ApplicationProblemPlusJSONResponse) VisitResetMyNotificationRulesResponse(w http.ResponseWriter) error

type ResetMyNotificationRules403ApplicationProblemPlusJSONResponse

type ResetMyNotificationRules403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ResetMyNotificationRules403ApplicationProblemPlusJSONResponse) VisitResetMyNotificationRulesResponse

func (response ResetMyNotificationRules403ApplicationProblemPlusJSONResponse) VisitResetMyNotificationRulesResponse(w http.ResponseWriter) error

type ResetMyNotificationRules429ApplicationProblemPlusJSONResponse

type ResetMyNotificationRules429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ResetMyNotificationRules429ApplicationProblemPlusJSONResponse) VisitResetMyNotificationRulesResponse

func (response ResetMyNotificationRules429ApplicationProblemPlusJSONResponse) VisitResetMyNotificationRulesResponse(w http.ResponseWriter) error

type ResetMyNotificationRulesRequestObject

type ResetMyNotificationRulesRequestObject struct {
}

type ResetMyNotificationRulesResponseObject

type ResetMyNotificationRulesResponseObject interface {
	VisitResetMyNotificationRulesResponse(w http.ResponseWriter) error
}

type ResetUserTotp204Response

type ResetUserTotp204Response struct {
}

func (ResetUserTotp204Response) VisitResetUserTotpResponse

func (response ResetUserTotp204Response) VisitResetUserTotpResponse(w http.ResponseWriter) error

type ResetUserTotp401ApplicationProblemPlusJSONResponse

type ResetUserTotp401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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, from 1 to 36500 (100 years). `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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 RevokeMyIcalFeed204Response

type RevokeMyIcalFeed204Response struct {
}

func (RevokeMyIcalFeed204Response) VisitRevokeMyIcalFeedResponse

func (response RevokeMyIcalFeed204Response) VisitRevokeMyIcalFeedResponse(w http.ResponseWriter) error

type RevokeMyIcalFeed401ApplicationProblemPlusJSONResponse

type RevokeMyIcalFeed401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RevokeMyIcalFeed401ApplicationProblemPlusJSONResponse) VisitRevokeMyIcalFeedResponse

func (response RevokeMyIcalFeed401ApplicationProblemPlusJSONResponse) VisitRevokeMyIcalFeedResponse(w http.ResponseWriter) error

type RevokeMyIcalFeed403ApplicationProblemPlusJSONResponse

type RevokeMyIcalFeed403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RevokeMyIcalFeed403ApplicationProblemPlusJSONResponse) VisitRevokeMyIcalFeedResponse

func (response RevokeMyIcalFeed403ApplicationProblemPlusJSONResponse) VisitRevokeMyIcalFeedResponse(w http.ResponseWriter) error

type RevokeMyIcalFeed429ApplicationProblemPlusJSONResponse

type RevokeMyIcalFeed429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (RevokeMyIcalFeed429ApplicationProblemPlusJSONResponse) VisitRevokeMyIcalFeedResponse

func (response RevokeMyIcalFeed429ApplicationProblemPlusJSONResponse) VisitRevokeMyIcalFeedResponse(w http.ResponseWriter) error

type RevokeMyIcalFeedRequestObject

type RevokeMyIcalFeedRequestObject struct {
}

type RevokeMyIcalFeedResponseObject

type RevokeMyIcalFeedResponseObject interface {
	VisitRevokeMyIcalFeedResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 RevokeUserIcalFeed204Response

type RevokeUserIcalFeed204Response struct {
}

func (RevokeUserIcalFeed204Response) VisitRevokeUserIcalFeedResponse

func (response RevokeUserIcalFeed204Response) VisitRevokeUserIcalFeedResponse(w http.ResponseWriter) error

type RevokeUserIcalFeed401ApplicationProblemPlusJSONResponse

type RevokeUserIcalFeed401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RevokeUserIcalFeed401ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse

func (response RevokeUserIcalFeed401ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse(w http.ResponseWriter) error

type RevokeUserIcalFeed403ApplicationProblemPlusJSONResponse

type RevokeUserIcalFeed403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RevokeUserIcalFeed403ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse

func (response RevokeUserIcalFeed403ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse(w http.ResponseWriter) error

type RevokeUserIcalFeed404ApplicationProblemPlusJSONResponse

type RevokeUserIcalFeed404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RevokeUserIcalFeed404ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse

func (response RevokeUserIcalFeed404ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse(w http.ResponseWriter) error

type RevokeUserIcalFeed429ApplicationProblemPlusJSONResponse

type RevokeUserIcalFeed429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (RevokeUserIcalFeed429ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse

func (response RevokeUserIcalFeed429ApplicationProblemPlusJSONResponse) VisitRevokeUserIcalFeedResponse(w http.ResponseWriter) error

type RevokeUserIcalFeedRequestObject

type RevokeUserIcalFeedRequestObject struct {
	UserId UserId `json:"user_id"`
}

type RevokeUserIcalFeedResponseObject

type RevokeUserIcalFeedResponseObject interface {
	VisitRevokeUserIcalFeedResponse(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.

const (
	RoleNameAdmin     RoleName = "admin"
	RoleNameResponder RoleName = "responder"
	RoleNameViewer    RoleName = "viewer"
)

Defines values for RoleName.

func (RoleName) Valid

func (e RoleName) Valid() bool

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

type RotationLayer

type RotationLayer struct {
	// HandoverDay Set with `week`.
	HandoverDay  *Weekday `json:"handover_day,omitempty"`
	HandoverTime string   `json:"handover_time"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	Limits nullable.Nullable[RotationLimits] `json:"limits"`
	Name   string                            `json:"name"`

	// Number The position of the Rotation layer, 1 for the lowest; a higher one overrides those below.
	Number int `json:"number"`

	// ShiftLength How long a Shift of a Rotation layer lasts: a day, a week handed over on `handover_day`, or `shift_seconds` of wall-clock time.
	ShiftLength ShiftLength `json:"shift_length"`

	// ShiftSeconds Set with `hours`.
	ShiftSeconds *int               `json:"shift_seconds,omitempty"`
	StartDate    openapi_types.Date `json:"start_date"`
	UserIds      []PublicId         `json:"user_ids"`

	// Users The people of `user_ids`, in turn.
	Users []UserRef `json:"users"`
}

RotationLayer defines model for RotationLayer.

type RotationLayerInput

type RotationLayerInput struct {
	// HandoverDay The day of the handover of weekly Shifts; required with `week` and refused with the others.
	HandoverDay  *Weekday `json:"handover_day,omitempty"`
	HandoverTime string   `json:"handover_time"`

	// Id The `id` of one of the Schedule's Rotation layers, which keeps its identity; omit it for a new one.
	Id *PublicId `json:"id,omitempty"`

	// Limits The days and time of day to which the Shifts are cut; null for none.
	Limits nullable.Nullable[RotationLimits] `json:"limits,omitempty"`
	Name   string                            `json:"name"`

	// ShiftLength How long a Shift of a Rotation layer lasts: a day, a week handed over on `handover_day`, or `shift_seconds` of wall-clock time.
	ShiftLength ShiftLength `json:"shift_length"`

	// ShiftSeconds The length of a Shift with `hours`, whole hours from one hour to 28 days — a multiple of 3600 from 3600 to 2419200, else `422` `out_of_range`; required with `hours` and refused with the others.
	ShiftSeconds *int `json:"shift_seconds,omitempty"`

	// StartDate The day the first Shift starts, at `handover_time`, with the first person; from 2000-01-01 to 2100-12-31, else `422` `out_of_range`.
	StartDate openapi_types.Date `json:"start_date"`

	// UserIds The people who take Shifts in turn, in order; at most 100, else `422` `out_of_range`.
	UserIds []PublicId `json:"user_ids"`
}

RotationLayerInput A Rotation layer: the people who take Shifts in turn from `start_date` at `handover_time`, the first person first. Times are wall-clock times in the Schedule's time zone, so a handover at 10:00 stays at 10:00 across a change of the clocks. A wall-clock time that the clocks skip when they move forward is the instant they move; one that happens twice when they move back is its first occurrence (RFC 5545).

type RotationLayerShifts

type RotationLayerShifts struct {
	RotationLayer EntityRef       `json:"rotation_layer"`
	Shifts        []RotationShift `json:"shifts"`
}

RotationLayerShifts defines model for RotationLayerShifts.

type RotationLimits

type RotationLimits struct {
	Days []Weekday `json:"days"`

	// End Given with `start`.
	End *string `json:"end,omitempty"`

	// Start Given with `end`.
	Start *string `json:"start,omitempty"`
}

RotationLimits The days of the week, and optionally a time of day, to which a Rotation layer's Shifts are cut. An `end` earlier than `start` crosses midnight and runs until the end on the next day, and each window belongs to the day it starts on, so Friday 19:00–09:00 runs from Friday 19:00 to Saturday 09:00; an `end` equal to `start` is refused with `422` `out_of_range` at the end. Without `start` and `end` the limits are whole days.

type RotationShift

type RotationShift struct {
	End time.Time `json:"end"`

	// Skipped Why the person's Shift is skipped, or null when it is not.
	Skipped nullable.Nullable[NotPageableReason] `json:"skipped"`
	Start   time.Time                            `json:"start"`

	// User A User. Used wherever the person must be a User: the Owner and the previous Owner.
	User UserRef `json:"user"`
}

RotationShift A Shift of a Rotation layer within the period, cut to its limits.

type Route

type Route struct {
	// ChainEntries The Escalation chains of the Route (C-32.FR-2), each once with its Severity condition. Replaced as a whole; omit it on an update to keep the entries, and a creation without it has none. A chain that is unknown is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `chain_id`. Needs `routes:write` only. Chains run nothing until Escalation chains run.
	ChainEntries []ChainEntry `json:"chain_entries"`

	// Chains The Escalation chains of the Route's `chain_entries`, by name.
	Chains    []EscalationChainRef `json:"chains"`
	CreatedAt time.Time            `json:"created_at"`

	// DeliverToTeams "Also to the Teams from the label" (`route.deliver_to_teams`, C-26.FR-2): an Alert Group of the Route also goes to the Destinations of each of its Teams whose Severity condition its Severity level meets. Omitted on a create, false; omitted on an update, kept. The owning Team of the Route adds nothing.
	DeliverToTeams bool    `json:"deliver_to_teams"`
	Description    *string `json:"description,omitempty"`

	// DestinationEntries The Route's Destinations (C-26.FR-1), each once with its Severity condition, checked against the Severity level of each Alert Group of the Route. Replaced as a whole; an update that omits it and `destination_ids` keeps them. A Destination that is unknown or deleted is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `destination_id`. A Destination may be named by several Routes and Teams, each with its own condition; it gets one Root message for an Alert Group whichever entries reach it.
	DestinationEntries []DestinationEntry `json:"destination_entries"`

	// DestinationIds Derived from `destination_entries` on reads. When a request has no `destination_entries`, it sets them, keeping the stored condition of each Destination it keeps and `any` for a new one; beside `destination_entries` it is ignored. Removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The Default route takes it like any Route.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// Matchers Combined with AND. The Default route has none.
	Matchers []Matcher `json:"matchers"`

	// MessageLabels The label names of the line of key labels of the Route's Root messages, in their order, each shown as `name=value` when every firing Alert has the same value, as `name: N values` when they differ, and not at all when no Alert has it. Read only when `own_message_labels` is true, and then required unless the Route already has a list of its own, which an update that omits it keeps; an empty name is refused with `422` `invalid_format`, one given twice with `duplicate`, and the names a Group key takes are taken. A change, a change of the Group key while the list is computed, or a rename of the Route re-renders its open Root messages Quietly. A read gives the effective list: the Route's own, or while `own_message_labels` is false the list computed from the Group key without `alertname` and `organization.severity_label`, then `organization.team_label` and `namespace`. The computed list follows the Organization's settings as they are now, and a change of them does not change the Route's ETag; sent back with `own_message_labels` false, it is ignored.
	MessageLabels []string `json:"message_labels"`

	// MinimumSeverity Omitted on a create, `none`; omitted on an update, kept. A change applies at once to the Route's open Alert Groups, Quietly and without removing an acknowledgement or a Snooze.
	MinimumSeverity MinimumSeverity `json:"minimum_severity"`

	// Name Unique in the Organization.
	Name                string `json:"name"`
	OpenAlertGroupCount int    `json:"open_alert_group_count"`

	// OwnMessageLabels Whether the Route has a list of "Labels in the message" of its own (`route.message_labels`, C-29.FR-2). False, the default of a create, computes the list from the current Group key and the Organization's settings and ignores `message_labels`; an update that omits it keeps it.
	OwnMessageLabels bool `json:"own_message_labels"`

	// OwningTeam The Team that owns the Route, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`

	// OwningTeamId The Team that owns the Route (C-25.FR-2), which only organizes and filters and never adds delivery; `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Policy       RoutePolicy                         `json:"policy"`

	// Position Zero-based position in evaluation order; the Default route is last.
	Position int `json:"position"`

	// RunTeamChains "Run the Teams' Escalation chains" (`route.run_team_chains`), read with `deliver_to_teams`: stored and returned, and acting once Escalation chains run. Omitted on a create, true; omitted on an update, kept.
	RunTeamChains bool `json:"run_team_chains"`

	// 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 From 0.2.0 a read gives true exactly when `minimum_severity` is `critical`. In a request, `true` without `minimum_severity` is read as `minimum_severity` `critical`, as a 0.1 client meant it; `false`, or either value beside `minimum_severity`, changes nothing. Removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 {
	// ChainEntries The Escalation chains of the Route (C-32.FR-2), each once with its Severity condition. Replaced as a whole; omit it on an update to keep the entries, and a creation without it has none. A chain that is unknown is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `chain_id`. Needs `routes:write` only. Chains run nothing until Escalation chains run.
	ChainEntries *[]ChainEntry `json:"chain_entries,omitempty"`

	// DeliverToTeams "Also to the Teams from the label" (`route.deliver_to_teams`, C-26.FR-2): an Alert Group of the Route also goes to the Destinations of each of its Teams whose Severity condition its Severity level meets. Omitted on a create, false; omitted on an update, kept. The owning Team of the Route adds nothing.
	DeliverToTeams *bool   `json:"deliver_to_teams,omitempty"`
	Description    *string `json:"description,omitempty"`

	// DestinationEntries The Route's Destinations (C-26.FR-1), each once with its Severity condition, checked against the Severity level of each Alert Group of the Route. Replaced as a whole; an update that omits it and `destination_ids` keeps them. A Destination that is unknown or deleted is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `destination_id`. A Destination may be named by several Routes and Teams, each with its own condition; it gets one Root message for an Alert Group whichever entries reach it.
	DestinationEntries *[]DestinationEntry `json:"destination_entries,omitempty"`

	// DestinationIds Derived from `destination_entries` on reads. When a request has no `destination_entries`, it sets them, keeping the stored condition of each Destination it keeps and `any` for a new one; beside `destination_entries` it is ignored. Removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	DestinationIds *[]PublicId `json:"destination_ids,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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it. The Default route takes it like any Route.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// Matchers Combined with AND. The Default route has none.
	Matchers []Matcher `json:"matchers"`

	// MessageLabels The label names of the line of key labels of the Route's Root messages, in their order, each shown as `name=value` when every firing Alert has the same value, as `name: N values` when they differ, and not at all when no Alert has it. Read only when `own_message_labels` is true, and then required unless the Route already has a list of its own, which an update that omits it keeps; an empty name is refused with `422` `invalid_format`, one given twice with `duplicate`, and the names a Group key takes are taken. A change, a change of the Group key while the list is computed, or a rename of the Route re-renders its open Root messages Quietly. A read gives the effective list: the Route's own, or while `own_message_labels` is false the list computed from the Group key without `alertname` and `organization.severity_label`, then `organization.team_label` and `namespace`. The computed list follows the Organization's settings as they are now, and a change of them does not change the Route's ETag; sent back with `own_message_labels` false, it is ignored.
	MessageLabels *[]string `json:"message_labels,omitempty"`

	// MinimumSeverity Omitted on a create, `none`; omitted on an update, kept. A change applies at once to the Route's open Alert Groups, Quietly and without removing an acknowledgement or a Snooze.
	MinimumSeverity *MinimumSeverity `json:"minimum_severity,omitempty"`

	// Name Unique in the Organization.
	Name string `json:"name"`

	// OwnMessageLabels Whether the Route has a list of "Labels in the message" of its own (`route.message_labels`, C-29.FR-2). False, the default of a create, computes the list from the current Group key and the Organization's settings and ignores `message_labels`; an update that omits it keeps it.
	OwnMessageLabels *bool `json:"own_message_labels,omitempty"`

	// OwningTeamId The Team that owns the Route (C-25.FR-2), which only organizes and filters and never adds delivery; `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Policy       RoutePolicy                         `json:"policy"`

	// RunTeamChains "Run the Teams' Escalation chains" (`route.run_team_chains`), read with `deliver_to_teams`: stored and returned, and acting once Escalation chains run. Omitted on a create, true; omitted on an update, kept.
	RunTeamChains *bool `json:"run_team_chains,omitempty"`

	// Urgent From 0.2.0 a read gives true exactly when `minimum_severity` is `critical`. In a request, `true` without `minimum_severity` is read as `minimum_severity` `critical`, as a 0.1 client meant it; `false`, or either value beside `minimum_severity`, changes nothing. Removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Urgent *bool `json:"urgent,omitempty"`
}

RouteInput defines model for RouteInput.

type RouteLabelSuggestion

type RouteLabelSuggestion struct {
	// AlertGroupCount How many of the Route's recent Alert Groups have an Alert with the label.
	AlertGroupCount int `json:"alert_group_count"`

	// ExampleValue The most frequent value of the label among the Alerts of those Alert Groups, the smallest of equally frequent ones.
	ExampleValue string `json:"example_value"`
	Label        string `json:"label"`
}

RouteLabelSuggestion defines model for RouteLabelSuggestion.

type RouteLabelSuggestionList

type RouteLabelSuggestionList struct {
	Items []RouteLabelSuggestion `json:"items"`
}

RouteLabelSuggestionList defines model for RouteLabelSuggestionList.

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"`

	// MinimumSeverity `none` for both profiles: neither sets a Minimum severity.
	MinimumSeverity MinimumSeverity `json:"minimum_severity"`
	Name            string          `json:"name"`
	Policy          RoutePolicy     `json:"policy"`

	// Urgent Read-only from 0.2.0: true exactly when `minimum_severity` is `critical`, so `false` for both profiles; removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	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"
	Paging        RouteProfileId = "paging"
)

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 Schedule

type Schedule struct {
	CreatedAt time.Time `json:"created_at"`

	// Etag The same value as the `ETag` header; send it as `If-Match` on the next update.
	Etag *string `json:"etag,omitempty"`

	// GapAlert Whether a Schedule reports its gaps as the Internal alert `MusterScheduleGap` (`schedule.gap_alert`, C-27.FR-7): `by_default`, on while the Schedule is its Team's main one, so that the alert follows when another Schedule becomes main; `on`; or `off`, as for a Schedule that covers only part of the day.
	GapAlert ScheduleGapAlert `json:"gap_alert"`

	// GapAlertActive Whether the Leader's gap scan raises `MusterScheduleGap` for the Schedule now — true with `gap_alert` `on`, and with `by_default` while the Schedule is its Team's main one.
	GapAlertActive *bool `json:"gap_alert_active,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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	Main bool     `json:"main"`

	// ManagedBy The name of the tool that keeps the Schedule as code, such as `terraform`, or null when none does (C-33.FR-11); see `ScheduleInput`.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// NextGap The first gap within `schedule.gap_view` from the business clock's now, or null; a gap that has begun starts now, and one that lasts beyond the view ends with it.
	NextGap nullable.Nullable[ScheduleGap] `json:"next_gap,omitempty"`

	// RotationLayers From the lowest to the highest.
	RotationLayers []RotationLayer `json:"rotation_layers"`

	// Team The Team an object names, with its slug; `deleted` is true for a Team that was deleted since.
	Team TeamRef `json:"team"`

	// TeamId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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`.
	TeamId   PublicId `json:"team_id"`
	TimeZone string   `json:"time_zone"`
}

Schedule defines model for Schedule.

type ScheduleGap

type ScheduleGap struct {
	End   time.Time `json:"end"`
	Start time.Time `json:"start"`
}

ScheduleGap A gap of a Schedule, a time when no Override and no Rotation layer has a Shift with a person who may be Paged.

type ScheduleGapAlert

type ScheduleGapAlert string

ScheduleGapAlert Whether a Schedule reports its gaps as the Internal alert `MusterScheduleGap` (`schedule.gap_alert`, C-27.FR-7): `by_default`, on while the Schedule is its Team's main one, so that the alert follows when another Schedule becomes main; `on`; or `off`, as for a Schedule that covers only part of the day.

const (
	ByDefault ScheduleGapAlert = "by_default"
	Off       ScheduleGapAlert = "off"
	On        ScheduleGapAlert = "on"
)

Defines values for ScheduleGapAlert.

func (ScheduleGapAlert) Valid

func (e ScheduleGapAlert) Valid() bool

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

type ScheduleId

type ScheduleId = PublicId

ScheduleId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 ScheduleInput

type ScheduleInput struct {
	// GapAlert Whether the Schedule reports its gaps as the Internal alert `MusterScheduleGap` (`schedule.gap_alert`); `by_default` on a creation when omitted, and kept on an update when omitted.
	GapAlert *ScheduleGapAlert `json:"gap_alert,omitempty"`

	// Main True makes the Schedule its Team's main Schedule, whose On-call is the Team's; the first Schedule of a Team is main. False on the main Schedule is refused with `422` `unsupported`: mark another one main instead.
	Main *bool `json:"main,omitempty"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// Name Unique in the Team, ignoring case.
	Name string `json:"name"`

	// RotationLayers From the lowest to the highest; at most 20, else `422` `out_of_range` at `/rotation_layers`.
	RotationLayers []RotationLayerInput `json:"rotation_layers"`

	// TeamId The Team of the Schedule, set on creation; a different one on an update is refused with `422` `unsupported`.
	TeamId PublicId `json:"team_id"`

	// TimeZone IANA time zone of the Schedule (`schedule.time_zone`); the Organization's at the time of creation when omitted, and kept on an update when omitted.
	TimeZone *string `json:"time_zone,omitempty"`
}

ScheduleInput defines model for ScheduleInput.

type ScheduleList

type ScheduleList struct {
	Items      []Schedule                `json:"items"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ScheduleList defines model for ScheduleList.

type ScheduleOnCall

type ScheduleOnCall struct {
	From time.Time `json:"from"`

	// Overrides The Overrides in the period, in the order they were created.
	Overrides []ScheduleOverride `json:"overrides"`

	// RotationLayers The Shifts of each Rotation layer in the period, from the lowest.
	RotationLayers []RotationLayerShifts `json:"rotation_layers"`

	// Segments The period cut into segments, adjacent segments of the same person and source joined.
	Segments []OnCallSegment `json:"segments"`
	To       time.Time       `json:"to"`

	// Warnings Each person of a Rotation layer or an Override in the period who may not be Paged, once per person and Rotation layer, or per Override.
	Warnings []ScheduleWarning `json:"warnings"`
}

ScheduleOnCall The Result of a Schedule over a period, with what it is made of.

type ScheduleOverride

type ScheduleOverride struct {
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy Who resolved an Alert Group or wrote a Note, or is a row of the statistics by people: a User or a Service account. An Owner is always a User (`UserRef`), because a Service account cannot become an Owner; a Service account is a row of the statistics by people only through what it resolved.
	CreatedBy ActorRef  `json:"created_by"`
	End       time.Time `json:"end"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	ReplacesUser nullable.Nullable[UserRef] `json:"replaces_user"`

	// ReplacesUserId A `public_id` in the format of `PublicId`, or null.
	ReplacesUserId nullable.Nullable[NullablePublicId] `json:"replaces_user_id"`
	Start          time.Time                           `json:"start"`

	// User A User. Used wherever the person must be a User: the Owner and the previous Owner.
	User UserRef `json:"user"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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`.
	UserId PublicId `json:"user_id"`
}

ScheduleOverride defines model for ScheduleOverride.

type ScheduleOverrideInput

type ScheduleOverrideInput struct {
	// End After `start` and after the business clock's now (P-91), at most 31 days after `start`.
	End time.Time `json:"end"`

	// ReplacesUserId The person whose Shift it takes, which the Schedule shows and which changes nothing in the On-call; anyone, or null.
	ReplacesUserId nullable.Nullable[NullablePublicId] `json:"replaces_user_id,omitempty"`

	// Start At most 5 minutes before the business clock's now; fixed once the Override has begun.
	Start time.Time `json:"start"`

	// UserId The person who takes the Shift.
	UserId PublicId `json:"user_id"`
}

ScheduleOverrideInput defines model for ScheduleOverrideInput.

type ScheduleOverrideList

type ScheduleOverrideList struct {
	Items      []ScheduleOverride        `json:"items"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ScheduleOverrideList defines model for ScheduleOverrideList.

type ScheduleRef

type ScheduleRef 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Team The Team an object names, with its slug; `deleted` is true for a Team that was deleted since.
	Team TeamRef `json:"team"`
}

ScheduleRef The Schedule an object names, with its Team.

type ScheduleWarning

type ScheduleWarning struct {
	// Destination The Destination of the Team, or of an Escalation chain that Pages the Schedule — of a Route or a Team that names the chain —, that a Mention of the person cannot reach; null for another kind.
	Destination nullable.Nullable[DestinationRef] `json:"destination"`

	// End The end of the gap, or of the segment of `unreachable`, cut to the period; null for another kind.
	End nullable.Nullable[time.Time] `json:"end"`

	// GatewayReaches Set on every `unreachable` warning, true when the person has a confirmed contact at a Notification gateway, so that a call through it reaches them; whether that gateway is Broken is not considered. Left out for another kind.
	GatewayReaches *bool `json:"gateway_reaches,omitempty"`

	// Kind `disabled`, `viewer` and `not_in_team` name a person whose Shifts or Override are skipped; `gap` is a gap of the period, with its `start` and `end` and no person; `unreachable` is a segment of the period, with its `start` and `end`, in which its person is On-call and a Mention of them cannot reach the `destination`, with the `messenger` and the `reason` (C-27.FR-8).
	Kind ScheduleWarningKind `json:"kind"`

	// Messenger The messenger of `destination` — the type of its Connection, or `webhook` for an outgoing webhook; null for another kind.
	Messenger nullable.Nullable[DestinationType] `json:"messenger"`

	// OverrideId The Override that is skipped, or for `unreachable` the one that makes the person On-call in the segment; null otherwise.
	OverrideId nullable.Nullable[NullablePublicId] `json:"override_id"`

	// Reason Why a Mention of the person cannot reach `destination`; null for another kind.
	Reason nullable.Nullable[ReachReason] `json:"reason"`

	// RotationLayer The Rotation layer of the Shifts that are skipped, or for `unreachable` the one whose Shift makes the person On-call in the segment; null otherwise.
	RotationLayer nullable.Nullable[EntityRef] `json:"rotation_layer"`

	// Start The start of the gap, or of the segment of `unreachable`, cut to the period; null for another kind.
	Start nullable.Nullable[time.Time] `json:"start"`

	// User Null for a gap.
	User nullable.Nullable[UserRef] `json:"user"`
}

ScheduleWarning defines model for ScheduleWarning.

type ScheduleWarningKind

type ScheduleWarningKind string

ScheduleWarningKind `disabled`, `viewer` and `not_in_team` name a person whose Shifts or Override are skipped; `gap` is a gap of the period, with its `start` and `end` and no person; `unreachable` is a segment of the period, with its `start` and `end`, in which its person is On-call and a Mention of them cannot reach the `destination`, with the `messenger` and the `reason` (C-27.FR-8).

const (
	ScheduleWarningKindDisabled    ScheduleWarningKind = "disabled"
	ScheduleWarningKindGap         ScheduleWarningKind = "gap"
	ScheduleWarningKindNotInTeam   ScheduleWarningKind = "not_in_team"
	ScheduleWarningKindUnreachable ScheduleWarningKind = "unreachable"
	ScheduleWarningKindViewer      ScheduleWarningKind = "viewer"
)

Defines values for ScheduleWarningKind.

func (ScheduleWarningKind) Valid

func (e ScheduleWarningKind) Valid() bool

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

type SecretName

type SecretName = string

SecretName defines model for SecretName.

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 SendMyGatewayContactCode202JSONResponse

type SendMyGatewayContactCode202JSONResponse GatewayContact

func (SendMyGatewayContactCode202JSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode202JSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCode401ApplicationProblemPlusJSONResponse

type SendMyGatewayContactCode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (SendMyGatewayContactCode401ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode401ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCode403ApplicationProblemPlusJSONResponse

type SendMyGatewayContactCode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (SendMyGatewayContactCode403ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode403ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCode404ApplicationProblemPlusJSONResponse

type SendMyGatewayContactCode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (SendMyGatewayContactCode404ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode404ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCode422ApplicationProblemPlusJSONResponse

type SendMyGatewayContactCode422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (SendMyGatewayContactCode422ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode422ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCode429ApplicationProblemPlusJSONResponse

type SendMyGatewayContactCode429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (SendMyGatewayContactCode429ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode429ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCode502ApplicationProblemPlusJSONResponse

type SendMyGatewayContactCode502ApplicationProblemPlusJSONResponse struct {
	GatewayRefusedApplicationProblemPlusJSONResponse
}

func (SendMyGatewayContactCode502ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode502ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCode503ApplicationProblemPlusJSONResponse

type SendMyGatewayContactCode503ApplicationProblemPlusJSONResponse struct {
	LimitedApplicationProblemPlusJSONResponse
}

func (SendMyGatewayContactCode503ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse

func (response SendMyGatewayContactCode503ApplicationProblemPlusJSONResponse) VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error

type SendMyGatewayContactCodeRequestObject

type SendMyGatewayContactCodeRequestObject struct {
	GatewayContactId GatewayContactId `json:"gateway_contact_id"`
}

type SendMyGatewayContactCodeResponseObject

type SendMyGatewayContactCodeResponseObject interface {
	VisitSendMyGatewayContactCodeResponse(w http.ResponseWriter) error
}

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 {
	// GetAlertGroupActorStatistics Read Alert Group statistics by people
	// (GET /alert-group-actor-statistics)
	GetAlertGroupActorStatistics(w http.ResponseWriter, r *http.Request, params GetAlertGroupActorStatisticsParams)
	// 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)
	// BridgeEvent Receive a Bridge event (push event delivery)
	// (POST /callbacks/bridge/{connection_id})
	BridgeEvent(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params BridgeEventParams)
	// MattermostAction Receive a Mattermost button press
	// (POST /callbacks/mattermost/{connection_id})
	MattermostAction(w http.ResponseWriter, r *http.Request, connectionId ConnectionId)
	// SlackInteraction Receive a Slack button press (http event mode)
	// (POST /callbacks/slack/{connection_id})
	SlackInteraction(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params SlackInteractionParams)
	// 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)
	// CheckConnectionDraft Check a Connection before saving it
	// (POST /connections/checks)
	CheckConnectionDraft(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)
	// ListConnectionGroups List the groups a Connection can mention
	// (GET /connections/{connection_id}/groups)
	ListConnectionGroups(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params ListConnectionGroupsParams)
	// 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)
	// ListEscalationChains List Escalation chains
	// (GET /escalation-chains)
	ListEscalationChains(w http.ResponseWriter, r *http.Request, params ListEscalationChainsParams)
	// CreateEscalationChain Create an Escalation chain
	// (POST /escalation-chains)
	CreateEscalationChain(w http.ResponseWriter, r *http.Request)
	// DeleteEscalationChain Delete an Escalation chain
	// (DELETE /escalation-chains/{escalation_chain_id})
	DeleteEscalationChain(w http.ResponseWriter, r *http.Request, escalationChainId EscalationChainId, params DeleteEscalationChainParams)
	// GetEscalationChain Read an Escalation chain
	// (GET /escalation-chains/{escalation_chain_id})
	GetEscalationChain(w http.ResponseWriter, r *http.Request, escalationChainId EscalationChainId)
	// UpdateEscalationChain Update an Escalation chain
	// (PUT /escalation-chains/{escalation_chain_id})
	UpdateEscalationChain(w http.ResponseWriter, r *http.Request, escalationChainId EscalationChainId, params UpdateEscalationChainParams)
	// ListEscalationChainRuns List the runs of an Escalation chain
	// (GET /escalation-chains/{escalation_chain_id}/runs)
	ListEscalationChainRuns(w http.ResponseWriter, r *http.Request, escalationChainId EscalationChainId, params ListEscalationChainRunsParams)
	// 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)
	// StartBridgeLink Start linking an account through a Bridge with a token
	// (POST /me/account-links/bridge)
	StartBridgeLink(w http.ResponseWriter, r *http.Request)
	// StartBridgeCodeLink Start linking an account through a Bridge with a code
	// (POST /me/account-links/bridge/codes)
	StartBridgeCodeLink(w http.ResponseWriter, r *http.Request)
	// ConfirmBridgeLink Confirm a Bridge link with the code
	// (POST /me/account-links/bridge/confirmation)
	ConfirmBridgeLink(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)
	// StartSlackLink Start linking a Slack account with a code
	// (POST /me/account-links/slack)
	StartSlackLink(w http.ResponseWriter, r *http.Request)
	// ConfirmSlackLink Confirm a Slack link with the code
	// (POST /me/account-links/slack/confirmation)
	ConfirmSlackLink(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)
	// ListMyGatewayContacts List own contacts at Notification gateways
	// (GET /me/gateway-contacts)
	ListMyGatewayContacts(w http.ResponseWriter, r *http.Request)
	// CreateMyGatewayContact Add an own contact at a Notification gateway
	// (POST /me/gateway-contacts)
	CreateMyGatewayContact(w http.ResponseWriter, r *http.Request)
	// DeleteMyGatewayContact Remove an own contact at a Notification gateway
	// (DELETE /me/gateway-contacts/{gateway_contact_id})
	DeleteMyGatewayContact(w http.ResponseWriter, r *http.Request, gatewayContactId GatewayContactId)
	// SendMyGatewayContactCode Send a new code for an own contact
	// (POST /me/gateway-contacts/{gateway_contact_id}/code)
	SendMyGatewayContactCode(w http.ResponseWriter, r *http.Request, gatewayContactId GatewayContactId)
	// ConfirmMyGatewayContact Confirm an own contact with the code
	// (POST /me/gateway-contacts/{gateway_contact_id}/confirmation)
	ConfirmMyGatewayContact(w http.ResponseWriter, r *http.Request, gatewayContactId GatewayContactId)
	// RevokeMyIcalFeed Revoke the caller's iCal feed
	// (DELETE /me/ical-feed)
	RevokeMyIcalFeed(w http.ResponseWriter, r *http.Request)
	// GetMyIcalFeed Read whether the caller has an iCal feed
	// (GET /me/ical-feed)
	GetMyIcalFeed(w http.ResponseWriter, r *http.Request)
	// IssueMyIcalFeed Issue the caller's iCal feed
	// (POST /me/ical-feed)
	IssueMyIcalFeed(w http.ResponseWriter, r *http.Request)
	// GetMyNotificationRules Read own Notification rules
	// (GET /me/notification-rules)
	GetMyNotificationRules(w http.ResponseWriter, r *http.Request)
	// UpdateMyNotificationRules Change own Notification rules
	// (PUT /me/notification-rules)
	UpdateMyNotificationRules(w http.ResponseWriter, r *http.Request, params UpdateMyNotificationRulesParams)
	// ResetMyNotificationRules Reset own Notification rules to the Organization's
	// (POST /me/notification-rules/reset)
	ResetMyNotificationRules(w http.ResponseWriter, r *http.Request)
	// 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)
	// GetOnCallNow Read who is On-call now in each Team
	// (GET /on-call-now)
	GetOnCallNow(w http.ResponseWriter, r *http.Request, params GetOnCallNowParams)
	// 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)
	// ListRequestLog List the Request log of a Connection, a Destination or a check run
	// (GET /request-log)
	ListRequestLog(w http.ResponseWriter, r *http.Request, params ListRequestLogParams)
	// GetRequestRecord Read a record of the Request log
	// (GET /request-log/{request_record_id})
	GetRequestRecord(w http.ResponseWriter, r *http.Request, requestRecordId RequestRecordId)
	// 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, params ListRoutesParams)
	// 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)
	// ListRouteLabelSuggestions List the labels to suggest for "Labels in the message"
	// (GET /routes/{route_id}/label-suggestions)
	ListRouteLabelSuggestions(w http.ResponseWriter, r *http.Request, routeId RouteId)
	// 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)
	// ListSchedules List Schedules
	// (GET /schedules)
	ListSchedules(w http.ResponseWriter, r *http.Request, params ListSchedulesParams)
	// CreateSchedule Create a Schedule
	// (POST /schedules)
	CreateSchedule(w http.ResponseWriter, r *http.Request)
	// DeleteSchedule Delete a Schedule
	// (DELETE /schedules/{schedule_id})
	DeleteSchedule(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId, params DeleteScheduleParams)
	// GetSchedule Read a Schedule
	// (GET /schedules/{schedule_id})
	GetSchedule(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId)
	// UpdateSchedule Update a Schedule
	// (PUT /schedules/{schedule_id})
	UpdateSchedule(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId, params UpdateScheduleParams)
	// GetScheduleOnCall Read the On-call and the Result of a Schedule
	// (GET /schedules/{schedule_id}/on-call)
	GetScheduleOnCall(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId, params GetScheduleOnCallParams)
	// ListScheduleOverrides List the Overrides of a Schedule
	// (GET /schedules/{schedule_id}/overrides)
	ListScheduleOverrides(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId, params ListScheduleOverridesParams)
	// CreateScheduleOverride Create an Override
	// (POST /schedules/{schedule_id}/overrides)
	CreateScheduleOverride(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId)
	// DeleteScheduleOverride Delete an Override
	// (DELETE /schedules/{schedule_id}/overrides/{override_id})
	DeleteScheduleOverride(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId, overrideId OverrideId, params DeleteScheduleOverrideParams)
	// UpdateScheduleOverride Update an Override
	// (PUT /schedules/{schedule_id}/overrides/{override_id})
	UpdateScheduleOverride(w http.ResponseWriter, r *http.Request, scheduleId ScheduleId, overrideId OverrideId, params UpdateScheduleOverrideParams)
	// 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)
	// ListSnoozePresets List the ends of the Snooze presets
	// (GET /snooze-presets)
	ListSnoozePresets(w http.ResponseWriter, r *http.Request, params ListSnoozePresetsParams)
	// 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)
	// ListTeamLabelValues List values of the Team label without a Team
	// (GET /team-label-values)
	ListTeamLabelValues(w http.ResponseWriter, r *http.Request)
	// ListTeams List Teams
	// (GET /teams)
	ListTeams(w http.ResponseWriter, r *http.Request, params ListTeamsParams)
	// CreateTeam Create a Team
	// (POST /teams)
	CreateTeam(w http.ResponseWriter, r *http.Request)
	// DeleteTeam Delete a Team
	// (DELETE /teams/{team_id})
	DeleteTeam(w http.ResponseWriter, r *http.Request, teamId TeamId, params DeleteTeamParams)
	// GetTeam Read a Team
	// (GET /teams/{team_id})
	GetTeam(w http.ResponseWriter, r *http.Request, teamId TeamId)
	// UpdateTeam Update a Team
	// (PUT /teams/{team_id})
	UpdateTeam(w http.ResponseWriter, r *http.Request, teamId TeamId, params UpdateTeamParams)
	// ListTeamUsers List the people in a Team
	// (GET /teams/{team_id}/users)
	ListTeamUsers(w http.ResponseWriter, r *http.Request, teamId TeamId)
	// AddTeamUser Add a person to a Team
	// (POST /teams/{team_id}/users)
	AddTeamUser(w http.ResponseWriter, r *http.Request, teamId TeamId)
	// RemoveTeamUser Remove a person from a Team
	// (DELETE /teams/{team_id}/users/{user_id})
	RemoveTeamUser(w http.ResponseWriter, r *http.Request, teamId TeamId, userId UserId)
	// 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)
	// ListUserGatewayContacts List a user's contacts at Notification gateways
	// (GET /users/{user_id}/gateway-contacts)
	ListUserGatewayContacts(w http.ResponseWriter, r *http.Request, userId UserId)
	// CreateUserGatewayContact Set a user's contact (always refused)
	// (POST /users/{user_id}/gateway-contacts)
	CreateUserGatewayContact(w http.ResponseWriter, r *http.Request, userId UserId)
	// DeleteUserGatewayContact Remove a user's contact at a Notification gateway
	// (DELETE /users/{user_id}/gateway-contacts/{gateway_contact_id})
	DeleteUserGatewayContact(w http.ResponseWriter, r *http.Request, userId UserId, gatewayContactId GatewayContactId)
	// RevokeUserIcalFeed Revoke a user's iCal feed
	// (DELETE /users/{user_id}/ical-feed)
	RevokeUserIcalFeed(w http.ResponseWriter, r *http.Request, userId UserId)
	// GetUserNotificationRules Read a user's Notification rules
	// (GET /users/{user_id}/notification-rules)
	GetUserNotificationRules(w http.ResponseWriter, r *http.Request, userId UserId)
	// UpdateUserNotificationRules Change a user's Notification rules
	// (PUT /users/{user_id}/notification-rules)
	UpdateUserNotificationRules(w http.ResponseWriter, r *http.Request, userId UserId, params UpdateUserNotificationRulesParams)
	// 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) AddTeamUser

func (siw *ServerInterfaceWrapper) AddTeamUser(w http.ResponseWriter, r *http.Request)

AddTeamUser 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) BridgeEvent

func (siw *ServerInterfaceWrapper) BridgeEvent(w http.ResponseWriter, r *http.Request)

BridgeEvent 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) CheckConnectionDraft

func (siw *ServerInterfaceWrapper) CheckConnectionDraft(w http.ResponseWriter, r *http.Request)

CheckConnectionDraft 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 (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 (siw *ServerInterfaceWrapper) ConfirmBridgeLink(w http.ResponseWriter, r *http.Request)

ConfirmBridgeLink operation middleware

func (siw *ServerInterfaceWrapper) ConfirmMattermostLink(w http.ResponseWriter, r *http.Request)

ConfirmMattermostLink operation middleware

func (*ServerInterfaceWrapper) ConfirmMyGatewayContact

func (siw *ServerInterfaceWrapper) ConfirmMyGatewayContact(w http.ResponseWriter, r *http.Request)

ConfirmMyGatewayContact operation middleware

func (siw *ServerInterfaceWrapper) ConfirmSlackLink(w http.ResponseWriter, r *http.Request)

ConfirmSlackLink 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) CreateEscalationChain

func (siw *ServerInterfaceWrapper) CreateEscalationChain(w http.ResponseWriter, r *http.Request)

CreateEscalationChain 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) CreateMyGatewayContact

func (siw *ServerInterfaceWrapper) CreateMyGatewayContact(w http.ResponseWriter, r *http.Request)

CreateMyGatewayContact operation middleware

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

func (siw *ServerInterfaceWrapper) CreateSchedule(w http.ResponseWriter, r *http.Request)

CreateSchedule operation middleware

func (*ServerInterfaceWrapper) CreateScheduleOverride

func (siw *ServerInterfaceWrapper) CreateScheduleOverride(w http.ResponseWriter, r *http.Request)

CreateScheduleOverride 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) CreateTeam

func (siw *ServerInterfaceWrapper) CreateTeam(w http.ResponseWriter, r *http.Request)

CreateTeam operation middleware

func (*ServerInterfaceWrapper) CreateUser

func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser operation middleware

func (*ServerInterfaceWrapper) CreateUserGatewayContact

func (siw *ServerInterfaceWrapper) CreateUserGatewayContact(w http.ResponseWriter, r *http.Request)

CreateUserGatewayContact 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) DeleteEscalationChain

func (siw *ServerInterfaceWrapper) DeleteEscalationChain(w http.ResponseWriter, r *http.Request)

DeleteEscalationChain 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 (siw *ServerInterfaceWrapper) DeleteMyAccountLink(w http.ResponseWriter, r *http.Request)

DeleteMyAccountLink operation middleware

func (*ServerInterfaceWrapper) DeleteMyGatewayContact

func (siw *ServerInterfaceWrapper) DeleteMyGatewayContact(w http.ResponseWriter, r *http.Request)

DeleteMyGatewayContact 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) DeleteSchedule

func (siw *ServerInterfaceWrapper) DeleteSchedule(w http.ResponseWriter, r *http.Request)

DeleteSchedule operation middleware

func (*ServerInterfaceWrapper) DeleteScheduleOverride

func (siw *ServerInterfaceWrapper) DeleteScheduleOverride(w http.ResponseWriter, r *http.Request)

DeleteScheduleOverride operation middleware

func (*ServerInterfaceWrapper) DeleteServiceAccount

func (siw *ServerInterfaceWrapper) DeleteServiceAccount(w http.ResponseWriter, r *http.Request)

DeleteServiceAccount operation middleware

func (*ServerInterfaceWrapper) DeleteTeam

func (siw *ServerInterfaceWrapper) DeleteTeam(w http.ResponseWriter, r *http.Request)

DeleteTeam operation middleware

func (*ServerInterfaceWrapper) DeleteUser

func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser operation middleware

func (siw *ServerInterfaceWrapper) DeleteUserAccountLink(w http.ResponseWriter, r *http.Request)

DeleteUserAccountLink operation middleware

func (*ServerInterfaceWrapper) DeleteUserGatewayContact

func (siw *ServerInterfaceWrapper) DeleteUserGatewayContact(w http.ResponseWriter, r *http.Request)

DeleteUserGatewayContact 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) GetAlertGroupActorStatistics

func (siw *ServerInterfaceWrapper) GetAlertGroupActorStatistics(w http.ResponseWriter, r *http.Request)

GetAlertGroupActorStatistics 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) GetEscalationChain

func (siw *ServerInterfaceWrapper) GetEscalationChain(w http.ResponseWriter, r *http.Request)

GetEscalationChain 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

GetMe operation middleware

func (*ServerInterfaceWrapper) GetMyIcalFeed

func (siw *ServerInterfaceWrapper) GetMyIcalFeed(w http.ResponseWriter, r *http.Request)

GetMyIcalFeed operation middleware

func (*ServerInterfaceWrapper) GetMyNotificationRules

func (siw *ServerInterfaceWrapper) GetMyNotificationRules(w http.ResponseWriter, r *http.Request)

GetMyNotificationRules 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) GetOnCallNow

func (siw *ServerInterfaceWrapper) GetOnCallNow(w http.ResponseWriter, r *http.Request)

GetOnCallNow 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) GetRequestRecord

func (siw *ServerInterfaceWrapper) GetRequestRecord(w http.ResponseWriter, r *http.Request)

GetRequestRecord operation middleware

func (*ServerInterfaceWrapper) GetRoute

func (siw *ServerInterfaceWrapper) GetRoute(w http.ResponseWriter, r *http.Request)

GetRoute operation middleware

func (*ServerInterfaceWrapper) GetSchedule

func (siw *ServerInterfaceWrapper) GetSchedule(w http.ResponseWriter, r *http.Request)

GetSchedule operation middleware

func (*ServerInterfaceWrapper) GetScheduleOnCall

func (siw *ServerInterfaceWrapper) GetScheduleOnCall(w http.ResponseWriter, r *http.Request)

GetScheduleOnCall 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) GetTeam

GetTeam operation middleware

func (*ServerInterfaceWrapper) GetUser

GetUser operation middleware

func (*ServerInterfaceWrapper) GetUserNotificationRules

func (siw *ServerInterfaceWrapper) GetUserNotificationRules(w http.ResponseWriter, r *http.Request)

GetUserNotificationRules 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) IssueMyIcalFeed

func (siw *ServerInterfaceWrapper) IssueMyIcalFeed(w http.ResponseWriter, r *http.Request)

IssueMyIcalFeed 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) ListConnectionGroups

func (siw *ServerInterfaceWrapper) ListConnectionGroups(w http.ResponseWriter, r *http.Request)

ListConnectionGroups 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) ListEscalationChainRuns

func (siw *ServerInterfaceWrapper) ListEscalationChainRuns(w http.ResponseWriter, r *http.Request)

ListEscalationChainRuns operation middleware

func (*ServerInterfaceWrapper) ListEscalationChains

func (siw *ServerInterfaceWrapper) ListEscalationChains(w http.ResponseWriter, r *http.Request)

ListEscalationChains 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 (siw *ServerInterfaceWrapper) ListMyAccountLinks(w http.ResponseWriter, r *http.Request)

ListMyAccountLinks operation middleware

func (*ServerInterfaceWrapper) ListMyGatewayContacts

func (siw *ServerInterfaceWrapper) ListMyGatewayContacts(w http.ResponseWriter, r *http.Request)

ListMyGatewayContacts 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) ListRequestLog

func (siw *ServerInterfaceWrapper) ListRequestLog(w http.ResponseWriter, r *http.Request)

ListRequestLog operation middleware

func (*ServerInterfaceWrapper) ListRoles

func (siw *ServerInterfaceWrapper) ListRoles(w http.ResponseWriter, r *http.Request)

ListRoles operation middleware

func (*ServerInterfaceWrapper) ListRouteLabelSuggestions

func (siw *ServerInterfaceWrapper) ListRouteLabelSuggestions(w http.ResponseWriter, r *http.Request)

ListRouteLabelSuggestions 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) ListScheduleOverrides

func (siw *ServerInterfaceWrapper) ListScheduleOverrides(w http.ResponseWriter, r *http.Request)

ListScheduleOverrides operation middleware

func (*ServerInterfaceWrapper) ListSchedules

func (siw *ServerInterfaceWrapper) ListSchedules(w http.ResponseWriter, r *http.Request)

ListSchedules 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) ListSnoozePresets

func (siw *ServerInterfaceWrapper) ListSnoozePresets(w http.ResponseWriter, r *http.Request)

ListSnoozePresets 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) ListTeamLabelValues

func (siw *ServerInterfaceWrapper) ListTeamLabelValues(w http.ResponseWriter, r *http.Request)

ListTeamLabelValues operation middleware

func (*ServerInterfaceWrapper) ListTeamUsers

func (siw *ServerInterfaceWrapper) ListTeamUsers(w http.ResponseWriter, r *http.Request)

ListTeamUsers operation middleware

func (*ServerInterfaceWrapper) ListTeams

func (siw *ServerInterfaceWrapper) ListTeams(w http.ResponseWriter, r *http.Request)

ListTeams operation middleware

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

func (siw *ServerInterfaceWrapper) ListUserGatewayContacts(w http.ResponseWriter, r *http.Request)

ListUserGatewayContacts 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) RemoveTeamUser

func (siw *ServerInterfaceWrapper) RemoveTeamUser(w http.ResponseWriter, r *http.Request)

RemoveTeamUser 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) ResetMyNotificationRules

func (siw *ServerInterfaceWrapper) ResetMyNotificationRules(w http.ResponseWriter, r *http.Request)

ResetMyNotificationRules 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) RevokeMyIcalFeed

func (siw *ServerInterfaceWrapper) RevokeMyIcalFeed(w http.ResponseWriter, r *http.Request)

RevokeMyIcalFeed 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) RevokeUserIcalFeed

func (siw *ServerInterfaceWrapper) RevokeUserIcalFeed(w http.ResponseWriter, r *http.Request)

RevokeUserIcalFeed operation middleware

func (*ServerInterfaceWrapper) RunBulkCommand

func (siw *ServerInterfaceWrapper) RunBulkCommand(w http.ResponseWriter, r *http.Request)

RunBulkCommand operation middleware

func (*ServerInterfaceWrapper) SendMyGatewayContactCode

func (siw *ServerInterfaceWrapper) SendMyGatewayContactCode(w http.ResponseWriter, r *http.Request)

SendMyGatewayContactCode operation middleware

func (*ServerInterfaceWrapper) SetDestinationSecret

func (siw *ServerInterfaceWrapper) SetDestinationSecret(w http.ResponseWriter, r *http.Request)

SetDestinationSecret operation middleware

func (*ServerInterfaceWrapper) SlackInteraction

func (siw *ServerInterfaceWrapper) SlackInteraction(w http.ResponseWriter, r *http.Request)

SlackInteraction operation middleware

func (*ServerInterfaceWrapper) SnoozeAlertGroup

func (siw *ServerInterfaceWrapper) SnoozeAlertGroup(w http.ResponseWriter, r *http.Request)

SnoozeAlertGroup operation middleware

func (siw *ServerInterfaceWrapper) StartBridgeCodeLink(w http.ResponseWriter, r *http.Request)

StartBridgeCodeLink operation middleware

func (siw *ServerInterfaceWrapper) StartBridgeLink(w http.ResponseWriter, r *http.Request)

StartBridgeLink operation middleware

func (siw *ServerInterfaceWrapper) StartMattermostLink(w http.ResponseWriter, r *http.Request)

StartMattermostLink operation middleware

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 (siw *ServerInterfaceWrapper) StartSlackLink(w http.ResponseWriter, r *http.Request)

StartSlackLink operation middleware

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

func (siw *ServerInterfaceWrapper) UpdateEscalationChain(w http.ResponseWriter, r *http.Request)

UpdateEscalationChain 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) UpdateMyNotificationRules

func (siw *ServerInterfaceWrapper) UpdateMyNotificationRules(w http.ResponseWriter, r *http.Request)

UpdateMyNotificationRules 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) UpdateSchedule

func (siw *ServerInterfaceWrapper) UpdateSchedule(w http.ResponseWriter, r *http.Request)

UpdateSchedule operation middleware

func (*ServerInterfaceWrapper) UpdateScheduleOverride

func (siw *ServerInterfaceWrapper) UpdateScheduleOverride(w http.ResponseWriter, r *http.Request)

UpdateScheduleOverride operation middleware

func (*ServerInterfaceWrapper) UpdateServiceAccount

func (siw *ServerInterfaceWrapper) UpdateServiceAccount(w http.ResponseWriter, r *http.Request)

UpdateServiceAccount operation middleware

func (*ServerInterfaceWrapper) UpdateTeam

func (siw *ServerInterfaceWrapper) UpdateTeam(w http.ResponseWriter, r *http.Request)

UpdateTeam operation middleware

func (*ServerInterfaceWrapper) UpdateUser

func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser operation middleware

func (*ServerInterfaceWrapper) UpdateUserNotificationRules

func (siw *ServerInterfaceWrapper) UpdateUserNotificationRules(w http.ResponseWriter, r *http.Request)

UpdateUserNotificationRules 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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

type ServiceAccountInput struct {
	Name string   `json:"name"`
	Role RoleName `json:"role"`
}

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// DocsVersion The version segment of the documentation site the web UI links to (C-21.FR-11), derived from the version of the running build by the rule of the `runbook_url` of Internal alerts (C-19.FR-9) — the `major.minor` of a release `X.Y.Z`, or `latest` for any other version (a development build, a snapshot image, a pre-release).
	DocsVersion   string    `json:"docs_version"`
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 SeverityCondition

type SeverityCondition string

SeverityCondition The Severity condition of a Destination of a Route or a Team (C-26.FR-1), checked against the Severity level of the Alert Group, the highest level of its firing Alerts raised to the Route's Minimum severity. `any` meets every level, `critical` only critical, `below_critical` every level but critical.

const (
	SeverityConditionAny           SeverityCondition = "any"
	SeverityConditionBelowCritical SeverityCondition = "below_critical"
	SeverityConditionCritical      SeverityCondition = "critical"
)

Defines values for SeverityCondition.

func (SeverityCondition) Valid

func (e SeverityCondition) Valid() bool

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

type SeverityLevel

type SeverityLevel string

SeverityLevel defines model for SeverityLevel.

const (
	SeverityLevelCritical SeverityLevel = "critical"
	SeverityLevelInfo     SeverityLevel = "info"
	SeverityLevelWarning  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 ShiftLength

type ShiftLength string

ShiftLength How long a Shift of a Rotation layer lasts: a day, a week handed over on `handover_day`, or `shift_seconds` of wall-clock time.

const (
	Day   ShiftLength = "day"
	Hours ShiftLength = "hours"
	Week  ShiftLength = "week"
)

Defines values for ShiftLength.

func (ShiftLength) Valid

func (e ShiftLength) Valid() bool

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

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 SlackChannel

type SlackChannel struct {
	// Id The channel's id, `C…` or `G…`, as a Slack Destination takes it.
	Id        string `json:"id"`
	IsPrivate bool   `json:"is_private"`

	// Name The channel's name without `#`. Untrusted text from Slack.
	Name string `json:"name"`
}

SlackChannel A channel of a Slack Connection's workspace that the bot is a member of.

type SlackChannelList

type SlackChannelList struct {
	// Items By name.
	Items []SlackChannel `json:"items"`

	// Truncated More channels were left after the fifth page of `conversations.list`; a channel that is not listed is still saved by its id.
	Truncated bool `json:"truncated"`
}

SlackChannelList defines model for SlackChannelList.

type SlackCheckInfo

type SlackCheckInfo struct {
	// AppId The Slack app's id (`A…`); null in `http` mode, which has no step `app_token`, and when that step failed.
	AppId nullable.Nullable[string] `json:"app_id"`

	// BotUserId The bot's user id (`U…`).
	BotUserId string `json:"bot_user_id"`

	// TeamId The workspace's id (`T…`).
	TeamId string `json:"team_id"`

	// TeamName The workspace's name.
	TeamName string `json:"team_name"`
}

SlackCheckInfo What a check of a Slack Connection found.

type SlackConnection

type SlackConnection struct {
	// AppId The Slack app's id (`A…`), found by the step `app_token` of a check in `socket` mode; null before one and after the bot token changed.
	AppId nullable.Nullable[string] `json:"app_id,omitempty"`

	// AppTokenStatus What a read shows instead of a Secret. The value itself is never returned.
	AppTokenStatus SecretStatus `json:"app_token_status"`

	// BotName The bot's name (`user` of `auth.test`), as the last successful Connection check found it; null before one and after the bot token changed.
	BotName nullable.Nullable[string] `json:"bot_name,omitempty"`

	// BotTokenStatus What a read shows instead of a Secret. The value itself is never returned.
	BotTokenStatus SecretStatus `json:"bot_token_status"`

	// BotUserId The bot's user id (`U…`); null as `bot_name`.
	BotUserId nullable.Nullable[string] `json:"bot_user_id,omitempty"`

	// CallbackUrl Where Slack posts the button presses of this Connection in `http` mode, `<MUSTER_INGEST_URL>/api/v1/callbacks/slack/<id>` on the ingest listener; enter it as the Interactivity Request URL of the Slack app. Slack's own address is fixed, so the Connection has no address field.
	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"`

	// EventMode How a Slack Connection receives button presses (`connection.slack.event_mode`, `socket` for a new Connection): `socket` — the Leader holds a Socket Mode connection with the app-level token, so Slack needs no address of Muster; `http` — Slack posts each press to the Connection's `callback_url`, signed with the Slack signing secret.
	EventMode SlackEventMode `json:"event_mode"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// Proxy Per-client proxy as read. The password is a Secret.
	Proxy ProxyConfig `json:"proxy"`

	// SlackSigningSecretStatus What a read shows instead of a Secret. The value itself is never returned.
	SlackSigningSecretStatus SecretStatus `json:"slack_signing_secret_status"`

	// Socket Socket Mode only. What the last `hello` of the Leader's Socket Mode connection counted (C-24.FR-2, FR-9); null in `http` mode and before the first `hello` after the Connection was saved.
	Socket nullable.Nullable[SlackSocketStatus] `json:"socket,omitempty"`

	// TeamId The workspace's id (`T…`); null as `bot_name`.
	TeamId nullable.Nullable[string] `json:"team_id,omitempty"`

	// TeamName The workspace's name; null as `bot_name`.
	TeamName nullable.Nullable[string] `json:"team_name,omitempty"`
	Type     SlackConnectionType       `json:"type"`

	// UsergroupsRead Whether the bot token had the optional scope `usergroups:read` at the last successful Connection check (C-24.FR-1), which Team mentions and user group entries need; a check that no longer finds it sets it false. An installed Slack app gets a new scope only when it is reinstalled, which keeps the bot token. Null as `bot_name`.
	UsergroupsRead nullable.Nullable[bool] `json:"usergroups_read,omitempty"`
}

SlackConnection defines model for SlackConnection.

type SlackConnectionBase

type SlackConnectionBase struct {
	// EventMode How a Slack Connection receives button presses (`connection.slack.event_mode`, `socket` for a new Connection): `socket` — the Leader holds a Socket Mode connection with the app-level token, so Slack needs no address of Muster; `http` — Slack posts each press to the Connection's `callback_url`, signed with the Slack signing secret.
	EventMode SlackEventMode `json:"event_mode"`

	// Limiter A rate limit of `limit` calls per `per_seconds`.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`
	Type      SlackConnectionBaseType   `json:"type"`
}

SlackConnectionBase defines model for SlackConnectionBase.

type SlackConnectionBaseType

type SlackConnectionBaseType string

SlackConnectionBaseType defines model for SlackConnectionBase.Type.

const (
	SlackConnectionBaseTypeSlack SlackConnectionBaseType = "slack"
)

Defines values for SlackConnectionBaseType.

func (SlackConnectionBaseType) Valid

func (e SlackConnectionBaseType) Valid() bool

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

type SlackConnectionDraft

type SlackConnectionDraft struct {
	// AppToken An app-level token (`xapp-…`) typed in the form, for the step `app_token` in `socket` mode, sent to Slack through the draft's proxy. Omit it to use the stored one of `connection_id`, which goes to Slack only through its saved proxy; without either the step is skipped.
	AppToken *string `json:"app_token,omitempty"`

	// BotToken A bot token (`xoxb-…`) typed in the form, sent to Slack through the draft's proxy. Omit it to use the stored token of `connection_id`, which goes to Slack only through its saved proxy; without either only the dry probe runs.
	BotToken *string `json:"bot_token,omitempty"`

	// ConnectionId The saved Slack Connection that the form edits; omit it for a new one. An omitted `proxy` is its saved proxy, and no proxy without it.
	ConnectionId *PublicId `json:"connection_id,omitempty"`

	// EventMode How a Slack Connection receives button presses (`connection.slack.event_mode`, `socket` for a new Connection): `socket` — the Leader holds a Socket Mode connection with the app-level token, so Slack needs no address of Muster; `http` — Slack posts each press to the Connection's `callback_url`, signed with the Slack signing secret.
	EventMode SlackEventMode `json:"event_mode"`

	// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
	Proxy *ProxyConfigInput        `json:"proxy,omitempty"`
	Type  SlackConnectionDraftType `json:"type"`
}

SlackConnectionDraft A Slack Connection as its form holds it, for `checkConnectionDraft`; Slack's address is fixed, so only the proxy can differ from the saved Connection, and the Slack signing secret is not checked.

type SlackConnectionDraftType

type SlackConnectionDraftType string

SlackConnectionDraftType defines model for SlackConnectionDraft.Type.

const (
	SlackConnectionDraftTypeSlack SlackConnectionDraftType = "slack"
)

Defines values for SlackConnectionDraftType.

func (SlackConnectionDraftType) Valid

func (e SlackConnectionDraftType) Valid() bool

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

type SlackConnectionInput

type SlackConnectionInput struct {
	// AppToken Write-only Secret, the app-level token (`xapp-…`, with the scope `connections:write`); required in `socket` mode, sent now or stored. Omit on update to keep the stored one; a change to `http` keeps it.
	AppToken *string `json:"app_token,omitempty"`

	// BotToken Write-only Secret, the bot token (`xoxb-…`). Omit on update to keep the stored one; a new one forgets what the last check learned.
	BotToken *string `json:"bot_token,omitempty"`

	// EventMode How a Slack Connection receives button presses (`connection.slack.event_mode`, `socket` for a new Connection): `socket` — the Leader holds a Socket Mode connection with the app-level token, so Slack needs no address of Muster; `http` — Slack posts each press to the Connection's `callback_url`, signed with the Slack signing secret.
	EventMode SlackEventMode `json:"event_mode"`

	// Limiter A rate limit of `limit` calls per `per_seconds`.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	Name      string                    `json:"name"`

	// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
	Proxy ProxyConfigInput `json:"proxy"`

	// SlackSigningSecret Write-only Secret, the Slack signing secret of the app; required in `http` mode, sent now or stored. Omit on update to keep the stored one; a change to `socket` keeps it. It is never sent anywhere.
	SlackSigningSecret *string                  `json:"slack_signing_secret,omitempty"`
	Type               SlackConnectionInputType `json:"type"`
}

SlackConnectionInput defines model for SlackConnectionInput.

type SlackConnectionInputType

type SlackConnectionInputType string

SlackConnectionInputType defines model for SlackConnectionInput.Type.

const (
	SlackConnectionInputTypeSlack SlackConnectionInputType = "slack"
)

Defines values for SlackConnectionInputType.

func (SlackConnectionInputType) Valid

func (e SlackConnectionInputType) Valid() bool

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

type SlackConnectionType

type SlackConnectionType string

SlackConnectionType defines model for SlackConnection.Type.

const (
	SlackConnectionTypeSlack SlackConnectionType = "slack"
)

Defines values for SlackConnectionType.

func (SlackConnectionType) Valid

func (e SlackConnectionType) Valid() bool

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

type SlackDestination

type SlackDestination struct {
	// Buttons A Destination's button set, `destination.buttons` (C-28.FR-8): `organization`, "As in the Organization", the default, follows the Organization's set and its later changes; `own` shows only `items`, which are then required. A change re-renders the Destination's open Root messages, as edits.
	Buttons DestinationButtonSet `json:"buttons"`

	// ChannelId The channel's id as Slack shows it in the channel's details — `C…`, or `G…` for a private channel of an older workspace — in upper-case letters and digits, kept as entered without surrounding white space. Any other id, such as a direct chat's `D…`, a user's `U…` or a `#name`, is refused with `invalid_format`.
	ChannelId string `json:"channel_id"`

	// ChannelName The channel's name without `#`, as `conversations.info` answered it when the Destination was last saved. Untrusted text from Slack.
	ChannelName nullable.Nullable[string] `json:"channel_name,omitempty"`

	// ConnectionId A Slack Connection.
	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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 `destination.slack.limiter`: the form proposes 30 requests per minute, sends and edits together.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries in order, each with what it mentions now.
	MentionEntries []MentionEntry `json:"mention_entries"`

	// MentionWarnings The people and entries whose Mentions were not delivered (C-28.FR-3), by entry and then by the person's name; always empty on an outgoing webhook, which takes every person as data.
	MentionWarnings []MentionWarning `json:"mention_warnings"`

	// Mentions The L1 form of the Mention entries that L1 can express on the Destination's type (C-28.FR-5), removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions MentionSettings `json:"mentions"`
	Name     string          `json:"name"`

	// OwningTeam The Team that owns the Destination, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Routes       []EntityRef                         `json:"routes"`

	// Teams The Teams that name the Destination as a Destination of the Team, by name.
	Teams         []TeamRef            `json:"teams"`
	TemplateError *TemplateErrorState  `json:"template_error,omitempty"`
	Type          SlackDestinationType `json:"type"`
}

SlackDestination defines model for SlackDestination.

type SlackDestinationInput

type SlackDestinationInput struct {
	// Buttons The Destination's button set (C-28.FR-8, FR-10); omitted on create is `organization`, omitted on an update keeps it.
	Buttons *DestinationButtonSet `json:"buttons,omitempty"`

	// ChannelId The channel's id as Slack shows it in the channel's details — `C…`, or `G…` for a private channel of an older workspace — in upper-case letters and digits, kept as entered without surrounding white space. Any other id, such as a direct chat's `D…`, a user's `U…` or a `#name`, is refused with `invalid_format`.
	ChannelId string `json:"channel_id"`

	// ConnectionId A Slack Connection.
	ConnectionId PublicId `json:"connection_id"`

	// Limiter `destination.slack.limiter`: the form proposes 30 requests per minute, sends and edits together.
	Limiter Limiter `json:"limiter"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries (C-28.FR-1, FR-2), in order, each a target and the Loud events it applies to; omitted on create is none, which mentions nobody, and omitted on an update keeps them. A target the Destination's Connection cannot mention is refused with `422` `mention_unsupported` at `/mention_entries/{i}/target` — Slack has no `all` and no `everyone`, and takes groups and Teams only while the last check of its Connection found `usergroups:read`, a group with its `group_id` — and an entry whose target equals a stored one is kept whatever the Connection can mention now. An unknown or deleted User or Team is refused with `unknown_id` at its `user_id` or `team_id` unless the entry's target equals a stored one, and a target listed twice with `duplicate` at `/mention_entries/{i}/target`.
	MentionEntries *[]MentionEntryInput `json:"mention_entries,omitempty"`

	// Mentions The Mention settings of L1 (C-12.FR-8), deprecated since 0.2.0 and removed in 0.3.0 (C-28.FR-5). In a read, computed from the `mention_entries` that L1 can express on the Destination's type — the everyone choices, chosen Users and messenger groups L1 took there, for the six kinds of L1 — so that the other entries are not seen in it. In a request it is optional: when a request has no `mention_entries`, it sets them by the conversion of the 0.2.0 migration — on create they are its result; on update it replaces the entries that L1 can express, keeps the others after them, keeps the `storm_started` of a target present before and after, and changes nothing when it equals the stored form — validated as L1 validated it, at pointers under `/mentions`; ignored when `mention_entries` is present.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions *MentionSettings `json:"mentions,omitempty"`
	Name     string           `json:"name"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Type         SlackDestinationInputType           `json:"type"`
}

SlackDestinationInput A Slack Destination (C-24.FR-3) is a public or private channel of its Slack Connection's workspace, named by its id. Saving it runs `conversations.info`, which posts nothing, refuses an unknown or archived channel and one without the bot, and keeps the channel's name.

type SlackDestinationInputType

type SlackDestinationInputType string

SlackDestinationInputType defines model for SlackDestinationInput.Type.

const (
	SlackDestinationInputTypeSlack SlackDestinationInputType = "slack"
)

Defines values for SlackDestinationInputType.

func (SlackDestinationInputType) Valid

func (e SlackDestinationInputType) Valid() bool

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

type SlackDestinationType

type SlackDestinationType string

SlackDestinationType defines model for SlackDestination.Type.

const (
	SlackDestinationTypeSlack SlackDestinationType = "slack"
)

Defines values for SlackDestinationType.

func (SlackDestinationType) Valid

func (e SlackDestinationType) Valid() bool

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

type SlackEventMode

type SlackEventMode string

SlackEventMode How a Slack Connection receives button presses (`connection.slack.event_mode`, `socket` for a new Connection): `socket` — the Leader holds a Socket Mode connection with the app-level token, so Slack needs no address of Muster; `http` — Slack posts each press to the Connection's `callback_url`, signed with the Slack signing secret.

const (
	SlackEventModeHttp   SlackEventMode = "http"
	SlackEventModeSocket SlackEventMode = "socket"
)

Defines values for SlackEventMode.

func (SlackEventMode) Valid

func (e SlackEventMode) Valid() bool

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

type SlackInteraction200Response

type SlackInteraction200Response struct {
}

func (SlackInteraction200Response) VisitSlackInteractionResponse

func (response SlackInteraction200Response) VisitSlackInteractionResponse(w http.ResponseWriter) error

type SlackInteraction400ApplicationProblemPlusJSONResponse

type SlackInteraction400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (SlackInteraction400ApplicationProblemPlusJSONResponse) VisitSlackInteractionResponse

func (response SlackInteraction400ApplicationProblemPlusJSONResponse) VisitSlackInteractionResponse(w http.ResponseWriter) error

type SlackInteraction401ApplicationProblemPlusJSONResponse

type SlackInteraction401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (SlackInteraction401ApplicationProblemPlusJSONResponse) VisitSlackInteractionResponse

func (response SlackInteraction401ApplicationProblemPlusJSONResponse) VisitSlackInteractionResponse(w http.ResponseWriter) error

type SlackInteraction500ApplicationProblemPlusJSONResponse

type SlackInteraction500ApplicationProblemPlusJSONResponse struct {
	InternalErrorApplicationProblemPlusJSONResponse
}

func (SlackInteraction500ApplicationProblemPlusJSONResponse) VisitSlackInteractionResponse

func (response SlackInteraction500ApplicationProblemPlusJSONResponse) VisitSlackInteractionResponse(w http.ResponseWriter) error

type SlackInteractionForm

type SlackInteractionForm struct {
	// Payload The interaction as JSON, a `block_actions` payload for a button press or a menu option (F-093), whose action `value` or `selected_option.value` carries the signed action id.
	Payload string `json:"payload"`
}

SlackInteractionForm The form Slack posts for an interaction of the app; the signature covers its raw bytes.

type SlackInteractionFormdataRequestBody

type SlackInteractionFormdataRequestBody = SlackInteractionForm

SlackInteractionFormdataRequestBody defines body for SlackInteraction for application/x-www-form-urlencoded ContentType.

type SlackInteractionParams

type SlackInteractionParams struct {
	// XSlackSignature `v0=` and the hex HMAC-SHA256 of `v0:<X-Slack-Request-Timestamp>:<raw body>` with the Slack signing secret.
	XSlackSignature string `json:"X-Slack-Signature"`

	// XSlackRequestTimestamp Unix time of the request, in seconds.
	XSlackRequestTimestamp string `json:"X-Slack-Request-Timestamp"`
}

SlackInteractionParams defines parameters for SlackInteraction.

type SlackInteractionRequestObject

type SlackInteractionRequestObject struct {
	ConnectionId ConnectionId `json:"connection_id"`
	Params       SlackInteractionParams
	Body         *SlackInteractionFormdataRequestBody
}

type SlackInteractionResponseObject

type SlackInteractionResponseObject interface {
	VisitSlackInteractionResponse(w http.ResponseWriter) error
}

type SlackLinkConfirm

type SlackLinkConfirm 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
}

SlackLinkConfirm defines model for SlackLinkConfirm.

type SlackLinkRequest

type SlackLinkRequest 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Handle The Slack email or name of the account to link; a leading `@` of a name is optional.
	Handle string `json:"handle"`
}

SlackLinkRequest defines model for SlackLinkRequest.

type SlackLinkStarted

type SlackLinkStarted 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
}

SlackLinkStarted defines model for SlackLinkStarted.

type SlackSocketStatus

type SlackSocketStatus struct {
	// HelloAt When the Leader's Socket Mode connection last received `hello`, on the business clock.
	HelloAt time.Time `json:"hello_at"`

	// OtherConnections The connections of the Slack app that `hello` counted beyond those the Leader holds; more than 0 means another program, usually another Connection or installation using the same Slack app, takes some of the presses.
	OtherConnections int `json:"other_connections"`
}

SlackSocketStatus What a `hello` of the Leader's Socket Mode connection of a Slack Connection counted.

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 SnoozePreset

type SnoozePreset string

SnoozePreset A Snooze preset. `tomorrow` ends at the first start of the working day (`organization.workday_start`) after now, `week_start` at the first start of the working day on the first day of the week (`organization.week_start`) after now. After now is strict, so at the start itself the next one counts, and before the start of the working day `tomorrow` ends the same morning.

const (
	Tomorrow  SnoozePreset = "tomorrow"
	WeekStart SnoozePreset = "week_start"
)

Defines values for SnoozePreset.

func (SnoozePreset) Valid

func (e SnoozePreset) Valid() bool

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

type SnoozePresetEnd

type SnoozePresetEnd struct {
	// Preset A Snooze preset. `tomorrow` ends at the first start of the working day (`organization.workday_start`) after now, `week_start` at the first start of the working day on the first day of the week (`organization.week_start`) after now. After now is strict, so at the start itself the next one counts, and before the start of the working day `tomorrow` ends the same morning.
	Preset SnoozePreset `json:"preset"`

	// Until The end a Snooze with this preset would set now.
	Until time.Time `json:"until"`
}

SnoozePresetEnd defines model for SnoozePresetEnd.

type SnoozePresetList

type SnoozePresetList struct {
	// Items One item per Snooze preset, in the order `tomorrow`, `week_start`.
	Items []SnoozePresetEnd `json:"items"`

	// TimeZone The IANA time zone of the ends — the request's, else the caller's profile time zone, else the Organization's.
	TimeZone string `json:"time_zone"`

	// WeekStart A day of the week. As the Organization's `week_start` it is `organization.week_start` (default `monday`), the first day of the week, on which the Snooze preset `week_start` ends at the start of the working day; omit it on an update to keep it.
	WeekStart Weekday `json:"week_start"`

	// WorkdayStart The start of the working day, `organization.workday_start`.
	WorkdayStart string `json:"workday_start"`
}

SnoozePresetList defines model for SnoozePresetList.

type SnoozeRequest

type SnoozeRequest struct {
	// NoEnd Snooze until someone unsnoozes it.
	NoEnd *SnoozeRequestNoEnd `json:"no_end,omitempty"`

	// Preset A Snooze preset. `tomorrow` ends at the first start of the working day (`organization.workday_start`) after now, `week_start` at the first start of the working day on the first day of the week (`organization.week_start`) after now. After now is strict, so at the start itself the next one counts, and before the start of the working day `tomorrow` ends the same morning.
	Preset *SnoozePreset `json:"preset,omitempty"`

	// TimeZone IANA time zone in which the end of `preset` is computed; only with `preset`.
	TimeZone *string `json:"time_zone,omitempty"`

	// Until A future time.
	Until *time.Time `json:"until,omitempty"`
}

SnoozeRequest Exactly one of `until`, `no_end` and `preset`; none or more than one is `422` `one_of_required`, and a past `until` is `422` `out_of_range` at `/until`. A Snooze with no end is chosen explicitly, never by leaving a field out; the UI shows a warning before sending `no_end`. `time_zone` goes only with `preset`, so a `time_zone` without `preset` is `422` `unsupported` at `/time_zone`, and a time zone Muster does not know (or `Local`) is `422` `invalid_format` at `/time_zone`. Without `time_zone` the end of a preset is computed in the profile time zone of the User the caller acts as, else in the Organization's. In `runBulkCommand` the pointers start with `/snooze`.

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 StartBridgeCodeLink202JSONResponse

type StartBridgeCodeLink202JSONResponse BridgeCodeLinkStarted

func (StartBridgeCodeLink202JSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink202JSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLink400ApplicationProblemPlusJSONResponse

type StartBridgeCodeLink400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (StartBridgeCodeLink400ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink400ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLink401ApplicationProblemPlusJSONResponse

type StartBridgeCodeLink401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (StartBridgeCodeLink401ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink401ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLink403ApplicationProblemPlusJSONResponse

type StartBridgeCodeLink403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (StartBridgeCodeLink403ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink403ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLink409ApplicationProblemPlusJSONResponse

type StartBridgeCodeLink409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (StartBridgeCodeLink409ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink409ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLink422ApplicationProblemPlusJSONResponse

type StartBridgeCodeLink422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (StartBridgeCodeLink422ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink422ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLink429ApplicationProblemPlusJSONResponse

type StartBridgeCodeLink429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (StartBridgeCodeLink429ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink429ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLink503ApplicationProblemPlusJSONResponse

type StartBridgeCodeLink503ApplicationProblemPlusJSONResponse struct {
	LimitedApplicationProblemPlusJSONResponse
}

func (StartBridgeCodeLink503ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse

func (response StartBridgeCodeLink503ApplicationProblemPlusJSONResponse) VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error

type StartBridgeCodeLinkJSONRequestBody

type StartBridgeCodeLinkJSONRequestBody = BridgeCodeLinkRequest

StartBridgeCodeLinkJSONRequestBody defines body for StartBridgeCodeLink for application/json ContentType.

type StartBridgeCodeLinkRequestObject

type StartBridgeCodeLinkRequestObject struct {
	Body *StartBridgeCodeLinkJSONRequestBody
}

type StartBridgeCodeLinkResponseObject

type StartBridgeCodeLinkResponseObject interface {
	VisitStartBridgeCodeLinkResponse(w http.ResponseWriter) error
}

type StartBridgeLink201JSONResponse

type StartBridgeLink201JSONResponse BridgeLinkStart

func (StartBridgeLink201JSONResponse) VisitStartBridgeLinkResponse

func (response StartBridgeLink201JSONResponse) VisitStartBridgeLinkResponse(w http.ResponseWriter) error

type StartBridgeLink400ApplicationProblemPlusJSONResponse

type StartBridgeLink400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (StartBridgeLink400ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse

func (response StartBridgeLink400ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse(w http.ResponseWriter) error

type StartBridgeLink401ApplicationProblemPlusJSONResponse

type StartBridgeLink401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (StartBridgeLink401ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse

func (response StartBridgeLink401ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse(w http.ResponseWriter) error

type StartBridgeLink403ApplicationProblemPlusJSONResponse

type StartBridgeLink403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (StartBridgeLink403ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse

func (response StartBridgeLink403ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse(w http.ResponseWriter) error

type StartBridgeLink422ApplicationProblemPlusJSONResponse

type StartBridgeLink422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (StartBridgeLink422ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse

func (response StartBridgeLink422ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse(w http.ResponseWriter) error

type StartBridgeLink429ApplicationProblemPlusJSONResponse

type StartBridgeLink429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (StartBridgeLink429ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse

func (response StartBridgeLink429ApplicationProblemPlusJSONResponse) VisitStartBridgeLinkResponse(w http.ResponseWriter) error

type StartBridgeLinkJSONRequestBody

type StartBridgeLinkJSONRequestBody = BridgeLinkRequest

StartBridgeLinkJSONRequestBody defines body for StartBridgeLink for application/json ContentType.

type StartBridgeLinkRequestObject

type StartBridgeLinkRequestObject struct {
	Body *StartBridgeLinkJSONRequestBody
}

type StartBridgeLinkResponseObject

type StartBridgeLinkResponseObject interface {
	VisitStartBridgeLinkResponse(w http.ResponseWriter) error
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 StartSlackLink202JSONResponse

type StartSlackLink202JSONResponse SlackLinkStarted

func (StartSlackLink202JSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink202JSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLink400ApplicationProblemPlusJSONResponse

type StartSlackLink400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (StartSlackLink400ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink400ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLink401ApplicationProblemPlusJSONResponse

type StartSlackLink401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (StartSlackLink401ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink401ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLink403ApplicationProblemPlusJSONResponse

type StartSlackLink403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (StartSlackLink403ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink403ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLink409ApplicationProblemPlusJSONResponse

type StartSlackLink409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (StartSlackLink409ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink409ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLink422ApplicationProblemPlusJSONResponse

type StartSlackLink422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (StartSlackLink422ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink422ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLink429ApplicationProblemPlusJSONResponse

type StartSlackLink429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (StartSlackLink429ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink429ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLink503ApplicationProblemPlusJSONResponse

type StartSlackLink503ApplicationProblemPlusJSONResponse struct {
	LimitedApplicationProblemPlusJSONResponse
}

func (StartSlackLink503ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse

func (response StartSlackLink503ApplicationProblemPlusJSONResponse) VisitStartSlackLinkResponse(w http.ResponseWriter) error

type StartSlackLinkJSONRequestBody

type StartSlackLinkJSONRequestBody = SlackLinkRequest

StartSlackLinkJSONRequestBody defines body for StartSlackLink for application/json ContentType.

type StartSlackLinkRequestObject

type StartSlackLinkRequestObject struct {
	Body *StartSlackLinkJSONRequestBody
}

type StartSlackLinkResponseObject

type StartSlackLinkResponseObject interface {
	VisitStartSlackLinkResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 StartTelegramLink409ApplicationProblemPlusJSONResponse

type StartTelegramLink409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (StartTelegramLink409ApplicationProblemPlusJSONResponse) VisitStartTelegramLinkResponse

func (response StartTelegramLink409ApplicationProblemPlusJSONResponse) 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 StatisticsIntegration

type StatisticsIntegration = []PublicId

StatisticsIntegration defines model for StatisticsIntegration.

type StatisticsRoute

type StatisticsRoute = []PublicId

StatisticsRoute defines model for StatisticsRoute.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// GetAlertGroupActorStatistics Read Alert Group statistics by people
	// (GET /alert-group-actor-statistics)
	GetAlertGroupActorStatistics(ctx context.Context, request GetAlertGroupActorStatisticsRequestObject) (GetAlertGroupActorStatisticsResponseObject, error)
	// 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)
	// BridgeEvent Receive a Bridge event (push event delivery)
	// (POST /callbacks/bridge/{connection_id})
	BridgeEvent(ctx context.Context, request BridgeEventRequestObject) (BridgeEventResponseObject, error)
	// MattermostAction Receive a Mattermost button press
	// (POST /callbacks/mattermost/{connection_id})
	MattermostAction(ctx context.Context, request MattermostActionRequestObject) (MattermostActionResponseObject, error)
	// SlackInteraction Receive a Slack button press (http event mode)
	// (POST /callbacks/slack/{connection_id})
	SlackInteraction(ctx context.Context, request SlackInteractionRequestObject) (SlackInteractionResponseObject, 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)
	// CheckConnectionDraft Check a Connection before saving it
	// (POST /connections/checks)
	CheckConnectionDraft(ctx context.Context, request CheckConnectionDraftRequestObject) (CheckConnectionDraftResponseObject, 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)
	// ListConnectionGroups List the groups a Connection can mention
	// (GET /connections/{connection_id}/groups)
	ListConnectionGroups(ctx context.Context, request ListConnectionGroupsRequestObject) (ListConnectionGroupsResponseObject, 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)
	// ListEscalationChains List Escalation chains
	// (GET /escalation-chains)
	ListEscalationChains(ctx context.Context, request ListEscalationChainsRequestObject) (ListEscalationChainsResponseObject, error)
	// CreateEscalationChain Create an Escalation chain
	// (POST /escalation-chains)
	CreateEscalationChain(ctx context.Context, request CreateEscalationChainRequestObject) (CreateEscalationChainResponseObject, error)
	// DeleteEscalationChain Delete an Escalation chain
	// (DELETE /escalation-chains/{escalation_chain_id})
	DeleteEscalationChain(ctx context.Context, request DeleteEscalationChainRequestObject) (DeleteEscalationChainResponseObject, error)
	// GetEscalationChain Read an Escalation chain
	// (GET /escalation-chains/{escalation_chain_id})
	GetEscalationChain(ctx context.Context, request GetEscalationChainRequestObject) (GetEscalationChainResponseObject, error)
	// UpdateEscalationChain Update an Escalation chain
	// (PUT /escalation-chains/{escalation_chain_id})
	UpdateEscalationChain(ctx context.Context, request UpdateEscalationChainRequestObject) (UpdateEscalationChainResponseObject, error)
	// ListEscalationChainRuns List the runs of an Escalation chain
	// (GET /escalation-chains/{escalation_chain_id}/runs)
	ListEscalationChainRuns(ctx context.Context, request ListEscalationChainRunsRequestObject) (ListEscalationChainRunsResponseObject, 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)
	// StartBridgeLink Start linking an account through a Bridge with a token
	// (POST /me/account-links/bridge)
	StartBridgeLink(ctx context.Context, request StartBridgeLinkRequestObject) (StartBridgeLinkResponseObject, error)
	// StartBridgeCodeLink Start linking an account through a Bridge with a code
	// (POST /me/account-links/bridge/codes)
	StartBridgeCodeLink(ctx context.Context, request StartBridgeCodeLinkRequestObject) (StartBridgeCodeLinkResponseObject, error)
	// ConfirmBridgeLink Confirm a Bridge link with the code
	// (POST /me/account-links/bridge/confirmation)
	ConfirmBridgeLink(ctx context.Context, request ConfirmBridgeLinkRequestObject) (ConfirmBridgeLinkResponseObject, 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)
	// StartSlackLink Start linking a Slack account with a code
	// (POST /me/account-links/slack)
	StartSlackLink(ctx context.Context, request StartSlackLinkRequestObject) (StartSlackLinkResponseObject, error)
	// ConfirmSlackLink Confirm a Slack link with the code
	// (POST /me/account-links/slack/confirmation)
	ConfirmSlackLink(ctx context.Context, request ConfirmSlackLinkRequestObject) (ConfirmSlackLinkResponseObject, 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)
	// ListMyGatewayContacts List own contacts at Notification gateways
	// (GET /me/gateway-contacts)
	ListMyGatewayContacts(ctx context.Context, request ListMyGatewayContactsRequestObject) (ListMyGatewayContactsResponseObject, error)
	// CreateMyGatewayContact Add an own contact at a Notification gateway
	// (POST /me/gateway-contacts)
	CreateMyGatewayContact(ctx context.Context, request CreateMyGatewayContactRequestObject) (CreateMyGatewayContactResponseObject, error)
	// DeleteMyGatewayContact Remove an own contact at a Notification gateway
	// (DELETE /me/gateway-contacts/{gateway_contact_id})
	DeleteMyGatewayContact(ctx context.Context, request DeleteMyGatewayContactRequestObject) (DeleteMyGatewayContactResponseObject, error)
	// SendMyGatewayContactCode Send a new code for an own contact
	// (POST /me/gateway-contacts/{gateway_contact_id}/code)
	SendMyGatewayContactCode(ctx context.Context, request SendMyGatewayContactCodeRequestObject) (SendMyGatewayContactCodeResponseObject, error)
	// ConfirmMyGatewayContact Confirm an own contact with the code
	// (POST /me/gateway-contacts/{gateway_contact_id}/confirmation)
	ConfirmMyGatewayContact(ctx context.Context, request ConfirmMyGatewayContactRequestObject) (ConfirmMyGatewayContactResponseObject, error)
	// RevokeMyIcalFeed Revoke the caller's iCal feed
	// (DELETE /me/ical-feed)
	RevokeMyIcalFeed(ctx context.Context, request RevokeMyIcalFeedRequestObject) (RevokeMyIcalFeedResponseObject, error)
	// GetMyIcalFeed Read whether the caller has an iCal feed
	// (GET /me/ical-feed)
	GetMyIcalFeed(ctx context.Context, request GetMyIcalFeedRequestObject) (GetMyIcalFeedResponseObject, error)
	// IssueMyIcalFeed Issue the caller's iCal feed
	// (POST /me/ical-feed)
	IssueMyIcalFeed(ctx context.Context, request IssueMyIcalFeedRequestObject) (IssueMyIcalFeedResponseObject, error)
	// GetMyNotificationRules Read own Notification rules
	// (GET /me/notification-rules)
	GetMyNotificationRules(ctx context.Context, request GetMyNotificationRulesRequestObject) (GetMyNotificationRulesResponseObject, error)
	// UpdateMyNotificationRules Change own Notification rules
	// (PUT /me/notification-rules)
	UpdateMyNotificationRules(ctx context.Context, request UpdateMyNotificationRulesRequestObject) (UpdateMyNotificationRulesResponseObject, error)
	// ResetMyNotificationRules Reset own Notification rules to the Organization's
	// (POST /me/notification-rules/reset)
	ResetMyNotificationRules(ctx context.Context, request ResetMyNotificationRulesRequestObject) (ResetMyNotificationRulesResponseObject, 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)
	// GetOnCallNow Read who is On-call now in each Team
	// (GET /on-call-now)
	GetOnCallNow(ctx context.Context, request GetOnCallNowRequestObject) (GetOnCallNowResponseObject, 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)
	// ListRequestLog List the Request log of a Connection, a Destination or a check run
	// (GET /request-log)
	ListRequestLog(ctx context.Context, request ListRequestLogRequestObject) (ListRequestLogResponseObject, error)
	// GetRequestRecord Read a record of the Request log
	// (GET /request-log/{request_record_id})
	GetRequestRecord(ctx context.Context, request GetRequestRecordRequestObject) (GetRequestRecordResponseObject, 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)
	// ListRouteLabelSuggestions List the labels to suggest for "Labels in the message"
	// (GET /routes/{route_id}/label-suggestions)
	ListRouteLabelSuggestions(ctx context.Context, request ListRouteLabelSuggestionsRequestObject) (ListRouteLabelSuggestionsResponseObject, 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)
	// ListSchedules List Schedules
	// (GET /schedules)
	ListSchedules(ctx context.Context, request ListSchedulesRequestObject) (ListSchedulesResponseObject, error)
	// CreateSchedule Create a Schedule
	// (POST /schedules)
	CreateSchedule(ctx context.Context, request CreateScheduleRequestObject) (CreateScheduleResponseObject, error)
	// DeleteSchedule Delete a Schedule
	// (DELETE /schedules/{schedule_id})
	DeleteSchedule(ctx context.Context, request DeleteScheduleRequestObject) (DeleteScheduleResponseObject, error)
	// GetSchedule Read a Schedule
	// (GET /schedules/{schedule_id})
	GetSchedule(ctx context.Context, request GetScheduleRequestObject) (GetScheduleResponseObject, error)
	// UpdateSchedule Update a Schedule
	// (PUT /schedules/{schedule_id})
	UpdateSchedule(ctx context.Context, request UpdateScheduleRequestObject) (UpdateScheduleResponseObject, error)
	// GetScheduleOnCall Read the On-call and the Result of a Schedule
	// (GET /schedules/{schedule_id}/on-call)
	GetScheduleOnCall(ctx context.Context, request GetScheduleOnCallRequestObject) (GetScheduleOnCallResponseObject, error)
	// ListScheduleOverrides List the Overrides of a Schedule
	// (GET /schedules/{schedule_id}/overrides)
	ListScheduleOverrides(ctx context.Context, request ListScheduleOverridesRequestObject) (ListScheduleOverridesResponseObject, error)
	// CreateScheduleOverride Create an Override
	// (POST /schedules/{schedule_id}/overrides)
	CreateScheduleOverride(ctx context.Context, request CreateScheduleOverrideRequestObject) (CreateScheduleOverrideResponseObject, error)
	// DeleteScheduleOverride Delete an Override
	// (DELETE /schedules/{schedule_id}/overrides/{override_id})
	DeleteScheduleOverride(ctx context.Context, request DeleteScheduleOverrideRequestObject) (DeleteScheduleOverrideResponseObject, error)
	// UpdateScheduleOverride Update an Override
	// (PUT /schedules/{schedule_id}/overrides/{override_id})
	UpdateScheduleOverride(ctx context.Context, request UpdateScheduleOverrideRequestObject) (UpdateScheduleOverrideResponseObject, 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)
	// ListSnoozePresets List the ends of the Snooze presets
	// (GET /snooze-presets)
	ListSnoozePresets(ctx context.Context, request ListSnoozePresetsRequestObject) (ListSnoozePresetsResponseObject, 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)
	// ListTeamLabelValues List values of the Team label without a Team
	// (GET /team-label-values)
	ListTeamLabelValues(ctx context.Context, request ListTeamLabelValuesRequestObject) (ListTeamLabelValuesResponseObject, error)
	// ListTeams List Teams
	// (GET /teams)
	ListTeams(ctx context.Context, request ListTeamsRequestObject) (ListTeamsResponseObject, error)
	// CreateTeam Create a Team
	// (POST /teams)
	CreateTeam(ctx context.Context, request CreateTeamRequestObject) (CreateTeamResponseObject, error)
	// DeleteTeam Delete a Team
	// (DELETE /teams/{team_id})
	DeleteTeam(ctx context.Context, request DeleteTeamRequestObject) (DeleteTeamResponseObject, error)
	// GetTeam Read a Team
	// (GET /teams/{team_id})
	GetTeam(ctx context.Context, request GetTeamRequestObject) (GetTeamResponseObject, error)
	// UpdateTeam Update a Team
	// (PUT /teams/{team_id})
	UpdateTeam(ctx context.Context, request UpdateTeamRequestObject) (UpdateTeamResponseObject, error)
	// ListTeamUsers List the people in a Team
	// (GET /teams/{team_id}/users)
	ListTeamUsers(ctx context.Context, request ListTeamUsersRequestObject) (ListTeamUsersResponseObject, error)
	// AddTeamUser Add a person to a Team
	// (POST /teams/{team_id}/users)
	AddTeamUser(ctx context.Context, request AddTeamUserRequestObject) (AddTeamUserResponseObject, error)
	// RemoveTeamUser Remove a person from a Team
	// (DELETE /teams/{team_id}/users/{user_id})
	RemoveTeamUser(ctx context.Context, request RemoveTeamUserRequestObject) (RemoveTeamUserResponseObject, 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)
	// ListUserGatewayContacts List a user's contacts at Notification gateways
	// (GET /users/{user_id}/gateway-contacts)
	ListUserGatewayContacts(ctx context.Context, request ListUserGatewayContactsRequestObject) (ListUserGatewayContactsResponseObject, error)
	// CreateUserGatewayContact Set a user's contact (always refused)
	// (POST /users/{user_id}/gateway-contacts)
	CreateUserGatewayContact(ctx context.Context, request CreateUserGatewayContactRequestObject) (CreateUserGatewayContactResponseObject, error)
	// DeleteUserGatewayContact Remove a user's contact at a Notification gateway
	// (DELETE /users/{user_id}/gateway-contacts/{gateway_contact_id})
	DeleteUserGatewayContact(ctx context.Context, request DeleteUserGatewayContactRequestObject) (DeleteUserGatewayContactResponseObject, error)
	// RevokeUserIcalFeed Revoke a user's iCal feed
	// (DELETE /users/{user_id}/ical-feed)
	RevokeUserIcalFeed(ctx context.Context, request RevokeUserIcalFeedRequestObject) (RevokeUserIcalFeedResponseObject, error)
	// GetUserNotificationRules Read a user's Notification rules
	// (GET /users/{user_id}/notification-rules)
	GetUserNotificationRules(ctx context.Context, request GetUserNotificationRulesRequestObject) (GetUserNotificationRulesResponseObject, error)
	// UpdateUserNotificationRules Change a user's Notification rules
	// (PUT /users/{user_id}/notification-rules)
	UpdateUserNotificationRules(ctx context.Context, request UpdateUserNotificationRulesRequestObject) (UpdateUserNotificationRulesResponseObject, 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 Team

type Team struct {
	// ChainEntries The Escalation chains of the Team (C-32.FR-2), each once with its Severity condition, which run on the Alert Groups of the Team where their Route runs the Teams' chains (`run_team_chains`). Replaced as a whole; omit it on an update to keep the entries, and a creation without it has none. A chain that is unknown is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `chain_id`. Needs `teams:write` only.
	ChainEntries []ChainEntry `json:"chain_entries"`

	// Chains The Escalation chains of the Team's `chain_entries`, by name.
	Chains    []EscalationChainRef `json:"chains"`
	CreatedAt time.Time            `json:"created_at"`

	// Description Omit it on an update to keep it.
	Description string `json:"description"`

	// DestinationEntries The Destinations of the Team (C-26.FR-1), each once with its Severity condition, where the Alert Groups of the Team arrive from the Routes that deliver to the Teams from the label (`deliver_to_teams`). Replaced as a whole; omit it on an update to keep the entries, and a creation without it has none. A Destination that is unknown or deleted is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `destination_id`. A change reaches the open Alert Groups at their next change.
	DestinationEntries []DestinationEntry `json:"destination_entries"`

	// Destinations The Destinations of the Team's `destination_entries`, by name, with their health.
	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"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// IdpEntries The groups of the identity provider whose people are in the Team, matched as the entries of the Role mapping are. At every OIDC sign-in and every successful background re-check a User joins the Team when an entry matches them and leaves it when they are in it only through entries that no longer match; a person added by hand is never taken out. A change applies to each User at their next sign-in or re-check. Omit it on an update to keep the entries; a creation without it has none.
	IdpEntries []TeamIdpEntry `json:"idp_entries"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// Matchers The Team matchers (C-25.FR-5), in the syntax of Route Matchers on any label; each is enough on its own, so an Alert that any one of them picks belongs to the Team. Replaced as a whole; omit it on an update to keep it. An expression that is not RE2 is refused with `422` `invalid_regex` at `/matchers/{i}/value`.
	Matchers []Matcher `json:"matchers"`

	// MentionConnections Every Connection that is not deleted and may have a Destination — not a Bridge Connection whose stored `info` lists `roles` without `messenger` — by name, each with the Team's Team mention for it or null, and whether it can mention a group.
	MentionConnections []TeamMentionConnection `json:"mention_connections"`

	// Name Unique, ignoring case, among the Teams that are not deleted.
	Name string `json:"name"`

	// OwnWorkingHours False follows the Organization's Working hours (`team.working_hours`); true takes `working_hours`.
	OwnWorkingHours bool `json:"own_working_hours"`

	// Slug The value of the Team label that names the Team (`team.slug_format`) — 1 to 63 characters, lowercase letters, digits, `-`, `_` and `.`, starting with a letter or a digit — unique among the Teams that are not deleted. A slug outside the format is refused with `422` `invalid_format` at `/slug`.
	Slug string `json:"slug"`

	// TeamMentions The Team mentions of Connections that are not deleted, by Connection name.
	TeamMentions []TeamMention `json:"team_mentions"`

	// UserCount How many people are in the Team, disabled Users included.
	UserCount int `json:"user_count"`

	// WorkingHours The Team's own Working hours, required with `own_working_hours` on a creation and read only with it. A read always carries the effective ones, the Organization's when the Team has none of its own.
	WorkingHours WorkingHours `json:"working_hours"`
}

Team defines model for Team.

type TeamId

type TeamId = PublicId

TeamId 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 TeamIdpEntry

type TeamIdpEntry struct {
	// Claim The claim the entry reads, by its exact name, from the ID token and then from userinfo; omitted or empty reads the groups claim of the OIDC settings.
	Claim *string `json:"claim,omitempty"`

	// Group A value of the claim, matched exactly, or a subtree `a/b/*`, which matches `a/b` and every group below it at `/` boundaries. An empty group, or `*` anywhere but a trailing `/*`, is refused with `422` `invalid_format` at the entry's `group`.
	Group string `json:"group"`
}

TeamIdpEntry An identity provider entry of a Team.

type TeamInput

type TeamInput struct {
	// ChainEntries The Escalation chains of the Team (C-32.FR-2), each once with its Severity condition, which run on the Alert Groups of the Team where their Route runs the Teams' chains (`run_team_chains`). Replaced as a whole; omit it on an update to keep the entries, and a creation without it has none. A chain that is unknown is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `chain_id`. Needs `teams:write` only.
	ChainEntries *[]ChainEntry `json:"chain_entries,omitempty"`

	// Description Omit it on an update to keep it.
	Description *string `json:"description,omitempty"`

	// DestinationEntries The Destinations of the Team (C-26.FR-1), each once with its Severity condition, where the Alert Groups of the Team arrive from the Routes that deliver to the Teams from the label (`deliver_to_teams`). Replaced as a whole; omit it on an update to keep the entries, and a creation without it has none. A Destination that is unknown or deleted is refused with `422` `unknown_id`, and one named twice with `duplicate`, at the entry's `destination_id`. A change reaches the open Alert Groups at their next change.
	DestinationEntries *[]DestinationEntry `json:"destination_entries,omitempty"`

	// IdpEntries The groups of the identity provider whose people are in the Team, matched as the entries of the Role mapping are. At every OIDC sign-in and every successful background re-check a User joins the Team when an entry matches them and leaves it when they are in it only through entries that no longer match; a person added by hand is never taken out. A change applies to each User at their next sign-in or re-check. Omit it on an update to keep the entries; a creation without it has none.
	IdpEntries *[]TeamIdpEntry `json:"idp_entries,omitempty"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// Matchers The Team matchers (C-25.FR-5), in the syntax of Route Matchers on any label; each is enough on its own, so an Alert that any one of them picks belongs to the Team. Replaced as a whole; omit it on an update to keep it. An expression that is not RE2 is refused with `422` `invalid_regex` at `/matchers/{i}/value`.
	Matchers *[]Matcher `json:"matchers,omitempty"`

	// Name Unique, ignoring case, among the Teams that are not deleted.
	Name string `json:"name"`

	// OwnWorkingHours False follows the Organization's Working hours (`team.working_hours`); true takes `working_hours`.
	OwnWorkingHours bool `json:"own_working_hours"`

	// Slug The value of the Team label that names the Team (`team.slug_format`) — 1 to 63 characters, lowercase letters, digits, `-`, `_` and `.`, starting with a letter or a digit — unique among the Teams that are not deleted. A slug outside the format is refused with `422` `invalid_format` at `/slug`.
	Slug string `json:"slug"`

	// TeamMentions The Team mentions (C-25.FR-8), at most one per Connection, each the group that mentions the Team through that Connection. Replaced as a whole; omit it on an update to keep them, and a creation without it has none. A Connection that cannot mention a group — a Telegram Connection, a Slack Connection whose last check found no `usergroups:read`, a Bridge Connection whose bridge declares no `group_mentions` in its stored `info`, or one that is a Notification gateway only — is refused with `422` `group_mentions_unsupported` at the entry's `connection_id`; an unknown or deleted Connection with `unknown_id`, and one named twice with `duplicate`, there too. A Team mention identical to a stored one, with the same `connection_id`, `group` and `group_id`, is kept whatever its Connection can mention now, so that one whose Connection lost the ability never blocks a save; only a new or changed one is checked. A Slack Team mention needs `group_id`, which the others refuse with `unsupported` at it. Saving does not call the messenger.
	TeamMentions *[]TeamMentionInput `json:"team_mentions,omitempty"`

	// WorkingHours The Team's own Working hours, required with `own_working_hours` on a creation and read only with it. A read always carries the effective ones, the Organization's when the Team has none of its own.
	WorkingHours *WorkingHours `json:"working_hours,omitempty"`
}

TeamInput defines model for TeamInput.

type TeamLabelValue

type TeamLabelValue struct {
	// AlertCount How many Alerts last seen within the window carry the value.
	AlertCount int `json:"alert_count"`

	// LastSeenAt When an Alert that carries the value was last seen.
	LastSeenAt time.Time `json:"last_seen_at"`

	// ValidSlug False when the value is not a valid slug (`team.slug_format`), so that no Team can take it as its slug.
	ValidSlug bool   `json:"valid_slug"`
	Value     string `json:"value"`
}

TeamLabelValue defines model for TeamLabelValue.

type TeamLabelValueList

type TeamLabelValueList struct {
	Items []TeamLabelValue `json:"items"`

	// Label The Team label of the Organization (`organization.team_label`).
	Label      string `json:"label"`
	WindowDays int    `json:"window_days"`
}

TeamLabelValueList defines model for TeamLabelValueList.

type TeamList

type TeamList struct {
	Items      []Team                    `json:"items"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

TeamList defines model for TeamList.

type TeamMembership

type TeamMembership struct {
	// Matcher The Team matcher that picked the Alert, in the Alertmanager syntax, for the rule `matcher`.
	Matcher nullable.Nullable[string] `json:"matcher"`

	// Rule How an Alert belongs to a Team (C-25.FR-5) — by the value of the Team label, equal to the Team's slug, or by one of its Team matchers.
	Rule TeamRule `json:"rule"`

	// Team The Team an object names, with its slug; `deleted` is true for a Team that was deleted since.
	Team TeamRef `json:"team"`
}

TeamMembership A Team that an Alert belongs to, with the rule that decided it when the Alert started firing.

type TeamMention

type TeamMention struct {
	Available bool `json:"available"`

	// Connection A Connection by name, with its type.
	Connection ConnectionRef `json:"connection"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Group The group that mentions the Team, without `@` — the name of a Mattermost group, the handle of a Slack user group, or a group name of the bridge — of the form of the group names of Mention settings, 1 to 64 letters, digits, `.`, `_` and `-`, starting with a letter or a digit. Another form is refused with `422` `invalid_format` at it.
	Group string `json:"group"`

	// GroupId The Slack user group's id (`S` followed by digits and capital letters), from `listConnectionGroups`, required for a Slack Connection and refused for the others (`422` `required` or `unsupported` at it, `invalid_format` for another form); Slack mentions the user group by it.
	GroupId *string `json:"group_id,omitempty"`

	// UnavailableReason Why the Team mention mentions nobody now; null while it is available.
	UnavailableReason nullable.Nullable[MentionUnavailableReason] `json:"unavailable_reason"`
}

TeamMention A Team mention as a read gives it, with its Connection and whether the Connection can carry it now. A Team mention whose Connection lost the ability, such as a Slack app reinstalled without `usergroups:read`, stays, reads `available` false with the reason, and mentions nobody.

type TeamMentionConnection

type TeamMentionConnection struct {
	// Available Whether the Connection can mention a group now.
	Available  bool      `json:"available"`
	Connection EntityRef `json:"connection"`

	// TeamMention The Team's Team mention for the Connection, null without one.
	TeamMention nullable.Nullable[TeamMention] `json:"team_mention"`
	Type        ConnectionType                 `json:"type"`

	// UnavailableReason Why it cannot; null while it can.
	UnavailableReason nullable.Nullable[MentionUnavailableReason] `json:"unavailable_reason"`
}

TeamMentionConnection A Connection that may have a Destination, with the Team's Team mention for it, for the field of each Connection on the Team page (C-25.FR-8). A Bridge Connection that is a Notification gateway only is not listed.

type TeamMentionInput

type TeamMentionInput 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// Group The group that mentions the Team, without `@` — the name of a Mattermost group, the handle of a Slack user group, or a group name of the bridge — of the form of the group names of Mention settings, 1 to 64 letters, digits, `.`, `_` and `-`, starting with a letter or a digit. Another form is refused with `422` `invalid_format` at it.
	Group string `json:"group"`

	// GroupId The Slack user group's id (`S` followed by digits and capital letters), from `listConnectionGroups`, required for a Slack Connection and refused for the others (`422` `required` or `unsupported` at it, `invalid_format` for another form); Slack mentions the user group by it.
	GroupId *string `json:"group_id,omitempty"`
}

TeamMentionInput The Team mention of a Team for one Connection (C-25.FR-8).

type TeamOnCall

type TeamOnCall struct {
	// Next The segment that follows within `schedule.gap_view`, or null.
	Next nullable.Nullable[OnCallNext] `json:"next"`

	// NoSchedule The Team has no main Schedule ("No Schedule").
	NoSchedule bool `json:"no_schedule"`

	// RotationLayer The Rotation layer whose Shift makes the person On-call; null for an Override, in a gap and without a Schedule.
	RotationLayer nullable.Nullable[EntityRef] `json:"rotation_layer"`

	// Schedule The Team's main Schedule, or null.
	Schedule nullable.Nullable[ScheduleRef] `json:"schedule"`

	// Team The Team an object names, with its slug; `deleted` is true for a Team that was deleted since.
	Team TeamRef `json:"team"`

	// Unreachable The Destinations of the Team, and of the Routes and Teams that name an Escalation chain with a `page_on_call` step on the main Schedule, that a Mention of the On-call now cannot reach (C-27.FR-8, FR-9), each once, by the Destination's name; empty in a gap, without a Schedule and when every Destination reaches them.
	Unreachable []OnCallReach `json:"unreachable"`

	// Until The end of the current segment — the On-call's, or the gap's; null when it lasts beyond `schedule.gap_view` and without a Schedule.
	Until nullable.Nullable[time.Time] `json:"until"`

	// User The On-call now; null in a gap and without a Schedule.
	User nullable.Nullable[UserRef] `json:"user"`
}

TeamOnCall The On-call of a Team's main Schedule now. With `no_schedule` true, the Team has no main Schedule and every other field but `team` is null.

type TeamRef

type TeamRef struct {
	Deleted bool `json:"deleted"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	Slug string   `json:"slug"`
}

TeamRef The Team an object names, with its slug; `deleted` is true for a Team that was deleted since.

type TeamRule

type TeamRule string

TeamRule How an Alert belongs to a Team (C-25.FR-5) — by the value of the Team label, equal to the Team's slug, or by one of its Team matchers.

const (
	TeamRuleLabel   TeamRule = "label"
	TeamRuleMatcher TeamRule = "matcher"
)

Defines values for TeamRule.

func (TeamRule) Valid

func (e TeamRule) Valid() bool

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

type TeamUser

type TeamUser struct {
	// IdpEntries With the source `idp`, the entries of the Team that matched the person at their last OIDC sign-in or re-check; empty without it.
	IdpEntries       []TeamIdpEntry    `json:"idp_entries"`
	LinkedMessengers []LinkedMessenger `json:"linked_messengers"`
	Role             RoleName          `json:"role"`
	Sources          []TeamUserSource  `json:"sources"`

	// User A User. Used wherever the person must be a User: the Owner and the previous Owner.
	User UserRef `json:"user"`
}

TeamUser defines model for TeamUser.

type TeamUserAdd

type TeamUserAdd struct {
	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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`.
	UserId PublicId `json:"user_id"`
}

TeamUserAdd defines model for TeamUserAdd.

type TeamUserList

type TeamUserList struct {
	Items []TeamUser `json:"items"`
}

TeamUserList defines model for TeamUserList.

type TeamUserSource

type TeamUserSource string

TeamUserSource How a person is in a Team. `by_hand` is an Admin's addition; `idp` is an identity provider entry of the Team that matched the person at their last OIDC sign-in or re-check. A person may have both.

const (
	ByHand TeamUserSource = "by_hand"
	Idp    TeamUserSource = "idp"
)

Defines values for TeamUserSource.

func (TeamUserSource) Valid

func (e TeamUserSource) Valid() bool

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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy  nullable.Nullable[string]  `json:"managed_by,omitempty"`
	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 TelegramConnectionDraft

type TelegramConnectionDraft struct {
	// BotApiBaseUrl The Bot API base URL as `TelegramConnectionBase` takes it.
	BotApiBaseUrl string `json:"bot_api_base_url"`

	// BotToken A bot token typed in the form, sent only to `bot_api_base_url`. Omit it to use the stored token of `connection_id`, which goes only to its saved base URL through its saved proxy.
	BotToken *string `json:"bot_token,omitempty"`

	// ConnectionId The saved Telegram Connection that the form edits; omit it for a new one. An omitted `proxy` is its saved proxy, and no proxy without it.
	ConnectionId *PublicId `json:"connection_id,omitempty"`

	// Proxy Per-client proxy as written. Omitting `password` keeps the stored one; `null` clears it.
	Proxy      *ProxyConfigInput           `json:"proxy,omitempty"`
	Type       TelegramConnectionDraftType `json:"type"`
	UpdateMode TelegramUpdateMode          `json:"update_mode"`
}

TelegramConnectionDraft A Telegram Connection as its form holds it, for `checkConnectionDraft`.

type TelegramConnectionDraftType

type TelegramConnectionDraftType string

TelegramConnectionDraftType defines model for TelegramConnectionDraft.Type.

const (
	TelegramConnectionDraftTypeTelegram TelegramConnectionDraftType = "telegram"
)

Defines values for TelegramConnectionDraftType.

func (TelegramConnectionDraftType) Valid

Valid indicates whether the value is a known member of the TelegramConnectionDraftType 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`
	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

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 {
	// Buttons A Destination's button set, `destination.buttons` (C-28.FR-8): `organization`, "As in the Organization", the default, follows the Organization's set and its later changes; `own` shows only `items`, which are then required. A change re-renders the Destination's open Root messages, as edits.
	Buttons DestinationButtonSet `json:"buttons"`

	// ChannelChatId The channel's numeric chat id, found by the Destination check (`getChat` on the channel). Null until a check has found it. Two Destinations with one `channel_chat_id` deliver to one chat.
	ChannelChatId nullable.Nullable[string] `json:"channel_chat_id,omitempty"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries in order, each with what it mentions now.
	MentionEntries []MentionEntry `json:"mention_entries"`

	// MentionWarnings The people and entries whose Mentions were not delivered (C-28.FR-3), by entry and then by the person's name; always empty on an outgoing webhook, which takes every person as data.
	MentionWarnings []MentionWarning `json:"mention_warnings"`

	// Mentions The L1 form of the Mention entries that L1 can express on the Destination's type (C-28.FR-5), removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions MentionSettings `json:"mentions"`
	Name     string          `json:"name"`

	// OwningTeam The Team that owns the Destination, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	Routes       []EntityRef                         `json:"routes"`

	// Teams The Teams that name the Destination as a Destination of the Team, by name.
	Teams         []TeamRef               `json:"teams"`
	TemplateError *TemplateErrorState     `json:"template_error,omitempty"`
	Type          TelegramDestinationType `json:"type"`
}

TelegramDestination defines model for TelegramDestination.

type TelegramDestinationInput

type TelegramDestinationInput struct {
	// Buttons The Destination's button set (C-28.FR-8, FR-10); omitted on create is `organization`, omitted on an update keeps it.
	Buttons *DestinationButtonSet `json:"buttons,omitempty"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries (C-28.FR-1, FR-2), in order, each a target and the Loud events it applies to; omitted on create is none, which mentions nobody, and omitted on an update keeps them. A target the Destination's Connection cannot mention is refused with `422` `mention_unsupported` at `/mention_entries/{i}/target` — Telegram takes only people and the On-call — and an entry whose target equals a stored one is kept whatever the Connection can mention now. An unknown or deleted User or Team is refused with `unknown_id` at its `user_id` or `team_id` unless the entry's target equals a stored one, and a target listed twice with `duplicate` at `/mention_entries/{i}/target`.
	MentionEntries *[]MentionEntryInput `json:"mention_entries,omitempty"`

	// Mentions The Mention settings of L1 (C-12.FR-8), deprecated since 0.2.0 and removed in 0.3.0 (C-28.FR-5). In a read, computed from the `mention_entries` that L1 can express on the Destination's type — the everyone choices, chosen Users and messenger groups L1 took there, for the six kinds of L1 — so that the other entries are not seen in it. In a request it is optional: when a request has no `mention_entries`, it sets them by the conversion of the 0.2.0 migration — on create they are its result; on update it replaces the entries that L1 can express, keeps the others after them, keeps the `storm_started` of a target present before and after, and changes nothing when it equals the stored form — validated as L1 validated it, at pointers under `/mentions`; ignored when `mention_entries` is present.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions *MentionSettings `json:"mentions,omitempty"`
	Name     string           `json:"name"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`
	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

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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

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, `commonmark` as in a bridge's envelope body, `mrkdwn` as in Slack. 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, `commonmark` as in a bridge's envelope body, `mrkdwn` as in Slack. Ignored for `link_rule` and `webhook_request`, which have no markup.

const (
	TemplatePreviewRequestFormatCommonmark  TemplatePreviewRequestFormat = "commonmark"
	TemplatePreviewRequestFormatHtml        TemplatePreviewRequestFormat = "html"
	TemplatePreviewRequestFormatLessThannil TemplatePreviewRequestFormat = "<nil>"
	TemplatePreviewRequestFormatMarkdown    TemplatePreviewRequestFormat = "markdown"
	TemplatePreviewRequestFormatMrkdwn      TemplatePreviewRequestFormat = "mrkdwn"
)

Defines values for TemplatePreviewRequestFormat.

func (TemplatePreviewRequestFormat) Valid

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"`

	// Layout For `root_message`, the content of the rendered message as structured data; null when the template failed, and when a template of the Route renders the content, which the structured data cannot carry, as a bridge then receives no `layout`. The preview renders without the Route's line template, so for a Route with a line template it shows the compact layout, although a bridge receives none.
	Layout nullable.Nullable[MessageLayout] `json:"layout,omitempty"`

	// Length For `root_message`, the length of `output` as its messenger counts it — UTF-16 code units for `html`, characters otherwise.
	Length *int `json:"length,omitempty"`

	// MessengerLimit For `root_message`, the length limit the adapter of `format` declares — 16,383 for Mattermost, 4,096 for Telegram, 3,000 for a Slack section — and null for `commonmark`, whose limit each bridge declares.
	MessengerLimit nullable.Nullable[int] `json:"messenger_limit,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 (
	TemplatePreviewResultFormatCommonmark  TemplatePreviewResultFormat = "commonmark"
	TemplatePreviewResultFormatHtml        TemplatePreviewResultFormat = "html"
	TemplatePreviewResultFormatLessThannil TemplatePreviewResultFormat = "<nil>"
	TemplatePreviewResultFormatMarkdown    TemplatePreviewResultFormat = "markdown"
	TemplatePreviewResultFormatMrkdwn      TemplatePreviewResultFormat = "mrkdwn"
)

Defines values for TemplatePreviewResultFormat.

func (TemplatePreviewResultFormat) Valid

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

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 TestDestination501ApplicationProblemPlusJSONResponse

type TestDestination501ApplicationProblemPlusJSONResponse struct {
	NotImplementedApplicationProblemPlusJSONResponse
}

func (TestDestination501ApplicationProblemPlusJSONResponse) VisitTestDestinationResponse

func (response TestDestination501ApplicationProblemPlusJSONResponse) 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, in English. Secrets, the Signing secret and tokens are masked. Clients show it as the detail of `error_code`, or of `error_class` without one.
	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"`

	// ErrorCode What failed in a step where `error_class` does not tell it, for the `press` step of a Mattermost Destination: `press_not_reached` — the bot pressed the button, but the press did not reach Muster's callback; `error` names the host of `MUSTER_INGEST_URL` to add to `ServiceSettings.AllowedUntrustedInternalConnections` on the Mattermost server; `bot_unknown` — no Connection check has learned the bot yet, so it did not press; run the Connection check, then test again. Null otherwise.
	ErrorCode nullable.Nullable[NullableTestStepErrorCode] `json:"error_code,omitempty"`
	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. A Slack Destination's `message` is sent with `chat.postMessage`.
	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. A Slack Destination's `message` is sent with `chat.postMessage`.

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. `bridge` marks presses and Text commands through a Bridge Connection; `slack` marks presses through a Slack Connection; `gateway` marks an Acknowledge from a call through a Notification gateway; `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 Why the Severity level rose, as text, for a `severity_raised` that no Alert caused; clients translate `reason_code` and show this text only when there is no code.
	Reason nullable.Nullable[string] `json:"reason,omitempty"`

	// ReasonCode The stable code of the reason of an automatic status change: why the Alert that resolved the Alert Group resolved (`resolved`, `gone`, `stale`, `integration_deleted`), why the Owner was released (`owner_disabled`, `owner_deleted`), `reminders_unanswered` when nobody answered the last two Reminders and the Alert Group was unacknowledged automatically, or `minimum_severity` when the Severity level was raised by the Minimum severity of the Route. Null when the entry has no reason or its reason has no code.
	ReasonCode nullable.Nullable[NullableStatusChangeReason] `json:"reason_code,omitempty"`

	// ReplacedLabel The Instance label that differs, for `alert_replaced`.
	ReplacedLabel nullable.Nullable[string] `json:"replaced_label,omitempty"`

	// Team The Team that joined, for `team_joined`; a Team deleted since keeps its name.
	Team *TeamRef `json:"team,omitempty"`

	// TeamMatcher The Team matcher that brought the Team, for `team_joined` by the rule `matcher`.
	TeamMatcher nullable.Nullable[string] `json:"team_matcher,omitempty"`

	// TeamRule The rule that brought the Team, for `team_joined`.
	TeamRule *TeamRule `json:"team_rule,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"`

	// Mention For `mention_not_delivered` only, the person whom a Mention entry named and the delivered Loud message did not mention as their messenger mentions them (C-28.FR-3), or the group, Team mention or everyone in the chat that a bridge's Mention line left out for length (C-12.FR-11), that of a Page's Thread reply included; nothing was written in the Thread for it.
	Mention *UndeliveredMention `json:"mention,omitempty"`

	// 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) AsTimelineEscalationEntry

func (t TimelineEntry) AsTimelineEscalationEntry() (TimelineEscalationEntry, error)

AsTimelineEscalationEntry returns the union data inside the TimelineEntry as a TimelineEscalationEntry

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

func (t *TimelineEntry) FromTimelineEscalationEntry(v TimelineEscalationEntry) error

FromTimelineEscalationEntry overwrites any union data inside the TimelineEntry as the provided TimelineEscalationEntry

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

func (t *TimelineEntry) MergeTimelineEscalationEntry(v TimelineEscalationEntry) error

MergeTimelineEscalationEntry performs a merge with any union data inside the TimelineEntry, using the provided TimelineEscalationEntry

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 TimelineEscalationEntry

type TimelineEscalationEntry struct {
	// Actor Who caused the entry. `system` entries carry the reason in `reason`.
	Actor TimelineActor `json:"actor"`

	// Assignees The Assignees after the change, for `assignees_changed`; empty once Acknowledge, Snooze or Resolve cleared them.
	Assignees *[]Assignee `json:"assignees,omitempty"`
	At        time.Time   `json:"at"`

	// Chain The Escalation chain of the event, null once it was deleted or for an event of no chain.
	Chain nullable.Nullable[EscalationChainRef] `json:"chain,omitempty"`

	// ChainName The name of the chain when its run started; null for an event of no chain.
	ChainName nullable.Nullable[string] `json:"chain_name,omitempty"`

	// Destination The outgoing webhook Destination the step sent to, for `escalation_webhook`.
	Destination *DestinationRef `json:"destination,omitempty"`

	// 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"`

	// Everyone The word for everyone in the chat that a `page_team` step wrote instead of a Team mention; null otherwise.
	Everyone nullable.Nullable[PageEveryone] `json:"everyone,omitempty"`

	// Gateway The Notification gateway of a call; null for a Page by Mention.
	Gateway nullable.Nullable[EntityRef] `json:"gateway,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"`

	// Importance How a step Paged its people, which ran their Notification rule of that name (C-31.FR-3); null for a Page of a Team or of everyone in the chat, and for the events of the kind that are no Page by Mention.
	Importance nullable.Nullable[NullablePageImportance] `json:"importance,omitempty"`
	Kind       TimelineEscalationEntryKind               `json:"kind"`
	Loudness   Loudness                                  `json:"loudness"`
	Mentions   []MentionName                             `json:"mentions"`

	// PagedUsers The people the Page names.
	PagedUsers []UserRef `json:"paged_users"`

	// Reason Why a Page reached its person nowhere (`page_not_delivered`): the Notification gateway refused the call (`call_refused`), answered what Muster cannot classify (`call_unknown`), or kept failing until the retry budget was used (`call_budget_used`); the person had no confirmed contact at the gateway at the first attempt (`no_confirmed_contact`); the gateway was deleted, or is no Notification gateway any more, before the call was sent (`gateway_deleted`); or the call came due while the gateway was Broken, and is never sent (`gateway_broken`). A Page by Mention (C-32.FR-10): none of its chain's Destinations has the Alert Group's Root message (`no_root_message`), the person has no Account link in the Identity space of any of them (`no_account_link`), or every Thread reply that would mention them ended Not delivered, was withheld while its Destination was Broken, or was never sent because its Root message ended Not delivered (`not_delivered`). Null for the other events of the kind. Later versions add reasons; clients show an unknown one as it is.
	Reason nullable.Nullable[PageNotDeliveredReason] `json:"reason,omitempty"`

	// SkipReason Why a step was skipped (`escalation_step_skipped`, C-32.FR-14): outside the Working hours of its chain (`outside_working_hours`), for a Severity level its condition does not meet (`severity`), in a gap of the Schedule it Pages (`schedule_gap`), for a person it names who became a Viewer (`viewer`) or was disabled (`disabled`) since it was saved, or for a step "Send to an outgoing webhook" whose Destination was deleted (`destination_deleted`) or is no longer an outgoing webhook in the mode events or both (`webhook_events_required`), or for a step "Page the whole Team" that none of its chain's Destinations can mention, as a Telegram channel cannot (`no_mention_possible`), or for a step "Call through a Notification gateway" or a call action of a Notification rule whose gateway was deleted or is no Notification gateway any more (`gateway_deleted`), or for a person it would call who has no confirmed contact there (`no_confirmed_contact`), with the person in `paged_users` (C-32.FR-14, C-30.FR-9, C-31.FR-3). Null when the step was made. Later versions add reasons; clients show an unknown one as it is.
	SkipReason nullable.Nullable[EscalationSkipReason] `json:"skip_reason,omitempty"`

	// Step The number of the step of the chain; null for an event of no chain.
	Step nullable.Nullable[int] `json:"step,omitempty"`

	// Team The Team whose Team mention a `page_team` step wrote, for its `paged`; null otherwise.
	Team nullable.Nullable[TeamRef] `json:"team,omitempty"`
}

TimelineEscalationEntry An event of Escalation chains and Pages (C-32), such as `paged` for a Page by Mention, with its people and `importance`, or the `team` or the word for `everyone` of a `page_team` step, `paged` for a call through a Notification gateway, Quiet, with its person and its `gateway` (C-30.FR-4), `page_not_delivered` for a call through a Notification gateway or a Page by Mention that ended Not delivered, `escalation_step_skipped` for a step of a chain that was skipped, with the chain, the step and `skip_reason`, and the person in `paged_users` for a skip of a person, `escalation_webhook` for a step that sent to an outgoing webhook, with the chain, the step and `destination`, or `assignees_changed`, with the Assignees after the change in `assignees`.

type TimelineEscalationEntryKind

type TimelineEscalationEntryKind string

TimelineEscalationEntryKind defines model for TimelineEscalationEntry.Kind.

const (
	TimelineEscalationEntryKindEscalation TimelineEscalationEntryKind = "escalation"
)

Defines values for TimelineEscalationEntryKind.

func (TimelineEscalationEntryKind) Valid

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

type TimelineKind

type TimelineKind string

TimelineKind defines model for TimelineKind.

const (
	TimelineKindAlerts     TimelineKind = "alerts"
	TimelineKindDelivery   TimelineKind = "delivery"
	TimelineKindEscalation TimelineKind = "escalation"
	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"`

	// Gateway The Notification gateway of the call that an acknowledgement through the Transport `gateway` came from, as the `gateway` of an entry of the kind `escalation`; null for any other entry, and for one that a version without it recorded.
	Gateway nullable.Nullable[EntityRef] `json:"gateway,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, as text; clients translate `reason_code` and show this text only when there is no code.
	Reason nullable.Nullable[string] `json:"reason,omitempty"`

	// ReasonCode The stable code of the reason of an automatic status change: why the Alert that resolved the Alert Group resolved (`resolved`, `gone`, `stale`, `integration_deleted`), why the Owner was released (`owner_disabled`, `owner_deleted`), `reminders_unanswered` when nobody answered the last two Reminders and the Alert Group was unacknowledged automatically, or `minimum_severity` when the Severity level was raised by the Minimum severity of the Route. Null when the entry has no reason or its reason has no code.
	ReasonCode  nullable.Nullable[NullableStatusChangeReason] `json:"reason_code,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"`

	// Destination The Destination the Alert Group joined, for `destination_joined`.
	Destination *DestinationRef           `json:"destination,omitempty"`
	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"`

	// TeamValue The value of the Team label that names no Team, for `unknown_team_value`.
	TeamValue nullable.Nullable[string] `json:"team_value,omitempty"`
}

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 (
	TimelineSystemEntrySystemEventDestinationJoined    TimelineSystemEntrySystemEvent = "destination_joined"
	TimelineSystemEntrySystemEventFallbackTemplateUsed TimelineSystemEntrySystemEvent = "fallback_template_used"
	TimelineSystemEntrySystemEventMovedToDefaultRoute  TimelineSystemEntrySystemEvent = "moved_to_default_route"
	TimelineSystemEntrySystemEventMusterUnavailable    TimelineSystemEntrySystemEvent = "muster_unavailable"
	TimelineSystemEntrySystemEventTemplateValueMissing TimelineSystemEntrySystemEvent = "template_value_missing"
	TimelineSystemEntrySystemEventUnknownTeamValue     TimelineSystemEntrySystemEvent = "unknown_team_value"
)

Defines values for TimelineSystemEntrySystemEvent.

func (TimelineSystemEntrySystemEvent) Valid

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 To

type To = time.Time

To defines model for To.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

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. `bridge` marks presses and Text commands through a Bridge Connection; `slack` marks presses through a Slack Connection; `gateway` marks an Acknowledge from a call through a Notification gateway; `cli` marks audited CLI commands (`--actor`); `system` marks transitions Muster starts on its own.

const (
	TransportApi        Transport = "api"
	TransportBridge     Transport = "bridge"
	TransportCli        Transport = "cli"
	TransportGateway    Transport = "gateway"
	TransportMattermost Transport = "mattermost"
	TransportSlack      Transport = "slack"
	TransportSystem     Transport = "system"
	TransportTelegram   Transport = "telegram"
	TransportUi         Transport = "ui"
)

Defines values for Transport.

func (Transport) Valid

func (e Transport) Valid() bool

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

type UnacknowledgeAlertGroup200JSONResponse

type UnacknowledgeAlertGroup200JSONResponse CommandResult

func (UnacknowledgeAlertGroup200JSONResponse) VisitUnacknowledgeAlertGroupResponse

func (response UnacknowledgeAlertGroup200JSONResponse) VisitUnacknowledgeAlertGroupResponse(w http.ResponseWriter) error

type UnacknowledgeAlertGroup401ApplicationProblemPlusJSONResponse

type UnacknowledgeAlertGroup401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 UndeliveredMention

type UndeliveredMention struct {
	// Entry The entry that named the person or the Mention; absent for a template's token and for the Team mention or everyone of a Page.
	Entry *MentionEntryRef `json:"entry,omitempty"`

	// Event The Loud event the entry applied to; absent for a template's token and for the Team mention or everyone of a Page.
	Event *MentionEvent `json:"event,omitempty"`

	// Mention The group or everyone in the chat; absent for a person.
	Mention *NamedMention `json:"mention,omitempty"`

	// Page The Page whose Thread reply left out the Team mention or everyone in the chat that it named; absent for any other Mention.
	Page *MentionPage `json:"page,omitempty"`

	// Reason Why a person whom a Mention entry named was not mentioned as their messenger mentions them (C-28.FR-3): they have no Account link in the Identity space of the Destination's Connection, so the message left them out (`no_account_link`), or the bridge does not declare `native_mentions` in its `info` — or Muster has read none yet — or their Account link has no marker, its `external_id` being longer than 512 characters or neither it nor the person having a display name, so the message named them by the plain name, which notifies nobody (`bridge_cannot_mention_people`, C-22.FR-16), or the message went through a bridge whose Mention line keeps only the whole Mentions that fit half of `limits.max_body_length` and left theirs out (`message_too_long`, C-12.FR-11). `message_too_long` is also the reason of a group, a Team mention or everyone in the chat that such a line left out, the only reason a Mention that names no one person is not delivered.
	Reason MentionNotDeliveredReason `json:"reason"`

	// User The person; absent for a group or everyone, which `mention` names.
	User *UserRef `json:"user,omitempty"`
}

UndeliveredMention A person whom a Mention entry named for a Loud event and whom a delivered Loud message did not mention as their messenger mentions them (C-28.FR-3); or a group, a Team mention or everyone in the chat that a bridge's Mention line left out for length (C-12.FR-11), with `mention` in place of `user`. A Mention of a template's token (`{{ mention "here" }}`, a group's token), which no entry named, has neither `entry` nor `event`; nor has the Team mention or everyone in the chat that a Page named (C-32.FR-9), which has `page` in place of `entry`.

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 UpdateEscalationChain200JSONResponse

type UpdateEscalationChain200JSONResponse struct {
	Body    EscalationChain
	Headers UpdateEscalationChain200ResponseHeaders
}

func (UpdateEscalationChain200JSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain200JSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain200ResponseHeaders

type UpdateEscalationChain200ResponseHeaders struct {
	ETag *string
}

type UpdateEscalationChain400ApplicationProblemPlusJSONResponse

type UpdateEscalationChain400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain400ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain400ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain401ApplicationProblemPlusJSONResponse

type UpdateEscalationChain401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain401ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain401ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain403ApplicationProblemPlusJSONResponse

type UpdateEscalationChain403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain403ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain403ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain404ApplicationProblemPlusJSONResponse

type UpdateEscalationChain404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain404ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain404ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain409ApplicationProblemPlusJSONResponse

type UpdateEscalationChain409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain409ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain409ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain412ApplicationProblemPlusJSONResponse

type UpdateEscalationChain412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain412ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain412ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain422ApplicationProblemPlusJSONResponse

type UpdateEscalationChain422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain422ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain422ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain428ApplicationProblemPlusJSONResponse

type UpdateEscalationChain428ApplicationProblemPlusJSONResponse struct {
	PreconditionRequiredApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain428ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain428ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChain429ApplicationProblemPlusJSONResponse

type UpdateEscalationChain429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (UpdateEscalationChain429ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse

func (response UpdateEscalationChain429ApplicationProblemPlusJSONResponse) VisitUpdateEscalationChainResponse(w http.ResponseWriter) error

type UpdateEscalationChainJSONRequestBody

type UpdateEscalationChainJSONRequestBody = EscalationChainInput

UpdateEscalationChainJSONRequestBody defines body for UpdateEscalationChain for application/json ContentType.

type UpdateEscalationChainParams

type UpdateEscalationChainParams 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"`
}

UpdateEscalationChainParams defines parameters for UpdateEscalationChain.

type UpdateEscalationChainRequestObject

type UpdateEscalationChainRequestObject struct {
	EscalationChainId EscalationChainId `json:"escalation_chain_id"`
	Params            UpdateEscalationChainParams
	Body              *UpdateEscalationChainJSONRequestBody
}

type UpdateEscalationChainResponseObject

type UpdateEscalationChainResponseObject interface {
	VisitUpdateEscalationChainResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 UpdateMyNotificationRules200JSONResponse

type UpdateMyNotificationRules200JSONResponse struct {
	Body    NotificationRules
	Headers UpdateMyNotificationRules200ResponseHeaders
}

func (UpdateMyNotificationRules200JSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules200JSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRules200ResponseHeaders

type UpdateMyNotificationRules200ResponseHeaders struct {
	ETag *string
}

type UpdateMyNotificationRules400ApplicationProblemPlusJSONResponse

type UpdateMyNotificationRules400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateMyNotificationRules400ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules400ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRules401ApplicationProblemPlusJSONResponse

type UpdateMyNotificationRules401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateMyNotificationRules401ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules401ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRules403ApplicationProblemPlusJSONResponse

type UpdateMyNotificationRules403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateMyNotificationRules403ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules403ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRules412ApplicationProblemPlusJSONResponse

type UpdateMyNotificationRules412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (UpdateMyNotificationRules412ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules412ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRules422ApplicationProblemPlusJSONResponse

type UpdateMyNotificationRules422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (UpdateMyNotificationRules422ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules422ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRules428ApplicationProblemPlusJSONResponse

type UpdateMyNotificationRules428ApplicationProblemPlusJSONResponse struct {
	PreconditionRequiredApplicationProblemPlusJSONResponse
}

func (UpdateMyNotificationRules428ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules428ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRules429ApplicationProblemPlusJSONResponse

type UpdateMyNotificationRules429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (UpdateMyNotificationRules429ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse

func (response UpdateMyNotificationRules429ApplicationProblemPlusJSONResponse) VisitUpdateMyNotificationRulesResponse(w http.ResponseWriter) error

type UpdateMyNotificationRulesJSONRequestBody

type UpdateMyNotificationRulesJSONRequestBody = NotificationRulesUpdate

UpdateMyNotificationRulesJSONRequestBody defines body for UpdateMyNotificationRules for application/json ContentType.

type UpdateMyNotificationRulesParams

type UpdateMyNotificationRulesParams 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"`
}

UpdateMyNotificationRulesParams defines parameters for UpdateMyNotificationRules.

type UpdateMyNotificationRulesRequestObject

type UpdateMyNotificationRulesRequestObject struct {
	Params UpdateMyNotificationRulesParams
	Body   *UpdateMyNotificationRulesJSONRequestBody
}

type UpdateMyNotificationRulesResponseObject

type UpdateMyNotificationRulesResponseObject interface {
	VisitUpdateMyNotificationRulesResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 UpdateSchedule200JSONResponse

type UpdateSchedule200JSONResponse struct {
	Body    Schedule
	Headers UpdateSchedule200ResponseHeaders
}

func (UpdateSchedule200JSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule200JSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule200ResponseHeaders

type UpdateSchedule200ResponseHeaders struct {
	ETag *string
}

type UpdateSchedule400ApplicationProblemPlusJSONResponse

type UpdateSchedule400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateSchedule400ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule400ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule401ApplicationProblemPlusJSONResponse

type UpdateSchedule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateSchedule401ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule401ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule403ApplicationProblemPlusJSONResponse

type UpdateSchedule403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateSchedule403ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule403ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule404ApplicationProblemPlusJSONResponse

type UpdateSchedule404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateSchedule404ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule404ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule409ApplicationProblemPlusJSONResponse

type UpdateSchedule409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateSchedule409ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule409ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule412ApplicationProblemPlusJSONResponse

type UpdateSchedule412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (UpdateSchedule412ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule412ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule422ApplicationProblemPlusJSONResponse

type UpdateSchedule422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (UpdateSchedule422ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule422ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule428ApplicationProblemPlusJSONResponse

type UpdateSchedule428ApplicationProblemPlusJSONResponse struct {
	PreconditionRequiredApplicationProblemPlusJSONResponse
}

func (UpdateSchedule428ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule428ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateSchedule429ApplicationProblemPlusJSONResponse

type UpdateSchedule429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (UpdateSchedule429ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse

func (response UpdateSchedule429ApplicationProblemPlusJSONResponse) VisitUpdateScheduleResponse(w http.ResponseWriter) error

type UpdateScheduleJSONRequestBody

type UpdateScheduleJSONRequestBody = ScheduleInput

UpdateScheduleJSONRequestBody defines body for UpdateSchedule for application/json ContentType.

type UpdateScheduleOverride200JSONResponse

type UpdateScheduleOverride200JSONResponse struct {
	Body    ScheduleOverride
	Headers UpdateScheduleOverride200ResponseHeaders
}

func (UpdateScheduleOverride200JSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride200JSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride200ResponseHeaders

type UpdateScheduleOverride200ResponseHeaders struct {
	ETag *string
}

type UpdateScheduleOverride400ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride400ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride400ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride401ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride401ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride401ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride403ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride403ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride403ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride404ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride404ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride404ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride409ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride409ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride409ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride412ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride412ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride412ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride422ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride422ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride422ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride428ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride428ApplicationProblemPlusJSONResponse struct {
	PreconditionRequiredApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride428ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride428ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverride429ApplicationProblemPlusJSONResponse

type UpdateScheduleOverride429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (UpdateScheduleOverride429ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse

func (response UpdateScheduleOverride429ApplicationProblemPlusJSONResponse) VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error

type UpdateScheduleOverrideJSONRequestBody

type UpdateScheduleOverrideJSONRequestBody = ScheduleOverrideInput

UpdateScheduleOverrideJSONRequestBody defines body for UpdateScheduleOverride for application/json ContentType.

type UpdateScheduleOverrideParams

type UpdateScheduleOverrideParams 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"`
}

UpdateScheduleOverrideParams defines parameters for UpdateScheduleOverride.

type UpdateScheduleOverrideRequestObject

type UpdateScheduleOverrideRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
	OverrideId OverrideId `json:"override_id"`
	Params     UpdateScheduleOverrideParams
	Body       *UpdateScheduleOverrideJSONRequestBody
}

type UpdateScheduleOverrideResponseObject

type UpdateScheduleOverrideResponseObject interface {
	VisitUpdateScheduleOverrideResponse(w http.ResponseWriter) error
}

type UpdateScheduleParams

type UpdateScheduleParams 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"`
}

UpdateScheduleParams defines parameters for UpdateSchedule.

type UpdateScheduleRequestObject

type UpdateScheduleRequestObject struct {
	ScheduleId ScheduleId `json:"schedule_id"`
	Params     UpdateScheduleParams
	Body       *UpdateScheduleJSONRequestBody
}

type UpdateScheduleResponseObject

type UpdateScheduleResponseObject interface {
	VisitUpdateScheduleResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 UpdateTeam200JSONResponse

type UpdateTeam200JSONResponse struct {
	Body    Team
	Headers UpdateTeam200ResponseHeaders
}

func (UpdateTeam200JSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam200JSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam200ResponseHeaders

type UpdateTeam200ResponseHeaders struct {
	ETag *string
}

type UpdateTeam400ApplicationProblemPlusJSONResponse

type UpdateTeam400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateTeam400ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam400ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam401ApplicationProblemPlusJSONResponse

type UpdateTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateTeam401ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam401ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam403ApplicationProblemPlusJSONResponse

type UpdateTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateTeam403ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam403ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam404ApplicationProblemPlusJSONResponse

type UpdateTeam404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateTeam404ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam404ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam409ApplicationProblemPlusJSONResponse

type UpdateTeam409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateTeam409ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam409ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam412ApplicationProblemPlusJSONResponse

type UpdateTeam412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (UpdateTeam412ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam412ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam422ApplicationProblemPlusJSONResponse

type UpdateTeam422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (UpdateTeam422ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam422ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam428ApplicationProblemPlusJSONResponse

type UpdateTeam428ApplicationProblemPlusJSONResponse struct {
	PreconditionRequiredApplicationProblemPlusJSONResponse
}

func (UpdateTeam428ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam428ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam429ApplicationProblemPlusJSONResponse

type UpdateTeam429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (UpdateTeam429ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse

func (response UpdateTeam429ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeamJSONRequestBody

type UpdateTeamJSONRequestBody = TeamInput

UpdateTeamJSONRequestBody defines body for UpdateTeam for application/json ContentType.

type UpdateTeamParams

type UpdateTeamParams 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"`
}

UpdateTeamParams defines parameters for UpdateTeam.

type UpdateTeamRequestObject

type UpdateTeamRequestObject struct {
	TeamId TeamId `json:"team_id"`
	Params UpdateTeamParams
	Body   *UpdateTeamJSONRequestBody
}

type UpdateTeamResponseObject

type UpdateTeamResponseObject interface {
	VisitUpdateTeamResponse(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 {
	UnauthorizedApplicationProblemPlusJSONResponse
}

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 UpdateUserNotificationRules200JSONResponse

type UpdateUserNotificationRules200JSONResponse struct {
	Body    NotificationRules
	Headers UpdateUserNotificationRules200ResponseHeaders
}

func (UpdateUserNotificationRules200JSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules200JSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules200ResponseHeaders

type UpdateUserNotificationRules200ResponseHeaders struct {
	ETag *string
}

type UpdateUserNotificationRules400ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules400ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules400ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules401ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules401ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules401ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules403ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules403ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules403ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules404ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules404ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules404ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules412ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules412ApplicationProblemPlusJSONResponse struct {
	PreconditionFailedApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules412ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules412ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules422ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules422ApplicationProblemPlusJSONResponse struct {
	UnprocessableApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules422ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules422ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules428ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules428ApplicationProblemPlusJSONResponse struct {
	PreconditionRequiredApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules428ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules428ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRules429ApplicationProblemPlusJSONResponse

type UpdateUserNotificationRules429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (UpdateUserNotificationRules429ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse

func (response UpdateUserNotificationRules429ApplicationProblemPlusJSONResponse) VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error

type UpdateUserNotificationRulesJSONRequestBody

type UpdateUserNotificationRulesJSONRequestBody = NotificationRulesUpdate

UpdateUserNotificationRulesJSONRequestBody defines body for UpdateUserNotificationRules for application/json ContentType.

type UpdateUserNotificationRulesParams

type UpdateUserNotificationRulesParams 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"`
}

UpdateUserNotificationRulesParams defines parameters for UpdateUserNotificationRules.

type UpdateUserNotificationRulesRequestObject

type UpdateUserNotificationRulesRequestObject struct {
	UserId UserId `json:"user_id"`
	Params UpdateUserNotificationRulesParams
	Body   *UpdateUserNotificationRulesJSONRequestBody
}

type UpdateUserNotificationRulesResponseObject

type UpdateUserNotificationRulesResponseObject interface {
	VisitUpdateUserNotificationRulesResponse(w http.ResponseWriter) error
}

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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. On `page_not_delivered` and `escalation_step_skipped` it repeats the reason of the event, also given in `page.reason` and `escalation_step.reason`.
	Reason    nullable.Nullable[string] `json:"reason,omitempty"`
	TokenName nullable.Nullable[string] `json:"token_name,omitempty"`

	// Transport How a Command or change reached Muster. `bridge` marks presses and Text commands through a Bridge Connection; `slack` marks presses through a Slack Connection; `gateway` marks an Acknowledge from a call through a Notification gateway; `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 {
	// Assignees The Assignees of the Alert Group (C-32.FR-12), each with the owning Team of their chain; empty once acknowledged, snoozed or resolved. The Owner is `owner`, named without a Team.
	Assignees []WebhookAssignee `json:"assignees"`

	// 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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 The highest Severity level of the firing Alerts, raised to the Route's Minimum severity; each Alert of `alerts[]` keeps its own level.
	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"`

	// Teams The Teams of the Alert Group (C-25.FR-6), in the order they joined; a Team deleted since keeps its name.
	Teams []WebhookTeam `json:"teams"`
	Title string        `json:"title"`

	// Urgent True exactly when `severity_level` is `critical`.
	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 WebhookAssignee

type WebhookAssignee struct {
	// Team The owning Team of the chain; null when none owns it.
	Team nullable.Nullable[WebhookTeam] `json:"team"`
	User WebhookUser                    `json:"user"`
}

WebhookAssignee An Assignee as an outgoing webhook event names them, with the owning Team of their chain.

type WebhookChainRef

type WebhookChainRef 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
}

WebhookChainRef An Escalation chain as an outgoing webhook event names it.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries in order, each with what it mentions now.
	MentionEntries []MentionEntry `json:"mention_entries"`

	// MentionWarnings The people and entries whose Mentions were not delivered (C-28.FR-3), by entry and then by the person's name; always empty on an outgoing webhook, which takes every person as data.
	MentionWarnings []MentionWarning `json:"mention_warnings"`

	// Mentions The L1 form of the Mention entries that L1 can express on the Destination's type (C-28.FR-5), removed in 0.3.0.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions MentionSettings        `json:"mentions"`
	Mode     WebhookDestinationMode `json:"mode"`
	Name     string                 `json:"name"`

	// OwningTeam The Team that owns the Destination, null when none does.
	OwningTeam nullable.Nullable[TeamRef] `json:"owning_team"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`

	// 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"`

	// Teams The Teams that name the Destination as a Destination of the Team, by name.
	Teams []TeamRef `json:"teams"`

	// 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries (C-28.FR-1, FR-2), in order, each a target and the Loud events it applies to; omitted on create is none, which mentions nobody, and omitted on an update keeps them. A target the Destination's Connection cannot mention is refused with `422` `mention_unsupported` at `/mention_entries/{i}/target` — an outgoing webhook takes every target, as data — and an entry whose target equals a stored one is kept whatever the Connection can mention now. An unknown or deleted User or Team is refused with `unknown_id` at its `user_id` or `team_id` unless the entry's target equals a stored one, and a target listed twice with `duplicate` at `/mention_entries/{i}/target`.
	MentionEntries *[]MentionEntryInput `json:"mention_entries,omitempty"`

	// Mentions The Mention settings of L1 (C-12.FR-8), deprecated since 0.2.0 and removed in 0.3.0 (C-28.FR-5). In a read, computed from the `mention_entries` that L1 can express on the Destination's type — the everyone choices, chosen Users and messenger groups L1 took there, for the six kinds of L1 — so that the other entries are not seen in it. In a request it is optional: when a request has no `mention_entries`, it sets them by the conversion of the 0.2.0 migration — on create they are its result; on update it replaces the entries that L1 can express, keeps the others after them, keeps the `storm_started` of a target present before and after, and changes nothing when it equals the stored form — validated as L1 validated it, at pointers under `/mentions`; ignored when `mention_entries` is present.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions *MentionSettings           `json:"mentions,omitempty"`
	Mode     WebhookDestinationBaseMode `json:"mode"`
	Name     string                     `json:"name"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`

	// 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"`

	// ManagedBy The name of the tool that keeps the object as code, such as `terraform`, or null when none does (C-33.FR-11) — 1 to 32 characters, lowercase letters, digits, `.`, `_` and `-`, starting with a letter or a digit; another value is refused with `422` `invalid_format` at `/managed_by`. A mark only, recorded in the Audit log like any field; the mark itself changes no behaviour of Muster and never causes a write to be refused. Omitted on a creation, none; omitted on an update, kept; `null` clears it. Reads always carry it.
	ManagedBy nullable.Nullable[string] `json:"managed_by,omitempty"`

	// MentionEntries The Mention entries (C-28.FR-1, FR-2), in order, each a target and the Loud events it applies to; omitted on create is none, which mentions nobody, and omitted on an update keeps them. A target the Destination's Connection cannot mention is refused with `422` `mention_unsupported` at `/mention_entries/{i}/target` — an outgoing webhook takes every target, as data — and an entry whose target equals a stored one is kept whatever the Connection can mention now. An unknown or deleted User or Team is refused with `unknown_id` at its `user_id` or `team_id` unless the entry's target equals a stored one, and a target listed twice with `duplicate` at `/mention_entries/{i}/target`.
	MentionEntries *[]MentionEntryInput `json:"mention_entries,omitempty"`

	// Mentions The Mention settings of L1 (C-12.FR-8), deprecated since 0.2.0 and removed in 0.3.0 (C-28.FR-5). In a read, computed from the `mention_entries` that L1 can express on the Destination's type — the everyone choices, chosen Users and messenger groups L1 took there, for the six kinds of L1 — so that the other entries are not seen in it. In a request it is optional: when a request has no `mention_entries`, it sets them by the conversion of the 0.2.0 migration — on create they are its result; on update it replaces the entries that L1 can express, keeps the others after them, keeps the `storm_started` of a target present before and after, and changes nothing when it equals the stored form — validated as L1 validated it, at pointers under `/mentions`; ignored when `mention_entries` is present.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Mentions *MentionSettings            `json:"mentions,omitempty"`
	Mode     WebhookDestinationInputMode `json:"mode"`
	Name     string                      `json:"name"`

	// OwningTeamId The Team that owns the Destination (C-25.FR-2), which only organizes and filters; owning it never makes it one of the Team's Destinations. `null` clears it, and an update that omits it keeps it. An unknown or deleted Team is refused with `422` `unknown_id`.
	OwningTeamId nullable.Nullable[NullablePublicId] `json:"owning_team_id,omitempty"`

	// 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

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

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 WebhookDestinationRef

type WebhookDestinationRef 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
}

WebhookDestinationRef A Destination as an outgoing webhook event names it.

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 WebhookEscalationStep

type WebhookEscalationStep struct {
	// Chain The chain, null once it was deleted.
	Chain nullable.Nullable[WebhookChainRef] `json:"chain"`

	// Reason Why the step was skipped on `escalation_step_skipped`; null on `escalation_webhook`, whose step was made.
	Reason nullable.Nullable[EscalationSkipReason] `json:"reason"`
	Step   int                                     `json:"step"`
	Users  []WebhookUser                           `json:"users"`
}

WebhookEscalationStep A step of an Escalation chain as an outgoing webhook event names it, on `escalation_step_skipped` and `escalation_webhook`; `users` names the person of a skip of a person, and is empty otherwise.

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"
	WebhookEventNameAssigneesChanged      WebhookEventName = "assignees_changed"
	WebhookEventNameAutoUnacknowledged    WebhookEventName = "auto_unacknowledged"
	WebhookEventNameCreated               WebhookEventName = "created"
	WebhookEventNameDestinationJoined     WebhookEventName = "destination_joined"
	WebhookEventNameEscalationStepSkipped WebhookEventName = "escalation_step_skipped"
	WebhookEventNameEscalationWebhook     WebhookEventName = "escalation_webhook"
	WebhookEventNameMovedToDefaultRoute   WebhookEventName = "moved_to_default_route"
	WebhookEventNameNoteAdded             WebhookEventName = "note_added"
	WebhookEventNameNoticesMissed         WebhookEventName = "notices_missed"
	WebhookEventNamePageNotDelivered      WebhookEventName = "page_not_delivered"
	WebhookEventNamePaged                 WebhookEventName = "paged"
	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"
	WebhookEventNameTeamJoined            WebhookEventName = "team_joined"
	WebhookEventNameTest                  WebhookEventName = "test"
	WebhookEventNameUnacknowledged        WebhookEventName = "unacknowledged"
	WebhookEventNameUnclaimed             WebhookEventName = "unclaimed"
	WebhookEventNameUnknownTeamValue      WebhookEventName = "unknown_team_value"
	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"`
	Slug  nullable.Nullable[string]           `json:"slug,omitempty"`
	Type  WebhookMentionTargetType            `json:"type"`
}

WebhookMentionTarget A resolved Mention as data (C-15.FR-11). `everyone` has no other fields, `group` has `name`, `user` has `id`, `name` and `login` — the On-call of a Team and the people that `paged` Pages are `user` targets — and `team` has `slug` and `name`, one per Team of the Alert Group for "Team from the label", or the Team of a step "Page the whole Team" on `paged`.

type WebhookMentionTargetType

type WebhookMentionTargetType string

WebhookMentionTargetType defines model for WebhookMentionTarget.Type.

const (
	WebhookMentionTargetTypeEveryone WebhookMentionTargetType = "everyone"
	WebhookMentionTargetTypeGroup    WebhookMentionTargetType = "group"
	WebhookMentionTargetTypeTeam     WebhookMentionTargetType = "team"
	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 WebhookPage

type WebhookPage struct {
	// Chain The Escalation chain whose step made the Page; null for a Page that no step of a chain made, and once the chain was deleted.
	Chain nullable.Nullable[WebhookChainRef] `json:"chain"`

	// Gateway The Notification gateway of a call; null for a Page by Mention.
	Gateway nullable.Nullable[EntityRef] `json:"gateway"`

	// Importance How the step Paged its people; null for a step "Page the whole Team" and a call through a Notification gateway.
	Importance nullable.Nullable[PageImportance] `json:"importance"`

	// Reason Why the Page was not delivered, on `page_not_delivered`; null on `paged`.
	Reason nullable.Nullable[PageNotDeliveredReason] `json:"reason"`

	// Step The number of that step in its chain; null when no step of a chain made the Page, and kept when the chain was deleted.
	Step nullable.Nullable[int] `json:"step"`

	// Users The people the Page names; empty for a step "Page the whole Team".
	Users []WebhookUser `json:"users"`
}

WebhookPage A Page as an outgoing webhook event names it, on `paged` and `page_not_delivered`.

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

type WebhookReceiverMiddlewareFunc func(http.Handler) http.Handler

WebhookReceiverMiddlewareFunc wraps an http.Handler with cross- cutting behavior (signature verification, logging, rate limiting, ...).

type WebhookTeam

type WebhookTeam 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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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"`
	Slug string   `json:"slug"`
}

WebhookTeam A Team as an outgoing webhook event names it.

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, `CA` call through a Notification gateway, `CN` Connection, `CR` check run, `DE` delivery event, `DS` Destination, `EC` Escalation chain, `ER` run of an Escalation chain, `GC` contact at a Notification gateway, `KR` Link rule, `NE` Note, `NK` Integration token, `NT` Integration, `PT` Personal access token, `RG` Organization, `RQ` record of the Request log, `RT` Route, `RY` Rotation layer, `SA` Service account, `SC` Schedule, `SN` session, `SR` User, `SS` Stored Snapshot, `ST` Service account token, `TB` Lookup table, `TE` Timeline entry, `TM` Team, `VR` Override. 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.

type Weekday

type Weekday string

Weekday A day of the week. As the Organization's `week_start` it is `organization.week_start` (default `monday`), the first day of the week, on which the Snooze preset `week_start` ends at the start of the working day; omit it on an update to keep it.

const (
	Friday    Weekday = "friday"
	Monday    Weekday = "monday"
	Saturday  Weekday = "saturday"
	Sunday    Weekday = "sunday"
	Thursday  Weekday = "thursday"
	Tuesday   Weekday = "tuesday"
	Wednesday Weekday = "wednesday"
)

Defines values for Weekday.

func (Weekday) Valid

func (e Weekday) Valid() bool

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

type WorkingHours

type WorkingHours struct {
	Days []Weekday `json:"days"`

	// End Later than `start` on the same day, else `422` `out_of_range` at the end.
	End   string `json:"end"`
	Start string `json:"start"`

	// TimeZone IANA time zone, such as `Europe/Berlin`.
	TimeZone string `json:"time_zone"`
}

WorkingHours Working hours (C-25.FR-9): days of the week, a start and an end on the 24-hour clock and an IANA time zone. The end is later than the start on the same day: Working hours never span midnight. Holidays are not part of them.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL