incident package - github.com/incident-io/sdk-go - Go Packages

incident

package module
v1.0.104 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 13 Imported by: 0

README

incident.io Go SDK

Go Reference

The official Go SDK for the incident.io public API.

It is generated automatically from our published OpenAPI schema, so it always tracks the live API — there is a method for every endpoint, and a Go type for every request and response.

Install

go get github.com/incident-io/sdk-go

Requires Go 1.24 or later.

Quickstart

Create an API key in your incident.io dashboard under Settings → API keys, then:

package main

import (
	"context"
	"fmt"
	"log"

	incident "github.com/incident-io/sdk-go"
)

func main() {
	c, err := incident.New("my-api-key")
	if err != nil {
		log.Fatal(err)
	}

	resp, err := c.IncidentsV2ListWithResponse(context.Background(), nil)
	if err != nil {
		log.Fatal(err)
	}
	if resp.JSON200 == nil {
		log.Fatalf("unexpected status %d: %s", resp.StatusCode(), resp.Body)
	}

	for _, inc := range resp.JSON200.Incidents {
		fmt.Printf("%s %s\n", inc.Reference, inc.Name)
	}
}

Every endpoint has a ...WithResponse method that returns a typed response. Inspect resp.StatusCode() and the resp.JSONxxx fields (e.g. JSON200, JSON404) to handle results — a nil JSON200 means the API returned a non-2xx status, and resp.Body holds the raw payload.

Configuration

New takes functional options:

c, err := incident.New("my-api-key",
	incident.WithUserAgent("my-app/1.0.0"),           // identify your integration
	incident.WithRetries(),                           // opt in to automatic retries
	incident.WithBaseURL("https://api.incident.io"),  // override the base URL
	incident.WithHTTPClient(myHTTPClient),            // bring your own HTTP client
)
Retries

By default the client makes a single attempt per request and does not retry. Pass WithRetries() to enable exponential backoff on transient failures (network errors, 429s and 5xxs); it honours the Retry-After header. Pass WithRetries(n) to cap the number of retries (default 4).

WithRetries works by installing a retrying HTTP client, so passing it alongside your own WithHTTPClient is redundant — the later option wins.

Deprecated endpoints

Endpoints that incident.io has deprecated (for example the v1 incidents and custom fields endpoints, superseded by v2) remain available but are marked with // Deprecated: — your editor and staticcheck will flag any calls to them so you can migrate to the current version.

Versioning

Releases are cut automatically whenever the API schema changes. We use SemVer: additive API changes bump the minor version and backwards-compatible fixes bump the patch version. Changes that would break Go consumers are never released automatically — they require a deliberate major version.

Support

Found a bug or missing something? Please open an issue. For questions about the API itself, see the API docs.

Note that incident.gen.go is generated — please don't send PRs editing it directly; changes there come from the upstream schema.

License

MIT — see LICENSE.

This SDK's generated code is produced by oapi-codegen, which is licensed under Apache-2.0.

Documentation

Overview

Package incident provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Package incident is the Go SDK for the incident.io public API.

Every request and response type, and a method for every API endpoint, is generated from incident.io's published OpenAPI schema. This file adds a small, hand-written constructor that wires up authentication and sensible defaults.

c, err := incident.New("my-api-key")
if err != nil {
    return err
}

resp, err := c.IncidentsV2ListWithResponse(ctx, nil)
if err != nil {
    return err
}
if resp.JSON200 == nil {
    return fmt.Errorf("unexpected status %d: %s", resp.StatusCode(), resp.Body)
}
for _, inc := range resp.JSON200.Incidents {
    fmt.Println(inc.Reference, inc.Name)
}

The returned *ClientWithResponses has a FooWithResponse method for every endpoint. Configure the client by passing options to New: WithUserAgent and WithRetries below, plus the generated WithBaseURL and WithHTTPClient.

Example

Create a client and list incidents.

package main

import (
	"context"
	"fmt"
	"log"

	incident "github.com/incident-io/sdk-go"
)

func main() {
	c, err := incident.New("my-api-key")
	if err != nil {
		log.Fatal(err)
	}

	resp, err := c.IncidentsV2ListWithResponse(context.Background(), nil)
	if err != nil {
		log.Fatal(err)
	}
	if resp.JSON200 == nil {
		log.Fatalf("unexpected status %d: %s", resp.StatusCode(), resp.Body)
	}

	for _, inc := range resp.JSON200.Incidents {
		fmt.Printf("%s %s\n", inc.Reference, inc.Name)
	}
}

Index

Examples

Constants

View Source
const DefaultEndpoint = "https://api.incident.io"

DefaultEndpoint is the base URL of the incident.io public API.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKeyActorV1 added in v1.0.1

type APIKeyActorV1 struct {
	// Id Unique identifier for this API key
	Id string `json:"id"`

	// Name The name of the API key, for the user's reference
	Name string `json:"name"`
}

APIKeyActorV1 defines model for APIKeyActorV1.

type APIKeyActorV2 added in v1.0.1

type APIKeyActorV2 struct {
	// Id Unique identifier for this API key
	Id string `json:"id"`

	// Name The name of the API key, for the user's reference
	Name string `json:"name"`
}

APIKeyActorV2 defines model for APIKeyActorV2.

type APIKeyRoleV1 added in v1.0.1

type APIKeyRoleV1 struct {
	// Description Human readable description of the role
	Description string `json:"description"`

	// Name API key role name
	Name APIKeyRoleV1Name `json:"name"`
}

APIKeyRoleV1 defines model for APIKeyRoleV1.

type APIKeyRoleV1Name added in v1.0.1

type APIKeyRoleV1Name string

APIKeyRoleV1Name API key role name

const (
	APIKeyRoleV1NameActOnBehalfOfUsers                  APIKeyRoleV1Name = "act_on_behalf_of_users"
	APIKeyRoleV1NameApiKeysManage                       APIKeyRoleV1Name = "api_keys_manage"
	APIKeyRoleV1NameCallTranscriptsViewer               APIKeyRoleV1Name = "call_transcripts_viewer"
	APIKeyRoleV1NameCatalogEditor                       APIKeyRoleV1Name = "catalog_editor"
	APIKeyRoleV1NameCatalogViewer                       APIKeyRoleV1Name = "catalog_viewer"
	APIKeyRoleV1NameEscalationCreator                   APIKeyRoleV1Name = "escalation_creator"
	APIKeyRoleV1NameGlobalAccess                        APIKeyRoleV1Name = "global_access"
	APIKeyRoleV1NameHeartbeatsPing                      APIKeyRoleV1Name = "heartbeats_ping"
	APIKeyRoleV1NameIncidentCreator                     APIKeyRoleV1Name = "incident_creator"
	APIKeyRoleV1NameIncidentEditor                      APIKeyRoleV1Name = "incident_editor"
	APIKeyRoleV1NameIncidentMembershipsEditor           APIKeyRoleV1Name = "incident_memberships_editor"
	APIKeyRoleV1NameIncidentWorkloadPrivateViewer       APIKeyRoleV1Name = "incident_workload_private_viewer"
	APIKeyRoleV1NameIncidentWorkloadViewer              APIKeyRoleV1Name = "incident_workload_viewer"
	APIKeyRoleV1NameInvestigationDownload               APIKeyRoleV1Name = "investigation_download"
	APIKeyRoleV1NameManageSettings                      APIKeyRoleV1Name = "manage_settings"
	APIKeyRoleV1NameNotificationMethodsManage           APIKeyRoleV1Name = "notification_methods_manage"
	APIKeyRoleV1NameNotificationMethodsUnredactedViewer APIKeyRoleV1Name = "notification_methods_unredacted_viewer"
	APIKeyRoleV1NameOnCallEditor                        APIKeyRoleV1Name = "on_call_editor"
	APIKeyRoleV1NameOnCallViewer                        APIKeyRoleV1Name = "on_call_viewer"
	APIKeyRoleV1NamePoliciesViewer                      APIKeyRoleV1Name = "policies_viewer"
	APIKeyRoleV1NamePolicyFindingsManage                APIKeyRoleV1Name = "policy_findings_manage"
	APIKeyRoleV1NamePostIncidentFlowOptOut              APIKeyRoleV1Name = "post_incident_flow_opt_out"
	APIKeyRoleV1NamePostmortemsManage                   APIKeyRoleV1Name = "postmortems_manage"
	APIKeyRoleV1NamePrivateEscalationWorkflowsEditor    APIKeyRoleV1Name = "private_escalation_workflows_editor"
	APIKeyRoleV1NamePrivateWorkflowsEditor              APIKeyRoleV1Name = "private_workflows_editor"
	APIKeyRoleV1NameScheduleOverridesEditor             APIKeyRoleV1Name = "schedule_overrides_editor"
	APIKeyRoleV1NameSchedulesEditor                     APIKeyRoleV1Name = "schedules_editor"
	APIKeyRoleV1NameSchedulesReader                     APIKeyRoleV1Name = "schedules_reader"
	APIKeyRoleV1NameSecretsManage                       APIKeyRoleV1Name = "secrets_manage"
	APIKeyRoleV1NameSecretsUse                          APIKeyRoleV1Name = "secrets_use"
	APIKeyRoleV1NameSecuritySettingsEditor              APIKeyRoleV1Name = "security_settings_editor"
	APIKeyRoleV1NameStatusPagePublisher                 APIKeyRoleV1Name = "status_page_publisher"
	APIKeyRoleV1NameTeamMembershipsManage               APIKeyRoleV1Name = "team_memberships_manage"
	APIKeyRoleV1NameTelemetryDataSourceUpdate           APIKeyRoleV1Name = "telemetry_data_source_update"
	APIKeyRoleV1NameTelemetryQueryRestricted            APIKeyRoleV1Name = "telemetry_query_restricted"
	APIKeyRoleV1NameViewer                              APIKeyRoleV1Name = "viewer"
	APIKeyRoleV1NameWorkflowsEditor                     APIKeyRoleV1Name = "workflows_editor"
	APIKeyRoleV1NameWorkflowsViewer                     APIKeyRoleV1Name = "workflows_viewer"
)

Defines values for APIKeyRoleV1Name.

func (APIKeyRoleV1Name) Valid added in v1.0.1

func (e APIKeyRoleV1Name) Valid() bool

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

type APIKeyTeamRoleV1 added in v1.0.1

type APIKeyTeamRoleV1 struct {
	// Description Human readable description of the role
	Description string `json:"description"`

	// Name API key role name that may be granted for team-scoped access
	Name APIKeyTeamRoleV1Name `json:"name"`
}

APIKeyTeamRoleV1 defines model for APIKeyTeamRoleV1.

type APIKeyTeamRoleV1Name added in v1.0.1

type APIKeyTeamRoleV1Name string

APIKeyTeamRoleV1Name API key role name that may be granted for team-scoped access

const (
	APIKeyTeamRoleV1NameApiKeysManage             APIKeyTeamRoleV1Name = "api_keys_manage"
	APIKeyTeamRoleV1NameCatalogEditor             APIKeyTeamRoleV1Name = "catalog_editor"
	APIKeyTeamRoleV1NameEscalationCreator         APIKeyTeamRoleV1Name = "escalation_creator"
	APIKeyTeamRoleV1NameHeartbeatsPing            APIKeyTeamRoleV1Name = "heartbeats_ping"
	APIKeyTeamRoleV1NameOnCallEditor              APIKeyTeamRoleV1Name = "on_call_editor"
	APIKeyTeamRoleV1NamePrivateWorkflowsEditor    APIKeyTeamRoleV1Name = "private_workflows_editor"
	APIKeyTeamRoleV1NameScheduleOverridesEditor   APIKeyTeamRoleV1Name = "schedule_overrides_editor"
	APIKeyTeamRoleV1NameSchedulesEditor           APIKeyTeamRoleV1Name = "schedules_editor"
	APIKeyTeamRoleV1NameSchedulesReader           APIKeyTeamRoleV1Name = "schedules_reader"
	APIKeyTeamRoleV1NameSecretsManage             APIKeyTeamRoleV1Name = "secrets_manage"
	APIKeyTeamRoleV1NameSecretsUse                APIKeyTeamRoleV1Name = "secrets_use"
	APIKeyTeamRoleV1NameTelemetryDataSourceUpdate APIKeyTeamRoleV1Name = "telemetry_data_source_update"
	APIKeyTeamRoleV1NameTelemetryQueryRestricted  APIKeyTeamRoleV1Name = "telemetry_query_restricted"
	APIKeyTeamRoleV1NameWorkflowsEditor           APIKeyTeamRoleV1Name = "workflows_editor"
)

Defines values for APIKeyTeamRoleV1Name.

func (APIKeyTeamRoleV1Name) Valid added in v1.0.1

func (e APIKeyTeamRoleV1Name) Valid() bool

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

type APIKeyV1 added in v1.0.1

type APIKeyV1 struct {
	// Comments Freeform notes about this API key
	Comments *string `json:"comments,omitempty"`

	// CreatedAt When the API key was created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV1   `json:"creator"`

	// Id Unique identifier for this API key
	Id string `json:"id"`

	// LastUsedAt When the key was last used to authenticate a request
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`

	// Name The name of the API key, for the user's reference
	Name string `json:"name"`

	// Roles The account-level roles assigned to this API key
	Roles []APIKeyRoleV1 `json:"roles"`

	// TeamIds IDs of teams that this API key is scoped to
	TeamIds []string `json:"team_ids"`

	// TeamRoles The team-level roles assigned to this API key
	TeamRoles []APIKeyTeamRoleV1 `json:"team_roles"`

	// TokenLastIssuedAt When the current token for this API was last issued. This is the last time the token was rotated, or when it was initially created. Older tokens may remain valid for up to an hour after they have been rotated, configured when you call the rotate endpoint.
	TokenLastIssuedAt time.Time `json:"token_last_issued_at"`
}

APIKeyV1 defines model for APIKeyV1.

type APIKeysCreatePayloadV1 added in v1.0.1

type APIKeysCreatePayloadV1 struct {
	// Comments Freeform notes about the API key
	Comments *string `json:"comments,omitempty"`

	// Name Human-readable name for the new API key
	Name string `json:"name"`

	// RoleNames Account-level roles to assign to the API key. These roles apply across the entire account, not scoped to specific teams. Pass an empty array if no account-level roles are needed.
	RoleNames []APIKeysCreatePayloadV1RoleNames `json:"role_names"`

	// TeamIds IDs of teams to scope the `team_role_names` to. If provided, `team_role_names` must also be a non-empty array, and vice versa. Pass an empty array if the key should not be scoped to any teams.
	TeamIds []string `json:"team_ids"`

	// TeamRoleNames Roles to grant for the teams specified in `team_ids`. If provided, `team_ids` must also be a non-empty array, and vice versa. Pass an empty array if no team-level roles are needed.
	TeamRoleNames []APIKeysCreatePayloadV1TeamRoleNames `json:"team_role_names"`
}

APIKeysCreatePayloadV1 defines model for APIKeysCreatePayloadV1.

type APIKeysCreatePayloadV1RoleNames added in v1.0.1

type APIKeysCreatePayloadV1RoleNames string

APIKeysCreatePayloadV1RoleNames defines model for APIKeysCreatePayloadV1.RoleNames.

const (
	APIKeysCreatePayloadV1RoleNamesActOnBehalfOfUsers                  APIKeysCreatePayloadV1RoleNames = "act_on_behalf_of_users"
	APIKeysCreatePayloadV1RoleNamesApiKeysManage                       APIKeysCreatePayloadV1RoleNames = "api_keys_manage"
	APIKeysCreatePayloadV1RoleNamesCallTranscriptsViewer               APIKeysCreatePayloadV1RoleNames = "call_transcripts_viewer"
	APIKeysCreatePayloadV1RoleNamesCatalogEditor                       APIKeysCreatePayloadV1RoleNames = "catalog_editor"
	APIKeysCreatePayloadV1RoleNamesCatalogViewer                       APIKeysCreatePayloadV1RoleNames = "catalog_viewer"
	APIKeysCreatePayloadV1RoleNamesEscalationCreator                   APIKeysCreatePayloadV1RoleNames = "escalation_creator"
	APIKeysCreatePayloadV1RoleNamesGlobalAccess                        APIKeysCreatePayloadV1RoleNames = "global_access"
	APIKeysCreatePayloadV1RoleNamesHeartbeatsPing                      APIKeysCreatePayloadV1RoleNames = "heartbeats_ping"
	APIKeysCreatePayloadV1RoleNamesIncidentCreator                     APIKeysCreatePayloadV1RoleNames = "incident_creator"
	APIKeysCreatePayloadV1RoleNamesIncidentEditor                      APIKeysCreatePayloadV1RoleNames = "incident_editor"
	APIKeysCreatePayloadV1RoleNamesIncidentMembershipsEditor           APIKeysCreatePayloadV1RoleNames = "incident_memberships_editor"
	APIKeysCreatePayloadV1RoleNamesIncidentWorkloadPrivateViewer       APIKeysCreatePayloadV1RoleNames = "incident_workload_private_viewer"
	APIKeysCreatePayloadV1RoleNamesIncidentWorkloadViewer              APIKeysCreatePayloadV1RoleNames = "incident_workload_viewer"
	APIKeysCreatePayloadV1RoleNamesInvestigationDownload               APIKeysCreatePayloadV1RoleNames = "investigation_download"
	APIKeysCreatePayloadV1RoleNamesManageSettings                      APIKeysCreatePayloadV1RoleNames = "manage_settings"
	APIKeysCreatePayloadV1RoleNamesNotificationMethodsManage           APIKeysCreatePayloadV1RoleNames = "notification_methods_manage"
	APIKeysCreatePayloadV1RoleNamesNotificationMethodsUnredactedViewer APIKeysCreatePayloadV1RoleNames = "notification_methods_unredacted_viewer"
	APIKeysCreatePayloadV1RoleNamesOnCallEditor                        APIKeysCreatePayloadV1RoleNames = "on_call_editor"
	APIKeysCreatePayloadV1RoleNamesOnCallViewer                        APIKeysCreatePayloadV1RoleNames = "on_call_viewer"
	APIKeysCreatePayloadV1RoleNamesPoliciesViewer                      APIKeysCreatePayloadV1RoleNames = "policies_viewer"
	APIKeysCreatePayloadV1RoleNamesPolicyFindingsManage                APIKeysCreatePayloadV1RoleNames = "policy_findings_manage"
	APIKeysCreatePayloadV1RoleNamesPostIncidentFlowOptOut              APIKeysCreatePayloadV1RoleNames = "post_incident_flow_opt_out"
	APIKeysCreatePayloadV1RoleNamesPostmortemsManage                   APIKeysCreatePayloadV1RoleNames = "postmortems_manage"
	APIKeysCreatePayloadV1RoleNamesPrivateEscalationWorkflowsEditor    APIKeysCreatePayloadV1RoleNames = "private_escalation_workflows_editor"
	APIKeysCreatePayloadV1RoleNamesPrivateWorkflowsEditor              APIKeysCreatePayloadV1RoleNames = "private_workflows_editor"
	APIKeysCreatePayloadV1RoleNamesScheduleOverridesEditor             APIKeysCreatePayloadV1RoleNames = "schedule_overrides_editor"
	APIKeysCreatePayloadV1RoleNamesSchedulesEditor                     APIKeysCreatePayloadV1RoleNames = "schedules_editor"
	APIKeysCreatePayloadV1RoleNamesSchedulesReader                     APIKeysCreatePayloadV1RoleNames = "schedules_reader"
	APIKeysCreatePayloadV1RoleNamesSecretsManage                       APIKeysCreatePayloadV1RoleNames = "secrets_manage"
	APIKeysCreatePayloadV1RoleNamesSecretsUse                          APIKeysCreatePayloadV1RoleNames = "secrets_use"
	APIKeysCreatePayloadV1RoleNamesSecuritySettingsEditor              APIKeysCreatePayloadV1RoleNames = "security_settings_editor"
	APIKeysCreatePayloadV1RoleNamesStatusPagePublisher                 APIKeysCreatePayloadV1RoleNames = "status_page_publisher"
	APIKeysCreatePayloadV1RoleNamesTeamMembershipsManage               APIKeysCreatePayloadV1RoleNames = "team_memberships_manage"
	APIKeysCreatePayloadV1RoleNamesTelemetryDataSourceUpdate           APIKeysCreatePayloadV1RoleNames = "telemetry_data_source_update"
	APIKeysCreatePayloadV1RoleNamesTelemetryQueryRestricted            APIKeysCreatePayloadV1RoleNames = "telemetry_query_restricted"
	APIKeysCreatePayloadV1RoleNamesViewer                              APIKeysCreatePayloadV1RoleNames = "viewer"
	APIKeysCreatePayloadV1RoleNamesWorkflowsEditor                     APIKeysCreatePayloadV1RoleNames = "workflows_editor"
	APIKeysCreatePayloadV1RoleNamesWorkflowsViewer                     APIKeysCreatePayloadV1RoleNames = "workflows_viewer"
)

Defines values for APIKeysCreatePayloadV1RoleNames.

func (APIKeysCreatePayloadV1RoleNames) Valid added in v1.0.1

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

type APIKeysCreatePayloadV1TeamRoleNames added in v1.0.1

type APIKeysCreatePayloadV1TeamRoleNames string

APIKeysCreatePayloadV1TeamRoleNames defines model for APIKeysCreatePayloadV1.TeamRoleNames.

const (
	APIKeysCreatePayloadV1TeamRoleNamesApiKeysManage             APIKeysCreatePayloadV1TeamRoleNames = "api_keys_manage"
	APIKeysCreatePayloadV1TeamRoleNamesCatalogEditor             APIKeysCreatePayloadV1TeamRoleNames = "catalog_editor"
	APIKeysCreatePayloadV1TeamRoleNamesEscalationCreator         APIKeysCreatePayloadV1TeamRoleNames = "escalation_creator"
	APIKeysCreatePayloadV1TeamRoleNamesHeartbeatsPing            APIKeysCreatePayloadV1TeamRoleNames = "heartbeats_ping"
	APIKeysCreatePayloadV1TeamRoleNamesOnCallEditor              APIKeysCreatePayloadV1TeamRoleNames = "on_call_editor"
	APIKeysCreatePayloadV1TeamRoleNamesPrivateWorkflowsEditor    APIKeysCreatePayloadV1TeamRoleNames = "private_workflows_editor"
	APIKeysCreatePayloadV1TeamRoleNamesScheduleOverridesEditor   APIKeysCreatePayloadV1TeamRoleNames = "schedule_overrides_editor"
	APIKeysCreatePayloadV1TeamRoleNamesSchedulesEditor           APIKeysCreatePayloadV1TeamRoleNames = "schedules_editor"
	APIKeysCreatePayloadV1TeamRoleNamesSchedulesReader           APIKeysCreatePayloadV1TeamRoleNames = "schedules_reader"
	APIKeysCreatePayloadV1TeamRoleNamesSecretsManage             APIKeysCreatePayloadV1TeamRoleNames = "secrets_manage"
	APIKeysCreatePayloadV1TeamRoleNamesSecretsUse                APIKeysCreatePayloadV1TeamRoleNames = "secrets_use"
	APIKeysCreatePayloadV1TeamRoleNamesTelemetryDataSourceUpdate APIKeysCreatePayloadV1TeamRoleNames = "telemetry_data_source_update"
	APIKeysCreatePayloadV1TeamRoleNamesTelemetryQueryRestricted  APIKeysCreatePayloadV1TeamRoleNames = "telemetry_query_restricted"
	APIKeysCreatePayloadV1TeamRoleNamesWorkflowsEditor           APIKeysCreatePayloadV1TeamRoleNames = "workflows_editor"
)

Defines values for APIKeysCreatePayloadV1TeamRoleNames.

func (APIKeysCreatePayloadV1TeamRoleNames) Valid added in v1.0.1

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

type APIKeysCreateResultV1 added in v1.0.1

type APIKeysCreateResultV1 struct {
	ApiKey APIKeyV1 `json:"api_key"`

	// Token The bearer token to use in API requests. This is the only time the token is returned — store it securely.
	Token string `json:"token"`
}

APIKeysCreateResultV1 defines model for APIKeysCreateResultV1.

type APIKeysListResultV1 added in v1.0.1

type APIKeysListResultV1 struct {
	ApiKeys        []APIKeyV1             `json:"api_keys"`
	PaginationMeta PaginationMetaResultV1 `json:"pagination_meta"`
}

APIKeysListResultV1 defines model for APIKeysListResultV1.

type APIKeysRotatePayloadV1 added in v1.0.1

type APIKeysRotatePayloadV1 struct {
	// GracePeriodMinutes How many minutes to keep the old access token alive.
	GracePeriodMinutes int64 `json:"grace_period_minutes"`
}

APIKeysRotatePayloadV1 defines model for APIKeysRotatePayloadV1.

type APIKeysRotateResultV1 added in v1.0.1

type APIKeysRotateResultV1 struct {
	ApiKey APIKeyV1 `json:"api_key"`

	// Token The new bearer token to use in API requests. This is the only time the token is returned — store it securely.
	Token string `json:"token"`
}

APIKeysRotateResultV1 defines model for APIKeysRotateResultV1.

type APIKeysShowResultV1 added in v1.0.1

type APIKeysShowResultV1 struct {
	ApiKey APIKeyV1 `json:"api_key"`
}

APIKeysShowResultV1 defines model for APIKeysShowResultV1.

type APIKeysUpdatePayloadV1 added in v1.0.1

type APIKeysUpdatePayloadV1 struct {
	// Comments Freeform notes about the API key
	Comments *string `json:"comments,omitempty"`

	// Name Human-readable name for the API key
	Name string `json:"name"`

	// RoleNames Account-level roles for the API key. These roles apply across the entire account, not scoped to specific teams. Pass an empty array if no account-level roles are needed.
	RoleNames []APIKeysUpdatePayloadV1RoleNames `json:"role_names"`

	// TeamIds IDs of teams to scope the `team_role_names` to. If provided, `team_role_names` must also be a non-empty array, and vice versa. Pass an empty array if the key should not be scoped to any teams.
	TeamIds []string `json:"team_ids"`

	// TeamRoleNames Roles to grant for the teams specified in `team_ids`. If provided, `team_ids` must also be a non-empty array, and vice versa. Pass an empty array if no team-level roles are needed.
	TeamRoleNames []APIKeysUpdatePayloadV1TeamRoleNames `json:"team_role_names"`
}

APIKeysUpdatePayloadV1 defines model for APIKeysUpdatePayloadV1.

type APIKeysUpdatePayloadV1RoleNames added in v1.0.1

type APIKeysUpdatePayloadV1RoleNames string

APIKeysUpdatePayloadV1RoleNames defines model for APIKeysUpdatePayloadV1.RoleNames.

const (
	APIKeysUpdatePayloadV1RoleNamesActOnBehalfOfUsers                  APIKeysUpdatePayloadV1RoleNames = "act_on_behalf_of_users"
	APIKeysUpdatePayloadV1RoleNamesApiKeysManage                       APIKeysUpdatePayloadV1RoleNames = "api_keys_manage"
	APIKeysUpdatePayloadV1RoleNamesCallTranscriptsViewer               APIKeysUpdatePayloadV1RoleNames = "call_transcripts_viewer"
	APIKeysUpdatePayloadV1RoleNamesCatalogEditor                       APIKeysUpdatePayloadV1RoleNames = "catalog_editor"
	APIKeysUpdatePayloadV1RoleNamesCatalogViewer                       APIKeysUpdatePayloadV1RoleNames = "catalog_viewer"
	APIKeysUpdatePayloadV1RoleNamesEscalationCreator                   APIKeysUpdatePayloadV1RoleNames = "escalation_creator"
	APIKeysUpdatePayloadV1RoleNamesGlobalAccess                        APIKeysUpdatePayloadV1RoleNames = "global_access"
	APIKeysUpdatePayloadV1RoleNamesHeartbeatsPing                      APIKeysUpdatePayloadV1RoleNames = "heartbeats_ping"
	APIKeysUpdatePayloadV1RoleNamesIncidentCreator                     APIKeysUpdatePayloadV1RoleNames = "incident_creator"
	APIKeysUpdatePayloadV1RoleNamesIncidentEditor                      APIKeysUpdatePayloadV1RoleNames = "incident_editor"
	APIKeysUpdatePayloadV1RoleNamesIncidentMembershipsEditor           APIKeysUpdatePayloadV1RoleNames = "incident_memberships_editor"
	APIKeysUpdatePayloadV1RoleNamesIncidentWorkloadPrivateViewer       APIKeysUpdatePayloadV1RoleNames = "incident_workload_private_viewer"
	APIKeysUpdatePayloadV1RoleNamesIncidentWorkloadViewer              APIKeysUpdatePayloadV1RoleNames = "incident_workload_viewer"
	APIKeysUpdatePayloadV1RoleNamesInvestigationDownload               APIKeysUpdatePayloadV1RoleNames = "investigation_download"
	APIKeysUpdatePayloadV1RoleNamesManageSettings                      APIKeysUpdatePayloadV1RoleNames = "manage_settings"
	APIKeysUpdatePayloadV1RoleNamesNotificationMethodsManage           APIKeysUpdatePayloadV1RoleNames = "notification_methods_manage"
	APIKeysUpdatePayloadV1RoleNamesNotificationMethodsUnredactedViewer APIKeysUpdatePayloadV1RoleNames = "notification_methods_unredacted_viewer"
	APIKeysUpdatePayloadV1RoleNamesOnCallEditor                        APIKeysUpdatePayloadV1RoleNames = "on_call_editor"
	APIKeysUpdatePayloadV1RoleNamesOnCallViewer                        APIKeysUpdatePayloadV1RoleNames = "on_call_viewer"
	APIKeysUpdatePayloadV1RoleNamesPoliciesViewer                      APIKeysUpdatePayloadV1RoleNames = "policies_viewer"
	APIKeysUpdatePayloadV1RoleNamesPolicyFindingsManage                APIKeysUpdatePayloadV1RoleNames = "policy_findings_manage"
	APIKeysUpdatePayloadV1RoleNamesPostIncidentFlowOptOut              APIKeysUpdatePayloadV1RoleNames = "post_incident_flow_opt_out"
	APIKeysUpdatePayloadV1RoleNamesPostmortemsManage                   APIKeysUpdatePayloadV1RoleNames = "postmortems_manage"
	APIKeysUpdatePayloadV1RoleNamesPrivateEscalationWorkflowsEditor    APIKeysUpdatePayloadV1RoleNames = "private_escalation_workflows_editor"
	APIKeysUpdatePayloadV1RoleNamesPrivateWorkflowsEditor              APIKeysUpdatePayloadV1RoleNames = "private_workflows_editor"
	APIKeysUpdatePayloadV1RoleNamesScheduleOverridesEditor             APIKeysUpdatePayloadV1RoleNames = "schedule_overrides_editor"
	APIKeysUpdatePayloadV1RoleNamesSchedulesEditor                     APIKeysUpdatePayloadV1RoleNames = "schedules_editor"
	APIKeysUpdatePayloadV1RoleNamesSchedulesReader                     APIKeysUpdatePayloadV1RoleNames = "schedules_reader"
	APIKeysUpdatePayloadV1RoleNamesSecretsManage                       APIKeysUpdatePayloadV1RoleNames = "secrets_manage"
	APIKeysUpdatePayloadV1RoleNamesSecretsUse                          APIKeysUpdatePayloadV1RoleNames = "secrets_use"
	APIKeysUpdatePayloadV1RoleNamesSecuritySettingsEditor              APIKeysUpdatePayloadV1RoleNames = "security_settings_editor"
	APIKeysUpdatePayloadV1RoleNamesStatusPagePublisher                 APIKeysUpdatePayloadV1RoleNames = "status_page_publisher"
	APIKeysUpdatePayloadV1RoleNamesTeamMembershipsManage               APIKeysUpdatePayloadV1RoleNames = "team_memberships_manage"
	APIKeysUpdatePayloadV1RoleNamesTelemetryDataSourceUpdate           APIKeysUpdatePayloadV1RoleNames = "telemetry_data_source_update"
	APIKeysUpdatePayloadV1RoleNamesTelemetryQueryRestricted            APIKeysUpdatePayloadV1RoleNames = "telemetry_query_restricted"
	APIKeysUpdatePayloadV1RoleNamesViewer                              APIKeysUpdatePayloadV1RoleNames = "viewer"
	APIKeysUpdatePayloadV1RoleNamesWorkflowsEditor                     APIKeysUpdatePayloadV1RoleNames = "workflows_editor"
	APIKeysUpdatePayloadV1RoleNamesWorkflowsViewer                     APIKeysUpdatePayloadV1RoleNames = "workflows_viewer"
)

Defines values for APIKeysUpdatePayloadV1RoleNames.

func (APIKeysUpdatePayloadV1RoleNames) Valid added in v1.0.1

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

type APIKeysUpdatePayloadV1TeamRoleNames added in v1.0.1

type APIKeysUpdatePayloadV1TeamRoleNames string

APIKeysUpdatePayloadV1TeamRoleNames defines model for APIKeysUpdatePayloadV1.TeamRoleNames.

const (
	APIKeysUpdatePayloadV1TeamRoleNamesApiKeysManage             APIKeysUpdatePayloadV1TeamRoleNames = "api_keys_manage"
	APIKeysUpdatePayloadV1TeamRoleNamesCatalogEditor             APIKeysUpdatePayloadV1TeamRoleNames = "catalog_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesEscalationCreator         APIKeysUpdatePayloadV1TeamRoleNames = "escalation_creator"
	APIKeysUpdatePayloadV1TeamRoleNamesHeartbeatsPing            APIKeysUpdatePayloadV1TeamRoleNames = "heartbeats_ping"
	APIKeysUpdatePayloadV1TeamRoleNamesOnCallEditor              APIKeysUpdatePayloadV1TeamRoleNames = "on_call_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesPrivateWorkflowsEditor    APIKeysUpdatePayloadV1TeamRoleNames = "private_workflows_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesScheduleOverridesEditor   APIKeysUpdatePayloadV1TeamRoleNames = "schedule_overrides_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesSchedulesEditor           APIKeysUpdatePayloadV1TeamRoleNames = "schedules_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesSchedulesReader           APIKeysUpdatePayloadV1TeamRoleNames = "schedules_reader"
	APIKeysUpdatePayloadV1TeamRoleNamesSecretsManage             APIKeysUpdatePayloadV1TeamRoleNames = "secrets_manage"
	APIKeysUpdatePayloadV1TeamRoleNamesSecretsUse                APIKeysUpdatePayloadV1TeamRoleNames = "secrets_use"
	APIKeysUpdatePayloadV1TeamRoleNamesTelemetryDataSourceUpdate APIKeysUpdatePayloadV1TeamRoleNames = "telemetry_data_source_update"
	APIKeysUpdatePayloadV1TeamRoleNamesTelemetryQueryRestricted  APIKeysUpdatePayloadV1TeamRoleNames = "telemetry_query_restricted"
	APIKeysUpdatePayloadV1TeamRoleNamesWorkflowsEditor           APIKeysUpdatePayloadV1TeamRoleNames = "workflows_editor"
)

Defines values for APIKeysUpdatePayloadV1TeamRoleNames.

func (APIKeysUpdatePayloadV1TeamRoleNames) Valid added in v1.0.1

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

type APIKeysUpdateResultV1 added in v1.0.1

type APIKeysUpdateResultV1 struct {
	ApiKey APIKeyV1 `json:"api_key"`
}

APIKeysUpdateResultV1 defines model for APIKeysUpdateResultV1.

type APIKeysV1CreateJSONRequestBody added in v1.0.1

type APIKeysV1CreateJSONRequestBody = APIKeysCreatePayloadV1

APIKeysV1CreateJSONRequestBody defines body for APIKeysV1Create for application/json ContentType.

type APIKeysV1CreateResponse added in v1.0.1

type APIKeysV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *APIKeysCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (APIKeysV1CreateResponse) Status added in v1.0.1

func (r APIKeysV1CreateResponse) Status() string

Status returns HTTPResponse.Status

func (APIKeysV1CreateResponse) StatusCode added in v1.0.1

func (r APIKeysV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeysV1DeleteResponse added in v1.0.1

type APIKeysV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (APIKeysV1DeleteResponse) Status added in v1.0.1

func (r APIKeysV1DeleteResponse) Status() string

Status returns HTTPResponse.Status

func (APIKeysV1DeleteResponse) StatusCode added in v1.0.1

func (r APIKeysV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeysV1ListParams added in v1.0.1

type APIKeysV1ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

APIKeysV1ListParams defines parameters for APIKeysV1List.

type APIKeysV1ListResponse added in v1.0.1

type APIKeysV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIKeysListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (APIKeysV1ListResponse) Status added in v1.0.1

func (r APIKeysV1ListResponse) Status() string

Status returns HTTPResponse.Status

func (APIKeysV1ListResponse) StatusCode added in v1.0.1

func (r APIKeysV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeysV1RotateJSONRequestBody added in v1.0.1

type APIKeysV1RotateJSONRequestBody = APIKeysRotatePayloadV1

APIKeysV1RotateJSONRequestBody defines body for APIKeysV1Rotate for application/json ContentType.

type APIKeysV1RotateResponse added in v1.0.1

type APIKeysV1RotateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *APIKeysRotateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (APIKeysV1RotateResponse) Status added in v1.0.1

func (r APIKeysV1RotateResponse) Status() string

Status returns HTTPResponse.Status

func (APIKeysV1RotateResponse) StatusCode added in v1.0.1

func (r APIKeysV1RotateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeysV1ShowResponse added in v1.0.1

type APIKeysV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIKeysShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (APIKeysV1ShowResponse) Status added in v1.0.1

func (r APIKeysV1ShowResponse) Status() string

Status returns HTTPResponse.Status

func (APIKeysV1ShowResponse) StatusCode added in v1.0.1

func (r APIKeysV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type APIKeysV1UpdateJSONRequestBody added in v1.0.1

type APIKeysV1UpdateJSONRequestBody = APIKeysUpdatePayloadV1

APIKeysV1UpdateJSONRequestBody defines body for APIKeysV1Update for application/json ContentType.

type APIKeysV1UpdateResponse added in v1.0.1

type APIKeysV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIKeysUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (APIKeysV1UpdateResponse) Status added in v1.0.1

func (r APIKeysV1UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (APIKeysV1UpdateResponse) StatusCode added in v1.0.1

func (r APIKeysV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionV1 added in v1.0.1

type ActionV1 struct {
	Assignee *UserV1 `json:"assignee,omitempty"`

	// CompletedAt When the action was completed
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt When the action was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the action
	Description            *string                   `json:"description,omitempty"`
	ExternalIssueReference *ExternalIssueReferenceV1 `json:"external_issue_reference,omitempty"`

	// FollowUp Whether an action is marked as follow-up
	FollowUp bool `json:"follow_up"`

	// Id Unique identifier for the action
	Id string `json:"id"`

	// IncidentId Unique identifier of the incident the action belongs to
	IncidentId string `json:"incident_id"`

	// Status Status of the action
	Status ActionV1Status `json:"status"`

	// UpdatedAt When the action was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

ActionV1 defines model for ActionV1.

type ActionV1Status added in v1.0.1

type ActionV1Status string

ActionV1Status Status of the action

const (
	ActionV1StatusCompleted   ActionV1Status = "completed"
	ActionV1StatusDeleted     ActionV1Status = "deleted"
	ActionV1StatusNotDoing    ActionV1Status = "not_doing"
	ActionV1StatusOutstanding ActionV1Status = "outstanding"
)

Defines values for ActionV1Status.

func (ActionV1Status) Valid added in v1.0.1

func (e ActionV1Status) Valid() bool

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

type ActionV2 added in v1.0.1

type ActionV2 struct {
	Assignee *UserV2 `json:"assignee,omitempty"`

	// CompletedAt When the action was completed
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt When the action was created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV2   `json:"creator"`

	// Description Description of the action
	Description string `json:"description"`

	// Id Unique identifier for the action
	Id string `json:"id"`

	// IncidentId Unique identifier of the incident the action belongs to
	IncidentId string `json:"incident_id"`

	// Status Status of the action
	Status ActionV2Status `json:"status"`

	// UpdatedAt When the action was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

ActionV2 defines model for ActionV2.

type ActionV2Status added in v1.0.1

type ActionV2Status string

ActionV2Status Status of the action

const (
	ActionV2StatusCompleted   ActionV2Status = "completed"
	ActionV2StatusDeleted     ActionV2Status = "deleted"
	ActionV2StatusNotDoing    ActionV2Status = "not_doing"
	ActionV2StatusOutstanding ActionV2Status = "outstanding"
)

Defines values for ActionV2Status.

func (ActionV2Status) Valid added in v1.0.1

func (e ActionV2Status) Valid() bool

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

type ActionV3 added in v1.0.85

type ActionV3 struct {
	Assignee *UserV2 `json:"assignee,omitempty"`

	// CompletedAt When the action was completed
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt When the action was created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV2   `json:"creator"`

	// Description Description of the action
	Description string `json:"description"`

	// Id Unique identifier for the action
	Id string `json:"id"`

	// IncidentId Unique identifier of the incident the action belongs to
	IncidentId string `json:"incident_id"`

	// Status Status of the action
	Status ActionV3Status `json:"status"`

	// UpdatedAt When the action was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

ActionV3 defines model for ActionV3.

type ActionV3Status added in v1.0.85

type ActionV3Status string

ActionV3Status Status of the action

const (
	ActionV3StatusCompleted   ActionV3Status = "completed"
	ActionV3StatusDeleted     ActionV3Status = "deleted"
	ActionV3StatusNotDoing    ActionV3Status = "not_doing"
	ActionV3StatusOutstanding ActionV3Status = "outstanding"
)

Defines values for ActionV3Status.

func (ActionV3Status) Valid added in v1.0.85

func (e ActionV3Status) Valid() bool

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

type ActionsCreatePayloadV2 added in v1.0.1

type ActionsCreatePayloadV2 struct {
	// AssigneeId ID of the user this action is assigned to
	AssigneeId *string `json:"assignee_id,omitempty"`

	// Description Description of the action. Supports Markdown.
	Description string `json:"description"`

	// IncidentId Unique identifier of the incident the action belongs to
	IncidentId string `json:"incident_id"`
}

ActionsCreatePayloadV2 defines model for ActionsCreatePayloadV2.

type ActionsCreatePayloadV3 added in v1.0.85

type ActionsCreatePayloadV3 struct {
	// AssigneeId ID of the user this action is assigned to
	AssigneeId *string `json:"assignee_id,omitempty"`

	// Description Description of the action. Supports Markdown.
	Description string `json:"description"`

	// IncidentId Unique identifier of the incident the action belongs to
	IncidentId string `json:"incident_id"`
}

ActionsCreatePayloadV3 defines model for ActionsCreatePayloadV3.

type ActionsCreateResultV2 added in v1.0.1

type ActionsCreateResultV2 struct {
	Action ActionV2 `json:"action"`
}

ActionsCreateResultV2 defines model for ActionsCreateResultV2.

type ActionsCreateResultV3 added in v1.0.85

type ActionsCreateResultV3 struct {
	Action ActionV3 `json:"action"`
}

ActionsCreateResultV3 defines model for ActionsCreateResultV3.

type ActionsListResultV1 added in v1.0.1

type ActionsListResultV1 struct {
	Actions []ActionV1 `json:"actions"`
}

ActionsListResultV1 defines model for ActionsListResultV1.

type ActionsListResultV2 added in v1.0.1

type ActionsListResultV2 struct {
	Actions []ActionV2 `json:"actions"`
}

ActionsListResultV2 defines model for ActionsListResultV2.

type ActionsListResultV3 added in v1.0.85

type ActionsListResultV3 struct {
	Actions        []ActionV3             `json:"actions"`
	PaginationMeta PaginationMetaResultV3 `json:"pagination_meta"`
}

ActionsListResultV3 defines model for ActionsListResultV3.

type ActionsShowResultV1 added in v1.0.1

type ActionsShowResultV1 struct {
	Action ActionV1 `json:"action"`
}

ActionsShowResultV1 defines model for ActionsShowResultV1.

type ActionsShowResultV2 added in v1.0.1

type ActionsShowResultV2 struct {
	Action ActionV2 `json:"action"`
}

ActionsShowResultV2 defines model for ActionsShowResultV2.

type ActionsShowResultV3 added in v1.0.85

type ActionsShowResultV3 struct {
	Action ActionV3 `json:"action"`
}

ActionsShowResultV3 defines model for ActionsShowResultV3.

type ActionsUpdatePayloadV2 added in v1.0.1

type ActionsUpdatePayloadV2 struct {
	// AssigneeId ID of the user this action is assigned to. Set to null to unassign.
	AssigneeId *string `json:"assignee_id,omitempty"`

	// Description Description of the action. Supports Markdown.
	Description string `json:"description"`

	// Status Status of the action. Setting this to `deleted` is not allowed; use the delete endpoint instead.
	Status ActionsUpdatePayloadV2Status `json:"status"`
}

ActionsUpdatePayloadV2 defines model for ActionsUpdatePayloadV2.

type ActionsUpdatePayloadV2Status added in v1.0.1

type ActionsUpdatePayloadV2Status string

ActionsUpdatePayloadV2Status Status of the action. Setting this to `deleted` is not allowed; use the delete endpoint instead.

const (
	ActionsUpdatePayloadV2StatusCompleted   ActionsUpdatePayloadV2Status = "completed"
	ActionsUpdatePayloadV2StatusDeleted     ActionsUpdatePayloadV2Status = "deleted"
	ActionsUpdatePayloadV2StatusNotDoing    ActionsUpdatePayloadV2Status = "not_doing"
	ActionsUpdatePayloadV2StatusOutstanding ActionsUpdatePayloadV2Status = "outstanding"
)

Defines values for ActionsUpdatePayloadV2Status.

func (ActionsUpdatePayloadV2Status) Valid added in v1.0.1

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

type ActionsUpdatePayloadV3 added in v1.0.85

type ActionsUpdatePayloadV3 struct {
	// AssigneeId ID of the user this action is assigned to. Set to null to unassign.
	AssigneeId *string `json:"assignee_id,omitempty"`

	// Description Description of the action. Supports Markdown.
	Description string `json:"description"`

	// Status Status of the action. Setting this to `deleted` is not allowed; use the delete endpoint instead.
	Status ActionsUpdatePayloadV3Status `json:"status"`
}

ActionsUpdatePayloadV3 defines model for ActionsUpdatePayloadV3.

type ActionsUpdatePayloadV3Status added in v1.0.85

type ActionsUpdatePayloadV3Status string

ActionsUpdatePayloadV3Status Status of the action. Setting this to `deleted` is not allowed; use the delete endpoint instead.

const (
	ActionsUpdatePayloadV3StatusCompleted   ActionsUpdatePayloadV3Status = "completed"
	ActionsUpdatePayloadV3StatusDeleted     ActionsUpdatePayloadV3Status = "deleted"
	ActionsUpdatePayloadV3StatusNotDoing    ActionsUpdatePayloadV3Status = "not_doing"
	ActionsUpdatePayloadV3StatusOutstanding ActionsUpdatePayloadV3Status = "outstanding"
)

Defines values for ActionsUpdatePayloadV3Status.

func (ActionsUpdatePayloadV3Status) Valid added in v1.0.85

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

type ActionsUpdateResultV2 added in v1.0.1

type ActionsUpdateResultV2 struct {
	Action ActionV2 `json:"action"`
}

ActionsUpdateResultV2 defines model for ActionsUpdateResultV2.

type ActionsUpdateResultV3 added in v1.0.85

type ActionsUpdateResultV3 struct {
	Action ActionV3 `json:"action"`
}

ActionsUpdateResultV3 defines model for ActionsUpdateResultV3.

type ActionsV1ListParams added in v1.0.1

type ActionsV1ListParams struct {
	// IncidentId Find actions related to this incident
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// IsFollowUp Filter to actions marked as being follow up actions
	IsFollowUp *bool `form:"is_follow_up,omitempty" json:"is_follow_up,omitempty"`

	// IncidentMode Filter to actions from incidents of the given mode. If not set, only actions from `real` incidents are returned
	IncidentMode *ActionsV1ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"`
}

ActionsV1ListParams defines parameters for ActionsV1List.

type ActionsV1ListParamsIncidentMode added in v1.0.1

type ActionsV1ListParamsIncidentMode string

ActionsV1ListParamsIncidentMode defines parameters for ActionsV1List.

const (
	ActionsV1ListParamsIncidentModeReal     ActionsV1ListParamsIncidentMode = "real"
	ActionsV1ListParamsIncidentModeTest     ActionsV1ListParamsIncidentMode = "test"
	ActionsV1ListParamsIncidentModeTutorial ActionsV1ListParamsIncidentMode = "tutorial"
)

Defines values for ActionsV1ListParamsIncidentMode.

func (ActionsV1ListParamsIncidentMode) Valid added in v1.0.1

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

type ActionsV1ListResponse added in v1.0.1

type ActionsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV1ListResponse) Status added in v1.0.1

func (r ActionsV1ListResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV1ListResponse) StatusCode added in v1.0.1

func (r ActionsV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV1ShowResponse added in v1.0.1

type ActionsV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV1ShowResponse) Status added in v1.0.1

func (r ActionsV1ShowResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV1ShowResponse) StatusCode added in v1.0.1

func (r ActionsV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV2CreateJSONRequestBody added in v1.0.1

type ActionsV2CreateJSONRequestBody = ActionsCreatePayloadV2

ActionsV2CreateJSONRequestBody defines body for ActionsV2Create for application/json ContentType.

type ActionsV2CreateResponse added in v1.0.1

type ActionsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ActionsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV2CreateResponse) Status added in v1.0.1

func (r ActionsV2CreateResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV2CreateResponse) StatusCode added in v1.0.1

func (r ActionsV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV2DeleteResponse added in v1.0.1

type ActionsV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV2DeleteResponse) Status added in v1.0.1

func (r ActionsV2DeleteResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV2DeleteResponse) StatusCode added in v1.0.1

func (r ActionsV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV2ListParams added in v1.0.1

type ActionsV2ListParams struct {
	// IncidentId Find actions related to this incident
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// IncidentMode Filter to actions from incidents of the given mode. If not set, only actions from `standard` and `retrospective` incidents are returned
	IncidentMode *ActionsV2ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"`
}

ActionsV2ListParams defines parameters for ActionsV2List.

type ActionsV2ListParamsIncidentMode added in v1.0.1

type ActionsV2ListParamsIncidentMode string

ActionsV2ListParamsIncidentMode defines parameters for ActionsV2List.

const (
	ActionsV2ListParamsIncidentModeRetrospective ActionsV2ListParamsIncidentMode = "retrospective"
	ActionsV2ListParamsIncidentModeStandard      ActionsV2ListParamsIncidentMode = "standard"
	ActionsV2ListParamsIncidentModeStream        ActionsV2ListParamsIncidentMode = "stream"
	ActionsV2ListParamsIncidentModeTest          ActionsV2ListParamsIncidentMode = "test"
	ActionsV2ListParamsIncidentModeTutorial      ActionsV2ListParamsIncidentMode = "tutorial"
)

Defines values for ActionsV2ListParamsIncidentMode.

func (ActionsV2ListParamsIncidentMode) Valid added in v1.0.1

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

type ActionsV2ListResponse added in v1.0.1

type ActionsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV2ListResponse) Status added in v1.0.1

func (r ActionsV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV2ListResponse) StatusCode added in v1.0.1

func (r ActionsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV2ShowResponse added in v1.0.1

type ActionsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV2ShowResponse) Status added in v1.0.1

func (r ActionsV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV2ShowResponse) StatusCode added in v1.0.1

func (r ActionsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV2UpdateJSONRequestBody added in v1.0.1

type ActionsV2UpdateJSONRequestBody = ActionsUpdatePayloadV2

ActionsV2UpdateJSONRequestBody defines body for ActionsV2Update for application/json ContentType.

type ActionsV2UpdateResponse added in v1.0.1

type ActionsV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV2UpdateResponse) Status added in v1.0.1

func (r ActionsV2UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV2UpdateResponse) StatusCode added in v1.0.1

func (r ActionsV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV3CreateJSONRequestBody added in v1.0.85

type ActionsV3CreateJSONRequestBody = ActionsCreatePayloadV3

ActionsV3CreateJSONRequestBody defines body for ActionsV3Create for application/json ContentType.

type ActionsV3CreateResponse added in v1.0.85

type ActionsV3CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ActionsCreateResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV3CreateResponse) Status added in v1.0.85

func (r ActionsV3CreateResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV3CreateResponse) StatusCode added in v1.0.85

func (r ActionsV3CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV3DeleteResponse added in v1.0.85

type ActionsV3DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV3DeleteResponse) Status added in v1.0.85

func (r ActionsV3DeleteResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV3DeleteResponse) StatusCode added in v1.0.85

func (r ActionsV3DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV3ListParams added in v1.0.85

type ActionsV3ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An action's ID. This endpoint will return a list of actions after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// IncidentId Find actions related to this incident
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// IncidentMode Filter to actions from incidents of the given mode. If not set, only actions from `standard` and `retrospective` incidents are returned
	IncidentMode *ActionsV3ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"`

	// CreatedAt Filter on action created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'.
	CreatedAt *map[string][]string `form:"created_at,omitempty" json:"created_at,omitempty"`

	// UpdatedAt Filter on action updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'.
	UpdatedAt *map[string][]string `form:"updated_at,omitempty" json:"updated_at,omitempty"`
}

ActionsV3ListParams defines parameters for ActionsV3List.

type ActionsV3ListParamsIncidentMode added in v1.0.85

type ActionsV3ListParamsIncidentMode string

ActionsV3ListParamsIncidentMode defines parameters for ActionsV3List.

const (
	ActionsV3ListParamsIncidentModeRetrospective ActionsV3ListParamsIncidentMode = "retrospective"
	ActionsV3ListParamsIncidentModeStandard      ActionsV3ListParamsIncidentMode = "standard"
	ActionsV3ListParamsIncidentModeStream        ActionsV3ListParamsIncidentMode = "stream"
	ActionsV3ListParamsIncidentModeTest          ActionsV3ListParamsIncidentMode = "test"
	ActionsV3ListParamsIncidentModeTutorial      ActionsV3ListParamsIncidentMode = "tutorial"
)

Defines values for ActionsV3ListParamsIncidentMode.

func (ActionsV3ListParamsIncidentMode) Valid added in v1.0.85

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

type ActionsV3ListResponse added in v1.0.85

type ActionsV3ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsListResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV3ListResponse) Status added in v1.0.85

func (r ActionsV3ListResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV3ListResponse) StatusCode added in v1.0.85

func (r ActionsV3ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV3ShowResponse added in v1.0.85

type ActionsV3ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsShowResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV3ShowResponse) Status added in v1.0.85

func (r ActionsV3ShowResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV3ShowResponse) StatusCode added in v1.0.85

func (r ActionsV3ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActionsV3UpdateJSONRequestBody added in v1.0.85

type ActionsV3UpdateJSONRequestBody = ActionsUpdatePayloadV3

ActionsV3UpdateJSONRequestBody defines body for ActionsV3Update for application/json ContentType.

type ActionsV3UpdateResponse added in v1.0.85

type ActionsV3UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsUpdateResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ActionsV3UpdateResponse) Status added in v1.0.85

func (r ActionsV3UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (ActionsV3UpdateResponse) StatusCode added in v1.0.85

func (r ActionsV3UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActivityActionRefV2 added in v1.0.92

type ActivityActionRefV2 struct {
	// ActionId The action. Fetch it from GET /v2/actions/{id}.
	ActionId string   `json:"action_id"`
	Actor    *ActorV2 `json:"actor,omitempty"`
}

ActivityActionRefV2 defines model for ActivityActionRefV2.

type ActivityActionUpdatedV2 added in v1.0.92

type ActivityActionUpdatedV2 struct {
	// ActionId The action that changed. Fetch it from GET /v2/actions/{id}.
	ActionId    string  `json:"action_id"`
	NewAssignee *UserV2 `json:"new_assignee,omitempty"`

	// NewStatus Status after, when the status changed
	NewStatus        *ActivityActionUpdatedV2NewStatus `json:"new_status,omitempty"`
	PreviousAssignee *UserV2                           `json:"previous_assignee,omitempty"`

	// PreviousStatus Status before, when the status changed
	PreviousStatus *ActivityActionUpdatedV2PreviousStatus `json:"previous_status,omitempty"`
	Updater        *ActorV2                               `json:"updater,omitempty"`
}

ActivityActionUpdatedV2 defines model for ActivityActionUpdatedV2.

type ActivityActionUpdatedV2NewStatus added in v1.0.92

type ActivityActionUpdatedV2NewStatus string

ActivityActionUpdatedV2NewStatus Status after, when the status changed

const (
	ActivityActionUpdatedV2NewStatusCompleted   ActivityActionUpdatedV2NewStatus = "completed"
	ActivityActionUpdatedV2NewStatusDeleted     ActivityActionUpdatedV2NewStatus = "deleted"
	ActivityActionUpdatedV2NewStatusNotDoing    ActivityActionUpdatedV2NewStatus = "not_doing"
	ActivityActionUpdatedV2NewStatusOutstanding ActivityActionUpdatedV2NewStatus = "outstanding"
)

Defines values for ActivityActionUpdatedV2NewStatus.

func (ActivityActionUpdatedV2NewStatus) Valid added in v1.0.92

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

type ActivityActionUpdatedV2PreviousStatus added in v1.0.92

type ActivityActionUpdatedV2PreviousStatus string

ActivityActionUpdatedV2PreviousStatus Status before, when the status changed

const (
	ActivityActionUpdatedV2PreviousStatusCompleted   ActivityActionUpdatedV2PreviousStatus = "completed"
	ActivityActionUpdatedV2PreviousStatusDeleted     ActivityActionUpdatedV2PreviousStatus = "deleted"
	ActivityActionUpdatedV2PreviousStatusNotDoing    ActivityActionUpdatedV2PreviousStatus = "not_doing"
	ActivityActionUpdatedV2PreviousStatusOutstanding ActivityActionUpdatedV2PreviousStatus = "outstanding"
)

Defines values for ActivityActionUpdatedV2PreviousStatus.

func (ActivityActionUpdatedV2PreviousStatus) Valid added in v1.0.92

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

type ActivityAlertRefV2 added in v1.0.92

type ActivityAlertRefV2 struct {
	Actor *ActorV2 `json:"actor,omitempty"`

	// AlertId The alert. Fetch it from GET /v2/alerts/{id}.
	AlertId string `json:"alert_id"`
}

ActivityAlertRefV2 defines model for ActivityAlertRefV2.

type ActivityCustomFieldValueUpdateV2 added in v1.0.92

type ActivityCustomFieldValueUpdateV2 struct {
	CustomField *CustomFieldTypeInfoV2 `json:"custom_field,omitempty"`

	// NewValues Values after the change, up to 100 of them
	NewValues *[]CustomFieldValueV2 `json:"new_values,omitempty"`

	// NewValuesCount How many values there are now, which can exceed the array above
	NewValuesCount *int64 `json:"new_values_count,omitempty"`

	// PreviousValues Values before the change, up to 100 of them
	PreviousValues *[]CustomFieldValueV2 `json:"previous_values,omitempty"`

	// PreviousValuesCount How many values there were before, which can exceed the array above
	PreviousValuesCount *int64   `json:"previous_values_count,omitempty"`
	Updater             *ActorV2 `json:"updater,omitempty"`
}

ActivityCustomFieldValueUpdateV2 defines model for ActivityCustomFieldValueUpdateV2.

type ActivityEscalationAcknowledgedV2 added in v1.0.92

type ActivityEscalationAcknowledgedV2 struct {
	Acknowledger *UserV2 `json:"acknowledger,omitempty"`

	// EscalationId The escalation that was acknowledged
	EscalationId string `json:"escalation_id"`
}

ActivityEscalationAcknowledgedV2 defines model for ActivityEscalationAcknowledgedV2.

type ActivityEscalationCreatedV2 added in v1.0.92

type ActivityEscalationCreatedV2 struct {
	Creator *ActorV2 `json:"creator,omitempty"`

	// EscalatedToUsers Users this escalation paged
	EscalatedToUsers *[]UserV2 `json:"escalated_to_users,omitempty"`

	// EscalationId The escalation. Fetch it from GET /v2/escalations/{id}.
	EscalationId string `json:"escalation_id"`

	// EscalationPathId The escalation path used, when one was
	EscalationPathId *string `json:"escalation_path_id,omitempty"`
}

ActivityEscalationCreatedV2 defines model for ActivityEscalationCreatedV2.

type ActivityFollowUpRefV2 added in v1.0.92

type ActivityFollowUpRefV2 struct {
	Actor *ActorV2 `json:"actor,omitempty"`

	// FollowUpId The follow-up. Fetch it from GET /v2/follow_ups/{id}.
	FollowUpId string `json:"follow_up_id"`
}

ActivityFollowUpRefV2 defines model for ActivityFollowUpRefV2.

type ActivityFollowUpUpdatedV2 added in v1.0.92

type ActivityFollowUpUpdatedV2 struct {
	// FollowUpId The follow-up that changed. Fetch it from GET /v2/follow_ups/{id}.
	FollowUpId  string  `json:"follow_up_id"`
	NewAssignee *UserV2 `json:"new_assignee,omitempty"`

	// NewStatus Status after, when the status changed
	NewStatus *ActivityFollowUpUpdatedV2NewStatus `json:"new_status,omitempty"`

	// NewTitle Title after, when the title changed
	NewTitle         *string `json:"new_title,omitempty"`
	PreviousAssignee *UserV2 `json:"previous_assignee,omitempty"`

	// PreviousStatus Status before, when the status changed
	PreviousStatus *ActivityFollowUpUpdatedV2PreviousStatus `json:"previous_status,omitempty"`

	// PreviousTitle Title before, when the title changed
	PreviousTitle *string  `json:"previous_title,omitempty"`
	Updater       *ActorV2 `json:"updater,omitempty"`
}

ActivityFollowUpUpdatedV2 defines model for ActivityFollowUpUpdatedV2.

type ActivityFollowUpUpdatedV2NewStatus added in v1.0.92

type ActivityFollowUpUpdatedV2NewStatus string

ActivityFollowUpUpdatedV2NewStatus Status after, when the status changed

const (
	ActivityFollowUpUpdatedV2NewStatusCompleted   ActivityFollowUpUpdatedV2NewStatus = "completed"
	ActivityFollowUpUpdatedV2NewStatusDeleted     ActivityFollowUpUpdatedV2NewStatus = "deleted"
	ActivityFollowUpUpdatedV2NewStatusNotDoing    ActivityFollowUpUpdatedV2NewStatus = "not_doing"
	ActivityFollowUpUpdatedV2NewStatusOutstanding ActivityFollowUpUpdatedV2NewStatus = "outstanding"
)

Defines values for ActivityFollowUpUpdatedV2NewStatus.

func (ActivityFollowUpUpdatedV2NewStatus) Valid added in v1.0.92

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

type ActivityFollowUpUpdatedV2PreviousStatus added in v1.0.92

type ActivityFollowUpUpdatedV2PreviousStatus string

ActivityFollowUpUpdatedV2PreviousStatus Status before, when the status changed

const (
	ActivityFollowUpUpdatedV2PreviousStatusCompleted   ActivityFollowUpUpdatedV2PreviousStatus = "completed"
	ActivityFollowUpUpdatedV2PreviousStatusDeleted     ActivityFollowUpUpdatedV2PreviousStatus = "deleted"
	ActivityFollowUpUpdatedV2PreviousStatusNotDoing    ActivityFollowUpUpdatedV2PreviousStatus = "not_doing"
	ActivityFollowUpUpdatedV2PreviousStatusOutstanding ActivityFollowUpUpdatedV2PreviousStatus = "outstanding"
)

Defines values for ActivityFollowUpUpdatedV2PreviousStatus.

func (ActivityFollowUpUpdatedV2PreviousStatus) Valid added in v1.0.92

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

type ActivityIncidentMergedV2 added in v1.0.92

type ActivityIncidentMergedV2 struct {
	// IncidentUpdateId The incident update that carried the merge. Absent on merges recorded before December 2025.
	IncidentUpdateId *string  `json:"incident_update_id,omitempty"`
	Merger           *ActorV2 `json:"merger,omitempty"`

	// SourceIncident Incident slim is a subset of the full incident object, listing key fields.
	SourceIncident *IncidentSlimV2 `json:"source_incident,omitempty"`
}

ActivityIncidentMergedV2 defines model for ActivityIncidentMergedV2.

type ActivityIncidentRenameV2 added in v1.0.92

type ActivityIncidentRenameV2 struct {
	// NewName The incident's name after the rename
	NewName string `json:"new_name"`

	// PreviousName The incident's name before the rename
	PreviousName string   `json:"previous_name"`
	Updater      *ActorV2 `json:"updater,omitempty"`
}

ActivityIncidentRenameV2 defines model for ActivityIncidentRenameV2.

type ActivityIncidentTimestampSetV2 added in v1.0.92

type ActivityIncidentTimestampSetV2 struct {
	IncidentTimestamp IncidentTimestampV2 `json:"incident_timestamp"`

	// NewValue What it was set to
	NewValue time.Time `json:"new_value"`

	// PreviousValue What it was before. Absent when it was previously unset.
	PreviousValue *time.Time `json:"previous_value,omitempty"`
	Updater       *ActorV2   `json:"updater,omitempty"`
}

ActivityIncidentTimestampSetV2 defines model for ActivityIncidentTimestampSetV2.

type ActivityIncidentTypeChangedV2 added in v1.0.92

type ActivityIncidentTypeChangedV2 struct {
	NewIncidentType      *IncidentTypeV2 `json:"new_incident_type,omitempty"`
	PreviousIncidentType *IncidentTypeV2 `json:"previous_incident_type,omitempty"`
	Updater              *ActorV2        `json:"updater,omitempty"`
}

ActivityIncidentTypeChangedV2 defines model for ActivityIncidentTypeChangedV2.

type ActivityIncidentUpdateV2 added in v1.0.92

type ActivityIncidentUpdateV2 struct {
	// Id ID of the incident update
	Id string `json:"id"`

	// Message The update the responder wrote, in markdown
	Message     *string           `json:"message,omitempty"`
	NewSeverity *SeverityV2       `json:"new_severity,omitempty"`
	NewStatus   *IncidentStatusV2 `json:"new_status,omitempty"`

	// NextUpdateInMinutes When the responder said the next update would come
	NextUpdateInMinutes *int64            `json:"next_update_in_minutes,omitempty"`
	PreviousSeverity    *SeverityV2       `json:"previous_severity,omitempty"`
	PreviousStatus      *IncidentStatusV2 `json:"previous_status,omitempty"`
	Updater             *ActorV2          `json:"updater,omitempty"`
}

ActivityIncidentUpdateV2 defines model for ActivityIncidentUpdateV2.

type ActivityIncidentVisibilityChangedV2 added in v1.0.92

type ActivityIncidentVisibilityChangedV2 struct {
	// NewVisibility Visibility after the change
	NewVisibility ActivityIncidentVisibilityChangedV2NewVisibility `json:"new_visibility"`

	// PreviousVisibility Visibility before the change
	PreviousVisibility ActivityIncidentVisibilityChangedV2PreviousVisibility `json:"previous_visibility"`
	Updater            *ActorV2                                              `json:"updater,omitempty"`
}

ActivityIncidentVisibilityChangedV2 defines model for ActivityIncidentVisibilityChangedV2.

type ActivityIncidentVisibilityChangedV2NewVisibility added in v1.0.92

type ActivityIncidentVisibilityChangedV2NewVisibility string

ActivityIncidentVisibilityChangedV2NewVisibility Visibility after the change

const (
	ActivityIncidentVisibilityChangedV2NewVisibilityPrivate ActivityIncidentVisibilityChangedV2NewVisibility = "private"
	ActivityIncidentVisibilityChangedV2NewVisibilityPublic  ActivityIncidentVisibilityChangedV2NewVisibility = "public"
)

Defines values for ActivityIncidentVisibilityChangedV2NewVisibility.

func (ActivityIncidentVisibilityChangedV2NewVisibility) Valid added in v1.0.92

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

type ActivityIncidentVisibilityChangedV2PreviousVisibility added in v1.0.92

type ActivityIncidentVisibilityChangedV2PreviousVisibility string

ActivityIncidentVisibilityChangedV2PreviousVisibility Visibility before the change

const (
	ActivityIncidentVisibilityChangedV2PreviousVisibilityPrivate ActivityIncidentVisibilityChangedV2PreviousVisibility = "private"
	ActivityIncidentVisibilityChangedV2PreviousVisibilityPublic  ActivityIncidentVisibilityChangedV2PreviousVisibility = "public"
)

Defines values for ActivityIncidentVisibilityChangedV2PreviousVisibility.

func (ActivityIncidentVisibilityChangedV2PreviousVisibility) Valid added in v1.0.92

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

type ActivityRoleUpdateV2 added in v1.0.92

type ActivityRoleUpdateV2 struct {
	NewAssignee      *UserV2         `json:"new_assignee,omitempty"`
	PreviousAssignee *UserV2         `json:"previous_assignee,omitempty"`
	Role             *IncidentRoleV2 `json:"role,omitempty"`
	Updater          *ActorV2        `json:"updater,omitempty"`
}

ActivityRoleUpdateV2 defines model for ActivityRoleUpdateV2.

type ActivityStatusChangeV2 added in v1.0.92

type ActivityStatusChangeV2 struct {
	NewStatus      *IncidentStatusV2 `json:"new_status,omitempty"`
	PreviousStatus *IncidentStatusV2 `json:"previous_status,omitempty"`
	Updater        *ActorV2          `json:"updater,omitempty"`
}

ActivityStatusChangeV2 defines model for ActivityStatusChangeV2.

type ActivitySummaryUpdateV2 added in v1.0.92

type ActivitySummaryUpdateV2 struct {
	// NewSummary The summary after this change, in markdown
	NewSummary *string `json:"new_summary,omitempty"`

	// PreviousSummary The summary before this change, in markdown
	PreviousSummary *string  `json:"previous_summary,omitempty"`
	Updater         *ActorV2 `json:"updater,omitempty"`
}

ActivitySummaryUpdateV2 defines model for ActivitySummaryUpdateV2.

type ActivityWorkflowRanV2 added in v1.0.92

type ActivityWorkflowRanV2 struct {
	Creator *ActorV2 `json:"creator,omitempty"`

	// EventDescription Description of the event the workflow added, in markdown
	EventDescription *string `json:"event_description,omitempty"`

	// EventTitle Title of the event the workflow added
	EventTitle string `json:"event_title"`
}

ActivityWorkflowRanV2 defines model for ActivityWorkflowRanV2.

type ActorV1 added in v1.0.1

type ActorV1 struct {
	ApiKey *APIKeyActorV1 `json:"api_key,omitempty"`
	User   *UserV1        `json:"user,omitempty"`
}

ActorV1 defines model for ActorV1.

type ActorV2 added in v1.0.1

type ActorV2 struct {
	Alert    *AlertActorV2    `json:"alert,omitempty"`
	ApiKey   *APIKeyActorV2   `json:"api_key,omitempty"`
	User     *UserV2          `json:"user,omitempty"`
	Workflow *WorkflowActorV2 `json:"workflow,omitempty"`
}

ActorV2 defines model for ActorV2.

type AfterPaginationMetaResultV2 added in v1.0.1

type AfterPaginationMetaResultV2 struct {
	// After The time, if it exists, of the last entry's end time
	After string `json:"after"`

	// AfterUrl The URL to fetch the next page of entries
	AfterUrl string `json:"after_url"`
}

AfterPaginationMetaResultV2 defines model for AfterPaginationMetaResultV2.

type AlertActorV2 added in v1.0.1

type AlertActorV2 struct {
	// Id The ID of this alert
	Id string `json:"id"`

	// Title The title of the alert, parsed from the alert payload according to the alert source configuration
	Title string `json:"title"`
}

AlertActorV2 defines model for AlertActorV2.

type AlertAttributeCatalogEntryV2 added in v1.0.1

type AlertAttributeCatalogEntryV2 struct {
	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `json:"catalog_type_id"`

	// Id ID of this catalog entry
	Id string `json:"id"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`
}

AlertAttributeCatalogEntryV2 defines model for AlertAttributeCatalogEntryV2.

type AlertAttributeEntryV2 added in v1.0.1

type AlertAttributeEntryV2 struct {
	// ArrayValue The value of the attribute if it is an array
	ArrayValue *[]AlertAttributeValueV2 `json:"array_value,omitempty"`
	Attribute  AlertAttributeV2         `json:"attribute"`
	Value      *AlertAttributeValueV2   `json:"value,omitempty"`
}

AlertAttributeEntryV2 defines model for AlertAttributeEntryV2.

type AlertAttributeV2 added in v1.0.1

type AlertAttributeV2 struct {
	// Array Whether this attribute is an array
	Array bool `json:"array"`

	// Emoji The emoji to display alongside this attribute in chat messages, stored without colons
	Emoji *string `json:"emoji,omitempty"`

	// Id The ID of this attribute
	Id string `json:"id"`

	// Name Unique name of this attribute
	Name string `json:"name"`

	// Required Whether this attribute is required. If this field is not set, the existing setting will be preserved.
	Required bool `json:"required"`

	// Type Engine resource name for this attribute
	Type string `json:"type"`
}

AlertAttributeV2 defines model for AlertAttributeV2.

type AlertAttributeValueV2 added in v1.0.1

type AlertAttributeValueV2 struct {
	CatalogEntry *AlertAttributeCatalogEntryV2 `json:"catalog_entry,omitempty"`

	// Label The human readable label of this value for convenience. Will match the literal if this is a primitive type, or be the name of the catalog entry if this is a catalog entry
	Label *string `json:"label,omitempty"`

	// Literal If set, this is the literal value of the step parameter
	Literal *string `json:"literal,omitempty"`
}

AlertAttributeValueV2 defines model for AlertAttributeValueV2.

type AlertAttributesCreatePayloadV2 added in v1.0.1

type AlertAttributesCreatePayloadV2 struct {
	// Array Whether this attribute is an array
	Array bool `json:"array"`

	// Emoji The emoji to display alongside this attribute in chat messages, stored without colons
	Emoji *string `json:"emoji,omitempty"`

	// Name Unique name of this attribute
	Name string `json:"name"`

	// Required Whether this attribute is required. If this field is not set, the existing setting will be preserved.
	Required *bool `json:"required,omitempty"`

	// Type Engine resource name for this attribute
	Type string `json:"type"`
}

AlertAttributesCreatePayloadV2 defines model for AlertAttributesCreatePayloadV2.

type AlertAttributesCreateResultV2 added in v1.0.1

type AlertAttributesCreateResultV2 struct {
	AlertAttribute AlertAttributeV2 `json:"alert_attribute"`
}

AlertAttributesCreateResultV2 defines model for AlertAttributesCreateResultV2.

type AlertAttributesListResultV2 added in v1.0.1

type AlertAttributesListResultV2 struct {
	AlertAttributes []AlertAttributeV2 `json:"alert_attributes"`
}

AlertAttributesListResultV2 defines model for AlertAttributesListResultV2.

type AlertAttributesShowResultV2 added in v1.0.1

type AlertAttributesShowResultV2 struct {
	AlertAttribute AlertAttributeV2 `json:"alert_attribute"`
}

AlertAttributesShowResultV2 defines model for AlertAttributesShowResultV2.

type AlertAttributesUpdatePayloadV2 added in v1.0.1

type AlertAttributesUpdatePayloadV2 struct {
	// Array Whether this attribute is an array
	Array bool `json:"array"`

	// Emoji The emoji to display alongside this attribute in chat messages, stored without colons
	Emoji *string `json:"emoji,omitempty"`

	// Name Unique name of this attribute
	Name string `json:"name"`

	// Required Whether this attribute is required. If this field is not set, the existing setting will be preserved.
	Required *bool `json:"required,omitempty"`

	// Type Engine resource name for this attribute
	Type string `json:"type"`
}

AlertAttributesUpdatePayloadV2 defines model for AlertAttributesUpdatePayloadV2.

type AlertAttributesUpdateResultV2 added in v1.0.1

type AlertAttributesUpdateResultV2 struct {
	AlertAttribute AlertAttributeV2 `json:"alert_attribute"`
}

AlertAttributesUpdateResultV2 defines model for AlertAttributesUpdateResultV2.

type AlertAttributesV2CreateJSONRequestBody added in v1.0.1

type AlertAttributesV2CreateJSONRequestBody = AlertAttributesCreatePayloadV2

AlertAttributesV2CreateJSONRequestBody defines body for AlertAttributesV2Create for application/json ContentType.

type AlertAttributesV2CreateResponse added in v1.0.1

type AlertAttributesV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AlertAttributesCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertAttributesV2CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertAttributesV2CreateResponse) StatusCode added in v1.0.1

func (r AlertAttributesV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertAttributesV2DestroyResponse added in v1.0.1

type AlertAttributesV2DestroyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertAttributesV2DestroyResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertAttributesV2DestroyResponse) StatusCode added in v1.0.1

func (r AlertAttributesV2DestroyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertAttributesV2ListResponse added in v1.0.1

type AlertAttributesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertAttributesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertAttributesV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertAttributesV2ListResponse) StatusCode added in v1.0.1

func (r AlertAttributesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertAttributesV2ShowResponse added in v1.0.1

type AlertAttributesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertAttributesShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertAttributesV2ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertAttributesV2ShowResponse) StatusCode added in v1.0.1

func (r AlertAttributesV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertAttributesV2UpdateJSONRequestBody added in v1.0.1

type AlertAttributesV2UpdateJSONRequestBody = AlertAttributesUpdatePayloadV2

AlertAttributesV2UpdateJSONRequestBody defines body for AlertAttributesV2Update for application/json ContentType.

type AlertAttributesV2UpdateResponse added in v1.0.1

type AlertAttributesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertAttributesUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertAttributesV2UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertAttributesV2UpdateResponse) StatusCode added in v1.0.1

func (r AlertAttributesV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertEventsCreateHTTPPayloadV2 added in v1.0.1

type AlertEventsCreateHTTPPayloadV2 struct {
	// DeduplicationKey A deduplication key which uniquely references this alert from your alert source. For newly created HTTP sources, this field is required.
	// If you send an event with the same deduplication_key multiple times, only one alert will be created in incident.io for this alert source config.
	// You can filter on this field to find the alert created by an event you've sent us.
	DeduplicationKey *string `json:"deduplication_key,omitempty"`

	// Description Description that optionally adds more detail to title. Supports markdown.
	Description *string `json:"description,omitempty"`

	// Metadata Any additional metadata that you've configured your alert source to parse
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// SourceUrl If applicable, a link to the alert in the upstream system
	SourceUrl *string `json:"source_url,omitempty"`

	// Status Current status of this alert
	Status AlertEventsCreateHTTPPayloadV2Status `json:"status"`

	// Title The title of the alert, parsed from the alert payload according to the alert source configuration
	Title string `json:"title"`
}

AlertEventsCreateHTTPPayloadV2 defines model for AlertEventsCreateHTTPPayloadV2.

type AlertEventsCreateHTTPPayloadV2Status added in v1.0.1

type AlertEventsCreateHTTPPayloadV2Status string

AlertEventsCreateHTTPPayloadV2Status Current status of this alert

const (
	AlertEventsCreateHTTPPayloadV2StatusFiring   AlertEventsCreateHTTPPayloadV2Status = "firing"
	AlertEventsCreateHTTPPayloadV2StatusResolved AlertEventsCreateHTTPPayloadV2Status = "resolved"
)

Defines values for AlertEventsCreateHTTPPayloadV2Status.

func (AlertEventsCreateHTTPPayloadV2Status) Valid added in v1.0.1

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

type AlertEventsCreateHTTPResultV2 added in v1.0.1

type AlertEventsCreateHTTPResultV2 struct {
	// DeduplicationKey The deduplication key that the event has been processed with
	DeduplicationKey string `json:"deduplication_key"`

	// Message Human readable message giving detail about the event
	Message string `json:"message"`

	// Status Status of the event
	Status string `json:"status"`
}

AlertEventsCreateHTTPResultV2 defines model for AlertEventsCreateHTTPResultV2.

type AlertEventsV2CreateHTTPJSONRequestBody added in v1.0.1

type AlertEventsV2CreateHTTPJSONRequestBody = AlertEventsCreateHTTPPayloadV2

AlertEventsV2CreateHTTPJSONRequestBody defines body for AlertEventsV2CreateHTTP for application/json ContentType.

type AlertEventsV2CreateHTTPParams added in v1.0.1

type AlertEventsV2CreateHTTPParams struct {
	// Token Token used to authenticate the request, generated when configuring the alert source. Will be consumed via a URL query string parameter
	Token *string `form:"token,omitempty" json:"token,omitempty"`

	// Query Query parameters
	Query *map[string]interface{} `json:"query,omitempty"`

	// Authorization Whatever is provided in the Authorization header. We support either Basic or Bearer authorization with the secret provided on the alert source.
	Authorization *string `json:"authorization,omitempty"`
}

AlertEventsV2CreateHTTPParams defines parameters for AlertEventsV2CreateHTTP.

type AlertEventsV2CreateHTTPResponse added in v1.0.1

type AlertEventsV2CreateHTTPResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *AlertEventsCreateHTTPResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertEventsV2CreateHTTPResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertEventsV2CreateHTTPResponse) StatusCode added in v1.0.1

func (r AlertEventsV2CreateHTTPResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertGroupingConfigV3 added in v1.0.9

type AlertGroupingConfigV3 struct {
	Default GroupingSettingsV3 `json:"default"`
}

AlertGroupingConfigV3 defines model for AlertGroupingConfigV3.

type AlertMessageConfigPayloadV3 added in v1.0.9

type AlertMessageConfigPayloadV3 struct {
	// Destinations The destinations (Slack/Teams channels) alert messages are sent to
	Destinations []AlertMessageDestinationPayloadV3 `json:"destinations"`
	Template     *EngineParamBindingPayloadV3       `json:"template,omitempty"`
}

AlertMessageConfigPayloadV3 defines model for AlertMessageConfigPayloadV3.

type AlertMessageConfigV3 added in v1.0.9

type AlertMessageConfigV3 struct {
	// Destinations The destinations (Slack/Teams channels) alert messages are sent to
	Destinations []AlertMessageDestinationV3 `json:"destinations"`
	Template     *EngineParamBindingV3       `json:"template,omitempty"`
}

AlertMessageConfigV3 defines model for AlertMessageConfigV3.

type AlertMessageDestinationPayloadV3 added in v1.0.9

type AlertMessageDestinationPayloadV3 struct {
	// ConditionGroups The conditions that must be met for this channel config to be used
	ConditionGroups []ConditionGroupPayloadV3         `json:"condition_groups"`
	MsTeamsTargets  *AlertRouteChannelTargetPayloadV3 `json:"ms_teams_targets,omitempty"`
	SlackTargets    *AlertRouteChannelTargetPayloadV3 `json:"slack_targets,omitempty"`
}

AlertMessageDestinationPayloadV3 defines model for AlertMessageDestinationPayloadV3.

type AlertMessageDestinationV3 added in v1.0.9

type AlertMessageDestinationV3 struct {
	// ConditionGroups The conditions that must be met for this channel config to be used
	ConditionGroups []ConditionGroupV3         `json:"condition_groups"`
	MsTeamsTargets  *AlertRouteChannelTargetV3 `json:"ms_teams_targets,omitempty"`
	SlackTargets    *AlertRouteChannelTargetV3 `json:"slack_targets,omitempty"`
}

AlertMessageDestinationV3 defines model for AlertMessageDestinationV3.

type AlertNoteV1 added in v1.0.1

type AlertNoteV1 struct {
	// AlertGroupId ID of the alert group this note is attached to. Exactly one of alert_id or alert_group_id is set; the other is null.
	AlertGroupId *string `json:"alert_group_id,omitempty"`

	// AlertId ID of the alert this note is attached to. Exactly one of alert_id or alert_group_id is set; the other is null.
	AlertId *string `json:"alert_id,omitempty"`

	// Content Markdown body of the note
	Content string `json:"content"`

	// CreatedAt When this note was first created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV1   `json:"creator"`

	// Id Unique identifier for the alert note
	Id string `json:"id"`

	// Images Images attached to the current version of the note, with signed URLs valid for 10 minutes
	Images []ImageV1 `json:"images"`

	// LastEditedAt When this note was last edited, only set if it has been edited at least once since creation
	LastEditedAt *time.Time `json:"last_edited_at,omitempty"`

	// UpdatedAt When this note was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

AlertNoteV1 defines model for AlertNoteV1.

type AlertNotesCreatePayloadV1 added in v1.0.1

type AlertNotesCreatePayloadV1 struct {
	// AlertGroupId ID of the alert group to add the note to. Provide exactly one of alert_id or alert_group_id.
	AlertGroupId *string `json:"alert_group_id,omitempty"`

	// AlertId ID of the alert to add the note to. Provide exactly one of alert_id or alert_group_id.
	AlertId *string `json:"alert_id,omitempty"`

	// Content Markdown body of the note
	Content string `json:"content"`
}

AlertNotesCreatePayloadV1 defines model for AlertNotesCreatePayloadV1.

type AlertNotesCreateResultV1 added in v1.0.1

type AlertNotesCreateResultV1 struct {
	AlertNote AlertNoteV1 `json:"alert_note"`
}

AlertNotesCreateResultV1 defines model for AlertNotesCreateResultV1.

type AlertNotesListResultV1 added in v1.0.1

type AlertNotesListResultV1 struct {
	AlertNotes     []AlertNoteV1          `json:"alert_notes"`
	PaginationMeta PaginationMetaResultV1 `json:"pagination_meta"`
}

AlertNotesListResultV1 defines model for AlertNotesListResultV1.

type AlertNotesShowResultV1 added in v1.0.1

type AlertNotesShowResultV1 struct {
	AlertNote AlertNoteV1 `json:"alert_note"`
}

AlertNotesShowResultV1 defines model for AlertNotesShowResultV1.

type AlertNotesUpdatePayloadV1 added in v1.0.1

type AlertNotesUpdatePayloadV1 struct {
	// Content Markdown body of the note
	Content string `json:"content"`
}

AlertNotesUpdatePayloadV1 defines model for AlertNotesUpdatePayloadV1.

type AlertNotesUpdateResultV1 added in v1.0.1

type AlertNotesUpdateResultV1 struct {
	AlertNote AlertNoteV1 `json:"alert_note"`
}

AlertNotesUpdateResultV1 defines model for AlertNotesUpdateResultV1.

type AlertNotesV1CreateJSONRequestBody added in v1.0.1

type AlertNotesV1CreateJSONRequestBody = AlertNotesCreatePayloadV1

AlertNotesV1CreateJSONRequestBody defines body for AlertNotesV1Create for application/json ContentType.

type AlertNotesV1CreateResponse added in v1.0.1

type AlertNotesV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AlertNotesCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertNotesV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertNotesV1CreateResponse) StatusCode added in v1.0.1

func (r AlertNotesV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertNotesV1DeleteResponse added in v1.0.1

type AlertNotesV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertNotesV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertNotesV1DeleteResponse) StatusCode added in v1.0.1

func (r AlertNotesV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertNotesV1ListParams added in v1.0.1

type AlertNotesV1ListParams struct {
	// AlertId ID of the alert to list notes for. Provide exactly one of alert_id or alert_group_id.
	AlertId *string `form:"alert_id,omitempty" json:"alert_id,omitempty"`

	// AlertGroupId ID of the alert group to list notes for. Provide exactly one of alert_id or alert_group_id.
	AlertGroupId *string `form:"alert_group_id,omitempty" json:"alert_group_id,omitempty"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

AlertNotesV1ListParams defines parameters for AlertNotesV1List.

type AlertNotesV1ListResponse added in v1.0.1

type AlertNotesV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertNotesListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertNotesV1ListResponse) Status added in v1.0.1

func (r AlertNotesV1ListResponse) Status() string

Status returns HTTPResponse.Status

func (AlertNotesV1ListResponse) StatusCode added in v1.0.1

func (r AlertNotesV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertNotesV1ShowResponse added in v1.0.1

type AlertNotesV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertNotesShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertNotesV1ShowResponse) Status added in v1.0.1

func (r AlertNotesV1ShowResponse) Status() string

Status returns HTTPResponse.Status

func (AlertNotesV1ShowResponse) StatusCode added in v1.0.1

func (r AlertNotesV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertNotesV1UpdateJSONRequestBody added in v1.0.1

type AlertNotesV1UpdateJSONRequestBody = AlertNotesUpdatePayloadV1

AlertNotesV1UpdateJSONRequestBody defines body for AlertNotesV1Update for application/json ContentType.

type AlertNotesV1UpdateResponse added in v1.0.1

type AlertNotesV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertNotesUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertNotesV1UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertNotesV1UpdateResponse) StatusCode added in v1.0.1

func (r AlertNotesV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRouteAlertSourcePayloadV2 added in v1.0.1

type AlertRouteAlertSourcePayloadV2 struct {
	// AlertSourceId The alert source ID that will match for the route
	AlertSourceId string `json:"alert_source_id"`

	// ConditionGroups What conditions should alerts from this source meet to be included in this alert route?
	ConditionGroups []ConditionGroupPayloadV2 `json:"condition_groups"`
}

AlertRouteAlertSourcePayloadV2 defines model for AlertRouteAlertSourcePayloadV2.

type AlertRouteAlertSourcePayloadV3 added in v1.0.9

type AlertRouteAlertSourcePayloadV3 struct {
	// AlertSourceId The alert source ID that will match for the route
	AlertSourceId string `json:"alert_source_id"`

	// ConditionGroups What conditions should alerts from this source meet to be included in this alert route?
	ConditionGroups []ConditionGroupPayloadV3 `json:"condition_groups"`
}

AlertRouteAlertSourcePayloadV3 defines model for AlertRouteAlertSourcePayloadV3.

type AlertRouteAlertSourceV2 added in v1.0.1

type AlertRouteAlertSourceV2 struct {
	// AlertSourceId The alert source ID that will match for the route
	AlertSourceId string `json:"alert_source_id"`

	// ConditionGroups What conditions should alerts from this source meet to be included in this alert route?
	ConditionGroups []ConditionGroupV2 `json:"condition_groups"`
}

AlertRouteAlertSourceV2 defines model for AlertRouteAlertSourceV2.

type AlertRouteAlertSourceV3 added in v1.0.9

type AlertRouteAlertSourceV3 struct {
	// AlertSourceId The alert source ID that will match for the route
	AlertSourceId string `json:"alert_source_id"`

	// ConditionGroups What conditions should alerts from this source meet to be included in this alert route?
	ConditionGroups []ConditionGroupV3 `json:"condition_groups"`
}

AlertRouteAlertSourceV3 defines model for AlertRouteAlertSourceV3.

type AlertRouteAutoGeneratedTemplateBindingPayloadV2 added in v1.0.1

type AlertRouteAutoGeneratedTemplateBindingPayloadV2 struct {
	// Autogenerated Whether this attribute is autogenerated using AI or not
	Autogenerated *bool                        `json:"autogenerated,omitempty"`
	Binding       *EngineParamBindingPayloadV2 `json:"binding,omitempty"`
}

AlertRouteAutoGeneratedTemplateBindingPayloadV2 defines model for AlertRouteAutoGeneratedTemplateBindingPayloadV2.

type AlertRouteAutoGeneratedTemplateBindingPayloadV3 added in v1.0.9

type AlertRouteAutoGeneratedTemplateBindingPayloadV3 struct {
	// Autogenerated Whether this attribute is autogenerated using AI or not
	Autogenerated *bool                        `json:"autogenerated,omitempty"`
	Binding       *EngineParamBindingPayloadV3 `json:"binding,omitempty"`
}

AlertRouteAutoGeneratedTemplateBindingPayloadV3 defines model for AlertRouteAutoGeneratedTemplateBindingPayloadV3.

type AlertRouteAutoGeneratedTemplateBindingV2 added in v1.0.1

type AlertRouteAutoGeneratedTemplateBindingV2 struct {
	// Autogenerated Whether this attribute is autogenerated using AI or not
	Autogenerated bool                  `json:"autogenerated"`
	Binding       *EngineParamBindingV2 `json:"binding,omitempty"`
}

AlertRouteAutoGeneratedTemplateBindingV2 defines model for AlertRouteAutoGeneratedTemplateBindingV2.

type AlertRouteAutoGeneratedTemplateBindingV3 added in v1.0.9

type AlertRouteAutoGeneratedTemplateBindingV3 struct {
	// Autogenerated Whether this attribute is autogenerated using AI or not
	Autogenerated bool                  `json:"autogenerated"`
	Binding       *EngineParamBindingV3 `json:"binding,omitempty"`
}

AlertRouteAutoGeneratedTemplateBindingV3 defines model for AlertRouteAutoGeneratedTemplateBindingV3.

type AlertRouteChannelConfigPayloadV2 added in v1.0.1

type AlertRouteChannelConfigPayloadV2 struct {
	// ConditionGroups The conditions that must be met for this channel config to be used
	ConditionGroups []ConditionGroupPayloadV2         `json:"condition_groups"`
	MsTeamsTargets  *AlertRouteChannelTargetPayloadV2 `json:"ms_teams_targets,omitempty"`
	SlackTargets    *AlertRouteChannelTargetPayloadV2 `json:"slack_targets,omitempty"`
}

AlertRouteChannelConfigPayloadV2 defines model for AlertRouteChannelConfigPayloadV2.

type AlertRouteChannelConfigV2 added in v1.0.1

type AlertRouteChannelConfigV2 struct {
	// ConditionGroups The conditions that must be met for this channel config to be used
	ConditionGroups []ConditionGroupV2         `json:"condition_groups"`
	MsTeamsTargets  *AlertRouteChannelTargetV2 `json:"ms_teams_targets,omitempty"`
	SlackTargets    *AlertRouteChannelTargetV2 `json:"slack_targets,omitempty"`
}

AlertRouteChannelConfigV2 defines model for AlertRouteChannelConfigV2.

type AlertRouteChannelTargetPayloadV2 added in v1.0.1

type AlertRouteChannelTargetPayloadV2 struct {
	Binding EngineParamBindingPayloadV2 `json:"binding"`

	// ChannelVisibility The visibility of the channel
	ChannelVisibility string `json:"channel_visibility"`
}

AlertRouteChannelTargetPayloadV2 defines model for AlertRouteChannelTargetPayloadV2.

type AlertRouteChannelTargetPayloadV3 added in v1.0.9

type AlertRouteChannelTargetPayloadV3 struct {
	Binding EngineParamBindingPayloadV3 `json:"binding"`

	// ChannelVisibility The visibility of the channel
	ChannelVisibility AlertRouteChannelTargetPayloadV3ChannelVisibility `json:"channel_visibility"`

	// GroupAlertsSummary Whether grouped alerts should render as a single group-summary message per channel
	GroupAlertsSummary *bool `json:"group_alerts_summary,omitempty"`
}

AlertRouteChannelTargetPayloadV3 defines model for AlertRouteChannelTargetPayloadV3.

type AlertRouteChannelTargetPayloadV3ChannelVisibility added in v1.0.9

type AlertRouteChannelTargetPayloadV3ChannelVisibility string

AlertRouteChannelTargetPayloadV3ChannelVisibility The visibility of the channel

const (
	AlertRouteChannelTargetPayloadV3ChannelVisibilityAssistant AlertRouteChannelTargetPayloadV3ChannelVisibility = "assistant"
	AlertRouteChannelTargetPayloadV3ChannelVisibilityDm        AlertRouteChannelTargetPayloadV3ChannelVisibility = "dm"
	AlertRouteChannelTargetPayloadV3ChannelVisibilityGroupChat AlertRouteChannelTargetPayloadV3ChannelVisibility = "group_chat"
	AlertRouteChannelTargetPayloadV3ChannelVisibilityPrivate   AlertRouteChannelTargetPayloadV3ChannelVisibility = "private"
	AlertRouteChannelTargetPayloadV3ChannelVisibilityPublic    AlertRouteChannelTargetPayloadV3ChannelVisibility = "public"
)

Defines values for AlertRouteChannelTargetPayloadV3ChannelVisibility.

func (AlertRouteChannelTargetPayloadV3ChannelVisibility) Valid added in v1.0.9

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

type AlertRouteChannelTargetV2 added in v1.0.1

type AlertRouteChannelTargetV2 struct {
	Binding EngineParamBindingV2 `json:"binding"`

	// ChannelVisibility The visibility of the channel
	ChannelVisibility string `json:"channel_visibility"`
}

AlertRouteChannelTargetV2 defines model for AlertRouteChannelTargetV2.

type AlertRouteChannelTargetV3 added in v1.0.9

type AlertRouteChannelTargetV3 struct {
	Binding EngineParamBindingV3 `json:"binding"`

	// ChannelVisibility The visibility of the channel
	ChannelVisibility string `json:"channel_visibility"`

	// GroupAlertsSummary Whether grouped alerts should render as a single group-summary message per channel
	GroupAlertsSummary *bool `json:"group_alerts_summary,omitempty"`
}

AlertRouteChannelTargetV3 defines model for AlertRouteChannelTargetV3.

type AlertRouteCustomFieldBindingPayloadV2 added in v1.0.1

type AlertRouteCustomFieldBindingPayloadV2 struct {
	Binding EngineParamBindingPayloadV2 `json:"binding"`

	// CustomFieldId ID of the custom field
	CustomFieldId string `json:"custom_field_id"`

	// MergeStrategy The strategy to use when multiple alerts match this route
	MergeStrategy AlertRouteCustomFieldBindingPayloadV2MergeStrategy `json:"merge_strategy"`
}

AlertRouteCustomFieldBindingPayloadV2 defines model for AlertRouteCustomFieldBindingPayloadV2.

type AlertRouteCustomFieldBindingPayloadV2MergeStrategy added in v1.0.1

type AlertRouteCustomFieldBindingPayloadV2MergeStrategy string

AlertRouteCustomFieldBindingPayloadV2MergeStrategy The strategy to use when multiple alerts match this route

const (
	AlertRouteCustomFieldBindingPayloadV2MergeStrategyAppend    AlertRouteCustomFieldBindingPayloadV2MergeStrategy = "append"
	AlertRouteCustomFieldBindingPayloadV2MergeStrategyFirstWins AlertRouteCustomFieldBindingPayloadV2MergeStrategy = "first-wins"
	AlertRouteCustomFieldBindingPayloadV2MergeStrategyLastWins  AlertRouteCustomFieldBindingPayloadV2MergeStrategy = "last-wins"
)

Defines values for AlertRouteCustomFieldBindingPayloadV2MergeStrategy.

func (AlertRouteCustomFieldBindingPayloadV2MergeStrategy) Valid added in v1.0.1

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

type AlertRouteCustomFieldBindingPayloadV3 added in v1.0.9

type AlertRouteCustomFieldBindingPayloadV3 struct {
	Binding EngineParamBindingPayloadV3 `json:"binding"`

	// CustomFieldId ID of the custom field
	CustomFieldId string `json:"custom_field_id"`

	// MergeStrategy The strategy to use when multiple alerts match this route
	MergeStrategy AlertRouteCustomFieldBindingPayloadV3MergeStrategy `json:"merge_strategy"`
}

AlertRouteCustomFieldBindingPayloadV3 defines model for AlertRouteCustomFieldBindingPayloadV3.

type AlertRouteCustomFieldBindingPayloadV3MergeStrategy added in v1.0.9

type AlertRouteCustomFieldBindingPayloadV3MergeStrategy string

AlertRouteCustomFieldBindingPayloadV3MergeStrategy The strategy to use when multiple alerts match this route

const (
	AlertRouteCustomFieldBindingPayloadV3MergeStrategyAppend    AlertRouteCustomFieldBindingPayloadV3MergeStrategy = "append"
	AlertRouteCustomFieldBindingPayloadV3MergeStrategyFirstWins AlertRouteCustomFieldBindingPayloadV3MergeStrategy = "first-wins"
	AlertRouteCustomFieldBindingPayloadV3MergeStrategyLastWins  AlertRouteCustomFieldBindingPayloadV3MergeStrategy = "last-wins"
)

Defines values for AlertRouteCustomFieldBindingPayloadV3MergeStrategy.

func (AlertRouteCustomFieldBindingPayloadV3MergeStrategy) Valid added in v1.0.9

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

type AlertRouteCustomFieldBindingV2 added in v1.0.1

type AlertRouteCustomFieldBindingV2 struct {
	Binding EngineParamBindingV2 `json:"binding"`

	// CustomFieldId ID of the custom field
	CustomFieldId string `json:"custom_field_id"`

	// MergeStrategy The strategy to use when multiple alerts match this route
	MergeStrategy AlertRouteCustomFieldBindingV2MergeStrategy `json:"merge_strategy"`
}

AlertRouteCustomFieldBindingV2 defines model for AlertRouteCustomFieldBindingV2.

type AlertRouteCustomFieldBindingV2MergeStrategy added in v1.0.1

type AlertRouteCustomFieldBindingV2MergeStrategy string

AlertRouteCustomFieldBindingV2MergeStrategy The strategy to use when multiple alerts match this route

const (
	AlertRouteCustomFieldBindingV2MergeStrategyAppend    AlertRouteCustomFieldBindingV2MergeStrategy = "append"
	AlertRouteCustomFieldBindingV2MergeStrategyFirstWins AlertRouteCustomFieldBindingV2MergeStrategy = "first-wins"
	AlertRouteCustomFieldBindingV2MergeStrategyLastWins  AlertRouteCustomFieldBindingV2MergeStrategy = "last-wins"
)

Defines values for AlertRouteCustomFieldBindingV2MergeStrategy.

func (AlertRouteCustomFieldBindingV2MergeStrategy) Valid added in v1.0.1

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

type AlertRouteCustomFieldBindingV3 added in v1.0.9

type AlertRouteCustomFieldBindingV3 struct {
	Binding EngineParamBindingV3 `json:"binding"`

	// CustomFieldId ID of the custom field
	CustomFieldId string `json:"custom_field_id"`

	// MergeStrategy The strategy to use when multiple alerts match this route
	MergeStrategy AlertRouteCustomFieldBindingV3MergeStrategy `json:"merge_strategy"`
}

AlertRouteCustomFieldBindingV3 defines model for AlertRouteCustomFieldBindingV3.

type AlertRouteCustomFieldBindingV3MergeStrategy added in v1.0.9

type AlertRouteCustomFieldBindingV3MergeStrategy string

AlertRouteCustomFieldBindingV3MergeStrategy The strategy to use when multiple alerts match this route

const (
	AlertRouteCustomFieldBindingV3MergeStrategyAppend    AlertRouteCustomFieldBindingV3MergeStrategy = "append"
	AlertRouteCustomFieldBindingV3MergeStrategyFirstWins AlertRouteCustomFieldBindingV3MergeStrategy = "first-wins"
	AlertRouteCustomFieldBindingV3MergeStrategyLastWins  AlertRouteCustomFieldBindingV3MergeStrategy = "last-wins"
)

Defines values for AlertRouteCustomFieldBindingV3MergeStrategy.

func (AlertRouteCustomFieldBindingV3MergeStrategy) Valid added in v1.0.9

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

type AlertRouteEscalationConfigPayloadV2 added in v1.0.1

type AlertRouteEscalationConfigPayloadV2 struct {
	// AutoCancelEscalations Should we auto cancel escalations when all alerts are resolved?
	AutoCancelEscalations bool `json:"auto_cancel_escalations"`

	// EscalationTargets Targets for escalation
	EscalationTargets []AlertRouteEscalationTargetPayloadV2 `json:"escalation_targets"`
}

AlertRouteEscalationConfigPayloadV2 defines model for AlertRouteEscalationConfigPayloadV2.

type AlertRouteEscalationConfigPayloadV3 added in v1.0.9

type AlertRouteEscalationConfigPayloadV3 struct {
	// AutoCancelEscalations Should we auto cancel escalations when all alerts are resolved?
	AutoCancelEscalations bool `json:"auto_cancel_escalations"`

	// EscalationTargets Targets for escalation
	EscalationTargets   []AlertRouteEscalationTargetPayloadV3   `json:"escalation_targets"`
	WhenAlertJoinsGroup *AlertRouteWhenAlertJoinsGroupPayloadV3 `json:"when_alert_joins_group,omitempty"`
}

AlertRouteEscalationConfigPayloadV3 defines model for AlertRouteEscalationConfigPayloadV3.

type AlertRouteEscalationConfigV2 added in v1.0.1

type AlertRouteEscalationConfigV2 struct {
	// AutoCancelEscalations Should we auto cancel escalations when all alerts are resolved?
	AutoCancelEscalations bool `json:"auto_cancel_escalations"`

	// EscalationTargets Targets for escalation
	EscalationTargets []AlertRouteEscalationTargetV2 `json:"escalation_targets"`
}

AlertRouteEscalationConfigV2 defines model for AlertRouteEscalationConfigV2.

type AlertRouteEscalationConfigV3 added in v1.0.9

type AlertRouteEscalationConfigV3 struct {
	// AutoCancelEscalations Should we auto cancel escalations when all alerts are resolved?
	AutoCancelEscalations bool `json:"auto_cancel_escalations"`

	// EscalationTargets Targets for escalation
	EscalationTargets   []AlertRouteEscalationTargetV3   `json:"escalation_targets"`
	WhenAlertJoinsGroup *AlertRouteWhenAlertJoinsGroupV3 `json:"when_alert_joins_group,omitempty"`
}

AlertRouteEscalationConfigV3 defines model for AlertRouteEscalationConfigV3.

type AlertRouteEscalationTargetPayloadV2 added in v1.0.1

type AlertRouteEscalationTargetPayloadV2 struct {
	EscalationPaths *EngineParamBindingPayloadV2 `json:"escalation_paths,omitempty"`
	Users           *EngineParamBindingPayloadV2 `json:"users,omitempty"`
}

AlertRouteEscalationTargetPayloadV2 defines model for AlertRouteEscalationTargetPayloadV2.

type AlertRouteEscalationTargetPayloadV3 added in v1.0.9

type AlertRouteEscalationTargetPayloadV3 struct {
	EscalationPaths *EngineParamBindingPayloadV3 `json:"escalation_paths,omitempty"`
	Users           *EngineParamBindingPayloadV3 `json:"users,omitempty"`
}

AlertRouteEscalationTargetPayloadV3 defines model for AlertRouteEscalationTargetPayloadV3.

type AlertRouteEscalationTargetV2 added in v1.0.1

type AlertRouteEscalationTargetV2 struct {
	EscalationPaths *EngineParamBindingV2 `json:"escalation_paths,omitempty"`
	Users           *EngineParamBindingV2 `json:"users,omitempty"`
}

AlertRouteEscalationTargetV2 defines model for AlertRouteEscalationTargetV2.

type AlertRouteEscalationTargetV3 added in v1.0.9

type AlertRouteEscalationTargetV3 struct {
	EscalationPaths *EngineParamBindingV3 `json:"escalation_paths,omitempty"`
	Users           *EngineParamBindingV3 `json:"users,omitempty"`
}

AlertRouteEscalationTargetV3 defines model for AlertRouteEscalationTargetV3.

type AlertRouteIncidentConfigPayloadV2 added in v1.0.1

type AlertRouteIncidentConfigPayloadV2 struct {
	// AutoDeclineEnabled Should triage incidents be declined when alerts are resolved?
	AutoDeclineEnabled bool `json:"auto_decline_enabled"`

	// AutoRelateGroupedAlerts Should grouped alerts automatically be related to active incidents without confirmation?
	AutoRelateGroupedAlerts *bool `json:"auto_relate_grouped_alerts,omitempty"`

	// ConditionGroups What condition groups must be true for this alert route to create an incident?
	ConditionGroups []ConditionGroupPayloadV2 `json:"condition_groups"`

	// DeferTimeSeconds How long should the escalation defer time be?
	DeferTimeSeconds int32 `json:"defer_time_seconds"`

	// Enabled Whether incident creation is enabled for this alert route
	Enabled bool `json:"enabled"`

	// GroupingKeys Which attributes should this alert route use to group alerts?
	GroupingKeys []GroupingKeyV2 `json:"grouping_keys"`

	// GroupingWindowSeconds How large should the grouping window be?
	GroupingWindowSeconds int32 `json:"grouping_window_seconds"`
}

AlertRouteIncidentConfigPayloadV2 defines model for AlertRouteIncidentConfigPayloadV2.

type AlertRouteIncidentConfigPayloadV3 added in v1.0.9

type AlertRouteIncidentConfigPayloadV3 struct {
	// AutoDeclineEnabled Should triage incidents be declined when alerts are resolved? Required when incident creation is enabled, and must be unset otherwise.
	AutoDeclineEnabled *bool `json:"auto_decline_enabled,omitempty"`

	// ConditionGroups What condition groups must be true for this alert route to create an incident? Only set when incident creation is enabled.
	ConditionGroups *[]ConditionGroupPayloadV3 `json:"condition_groups,omitempty"`

	// Enabled Whether incident creation is enabled for this alert route
	Enabled          bool                         `json:"enabled"`
	IncidentTemplate *EngineParamBindingPayloadV3 `json:"incident_template,omitempty"`
	MembershipTeams  *EngineParamBindingPayloadV3 `json:"membership_teams,omitempty"`

	// Template The template this alert route applies to the incidents it creates. It must be unset when incident creation is disabled. Disabling incident creation clears a template the route already has.
	Template *AlertRouteIncidentTemplatePayloadV3 `json:"template,omitempty"`
}

AlertRouteIncidentConfigPayloadV3 defines model for AlertRouteIncidentConfigPayloadV3.

type AlertRouteIncidentConfigV2 added in v1.0.1

type AlertRouteIncidentConfigV2 struct {
	// AutoDeclineEnabled Should triage incidents be declined when alerts are resolved?
	AutoDeclineEnabled bool `json:"auto_decline_enabled"`

	// AutoRelateGroupedAlerts Should grouped alerts automatically be related to active incidents without confirmation?
	AutoRelateGroupedAlerts bool `json:"auto_relate_grouped_alerts"`

	// ConditionGroups What condition groups must be true for this alert route to create an incident?
	ConditionGroups []ConditionGroupV2 `json:"condition_groups"`

	// DeferTimeSeconds How long should the escalation defer time be?
	DeferTimeSeconds int32 `json:"defer_time_seconds"`

	// Enabled Whether incident creation is enabled for this alert route
	Enabled bool `json:"enabled"`

	// GroupingKeys Which attributes should this alert route use to group alerts?
	GroupingKeys []GroupingKeyV2 `json:"grouping_keys"`

	// GroupingWindowSeconds How large should the grouping window be?
	GroupingWindowSeconds int32 `json:"grouping_window_seconds"`
}

AlertRouteIncidentConfigV2 defines model for AlertRouteIncidentConfigV2.

type AlertRouteIncidentConfigV3 added in v1.0.9

type AlertRouteIncidentConfigV3 struct {
	// AutoDeclineEnabled Should triage incidents be declined when alerts are resolved? Only set when incident creation is enabled.
	AutoDeclineEnabled *bool `json:"auto_decline_enabled,omitempty"`

	// ConditionGroups What condition groups must be true for this alert route to create an incident? Only set when incident creation is enabled.
	ConditionGroups *[]ConditionGroupV3 `json:"condition_groups,omitempty"`

	// Enabled Whether incident creation is enabled for this alert route
	Enabled          bool                  `json:"enabled"`
	IncidentTemplate *EngineParamBindingV3 `json:"incident_template,omitempty"`
	MembershipTeams  *EngineParamBindingV3 `json:"membership_teams,omitempty"`

	// Template The template an alert route applies to the incidents it creates. Disabling incident creation clears it.
	Template *AlertRouteIncidentTemplateV3 `json:"template,omitempty"`
}

AlertRouteIncidentConfigV3 defines model for AlertRouteIncidentConfigV3.

type AlertRouteIncidentTemplatePayloadV2 added in v1.0.1

type AlertRouteIncidentTemplatePayloadV2 struct {
	// CustomFields Custom fields configuration
	CustomFields    *[]AlertRouteCustomFieldBindingPayloadV2         `json:"custom_fields,omitempty"`
	IncidentMode    *AlertRouteTemplateBindingPayloadV2              `json:"incident_mode,omitempty"`
	IncidentType    *AlertRouteTemplateBindingPayloadV2              `json:"incident_type,omitempty"`
	MembershipTeams *AlertRouteTemplateBindingPayloadV2              `json:"membership_teams,omitempty"`
	Name            AlertRouteAutoGeneratedTemplateBindingPayloadV2  `json:"name"`
	Severity        *AlertRouteSeverityBindingPayloadV2              `json:"severity,omitempty"`
	StartInTriage   *AlertRouteTemplateBindingPayloadV2              `json:"start_in_triage,omitempty"`
	Summary         *AlertRouteAutoGeneratedTemplateBindingPayloadV2 `json:"summary,omitempty"`
	Workspace       *AlertRouteTemplateBindingPayloadV2              `json:"workspace,omitempty"`
}

AlertRouteIncidentTemplatePayloadV2 defines model for AlertRouteIncidentTemplatePayloadV2.

type AlertRouteIncidentTemplatePayloadV3 added in v1.0.9

type AlertRouteIncidentTemplatePayloadV3 struct {
	// CustomFields Custom fields configuration
	CustomFields    *[]AlertRouteCustomFieldBindingPayloadV3         `json:"custom_fields,omitempty"`
	IncidentMode    *AlertRouteTemplateBindingPayloadV3              `json:"incident_mode,omitempty"`
	IncidentType    *AlertRouteTemplateBindingPayloadV3              `json:"incident_type,omitempty"`
	MembershipTeams *AlertRouteTemplateBindingPayloadV3              `json:"membership_teams,omitempty"`
	Name            AlertRouteAutoGeneratedTemplateBindingPayloadV3  `json:"name"`
	Severity        *AlertRouteSeverityBindingPayloadV3              `json:"severity,omitempty"`
	StartInTriage   *AlertRouteTemplateBindingPayloadV3              `json:"start_in_triage,omitempty"`
	Summary         *AlertRouteAutoGeneratedTemplateBindingPayloadV3 `json:"summary,omitempty"`
}

AlertRouteIncidentTemplatePayloadV3 The template this alert route applies to the incidents it creates. It must be unset when incident creation is disabled. Disabling incident creation clears a template the route already has.

type AlertRouteIncidentTemplateV2 added in v1.0.1

type AlertRouteIncidentTemplateV2 struct {
	// CustomFields Custom fields configuration
	CustomFields    *[]AlertRouteCustomFieldBindingV2         `json:"custom_fields,omitempty"`
	IncidentMode    *AlertRouteTemplateBindingV2              `json:"incident_mode,omitempty"`
	IncidentType    *AlertRouteTemplateBindingV2              `json:"incident_type,omitempty"`
	MembershipTeams *AlertRouteTemplateBindingV2              `json:"membership_teams,omitempty"`
	Name            AlertRouteAutoGeneratedTemplateBindingV2  `json:"name"`
	Severity        *AlertRouteSeverityBindingV2              `json:"severity,omitempty"`
	StartInTriage   *AlertRouteTemplateBindingV2              `json:"start_in_triage,omitempty"`
	Summary         *AlertRouteAutoGeneratedTemplateBindingV2 `json:"summary,omitempty"`
	Workspace       *AlertRouteTemplateBindingV2              `json:"workspace,omitempty"`
}

AlertRouteIncidentTemplateV2 defines model for AlertRouteIncidentTemplateV2.

type AlertRouteIncidentTemplateV3 added in v1.0.9

type AlertRouteIncidentTemplateV3 struct {
	// CustomFields Custom fields configuration
	CustomFields    *[]AlertRouteCustomFieldBindingV3         `json:"custom_fields,omitempty"`
	IncidentMode    *AlertRouteTemplateBindingV3              `json:"incident_mode,omitempty"`
	IncidentType    *AlertRouteTemplateBindingV3              `json:"incident_type,omitempty"`
	MembershipTeams *AlertRouteTemplateBindingV3              `json:"membership_teams,omitempty"`
	Name            AlertRouteAutoGeneratedTemplateBindingV3  `json:"name"`
	Severity        *AlertRouteSeverityBindingV3              `json:"severity,omitempty"`
	StartInTriage   *AlertRouteTemplateBindingV3              `json:"start_in_triage,omitempty"`
	Summary         *AlertRouteAutoGeneratedTemplateBindingV3 `json:"summary,omitempty"`
}

AlertRouteIncidentTemplateV3 The template an alert route applies to the incidents it creates. Disabling incident creation clears it.

type AlertRouteSeverityBindingPayloadV2 added in v1.0.1

type AlertRouteSeverityBindingPayloadV2 struct {
	Binding *EngineParamBindingPayloadV2 `json:"binding,omitempty"`

	// MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident
	MergeStrategy AlertRouteSeverityBindingPayloadV2MergeStrategy `json:"merge_strategy"`
}

AlertRouteSeverityBindingPayloadV2 defines model for AlertRouteSeverityBindingPayloadV2.

type AlertRouteSeverityBindingPayloadV2MergeStrategy added in v1.0.1

type AlertRouteSeverityBindingPayloadV2MergeStrategy string

AlertRouteSeverityBindingPayloadV2MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident

const (
	AlertRouteSeverityBindingPayloadV2MergeStrategyFirstWins AlertRouteSeverityBindingPayloadV2MergeStrategy = "first-wins"
	AlertRouteSeverityBindingPayloadV2MergeStrategyMax       AlertRouteSeverityBindingPayloadV2MergeStrategy = "max"
)

Defines values for AlertRouteSeverityBindingPayloadV2MergeStrategy.

func (AlertRouteSeverityBindingPayloadV2MergeStrategy) Valid added in v1.0.1

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

type AlertRouteSeverityBindingPayloadV3 added in v1.0.9

type AlertRouteSeverityBindingPayloadV3 struct {
	Binding *EngineParamBindingPayloadV3 `json:"binding,omitempty"`

	// MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident
	MergeStrategy AlertRouteSeverityBindingPayloadV3MergeStrategy `json:"merge_strategy"`
}

AlertRouteSeverityBindingPayloadV3 defines model for AlertRouteSeverityBindingPayloadV3.

type AlertRouteSeverityBindingPayloadV3MergeStrategy added in v1.0.9

type AlertRouteSeverityBindingPayloadV3MergeStrategy string

AlertRouteSeverityBindingPayloadV3MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident

const (
	AlertRouteSeverityBindingPayloadV3MergeStrategyFirstWins AlertRouteSeverityBindingPayloadV3MergeStrategy = "first-wins"
	AlertRouteSeverityBindingPayloadV3MergeStrategyMax       AlertRouteSeverityBindingPayloadV3MergeStrategy = "max"
)

Defines values for AlertRouteSeverityBindingPayloadV3MergeStrategy.

func (AlertRouteSeverityBindingPayloadV3MergeStrategy) Valid added in v1.0.9

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

type AlertRouteSeverityBindingV2 added in v1.0.1

type AlertRouteSeverityBindingV2 struct {
	Binding *EngineParamBindingV2 `json:"binding,omitempty"`

	// MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident
	MergeStrategy AlertRouteSeverityBindingV2MergeStrategy `json:"merge_strategy"`
}

AlertRouteSeverityBindingV2 defines model for AlertRouteSeverityBindingV2.

type AlertRouteSeverityBindingV2MergeStrategy added in v1.0.1

type AlertRouteSeverityBindingV2MergeStrategy string

AlertRouteSeverityBindingV2MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident

const (
	AlertRouteSeverityBindingV2MergeStrategyFirstWins AlertRouteSeverityBindingV2MergeStrategy = "first-wins"
	AlertRouteSeverityBindingV2MergeStrategyMax       AlertRouteSeverityBindingV2MergeStrategy = "max"
)

Defines values for AlertRouteSeverityBindingV2MergeStrategy.

func (AlertRouteSeverityBindingV2MergeStrategy) Valid added in v1.0.1

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

type AlertRouteSeverityBindingV3 added in v1.0.9

type AlertRouteSeverityBindingV3 struct {
	Binding *EngineParamBindingV3 `json:"binding,omitempty"`

	// MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident
	MergeStrategy AlertRouteSeverityBindingV3MergeStrategy `json:"merge_strategy"`
}

AlertRouteSeverityBindingV3 defines model for AlertRouteSeverityBindingV3.

type AlertRouteSeverityBindingV3MergeStrategy added in v1.0.9

type AlertRouteSeverityBindingV3MergeStrategy string

AlertRouteSeverityBindingV3MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident

const (
	AlertRouteSeverityBindingV3MergeStrategyFirstWins AlertRouteSeverityBindingV3MergeStrategy = "first-wins"
	AlertRouteSeverityBindingV3MergeStrategyMax       AlertRouteSeverityBindingV3MergeStrategy = "max"
)

Defines values for AlertRouteSeverityBindingV3MergeStrategy.

func (AlertRouteSeverityBindingV3MergeStrategy) Valid added in v1.0.9

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

type AlertRouteSlimV2 added in v1.0.1

type AlertRouteSlimV2 struct {
	// Enabled Whether this alert route is enabled or not
	Enabled bool `json:"enabled"`

	// Id Unique identifier for this alert route config
	Id string `json:"id"`

	// Name The name of this alert route config, for the user's reference
	Name string `json:"name"`
}

AlertRouteSlimV2 defines model for AlertRouteSlimV2.

type AlertRouteSlimV3 added in v1.0.9

type AlertRouteSlimV3 struct {
	// Enabled Whether this alert route is enabled or not
	Enabled bool `json:"enabled"`

	// Id Unique identifier for this alert route config
	Id string `json:"id"`

	// Name The name of this alert route config, for the user's reference
	Name string `json:"name"`
}

AlertRouteSlimV3 defines model for AlertRouteSlimV3.

type AlertRouteTemplateBindingPayloadV2 added in v1.0.1

type AlertRouteTemplateBindingPayloadV2 struct {
	Binding *EngineParamBindingPayloadV2 `json:"binding,omitempty"`
}

AlertRouteTemplateBindingPayloadV2 defines model for AlertRouteTemplateBindingPayloadV2.

type AlertRouteTemplateBindingPayloadV3 added in v1.0.9

type AlertRouteTemplateBindingPayloadV3 struct {
	Binding *EngineParamBindingPayloadV3 `json:"binding,omitempty"`
}

AlertRouteTemplateBindingPayloadV3 defines model for AlertRouteTemplateBindingPayloadV3.

type AlertRouteTemplateBindingV2 added in v1.0.1

type AlertRouteTemplateBindingV2 struct {
	Binding *EngineParamBindingV2 `json:"binding,omitempty"`
}

AlertRouteTemplateBindingV2 defines model for AlertRouteTemplateBindingV2.

type AlertRouteTemplateBindingV3 added in v1.0.9

type AlertRouteTemplateBindingV3 struct {
	Binding *EngineParamBindingV3 `json:"binding,omitempty"`
}

AlertRouteTemplateBindingV3 defines model for AlertRouteTemplateBindingV3.

type AlertRouteV2 added in v1.0.1

type AlertRouteV2 struct {
	// AlertSources Which alert sources should this alert route match?
	AlertSources []AlertRouteAlertSourceV2 `json:"alert_sources"`

	// ChannelConfig The channel configuration for this alert route
	ChannelConfig []AlertRouteChannelConfigV2 `json:"channel_config"`

	// ConditionGroups What condition groups must be true for this alert route to fire?
	ConditionGroups []ConditionGroupV2 `json:"condition_groups"`

	// CreatedAt The time of creation of this alert route
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Enabled Whether this alert route is enabled or not
	Enabled          bool                         `json:"enabled"`
	EscalationConfig AlertRouteEscalationConfigV2 `json:"escalation_config"`

	// Expressions The expressions used in this template
	Expressions []ExpressionV2 `json:"expressions"`

	// Id Unique identifier for this alert route config
	Id               string                       `json:"id"`
	IncidentConfig   AlertRouteIncidentConfigV2   `json:"incident_config"`
	IncidentTemplate AlertRouteIncidentTemplateV2 `json:"incident_template"`

	// IsPrivate Whether this alert route is private. Private alert routes will only create private incidents from alerts.
	IsPrivate       bool                  `json:"is_private"`
	MessageTemplate *EngineParamBindingV2 `json:"message_template,omitempty"`

	// Name The name of this alert route config, for the user's reference
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert route
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// UpdatedAt The time of last update of this alert route
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Version The version of this alert route config
	Version int64 `json:"version"`
}

AlertRouteV2 defines model for AlertRouteV2.

type AlertRouteV3 added in v1.0.9

type AlertRouteV3 struct {
	// AlertSources Which alert sources this route matches
	AlertSources []AlertRouteAlertSourceV3 `json:"alert_sources"`

	// ConditionGroups Filter: the condition groups that must be true for this route to fire
	ConditionGroups []ConditionGroupV3 `json:"condition_groups"`

	// CreatedAt When this alert route was created
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Enabled Whether this alert route is enabled
	Enabled          bool                         `json:"enabled"`
	EscalationConfig AlertRouteEscalationConfigV3 `json:"escalation_config"`

	// Expressions The expressions used by bindings in this route
	Expressions    []ExpressionV3        `json:"expressions"`
	GroupingConfig AlertGroupingConfigV3 `json:"grouping_config"`

	// Id Unique identifier for this alert route
	Id             string                     `json:"id"`
	IncidentConfig AlertRouteIncidentConfigV3 `json:"incident_config"`

	// IsPrivate Whether this alert route is private. Private alert routes only create private incidents from alerts.
	IsPrivate     bool                 `json:"is_private"`
	MessageConfig AlertMessageConfigV3 `json:"message_config"`

	// Name The name of this alert route, for the user's reference
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert route
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// UpdatedAt When this alert route was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Version The version of this alert route
	Version int64 `json:"version"`
}

AlertRouteV3 defines model for AlertRouteV3.

type AlertRouteWhenAlertJoinsGroupPayloadV3 added in v1.0.9

type AlertRouteWhenAlertJoinsGroupPayloadV3 struct {
	// GracePeriodSeconds How long to wait before escalating once an alert joins the group, in seconds. Only applies when mode is 'on_each_new_alert', and must be unset when mode is 'on_priority_increase'. Must be between 0 and 3600 (1 hour).
	GracePeriodSeconds *int32 `json:"grace_period_seconds,omitempty"`

	// Mode When a subsequent alert joins an existing group, when should we escalate again?
	Mode AlertRouteWhenAlertJoinsGroupPayloadV3Mode `json:"mode"`
}

AlertRouteWhenAlertJoinsGroupPayloadV3 defines model for AlertRouteWhenAlertJoinsGroupPayloadV3.

type AlertRouteWhenAlertJoinsGroupPayloadV3Mode added in v1.0.9

type AlertRouteWhenAlertJoinsGroupPayloadV3Mode string

AlertRouteWhenAlertJoinsGroupPayloadV3Mode When a subsequent alert joins an existing group, when should we escalate again?

const (
	AlertRouteWhenAlertJoinsGroupPayloadV3ModeOnEachNewAlert     AlertRouteWhenAlertJoinsGroupPayloadV3Mode = "on_each_new_alert"
	AlertRouteWhenAlertJoinsGroupPayloadV3ModeOnPriorityIncrease AlertRouteWhenAlertJoinsGroupPayloadV3Mode = "on_priority_increase"
)

Defines values for AlertRouteWhenAlertJoinsGroupPayloadV3Mode.

func (AlertRouteWhenAlertJoinsGroupPayloadV3Mode) Valid added in v1.0.9

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

type AlertRouteWhenAlertJoinsGroupV3 added in v1.0.9

type AlertRouteWhenAlertJoinsGroupV3 struct {
	// GracePeriodSeconds How long to wait before escalating once an alert joins the group, in seconds. Only applies when mode is 'on_each_new_alert'.
	GracePeriodSeconds *int32 `json:"grace_period_seconds,omitempty"`

	// Mode When a subsequent alert joins an existing group, when should we escalate again?
	Mode AlertRouteWhenAlertJoinsGroupV3Mode `json:"mode"`
}

AlertRouteWhenAlertJoinsGroupV3 defines model for AlertRouteWhenAlertJoinsGroupV3.

type AlertRouteWhenAlertJoinsGroupV3Mode added in v1.0.9

type AlertRouteWhenAlertJoinsGroupV3Mode string

AlertRouteWhenAlertJoinsGroupV3Mode When a subsequent alert joins an existing group, when should we escalate again?

const (
	AlertRouteWhenAlertJoinsGroupV3ModeOnEachNewAlert     AlertRouteWhenAlertJoinsGroupV3Mode = "on_each_new_alert"
	AlertRouteWhenAlertJoinsGroupV3ModeOnPriorityIncrease AlertRouteWhenAlertJoinsGroupV3Mode = "on_priority_increase"
)

Defines values for AlertRouteWhenAlertJoinsGroupV3Mode.

func (AlertRouteWhenAlertJoinsGroupV3Mode) Valid added in v1.0.9

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

type AlertRoutesCreatePayloadV2 added in v1.0.1

type AlertRoutesCreatePayloadV2 struct {
	// AlertSources Which alert sources should this alert route match?
	AlertSources []AlertRouteAlertSourcePayloadV2 `json:"alert_sources"`

	// ChannelConfig The channel configuration for this alert route
	ChannelConfig []AlertRouteChannelConfigPayloadV2 `json:"channel_config"`

	// ConditionGroups What condition groups must be true for this alert route to fire?
	ConditionGroups []ConditionGroupPayloadV2 `json:"condition_groups"`

	// CreatedAt The time of creation of this alert route
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Enabled Whether this alert route is enabled or not
	Enabled          bool                                `json:"enabled"`
	EscalationConfig AlertRouteEscalationConfigPayloadV2 `json:"escalation_config"`

	// Expressions The expressions used in this template
	Expressions      []ExpressionPayloadV2               `json:"expressions"`
	IncidentConfig   AlertRouteIncidentConfigPayloadV2   `json:"incident_config"`
	IncidentTemplate AlertRouteIncidentTemplatePayloadV2 `json:"incident_template"`

	// IsPrivate Whether this alert route is private. Private alert routes will only create private incidents from alerts.
	IsPrivate       bool                         `json:"is_private"`
	MessageTemplate *EngineParamBindingPayloadV2 `json:"message_template,omitempty"`

	// Name The name of this alert route config, for the user's reference
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert route
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// UpdatedAt The time of last update of this alert route
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

AlertRoutesCreatePayloadV2 defines model for AlertRoutesCreatePayloadV2.

type AlertRoutesCreatePayloadV3 added in v1.0.9

type AlertRoutesCreatePayloadV3 struct {
	// AlertSources Which alert sources this route matches
	AlertSources []AlertRouteAlertSourcePayloadV3 `json:"alert_sources"`

	// ConditionGroups Filter: the condition groups that must be true for this route to fire
	ConditionGroups []ConditionGroupPayloadV3 `json:"condition_groups"`

	// Enabled Whether this alert route is enabled
	Enabled          bool                                `json:"enabled"`
	EscalationConfig AlertRouteEscalationConfigPayloadV3 `json:"escalation_config"`

	// Expressions The expressions used by bindings in this route
	Expressions    []ExpressionPayloadV3             `json:"expressions"`
	GroupingConfig AlertGroupingConfigV3             `json:"grouping_config"`
	IncidentConfig AlertRouteIncidentConfigPayloadV3 `json:"incident_config"`

	// IsPrivate Whether this alert route is private. Private alert routes only create private incidents from alerts.
	IsPrivate     bool                        `json:"is_private"`
	MessageConfig AlertMessageConfigPayloadV3 `json:"message_config"`

	// Name The name of this alert route, for the user's reference
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert route
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`
}

AlertRoutesCreatePayloadV3 defines model for AlertRoutesCreatePayloadV3.

type AlertRoutesCreateResultV2 added in v1.0.1

type AlertRoutesCreateResultV2 struct {
	AlertRoute AlertRouteV2 `json:"alert_route"`
}

AlertRoutesCreateResultV2 defines model for AlertRoutesCreateResultV2.

type AlertRoutesCreateResultV3 added in v1.0.9

type AlertRoutesCreateResultV3 struct {
	AlertRoute AlertRouteV3 `json:"alert_route"`
}

AlertRoutesCreateResultV3 defines model for AlertRoutesCreateResultV3.

type AlertRoutesListResultV2 added in v1.0.1

type AlertRoutesListResultV2 struct {
	AlertRoutes    []AlertRouteSlimV2     `json:"alert_routes"`
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
}

AlertRoutesListResultV2 defines model for AlertRoutesListResultV2.

type AlertRoutesListResultV3 added in v1.0.9

type AlertRoutesListResultV3 struct {
	AlertRoutes    []AlertRouteSlimV3     `json:"alert_routes"`
	PaginationMeta PaginationMetaResultV3 `json:"pagination_meta"`
}

AlertRoutesListResultV3 defines model for AlertRoutesListResultV3.

type AlertRoutesShowResultV2 added in v1.0.1

type AlertRoutesShowResultV2 struct {
	AlertRoute AlertRouteV2 `json:"alert_route"`
}

AlertRoutesShowResultV2 defines model for AlertRoutesShowResultV2.

type AlertRoutesShowResultV3 added in v1.0.9

type AlertRoutesShowResultV3 struct {
	AlertRoute AlertRouteV3 `json:"alert_route"`
}

AlertRoutesShowResultV3 defines model for AlertRoutesShowResultV3.

type AlertRoutesUpdatePayloadV2 added in v1.0.1

type AlertRoutesUpdatePayloadV2 struct {
	// AlertSources Which alert sources should this alert route match?
	AlertSources []AlertRouteAlertSourcePayloadV2 `json:"alert_sources"`

	// ChannelConfig The channel configuration for this alert route
	ChannelConfig []AlertRouteChannelConfigPayloadV2 `json:"channel_config"`

	// ConditionGroups What condition groups must be true for this alert route to fire?
	ConditionGroups []ConditionGroupPayloadV2 `json:"condition_groups"`

	// CreatedAt The time of creation of this alert route
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Enabled Whether this alert route is enabled or not
	Enabled          bool                                `json:"enabled"`
	EscalationConfig AlertRouteEscalationConfigPayloadV2 `json:"escalation_config"`

	// Expressions The expressions used in this template
	Expressions      []ExpressionPayloadV2               `json:"expressions"`
	IncidentConfig   AlertRouteIncidentConfigPayloadV2   `json:"incident_config"`
	IncidentTemplate AlertRouteIncidentTemplatePayloadV2 `json:"incident_template"`

	// IsPrivate Whether this alert route is private. Private alert routes will only create private incidents from alerts.
	IsPrivate       bool                         `json:"is_private"`
	MessageTemplate *EngineParamBindingPayloadV2 `json:"message_template,omitempty"`

	// Name The name of this alert route config, for the user's reference
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert route
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// UpdatedAt The time of last update of this alert route
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Version The version this update will create. It must be one more than the route's latest version, otherwise the update is rejected - guarding against concurrent edits.
	Version int64 `json:"version"`
}

AlertRoutesUpdatePayloadV2 defines model for AlertRoutesUpdatePayloadV2.

type AlertRoutesUpdatePayloadV3 added in v1.0.9

type AlertRoutesUpdatePayloadV3 struct {
	// AlertSources Which alert sources this route matches
	AlertSources []AlertRouteAlertSourcePayloadV3 `json:"alert_sources"`

	// ConditionGroups Filter: the condition groups that must be true for this route to fire
	ConditionGroups []ConditionGroupPayloadV3 `json:"condition_groups"`

	// Enabled Whether this alert route is enabled
	Enabled          bool                                `json:"enabled"`
	EscalationConfig AlertRouteEscalationConfigPayloadV3 `json:"escalation_config"`

	// Expressions The expressions used by bindings in this route
	Expressions    []ExpressionPayloadV3             `json:"expressions"`
	GroupingConfig AlertGroupingConfigV3             `json:"grouping_config"`
	IncidentConfig AlertRouteIncidentConfigPayloadV3 `json:"incident_config"`

	// IsPrivate Whether this alert route is private. Private alert routes only create private incidents from alerts.
	IsPrivate     bool                        `json:"is_private"`
	MessageConfig AlertMessageConfigPayloadV3 `json:"message_config"`

	// Name The name of this alert route, for the user's reference
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert route
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// Version The version this update will create. It must be one more than the route's latest version, otherwise the update is rejected - guarding against concurrent edits.
	Version int64 `json:"version"`
}

AlertRoutesUpdatePayloadV3 defines model for AlertRoutesUpdatePayloadV3.

type AlertRoutesUpdateResultV2 added in v1.0.1

type AlertRoutesUpdateResultV2 struct {
	AlertRoute AlertRouteV2 `json:"alert_route"`
}

AlertRoutesUpdateResultV2 defines model for AlertRoutesUpdateResultV2.

type AlertRoutesUpdateResultV3 added in v1.0.9

type AlertRoutesUpdateResultV3 struct {
	AlertRoute AlertRouteV3 `json:"alert_route"`
}

AlertRoutesUpdateResultV3 defines model for AlertRoutesUpdateResultV3.

type AlertRoutesV2CreateJSONRequestBody added in v1.0.1

type AlertRoutesV2CreateJSONRequestBody = AlertRoutesCreatePayloadV2

AlertRoutesV2CreateJSONRequestBody defines body for AlertRoutesV2Create for application/json ContentType.

type AlertRoutesV2CreateResponse added in v1.0.1

type AlertRoutesV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AlertRoutesCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV2CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertRoutesV2CreateResponse) StatusCode added in v1.0.1

func (r AlertRoutesV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV2DeleteResponse added in v1.0.1

type AlertRoutesV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV2DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertRoutesV2DeleteResponse) StatusCode added in v1.0.1

func (r AlertRoutesV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV2ListParams added in v1.0.1

type AlertRoutesV2ListParams struct {
	// PageSize Number of alert routes to return per page
	PageSize int64 `form:"page_size" json:"page_size"`

	// After The ID of the last alert route on the previous page
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

AlertRoutesV2ListParams defines parameters for AlertRoutesV2List.

type AlertRoutesV2ListResponse added in v1.0.1

type AlertRoutesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertRoutesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV2ListResponse) Status added in v1.0.1

func (r AlertRoutesV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (AlertRoutesV2ListResponse) StatusCode added in v1.0.1

func (r AlertRoutesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV2ShowResponse added in v1.0.1

type AlertRoutesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertRoutesShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV2ShowResponse) Status added in v1.0.1

func (r AlertRoutesV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (AlertRoutesV2ShowResponse) StatusCode added in v1.0.1

func (r AlertRoutesV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV2UpdateJSONRequestBody added in v1.0.1

type AlertRoutesV2UpdateJSONRequestBody = AlertRoutesUpdatePayloadV2

AlertRoutesV2UpdateJSONRequestBody defines body for AlertRoutesV2Update for application/json ContentType.

type AlertRoutesV2UpdateResponse added in v1.0.1

type AlertRoutesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertRoutesUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV2UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertRoutesV2UpdateResponse) StatusCode added in v1.0.1

func (r AlertRoutesV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV3CreateJSONRequestBody added in v1.0.9

type AlertRoutesV3CreateJSONRequestBody = AlertRoutesCreatePayloadV3

AlertRoutesV3CreateJSONRequestBody defines body for AlertRoutesV3Create for application/json ContentType.

type AlertRoutesV3CreateResponse added in v1.0.9

type AlertRoutesV3CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AlertRoutesCreateResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV3CreateResponse) Status added in v1.0.9

Status returns HTTPResponse.Status

func (AlertRoutesV3CreateResponse) StatusCode added in v1.0.9

func (r AlertRoutesV3CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV3DeleteResponse added in v1.0.9

type AlertRoutesV3DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV3DeleteResponse) Status added in v1.0.9

Status returns HTTPResponse.Status

func (AlertRoutesV3DeleteResponse) StatusCode added in v1.0.9

func (r AlertRoutesV3DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV3ListParams added in v1.0.9

type AlertRoutesV3ListParams struct {
	// PageSize Number of alert routes to return per page
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After The ID of the last alert route on the previous page
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

AlertRoutesV3ListParams defines parameters for AlertRoutesV3List.

type AlertRoutesV3ListResponse added in v1.0.9

type AlertRoutesV3ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertRoutesListResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV3ListResponse) Status added in v1.0.9

func (r AlertRoutesV3ListResponse) Status() string

Status returns HTTPResponse.Status

func (AlertRoutesV3ListResponse) StatusCode added in v1.0.9

func (r AlertRoutesV3ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV3ShowResponse added in v1.0.9

type AlertRoutesV3ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertRoutesShowResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV3ShowResponse) Status added in v1.0.9

func (r AlertRoutesV3ShowResponse) Status() string

Status returns HTTPResponse.Status

func (AlertRoutesV3ShowResponse) StatusCode added in v1.0.9

func (r AlertRoutesV3ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertRoutesV3UpdateJSONRequestBody added in v1.0.9

type AlertRoutesV3UpdateJSONRequestBody = AlertRoutesUpdatePayloadV3

AlertRoutesV3UpdateJSONRequestBody defines body for AlertRoutesV3Update for application/json ContentType.

type AlertRoutesV3UpdateResponse added in v1.0.9

type AlertRoutesV3UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertRoutesUpdateResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertRoutesV3UpdateResponse) Status added in v1.0.9

Status returns HTTPResponse.Status

func (AlertRoutesV3UpdateResponse) StatusCode added in v1.0.9

func (r AlertRoutesV3UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertSlimV2 added in v1.0.1

type AlertSlimV2 struct {
	// AlertGroupIds The IDs of every alert group this alert belongs to. Empty when the alert is not part of any group.
	AlertGroupIds *[]string `json:"alert_group_ids,omitempty"`

	// AlertSourceId The ID of the alert source this alert fired on
	AlertSourceId string `json:"alert_source_id"`

	// CreatedAt When this entry was created
	CreatedAt time.Time `json:"created_at"`

	// DeduplicationKey A deduplication key which uniquely references this alert from your alert source. For newly created HTTP sources, this field is required.
	// If you send an event with the same deduplication_key multiple times, only one alert will be created in incident.io for this alert source config.
	// You can filter on this field to find the alert created by an event you've sent us.
	DeduplicationKey string `json:"deduplication_key"`

	// Description The description of the alert
	Description *string `json:"description,omitempty"`

	// Id The ID of this alert
	Id string `json:"id"`

	// ResolvedAt When this alert was resolved
	ResolvedAt *time.Time `json:"resolved_at,omitempty"`

	// SourceUrl If applicable, a link to the alert in the upstream system
	SourceUrl *string `json:"source_url,omitempty"`

	// Status Statuses of an alert
	Status AlertSlimV2Status `json:"status"`

	// Title The title of the alert, parsed from the alert payload according to the alert source configuration
	Title string `json:"title"`

	// UpdatedAt When this alert was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

AlertSlimV2 defines model for AlertSlimV2.

type AlertSlimV2Status added in v1.0.1

type AlertSlimV2Status string

AlertSlimV2Status Statuses of an alert

const (
	AlertSlimV2StatusFiring   AlertSlimV2Status = "firing"
	AlertSlimV2StatusResolved AlertSlimV2Status = "resolved"
)

Defines values for AlertSlimV2Status.

func (AlertSlimV2Status) Valid added in v1.0.1

func (e AlertSlimV2Status) Valid() bool

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

type AlertSourceAzureDevopsOptionsV2 added in v1.0.74

type AlertSourceAzureDevopsOptionsV2 struct {
	// ProjectIds Which Azure DevOps projects should this alert source watch for work item updates? IDs can either be IDs of the projects in Azure DevOps, or IDs of catalog entries in the 'Azure DevOps Project' catalog type.
	ProjectIds []string `json:"project_ids"`
}

AlertSourceAzureDevopsOptionsV2 defines model for AlertSourceAzureDevopsOptionsV2.

type AlertSourceEmailOptionsPayloadV2 added in v1.0.1

type AlertSourceEmailOptionsPayloadV2 struct {
	// Redactions Which PII types to automatically redact from incoming email content before storage
	Redactions []AlertSourceEmailOptionsPayloadV2Redactions `json:"redactions"`

	// TransformExpression JavaScript expression to transform email fields into structured alert fields
	TransformExpression *string `json:"transform_expression,omitempty"`
}

AlertSourceEmailOptionsPayloadV2 defines model for AlertSourceEmailOptionsPayloadV2.

type AlertSourceEmailOptionsPayloadV2Redactions added in v1.0.1

type AlertSourceEmailOptionsPayloadV2Redactions string

AlertSourceEmailOptionsPayloadV2Redactions Which PII type to automatically redact from incoming email content before storage

const (
	AlertSourceEmailOptionsPayloadV2RedactionsCreditCardNumbers       AlertSourceEmailOptionsPayloadV2Redactions = "credit_card_numbers"
	AlertSourceEmailOptionsPayloadV2RedactionsPhoneNumbers            AlertSourceEmailOptionsPayloadV2Redactions = "phone_numbers"
	AlertSourceEmailOptionsPayloadV2RedactionsUsSocialSecurityNumbers AlertSourceEmailOptionsPayloadV2Redactions = "us_social_security_numbers"
)

Defines values for AlertSourceEmailOptionsPayloadV2Redactions.

func (AlertSourceEmailOptionsPayloadV2Redactions) Valid added in v1.0.1

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

type AlertSourceEmailOptionsV2 added in v1.0.1

type AlertSourceEmailOptionsV2 struct {
	// EmailAddress Email address this alert source receives alerts to
	EmailAddress string `json:"email_address"`

	// Redactions Which PII types to automatically redact from incoming email content before storage
	Redactions []AlertSourceEmailOptionsV2Redactions `json:"redactions"`

	// TransformExpression JavaScript expression to transform email fields into structured alert fields
	TransformExpression *string `json:"transform_expression,omitempty"`
}

AlertSourceEmailOptionsV2 defines model for AlertSourceEmailOptionsV2.

type AlertSourceEmailOptionsV2Redactions added in v1.0.1

type AlertSourceEmailOptionsV2Redactions string

AlertSourceEmailOptionsV2Redactions Which PII type to automatically redact from incoming email content before storage

const (
	AlertSourceEmailOptionsV2RedactionsCreditCardNumbers       AlertSourceEmailOptionsV2Redactions = "credit_card_numbers"
	AlertSourceEmailOptionsV2RedactionsPhoneNumbers            AlertSourceEmailOptionsV2Redactions = "phone_numbers"
	AlertSourceEmailOptionsV2RedactionsUsSocialSecurityNumbers AlertSourceEmailOptionsV2Redactions = "us_social_security_numbers"
)

Defines values for AlertSourceEmailOptionsV2Redactions.

func (AlertSourceEmailOptionsV2Redactions) Valid added in v1.0.1

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

type AlertSourceHTTPCustomOptionsV2 added in v1.0.1

type AlertSourceHTTPCustomOptionsV2 struct {
	// DeduplicationKeyPath JSON path to extract the deduplication key from the payload
	DeduplicationKeyPath string `json:"deduplication_key_path"`

	// TransformExpression JavaScript expression that returns an object with all alert fields
	TransformExpression string `json:"transform_expression"`
}

AlertSourceHTTPCustomOptionsV2 defines model for AlertSourceHTTPCustomOptionsV2.

type AlertSourceHeartbeatOptionsPayloadV2 added in v1.0.1

type AlertSourceHeartbeatOptionsPayloadV2 struct {
	// FailureThreshold Number of consecutive missed pings before an alert fires.
	FailureThreshold *int64 `json:"failure_threshold,omitempty"`

	// GracePeriodSeconds How long after a missed ping before the heartbeat is considered late, in seconds. If zero, it transitions directly to failing.
	GracePeriodSeconds *int64 `json:"grace_period_seconds,omitempty"`

	// IntervalSeconds How often a ping is expected, in seconds.
	IntervalSeconds int64 `json:"interval_seconds"`
}

AlertSourceHeartbeatOptionsPayloadV2 defines model for AlertSourceHeartbeatOptionsPayloadV2.

type AlertSourceHeartbeatOptionsV2 added in v1.0.1

type AlertSourceHeartbeatOptionsV2 struct {
	// FailureThreshold Number of consecutive missed pings before an alert fires.
	FailureThreshold int64 `json:"failure_threshold"`

	// GracePeriodSeconds How long after a missed ping before the heartbeat is considered late, in seconds. If zero, it transitions directly to failing.
	GracePeriodSeconds int64 `json:"grace_period_seconds"`

	// IntervalSeconds How often a ping is expected, in seconds.
	IntervalSeconds int64 `json:"interval_seconds"`

	// PingUrl The URL to POST to in order to send a heartbeat ping.
	PingUrl string `json:"ping_url"`
}

AlertSourceHeartbeatOptionsV2 defines model for AlertSourceHeartbeatOptionsV2.

type AlertSourceJiraOptionsV2 added in v1.0.1

type AlertSourceJiraOptionsV2 struct {
	// ProjectIds Which projects in Jira should this alert source watch for new issues? IDs can either be IDs of the projects in Jira, or ID of catalog entries in the 'Jira Project' catalog type.
	ProjectIds []string `json:"project_ids"`
}

AlertSourceJiraOptionsV2 defines model for AlertSourceJiraOptionsV2.

type AlertSourceRateLimitShardingV2 added in v1.0.76

type AlertSourceRateLimitShardingV2 struct {
	// RateLimitShardKeyPath JSON path to a value that splits this source's rate limit into per-value buckets.
	RateLimitShardKeyPath string `json:"rate_limit_shard_key_path"`
}

AlertSourceRateLimitShardingV2 Controls how this source's ingest rate limit is split into buckets.

type AlertSourceV2 added in v1.0.1

type AlertSourceV2 struct {
	// AlertEventsUrl URL that can be used to send alert events to this source. This is only set for sources that accept webhook/HTTP events; email sources use the email_address field, and integration-based sources (like Jira) receive events through their native integrations.
	AlertEventsUrl *string `json:"alert_events_url,omitempty"`

	// AutoResolveIncidentAlerts Whether alerts from this source keep counting down to auto-resolve while attached to an incident. Defaults to true. Has no effect without auto_resolve_timeout_minutes.
	AutoResolveIncidentAlerts *bool `json:"auto_resolve_incident_alerts,omitempty"`

	// AutoResolveTimeoutMinutes When set, alerts from this source will automatically resolve after this many minutes.
	AutoResolveTimeoutMinutes *int64                           `json:"auto_resolve_timeout_minutes,omitempty"`
	AzureDevopsOptions        *AlertSourceAzureDevopsOptionsV2 `json:"azure_devops_options,omitempty"`
	EmailOptions              *AlertSourceEmailOptionsV2       `json:"email_options,omitempty"`

	// FilterConditionGroups Conditions an incoming event must match to be ingested from this source, evaluated against the event's payload and this source's expressions.
	FilterConditionGroups *[]ConditionGroupV2 `json:"filter_condition_groups,omitempty"`

	// FixedTeamId When set, the team every alert from this source is attributed to. The team attribute is managed from this field: its binding is not returned in the template and cannot be edited directly.
	FixedTeamId       *string                         `json:"fixed_team_id,omitempty"`
	HeartbeatOptions  *AlertSourceHeartbeatOptionsV2  `json:"heartbeat_options,omitempty"`
	HttpCustomOptions *AlertSourceHTTPCustomOptionsV2 `json:"http_custom_options,omitempty"`

	// Id The ID of this alert source
	Id          string                    `json:"id"`
	JiraOptions *AlertSourceJiraOptionsV2 `json:"jira_options,omitempty"`

	// Name Unique name of the alert source
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert source
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// RateLimitSharding Controls how this source's ingest rate limit is split into buckets.
	RateLimitSharding *AlertSourceRateLimitShardingV2 `json:"rate_limit_sharding,omitempty"`

	// SecretToken Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
	SecretToken *string `json:"secret_token,omitempty"`

	// SourceType Type of alert source
	SourceType AlertSourceV2SourceType `json:"source_type"`
	Template   AlertTemplateV2         `json:"template"`
}

AlertSourceV2 defines model for AlertSourceV2.

type AlertSourceV2SourceType added in v1.0.1

type AlertSourceV2SourceType string

AlertSourceV2SourceType Type of alert source

const (
	AlertSourceV2SourceTypeAlertmanager      AlertSourceV2SourceType = "alertmanager"
	AlertSourceV2SourceTypeAppOptics         AlertSourceV2SourceType = "app_optics"
	AlertSourceV2SourceTypeAzureDevops       AlertSourceV2SourceType = "azure_devops"
	AlertSourceV2SourceTypeAzureMonitor      AlertSourceV2SourceType = "azure_monitor"
	AlertSourceV2SourceTypeBigPanda          AlertSourceV2SourceType = "big_panda"
	AlertSourceV2SourceTypeBugsnag           AlertSourceV2SourceType = "bugsnag"
	AlertSourceV2SourceTypeCheckly           AlertSourceV2SourceType = "checkly"
	AlertSourceV2SourceTypeChronosphere      AlertSourceV2SourceType = "chronosphere"
	AlertSourceV2SourceTypeCloudflare        AlertSourceV2SourceType = "cloudflare"
	AlertSourceV2SourceTypeCloudwatch        AlertSourceV2SourceType = "cloudwatch"
	AlertSourceV2SourceTypeCoralogix         AlertSourceV2SourceType = "coralogix"
	AlertSourceV2SourceTypeCronitor          AlertSourceV2SourceType = "cronitor"
	AlertSourceV2SourceTypeCrowdstrikeFalcon AlertSourceV2SourceType = "crowdstrike_falcon"
	AlertSourceV2SourceTypeDash0             AlertSourceV2SourceType = "dash0"
	AlertSourceV2SourceTypeDatadog           AlertSourceV2SourceType = "datadog"
	AlertSourceV2SourceTypeDynatrace         AlertSourceV2SourceType = "dynatrace"
	AlertSourceV2SourceTypeElasticsearch     AlertSourceV2SourceType = "elasticsearch"
	AlertSourceV2SourceTypeEmail             AlertSourceV2SourceType = "email"
	AlertSourceV2SourceTypeExpel             AlertSourceV2SourceType = "expel"
	AlertSourceV2SourceTypeGithubIssue       AlertSourceV2SourceType = "github_issue"
	AlertSourceV2SourceTypeGoogleCloud       AlertSourceV2SourceType = "google_cloud"
	AlertSourceV2SourceTypeGrafana           AlertSourceV2SourceType = "grafana"
	AlertSourceV2SourceTypeHeartbeat         AlertSourceV2SourceType = "heartbeat"
	AlertSourceV2SourceTypeHoneycomb         AlertSourceV2SourceType = "honeycomb"
	AlertSourceV2SourceTypeHttp              AlertSourceV2SourceType = "http"
	AlertSourceV2SourceTypeHttpCustom        AlertSourceV2SourceType = "http_custom"
	AlertSourceV2SourceTypeIcinga2           AlertSourceV2SourceType = "icinga2"
	AlertSourceV2SourceTypeIncomingCalls     AlertSourceV2SourceType = "incoming_calls"
	AlertSourceV2SourceTypeJira              AlertSourceV2SourceType = "jira"
	AlertSourceV2SourceTypeJsm               AlertSourceV2SourceType = "jsm"
	AlertSourceV2SourceTypeMonteCarlo        AlertSourceV2SourceType = "monte_carlo"
	AlertSourceV2SourceTypeNagios            AlertSourceV2SourceType = "nagios"
	AlertSourceV2SourceTypeNewRelic          AlertSourceV2SourceType = "new_relic"
	AlertSourceV2SourceTypeOpsgenie          AlertSourceV2SourceType = "opsgenie"
	AlertSourceV2SourceTypePagerDuty         AlertSourceV2SourceType = "pager_duty"
	AlertSourceV2SourceTypePanther           AlertSourceV2SourceType = "panther"
	AlertSourceV2SourceTypePingdom           AlertSourceV2SourceType = "pingdom"
	AlertSourceV2SourceTypePrtg              AlertSourceV2SourceType = "prtg"
	AlertSourceV2SourceTypeRunscope          AlertSourceV2SourceType = "runscope"
	AlertSourceV2SourceTypeSalesforceCase    AlertSourceV2SourceType = "salesforce_case"
	AlertSourceV2SourceTypeSentry            AlertSourceV2SourceType = "sentry"
	AlertSourceV2SourceTypeSentryMetric      AlertSourceV2SourceType = "sentry_metric"
	AlertSourceV2SourceTypeServiceNow        AlertSourceV2SourceType = "service_now"
	AlertSourceV2SourceTypeSns               AlertSourceV2SourceType = "sns"
	AlertSourceV2SourceTypeSplunk            AlertSourceV2SourceType = "splunk"
	AlertSourceV2SourceTypeStatusCake        AlertSourceV2SourceType = "status_cake"
	AlertSourceV2SourceTypeStatusPageViews   AlertSourceV2SourceType = "status_page_views"
	AlertSourceV2SourceTypeSumoLogic         AlertSourceV2SourceType = "sumo_logic"
	AlertSourceV2SourceTypeUptime            AlertSourceV2SourceType = "uptime"
	AlertSourceV2SourceTypeVercel            AlertSourceV2SourceType = "vercel"
	AlertSourceV2SourceTypeWiz               AlertSourceV2SourceType = "wiz"
	AlertSourceV2SourceTypeZendesk           AlertSourceV2SourceType = "zendesk"
)

Defines values for AlertSourceV2SourceType.

func (AlertSourceV2SourceType) Valid added in v1.0.1

func (e AlertSourceV2SourceType) Valid() bool

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

type AlertSourcesCreatePayloadV2 added in v1.0.1

type AlertSourcesCreatePayloadV2 struct {
	// AutoResolveIncidentAlerts Whether alerts from this source keep counting down to auto-resolve while attached to an incident. Defaults to true. Has no effect without auto_resolve_timeout_minutes.
	AutoResolveIncidentAlerts *bool `json:"auto_resolve_incident_alerts,omitempty"`

	// AutoResolveTimeoutMinutes When set, alerts from this source will automatically resolve after this many minutes.
	AutoResolveTimeoutMinutes *int64                            `json:"auto_resolve_timeout_minutes,omitempty"`
	AzureDevopsOptions        *AlertSourceAzureDevopsOptionsV2  `json:"azure_devops_options,omitempty"`
	EmailOptions              *AlertSourceEmailOptionsPayloadV2 `json:"email_options,omitempty"`

	// FilterConditionGroups Conditions an incoming event must match to be ingested from this source, evaluated against the event's payload and this source's expressions. When empty or omitted, everything is ingested; otherwise a firing event that doesn't match is dropped and never creates or updates an alert. Resolve events are never filtered.
	FilterConditionGroups *[]ConditionGroupPayloadV2 `json:"filter_condition_groups,omitempty"`

	// FixedTeamId Fix the team every alert from this source is attributed to. While set, the team attribute is managed from this field: don't send its binding in the template.
	FixedTeamId       *string                               `json:"fixed_team_id,omitempty"`
	HeartbeatOptions  *AlertSourceHeartbeatOptionsPayloadV2 `json:"heartbeat_options,omitempty"`
	HttpCustomOptions *AlertSourceHTTPCustomOptionsV2       `json:"http_custom_options,omitempty"`
	JiraOptions       *AlertSourceJiraOptionsV2             `json:"jira_options,omitempty"`

	// Name Unique name of the alert source
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert source
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// RateLimitSharding Controls how this source's ingest rate limit is split into buckets.
	RateLimitSharding *AlertSourceRateLimitShardingV2 `json:"rate_limit_sharding,omitempty"`

	// SourceType Type of alert source
	SourceType AlertSourcesCreatePayloadV2SourceType `json:"source_type"`
	Template   AlertTemplatePayloadV2                `json:"template"`
}

AlertSourcesCreatePayloadV2 defines model for AlertSourcesCreatePayloadV2.

type AlertSourcesCreatePayloadV2SourceType added in v1.0.1

type AlertSourcesCreatePayloadV2SourceType string

AlertSourcesCreatePayloadV2SourceType Type of alert source

const (
	AlertSourcesCreatePayloadV2SourceTypeAlertmanager      AlertSourcesCreatePayloadV2SourceType = "alertmanager"
	AlertSourcesCreatePayloadV2SourceTypeAppOptics         AlertSourcesCreatePayloadV2SourceType = "app_optics"
	AlertSourcesCreatePayloadV2SourceTypeAzureDevops       AlertSourcesCreatePayloadV2SourceType = "azure_devops"
	AlertSourcesCreatePayloadV2SourceTypeAzureMonitor      AlertSourcesCreatePayloadV2SourceType = "azure_monitor"
	AlertSourcesCreatePayloadV2SourceTypeBigPanda          AlertSourcesCreatePayloadV2SourceType = "big_panda"
	AlertSourcesCreatePayloadV2SourceTypeBugsnag           AlertSourcesCreatePayloadV2SourceType = "bugsnag"
	AlertSourcesCreatePayloadV2SourceTypeCheckly           AlertSourcesCreatePayloadV2SourceType = "checkly"
	AlertSourcesCreatePayloadV2SourceTypeChronosphere      AlertSourcesCreatePayloadV2SourceType = "chronosphere"
	AlertSourcesCreatePayloadV2SourceTypeCloudflare        AlertSourcesCreatePayloadV2SourceType = "cloudflare"
	AlertSourcesCreatePayloadV2SourceTypeCloudwatch        AlertSourcesCreatePayloadV2SourceType = "cloudwatch"
	AlertSourcesCreatePayloadV2SourceTypeCoralogix         AlertSourcesCreatePayloadV2SourceType = "coralogix"
	AlertSourcesCreatePayloadV2SourceTypeCronitor          AlertSourcesCreatePayloadV2SourceType = "cronitor"
	AlertSourcesCreatePayloadV2SourceTypeCrowdstrikeFalcon AlertSourcesCreatePayloadV2SourceType = "crowdstrike_falcon"
	AlertSourcesCreatePayloadV2SourceTypeDash0             AlertSourcesCreatePayloadV2SourceType = "dash0"
	AlertSourcesCreatePayloadV2SourceTypeDatadog           AlertSourcesCreatePayloadV2SourceType = "datadog"
	AlertSourcesCreatePayloadV2SourceTypeDynatrace         AlertSourcesCreatePayloadV2SourceType = "dynatrace"
	AlertSourcesCreatePayloadV2SourceTypeElasticsearch     AlertSourcesCreatePayloadV2SourceType = "elasticsearch"
	AlertSourcesCreatePayloadV2SourceTypeEmail             AlertSourcesCreatePayloadV2SourceType = "email"
	AlertSourcesCreatePayloadV2SourceTypeExpel             AlertSourcesCreatePayloadV2SourceType = "expel"
	AlertSourcesCreatePayloadV2SourceTypeGithubIssue       AlertSourcesCreatePayloadV2SourceType = "github_issue"
	AlertSourcesCreatePayloadV2SourceTypeGoogleCloud       AlertSourcesCreatePayloadV2SourceType = "google_cloud"
	AlertSourcesCreatePayloadV2SourceTypeGrafana           AlertSourcesCreatePayloadV2SourceType = "grafana"
	AlertSourcesCreatePayloadV2SourceTypeHeartbeat         AlertSourcesCreatePayloadV2SourceType = "heartbeat"
	AlertSourcesCreatePayloadV2SourceTypeHoneycomb         AlertSourcesCreatePayloadV2SourceType = "honeycomb"
	AlertSourcesCreatePayloadV2SourceTypeHttp              AlertSourcesCreatePayloadV2SourceType = "http"
	AlertSourcesCreatePayloadV2SourceTypeHttpCustom        AlertSourcesCreatePayloadV2SourceType = "http_custom"
	AlertSourcesCreatePayloadV2SourceTypeIcinga2           AlertSourcesCreatePayloadV2SourceType = "icinga2"
	AlertSourcesCreatePayloadV2SourceTypeIncomingCalls     AlertSourcesCreatePayloadV2SourceType = "incoming_calls"
	AlertSourcesCreatePayloadV2SourceTypeJira              AlertSourcesCreatePayloadV2SourceType = "jira"
	AlertSourcesCreatePayloadV2SourceTypeJsm               AlertSourcesCreatePayloadV2SourceType = "jsm"
	AlertSourcesCreatePayloadV2SourceTypeMonteCarlo        AlertSourcesCreatePayloadV2SourceType = "monte_carlo"
	AlertSourcesCreatePayloadV2SourceTypeNagios            AlertSourcesCreatePayloadV2SourceType = "nagios"
	AlertSourcesCreatePayloadV2SourceTypeNewRelic          AlertSourcesCreatePayloadV2SourceType = "new_relic"
	AlertSourcesCreatePayloadV2SourceTypeOpsgenie          AlertSourcesCreatePayloadV2SourceType = "opsgenie"
	AlertSourcesCreatePayloadV2SourceTypePagerDuty         AlertSourcesCreatePayloadV2SourceType = "pager_duty"
	AlertSourcesCreatePayloadV2SourceTypePanther           AlertSourcesCreatePayloadV2SourceType = "panther"
	AlertSourcesCreatePayloadV2SourceTypePingdom           AlertSourcesCreatePayloadV2SourceType = "pingdom"
	AlertSourcesCreatePayloadV2SourceTypePrtg              AlertSourcesCreatePayloadV2SourceType = "prtg"
	AlertSourcesCreatePayloadV2SourceTypeRunscope          AlertSourcesCreatePayloadV2SourceType = "runscope"
	AlertSourcesCreatePayloadV2SourceTypeSalesforceCase    AlertSourcesCreatePayloadV2SourceType = "salesforce_case"
	AlertSourcesCreatePayloadV2SourceTypeSentry            AlertSourcesCreatePayloadV2SourceType = "sentry"
	AlertSourcesCreatePayloadV2SourceTypeSentryMetric      AlertSourcesCreatePayloadV2SourceType = "sentry_metric"
	AlertSourcesCreatePayloadV2SourceTypeServiceNow        AlertSourcesCreatePayloadV2SourceType = "service_now"
	AlertSourcesCreatePayloadV2SourceTypeSns               AlertSourcesCreatePayloadV2SourceType = "sns"
	AlertSourcesCreatePayloadV2SourceTypeSplunk            AlertSourcesCreatePayloadV2SourceType = "splunk"
	AlertSourcesCreatePayloadV2SourceTypeStatusCake        AlertSourcesCreatePayloadV2SourceType = "status_cake"
	AlertSourcesCreatePayloadV2SourceTypeStatusPageViews   AlertSourcesCreatePayloadV2SourceType = "status_page_views"
	AlertSourcesCreatePayloadV2SourceTypeSumoLogic         AlertSourcesCreatePayloadV2SourceType = "sumo_logic"
	AlertSourcesCreatePayloadV2SourceTypeUptime            AlertSourcesCreatePayloadV2SourceType = "uptime"
	AlertSourcesCreatePayloadV2SourceTypeVercel            AlertSourcesCreatePayloadV2SourceType = "vercel"
	AlertSourcesCreatePayloadV2SourceTypeWiz               AlertSourcesCreatePayloadV2SourceType = "wiz"
	AlertSourcesCreatePayloadV2SourceTypeZendesk           AlertSourcesCreatePayloadV2SourceType = "zendesk"
)

Defines values for AlertSourcesCreatePayloadV2SourceType.

func (AlertSourcesCreatePayloadV2SourceType) Valid added in v1.0.1

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

type AlertSourcesCreateResultV2 added in v1.0.1

type AlertSourcesCreateResultV2 struct {
	AlertSource AlertSourceV2 `json:"alert_source"`
}

AlertSourcesCreateResultV2 defines model for AlertSourcesCreateResultV2.

type AlertSourcesListResultV2 added in v1.0.1

type AlertSourcesListResultV2 struct {
	AlertSources []AlertSourceV2 `json:"alert_sources"`
}

AlertSourcesListResultV2 defines model for AlertSourcesListResultV2.

type AlertSourcesShowResultV2 added in v1.0.1

type AlertSourcesShowResultV2 struct {
	AlertSource AlertSourceV2 `json:"alert_source"`
}

AlertSourcesShowResultV2 defines model for AlertSourcesShowResultV2.

type AlertSourcesUpdatePayloadV2 added in v1.0.1

type AlertSourcesUpdatePayloadV2 struct {
	// AutoResolveIncidentAlerts Whether alerts from this source keep counting down to auto-resolve while attached to an incident. Defaults to true. Has no effect without auto_resolve_timeout_minutes.
	AutoResolveIncidentAlerts *bool `json:"auto_resolve_incident_alerts,omitempty"`

	// AutoResolveTimeoutMinutes When set, alerts from this source will automatically resolve after this many minutes.
	AutoResolveTimeoutMinutes *int64                           `json:"auto_resolve_timeout_minutes,omitempty"`
	AzureDevopsOptions        *AlertSourceAzureDevopsOptionsV2 `json:"azure_devops_options,omitempty"`

	// Disabled For heartbeat sources, set to true to disable monitoring
	Disabled     *bool                             `json:"disabled,omitempty"`
	EmailOptions *AlertSourceEmailOptionsPayloadV2 `json:"email_options,omitempty"`

	// FilterConditionGroups Conditions an incoming event must match to be ingested from this source, evaluated against the event's payload and this source's expressions. When empty, everything is ingested; otherwise a firing event that doesn't match is dropped and never creates or updates an alert. Resolve events are never filtered. Omit to leave unchanged.
	FilterConditionGroups *[]ConditionGroupPayloadV2 `json:"filter_condition_groups,omitempty"`

	// FixedTeamId Fix the team every alert from this source is attributed to. While set, the team attribute is managed from this field: a team binding sent in the template is ignored. Omit to leave unchanged; set to an empty string to clear it, making the team attribute editable again.
	FixedTeamId       *string                               `json:"fixed_team_id,omitempty"`
	HeartbeatOptions  *AlertSourceHeartbeatOptionsPayloadV2 `json:"heartbeat_options,omitempty"`
	HttpCustomOptions *AlertSourceHTTPCustomOptionsV2       `json:"http_custom_options,omitempty"`
	JiraOptions       *AlertSourceJiraOptionsV2             `json:"jira_options,omitempty"`

	// Name Unique name of the alert source
	Name string `json:"name"`

	// OwningTeamIds IDs of teams that own this alert source
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// RateLimitSharding Controls how this source's ingest rate limit is split into buckets.
	RateLimitSharding *AlertSourceRateLimitShardingV2 `json:"rate_limit_sharding,omitempty"`
	Template          AlertTemplatePayloadV2          `json:"template"`
}

AlertSourcesUpdatePayloadV2 defines model for AlertSourcesUpdatePayloadV2.

type AlertSourcesUpdateResultV2 added in v1.0.1

type AlertSourcesUpdateResultV2 struct {
	AlertSource AlertSourceV2 `json:"alert_source"`
}

AlertSourcesUpdateResultV2 defines model for AlertSourcesUpdateResultV2.

type AlertSourcesV2CreateJSONRequestBody added in v1.0.1

type AlertSourcesV2CreateJSONRequestBody = AlertSourcesCreatePayloadV2

AlertSourcesV2CreateJSONRequestBody defines body for AlertSourcesV2Create for application/json ContentType.

type AlertSourcesV2CreateResponse added in v1.0.1

type AlertSourcesV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertSourcesCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertSourcesV2CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertSourcesV2CreateResponse) StatusCode added in v1.0.1

func (r AlertSourcesV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertSourcesV2DeleteResponse added in v1.0.1

type AlertSourcesV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertSourcesV2DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertSourcesV2DeleteResponse) StatusCode added in v1.0.1

func (r AlertSourcesV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertSourcesV2ListResponse added in v1.0.1

type AlertSourcesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertSourcesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertSourcesV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertSourcesV2ListResponse) StatusCode added in v1.0.1

func (r AlertSourcesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertSourcesV2ShowResponse added in v1.0.1

type AlertSourcesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertSourcesShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertSourcesV2ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertSourcesV2ShowResponse) StatusCode added in v1.0.1

func (r AlertSourcesV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertSourcesV2UpdateJSONRequestBody added in v1.0.1

type AlertSourcesV2UpdateJSONRequestBody = AlertSourcesUpdatePayloadV2

AlertSourcesV2UpdateJSONRequestBody defines body for AlertSourcesV2Update for application/json ContentType.

type AlertSourcesV2UpdateResponse added in v1.0.1

type AlertSourcesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertSourcesUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertSourcesV2UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertSourcesV2UpdateResponse) StatusCode added in v1.0.1

func (r AlertSourcesV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertSourcesV2ValidateJSONRequestBody added in v1.0.50

type AlertSourcesV2ValidateJSONRequestBody = AlertSourcesValidatePayloadV2

AlertSourcesV2ValidateJSONRequestBody defines body for AlertSourcesV2Validate for application/json ContentType.

type AlertSourcesV2ValidateResponse added in v1.0.50

type AlertSourcesV2ValidateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertSourcesV2ValidateResponse) Status added in v1.0.50

Status returns HTTPResponse.Status

func (AlertSourcesV2ValidateResponse) StatusCode added in v1.0.50

func (r AlertSourcesV2ValidateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertSourcesValidatePayloadV2 added in v1.0.50

type AlertSourcesValidatePayloadV2 struct {
	// OwningTeamIds IDs of teams that own this alert source
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// SourceType Type of alert source
	SourceType AlertSourcesValidatePayloadV2SourceType `json:"source_type"`
	Template   AlertTemplatePayloadV2                  `json:"template"`
}

AlertSourcesValidatePayloadV2 defines model for AlertSourcesValidatePayloadV2.

type AlertSourcesValidatePayloadV2SourceType added in v1.0.50

type AlertSourcesValidatePayloadV2SourceType string

AlertSourcesValidatePayloadV2SourceType Type of alert source

const (
	AlertSourcesValidatePayloadV2SourceTypeAlertmanager      AlertSourcesValidatePayloadV2SourceType = "alertmanager"
	AlertSourcesValidatePayloadV2SourceTypeAppOptics         AlertSourcesValidatePayloadV2SourceType = "app_optics"
	AlertSourcesValidatePayloadV2SourceTypeAzureDevops       AlertSourcesValidatePayloadV2SourceType = "azure_devops"
	AlertSourcesValidatePayloadV2SourceTypeAzureMonitor      AlertSourcesValidatePayloadV2SourceType = "azure_monitor"
	AlertSourcesValidatePayloadV2SourceTypeBigPanda          AlertSourcesValidatePayloadV2SourceType = "big_panda"
	AlertSourcesValidatePayloadV2SourceTypeBugsnag           AlertSourcesValidatePayloadV2SourceType = "bugsnag"
	AlertSourcesValidatePayloadV2SourceTypeCheckly           AlertSourcesValidatePayloadV2SourceType = "checkly"
	AlertSourcesValidatePayloadV2SourceTypeChronosphere      AlertSourcesValidatePayloadV2SourceType = "chronosphere"
	AlertSourcesValidatePayloadV2SourceTypeCloudflare        AlertSourcesValidatePayloadV2SourceType = "cloudflare"
	AlertSourcesValidatePayloadV2SourceTypeCloudwatch        AlertSourcesValidatePayloadV2SourceType = "cloudwatch"
	AlertSourcesValidatePayloadV2SourceTypeCoralogix         AlertSourcesValidatePayloadV2SourceType = "coralogix"
	AlertSourcesValidatePayloadV2SourceTypeCronitor          AlertSourcesValidatePayloadV2SourceType = "cronitor"
	AlertSourcesValidatePayloadV2SourceTypeCrowdstrikeFalcon AlertSourcesValidatePayloadV2SourceType = "crowdstrike_falcon"
	AlertSourcesValidatePayloadV2SourceTypeDash0             AlertSourcesValidatePayloadV2SourceType = "dash0"
	AlertSourcesValidatePayloadV2SourceTypeDatadog           AlertSourcesValidatePayloadV2SourceType = "datadog"
	AlertSourcesValidatePayloadV2SourceTypeDynatrace         AlertSourcesValidatePayloadV2SourceType = "dynatrace"
	AlertSourcesValidatePayloadV2SourceTypeElasticsearch     AlertSourcesValidatePayloadV2SourceType = "elasticsearch"
	AlertSourcesValidatePayloadV2SourceTypeEmail             AlertSourcesValidatePayloadV2SourceType = "email"
	AlertSourcesValidatePayloadV2SourceTypeExpel             AlertSourcesValidatePayloadV2SourceType = "expel"
	AlertSourcesValidatePayloadV2SourceTypeGithubIssue       AlertSourcesValidatePayloadV2SourceType = "github_issue"
	AlertSourcesValidatePayloadV2SourceTypeGoogleCloud       AlertSourcesValidatePayloadV2SourceType = "google_cloud"
	AlertSourcesValidatePayloadV2SourceTypeGrafana           AlertSourcesValidatePayloadV2SourceType = "grafana"
	AlertSourcesValidatePayloadV2SourceTypeHeartbeat         AlertSourcesValidatePayloadV2SourceType = "heartbeat"
	AlertSourcesValidatePayloadV2SourceTypeHoneycomb         AlertSourcesValidatePayloadV2SourceType = "honeycomb"
	AlertSourcesValidatePayloadV2SourceTypeHttp              AlertSourcesValidatePayloadV2SourceType = "http"
	AlertSourcesValidatePayloadV2SourceTypeHttpCustom        AlertSourcesValidatePayloadV2SourceType = "http_custom"
	AlertSourcesValidatePayloadV2SourceTypeIcinga2           AlertSourcesValidatePayloadV2SourceType = "icinga2"
	AlertSourcesValidatePayloadV2SourceTypeIncomingCalls     AlertSourcesValidatePayloadV2SourceType = "incoming_calls"
	AlertSourcesValidatePayloadV2SourceTypeJira              AlertSourcesValidatePayloadV2SourceType = "jira"
	AlertSourcesValidatePayloadV2SourceTypeJsm               AlertSourcesValidatePayloadV2SourceType = "jsm"
	AlertSourcesValidatePayloadV2SourceTypeMonteCarlo        AlertSourcesValidatePayloadV2SourceType = "monte_carlo"
	AlertSourcesValidatePayloadV2SourceTypeNagios            AlertSourcesValidatePayloadV2SourceType = "nagios"
	AlertSourcesValidatePayloadV2SourceTypeNewRelic          AlertSourcesValidatePayloadV2SourceType = "new_relic"
	AlertSourcesValidatePayloadV2SourceTypeOpsgenie          AlertSourcesValidatePayloadV2SourceType = "opsgenie"
	AlertSourcesValidatePayloadV2SourceTypePagerDuty         AlertSourcesValidatePayloadV2SourceType = "pager_duty"
	AlertSourcesValidatePayloadV2SourceTypePanther           AlertSourcesValidatePayloadV2SourceType = "panther"
	AlertSourcesValidatePayloadV2SourceTypePingdom           AlertSourcesValidatePayloadV2SourceType = "pingdom"
	AlertSourcesValidatePayloadV2SourceTypePrtg              AlertSourcesValidatePayloadV2SourceType = "prtg"
	AlertSourcesValidatePayloadV2SourceTypeRunscope          AlertSourcesValidatePayloadV2SourceType = "runscope"
	AlertSourcesValidatePayloadV2SourceTypeSalesforceCase    AlertSourcesValidatePayloadV2SourceType = "salesforce_case"
	AlertSourcesValidatePayloadV2SourceTypeSentry            AlertSourcesValidatePayloadV2SourceType = "sentry"
	AlertSourcesValidatePayloadV2SourceTypeSentryMetric      AlertSourcesValidatePayloadV2SourceType = "sentry_metric"
	AlertSourcesValidatePayloadV2SourceTypeServiceNow        AlertSourcesValidatePayloadV2SourceType = "service_now"
	AlertSourcesValidatePayloadV2SourceTypeSns               AlertSourcesValidatePayloadV2SourceType = "sns"
	AlertSourcesValidatePayloadV2SourceTypeSplunk            AlertSourcesValidatePayloadV2SourceType = "splunk"
	AlertSourcesValidatePayloadV2SourceTypeStatusCake        AlertSourcesValidatePayloadV2SourceType = "status_cake"
	AlertSourcesValidatePayloadV2SourceTypeStatusPageViews   AlertSourcesValidatePayloadV2SourceType = "status_page_views"
	AlertSourcesValidatePayloadV2SourceTypeSumoLogic         AlertSourcesValidatePayloadV2SourceType = "sumo_logic"
	AlertSourcesValidatePayloadV2SourceTypeUptime            AlertSourcesValidatePayloadV2SourceType = "uptime"
	AlertSourcesValidatePayloadV2SourceTypeVercel            AlertSourcesValidatePayloadV2SourceType = "vercel"
	AlertSourcesValidatePayloadV2SourceTypeWiz               AlertSourcesValidatePayloadV2SourceType = "wiz"
	AlertSourcesValidatePayloadV2SourceTypeZendesk           AlertSourcesValidatePayloadV2SourceType = "zendesk"
)

Defines values for AlertSourcesValidatePayloadV2SourceType.

func (AlertSourcesValidatePayloadV2SourceType) Valid added in v1.0.50

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

type AlertTagV2 added in v1.0.101

type AlertTagV2 struct {
	// Id Unique identifier for the tag
	Id string `json:"id"`

	// Name The tag name
	Name string `json:"name"`
}

AlertTagV2 defines model for AlertTagV2.

type AlertTemplateAttributeBindingPayloadV2 added in v1.0.1

type AlertTemplateAttributeBindingPayloadV2 struct {
	// ArrayValue If set, this is the array value of the step parameter
	ArrayValue *[]EngineParamBindingValuePayloadV2 `json:"array_value,omitempty"`

	// MergeStrategy Merge strategy for this attribute when alert updates
	MergeStrategy *AlertTemplateAttributeBindingPayloadV2MergeStrategy `json:"merge_strategy,omitempty"`
	Value         *EngineParamBindingValuePayloadV2                    `json:"value,omitempty"`
}

AlertTemplateAttributeBindingPayloadV2 defines model for AlertTemplateAttributeBindingPayloadV2.

type AlertTemplateAttributeBindingPayloadV2MergeStrategy added in v1.0.1

type AlertTemplateAttributeBindingPayloadV2MergeStrategy string

AlertTemplateAttributeBindingPayloadV2MergeStrategy Merge strategy for this attribute when alert updates

const (
	AlertTemplateAttributeBindingPayloadV2MergeStrategyAppend    AlertTemplateAttributeBindingPayloadV2MergeStrategy = "append"
	AlertTemplateAttributeBindingPayloadV2MergeStrategyFirstWins AlertTemplateAttributeBindingPayloadV2MergeStrategy = "first_wins"
	AlertTemplateAttributeBindingPayloadV2MergeStrategyLastWins  AlertTemplateAttributeBindingPayloadV2MergeStrategy = "last_wins"
	AlertTemplateAttributeBindingPayloadV2MergeStrategyMax       AlertTemplateAttributeBindingPayloadV2MergeStrategy = "max"
	AlertTemplateAttributeBindingPayloadV2MergeStrategyMin       AlertTemplateAttributeBindingPayloadV2MergeStrategy = "min"
)

Defines values for AlertTemplateAttributeBindingPayloadV2MergeStrategy.

func (AlertTemplateAttributeBindingPayloadV2MergeStrategy) Valid added in v1.0.1

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

type AlertTemplateAttributeBindingV2 added in v1.0.1

type AlertTemplateAttributeBindingV2 struct {
	// ArrayValue If array_value is set, this helps render the values
	ArrayValue *[]EngineParamBindingValueV2 `json:"array_value,omitempty"`

	// MergeStrategy Merge strategy for this attribute when alert updates
	MergeStrategy *AlertTemplateAttributeBindingV2MergeStrategy `json:"merge_strategy,omitempty"`
	Value         *EngineParamBindingValueV2                    `json:"value,omitempty"`
}

AlertTemplateAttributeBindingV2 defines model for AlertTemplateAttributeBindingV2.

type AlertTemplateAttributeBindingV2MergeStrategy added in v1.0.1

type AlertTemplateAttributeBindingV2MergeStrategy string

AlertTemplateAttributeBindingV2MergeStrategy Merge strategy for this attribute when alert updates

const (
	AlertTemplateAttributeBindingV2MergeStrategyAppend    AlertTemplateAttributeBindingV2MergeStrategy = "append"
	AlertTemplateAttributeBindingV2MergeStrategyFirstWins AlertTemplateAttributeBindingV2MergeStrategy = "first_wins"
	AlertTemplateAttributeBindingV2MergeStrategyLastWins  AlertTemplateAttributeBindingV2MergeStrategy = "last_wins"
	AlertTemplateAttributeBindingV2MergeStrategyMax       AlertTemplateAttributeBindingV2MergeStrategy = "max"
	AlertTemplateAttributeBindingV2MergeStrategyMin       AlertTemplateAttributeBindingV2MergeStrategy = "min"
)

Defines values for AlertTemplateAttributeBindingV2MergeStrategy.

func (AlertTemplateAttributeBindingV2MergeStrategy) Valid added in v1.0.1

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

type AlertTemplateAttributePayloadV2 added in v1.0.1

type AlertTemplateAttributePayloadV2 struct {
	// AlertAttributeId ID of the alert attribute to set with this binding
	AlertAttributeId string                                 `json:"alert_attribute_id"`
	Binding          AlertTemplateAttributeBindingPayloadV2 `json:"binding"`
}

AlertTemplateAttributePayloadV2 defines model for AlertTemplateAttributePayloadV2.

type AlertTemplateAttributeV2 added in v1.0.1

type AlertTemplateAttributeV2 struct {
	// AlertAttributeId ID of the alert attribute to set with this binding
	AlertAttributeId string                          `json:"alert_attribute_id"`
	Binding          AlertTemplateAttributeBindingV2 `json:"binding"`
}

AlertTemplateAttributeV2 defines model for AlertTemplateAttributeV2.

type AlertTemplatePayloadV2 added in v1.0.1

type AlertTemplatePayloadV2 struct {
	// Attributes Attributes to set on alerts coming from this source, with a binding describing how to set them.
	Attributes  []AlertTemplateAttributePayloadV2 `json:"attributes"`
	Description EngineParamBindingValuePayloadV2  `json:"description"`

	// Expressions Expressions available for use in bindings within this template
	Expressions []ExpressionPayloadV2 `json:"expressions"`

	// IsPrivate Whether or not alerts produced by this source should be private
	IsPrivate      *bool                            `json:"is_private,omitempty"`
	Title          EngineParamBindingValuePayloadV2 `json:"title"`
	VisibleToTeams *EngineParamBindingPayloadV2     `json:"visible_to_teams,omitempty"`
}

AlertTemplatePayloadV2 defines model for AlertTemplatePayloadV2.

type AlertTemplateV2 added in v1.0.1

type AlertTemplateV2 struct {
	// Attributes Attributes to set on alerts coming from this source, with a binding describing how to set them.
	Attributes  []AlertTemplateAttributeV2 `json:"attributes"`
	Description EngineParamBindingValueV2  `json:"description"`

	// Expressions Expressions available for use in bindings within this template
	Expressions []ExpressionV2 `json:"expressions"`

	// IsPrivate Whether or not alerts produced by this source should be private
	IsPrivate      bool                      `json:"is_private"`
	Title          EngineParamBindingValueV2 `json:"title"`
	VisibleToTeams *EngineParamBindingV2     `json:"visible_to_teams,omitempty"`
}

AlertTemplateV2 defines model for AlertTemplateV2.

type AlertV2 added in v1.0.1

type AlertV2 struct {
	// AlertGroupIds The IDs of every alert group this alert belongs to. Empty when the alert is not part of any group.
	AlertGroupIds *[]string `json:"alert_group_ids,omitempty"`

	// AlertSourceId The ID of the alert source this alert fired on
	AlertSourceId string `json:"alert_source_id"`

	// Attributes Attribute values parsed from the alerts payload
	Attributes []AlertAttributeEntryV2 `json:"attributes"`

	// CreatedAt When this entry was created
	CreatedAt time.Time `json:"created_at"`

	// DeduplicationKey A deduplication key which uniquely references this alert from your alert source. For newly created HTTP sources, this field is required.
	// If you send an event with the same deduplication_key multiple times, only one alert will be created in incident.io for this alert source config.
	// You can filter on this field to find the alert created by an event you've sent us.
	DeduplicationKey string `json:"deduplication_key"`

	// Description The description of the alert
	Description *string `json:"description,omitempty"`

	// Id The ID of this alert
	Id string `json:"id"`

	// ResolvedAt When this alert was resolved
	ResolvedAt *time.Time `json:"resolved_at,omitempty"`

	// SourceUrl If applicable, a link to the alert in the upstream system
	SourceUrl *string `json:"source_url,omitempty"`

	// Status Statuses of an alert
	Status AlertV2Status `json:"status"`

	// Tags Tags someone has applied to this alert
	Tags *[]AlertTagV2 `json:"tags,omitempty"`

	// Title The title of the alert, parsed from the alert payload according to the alert source configuration
	Title string `json:"title"`

	// UpdatedAt When this alert was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

AlertV2 defines model for AlertV2.

type AlertV2Status added in v1.0.1

type AlertV2Status string

AlertV2Status Statuses of an alert

const (
	AlertV2StatusFiring   AlertV2Status = "firing"
	AlertV2StatusResolved AlertV2Status = "resolved"
)

Defines values for AlertV2Status.

func (AlertV2Status) Valid added in v1.0.1

func (e AlertV2Status) Valid() bool

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

type AlertsCreateIncidentAlertPayloadV2 added in v1.0.79

type AlertsCreateIncidentAlertPayloadV2 struct {
	// AlertId Alert to attach to the incident
	AlertId string `json:"alert_id"`

	// IncidentId Incident to attach the alert to
	IncidentId string `json:"incident_id"`

	// ReRelate Relate the alert again even though someone previously marked it unrelated to this incident. Defaults to false, which preserves that decision and returns a 422
	ReRelate *bool `json:"re_relate,omitempty"`
}

AlertsCreateIncidentAlertPayloadV2 defines model for AlertsCreateIncidentAlertPayloadV2.

type AlertsCreateIncidentAlertResultV2 added in v1.0.79

type AlertsCreateIncidentAlertResultV2 struct {
	IncidentAlert IncidentAlertV2 `json:"incident_alert"`
}

AlertsCreateIncidentAlertResultV2 defines model for AlertsCreateIncidentAlertResultV2.

type AlertsListIncidentAlertsResultV2 added in v1.0.1

type AlertsListIncidentAlertsResultV2 struct {
	IncidentAlerts []IncidentAlertV2      `json:"incident_alerts"`
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
}

AlertsListIncidentAlertsResultV2 defines model for AlertsListIncidentAlertsResultV2.

type AlertsListResultV2 added in v1.0.1

type AlertsListResultV2 struct {
	Alerts         []AlertV2              `json:"alerts"`
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
}

AlertsListResultV2 defines model for AlertsListResultV2.

type AlertsResolveResultV2 added in v1.0.1

type AlertsResolveResultV2 struct {
	Alert AlertV2 `json:"alert"`
}

AlertsResolveResultV2 defines model for AlertsResolveResultV2.

type AlertsShowResultV2 added in v1.0.1

type AlertsShowResultV2 struct {
	Alert AlertV2 `json:"alert"`
}

AlertsShowResultV2 defines model for AlertsShowResultV2.

type AlertsTransitionIncidentAlertPayloadV2 added in v1.0.79

type AlertsTransitionIncidentAlertPayloadV2 struct {
	// State What state to move the connection to
	State AlertsTransitionIncidentAlertPayloadV2State `json:"state"`
}

AlertsTransitionIncidentAlertPayloadV2 defines model for AlertsTransitionIncidentAlertPayloadV2.

type AlertsTransitionIncidentAlertPayloadV2State added in v1.0.79

type AlertsTransitionIncidentAlertPayloadV2State string

AlertsTransitionIncidentAlertPayloadV2State What state to move the connection to

Defines values for AlertsTransitionIncidentAlertPayloadV2State.

func (AlertsTransitionIncidentAlertPayloadV2State) Valid added in v1.0.79

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

type AlertsTransitionIncidentAlertResultV2 added in v1.0.79

type AlertsTransitionIncidentAlertResultV2 struct {
	IncidentAlert IncidentAlertV2 `json:"incident_alert"`
}

AlertsTransitionIncidentAlertResultV2 defines model for AlertsTransitionIncidentAlertResultV2.

type AlertsV2CreateIncidentAlertJSONRequestBody added in v1.0.79

type AlertsV2CreateIncidentAlertJSONRequestBody = AlertsCreateIncidentAlertPayloadV2

AlertsV2CreateIncidentAlertJSONRequestBody defines body for AlertsV2CreateIncidentAlert for application/json ContentType.

type AlertsV2CreateIncidentAlertResponse added in v1.0.79

type AlertsV2CreateIncidentAlertResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AlertsCreateIncidentAlertResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertsV2CreateIncidentAlertResponse) Status added in v1.0.79

Status returns HTTPResponse.Status

func (AlertsV2CreateIncidentAlertResponse) StatusCode added in v1.0.79

StatusCode returns HTTPResponse.StatusCode

type AlertsV2ListIncidentAlertsParams added in v1.0.1

type AlertsV2ListIncidentAlertsParams struct {
	// PageSize Number of incident alerts to return per page
	PageSize int64 `form:"page_size" json:"page_size"`

	// After If provided, pass this as the 'after' param to load the next page
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// AlertId Alert that this incident alert refers to
	AlertId *string `form:"alert_id,omitempty" json:"alert_id,omitempty"`

	// IncidentId Incident that this incident alert is attached to
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`
}

AlertsV2ListIncidentAlertsParams defines parameters for AlertsV2ListIncidentAlerts.

type AlertsV2ListIncidentAlertsResponse added in v1.0.1

type AlertsV2ListIncidentAlertsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertsListIncidentAlertsResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertsV2ListIncidentAlertsResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (AlertsV2ListIncidentAlertsResponse) StatusCode added in v1.0.1

func (r AlertsV2ListIncidentAlertsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertsV2ListParams added in v1.0.1

type AlertsV2ListParams struct {
	// PageSize Number of alerts to return per page
	PageSize int64 `form:"page_size" json:"page_size"`

	// After If provided, pass this as the 'after' param to load the next page
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// DeduplicationKey Filter on alert deduplication key. The accepted operator is 'is'.
	DeduplicationKey *map[string][]string `form:"deduplication_key,omitempty" json:"deduplication_key,omitempty"`

	// Status Filter on alert status. The accepted operators are 'one_of', or 'not_in'.
	Status *map[string][]string `form:"status,omitempty" json:"status,omitempty"`

	// AlertSource Filter on alert source by ID. The accepted operators are 'one_of', or 'not_in'.
	AlertSource *map[string][]string `form:"alert_source,omitempty" json:"alert_source,omitempty"`

	// AlertGroupId Filter on alert group ID. Returns alerts that belong to any of the specified groups. The accepted operator is 'one_of'.
	AlertGroupId *map[string][]string `form:"alert_group_id,omitempty" json:"alert_group_id,omitempty"`

	// CreatedAt Filter on alert created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'.
	CreatedAt *map[string][]string `form:"created_at,omitempty" json:"created_at,omitempty"`

	// UpdatedAt Filter on alert updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'.
	UpdatedAt *map[string][]string `form:"updated_at,omitempty" json:"updated_at,omitempty"`

	// Attributes Filter on an alerts attributes. Alert attribute ID should be sent, followed by the operator and values. Accepted operator will depend on the attribute type.
	Attributes *map[string]map[string][]string `form:"attributes,omitempty" json:"attributes,omitempty"`

	// HasNotes Filter on whether an alert has notes. The accepted operator is 'is'.
	HasNotes *map[string][]string `form:"has_notes,omitempty" json:"has_notes,omitempty"`

	// Tags Filter on the tags applied to an alert, by tag ID. The accepted operators are 'one_of', 'all_of' and 'not_in'.
	Tags *map[string][]string `form:"tags,omitempty" json:"tags,omitempty"`

	// IncludeMaintenanceWindow Filter on whether to include maintenance window alerts. The accepted operator is 'is'.
	IncludeMaintenanceWindow *map[string][]string `form:"include_maintenance_window,omitempty" json:"include_maintenance_window,omitempty"`
}

AlertsV2ListParams defines parameters for AlertsV2List.

type AlertsV2ListResponse added in v1.0.1

type AlertsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertsV2ListResponse) Status added in v1.0.1

func (r AlertsV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (AlertsV2ListResponse) StatusCode added in v1.0.1

func (r AlertsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertsV2ResolveResponse added in v1.0.1

type AlertsV2ResolveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertsResolveResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertsV2ResolveResponse) Status added in v1.0.1

func (r AlertsV2ResolveResponse) Status() string

Status returns HTTPResponse.Status

func (AlertsV2ResolveResponse) StatusCode added in v1.0.1

func (r AlertsV2ResolveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertsV2ShowResponse added in v1.0.1

type AlertsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertsV2ShowResponse) Status added in v1.0.1

func (r AlertsV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (AlertsV2ShowResponse) StatusCode added in v1.0.1

func (r AlertsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertsV2TransitionIncidentAlertJSONRequestBody added in v1.0.79

type AlertsV2TransitionIncidentAlertJSONRequestBody = AlertsTransitionIncidentAlertPayloadV2

AlertsV2TransitionIncidentAlertJSONRequestBody defines body for AlertsV2TransitionIncidentAlert for application/json ContentType.

type AlertsV2TransitionIncidentAlertResponse added in v1.0.79

type AlertsV2TransitionIncidentAlertResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertsTransitionIncidentAlertResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (AlertsV2TransitionIncidentAlertResponse) Status added in v1.0.79

Status returns HTTPResponse.Status

func (AlertsV2TransitionIncidentAlertResponse) StatusCode added in v1.0.79

StatusCode returns HTTPResponse.StatusCode

type CallRouteAllowedCallerV2 added in v1.0.104

type CallRouteAllowedCallerV2 struct {
	// Id Unique identifier for this allowed caller
	Id string `json:"id"`

	// Name Label for whose number this is
	Name *string `json:"name,omitempty"`

	// PhoneNumber The number allowed to call this route, in international format
	PhoneNumber string `json:"phone_number"`
}

CallRouteAllowedCallerV2 A phone number allowed to reach a call route.

type CallRouteOptionV2 added in v1.0.104

type CallRouteOptionV2 struct {
	// Digit The keypad digit a caller presses to choose this option
	Digit CallRouteOptionV2Digit `json:"digit"`

	// Id Unique identifier for this option
	Id string `json:"id"`

	// Path Who we page when a caller chooses this option
	Path []CallRoutePathNodeV2 `json:"path"`

	// Prompt What we read out to offer this option, via text-to-speech in the route's language, exactly as written
	Prompt string `json:"prompt"`
}

CallRouteOptionV2 One entry in a call route's phone-tree menu: the digit a caller presses, the prompt we read out to offer it, and who we page when they choose it.

type CallRouteOptionV2Digit added in v1.0.104

type CallRouteOptionV2Digit string

CallRouteOptionV2Digit The keypad digit a caller presses to choose this option

const (
	CallRouteOptionV2DigitN1 CallRouteOptionV2Digit = "1"
	CallRouteOptionV2DigitN2 CallRouteOptionV2Digit = "2"
	CallRouteOptionV2DigitN3 CallRouteOptionV2Digit = "3"
	CallRouteOptionV2DigitN4 CallRouteOptionV2Digit = "4"
	CallRouteOptionV2DigitN5 CallRouteOptionV2Digit = "5"
	CallRouteOptionV2DigitN6 CallRouteOptionV2Digit = "6"
	CallRouteOptionV2DigitN7 CallRouteOptionV2Digit = "7"
	CallRouteOptionV2DigitN8 CallRouteOptionV2Digit = "8"
	CallRouteOptionV2DigitN9 CallRouteOptionV2Digit = "9"
)

Defines values for CallRouteOptionV2Digit.

func (CallRouteOptionV2Digit) Valid added in v1.0.104

func (e CallRouteOptionV2Digit) Valid() bool

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

type CallRoutePathNodeLevelV2 added in v1.0.104

type CallRoutePathNodeLevelV2 struct {
	// Targets The users and schedules to page
	Targets []CallRouteTargetV2 `json:"targets"`
}

CallRoutePathNodeLevelV2 The targets a level pages.

We call each target for 30 seconds, rotating to the next after 60 seconds, and move to the next node if nobody acknowledges within 5 minutes. Those timings are fixed for call routes.

type CallRoutePathNodePayloadV2 added in v1.0.104

type CallRoutePathNodePayloadV2 struct {
	// Id Unique identifier for this node. Omit it and we'll generate one.
	Id *string `json:"id,omitempty"`

	// Level The targets a level pages.
	//
	// We call each target for 30 seconds, rotating to the next after 60 seconds, and
	// move to the next node if nobody acknowledges within 5 minutes. Those timings are
	// fixed for call routes.
	Level *CallRoutePathNodeLevelV2 `json:"level,omitempty"`

	// Type The type of this node. Available types are:
	// * level: page a set of targets, rotating between them
	// * voicemail: record a message from the caller
	Type CallRoutePathNodePayloadV2Type `json:"type"`

	// Voicemail Records a message from the caller, and enriches the resulting alert with the transcript.
	Voicemail *CallRoutePathNodeVoicemailV2 `json:"voicemail,omitempty"`
}

CallRoutePathNodePayloadV2 defines model for CallRoutePathNodePayloadV2.

type CallRoutePathNodePayloadV2Type added in v1.0.104

type CallRoutePathNodePayloadV2Type string

CallRoutePathNodePayloadV2Type The type of this node. Available types are: * level: page a set of targets, rotating between them * voicemail: record a message from the caller

const (
	CallRoutePathNodePayloadV2TypeLevel     CallRoutePathNodePayloadV2Type = "level"
	CallRoutePathNodePayloadV2TypeVoicemail CallRoutePathNodePayloadV2Type = "voicemail"
)

Defines values for CallRoutePathNodePayloadV2Type.

func (CallRoutePathNodePayloadV2Type) Valid added in v1.0.104

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

type CallRoutePathNodeV2 added in v1.0.104

type CallRoutePathNodeV2 struct {
	// Id Unique identifier for this node
	Id string `json:"id"`

	// Level The targets a level pages.
	//
	// We call each target for 30 seconds, rotating to the next after 60 seconds, and
	// move to the next node if nobody acknowledges within 5 minutes. Those timings are
	// fixed for call routes.
	Level *CallRoutePathNodeLevelV2 `json:"level,omitempty"`

	// Type The type of this node. Available types are:
	// * level: page a set of targets, rotating between them
	// * voicemail: record a message from the caller
	Type CallRoutePathNodeV2Type `json:"type"`

	// Voicemail Records a message from the caller, and enriches the resulting alert with the transcript.
	Voicemail *CallRoutePathNodeVoicemailV2 `json:"voicemail,omitempty"`
}

CallRoutePathNodeV2 A single step in a call route's path.

Levels page a set of targets, and a trailing voicemail node records a message from the caller. A path made up of only a voicemail node sends callers straight to voicemail without paging anyone.

type CallRoutePathNodeV2Type added in v1.0.104

type CallRoutePathNodeV2Type string

CallRoutePathNodeV2Type The type of this node. Available types are: * level: page a set of targets, rotating between them * voicemail: record a message from the caller

const (
	CallRoutePathNodeV2TypeLevel     CallRoutePathNodeV2Type = "level"
	CallRoutePathNodeV2TypeVoicemail CallRoutePathNodeV2Type = "voicemail"
)

Defines values for CallRoutePathNodeV2Type.

func (CallRoutePathNodeV2Type) Valid added in v1.0.104

func (e CallRoutePathNodeV2Type) Valid() bool

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

type CallRoutePathNodeVoicemailV2 added in v1.0.104

type CallRoutePathNodeVoicemailV2 struct {
	// GreetingText What we read to the caller before recording, via text-to-speech in the route's language, exactly as written
	GreetingText string `json:"greeting_text"`
}

CallRoutePathNodeVoicemailV2 Records a message from the caller, and enriches the resulting alert with the transcript.

type CallRouteTargetV2 added in v1.0.104

type CallRouteTargetV2 struct {
	// Id Uniquely identifies an entity of this type
	Id string `json:"id"`

	// ScheduleMode Only set for schedule targets, this specifies which users to fetch from the schedule. Use currently_on_call to notify whoever is on call right now across the schedule, all_users to notify every user attached to the schedule, or all_users_for_rota / currently_on_call_for_rota / next_on_call_for_rota to scope to a specific rota (in which case selected_rota_id is required). next_on_call notifies whoever is next on call across the schedule.
	ScheduleMode *CallRouteTargetV2ScheduleMode `json:"schedule_mode,omitempty"`

	// SelectedRotaId For schedule targets, identifies which rota on the schedule the schedule_mode applies to. Required when schedule_mode is all_users_for_rota, currently_on_call_for_rota, or next_on_call_for_rota; must be omitted for other schedule_mode values.
	SelectedRotaId *string `json:"selected_rota_id,omitempty"`

	// Type Whether a call route target is a user or a schedule
	Type CallRouteTargetV2Type `json:"type"`

	// Urgency The urgency of this escalation path target
	Urgency CallRouteTargetV2Urgency `json:"urgency"`
}

CallRouteTargetV2 Someone a call route pages when a call comes in.

type CallRouteTargetV2ScheduleMode added in v1.0.104

type CallRouteTargetV2ScheduleMode string

CallRouteTargetV2ScheduleMode Only set for schedule targets, this specifies which users to fetch from the schedule. Use currently_on_call to notify whoever is on call right now across the schedule, all_users to notify every user attached to the schedule, or all_users_for_rota / currently_on_call_for_rota / next_on_call_for_rota to scope to a specific rota (in which case selected_rota_id is required). next_on_call notifies whoever is next on call across the schedule.

const (
	CallRouteTargetV2ScheduleModeAllUsers               CallRouteTargetV2ScheduleMode = "all_users"
	CallRouteTargetV2ScheduleModeAllUsersForRota        CallRouteTargetV2ScheduleMode = "all_users_for_rota"
	CallRouteTargetV2ScheduleModeCurrentlyOnCall        CallRouteTargetV2ScheduleMode = "currently_on_call"
	CallRouteTargetV2ScheduleModeCurrentlyOnCallForRota CallRouteTargetV2ScheduleMode = "currently_on_call_for_rota"
	CallRouteTargetV2ScheduleModeEmpty                  CallRouteTargetV2ScheduleMode = ""
	CallRouteTargetV2ScheduleModeNextOnCall             CallRouteTargetV2ScheduleMode = "next_on_call"
	CallRouteTargetV2ScheduleModeNextOnCallForRota      CallRouteTargetV2ScheduleMode = "next_on_call_for_rota"
)

Defines values for CallRouteTargetV2ScheduleMode.

func (CallRouteTargetV2ScheduleMode) Valid added in v1.0.104

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

type CallRouteTargetV2Type added in v1.0.104

type CallRouteTargetV2Type string

CallRouteTargetV2Type Whether a call route target is a user or a schedule

const (
	CallRouteTargetV2TypeSchedule CallRouteTargetV2Type = "schedule"
	CallRouteTargetV2TypeUser     CallRouteTargetV2Type = "user"
)

Defines values for CallRouteTargetV2Type.

func (CallRouteTargetV2Type) Valid added in v1.0.104

func (e CallRouteTargetV2Type) Valid() bool

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

type CallRouteTargetV2Urgency added in v1.0.104

type CallRouteTargetV2Urgency string

CallRouteTargetV2Urgency The urgency of this escalation path target

const (
	CallRouteTargetV2UrgencyHigh CallRouteTargetV2Urgency = "high"
	CallRouteTargetV2UrgencyLow  CallRouteTargetV2Urgency = "low"
)

Defines values for CallRouteTargetV2Urgency.

func (CallRouteTargetV2Urgency) Valid added in v1.0.104

func (e CallRouteTargetV2Urgency) Valid() bool

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

type CallRouteV2 added in v1.0.104

type CallRouteV2 struct {
	// AllowedCallers The numbers allowed to call this route. Only enforced when use_caller_allowlist is true.
	AllowedCallers []CallRouteAllowedCallerV2 `json:"allowed_callers"`

	// CountryCode The country this route's number belongs to
	CountryCode *string   `json:"country_code,omitempty"`
	CreatedAt   time.Time `json:"created_at"`

	// CurrentState Where this route is in provisioning. Only an active route answers calls:
	// * pending: created, and awaiting manual work from us
	// * pending_regulatory_information: awaiting regulatory compliance information, collected in the dashboard
	// * pending_number: compliance is settled, and we're provisioning a number
	// * active: fully provisioned, and answering calls
	CurrentState CallRouteV2CurrentState `json:"current_state"`

	// CustomLanguage The language we speak voice prompts in, via text-to-speech
	CustomLanguage CallRouteV2CustomLanguage `json:"custom_language"`

	// Id Unique identifier for this call route
	Id string `json:"id"`

	// Name Name for this call route
	Name string `json:"name"`

	// Options The phone-tree menu this route presents. Empty when callers are routed down the route's path.
	Options []CallRouteOptionV2 `json:"options"`

	// Path Who we page when a call comes in. Empty when this route presents a phone-tree menu, in which case each menu option carries its own path.
	Path []CallRoutePathNodeV2 `json:"path"`

	// PhoneNumber The number your customers call to reach this route, once one has been provisioned
	PhoneNumber *string `json:"phone_number,omitempty"`

	// PhoneNumberType The type of phone number, which determines the regulatory requirements for provisioning it
	PhoneNumberType *CallRouteV2PhoneNumberType `json:"phone_number_type,omitempty"`

	// ResponderCallerId Which number responders see when we call them:
	// * route_number: this route's own number
	// * oncall_number: an incident.io on-call number
	ResponderCallerId CallRouteV2ResponderCallerId `json:"responder_caller_id"`
	UpdatedAt         time.Time                    `json:"updated_at"`

	// UseCallerAllowlist Whether this route only answers calls from its allowed callers
	UseCallerAllowlist bool `json:"use_caller_allowlist"`
}

CallRouteV2 A call route is a phone number your customers can call to reach whoever is on call, for an urgent support line or a regulator hotline.

When a call comes in we work down the route's path, ringing each level's targets in turn until someone answers, then connect them to the caller. A trailing voicemail node records a message instead. Every call raises an alert, so calls can open incidents through an alert route.

List and edit call routes here. Create and delete them in the dashboard.

type CallRouteV2CurrentState added in v1.0.104

type CallRouteV2CurrentState string

CallRouteV2CurrentState Where this route is in provisioning. Only an active route answers calls: * pending: created, and awaiting manual work from us * pending_regulatory_information: awaiting regulatory compliance information, collected in the dashboard * pending_number: compliance is settled, and we're provisioning a number * active: fully provisioned, and answering calls

const (
	CallRouteV2CurrentStateActive                       CallRouteV2CurrentState = "active"
	CallRouteV2CurrentStatePending                      CallRouteV2CurrentState = "pending"
	CallRouteV2CurrentStatePendingNumber                CallRouteV2CurrentState = "pending_number"
	CallRouteV2CurrentStatePendingRegulatoryInformation CallRouteV2CurrentState = "pending_regulatory_information"
)

Defines values for CallRouteV2CurrentState.

func (CallRouteV2CurrentState) Valid added in v1.0.104

func (e CallRouteV2CurrentState) Valid() bool

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

type CallRouteV2CustomLanguage added in v1.0.104

type CallRouteV2CustomLanguage string

CallRouteV2CustomLanguage The language we speak voice prompts in, via text-to-speech

const (
	CallRouteV2CustomLanguageDeDE CallRouteV2CustomLanguage = "de-DE"
	CallRouteV2CustomLanguageEnGB CallRouteV2CustomLanguage = "en-GB"
	CallRouteV2CustomLanguageEnUS CallRouteV2CustomLanguage = "en-US"
	CallRouteV2CustomLanguageEsES CallRouteV2CustomLanguage = "es-ES"
	CallRouteV2CustomLanguageFrFR CallRouteV2CustomLanguage = "fr-FR"
	CallRouteV2CustomLanguageNlNL CallRouteV2CustomLanguage = "nl-NL"
	CallRouteV2CustomLanguagePtBR CallRouteV2CustomLanguage = "pt-BR"
	CallRouteV2CustomLanguagePtPT CallRouteV2CustomLanguage = "pt-PT"
)

Defines values for CallRouteV2CustomLanguage.

func (CallRouteV2CustomLanguage) Valid added in v1.0.104

func (e CallRouteV2CustomLanguage) Valid() bool

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

type CallRouteV2PhoneNumberType added in v1.0.104

type CallRouteV2PhoneNumberType string

CallRouteV2PhoneNumberType The type of phone number, which determines the regulatory requirements for provisioning it

const (
	Local    CallRouteV2PhoneNumberType = "local"
	Mobile   CallRouteV2PhoneNumberType = "mobile"
	National CallRouteV2PhoneNumberType = "national"
	TollFree CallRouteV2PhoneNumberType = "toll_free"
)

Defines values for CallRouteV2PhoneNumberType.

func (CallRouteV2PhoneNumberType) Valid added in v1.0.104

func (e CallRouteV2PhoneNumberType) Valid() bool

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

type CallRouteV2ResponderCallerId added in v1.0.104

type CallRouteV2ResponderCallerId string

CallRouteV2ResponderCallerId Which number responders see when we call them: * route_number: this route's own number * oncall_number: an incident.io on-call number

const (
	CallRouteV2ResponderCallerIdOncallNumber CallRouteV2ResponderCallerId = "oncall_number"
	CallRouteV2ResponderCallerIdRouteNumber  CallRouteV2ResponderCallerId = "route_number"
)

Defines values for CallRouteV2ResponderCallerId.

func (CallRouteV2ResponderCallerId) Valid added in v1.0.104

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

type CallRoutesCreateAllowedCallerPayloadV2 added in v1.0.104

type CallRoutesCreateAllowedCallerPayloadV2 struct {
	// Name Label for whose number this is
	Name *string `json:"name,omitempty"`

	// PhoneNumber The number to allow, in international format
	PhoneNumber string `json:"phone_number"`
}

CallRoutesCreateAllowedCallerPayloadV2 defines model for CallRoutesCreateAllowedCallerPayloadV2.

type CallRoutesCreateAllowedCallerResultV2 added in v1.0.104

type CallRoutesCreateAllowedCallerResultV2 struct {
	// AllowedCaller A phone number allowed to reach a call route.
	AllowedCaller CallRouteAllowedCallerV2 `json:"allowed_caller"`
}

CallRoutesCreateAllowedCallerResultV2 defines model for CallRoutesCreateAllowedCallerResultV2.

type CallRoutesCreateOptionPayloadV2 added in v1.0.104

type CallRoutesCreateOptionPayloadV2 struct {
	// Digit The keypad digit a caller presses to choose this option
	Digit CallRoutesCreateOptionPayloadV2Digit `json:"digit"`

	// Path Who to page when a caller chooses this option
	Path []CallRoutePathNodePayloadV2 `json:"path"`

	// Prompt What we read out to offer this option, via text-to-speech in the route's language, exactly as written
	Prompt string `json:"prompt"`
}

CallRoutesCreateOptionPayloadV2 defines model for CallRoutesCreateOptionPayloadV2.

type CallRoutesCreateOptionPayloadV2Digit added in v1.0.104

type CallRoutesCreateOptionPayloadV2Digit string

CallRoutesCreateOptionPayloadV2Digit The keypad digit a caller presses to choose this option

const (
	CallRoutesCreateOptionPayloadV2DigitN1 CallRoutesCreateOptionPayloadV2Digit = "1"
	CallRoutesCreateOptionPayloadV2DigitN2 CallRoutesCreateOptionPayloadV2Digit = "2"
	CallRoutesCreateOptionPayloadV2DigitN3 CallRoutesCreateOptionPayloadV2Digit = "3"
	CallRoutesCreateOptionPayloadV2DigitN4 CallRoutesCreateOptionPayloadV2Digit = "4"
	CallRoutesCreateOptionPayloadV2DigitN5 CallRoutesCreateOptionPayloadV2Digit = "5"
	CallRoutesCreateOptionPayloadV2DigitN6 CallRoutesCreateOptionPayloadV2Digit = "6"
	CallRoutesCreateOptionPayloadV2DigitN7 CallRoutesCreateOptionPayloadV2Digit = "7"
	CallRoutesCreateOptionPayloadV2DigitN8 CallRoutesCreateOptionPayloadV2Digit = "8"
	CallRoutesCreateOptionPayloadV2DigitN9 CallRoutesCreateOptionPayloadV2Digit = "9"
)

Defines values for CallRoutesCreateOptionPayloadV2Digit.

func (CallRoutesCreateOptionPayloadV2Digit) Valid added in v1.0.104

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

type CallRoutesCreateOptionResultV2 added in v1.0.104

type CallRoutesCreateOptionResultV2 struct {
	// Option One entry in a call route's phone-tree menu: the digit a caller presses, the
	// prompt we read out to offer it, and who we page when they choose it.
	Option CallRouteOptionV2 `json:"option"`
}

CallRoutesCreateOptionResultV2 defines model for CallRoutesCreateOptionResultV2.

type CallRoutesListAllowedCallersResultV2 added in v1.0.104

type CallRoutesListAllowedCallersResultV2 struct {
	AllowedCallers []CallRouteAllowedCallerV2 `json:"allowed_callers"`
}

CallRoutesListAllowedCallersResultV2 defines model for CallRoutesListAllowedCallersResultV2.

type CallRoutesListOptionsResultV2 added in v1.0.104

type CallRoutesListOptionsResultV2 struct {
	Options []CallRouteOptionV2 `json:"options"`
}

CallRoutesListOptionsResultV2 defines model for CallRoutesListOptionsResultV2.

type CallRoutesListResultV2 added in v1.0.104

type CallRoutesListResultV2 struct {
	CallRoutes     []CallRouteV2           `json:"call_routes"`
	PaginationMeta *PaginationMetaResultV2 `json:"pagination_meta,omitempty"`
}

CallRoutesListResultV2 defines model for CallRoutesListResultV2.

type CallRoutesShowAllowedCallerResultV2 added in v1.0.104

type CallRoutesShowAllowedCallerResultV2 struct {
	// AllowedCaller A phone number allowed to reach a call route.
	AllowedCaller CallRouteAllowedCallerV2 `json:"allowed_caller"`
}

CallRoutesShowAllowedCallerResultV2 defines model for CallRoutesShowAllowedCallerResultV2.

type CallRoutesShowOptionResultV2 added in v1.0.104

type CallRoutesShowOptionResultV2 struct {
	// Option One entry in a call route's phone-tree menu: the digit a caller presses, the
	// prompt we read out to offer it, and who we page when they choose it.
	Option CallRouteOptionV2 `json:"option"`
}

CallRoutesShowOptionResultV2 defines model for CallRoutesShowOptionResultV2.

type CallRoutesShowResultV2 added in v1.0.104

type CallRoutesShowResultV2 struct {
	// CallRoute A call route is a phone number your customers can call to reach whoever is
	// on call, for an urgent support line or a regulator hotline.
	//
	// When a call comes in we work down the route's path, ringing each level's targets
	// in turn until someone answers, then connect them to the caller. A trailing
	// voicemail node records a message instead. Every call raises an alert, so calls
	// can open incidents through an alert route.
	//
	// List and edit call routes here. Create and delete them in the dashboard.
	CallRoute CallRouteV2 `json:"call_route"`
}

CallRoutesShowResultV2 defines model for CallRoutesShowResultV2.

type CallRoutesUpdateAllowedCallerPayloadV2 added in v1.0.104

type CallRoutesUpdateAllowedCallerPayloadV2 struct {
	// Name Label for whose number this is
	Name *string `json:"name,omitempty"`

	// PhoneNumber The number to allow, in international format
	PhoneNumber string `json:"phone_number"`
}

CallRoutesUpdateAllowedCallerPayloadV2 defines model for CallRoutesUpdateAllowedCallerPayloadV2.

type CallRoutesUpdateAllowedCallerResultV2 added in v1.0.104

type CallRoutesUpdateAllowedCallerResultV2 struct {
	// AllowedCaller A phone number allowed to reach a call route.
	AllowedCaller CallRouteAllowedCallerV2 `json:"allowed_caller"`
}

CallRoutesUpdateAllowedCallerResultV2 defines model for CallRoutesUpdateAllowedCallerResultV2.

type CallRoutesUpdateOptionPayloadV2 added in v1.0.104

type CallRoutesUpdateOptionPayloadV2 struct {
	// Digit The keypad digit a caller presses to choose this option
	Digit CallRoutesUpdateOptionPayloadV2Digit `json:"digit"`

	// Path Who to page when a caller chooses this option
	Path []CallRoutePathNodePayloadV2 `json:"path"`

	// Prompt What we read out to offer this option, via text-to-speech in the route's language, exactly as written
	Prompt string `json:"prompt"`
}

CallRoutesUpdateOptionPayloadV2 defines model for CallRoutesUpdateOptionPayloadV2.

type CallRoutesUpdateOptionPayloadV2Digit added in v1.0.104

type CallRoutesUpdateOptionPayloadV2Digit string

CallRoutesUpdateOptionPayloadV2Digit The keypad digit a caller presses to choose this option

func (CallRoutesUpdateOptionPayloadV2Digit) Valid added in v1.0.104

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

type CallRoutesUpdateOptionResultV2 added in v1.0.104

type CallRoutesUpdateOptionResultV2 struct {
	// Option One entry in a call route's phone-tree menu: the digit a caller presses, the
	// prompt we read out to offer it, and who we page when they choose it.
	Option CallRouteOptionV2 `json:"option"`
}

CallRoutesUpdateOptionResultV2 defines model for CallRoutesUpdateOptionResultV2.

type CallRoutesUpdatePayloadV2 added in v1.0.104

type CallRoutesUpdatePayloadV2 struct {
	// CustomLanguage The language we speak voice prompts in, via text-to-speech
	CustomLanguage CallRoutesUpdatePayloadV2CustomLanguage `json:"custom_language"`

	// Name Name for this call route
	Name string `json:"name"`

	// Path Who to page when a call comes in. Retires any phone-tree menu on the route; send an empty list to keep the menu.
	Path []CallRoutePathNodePayloadV2 `json:"path"`

	// ResponderCallerId Which number responders see when we call them:
	// * route_number: this route's own number
	// * oncall_number: an incident.io on-call number
	ResponderCallerId CallRoutesUpdatePayloadV2ResponderCallerId `json:"responder_caller_id"`

	// UseCallerAllowlist Whether to only answer calls from this route's allowed callers. Needs at least one allowed caller.
	UseCallerAllowlist bool `json:"use_caller_allowlist"`
}

CallRoutesUpdatePayloadV2 defines model for CallRoutesUpdatePayloadV2.

type CallRoutesUpdatePayloadV2CustomLanguage added in v1.0.104

type CallRoutesUpdatePayloadV2CustomLanguage string

CallRoutesUpdatePayloadV2CustomLanguage The language we speak voice prompts in, via text-to-speech

const (
	CallRoutesUpdatePayloadV2CustomLanguageDeDE CallRoutesUpdatePayloadV2CustomLanguage = "de-DE"
	CallRoutesUpdatePayloadV2CustomLanguageEnGB CallRoutesUpdatePayloadV2CustomLanguage = "en-GB"
	CallRoutesUpdatePayloadV2CustomLanguageEnUS CallRoutesUpdatePayloadV2CustomLanguage = "en-US"
	CallRoutesUpdatePayloadV2CustomLanguageEsES CallRoutesUpdatePayloadV2CustomLanguage = "es-ES"
	CallRoutesUpdatePayloadV2CustomLanguageFrFR CallRoutesUpdatePayloadV2CustomLanguage = "fr-FR"
	CallRoutesUpdatePayloadV2CustomLanguageNlNL CallRoutesUpdatePayloadV2CustomLanguage = "nl-NL"
	CallRoutesUpdatePayloadV2CustomLanguagePtBR CallRoutesUpdatePayloadV2CustomLanguage = "pt-BR"
	CallRoutesUpdatePayloadV2CustomLanguagePtPT CallRoutesUpdatePayloadV2CustomLanguage = "pt-PT"
)

Defines values for CallRoutesUpdatePayloadV2CustomLanguage.

func (CallRoutesUpdatePayloadV2CustomLanguage) Valid added in v1.0.104

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

type CallRoutesUpdatePayloadV2ResponderCallerId added in v1.0.104

type CallRoutesUpdatePayloadV2ResponderCallerId string

CallRoutesUpdatePayloadV2ResponderCallerId Which number responders see when we call them: * route_number: this route's own number * oncall_number: an incident.io on-call number

const (
	CallRoutesUpdatePayloadV2ResponderCallerIdOncallNumber CallRoutesUpdatePayloadV2ResponderCallerId = "oncall_number"
	CallRoutesUpdatePayloadV2ResponderCallerIdRouteNumber  CallRoutesUpdatePayloadV2ResponderCallerId = "route_number"
)

Defines values for CallRoutesUpdatePayloadV2ResponderCallerId.

func (CallRoutesUpdatePayloadV2ResponderCallerId) Valid added in v1.0.104

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

type CallRoutesUpdateResultV2 added in v1.0.104

type CallRoutesUpdateResultV2 struct {
	// CallRoute A call route is a phone number your customers can call to reach whoever is
	// on call, for an urgent support line or a regulator hotline.
	//
	// When a call comes in we work down the route's path, ringing each level's targets
	// in turn until someone answers, then connect them to the caller. A trailing
	// voicemail node records a message instead. Every call raises an alert, so calls
	// can open incidents through an alert route.
	//
	// List and edit call routes here. Create and delete them in the dashboard.
	CallRoute CallRouteV2 `json:"call_route"`
}

CallRoutesUpdateResultV2 defines model for CallRoutesUpdateResultV2.

type CallRoutesV2CreateAllowedCallerJSONRequestBody added in v1.0.104

type CallRoutesV2CreateAllowedCallerJSONRequestBody = CallRoutesCreateAllowedCallerPayloadV2

CallRoutesV2CreateAllowedCallerJSONRequestBody defines body for CallRoutesV2CreateAllowedCaller for application/json ContentType.

type CallRoutesV2CreateAllowedCallerResponse added in v1.0.104

type CallRoutesV2CreateAllowedCallerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CallRoutesCreateAllowedCallerResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2CreateAllowedCallerResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2CreateAllowedCallerResponse) StatusCode added in v1.0.104

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2CreateOptionJSONRequestBody added in v1.0.104

type CallRoutesV2CreateOptionJSONRequestBody = CallRoutesCreateOptionPayloadV2

CallRoutesV2CreateOptionJSONRequestBody defines body for CallRoutesV2CreateOption for application/json ContentType.

type CallRoutesV2CreateOptionResponse added in v1.0.104

type CallRoutesV2CreateOptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CallRoutesCreateOptionResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2CreateOptionResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2CreateOptionResponse) StatusCode added in v1.0.104

func (r CallRoutesV2CreateOptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2DestroyAllowedCallerResponse added in v1.0.104

type CallRoutesV2DestroyAllowedCallerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2DestroyAllowedCallerResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2DestroyAllowedCallerResponse) StatusCode added in v1.0.104

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2DestroyOptionResponse added in v1.0.104

type CallRoutesV2DestroyOptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2DestroyOptionResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2DestroyOptionResponse) StatusCode added in v1.0.104

func (r CallRoutesV2DestroyOptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2ListAllowedCallersResponse added in v1.0.104

type CallRoutesV2ListAllowedCallersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesListAllowedCallersResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2ListAllowedCallersResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2ListAllowedCallersResponse) StatusCode added in v1.0.104

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2ListOptionsResponse added in v1.0.104

type CallRoutesV2ListOptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesListOptionsResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2ListOptionsResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2ListOptionsResponse) StatusCode added in v1.0.104

func (r CallRoutesV2ListOptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2ListParams added in v1.0.104

type CallRoutesV2ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A call route's ID. This endpoint will return a list of call routes after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

CallRoutesV2ListParams defines parameters for CallRoutesV2List.

type CallRoutesV2ListResponse added in v1.0.104

type CallRoutesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2ListResponse) Status added in v1.0.104

func (r CallRoutesV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (CallRoutesV2ListResponse) StatusCode added in v1.0.104

func (r CallRoutesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2ShowAllowedCallerResponse added in v1.0.104

type CallRoutesV2ShowAllowedCallerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesShowAllowedCallerResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2ShowAllowedCallerResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2ShowAllowedCallerResponse) StatusCode added in v1.0.104

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2ShowOptionResponse added in v1.0.104

type CallRoutesV2ShowOptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesShowOptionResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2ShowOptionResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2ShowOptionResponse) StatusCode added in v1.0.104

func (r CallRoutesV2ShowOptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2ShowResponse added in v1.0.104

type CallRoutesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2ShowResponse) Status added in v1.0.104

func (r CallRoutesV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (CallRoutesV2ShowResponse) StatusCode added in v1.0.104

func (r CallRoutesV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2UpdateAllowedCallerJSONRequestBody added in v1.0.104

type CallRoutesV2UpdateAllowedCallerJSONRequestBody = CallRoutesUpdateAllowedCallerPayloadV2

CallRoutesV2UpdateAllowedCallerJSONRequestBody defines body for CallRoutesV2UpdateAllowedCaller for application/json ContentType.

type CallRoutesV2UpdateAllowedCallerResponse added in v1.0.104

type CallRoutesV2UpdateAllowedCallerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesUpdateAllowedCallerResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2UpdateAllowedCallerResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2UpdateAllowedCallerResponse) StatusCode added in v1.0.104

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2UpdateJSONRequestBody added in v1.0.104

type CallRoutesV2UpdateJSONRequestBody = CallRoutesUpdatePayloadV2

CallRoutesV2UpdateJSONRequestBody defines body for CallRoutesV2Update for application/json ContentType.

type CallRoutesV2UpdateOptionJSONRequestBody added in v1.0.104

type CallRoutesV2UpdateOptionJSONRequestBody = CallRoutesUpdateOptionPayloadV2

CallRoutesV2UpdateOptionJSONRequestBody defines body for CallRoutesV2UpdateOption for application/json ContentType.

type CallRoutesV2UpdateOptionResponse added in v1.0.104

type CallRoutesV2UpdateOptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesUpdateOptionResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2UpdateOptionResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2UpdateOptionResponse) StatusCode added in v1.0.104

func (r CallRoutesV2UpdateOptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallRoutesV2UpdateResponse added in v1.0.104

type CallRoutesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallRoutesUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallRoutesV2UpdateResponse) Status added in v1.0.104

Status returns HTTPResponse.Status

func (CallRoutesV2UpdateResponse) StatusCode added in v1.0.104

func (r CallRoutesV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallSessionV2 added in v1.0.49

type CallSessionV2 struct {
	// EndedAt When the call session ended. Absent while the call is still in progress.
	EndedAt *time.Time `json:"ended_at,omitempty"`

	// Id Unique identifier for this call session
	Id string `json:"id"`

	// IncidentId The incident this call session belongs to
	IncidentId string `json:"incident_id"`

	// StartedAt When the call session started
	StartedAt time.Time `json:"started_at"`
}

CallSessionV2 A call session is a single occurrence of a call that Scribe attended, for example one Zoom or Google Meet meeting. Several call sessions can exist for the same context: one for each time a call was started.

Use the Call Transcript Entries endpoint to page through what Scribe transcribed during a session.

type CallSessionsListResultV2 added in v1.0.49

type CallSessionsListResultV2 struct {
	CallSessions   []CallSessionV2         `json:"call_sessions"`
	PaginationMeta *PaginationMetaResultV2 `json:"pagination_meta,omitempty"`
}

CallSessionsListResultV2 defines model for CallSessionsListResultV2.

type CallSessionsV2ListParams added in v1.0.49

type CallSessionsV2ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A call session's ID. This endpoint will return a list of call sessions after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// IncidentId Incident whose call sessions you want to list
	IncidentId string `form:"incident_id" json:"incident_id"`
}

CallSessionsV2ListParams defines parameters for CallSessionsV2List.

type CallSessionsV2ListResponse added in v1.0.49

type CallSessionsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallSessionsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallSessionsV2ListResponse) Status added in v1.0.49

Status returns HTTPResponse.Status

func (CallSessionsV2ListResponse) StatusCode added in v1.0.49

func (r CallSessionsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallTranscriptEntriesListResultV2 added in v1.0.49

type CallTranscriptEntriesListResultV2 struct {
	CallTranscriptEntries []CallTranscriptEntryV2 `json:"call_transcript_entries"`
	PaginationMeta        *PaginationMetaResultV2 `json:"pagination_meta,omitempty"`
}

CallTranscriptEntriesListResultV2 defines model for CallTranscriptEntriesListResultV2.

type CallTranscriptEntriesV2ListParams added in v1.0.49

type CallTranscriptEntriesV2ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A transcript entry's ID. This endpoint will return a list of entries after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// CallSessionId Call session whose transcript entries you want to list
	CallSessionId string `form:"call_session_id" json:"call_session_id"`
}

CallTranscriptEntriesV2ListParams defines parameters for CallTranscriptEntriesV2List.

type CallTranscriptEntriesV2ListResponse added in v1.0.49

type CallTranscriptEntriesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CallTranscriptEntriesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CallTranscriptEntriesV2ListResponse) Status added in v1.0.49

Status returns HTTPResponse.Status

func (CallTranscriptEntriesV2ListResponse) StatusCode added in v1.0.49

StatusCode returns HTTPResponse.StatusCode

type CallTranscriptEntryV2 added in v1.0.49

type CallTranscriptEntryV2 struct {
	// Content What was said
	Content string `json:"content"`

	// Id Unique identifier for this transcript entry
	Id string `json:"id"`

	// Medium Whether this entry was spoken aloud or sent as an in-call chat message
	Medium CallTranscriptEntryV2Medium `json:"medium"`

	// ParticipantName Name of the participant who spoke or sent the message, as reported by the call provider
	ParticipantName string `json:"participant_name"`

	// Timestamp When the participant started speaking
	Timestamp time.Time `json:"timestamp"`
}

CallTranscriptEntryV2 A single entry of a Scribe call transcript: one contiguous run of speech, or one in-call chat message, from one participant.

type CallTranscriptEntryV2Medium added in v1.0.49

type CallTranscriptEntryV2Medium string

CallTranscriptEntryV2Medium Whether this entry was spoken aloud or sent as an in-call chat message

const (
	CallChat CallTranscriptEntryV2Medium = "call_chat"
	Spoken   CallTranscriptEntryV2Medium = "spoken"
)

Defines values for CallTranscriptEntryV2Medium.

func (CallTranscriptEntryV2Medium) Valid added in v1.0.49

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

type CatalogBulkUpdateEntriesPayloadV3 added in v1.0.1

type CatalogBulkUpdateEntriesPayloadV3 struct {
	// CatalogTypeId The unique identifier of the catalog type containing the entries
	CatalogTypeId string `json:"catalog_type_id"`

	// Entries A list of entries to update with their new values. Maximum 250 entries per request.
	Entries []PartialEntryPayloadV3 `json:"entries"`

	// UpdateAttributes Optional list of specific attribute IDs to update across all entries. When provided, only these attributes in attribute_values will be updated and all other attributes will be preserved. This parameter only affects attribute_values - it does not affect core entry fields like name, rank, aliases, or external_id, which follow their individual omission rules.
	UpdateAttributes *[]string `json:"update_attributes,omitempty"`
}

CatalogBulkUpdateEntriesPayloadV3 defines model for CatalogBulkUpdateEntriesPayloadV3.

type CatalogCreateEntryPayloadV2 added in v1.0.1

type CatalogCreateEntryPayloadV2 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases *[]string `json:"aliases,omitempty"`

	// AttributeValues Values of this entry
	AttributeValues map[string]EngineParamBindingPayloadV2 `json:"attribute_values"`

	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `json:"catalog_type_id"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`

	// Rank When catalog type is ranked, this is used to help order things
	Rank *int32 `json:"rank,omitempty"`
}

CatalogCreateEntryPayloadV2 defines model for CatalogCreateEntryPayloadV2.

type CatalogCreateEntryPayloadV3 added in v1.0.1

type CatalogCreateEntryPayloadV3 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases *[]string `json:"aliases,omitempty"`

	// AttributeValues Values of this entry
	AttributeValues map[string]CatalogEngineParamBindingPayloadV3 `json:"attribute_values"`

	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `json:"catalog_type_id"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`

	// Rank When catalog type is ranked, this is used to help order things
	Rank *int32 `json:"rank,omitempty"`
}

CatalogCreateEntryPayloadV3 defines model for CatalogCreateEntryPayloadV3.

type CatalogCreateEntryResultV2 added in v1.0.1

type CatalogCreateEntryResultV2 struct {
	CatalogEntry CatalogEntryV2 `json:"catalog_entry"`
}

CatalogCreateEntryResultV2 defines model for CatalogCreateEntryResultV2.

type CatalogCreateEntryResultV3 added in v1.0.1

type CatalogCreateEntryResultV3 struct {
	CatalogEntry CatalogEntryV3 `json:"catalog_entry"`
}

CatalogCreateEntryResultV3 defines model for CatalogCreateEntryResultV3.

type CatalogCreateTypePayloadV2 added in v1.0.1

type CatalogCreateTypePayloadV2 struct {
	// Annotations Annotations that can track metadata about this type
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Categories What categories is this type considered part of
	Categories *[]CatalogCreateTypePayloadV2Categories `json:"categories,omitempty"`

	// Color Sets the display color of this type in the dashboard
	Color *CatalogCreateTypePayloadV2Color `json:"color,omitempty"`

	// Description Human readble description of this type
	Description string `json:"description"`

	// Icon Sets the display icon of this type in the dashboard
	Icon *CatalogCreateTypePayloadV2Icon `json:"icon,omitempty"`

	// Name Name is the human readable name of this type
	Name string `json:"name"`

	// Ranked If this type should be ranked
	Ranked *bool `json:"ranked,omitempty"`

	// SourceRepoUrl The url of the external repository where this type is managed
	SourceRepoUrl *string `json:"source_repo_url,omitempty"`

	// TypeName The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName"]
	TypeName *string `json:"type_name,omitempty"`
}

CatalogCreateTypePayloadV2 defines model for CatalogCreateTypePayloadV2.

type CatalogCreateTypePayloadV2Categories added in v1.0.1

type CatalogCreateTypePayloadV2Categories string

CatalogCreateTypePayloadV2Categories defines model for CatalogCreateTypePayloadV2.Categories.

const (
	CatalogCreateTypePayloadV2CategoriesCustomer       CatalogCreateTypePayloadV2Categories = "customer"
	CatalogCreateTypePayloadV2CategoriesIssueTracker   CatalogCreateTypePayloadV2Categories = "issue-tracker"
	CatalogCreateTypePayloadV2CategoriesOnCall         CatalogCreateTypePayloadV2Categories = "on-call"
	CatalogCreateTypePayloadV2CategoriesProductFeature CatalogCreateTypePayloadV2Categories = "product-feature"
	CatalogCreateTypePayloadV2CategoriesService        CatalogCreateTypePayloadV2Categories = "service"
	CatalogCreateTypePayloadV2CategoriesTeam           CatalogCreateTypePayloadV2Categories = "team"
	CatalogCreateTypePayloadV2CategoriesUser           CatalogCreateTypePayloadV2Categories = "user"
)

Defines values for CatalogCreateTypePayloadV2Categories.

func (CatalogCreateTypePayloadV2Categories) Valid added in v1.0.1

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

type CatalogCreateTypePayloadV2Color added in v1.0.1

type CatalogCreateTypePayloadV2Color string

CatalogCreateTypePayloadV2Color Sets the display color of this type in the dashboard

const (
	CatalogCreateTypePayloadV2ColorBlue   CatalogCreateTypePayloadV2Color = "blue"
	CatalogCreateTypePayloadV2ColorCyan   CatalogCreateTypePayloadV2Color = "cyan"
	CatalogCreateTypePayloadV2ColorGreen  CatalogCreateTypePayloadV2Color = "green"
	CatalogCreateTypePayloadV2ColorOrange CatalogCreateTypePayloadV2Color = "orange"
	CatalogCreateTypePayloadV2ColorPink   CatalogCreateTypePayloadV2Color = "pink"
	CatalogCreateTypePayloadV2ColorViolet CatalogCreateTypePayloadV2Color = "violet"
	CatalogCreateTypePayloadV2ColorYellow CatalogCreateTypePayloadV2Color = "yellow"
)

Defines values for CatalogCreateTypePayloadV2Color.

func (CatalogCreateTypePayloadV2Color) Valid added in v1.0.1

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

type CatalogCreateTypePayloadV2Icon added in v1.0.1

type CatalogCreateTypePayloadV2Icon string

CatalogCreateTypePayloadV2Icon Sets the display icon of this type in the dashboard

const (
	CatalogCreateTypePayloadV2IconAlert            CatalogCreateTypePayloadV2Icon = "alert"
	CatalogCreateTypePayloadV2IconBolt             CatalogCreateTypePayloadV2Icon = "bolt"
	CatalogCreateTypePayloadV2IconBox              CatalogCreateTypePayloadV2Icon = "box"
	CatalogCreateTypePayloadV2IconBriefcase        CatalogCreateTypePayloadV2Icon = "briefcase"
	CatalogCreateTypePayloadV2IconBrowser          CatalogCreateTypePayloadV2Icon = "browser"
	CatalogCreateTypePayloadV2IconBulb             CatalogCreateTypePayloadV2Icon = "bulb"
	CatalogCreateTypePayloadV2IconCalendar         CatalogCreateTypePayloadV2Icon = "calendar"
	CatalogCreateTypePayloadV2IconClock            CatalogCreateTypePayloadV2Icon = "clock"
	CatalogCreateTypePayloadV2IconCog              CatalogCreateTypePayloadV2Icon = "cog"
	CatalogCreateTypePayloadV2IconComponents       CatalogCreateTypePayloadV2Icon = "components"
	CatalogCreateTypePayloadV2IconDatabase         CatalogCreateTypePayloadV2Icon = "database"
	CatalogCreateTypePayloadV2IconDoc              CatalogCreateTypePayloadV2Icon = "doc"
	CatalogCreateTypePayloadV2IconEmail            CatalogCreateTypePayloadV2Icon = "email"
	CatalogCreateTypePayloadV2IconEscalationPath   CatalogCreateTypePayloadV2Icon = "escalation-path"
	CatalogCreateTypePayloadV2IconFiles            CatalogCreateTypePayloadV2Icon = "files"
	CatalogCreateTypePayloadV2IconFlag             CatalogCreateTypePayloadV2Icon = "flag"
	CatalogCreateTypePayloadV2IconFolder           CatalogCreateTypePayloadV2Icon = "folder"
	CatalogCreateTypePayloadV2IconGlobe            CatalogCreateTypePayloadV2Icon = "globe"
	CatalogCreateTypePayloadV2IconIncidentTemplate CatalogCreateTypePayloadV2Icon = "incident-template"
	CatalogCreateTypePayloadV2IconMoney            CatalogCreateTypePayloadV2Icon = "money"
	CatalogCreateTypePayloadV2IconServer           CatalogCreateTypePayloadV2Icon = "server"
	CatalogCreateTypePayloadV2IconSeverity         CatalogCreateTypePayloadV2Icon = "severity"
	CatalogCreateTypePayloadV2IconStar             CatalogCreateTypePayloadV2Icon = "star"
	CatalogCreateTypePayloadV2IconStatusPage       CatalogCreateTypePayloadV2Icon = "status-page"
	CatalogCreateTypePayloadV2IconStore            CatalogCreateTypePayloadV2Icon = "store"
	CatalogCreateTypePayloadV2IconTag              CatalogCreateTypePayloadV2Icon = "tag"
	CatalogCreateTypePayloadV2IconUser             CatalogCreateTypePayloadV2Icon = "user"
	CatalogCreateTypePayloadV2IconUsers            CatalogCreateTypePayloadV2Icon = "users"
)

Defines values for CatalogCreateTypePayloadV2Icon.

func (CatalogCreateTypePayloadV2Icon) Valid added in v1.0.1

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

type CatalogCreateTypePayloadV3 added in v1.0.1

type CatalogCreateTypePayloadV3 struct {
	// Annotations Annotations that can track metadata about this type
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Categories What categories is this type considered part of
	Categories *[]CatalogCreateTypePayloadV3Categories `json:"categories,omitempty"`

	// Color Sets the display color of this type in the dashboard
	Color *CatalogCreateTypePayloadV3Color `json:"color,omitempty"`

	// Description Human readble description of this type
	Description string `json:"description"`

	// Icon Sets the display icon of this type in the dashboard
	Icon *CatalogCreateTypePayloadV3Icon `json:"icon,omitempty"`

	// Name Name is the human readable name of this type
	Name string `json:"name"`

	// OwningTeamIds IDs of the teams that own this catalog type
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// Ranked If this type should be ranked
	Ranked *bool `json:"ranked,omitempty"`

	// SourceRepoUrl The url of the external repository where this type is managed
	SourceRepoUrl *string `json:"source_repo_url,omitempty"`

	// TypeName The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName"]
	TypeName *string `json:"type_name,omitempty"`

	// UseNameAsIdentifier If enabled, you can refer to entries of this type by their name, as well as their external ID and any aliases.
	UseNameAsIdentifier *bool `json:"use_name_as_identifier,omitempty"`
}

CatalogCreateTypePayloadV3 defines model for CatalogCreateTypePayloadV3.

type CatalogCreateTypePayloadV3Categories added in v1.0.1

type CatalogCreateTypePayloadV3Categories string

CatalogCreateTypePayloadV3Categories defines model for CatalogCreateTypePayloadV3.Categories.

const (
	CatalogCreateTypePayloadV3CategoriesCustomer       CatalogCreateTypePayloadV3Categories = "customer"
	CatalogCreateTypePayloadV3CategoriesIssueTracker   CatalogCreateTypePayloadV3Categories = "issue-tracker"
	CatalogCreateTypePayloadV3CategoriesOnCall         CatalogCreateTypePayloadV3Categories = "on-call"
	CatalogCreateTypePayloadV3CategoriesProductFeature CatalogCreateTypePayloadV3Categories = "product-feature"
	CatalogCreateTypePayloadV3CategoriesService        CatalogCreateTypePayloadV3Categories = "service"
	CatalogCreateTypePayloadV3CategoriesTeam           CatalogCreateTypePayloadV3Categories = "team"
	CatalogCreateTypePayloadV3CategoriesUser           CatalogCreateTypePayloadV3Categories = "user"
)

Defines values for CatalogCreateTypePayloadV3Categories.

func (CatalogCreateTypePayloadV3Categories) Valid added in v1.0.1

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

type CatalogCreateTypePayloadV3Color added in v1.0.1

type CatalogCreateTypePayloadV3Color string

CatalogCreateTypePayloadV3Color Sets the display color of this type in the dashboard

const (
	CatalogCreateTypePayloadV3ColorBlue   CatalogCreateTypePayloadV3Color = "blue"
	CatalogCreateTypePayloadV3ColorCyan   CatalogCreateTypePayloadV3Color = "cyan"
	CatalogCreateTypePayloadV3ColorGreen  CatalogCreateTypePayloadV3Color = "green"
	CatalogCreateTypePayloadV3ColorOrange CatalogCreateTypePayloadV3Color = "orange"
	CatalogCreateTypePayloadV3ColorPink   CatalogCreateTypePayloadV3Color = "pink"
	CatalogCreateTypePayloadV3ColorViolet CatalogCreateTypePayloadV3Color = "violet"
	CatalogCreateTypePayloadV3ColorYellow CatalogCreateTypePayloadV3Color = "yellow"
)

Defines values for CatalogCreateTypePayloadV3Color.

func (CatalogCreateTypePayloadV3Color) Valid added in v1.0.1

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

type CatalogCreateTypePayloadV3Icon added in v1.0.1

type CatalogCreateTypePayloadV3Icon string

CatalogCreateTypePayloadV3Icon Sets the display icon of this type in the dashboard

const (
	CatalogCreateTypePayloadV3IconAlert            CatalogCreateTypePayloadV3Icon = "alert"
	CatalogCreateTypePayloadV3IconBolt             CatalogCreateTypePayloadV3Icon = "bolt"
	CatalogCreateTypePayloadV3IconBox              CatalogCreateTypePayloadV3Icon = "box"
	CatalogCreateTypePayloadV3IconBriefcase        CatalogCreateTypePayloadV3Icon = "briefcase"
	CatalogCreateTypePayloadV3IconBrowser          CatalogCreateTypePayloadV3Icon = "browser"
	CatalogCreateTypePayloadV3IconBulb             CatalogCreateTypePayloadV3Icon = "bulb"
	CatalogCreateTypePayloadV3IconCalendar         CatalogCreateTypePayloadV3Icon = "calendar"
	CatalogCreateTypePayloadV3IconClock            CatalogCreateTypePayloadV3Icon = "clock"
	CatalogCreateTypePayloadV3IconCog              CatalogCreateTypePayloadV3Icon = "cog"
	CatalogCreateTypePayloadV3IconComponents       CatalogCreateTypePayloadV3Icon = "components"
	CatalogCreateTypePayloadV3IconDatabase         CatalogCreateTypePayloadV3Icon = "database"
	CatalogCreateTypePayloadV3IconDoc              CatalogCreateTypePayloadV3Icon = "doc"
	CatalogCreateTypePayloadV3IconEmail            CatalogCreateTypePayloadV3Icon = "email"
	CatalogCreateTypePayloadV3IconEscalationPath   CatalogCreateTypePayloadV3Icon = "escalation-path"
	CatalogCreateTypePayloadV3IconFiles            CatalogCreateTypePayloadV3Icon = "files"
	CatalogCreateTypePayloadV3IconFlag             CatalogCreateTypePayloadV3Icon = "flag"
	CatalogCreateTypePayloadV3IconFolder           CatalogCreateTypePayloadV3Icon = "folder"
	CatalogCreateTypePayloadV3IconGlobe            CatalogCreateTypePayloadV3Icon = "globe"
	CatalogCreateTypePayloadV3IconIncidentTemplate CatalogCreateTypePayloadV3Icon = "incident-template"
	CatalogCreateTypePayloadV3IconMoney            CatalogCreateTypePayloadV3Icon = "money"
	CatalogCreateTypePayloadV3IconServer           CatalogCreateTypePayloadV3Icon = "server"
	CatalogCreateTypePayloadV3IconSeverity         CatalogCreateTypePayloadV3Icon = "severity"
	CatalogCreateTypePayloadV3IconStar             CatalogCreateTypePayloadV3Icon = "star"
	CatalogCreateTypePayloadV3IconStatusPage       CatalogCreateTypePayloadV3Icon = "status-page"
	CatalogCreateTypePayloadV3IconStore            CatalogCreateTypePayloadV3Icon = "store"
	CatalogCreateTypePayloadV3IconTag              CatalogCreateTypePayloadV3Icon = "tag"
	CatalogCreateTypePayloadV3IconUser             CatalogCreateTypePayloadV3Icon = "user"
	CatalogCreateTypePayloadV3IconUsers            CatalogCreateTypePayloadV3Icon = "users"
)

Defines values for CatalogCreateTypePayloadV3Icon.

func (CatalogCreateTypePayloadV3Icon) Valid added in v1.0.1

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

type CatalogCreateTypeResultV2 added in v1.0.1

type CatalogCreateTypeResultV2 struct {
	CatalogType CatalogTypeV2 `json:"catalog_type"`
}

CatalogCreateTypeResultV2 defines model for CatalogCreateTypeResultV2.

type CatalogCreateTypeResultV3 added in v1.0.1

type CatalogCreateTypeResultV3 struct {
	CatalogType CatalogTypeV3 `json:"catalog_type"`
}

CatalogCreateTypeResultV3 defines model for CatalogCreateTypeResultV3.

type CatalogEngineParamBindingPayloadV3 added in v1.0.1

type CatalogEngineParamBindingPayloadV3 struct {
	// ArrayValue If set, this is the array value of the step parameter
	ArrayValue *[]CatalogEngineParamBindingValuePayloadV3 `json:"array_value,omitempty"`
	Value      *CatalogEngineParamBindingValuePayloadV3   `json:"value,omitempty"`
}

CatalogEngineParamBindingPayloadV3 defines model for CatalogEngineParamBindingPayloadV3.

type CatalogEngineParamBindingValuePayloadV3 added in v1.0.1

type CatalogEngineParamBindingValuePayloadV3 struct {
	// Literal If set, this is the literal value of the step parameter
	Literal *string `json:"literal,omitempty"`
}

CatalogEngineParamBindingValuePayloadV3 defines model for CatalogEngineParamBindingValuePayloadV3.

type CatalogEntryEngineParamBindingV2 added in v1.0.1

type CatalogEntryEngineParamBindingV2 struct {
	// ArrayValue If array_value is set, this helps render the values
	ArrayValue *[]CatalogEntryEngineParamBindingValueV2 `json:"array_value,omitempty"`
	Value      *CatalogEntryEngineParamBindingValueV2   `json:"value,omitempty"`
}

CatalogEntryEngineParamBindingV2 defines model for CatalogEntryEngineParamBindingV2.

type CatalogEntryEngineParamBindingV3 added in v1.0.1

type CatalogEntryEngineParamBindingV3 struct {
	// ArrayValue If the attribute is multi-valued, the value will be returned here.
	ArrayValue *[]CatalogEntryEngineParamBindingValueV3 `json:"array_value,omitempty"`
	Value      *CatalogEntryEngineParamBindingValueV3   `json:"value,omitempty"`
}

CatalogEntryEngineParamBindingV3 defines model for CatalogEntryEngineParamBindingV3.

type CatalogEntryEngineParamBindingValueV2 added in v1.0.1

type CatalogEntryEngineParamBindingValueV2 struct {
	CatalogEntry *CatalogEntryReferenceV2 `json:"catalog_entry,omitempty"`

	// Helptext This field is deprecated. It will not be present in any responses, and will be removed in a future version
	Helptext *string `json:"helptext,omitempty"`

	// ImageUrl This field is deprecated. It will not be present in any responses, and will be removed in a future version
	ImageUrl *string `json:"image_url,omitempty"`

	// IsImageSlackIcon This field is deprecated. It will not be present in any responses, and will be removed in a future version
	IsImageSlackIcon *bool `json:"is_image_slack_icon,omitempty"`

	// Label Human readable label to be displayed for user to select
	Label string `json:"label"`

	// Literal If set, this is the literal value of the step parameter
	Literal *string `json:"literal,omitempty"`

	// Reference This field is deprecated. It will not be present in any responses, and will be removed in a future version
	Reference *string `json:"reference,omitempty"`

	// SortKey This field is deprecated. It will not be present in any responses, and will be removed in a future version
	SortKey string `json:"sort_key"`

	// Unavailable This field is deprecated. It will not be present in any responses, and will be removed in a future version
	Unavailable *bool `json:"unavailable,omitempty"`

	// Value This field is deprecated. It will not be present in any responses, and will be removed in a future version
	Value *string `json:"value,omitempty"`
}

CatalogEntryEngineParamBindingValueV2 defines model for CatalogEntryEngineParamBindingValueV2.

type CatalogEntryEngineParamBindingValueV3 added in v1.0.1

type CatalogEntryEngineParamBindingValueV3 struct {
	// Label A label for this attribute value. If the attribute refers to another Catalog entry, this will be the name of that entry.
	Label string `json:"label"`

	// Literal The underlying value of the attribute, serialized as a string.
	//
	// For String, Text, Number, and Bool typed attributes, this will be empty. For attributes that refer to another catalog entry, this can be the ID, external ID, or one of the aliases of that catalog entry.
	Literal *string `json:"literal,omitempty"`
}

CatalogEntryEngineParamBindingValueV3 defines model for CatalogEntryEngineParamBindingValueV3.

type CatalogEntryReferenceV2 added in v1.0.1

type CatalogEntryReferenceV2 struct {
	// ArchivedAt When this entry was archived
	ArchivedAt *time.Time `json:"archived_at,omitempty"`

	// CatalogEntryId ID of this catalog entry
	CatalogEntryId string `json:"catalog_entry_id"`

	// CatalogEntryName The name of this entry
	CatalogEntryName string `json:"catalog_entry_name"`

	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `json:"catalog_type_id"`
}

CatalogEntryReferenceV2 defines model for CatalogEntryReferenceV2.

type CatalogEntrySlimV3V3 added in v1.0.1

type CatalogEntrySlimV3V3 struct {
	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Id ID of this catalog entry
	Id string `json:"id"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`
}

CatalogEntrySlimV3V3 defines model for CatalogEntrySlimV3V3.

type CatalogEntryV2 added in v1.0.1

type CatalogEntryV2 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases []string `json:"aliases"`

	// ArchivedAt When this entry was archived
	ArchivedAt *time.Time `json:"archived_at,omitempty"`

	// AttributeValues Values of this entry
	AttributeValues map[string]CatalogEntryEngineParamBindingV2 `json:"attribute_values"`

	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `json:"catalog_type_id"`

	// CreatedAt When this entry was created
	CreatedAt time.Time `json:"created_at"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Id ID of this catalog entry
	Id string `json:"id"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`

	// Rank When catalog type is ranked, this is used to help order things
	Rank int32 `json:"rank"`

	// UpdatedAt When this entry was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

CatalogEntryV2 defines model for CatalogEntryV2.

type CatalogEntryV3 added in v1.0.1

type CatalogEntryV3 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases []string `json:"aliases"`

	// ArchivedAt When this entry was archived
	ArchivedAt *time.Time `json:"archived_at,omitempty"`

	// AttributeValues Values of this entry
	AttributeValues map[string]CatalogEntryEngineParamBindingV3 `json:"attribute_values"`

	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `json:"catalog_type_id"`

	// CreatedAt When this entry was created
	CreatedAt time.Time `json:"created_at"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Id ID of this catalog entry
	Id string `json:"id"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`

	// Rank When catalog type is ranked, this is used to help order things
	Rank int32 `json:"rank"`

	// UpdatedAt When this entry was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

CatalogEntryV3 defines model for CatalogEntryV3.

type CatalogListEntriesResultV2 added in v1.0.1

type CatalogListEntriesResultV2 struct {
	CatalogEntries []CatalogEntryV2       `json:"catalog_entries"`
	CatalogType    CatalogTypeV2          `json:"catalog_type"`
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
}

CatalogListEntriesResultV2 defines model for CatalogListEntriesResultV2.

type CatalogListEntriesResultV3 added in v1.0.1

type CatalogListEntriesResultV3 struct {
	CatalogEntries []CatalogEntryV3                `json:"catalog_entries"`
	CatalogType    CatalogTypeV3                   `json:"catalog_type"`
	PaginationMeta PaginationMetaResultWithTotalV3 `json:"pagination_meta"`
}

CatalogListEntriesResultV3 defines model for CatalogListEntriesResultV3.

type CatalogListResourcesResultV2 added in v1.0.1

type CatalogListResourcesResultV2 struct {
	Resources []CatalogResourceV2 `json:"resources"`
}

CatalogListResourcesResultV2 defines model for CatalogListResourcesResultV2.

type CatalogListResourcesResultV3 added in v1.0.1

type CatalogListResourcesResultV3 struct {
	Resources []CatalogResourceV3 `json:"resources"`
}

CatalogListResourcesResultV3 defines model for CatalogListResourcesResultV3.

type CatalogListTypesResultV2 added in v1.0.1

type CatalogListTypesResultV2 struct {
	CatalogTypes []CatalogTypeV2 `json:"catalog_types"`
}

CatalogListTypesResultV2 defines model for CatalogListTypesResultV2.

type CatalogListTypesResultV3 added in v1.0.1

type CatalogListTypesResultV3 struct {
	CatalogTypes []CatalogTypeV3 `json:"catalog_types"`
}

CatalogListTypesResultV3 defines model for CatalogListTypesResultV3.

type CatalogResourceV2 added in v1.0.1

type CatalogResourceV2 struct {
	// Category Which category of resource
	Category CatalogResourceV2Category `json:"category"`

	// Description Human readable description for this resource
	Description string `json:"description"`

	// Label Label for this catalog resource type
	Label string `json:"label"`

	// Type Catalog type name for this resource, as used when setting the type of a catalog type attribute
	Type string `json:"type"`

	// ValueDocstring Documentation for the literal string value of this resource
	ValueDocstring string `json:"value_docstring"`
}

CatalogResourceV2 defines model for CatalogResourceV2.

type CatalogResourceV2Category added in v1.0.1

type CatalogResourceV2Category string

CatalogResourceV2Category Which category of resource

const (
	CatalogResourceV2CategoryCustom    CatalogResourceV2Category = "custom"
	CatalogResourceV2CategoryExternal  CatalogResourceV2Category = "external"
	CatalogResourceV2CategoryPrimitive CatalogResourceV2Category = "primitive"
)

Defines values for CatalogResourceV2Category.

func (CatalogResourceV2Category) Valid added in v1.0.1

func (e CatalogResourceV2Category) Valid() bool

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

type CatalogResourceV3 added in v1.0.1

type CatalogResourceV3 struct {
	// Category Which category of resource
	Category CatalogResourceV3Category `json:"category"`

	// Description Human readable description for this resource
	Description string `json:"description"`

	// EngineResourceType The way this resource type is referenced in the engine, as used when setting the type of an alert attribute
	EngineResourceType string `json:"engine_resource_type"`

	// Label Label for this catalog resource type
	Label string `json:"label"`

	// Type Catalog type name for this resource, as used when setting the type of a catalog type attribute
	Type string `json:"type"`

	// ValueDocstring Documentation for the literal string value of this resource
	ValueDocstring string `json:"value_docstring"`
}

CatalogResourceV3 defines model for CatalogResourceV3.

type CatalogResourceV3Category added in v1.0.1

type CatalogResourceV3Category string

CatalogResourceV3Category Which category of resource

const (
	CatalogResourceV3CategoryCustom    CatalogResourceV3Category = "custom"
	CatalogResourceV3CategoryExternal  CatalogResourceV3Category = "external"
	CatalogResourceV3CategoryPrimitive CatalogResourceV3Category = "primitive"
)

Defines values for CatalogResourceV3Category.

func (CatalogResourceV3Category) Valid added in v1.0.1

func (e CatalogResourceV3Category) Valid() bool

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

type CatalogShowEntryResultV2 added in v1.0.1

type CatalogShowEntryResultV2 struct {
	CatalogEntry CatalogEntryV2 `json:"catalog_entry"`
	CatalogType  CatalogTypeV2  `json:"catalog_type"`
}

CatalogShowEntryResultV2 defines model for CatalogShowEntryResultV2.

type CatalogShowEntryResultV3 added in v1.0.1

type CatalogShowEntryResultV3 struct {
	CatalogEntry CatalogEntryV3 `json:"catalog_entry"`
	CatalogType  CatalogTypeV3  `json:"catalog_type"`
}

CatalogShowEntryResultV3 defines model for CatalogShowEntryResultV3.

type CatalogShowTypeResultV2 added in v1.0.1

type CatalogShowTypeResultV2 struct {
	CatalogType CatalogTypeV2 `json:"catalog_type"`
}

CatalogShowTypeResultV2 defines model for CatalogShowTypeResultV2.

type CatalogShowTypeResultV3 added in v1.0.1

type CatalogShowTypeResultV3 struct {
	CatalogType CatalogTypeV3 `json:"catalog_type"`
}

CatalogShowTypeResultV3 defines model for CatalogShowTypeResultV3.

type CatalogTypeAttributePathItemPayloadV2 added in v1.0.1

type CatalogTypeAttributePathItemPayloadV2 struct {
	// AttributeId the ID of the attribute to use
	AttributeId string `json:"attribute_id"`
}

CatalogTypeAttributePathItemPayloadV2 defines model for CatalogTypeAttributePathItemPayloadV2.

type CatalogTypeAttributePathItemPayloadV3 added in v1.0.1

type CatalogTypeAttributePathItemPayloadV3 struct {
	// AttributeId the ID of the attribute to use
	AttributeId string `json:"attribute_id"`
}

CatalogTypeAttributePathItemPayloadV3 defines model for CatalogTypeAttributePathItemPayloadV3.

type CatalogTypeAttributePathItemV2 added in v1.0.1

type CatalogTypeAttributePathItemV2 struct {
	// AttributeId the ID of the attribute to use
	AttributeId string `json:"attribute_id"`

	// AttributeName the name of the attribute to use
	AttributeName string `json:"attribute_name"`
}

CatalogTypeAttributePathItemV2 defines model for CatalogTypeAttributePathItemV2.

type CatalogTypeAttributePathItemV3 added in v1.0.1

type CatalogTypeAttributePathItemV3 struct {
	// AttributeId the ID of the attribute to use
	AttributeId string `json:"attribute_id"`

	// AttributeName the name of the attribute to use
	AttributeName string `json:"attribute_name"`
}

CatalogTypeAttributePathItemV3 defines model for CatalogTypeAttributePathItemV3.

type CatalogTypeAttributePayloadV2 added in v1.0.1

type CatalogTypeAttributePayloadV2 struct {
	// Array Whether this attribute is an array
	Array bool `json:"array"`

	// BacklinkAttribute The attribute to use (if this is a backlink)
	BacklinkAttribute *string `json:"backlink_attribute,omitempty"`

	// Id The ID of this attribute
	Id *string `json:"id,omitempty"`

	// Mode Controls how this attribute is modified
	Mode *CatalogTypeAttributePayloadV2Mode `json:"mode,omitempty"`

	// Name Unique name of this attribute
	Name string `json:"name"`

	// Path The path to use (if this is an path)
	Path *[]CatalogTypeAttributePathItemPayloadV2 `json:"path,omitempty"`

	// Type Catalog type name for this attribute
	Type string `json:"type"`
}

CatalogTypeAttributePayloadV2 defines model for CatalogTypeAttributePayloadV2.

type CatalogTypeAttributePayloadV2Mode added in v1.0.1

type CatalogTypeAttributePayloadV2Mode string

CatalogTypeAttributePayloadV2Mode Controls how this attribute is modified

const (
	CatalogTypeAttributePayloadV2ModeBacklink CatalogTypeAttributePayloadV2Mode = "backlink"
	CatalogTypeAttributePayloadV2ModeDynamic  CatalogTypeAttributePayloadV2Mode = "dynamic"
	CatalogTypeAttributePayloadV2ModeEmpty    CatalogTypeAttributePayloadV2Mode = ""
	CatalogTypeAttributePayloadV2ModeExternal CatalogTypeAttributePayloadV2Mode = "external"
	CatalogTypeAttributePayloadV2ModeInternal CatalogTypeAttributePayloadV2Mode = "internal"
	CatalogTypeAttributePayloadV2ModeManual   CatalogTypeAttributePayloadV2Mode = "manual"
	CatalogTypeAttributePayloadV2ModePath     CatalogTypeAttributePayloadV2Mode = "path"
)

Defines values for CatalogTypeAttributePayloadV2Mode.

func (CatalogTypeAttributePayloadV2Mode) Valid added in v1.0.1

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

type CatalogTypeAttributePayloadV3 added in v1.0.1

type CatalogTypeAttributePayloadV3 struct {
	// Array Whether this attribute is an array
	Array bool `json:"array"`

	// BacklinkAttribute The attribute to use (if this is a backlink)
	BacklinkAttribute *string `json:"backlink_attribute,omitempty"`

	// Id The ID of this attribute
	Id *string `json:"id,omitempty"`

	// Mode Controls how this attribute is modified
	Mode *CatalogTypeAttributePayloadV3Mode `json:"mode,omitempty"`

	// Name Unique name of this attribute
	Name string `json:"name"`

	// Path The path to use (if this is an path)
	Path *[]CatalogTypeAttributePathItemPayloadV3 `json:"path,omitempty"`

	// Type Catalog type name for this attribute
	Type string `json:"type"`
}

CatalogTypeAttributePayloadV3 defines model for CatalogTypeAttributePayloadV3.

type CatalogTypeAttributePayloadV3Mode added in v1.0.1

type CatalogTypeAttributePayloadV3Mode string

CatalogTypeAttributePayloadV3Mode Controls how this attribute is modified

const (
	CatalogTypeAttributePayloadV3ModeApi       CatalogTypeAttributePayloadV3Mode = "api"
	CatalogTypeAttributePayloadV3ModeBacklink  CatalogTypeAttributePayloadV3Mode = "backlink"
	CatalogTypeAttributePayloadV3ModeDashboard CatalogTypeAttributePayloadV3Mode = "dashboard"
	CatalogTypeAttributePayloadV3ModeDynamic   CatalogTypeAttributePayloadV3Mode = "dynamic"
	CatalogTypeAttributePayloadV3ModeEmpty     CatalogTypeAttributePayloadV3Mode = ""
	CatalogTypeAttributePayloadV3ModeExternal  CatalogTypeAttributePayloadV3Mode = "external"
	CatalogTypeAttributePayloadV3ModeInternal  CatalogTypeAttributePayloadV3Mode = "internal"
	CatalogTypeAttributePayloadV3ModePath      CatalogTypeAttributePayloadV3Mode = "path"
)

Defines values for CatalogTypeAttributePayloadV3Mode.

func (CatalogTypeAttributePayloadV3Mode) Valid added in v1.0.1

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

type CatalogTypeAttributeV2 added in v1.0.1

type CatalogTypeAttributeV2 struct {
	// Array Whether this attribute is an array
	Array bool `json:"array"`

	// BacklinkAttribute The attribute to use (if this is a backlink)
	BacklinkAttribute *string `json:"backlink_attribute,omitempty"`

	// Id The ID of this attribute
	Id string `json:"id"`

	// Mode Controls how this attribute is modified
	Mode CatalogTypeAttributeV2Mode `json:"mode"`

	// Name Unique name of this attribute
	Name string `json:"name"`

	// Path The path to use (if this is a path attribute)
	Path *[]CatalogTypeAttributePathItemV2 `json:"path,omitempty"`

	// Type Catalog type name for this attribute
	Type string `json:"type"`
}

CatalogTypeAttributeV2 defines model for CatalogTypeAttributeV2.

type CatalogTypeAttributeV2Mode added in v1.0.1

type CatalogTypeAttributeV2Mode string

CatalogTypeAttributeV2Mode Controls how this attribute is modified

const (
	CatalogTypeAttributeV2ModeBacklink CatalogTypeAttributeV2Mode = "backlink"
	CatalogTypeAttributeV2ModeDynamic  CatalogTypeAttributeV2Mode = "dynamic"
	CatalogTypeAttributeV2ModeEmpty    CatalogTypeAttributeV2Mode = ""
	CatalogTypeAttributeV2ModeExternal CatalogTypeAttributeV2Mode = "external"
	CatalogTypeAttributeV2ModeInternal CatalogTypeAttributeV2Mode = "internal"
	CatalogTypeAttributeV2ModeManual   CatalogTypeAttributeV2Mode = "manual"
	CatalogTypeAttributeV2ModePath     CatalogTypeAttributeV2Mode = "path"
)

Defines values for CatalogTypeAttributeV2Mode.

func (CatalogTypeAttributeV2Mode) Valid added in v1.0.1

func (e CatalogTypeAttributeV2Mode) Valid() bool

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

type CatalogTypeAttributeV3 added in v1.0.1

type CatalogTypeAttributeV3 struct {
	// Array Whether this attribute is an array
	Array bool `json:"array"`

	// BacklinkAttribute The attribute to use (if this is a backlink)
	BacklinkAttribute *string `json:"backlink_attribute,omitempty"`

	// Id The ID of this attribute
	Id string `json:"id"`

	// Mode Controls how this attribute is modified
	Mode CatalogTypeAttributeV3Mode `json:"mode"`

	// Name Unique name of this attribute
	Name string `json:"name"`

	// Path The path to use (if this is a path attribute)
	Path *[]CatalogTypeAttributePathItemV3 `json:"path,omitempty"`

	// Type Catalog type name for this attribute
	Type string `json:"type"`
}

CatalogTypeAttributeV3 defines model for CatalogTypeAttributeV3.

type CatalogTypeAttributeV3Mode added in v1.0.1

type CatalogTypeAttributeV3Mode string

CatalogTypeAttributeV3Mode Controls how this attribute is modified

const (
	CatalogTypeAttributeV3ModeApi       CatalogTypeAttributeV3Mode = "api"
	CatalogTypeAttributeV3ModeBacklink  CatalogTypeAttributeV3Mode = "backlink"
	CatalogTypeAttributeV3ModeDashboard CatalogTypeAttributeV3Mode = "dashboard"
	CatalogTypeAttributeV3ModeDynamic   CatalogTypeAttributeV3Mode = "dynamic"
	CatalogTypeAttributeV3ModeEmpty     CatalogTypeAttributeV3Mode = ""
	CatalogTypeAttributeV3ModeExternal  CatalogTypeAttributeV3Mode = "external"
	CatalogTypeAttributeV3ModeInternal  CatalogTypeAttributeV3Mode = "internal"
	CatalogTypeAttributeV3ModePath      CatalogTypeAttributeV3Mode = "path"
)

Defines values for CatalogTypeAttributeV3Mode.

func (CatalogTypeAttributeV3Mode) Valid added in v1.0.1

func (e CatalogTypeAttributeV3Mode) Valid() bool

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

type CatalogTypeSchemaV2 added in v1.0.1

type CatalogTypeSchemaV2 struct {
	// Attributes Attributes of this catalog type
	Attributes []CatalogTypeAttributeV2 `json:"attributes"`

	// Version The version number of this schema
	Version int64 `json:"version"`
}

CatalogTypeSchemaV2 defines model for CatalogTypeSchemaV2.

type CatalogTypeSchemaV3 added in v1.0.1

type CatalogTypeSchemaV3 struct {
	// Attributes Attributes of this catalog type
	Attributes []CatalogTypeAttributeV3 `json:"attributes"`

	// Version The version number of this schema
	Version int64 `json:"version"`
}

CatalogTypeSchemaV3 defines model for CatalogTypeSchemaV3.

type CatalogTypeV2 added in v1.0.1

type CatalogTypeV2 struct {
	// Annotations Annotations that can track metadata about this type
	Annotations map[string]string `json:"annotations"`

	// Categories What categories is this type considered part of
	Categories []CatalogTypeV2Categories `json:"categories"`

	// Color Sets the display color of this type in the dashboard
	Color CatalogTypeV2Color `json:"color"`

	// CreatedAt When this type was created
	CreatedAt time.Time `json:"created_at"`

	// Description Human readble description of this type
	Description string `json:"description"`

	// DynamicResourceParameter If this is a dynamic catalog type, this will be the unique parameter for identitfying this resource externally.
	DynamicResourceParameter *string `json:"dynamic_resource_parameter,omitempty"`

	// EstimatedCount If populated, gives an estimated count of entries for this type
	EstimatedCount *int64 `json:"estimated_count,omitempty"`

	// Icon Sets the display icon of this type in the dashboard
	Icon CatalogTypeV2Icon `json:"icon"`

	// Id ID of this catalog type
	Id string `json:"id"`

	// IsEditable Catalog types that are synced with external resources can't be edited
	IsEditable bool `json:"is_editable"`

	// LastSyncedAt When this type was last synced (if it's ever been sync'd)
	LastSyncedAt *time.Time `json:"last_synced_at,omitempty"`

	// Name Name is the human readable name of this type
	Name string `json:"name"`

	// Ranked If this type should be ranked
	Ranked bool `json:"ranked"`

	// RegistryType The registry resource this type is synced from, if any
	RegistryType *string `json:"registry_type,omitempty"`

	// RequiredIntegrations If populated, the integrations required for this type
	RequiredIntegrations *[]string           `json:"required_integrations,omitempty"`
	Schema               CatalogTypeSchemaV2 `json:"schema"`

	// SemanticType This type has been deprecated, and will always be empty.
	SemanticType string `json:"semantic_type"`

	// SourceRepoUrl The url of the external repository where this type is managed
	SourceRepoUrl *string `json:"source_repo_url,omitempty"`

	// TypeName The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName"]
	TypeName string `json:"type_name"`

	// UpdatedAt When this type was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

CatalogTypeV2 defines model for CatalogTypeV2.

type CatalogTypeV2Categories added in v1.0.1

type CatalogTypeV2Categories string

CatalogTypeV2Categories defines model for CatalogTypeV2.Categories.

const (
	CatalogTypeV2CategoriesCustomer       CatalogTypeV2Categories = "customer"
	CatalogTypeV2CategoriesIssueTracker   CatalogTypeV2Categories = "issue-tracker"
	CatalogTypeV2CategoriesOnCall         CatalogTypeV2Categories = "on-call"
	CatalogTypeV2CategoriesProductFeature CatalogTypeV2Categories = "product-feature"
	CatalogTypeV2CategoriesService        CatalogTypeV2Categories = "service"
	CatalogTypeV2CategoriesTeam           CatalogTypeV2Categories = "team"
	CatalogTypeV2CategoriesUser           CatalogTypeV2Categories = "user"
)

Defines values for CatalogTypeV2Categories.

func (CatalogTypeV2Categories) Valid added in v1.0.1

func (e CatalogTypeV2Categories) Valid() bool

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

type CatalogTypeV2Color added in v1.0.1

type CatalogTypeV2Color string

CatalogTypeV2Color Sets the display color of this type in the dashboard

const (
	CatalogTypeV2ColorBlue   CatalogTypeV2Color = "blue"
	CatalogTypeV2ColorCyan   CatalogTypeV2Color = "cyan"
	CatalogTypeV2ColorGreen  CatalogTypeV2Color = "green"
	CatalogTypeV2ColorOrange CatalogTypeV2Color = "orange"
	CatalogTypeV2ColorPink   CatalogTypeV2Color = "pink"
	CatalogTypeV2ColorViolet CatalogTypeV2Color = "violet"
	CatalogTypeV2ColorYellow CatalogTypeV2Color = "yellow"
)

Defines values for CatalogTypeV2Color.

func (CatalogTypeV2Color) Valid added in v1.0.1

func (e CatalogTypeV2Color) Valid() bool

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

type CatalogTypeV2Icon added in v1.0.1

type CatalogTypeV2Icon string

CatalogTypeV2Icon Sets the display icon of this type in the dashboard

const (
	CatalogTypeV2IconAlert            CatalogTypeV2Icon = "alert"
	CatalogTypeV2IconBolt             CatalogTypeV2Icon = "bolt"
	CatalogTypeV2IconBox              CatalogTypeV2Icon = "box"
	CatalogTypeV2IconBriefcase        CatalogTypeV2Icon = "briefcase"
	CatalogTypeV2IconBrowser          CatalogTypeV2Icon = "browser"
	CatalogTypeV2IconBulb             CatalogTypeV2Icon = "bulb"
	CatalogTypeV2IconCalendar         CatalogTypeV2Icon = "calendar"
	CatalogTypeV2IconClock            CatalogTypeV2Icon = "clock"
	CatalogTypeV2IconCog              CatalogTypeV2Icon = "cog"
	CatalogTypeV2IconComponents       CatalogTypeV2Icon = "components"
	CatalogTypeV2IconDatabase         CatalogTypeV2Icon = "database"
	CatalogTypeV2IconDoc              CatalogTypeV2Icon = "doc"
	CatalogTypeV2IconEmail            CatalogTypeV2Icon = "email"
	CatalogTypeV2IconEscalationPath   CatalogTypeV2Icon = "escalation-path"
	CatalogTypeV2IconFiles            CatalogTypeV2Icon = "files"
	CatalogTypeV2IconFlag             CatalogTypeV2Icon = "flag"
	CatalogTypeV2IconFolder           CatalogTypeV2Icon = "folder"
	CatalogTypeV2IconGlobe            CatalogTypeV2Icon = "globe"
	CatalogTypeV2IconIncidentTemplate CatalogTypeV2Icon = "incident-template"
	CatalogTypeV2IconMoney            CatalogTypeV2Icon = "money"
	CatalogTypeV2IconServer           CatalogTypeV2Icon = "server"
	CatalogTypeV2IconSeverity         CatalogTypeV2Icon = "severity"
	CatalogTypeV2IconStar             CatalogTypeV2Icon = "star"
	CatalogTypeV2IconStatusPage       CatalogTypeV2Icon = "status-page"
	CatalogTypeV2IconStore            CatalogTypeV2Icon = "store"
	CatalogTypeV2IconTag              CatalogTypeV2Icon = "tag"
	CatalogTypeV2IconUser             CatalogTypeV2Icon = "user"
	CatalogTypeV2IconUsers            CatalogTypeV2Icon = "users"
)

Defines values for CatalogTypeV2Icon.

func (CatalogTypeV2Icon) Valid added in v1.0.1

func (e CatalogTypeV2Icon) Valid() bool

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

type CatalogTypeV3 added in v1.0.1

type CatalogTypeV3 struct {
	// Annotations Annotations that can track metadata about this type
	Annotations map[string]string `json:"annotations"`

	// Categories What categories is this type considered part of
	Categories []CatalogTypeV3Categories `json:"categories"`

	// Color Sets the display color of this type in the dashboard
	Color CatalogTypeV3Color `json:"color"`

	// CreatedAt When this type was created
	CreatedAt time.Time `json:"created_at"`

	// Description Human readble description of this type
	Description string `json:"description"`

	// DynamicResourceParameter If this is a dynamic catalog type, this will be the unique parameter for identitfying this resource externally.
	DynamicResourceParameter *string `json:"dynamic_resource_parameter,omitempty"`

	// EngineResourceType The way this resource type is referenced in the engine, as used when setting the type of an alert attribute
	EngineResourceType string `json:"engine_resource_type"`

	// EstimatedCount If populated, gives an estimated count of entries for this type
	EstimatedCount *int64 `json:"estimated_count,omitempty"`

	// Icon Sets the display icon of this type in the dashboard
	Icon CatalogTypeV3Icon `json:"icon"`

	// Id ID of this catalog type
	Id string `json:"id"`

	// IsEditable Catalog types that are synced with external resources can't be edited
	IsEditable bool `json:"is_editable"`

	// IsTeamType Whether this catalog type is the designated team type in team settings
	IsTeamType *bool `json:"is_team_type,omitempty"`

	// LastSyncedAt When this type was last synced (if it's ever been sync'd)
	LastSyncedAt *time.Time `json:"last_synced_at,omitempty"`

	// Name Name is the human readable name of this type
	Name string `json:"name"`

	// OwningTeamIds IDs of the teams that own this catalog type
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// Ranked If this type should be ranked
	Ranked bool `json:"ranked"`

	// RegistryType The registry resource this type is synced from, if any
	RegistryType *string `json:"registry_type,omitempty"`

	// RequiredIntegrations If populated, the integrations required for this type
	RequiredIntegrations *[]string           `json:"required_integrations,omitempty"`
	Schema               CatalogTypeSchemaV3 `json:"schema"`

	// SourceRepoUrl The url of the external repository where this type is managed
	SourceRepoUrl *string `json:"source_repo_url,omitempty"`

	// TypeName The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName"]
	TypeName string `json:"type_name"`

	// UpdatedAt When this type was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// UseNameAsIdentifier If enabled, you can refer to entries of this type by their name, as well as their external ID and any aliases.
	UseNameAsIdentifier bool `json:"use_name_as_identifier"`
}

CatalogTypeV3 defines model for CatalogTypeV3.

type CatalogTypeV3Categories added in v1.0.1

type CatalogTypeV3Categories string

CatalogTypeV3Categories defines model for CatalogTypeV3.Categories.

const (
	CatalogTypeV3CategoriesCustomer       CatalogTypeV3Categories = "customer"
	CatalogTypeV3CategoriesIssueTracker   CatalogTypeV3Categories = "issue-tracker"
	CatalogTypeV3CategoriesOnCall         CatalogTypeV3Categories = "on-call"
	CatalogTypeV3CategoriesProductFeature CatalogTypeV3Categories = "product-feature"
	CatalogTypeV3CategoriesService        CatalogTypeV3Categories = "service"
	CatalogTypeV3CategoriesTeam           CatalogTypeV3Categories = "team"
	CatalogTypeV3CategoriesUser           CatalogTypeV3Categories = "user"
)

Defines values for CatalogTypeV3Categories.

func (CatalogTypeV3Categories) Valid added in v1.0.1

func (e CatalogTypeV3Categories) Valid() bool

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

type CatalogTypeV3Color added in v1.0.1

type CatalogTypeV3Color string

CatalogTypeV3Color Sets the display color of this type in the dashboard

const (
	CatalogTypeV3ColorBlue   CatalogTypeV3Color = "blue"
	CatalogTypeV3ColorCyan   CatalogTypeV3Color = "cyan"
	CatalogTypeV3ColorGreen  CatalogTypeV3Color = "green"
	CatalogTypeV3ColorOrange CatalogTypeV3Color = "orange"
	CatalogTypeV3ColorPink   CatalogTypeV3Color = "pink"
	CatalogTypeV3ColorViolet CatalogTypeV3Color = "violet"
	CatalogTypeV3ColorYellow CatalogTypeV3Color = "yellow"
)

Defines values for CatalogTypeV3Color.

func (CatalogTypeV3Color) Valid added in v1.0.1

func (e CatalogTypeV3Color) Valid() bool

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

type CatalogTypeV3Icon added in v1.0.1

type CatalogTypeV3Icon string

CatalogTypeV3Icon Sets the display icon of this type in the dashboard

const (
	CatalogTypeV3IconAlert            CatalogTypeV3Icon = "alert"
	CatalogTypeV3IconBolt             CatalogTypeV3Icon = "bolt"
	CatalogTypeV3IconBox              CatalogTypeV3Icon = "box"
	CatalogTypeV3IconBriefcase        CatalogTypeV3Icon = "briefcase"
	CatalogTypeV3IconBrowser          CatalogTypeV3Icon = "browser"
	CatalogTypeV3IconBulb             CatalogTypeV3Icon = "bulb"
	CatalogTypeV3IconCalendar         CatalogTypeV3Icon = "calendar"
	CatalogTypeV3IconClock            CatalogTypeV3Icon = "clock"
	CatalogTypeV3IconCog              CatalogTypeV3Icon = "cog"
	CatalogTypeV3IconComponents       CatalogTypeV3Icon = "components"
	CatalogTypeV3IconDatabase         CatalogTypeV3Icon = "database"
	CatalogTypeV3IconDoc              CatalogTypeV3Icon = "doc"
	CatalogTypeV3IconEmail            CatalogTypeV3Icon = "email"
	CatalogTypeV3IconEscalationPath   CatalogTypeV3Icon = "escalation-path"
	CatalogTypeV3IconFiles            CatalogTypeV3Icon = "files"
	CatalogTypeV3IconFlag             CatalogTypeV3Icon = "flag"
	CatalogTypeV3IconFolder           CatalogTypeV3Icon = "folder"
	CatalogTypeV3IconGlobe            CatalogTypeV3Icon = "globe"
	CatalogTypeV3IconIncidentTemplate CatalogTypeV3Icon = "incident-template"
	CatalogTypeV3IconMoney            CatalogTypeV3Icon = "money"
	CatalogTypeV3IconServer           CatalogTypeV3Icon = "server"
	CatalogTypeV3IconSeverity         CatalogTypeV3Icon = "severity"
	CatalogTypeV3IconStar             CatalogTypeV3Icon = "star"
	CatalogTypeV3IconStatusPage       CatalogTypeV3Icon = "status-page"
	CatalogTypeV3IconStore            CatalogTypeV3Icon = "store"
	CatalogTypeV3IconTag              CatalogTypeV3Icon = "tag"
	CatalogTypeV3IconUser             CatalogTypeV3Icon = "user"
	CatalogTypeV3IconUsers            CatalogTypeV3Icon = "users"
)

Defines values for CatalogTypeV3Icon.

func (CatalogTypeV3Icon) Valid added in v1.0.1

func (e CatalogTypeV3Icon) Valid() bool

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

type CatalogUpdateEntryPayloadV2 added in v1.0.1

type CatalogUpdateEntryPayloadV2 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases *[]string `json:"aliases,omitempty"`

	// AttributeValues Values of this entry
	AttributeValues map[string]EngineParamBindingPayloadV2 `json:"attribute_values"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`

	// Rank When catalog type is ranked, this is used to help order things
	Rank *int32 `json:"rank,omitempty"`
}

CatalogUpdateEntryPayloadV2 defines model for CatalogUpdateEntryPayloadV2.

type CatalogUpdateEntryPayloadV3 added in v1.0.1

type CatalogUpdateEntryPayloadV3 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases *[]string `json:"aliases,omitempty"`

	// AttributeValues Values of this entry
	AttributeValues map[string]CatalogEngineParamBindingPayloadV3 `json:"attribute_values"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`

	// Rank When catalog type is ranked, this is used to help order things
	Rank *int32 `json:"rank,omitempty"`

	// UpdateAttributes If provided, only update these attribute_values keys. If not provided, update all attribute values.
	// If you specify an attribute key that's not in your payload, the associated attribute value will be cleared.
	UpdateAttributes *[]string `json:"update_attributes,omitempty"`
}

CatalogUpdateEntryPayloadV3 defines model for CatalogUpdateEntryPayloadV3.

type CatalogUpdateEntryResultV2 added in v1.0.1

type CatalogUpdateEntryResultV2 struct {
	CatalogEntry CatalogEntryV2 `json:"catalog_entry"`
	CatalogType  CatalogTypeV2  `json:"catalog_type"`
}

CatalogUpdateEntryResultV2 defines model for CatalogUpdateEntryResultV2.

type CatalogUpdateEntryResultV3 added in v1.0.1

type CatalogUpdateEntryResultV3 struct {
	CatalogEntry CatalogEntryV3 `json:"catalog_entry"`
	CatalogType  CatalogTypeV3  `json:"catalog_type"`
}

CatalogUpdateEntryResultV3 defines model for CatalogUpdateEntryResultV3.

type CatalogUpdateTypePayloadV2 added in v1.0.1

type CatalogUpdateTypePayloadV2 struct {
	// Annotations Annotations that can track metadata about this type
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Categories What categories is this type considered part of
	Categories *[]CatalogUpdateTypePayloadV2Categories `json:"categories,omitempty"`

	// Color Sets the display color of this type in the dashboard
	Color *CatalogUpdateTypePayloadV2Color `json:"color,omitempty"`

	// Description Human readble description of this type
	Description string `json:"description"`

	// Icon Sets the display icon of this type in the dashboard
	Icon *CatalogUpdateTypePayloadV2Icon `json:"icon,omitempty"`

	// Name Name is the human readable name of this type
	Name string `json:"name"`

	// Ranked If this type should be ranked
	Ranked *bool `json:"ranked,omitempty"`

	// SourceRepoUrl The url of the external repository where this type is managed
	SourceRepoUrl *string `json:"source_repo_url,omitempty"`
}

CatalogUpdateTypePayloadV2 defines model for CatalogUpdateTypePayloadV2.

type CatalogUpdateTypePayloadV2Categories added in v1.0.1

type CatalogUpdateTypePayloadV2Categories string

CatalogUpdateTypePayloadV2Categories defines model for CatalogUpdateTypePayloadV2.Categories.

const (
	CatalogUpdateTypePayloadV2CategoriesCustomer       CatalogUpdateTypePayloadV2Categories = "customer"
	CatalogUpdateTypePayloadV2CategoriesIssueTracker   CatalogUpdateTypePayloadV2Categories = "issue-tracker"
	CatalogUpdateTypePayloadV2CategoriesOnCall         CatalogUpdateTypePayloadV2Categories = "on-call"
	CatalogUpdateTypePayloadV2CategoriesProductFeature CatalogUpdateTypePayloadV2Categories = "product-feature"
	CatalogUpdateTypePayloadV2CategoriesService        CatalogUpdateTypePayloadV2Categories = "service"
	CatalogUpdateTypePayloadV2CategoriesTeam           CatalogUpdateTypePayloadV2Categories = "team"
	CatalogUpdateTypePayloadV2CategoriesUser           CatalogUpdateTypePayloadV2Categories = "user"
)

Defines values for CatalogUpdateTypePayloadV2Categories.

func (CatalogUpdateTypePayloadV2Categories) Valid added in v1.0.1

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

type CatalogUpdateTypePayloadV2Color added in v1.0.1

type CatalogUpdateTypePayloadV2Color string

CatalogUpdateTypePayloadV2Color Sets the display color of this type in the dashboard

const (
	CatalogUpdateTypePayloadV2ColorBlue   CatalogUpdateTypePayloadV2Color = "blue"
	CatalogUpdateTypePayloadV2ColorCyan   CatalogUpdateTypePayloadV2Color = "cyan"
	CatalogUpdateTypePayloadV2ColorGreen  CatalogUpdateTypePayloadV2Color = "green"
	CatalogUpdateTypePayloadV2ColorOrange CatalogUpdateTypePayloadV2Color = "orange"
	CatalogUpdateTypePayloadV2ColorPink   CatalogUpdateTypePayloadV2Color = "pink"
	CatalogUpdateTypePayloadV2ColorViolet CatalogUpdateTypePayloadV2Color = "violet"
	CatalogUpdateTypePayloadV2ColorYellow CatalogUpdateTypePayloadV2Color = "yellow"
)

Defines values for CatalogUpdateTypePayloadV2Color.

func (CatalogUpdateTypePayloadV2Color) Valid added in v1.0.1

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

type CatalogUpdateTypePayloadV2Icon added in v1.0.1

type CatalogUpdateTypePayloadV2Icon string

CatalogUpdateTypePayloadV2Icon Sets the display icon of this type in the dashboard

const (
	CatalogUpdateTypePayloadV2IconAlert            CatalogUpdateTypePayloadV2Icon = "alert"
	CatalogUpdateTypePayloadV2IconBolt             CatalogUpdateTypePayloadV2Icon = "bolt"
	CatalogUpdateTypePayloadV2IconBox              CatalogUpdateTypePayloadV2Icon = "box"
	CatalogUpdateTypePayloadV2IconBriefcase        CatalogUpdateTypePayloadV2Icon = "briefcase"
	CatalogUpdateTypePayloadV2IconBrowser          CatalogUpdateTypePayloadV2Icon = "browser"
	CatalogUpdateTypePayloadV2IconBulb             CatalogUpdateTypePayloadV2Icon = "bulb"
	CatalogUpdateTypePayloadV2IconCalendar         CatalogUpdateTypePayloadV2Icon = "calendar"
	CatalogUpdateTypePayloadV2IconClock            CatalogUpdateTypePayloadV2Icon = "clock"
	CatalogUpdateTypePayloadV2IconCog              CatalogUpdateTypePayloadV2Icon = "cog"
	CatalogUpdateTypePayloadV2IconComponents       CatalogUpdateTypePayloadV2Icon = "components"
	CatalogUpdateTypePayloadV2IconDatabase         CatalogUpdateTypePayloadV2Icon = "database"
	CatalogUpdateTypePayloadV2IconDoc              CatalogUpdateTypePayloadV2Icon = "doc"
	CatalogUpdateTypePayloadV2IconEmail            CatalogUpdateTypePayloadV2Icon = "email"
	CatalogUpdateTypePayloadV2IconEscalationPath   CatalogUpdateTypePayloadV2Icon = "escalation-path"
	CatalogUpdateTypePayloadV2IconFiles            CatalogUpdateTypePayloadV2Icon = "files"
	CatalogUpdateTypePayloadV2IconFlag             CatalogUpdateTypePayloadV2Icon = "flag"
	CatalogUpdateTypePayloadV2IconFolder           CatalogUpdateTypePayloadV2Icon = "folder"
	CatalogUpdateTypePayloadV2IconGlobe            CatalogUpdateTypePayloadV2Icon = "globe"
	CatalogUpdateTypePayloadV2IconIncidentTemplate CatalogUpdateTypePayloadV2Icon = "incident-template"
	CatalogUpdateTypePayloadV2IconMoney            CatalogUpdateTypePayloadV2Icon = "money"
	CatalogUpdateTypePayloadV2IconServer           CatalogUpdateTypePayloadV2Icon = "server"
	CatalogUpdateTypePayloadV2IconSeverity         CatalogUpdateTypePayloadV2Icon = "severity"
	CatalogUpdateTypePayloadV2IconStar             CatalogUpdateTypePayloadV2Icon = "star"
	CatalogUpdateTypePayloadV2IconStatusPage       CatalogUpdateTypePayloadV2Icon = "status-page"
	CatalogUpdateTypePayloadV2IconStore            CatalogUpdateTypePayloadV2Icon = "store"
	CatalogUpdateTypePayloadV2IconTag              CatalogUpdateTypePayloadV2Icon = "tag"
	CatalogUpdateTypePayloadV2IconUser             CatalogUpdateTypePayloadV2Icon = "user"
	CatalogUpdateTypePayloadV2IconUsers            CatalogUpdateTypePayloadV2Icon = "users"
)

Defines values for CatalogUpdateTypePayloadV2Icon.

func (CatalogUpdateTypePayloadV2Icon) Valid added in v1.0.1

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

type CatalogUpdateTypePayloadV3 added in v1.0.1

type CatalogUpdateTypePayloadV3 struct {
	// Annotations Annotations that can track metadata about this type
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Categories What categories is this type considered part of
	Categories *[]CatalogUpdateTypePayloadV3Categories `json:"categories,omitempty"`

	// Color Sets the display color of this type in the dashboard
	Color *CatalogUpdateTypePayloadV3Color `json:"color,omitempty"`

	// Description Human readble description of this type
	Description string `json:"description"`

	// Icon Sets the display icon of this type in the dashboard
	Icon *CatalogUpdateTypePayloadV3Icon `json:"icon,omitempty"`

	// Name Name is the human readable name of this type
	Name string `json:"name"`

	// OwningTeamIds IDs of the teams that own this catalog type
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// Ranked If this type should be ranked
	Ranked *bool `json:"ranked,omitempty"`

	// SourceRepoUrl The url of the external repository where this type is managed
	SourceRepoUrl *string `json:"source_repo_url,omitempty"`

	// UseNameAsIdentifier If enabled, you can refer to entries of this type by their name, as well as their external ID and any aliases.
	UseNameAsIdentifier *bool `json:"use_name_as_identifier,omitempty"`
}

CatalogUpdateTypePayloadV3 defines model for CatalogUpdateTypePayloadV3.

type CatalogUpdateTypePayloadV3Categories added in v1.0.1

type CatalogUpdateTypePayloadV3Categories string

CatalogUpdateTypePayloadV3Categories defines model for CatalogUpdateTypePayloadV3.Categories.

const (
	CatalogUpdateTypePayloadV3CategoriesCustomer       CatalogUpdateTypePayloadV3Categories = "customer"
	CatalogUpdateTypePayloadV3CategoriesIssueTracker   CatalogUpdateTypePayloadV3Categories = "issue-tracker"
	CatalogUpdateTypePayloadV3CategoriesOnCall         CatalogUpdateTypePayloadV3Categories = "on-call"
	CatalogUpdateTypePayloadV3CategoriesProductFeature CatalogUpdateTypePayloadV3Categories = "product-feature"
	CatalogUpdateTypePayloadV3CategoriesService        CatalogUpdateTypePayloadV3Categories = "service"
	CatalogUpdateTypePayloadV3CategoriesTeam           CatalogUpdateTypePayloadV3Categories = "team"
	CatalogUpdateTypePayloadV3CategoriesUser           CatalogUpdateTypePayloadV3Categories = "user"
)

Defines values for CatalogUpdateTypePayloadV3Categories.

func (CatalogUpdateTypePayloadV3Categories) Valid added in v1.0.1

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

type CatalogUpdateTypePayloadV3Color added in v1.0.1

type CatalogUpdateTypePayloadV3Color string

CatalogUpdateTypePayloadV3Color Sets the display color of this type in the dashboard

const (
	CatalogUpdateTypePayloadV3ColorBlue   CatalogUpdateTypePayloadV3Color = "blue"
	CatalogUpdateTypePayloadV3ColorCyan   CatalogUpdateTypePayloadV3Color = "cyan"
	CatalogUpdateTypePayloadV3ColorGreen  CatalogUpdateTypePayloadV3Color = "green"
	CatalogUpdateTypePayloadV3ColorOrange CatalogUpdateTypePayloadV3Color = "orange"
	CatalogUpdateTypePayloadV3ColorPink   CatalogUpdateTypePayloadV3Color = "pink"
	CatalogUpdateTypePayloadV3ColorViolet CatalogUpdateTypePayloadV3Color = "violet"
	CatalogUpdateTypePayloadV3ColorYellow CatalogUpdateTypePayloadV3Color = "yellow"
)

Defines values for CatalogUpdateTypePayloadV3Color.

func (CatalogUpdateTypePayloadV3Color) Valid added in v1.0.1

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

type CatalogUpdateTypePayloadV3Icon added in v1.0.1

type CatalogUpdateTypePayloadV3Icon string

CatalogUpdateTypePayloadV3Icon Sets the display icon of this type in the dashboard

const (
	CatalogUpdateTypePayloadV3IconAlert            CatalogUpdateTypePayloadV3Icon = "alert"
	CatalogUpdateTypePayloadV3IconBolt             CatalogUpdateTypePayloadV3Icon = "bolt"
	CatalogUpdateTypePayloadV3IconBox              CatalogUpdateTypePayloadV3Icon = "box"
	CatalogUpdateTypePayloadV3IconBriefcase        CatalogUpdateTypePayloadV3Icon = "briefcase"
	CatalogUpdateTypePayloadV3IconBrowser          CatalogUpdateTypePayloadV3Icon = "browser"
	CatalogUpdateTypePayloadV3IconBulb             CatalogUpdateTypePayloadV3Icon = "bulb"
	CatalogUpdateTypePayloadV3IconCalendar         CatalogUpdateTypePayloadV3Icon = "calendar"
	CatalogUpdateTypePayloadV3IconClock            CatalogUpdateTypePayloadV3Icon = "clock"
	CatalogUpdateTypePayloadV3IconCog              CatalogUpdateTypePayloadV3Icon = "cog"
	CatalogUpdateTypePayloadV3IconComponents       CatalogUpdateTypePayloadV3Icon = "components"
	CatalogUpdateTypePayloadV3IconDatabase         CatalogUpdateTypePayloadV3Icon = "database"
	CatalogUpdateTypePayloadV3IconDoc              CatalogUpdateTypePayloadV3Icon = "doc"
	CatalogUpdateTypePayloadV3IconEmail            CatalogUpdateTypePayloadV3Icon = "email"
	CatalogUpdateTypePayloadV3IconEscalationPath   CatalogUpdateTypePayloadV3Icon = "escalation-path"
	CatalogUpdateTypePayloadV3IconFiles            CatalogUpdateTypePayloadV3Icon = "files"
	CatalogUpdateTypePayloadV3IconFlag             CatalogUpdateTypePayloadV3Icon = "flag"
	CatalogUpdateTypePayloadV3IconFolder           CatalogUpdateTypePayloadV3Icon = "folder"
	CatalogUpdateTypePayloadV3IconGlobe            CatalogUpdateTypePayloadV3Icon = "globe"
	CatalogUpdateTypePayloadV3IconIncidentTemplate CatalogUpdateTypePayloadV3Icon = "incident-template"
	CatalogUpdateTypePayloadV3IconMoney            CatalogUpdateTypePayloadV3Icon = "money"
	CatalogUpdateTypePayloadV3IconServer           CatalogUpdateTypePayloadV3Icon = "server"
	CatalogUpdateTypePayloadV3IconSeverity         CatalogUpdateTypePayloadV3Icon = "severity"
	CatalogUpdateTypePayloadV3IconStar             CatalogUpdateTypePayloadV3Icon = "star"
	CatalogUpdateTypePayloadV3IconStatusPage       CatalogUpdateTypePayloadV3Icon = "status-page"
	CatalogUpdateTypePayloadV3IconStore            CatalogUpdateTypePayloadV3Icon = "store"
	CatalogUpdateTypePayloadV3IconTag              CatalogUpdateTypePayloadV3Icon = "tag"
	CatalogUpdateTypePayloadV3IconUser             CatalogUpdateTypePayloadV3Icon = "user"
	CatalogUpdateTypePayloadV3IconUsers            CatalogUpdateTypePayloadV3Icon = "users"
)

Defines values for CatalogUpdateTypePayloadV3Icon.

func (CatalogUpdateTypePayloadV3Icon) Valid added in v1.0.1

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

type CatalogUpdateTypeResultV2 added in v1.0.1

type CatalogUpdateTypeResultV2 struct {
	CatalogType CatalogTypeV2 `json:"catalog_type"`
}

CatalogUpdateTypeResultV2 defines model for CatalogUpdateTypeResultV2.

type CatalogUpdateTypeResultV3 added in v1.0.1

type CatalogUpdateTypeResultV3 struct {
	CatalogType CatalogTypeV3 `json:"catalog_type"`
}

CatalogUpdateTypeResultV3 defines model for CatalogUpdateTypeResultV3.

type CatalogUpdateTypeSchemaPayloadV2 added in v1.0.1

type CatalogUpdateTypeSchemaPayloadV2 struct {
	Attributes []CatalogTypeAttributePayloadV2 `json:"attributes"`
	Version    int64                           `json:"version"`
}

CatalogUpdateTypeSchemaPayloadV2 defines model for CatalogUpdateTypeSchemaPayloadV2.

type CatalogUpdateTypeSchemaPayloadV3 added in v1.0.1

type CatalogUpdateTypeSchemaPayloadV3 struct {
	Attributes []CatalogTypeAttributePayloadV3 `json:"attributes"`
	Version    int64                           `json:"version"`
}

CatalogUpdateTypeSchemaPayloadV3 defines model for CatalogUpdateTypeSchemaPayloadV3.

type CatalogUpdateTypeSchemaResultV2 added in v1.0.1

type CatalogUpdateTypeSchemaResultV2 struct {
	CatalogType CatalogTypeV2 `json:"catalog_type"`
}

CatalogUpdateTypeSchemaResultV2 defines model for CatalogUpdateTypeSchemaResultV2.

type CatalogUpdateTypeSchemaResultV3 added in v1.0.1

type CatalogUpdateTypeSchemaResultV3 struct {
	CatalogType CatalogTypeV3 `json:"catalog_type"`
}

CatalogUpdateTypeSchemaResultV3 defines model for CatalogUpdateTypeSchemaResultV3.

type CatalogV2CreateEntryJSONRequestBody added in v1.0.1

type CatalogV2CreateEntryJSONRequestBody = CatalogCreateEntryPayloadV2

CatalogV2CreateEntryJSONRequestBody defines body for CatalogV2CreateEntry for application/json ContentType.

type CatalogV2CreateEntryResponse added in v1.0.1

type CatalogV2CreateEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CatalogCreateEntryResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2CreateEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2CreateEntryResponse) StatusCode added in v1.0.1

func (r CatalogV2CreateEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2CreateTypeJSONRequestBody added in v1.0.1

type CatalogV2CreateTypeJSONRequestBody = CatalogCreateTypePayloadV2

CatalogV2CreateTypeJSONRequestBody defines body for CatalogV2CreateType for application/json ContentType.

type CatalogV2CreateTypeResponse added in v1.0.1

type CatalogV2CreateTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CatalogCreateTypeResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2CreateTypeResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2CreateTypeResponse) StatusCode added in v1.0.1

func (r CatalogV2CreateTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2DestroyEntryResponse added in v1.0.1

type CatalogV2DestroyEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2DestroyEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2DestroyEntryResponse) StatusCode added in v1.0.1

func (r CatalogV2DestroyEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2DestroyTypeResponse added in v1.0.1

type CatalogV2DestroyTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2DestroyTypeResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2DestroyTypeResponse) StatusCode added in v1.0.1

func (r CatalogV2DestroyTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2ListEntriesParams added in v1.0.1

type CatalogV2ListEntriesParams struct {
	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `form:"catalog_type_id" json:"catalog_type_id"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

CatalogV2ListEntriesParams defines parameters for CatalogV2ListEntries.

type CatalogV2ListEntriesResponse added in v1.0.1

type CatalogV2ListEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogListEntriesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2ListEntriesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2ListEntriesResponse) StatusCode added in v1.0.1

func (r CatalogV2ListEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2ListResourcesResponse added in v1.0.1

type CatalogV2ListResourcesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogListResourcesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2ListResourcesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2ListResourcesResponse) StatusCode added in v1.0.1

func (r CatalogV2ListResourcesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2ListTypesResponse added in v1.0.1

type CatalogV2ListTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogListTypesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2ListTypesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2ListTypesResponse) StatusCode added in v1.0.1

func (r CatalogV2ListTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2ShowEntryResponse added in v1.0.1

type CatalogV2ShowEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogShowEntryResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2ShowEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2ShowEntryResponse) StatusCode added in v1.0.1

func (r CatalogV2ShowEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2ShowTypeResponse added in v1.0.1

type CatalogV2ShowTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogShowTypeResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2ShowTypeResponse) Status added in v1.0.1

func (r CatalogV2ShowTypeResponse) Status() string

Status returns HTTPResponse.Status

func (CatalogV2ShowTypeResponse) StatusCode added in v1.0.1

func (r CatalogV2ShowTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2UpdateEntryJSONRequestBody added in v1.0.1

type CatalogV2UpdateEntryJSONRequestBody = CatalogUpdateEntryPayloadV2

CatalogV2UpdateEntryJSONRequestBody defines body for CatalogV2UpdateEntry for application/json ContentType.

type CatalogV2UpdateEntryResponse added in v1.0.1

type CatalogV2UpdateEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogUpdateEntryResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2UpdateEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2UpdateEntryResponse) StatusCode added in v1.0.1

func (r CatalogV2UpdateEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2UpdateTypeJSONRequestBody added in v1.0.1

type CatalogV2UpdateTypeJSONRequestBody = CatalogUpdateTypePayloadV2

CatalogV2UpdateTypeJSONRequestBody defines body for CatalogV2UpdateType for application/json ContentType.

type CatalogV2UpdateTypeResponse added in v1.0.1

type CatalogV2UpdateTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogUpdateTypeResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2UpdateTypeResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2UpdateTypeResponse) StatusCode added in v1.0.1

func (r CatalogV2UpdateTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV2UpdateTypeSchemaJSONRequestBody added in v1.0.1

type CatalogV2UpdateTypeSchemaJSONRequestBody = CatalogUpdateTypeSchemaPayloadV2

CatalogV2UpdateTypeSchemaJSONRequestBody defines body for CatalogV2UpdateTypeSchema for application/json ContentType.

type CatalogV2UpdateTypeSchemaResponse added in v1.0.1

type CatalogV2UpdateTypeSchemaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogUpdateTypeSchemaResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV2UpdateTypeSchemaResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV2UpdateTypeSchemaResponse) StatusCode added in v1.0.1

func (r CatalogV2UpdateTypeSchemaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3BulkUpdateEntriesJSONRequestBody added in v1.0.1

type CatalogV3BulkUpdateEntriesJSONRequestBody = CatalogBulkUpdateEntriesPayloadV3

CatalogV3BulkUpdateEntriesJSONRequestBody defines body for CatalogV3BulkUpdateEntries for application/json ContentType.

type CatalogV3BulkUpdateEntriesResponse added in v1.0.1

type CatalogV3BulkUpdateEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3BulkUpdateEntriesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3BulkUpdateEntriesResponse) StatusCode added in v1.0.1

func (r CatalogV3BulkUpdateEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3CreateEntryJSONRequestBody added in v1.0.1

type CatalogV3CreateEntryJSONRequestBody = CatalogCreateEntryPayloadV3

CatalogV3CreateEntryJSONRequestBody defines body for CatalogV3CreateEntry for application/json ContentType.

type CatalogV3CreateEntryResponse added in v1.0.1

type CatalogV3CreateEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CatalogCreateEntryResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3CreateEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3CreateEntryResponse) StatusCode added in v1.0.1

func (r CatalogV3CreateEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3CreateTypeJSONRequestBody added in v1.0.1

type CatalogV3CreateTypeJSONRequestBody = CatalogCreateTypePayloadV3

CatalogV3CreateTypeJSONRequestBody defines body for CatalogV3CreateType for application/json ContentType.

type CatalogV3CreateTypeResponse added in v1.0.1

type CatalogV3CreateTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CatalogCreateTypeResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3CreateTypeResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3CreateTypeResponse) StatusCode added in v1.0.1

func (r CatalogV3CreateTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3DestroyEntryResponse added in v1.0.1

type CatalogV3DestroyEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3DestroyEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3DestroyEntryResponse) StatusCode added in v1.0.1

func (r CatalogV3DestroyEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3DestroyTypeResponse added in v1.0.1

type CatalogV3DestroyTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3DestroyTypeResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3DestroyTypeResponse) StatusCode added in v1.0.1

func (r CatalogV3DestroyTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3ListEntriesParams added in v1.0.1

type CatalogV3ListEntriesParams struct {
	// CatalogTypeId ID of this catalog type
	CatalogTypeId string `form:"catalog_type_id" json:"catalog_type_id"`

	// PageSize The integer number of records to return
	PageSize int64 `form:"page_size" json:"page_size"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Identifier If specified, only entries with this identifier will be returned. This will search by ID, external ID, and aliases.
	//
	// If 'use name as identifier' is enabled for the catalog type, this will also match on name.
	Identifier *string `form:"identifier,omitempty" json:"identifier,omitempty"`
}

CatalogV3ListEntriesParams defines parameters for CatalogV3ListEntries.

type CatalogV3ListEntriesResponse added in v1.0.1

type CatalogV3ListEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogListEntriesResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3ListEntriesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3ListEntriesResponse) StatusCode added in v1.0.1

func (r CatalogV3ListEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3ListResourcesResponse added in v1.0.1

type CatalogV3ListResourcesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogListResourcesResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3ListResourcesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3ListResourcesResponse) StatusCode added in v1.0.1

func (r CatalogV3ListResourcesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3ListTypesResponse added in v1.0.1

type CatalogV3ListTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogListTypesResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3ListTypesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3ListTypesResponse) StatusCode added in v1.0.1

func (r CatalogV3ListTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3ShowEntryParams added in v1.0.1

type CatalogV3ShowEntryParams struct {
	// Expand Whether to include details of all attribute links (forwards and backwards) within the response. Default behaviour (no query param) is to include only forward links. When expand is false, we only show attributes of the catalog entry itself.When expand is true, we show forward and backward links
	Expand *bool `form:"expand,omitempty" json:"expand,omitempty"`
}

CatalogV3ShowEntryParams defines parameters for CatalogV3ShowEntry.

type CatalogV3ShowEntryResponse added in v1.0.1

type CatalogV3ShowEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogShowEntryResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3ShowEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3ShowEntryResponse) StatusCode added in v1.0.1

func (r CatalogV3ShowEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3ShowTypeResponse added in v1.0.1

type CatalogV3ShowTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogShowTypeResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3ShowTypeResponse) Status added in v1.0.1

func (r CatalogV3ShowTypeResponse) Status() string

Status returns HTTPResponse.Status

func (CatalogV3ShowTypeResponse) StatusCode added in v1.0.1

func (r CatalogV3ShowTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3UpdateEntryJSONRequestBody added in v1.0.1

type CatalogV3UpdateEntryJSONRequestBody = CatalogUpdateEntryPayloadV3

CatalogV3UpdateEntryJSONRequestBody defines body for CatalogV3UpdateEntry for application/json ContentType.

type CatalogV3UpdateEntryResponse added in v1.0.1

type CatalogV3UpdateEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogUpdateEntryResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3UpdateEntryResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3UpdateEntryResponse) StatusCode added in v1.0.1

func (r CatalogV3UpdateEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3UpdateTypeJSONRequestBody added in v1.0.1

type CatalogV3UpdateTypeJSONRequestBody = CatalogUpdateTypePayloadV3

CatalogV3UpdateTypeJSONRequestBody defines body for CatalogV3UpdateType for application/json ContentType.

type CatalogV3UpdateTypeResponse added in v1.0.1

type CatalogV3UpdateTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogUpdateTypeResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3UpdateTypeResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3UpdateTypeResponse) StatusCode added in v1.0.1

func (r CatalogV3UpdateTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogV3UpdateTypeSchemaJSONRequestBody added in v1.0.1

type CatalogV3UpdateTypeSchemaJSONRequestBody = CatalogUpdateTypeSchemaPayloadV3

CatalogV3UpdateTypeSchemaJSONRequestBody defines body for CatalogV3UpdateTypeSchema for application/json ContentType.

type CatalogV3UpdateTypeSchemaResponse added in v1.0.1

type CatalogV3UpdateTypeSchemaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CatalogUpdateTypeSchemaResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CatalogV3UpdateTypeSchemaResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CatalogV3UpdateTypeSchemaResponse) StatusCode added in v1.0.1

func (r CatalogV3UpdateTypeSchemaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ChatChannelSlimV2 added in v1.0.1

type ChatChannelSlimV2 struct {
	// MicrosoftTeamsChannelId ID of the Microsoft Teams channel, if there is one
	MicrosoftTeamsChannelId *string `json:"microsoft_teams_channel_id,omitempty"`

	// MicrosoftTeamsTeamId ID of the Microsoft Teams team, if there is one
	MicrosoftTeamsTeamId *string `json:"microsoft_teams_team_id,omitempty"`

	// SlackChannelId ID of the Slack channel, if there is one
	SlackChannelId *string `json:"slack_channel_id,omitempty"`

	// SlackTeamId ID of the Slack team, if there is one
	SlackTeamId *string `json:"slack_team_id,omitempty"`
}

ChatChannelSlimV2 defines model for ChatChannelSlimV2.

type Client added in v1.0.1

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient added in v1.0.1

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) APIKeysV1Create added in v1.0.1

func (c *Client) APIKeysV1Create(ctx context.Context, body APIKeysV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1CreateWithBody added in v1.0.1

func (c *Client) APIKeysV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1Delete added in v1.0.1

func (c *Client) APIKeysV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1List added in v1.0.1

func (c *Client) APIKeysV1List(ctx context.Context, params *APIKeysV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1Rotate added in v1.0.1

func (c *Client) APIKeysV1Rotate(ctx context.Context, id string, body APIKeysV1RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1RotateWithBody added in v1.0.1

func (c *Client) APIKeysV1RotateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1Show added in v1.0.1

func (c *Client) APIKeysV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1Update added in v1.0.1

func (c *Client) APIKeysV1Update(ctx context.Context, id string, body APIKeysV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) APIKeysV1UpdateWithBody added in v1.0.1

func (c *Client) APIKeysV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV1List deprecated added in v1.0.1

func (c *Client) ActionsV1List(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV1Show deprecated added in v1.0.1

func (c *Client) ActionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV2Create deprecated added in v1.0.1

func (c *Client) ActionsV2Create(ctx context.Context, body ActionsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV2CreateWithBody deprecated added in v1.0.1

func (c *Client) ActionsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV2Delete deprecated added in v1.0.1

func (c *Client) ActionsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV2List deprecated added in v1.0.1

func (c *Client) ActionsV2List(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV2Show deprecated added in v1.0.1

func (c *Client) ActionsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV2Update deprecated added in v1.0.1

func (c *Client) ActionsV2Update(ctx context.Context, id string, body ActionsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV2UpdateWithBody deprecated added in v1.0.1

func (c *Client) ActionsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) ActionsV3Create added in v1.0.85

func (c *Client) ActionsV3Create(ctx context.Context, body ActionsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV3CreateWithBody added in v1.0.85

func (c *Client) ActionsV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV3Delete added in v1.0.85

func (c *Client) ActionsV3Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV3List added in v1.0.85

func (c *Client) ActionsV3List(ctx context.Context, params *ActionsV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV3Show added in v1.0.85

func (c *Client) ActionsV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV3Update added in v1.0.85

func (c *Client) ActionsV3Update(ctx context.Context, id string, body ActionsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV3UpdateWithBody added in v1.0.85

func (c *Client) ActionsV3UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertAttributesV2Create added in v1.0.1

func (c *Client) AlertAttributesV2Create(ctx context.Context, body AlertAttributesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertAttributesV2CreateWithBody added in v1.0.1

func (c *Client) AlertAttributesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertAttributesV2Destroy added in v1.0.1

func (c *Client) AlertAttributesV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertAttributesV2List added in v1.0.1

func (c *Client) AlertAttributesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertAttributesV2Show added in v1.0.1

func (c *Client) AlertAttributesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertAttributesV2Update added in v1.0.1

func (c *Client) AlertAttributesV2Update(ctx context.Context, id string, body AlertAttributesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertAttributesV2UpdateWithBody added in v1.0.1

func (c *Client) AlertAttributesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertEventsV2CreateHTTP added in v1.0.1

func (c *Client) AlertEventsV2CreateHTTP(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, body AlertEventsV2CreateHTTPJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertEventsV2CreateHTTPWithBody added in v1.0.1

func (c *Client) AlertEventsV2CreateHTTPWithBody(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertNotesV1Create added in v1.0.1

func (c *Client) AlertNotesV1Create(ctx context.Context, body AlertNotesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertNotesV1CreateWithBody added in v1.0.1

func (c *Client) AlertNotesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertNotesV1Delete added in v1.0.1

func (c *Client) AlertNotesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertNotesV1List added in v1.0.1

func (c *Client) AlertNotesV1List(ctx context.Context, params *AlertNotesV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertNotesV1Show added in v1.0.1

func (c *Client) AlertNotesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertNotesV1Update added in v1.0.1

func (c *Client) AlertNotesV1Update(ctx context.Context, id string, body AlertNotesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertNotesV1UpdateWithBody added in v1.0.1

func (c *Client) AlertNotesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV2Create added in v1.0.1

func (c *Client) AlertRoutesV2Create(ctx context.Context, body AlertRoutesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV2CreateWithBody added in v1.0.1

func (c *Client) AlertRoutesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV2Delete added in v1.0.1

func (c *Client) AlertRoutesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV2List added in v1.0.1

func (c *Client) AlertRoutesV2List(ctx context.Context, params *AlertRoutesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV2Show added in v1.0.1

func (c *Client) AlertRoutesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV2Update added in v1.0.1

func (c *Client) AlertRoutesV2Update(ctx context.Context, id string, body AlertRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV2UpdateWithBody added in v1.0.1

func (c *Client) AlertRoutesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV3Create added in v1.0.9

func (c *Client) AlertRoutesV3Create(ctx context.Context, body AlertRoutesV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV3CreateWithBody added in v1.0.9

func (c *Client) AlertRoutesV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV3Delete added in v1.0.9

func (c *Client) AlertRoutesV3Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV3List added in v1.0.9

func (c *Client) AlertRoutesV3List(ctx context.Context, params *AlertRoutesV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV3Show added in v1.0.9

func (c *Client) AlertRoutesV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV3Update added in v1.0.9

func (c *Client) AlertRoutesV3Update(ctx context.Context, id string, body AlertRoutesV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertRoutesV3UpdateWithBody added in v1.0.9

func (c *Client) AlertRoutesV3UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2Create added in v1.0.1

func (c *Client) AlertSourcesV2Create(ctx context.Context, body AlertSourcesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2CreateWithBody added in v1.0.1

func (c *Client) AlertSourcesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2Delete added in v1.0.1

func (c *Client) AlertSourcesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2List added in v1.0.1

func (c *Client) AlertSourcesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2Show added in v1.0.1

func (c *Client) AlertSourcesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2Update added in v1.0.1

func (c *Client) AlertSourcesV2Update(ctx context.Context, id string, body AlertSourcesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2UpdateWithBody added in v1.0.1

func (c *Client) AlertSourcesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2Validate added in v1.0.50

func (c *Client) AlertSourcesV2Validate(ctx context.Context, body AlertSourcesV2ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertSourcesV2ValidateWithBody added in v1.0.50

func (c *Client) AlertSourcesV2ValidateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2CreateIncidentAlert added in v1.0.79

func (c *Client) AlertsV2CreateIncidentAlert(ctx context.Context, body AlertsV2CreateIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2CreateIncidentAlertWithBody added in v1.0.79

func (c *Client) AlertsV2CreateIncidentAlertWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2List added in v1.0.1

func (c *Client) AlertsV2List(ctx context.Context, params *AlertsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2ListIncidentAlerts added in v1.0.1

func (c *Client) AlertsV2ListIncidentAlerts(ctx context.Context, params *AlertsV2ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2Resolve added in v1.0.1

func (c *Client) AlertsV2Resolve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2Show added in v1.0.1

func (c *Client) AlertsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2TransitionIncidentAlert added in v1.0.79

func (c *Client) AlertsV2TransitionIncidentAlert(ctx context.Context, id string, body AlertsV2TransitionIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AlertsV2TransitionIncidentAlertWithBody added in v1.0.79

func (c *Client) AlertsV2TransitionIncidentAlertWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2CreateAllowedCaller added in v1.0.104

func (c *Client) CallRoutesV2CreateAllowedCaller(ctx context.Context, callRouteId string, body CallRoutesV2CreateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2CreateAllowedCallerWithBody added in v1.0.104

func (c *Client) CallRoutesV2CreateAllowedCallerWithBody(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2CreateOption added in v1.0.104

func (c *Client) CallRoutesV2CreateOption(ctx context.Context, callRouteId string, body CallRoutesV2CreateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2CreateOptionWithBody added in v1.0.104

func (c *Client) CallRoutesV2CreateOptionWithBody(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2DestroyAllowedCaller added in v1.0.104

func (c *Client) CallRoutesV2DestroyAllowedCaller(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2DestroyOption added in v1.0.104

func (c *Client) CallRoutesV2DestroyOption(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2List added in v1.0.104

func (c *Client) CallRoutesV2List(ctx context.Context, params *CallRoutesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2ListAllowedCallers added in v1.0.104

func (c *Client) CallRoutesV2ListAllowedCallers(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2ListOptions added in v1.0.104

func (c *Client) CallRoutesV2ListOptions(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2Show added in v1.0.104

func (c *Client) CallRoutesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2ShowAllowedCaller added in v1.0.104

func (c *Client) CallRoutesV2ShowAllowedCaller(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2ShowOption added in v1.0.104

func (c *Client) CallRoutesV2ShowOption(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2Update added in v1.0.104

func (c *Client) CallRoutesV2Update(ctx context.Context, id string, body CallRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2UpdateAllowedCaller added in v1.0.104

func (c *Client) CallRoutesV2UpdateAllowedCaller(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2UpdateAllowedCallerWithBody added in v1.0.104

func (c *Client) CallRoutesV2UpdateAllowedCallerWithBody(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2UpdateOption added in v1.0.104

func (c *Client) CallRoutesV2UpdateOption(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2UpdateOptionWithBody added in v1.0.104

func (c *Client) CallRoutesV2UpdateOptionWithBody(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallRoutesV2UpdateWithBody added in v1.0.104

func (c *Client) CallRoutesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallSessionsV2List added in v1.0.49

func (c *Client) CallSessionsV2List(ctx context.Context, params *CallSessionsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CallTranscriptEntriesV2List added in v1.0.49

func (c *Client) CallTranscriptEntriesV2List(ctx context.Context, params *CallTranscriptEntriesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV2CreateEntry deprecated added in v1.0.1

func (c *Client) CatalogV2CreateEntry(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2CreateEntryWithBody deprecated added in v1.0.1

func (c *Client) CatalogV2CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2CreateType deprecated added in v1.0.1

func (c *Client) CatalogV2CreateType(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2CreateTypeWithBody deprecated added in v1.0.1

func (c *Client) CatalogV2CreateTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2DestroyEntry deprecated added in v1.0.1

func (c *Client) CatalogV2DestroyEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2DestroyType deprecated added in v1.0.1

func (c *Client) CatalogV2DestroyType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2ListEntries deprecated added in v1.0.1

func (c *Client) CatalogV2ListEntries(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2ListResources deprecated added in v1.0.1

func (c *Client) CatalogV2ListResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2ListTypes deprecated added in v1.0.1

func (c *Client) CatalogV2ListTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2ShowEntry deprecated added in v1.0.1

func (c *Client) CatalogV2ShowEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2ShowType deprecated added in v1.0.1

func (c *Client) CatalogV2ShowType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2UpdateEntry deprecated added in v1.0.1

func (c *Client) CatalogV2UpdateEntry(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2UpdateEntryWithBody deprecated added in v1.0.1

func (c *Client) CatalogV2UpdateEntryWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2UpdateType deprecated added in v1.0.1

func (c *Client) CatalogV2UpdateType(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2UpdateTypeSchema deprecated added in v1.0.1

func (c *Client) CatalogV2UpdateTypeSchema(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2UpdateTypeSchemaWithBody deprecated added in v1.0.1

func (c *Client) CatalogV2UpdateTypeSchemaWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV2UpdateTypeWithBody deprecated added in v1.0.1

func (c *Client) CatalogV2UpdateTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CatalogV3BulkUpdateEntries added in v1.0.1

func (c *Client) CatalogV3BulkUpdateEntries(ctx context.Context, body CatalogV3BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3BulkUpdateEntriesWithBody added in v1.0.1

func (c *Client) CatalogV3BulkUpdateEntriesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3CreateEntry added in v1.0.1

func (c *Client) CatalogV3CreateEntry(ctx context.Context, body CatalogV3CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3CreateEntryWithBody added in v1.0.1

func (c *Client) CatalogV3CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3CreateType added in v1.0.1

func (c *Client) CatalogV3CreateType(ctx context.Context, body CatalogV3CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3CreateTypeWithBody added in v1.0.1

func (c *Client) CatalogV3CreateTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3DestroyEntry added in v1.0.1

func (c *Client) CatalogV3DestroyEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3DestroyType added in v1.0.1

func (c *Client) CatalogV3DestroyType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3ListEntries added in v1.0.1

func (c *Client) CatalogV3ListEntries(ctx context.Context, params *CatalogV3ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3ListResources added in v1.0.1

func (c *Client) CatalogV3ListResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3ListTypes added in v1.0.1

func (c *Client) CatalogV3ListTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3ShowEntry added in v1.0.1

func (c *Client) CatalogV3ShowEntry(ctx context.Context, id string, params *CatalogV3ShowEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3ShowType added in v1.0.1

func (c *Client) CatalogV3ShowType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3UpdateEntry added in v1.0.1

func (c *Client) CatalogV3UpdateEntry(ctx context.Context, id string, body CatalogV3UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3UpdateEntryWithBody added in v1.0.1

func (c *Client) CatalogV3UpdateEntryWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3UpdateType added in v1.0.1

func (c *Client) CatalogV3UpdateType(ctx context.Context, id string, body CatalogV3UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3UpdateTypeSchema added in v1.0.1

func (c *Client) CatalogV3UpdateTypeSchema(ctx context.Context, id string, body CatalogV3UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3UpdateTypeSchemaWithBody added in v1.0.1

func (c *Client) CatalogV3UpdateTypeSchemaWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CatalogV3UpdateTypeWithBody added in v1.0.1

func (c *Client) CatalogV3UpdateTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldOptionsV1Create added in v1.0.1

func (c *Client) CustomFieldOptionsV1Create(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldOptionsV1CreateWithBody added in v1.0.1

func (c *Client) CustomFieldOptionsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldOptionsV1Delete added in v1.0.1

func (c *Client) CustomFieldOptionsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldOptionsV1List added in v1.0.1

func (c *Client) CustomFieldOptionsV1List(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldOptionsV1Show added in v1.0.1

func (c *Client) CustomFieldOptionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldOptionsV1Update added in v1.0.1

func (c *Client) CustomFieldOptionsV1Update(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldOptionsV1UpdateWithBody added in v1.0.1

func (c *Client) CustomFieldOptionsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldsV1Create deprecated added in v1.0.1

func (c *Client) CustomFieldsV1Create(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CustomFieldsV1CreateWithBody deprecated added in v1.0.1

func (c *Client) CustomFieldsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CustomFieldsV1Delete deprecated added in v1.0.1

func (c *Client) CustomFieldsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CustomFieldsV1List deprecated added in v1.0.1

func (c *Client) CustomFieldsV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CustomFieldsV1Show deprecated added in v1.0.1

func (c *Client) CustomFieldsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CustomFieldsV1Update deprecated added in v1.0.1

func (c *Client) CustomFieldsV1Update(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CustomFieldsV1UpdateWithBody deprecated added in v1.0.1

func (c *Client) CustomFieldsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) CustomFieldsV2Create added in v1.0.1

func (c *Client) CustomFieldsV2Create(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldsV2CreateWithBody added in v1.0.1

func (c *Client) CustomFieldsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldsV2Delete added in v1.0.1

func (c *Client) CustomFieldsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldsV2List added in v1.0.1

func (c *Client) CustomFieldsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldsV2Show added in v1.0.1

func (c *Client) CustomFieldsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldsV2Update added in v1.0.1

func (c *Client) CustomFieldsV2Update(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CustomFieldsV2UpdateWithBody added in v1.0.1

func (c *Client) CustomFieldsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2CancelEscalation added in v1.0.2

func (c *Client) EscalationsV2CancelEscalation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2CheckEscalationPermissions added in v1.0.77

func (c *Client) EscalationsV2CheckEscalationPermissions(ctx context.Context, escalationId string, body EscalationsV2CheckEscalationPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2CheckEscalationPermissionsWithBody added in v1.0.77

func (c *Client) EscalationsV2CheckEscalationPermissionsWithBody(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2Create added in v1.0.1

func (c *Client) EscalationsV2Create(ctx context.Context, body EscalationsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2CreatePath added in v1.0.1

func (c *Client) EscalationsV2CreatePath(ctx context.Context, body EscalationsV2CreatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2CreatePathWithBody added in v1.0.1

func (c *Client) EscalationsV2CreatePathWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2CreateWithBody added in v1.0.1

func (c *Client) EscalationsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2DestroyPath added in v1.0.1

func (c *Client) EscalationsV2DestroyPath(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2List added in v1.0.1

func (c *Client) EscalationsV2List(ctx context.Context, params *EscalationsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2ListPaths added in v1.0.1

func (c *Client) EscalationsV2ListPaths(ctx context.Context, params *EscalationsV2ListPathsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2ReassignEscalation added in v1.0.96

func (c *Client) EscalationsV2ReassignEscalation(ctx context.Context, escalationId string, body EscalationsV2ReassignEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2ReassignEscalationWithBody added in v1.0.96

func (c *Client) EscalationsV2ReassignEscalationWithBody(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2RespondEscalation added in v1.0.77

func (c *Client) EscalationsV2RespondEscalation(ctx context.Context, escalationId string, body EscalationsV2RespondEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2RespondEscalationWithBody added in v1.0.77

func (c *Client) EscalationsV2RespondEscalationWithBody(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2Show added in v1.0.1

func (c *Client) EscalationsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2ShowPath added in v1.0.1

func (c *Client) EscalationsV2ShowPath(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2UpdatePath added in v1.0.1

func (c *Client) EscalationsV2UpdatePath(ctx context.Context, id string, body EscalationsV2UpdatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EscalationsV2UpdatePathWithBody added in v1.0.1

func (c *Client) EscalationsV2UpdatePathWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2ConnectExternalIssue deprecated added in v1.0.3

func (c *Client) FollowUpsV2ConnectExternalIssue(ctx context.Context, id string, body FollowUpsV2ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2ConnectExternalIssueWithBody deprecated added in v1.0.3

func (c *Client) FollowUpsV2ConnectExternalIssueWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2Create deprecated added in v1.0.1

func (c *Client) FollowUpsV2Create(ctx context.Context, body FollowUpsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2CreateWithBody deprecated added in v1.0.1

func (c *Client) FollowUpsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2Delete deprecated added in v1.0.1

func (c *Client) FollowUpsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2List deprecated added in v1.0.1

func (c *Client) FollowUpsV2List(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2Show deprecated added in v1.0.1

func (c *Client) FollowUpsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2Update deprecated added in v1.0.1

func (c *Client) FollowUpsV2Update(ctx context.Context, id string, body FollowUpsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV2UpdateWithBody deprecated added in v1.0.1

func (c *Client) FollowUpsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) FollowUpsV3ConnectExternalIssue added in v1.0.81

func (c *Client) FollowUpsV3ConnectExternalIssue(ctx context.Context, id string, body FollowUpsV3ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3ConnectExternalIssueWithBody added in v1.0.81

func (c *Client) FollowUpsV3ConnectExternalIssueWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3Create added in v1.0.81

func (c *Client) FollowUpsV3Create(ctx context.Context, body FollowUpsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3CreateWithBody added in v1.0.81

func (c *Client) FollowUpsV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3Delete added in v1.0.81

func (c *Client) FollowUpsV3Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3List added in v1.0.81

func (c *Client) FollowUpsV3List(ctx context.Context, params *FollowUpsV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3Show added in v1.0.81

func (c *Client) FollowUpsV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3Update added in v1.0.81

func (c *Client) FollowUpsV3Update(ctx context.Context, id string, body FollowUpsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV3UpdateWithBody added in v1.0.81

func (c *Client) FollowUpsV3UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HeartbeatV2Ping added in v1.0.1

func (c *Client) HeartbeatV2Ping(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2PingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HeartbeatV2Ping1 added in v1.0.1

func (c *Client) HeartbeatV2Ping1(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2Ping1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IPAllowlistsV1ShowIPAllowlist added in v1.0.1

func (c *Client) IPAllowlistsV1ShowIPAllowlist(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IPAllowlistsV1UpdateIPAllowlist added in v1.0.1

func (c *Client) IPAllowlistsV1UpdateIPAllowlist(ctx context.Context, body IPAllowlistsV1UpdateIPAllowlistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IPAllowlistsV1UpdateIPAllowlistWithBody added in v1.0.1

func (c *Client) IPAllowlistsV1UpdateIPAllowlistWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentActivityLogEntriesV2List added in v1.0.92

func (c *Client) IncidentActivityLogEntriesV2List(ctx context.Context, params *IncidentActivityLogEntriesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentAttachmentsV1Create added in v1.0.1

func (c *Client) IncidentAttachmentsV1Create(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentAttachmentsV1CreateWithBody added in v1.0.1

func (c *Client) IncidentAttachmentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentAttachmentsV1Delete added in v1.0.1

func (c *Client) IncidentAttachmentsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentAttachmentsV1List added in v1.0.1

func (c *Client) IncidentAttachmentsV1List(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentMembershipsV1Create added in v1.0.1

func (c *Client) IncidentMembershipsV1Create(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentMembershipsV1CreateWithBody added in v1.0.1

func (c *Client) IncidentMembershipsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentMembershipsV1Revoke added in v1.0.1

func (c *Client) IncidentMembershipsV1Revoke(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentMembershipsV1RevokeWithBody added in v1.0.1

func (c *Client) IncidentMembershipsV1RevokeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentParticipantWorkloadsV2List added in v1.0.1

func (c *Client) IncidentParticipantWorkloadsV2List(ctx context.Context, params *IncidentParticipantWorkloadsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentParticipantsV2List added in v1.0.1

func (c *Client) IncidentParticipantsV2List(ctx context.Context, params *IncidentParticipantsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRelationshipsV1List added in v1.0.1

func (c *Client) IncidentRelationshipsV1List(ctx context.Context, params *IncidentRelationshipsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRolesV1Create deprecated added in v1.0.1

func (c *Client) IncidentRolesV1Create(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentRolesV1CreateWithBody deprecated added in v1.0.1

func (c *Client) IncidentRolesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentRolesV1Delete deprecated added in v1.0.1

func (c *Client) IncidentRolesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentRolesV1List deprecated added in v1.0.1

func (c *Client) IncidentRolesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentRolesV1Show deprecated added in v1.0.1

func (c *Client) IncidentRolesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentRolesV1Update deprecated added in v1.0.1

func (c *Client) IncidentRolesV1Update(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentRolesV1UpdateWithBody deprecated added in v1.0.1

func (c *Client) IncidentRolesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentRolesV2Create added in v1.0.1

func (c *Client) IncidentRolesV2Create(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRolesV2CreateWithBody added in v1.0.1

func (c *Client) IncidentRolesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRolesV2Delete added in v1.0.1

func (c *Client) IncidentRolesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRolesV2List added in v1.0.1

func (c *Client) IncidentRolesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRolesV2Show added in v1.0.1

func (c *Client) IncidentRolesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRolesV2Update added in v1.0.1

func (c *Client) IncidentRolesV2Update(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentRolesV2UpdateWithBody added in v1.0.1

func (c *Client) IncidentRolesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentStatusesV1Create added in v1.0.1

func (c *Client) IncidentStatusesV1Create(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentStatusesV1CreateWithBody added in v1.0.1

func (c *Client) IncidentStatusesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentStatusesV1Delete added in v1.0.1

func (c *Client) IncidentStatusesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentStatusesV1List added in v1.0.1

func (c *Client) IncidentStatusesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentStatusesV1Show added in v1.0.1

func (c *Client) IncidentStatusesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentStatusesV1Update added in v1.0.1

func (c *Client) IncidentStatusesV1Update(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentStatusesV1UpdateWithBody added in v1.0.1

func (c *Client) IncidentStatusesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1Create added in v1.0.88

func (c *Client) IncidentTemplatesV1Create(ctx context.Context, body IncidentTemplatesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1CreateWithBody added in v1.0.88

func (c *Client) IncidentTemplatesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1Destroy added in v1.0.88

func (c *Client) IncidentTemplatesV1Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1List added in v1.0.88

func (c *Client) IncidentTemplatesV1List(ctx context.Context, params *IncidentTemplatesV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1Show added in v1.0.88

func (c *Client) IncidentTemplatesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1Update added in v1.0.88

func (c *Client) IncidentTemplatesV1Update(ctx context.Context, id string, body IncidentTemplatesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1UpdateWithBody added in v1.0.88

func (c *Client) IncidentTemplatesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1Validate added in v1.0.88

func (c *Client) IncidentTemplatesV1Validate(ctx context.Context, body IncidentTemplatesV1ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTemplatesV1ValidateWithBody added in v1.0.88

func (c *Client) IncidentTemplatesV1ValidateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTimelineItemsV2Create added in v1.0.92

func (c *Client) IncidentTimelineItemsV2Create(ctx context.Context, body IncidentTimelineItemsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTimelineItemsV2CreateWithBody added in v1.0.92

func (c *Client) IncidentTimelineItemsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTimelineItemsV2List added in v1.0.92

func (c *Client) IncidentTimelineItemsV2List(ctx context.Context, params *IncidentTimelineItemsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTimelineItemsV2Update added in v1.0.92

func (c *Client) IncidentTimelineItemsV2Update(ctx context.Context, id string, body IncidentTimelineItemsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTimelineItemsV2UpdateWithBody added in v1.0.92

func (c *Client) IncidentTimelineItemsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTimestampsV2List added in v1.0.1

func (c *Client) IncidentTimestampsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTimestampsV2Show added in v1.0.1

func (c *Client) IncidentTimestampsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTypesV1List added in v1.0.1

func (c *Client) IncidentTypesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentTypesV1Show added in v1.0.1

func (c *Client) IncidentTypesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentUpdatesV2Create added in v1.0.77

func (c *Client) IncidentUpdatesV2Create(ctx context.Context, body IncidentUpdatesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentUpdatesV2CreateWithBody added in v1.0.77

func (c *Client) IncidentUpdatesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentUpdatesV2List added in v1.0.1

func (c *Client) IncidentUpdatesV2List(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV1Create deprecated added in v1.0.1

func (c *Client) IncidentsV1Create(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentsV1CreateWithBody deprecated added in v1.0.1

func (c *Client) IncidentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentsV1List deprecated added in v1.0.1

func (c *Client) IncidentsV1List(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentsV1Show deprecated added in v1.0.1

func (c *Client) IncidentsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*Client) IncidentsV2Create added in v1.0.1

func (c *Client) IncidentsV2Create(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV2CreateWithBody added in v1.0.1

func (c *Client) IncidentsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV2Edit added in v1.0.1

func (c *Client) IncidentsV2Edit(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV2EditWithBody added in v1.0.1

func (c *Client) IncidentsV2EditWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV2ImportPostmortemDocument added in v1.0.1

func (c *Client) IncidentsV2ImportPostmortemDocument(ctx context.Context, id string, body IncidentsV2ImportPostmortemDocumentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV2ImportPostmortemDocumentWithBody added in v1.0.1

func (c *Client) IncidentsV2ImportPostmortemDocumentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV2List added in v1.0.1

func (c *Client) IncidentsV2List(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncidentsV2Show added in v1.0.1

func (c *Client) IncidentsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MaintenanceWindowsV1Create added in v1.0.1

func (c *Client) MaintenanceWindowsV1Create(ctx context.Context, body MaintenanceWindowsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MaintenanceWindowsV1CreateWithBody added in v1.0.1

func (c *Client) MaintenanceWindowsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MaintenanceWindowsV1Delete added in v1.0.1

func (c *Client) MaintenanceWindowsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MaintenanceWindowsV1List added in v1.0.1

func (c *Client) MaintenanceWindowsV1List(ctx context.Context, params *MaintenanceWindowsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MaintenanceWindowsV1Show added in v1.0.1

func (c *Client) MaintenanceWindowsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MaintenanceWindowsV1Update added in v1.0.1

func (c *Client) MaintenanceWindowsV1Update(ctx context.Context, id string, body MaintenanceWindowsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MaintenanceWindowsV1UpdateWithBody added in v1.0.1

func (c *Client) MaintenanceWindowsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesV2Create added in v1.0.87

func (c *Client) PoliciesV2Create(ctx context.Context, body PoliciesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesV2CreateWithBody added in v1.0.87

func (c *Client) PoliciesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesV2Delete added in v1.0.87

func (c *Client) PoliciesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesV2List added in v1.0.87

func (c *Client) PoliciesV2List(ctx context.Context, params *PoliciesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesV2Show added in v1.0.87

func (c *Client) PoliciesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesV2Update added in v1.0.87

func (c *Client) PoliciesV2Update(ctx context.Context, id string, body PoliciesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PoliciesV2UpdateWithBody added in v1.0.87

func (c *Client) PoliciesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PolicyFindingsV2Dismiss added in v1.0.87

func (c *Client) PolicyFindingsV2Dismiss(ctx context.Context, id string, body PolicyFindingsV2DismissJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PolicyFindingsV2DismissWithBody added in v1.0.87

func (c *Client) PolicyFindingsV2DismissWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PolicyFindingsV2List added in v1.0.87

func (c *Client) PolicyFindingsV2List(ctx context.Context, params *PolicyFindingsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PolicyFindingsV2Restore added in v1.0.87

func (c *Client) PolicyFindingsV2Restore(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PolicyFindingsV2Show added in v1.0.87

func (c *Client) PolicyFindingsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostmortemDocumentsV1Attach added in v1.0.1

func (c *Client) PostmortemDocumentsV1Attach(ctx context.Context, body PostmortemDocumentsV1AttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostmortemDocumentsV1AttachWithBody added in v1.0.1

func (c *Client) PostmortemDocumentsV1AttachWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostmortemDocumentsV1List added in v1.0.1

func (c *Client) PostmortemDocumentsV1List(ctx context.Context, params *PostmortemDocumentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostmortemDocumentsV1Show added in v1.0.1

func (c *Client) PostmortemDocumentsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostmortemDocumentsV1ShowContent added in v1.0.1

func (c *Client) PostmortemDocumentsV1ShowContent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostmortemDocumentsV1UpdateStatus added in v1.0.1

func (c *Client) PostmortemDocumentsV1UpdateStatus(ctx context.Context, id string, body PostmortemDocumentsV1UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostmortemDocumentsV1UpdateStatusWithBody added in v1.0.1

func (c *Client) PostmortemDocumentsV1UpdateStatusWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleSyncTargetsV2Create added in v1.0.1

func (c *Client) ScheduleSyncTargetsV2Create(ctx context.Context, body ScheduleSyncTargetsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleSyncTargetsV2CreateWithBody added in v1.0.1

func (c *Client) ScheduleSyncTargetsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleSyncTargetsV2Destroy added in v1.0.1

func (c *Client) ScheduleSyncTargetsV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleSyncTargetsV2List added in v1.0.1

func (c *Client) ScheduleSyncTargetsV2List(ctx context.Context, params *ScheduleSyncTargetsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleSyncTargetsV2Show added in v1.0.1

func (c *Client) ScheduleSyncTargetsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleSyncTargetsV2Update added in v1.0.1

func (c *Client) ScheduleSyncTargetsV2Update(ctx context.Context, id string, body ScheduleSyncTargetsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleSyncTargetsV2UpdateWithBody added in v1.0.1

func (c *Client) ScheduleSyncTargetsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2Create added in v1.0.1

func (c *Client) SchedulesV2Create(ctx context.Context, body SchedulesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2CreateOverride added in v1.0.1

func (c *Client) SchedulesV2CreateOverride(ctx context.Context, body SchedulesV2CreateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2CreateOverrideWithBody added in v1.0.1

func (c *Client) SchedulesV2CreateOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2CreateScheduleReplica added in v1.0.1

func (c *Client) SchedulesV2CreateScheduleReplica(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2CreateScheduleReplicaWithBody added in v1.0.1

func (c *Client) SchedulesV2CreateScheduleReplicaWithBody(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2CreateScheduleSyncRule added in v1.0.1

func (c *Client) SchedulesV2CreateScheduleSyncRule(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2CreateScheduleSyncRuleWithBody added in v1.0.1

func (c *Client) SchedulesV2CreateScheduleSyncRuleWithBody(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2CreateWithBody added in v1.0.1

func (c *Client) SchedulesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2Destroy added in v1.0.1

func (c *Client) SchedulesV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2DestroyOverride added in v1.0.69

func (c *Client) SchedulesV2DestroyOverride(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2DestroyScheduleReplica added in v1.0.1

func (c *Client) SchedulesV2DestroyScheduleReplica(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2DestroyScheduleSyncRule added in v1.0.1

func (c *Client) SchedulesV2DestroyScheduleSyncRule(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2List added in v1.0.1

func (c *Client) SchedulesV2List(ctx context.Context, params *SchedulesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2ListOverrides added in v1.0.36

func (c *Client) SchedulesV2ListOverrides(ctx context.Context, params *SchedulesV2ListOverridesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2ListScheduleEntries added in v1.0.1

func (c *Client) SchedulesV2ListScheduleEntries(ctx context.Context, params *SchedulesV2ListScheduleEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2ListScheduleReplicas added in v1.0.1

func (c *Client) SchedulesV2ListScheduleReplicas(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2ListScheduleSyncRules added in v1.0.1

func (c *Client) SchedulesV2ListScheduleSyncRules(ctx context.Context, scheduleId string, params *SchedulesV2ListScheduleSyncRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2PreviewScheduleEntries added in v1.0.1

func (c *Client) SchedulesV2PreviewScheduleEntries(ctx context.Context, id string, body SchedulesV2PreviewScheduleEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2PreviewScheduleEntriesWithBody added in v1.0.1

func (c *Client) SchedulesV2PreviewScheduleEntriesWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2Show added in v1.0.1

func (c *Client) SchedulesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2ShowOverride added in v1.0.81

func (c *Client) SchedulesV2ShowOverride(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2ShowScheduleReplica added in v1.0.1

func (c *Client) SchedulesV2ShowScheduleReplica(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2ShowScheduleSyncRule added in v1.0.1

func (c *Client) SchedulesV2ShowScheduleSyncRule(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2Update added in v1.0.1

func (c *Client) SchedulesV2Update(ctx context.Context, id string, body SchedulesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2UpdateOverride added in v1.0.70

func (c *Client) SchedulesV2UpdateOverride(ctx context.Context, id string, body SchedulesV2UpdateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2UpdateOverrideWithBody added in v1.0.70

func (c *Client) SchedulesV2UpdateOverrideWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2UpdateScheduleSyncRule added in v1.0.1

func (c *Client) SchedulesV2UpdateScheduleSyncRule(ctx context.Context, scheduleId string, id string, body SchedulesV2UpdateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2UpdateScheduleSyncRuleWithBody added in v1.0.1

func (c *Client) SchedulesV2UpdateScheduleSyncRuleWithBody(ctx context.Context, scheduleId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SchedulesV2UpdateWithBody added in v1.0.1

func (c *Client) SchedulesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2Create added in v1.0.29

func (c *Client) SecretsV2Create(ctx context.Context, body SecretsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2CreateWithBody added in v1.0.29

func (c *Client) SecretsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2Destroy added in v1.0.29

func (c *Client) SecretsV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2List added in v1.0.29

func (c *Client) SecretsV2List(ctx context.Context, params *SecretsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2Rotate added in v1.0.29

func (c *Client) SecretsV2Rotate(ctx context.Context, id string, body SecretsV2RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2RotateWithBody added in v1.0.29

func (c *Client) SecretsV2RotateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2Show added in v1.0.29

func (c *Client) SecretsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2Update added in v1.0.29

func (c *Client) SecretsV2Update(ctx context.Context, id string, body SecretsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SecretsV2UpdateWithBody added in v1.0.29

func (c *Client) SecretsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SeveritiesV1Create added in v1.0.1

func (c *Client) SeveritiesV1Create(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SeveritiesV1CreateWithBody added in v1.0.1

func (c *Client) SeveritiesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SeveritiesV1Delete added in v1.0.1

func (c *Client) SeveritiesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SeveritiesV1List added in v1.0.1

func (c *Client) SeveritiesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SeveritiesV1Show added in v1.0.1

func (c *Client) SeveritiesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SeveritiesV1Update added in v1.0.1

func (c *Client) SeveritiesV1Update(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SeveritiesV1UpdateWithBody added in v1.0.1

func (c *Client) SeveritiesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV1ListResponseIncidents added in v1.0.1

func (c *Client) StatusPagesV1ListResponseIncidents(ctx context.Context, id string, incidentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageIncident added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageIncident(ctx context.Context, body StatusPagesV2CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageIncidentUpdate added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageIncidentUpdate(ctx context.Context, body StatusPagesV2CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageIncidentUpdateWithBody added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageIncidentUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageIncidentWithBody added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageIncidentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageMaintenance added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageMaintenance(ctx context.Context, body StatusPagesV2CreateStatusPageMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageMaintenanceUpdate added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageMaintenanceUpdate(ctx context.Context, body StatusPagesV2CreateStatusPageMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageMaintenanceUpdateWithBody added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageMaintenanceUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageMaintenanceWithBody added in v1.0.1

func (c *Client) StatusPagesV2CreateStatusPageMaintenanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageRetrospectiveIncident added in v1.0.16

func (c *Client) StatusPagesV2CreateStatusPageRetrospectiveIncident(ctx context.Context, body StatusPagesV2CreateStatusPageRetrospectiveIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBody added in v1.0.16

func (c *Client) StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2DeleteStatusPageMaintenance added in v1.0.103

func (c *Client) StatusPagesV2DeleteStatusPageMaintenance(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2ListStatusPageIncidents added in v1.0.1

func (c *Client) StatusPagesV2ListStatusPageIncidents(ctx context.Context, params *StatusPagesV2ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2ListStatusPageMaintenances added in v1.0.1

func (c *Client) StatusPagesV2ListStatusPageMaintenances(ctx context.Context, params *StatusPagesV2ListStatusPageMaintenancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2ListStatusPages added in v1.0.1

func (c *Client) StatusPagesV2ListStatusPages(ctx context.Context, params *StatusPagesV2ListStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2ShowStatusPageIncident added in v1.0.1

func (c *Client) StatusPagesV2ShowStatusPageIncident(ctx context.Context, statusPageIncidentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2ShowStatusPageMaintenance added in v1.0.1

func (c *Client) StatusPagesV2ShowStatusPageMaintenance(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2ShowStatusPageStructure added in v1.0.1

func (c *Client) StatusPagesV2ShowStatusPageStructure(ctx context.Context, statusPageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2UpdateStatusPageIncident added in v1.0.1

func (c *Client) StatusPagesV2UpdateStatusPageIncident(ctx context.Context, statusPageIncidentId string, body StatusPagesV2UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2UpdateStatusPageIncidentWithBody added in v1.0.1

func (c *Client) StatusPagesV2UpdateStatusPageIncidentWithBody(ctx context.Context, statusPageIncidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2UpdateStatusPageMaintenance added in v1.0.103

func (c *Client) StatusPagesV2UpdateStatusPageMaintenance(ctx context.Context, statusPageMaintenanceId string, body StatusPagesV2UpdateStatusPageMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StatusPagesV2UpdateStatusPageMaintenanceWithBody added in v1.0.103

func (c *Client) StatusPagesV2UpdateStatusPageMaintenanceWithBody(ctx context.Context, statusPageMaintenanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamsV3List added in v1.0.1

func (c *Client) TeamsV3List(ctx context.Context, params *TeamsV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TeamsV3Show added in v1.0.1

func (c *Client) TeamsV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TelemetryV2UpdateDataSource added in v1.0.1

func (c *Client) TelemetryV2UpdateDataSource(ctx context.Context, id string, body TelemetryV2UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TelemetryV2UpdateDataSourceWithBody added in v1.0.1

func (c *Client) TelemetryV2UpdateDataSourceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UsersV2List added in v1.0.1

func (c *Client) UsersV2List(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UsersV2ListNotificationMethods added in v1.0.1

func (c *Client) UsersV2ListNotificationMethods(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UsersV2ListNotificationRules added in v1.0.1

func (c *Client) UsersV2ListNotificationRules(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UsersV2Show added in v1.0.1

func (c *Client) UsersV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UsersV2ShowPagingProvider added in v1.0.1

func (c *Client) UsersV2ShowPagingProvider(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UsersV2UpdatePagingProvider added in v1.0.1

func (c *Client) UsersV2UpdatePagingProvider(ctx context.Context, userId string, body UsersV2UpdatePagingProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UsersV2UpdatePagingProviderWithBody added in v1.0.1

func (c *Client) UsersV2UpdatePagingProviderWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UtilitiesV1IPRanges added in v1.0.98

func (c *Client) UtilitiesV1IPRanges(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UtilitiesV1Identity added in v1.0.1

func (c *Client) UtilitiesV1Identity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UtilitiesV1OpenAPIV3 added in v1.0.1

func (c *Client) UtilitiesV1OpenAPIV3(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunsV2List added in v1.0.42

func (c *Client) WorkflowRunsV2List(ctx context.Context, params *WorkflowRunsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunsV2Show added in v1.0.42

func (c *Client) WorkflowRunsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowsV2CreateWorkflow added in v1.0.1

func (c *Client) WorkflowsV2CreateWorkflow(ctx context.Context, body WorkflowsV2CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowsV2CreateWorkflowWithBody added in v1.0.1

func (c *Client) WorkflowsV2CreateWorkflowWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowsV2DestroyWorkflow added in v1.0.1

func (c *Client) WorkflowsV2DestroyWorkflow(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowsV2ListWorkflows added in v1.0.1

func (c *Client) WorkflowsV2ListWorkflows(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowsV2ShowWorkflow added in v1.0.1

func (c *Client) WorkflowsV2ShowWorkflow(ctx context.Context, id string, params *WorkflowsV2ShowWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowsV2UpdateWorkflow added in v1.0.1

func (c *Client) WorkflowsV2UpdateWorkflow(ctx context.Context, id string, body WorkflowsV2UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowsV2UpdateWorkflowWithBody added in v1.0.1

func (c *Client) WorkflowsV2UpdateWorkflowWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface added in v1.0.1

type ClientInterface interface {
	// ActionsV1List request
	ActionsV1List(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV1Show request
	ActionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertNotesV1List request
	AlertNotesV1List(ctx context.Context, params *AlertNotesV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertNotesV1CreateWithBody request with any body
	AlertNotesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertNotesV1Create(ctx context.Context, body AlertNotesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertNotesV1Delete request
	AlertNotesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertNotesV1Show request
	AlertNotesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertNotesV1UpdateWithBody request with any body
	AlertNotesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertNotesV1Update(ctx context.Context, id string, body AlertNotesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeysV1List request
	APIKeysV1List(ctx context.Context, params *APIKeysV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeysV1CreateWithBody request with any body
	APIKeysV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	APIKeysV1Create(ctx context.Context, body APIKeysV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeysV1Delete request
	APIKeysV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeysV1Show request
	APIKeysV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeysV1UpdateWithBody request with any body
	APIKeysV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	APIKeysV1Update(ctx context.Context, id string, body APIKeysV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// APIKeysV1RotateWithBody request with any body
	APIKeysV1RotateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	APIKeysV1Rotate(ctx context.Context, id string, body APIKeysV1RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldOptionsV1List request
	CustomFieldOptionsV1List(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldOptionsV1CreateWithBody request with any body
	CustomFieldOptionsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CustomFieldOptionsV1Create(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldOptionsV1Delete request
	CustomFieldOptionsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldOptionsV1Show request
	CustomFieldOptionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldOptionsV1UpdateWithBody request with any body
	CustomFieldOptionsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CustomFieldOptionsV1Update(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV1List request
	CustomFieldsV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV1CreateWithBody request with any body
	CustomFieldsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CustomFieldsV1Create(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV1Delete request
	CustomFieldsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV1Show request
	CustomFieldsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV1UpdateWithBody request with any body
	CustomFieldsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CustomFieldsV1Update(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UtilitiesV1Identity request
	UtilitiesV1Identity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentAttachmentsV1List request
	IncidentAttachmentsV1List(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentAttachmentsV1CreateWithBody request with any body
	IncidentAttachmentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentAttachmentsV1Create(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentAttachmentsV1Delete request
	IncidentAttachmentsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentMembershipsV1CreateWithBody request with any body
	IncidentMembershipsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentMembershipsV1Create(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentMembershipsV1RevokeWithBody request with any body
	IncidentMembershipsV1RevokeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentMembershipsV1Revoke(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRelationshipsV1List request
	IncidentRelationshipsV1List(ctx context.Context, params *IncidentRelationshipsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV1List request
	IncidentRolesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV1CreateWithBody request with any body
	IncidentRolesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentRolesV1Create(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV1Delete request
	IncidentRolesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV1Show request
	IncidentRolesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV1UpdateWithBody request with any body
	IncidentRolesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentRolesV1Update(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentStatusesV1List request
	IncidentStatusesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentStatusesV1CreateWithBody request with any body
	IncidentStatusesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentStatusesV1Create(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentStatusesV1Delete request
	IncidentStatusesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentStatusesV1Show request
	IncidentStatusesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentStatusesV1UpdateWithBody request with any body
	IncidentStatusesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentStatusesV1Update(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTemplatesV1List request
	IncidentTemplatesV1List(ctx context.Context, params *IncidentTemplatesV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTemplatesV1CreateWithBody request with any body
	IncidentTemplatesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentTemplatesV1Create(ctx context.Context, body IncidentTemplatesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTemplatesV1ValidateWithBody request with any body
	IncidentTemplatesV1ValidateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentTemplatesV1Validate(ctx context.Context, body IncidentTemplatesV1ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTemplatesV1Destroy request
	IncidentTemplatesV1Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTemplatesV1Show request
	IncidentTemplatesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTemplatesV1UpdateWithBody request with any body
	IncidentTemplatesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentTemplatesV1Update(ctx context.Context, id string, body IncidentTemplatesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTypesV1List request
	IncidentTypesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTypesV1Show request
	IncidentTypesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV1List request
	IncidentsV1List(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV1CreateWithBody request with any body
	IncidentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentsV1Create(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV1Show request
	IncidentsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IPAllowlistsV1ShowIPAllowlist request
	IPAllowlistsV1ShowIPAllowlist(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IPAllowlistsV1UpdateIPAllowlistWithBody request with any body
	IPAllowlistsV1UpdateIPAllowlistWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IPAllowlistsV1UpdateIPAllowlist(ctx context.Context, body IPAllowlistsV1UpdateIPAllowlistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UtilitiesV1IPRanges request
	UtilitiesV1IPRanges(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MaintenanceWindowsV1List request
	MaintenanceWindowsV1List(ctx context.Context, params *MaintenanceWindowsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MaintenanceWindowsV1CreateWithBody request with any body
	MaintenanceWindowsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	MaintenanceWindowsV1Create(ctx context.Context, body MaintenanceWindowsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MaintenanceWindowsV1Delete request
	MaintenanceWindowsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MaintenanceWindowsV1Show request
	MaintenanceWindowsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MaintenanceWindowsV1UpdateWithBody request with any body
	MaintenanceWindowsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	MaintenanceWindowsV1Update(ctx context.Context, id string, body MaintenanceWindowsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UtilitiesV1OpenAPIV3 request
	UtilitiesV1OpenAPIV3(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostmortemDocumentsV1List request
	PostmortemDocumentsV1List(ctx context.Context, params *PostmortemDocumentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostmortemDocumentsV1AttachWithBody request with any body
	PostmortemDocumentsV1AttachWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostmortemDocumentsV1Attach(ctx context.Context, body PostmortemDocumentsV1AttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostmortemDocumentsV1Show request
	PostmortemDocumentsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostmortemDocumentsV1UpdateStatusWithBody request with any body
	PostmortemDocumentsV1UpdateStatusWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostmortemDocumentsV1UpdateStatus(ctx context.Context, id string, body PostmortemDocumentsV1UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostmortemDocumentsV1ShowContent request
	PostmortemDocumentsV1ShowContent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SeveritiesV1List request
	SeveritiesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SeveritiesV1CreateWithBody request with any body
	SeveritiesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SeveritiesV1Create(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SeveritiesV1Delete request
	SeveritiesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SeveritiesV1Show request
	SeveritiesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SeveritiesV1UpdateWithBody request with any body
	SeveritiesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SeveritiesV1Update(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV1ListResponseIncidents request
	StatusPagesV1ListResponseIncidents(ctx context.Context, id string, incidentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV2List request
	ActionsV2List(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV2CreateWithBody request with any body
	ActionsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ActionsV2Create(ctx context.Context, body ActionsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV2Delete request
	ActionsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV2Show request
	ActionsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV2UpdateWithBody request with any body
	ActionsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ActionsV2Update(ctx context.Context, id string, body ActionsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertAttributesV2List request
	AlertAttributesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertAttributesV2CreateWithBody request with any body
	AlertAttributesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertAttributesV2Create(ctx context.Context, body AlertAttributesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertAttributesV2Destroy request
	AlertAttributesV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertAttributesV2Show request
	AlertAttributesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertAttributesV2UpdateWithBody request with any body
	AlertAttributesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertAttributesV2Update(ctx context.Context, id string, body AlertAttributesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertEventsV2CreateHTTPWithBody request with any body
	AlertEventsV2CreateHTTPWithBody(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertEventsV2CreateHTTP(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, body AlertEventsV2CreateHTTPJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV2List request
	AlertRoutesV2List(ctx context.Context, params *AlertRoutesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV2CreateWithBody request with any body
	AlertRoutesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertRoutesV2Create(ctx context.Context, body AlertRoutesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV2Delete request
	AlertRoutesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV2Show request
	AlertRoutesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV2UpdateWithBody request with any body
	AlertRoutesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertRoutesV2Update(ctx context.Context, id string, body AlertRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertSourcesV2List request
	AlertSourcesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertSourcesV2CreateWithBody request with any body
	AlertSourcesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertSourcesV2Create(ctx context.Context, body AlertSourcesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertSourcesV2ValidateWithBody request with any body
	AlertSourcesV2ValidateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertSourcesV2Validate(ctx context.Context, body AlertSourcesV2ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertSourcesV2Delete request
	AlertSourcesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertSourcesV2Show request
	AlertSourcesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertSourcesV2UpdateWithBody request with any body
	AlertSourcesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertSourcesV2Update(ctx context.Context, id string, body AlertSourcesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertsV2List request
	AlertsV2List(ctx context.Context, params *AlertsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertsV2Show request
	AlertsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertsV2Resolve request
	AlertsV2Resolve(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2List request
	CallRoutesV2List(ctx context.Context, params *CallRoutesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2ListAllowedCallers request
	CallRoutesV2ListAllowedCallers(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2CreateAllowedCallerWithBody request with any body
	CallRoutesV2CreateAllowedCallerWithBody(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CallRoutesV2CreateAllowedCaller(ctx context.Context, callRouteId string, body CallRoutesV2CreateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2DestroyAllowedCaller request
	CallRoutesV2DestroyAllowedCaller(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2ShowAllowedCaller request
	CallRoutesV2ShowAllowedCaller(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2UpdateAllowedCallerWithBody request with any body
	CallRoutesV2UpdateAllowedCallerWithBody(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CallRoutesV2UpdateAllowedCaller(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2ListOptions request
	CallRoutesV2ListOptions(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2CreateOptionWithBody request with any body
	CallRoutesV2CreateOptionWithBody(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CallRoutesV2CreateOption(ctx context.Context, callRouteId string, body CallRoutesV2CreateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2DestroyOption request
	CallRoutesV2DestroyOption(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2ShowOption request
	CallRoutesV2ShowOption(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2UpdateOptionWithBody request with any body
	CallRoutesV2UpdateOptionWithBody(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CallRoutesV2UpdateOption(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2Show request
	CallRoutesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallRoutesV2UpdateWithBody request with any body
	CallRoutesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CallRoutesV2Update(ctx context.Context, id string, body CallRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallSessionsV2List request
	CallSessionsV2List(ctx context.Context, params *CallSessionsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallTranscriptEntriesV2List request
	CallTranscriptEntriesV2List(ctx context.Context, params *CallTranscriptEntriesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2ListEntries request
	CatalogV2ListEntries(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2CreateEntryWithBody request with any body
	CatalogV2CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV2CreateEntry(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2DestroyEntry request
	CatalogV2DestroyEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2ShowEntry request
	CatalogV2ShowEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2UpdateEntryWithBody request with any body
	CatalogV2UpdateEntryWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV2UpdateEntry(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2ListResources request
	CatalogV2ListResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2ListTypes request
	CatalogV2ListTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2CreateTypeWithBody request with any body
	CatalogV2CreateTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV2CreateType(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2DestroyType request
	CatalogV2DestroyType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2ShowType request
	CatalogV2ShowType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2UpdateTypeWithBody request with any body
	CatalogV2UpdateTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV2UpdateType(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV2UpdateTypeSchemaWithBody request with any body
	CatalogV2UpdateTypeSchemaWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV2UpdateTypeSchema(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV2List request
	CustomFieldsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV2CreateWithBody request with any body
	CustomFieldsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CustomFieldsV2Create(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV2Delete request
	CustomFieldsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV2Show request
	CustomFieldsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomFieldsV2UpdateWithBody request with any body
	CustomFieldsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CustomFieldsV2Update(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2ListPaths request
	EscalationsV2ListPaths(ctx context.Context, params *EscalationsV2ListPathsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2CreatePathWithBody request with any body
	EscalationsV2CreatePathWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EscalationsV2CreatePath(ctx context.Context, body EscalationsV2CreatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2DestroyPath request
	EscalationsV2DestroyPath(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2ShowPath request
	EscalationsV2ShowPath(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2UpdatePathWithBody request with any body
	EscalationsV2UpdatePathWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EscalationsV2UpdatePath(ctx context.Context, id string, body EscalationsV2UpdatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2List request
	EscalationsV2List(ctx context.Context, params *EscalationsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2CreateWithBody request with any body
	EscalationsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EscalationsV2Create(ctx context.Context, body EscalationsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2CheckEscalationPermissionsWithBody request with any body
	EscalationsV2CheckEscalationPermissionsWithBody(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EscalationsV2CheckEscalationPermissions(ctx context.Context, escalationId string, body EscalationsV2CheckEscalationPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2ReassignEscalationWithBody request with any body
	EscalationsV2ReassignEscalationWithBody(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EscalationsV2ReassignEscalation(ctx context.Context, escalationId string, body EscalationsV2ReassignEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2RespondEscalationWithBody request with any body
	EscalationsV2RespondEscalationWithBody(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EscalationsV2RespondEscalation(ctx context.Context, escalationId string, body EscalationsV2RespondEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2Show request
	EscalationsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EscalationsV2CancelEscalation request
	EscalationsV2CancelEscalation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV2List request
	FollowUpsV2List(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV2CreateWithBody request with any body
	FollowUpsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FollowUpsV2Create(ctx context.Context, body FollowUpsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV2Delete request
	FollowUpsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV2Show request
	FollowUpsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV2UpdateWithBody request with any body
	FollowUpsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FollowUpsV2Update(ctx context.Context, id string, body FollowUpsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV2ConnectExternalIssueWithBody request with any body
	FollowUpsV2ConnectExternalIssueWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FollowUpsV2ConnectExternalIssue(ctx context.Context, id string, body FollowUpsV2ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HeartbeatV2Ping1 request
	HeartbeatV2Ping1(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2Ping1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HeartbeatV2Ping request
	HeartbeatV2Ping(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2PingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentActivityLogEntriesV2List request
	IncidentActivityLogEntriesV2List(ctx context.Context, params *IncidentActivityLogEntriesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertsV2ListIncidentAlerts request
	AlertsV2ListIncidentAlerts(ctx context.Context, params *AlertsV2ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertsV2CreateIncidentAlertWithBody request with any body
	AlertsV2CreateIncidentAlertWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertsV2CreateIncidentAlert(ctx context.Context, body AlertsV2CreateIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertsV2TransitionIncidentAlertWithBody request with any body
	AlertsV2TransitionIncidentAlertWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertsV2TransitionIncidentAlert(ctx context.Context, id string, body AlertsV2TransitionIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentParticipantWorkloadsV2List request
	IncidentParticipantWorkloadsV2List(ctx context.Context, params *IncidentParticipantWorkloadsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentParticipantsV2List request
	IncidentParticipantsV2List(ctx context.Context, params *IncidentParticipantsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV2List request
	IncidentRolesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV2CreateWithBody request with any body
	IncidentRolesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentRolesV2Create(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV2Delete request
	IncidentRolesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV2Show request
	IncidentRolesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentRolesV2UpdateWithBody request with any body
	IncidentRolesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentRolesV2Update(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTimelineItemsV2List request
	IncidentTimelineItemsV2List(ctx context.Context, params *IncidentTimelineItemsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTimelineItemsV2CreateWithBody request with any body
	IncidentTimelineItemsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentTimelineItemsV2Create(ctx context.Context, body IncidentTimelineItemsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTimelineItemsV2UpdateWithBody request with any body
	IncidentTimelineItemsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentTimelineItemsV2Update(ctx context.Context, id string, body IncidentTimelineItemsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTimestampsV2List request
	IncidentTimestampsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentTimestampsV2Show request
	IncidentTimestampsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentUpdatesV2List request
	IncidentUpdatesV2List(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentUpdatesV2CreateWithBody request with any body
	IncidentUpdatesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentUpdatesV2Create(ctx context.Context, body IncidentUpdatesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV2List request
	IncidentsV2List(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV2CreateWithBody request with any body
	IncidentsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentsV2Create(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV2Show request
	IncidentsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV2EditWithBody request with any body
	IncidentsV2EditWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentsV2Edit(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncidentsV2ImportPostmortemDocumentWithBody request with any body
	IncidentsV2ImportPostmortemDocumentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	IncidentsV2ImportPostmortemDocument(ctx context.Context, id string, body IncidentsV2ImportPostmortemDocumentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesV2List request
	PoliciesV2List(ctx context.Context, params *PoliciesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesV2CreateWithBody request with any body
	PoliciesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PoliciesV2Create(ctx context.Context, body PoliciesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesV2Delete request
	PoliciesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesV2Show request
	PoliciesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PoliciesV2UpdateWithBody request with any body
	PoliciesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PoliciesV2Update(ctx context.Context, id string, body PoliciesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PolicyFindingsV2List request
	PolicyFindingsV2List(ctx context.Context, params *PolicyFindingsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PolicyFindingsV2Show request
	PolicyFindingsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PolicyFindingsV2DismissWithBody request with any body
	PolicyFindingsV2DismissWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PolicyFindingsV2Dismiss(ctx context.Context, id string, body PolicyFindingsV2DismissJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PolicyFindingsV2Restore request
	PolicyFindingsV2Restore(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2ListScheduleEntries request
	SchedulesV2ListScheduleEntries(ctx context.Context, params *SchedulesV2ListScheduleEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2ListOverrides request
	SchedulesV2ListOverrides(ctx context.Context, params *SchedulesV2ListOverridesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2CreateOverrideWithBody request with any body
	SchedulesV2CreateOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2CreateOverride(ctx context.Context, body SchedulesV2CreateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2DestroyOverride request
	SchedulesV2DestroyOverride(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2ShowOverride request
	SchedulesV2ShowOverride(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2UpdateOverrideWithBody request with any body
	SchedulesV2UpdateOverrideWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2UpdateOverride(ctx context.Context, id string, body SchedulesV2UpdateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleSyncTargetsV2List request
	ScheduleSyncTargetsV2List(ctx context.Context, params *ScheduleSyncTargetsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleSyncTargetsV2CreateWithBody request with any body
	ScheduleSyncTargetsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScheduleSyncTargetsV2Create(ctx context.Context, body ScheduleSyncTargetsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleSyncTargetsV2Destroy request
	ScheduleSyncTargetsV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleSyncTargetsV2Show request
	ScheduleSyncTargetsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleSyncTargetsV2UpdateWithBody request with any body
	ScheduleSyncTargetsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScheduleSyncTargetsV2Update(ctx context.Context, id string, body ScheduleSyncTargetsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2List request
	SchedulesV2List(ctx context.Context, params *SchedulesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2CreateWithBody request with any body
	SchedulesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2Create(ctx context.Context, body SchedulesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2Destroy request
	SchedulesV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2Show request
	SchedulesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2UpdateWithBody request with any body
	SchedulesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2Update(ctx context.Context, id string, body SchedulesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2PreviewScheduleEntriesWithBody request with any body
	SchedulesV2PreviewScheduleEntriesWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2PreviewScheduleEntries(ctx context.Context, id string, body SchedulesV2PreviewScheduleEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2ListScheduleReplicas request
	SchedulesV2ListScheduleReplicas(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2CreateScheduleReplicaWithBody request with any body
	SchedulesV2CreateScheduleReplicaWithBody(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2CreateScheduleReplica(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2DestroyScheduleReplica request
	SchedulesV2DestroyScheduleReplica(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2ShowScheduleReplica request
	SchedulesV2ShowScheduleReplica(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2ListScheduleSyncRules request
	SchedulesV2ListScheduleSyncRules(ctx context.Context, scheduleId string, params *SchedulesV2ListScheduleSyncRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2CreateScheduleSyncRuleWithBody request with any body
	SchedulesV2CreateScheduleSyncRuleWithBody(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2CreateScheduleSyncRule(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2DestroyScheduleSyncRule request
	SchedulesV2DestroyScheduleSyncRule(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2ShowScheduleSyncRule request
	SchedulesV2ShowScheduleSyncRule(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesV2UpdateScheduleSyncRuleWithBody request with any body
	SchedulesV2UpdateScheduleSyncRuleWithBody(ctx context.Context, scheduleId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SchedulesV2UpdateScheduleSyncRule(ctx context.Context, scheduleId string, id string, body SchedulesV2UpdateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SecretsV2List request
	SecretsV2List(ctx context.Context, params *SecretsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SecretsV2CreateWithBody request with any body
	SecretsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SecretsV2Create(ctx context.Context, body SecretsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SecretsV2Destroy request
	SecretsV2Destroy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SecretsV2Show request
	SecretsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SecretsV2UpdateWithBody request with any body
	SecretsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SecretsV2Update(ctx context.Context, id string, body SecretsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SecretsV2RotateWithBody request with any body
	SecretsV2RotateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SecretsV2Rotate(ctx context.Context, id string, body SecretsV2RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2CreateStatusPageIncidentUpdateWithBody request with any body
	StatusPagesV2CreateStatusPageIncidentUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StatusPagesV2CreateStatusPageIncidentUpdate(ctx context.Context, body StatusPagesV2CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2ListStatusPageIncidents request
	StatusPagesV2ListStatusPageIncidents(ctx context.Context, params *StatusPagesV2ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2CreateStatusPageIncidentWithBody request with any body
	StatusPagesV2CreateStatusPageIncidentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StatusPagesV2CreateStatusPageIncident(ctx context.Context, body StatusPagesV2CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2ShowStatusPageIncident request
	StatusPagesV2ShowStatusPageIncident(ctx context.Context, statusPageIncidentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2UpdateStatusPageIncidentWithBody request with any body
	StatusPagesV2UpdateStatusPageIncidentWithBody(ctx context.Context, statusPageIncidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StatusPagesV2UpdateStatusPageIncident(ctx context.Context, statusPageIncidentId string, body StatusPagesV2UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2CreateStatusPageMaintenanceUpdateWithBody request with any body
	StatusPagesV2CreateStatusPageMaintenanceUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StatusPagesV2CreateStatusPageMaintenanceUpdate(ctx context.Context, body StatusPagesV2CreateStatusPageMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2ListStatusPageMaintenances request
	StatusPagesV2ListStatusPageMaintenances(ctx context.Context, params *StatusPagesV2ListStatusPageMaintenancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2CreateStatusPageMaintenanceWithBody request with any body
	StatusPagesV2CreateStatusPageMaintenanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StatusPagesV2CreateStatusPageMaintenance(ctx context.Context, body StatusPagesV2CreateStatusPageMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2DeleteStatusPageMaintenance request
	StatusPagesV2DeleteStatusPageMaintenance(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2ShowStatusPageMaintenance request
	StatusPagesV2ShowStatusPageMaintenance(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2UpdateStatusPageMaintenanceWithBody request with any body
	StatusPagesV2UpdateStatusPageMaintenanceWithBody(ctx context.Context, statusPageMaintenanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StatusPagesV2UpdateStatusPageMaintenance(ctx context.Context, statusPageMaintenanceId string, body StatusPagesV2UpdateStatusPageMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBody request with any body
	StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StatusPagesV2CreateStatusPageRetrospectiveIncident(ctx context.Context, body StatusPagesV2CreateStatusPageRetrospectiveIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2ShowStatusPageStructure request
	StatusPagesV2ShowStatusPageStructure(ctx context.Context, statusPageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatusPagesV2ListStatusPages request
	StatusPagesV2ListStatusPages(ctx context.Context, params *StatusPagesV2ListStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TelemetryV2UpdateDataSourceWithBody request with any body
	TelemetryV2UpdateDataSourceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TelemetryV2UpdateDataSource(ctx context.Context, id string, body TelemetryV2UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersV2List request
	UsersV2List(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersV2Show request
	UsersV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersV2ListNotificationMethods request
	UsersV2ListNotificationMethods(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersV2ListNotificationRules request
	UsersV2ListNotificationRules(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersV2ShowPagingProvider request
	UsersV2ShowPagingProvider(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersV2UpdatePagingProviderWithBody request with any body
	UsersV2UpdatePagingProviderWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UsersV2UpdatePagingProvider(ctx context.Context, userId string, body UsersV2UpdatePagingProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowRunsV2List request
	WorkflowRunsV2List(ctx context.Context, params *WorkflowRunsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowRunsV2Show request
	WorkflowRunsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowsV2ListWorkflows request
	WorkflowsV2ListWorkflows(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowsV2CreateWorkflowWithBody request with any body
	WorkflowsV2CreateWorkflowWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	WorkflowsV2CreateWorkflow(ctx context.Context, body WorkflowsV2CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowsV2DestroyWorkflow request
	WorkflowsV2DestroyWorkflow(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowsV2ShowWorkflow request
	WorkflowsV2ShowWorkflow(ctx context.Context, id string, params *WorkflowsV2ShowWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowsV2UpdateWorkflowWithBody request with any body
	WorkflowsV2UpdateWorkflowWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	WorkflowsV2UpdateWorkflow(ctx context.Context, id string, body WorkflowsV2UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV3List request
	ActionsV3List(ctx context.Context, params *ActionsV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV3CreateWithBody request with any body
	ActionsV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ActionsV3Create(ctx context.Context, body ActionsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV3Delete request
	ActionsV3Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV3Show request
	ActionsV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActionsV3UpdateWithBody request with any body
	ActionsV3UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ActionsV3Update(ctx context.Context, id string, body ActionsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV3List request
	AlertRoutesV3List(ctx context.Context, params *AlertRoutesV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV3CreateWithBody request with any body
	AlertRoutesV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertRoutesV3Create(ctx context.Context, body AlertRoutesV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV3Delete request
	AlertRoutesV3Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV3Show request
	AlertRoutesV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AlertRoutesV3UpdateWithBody request with any body
	AlertRoutesV3UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AlertRoutesV3Update(ctx context.Context, id string, body AlertRoutesV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3ListEntries request
	CatalogV3ListEntries(ctx context.Context, params *CatalogV3ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3CreateEntryWithBody request with any body
	CatalogV3CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV3CreateEntry(ctx context.Context, body CatalogV3CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3BulkUpdateEntriesWithBody request with any body
	CatalogV3BulkUpdateEntriesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV3BulkUpdateEntries(ctx context.Context, body CatalogV3BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3DestroyEntry request
	CatalogV3DestroyEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3ShowEntry request
	CatalogV3ShowEntry(ctx context.Context, id string, params *CatalogV3ShowEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3UpdateEntryWithBody request with any body
	CatalogV3UpdateEntryWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV3UpdateEntry(ctx context.Context, id string, body CatalogV3UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3ListResources request
	CatalogV3ListResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3ListTypes request
	CatalogV3ListTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3CreateTypeWithBody request with any body
	CatalogV3CreateTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV3CreateType(ctx context.Context, body CatalogV3CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3DestroyType request
	CatalogV3DestroyType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3ShowType request
	CatalogV3ShowType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3UpdateTypeWithBody request with any body
	CatalogV3UpdateTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV3UpdateType(ctx context.Context, id string, body CatalogV3UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CatalogV3UpdateTypeSchemaWithBody request with any body
	CatalogV3UpdateTypeSchemaWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CatalogV3UpdateTypeSchema(ctx context.Context, id string, body CatalogV3UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV3List request
	FollowUpsV3List(ctx context.Context, params *FollowUpsV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV3CreateWithBody request with any body
	FollowUpsV3CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FollowUpsV3Create(ctx context.Context, body FollowUpsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV3Delete request
	FollowUpsV3Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV3Show request
	FollowUpsV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV3UpdateWithBody request with any body
	FollowUpsV3UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FollowUpsV3Update(ctx context.Context, id string, body FollowUpsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FollowUpsV3ConnectExternalIssueWithBody request with any body
	FollowUpsV3ConnectExternalIssueWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	FollowUpsV3ConnectExternalIssue(ctx context.Context, id string, body FollowUpsV3ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamsV3List request
	TeamsV3List(ctx context.Context, params *TeamsV3ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TeamsV3Show request
	TeamsV3Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption added in v1.0.1

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL added in v1.0.1

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn added in v1.0.1

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

func WithRetries

func WithRetries(maxRetries ...int) ClientOption

WithRetries enables automatic retrying of transient failures (network errors, 429s and 5xxs) with exponential backoff that honours the Retry-After header. Retrying is off by default. The optional maxRetries argument defaults to 4.

It works by installing a retrying HTTP client, so passing it alongside WithHTTPClient is redundant — the later option wins.

Example

Enable automatic retries of transient failures (off by default).

package main

import (
	"log"

	incident "github.com/incident-io/sdk-go"
)

func main() {
	c, err := incident.New("my-api-key", incident.WithRetries())
	if err != nil {
		log.Fatal(err)
	}
	_ = c
}

func WithUserAgent

func WithUserAgent(userAgent string) ClientOption

WithUserAgent sets the User-Agent header sent with each request. New sets a default identifying this SDK; pass this after it to override.

type ClientWithResponses added in v1.0.1

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func New

func New(apiKey string, opts ...ClientOption) (*ClientWithResponses, error)

New returns a client for the incident.io public API, authenticated with the given API key.

By default the client makes a single attempt per request and does not retry; pass WithRetries to opt in. Override the base URL with WithBaseURL and supply a custom HTTP client with WithHTTPClient.

func NewClientWithResponses added in v1.0.1

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) APIKeysV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeysV1CreateResponse, error)

APIKeysV1CreateWithBodyWithResponse request with arbitrary body returning *APIKeysV1CreateResponse

func (*ClientWithResponses) APIKeysV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1CreateWithResponse(ctx context.Context, body APIKeysV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeysV1CreateResponse, error)

func (*ClientWithResponses) APIKeysV1DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*APIKeysV1DeleteResponse, error)

APIKeysV1DeleteWithResponse request returning *APIKeysV1DeleteResponse

func (*ClientWithResponses) APIKeysV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1ListWithResponse(ctx context.Context, params *APIKeysV1ListParams, reqEditors ...RequestEditorFn) (*APIKeysV1ListResponse, error)

APIKeysV1ListWithResponse request returning *APIKeysV1ListResponse

func (*ClientWithResponses) APIKeysV1RotateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1RotateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeysV1RotateResponse, error)

APIKeysV1RotateWithBodyWithResponse request with arbitrary body returning *APIKeysV1RotateResponse

func (*ClientWithResponses) APIKeysV1RotateWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1RotateWithResponse(ctx context.Context, id string, body APIKeysV1RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeysV1RotateResponse, error)

func (*ClientWithResponses) APIKeysV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*APIKeysV1ShowResponse, error)

APIKeysV1ShowWithResponse request returning *APIKeysV1ShowResponse

func (*ClientWithResponses) APIKeysV1UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeysV1UpdateResponse, error)

APIKeysV1UpdateWithBodyWithResponse request with arbitrary body returning *APIKeysV1UpdateResponse

func (*ClientWithResponses) APIKeysV1UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) APIKeysV1UpdateWithResponse(ctx context.Context, id string, body APIKeysV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeysV1UpdateResponse, error)

func (*ClientWithResponses) ActionsV1ListWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV1ListWithResponse(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*ActionsV1ListResponse, error)

ActionsV1ListWithResponse request returning *ActionsV1ListResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV1ShowWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV1ShowResponse, error)

ActionsV1ShowWithResponse request returning *ActionsV1ShowResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV2CreateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV2CreateResponse, error)

ActionsV2CreateWithBodyWithResponse request with arbitrary body returning *ActionsV2CreateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV2CreateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV2CreateWithResponse(ctx context.Context, body ActionsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV2CreateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV2DeleteWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2DeleteResponse, error)

ActionsV2DeleteWithResponse request returning *ActionsV2DeleteResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV2ListWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV2ListWithResponse(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*ActionsV2ListResponse, error)

ActionsV2ListWithResponse request returning *ActionsV2ListResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV2ShowWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2ShowResponse, error)

ActionsV2ShowWithResponse request returning *ActionsV2ShowResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV2UpdateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV2UpdateResponse, error)

ActionsV2UpdateWithBodyWithResponse request with arbitrary body returning *ActionsV2UpdateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV2UpdateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) ActionsV2UpdateWithResponse(ctx context.Context, id string, body ActionsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV2UpdateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) ActionsV3CreateWithBodyWithResponse added in v1.0.85

func (c *ClientWithResponses) ActionsV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV3CreateResponse, error)

ActionsV3CreateWithBodyWithResponse request with arbitrary body returning *ActionsV3CreateResponse

func (*ClientWithResponses) ActionsV3CreateWithResponse added in v1.0.85

func (c *ClientWithResponses) ActionsV3CreateWithResponse(ctx context.Context, body ActionsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV3CreateResponse, error)

func (*ClientWithResponses) ActionsV3DeleteWithResponse added in v1.0.85

func (c *ClientWithResponses) ActionsV3DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV3DeleteResponse, error)

ActionsV3DeleteWithResponse request returning *ActionsV3DeleteResponse

func (*ClientWithResponses) ActionsV3ListWithResponse added in v1.0.85

func (c *ClientWithResponses) ActionsV3ListWithResponse(ctx context.Context, params *ActionsV3ListParams, reqEditors ...RequestEditorFn) (*ActionsV3ListResponse, error)

ActionsV3ListWithResponse request returning *ActionsV3ListResponse

func (*ClientWithResponses) ActionsV3ShowWithResponse added in v1.0.85

func (c *ClientWithResponses) ActionsV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV3ShowResponse, error)

ActionsV3ShowWithResponse request returning *ActionsV3ShowResponse

func (*ClientWithResponses) ActionsV3UpdateWithBodyWithResponse added in v1.0.85

func (c *ClientWithResponses) ActionsV3UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV3UpdateResponse, error)

ActionsV3UpdateWithBodyWithResponse request with arbitrary body returning *ActionsV3UpdateResponse

func (*ClientWithResponses) ActionsV3UpdateWithResponse added in v1.0.85

func (c *ClientWithResponses) ActionsV3UpdateWithResponse(ctx context.Context, id string, body ActionsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV3UpdateResponse, error)

func (*ClientWithResponses) AlertAttributesV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertAttributesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertAttributesV2CreateResponse, error)

AlertAttributesV2CreateWithBodyWithResponse request with arbitrary body returning *AlertAttributesV2CreateResponse

func (*ClientWithResponses) AlertAttributesV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertAttributesV2CreateWithResponse(ctx context.Context, body AlertAttributesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertAttributesV2CreateResponse, error)

func (*ClientWithResponses) AlertAttributesV2DestroyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertAttributesV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertAttributesV2DestroyResponse, error)

AlertAttributesV2DestroyWithResponse request returning *AlertAttributesV2DestroyResponse

func (*ClientWithResponses) AlertAttributesV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertAttributesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AlertAttributesV2ListResponse, error)

AlertAttributesV2ListWithResponse request returning *AlertAttributesV2ListResponse

func (*ClientWithResponses) AlertAttributesV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertAttributesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertAttributesV2ShowResponse, error)

AlertAttributesV2ShowWithResponse request returning *AlertAttributesV2ShowResponse

func (*ClientWithResponses) AlertAttributesV2UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertAttributesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertAttributesV2UpdateResponse, error)

AlertAttributesV2UpdateWithBodyWithResponse request with arbitrary body returning *AlertAttributesV2UpdateResponse

func (*ClientWithResponses) AlertAttributesV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertAttributesV2UpdateWithResponse(ctx context.Context, id string, body AlertAttributesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertAttributesV2UpdateResponse, error)

func (*ClientWithResponses) AlertEventsV2CreateHTTPWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertEventsV2CreateHTTPWithBodyWithResponse(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertEventsV2CreateHTTPResponse, error)

AlertEventsV2CreateHTTPWithBodyWithResponse request with arbitrary body returning *AlertEventsV2CreateHTTPResponse

func (*ClientWithResponses) AlertEventsV2CreateHTTPWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertEventsV2CreateHTTPWithResponse(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, body AlertEventsV2CreateHTTPJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertEventsV2CreateHTTPResponse, error)

func (*ClientWithResponses) AlertNotesV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertNotesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertNotesV1CreateResponse, error)

AlertNotesV1CreateWithBodyWithResponse request with arbitrary body returning *AlertNotesV1CreateResponse

func (*ClientWithResponses) AlertNotesV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertNotesV1CreateWithResponse(ctx context.Context, body AlertNotesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertNotesV1CreateResponse, error)

func (*ClientWithResponses) AlertNotesV1DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertNotesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertNotesV1DeleteResponse, error)

AlertNotesV1DeleteWithResponse request returning *AlertNotesV1DeleteResponse

func (*ClientWithResponses) AlertNotesV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertNotesV1ListWithResponse(ctx context.Context, params *AlertNotesV1ListParams, reqEditors ...RequestEditorFn) (*AlertNotesV1ListResponse, error)

AlertNotesV1ListWithResponse request returning *AlertNotesV1ListResponse

func (*ClientWithResponses) AlertNotesV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertNotesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertNotesV1ShowResponse, error)

AlertNotesV1ShowWithResponse request returning *AlertNotesV1ShowResponse

func (*ClientWithResponses) AlertNotesV1UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertNotesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertNotesV1UpdateResponse, error)

AlertNotesV1UpdateWithBodyWithResponse request with arbitrary body returning *AlertNotesV1UpdateResponse

func (*ClientWithResponses) AlertNotesV1UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertNotesV1UpdateWithResponse(ctx context.Context, id string, body AlertNotesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertNotesV1UpdateResponse, error)

func (*ClientWithResponses) AlertRoutesV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertRoutesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV2CreateResponse, error)

AlertRoutesV2CreateWithBodyWithResponse request with arbitrary body returning *AlertRoutesV2CreateResponse

func (*ClientWithResponses) AlertRoutesV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertRoutesV2CreateWithResponse(ctx context.Context, body AlertRoutesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV2CreateResponse, error)

func (*ClientWithResponses) AlertRoutesV2DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertRoutesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV2DeleteResponse, error)

AlertRoutesV2DeleteWithResponse request returning *AlertRoutesV2DeleteResponse

func (*ClientWithResponses) AlertRoutesV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertRoutesV2ListWithResponse(ctx context.Context, params *AlertRoutesV2ListParams, reqEditors ...RequestEditorFn) (*AlertRoutesV2ListResponse, error)

AlertRoutesV2ListWithResponse request returning *AlertRoutesV2ListResponse

func (*ClientWithResponses) AlertRoutesV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertRoutesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV2ShowResponse, error)

AlertRoutesV2ShowWithResponse request returning *AlertRoutesV2ShowResponse

func (*ClientWithResponses) AlertRoutesV2UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertRoutesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV2UpdateResponse, error)

AlertRoutesV2UpdateWithBodyWithResponse request with arbitrary body returning *AlertRoutesV2UpdateResponse

func (*ClientWithResponses) AlertRoutesV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertRoutesV2UpdateWithResponse(ctx context.Context, id string, body AlertRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV2UpdateResponse, error)

func (*ClientWithResponses) AlertRoutesV3CreateWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) AlertRoutesV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV3CreateResponse, error)

AlertRoutesV3CreateWithBodyWithResponse request with arbitrary body returning *AlertRoutesV3CreateResponse

func (*ClientWithResponses) AlertRoutesV3CreateWithResponse added in v1.0.9

func (c *ClientWithResponses) AlertRoutesV3CreateWithResponse(ctx context.Context, body AlertRoutesV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV3CreateResponse, error)

func (*ClientWithResponses) AlertRoutesV3DeleteWithResponse added in v1.0.9

func (c *ClientWithResponses) AlertRoutesV3DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV3DeleteResponse, error)

AlertRoutesV3DeleteWithResponse request returning *AlertRoutesV3DeleteResponse

func (*ClientWithResponses) AlertRoutesV3ListWithResponse added in v1.0.9

func (c *ClientWithResponses) AlertRoutesV3ListWithResponse(ctx context.Context, params *AlertRoutesV3ListParams, reqEditors ...RequestEditorFn) (*AlertRoutesV3ListResponse, error)

AlertRoutesV3ListWithResponse request returning *AlertRoutesV3ListResponse

func (*ClientWithResponses) AlertRoutesV3ShowWithResponse added in v1.0.9

func (c *ClientWithResponses) AlertRoutesV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV3ShowResponse, error)

AlertRoutesV3ShowWithResponse request returning *AlertRoutesV3ShowResponse

func (*ClientWithResponses) AlertRoutesV3UpdateWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) AlertRoutesV3UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV3UpdateResponse, error)

AlertRoutesV3UpdateWithBodyWithResponse request with arbitrary body returning *AlertRoutesV3UpdateResponse

func (*ClientWithResponses) AlertRoutesV3UpdateWithResponse added in v1.0.9

func (c *ClientWithResponses) AlertRoutesV3UpdateWithResponse(ctx context.Context, id string, body AlertRoutesV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV3UpdateResponse, error)

func (*ClientWithResponses) AlertSourcesV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertSourcesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertSourcesV2CreateResponse, error)

AlertSourcesV2CreateWithBodyWithResponse request with arbitrary body returning *AlertSourcesV2CreateResponse

func (*ClientWithResponses) AlertSourcesV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertSourcesV2CreateWithResponse(ctx context.Context, body AlertSourcesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertSourcesV2CreateResponse, error)

func (*ClientWithResponses) AlertSourcesV2DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertSourcesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertSourcesV2DeleteResponse, error)

AlertSourcesV2DeleteWithResponse request returning *AlertSourcesV2DeleteResponse

func (*ClientWithResponses) AlertSourcesV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertSourcesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AlertSourcesV2ListResponse, error)

AlertSourcesV2ListWithResponse request returning *AlertSourcesV2ListResponse

func (*ClientWithResponses) AlertSourcesV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertSourcesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertSourcesV2ShowResponse, error)

AlertSourcesV2ShowWithResponse request returning *AlertSourcesV2ShowResponse

func (*ClientWithResponses) AlertSourcesV2UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertSourcesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertSourcesV2UpdateResponse, error)

AlertSourcesV2UpdateWithBodyWithResponse request with arbitrary body returning *AlertSourcesV2UpdateResponse

func (*ClientWithResponses) AlertSourcesV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertSourcesV2UpdateWithResponse(ctx context.Context, id string, body AlertSourcesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertSourcesV2UpdateResponse, error)

func (*ClientWithResponses) AlertSourcesV2ValidateWithBodyWithResponse added in v1.0.50

func (c *ClientWithResponses) AlertSourcesV2ValidateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertSourcesV2ValidateResponse, error)

AlertSourcesV2ValidateWithBodyWithResponse request with arbitrary body returning *AlertSourcesV2ValidateResponse

func (*ClientWithResponses) AlertSourcesV2ValidateWithResponse added in v1.0.50

func (c *ClientWithResponses) AlertSourcesV2ValidateWithResponse(ctx context.Context, body AlertSourcesV2ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertSourcesV2ValidateResponse, error)

func (*ClientWithResponses) AlertsV2CreateIncidentAlertWithBodyWithResponse added in v1.0.79

func (c *ClientWithResponses) AlertsV2CreateIncidentAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertsV2CreateIncidentAlertResponse, error)

AlertsV2CreateIncidentAlertWithBodyWithResponse request with arbitrary body returning *AlertsV2CreateIncidentAlertResponse

func (*ClientWithResponses) AlertsV2CreateIncidentAlertWithResponse added in v1.0.79

func (c *ClientWithResponses) AlertsV2CreateIncidentAlertWithResponse(ctx context.Context, body AlertsV2CreateIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertsV2CreateIncidentAlertResponse, error)

func (*ClientWithResponses) AlertsV2ListIncidentAlertsWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertsV2ListIncidentAlertsWithResponse(ctx context.Context, params *AlertsV2ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*AlertsV2ListIncidentAlertsResponse, error)

AlertsV2ListIncidentAlertsWithResponse request returning *AlertsV2ListIncidentAlertsResponse

func (*ClientWithResponses) AlertsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertsV2ListWithResponse(ctx context.Context, params *AlertsV2ListParams, reqEditors ...RequestEditorFn) (*AlertsV2ListResponse, error)

AlertsV2ListWithResponse request returning *AlertsV2ListResponse

func (*ClientWithResponses) AlertsV2ResolveWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertsV2ResolveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertsV2ResolveResponse, error)

AlertsV2ResolveWithResponse request returning *AlertsV2ResolveResponse

func (*ClientWithResponses) AlertsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) AlertsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertsV2ShowResponse, error)

AlertsV2ShowWithResponse request returning *AlertsV2ShowResponse

func (*ClientWithResponses) AlertsV2TransitionIncidentAlertWithBodyWithResponse added in v1.0.79

func (c *ClientWithResponses) AlertsV2TransitionIncidentAlertWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertsV2TransitionIncidentAlertResponse, error)

AlertsV2TransitionIncidentAlertWithBodyWithResponse request with arbitrary body returning *AlertsV2TransitionIncidentAlertResponse

func (*ClientWithResponses) AlertsV2TransitionIncidentAlertWithResponse added in v1.0.79

func (c *ClientWithResponses) AlertsV2TransitionIncidentAlertWithResponse(ctx context.Context, id string, body AlertsV2TransitionIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertsV2TransitionIncidentAlertResponse, error)

func (*ClientWithResponses) CallRoutesV2CreateAllowedCallerWithBodyWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2CreateAllowedCallerWithBodyWithResponse(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateAllowedCallerResponse, error)

CallRoutesV2CreateAllowedCallerWithBodyWithResponse request with arbitrary body returning *CallRoutesV2CreateAllowedCallerResponse

func (*ClientWithResponses) CallRoutesV2CreateAllowedCallerWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2CreateAllowedCallerWithResponse(ctx context.Context, callRouteId string, body CallRoutesV2CreateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateAllowedCallerResponse, error)

func (*ClientWithResponses) CallRoutesV2CreateOptionWithBodyWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2CreateOptionWithBodyWithResponse(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateOptionResponse, error)

CallRoutesV2CreateOptionWithBodyWithResponse request with arbitrary body returning *CallRoutesV2CreateOptionResponse

func (*ClientWithResponses) CallRoutesV2CreateOptionWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2CreateOptionWithResponse(ctx context.Context, callRouteId string, body CallRoutesV2CreateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateOptionResponse, error)

func (*ClientWithResponses) CallRoutesV2DestroyAllowedCallerWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2DestroyAllowedCallerWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2DestroyAllowedCallerResponse, error)

CallRoutesV2DestroyAllowedCallerWithResponse request returning *CallRoutesV2DestroyAllowedCallerResponse

func (*ClientWithResponses) CallRoutesV2DestroyOptionWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2DestroyOptionWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2DestroyOptionResponse, error)

CallRoutesV2DestroyOptionWithResponse request returning *CallRoutesV2DestroyOptionResponse

func (*ClientWithResponses) CallRoutesV2ListAllowedCallersWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2ListAllowedCallersWithResponse(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*CallRoutesV2ListAllowedCallersResponse, error)

CallRoutesV2ListAllowedCallersWithResponse request returning *CallRoutesV2ListAllowedCallersResponse

func (*ClientWithResponses) CallRoutesV2ListOptionsWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2ListOptionsWithResponse(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*CallRoutesV2ListOptionsResponse, error)

CallRoutesV2ListOptionsWithResponse request returning *CallRoutesV2ListOptionsResponse

func (*ClientWithResponses) CallRoutesV2ListWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2ListWithResponse(ctx context.Context, params *CallRoutesV2ListParams, reqEditors ...RequestEditorFn) (*CallRoutesV2ListResponse, error)

CallRoutesV2ListWithResponse request returning *CallRoutesV2ListResponse

func (*ClientWithResponses) CallRoutesV2ShowAllowedCallerWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2ShowAllowedCallerWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2ShowAllowedCallerResponse, error)

CallRoutesV2ShowAllowedCallerWithResponse request returning *CallRoutesV2ShowAllowedCallerResponse

func (*ClientWithResponses) CallRoutesV2ShowOptionWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2ShowOptionWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2ShowOptionResponse, error)

CallRoutesV2ShowOptionWithResponse request returning *CallRoutesV2ShowOptionResponse

func (*ClientWithResponses) CallRoutesV2ShowWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2ShowResponse, error)

CallRoutesV2ShowWithResponse request returning *CallRoutesV2ShowResponse

func (*ClientWithResponses) CallRoutesV2UpdateAllowedCallerWithBodyWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2UpdateAllowedCallerWithBodyWithResponse(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateAllowedCallerResponse, error)

CallRoutesV2UpdateAllowedCallerWithBodyWithResponse request with arbitrary body returning *CallRoutesV2UpdateAllowedCallerResponse

func (*ClientWithResponses) CallRoutesV2UpdateAllowedCallerWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2UpdateAllowedCallerWithResponse(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateAllowedCallerResponse, error)

func (*ClientWithResponses) CallRoutesV2UpdateOptionWithBodyWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2UpdateOptionWithBodyWithResponse(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateOptionResponse, error)

CallRoutesV2UpdateOptionWithBodyWithResponse request with arbitrary body returning *CallRoutesV2UpdateOptionResponse

func (*ClientWithResponses) CallRoutesV2UpdateOptionWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2UpdateOptionWithResponse(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateOptionResponse, error)

func (*ClientWithResponses) CallRoutesV2UpdateWithBodyWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateResponse, error)

CallRoutesV2UpdateWithBodyWithResponse request with arbitrary body returning *CallRoutesV2UpdateResponse

func (*ClientWithResponses) CallRoutesV2UpdateWithResponse added in v1.0.104

func (c *ClientWithResponses) CallRoutesV2UpdateWithResponse(ctx context.Context, id string, body CallRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateResponse, error)

func (*ClientWithResponses) CallSessionsV2ListWithResponse added in v1.0.49

func (c *ClientWithResponses) CallSessionsV2ListWithResponse(ctx context.Context, params *CallSessionsV2ListParams, reqEditors ...RequestEditorFn) (*CallSessionsV2ListResponse, error)

CallSessionsV2ListWithResponse request returning *CallSessionsV2ListResponse

func (*ClientWithResponses) CallTranscriptEntriesV2ListWithResponse added in v1.0.49

func (c *ClientWithResponses) CallTranscriptEntriesV2ListWithResponse(ctx context.Context, params *CallTranscriptEntriesV2ListParams, reqEditors ...RequestEditorFn) (*CallTranscriptEntriesV2ListResponse, error)

CallTranscriptEntriesV2ListWithResponse request returning *CallTranscriptEntriesV2ListResponse

func (*ClientWithResponses) CatalogV2CreateEntryWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error)

CatalogV2CreateEntryWithBodyWithResponse request with arbitrary body returning *CatalogV2CreateEntryResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2CreateEntryWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2CreateEntryWithResponse(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2CreateTypeWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2CreateTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error)

CatalogV2CreateTypeWithBodyWithResponse request with arbitrary body returning *CatalogV2CreateTypeResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2CreateTypeWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2CreateTypeWithResponse(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2DestroyEntryWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2DestroyEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyEntryResponse, error)

CatalogV2DestroyEntryWithResponse request returning *CatalogV2DestroyEntryResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2DestroyTypeWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2DestroyTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyTypeResponse, error)

CatalogV2DestroyTypeWithResponse request returning *CatalogV2DestroyTypeResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2ListEntriesWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2ListEntriesWithResponse(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*CatalogV2ListEntriesResponse, error)

CatalogV2ListEntriesWithResponse request returning *CatalogV2ListEntriesResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2ListResourcesWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2ListResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListResourcesResponse, error)

CatalogV2ListResourcesWithResponse request returning *CatalogV2ListResourcesResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2ListTypesWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2ListTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListTypesResponse, error)

CatalogV2ListTypesWithResponse request returning *CatalogV2ListTypesResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2ShowEntryWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2ShowEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowEntryResponse, error)

CatalogV2ShowEntryWithResponse request returning *CatalogV2ShowEntryResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2ShowTypeWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2ShowTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowTypeResponse, error)

CatalogV2ShowTypeWithResponse request returning *CatalogV2ShowTypeResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2UpdateEntryWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2UpdateEntryWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error)

CatalogV2UpdateEntryWithBodyWithResponse request with arbitrary body returning *CatalogV2UpdateEntryResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2UpdateEntryWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2UpdateEntryWithResponse(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2UpdateTypeSchemaWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2UpdateTypeSchemaWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error)

CatalogV2UpdateTypeSchemaWithBodyWithResponse request with arbitrary body returning *CatalogV2UpdateTypeSchemaResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2UpdateTypeSchemaWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2UpdateTypeSchemaWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2UpdateTypeWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2UpdateTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error)

CatalogV2UpdateTypeWithBodyWithResponse request with arbitrary body returning *CatalogV2UpdateTypeResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV2UpdateTypeWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CatalogV2UpdateTypeWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CatalogV3BulkUpdateEntriesWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3BulkUpdateEntriesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3BulkUpdateEntriesResponse, error)

CatalogV3BulkUpdateEntriesWithBodyWithResponse request with arbitrary body returning *CatalogV3BulkUpdateEntriesResponse

func (*ClientWithResponses) CatalogV3BulkUpdateEntriesWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3BulkUpdateEntriesWithResponse(ctx context.Context, body CatalogV3BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3BulkUpdateEntriesResponse, error)

func (*ClientWithResponses) CatalogV3CreateEntryWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3CreateEntryResponse, error)

CatalogV3CreateEntryWithBodyWithResponse request with arbitrary body returning *CatalogV3CreateEntryResponse

func (*ClientWithResponses) CatalogV3CreateEntryWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3CreateEntryWithResponse(ctx context.Context, body CatalogV3CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3CreateEntryResponse, error)

func (*ClientWithResponses) CatalogV3CreateTypeWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3CreateTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3CreateTypeResponse, error)

CatalogV3CreateTypeWithBodyWithResponse request with arbitrary body returning *CatalogV3CreateTypeResponse

func (*ClientWithResponses) CatalogV3CreateTypeWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3CreateTypeWithResponse(ctx context.Context, body CatalogV3CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3CreateTypeResponse, error)

func (*ClientWithResponses) CatalogV3DestroyEntryWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3DestroyEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV3DestroyEntryResponse, error)

CatalogV3DestroyEntryWithResponse request returning *CatalogV3DestroyEntryResponse

func (*ClientWithResponses) CatalogV3DestroyTypeWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3DestroyTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV3DestroyTypeResponse, error)

CatalogV3DestroyTypeWithResponse request returning *CatalogV3DestroyTypeResponse

func (*ClientWithResponses) CatalogV3ListEntriesWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3ListEntriesWithResponse(ctx context.Context, params *CatalogV3ListEntriesParams, reqEditors ...RequestEditorFn) (*CatalogV3ListEntriesResponse, error)

CatalogV3ListEntriesWithResponse request returning *CatalogV3ListEntriesResponse

func (*ClientWithResponses) CatalogV3ListResourcesWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3ListResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV3ListResourcesResponse, error)

CatalogV3ListResourcesWithResponse request returning *CatalogV3ListResourcesResponse

func (*ClientWithResponses) CatalogV3ListTypesWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3ListTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV3ListTypesResponse, error)

CatalogV3ListTypesWithResponse request returning *CatalogV3ListTypesResponse

func (*ClientWithResponses) CatalogV3ShowEntryWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3ShowEntryWithResponse(ctx context.Context, id string, params *CatalogV3ShowEntryParams, reqEditors ...RequestEditorFn) (*CatalogV3ShowEntryResponse, error)

CatalogV3ShowEntryWithResponse request returning *CatalogV3ShowEntryResponse

func (*ClientWithResponses) CatalogV3ShowTypeWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3ShowTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV3ShowTypeResponse, error)

CatalogV3ShowTypeWithResponse request returning *CatalogV3ShowTypeResponse

func (*ClientWithResponses) CatalogV3UpdateEntryWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3UpdateEntryWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3UpdateEntryResponse, error)

CatalogV3UpdateEntryWithBodyWithResponse request with arbitrary body returning *CatalogV3UpdateEntryResponse

func (*ClientWithResponses) CatalogV3UpdateEntryWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3UpdateEntryWithResponse(ctx context.Context, id string, body CatalogV3UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3UpdateEntryResponse, error)

func (*ClientWithResponses) CatalogV3UpdateTypeSchemaWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3UpdateTypeSchemaWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeSchemaResponse, error)

CatalogV3UpdateTypeSchemaWithBodyWithResponse request with arbitrary body returning *CatalogV3UpdateTypeSchemaResponse

func (*ClientWithResponses) CatalogV3UpdateTypeSchemaWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3UpdateTypeSchemaWithResponse(ctx context.Context, id string, body CatalogV3UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeSchemaResponse, error)

func (*ClientWithResponses) CatalogV3UpdateTypeWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3UpdateTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeResponse, error)

CatalogV3UpdateTypeWithBodyWithResponse request with arbitrary body returning *CatalogV3UpdateTypeResponse

func (*ClientWithResponses) CatalogV3UpdateTypeWithResponse added in v1.0.1

func (c *ClientWithResponses) CatalogV3UpdateTypeWithResponse(ctx context.Context, id string, body CatalogV3UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeResponse, error)

func (*ClientWithResponses) CustomFieldOptionsV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldOptionsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error)

CustomFieldOptionsV1CreateWithBodyWithResponse request with arbitrary body returning *CustomFieldOptionsV1CreateResponse

func (*ClientWithResponses) CustomFieldOptionsV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldOptionsV1CreateWithResponse(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error)

func (*ClientWithResponses) CustomFieldOptionsV1DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldOptionsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1DeleteResponse, error)

CustomFieldOptionsV1DeleteWithResponse request returning *CustomFieldOptionsV1DeleteResponse

func (*ClientWithResponses) CustomFieldOptionsV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldOptionsV1ListWithResponse(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ListResponse, error)

CustomFieldOptionsV1ListWithResponse request returning *CustomFieldOptionsV1ListResponse

func (*ClientWithResponses) CustomFieldOptionsV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldOptionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ShowResponse, error)

CustomFieldOptionsV1ShowWithResponse request returning *CustomFieldOptionsV1ShowResponse

func (*ClientWithResponses) CustomFieldOptionsV1UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldOptionsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error)

CustomFieldOptionsV1UpdateWithBodyWithResponse request with arbitrary body returning *CustomFieldOptionsV1UpdateResponse

func (*ClientWithResponses) CustomFieldOptionsV1UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldOptionsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error)

func (*ClientWithResponses) CustomFieldsV1CreateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error)

CustomFieldsV1CreateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV1CreateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CustomFieldsV1CreateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV1CreateWithResponse(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CustomFieldsV1DeleteWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1DeleteResponse, error)

CustomFieldsV1DeleteWithResponse request returning *CustomFieldsV1DeleteResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CustomFieldsV1ListWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV1ListResponse, error)

CustomFieldsV1ListWithResponse request returning *CustomFieldsV1ListResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CustomFieldsV1ShowWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1ShowResponse, error)

CustomFieldsV1ShowWithResponse request returning *CustomFieldsV1ShowResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CustomFieldsV1UpdateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error)

CustomFieldsV1UpdateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV1UpdateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CustomFieldsV1UpdateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) CustomFieldsV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error)

CustomFieldsV2CreateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV2CreateResponse

func (*ClientWithResponses) CustomFieldsV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV2CreateWithResponse(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error)

func (*ClientWithResponses) CustomFieldsV2DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2DeleteResponse, error)

CustomFieldsV2DeleteWithResponse request returning *CustomFieldsV2DeleteResponse

func (*ClientWithResponses) CustomFieldsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV2ListResponse, error)

CustomFieldsV2ListWithResponse request returning *CustomFieldsV2ListResponse

func (*ClientWithResponses) CustomFieldsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2ShowResponse, error)

CustomFieldsV2ShowWithResponse request returning *CustomFieldsV2ShowResponse

func (*ClientWithResponses) CustomFieldsV2UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error)

CustomFieldsV2UpdateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV2UpdateResponse

func (*ClientWithResponses) CustomFieldsV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) CustomFieldsV2UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error)

func (*ClientWithResponses) EscalationsV2CancelEscalationWithResponse added in v1.0.2

func (c *ClientWithResponses) EscalationsV2CancelEscalationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2CancelEscalationResponse, error)

EscalationsV2CancelEscalationWithResponse request returning *EscalationsV2CancelEscalationResponse

func (*ClientWithResponses) EscalationsV2CheckEscalationPermissionsWithBodyWithResponse added in v1.0.77

func (c *ClientWithResponses) EscalationsV2CheckEscalationPermissionsWithBodyWithResponse(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2CheckEscalationPermissionsResponse, error)

EscalationsV2CheckEscalationPermissionsWithBodyWithResponse request with arbitrary body returning *EscalationsV2CheckEscalationPermissionsResponse

func (*ClientWithResponses) EscalationsV2CheckEscalationPermissionsWithResponse added in v1.0.77

func (c *ClientWithResponses) EscalationsV2CheckEscalationPermissionsWithResponse(ctx context.Context, escalationId string, body EscalationsV2CheckEscalationPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2CheckEscalationPermissionsResponse, error)

func (*ClientWithResponses) EscalationsV2CreatePathWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2CreatePathWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2CreatePathResponse, error)

EscalationsV2CreatePathWithBodyWithResponse request with arbitrary body returning *EscalationsV2CreatePathResponse

func (*ClientWithResponses) EscalationsV2CreatePathWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2CreatePathWithResponse(ctx context.Context, body EscalationsV2CreatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2CreatePathResponse, error)

func (*ClientWithResponses) EscalationsV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2CreateResponse, error)

EscalationsV2CreateWithBodyWithResponse request with arbitrary body returning *EscalationsV2CreateResponse

func (*ClientWithResponses) EscalationsV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2CreateWithResponse(ctx context.Context, body EscalationsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2CreateResponse, error)

func (*ClientWithResponses) EscalationsV2DestroyPathWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2DestroyPathWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2DestroyPathResponse, error)

EscalationsV2DestroyPathWithResponse request returning *EscalationsV2DestroyPathResponse

func (*ClientWithResponses) EscalationsV2ListPathsWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2ListPathsWithResponse(ctx context.Context, params *EscalationsV2ListPathsParams, reqEditors ...RequestEditorFn) (*EscalationsV2ListPathsResponse, error)

EscalationsV2ListPathsWithResponse request returning *EscalationsV2ListPathsResponse

func (*ClientWithResponses) EscalationsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2ListWithResponse(ctx context.Context, params *EscalationsV2ListParams, reqEditors ...RequestEditorFn) (*EscalationsV2ListResponse, error)

EscalationsV2ListWithResponse request returning *EscalationsV2ListResponse

func (*ClientWithResponses) EscalationsV2ReassignEscalationWithBodyWithResponse added in v1.0.96

func (c *ClientWithResponses) EscalationsV2ReassignEscalationWithBodyWithResponse(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2ReassignEscalationResponse, error)

EscalationsV2ReassignEscalationWithBodyWithResponse request with arbitrary body returning *EscalationsV2ReassignEscalationResponse

func (*ClientWithResponses) EscalationsV2ReassignEscalationWithResponse added in v1.0.96

func (c *ClientWithResponses) EscalationsV2ReassignEscalationWithResponse(ctx context.Context, escalationId string, body EscalationsV2ReassignEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2ReassignEscalationResponse, error)

func (*ClientWithResponses) EscalationsV2RespondEscalationWithBodyWithResponse added in v1.0.77

func (c *ClientWithResponses) EscalationsV2RespondEscalationWithBodyWithResponse(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2RespondEscalationResponse, error)

EscalationsV2RespondEscalationWithBodyWithResponse request with arbitrary body returning *EscalationsV2RespondEscalationResponse

func (*ClientWithResponses) EscalationsV2RespondEscalationWithResponse added in v1.0.77

func (c *ClientWithResponses) EscalationsV2RespondEscalationWithResponse(ctx context.Context, escalationId string, body EscalationsV2RespondEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2RespondEscalationResponse, error)

func (*ClientWithResponses) EscalationsV2ShowPathWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2ShowPathWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2ShowPathResponse, error)

EscalationsV2ShowPathWithResponse request returning *EscalationsV2ShowPathResponse

func (*ClientWithResponses) EscalationsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2ShowResponse, error)

EscalationsV2ShowWithResponse request returning *EscalationsV2ShowResponse

func (*ClientWithResponses) EscalationsV2UpdatePathWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2UpdatePathWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2UpdatePathResponse, error)

EscalationsV2UpdatePathWithBodyWithResponse request with arbitrary body returning *EscalationsV2UpdatePathResponse

func (*ClientWithResponses) EscalationsV2UpdatePathWithResponse added in v1.0.1

func (c *ClientWithResponses) EscalationsV2UpdatePathWithResponse(ctx context.Context, id string, body EscalationsV2UpdatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2UpdatePathResponse, error)

func (*ClientWithResponses) FollowUpsV2ConnectExternalIssueWithBodyWithResponse deprecated added in v1.0.3

func (c *ClientWithResponses) FollowUpsV2ConnectExternalIssueWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV2ConnectExternalIssueResponse, error)

FollowUpsV2ConnectExternalIssueWithBodyWithResponse request with arbitrary body returning *FollowUpsV2ConnectExternalIssueResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2ConnectExternalIssueWithResponse deprecated added in v1.0.3

func (c *ClientWithResponses) FollowUpsV2ConnectExternalIssueWithResponse(ctx context.Context, id string, body FollowUpsV2ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2ConnectExternalIssueResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2CreateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV2CreateResponse, error)

FollowUpsV2CreateWithBodyWithResponse request with arbitrary body returning *FollowUpsV2CreateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2CreateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2CreateWithResponse(ctx context.Context, body FollowUpsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2CreateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2DeleteWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2DeleteResponse, error)

FollowUpsV2DeleteWithResponse request returning *FollowUpsV2DeleteResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2ListWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2ListWithResponse(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*FollowUpsV2ListResponse, error)

FollowUpsV2ListWithResponse request returning *FollowUpsV2ListResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2ShowWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2ShowResponse, error)

FollowUpsV2ShowWithResponse request returning *FollowUpsV2ShowResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2UpdateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV2UpdateResponse, error)

FollowUpsV2UpdateWithBodyWithResponse request with arbitrary body returning *FollowUpsV2UpdateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV2UpdateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2UpdateWithResponse(ctx context.Context, id string, body FollowUpsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2UpdateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) FollowUpsV3ConnectExternalIssueWithBodyWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3ConnectExternalIssueWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV3ConnectExternalIssueResponse, error)

FollowUpsV3ConnectExternalIssueWithBodyWithResponse request with arbitrary body returning *FollowUpsV3ConnectExternalIssueResponse

func (*ClientWithResponses) FollowUpsV3ConnectExternalIssueWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3ConnectExternalIssueWithResponse(ctx context.Context, id string, body FollowUpsV3ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV3ConnectExternalIssueResponse, error)

func (*ClientWithResponses) FollowUpsV3CreateWithBodyWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV3CreateResponse, error)

FollowUpsV3CreateWithBodyWithResponse request with arbitrary body returning *FollowUpsV3CreateResponse

func (*ClientWithResponses) FollowUpsV3CreateWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3CreateWithResponse(ctx context.Context, body FollowUpsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV3CreateResponse, error)

func (*ClientWithResponses) FollowUpsV3DeleteWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV3DeleteResponse, error)

FollowUpsV3DeleteWithResponse request returning *FollowUpsV3DeleteResponse

func (*ClientWithResponses) FollowUpsV3ListWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3ListWithResponse(ctx context.Context, params *FollowUpsV3ListParams, reqEditors ...RequestEditorFn) (*FollowUpsV3ListResponse, error)

FollowUpsV3ListWithResponse request returning *FollowUpsV3ListResponse

func (*ClientWithResponses) FollowUpsV3ShowWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV3ShowResponse, error)

FollowUpsV3ShowWithResponse request returning *FollowUpsV3ShowResponse

func (*ClientWithResponses) FollowUpsV3UpdateWithBodyWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV3UpdateResponse, error)

FollowUpsV3UpdateWithBodyWithResponse request with arbitrary body returning *FollowUpsV3UpdateResponse

func (*ClientWithResponses) FollowUpsV3UpdateWithResponse added in v1.0.81

func (c *ClientWithResponses) FollowUpsV3UpdateWithResponse(ctx context.Context, id string, body FollowUpsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV3UpdateResponse, error)

func (*ClientWithResponses) HeartbeatV2Ping1WithResponse added in v1.0.1

func (c *ClientWithResponses) HeartbeatV2Ping1WithResponse(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2Ping1Params, reqEditors ...RequestEditorFn) (*HeartbeatV2Ping1Response, error)

HeartbeatV2Ping1WithResponse request returning *HeartbeatV2Ping1Response

func (*ClientWithResponses) HeartbeatV2PingWithResponse added in v1.0.1

func (c *ClientWithResponses) HeartbeatV2PingWithResponse(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2PingParams, reqEditors ...RequestEditorFn) (*HeartbeatV2PingResponse, error)

HeartbeatV2PingWithResponse request returning *HeartbeatV2PingResponse

func (*ClientWithResponses) IPAllowlistsV1ShowIPAllowlistWithResponse added in v1.0.1

func (c *ClientWithResponses) IPAllowlistsV1ShowIPAllowlistWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IPAllowlistsV1ShowIPAllowlistResponse, error)

IPAllowlistsV1ShowIPAllowlistWithResponse request returning *IPAllowlistsV1ShowIPAllowlistResponse

func (*ClientWithResponses) IPAllowlistsV1UpdateIPAllowlistWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IPAllowlistsV1UpdateIPAllowlistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IPAllowlistsV1UpdateIPAllowlistResponse, error)

IPAllowlistsV1UpdateIPAllowlistWithBodyWithResponse request with arbitrary body returning *IPAllowlistsV1UpdateIPAllowlistResponse

func (*ClientWithResponses) IPAllowlistsV1UpdateIPAllowlistWithResponse added in v1.0.1

func (c *ClientWithResponses) IPAllowlistsV1UpdateIPAllowlistWithResponse(ctx context.Context, body IPAllowlistsV1UpdateIPAllowlistJSONRequestBody, reqEditors ...RequestEditorFn) (*IPAllowlistsV1UpdateIPAllowlistResponse, error)

func (*ClientWithResponses) IncidentActivityLogEntriesV2ListWithResponse added in v1.0.92

func (c *ClientWithResponses) IncidentActivityLogEntriesV2ListWithResponse(ctx context.Context, params *IncidentActivityLogEntriesV2ListParams, reqEditors ...RequestEditorFn) (*IncidentActivityLogEntriesV2ListResponse, error)

IncidentActivityLogEntriesV2ListWithResponse request returning *IncidentActivityLogEntriesV2ListResponse

func (*ClientWithResponses) IncidentAttachmentsV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentAttachmentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error)

IncidentAttachmentsV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentAttachmentsV1CreateResponse

func (*ClientWithResponses) IncidentAttachmentsV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentAttachmentsV1CreateWithResponse(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error)

func (*ClientWithResponses) IncidentAttachmentsV1DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentAttachmentsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1DeleteResponse, error)

IncidentAttachmentsV1DeleteWithResponse request returning *IncidentAttachmentsV1DeleteResponse

func (*ClientWithResponses) IncidentAttachmentsV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentAttachmentsV1ListWithResponse(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1ListResponse, error)

IncidentAttachmentsV1ListWithResponse request returning *IncidentAttachmentsV1ListResponse

func (*ClientWithResponses) IncidentMembershipsV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentMembershipsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error)

IncidentMembershipsV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentMembershipsV1CreateResponse

func (*ClientWithResponses) IncidentMembershipsV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentMembershipsV1CreateWithResponse(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error)

func (*ClientWithResponses) IncidentMembershipsV1RevokeWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentMembershipsV1RevokeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error)

IncidentMembershipsV1RevokeWithBodyWithResponse request with arbitrary body returning *IncidentMembershipsV1RevokeResponse

func (*ClientWithResponses) IncidentMembershipsV1RevokeWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentMembershipsV1RevokeWithResponse(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error)

func (*ClientWithResponses) IncidentParticipantWorkloadsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentParticipantWorkloadsV2ListWithResponse(ctx context.Context, params *IncidentParticipantWorkloadsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentParticipantWorkloadsV2ListResponse, error)

IncidentParticipantWorkloadsV2ListWithResponse request returning *IncidentParticipantWorkloadsV2ListResponse

func (*ClientWithResponses) IncidentParticipantsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentParticipantsV2ListWithResponse(ctx context.Context, params *IncidentParticipantsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentParticipantsV2ListResponse, error)

IncidentParticipantsV2ListWithResponse request returning *IncidentParticipantsV2ListResponse

func (*ClientWithResponses) IncidentRelationshipsV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRelationshipsV1ListWithResponse(ctx context.Context, params *IncidentRelationshipsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentRelationshipsV1ListResponse, error)

IncidentRelationshipsV1ListWithResponse request returning *IncidentRelationshipsV1ListResponse

func (*ClientWithResponses) IncidentRolesV1CreateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error)

IncidentRolesV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV1CreateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentRolesV1CreateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV1CreateWithResponse(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentRolesV1DeleteWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1DeleteResponse, error)

IncidentRolesV1DeleteWithResponse request returning *IncidentRolesV1DeleteResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentRolesV1ListWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV1ListResponse, error)

IncidentRolesV1ListWithResponse request returning *IncidentRolesV1ListResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentRolesV1ShowWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1ShowResponse, error)

IncidentRolesV1ShowWithResponse request returning *IncidentRolesV1ShowResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentRolesV1UpdateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error)

IncidentRolesV1UpdateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV1UpdateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentRolesV1UpdateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV1UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentRolesV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error)

IncidentRolesV2CreateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV2CreateResponse

func (*ClientWithResponses) IncidentRolesV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV2CreateWithResponse(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error)

func (*ClientWithResponses) IncidentRolesV2DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2DeleteResponse, error)

IncidentRolesV2DeleteWithResponse request returning *IncidentRolesV2DeleteResponse

func (*ClientWithResponses) IncidentRolesV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV2ListResponse, error)

IncidentRolesV2ListWithResponse request returning *IncidentRolesV2ListResponse

func (*ClientWithResponses) IncidentRolesV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2ShowResponse, error)

IncidentRolesV2ShowWithResponse request returning *IncidentRolesV2ShowResponse

func (*ClientWithResponses) IncidentRolesV2UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error)

IncidentRolesV2UpdateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV2UpdateResponse

func (*ClientWithResponses) IncidentRolesV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentRolesV2UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error)

func (*ClientWithResponses) IncidentStatusesV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentStatusesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error)

IncidentStatusesV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentStatusesV1CreateResponse

func (*ClientWithResponses) IncidentStatusesV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentStatusesV1CreateWithResponse(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error)

func (*ClientWithResponses) IncidentStatusesV1DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentStatusesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1DeleteResponse, error)

IncidentStatusesV1DeleteWithResponse request returning *IncidentStatusesV1DeleteResponse

func (*ClientWithResponses) IncidentStatusesV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentStatusesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ListResponse, error)

IncidentStatusesV1ListWithResponse request returning *IncidentStatusesV1ListResponse

func (*ClientWithResponses) IncidentStatusesV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentStatusesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ShowResponse, error)

IncidentStatusesV1ShowWithResponse request returning *IncidentStatusesV1ShowResponse

func (*ClientWithResponses) IncidentStatusesV1UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentStatusesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error)

IncidentStatusesV1UpdateWithBodyWithResponse request with arbitrary body returning *IncidentStatusesV1UpdateResponse

func (*ClientWithResponses) IncidentStatusesV1UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentStatusesV1UpdateWithResponse(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error)

func (*ClientWithResponses) IncidentTemplatesV1CreateWithBodyWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1CreateResponse, error)

IncidentTemplatesV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentTemplatesV1CreateResponse

func (*ClientWithResponses) IncidentTemplatesV1CreateWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1CreateWithResponse(ctx context.Context, body IncidentTemplatesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1CreateResponse, error)

func (*ClientWithResponses) IncidentTemplatesV1DestroyWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1DestroyResponse, error)

IncidentTemplatesV1DestroyWithResponse request returning *IncidentTemplatesV1DestroyResponse

func (*ClientWithResponses) IncidentTemplatesV1ListWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1ListWithResponse(ctx context.Context, params *IncidentTemplatesV1ListParams, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ListResponse, error)

IncidentTemplatesV1ListWithResponse request returning *IncidentTemplatesV1ListResponse

func (*ClientWithResponses) IncidentTemplatesV1ShowWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ShowResponse, error)

IncidentTemplatesV1ShowWithResponse request returning *IncidentTemplatesV1ShowResponse

func (*ClientWithResponses) IncidentTemplatesV1UpdateWithBodyWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1UpdateResponse, error)

IncidentTemplatesV1UpdateWithBodyWithResponse request with arbitrary body returning *IncidentTemplatesV1UpdateResponse

func (*ClientWithResponses) IncidentTemplatesV1UpdateWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1UpdateWithResponse(ctx context.Context, id string, body IncidentTemplatesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1UpdateResponse, error)

func (*ClientWithResponses) IncidentTemplatesV1ValidateWithBodyWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1ValidateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ValidateResponse, error)

IncidentTemplatesV1ValidateWithBodyWithResponse request with arbitrary body returning *IncidentTemplatesV1ValidateResponse

func (*ClientWithResponses) IncidentTemplatesV1ValidateWithResponse added in v1.0.88

func (c *ClientWithResponses) IncidentTemplatesV1ValidateWithResponse(ctx context.Context, body IncidentTemplatesV1ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ValidateResponse, error)

func (*ClientWithResponses) IncidentTimelineItemsV2CreateWithBodyWithResponse added in v1.0.92

func (c *ClientWithResponses) IncidentTimelineItemsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2CreateResponse, error)

IncidentTimelineItemsV2CreateWithBodyWithResponse request with arbitrary body returning *IncidentTimelineItemsV2CreateResponse

func (*ClientWithResponses) IncidentTimelineItemsV2CreateWithResponse added in v1.0.92

func (c *ClientWithResponses) IncidentTimelineItemsV2CreateWithResponse(ctx context.Context, body IncidentTimelineItemsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2CreateResponse, error)

func (*ClientWithResponses) IncidentTimelineItemsV2ListWithResponse added in v1.0.92

func (c *ClientWithResponses) IncidentTimelineItemsV2ListWithResponse(ctx context.Context, params *IncidentTimelineItemsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2ListResponse, error)

IncidentTimelineItemsV2ListWithResponse request returning *IncidentTimelineItemsV2ListResponse

func (*ClientWithResponses) IncidentTimelineItemsV2UpdateWithBodyWithResponse added in v1.0.92

func (c *ClientWithResponses) IncidentTimelineItemsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2UpdateResponse, error)

IncidentTimelineItemsV2UpdateWithBodyWithResponse request with arbitrary body returning *IncidentTimelineItemsV2UpdateResponse

func (*ClientWithResponses) IncidentTimelineItemsV2UpdateWithResponse added in v1.0.92

func (c *ClientWithResponses) IncidentTimelineItemsV2UpdateWithResponse(ctx context.Context, id string, body IncidentTimelineItemsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2UpdateResponse, error)

func (*ClientWithResponses) IncidentTimestampsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentTimestampsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ListResponse, error)

IncidentTimestampsV2ListWithResponse request returning *IncidentTimestampsV2ListResponse

func (*ClientWithResponses) IncidentTimestampsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentTimestampsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ShowResponse, error)

IncidentTimestampsV2ShowWithResponse request returning *IncidentTimestampsV2ShowResponse

func (*ClientWithResponses) IncidentTypesV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentTypesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTypesV1ListResponse, error)

IncidentTypesV1ListWithResponse request returning *IncidentTypesV1ListResponse

func (*ClientWithResponses) IncidentTypesV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentTypesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTypesV1ShowResponse, error)

IncidentTypesV1ShowWithResponse request returning *IncidentTypesV1ShowResponse

func (*ClientWithResponses) IncidentUpdatesV2CreateWithBodyWithResponse added in v1.0.77

func (c *ClientWithResponses) IncidentUpdatesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2CreateResponse, error)

IncidentUpdatesV2CreateWithBodyWithResponse request with arbitrary body returning *IncidentUpdatesV2CreateResponse

func (*ClientWithResponses) IncidentUpdatesV2CreateWithResponse added in v1.0.77

func (c *ClientWithResponses) IncidentUpdatesV2CreateWithResponse(ctx context.Context, body IncidentUpdatesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2CreateResponse, error)

func (*ClientWithResponses) IncidentUpdatesV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentUpdatesV2ListWithResponse(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2ListResponse, error)

IncidentUpdatesV2ListWithResponse request returning *IncidentUpdatesV2ListResponse

func (*ClientWithResponses) IncidentsV1CreateWithBodyWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error)

IncidentsV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentsV1CreateResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentsV1CreateWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentsV1CreateWithResponse(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error)

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentsV1ListWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentsV1ListWithResponse(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentsV1ListResponse, error)

IncidentsV1ListWithResponse request returning *IncidentsV1ListResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentsV1ShowWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) IncidentsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV1ShowResponse, error)

IncidentsV1ShowWithResponse request returning *IncidentsV1ShowResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

func (*ClientWithResponses) IncidentsV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error)

IncidentsV2CreateWithBodyWithResponse request with arbitrary body returning *IncidentsV2CreateResponse

func (*ClientWithResponses) IncidentsV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentsV2CreateWithResponse(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error)

func (*ClientWithResponses) IncidentsV2EditWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentsV2EditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error)

IncidentsV2EditWithBodyWithResponse request with arbitrary body returning *IncidentsV2EditResponse

func (*ClientWithResponses) IncidentsV2EditWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentsV2EditWithResponse(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error)

func (*ClientWithResponses) IncidentsV2ImportPostmortemDocumentWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentsV2ImportPostmortemDocumentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2ImportPostmortemDocumentResponse, error)

IncidentsV2ImportPostmortemDocumentWithBodyWithResponse request with arbitrary body returning *IncidentsV2ImportPostmortemDocumentResponse

func (*ClientWithResponses) IncidentsV2ImportPostmortemDocumentWithResponse added in v1.0.1

func (*ClientWithResponses) IncidentsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentsV2ListWithResponse(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentsV2ListResponse, error)

IncidentsV2ListWithResponse request returning *IncidentsV2ListResponse

func (*ClientWithResponses) IncidentsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) IncidentsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV2ShowResponse, error)

IncidentsV2ShowWithResponse request returning *IncidentsV2ShowResponse

func (*ClientWithResponses) MaintenanceWindowsV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) MaintenanceWindowsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1CreateResponse, error)

MaintenanceWindowsV1CreateWithBodyWithResponse request with arbitrary body returning *MaintenanceWindowsV1CreateResponse

func (*ClientWithResponses) MaintenanceWindowsV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) MaintenanceWindowsV1CreateWithResponse(ctx context.Context, body MaintenanceWindowsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1CreateResponse, error)

func (*ClientWithResponses) MaintenanceWindowsV1DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) MaintenanceWindowsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1DeleteResponse, error)

MaintenanceWindowsV1DeleteWithResponse request returning *MaintenanceWindowsV1DeleteResponse

func (*ClientWithResponses) MaintenanceWindowsV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) MaintenanceWindowsV1ListWithResponse(ctx context.Context, params *MaintenanceWindowsV1ListParams, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1ListResponse, error)

MaintenanceWindowsV1ListWithResponse request returning *MaintenanceWindowsV1ListResponse

func (*ClientWithResponses) MaintenanceWindowsV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) MaintenanceWindowsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1ShowResponse, error)

MaintenanceWindowsV1ShowWithResponse request returning *MaintenanceWindowsV1ShowResponse

func (*ClientWithResponses) MaintenanceWindowsV1UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) MaintenanceWindowsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1UpdateResponse, error)

MaintenanceWindowsV1UpdateWithBodyWithResponse request with arbitrary body returning *MaintenanceWindowsV1UpdateResponse

func (*ClientWithResponses) MaintenanceWindowsV1UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) MaintenanceWindowsV1UpdateWithResponse(ctx context.Context, id string, body MaintenanceWindowsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1UpdateResponse, error)

func (*ClientWithResponses) PoliciesV2CreateWithBodyWithResponse added in v1.0.87

func (c *ClientWithResponses) PoliciesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesV2CreateResponse, error)

PoliciesV2CreateWithBodyWithResponse request with arbitrary body returning *PoliciesV2CreateResponse

func (*ClientWithResponses) PoliciesV2CreateWithResponse added in v1.0.87

func (c *ClientWithResponses) PoliciesV2CreateWithResponse(ctx context.Context, body PoliciesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesV2CreateResponse, error)

func (*ClientWithResponses) PoliciesV2DeleteWithResponse added in v1.0.87

func (c *ClientWithResponses) PoliciesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PoliciesV2DeleteResponse, error)

PoliciesV2DeleteWithResponse request returning *PoliciesV2DeleteResponse

func (*ClientWithResponses) PoliciesV2ListWithResponse added in v1.0.87

func (c *ClientWithResponses) PoliciesV2ListWithResponse(ctx context.Context, params *PoliciesV2ListParams, reqEditors ...RequestEditorFn) (*PoliciesV2ListResponse, error)

PoliciesV2ListWithResponse request returning *PoliciesV2ListResponse

func (*ClientWithResponses) PoliciesV2ShowWithResponse added in v1.0.87

func (c *ClientWithResponses) PoliciesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PoliciesV2ShowResponse, error)

PoliciesV2ShowWithResponse request returning *PoliciesV2ShowResponse

func (*ClientWithResponses) PoliciesV2UpdateWithBodyWithResponse added in v1.0.87

func (c *ClientWithResponses) PoliciesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesV2UpdateResponse, error)

PoliciesV2UpdateWithBodyWithResponse request with arbitrary body returning *PoliciesV2UpdateResponse

func (*ClientWithResponses) PoliciesV2UpdateWithResponse added in v1.0.87

func (c *ClientWithResponses) PoliciesV2UpdateWithResponse(ctx context.Context, id string, body PoliciesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesV2UpdateResponse, error)

func (*ClientWithResponses) PolicyFindingsV2DismissWithBodyWithResponse added in v1.0.87

func (c *ClientWithResponses) PolicyFindingsV2DismissWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PolicyFindingsV2DismissResponse, error)

PolicyFindingsV2DismissWithBodyWithResponse request with arbitrary body returning *PolicyFindingsV2DismissResponse

func (*ClientWithResponses) PolicyFindingsV2DismissWithResponse added in v1.0.87

func (c *ClientWithResponses) PolicyFindingsV2DismissWithResponse(ctx context.Context, id string, body PolicyFindingsV2DismissJSONRequestBody, reqEditors ...RequestEditorFn) (*PolicyFindingsV2DismissResponse, error)

func (*ClientWithResponses) PolicyFindingsV2ListWithResponse added in v1.0.87

func (c *ClientWithResponses) PolicyFindingsV2ListWithResponse(ctx context.Context, params *PolicyFindingsV2ListParams, reqEditors ...RequestEditorFn) (*PolicyFindingsV2ListResponse, error)

PolicyFindingsV2ListWithResponse request returning *PolicyFindingsV2ListResponse

func (*ClientWithResponses) PolicyFindingsV2RestoreWithResponse added in v1.0.87

func (c *ClientWithResponses) PolicyFindingsV2RestoreWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PolicyFindingsV2RestoreResponse, error)

PolicyFindingsV2RestoreWithResponse request returning *PolicyFindingsV2RestoreResponse

func (*ClientWithResponses) PolicyFindingsV2ShowWithResponse added in v1.0.87

func (c *ClientWithResponses) PolicyFindingsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PolicyFindingsV2ShowResponse, error)

PolicyFindingsV2ShowWithResponse request returning *PolicyFindingsV2ShowResponse

func (*ClientWithResponses) PostmortemDocumentsV1AttachWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) PostmortemDocumentsV1AttachWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1AttachResponse, error)

PostmortemDocumentsV1AttachWithBodyWithResponse request with arbitrary body returning *PostmortemDocumentsV1AttachResponse

func (*ClientWithResponses) PostmortemDocumentsV1AttachWithResponse added in v1.0.1

func (c *ClientWithResponses) PostmortemDocumentsV1AttachWithResponse(ctx context.Context, body PostmortemDocumentsV1AttachJSONRequestBody, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1AttachResponse, error)

func (*ClientWithResponses) PostmortemDocumentsV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) PostmortemDocumentsV1ListWithResponse(ctx context.Context, params *PostmortemDocumentsV1ListParams, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1ListResponse, error)

PostmortemDocumentsV1ListWithResponse request returning *PostmortemDocumentsV1ListResponse

func (*ClientWithResponses) PostmortemDocumentsV1ShowContentWithResponse added in v1.0.1

func (c *ClientWithResponses) PostmortemDocumentsV1ShowContentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1ShowContentResponse, error)

PostmortemDocumentsV1ShowContentWithResponse request returning *PostmortemDocumentsV1ShowContentResponse

func (*ClientWithResponses) PostmortemDocumentsV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) PostmortemDocumentsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1ShowResponse, error)

PostmortemDocumentsV1ShowWithResponse request returning *PostmortemDocumentsV1ShowResponse

func (*ClientWithResponses) PostmortemDocumentsV1UpdateStatusWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) PostmortemDocumentsV1UpdateStatusWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1UpdateStatusResponse, error)

PostmortemDocumentsV1UpdateStatusWithBodyWithResponse request with arbitrary body returning *PostmortemDocumentsV1UpdateStatusResponse

func (*ClientWithResponses) PostmortemDocumentsV1UpdateStatusWithResponse added in v1.0.1

func (c *ClientWithResponses) PostmortemDocumentsV1UpdateStatusWithResponse(ctx context.Context, id string, body PostmortemDocumentsV1UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1UpdateStatusResponse, error)

func (*ClientWithResponses) ScheduleSyncTargetsV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) ScheduleSyncTargetsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2CreateResponse, error)

ScheduleSyncTargetsV2CreateWithBodyWithResponse request with arbitrary body returning *ScheduleSyncTargetsV2CreateResponse

func (*ClientWithResponses) ScheduleSyncTargetsV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) ScheduleSyncTargetsV2CreateWithResponse(ctx context.Context, body ScheduleSyncTargetsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2CreateResponse, error)

func (*ClientWithResponses) ScheduleSyncTargetsV2DestroyWithResponse added in v1.0.1

func (c *ClientWithResponses) ScheduleSyncTargetsV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2DestroyResponse, error)

ScheduleSyncTargetsV2DestroyWithResponse request returning *ScheduleSyncTargetsV2DestroyResponse

func (*ClientWithResponses) ScheduleSyncTargetsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) ScheduleSyncTargetsV2ListWithResponse(ctx context.Context, params *ScheduleSyncTargetsV2ListParams, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2ListResponse, error)

ScheduleSyncTargetsV2ListWithResponse request returning *ScheduleSyncTargetsV2ListResponse

func (*ClientWithResponses) ScheduleSyncTargetsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) ScheduleSyncTargetsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2ShowResponse, error)

ScheduleSyncTargetsV2ShowWithResponse request returning *ScheduleSyncTargetsV2ShowResponse

func (*ClientWithResponses) ScheduleSyncTargetsV2UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) ScheduleSyncTargetsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2UpdateResponse, error)

ScheduleSyncTargetsV2UpdateWithBodyWithResponse request with arbitrary body returning *ScheduleSyncTargetsV2UpdateResponse

func (*ClientWithResponses) ScheduleSyncTargetsV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) ScheduleSyncTargetsV2UpdateWithResponse(ctx context.Context, id string, body ScheduleSyncTargetsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2UpdateResponse, error)

func (*ClientWithResponses) SchedulesV2CreateOverrideWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateOverrideResponse, error)

SchedulesV2CreateOverrideWithBodyWithResponse request with arbitrary body returning *SchedulesV2CreateOverrideResponse

func (*ClientWithResponses) SchedulesV2CreateOverrideWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateOverrideWithResponse(ctx context.Context, body SchedulesV2CreateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateOverrideResponse, error)

func (*ClientWithResponses) SchedulesV2CreateScheduleReplicaWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateScheduleReplicaWithBodyWithResponse(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleReplicaResponse, error)

SchedulesV2CreateScheduleReplicaWithBodyWithResponse request with arbitrary body returning *SchedulesV2CreateScheduleReplicaResponse

func (*ClientWithResponses) SchedulesV2CreateScheduleReplicaWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateScheduleReplicaWithResponse(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleReplicaResponse, error)

func (*ClientWithResponses) SchedulesV2CreateScheduleSyncRuleWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateScheduleSyncRuleWithBodyWithResponse(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleSyncRuleResponse, error)

SchedulesV2CreateScheduleSyncRuleWithBodyWithResponse request with arbitrary body returning *SchedulesV2CreateScheduleSyncRuleResponse

func (*ClientWithResponses) SchedulesV2CreateScheduleSyncRuleWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleSyncRuleResponse, error)

func (*ClientWithResponses) SchedulesV2CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateResponse, error)

SchedulesV2CreateWithBodyWithResponse request with arbitrary body returning *SchedulesV2CreateResponse

func (*ClientWithResponses) SchedulesV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2CreateWithResponse(ctx context.Context, body SchedulesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateResponse, error)

func (*ClientWithResponses) SchedulesV2DestroyOverrideWithResponse added in v1.0.69

func (c *ClientWithResponses) SchedulesV2DestroyOverrideWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyOverrideResponse, error)

SchedulesV2DestroyOverrideWithResponse request returning *SchedulesV2DestroyOverrideResponse

func (*ClientWithResponses) SchedulesV2DestroyScheduleReplicaWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2DestroyScheduleReplicaWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyScheduleReplicaResponse, error)

SchedulesV2DestroyScheduleReplicaWithResponse request returning *SchedulesV2DestroyScheduleReplicaResponse

func (*ClientWithResponses) SchedulesV2DestroyScheduleSyncRuleWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2DestroyScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyScheduleSyncRuleResponse, error)

SchedulesV2DestroyScheduleSyncRuleWithResponse request returning *SchedulesV2DestroyScheduleSyncRuleResponse

func (*ClientWithResponses) SchedulesV2DestroyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyResponse, error)

SchedulesV2DestroyWithResponse request returning *SchedulesV2DestroyResponse

func (*ClientWithResponses) SchedulesV2ListOverridesWithResponse added in v1.0.36

func (c *ClientWithResponses) SchedulesV2ListOverridesWithResponse(ctx context.Context, params *SchedulesV2ListOverridesParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListOverridesResponse, error)

SchedulesV2ListOverridesWithResponse request returning *SchedulesV2ListOverridesResponse

func (*ClientWithResponses) SchedulesV2ListScheduleEntriesWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2ListScheduleEntriesWithResponse(ctx context.Context, params *SchedulesV2ListScheduleEntriesParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListScheduleEntriesResponse, error)

SchedulesV2ListScheduleEntriesWithResponse request returning *SchedulesV2ListScheduleEntriesResponse

func (*ClientWithResponses) SchedulesV2ListScheduleReplicasWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2ListScheduleReplicasWithResponse(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*SchedulesV2ListScheduleReplicasResponse, error)

SchedulesV2ListScheduleReplicasWithResponse request returning *SchedulesV2ListScheduleReplicasResponse

func (*ClientWithResponses) SchedulesV2ListScheduleSyncRulesWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2ListScheduleSyncRulesWithResponse(ctx context.Context, scheduleId string, params *SchedulesV2ListScheduleSyncRulesParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListScheduleSyncRulesResponse, error)

SchedulesV2ListScheduleSyncRulesWithResponse request returning *SchedulesV2ListScheduleSyncRulesResponse

func (*ClientWithResponses) SchedulesV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2ListWithResponse(ctx context.Context, params *SchedulesV2ListParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListResponse, error)

SchedulesV2ListWithResponse request returning *SchedulesV2ListResponse

func (*ClientWithResponses) SchedulesV2PreviewScheduleEntriesWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2PreviewScheduleEntriesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2PreviewScheduleEntriesResponse, error)

SchedulesV2PreviewScheduleEntriesWithBodyWithResponse request with arbitrary body returning *SchedulesV2PreviewScheduleEntriesResponse

func (*ClientWithResponses) SchedulesV2PreviewScheduleEntriesWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2PreviewScheduleEntriesWithResponse(ctx context.Context, id string, body SchedulesV2PreviewScheduleEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2PreviewScheduleEntriesResponse, error)

func (*ClientWithResponses) SchedulesV2ShowOverrideWithResponse added in v1.0.81

func (c *ClientWithResponses) SchedulesV2ShowOverrideWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowOverrideResponse, error)

SchedulesV2ShowOverrideWithResponse request returning *SchedulesV2ShowOverrideResponse

func (*ClientWithResponses) SchedulesV2ShowScheduleReplicaWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2ShowScheduleReplicaWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowScheduleReplicaResponse, error)

SchedulesV2ShowScheduleReplicaWithResponse request returning *SchedulesV2ShowScheduleReplicaResponse

func (*ClientWithResponses) SchedulesV2ShowScheduleSyncRuleWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2ShowScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowScheduleSyncRuleResponse, error)

SchedulesV2ShowScheduleSyncRuleWithResponse request returning *SchedulesV2ShowScheduleSyncRuleResponse

func (*ClientWithResponses) SchedulesV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowResponse, error)

SchedulesV2ShowWithResponse request returning *SchedulesV2ShowResponse

func (*ClientWithResponses) SchedulesV2UpdateOverrideWithBodyWithResponse added in v1.0.70

func (c *ClientWithResponses) SchedulesV2UpdateOverrideWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateOverrideResponse, error)

SchedulesV2UpdateOverrideWithBodyWithResponse request with arbitrary body returning *SchedulesV2UpdateOverrideResponse

func (*ClientWithResponses) SchedulesV2UpdateOverrideWithResponse added in v1.0.70

func (c *ClientWithResponses) SchedulesV2UpdateOverrideWithResponse(ctx context.Context, id string, body SchedulesV2UpdateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateOverrideResponse, error)

func (*ClientWithResponses) SchedulesV2UpdateScheduleSyncRuleWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2UpdateScheduleSyncRuleWithBodyWithResponse(ctx context.Context, scheduleId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateScheduleSyncRuleResponse, error)

SchedulesV2UpdateScheduleSyncRuleWithBodyWithResponse request with arbitrary body returning *SchedulesV2UpdateScheduleSyncRuleResponse

func (*ClientWithResponses) SchedulesV2UpdateScheduleSyncRuleWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2UpdateScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, id string, body SchedulesV2UpdateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateScheduleSyncRuleResponse, error)

func (*ClientWithResponses) SchedulesV2UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateResponse, error)

SchedulesV2UpdateWithBodyWithResponse request with arbitrary body returning *SchedulesV2UpdateResponse

func (*ClientWithResponses) SchedulesV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) SchedulesV2UpdateWithResponse(ctx context.Context, id string, body SchedulesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateResponse, error)

func (*ClientWithResponses) SecretsV2CreateWithBodyWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretsV2CreateResponse, error)

SecretsV2CreateWithBodyWithResponse request with arbitrary body returning *SecretsV2CreateResponse

func (*ClientWithResponses) SecretsV2CreateWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2CreateWithResponse(ctx context.Context, body SecretsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretsV2CreateResponse, error)

func (*ClientWithResponses) SecretsV2DestroyWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SecretsV2DestroyResponse, error)

SecretsV2DestroyWithResponse request returning *SecretsV2DestroyResponse

func (*ClientWithResponses) SecretsV2ListWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2ListWithResponse(ctx context.Context, params *SecretsV2ListParams, reqEditors ...RequestEditorFn) (*SecretsV2ListResponse, error)

SecretsV2ListWithResponse request returning *SecretsV2ListResponse

func (*ClientWithResponses) SecretsV2RotateWithBodyWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2RotateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretsV2RotateResponse, error)

SecretsV2RotateWithBodyWithResponse request with arbitrary body returning *SecretsV2RotateResponse

func (*ClientWithResponses) SecretsV2RotateWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2RotateWithResponse(ctx context.Context, id string, body SecretsV2RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretsV2RotateResponse, error)

func (*ClientWithResponses) SecretsV2ShowWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SecretsV2ShowResponse, error)

SecretsV2ShowWithResponse request returning *SecretsV2ShowResponse

func (*ClientWithResponses) SecretsV2UpdateWithBodyWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretsV2UpdateResponse, error)

SecretsV2UpdateWithBodyWithResponse request with arbitrary body returning *SecretsV2UpdateResponse

func (*ClientWithResponses) SecretsV2UpdateWithResponse added in v1.0.29

func (c *ClientWithResponses) SecretsV2UpdateWithResponse(ctx context.Context, id string, body SecretsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretsV2UpdateResponse, error)

func (*ClientWithResponses) SeveritiesV1CreateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SeveritiesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error)

SeveritiesV1CreateWithBodyWithResponse request with arbitrary body returning *SeveritiesV1CreateResponse

func (*ClientWithResponses) SeveritiesV1CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) SeveritiesV1CreateWithResponse(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error)

func (*ClientWithResponses) SeveritiesV1DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) SeveritiesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1DeleteResponse, error)

SeveritiesV1DeleteWithResponse request returning *SeveritiesV1DeleteResponse

func (*ClientWithResponses) SeveritiesV1ListWithResponse added in v1.0.1

func (c *ClientWithResponses) SeveritiesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SeveritiesV1ListResponse, error)

SeveritiesV1ListWithResponse request returning *SeveritiesV1ListResponse

func (*ClientWithResponses) SeveritiesV1ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) SeveritiesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1ShowResponse, error)

SeveritiesV1ShowWithResponse request returning *SeveritiesV1ShowResponse

func (*ClientWithResponses) SeveritiesV1UpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) SeveritiesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error)

SeveritiesV1UpdateWithBodyWithResponse request with arbitrary body returning *SeveritiesV1UpdateResponse

func (*ClientWithResponses) SeveritiesV1UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) SeveritiesV1UpdateWithResponse(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error)

func (*ClientWithResponses) StatusPagesV1ListResponseIncidentsWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV1ListResponseIncidentsWithResponse(ctx context.Context, id string, incidentId string, reqEditors ...RequestEditorFn) (*StatusPagesV1ListResponseIncidentsResponse, error)

StatusPagesV1ListResponseIncidentsWithResponse request returning *StatusPagesV1ListResponseIncidentsResponse

func (*ClientWithResponses) StatusPagesV2CreateStatusPageIncidentUpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageIncidentUpdateResponse, error)

StatusPagesV2CreateStatusPageIncidentUpdateWithBodyWithResponse request with arbitrary body returning *StatusPagesV2CreateStatusPageIncidentUpdateResponse

func (*ClientWithResponses) StatusPagesV2CreateStatusPageIncidentUpdateWithResponse added in v1.0.1

func (*ClientWithResponses) StatusPagesV2CreateStatusPageIncidentWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageIncidentResponse, error)

StatusPagesV2CreateStatusPageIncidentWithBodyWithResponse request with arbitrary body returning *StatusPagesV2CreateStatusPageIncidentResponse

func (*ClientWithResponses) StatusPagesV2CreateStatusPageIncidentWithResponse added in v1.0.1

func (*ClientWithResponses) StatusPagesV2CreateStatusPageMaintenanceUpdateWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2CreateStatusPageMaintenanceUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageMaintenanceUpdateResponse, error)

StatusPagesV2CreateStatusPageMaintenanceUpdateWithBodyWithResponse request with arbitrary body returning *StatusPagesV2CreateStatusPageMaintenanceUpdateResponse

func (*ClientWithResponses) StatusPagesV2CreateStatusPageMaintenanceUpdateWithResponse added in v1.0.1

func (*ClientWithResponses) StatusPagesV2CreateStatusPageMaintenanceWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2CreateStatusPageMaintenanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageMaintenanceResponse, error)

StatusPagesV2CreateStatusPageMaintenanceWithBodyWithResponse request with arbitrary body returning *StatusPagesV2CreateStatusPageMaintenanceResponse

func (*ClientWithResponses) StatusPagesV2CreateStatusPageMaintenanceWithResponse added in v1.0.1

func (*ClientWithResponses) StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBodyWithResponse added in v1.0.16

func (c *ClientWithResponses) StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse, error)

StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBodyWithResponse request with arbitrary body returning *StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse

func (*ClientWithResponses) StatusPagesV2DeleteStatusPageMaintenanceWithResponse added in v1.0.103

func (c *ClientWithResponses) StatusPagesV2DeleteStatusPageMaintenanceWithResponse(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*StatusPagesV2DeleteStatusPageMaintenanceResponse, error)

StatusPagesV2DeleteStatusPageMaintenanceWithResponse request returning *StatusPagesV2DeleteStatusPageMaintenanceResponse

func (*ClientWithResponses) StatusPagesV2ListStatusPageIncidentsWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2ListStatusPageIncidentsWithResponse(ctx context.Context, params *StatusPagesV2ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*StatusPagesV2ListStatusPageIncidentsResponse, error)

StatusPagesV2ListStatusPageIncidentsWithResponse request returning *StatusPagesV2ListStatusPageIncidentsResponse

func (*ClientWithResponses) StatusPagesV2ListStatusPageMaintenancesWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2ListStatusPageMaintenancesWithResponse(ctx context.Context, params *StatusPagesV2ListStatusPageMaintenancesParams, reqEditors ...RequestEditorFn) (*StatusPagesV2ListStatusPageMaintenancesResponse, error)

StatusPagesV2ListStatusPageMaintenancesWithResponse request returning *StatusPagesV2ListStatusPageMaintenancesResponse

func (*ClientWithResponses) StatusPagesV2ListStatusPagesWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2ListStatusPagesWithResponse(ctx context.Context, params *StatusPagesV2ListStatusPagesParams, reqEditors ...RequestEditorFn) (*StatusPagesV2ListStatusPagesResponse, error)

StatusPagesV2ListStatusPagesWithResponse request returning *StatusPagesV2ListStatusPagesResponse

func (*ClientWithResponses) StatusPagesV2ShowStatusPageIncidentWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2ShowStatusPageIncidentWithResponse(ctx context.Context, statusPageIncidentId string, reqEditors ...RequestEditorFn) (*StatusPagesV2ShowStatusPageIncidentResponse, error)

StatusPagesV2ShowStatusPageIncidentWithResponse request returning *StatusPagesV2ShowStatusPageIncidentResponse

func (*ClientWithResponses) StatusPagesV2ShowStatusPageMaintenanceWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2ShowStatusPageMaintenanceWithResponse(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*StatusPagesV2ShowStatusPageMaintenanceResponse, error)

StatusPagesV2ShowStatusPageMaintenanceWithResponse request returning *StatusPagesV2ShowStatusPageMaintenanceResponse

func (*ClientWithResponses) StatusPagesV2ShowStatusPageStructureWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2ShowStatusPageStructureWithResponse(ctx context.Context, statusPageId string, reqEditors ...RequestEditorFn) (*StatusPagesV2ShowStatusPageStructureResponse, error)

StatusPagesV2ShowStatusPageStructureWithResponse request returning *StatusPagesV2ShowStatusPageStructureResponse

func (*ClientWithResponses) StatusPagesV2UpdateStatusPageIncidentWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, statusPageIncidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageIncidentResponse, error)

StatusPagesV2UpdateStatusPageIncidentWithBodyWithResponse request with arbitrary body returning *StatusPagesV2UpdateStatusPageIncidentResponse

func (*ClientWithResponses) StatusPagesV2UpdateStatusPageIncidentWithResponse added in v1.0.1

func (c *ClientWithResponses) StatusPagesV2UpdateStatusPageIncidentWithResponse(ctx context.Context, statusPageIncidentId string, body StatusPagesV2UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageIncidentResponse, error)

func (*ClientWithResponses) StatusPagesV2UpdateStatusPageMaintenanceWithBodyWithResponse added in v1.0.103

func (c *ClientWithResponses) StatusPagesV2UpdateStatusPageMaintenanceWithBodyWithResponse(ctx context.Context, statusPageMaintenanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageMaintenanceResponse, error)

StatusPagesV2UpdateStatusPageMaintenanceWithBodyWithResponse request with arbitrary body returning *StatusPagesV2UpdateStatusPageMaintenanceResponse

func (*ClientWithResponses) StatusPagesV2UpdateStatusPageMaintenanceWithResponse added in v1.0.103

func (c *ClientWithResponses) StatusPagesV2UpdateStatusPageMaintenanceWithResponse(ctx context.Context, statusPageMaintenanceId string, body StatusPagesV2UpdateStatusPageMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageMaintenanceResponse, error)

func (*ClientWithResponses) TeamsV3ListWithResponse added in v1.0.1

func (c *ClientWithResponses) TeamsV3ListWithResponse(ctx context.Context, params *TeamsV3ListParams, reqEditors ...RequestEditorFn) (*TeamsV3ListResponse, error)

TeamsV3ListWithResponse request returning *TeamsV3ListResponse

func (*ClientWithResponses) TeamsV3ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) TeamsV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*TeamsV3ShowResponse, error)

TeamsV3ShowWithResponse request returning *TeamsV3ShowResponse

func (*ClientWithResponses) TelemetryV2UpdateDataSourceWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) TelemetryV2UpdateDataSourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelemetryV2UpdateDataSourceResponse, error)

TelemetryV2UpdateDataSourceWithBodyWithResponse request with arbitrary body returning *TelemetryV2UpdateDataSourceResponse

func (*ClientWithResponses) TelemetryV2UpdateDataSourceWithResponse added in v1.0.1

func (c *ClientWithResponses) TelemetryV2UpdateDataSourceWithResponse(ctx context.Context, id string, body TelemetryV2UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*TelemetryV2UpdateDataSourceResponse, error)

func (*ClientWithResponses) UsersV2ListNotificationMethodsWithResponse added in v1.0.1

func (c *ClientWithResponses) UsersV2ListNotificationMethodsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UsersV2ListNotificationMethodsResponse, error)

UsersV2ListNotificationMethodsWithResponse request returning *UsersV2ListNotificationMethodsResponse

func (*ClientWithResponses) UsersV2ListNotificationRulesWithResponse added in v1.0.1

func (c *ClientWithResponses) UsersV2ListNotificationRulesWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UsersV2ListNotificationRulesResponse, error)

UsersV2ListNotificationRulesWithResponse request returning *UsersV2ListNotificationRulesResponse

func (*ClientWithResponses) UsersV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) UsersV2ListWithResponse(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*UsersV2ListResponse, error)

UsersV2ListWithResponse request returning *UsersV2ListResponse

func (*ClientWithResponses) UsersV2ShowPagingProviderWithResponse added in v1.0.1

func (c *ClientWithResponses) UsersV2ShowPagingProviderWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UsersV2ShowPagingProviderResponse, error)

UsersV2ShowPagingProviderWithResponse request returning *UsersV2ShowPagingProviderResponse

func (*ClientWithResponses) UsersV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) UsersV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersV2ShowResponse, error)

UsersV2ShowWithResponse request returning *UsersV2ShowResponse

func (*ClientWithResponses) UsersV2UpdatePagingProviderWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) UsersV2UpdatePagingProviderWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersV2UpdatePagingProviderResponse, error)

UsersV2UpdatePagingProviderWithBodyWithResponse request with arbitrary body returning *UsersV2UpdatePagingProviderResponse

func (*ClientWithResponses) UsersV2UpdatePagingProviderWithResponse added in v1.0.1

func (c *ClientWithResponses) UsersV2UpdatePagingProviderWithResponse(ctx context.Context, userId string, body UsersV2UpdatePagingProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersV2UpdatePagingProviderResponse, error)

func (*ClientWithResponses) UtilitiesV1IPRangesWithResponse added in v1.0.98

func (c *ClientWithResponses) UtilitiesV1IPRangesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1IPRangesResponse, error)

UtilitiesV1IPRangesWithResponse request returning *UtilitiesV1IPRangesResponse

func (*ClientWithResponses) UtilitiesV1IdentityWithResponse added in v1.0.1

func (c *ClientWithResponses) UtilitiesV1IdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1IdentityResponse, error)

UtilitiesV1IdentityWithResponse request returning *UtilitiesV1IdentityResponse

func (*ClientWithResponses) UtilitiesV1OpenAPIV3WithResponse added in v1.0.1

func (c *ClientWithResponses) UtilitiesV1OpenAPIV3WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1OpenAPIV3Response, error)

UtilitiesV1OpenAPIV3WithResponse request returning *UtilitiesV1OpenAPIV3Response

func (*ClientWithResponses) WorkflowRunsV2ListWithResponse added in v1.0.42

func (c *ClientWithResponses) WorkflowRunsV2ListWithResponse(ctx context.Context, params *WorkflowRunsV2ListParams, reqEditors ...RequestEditorFn) (*WorkflowRunsV2ListResponse, error)

WorkflowRunsV2ListWithResponse request returning *WorkflowRunsV2ListResponse

func (*ClientWithResponses) WorkflowRunsV2ShowWithResponse added in v1.0.42

func (c *ClientWithResponses) WorkflowRunsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*WorkflowRunsV2ShowResponse, error)

WorkflowRunsV2ShowWithResponse request returning *WorkflowRunsV2ShowResponse

func (*ClientWithResponses) WorkflowsV2CreateWorkflowWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) WorkflowsV2CreateWorkflowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowsV2CreateWorkflowResponse, error)

WorkflowsV2CreateWorkflowWithBodyWithResponse request with arbitrary body returning *WorkflowsV2CreateWorkflowResponse

func (*ClientWithResponses) WorkflowsV2CreateWorkflowWithResponse added in v1.0.1

func (c *ClientWithResponses) WorkflowsV2CreateWorkflowWithResponse(ctx context.Context, body WorkflowsV2CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowsV2CreateWorkflowResponse, error)

func (*ClientWithResponses) WorkflowsV2DestroyWorkflowWithResponse added in v1.0.1

func (c *ClientWithResponses) WorkflowsV2DestroyWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*WorkflowsV2DestroyWorkflowResponse, error)

WorkflowsV2DestroyWorkflowWithResponse request returning *WorkflowsV2DestroyWorkflowResponse

func (*ClientWithResponses) WorkflowsV2ListWorkflowsWithResponse added in v1.0.1

func (c *ClientWithResponses) WorkflowsV2ListWorkflowsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkflowsV2ListWorkflowsResponse, error)

WorkflowsV2ListWorkflowsWithResponse request returning *WorkflowsV2ListWorkflowsResponse

func (*ClientWithResponses) WorkflowsV2ShowWorkflowWithResponse added in v1.0.1

func (c *ClientWithResponses) WorkflowsV2ShowWorkflowWithResponse(ctx context.Context, id string, params *WorkflowsV2ShowWorkflowParams, reqEditors ...RequestEditorFn) (*WorkflowsV2ShowWorkflowResponse, error)

WorkflowsV2ShowWorkflowWithResponse request returning *WorkflowsV2ShowWorkflowResponse

func (*ClientWithResponses) WorkflowsV2UpdateWorkflowWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) WorkflowsV2UpdateWorkflowWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowsV2UpdateWorkflowResponse, error)

WorkflowsV2UpdateWorkflowWithBodyWithResponse request with arbitrary body returning *WorkflowsV2UpdateWorkflowResponse

func (*ClientWithResponses) WorkflowsV2UpdateWorkflowWithResponse added in v1.0.1

func (c *ClientWithResponses) WorkflowsV2UpdateWorkflowWithResponse(ctx context.Context, id string, body WorkflowsV2UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowsV2UpdateWorkflowResponse, error)

type ClientWithResponsesInterface added in v1.0.1

type ClientWithResponsesInterface interface {
	// ActionsV1ListWithResponse request
	ActionsV1ListWithResponse(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*ActionsV1ListResponse, error)

	// ActionsV1ShowWithResponse request
	ActionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV1ShowResponse, error)

	// AlertNotesV1ListWithResponse request
	AlertNotesV1ListWithResponse(ctx context.Context, params *AlertNotesV1ListParams, reqEditors ...RequestEditorFn) (*AlertNotesV1ListResponse, error)

	// AlertNotesV1CreateWithBodyWithResponse request with any body
	AlertNotesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertNotesV1CreateResponse, error)

	AlertNotesV1CreateWithResponse(ctx context.Context, body AlertNotesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertNotesV1CreateResponse, error)

	// AlertNotesV1DeleteWithResponse request
	AlertNotesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertNotesV1DeleteResponse, error)

	// AlertNotesV1ShowWithResponse request
	AlertNotesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertNotesV1ShowResponse, error)

	// AlertNotesV1UpdateWithBodyWithResponse request with any body
	AlertNotesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertNotesV1UpdateResponse, error)

	AlertNotesV1UpdateWithResponse(ctx context.Context, id string, body AlertNotesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertNotesV1UpdateResponse, error)

	// APIKeysV1ListWithResponse request
	APIKeysV1ListWithResponse(ctx context.Context, params *APIKeysV1ListParams, reqEditors ...RequestEditorFn) (*APIKeysV1ListResponse, error)

	// APIKeysV1CreateWithBodyWithResponse request with any body
	APIKeysV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeysV1CreateResponse, error)

	APIKeysV1CreateWithResponse(ctx context.Context, body APIKeysV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeysV1CreateResponse, error)

	// APIKeysV1DeleteWithResponse request
	APIKeysV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*APIKeysV1DeleteResponse, error)

	// APIKeysV1ShowWithResponse request
	APIKeysV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*APIKeysV1ShowResponse, error)

	// APIKeysV1UpdateWithBodyWithResponse request with any body
	APIKeysV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeysV1UpdateResponse, error)

	APIKeysV1UpdateWithResponse(ctx context.Context, id string, body APIKeysV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeysV1UpdateResponse, error)

	// APIKeysV1RotateWithBodyWithResponse request with any body
	APIKeysV1RotateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*APIKeysV1RotateResponse, error)

	APIKeysV1RotateWithResponse(ctx context.Context, id string, body APIKeysV1RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*APIKeysV1RotateResponse, error)

	// CustomFieldOptionsV1ListWithResponse request
	CustomFieldOptionsV1ListWithResponse(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ListResponse, error)

	// CustomFieldOptionsV1CreateWithBodyWithResponse request with any body
	CustomFieldOptionsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error)

	CustomFieldOptionsV1CreateWithResponse(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error)

	// CustomFieldOptionsV1DeleteWithResponse request
	CustomFieldOptionsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1DeleteResponse, error)

	// CustomFieldOptionsV1ShowWithResponse request
	CustomFieldOptionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ShowResponse, error)

	// CustomFieldOptionsV1UpdateWithBodyWithResponse request with any body
	CustomFieldOptionsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error)

	CustomFieldOptionsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error)

	// CustomFieldsV1ListWithResponse request
	CustomFieldsV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV1ListResponse, error)

	// CustomFieldsV1CreateWithBodyWithResponse request with any body
	CustomFieldsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error)

	CustomFieldsV1CreateWithResponse(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error)

	// CustomFieldsV1DeleteWithResponse request
	CustomFieldsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1DeleteResponse, error)

	// CustomFieldsV1ShowWithResponse request
	CustomFieldsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1ShowResponse, error)

	// CustomFieldsV1UpdateWithBodyWithResponse request with any body
	CustomFieldsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error)

	CustomFieldsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error)

	// UtilitiesV1IdentityWithResponse request
	UtilitiesV1IdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1IdentityResponse, error)

	// IncidentAttachmentsV1ListWithResponse request
	IncidentAttachmentsV1ListWithResponse(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1ListResponse, error)

	// IncidentAttachmentsV1CreateWithBodyWithResponse request with any body
	IncidentAttachmentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error)

	IncidentAttachmentsV1CreateWithResponse(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error)

	// IncidentAttachmentsV1DeleteWithResponse request
	IncidentAttachmentsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1DeleteResponse, error)

	// IncidentMembershipsV1CreateWithBodyWithResponse request with any body
	IncidentMembershipsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error)

	IncidentMembershipsV1CreateWithResponse(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error)

	// IncidentMembershipsV1RevokeWithBodyWithResponse request with any body
	IncidentMembershipsV1RevokeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error)

	IncidentMembershipsV1RevokeWithResponse(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error)

	// IncidentRelationshipsV1ListWithResponse request
	IncidentRelationshipsV1ListWithResponse(ctx context.Context, params *IncidentRelationshipsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentRelationshipsV1ListResponse, error)

	// IncidentRolesV1ListWithResponse request
	IncidentRolesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV1ListResponse, error)

	// IncidentRolesV1CreateWithBodyWithResponse request with any body
	IncidentRolesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error)

	IncidentRolesV1CreateWithResponse(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error)

	// IncidentRolesV1DeleteWithResponse request
	IncidentRolesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1DeleteResponse, error)

	// IncidentRolesV1ShowWithResponse request
	IncidentRolesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1ShowResponse, error)

	// IncidentRolesV1UpdateWithBodyWithResponse request with any body
	IncidentRolesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error)

	IncidentRolesV1UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error)

	// IncidentStatusesV1ListWithResponse request
	IncidentStatusesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ListResponse, error)

	// IncidentStatusesV1CreateWithBodyWithResponse request with any body
	IncidentStatusesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error)

	IncidentStatusesV1CreateWithResponse(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error)

	// IncidentStatusesV1DeleteWithResponse request
	IncidentStatusesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1DeleteResponse, error)

	// IncidentStatusesV1ShowWithResponse request
	IncidentStatusesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ShowResponse, error)

	// IncidentStatusesV1UpdateWithBodyWithResponse request with any body
	IncidentStatusesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error)

	IncidentStatusesV1UpdateWithResponse(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error)

	// IncidentTemplatesV1ListWithResponse request
	IncidentTemplatesV1ListWithResponse(ctx context.Context, params *IncidentTemplatesV1ListParams, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ListResponse, error)

	// IncidentTemplatesV1CreateWithBodyWithResponse request with any body
	IncidentTemplatesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1CreateResponse, error)

	IncidentTemplatesV1CreateWithResponse(ctx context.Context, body IncidentTemplatesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1CreateResponse, error)

	// IncidentTemplatesV1ValidateWithBodyWithResponse request with any body
	IncidentTemplatesV1ValidateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ValidateResponse, error)

	IncidentTemplatesV1ValidateWithResponse(ctx context.Context, body IncidentTemplatesV1ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ValidateResponse, error)

	// IncidentTemplatesV1DestroyWithResponse request
	IncidentTemplatesV1DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1DestroyResponse, error)

	// IncidentTemplatesV1ShowWithResponse request
	IncidentTemplatesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1ShowResponse, error)

	// IncidentTemplatesV1UpdateWithBodyWithResponse request with any body
	IncidentTemplatesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1UpdateResponse, error)

	IncidentTemplatesV1UpdateWithResponse(ctx context.Context, id string, body IncidentTemplatesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTemplatesV1UpdateResponse, error)

	// IncidentTypesV1ListWithResponse request
	IncidentTypesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTypesV1ListResponse, error)

	// IncidentTypesV1ShowWithResponse request
	IncidentTypesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTypesV1ShowResponse, error)

	// IncidentsV1ListWithResponse request
	IncidentsV1ListWithResponse(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentsV1ListResponse, error)

	// IncidentsV1CreateWithBodyWithResponse request with any body
	IncidentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error)

	IncidentsV1CreateWithResponse(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error)

	// IncidentsV1ShowWithResponse request
	IncidentsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV1ShowResponse, error)

	// IPAllowlistsV1ShowIPAllowlistWithResponse request
	IPAllowlistsV1ShowIPAllowlistWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IPAllowlistsV1ShowIPAllowlistResponse, error)

	// IPAllowlistsV1UpdateIPAllowlistWithBodyWithResponse request with any body
	IPAllowlistsV1UpdateIPAllowlistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IPAllowlistsV1UpdateIPAllowlistResponse, error)

	IPAllowlistsV1UpdateIPAllowlistWithResponse(ctx context.Context, body IPAllowlistsV1UpdateIPAllowlistJSONRequestBody, reqEditors ...RequestEditorFn) (*IPAllowlistsV1UpdateIPAllowlistResponse, error)

	// UtilitiesV1IPRangesWithResponse request
	UtilitiesV1IPRangesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1IPRangesResponse, error)

	// MaintenanceWindowsV1ListWithResponse request
	MaintenanceWindowsV1ListWithResponse(ctx context.Context, params *MaintenanceWindowsV1ListParams, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1ListResponse, error)

	// MaintenanceWindowsV1CreateWithBodyWithResponse request with any body
	MaintenanceWindowsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1CreateResponse, error)

	MaintenanceWindowsV1CreateWithResponse(ctx context.Context, body MaintenanceWindowsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1CreateResponse, error)

	// MaintenanceWindowsV1DeleteWithResponse request
	MaintenanceWindowsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1DeleteResponse, error)

	// MaintenanceWindowsV1ShowWithResponse request
	MaintenanceWindowsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1ShowResponse, error)

	// MaintenanceWindowsV1UpdateWithBodyWithResponse request with any body
	MaintenanceWindowsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1UpdateResponse, error)

	MaintenanceWindowsV1UpdateWithResponse(ctx context.Context, id string, body MaintenanceWindowsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*MaintenanceWindowsV1UpdateResponse, error)

	// UtilitiesV1OpenAPIV3WithResponse request
	UtilitiesV1OpenAPIV3WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1OpenAPIV3Response, error)

	// PostmortemDocumentsV1ListWithResponse request
	PostmortemDocumentsV1ListWithResponse(ctx context.Context, params *PostmortemDocumentsV1ListParams, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1ListResponse, error)

	// PostmortemDocumentsV1AttachWithBodyWithResponse request with any body
	PostmortemDocumentsV1AttachWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1AttachResponse, error)

	PostmortemDocumentsV1AttachWithResponse(ctx context.Context, body PostmortemDocumentsV1AttachJSONRequestBody, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1AttachResponse, error)

	// PostmortemDocumentsV1ShowWithResponse request
	PostmortemDocumentsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1ShowResponse, error)

	// PostmortemDocumentsV1UpdateStatusWithBodyWithResponse request with any body
	PostmortemDocumentsV1UpdateStatusWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1UpdateStatusResponse, error)

	PostmortemDocumentsV1UpdateStatusWithResponse(ctx context.Context, id string, body PostmortemDocumentsV1UpdateStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1UpdateStatusResponse, error)

	// PostmortemDocumentsV1ShowContentWithResponse request
	PostmortemDocumentsV1ShowContentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostmortemDocumentsV1ShowContentResponse, error)

	// SeveritiesV1ListWithResponse request
	SeveritiesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SeveritiesV1ListResponse, error)

	// SeveritiesV1CreateWithBodyWithResponse request with any body
	SeveritiesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error)

	SeveritiesV1CreateWithResponse(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error)

	// SeveritiesV1DeleteWithResponse request
	SeveritiesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1DeleteResponse, error)

	// SeveritiesV1ShowWithResponse request
	SeveritiesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1ShowResponse, error)

	// SeveritiesV1UpdateWithBodyWithResponse request with any body
	SeveritiesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error)

	SeveritiesV1UpdateWithResponse(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error)

	// StatusPagesV1ListResponseIncidentsWithResponse request
	StatusPagesV1ListResponseIncidentsWithResponse(ctx context.Context, id string, incidentId string, reqEditors ...RequestEditorFn) (*StatusPagesV1ListResponseIncidentsResponse, error)

	// ActionsV2ListWithResponse request
	ActionsV2ListWithResponse(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*ActionsV2ListResponse, error)

	// ActionsV2CreateWithBodyWithResponse request with any body
	ActionsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV2CreateResponse, error)

	ActionsV2CreateWithResponse(ctx context.Context, body ActionsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV2CreateResponse, error)

	// ActionsV2DeleteWithResponse request
	ActionsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2DeleteResponse, error)

	// ActionsV2ShowWithResponse request
	ActionsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2ShowResponse, error)

	// ActionsV2UpdateWithBodyWithResponse request with any body
	ActionsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV2UpdateResponse, error)

	ActionsV2UpdateWithResponse(ctx context.Context, id string, body ActionsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV2UpdateResponse, error)

	// AlertAttributesV2ListWithResponse request
	AlertAttributesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AlertAttributesV2ListResponse, error)

	// AlertAttributesV2CreateWithBodyWithResponse request with any body
	AlertAttributesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertAttributesV2CreateResponse, error)

	AlertAttributesV2CreateWithResponse(ctx context.Context, body AlertAttributesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertAttributesV2CreateResponse, error)

	// AlertAttributesV2DestroyWithResponse request
	AlertAttributesV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertAttributesV2DestroyResponse, error)

	// AlertAttributesV2ShowWithResponse request
	AlertAttributesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertAttributesV2ShowResponse, error)

	// AlertAttributesV2UpdateWithBodyWithResponse request with any body
	AlertAttributesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertAttributesV2UpdateResponse, error)

	AlertAttributesV2UpdateWithResponse(ctx context.Context, id string, body AlertAttributesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertAttributesV2UpdateResponse, error)

	// AlertEventsV2CreateHTTPWithBodyWithResponse request with any body
	AlertEventsV2CreateHTTPWithBodyWithResponse(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertEventsV2CreateHTTPResponse, error)

	AlertEventsV2CreateHTTPWithResponse(ctx context.Context, alertSourceConfigId string, params *AlertEventsV2CreateHTTPParams, body AlertEventsV2CreateHTTPJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertEventsV2CreateHTTPResponse, error)

	// AlertRoutesV2ListWithResponse request
	AlertRoutesV2ListWithResponse(ctx context.Context, params *AlertRoutesV2ListParams, reqEditors ...RequestEditorFn) (*AlertRoutesV2ListResponse, error)

	// AlertRoutesV2CreateWithBodyWithResponse request with any body
	AlertRoutesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV2CreateResponse, error)

	AlertRoutesV2CreateWithResponse(ctx context.Context, body AlertRoutesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV2CreateResponse, error)

	// AlertRoutesV2DeleteWithResponse request
	AlertRoutesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV2DeleteResponse, error)

	// AlertRoutesV2ShowWithResponse request
	AlertRoutesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV2ShowResponse, error)

	// AlertRoutesV2UpdateWithBodyWithResponse request with any body
	AlertRoutesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV2UpdateResponse, error)

	AlertRoutesV2UpdateWithResponse(ctx context.Context, id string, body AlertRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV2UpdateResponse, error)

	// AlertSourcesV2ListWithResponse request
	AlertSourcesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AlertSourcesV2ListResponse, error)

	// AlertSourcesV2CreateWithBodyWithResponse request with any body
	AlertSourcesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertSourcesV2CreateResponse, error)

	AlertSourcesV2CreateWithResponse(ctx context.Context, body AlertSourcesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertSourcesV2CreateResponse, error)

	// AlertSourcesV2ValidateWithBodyWithResponse request with any body
	AlertSourcesV2ValidateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertSourcesV2ValidateResponse, error)

	AlertSourcesV2ValidateWithResponse(ctx context.Context, body AlertSourcesV2ValidateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertSourcesV2ValidateResponse, error)

	// AlertSourcesV2DeleteWithResponse request
	AlertSourcesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertSourcesV2DeleteResponse, error)

	// AlertSourcesV2ShowWithResponse request
	AlertSourcesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertSourcesV2ShowResponse, error)

	// AlertSourcesV2UpdateWithBodyWithResponse request with any body
	AlertSourcesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertSourcesV2UpdateResponse, error)

	AlertSourcesV2UpdateWithResponse(ctx context.Context, id string, body AlertSourcesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertSourcesV2UpdateResponse, error)

	// AlertsV2ListWithResponse request
	AlertsV2ListWithResponse(ctx context.Context, params *AlertsV2ListParams, reqEditors ...RequestEditorFn) (*AlertsV2ListResponse, error)

	// AlertsV2ShowWithResponse request
	AlertsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertsV2ShowResponse, error)

	// AlertsV2ResolveWithResponse request
	AlertsV2ResolveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertsV2ResolveResponse, error)

	// CallRoutesV2ListWithResponse request
	CallRoutesV2ListWithResponse(ctx context.Context, params *CallRoutesV2ListParams, reqEditors ...RequestEditorFn) (*CallRoutesV2ListResponse, error)

	// CallRoutesV2ListAllowedCallersWithResponse request
	CallRoutesV2ListAllowedCallersWithResponse(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*CallRoutesV2ListAllowedCallersResponse, error)

	// CallRoutesV2CreateAllowedCallerWithBodyWithResponse request with any body
	CallRoutesV2CreateAllowedCallerWithBodyWithResponse(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateAllowedCallerResponse, error)

	CallRoutesV2CreateAllowedCallerWithResponse(ctx context.Context, callRouteId string, body CallRoutesV2CreateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateAllowedCallerResponse, error)

	// CallRoutesV2DestroyAllowedCallerWithResponse request
	CallRoutesV2DestroyAllowedCallerWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2DestroyAllowedCallerResponse, error)

	// CallRoutesV2ShowAllowedCallerWithResponse request
	CallRoutesV2ShowAllowedCallerWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2ShowAllowedCallerResponse, error)

	// CallRoutesV2UpdateAllowedCallerWithBodyWithResponse request with any body
	CallRoutesV2UpdateAllowedCallerWithBodyWithResponse(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateAllowedCallerResponse, error)

	CallRoutesV2UpdateAllowedCallerWithResponse(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateAllowedCallerJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateAllowedCallerResponse, error)

	// CallRoutesV2ListOptionsWithResponse request
	CallRoutesV2ListOptionsWithResponse(ctx context.Context, callRouteId string, reqEditors ...RequestEditorFn) (*CallRoutesV2ListOptionsResponse, error)

	// CallRoutesV2CreateOptionWithBodyWithResponse request with any body
	CallRoutesV2CreateOptionWithBodyWithResponse(ctx context.Context, callRouteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateOptionResponse, error)

	CallRoutesV2CreateOptionWithResponse(ctx context.Context, callRouteId string, body CallRoutesV2CreateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2CreateOptionResponse, error)

	// CallRoutesV2DestroyOptionWithResponse request
	CallRoutesV2DestroyOptionWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2DestroyOptionResponse, error)

	// CallRoutesV2ShowOptionWithResponse request
	CallRoutesV2ShowOptionWithResponse(ctx context.Context, callRouteId string, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2ShowOptionResponse, error)

	// CallRoutesV2UpdateOptionWithBodyWithResponse request with any body
	CallRoutesV2UpdateOptionWithBodyWithResponse(ctx context.Context, callRouteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateOptionResponse, error)

	CallRoutesV2UpdateOptionWithResponse(ctx context.Context, callRouteId string, id string, body CallRoutesV2UpdateOptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateOptionResponse, error)

	// CallRoutesV2ShowWithResponse request
	CallRoutesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CallRoutesV2ShowResponse, error)

	// CallRoutesV2UpdateWithBodyWithResponse request with any body
	CallRoutesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateResponse, error)

	CallRoutesV2UpdateWithResponse(ctx context.Context, id string, body CallRoutesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CallRoutesV2UpdateResponse, error)

	// CallSessionsV2ListWithResponse request
	CallSessionsV2ListWithResponse(ctx context.Context, params *CallSessionsV2ListParams, reqEditors ...RequestEditorFn) (*CallSessionsV2ListResponse, error)

	// CallTranscriptEntriesV2ListWithResponse request
	CallTranscriptEntriesV2ListWithResponse(ctx context.Context, params *CallTranscriptEntriesV2ListParams, reqEditors ...RequestEditorFn) (*CallTranscriptEntriesV2ListResponse, error)

	// CatalogV2ListEntriesWithResponse request
	CatalogV2ListEntriesWithResponse(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*CatalogV2ListEntriesResponse, error)

	// CatalogV2CreateEntryWithBodyWithResponse request with any body
	CatalogV2CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error)

	CatalogV2CreateEntryWithResponse(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error)

	// CatalogV2DestroyEntryWithResponse request
	CatalogV2DestroyEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyEntryResponse, error)

	// CatalogV2ShowEntryWithResponse request
	CatalogV2ShowEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowEntryResponse, error)

	// CatalogV2UpdateEntryWithBodyWithResponse request with any body
	CatalogV2UpdateEntryWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error)

	CatalogV2UpdateEntryWithResponse(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error)

	// CatalogV2ListResourcesWithResponse request
	CatalogV2ListResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListResourcesResponse, error)

	// CatalogV2ListTypesWithResponse request
	CatalogV2ListTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListTypesResponse, error)

	// CatalogV2CreateTypeWithBodyWithResponse request with any body
	CatalogV2CreateTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error)

	CatalogV2CreateTypeWithResponse(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error)

	// CatalogV2DestroyTypeWithResponse request
	CatalogV2DestroyTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyTypeResponse, error)

	// CatalogV2ShowTypeWithResponse request
	CatalogV2ShowTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowTypeResponse, error)

	// CatalogV2UpdateTypeWithBodyWithResponse request with any body
	CatalogV2UpdateTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error)

	CatalogV2UpdateTypeWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error)

	// CatalogV2UpdateTypeSchemaWithBodyWithResponse request with any body
	CatalogV2UpdateTypeSchemaWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error)

	CatalogV2UpdateTypeSchemaWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error)

	// CustomFieldsV2ListWithResponse request
	CustomFieldsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV2ListResponse, error)

	// CustomFieldsV2CreateWithBodyWithResponse request with any body
	CustomFieldsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error)

	CustomFieldsV2CreateWithResponse(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error)

	// CustomFieldsV2DeleteWithResponse request
	CustomFieldsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2DeleteResponse, error)

	// CustomFieldsV2ShowWithResponse request
	CustomFieldsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2ShowResponse, error)

	// CustomFieldsV2UpdateWithBodyWithResponse request with any body
	CustomFieldsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error)

	CustomFieldsV2UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error)

	// EscalationsV2ListPathsWithResponse request
	EscalationsV2ListPathsWithResponse(ctx context.Context, params *EscalationsV2ListPathsParams, reqEditors ...RequestEditorFn) (*EscalationsV2ListPathsResponse, error)

	// EscalationsV2CreatePathWithBodyWithResponse request with any body
	EscalationsV2CreatePathWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2CreatePathResponse, error)

	EscalationsV2CreatePathWithResponse(ctx context.Context, body EscalationsV2CreatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2CreatePathResponse, error)

	// EscalationsV2DestroyPathWithResponse request
	EscalationsV2DestroyPathWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2DestroyPathResponse, error)

	// EscalationsV2ShowPathWithResponse request
	EscalationsV2ShowPathWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2ShowPathResponse, error)

	// EscalationsV2UpdatePathWithBodyWithResponse request with any body
	EscalationsV2UpdatePathWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2UpdatePathResponse, error)

	EscalationsV2UpdatePathWithResponse(ctx context.Context, id string, body EscalationsV2UpdatePathJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2UpdatePathResponse, error)

	// EscalationsV2ListWithResponse request
	EscalationsV2ListWithResponse(ctx context.Context, params *EscalationsV2ListParams, reqEditors ...RequestEditorFn) (*EscalationsV2ListResponse, error)

	// EscalationsV2CreateWithBodyWithResponse request with any body
	EscalationsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2CreateResponse, error)

	EscalationsV2CreateWithResponse(ctx context.Context, body EscalationsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2CreateResponse, error)

	// EscalationsV2CheckEscalationPermissionsWithBodyWithResponse request with any body
	EscalationsV2CheckEscalationPermissionsWithBodyWithResponse(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2CheckEscalationPermissionsResponse, error)

	EscalationsV2CheckEscalationPermissionsWithResponse(ctx context.Context, escalationId string, body EscalationsV2CheckEscalationPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2CheckEscalationPermissionsResponse, error)

	// EscalationsV2ReassignEscalationWithBodyWithResponse request with any body
	EscalationsV2ReassignEscalationWithBodyWithResponse(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2ReassignEscalationResponse, error)

	EscalationsV2ReassignEscalationWithResponse(ctx context.Context, escalationId string, body EscalationsV2ReassignEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2ReassignEscalationResponse, error)

	// EscalationsV2RespondEscalationWithBodyWithResponse request with any body
	EscalationsV2RespondEscalationWithBodyWithResponse(ctx context.Context, escalationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EscalationsV2RespondEscalationResponse, error)

	EscalationsV2RespondEscalationWithResponse(ctx context.Context, escalationId string, body EscalationsV2RespondEscalationJSONRequestBody, reqEditors ...RequestEditorFn) (*EscalationsV2RespondEscalationResponse, error)

	// EscalationsV2ShowWithResponse request
	EscalationsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2ShowResponse, error)

	// EscalationsV2CancelEscalationWithResponse request
	EscalationsV2CancelEscalationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EscalationsV2CancelEscalationResponse, error)

	// FollowUpsV2ListWithResponse request
	FollowUpsV2ListWithResponse(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*FollowUpsV2ListResponse, error)

	// FollowUpsV2CreateWithBodyWithResponse request with any body
	FollowUpsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV2CreateResponse, error)

	FollowUpsV2CreateWithResponse(ctx context.Context, body FollowUpsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2CreateResponse, error)

	// FollowUpsV2DeleteWithResponse request
	FollowUpsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2DeleteResponse, error)

	// FollowUpsV2ShowWithResponse request
	FollowUpsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2ShowResponse, error)

	// FollowUpsV2UpdateWithBodyWithResponse request with any body
	FollowUpsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV2UpdateResponse, error)

	FollowUpsV2UpdateWithResponse(ctx context.Context, id string, body FollowUpsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2UpdateResponse, error)

	// FollowUpsV2ConnectExternalIssueWithBodyWithResponse request with any body
	FollowUpsV2ConnectExternalIssueWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV2ConnectExternalIssueResponse, error)

	FollowUpsV2ConnectExternalIssueWithResponse(ctx context.Context, id string, body FollowUpsV2ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2ConnectExternalIssueResponse, error)

	// HeartbeatV2Ping1WithResponse request
	HeartbeatV2Ping1WithResponse(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2Ping1Params, reqEditors ...RequestEditorFn) (*HeartbeatV2Ping1Response, error)

	// HeartbeatV2PingWithResponse request
	HeartbeatV2PingWithResponse(ctx context.Context, alertSourceConfigId string, params *HeartbeatV2PingParams, reqEditors ...RequestEditorFn) (*HeartbeatV2PingResponse, error)

	// IncidentActivityLogEntriesV2ListWithResponse request
	IncidentActivityLogEntriesV2ListWithResponse(ctx context.Context, params *IncidentActivityLogEntriesV2ListParams, reqEditors ...RequestEditorFn) (*IncidentActivityLogEntriesV2ListResponse, error)

	// AlertsV2ListIncidentAlertsWithResponse request
	AlertsV2ListIncidentAlertsWithResponse(ctx context.Context, params *AlertsV2ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*AlertsV2ListIncidentAlertsResponse, error)

	// AlertsV2CreateIncidentAlertWithBodyWithResponse request with any body
	AlertsV2CreateIncidentAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertsV2CreateIncidentAlertResponse, error)

	AlertsV2CreateIncidentAlertWithResponse(ctx context.Context, body AlertsV2CreateIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertsV2CreateIncidentAlertResponse, error)

	// AlertsV2TransitionIncidentAlertWithBodyWithResponse request with any body
	AlertsV2TransitionIncidentAlertWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertsV2TransitionIncidentAlertResponse, error)

	AlertsV2TransitionIncidentAlertWithResponse(ctx context.Context, id string, body AlertsV2TransitionIncidentAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertsV2TransitionIncidentAlertResponse, error)

	// IncidentParticipantWorkloadsV2ListWithResponse request
	IncidentParticipantWorkloadsV2ListWithResponse(ctx context.Context, params *IncidentParticipantWorkloadsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentParticipantWorkloadsV2ListResponse, error)

	// IncidentParticipantsV2ListWithResponse request
	IncidentParticipantsV2ListWithResponse(ctx context.Context, params *IncidentParticipantsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentParticipantsV2ListResponse, error)

	// IncidentRolesV2ListWithResponse request
	IncidentRolesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV2ListResponse, error)

	// IncidentRolesV2CreateWithBodyWithResponse request with any body
	IncidentRolesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error)

	IncidentRolesV2CreateWithResponse(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error)

	// IncidentRolesV2DeleteWithResponse request
	IncidentRolesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2DeleteResponse, error)

	// IncidentRolesV2ShowWithResponse request
	IncidentRolesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2ShowResponse, error)

	// IncidentRolesV2UpdateWithBodyWithResponse request with any body
	IncidentRolesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error)

	IncidentRolesV2UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error)

	// IncidentTimelineItemsV2ListWithResponse request
	IncidentTimelineItemsV2ListWithResponse(ctx context.Context, params *IncidentTimelineItemsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2ListResponse, error)

	// IncidentTimelineItemsV2CreateWithBodyWithResponse request with any body
	IncidentTimelineItemsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2CreateResponse, error)

	IncidentTimelineItemsV2CreateWithResponse(ctx context.Context, body IncidentTimelineItemsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2CreateResponse, error)

	// IncidentTimelineItemsV2UpdateWithBodyWithResponse request with any body
	IncidentTimelineItemsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2UpdateResponse, error)

	IncidentTimelineItemsV2UpdateWithResponse(ctx context.Context, id string, body IncidentTimelineItemsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentTimelineItemsV2UpdateResponse, error)

	// IncidentTimestampsV2ListWithResponse request
	IncidentTimestampsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ListResponse, error)

	// IncidentTimestampsV2ShowWithResponse request
	IncidentTimestampsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ShowResponse, error)

	// IncidentUpdatesV2ListWithResponse request
	IncidentUpdatesV2ListWithResponse(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2ListResponse, error)

	// IncidentUpdatesV2CreateWithBodyWithResponse request with any body
	IncidentUpdatesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2CreateResponse, error)

	IncidentUpdatesV2CreateWithResponse(ctx context.Context, body IncidentUpdatesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2CreateResponse, error)

	// IncidentsV2ListWithResponse request
	IncidentsV2ListWithResponse(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentsV2ListResponse, error)

	// IncidentsV2CreateWithBodyWithResponse request with any body
	IncidentsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error)

	IncidentsV2CreateWithResponse(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error)

	// IncidentsV2ShowWithResponse request
	IncidentsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV2ShowResponse, error)

	// IncidentsV2EditWithBodyWithResponse request with any body
	IncidentsV2EditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error)

	IncidentsV2EditWithResponse(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error)

	// IncidentsV2ImportPostmortemDocumentWithBodyWithResponse request with any body
	IncidentsV2ImportPostmortemDocumentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2ImportPostmortemDocumentResponse, error)

	IncidentsV2ImportPostmortemDocumentWithResponse(ctx context.Context, id string, body IncidentsV2ImportPostmortemDocumentJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2ImportPostmortemDocumentResponse, error)

	// PoliciesV2ListWithResponse request
	PoliciesV2ListWithResponse(ctx context.Context, params *PoliciesV2ListParams, reqEditors ...RequestEditorFn) (*PoliciesV2ListResponse, error)

	// PoliciesV2CreateWithBodyWithResponse request with any body
	PoliciesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesV2CreateResponse, error)

	PoliciesV2CreateWithResponse(ctx context.Context, body PoliciesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesV2CreateResponse, error)

	// PoliciesV2DeleteWithResponse request
	PoliciesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PoliciesV2DeleteResponse, error)

	// PoliciesV2ShowWithResponse request
	PoliciesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PoliciesV2ShowResponse, error)

	// PoliciesV2UpdateWithBodyWithResponse request with any body
	PoliciesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PoliciesV2UpdateResponse, error)

	PoliciesV2UpdateWithResponse(ctx context.Context, id string, body PoliciesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PoliciesV2UpdateResponse, error)

	// PolicyFindingsV2ListWithResponse request
	PolicyFindingsV2ListWithResponse(ctx context.Context, params *PolicyFindingsV2ListParams, reqEditors ...RequestEditorFn) (*PolicyFindingsV2ListResponse, error)

	// PolicyFindingsV2ShowWithResponse request
	PolicyFindingsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PolicyFindingsV2ShowResponse, error)

	// PolicyFindingsV2DismissWithBodyWithResponse request with any body
	PolicyFindingsV2DismissWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PolicyFindingsV2DismissResponse, error)

	PolicyFindingsV2DismissWithResponse(ctx context.Context, id string, body PolicyFindingsV2DismissJSONRequestBody, reqEditors ...RequestEditorFn) (*PolicyFindingsV2DismissResponse, error)

	// PolicyFindingsV2RestoreWithResponse request
	PolicyFindingsV2RestoreWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PolicyFindingsV2RestoreResponse, error)

	// SchedulesV2ListScheduleEntriesWithResponse request
	SchedulesV2ListScheduleEntriesWithResponse(ctx context.Context, params *SchedulesV2ListScheduleEntriesParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListScheduleEntriesResponse, error)

	// SchedulesV2ListOverridesWithResponse request
	SchedulesV2ListOverridesWithResponse(ctx context.Context, params *SchedulesV2ListOverridesParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListOverridesResponse, error)

	// SchedulesV2CreateOverrideWithBodyWithResponse request with any body
	SchedulesV2CreateOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateOverrideResponse, error)

	SchedulesV2CreateOverrideWithResponse(ctx context.Context, body SchedulesV2CreateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateOverrideResponse, error)

	// SchedulesV2DestroyOverrideWithResponse request
	SchedulesV2DestroyOverrideWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyOverrideResponse, error)

	// SchedulesV2ShowOverrideWithResponse request
	SchedulesV2ShowOverrideWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowOverrideResponse, error)

	// SchedulesV2UpdateOverrideWithBodyWithResponse request with any body
	SchedulesV2UpdateOverrideWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateOverrideResponse, error)

	SchedulesV2UpdateOverrideWithResponse(ctx context.Context, id string, body SchedulesV2UpdateOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateOverrideResponse, error)

	// ScheduleSyncTargetsV2ListWithResponse request
	ScheduleSyncTargetsV2ListWithResponse(ctx context.Context, params *ScheduleSyncTargetsV2ListParams, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2ListResponse, error)

	// ScheduleSyncTargetsV2CreateWithBodyWithResponse request with any body
	ScheduleSyncTargetsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2CreateResponse, error)

	ScheduleSyncTargetsV2CreateWithResponse(ctx context.Context, body ScheduleSyncTargetsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2CreateResponse, error)

	// ScheduleSyncTargetsV2DestroyWithResponse request
	ScheduleSyncTargetsV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2DestroyResponse, error)

	// ScheduleSyncTargetsV2ShowWithResponse request
	ScheduleSyncTargetsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2ShowResponse, error)

	// ScheduleSyncTargetsV2UpdateWithBodyWithResponse request with any body
	ScheduleSyncTargetsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2UpdateResponse, error)

	ScheduleSyncTargetsV2UpdateWithResponse(ctx context.Context, id string, body ScheduleSyncTargetsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleSyncTargetsV2UpdateResponse, error)

	// SchedulesV2ListWithResponse request
	SchedulesV2ListWithResponse(ctx context.Context, params *SchedulesV2ListParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListResponse, error)

	// SchedulesV2CreateWithBodyWithResponse request with any body
	SchedulesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateResponse, error)

	SchedulesV2CreateWithResponse(ctx context.Context, body SchedulesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateResponse, error)

	// SchedulesV2DestroyWithResponse request
	SchedulesV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyResponse, error)

	// SchedulesV2ShowWithResponse request
	SchedulesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowResponse, error)

	// SchedulesV2UpdateWithBodyWithResponse request with any body
	SchedulesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateResponse, error)

	SchedulesV2UpdateWithResponse(ctx context.Context, id string, body SchedulesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateResponse, error)

	// SchedulesV2PreviewScheduleEntriesWithBodyWithResponse request with any body
	SchedulesV2PreviewScheduleEntriesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2PreviewScheduleEntriesResponse, error)

	SchedulesV2PreviewScheduleEntriesWithResponse(ctx context.Context, id string, body SchedulesV2PreviewScheduleEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2PreviewScheduleEntriesResponse, error)

	// SchedulesV2ListScheduleReplicasWithResponse request
	SchedulesV2ListScheduleReplicasWithResponse(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*SchedulesV2ListScheduleReplicasResponse, error)

	// SchedulesV2CreateScheduleReplicaWithBodyWithResponse request with any body
	SchedulesV2CreateScheduleReplicaWithBodyWithResponse(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleReplicaResponse, error)

	SchedulesV2CreateScheduleReplicaWithResponse(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleReplicaResponse, error)

	// SchedulesV2DestroyScheduleReplicaWithResponse request
	SchedulesV2DestroyScheduleReplicaWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyScheduleReplicaResponse, error)

	// SchedulesV2ShowScheduleReplicaWithResponse request
	SchedulesV2ShowScheduleReplicaWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowScheduleReplicaResponse, error)

	// SchedulesV2ListScheduleSyncRulesWithResponse request
	SchedulesV2ListScheduleSyncRulesWithResponse(ctx context.Context, scheduleId string, params *SchedulesV2ListScheduleSyncRulesParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListScheduleSyncRulesResponse, error)

	// SchedulesV2CreateScheduleSyncRuleWithBodyWithResponse request with any body
	SchedulesV2CreateScheduleSyncRuleWithBodyWithResponse(ctx context.Context, scheduleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleSyncRuleResponse, error)

	SchedulesV2CreateScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, body SchedulesV2CreateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2CreateScheduleSyncRuleResponse, error)

	// SchedulesV2DestroyScheduleSyncRuleWithResponse request
	SchedulesV2DestroyScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2DestroyScheduleSyncRuleResponse, error)

	// SchedulesV2ShowScheduleSyncRuleWithResponse request
	SchedulesV2ShowScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, id string, reqEditors ...RequestEditorFn) (*SchedulesV2ShowScheduleSyncRuleResponse, error)

	// SchedulesV2UpdateScheduleSyncRuleWithBodyWithResponse request with any body
	SchedulesV2UpdateScheduleSyncRuleWithBodyWithResponse(ctx context.Context, scheduleId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateScheduleSyncRuleResponse, error)

	SchedulesV2UpdateScheduleSyncRuleWithResponse(ctx context.Context, scheduleId string, id string, body SchedulesV2UpdateScheduleSyncRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesV2UpdateScheduleSyncRuleResponse, error)

	// SecretsV2ListWithResponse request
	SecretsV2ListWithResponse(ctx context.Context, params *SecretsV2ListParams, reqEditors ...RequestEditorFn) (*SecretsV2ListResponse, error)

	// SecretsV2CreateWithBodyWithResponse request with any body
	SecretsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretsV2CreateResponse, error)

	SecretsV2CreateWithResponse(ctx context.Context, body SecretsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretsV2CreateResponse, error)

	// SecretsV2DestroyWithResponse request
	SecretsV2DestroyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SecretsV2DestroyResponse, error)

	// SecretsV2ShowWithResponse request
	SecretsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SecretsV2ShowResponse, error)

	// SecretsV2UpdateWithBodyWithResponse request with any body
	SecretsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretsV2UpdateResponse, error)

	SecretsV2UpdateWithResponse(ctx context.Context, id string, body SecretsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretsV2UpdateResponse, error)

	// SecretsV2RotateWithBodyWithResponse request with any body
	SecretsV2RotateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretsV2RotateResponse, error)

	SecretsV2RotateWithResponse(ctx context.Context, id string, body SecretsV2RotateJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretsV2RotateResponse, error)

	// StatusPagesV2CreateStatusPageIncidentUpdateWithBodyWithResponse request with any body
	StatusPagesV2CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageIncidentUpdateResponse, error)

	StatusPagesV2CreateStatusPageIncidentUpdateWithResponse(ctx context.Context, body StatusPagesV2CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageIncidentUpdateResponse, error)

	// StatusPagesV2ListStatusPageIncidentsWithResponse request
	StatusPagesV2ListStatusPageIncidentsWithResponse(ctx context.Context, params *StatusPagesV2ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*StatusPagesV2ListStatusPageIncidentsResponse, error)

	// StatusPagesV2CreateStatusPageIncidentWithBodyWithResponse request with any body
	StatusPagesV2CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageIncidentResponse, error)

	StatusPagesV2CreateStatusPageIncidentWithResponse(ctx context.Context, body StatusPagesV2CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageIncidentResponse, error)

	// StatusPagesV2ShowStatusPageIncidentWithResponse request
	StatusPagesV2ShowStatusPageIncidentWithResponse(ctx context.Context, statusPageIncidentId string, reqEditors ...RequestEditorFn) (*StatusPagesV2ShowStatusPageIncidentResponse, error)

	// StatusPagesV2UpdateStatusPageIncidentWithBodyWithResponse request with any body
	StatusPagesV2UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, statusPageIncidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageIncidentResponse, error)

	StatusPagesV2UpdateStatusPageIncidentWithResponse(ctx context.Context, statusPageIncidentId string, body StatusPagesV2UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageIncidentResponse, error)

	// StatusPagesV2CreateStatusPageMaintenanceUpdateWithBodyWithResponse request with any body
	StatusPagesV2CreateStatusPageMaintenanceUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageMaintenanceUpdateResponse, error)

	StatusPagesV2CreateStatusPageMaintenanceUpdateWithResponse(ctx context.Context, body StatusPagesV2CreateStatusPageMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageMaintenanceUpdateResponse, error)

	// StatusPagesV2ListStatusPageMaintenancesWithResponse request
	StatusPagesV2ListStatusPageMaintenancesWithResponse(ctx context.Context, params *StatusPagesV2ListStatusPageMaintenancesParams, reqEditors ...RequestEditorFn) (*StatusPagesV2ListStatusPageMaintenancesResponse, error)

	// StatusPagesV2CreateStatusPageMaintenanceWithBodyWithResponse request with any body
	StatusPagesV2CreateStatusPageMaintenanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageMaintenanceResponse, error)

	StatusPagesV2CreateStatusPageMaintenanceWithResponse(ctx context.Context, body StatusPagesV2CreateStatusPageMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageMaintenanceResponse, error)

	// StatusPagesV2DeleteStatusPageMaintenanceWithResponse request
	StatusPagesV2DeleteStatusPageMaintenanceWithResponse(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*StatusPagesV2DeleteStatusPageMaintenanceResponse, error)

	// StatusPagesV2ShowStatusPageMaintenanceWithResponse request
	StatusPagesV2ShowStatusPageMaintenanceWithResponse(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*StatusPagesV2ShowStatusPageMaintenanceResponse, error)

	// StatusPagesV2UpdateStatusPageMaintenanceWithBodyWithResponse request with any body
	StatusPagesV2UpdateStatusPageMaintenanceWithBodyWithResponse(ctx context.Context, statusPageMaintenanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageMaintenanceResponse, error)

	StatusPagesV2UpdateStatusPageMaintenanceWithResponse(ctx context.Context, statusPageMaintenanceId string, body StatusPagesV2UpdateStatusPageMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2UpdateStatusPageMaintenanceResponse, error)

	// StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBodyWithResponse request with any body
	StatusPagesV2CreateStatusPageRetrospectiveIncidentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse, error)

	StatusPagesV2CreateStatusPageRetrospectiveIncidentWithResponse(ctx context.Context, body StatusPagesV2CreateStatusPageRetrospectiveIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse, error)

	// StatusPagesV2ShowStatusPageStructureWithResponse request
	StatusPagesV2ShowStatusPageStructureWithResponse(ctx context.Context, statusPageId string, reqEditors ...RequestEditorFn) (*StatusPagesV2ShowStatusPageStructureResponse, error)

	// StatusPagesV2ListStatusPagesWithResponse request
	StatusPagesV2ListStatusPagesWithResponse(ctx context.Context, params *StatusPagesV2ListStatusPagesParams, reqEditors ...RequestEditorFn) (*StatusPagesV2ListStatusPagesResponse, error)

	// TelemetryV2UpdateDataSourceWithBodyWithResponse request with any body
	TelemetryV2UpdateDataSourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelemetryV2UpdateDataSourceResponse, error)

	TelemetryV2UpdateDataSourceWithResponse(ctx context.Context, id string, body TelemetryV2UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*TelemetryV2UpdateDataSourceResponse, error)

	// UsersV2ListWithResponse request
	UsersV2ListWithResponse(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*UsersV2ListResponse, error)

	// UsersV2ShowWithResponse request
	UsersV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersV2ShowResponse, error)

	// UsersV2ListNotificationMethodsWithResponse request
	UsersV2ListNotificationMethodsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UsersV2ListNotificationMethodsResponse, error)

	// UsersV2ListNotificationRulesWithResponse request
	UsersV2ListNotificationRulesWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UsersV2ListNotificationRulesResponse, error)

	// UsersV2ShowPagingProviderWithResponse request
	UsersV2ShowPagingProviderWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UsersV2ShowPagingProviderResponse, error)

	// UsersV2UpdatePagingProviderWithBodyWithResponse request with any body
	UsersV2UpdatePagingProviderWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersV2UpdatePagingProviderResponse, error)

	UsersV2UpdatePagingProviderWithResponse(ctx context.Context, userId string, body UsersV2UpdatePagingProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersV2UpdatePagingProviderResponse, error)

	// WorkflowRunsV2ListWithResponse request
	WorkflowRunsV2ListWithResponse(ctx context.Context, params *WorkflowRunsV2ListParams, reqEditors ...RequestEditorFn) (*WorkflowRunsV2ListResponse, error)

	// WorkflowRunsV2ShowWithResponse request
	WorkflowRunsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*WorkflowRunsV2ShowResponse, error)

	// WorkflowsV2ListWorkflowsWithResponse request
	WorkflowsV2ListWorkflowsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkflowsV2ListWorkflowsResponse, error)

	// WorkflowsV2CreateWorkflowWithBodyWithResponse request with any body
	WorkflowsV2CreateWorkflowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowsV2CreateWorkflowResponse, error)

	WorkflowsV2CreateWorkflowWithResponse(ctx context.Context, body WorkflowsV2CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowsV2CreateWorkflowResponse, error)

	// WorkflowsV2DestroyWorkflowWithResponse request
	WorkflowsV2DestroyWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*WorkflowsV2DestroyWorkflowResponse, error)

	// WorkflowsV2ShowWorkflowWithResponse request
	WorkflowsV2ShowWorkflowWithResponse(ctx context.Context, id string, params *WorkflowsV2ShowWorkflowParams, reqEditors ...RequestEditorFn) (*WorkflowsV2ShowWorkflowResponse, error)

	// WorkflowsV2UpdateWorkflowWithBodyWithResponse request with any body
	WorkflowsV2UpdateWorkflowWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowsV2UpdateWorkflowResponse, error)

	WorkflowsV2UpdateWorkflowWithResponse(ctx context.Context, id string, body WorkflowsV2UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowsV2UpdateWorkflowResponse, error)

	// ActionsV3ListWithResponse request
	ActionsV3ListWithResponse(ctx context.Context, params *ActionsV3ListParams, reqEditors ...RequestEditorFn) (*ActionsV3ListResponse, error)

	// ActionsV3CreateWithBodyWithResponse request with any body
	ActionsV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV3CreateResponse, error)

	ActionsV3CreateWithResponse(ctx context.Context, body ActionsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV3CreateResponse, error)

	// ActionsV3DeleteWithResponse request
	ActionsV3DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV3DeleteResponse, error)

	// ActionsV3ShowWithResponse request
	ActionsV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV3ShowResponse, error)

	// ActionsV3UpdateWithBodyWithResponse request with any body
	ActionsV3UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActionsV3UpdateResponse, error)

	ActionsV3UpdateWithResponse(ctx context.Context, id string, body ActionsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV3UpdateResponse, error)

	// AlertRoutesV3ListWithResponse request
	AlertRoutesV3ListWithResponse(ctx context.Context, params *AlertRoutesV3ListParams, reqEditors ...RequestEditorFn) (*AlertRoutesV3ListResponse, error)

	// AlertRoutesV3CreateWithBodyWithResponse request with any body
	AlertRoutesV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV3CreateResponse, error)

	AlertRoutesV3CreateWithResponse(ctx context.Context, body AlertRoutesV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV3CreateResponse, error)

	// AlertRoutesV3DeleteWithResponse request
	AlertRoutesV3DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV3DeleteResponse, error)

	// AlertRoutesV3ShowWithResponse request
	AlertRoutesV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AlertRoutesV3ShowResponse, error)

	// AlertRoutesV3UpdateWithBodyWithResponse request with any body
	AlertRoutesV3UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AlertRoutesV3UpdateResponse, error)

	AlertRoutesV3UpdateWithResponse(ctx context.Context, id string, body AlertRoutesV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AlertRoutesV3UpdateResponse, error)

	// CatalogV3ListEntriesWithResponse request
	CatalogV3ListEntriesWithResponse(ctx context.Context, params *CatalogV3ListEntriesParams, reqEditors ...RequestEditorFn) (*CatalogV3ListEntriesResponse, error)

	// CatalogV3CreateEntryWithBodyWithResponse request with any body
	CatalogV3CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3CreateEntryResponse, error)

	CatalogV3CreateEntryWithResponse(ctx context.Context, body CatalogV3CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3CreateEntryResponse, error)

	// CatalogV3BulkUpdateEntriesWithBodyWithResponse request with any body
	CatalogV3BulkUpdateEntriesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3BulkUpdateEntriesResponse, error)

	CatalogV3BulkUpdateEntriesWithResponse(ctx context.Context, body CatalogV3BulkUpdateEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3BulkUpdateEntriesResponse, error)

	// CatalogV3DestroyEntryWithResponse request
	CatalogV3DestroyEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV3DestroyEntryResponse, error)

	// CatalogV3ShowEntryWithResponse request
	CatalogV3ShowEntryWithResponse(ctx context.Context, id string, params *CatalogV3ShowEntryParams, reqEditors ...RequestEditorFn) (*CatalogV3ShowEntryResponse, error)

	// CatalogV3UpdateEntryWithBodyWithResponse request with any body
	CatalogV3UpdateEntryWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3UpdateEntryResponse, error)

	CatalogV3UpdateEntryWithResponse(ctx context.Context, id string, body CatalogV3UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3UpdateEntryResponse, error)

	// CatalogV3ListResourcesWithResponse request
	CatalogV3ListResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV3ListResourcesResponse, error)

	// CatalogV3ListTypesWithResponse request
	CatalogV3ListTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV3ListTypesResponse, error)

	// CatalogV3CreateTypeWithBodyWithResponse request with any body
	CatalogV3CreateTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3CreateTypeResponse, error)

	CatalogV3CreateTypeWithResponse(ctx context.Context, body CatalogV3CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3CreateTypeResponse, error)

	// CatalogV3DestroyTypeWithResponse request
	CatalogV3DestroyTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV3DestroyTypeResponse, error)

	// CatalogV3ShowTypeWithResponse request
	CatalogV3ShowTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV3ShowTypeResponse, error)

	// CatalogV3UpdateTypeWithBodyWithResponse request with any body
	CatalogV3UpdateTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeResponse, error)

	CatalogV3UpdateTypeWithResponse(ctx context.Context, id string, body CatalogV3UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeResponse, error)

	// CatalogV3UpdateTypeSchemaWithBodyWithResponse request with any body
	CatalogV3UpdateTypeSchemaWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeSchemaResponse, error)

	CatalogV3UpdateTypeSchemaWithResponse(ctx context.Context, id string, body CatalogV3UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV3UpdateTypeSchemaResponse, error)

	// FollowUpsV3ListWithResponse request
	FollowUpsV3ListWithResponse(ctx context.Context, params *FollowUpsV3ListParams, reqEditors ...RequestEditorFn) (*FollowUpsV3ListResponse, error)

	// FollowUpsV3CreateWithBodyWithResponse request with any body
	FollowUpsV3CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV3CreateResponse, error)

	FollowUpsV3CreateWithResponse(ctx context.Context, body FollowUpsV3CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV3CreateResponse, error)

	// FollowUpsV3DeleteWithResponse request
	FollowUpsV3DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV3DeleteResponse, error)

	// FollowUpsV3ShowWithResponse request
	FollowUpsV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV3ShowResponse, error)

	// FollowUpsV3UpdateWithBodyWithResponse request with any body
	FollowUpsV3UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV3UpdateResponse, error)

	FollowUpsV3UpdateWithResponse(ctx context.Context, id string, body FollowUpsV3UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV3UpdateResponse, error)

	// FollowUpsV3ConnectExternalIssueWithBodyWithResponse request with any body
	FollowUpsV3ConnectExternalIssueWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUpsV3ConnectExternalIssueResponse, error)

	FollowUpsV3ConnectExternalIssueWithResponse(ctx context.Context, id string, body FollowUpsV3ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV3ConnectExternalIssueResponse, error)

	// TeamsV3ListWithResponse request
	TeamsV3ListWithResponse(ctx context.Context, params *TeamsV3ListParams, reqEditors ...RequestEditorFn) (*TeamsV3ListResponse, error)

	// TeamsV3ShowWithResponse request
	TeamsV3ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*TeamsV3ShowResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConditionGroupPayloadV2 added in v1.0.1

type ConditionGroupPayloadV2 struct {
	// Conditions All conditions in this list must be satisfied for the group to be satisfied
	Conditions []ConditionPayloadV2 `json:"conditions"`
}

ConditionGroupPayloadV2 defines model for ConditionGroupPayloadV2.

type ConditionGroupPayloadV3 added in v1.0.9

type ConditionGroupPayloadV3 struct {
	// Conditions All conditions in this list must be satisfied for the group to be satisfied
	Conditions []ConditionPayloadV3 `json:"conditions"`
}

ConditionGroupPayloadV3 defines model for ConditionGroupPayloadV3.

type ConditionGroupV2 added in v1.0.1

type ConditionGroupV2 struct {
	// Conditions All conditions in this list must be satisfied for the group to be satisfied
	Conditions []ConditionV2 `json:"conditions"`
}

ConditionGroupV2 defines model for ConditionGroupV2.

type ConditionGroupV3 added in v1.0.9

type ConditionGroupV3 struct {
	// Conditions All conditions in this list must be satisfied for the group to be satisfied
	Conditions []ConditionV3 `json:"conditions"`
}

ConditionGroupV3 defines model for ConditionGroupV3.

type ConditionOperationV2 added in v1.0.1

type ConditionOperationV2 struct {
	// Label Human readable label to be displayed for user to select
	Label string `json:"label"`

	// Value Unique identifier for this option
	Value string `json:"value"`
}

ConditionOperationV2 defines model for ConditionOperationV2.

type ConditionOperationV3 added in v1.0.9

type ConditionOperationV3 struct {
	// Label Human readable label to be displayed for user to select
	Label string `json:"label"`

	// Value Unique identifier for this option
	Value string `json:"value"`
}

ConditionOperationV3 defines model for ConditionOperationV3.

type ConditionPayloadV2 added in v1.0.1

type ConditionPayloadV2 struct {
	// Operation The name of the operation on the subject
	Operation string `json:"operation"`

	// ParamBindings List of parameter bindings
	ParamBindings []EngineParamBindingPayloadV2 `json:"param_bindings"`

	// Subject The reference of the subject in the trigger scope
	Subject string `json:"subject"`
}

ConditionPayloadV2 defines model for ConditionPayloadV2.

type ConditionPayloadV3 added in v1.0.9

type ConditionPayloadV3 struct {
	// Operation The name of the operation on the subject
	Operation string `json:"operation"`

	// ParamBindings List of parameter bindings
	ParamBindings []EngineParamBindingPayloadV3 `json:"param_bindings"`

	// Subject The reference of the subject in the trigger scope
	Subject string `json:"subject"`
}

ConditionPayloadV3 defines model for ConditionPayloadV3.

type ConditionSubjectV2 added in v1.0.1

type ConditionSubjectV2 struct {
	// Label Human readable identifier for the subject
	Label string `json:"label"`

	// Reference Reference into the scope for the value of the subject
	Reference string `json:"reference"`
}

ConditionSubjectV2 defines model for ConditionSubjectV2.

type ConditionSubjectV3 added in v1.0.9

type ConditionSubjectV3 struct {
	// Label Human readable identifier for the subject
	Label string `json:"label"`

	// Reference Reference into the scope for the value of the subject
	Reference string `json:"reference"`
}

ConditionSubjectV3 defines model for ConditionSubjectV3.

type ConditionV2 added in v1.0.1

type ConditionV2 struct {
	Operation ConditionOperationV2 `json:"operation"`

	// ParamBindings Bindings for the operation parameters
	ParamBindings []EngineParamBindingV2 `json:"param_bindings"`
	Subject       ConditionSubjectV2     `json:"subject"`
}

ConditionV2 defines model for ConditionV2.

type ConditionV3 added in v1.0.9

type ConditionV3 struct {
	Operation ConditionOperationV3 `json:"operation"`

	// ParamBindings Bindings for the operation parameters
	ParamBindings []EngineParamBindingV3 `json:"param_bindings"`
	Subject       ConditionSubjectV3     `json:"subject"`
}

ConditionV3 defines model for ConditionV3.

type CustomFieldEntryPayloadV1 added in v1.0.1

type CustomFieldEntryPayloadV1 struct {
	// CustomFieldId ID of the custom field this entry is linked against
	CustomFieldId string `json:"custom_field_id"`

	// Values List of values to associate with this entry. Use an empty array to unset the value of the custom field.
	Values []CustomFieldValuePayloadV1 `json:"values"`
}

CustomFieldEntryPayloadV1 defines model for CustomFieldEntryPayloadV1.

type CustomFieldEntryPayloadV2 added in v1.0.1

type CustomFieldEntryPayloadV2 struct {
	// CustomFieldId ID of the custom field this entry is linked against
	CustomFieldId string `json:"custom_field_id"`

	// Values List of values to associate with this entry. Use an empty array to unset the value of the custom field.
	Values []CustomFieldValuePayloadV2 `json:"values"`
}

CustomFieldEntryPayloadV2 defines model for CustomFieldEntryPayloadV2.

type CustomFieldEntryV1 added in v1.0.1

type CustomFieldEntryV1 struct {
	CustomField CustomFieldTypeInfoV1 `json:"custom_field"`

	// Values List of custom field values set on this entry
	Values []CustomFieldValueV1 `json:"values"`
}

CustomFieldEntryV1 defines model for CustomFieldEntryV1.

type CustomFieldEntryV2 added in v1.0.1

type CustomFieldEntryV2 struct {
	CustomField CustomFieldTypeInfoV2 `json:"custom_field"`

	// Values List of custom field values set on this entry
	Values []CustomFieldValueV2 `json:"values"`
}

CustomFieldEntryV2 defines model for CustomFieldEntryV2.

type CustomFieldFilterByOptionsV2 added in v1.0.1

type CustomFieldFilterByOptionsV2 struct {
	// CatalogAttributeId This must be an attribute of the catalog type of this custom field. It must be an attribute that points to another catalog type (so not a plain string, number, or boolean attribute).
	CatalogAttributeId string `json:"catalog_attribute_id"`

	// CustomFieldId This must be the ID of a custom field, which must have values of the same type as the attribute you are filtering by.
	//
	// When this filtering field is set on an incident, the options for this custom field will be filtered to only those with the attribute value that matches the value of the filtering field.
	CustomFieldId string `json:"custom_field_id"`
}

CustomFieldFilterByOptionsV2 defines model for CustomFieldFilterByOptionsV2.

type CustomFieldFixedFilterOptionsV2 added in v1.0.1

type CustomFieldFixedFilterOptionsV2 struct {
	// CatalogAttributeId This must be an attribute of the catalog type of this custom field. It must be an attribute that points to another catalog type (so not a plain string, number, or boolean attribute).
	CatalogAttributeId string `json:"catalog_attribute_id"`

	// Values The catalog entry IDs (of the type the attribute points at) that the attribute must reference. The options for this custom field are restricted to entries matching one of these values.
	Values []string `json:"values"`
}

CustomFieldFixedFilterOptionsV2 defines model for CustomFieldFixedFilterOptionsV2.

type CustomFieldOptionV1 added in v1.0.1

type CustomFieldOptionV1 struct {
	// CustomFieldId ID of the custom field this option belongs to
	CustomFieldId string `json:"custom_field_id"`

	// Id Unique identifier for the custom field option
	Id string `json:"id"`

	// SortKey Sort key used to order the custom field options correctly
	SortKey int64 `json:"sort_key"`

	// Value Human readable name for the custom field option. Values must not start or end with whitespace, or contain tabs or newlines.
	Value string `json:"value"`
}

CustomFieldOptionV1 defines model for CustomFieldOptionV1.

type CustomFieldOptionV2 added in v1.0.1

type CustomFieldOptionV2 struct {
	// CustomFieldId ID of the custom field this option belongs to
	CustomFieldId string `json:"custom_field_id"`

	// Id Unique identifier for the custom field option
	Id string `json:"id"`

	// SortKey Sort key used to order the custom field options correctly
	SortKey int64 `json:"sort_key"`

	// Value Human readable name for the custom field option. Values must not start or end with whitespace, or contain tabs or newlines.
	Value string `json:"value"`
}

CustomFieldOptionV2 defines model for CustomFieldOptionV2.

type CustomFieldOptionsCreatePayloadV1 added in v1.0.1

type CustomFieldOptionsCreatePayloadV1 struct {
	// CustomFieldId ID of the custom field this option belongs to
	CustomFieldId string `json:"custom_field_id"`

	// SortKey Sort key used to order the custom field options correctly
	SortKey *int64 `json:"sort_key,omitempty"`

	// Value Human readable name for the custom field option. Values must not start or end with whitespace, or contain tabs or newlines.
	Value string `json:"value"`
}

CustomFieldOptionsCreatePayloadV1 defines model for CustomFieldOptionsCreatePayloadV1.

type CustomFieldOptionsCreateResultV1 added in v1.0.1

type CustomFieldOptionsCreateResultV1 struct {
	CustomFieldOption CustomFieldOptionV1 `json:"custom_field_option"`
}

CustomFieldOptionsCreateResultV1 defines model for CustomFieldOptionsCreateResultV1.

type CustomFieldOptionsListResultV1 added in v1.0.1

type CustomFieldOptionsListResultV1 struct {
	CustomFieldOptions []CustomFieldOptionV1  `json:"custom_field_options"`
	PaginationMeta     PaginationMetaResultV1 `json:"pagination_meta"`
}

CustomFieldOptionsListResultV1 defines model for CustomFieldOptionsListResultV1.

type CustomFieldOptionsShowResultV1 added in v1.0.1

type CustomFieldOptionsShowResultV1 struct {
	CustomFieldOption CustomFieldOptionV1 `json:"custom_field_option"`
}

CustomFieldOptionsShowResultV1 defines model for CustomFieldOptionsShowResultV1.

type CustomFieldOptionsUpdatePayloadV1 added in v1.0.1

type CustomFieldOptionsUpdatePayloadV1 struct {
	// SortKey Sort key used to order the custom field options correctly
	SortKey int64 `json:"sort_key"`

	// Value Human readable name for the custom field option. Values must not start or end with whitespace, or contain tabs or newlines.
	Value string `json:"value"`
}

CustomFieldOptionsUpdatePayloadV1 defines model for CustomFieldOptionsUpdatePayloadV1.

type CustomFieldOptionsUpdateResultV1 added in v1.0.1

type CustomFieldOptionsUpdateResultV1 struct {
	CustomFieldOption CustomFieldOptionV1 `json:"custom_field_option"`
}

CustomFieldOptionsUpdateResultV1 defines model for CustomFieldOptionsUpdateResultV1.

type CustomFieldOptionsV1CreateJSONRequestBody added in v1.0.1

type CustomFieldOptionsV1CreateJSONRequestBody = CustomFieldOptionsCreatePayloadV1

CustomFieldOptionsV1CreateJSONRequestBody defines body for CustomFieldOptionsV1Create for application/json ContentType.

type CustomFieldOptionsV1CreateResponse added in v1.0.1

type CustomFieldOptionsV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CustomFieldOptionsCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldOptionsV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldOptionsV1CreateResponse) StatusCode added in v1.0.1

func (r CustomFieldOptionsV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldOptionsV1DeleteResponse added in v1.0.1

type CustomFieldOptionsV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldOptionsV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldOptionsV1DeleteResponse) StatusCode added in v1.0.1

func (r CustomFieldOptionsV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldOptionsV1ListParams added in v1.0.1

type CustomFieldOptionsV1ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A custom field option's ID. This endpoint will return a list of custom field options created after this option.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// CustomFieldId The custom field to list options for.
	CustomFieldId string `form:"custom_field_id" json:"custom_field_id"`
}

CustomFieldOptionsV1ListParams defines parameters for CustomFieldOptionsV1List.

type CustomFieldOptionsV1ListResponse added in v1.0.1

type CustomFieldOptionsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldOptionsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldOptionsV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldOptionsV1ListResponse) StatusCode added in v1.0.1

func (r CustomFieldOptionsV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldOptionsV1ShowResponse added in v1.0.1

type CustomFieldOptionsV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldOptionsShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldOptionsV1ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldOptionsV1ShowResponse) StatusCode added in v1.0.1

func (r CustomFieldOptionsV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldOptionsV1UpdateJSONRequestBody added in v1.0.1

type CustomFieldOptionsV1UpdateJSONRequestBody = CustomFieldOptionsUpdatePayloadV1

CustomFieldOptionsV1UpdateJSONRequestBody defines body for CustomFieldOptionsV1Update for application/json ContentType.

type CustomFieldOptionsV1UpdateResponse added in v1.0.1

type CustomFieldOptionsV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldOptionsUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldOptionsV1UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldOptionsV1UpdateResponse) StatusCode added in v1.0.1

func (r CustomFieldOptionsV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldTypeInfoV1 added in v1.0.1

type CustomFieldTypeInfoV1 struct {
	// Description Description of the custom field
	Description string `json:"description"`

	// FieldType Type of custom field
	FieldType CustomFieldTypeInfoV1FieldType `json:"field_type"`

	// Id Unique identifier for the custom field
	Id string `json:"id"`

	// Name Human readable name for the custom field
	Name string `json:"name"`

	// Options What options are available for this custom field, if this field has options
	Options []CustomFieldOptionV1 `json:"options"`
}

CustomFieldTypeInfoV1 defines model for CustomFieldTypeInfoV1.

type CustomFieldTypeInfoV1FieldType added in v1.0.1

type CustomFieldTypeInfoV1FieldType string

CustomFieldTypeInfoV1FieldType Type of custom field

const (
	CustomFieldTypeInfoV1FieldTypeLink         CustomFieldTypeInfoV1FieldType = "link"
	CustomFieldTypeInfoV1FieldTypeMultiSelect  CustomFieldTypeInfoV1FieldType = "multi_select"
	CustomFieldTypeInfoV1FieldTypeNumeric      CustomFieldTypeInfoV1FieldType = "numeric"
	CustomFieldTypeInfoV1FieldTypeSingleSelect CustomFieldTypeInfoV1FieldType = "single_select"
	CustomFieldTypeInfoV1FieldTypeText         CustomFieldTypeInfoV1FieldType = "text"
)

Defines values for CustomFieldTypeInfoV1FieldType.

func (CustomFieldTypeInfoV1FieldType) Valid added in v1.0.1

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

type CustomFieldTypeInfoV2 added in v1.0.1

type CustomFieldTypeInfoV2 struct {
	// Description Description of the custom field
	Description string `json:"description"`

	// FieldType Type of custom field
	FieldType CustomFieldTypeInfoV2FieldType `json:"field_type"`

	// Id Unique identifier for the custom field
	Id string `json:"id"`

	// Name Human readable name for the custom field
	Name string `json:"name"`

	// Options What options are available for this custom field, if this field has options
	Options []CustomFieldOptionV2 `json:"options"`
}

CustomFieldTypeInfoV2 defines model for CustomFieldTypeInfoV2.

type CustomFieldTypeInfoV2FieldType added in v1.0.1

type CustomFieldTypeInfoV2FieldType string

CustomFieldTypeInfoV2FieldType Type of custom field

const (
	CustomFieldTypeInfoV2FieldTypeLink         CustomFieldTypeInfoV2FieldType = "link"
	CustomFieldTypeInfoV2FieldTypeMultiSelect  CustomFieldTypeInfoV2FieldType = "multi_select"
	CustomFieldTypeInfoV2FieldTypeNumeric      CustomFieldTypeInfoV2FieldType = "numeric"
	CustomFieldTypeInfoV2FieldTypeSingleSelect CustomFieldTypeInfoV2FieldType = "single_select"
	CustomFieldTypeInfoV2FieldTypeText         CustomFieldTypeInfoV2FieldType = "text"
)

Defines values for CustomFieldTypeInfoV2FieldType.

func (CustomFieldTypeInfoV2FieldType) Valid added in v1.0.1

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

type CustomFieldV1 added in v1.0.1

type CustomFieldV1 struct {
	// CatalogTypeId For catalog fields, the ID of the associated catalog type
	CatalogTypeId *string `json:"catalog_type_id,omitempty"`

	// CreatedAt When the action was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the custom field
	Description string `json:"description"`

	// FieldType Type of custom field
	FieldType CustomFieldV1FieldType `json:"field_type"`

	// Id Unique identifier for the custom field
	Id string `json:"id"`

	// Name Human readable name for the custom field
	Name string `json:"name"`

	// Options What options are available for this custom field, if this field has options
	Options []CustomFieldOptionV1 `json:"options"`

	// Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].
	Required *CustomFieldV1Required `json:"required,omitempty"`

	// RequiredV2 When this custom field must be set during the incident lifecycle.
	RequiredV2 *CustomFieldV1RequiredV2 `json:"required_v2,omitempty"`

	// ShowBeforeClosure Whether a custom field should be shown in the incident resolve modal. If this custom field is required before resolution, but no value has been set for it, the field will be shown in the resolve modal whatever the value of this setting.
	ShowBeforeClosure bool `json:"show_before_closure"`

	// ShowBeforeCreation Whether a custom field should be shown in the incident creation modal. This must be true if the field is always required.
	ShowBeforeCreation bool `json:"show_before_creation"`

	// ShowBeforeUpdate Whether a custom field should be shown in the incident update modal.
	ShowBeforeUpdate bool `json:"show_before_update"`

	// ShowInAnnouncementPost Whether a custom field should be shown in the list of fields as part of the announcement post when set.
	ShowInAnnouncementPost *bool `json:"show_in_announcement_post,omitempty"`

	// UpdatedAt When the action was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

CustomFieldV1 defines model for CustomFieldV1.

type CustomFieldV1FieldType added in v1.0.1

type CustomFieldV1FieldType string

CustomFieldV1FieldType Type of custom field

const (
	CustomFieldV1FieldTypeLink         CustomFieldV1FieldType = "link"
	CustomFieldV1FieldTypeMultiSelect  CustomFieldV1FieldType = "multi_select"
	CustomFieldV1FieldTypeNumeric      CustomFieldV1FieldType = "numeric"
	CustomFieldV1FieldTypeSingleSelect CustomFieldV1FieldType = "single_select"
	CustomFieldV1FieldTypeText         CustomFieldV1FieldType = "text"
)

Defines values for CustomFieldV1FieldType.

func (CustomFieldV1FieldType) Valid added in v1.0.1

func (e CustomFieldV1FieldType) Valid() bool

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

type CustomFieldV1Required added in v1.0.1

type CustomFieldV1Required string

CustomFieldV1Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].

const (
	CustomFieldV1RequiredAlways        CustomFieldV1Required = "always"
	CustomFieldV1RequiredBeforeClosure CustomFieldV1Required = "before_closure"
	CustomFieldV1RequiredNever         CustomFieldV1Required = "never"
)

Defines values for CustomFieldV1Required.

func (CustomFieldV1Required) Valid added in v1.0.1

func (e CustomFieldV1Required) Valid() bool

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

type CustomFieldV1RequiredV2 added in v1.0.1

type CustomFieldV1RequiredV2 string

CustomFieldV1RequiredV2 When this custom field must be set during the incident lifecycle.

const (
	CustomFieldV1RequiredV2Always           CustomFieldV1RequiredV2 = "always"
	CustomFieldV1RequiredV2BeforeResolution CustomFieldV1RequiredV2 = "before_resolution"
	CustomFieldV1RequiredV2Never            CustomFieldV1RequiredV2 = "never"
)

Defines values for CustomFieldV1RequiredV2.

func (CustomFieldV1RequiredV2) Valid added in v1.0.1

func (e CustomFieldV1RequiredV2) Valid() bool

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

type CustomFieldV2 added in v1.0.1

type CustomFieldV2 struct {
	// CatalogTypeId For catalog fields, the ID of the associated catalog type
	CatalogTypeId *string `json:"catalog_type_id,omitempty"`

	// CreatedAt When the action was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the custom field
	Description string `json:"description"`

	// FieldType Type of custom field
	FieldType   CustomFieldV2FieldType           `json:"field_type"`
	FilterBy    *CustomFieldFilterByOptionsV2    `json:"filter_by,omitempty"`
	FixedFilter *CustomFieldFixedFilterOptionsV2 `json:"fixed_filter,omitempty"`

	// GroupByCatalogAttributeId For catalog fields, the ID of the attribute used to group catalog entries (if applicable)
	GroupByCatalogAttributeId *string `json:"group_by_catalog_attribute_id,omitempty"`

	// HelptextCatalogAttributeId Which catalog attribute provides helptext for the options
	HelptextCatalogAttributeId *string `json:"helptext_catalog_attribute_id,omitempty"`

	// Id Unique identifier for the custom field
	Id string `json:"id"`

	// Name Human readable name for the custom field
	Name string `json:"name"`

	// UpdatedAt When the action was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

CustomFieldV2 defines model for CustomFieldV2.

type CustomFieldV2FieldType added in v1.0.1

type CustomFieldV2FieldType string

CustomFieldV2FieldType Type of custom field

const (
	CustomFieldV2FieldTypeLink         CustomFieldV2FieldType = "link"
	CustomFieldV2FieldTypeMultiSelect  CustomFieldV2FieldType = "multi_select"
	CustomFieldV2FieldTypeNumeric      CustomFieldV2FieldType = "numeric"
	CustomFieldV2FieldTypeSingleSelect CustomFieldV2FieldType = "single_select"
	CustomFieldV2FieldTypeText         CustomFieldV2FieldType = "text"
)

Defines values for CustomFieldV2FieldType.

func (CustomFieldV2FieldType) Valid added in v1.0.1

func (e CustomFieldV2FieldType) Valid() bool

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

type CustomFieldValuePayloadV1 added in v1.0.1

type CustomFieldValuePayloadV1 struct {
	// Id Unique identifier for the custom field value
	Id *string `json:"id,omitempty"`

	// ValueCatalogEntryId ID of the catalog entry. You can also use an ExternalID or an Alias of the catalog entry.
	ValueCatalogEntryId *string `json:"value_catalog_entry_id,omitempty"`

	// ValueLink If the custom field type is 'link', this will contain the value assigned.
	ValueLink *string `json:"value_link,omitempty"`

	// ValueNumeric If the custom field type is 'numeric', this will contain the value assigned.
	ValueNumeric *string `json:"value_numeric,omitempty"`

	// ValueOptionId ID of the custom field option
	ValueOptionId *string `json:"value_option_id,omitempty"`

	// ValueText If the custom field type is 'text', this will contain the value assigned.
	ValueText *string `json:"value_text,omitempty"`

	// ValueTimestamp Deprecated: please use incident timestamp values instead
	ValueTimestamp *string `json:"value_timestamp,omitempty"`
}

CustomFieldValuePayloadV1 defines model for CustomFieldValuePayloadV1.

type CustomFieldValuePayloadV2 added in v1.0.1

type CustomFieldValuePayloadV2 struct {
	// Id Unique identifier for the custom field value
	Id *string `json:"id,omitempty"`

	// ValueCatalogEntryId ID of the catalog entry. You can also use an ExternalID or an Alias of the catalog entry.
	ValueCatalogEntryId *string `json:"value_catalog_entry_id,omitempty"`

	// ValueLink If the custom field type is 'link', this will contain the value assigned.
	ValueLink *string `json:"value_link,omitempty"`

	// ValueNumeric If the custom field type is 'numeric', this will contain the value assigned.
	ValueNumeric *string `json:"value_numeric,omitempty"`

	// ValueOptionId ID of the custom field option
	ValueOptionId *string `json:"value_option_id,omitempty"`

	// ValueText If the custom field type is 'text', this will contain the value assigned.
	ValueText *string `json:"value_text,omitempty"`

	// ValueTimestamp Deprecated: please use incident timestamp values instead
	ValueTimestamp *string `json:"value_timestamp,omitempty"`
}

CustomFieldValuePayloadV2 defines model for CustomFieldValuePayloadV2.

type CustomFieldValueV1 added in v1.0.1

type CustomFieldValueV1 struct {
	ValueCatalogEntry *EmbeddedCatalogEntryV1 `json:"value_catalog_entry,omitempty"`

	// ValueLink If the custom field type is 'link', this will contain the value assigned.
	ValueLink *string `json:"value_link,omitempty"`

	// ValueNumeric If the custom field type is 'numeric', this will contain the value assigned.
	ValueNumeric *string              `json:"value_numeric,omitempty"`
	ValueOption  *CustomFieldOptionV1 `json:"value_option,omitempty"`

	// ValueText If the custom field type is 'text', this will contain the value assigned.
	ValueText *string `json:"value_text,omitempty"`
}

CustomFieldValueV1 defines model for CustomFieldValueV1.

type CustomFieldValueV2 added in v1.0.1

type CustomFieldValueV2 struct {
	ValueCatalogEntry *EmbeddedCatalogEntryV2 `json:"value_catalog_entry,omitempty"`

	// ValueLink If the custom field type is 'link', this will contain the value assigned.
	ValueLink *string `json:"value_link,omitempty"`

	// ValueNumeric If the custom field type is 'numeric', this will contain the value assigned.
	ValueNumeric *string              `json:"value_numeric,omitempty"`
	ValueOption  *CustomFieldOptionV2 `json:"value_option,omitempty"`

	// ValueText If the custom field type is 'text', this will contain the value assigned.
	ValueText *string `json:"value_text,omitempty"`
}

CustomFieldValueV2 defines model for CustomFieldValueV2.

type CustomFieldsCreatePayloadV1 added in v1.0.1

type CustomFieldsCreatePayloadV1 struct {
	// Description Description of the custom field
	Description string `json:"description"`

	// FieldType Type of custom field
	FieldType CustomFieldsCreatePayloadV1FieldType `json:"field_type"`

	// Name Human readable name for the custom field
	Name string `json:"name"`

	// Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].
	Required *CustomFieldsCreatePayloadV1Required `json:"required,omitempty"`

	// RequiredV2 When this custom field must be set during the incident lifecycle.
	RequiredV2 *CustomFieldsCreatePayloadV1RequiredV2 `json:"required_v2,omitempty"`

	// ShowBeforeClosure Whether a custom field should be shown in the incident resolve modal. If this custom field is required before resolution, but no value has been set for it, the field will be shown in the resolve modal whatever the value of this setting.
	ShowBeforeClosure bool `json:"show_before_closure"`

	// ShowBeforeCreation Whether a custom field should be shown in the incident creation modal. This must be true if the field is always required.
	ShowBeforeCreation bool `json:"show_before_creation"`

	// ShowBeforeUpdate Whether a custom field should be shown in the incident update modal.
	ShowBeforeUpdate bool `json:"show_before_update"`

	// ShowInAnnouncementPost Whether a custom field should be shown in the list of fields as part of the announcement post when set.
	ShowInAnnouncementPost *bool `json:"show_in_announcement_post,omitempty"`
}

CustomFieldsCreatePayloadV1 defines model for CustomFieldsCreatePayloadV1.

type CustomFieldsCreatePayloadV1FieldType added in v1.0.1

type CustomFieldsCreatePayloadV1FieldType string

CustomFieldsCreatePayloadV1FieldType Type of custom field

const (
	CustomFieldsCreatePayloadV1FieldTypeLink         CustomFieldsCreatePayloadV1FieldType = "link"
	CustomFieldsCreatePayloadV1FieldTypeMultiSelect  CustomFieldsCreatePayloadV1FieldType = "multi_select"
	CustomFieldsCreatePayloadV1FieldTypeNumeric      CustomFieldsCreatePayloadV1FieldType = "numeric"
	CustomFieldsCreatePayloadV1FieldTypeSingleSelect CustomFieldsCreatePayloadV1FieldType = "single_select"
	CustomFieldsCreatePayloadV1FieldTypeText         CustomFieldsCreatePayloadV1FieldType = "text"
)

Defines values for CustomFieldsCreatePayloadV1FieldType.

func (CustomFieldsCreatePayloadV1FieldType) Valid added in v1.0.1

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

type CustomFieldsCreatePayloadV1Required added in v1.0.1

type CustomFieldsCreatePayloadV1Required string

CustomFieldsCreatePayloadV1Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].

const (
	CustomFieldsCreatePayloadV1RequiredAlways        CustomFieldsCreatePayloadV1Required = "always"
	CustomFieldsCreatePayloadV1RequiredBeforeClosure CustomFieldsCreatePayloadV1Required = "before_closure"
	CustomFieldsCreatePayloadV1RequiredNever         CustomFieldsCreatePayloadV1Required = "never"
)

Defines values for CustomFieldsCreatePayloadV1Required.

func (CustomFieldsCreatePayloadV1Required) Valid added in v1.0.1

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

type CustomFieldsCreatePayloadV1RequiredV2 added in v1.0.1

type CustomFieldsCreatePayloadV1RequiredV2 string

CustomFieldsCreatePayloadV1RequiredV2 When this custom field must be set during the incident lifecycle.

const (
	CustomFieldsCreatePayloadV1RequiredV2Always           CustomFieldsCreatePayloadV1RequiredV2 = "always"
	CustomFieldsCreatePayloadV1RequiredV2BeforeResolution CustomFieldsCreatePayloadV1RequiredV2 = "before_resolution"
	CustomFieldsCreatePayloadV1RequiredV2Never            CustomFieldsCreatePayloadV1RequiredV2 = "never"
)

Defines values for CustomFieldsCreatePayloadV1RequiredV2.

func (CustomFieldsCreatePayloadV1RequiredV2) Valid added in v1.0.1

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

type CustomFieldsCreatePayloadV2 added in v1.0.1

type CustomFieldsCreatePayloadV2 struct {
	// CatalogTypeId For catalog fields, the ID of the associated catalog type
	CatalogTypeId *string `json:"catalog_type_id,omitempty"`

	// Description Description of the custom field
	Description string `json:"description"`

	// FieldType Type of custom field
	FieldType   CustomFieldsCreatePayloadV2FieldType `json:"field_type"`
	FilterBy    *CustomFieldFilterByOptionsV2        `json:"filter_by,omitempty"`
	FixedFilter *CustomFieldFixedFilterOptionsV2     `json:"fixed_filter,omitempty"`

	// GroupByCatalogAttributeId For catalog fields, the ID of the attribute used to group catalog entries (if applicable)
	GroupByCatalogAttributeId *string `json:"group_by_catalog_attribute_id,omitempty"`

	// HelptextCatalogAttributeId Which catalog attribute provides helptext for the options
	HelptextCatalogAttributeId *string `json:"helptext_catalog_attribute_id,omitempty"`

	// Name Human readable name for the custom field
	Name string `json:"name"`
}

CustomFieldsCreatePayloadV2 defines model for CustomFieldsCreatePayloadV2.

type CustomFieldsCreatePayloadV2FieldType added in v1.0.1

type CustomFieldsCreatePayloadV2FieldType string

CustomFieldsCreatePayloadV2FieldType Type of custom field

const (
	CustomFieldsCreatePayloadV2FieldTypeLink         CustomFieldsCreatePayloadV2FieldType = "link"
	CustomFieldsCreatePayloadV2FieldTypeMultiSelect  CustomFieldsCreatePayloadV2FieldType = "multi_select"
	CustomFieldsCreatePayloadV2FieldTypeNumeric      CustomFieldsCreatePayloadV2FieldType = "numeric"
	CustomFieldsCreatePayloadV2FieldTypeSingleSelect CustomFieldsCreatePayloadV2FieldType = "single_select"
	CustomFieldsCreatePayloadV2FieldTypeText         CustomFieldsCreatePayloadV2FieldType = "text"
)

Defines values for CustomFieldsCreatePayloadV2FieldType.

func (CustomFieldsCreatePayloadV2FieldType) Valid added in v1.0.1

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

type CustomFieldsCreateResultV1 added in v1.0.1

type CustomFieldsCreateResultV1 struct {
	CustomField CustomFieldV1 `json:"custom_field"`
}

CustomFieldsCreateResultV1 defines model for CustomFieldsCreateResultV1.

type CustomFieldsCreateResultV2 added in v1.0.1

type CustomFieldsCreateResultV2 struct {
	CustomField CustomFieldV2 `json:"custom_field"`
}

CustomFieldsCreateResultV2 defines model for CustomFieldsCreateResultV2.

type CustomFieldsListResultV1 added in v1.0.1

type CustomFieldsListResultV1 struct {
	CustomFields []CustomFieldV1 `json:"custom_fields"`
}

CustomFieldsListResultV1 defines model for CustomFieldsListResultV1.

type CustomFieldsListResultV2 added in v1.0.1

type CustomFieldsListResultV2 struct {
	CustomFields []CustomFieldV2 `json:"custom_fields"`
}

CustomFieldsListResultV2 defines model for CustomFieldsListResultV2.

type CustomFieldsShowResultV1 added in v1.0.1

type CustomFieldsShowResultV1 struct {
	CustomField CustomFieldV1 `json:"custom_field"`
}

CustomFieldsShowResultV1 defines model for CustomFieldsShowResultV1.

type CustomFieldsShowResultV2 added in v1.0.1

type CustomFieldsShowResultV2 struct {
	CustomField CustomFieldV2 `json:"custom_field"`
}

CustomFieldsShowResultV2 defines model for CustomFieldsShowResultV2.

type CustomFieldsUpdatePayloadV1 added in v1.0.1

type CustomFieldsUpdatePayloadV1 struct {
	// Description Description of the custom field
	Description string `json:"description"`

	// Name Human readable name for the custom field
	Name string `json:"name"`

	// Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].
	Required *CustomFieldsUpdatePayloadV1Required `json:"required,omitempty"`

	// RequiredV2 When this custom field must be set during the incident lifecycle.
	RequiredV2 *CustomFieldsUpdatePayloadV1RequiredV2 `json:"required_v2,omitempty"`

	// ShowBeforeClosure Whether a custom field should be shown in the incident resolve modal. If this custom field is required before resolution, but no value has been set for it, the field will be shown in the resolve modal whatever the value of this setting.
	ShowBeforeClosure bool `json:"show_before_closure"`

	// ShowBeforeCreation Whether a custom field should be shown in the incident creation modal. This must be true if the field is always required.
	ShowBeforeCreation bool `json:"show_before_creation"`

	// ShowBeforeUpdate Whether a custom field should be shown in the incident update modal.
	ShowBeforeUpdate bool `json:"show_before_update"`

	// ShowInAnnouncementPost Whether a custom field should be shown in the list of fields as part of the announcement post when set.
	ShowInAnnouncementPost *bool `json:"show_in_announcement_post,omitempty"`
}

CustomFieldsUpdatePayloadV1 defines model for CustomFieldsUpdatePayloadV1.

type CustomFieldsUpdatePayloadV1Required added in v1.0.1

type CustomFieldsUpdatePayloadV1Required string

CustomFieldsUpdatePayloadV1Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].

const (
	CustomFieldsUpdatePayloadV1RequiredAlways        CustomFieldsUpdatePayloadV1Required = "always"
	CustomFieldsUpdatePayloadV1RequiredBeforeClosure CustomFieldsUpdatePayloadV1Required = "before_closure"
	CustomFieldsUpdatePayloadV1RequiredNever         CustomFieldsUpdatePayloadV1Required = "never"
)

Defines values for CustomFieldsUpdatePayloadV1Required.

func (CustomFieldsUpdatePayloadV1Required) Valid added in v1.0.1

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

type CustomFieldsUpdatePayloadV1RequiredV2 added in v1.0.1

type CustomFieldsUpdatePayloadV1RequiredV2 string

CustomFieldsUpdatePayloadV1RequiredV2 When this custom field must be set during the incident lifecycle.

const (
	CustomFieldsUpdatePayloadV1RequiredV2Always           CustomFieldsUpdatePayloadV1RequiredV2 = "always"
	CustomFieldsUpdatePayloadV1RequiredV2BeforeResolution CustomFieldsUpdatePayloadV1RequiredV2 = "before_resolution"
	CustomFieldsUpdatePayloadV1RequiredV2Never            CustomFieldsUpdatePayloadV1RequiredV2 = "never"
)

Defines values for CustomFieldsUpdatePayloadV1RequiredV2.

func (CustomFieldsUpdatePayloadV1RequiredV2) Valid added in v1.0.1

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

type CustomFieldsUpdatePayloadV2 added in v1.0.1

type CustomFieldsUpdatePayloadV2 struct {
	// Description Description of the custom field
	Description string                           `json:"description"`
	FilterBy    *CustomFieldFilterByOptionsV2    `json:"filter_by,omitempty"`
	FixedFilter *CustomFieldFixedFilterOptionsV2 `json:"fixed_filter,omitempty"`

	// GroupByCatalogAttributeId For catalog fields, the ID of the attribute used to group catalog entries (if applicable)
	GroupByCatalogAttributeId *string `json:"group_by_catalog_attribute_id,omitempty"`

	// HelptextCatalogAttributeId Which catalog attribute provides helptext for the options
	HelptextCatalogAttributeId *string `json:"helptext_catalog_attribute_id,omitempty"`

	// Name Human readable name for the custom field
	Name string `json:"name"`
}

CustomFieldsUpdatePayloadV2 defines model for CustomFieldsUpdatePayloadV2.

type CustomFieldsUpdateResultV1 added in v1.0.1

type CustomFieldsUpdateResultV1 struct {
	CustomField CustomFieldV1 `json:"custom_field"`
}

CustomFieldsUpdateResultV1 defines model for CustomFieldsUpdateResultV1.

type CustomFieldsUpdateResultV2 added in v1.0.1

type CustomFieldsUpdateResultV2 struct {
	CustomField CustomFieldV2 `json:"custom_field"`
}

CustomFieldsUpdateResultV2 defines model for CustomFieldsUpdateResultV2.

type CustomFieldsV1CreateJSONRequestBody added in v1.0.1

type CustomFieldsV1CreateJSONRequestBody = CustomFieldsCreatePayloadV1

CustomFieldsV1CreateJSONRequestBody defines body for CustomFieldsV1Create for application/json ContentType.

type CustomFieldsV1CreateResponse added in v1.0.1

type CustomFieldsV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CustomFieldsCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV1CreateResponse) StatusCode added in v1.0.1

func (r CustomFieldsV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV1DeleteResponse added in v1.0.1

type CustomFieldsV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV1DeleteResponse) StatusCode added in v1.0.1

func (r CustomFieldsV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV1ListResponse added in v1.0.1

type CustomFieldsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV1ListResponse) StatusCode added in v1.0.1

func (r CustomFieldsV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV1ShowResponse added in v1.0.1

type CustomFieldsV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldsShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV1ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV1ShowResponse) StatusCode added in v1.0.1

func (r CustomFieldsV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV1UpdateJSONRequestBody added in v1.0.1

type CustomFieldsV1UpdateJSONRequestBody = CustomFieldsUpdatePayloadV1

CustomFieldsV1UpdateJSONRequestBody defines body for CustomFieldsV1Update for application/json ContentType.

type CustomFieldsV1UpdateResponse added in v1.0.1

type CustomFieldsV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldsUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV1UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV1UpdateResponse) StatusCode added in v1.0.1

func (r CustomFieldsV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV2CreateJSONRequestBody added in v1.0.1

type CustomFieldsV2CreateJSONRequestBody = CustomFieldsCreatePayloadV2

CustomFieldsV2CreateJSONRequestBody defines body for CustomFieldsV2Create for application/json ContentType.

type CustomFieldsV2CreateResponse added in v1.0.1

type CustomFieldsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CustomFieldsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV2CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV2CreateResponse) StatusCode added in v1.0.1

func (r CustomFieldsV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV2DeleteResponse added in v1.0.1

type CustomFieldsV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV2DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV2DeleteResponse) StatusCode added in v1.0.1

func (r CustomFieldsV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV2ListResponse added in v1.0.1

type CustomFieldsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV2ListResponse) StatusCode added in v1.0.1

func (r CustomFieldsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV2ShowResponse added in v1.0.1

type CustomFieldsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV2ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV2ShowResponse) StatusCode added in v1.0.1

func (r CustomFieldsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldsV2UpdateJSONRequestBody added in v1.0.1

type CustomFieldsV2UpdateJSONRequestBody = CustomFieldsUpdatePayloadV2

CustomFieldsV2UpdateJSONRequestBody defines body for CustomFieldsV2Update for application/json ContentType.

type CustomFieldsV2UpdateResponse added in v1.0.1

type CustomFieldsV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomFieldsUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (CustomFieldsV2UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (CustomFieldsV2UpdateResponse) StatusCode added in v1.0.1

func (r CustomFieldsV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EmbeddedCatalogEntryV1 added in v1.0.1

type EmbeddedCatalogEntryV1 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases *[]string `json:"aliases,omitempty"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Id ID of this catalog entry
	Id string `json:"id"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`
}

EmbeddedCatalogEntryV1 defines model for EmbeddedCatalogEntryV1.

type EmbeddedCatalogEntryV2 added in v1.0.1

type EmbeddedCatalogEntryV2 struct {
	// Aliases Optional aliases that can be used to reference this entry
	Aliases *[]string `json:"aliases,omitempty"`

	// ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type
	ExternalId *string `json:"external_id,omitempty"`

	// Id ID of this catalog entry
	Id string `json:"id"`

	// Name Name is the human readable name of this entry
	Name string `json:"name"`
}

EmbeddedCatalogEntryV2 defines model for EmbeddedCatalogEntryV2.

type EmbeddedIncidentRoleV2 added in v1.0.1

type EmbeddedIncidentRoleV2 struct {
	// CreatedAt When the role was created
	CreatedAt time.Time `json:"created_at"`

	// Description Describes the purpose of the role
	Description string `json:"description"`

	// Id Unique identifier for the role
	Id string `json:"id"`

	// Instructions Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
	Instructions string `json:"instructions"`

	// Name Human readable name of the incident role
	Name string `json:"name"`

	// Required This field is deprecated.
	Required *bool `json:"required,omitempty"`

	// RoleType Type of incident role
	RoleType EmbeddedIncidentRoleV2RoleType `json:"role_type"`

	// Shortform Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
	Shortform string `json:"shortform"`

	// UpdatedAt When the role was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

EmbeddedIncidentRoleV2 defines model for EmbeddedIncidentRoleV2.

type EmbeddedIncidentRoleV2RoleType added in v1.0.1

type EmbeddedIncidentRoleV2RoleType string

EmbeddedIncidentRoleV2RoleType Type of incident role

const (
	EmbeddedIncidentRoleV2RoleTypeCustom   EmbeddedIncidentRoleV2RoleType = "custom"
	EmbeddedIncidentRoleV2RoleTypeLead     EmbeddedIncidentRoleV2RoleType = "lead"
	EmbeddedIncidentRoleV2RoleTypeReporter EmbeddedIncidentRoleV2RoleType = "reporter"
)

Defines values for EmbeddedIncidentRoleV2RoleType.

func (EmbeddedIncidentRoleV2RoleType) Valid added in v1.0.1

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

type EngineParamBindingPayloadV2 added in v1.0.1

type EngineParamBindingPayloadV2 struct {
	// ArrayValue If set, this is the array value of the step parameter
	ArrayValue *[]EngineParamBindingValuePayloadV2 `json:"array_value,omitempty"`
	Value      *EngineParamBindingValuePayloadV2   `json:"value,omitempty"`
}

EngineParamBindingPayloadV2 defines model for EngineParamBindingPayloadV2.

type EngineParamBindingPayloadV3 added in v1.0.9

type EngineParamBindingPayloadV3 struct {
	// ArrayValue If set, this is the array value of the step parameter
	ArrayValue *[]EngineParamBindingValuePayloadV3 `json:"array_value,omitempty"`
	Value      *EngineParamBindingValuePayloadV3   `json:"value,omitempty"`
}

EngineParamBindingPayloadV3 defines model for EngineParamBindingPayloadV3.

type EngineParamBindingV2 added in v1.0.1

type EngineParamBindingV2 struct {
	// ArrayValue If array_value is set, this helps render the values
	ArrayValue *[]EngineParamBindingValueV2 `json:"array_value,omitempty"`
	Value      *EngineParamBindingValueV2   `json:"value,omitempty"`
}

EngineParamBindingV2 defines model for EngineParamBindingV2.

type EngineParamBindingV3 added in v1.0.9

type EngineParamBindingV3 struct {
	// ArrayValue If array_value is set, this helps render the values
	ArrayValue *[]EngineParamBindingValueV3 `json:"array_value,omitempty"`
	Value      *EngineParamBindingValueV3   `json:"value,omitempty"`
}

EngineParamBindingV3 defines model for EngineParamBindingV3.

type EngineParamBindingValuePayloadV2 added in v1.0.1

type EngineParamBindingValuePayloadV2 struct {
	// Literal If set, this is the literal value of the step parameter
	Literal *string `json:"literal,omitempty"`

	// Reference If set, this is the reference into the trigger scope that is the value of this parameter
	Reference *string `json:"reference,omitempty"`
}

EngineParamBindingValuePayloadV2 defines model for EngineParamBindingValuePayloadV2.

type EngineParamBindingValuePayloadV3 added in v1.0.9

type EngineParamBindingValuePayloadV3 struct {
	// Literal If set, this is the literal value of the step parameter
	Literal *string `json:"literal,omitempty"`

	// Reference If set, this is the reference into the trigger scope that is the value of this parameter
	Reference *string `json:"reference,omitempty"`
}

EngineParamBindingValuePayloadV3 defines model for EngineParamBindingValuePayloadV3.

type EngineParamBindingValueV2 added in v1.0.1

type EngineParamBindingValueV2 struct {
	// Label Human readable label to be displayed for user to select
	Label string `json:"label"`

	// Literal If set, this is the literal value of the step parameter
	Literal *string `json:"literal,omitempty"`

	// Reference If set, this is the reference into the trigger scope that is the value of this parameter
	Reference *string `json:"reference,omitempty"`
}

EngineParamBindingValueV2 defines model for EngineParamBindingValueV2.

type EngineParamBindingValueV3 added in v1.0.9

type EngineParamBindingValueV3 struct {
	// Literal If set, this is the literal value of the step parameter
	Literal *string `json:"literal,omitempty"`

	// Reference If set, this is the reference into the trigger scope that is the value of this parameter
	Reference *string `json:"reference,omitempty"`
}

EngineParamBindingValueV3 defines model for EngineParamBindingValueV3.

type EngineReferenceV2 added in v1.0.1

type EngineReferenceV2 struct {
	// Array If true, the reference can refer to 0 to many items
	Array bool `json:"array"`

	// Key Unique identifier of field will set
	Key string `json:"key"`

	// Label Human readable label for the field (with context)
	Label string `json:"label"`

	// Type The type of this resource in the engine
	Type string `json:"type"`
}

EngineReferenceV2 defines model for EngineReferenceV2.

type ErrorDebug added in v1.0.80

type ErrorDebug struct {
	// Message Original internal error message
	Message string `json:"message"`

	// Stacktrace Stacktrace of the error, if applicable
	Stacktrace []string `json:"stacktrace"`
}

ErrorDebug defines model for ErrorDebug.

type ErrorRateLimit added in v1.0.80

type ErrorRateLimit struct {
	// Limit The maximum number of requests that the consumer is permitted to make per minute
	Limit int64 `json:"limit"`

	// Name Which rate limit was exceeded
	Name string `json:"name"`

	// Remaining The number of requests remaining in the current rate limit window
	Remaining int64 `json:"remaining"`

	// RetryAfter When the client can retry, as an RFC3339 timestamp in UTC. Prefer the Retry-After response header, which carries the same instant as a number of seconds
	RetryAfter string `json:"retry_after"`
}

ErrorRateLimit defines model for ErrorRateLimit.

type ErrorResponse added in v1.0.80

type ErrorResponse struct {
	Debug *ErrorDebug `json:"debug,omitempty"`

	// Errors List of errors that caused this request to fail
	Errors    []ErrorSingle   `json:"errors"`
	RateLimit *ErrorRateLimit `json:"rate_limit,omitempty"`

	// RequestId Unique identifier of the request
	RequestId string `json:"request_id"`

	// Status HTTP status of the response
	Status int64 `json:"status"`

	// Type Machine-readable identifier for the general category of error
	Type ErrorResponseType `json:"type"`
}

ErrorResponse defines model for ErrorResponse.

type ErrorResponseType added in v1.0.80

type ErrorResponseType string

ErrorResponseType Machine-readable identifier for the general category of error

const (
	ApiError            ErrorResponseType = "api_error"
	AuthenticationError ErrorResponseType = "authentication_error"
	ClientTimeout       ErrorResponseType = "client_timeout"
	Conflict            ErrorResponseType = "conflict"
	InvalidRequestError ErrorResponseType = "invalid_request_error"
	MethodNotAllowed    ErrorResponseType = "method_not_allowed"
	NotAcceptable       ErrorResponseType = "not_acceptable"
	NotFound            ErrorResponseType = "not_found"
	PayloadTooLarge     ErrorResponseType = "payload_too_large"
	PreconditionFailed  ErrorResponseType = "precondition_failed"
	RateLimitReached    ErrorResponseType = "rate_limit_reached"
	RequestTimeout      ErrorResponseType = "request_timeout"
	ResourceForbidden   ErrorResponseType = "resource_forbidden"
	TooManyRequests     ErrorResponseType = "too_many_requests"
	ValidationError     ErrorResponseType = "validation_error"
)

Defines values for ErrorResponseType.

func (ErrorResponseType) Valid added in v1.0.80

func (e ErrorResponseType) Valid() bool

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

type ErrorSingle added in v1.0.80

type ErrorSingle struct {
	// Code Machine-readable identifier for this specific error
	Code string `json:"code"`

	// Message Human readable description of the error
	Message string `json:"message"`

	// Metadata Additional metadata about the error, keyed by a string identifier
	Metadata *map[string]string `json:"metadata,omitempty"`
	Source   *ErrorSource       `json:"source,omitempty"`
}

ErrorSingle defines model for ErrorSingle.

type ErrorSource added in v1.0.80

type ErrorSource struct {
	// Field Field name that is the source of the error
	Field string `json:"field"`

	// Pointer JSON pointer to the request field that is the source of the error
	Pointer string `json:"pointer"`
}

ErrorSource defines model for ErrorSource.

type EscalationCreatorV2 added in v1.0.1

type EscalationCreatorV2 struct {
	Alert    *AlertActorV2    `json:"alert,omitempty"`
	User     *UserV2          `json:"user,omitempty"`
	Workflow *WorkflowActorV2 `json:"workflow,omitempty"`
}

EscalationCreatorV2 The creator of this escalation. Can be a user, a workflow, or an alert. If the escalation came from a call route, this will be empty.

type EscalationEventV2 added in v1.0.1

type EscalationEventV2 struct {
	// Channels This field will be populated for notified_channels events.
	Channels *[]ChatChannelSlimV2 `json:"channels,omitempty"`

	// Event The type of event that occured.
	Event EscalationEventV2Event `json:"event"`

	// Id The unique ID for this escalation event
	Id string `json:"id"`

	// OccurredAt The time when this escalation event was processed
	OccurredAt time.Time `json:"occurred_at"`

	// Urgency The urgency at which we tried to notify users. This field will be populated for notified_users events.
	Urgency *EscalationEventV2Urgency `json:"urgency,omitempty"`

	// Users This field will be populated for notified_users and acked events.
	Users *[]UserV2 `json:"users,omitempty"`
}

EscalationEventV2 defines model for EscalationEventV2.

type EscalationEventV2Event added in v1.0.1

type EscalationEventV2Event string

EscalationEventV2Event The type of event that occured.

const (
	EscalationEventV2EventAcked              EscalationEventV2Event = "acked"
	EscalationEventV2EventCancelled          EscalationEventV2Event = "cancelled"
	EscalationEventV2EventEnteredGracePeriod EscalationEventV2Event = "entered_grace_period"
	EscalationEventV2EventExpired            EscalationEventV2Event = "expired"
	EscalationEventV2EventNotifiedChannels   EscalationEventV2Event = "notified_channels"
	EscalationEventV2EventNotifiedUsers      EscalationEventV2Event = "notified_users"
	EscalationEventV2EventResolved           EscalationEventV2Event = "resolved"
	EscalationEventV2EventTriggered          EscalationEventV2Event = "triggered"
)

Defines values for EscalationEventV2Event.

func (EscalationEventV2Event) Valid added in v1.0.1

func (e EscalationEventV2Event) Valid() bool

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

type EscalationEventV2Urgency added in v1.0.1

type EscalationEventV2Urgency string

EscalationEventV2Urgency The urgency at which we tried to notify users. This field will be populated for notified_users events.

const (
	EscalationEventV2UrgencyHigh EscalationEventV2Urgency = "high"
	EscalationEventV2UrgencyLow  EscalationEventV2Urgency = "low"
)

Defines values for EscalationEventV2Urgency.

func (EscalationEventV2Urgency) Valid added in v1.0.1

func (e EscalationEventV2Urgency) Valid() bool

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

type EscalationPathNodeDelayV2 added in v1.0.1

type EscalationPathNodeDelayV2 struct {
	// DelayIntervalCondition If the delay is relative to a time window, this defines whether we advance when the window is active or inactive
	DelayIntervalCondition *EscalationPathNodeDelayV2DelayIntervalCondition `json:"delay_interval_condition,omitempty"`

	// DelaySeconds How long to delay before advancing to the next node in the path, in seconds
	DelaySeconds *int64 `json:"delay_seconds,omitempty"`

	// DelayWeekdayIntervalConfigId If the delay is relative to a time window, this identifies which window it is relative to
	DelayWeekdayIntervalConfigId *string `json:"delay_weekday_interval_config_id,omitempty"`
}

EscalationPathNodeDelayV2 defines model for EscalationPathNodeDelayV2.

type EscalationPathNodeDelayV2DelayIntervalCondition added in v1.0.1

type EscalationPathNodeDelayV2DelayIntervalCondition string

EscalationPathNodeDelayV2DelayIntervalCondition If the delay is relative to a time window, this defines whether we advance when the window is active or inactive

const (
	EscalationPathNodeDelayV2DelayIntervalConditionActive   EscalationPathNodeDelayV2DelayIntervalCondition = "active"
	EscalationPathNodeDelayV2DelayIntervalConditionInactive EscalationPathNodeDelayV2DelayIntervalCondition = "inactive"
)

Defines values for EscalationPathNodeDelayV2DelayIntervalCondition.

func (EscalationPathNodeDelayV2DelayIntervalCondition) Valid added in v1.0.1

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

type EscalationPathNodeEscalationPathV2 added in v1.0.66

type EscalationPathNodeEscalationPathV2 struct {
	// EscalationPathId The ID of the escalation path to reassign to
	EscalationPathId string `json:"escalation_path_id"`
}

EscalationPathNodeEscalationPathV2 defines model for EscalationPathNodeEscalationPathV2.

type EscalationPathNodeIfElsePayloadV2 added in v1.0.1

type EscalationPathNodeIfElsePayloadV2 struct {
	// Conditions The condition that defines which branch to take
	Conditions *[]ConditionPayloadV2 `json:"conditions,omitempty"`

	// ElsePath The nodes that form the levels if our condition is not met
	ElsePath []EscalationPathNodePayloadV2 `json:"else_path"`

	// ThenPath The nodes that form the levels if our condition is met
	ThenPath []EscalationPathNodePayloadV2 `json:"then_path"`
}

EscalationPathNodeIfElsePayloadV2 defines model for EscalationPathNodeIfElsePayloadV2.

type EscalationPathNodeIfElseV2 added in v1.0.1

type EscalationPathNodeIfElseV2 struct {
	// Conditions The condition that defines which branch to take
	Conditions []ConditionV2 `json:"conditions"`

	// ElsePath The nodes that form the levels if our condition is not met
	ElsePath []EscalationPathNodeV2 `json:"else_path"`

	// ThenPath The nodes that form the levels if our condition is met
	ThenPath []EscalationPathNodeV2 `json:"then_path"`
}

EscalationPathNodeIfElseV2 defines model for EscalationPathNodeIfElseV2.

type EscalationPathNodeLevelV2 added in v1.0.1

type EscalationPathNodeLevelV2 struct {
	// AckMode Controls the behaviour of acknowledgements for this level, with 'first' cancelling all other escalations on the same level when someone acks
	AckMode          *EscalationPathNodeLevelV2AckMode `json:"ack_mode,omitempty"`
	RetryConfig      *EscalationPathRetryConfigV2      `json:"retry_config,omitempty"`
	RoundRobinConfig *EscalationPathRoundRobinConfigV2 `json:"round_robin_config,omitempty"`

	// Targets The targets (users or schedules) for this level
	Targets []EscalationPathTargetV2 `json:"targets"`

	// TimeToAckIntervalCondition If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive
	TimeToAckIntervalCondition *EscalationPathNodeLevelV2TimeToAckIntervalCondition `json:"time_to_ack_interval_condition,omitempty"`

	// TimeToAckSeconds How long should we wait for this level to acknowledge before proceeding to the next node in the path?
	TimeToAckSeconds *int64 `json:"time_to_ack_seconds,omitempty"`

	// TimeToAckWeekdayIntervalConfigId If the time to ack is relative to a time window, this identifies which window it is relative to
	TimeToAckWeekdayIntervalConfigId *string `json:"time_to_ack_weekday_interval_config_id,omitempty"`
}

EscalationPathNodeLevelV2 defines model for EscalationPathNodeLevelV2.

type EscalationPathNodeLevelV2AckMode added in v1.0.1

type EscalationPathNodeLevelV2AckMode string

EscalationPathNodeLevelV2AckMode Controls the behaviour of acknowledgements for this level, with 'first' cancelling all other escalations on the same level when someone acks

const (
	EscalationPathNodeLevelV2AckModeAll   EscalationPathNodeLevelV2AckMode = "all"
	EscalationPathNodeLevelV2AckModeFirst EscalationPathNodeLevelV2AckMode = "first"
)

Defines values for EscalationPathNodeLevelV2AckMode.

func (EscalationPathNodeLevelV2AckMode) Valid added in v1.0.1

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

type EscalationPathNodeLevelV2TimeToAckIntervalCondition added in v1.0.1

type EscalationPathNodeLevelV2TimeToAckIntervalCondition string

EscalationPathNodeLevelV2TimeToAckIntervalCondition If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive

const (
	EscalationPathNodeLevelV2TimeToAckIntervalConditionActive   EscalationPathNodeLevelV2TimeToAckIntervalCondition = "active"
	EscalationPathNodeLevelV2TimeToAckIntervalConditionInactive EscalationPathNodeLevelV2TimeToAckIntervalCondition = "inactive"
)

Defines values for EscalationPathNodeLevelV2TimeToAckIntervalCondition.

func (EscalationPathNodeLevelV2TimeToAckIntervalCondition) Valid added in v1.0.1

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

type EscalationPathNodeNotifyChannelV2 added in v1.0.1

type EscalationPathNodeNotifyChannelV2 struct {
	// Targets The targets (Slack channels) for this level
	Targets []EscalationPathTargetV2 `json:"targets"`

	// TimeToAckIntervalCondition If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive
	TimeToAckIntervalCondition *EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition `json:"time_to_ack_interval_condition,omitempty"`

	// TimeToAckSeconds How long should we wait for this level to acknowledge before moving on to the next node in the path?
	TimeToAckSeconds *int64 `json:"time_to_ack_seconds,omitempty"`

	// TimeToAckWeekdayIntervalConfigId If the time to ack is relative to a time window, this identifies which window it is relative to
	TimeToAckWeekdayIntervalConfigId *string `json:"time_to_ack_weekday_interval_config_id,omitempty"`
}

EscalationPathNodeNotifyChannelV2 defines model for EscalationPathNodeNotifyChannelV2.

type EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition added in v1.0.1

type EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition string

EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive

const (
	EscalationPathNodeNotifyChannelV2TimeToAckIntervalConditionActive   EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition = "active"
	EscalationPathNodeNotifyChannelV2TimeToAckIntervalConditionInactive EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition = "inactive"
)

Defines values for EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition.

func (EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition) Valid added in v1.0.1

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

type EscalationPathNodePayloadV2 added in v1.0.1

type EscalationPathNodePayloadV2 struct {
	Delay          *EscalationPathNodeDelayV2          `json:"delay,omitempty"`
	EscalationPath *EscalationPathNodeEscalationPathV2 `json:"escalation_path,omitempty"`

	// Id An ID for this node, unique within the escalation path.
	//
	// This allows you to reference the node in other nodes, such as when configuring a 'repeat' node.
	Id            string                             `json:"id"`
	IfElse        *EscalationPathNodeIfElsePayloadV2 `json:"if_else,omitempty"`
	Level         *EscalationPathNodeLevelV2         `json:"level,omitempty"`
	NotifyChannel *EscalationPathNodeNotifyChannelV2 `json:"notify_channel,omitempty"`
	Repeat        *EscalationPathNodeRepeatV2        `json:"repeat,omitempty"`

	// Type The type of this node. Available types are:
	// * level: A set of targets (users or schedules) that should be paged, either all at once, or with a round-robin configuration.
	// * notify_channel: Send the escalation to a Slack channel, where it can be acked by anyone in the channel.
	// * if_else: Branch the escalation based on a set of conditions.
	// * repeat: Go back to a previous node and repeat the logic from there.
	// * delay: Pause the escalation for a configured duration before advancing to the next node.
	// * escalation_path: Reassign the escalation to another escalation path, continuing from that path's first node.
	// * voicemail: Send an inbound caller to voicemail. Only valid inside a call route's path.
	Type EscalationPathNodePayloadV2Type `json:"type"`
}

EscalationPathNodePayloadV2 defines model for EscalationPathNodePayloadV2.

type EscalationPathNodePayloadV2Type added in v1.0.1

type EscalationPathNodePayloadV2Type string

EscalationPathNodePayloadV2Type The type of this node. Available types are: * level: A set of targets (users or schedules) that should be paged, either all at once, or with a round-robin configuration. * notify_channel: Send the escalation to a Slack channel, where it can be acked by anyone in the channel. * if_else: Branch the escalation based on a set of conditions. * repeat: Go back to a previous node and repeat the logic from there. * delay: Pause the escalation for a configured duration before advancing to the next node. * escalation_path: Reassign the escalation to another escalation path, continuing from that path's first node. * voicemail: Send an inbound caller to voicemail. Only valid inside a call route's path.

const (
	EscalationPathNodePayloadV2TypeDelay          EscalationPathNodePayloadV2Type = "delay"
	EscalationPathNodePayloadV2TypeEscalationPath EscalationPathNodePayloadV2Type = "escalation_path"
	EscalationPathNodePayloadV2TypeIfElse         EscalationPathNodePayloadV2Type = "if_else"
	EscalationPathNodePayloadV2TypeLevel          EscalationPathNodePayloadV2Type = "level"
	EscalationPathNodePayloadV2TypeNotifyChannel  EscalationPathNodePayloadV2Type = "notify_channel"
	EscalationPathNodePayloadV2TypeRepeat         EscalationPathNodePayloadV2Type = "repeat"
	EscalationPathNodePayloadV2TypeVoicemail      EscalationPathNodePayloadV2Type = "voicemail"
)

Defines values for EscalationPathNodePayloadV2Type.

func (EscalationPathNodePayloadV2Type) Valid added in v1.0.1

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

type EscalationPathNodeRepeatV2 added in v1.0.1

type EscalationPathNodeRepeatV2 struct {
	// RepeatTimes How many times to repeat these nodes
	RepeatTimes int64 `json:"repeat_times"`

	// ToNode Which node ID we begin repeating from.
	ToNode string `json:"to_node"`
}

EscalationPathNodeRepeatV2 defines model for EscalationPathNodeRepeatV2.

type EscalationPathNodeV2 added in v1.0.1

type EscalationPathNodeV2 struct {
	Delay          *EscalationPathNodeDelayV2          `json:"delay,omitempty"`
	EscalationPath *EscalationPathNodeEscalationPathV2 `json:"escalation_path,omitempty"`

	// Id An ID for this node, unique within the escalation path.
	//
	// This allows you to reference the node in other nodes, such as when configuring a 'repeat' node.
	Id            string                             `json:"id"`
	IfElse        *EscalationPathNodeIfElseV2        `json:"if_else,omitempty"`
	Level         *EscalationPathNodeLevelV2         `json:"level,omitempty"`
	NotifyChannel *EscalationPathNodeNotifyChannelV2 `json:"notify_channel,omitempty"`
	Repeat        *EscalationPathNodeRepeatV2        `json:"repeat,omitempty"`

	// Type The type of this node. Available types are:
	// * level: A set of targets (users or schedules) that should be paged, either all at once, or with a round-robin configuration.
	// * notify_channel: Send the escalation to a Slack channel, where it can be acked by anyone in the channel.
	// * if_else: Branch the escalation based on a set of conditions.
	// * repeat: Go back to a previous node and repeat the logic from there.
	// * delay: Pause the escalation for a configured duration before advancing to the next node.
	// * escalation_path: Reassign the escalation to another escalation path, continuing from that path's first node.
	// * voicemail: Send an inbound caller to voicemail. Only valid inside a call route's path.
	Type EscalationPathNodeV2Type `json:"type"`
}

EscalationPathNodeV2 defines model for EscalationPathNodeV2.

type EscalationPathNodeV2Type added in v1.0.1

type EscalationPathNodeV2Type string

EscalationPathNodeV2Type The type of this node. Available types are: * level: A set of targets (users or schedules) that should be paged, either all at once, or with a round-robin configuration. * notify_channel: Send the escalation to a Slack channel, where it can be acked by anyone in the channel. * if_else: Branch the escalation based on a set of conditions. * repeat: Go back to a previous node and repeat the logic from there. * delay: Pause the escalation for a configured duration before advancing to the next node. * escalation_path: Reassign the escalation to another escalation path, continuing from that path's first node. * voicemail: Send an inbound caller to voicemail. Only valid inside a call route's path.

const (
	EscalationPathNodeV2TypeDelay          EscalationPathNodeV2Type = "delay"
	EscalationPathNodeV2TypeEscalationPath EscalationPathNodeV2Type = "escalation_path"
	EscalationPathNodeV2TypeIfElse         EscalationPathNodeV2Type = "if_else"
	EscalationPathNodeV2TypeLevel          EscalationPathNodeV2Type = "level"
	EscalationPathNodeV2TypeNotifyChannel  EscalationPathNodeV2Type = "notify_channel"
	EscalationPathNodeV2TypeRepeat         EscalationPathNodeV2Type = "repeat"
	EscalationPathNodeV2TypeVoicemail      EscalationPathNodeV2Type = "voicemail"
)

Defines values for EscalationPathNodeV2Type.

func (EscalationPathNodeV2Type) Valid added in v1.0.1

func (e EscalationPathNodeV2Type) Valid() bool

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

type EscalationPathRepeatConfigV2 added in v1.0.1

type EscalationPathRepeatConfigV2 struct {
	// DelayRepeatOnActivity When true, incident activity resets the repeat timer.
	DelayRepeatOnActivity bool `json:"delay_repeat_on_activity"`

	// RepeatAfterSeconds Number of seconds we'll wait before repeating an escalation.
	RepeatAfterSeconds int32 `json:"repeat_after_seconds"`
}

EscalationPathRepeatConfigV2 defines model for EscalationPathRepeatConfigV2.

type EscalationPathRetryConfigV2 added in v1.0.47

type EscalationPathRetryConfigV2 struct {
	// Attempts The total number of times we page this level, counting the initial page. For example, 3 means three notifications in total. Must be between 2 and 10.
	Attempts int64 `json:"attempts"`

	// IntervalSeconds How long we wait between attempts at this level, in seconds. Must be a whole number of minutes (divisible by 60).
	IntervalSeconds int64 `json:"interval_seconds"`
}

EscalationPathRetryConfigV2 defines model for EscalationPathRetryConfigV2.

type EscalationPathRoundRobinConfigV2 added in v1.0.1

type EscalationPathRoundRobinConfigV2 struct {
	// Enabled Whether round robin is enabled for this level
	Enabled bool `json:"enabled"`

	// RotateAfterSeconds How long should we wait before rotating to the next target in a round robin, if not set will stick with a single target per level.
	RotateAfterSeconds *int64 `json:"rotate_after_seconds,omitempty"`
}

EscalationPathRoundRobinConfigV2 defines model for EscalationPathRoundRobinConfigV2.

type EscalationPathTargetV2 added in v1.0.1

type EscalationPathTargetV2 struct {
	// Id Uniquely identifies an entity of this type
	Id string `json:"id"`

	// ScheduleMode Only set for schedule targets, this specifies which users to fetch from the schedule. Use currently_on_call to notify whoever is on call right now across the schedule, all_users to notify every user attached to the schedule, or all_users_for_rota / currently_on_call_for_rota / next_on_call_for_rota to scope to a specific rota (in which case selected_rota_id is required). next_on_call notifies whoever is next on call across the schedule.
	ScheduleMode *EscalationPathTargetV2ScheduleMode `json:"schedule_mode,omitempty"`

	// SelectedRotaId For schedule targets, identifies which rota on the schedule the schedule_mode applies to. Required when schedule_mode is all_users_for_rota, currently_on_call_for_rota, or next_on_call_for_rota; must be omitted for other schedule_mode values.
	SelectedRotaId *string `json:"selected_rota_id,omitempty"`

	// Type Controls what type of entity this target identifies, such as EscalationPolicy or User
	Type EscalationPathTargetV2Type `json:"type"`

	// Urgency The urgency of this escalation path target
	Urgency EscalationPathTargetV2Urgency `json:"urgency"`
}

EscalationPathTargetV2 defines model for EscalationPathTargetV2.

type EscalationPathTargetV2ScheduleMode added in v1.0.1

type EscalationPathTargetV2ScheduleMode string

EscalationPathTargetV2ScheduleMode Only set for schedule targets, this specifies which users to fetch from the schedule. Use currently_on_call to notify whoever is on call right now across the schedule, all_users to notify every user attached to the schedule, or all_users_for_rota / currently_on_call_for_rota / next_on_call_for_rota to scope to a specific rota (in which case selected_rota_id is required). next_on_call notifies whoever is next on call across the schedule.

const (
	EscalationPathTargetV2ScheduleModeAllUsers               EscalationPathTargetV2ScheduleMode = "all_users"
	EscalationPathTargetV2ScheduleModeAllUsersForRota        EscalationPathTargetV2ScheduleMode = "all_users_for_rota"
	EscalationPathTargetV2ScheduleModeCurrentlyOnCall        EscalationPathTargetV2ScheduleMode = "currently_on_call"
	EscalationPathTargetV2ScheduleModeCurrentlyOnCallForRota EscalationPathTargetV2ScheduleMode = "currently_on_call_for_rota"
	EscalationPathTargetV2ScheduleModeEmpty                  EscalationPathTargetV2ScheduleMode = ""
	EscalationPathTargetV2ScheduleModeNextOnCall             EscalationPathTargetV2ScheduleMode = "next_on_call"
	EscalationPathTargetV2ScheduleModeNextOnCallForRota      EscalationPathTargetV2ScheduleMode = "next_on_call_for_rota"
)

Defines values for EscalationPathTargetV2ScheduleMode.

func (EscalationPathTargetV2ScheduleMode) Valid added in v1.0.1

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

type EscalationPathTargetV2Type added in v1.0.1

type EscalationPathTargetV2Type string

EscalationPathTargetV2Type Controls what type of entity this target identifies, such as EscalationPolicy or User

const (
	EscalationPathTargetV2TypeMsteamsChannel EscalationPathTargetV2Type = "msteams_channel"
	EscalationPathTargetV2TypeSchedule       EscalationPathTargetV2Type = "schedule"
	EscalationPathTargetV2TypeSlackChannel   EscalationPathTargetV2Type = "slack_channel"
	EscalationPathTargetV2TypeUser           EscalationPathTargetV2Type = "user"
)

Defines values for EscalationPathTargetV2Type.

func (EscalationPathTargetV2Type) Valid added in v1.0.1

func (e EscalationPathTargetV2Type) Valid() bool

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

type EscalationPathTargetV2Urgency added in v1.0.1

type EscalationPathTargetV2Urgency string

EscalationPathTargetV2Urgency The urgency of this escalation path target

const (
	High EscalationPathTargetV2Urgency = "high"
	Low  EscalationPathTargetV2Urgency = "low"
)

Defines values for EscalationPathTargetV2Urgency.

func (EscalationPathTargetV2Urgency) Valid added in v1.0.1

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

type EscalationPathV2 added in v1.0.1

type EscalationPathV2 struct {
	// CurrentResponders Users who are currently on-call for this escalation path
	CurrentResponders *[]UserV2 `json:"current_responders,omitempty"`

	// Id Unique identifier for this escalation path.
	Id string `json:"id"`

	// Name The name of this escalation path, for the user's reference.
	Name string `json:"name"`

	// Path The nodes that form the levels and branches of this escalation path.
	Path         []EscalationPathNodeV2        `json:"path"`
	RepeatConfig *EscalationPathRepeatConfigV2 `json:"repeat_config,omitempty"`

	// TeamIds IDs of the teams that own this escalation path. This will automatically sync escalation paths with the right teams in Catalog. If you have an escalation paths attribute on your Teams, this attribute is required.
	TeamIds []string `json:"team_ids"`

	// WorkingHours The working hours for this escalation path.
	WorkingHours *[]WeekdayIntervalConfigV2 `json:"working_hours,omitempty"`
}

EscalationPathV2 defines model for EscalationPathV2.

type EscalationPriorityV2 added in v1.0.1

type EscalationPriorityV2 struct {
	// Name The human readable label for this priority
	Name string `json:"name"`
}

EscalationPriorityV2 The priority associated with this escalation.

type EscalationRespondSnoozeDetailsPayloadV2 added in v1.0.77

type EscalationRespondSnoozeDetailsPayloadV2 struct {
	// Reason Optional reason for snoozing the escalation
	Reason *string `json:"reason,omitempty"`

	// SnoozeUntil The time at which the snooze should end
	SnoozeUntil time.Time `json:"snooze_until"`
}

EscalationRespondSnoozeDetailsPayloadV2 defines model for EscalationRespondSnoozeDetailsPayloadV2.

type EscalationUserResponseOptionsV2 added in v1.0.77

type EscalationUserResponseOptionsV2 struct {
	// AvailableActions The response actions this user can currently take on the escalation. Empty if the user can't respond to it at all.
	AvailableActions []EscalationUserResponseOptionsV2AvailableActions `json:"available_actions"`

	// UserId The ID of the user these response options are for
	UserId string `json:"user_id"`
}

EscalationUserResponseOptionsV2 defines model for EscalationUserResponseOptionsV2.

type EscalationUserResponseOptionsV2AvailableActions added in v1.0.77

type EscalationUserResponseOptionsV2AvailableActions string

EscalationUserResponseOptionsV2AvailableActions An action a user can take in response to an escalation

const (
	EscalationUserResponseOptionsV2AvailableActionsAck    EscalationUserResponseOptionsV2AvailableActions = "ack"
	EscalationUserResponseOptionsV2AvailableActionsNack   EscalationUserResponseOptionsV2AvailableActions = "nack"
	EscalationUserResponseOptionsV2AvailableActionsSnooze EscalationUserResponseOptionsV2AvailableActions = "snooze"
)

Defines values for EscalationUserResponseOptionsV2AvailableActions.

func (EscalationUserResponseOptionsV2AvailableActions) Valid added in v1.0.77

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

type EscalationV2 added in v1.0.1

type EscalationV2 struct {
	// CreatedAt When this escalation was created
	CreatedAt time.Time `json:"created_at"`

	// Creator The creator of this escalation. Can be a user, a workflow, or an alert. If the escalation came from a call route, this will be empty.
	Creator EscalationCreatorV2 `json:"creator"`

	// Description Additional detail provided with this escalation. When it isn't set explicitly, this is taken from the alert description or the incident summary, and is empty when neither applies.
	Description string `json:"description"`

	// EscalationPathId Unique identifier of the escalation path that the escalation was created from
	EscalationPathId *string `json:"escalation_path_id,omitempty"`

	// Events Events which describe the history of this escalation. Events include information about what users or channels were notified and what users acked.
	Events []EscalationEventV2 `json:"events"`

	// Id Unique ID of the escalation
	Id string `json:"id"`

	// Priority The priority associated with this escalation.
	Priority EscalationPriorityV2 `json:"priority"`

	// RelatedAlerts Alerts related to this escalation
	RelatedAlerts []AlertSlimV2 `json:"related_alerts"`

	// RelatedIncidents Incidents related to this escalation
	RelatedIncidents []IncidentSlimV2 `json:"related_incidents"`

	// Status Status of the escalation
	Status EscalationV2Status `json:"status"`

	// Title The title of this escalation
	Title string `json:"title"`

	// UpdatedAt When this escalation was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

EscalationV2 defines model for EscalationV2.

type EscalationV2Status added in v1.0.1

type EscalationV2Status string

EscalationV2Status Status of the escalation

const (
	EscalationV2StatusAcked         EscalationV2Status = "acked"
	EscalationV2StatusCancelled     EscalationV2Status = "cancelled"
	EscalationV2StatusDelayed       EscalationV2Status = "delayed"
	EscalationV2StatusExpired       EscalationV2Status = "expired"
	EscalationV2StatusPending       EscalationV2Status = "pending"
	EscalationV2StatusPendingRepeat EscalationV2Status = "pending_repeat"
	EscalationV2StatusResolved      EscalationV2Status = "resolved"
	EscalationV2StatusSnoozed       EscalationV2Status = "snoozed"
	EscalationV2StatusTriggered     EscalationV2Status = "triggered"
)

Defines values for EscalationV2Status.

func (EscalationV2Status) Valid added in v1.0.1

func (e EscalationV2Status) Valid() bool

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

type EscalationsCheckEscalationPermissionsPayloadV2 added in v1.0.77

type EscalationsCheckEscalationPermissionsPayloadV2 struct {
	// UserIds The IDs of the users to check response options for
	UserIds []string `json:"user_ids"`
}

EscalationsCheckEscalationPermissionsPayloadV2 defines model for EscalationsCheckEscalationPermissionsPayloadV2.

type EscalationsCheckEscalationPermissionsResultV2 added in v1.0.77

type EscalationsCheckEscalationPermissionsResultV2 struct {
	// ResponseOptions The response options available to each requested user, in the same order as the request.
	ResponseOptions []EscalationUserResponseOptionsV2 `json:"response_options"`
}

EscalationsCheckEscalationPermissionsResultV2 defines model for EscalationsCheckEscalationPermissionsResultV2.

type EscalationsCreatePathPayloadV2 added in v1.0.1

type EscalationsCreatePathPayloadV2 struct {
	// Name The name of this escalation path, for the user's reference.
	Name string `json:"name"`

	// Path The nodes that form the levels and branches of this escalation path.
	Path         []EscalationPathNodePayloadV2 `json:"path"`
	RepeatConfig *EscalationPathRepeatConfigV2 `json:"repeat_config,omitempty"`

	// TeamIds IDs of the teams that own this escalation path. This will automatically sync escalation paths with the right teams in Catalog. If you have an escalation paths attribute on your Teams, this attribute is required.
	TeamIds *[]string `json:"team_ids,omitempty"`

	// WorkingHours The working hours for this escalation path.
	WorkingHours *[]WeekdayIntervalConfigV2 `json:"working_hours,omitempty"`
}

EscalationsCreatePathPayloadV2 defines model for EscalationsCreatePathPayloadV2.

type EscalationsCreatePathResultV2 added in v1.0.1

type EscalationsCreatePathResultV2 struct {
	EscalationPath EscalationPathV2 `json:"escalation_path"`
}

EscalationsCreatePathResultV2 defines model for EscalationsCreatePathResultV2.

type EscalationsCreatePayloadV2 added in v1.0.1

type EscalationsCreatePayloadV2 struct {
	// Description Additional details about the escalation
	Description *string `json:"description,omitempty"`

	// EscalationPathId ID of the escalation path to follow
	EscalationPathId *string `json:"escalation_path_id,omitempty"`

	// IdempotencyKey Unique key to prevent duplicate escalations. If this key has already been used, the existing escalation will be returned.
	IdempotencyKey string `json:"idempotency_key"`

	// IncidentId ID of an incident to associate with this escalation. The linked incident will appear in the escalation's related_incidents field.
	IncidentId *string `json:"incident_id,omitempty"`

	// Title The title of the escalation. This message will be included in all notifications about this escalation.
	Title string `json:"title"`

	// UserIds IDs of users to escalate directly to
	UserIds *[]string `json:"user_ids,omitempty"`
}

EscalationsCreatePayloadV2 defines model for EscalationsCreatePayloadV2.

type EscalationsCreateResultV2 added in v1.0.1

type EscalationsCreateResultV2 struct {
	Escalation EscalationV2 `json:"escalation"`
}

EscalationsCreateResultV2 defines model for EscalationsCreateResultV2.

type EscalationsListPathsResultV2 added in v1.0.1

type EscalationsListPathsResultV2 struct {
	EscalationPaths []EscalationPathV2     `json:"escalation_paths"`
	PaginationMeta  PaginationMetaResultV2 `json:"pagination_meta"`
}

EscalationsListPathsResultV2 defines model for EscalationsListPathsResultV2.

type EscalationsListResultV2 added in v1.0.1

type EscalationsListResultV2 struct {
	Escalations    []EscalationV2         `json:"escalations"`
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
}

EscalationsListResultV2 defines model for EscalationsListResultV2.

type EscalationsReassignEscalationPayloadV2 added in v1.0.96

type EscalationsReassignEscalationPayloadV2 struct {
	// Description Additional details about the new escalation. Defaults to the original's description.
	Description *string `json:"description,omitempty"`

	// EscalationPathId ID of the escalation path to reassign to
	EscalationPathId *string `json:"escalation_path_id,omitempty"`

	// ResolveOriginal Whether to resolve the original escalation, stopping it paging its targets. Defaults to true.
	ResolveOriginal *bool `json:"resolve_original,omitempty"`

	// Title The title of the new escalation. Defaults to the original's title.
	Title *string `json:"title,omitempty"`

	// UserIds IDs of users to reassign directly to
	UserIds *[]string `json:"user_ids,omitempty"`
}

EscalationsReassignEscalationPayloadV2 defines model for EscalationsReassignEscalationPayloadV2.

type EscalationsReassignEscalationResultV2 added in v1.0.96

type EscalationsReassignEscalationResultV2 struct {
	Escalation EscalationV2 `json:"escalation"`
}

EscalationsReassignEscalationResultV2 defines model for EscalationsReassignEscalationResultV2.

type EscalationsRespondEscalationPayloadV2 added in v1.0.77

type EscalationsRespondEscalationPayloadV2 struct {
	// Response Whether to acknowledge, decline or snooze the escalation
	Response      EscalationsRespondEscalationPayloadV2Response `json:"response"`
	SnoozeDetails *EscalationRespondSnoozeDetailsPayloadV2      `json:"snooze_details,omitempty"`
}

EscalationsRespondEscalationPayloadV2 defines model for EscalationsRespondEscalationPayloadV2.

type EscalationsRespondEscalationPayloadV2Response added in v1.0.77

type EscalationsRespondEscalationPayloadV2Response string

EscalationsRespondEscalationPayloadV2Response Whether to acknowledge, decline or snooze the escalation

const (
	EscalationsRespondEscalationPayloadV2ResponseAck    EscalationsRespondEscalationPayloadV2Response = "ack"
	EscalationsRespondEscalationPayloadV2ResponseNack   EscalationsRespondEscalationPayloadV2Response = "nack"
	EscalationsRespondEscalationPayloadV2ResponseSnooze EscalationsRespondEscalationPayloadV2Response = "snooze"
)

Defines values for EscalationsRespondEscalationPayloadV2Response.

func (EscalationsRespondEscalationPayloadV2Response) Valid added in v1.0.77

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

type EscalationsShowPathResultV2 added in v1.0.1

type EscalationsShowPathResultV2 struct {
	EscalationPath EscalationPathV2 `json:"escalation_path"`
}

EscalationsShowPathResultV2 defines model for EscalationsShowPathResultV2.

type EscalationsShowResultV2 added in v1.0.1

type EscalationsShowResultV2 struct {
	Escalation EscalationV2 `json:"escalation"`
}

EscalationsShowResultV2 defines model for EscalationsShowResultV2.

type EscalationsUpdatePathPayloadV2 added in v1.0.1

type EscalationsUpdatePathPayloadV2 struct {
	// Name The name of this escalation path, for the user's reference.
	Name string `json:"name"`

	// Path The nodes that form the levels and branches of this escalation path.
	Path         []EscalationPathNodePayloadV2 `json:"path"`
	RepeatConfig *EscalationPathRepeatConfigV2 `json:"repeat_config,omitempty"`

	// TeamIds IDs of the teams that own this escalation path. This will automatically sync escalation paths with the right teams in Catalog. If you have an escalation paths attribute on your Teams, this attribute is required.
	TeamIds *[]string `json:"team_ids,omitempty"`

	// WorkingHours The working hours for this escalation path.
	WorkingHours *[]WeekdayIntervalConfigV2 `json:"working_hours,omitempty"`
}

EscalationsUpdatePathPayloadV2 defines model for EscalationsUpdatePathPayloadV2.

type EscalationsUpdatePathResultV2 added in v1.0.1

type EscalationsUpdatePathResultV2 struct {
	EscalationPath EscalationPathV2 `json:"escalation_path"`
}

EscalationsUpdatePathResultV2 defines model for EscalationsUpdatePathResultV2.

type EscalationsV2CancelEscalationResponse added in v1.0.2

type EscalationsV2CancelEscalationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2CancelEscalationResponse) Status added in v1.0.2

Status returns HTTPResponse.Status

func (EscalationsV2CancelEscalationResponse) StatusCode added in v1.0.2

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2CheckEscalationPermissionsJSONRequestBody added in v1.0.77

type EscalationsV2CheckEscalationPermissionsJSONRequestBody = EscalationsCheckEscalationPermissionsPayloadV2

EscalationsV2CheckEscalationPermissionsJSONRequestBody defines body for EscalationsV2CheckEscalationPermissions for application/json ContentType.

type EscalationsV2CheckEscalationPermissionsResponse added in v1.0.77

type EscalationsV2CheckEscalationPermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EscalationsCheckEscalationPermissionsResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2CheckEscalationPermissionsResponse) Status added in v1.0.77

Status returns HTTPResponse.Status

func (EscalationsV2CheckEscalationPermissionsResponse) StatusCode added in v1.0.77

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2CreateJSONRequestBody added in v1.0.1

type EscalationsV2CreateJSONRequestBody = EscalationsCreatePayloadV2

EscalationsV2CreateJSONRequestBody defines body for EscalationsV2Create for application/json ContentType.

type EscalationsV2CreatePathJSONRequestBody added in v1.0.1

type EscalationsV2CreatePathJSONRequestBody = EscalationsCreatePathPayloadV2

EscalationsV2CreatePathJSONRequestBody defines body for EscalationsV2CreatePath for application/json ContentType.

type EscalationsV2CreatePathResponse added in v1.0.1

type EscalationsV2CreatePathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *EscalationsCreatePathResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2CreatePathResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (EscalationsV2CreatePathResponse) StatusCode added in v1.0.1

func (r EscalationsV2CreatePathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2CreateResponse added in v1.0.1

type EscalationsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *EscalationsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (EscalationsV2CreateResponse) StatusCode added in v1.0.1

func (r EscalationsV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2DestroyPathResponse added in v1.0.1

type EscalationsV2DestroyPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2DestroyPathResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (EscalationsV2DestroyPathResponse) StatusCode added in v1.0.1

func (r EscalationsV2DestroyPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2ListParams added in v1.0.1

type EscalationsV2ListParams struct {
	// PageSize Number of escalations to return per page
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An escalation's ID. This endpoint will return a list of escalations after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// EscalationPath Filter on the escalation path for which the escalation was triggered. Accepted operators are 'one_of' and 'not_in'.
	EscalationPath *map[string][]string `form:"escalation_path,omitempty" json:"escalation_path,omitempty"`

	// Status Filter on the status of the escalation. Accepted operators are 'one_of' and 'not_in'.
	Status *map[string][]string `form:"status,omitempty" json:"status,omitempty"`

	// Alert Filter on the alert that created an escalation. Accepted operators are 'one_of' and 'not_in'.
	Alert *map[string][]string `form:"alert,omitempty" json:"alert,omitempty"`

	// Incident Filter on the incident that the escalation is connected to. Accepted operators are 'one_of' and 'not_in'.
	Incident *map[string][]string `form:"incident,omitempty" json:"incident,omitempty"`

	// CreatedAt Filter on the created_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'.
	CreatedAt *map[string][]string `form:"created_at,omitempty" json:"created_at,omitempty"`

	// UpdatedAt Filter on the updated_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'.
	UpdatedAt *map[string][]string `form:"updated_at,omitempty" json:"updated_at,omitempty"`

	// IdempotencyKey Filter on the idempotency key of the escalation. This is the key set when creating escalations via the API, and is distinct from alert deduplication keys. Accepted operators are 'is' for exact matches and 'starts_with' for prefix matching.
	IdempotencyKey *map[string][]string `form:"idempotency_key,omitempty" json:"idempotency_key,omitempty"`
}

EscalationsV2ListParams defines parameters for EscalationsV2List.

type EscalationsV2ListPathsParams added in v1.0.1

type EscalationsV2ListPathsParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

EscalationsV2ListPathsParams defines parameters for EscalationsV2ListPaths.

type EscalationsV2ListPathsResponse added in v1.0.1

type EscalationsV2ListPathsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EscalationsListPathsResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2ListPathsResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (EscalationsV2ListPathsResponse) StatusCode added in v1.0.1

func (r EscalationsV2ListPathsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2ListResponse added in v1.0.1

type EscalationsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EscalationsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2ListResponse) Status added in v1.0.1

func (r EscalationsV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (EscalationsV2ListResponse) StatusCode added in v1.0.1

func (r EscalationsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2ReassignEscalationJSONRequestBody added in v1.0.96

type EscalationsV2ReassignEscalationJSONRequestBody = EscalationsReassignEscalationPayloadV2

EscalationsV2ReassignEscalationJSONRequestBody defines body for EscalationsV2ReassignEscalation for application/json ContentType.

type EscalationsV2ReassignEscalationResponse added in v1.0.96

type EscalationsV2ReassignEscalationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *EscalationsReassignEscalationResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2ReassignEscalationResponse) Status added in v1.0.96

Status returns HTTPResponse.Status

func (EscalationsV2ReassignEscalationResponse) StatusCode added in v1.0.96

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2RespondEscalationJSONRequestBody added in v1.0.77

type EscalationsV2RespondEscalationJSONRequestBody = EscalationsRespondEscalationPayloadV2

EscalationsV2RespondEscalationJSONRequestBody defines body for EscalationsV2RespondEscalation for application/json ContentType.

type EscalationsV2RespondEscalationResponse added in v1.0.77

type EscalationsV2RespondEscalationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2RespondEscalationResponse) Status added in v1.0.77

Status returns HTTPResponse.Status

func (EscalationsV2RespondEscalationResponse) StatusCode added in v1.0.77

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2ShowPathResponse added in v1.0.1

type EscalationsV2ShowPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EscalationsShowPathResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2ShowPathResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (EscalationsV2ShowPathResponse) StatusCode added in v1.0.1

func (r EscalationsV2ShowPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2ShowResponse added in v1.0.1

type EscalationsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EscalationsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2ShowResponse) Status added in v1.0.1

func (r EscalationsV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (EscalationsV2ShowResponse) StatusCode added in v1.0.1

func (r EscalationsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EscalationsV2UpdatePathJSONRequestBody added in v1.0.1

type EscalationsV2UpdatePathJSONRequestBody = EscalationsUpdatePathPayloadV2

EscalationsV2UpdatePathJSONRequestBody defines body for EscalationsV2UpdatePath for application/json ContentType.

type EscalationsV2UpdatePathResponse added in v1.0.1

type EscalationsV2UpdatePathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EscalationsUpdatePathResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (EscalationsV2UpdatePathResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (EscalationsV2UpdatePathResponse) StatusCode added in v1.0.1

func (r EscalationsV2UpdatePathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExpressionBranchPayloadV2 added in v1.0.1

type ExpressionBranchPayloadV2 struct {
	// ConditionGroups When one of these condition groups are satisfied, this branch will be evaluated
	ConditionGroups []ConditionGroupPayloadV2   `json:"condition_groups"`
	Result          EngineParamBindingPayloadV2 `json:"result"`
}

ExpressionBranchPayloadV2 defines model for ExpressionBranchPayloadV2.

type ExpressionBranchPayloadV3 added in v1.0.9

type ExpressionBranchPayloadV3 struct {
	// ConditionGroups When one of these condition groups are satisfied, this branch will be evaluated
	ConditionGroups []ConditionGroupPayloadV3   `json:"condition_groups"`
	Result          EngineParamBindingPayloadV3 `json:"result"`
}

ExpressionBranchPayloadV3 defines model for ExpressionBranchPayloadV3.

type ExpressionBranchV2 added in v1.0.1

type ExpressionBranchV2 struct {
	// ConditionGroups When one of these condition groups are satisfied, this branch will be evaluated
	ConditionGroups []ConditionGroupV2   `json:"condition_groups"`
	Result          EngineParamBindingV2 `json:"result"`
}

ExpressionBranchV2 defines model for ExpressionBranchV2.

type ExpressionBranchV3 added in v1.0.9

type ExpressionBranchV3 struct {
	// ConditionGroups When one of these condition groups are satisfied, this branch will be evaluated
	ConditionGroups []ConditionGroupV3   `json:"condition_groups"`
	Result          EngineParamBindingV3 `json:"result"`
}

ExpressionBranchV3 defines model for ExpressionBranchV3.

type ExpressionBranchesOptsPayloadV2 added in v1.0.1

type ExpressionBranchesOptsPayloadV2 struct {
	// Branches The branches to apply for this operation
	Branches []ExpressionBranchPayloadV2 `json:"branches"`
	Returns  ReturnsMetaV2               `json:"returns"`
}

ExpressionBranchesOptsPayloadV2 defines model for ExpressionBranchesOptsPayloadV2.

type ExpressionBranchesOptsPayloadV3 added in v1.0.9

type ExpressionBranchesOptsPayloadV3 struct {
	// Branches The branches to apply for this operation
	Branches []ExpressionBranchPayloadV3 `json:"branches"`
	Returns  ReturnsMetaV3               `json:"returns"`
}

ExpressionBranchesOptsPayloadV3 defines model for ExpressionBranchesOptsPayloadV3.

type ExpressionBranchesOptsV2 added in v1.0.1

type ExpressionBranchesOptsV2 struct {
	// Branches The branches to apply for this operation
	Branches []ExpressionBranchV2 `json:"branches"`
	Returns  ReturnsMetaV2        `json:"returns"`
}

ExpressionBranchesOptsV2 defines model for ExpressionBranchesOptsV2.

type ExpressionBranchesOptsV3 added in v1.0.9

type ExpressionBranchesOptsV3 struct {
	// Branches The branches to apply for this operation
	Branches []ExpressionBranchV3 `json:"branches"`
	Returns  ReturnsMetaV3        `json:"returns"`
}

ExpressionBranchesOptsV3 defines model for ExpressionBranchesOptsV3.

type ExpressionCastOptsPayloadV2 added in v1.0.1

type ExpressionCastOptsPayloadV2 struct {
	Returns ReturnsMetaV2 `json:"returns"`
}

ExpressionCastOptsPayloadV2 defines model for ExpressionCastOptsPayloadV2.

type ExpressionCastOptsPayloadV3 added in v1.0.9

type ExpressionCastOptsPayloadV3 struct {
	Returns ReturnsMetaV3 `json:"returns"`
}

ExpressionCastOptsPayloadV3 defines model for ExpressionCastOptsPayloadV3.

type ExpressionCastOptsV2 added in v1.0.78

type ExpressionCastOptsV2 struct {
	Returns ReturnsMetaV2 `json:"returns"`
}

ExpressionCastOptsV2 defines model for ExpressionCastOptsV2.

type ExpressionCastOptsV3 added in v1.0.78

type ExpressionCastOptsV3 struct {
	Returns ReturnsMetaV3 `json:"returns"`
}

ExpressionCastOptsV3 defines model for ExpressionCastOptsV3.

type ExpressionConcatenateOptsPayloadV2 added in v1.0.1

type ExpressionConcatenateOptsPayloadV2 struct {
	// Reference The reference that you want to concatenate with
	Reference string `json:"reference"`
}

ExpressionConcatenateOptsPayloadV2 defines model for ExpressionConcatenateOptsPayloadV2.

type ExpressionConcatenateOptsPayloadV3 added in v1.0.9

type ExpressionConcatenateOptsPayloadV3 struct {
	// Reference The reference that you want to concatenate with
	Reference string `json:"reference"`
}

ExpressionConcatenateOptsPayloadV3 defines model for ExpressionConcatenateOptsPayloadV3.

type ExpressionConcatenateOptsV2 added in v1.0.78

type ExpressionConcatenateOptsV2 struct {
	// Reference The reference within the scope to concatenate with
	Reference string `json:"reference"`

	// ReferenceLabel The name of the reference to concatenate with
	ReferenceLabel string `json:"reference_label"`
}

ExpressionConcatenateOptsV2 defines model for ExpressionConcatenateOptsV2.

type ExpressionConcatenateOptsV3 added in v1.0.78

type ExpressionConcatenateOptsV3 struct {
	// Reference The reference within the scope to concatenate with
	Reference string `json:"reference"`

	// ReferenceLabel The name of the reference to concatenate with
	ReferenceLabel string `json:"reference_label"`
}

ExpressionConcatenateOptsV3 defines model for ExpressionConcatenateOptsV3.

type ExpressionElseBranchPayloadV2 added in v1.0.1

type ExpressionElseBranchPayloadV2 struct {
	Result EngineParamBindingPayloadV2 `json:"result"`
}

ExpressionElseBranchPayloadV2 defines model for ExpressionElseBranchPayloadV2.

type ExpressionElseBranchPayloadV3 added in v1.0.9

type ExpressionElseBranchPayloadV3 struct {
	Result EngineParamBindingPayloadV3 `json:"result"`
}

ExpressionElseBranchPayloadV3 defines model for ExpressionElseBranchPayloadV3.

type ExpressionElseBranchV2 added in v1.0.1

type ExpressionElseBranchV2 struct {
	Result EngineParamBindingV2 `json:"result"`
}

ExpressionElseBranchV2 defines model for ExpressionElseBranchV2.

type ExpressionElseBranchV3 added in v1.0.9

type ExpressionElseBranchV3 struct {
	Result EngineParamBindingV3 `json:"result"`
}

ExpressionElseBranchV3 defines model for ExpressionElseBranchV3.

type ExpressionFilterOptsPayloadV2 added in v1.0.1

type ExpressionFilterOptsPayloadV2 struct {
	// ConditionGroups The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
	ConditionGroups []ConditionGroupPayloadV2 `json:"condition_groups"`
}

ExpressionFilterOptsPayloadV2 defines model for ExpressionFilterOptsPayloadV2.

type ExpressionFilterOptsPayloadV3 added in v1.0.9

type ExpressionFilterOptsPayloadV3 struct {
	// ConditionGroups The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
	ConditionGroups []ConditionGroupPayloadV3 `json:"condition_groups"`
}

ExpressionFilterOptsPayloadV3 defines model for ExpressionFilterOptsPayloadV3.

type ExpressionFilterOptsV2 added in v1.0.1

type ExpressionFilterOptsV2 struct {
	// ConditionGroups The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
	ConditionGroups []ConditionGroupV2 `json:"condition_groups"`
}

ExpressionFilterOptsV2 defines model for ExpressionFilterOptsV2.

type ExpressionFilterOptsV3 added in v1.0.9

type ExpressionFilterOptsV3 struct {
	// ConditionGroups The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
	ConditionGroups []ConditionGroupV3 `json:"condition_groups"`
}

ExpressionFilterOptsV3 defines model for ExpressionFilterOptsV3.

type ExpressionNavigateOptsPayloadV2 added in v1.0.1

type ExpressionNavigateOptsPayloadV2 struct {
	// Reference The reference that you want to navigate to
	Reference string `json:"reference"`
}

ExpressionNavigateOptsPayloadV2 defines model for ExpressionNavigateOptsPayloadV2.

type ExpressionNavigateOptsPayloadV3 added in v1.0.9

type ExpressionNavigateOptsPayloadV3 struct {
	// Reference The reference that you want to navigate to
	Reference string `json:"reference"`
}

ExpressionNavigateOptsPayloadV3 defines model for ExpressionNavigateOptsPayloadV3.

type ExpressionNavigateOptsV2 added in v1.0.1

type ExpressionNavigateOptsV2 struct {
	// Reference The reference within the scope to navigate to
	Reference string `json:"reference"`

	// ReferenceLabel The name of the reference to navigate to
	ReferenceLabel string `json:"reference_label"`
}

ExpressionNavigateOptsV2 defines model for ExpressionNavigateOptsV2.

type ExpressionNavigateOptsV3 added in v1.0.9

type ExpressionNavigateOptsV3 struct {
	// Reference The reference within the scope to navigate to
	Reference string `json:"reference"`

	// ReferenceLabel The name of the reference to navigate to
	ReferenceLabel string `json:"reference_label"`
}

ExpressionNavigateOptsV3 defines model for ExpressionNavigateOptsV3.

type ExpressionOperationPayloadV2 added in v1.0.1

type ExpressionOperationPayloadV2 struct {
	Branches    *ExpressionBranchesOptsPayloadV2    `json:"branches,omitempty"`
	Cast        *ExpressionCastOptsPayloadV2        `json:"cast,omitempty"`
	Concatenate *ExpressionConcatenateOptsPayloadV2 `json:"concatenate,omitempty"`
	Filter      *ExpressionFilterOptsPayloadV2      `json:"filter,omitempty"`
	Navigate    *ExpressionNavigateOptsPayloadV2    `json:"navigate,omitempty"`

	// OperationType The type of the operation
	OperationType ExpressionOperationPayloadV2OperationType `json:"operation_type"`
	Parse         *ExpressionParseOptsPayloadV2             `json:"parse,omitempty"`
}

ExpressionOperationPayloadV2 defines model for ExpressionOperationPayloadV2.

type ExpressionOperationPayloadV2OperationType added in v1.0.1

type ExpressionOperationPayloadV2OperationType string

ExpressionOperationPayloadV2OperationType The type of the operation

const (
	ExpressionOperationPayloadV2OperationTypeBranches    ExpressionOperationPayloadV2OperationType = "branches"
	ExpressionOperationPayloadV2OperationTypeCast        ExpressionOperationPayloadV2OperationType = "cast"
	ExpressionOperationPayloadV2OperationTypeConcatenate ExpressionOperationPayloadV2OperationType = "concatenate"
	ExpressionOperationPayloadV2OperationTypeCount       ExpressionOperationPayloadV2OperationType = "count"
	ExpressionOperationPayloadV2OperationTypeFilter      ExpressionOperationPayloadV2OperationType = "filter"
	ExpressionOperationPayloadV2OperationTypeFirst       ExpressionOperationPayloadV2OperationType = "first"
	ExpressionOperationPayloadV2OperationTypeMax         ExpressionOperationPayloadV2OperationType = "max"
	ExpressionOperationPayloadV2OperationTypeMin         ExpressionOperationPayloadV2OperationType = "min"
	ExpressionOperationPayloadV2OperationTypeNavigate    ExpressionOperationPayloadV2OperationType = "navigate"
	ExpressionOperationPayloadV2OperationTypeParse       ExpressionOperationPayloadV2OperationType = "parse"
	ExpressionOperationPayloadV2OperationTypeRandom      ExpressionOperationPayloadV2OperationType = "random"
	ExpressionOperationPayloadV2OperationTypeSum         ExpressionOperationPayloadV2OperationType = "sum"
)

Defines values for ExpressionOperationPayloadV2OperationType.

func (ExpressionOperationPayloadV2OperationType) Valid added in v1.0.1

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

type ExpressionOperationPayloadV3 added in v1.0.9

type ExpressionOperationPayloadV3 struct {
	Branches    *ExpressionBranchesOptsPayloadV3    `json:"branches,omitempty"`
	Cast        *ExpressionCastOptsPayloadV3        `json:"cast,omitempty"`
	Concatenate *ExpressionConcatenateOptsPayloadV3 `json:"concatenate,omitempty"`
	Filter      *ExpressionFilterOptsPayloadV3      `json:"filter,omitempty"`
	Navigate    *ExpressionNavigateOptsPayloadV3    `json:"navigate,omitempty"`

	// OperationType The type of the operation
	OperationType ExpressionOperationPayloadV3OperationType `json:"operation_type"`
	Parse         *ExpressionParseOptsPayloadV3             `json:"parse,omitempty"`
}

ExpressionOperationPayloadV3 defines model for ExpressionOperationPayloadV3.

type ExpressionOperationPayloadV3OperationType added in v1.0.9

type ExpressionOperationPayloadV3OperationType string

ExpressionOperationPayloadV3OperationType The type of the operation

const (
	ExpressionOperationPayloadV3OperationTypeBranches    ExpressionOperationPayloadV3OperationType = "branches"
	ExpressionOperationPayloadV3OperationTypeCast        ExpressionOperationPayloadV3OperationType = "cast"
	ExpressionOperationPayloadV3OperationTypeConcatenate ExpressionOperationPayloadV3OperationType = "concatenate"
	ExpressionOperationPayloadV3OperationTypeCount       ExpressionOperationPayloadV3OperationType = "count"
	ExpressionOperationPayloadV3OperationTypeFilter      ExpressionOperationPayloadV3OperationType = "filter"
	ExpressionOperationPayloadV3OperationTypeFirst       ExpressionOperationPayloadV3OperationType = "first"
	ExpressionOperationPayloadV3OperationTypeMax         ExpressionOperationPayloadV3OperationType = "max"
	ExpressionOperationPayloadV3OperationTypeMin         ExpressionOperationPayloadV3OperationType = "min"
	ExpressionOperationPayloadV3OperationTypeNavigate    ExpressionOperationPayloadV3OperationType = "navigate"
	ExpressionOperationPayloadV3OperationTypeParse       ExpressionOperationPayloadV3OperationType = "parse"
	ExpressionOperationPayloadV3OperationTypeRandom      ExpressionOperationPayloadV3OperationType = "random"
	ExpressionOperationPayloadV3OperationTypeSum         ExpressionOperationPayloadV3OperationType = "sum"
)

Defines values for ExpressionOperationPayloadV3OperationType.

func (ExpressionOperationPayloadV3OperationType) Valid added in v1.0.9

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

type ExpressionOperationV2 added in v1.0.1

type ExpressionOperationV2 struct {
	Branches    *ExpressionBranchesOptsV2    `json:"branches,omitempty"`
	Cast        *ExpressionCastOptsV2        `json:"cast,omitempty"`
	Concatenate *ExpressionConcatenateOptsV2 `json:"concatenate,omitempty"`
	Filter      *ExpressionFilterOptsV2      `json:"filter,omitempty"`
	Navigate    *ExpressionNavigateOptsV2    `json:"navigate,omitempty"`

	// OperationType The type of the operation
	OperationType ExpressionOperationV2OperationType `json:"operation_type"`
	Parse         *ExpressionParseOptsV2             `json:"parse,omitempty"`
	Returns       ReturnsMetaV2                      `json:"returns"`
}

ExpressionOperationV2 defines model for ExpressionOperationV2.

type ExpressionOperationV2OperationType added in v1.0.1

type ExpressionOperationV2OperationType string

ExpressionOperationV2OperationType The type of the operation

const (
	ExpressionOperationV2OperationTypeBranches    ExpressionOperationV2OperationType = "branches"
	ExpressionOperationV2OperationTypeCast        ExpressionOperationV2OperationType = "cast"
	ExpressionOperationV2OperationTypeConcatenate ExpressionOperationV2OperationType = "concatenate"
	ExpressionOperationV2OperationTypeCount       ExpressionOperationV2OperationType = "count"
	ExpressionOperationV2OperationTypeFilter      ExpressionOperationV2OperationType = "filter"
	ExpressionOperationV2OperationTypeFirst       ExpressionOperationV2OperationType = "first"
	ExpressionOperationV2OperationTypeMax         ExpressionOperationV2OperationType = "max"
	ExpressionOperationV2OperationTypeMin         ExpressionOperationV2OperationType = "min"
	ExpressionOperationV2OperationTypeNavigate    ExpressionOperationV2OperationType = "navigate"
	ExpressionOperationV2OperationTypeParse       ExpressionOperationV2OperationType = "parse"
	ExpressionOperationV2OperationTypeRandom      ExpressionOperationV2OperationType = "random"
	ExpressionOperationV2OperationTypeSum         ExpressionOperationV2OperationType = "sum"
)

Defines values for ExpressionOperationV2OperationType.

func (ExpressionOperationV2OperationType) Valid added in v1.0.1

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

type ExpressionOperationV3 added in v1.0.9

type ExpressionOperationV3 struct {
	Branches    *ExpressionBranchesOptsV3    `json:"branches,omitempty"`
	Cast        *ExpressionCastOptsV3        `json:"cast,omitempty"`
	Concatenate *ExpressionConcatenateOptsV3 `json:"concatenate,omitempty"`
	Filter      *ExpressionFilterOptsV3      `json:"filter,omitempty"`
	Navigate    *ExpressionNavigateOptsV3    `json:"navigate,omitempty"`

	// OperationType The type of the operation
	OperationType ExpressionOperationV3OperationType `json:"operation_type"`
	Parse         *ExpressionParseOptsV3             `json:"parse,omitempty"`
	Returns       ReturnsMetaV3                      `json:"returns"`
}

ExpressionOperationV3 defines model for ExpressionOperationV3.

type ExpressionOperationV3OperationType added in v1.0.9

type ExpressionOperationV3OperationType string

ExpressionOperationV3OperationType The type of the operation

const (
	ExpressionOperationV3OperationTypeBranches    ExpressionOperationV3OperationType = "branches"
	ExpressionOperationV3OperationTypeCast        ExpressionOperationV3OperationType = "cast"
	ExpressionOperationV3OperationTypeConcatenate ExpressionOperationV3OperationType = "concatenate"
	ExpressionOperationV3OperationTypeCount       ExpressionOperationV3OperationType = "count"
	ExpressionOperationV3OperationTypeFilter      ExpressionOperationV3OperationType = "filter"
	ExpressionOperationV3OperationTypeFirst       ExpressionOperationV3OperationType = "first"
	ExpressionOperationV3OperationTypeMax         ExpressionOperationV3OperationType = "max"
	ExpressionOperationV3OperationTypeMin         ExpressionOperationV3OperationType = "min"
	ExpressionOperationV3OperationTypeNavigate    ExpressionOperationV3OperationType = "navigate"
	ExpressionOperationV3OperationTypeParse       ExpressionOperationV3OperationType = "parse"
	ExpressionOperationV3OperationTypeRandom      ExpressionOperationV3OperationType = "random"
	ExpressionOperationV3OperationTypeSum         ExpressionOperationV3OperationType = "sum"
)

Defines values for ExpressionOperationV3OperationType.

func (ExpressionOperationV3OperationType) Valid added in v1.0.9

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

type ExpressionParseOptsPayloadV2 added in v1.0.1

type ExpressionParseOptsPayloadV2 struct {
	Returns ReturnsMetaV2 `json:"returns"`

	// Source Source expression that is evaluated to a result
	Source string `json:"source"`
}

ExpressionParseOptsPayloadV2 defines model for ExpressionParseOptsPayloadV2.

type ExpressionParseOptsPayloadV3 added in v1.0.9

type ExpressionParseOptsPayloadV3 struct {
	Returns ReturnsMetaV3 `json:"returns"`

	// Source Source expression that is evaluated to a result
	Source string `json:"source"`
}

ExpressionParseOptsPayloadV3 defines model for ExpressionParseOptsPayloadV3.

type ExpressionParseOptsV2 added in v1.0.1

type ExpressionParseOptsV2 struct {
	Returns ReturnsMetaV2 `json:"returns"`

	// Source Source expression that is evaluated to a result
	Source string `json:"source"`
}

ExpressionParseOptsV2 defines model for ExpressionParseOptsV2.

type ExpressionParseOptsV3 added in v1.0.9

type ExpressionParseOptsV3 struct {
	Returns ReturnsMetaV3 `json:"returns"`

	// Source Source expression that is evaluated to a result
	Source string `json:"source"`
}

ExpressionParseOptsV3 defines model for ExpressionParseOptsV3.

type ExpressionPayloadV2 added in v1.0.1

type ExpressionPayloadV2 struct {
	ElseBranch *ExpressionElseBranchPayloadV2 `json:"else_branch,omitempty"`

	// Label The human readable label of the expression
	Label      string                         `json:"label"`
	Operations []ExpressionOperationPayloadV2 `json:"operations"`

	// Reference A short ID that can be used to reference the expression
	Reference string `json:"reference"`

	// RootReference The root reference for this expression (i.e. where the expression starts)
	RootReference string `json:"root_reference"`
}

ExpressionPayloadV2 defines model for ExpressionPayloadV2.

type ExpressionPayloadV3 added in v1.0.9

type ExpressionPayloadV3 struct {
	ElseBranch *ExpressionElseBranchPayloadV3 `json:"else_branch,omitempty"`

	// Label The human readable label of the expression
	Label      string                         `json:"label"`
	Operations []ExpressionOperationPayloadV3 `json:"operations"`

	// Reference A short ID that can be used to reference the expression
	Reference string `json:"reference"`

	// RootReference The root reference for this expression (i.e. where the expression starts)
	RootReference string `json:"root_reference"`
}

ExpressionPayloadV3 defines model for ExpressionPayloadV3.

type ExpressionV2 added in v1.0.1

type ExpressionV2 struct {
	ElseBranch *ExpressionElseBranchV2 `json:"else_branch,omitempty"`

	// Label The human readable label of the expression
	Label      string                  `json:"label"`
	Operations []ExpressionOperationV2 `json:"operations"`

	// Reference A short ID that can be used to reference the expression
	Reference string        `json:"reference"`
	Returns   ReturnsMetaV2 `json:"returns"`

	// RootReference The root reference for this expression (i.e. where the expression starts)
	RootReference string `json:"root_reference"`
}

ExpressionV2 defines model for ExpressionV2.

type ExpressionV3 added in v1.0.9

type ExpressionV3 struct {
	ElseBranch *ExpressionElseBranchV3 `json:"else_branch,omitempty"`

	// Label The human readable label of the expression
	Label      string                  `json:"label"`
	Operations []ExpressionOperationV3 `json:"operations"`

	// Reference A short ID that can be used to reference the expression
	Reference string        `json:"reference"`
	Returns   ReturnsMetaV3 `json:"returns"`

	// RootReference The root reference for this expression (i.e. where the expression starts)
	RootReference string `json:"root_reference"`
}

ExpressionV3 defines model for ExpressionV3.

type ExternalIssueReferenceV1 added in v1.0.1

type ExternalIssueReferenceV1 struct {
	// IssueName Human readable ID for the issue
	IssueName *string `json:"issue_name,omitempty"`

	// IssuePermalink URL linking directly to the action in the issue tracker
	IssuePermalink *string `json:"issue_permalink,omitempty"`

	// Provider ID of the issue tracker provider
	Provider *ExternalIssueReferenceV1Provider `json:"provider,omitempty"`
}

ExternalIssueReferenceV1 defines model for ExternalIssueReferenceV1.

type ExternalIssueReferenceV1Provider added in v1.0.1

type ExternalIssueReferenceV1Provider string

ExternalIssueReferenceV1Provider ID of the issue tracker provider

const (
	ExternalIssueReferenceV1ProviderAsana        ExternalIssueReferenceV1Provider = "asana"
	ExternalIssueReferenceV1ProviderAzureDevops  ExternalIssueReferenceV1Provider = "azure_devops"
	ExternalIssueReferenceV1ProviderClickUp      ExternalIssueReferenceV1Provider = "click_up"
	ExternalIssueReferenceV1ProviderFreshservice ExternalIssueReferenceV1Provider = "freshservice"
	ExternalIssueReferenceV1ProviderGithub       ExternalIssueReferenceV1Provider = "github"
	ExternalIssueReferenceV1ProviderGitlab       ExternalIssueReferenceV1Provider = "gitlab"
	ExternalIssueReferenceV1ProviderJira         ExternalIssueReferenceV1Provider = "jira"
	ExternalIssueReferenceV1ProviderJiraServer   ExternalIssueReferenceV1Provider = "jira_server"
	ExternalIssueReferenceV1ProviderLinear       ExternalIssueReferenceV1Provider = "linear"
	ExternalIssueReferenceV1ProviderNotion       ExternalIssueReferenceV1Provider = "notion"
	ExternalIssueReferenceV1ProviderSalesforce   ExternalIssueReferenceV1Provider = "salesforce"
	ExternalIssueReferenceV1ProviderServiceNow   ExternalIssueReferenceV1Provider = "service_now"
	ExternalIssueReferenceV1ProviderShortcut     ExternalIssueReferenceV1Provider = "shortcut"
)

Defines values for ExternalIssueReferenceV1Provider.

func (ExternalIssueReferenceV1Provider) Valid added in v1.0.1

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

type ExternalIssueReferenceV2 added in v1.0.1

type ExternalIssueReferenceV2 struct {
	// IssueName Human readable ID for the issue
	IssueName string `json:"issue_name"`

	// IssuePermalink URL linking directly to the action in the issue tracker
	IssuePermalink string `json:"issue_permalink"`

	// Provider ID of the issue tracker provider
	Provider ExternalIssueReferenceV2Provider `json:"provider"`
}

ExternalIssueReferenceV2 defines model for ExternalIssueReferenceV2.

type ExternalIssueReferenceV2Provider added in v1.0.1

type ExternalIssueReferenceV2Provider string

ExternalIssueReferenceV2Provider ID of the issue tracker provider

const (
	ExternalIssueReferenceV2ProviderAsana        ExternalIssueReferenceV2Provider = "asana"
	ExternalIssueReferenceV2ProviderAzureDevops  ExternalIssueReferenceV2Provider = "azure_devops"
	ExternalIssueReferenceV2ProviderClickUp      ExternalIssueReferenceV2Provider = "click_up"
	ExternalIssueReferenceV2ProviderFreshservice ExternalIssueReferenceV2Provider = "freshservice"
	ExternalIssueReferenceV2ProviderGithub       ExternalIssueReferenceV2Provider = "github"
	ExternalIssueReferenceV2ProviderGitlab       ExternalIssueReferenceV2Provider = "gitlab"
	ExternalIssueReferenceV2ProviderJira         ExternalIssueReferenceV2Provider = "jira"
	ExternalIssueReferenceV2ProviderJiraServer   ExternalIssueReferenceV2Provider = "jira_server"
	ExternalIssueReferenceV2ProviderLinear       ExternalIssueReferenceV2Provider = "linear"
	ExternalIssueReferenceV2ProviderNotion       ExternalIssueReferenceV2Provider = "notion"
	ExternalIssueReferenceV2ProviderSalesforce   ExternalIssueReferenceV2Provider = "salesforce"
	ExternalIssueReferenceV2ProviderServiceNow   ExternalIssueReferenceV2Provider = "service_now"
	ExternalIssueReferenceV2ProviderShortcut     ExternalIssueReferenceV2Provider = "shortcut"
)

Defines values for ExternalIssueReferenceV2Provider.

func (ExternalIssueReferenceV2Provider) Valid added in v1.0.1

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

type ExternalResourceV1 added in v1.0.1

type ExternalResourceV1 struct {
	// ExternalId ID of the resource in the external system
	ExternalId string `json:"external_id"`

	// Permalink URL of the resource
	Permalink string `json:"permalink"`

	// ResourceType E.g. PagerDuty: the external system that holds the resource
	ResourceType ExternalResourceV1ResourceType `json:"resource_type"`

	// Title Title of resource
	Title string `json:"title"`
}

ExternalResourceV1 defines model for ExternalResourceV1.

type ExternalResourceV1ResourceType added in v1.0.1

type ExternalResourceV1ResourceType string

ExternalResourceV1ResourceType E.g. PagerDuty: the external system that holds the resource

const (
	ExternalResourceV1ResourceTypeArbitraryUrl                ExternalResourceV1ResourceType = "arbitrary_url"
	ExternalResourceV1ResourceTypeAtlassianStatuspageIncident ExternalResourceV1ResourceType = "atlassian_statuspage_incident"
	ExternalResourceV1ResourceTypeDatadogMonitorAlert         ExternalResourceV1ResourceType = "datadog_monitor_alert"
	ExternalResourceV1ResourceTypeGithubPullRequest           ExternalResourceV1ResourceType = "github_pull_request"
	ExternalResourceV1ResourceTypeGitlabMergeRequest          ExternalResourceV1ResourceType = "gitlab_merge_request"
	ExternalResourceV1ResourceTypeGoogleCalendarEvent         ExternalResourceV1ResourceType = "google_calendar_event"
	ExternalResourceV1ResourceTypeJiraIssue                   ExternalResourceV1ResourceType = "jira_issue"
	ExternalResourceV1ResourceTypeJsmAlert                    ExternalResourceV1ResourceType = "jsm_alert"
	ExternalResourceV1ResourceTypeOpsgenieAlert               ExternalResourceV1ResourceType = "opsgenie_alert"
	ExternalResourceV1ResourceTypeOutlookCalendarEvent        ExternalResourceV1ResourceType = "outlook_calendar_event"
	ExternalResourceV1ResourceTypePagerDutyIncident           ExternalResourceV1ResourceType = "pager_duty_incident"
	ExternalResourceV1ResourceTypeSalesforceCase              ExternalResourceV1ResourceType = "salesforce_case"
	ExternalResourceV1ResourceTypeScrubbed                    ExternalResourceV1ResourceType = "scrubbed"
	ExternalResourceV1ResourceTypeSentryIssue                 ExternalResourceV1ResourceType = "sentry_issue"
	ExternalResourceV1ResourceTypeSlackFile                   ExternalResourceV1ResourceType = "slack_file"
	ExternalResourceV1ResourceTypeStatuspageIncident          ExternalResourceV1ResourceType = "statuspage_incident"
	ExternalResourceV1ResourceTypeZendeskTicket               ExternalResourceV1ResourceType = "zendesk_ticket"
)

Defines values for ExternalResourceV1ResourceType.

func (ExternalResourceV1ResourceType) Valid added in v1.0.1

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

type FollowUpCategoryV3 added in v1.0.83

type FollowUpCategoryV3 struct {
	// Description Description of the follow-up category
	Description *string `json:"description,omitempty"`

	// Id Unique identifier for the follow-up category
	Id string `json:"id"`

	// Name Name of the follow-up category
	Name string `json:"name"`

	// Rank Rank is used to order the follow-up categories correctly
	Rank int64 `json:"rank"`
}

FollowUpCategoryV3 defines model for FollowUpCategoryV3.

type FollowUpPriorityV2 added in v1.0.1

type FollowUpPriorityV2 struct {
	// Description Description of the follow-up priority option
	Description *string `json:"description,omitempty"`

	// Id Unique identifier for the follow-up priority option
	Id string `json:"id"`

	// Name Name of the follow-up priority option
	Name string `json:"name"`

	// Rank Rank is used to order the follow-up priority options correctly
	Rank int64 `json:"rank"`
}

FollowUpPriorityV2 defines model for FollowUpPriorityV2.

type FollowUpV2 added in v1.0.1

type FollowUpV2 struct {
	Assignee     *UserV2     `json:"assignee,omitempty"`
	AssigneeTeam *TeamSlimV2 `json:"assignee_team,omitempty"`

	// CompletedAt When the follow-up was completed
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt When the follow-up was created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV2   `json:"creator"`

	// Description Description of the follow-up
	Description            *string                   `json:"description,omitempty"`
	ExternalIssueReference *ExternalIssueReferenceV2 `json:"external_issue_reference,omitempty"`

	// Id Unique identifier for the follow-up
	Id string `json:"id"`

	// IncidentId Unique identifier of the incident the follow-up belongs to
	IncidentId string `json:"incident_id"`

	// Labels Labels associated with this follow-up
	Labels   []string            `json:"labels"`
	Priority *FollowUpPriorityV2 `json:"priority,omitempty"`

	// Status Status of the follow-up
	Status FollowUpV2Status `json:"status"`

	// Title Title of the follow-up
	Title string `json:"title"`

	// UpdatedAt When the follow-up was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

FollowUpV2 defines model for FollowUpV2.

type FollowUpV2Status added in v1.0.1

type FollowUpV2Status string

FollowUpV2Status Status of the follow-up

const (
	FollowUpV2StatusCompleted   FollowUpV2Status = "completed"
	FollowUpV2StatusDeleted     FollowUpV2Status = "deleted"
	FollowUpV2StatusNotDoing    FollowUpV2Status = "not_doing"
	FollowUpV2StatusOutstanding FollowUpV2Status = "outstanding"
)

Defines values for FollowUpV2Status.

func (FollowUpV2Status) Valid added in v1.0.1

func (e FollowUpV2Status) Valid() bool

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

type FollowUpV3 added in v1.0.81

type FollowUpV3 struct {
	Assignee     *UserV2             `json:"assignee,omitempty"`
	AssigneeTeam *TeamSlimV2         `json:"assignee_team,omitempty"`
	Category     *FollowUpCategoryV3 `json:"category,omitempty"`

	// CompletedAt When the follow-up was completed
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt When the follow-up was created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV2   `json:"creator"`

	// Description Description of the follow-up
	Description            *string                   `json:"description,omitempty"`
	ExternalIssueReference *ExternalIssueReferenceV2 `json:"external_issue_reference,omitempty"`

	// Id Unique identifier for the follow-up
	Id string `json:"id"`

	// IncidentId Unique identifier of the incident the follow-up belongs to
	IncidentId string `json:"incident_id"`

	// Labels Labels associated with this follow-up
	Labels   []string            `json:"labels"`
	Priority *FollowUpPriorityV2 `json:"priority,omitempty"`

	// Status Status of the follow-up
	Status FollowUpV3Status `json:"status"`

	// Title Title of the follow-up
	Title string `json:"title"`

	// UpdatedAt When the follow-up was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

FollowUpV3 defines model for FollowUpV3.

type FollowUpV3Status added in v1.0.81

type FollowUpV3Status string

FollowUpV3Status Status of the follow-up

const (
	FollowUpV3StatusCompleted   FollowUpV3Status = "completed"
	FollowUpV3StatusDeleted     FollowUpV3Status = "deleted"
	FollowUpV3StatusNotDoing    FollowUpV3Status = "not_doing"
	FollowUpV3StatusOutstanding FollowUpV3Status = "outstanding"
)

Defines values for FollowUpV3Status.

func (FollowUpV3Status) Valid added in v1.0.81

func (e FollowUpV3Status) Valid() bool

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

type FollowUpsConnectExternalIssuePayloadV2 added in v1.0.3

type FollowUpsConnectExternalIssuePayloadV2 struct {
	// Provider The issue tracker provider the issue belongs to
	Provider FollowUpsConnectExternalIssuePayloadV2Provider `json:"provider"`

	// Url URL of the issue in the external provider
	Url string `json:"url"`
}

FollowUpsConnectExternalIssuePayloadV2 defines model for FollowUpsConnectExternalIssuePayloadV2.

type FollowUpsConnectExternalIssuePayloadV2Provider added in v1.0.3

type FollowUpsConnectExternalIssuePayloadV2Provider string

FollowUpsConnectExternalIssuePayloadV2Provider The issue tracker provider the issue belongs to

const (
	FollowUpsConnectExternalIssuePayloadV2ProviderAsana        FollowUpsConnectExternalIssuePayloadV2Provider = "asana"
	FollowUpsConnectExternalIssuePayloadV2ProviderAzureDevops  FollowUpsConnectExternalIssuePayloadV2Provider = "azure_devops"
	FollowUpsConnectExternalIssuePayloadV2ProviderClickUp      FollowUpsConnectExternalIssuePayloadV2Provider = "click_up"
	FollowUpsConnectExternalIssuePayloadV2ProviderFreshservice FollowUpsConnectExternalIssuePayloadV2Provider = "freshservice"
	FollowUpsConnectExternalIssuePayloadV2ProviderGithub       FollowUpsConnectExternalIssuePayloadV2Provider = "github"
	FollowUpsConnectExternalIssuePayloadV2ProviderGitlab       FollowUpsConnectExternalIssuePayloadV2Provider = "gitlab"
	FollowUpsConnectExternalIssuePayloadV2ProviderJira         FollowUpsConnectExternalIssuePayloadV2Provider = "jira"
	FollowUpsConnectExternalIssuePayloadV2ProviderJiraServer   FollowUpsConnectExternalIssuePayloadV2Provider = "jira_server"
	FollowUpsConnectExternalIssuePayloadV2ProviderLinear       FollowUpsConnectExternalIssuePayloadV2Provider = "linear"
	FollowUpsConnectExternalIssuePayloadV2ProviderNotion       FollowUpsConnectExternalIssuePayloadV2Provider = "notion"
	FollowUpsConnectExternalIssuePayloadV2ProviderSalesforce   FollowUpsConnectExternalIssuePayloadV2Provider = "salesforce"
	FollowUpsConnectExternalIssuePayloadV2ProviderServiceNow   FollowUpsConnectExternalIssuePayloadV2Provider = "service_now"
	FollowUpsConnectExternalIssuePayloadV2ProviderShortcut     FollowUpsConnectExternalIssuePayloadV2Provider = "shortcut"
)

Defines values for FollowUpsConnectExternalIssuePayloadV2Provider.

func (FollowUpsConnectExternalIssuePayloadV2Provider) Valid added in v1.0.3

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

type FollowUpsConnectExternalIssuePayloadV3 added in v1.0.81

type FollowUpsConnectExternalIssuePayloadV3 struct {
	// Provider The issue tracker provider the issue belongs to
	Provider FollowUpsConnectExternalIssuePayloadV3Provider `json:"provider"`

	// Url URL of the issue in the external provider
	Url string `json:"url"`
}

FollowUpsConnectExternalIssuePayloadV3 defines model for FollowUpsConnectExternalIssuePayloadV3.

type FollowUpsConnectExternalIssuePayloadV3Provider added in v1.0.81

type FollowUpsConnectExternalIssuePayloadV3Provider string

FollowUpsConnectExternalIssuePayloadV3Provider The issue tracker provider the issue belongs to

const (
	FollowUpsConnectExternalIssuePayloadV3ProviderAsana        FollowUpsConnectExternalIssuePayloadV3Provider = "asana"
	FollowUpsConnectExternalIssuePayloadV3ProviderAzureDevops  FollowUpsConnectExternalIssuePayloadV3Provider = "azure_devops"
	FollowUpsConnectExternalIssuePayloadV3ProviderClickUp      FollowUpsConnectExternalIssuePayloadV3Provider = "click_up"
	FollowUpsConnectExternalIssuePayloadV3ProviderFreshservice FollowUpsConnectExternalIssuePayloadV3Provider = "freshservice"
	FollowUpsConnectExternalIssuePayloadV3ProviderGithub       FollowUpsConnectExternalIssuePayloadV3Provider = "github"
	FollowUpsConnectExternalIssuePayloadV3ProviderGitlab       FollowUpsConnectExternalIssuePayloadV3Provider = "gitlab"
	FollowUpsConnectExternalIssuePayloadV3ProviderJira         FollowUpsConnectExternalIssuePayloadV3Provider = "jira"
	FollowUpsConnectExternalIssuePayloadV3ProviderJiraServer   FollowUpsConnectExternalIssuePayloadV3Provider = "jira_server"
	FollowUpsConnectExternalIssuePayloadV3ProviderLinear       FollowUpsConnectExternalIssuePayloadV3Provider = "linear"
	FollowUpsConnectExternalIssuePayloadV3ProviderNotion       FollowUpsConnectExternalIssuePayloadV3Provider = "notion"
	FollowUpsConnectExternalIssuePayloadV3ProviderSalesforce   FollowUpsConnectExternalIssuePayloadV3Provider = "salesforce"
	FollowUpsConnectExternalIssuePayloadV3ProviderServiceNow   FollowUpsConnectExternalIssuePayloadV3Provider = "service_now"
	FollowUpsConnectExternalIssuePayloadV3ProviderShortcut     FollowUpsConnectExternalIssuePayloadV3Provider = "shortcut"
)

Defines values for FollowUpsConnectExternalIssuePayloadV3Provider.

func (FollowUpsConnectExternalIssuePayloadV3Provider) Valid added in v1.0.81

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

type FollowUpsConnectExternalIssueResultV2 added in v1.0.3

type FollowUpsConnectExternalIssueResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsConnectExternalIssueResultV2 defines model for FollowUpsConnectExternalIssueResultV2.

type FollowUpsConnectExternalIssueResultV3 added in v1.0.81

type FollowUpsConnectExternalIssueResultV3 struct {
	FollowUp FollowUpV3 `json:"follow_up"`
}

FollowUpsConnectExternalIssueResultV3 defines model for FollowUpsConnectExternalIssueResultV3.

type FollowUpsCreatePayloadV2 added in v1.0.1

type FollowUpsCreatePayloadV2 struct {
	// AssigneeId ID of the user this follow-up is assigned to
	AssigneeId *string `json:"assignee_id,omitempty"`

	// AssigneeTeamId ID of the team this follow-up is assigned to
	AssigneeTeamId *string `json:"assignee_team_id,omitempty"`

	// Description Description of the follow-up. Supports Markdown.
	Description *string `json:"description,omitempty"`

	// ExternalIssueReferenceId If this follow-up is related to an external issue, the ID of that issue
	ExternalIssueReferenceId *string `json:"external_issue_reference_id,omitempty"`

	// FollowUpCategoryId ID of the category for this follow-up
	FollowUpCategoryId *string `json:"follow_up_category_id,omitempty"`

	// FollowUpPriorityOptionId ID of the priority for this follow-up
	FollowUpPriorityOptionId *string `json:"follow_up_priority_option_id,omitempty"`

	// IncidentId Unique identifier of the incident the follow-up belongs to
	IncidentId string `json:"incident_id"`

	// Labels Labels associated with this follow-up
	Labels *[]string `json:"labels,omitempty"`

	// Title Title of the follow-up
	Title string `json:"title"`
}

FollowUpsCreatePayloadV2 defines model for FollowUpsCreatePayloadV2.

type FollowUpsCreatePayloadV3 added in v1.0.81

type FollowUpsCreatePayloadV3 struct {
	// AssigneeId ID of the user this follow-up is assigned to
	AssigneeId *string `json:"assignee_id,omitempty"`

	// AssigneeTeamId ID of the team this follow-up is assigned to
	AssigneeTeamId *string `json:"assignee_team_id,omitempty"`

	// Description Description of the follow-up. Supports Markdown.
	Description *string `json:"description,omitempty"`

	// ExternalIssueReferenceId If this follow-up is related to an external issue, the ID of that issue
	ExternalIssueReferenceId *string `json:"external_issue_reference_id,omitempty"`

	// FollowUpCategoryId ID of the category for this follow-up
	FollowUpCategoryId *string `json:"follow_up_category_id,omitempty"`

	// FollowUpPriorityOptionId ID of the priority for this follow-up
	FollowUpPriorityOptionId *string `json:"follow_up_priority_option_id,omitempty"`

	// IncidentId Unique identifier of the incident the follow-up belongs to
	IncidentId string `json:"incident_id"`

	// Labels Labels associated with this follow-up
	Labels *[]string `json:"labels,omitempty"`

	// Title Title of the follow-up
	Title string `json:"title"`
}

FollowUpsCreatePayloadV3 defines model for FollowUpsCreatePayloadV3.

type FollowUpsCreateResultV2 added in v1.0.1

type FollowUpsCreateResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsCreateResultV2 defines model for FollowUpsCreateResultV2.

type FollowUpsCreateResultV3 added in v1.0.81

type FollowUpsCreateResultV3 struct {
	FollowUp FollowUpV3 `json:"follow_up"`
}

FollowUpsCreateResultV3 defines model for FollowUpsCreateResultV3.

type FollowUpsListResultV2 added in v1.0.1

type FollowUpsListResultV2 struct {
	FollowUps []FollowUpV2 `json:"follow_ups"`
}

FollowUpsListResultV2 defines model for FollowUpsListResultV2.

type FollowUpsListResultV3 added in v1.0.81

type FollowUpsListResultV3 struct {
	FollowUps      []FollowUpV3           `json:"follow_ups"`
	PaginationMeta PaginationMetaResultV3 `json:"pagination_meta"`
}

FollowUpsListResultV3 defines model for FollowUpsListResultV3.

type FollowUpsShowResultV2 added in v1.0.1

type FollowUpsShowResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsShowResultV2 defines model for FollowUpsShowResultV2.

type FollowUpsShowResultV3 added in v1.0.81

type FollowUpsShowResultV3 struct {
	FollowUp FollowUpV3 `json:"follow_up"`
}

FollowUpsShowResultV3 defines model for FollowUpsShowResultV3.

type FollowUpsUpdatePayloadV2 added in v1.0.1

type FollowUpsUpdatePayloadV2 struct {
	// AssigneeId ID of the user this follow-up is assigned to. Set to null to unassign.
	AssigneeId *string `json:"assignee_id,omitempty"`

	// AssigneeTeamId ID of the team this follow-up is assigned to. Set to null to unassign.
	AssigneeTeamId *string `json:"assignee_team_id,omitempty"`

	// Description Description of the follow-up. Supports Markdown.
	Description *string `json:"description,omitempty"`

	// FollowUpCategoryId ID of the category for this follow-up
	FollowUpCategoryId *string `json:"follow_up_category_id,omitempty"`

	// FollowUpPriorityOptionId ID of the priority for this follow-up
	FollowUpPriorityOptionId *string `json:"follow_up_priority_option_id,omitempty"`

	// Labels Labels associated with this follow-up
	Labels *[]string `json:"labels,omitempty"`

	// Status Status of the follow-up. Setting this to `deleted` is not allowed; use the delete endpoint instead.
	Status FollowUpsUpdatePayloadV2Status `json:"status"`

	// Title Title of the follow-up
	Title string `json:"title"`
}

FollowUpsUpdatePayloadV2 defines model for FollowUpsUpdatePayloadV2.

type FollowUpsUpdatePayloadV2Status added in v1.0.1

type FollowUpsUpdatePayloadV2Status string

FollowUpsUpdatePayloadV2Status Status of the follow-up. Setting this to `deleted` is not allowed; use the delete endpoint instead.

const (
	FollowUpsUpdatePayloadV2StatusCompleted   FollowUpsUpdatePayloadV2Status = "completed"
	FollowUpsUpdatePayloadV2StatusDeleted     FollowUpsUpdatePayloadV2Status = "deleted"
	FollowUpsUpdatePayloadV2StatusNotDoing    FollowUpsUpdatePayloadV2Status = "not_doing"
	FollowUpsUpdatePayloadV2StatusOutstanding FollowUpsUpdatePayloadV2Status = "outstanding"
)

Defines values for FollowUpsUpdatePayloadV2Status.

func (FollowUpsUpdatePayloadV2Status) Valid added in v1.0.1

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

type FollowUpsUpdatePayloadV3 added in v1.0.81

type FollowUpsUpdatePayloadV3 struct {
	// AssigneeId ID of the user this follow-up is assigned to. Set to null to unassign.
	AssigneeId *string `json:"assignee_id,omitempty"`

	// AssigneeTeamId ID of the team this follow-up is assigned to. Set to null to unassign.
	AssigneeTeamId *string `json:"assignee_team_id,omitempty"`

	// Description Description of the follow-up. Supports Markdown.
	Description *string `json:"description,omitempty"`

	// FollowUpCategoryId ID of the category for this follow-up
	FollowUpCategoryId *string `json:"follow_up_category_id,omitempty"`

	// FollowUpPriorityOptionId ID of the priority for this follow-up
	FollowUpPriorityOptionId *string `json:"follow_up_priority_option_id,omitempty"`

	// Labels Labels associated with this follow-up
	Labels *[]string `json:"labels,omitempty"`

	// Status Status of the follow-up. Setting this to `deleted` is not allowed; use the delete endpoint instead.
	Status FollowUpsUpdatePayloadV3Status `json:"status"`

	// Title Title of the follow-up
	Title string `json:"title"`
}

FollowUpsUpdatePayloadV3 defines model for FollowUpsUpdatePayloadV3.

type FollowUpsUpdatePayloadV3Status added in v1.0.81

type FollowUpsUpdatePayloadV3Status string

FollowUpsUpdatePayloadV3Status Status of the follow-up. Setting this to `deleted` is not allowed; use the delete endpoint instead.

const (
	FollowUpsUpdatePayloadV3StatusCompleted   FollowUpsUpdatePayloadV3Status = "completed"
	FollowUpsUpdatePayloadV3StatusDeleted     FollowUpsUpdatePayloadV3Status = "deleted"
	FollowUpsUpdatePayloadV3StatusNotDoing    FollowUpsUpdatePayloadV3Status = "not_doing"
	FollowUpsUpdatePayloadV3StatusOutstanding FollowUpsUpdatePayloadV3Status = "outstanding"
)

Defines values for FollowUpsUpdatePayloadV3Status.

func (FollowUpsUpdatePayloadV3Status) Valid added in v1.0.81

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

type FollowUpsUpdateResultV2 added in v1.0.1

type FollowUpsUpdateResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsUpdateResultV2 defines model for FollowUpsUpdateResultV2.

type FollowUpsUpdateResultV3 added in v1.0.81

type FollowUpsUpdateResultV3 struct {
	FollowUp FollowUpV3 `json:"follow_up"`
}

FollowUpsUpdateResultV3 defines model for FollowUpsUpdateResultV3.

type FollowUpsV2ConnectExternalIssueJSONRequestBody added in v1.0.3

type FollowUpsV2ConnectExternalIssueJSONRequestBody = FollowUpsConnectExternalIssuePayloadV2

FollowUpsV2ConnectExternalIssueJSONRequestBody defines body for FollowUpsV2ConnectExternalIssue for application/json ContentType.

type FollowUpsV2ConnectExternalIssueResponse added in v1.0.3

type FollowUpsV2ConnectExternalIssueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsConnectExternalIssueResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV2ConnectExternalIssueResponse) Status added in v1.0.3

Status returns HTTPResponse.Status

func (FollowUpsV2ConnectExternalIssueResponse) StatusCode added in v1.0.3

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV2CreateJSONRequestBody added in v1.0.1

type FollowUpsV2CreateJSONRequestBody = FollowUpsCreatePayloadV2

FollowUpsV2CreateJSONRequestBody defines body for FollowUpsV2Create for application/json ContentType.

type FollowUpsV2CreateResponse added in v1.0.1

type FollowUpsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *FollowUpsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV2CreateResponse) Status added in v1.0.1

func (r FollowUpsV2CreateResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV2CreateResponse) StatusCode added in v1.0.1

func (r FollowUpsV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV2DeleteResponse added in v1.0.1

type FollowUpsV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV2DeleteResponse) Status added in v1.0.1

func (r FollowUpsV2DeleteResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV2DeleteResponse) StatusCode added in v1.0.1

func (r FollowUpsV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV2ListParams added in v1.0.1

type FollowUpsV2ListParams struct {
	// IncidentId Find follow-ups related to this incident
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// IncidentMode Filter to follow-ups from incidents of the given mode. If not set, only follow-ups from `standard` and `retrospective` incidents are returned
	IncidentMode *FollowUpsV2ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"`

	// AssigneeTeamId Filter follow-ups that are assigned to the given team
	AssigneeTeamId *string `form:"assignee_team_id,omitempty" json:"assignee_team_id,omitempty"`
}

FollowUpsV2ListParams defines parameters for FollowUpsV2List.

type FollowUpsV2ListParamsIncidentMode added in v1.0.1

type FollowUpsV2ListParamsIncidentMode string

FollowUpsV2ListParamsIncidentMode defines parameters for FollowUpsV2List.

const (
	FollowUpsV2ListParamsIncidentModeRetrospective FollowUpsV2ListParamsIncidentMode = "retrospective"
	FollowUpsV2ListParamsIncidentModeStandard      FollowUpsV2ListParamsIncidentMode = "standard"
	FollowUpsV2ListParamsIncidentModeStream        FollowUpsV2ListParamsIncidentMode = "stream"
	FollowUpsV2ListParamsIncidentModeTest          FollowUpsV2ListParamsIncidentMode = "test"
	FollowUpsV2ListParamsIncidentModeTutorial      FollowUpsV2ListParamsIncidentMode = "tutorial"
)

Defines values for FollowUpsV2ListParamsIncidentMode.

func (FollowUpsV2ListParamsIncidentMode) Valid added in v1.0.1

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

type FollowUpsV2ListResponse added in v1.0.1

type FollowUpsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV2ListResponse) Status added in v1.0.1

func (r FollowUpsV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV2ListResponse) StatusCode added in v1.0.1

func (r FollowUpsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV2ShowResponse added in v1.0.1

type FollowUpsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV2ShowResponse) Status added in v1.0.1

func (r FollowUpsV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV2ShowResponse) StatusCode added in v1.0.1

func (r FollowUpsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV2UpdateJSONRequestBody added in v1.0.1

type FollowUpsV2UpdateJSONRequestBody = FollowUpsUpdatePayloadV2

FollowUpsV2UpdateJSONRequestBody defines body for FollowUpsV2Update for application/json ContentType.

type FollowUpsV2UpdateResponse added in v1.0.1

type FollowUpsV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV2UpdateResponse) Status added in v1.0.1

func (r FollowUpsV2UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV2UpdateResponse) StatusCode added in v1.0.1

func (r FollowUpsV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV3ConnectExternalIssueJSONRequestBody added in v1.0.81

type FollowUpsV3ConnectExternalIssueJSONRequestBody = FollowUpsConnectExternalIssuePayloadV3

FollowUpsV3ConnectExternalIssueJSONRequestBody defines body for FollowUpsV3ConnectExternalIssue for application/json ContentType.

type FollowUpsV3ConnectExternalIssueResponse added in v1.0.81

type FollowUpsV3ConnectExternalIssueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsConnectExternalIssueResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV3ConnectExternalIssueResponse) Status added in v1.0.81

Status returns HTTPResponse.Status

func (FollowUpsV3ConnectExternalIssueResponse) StatusCode added in v1.0.81

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV3CreateJSONRequestBody added in v1.0.81

type FollowUpsV3CreateJSONRequestBody = FollowUpsCreatePayloadV3

FollowUpsV3CreateJSONRequestBody defines body for FollowUpsV3Create for application/json ContentType.

type FollowUpsV3CreateResponse added in v1.0.81

type FollowUpsV3CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *FollowUpsCreateResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV3CreateResponse) Status added in v1.0.81

func (r FollowUpsV3CreateResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV3CreateResponse) StatusCode added in v1.0.81

func (r FollowUpsV3CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV3DeleteResponse added in v1.0.81

type FollowUpsV3DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV3DeleteResponse) Status added in v1.0.81

func (r FollowUpsV3DeleteResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV3DeleteResponse) StatusCode added in v1.0.81

func (r FollowUpsV3DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV3ListParams added in v1.0.81

type FollowUpsV3ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A follow-up's ID. This endpoint will return a list of follow-ups after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// IncidentId Find follow-ups related to this incident
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// IncidentMode Filter to follow-ups from incidents of the given mode. If not set, only follow-ups from `standard` and `retrospective` incidents are returned
	IncidentMode *FollowUpsV3ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"`

	// AssigneeTeamId Filter follow-ups that are assigned to the given team
	AssigneeTeamId *string `form:"assignee_team_id,omitempty" json:"assignee_team_id,omitempty"`

	// CreatedAt Filter on follow-up created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'.
	CreatedAt *map[string][]string `form:"created_at,omitempty" json:"created_at,omitempty"`

	// UpdatedAt Filter on follow-up updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'.
	UpdatedAt *map[string][]string `form:"updated_at,omitempty" json:"updated_at,omitempty"`
}

FollowUpsV3ListParams defines parameters for FollowUpsV3List.

type FollowUpsV3ListParamsIncidentMode added in v1.0.81

type FollowUpsV3ListParamsIncidentMode string

FollowUpsV3ListParamsIncidentMode defines parameters for FollowUpsV3List.

const (
	Retrospective FollowUpsV3ListParamsIncidentMode = "retrospective"
	Standard      FollowUpsV3ListParamsIncidentMode = "standard"
	Stream        FollowUpsV3ListParamsIncidentMode = "stream"
	Test          FollowUpsV3ListParamsIncidentMode = "test"
	Tutorial      FollowUpsV3ListParamsIncidentMode = "tutorial"
)

Defines values for FollowUpsV3ListParamsIncidentMode.

func (FollowUpsV3ListParamsIncidentMode) Valid added in v1.0.81

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

type FollowUpsV3ListResponse added in v1.0.81

type FollowUpsV3ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsListResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV3ListResponse) Status added in v1.0.81

func (r FollowUpsV3ListResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV3ListResponse) StatusCode added in v1.0.81

func (r FollowUpsV3ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV3ShowResponse added in v1.0.81

type FollowUpsV3ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsShowResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV3ShowResponse) Status added in v1.0.81

func (r FollowUpsV3ShowResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV3ShowResponse) StatusCode added in v1.0.81

func (r FollowUpsV3ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FollowUpsV3UpdateJSONRequestBody added in v1.0.81

type FollowUpsV3UpdateJSONRequestBody = FollowUpsUpdatePayloadV3

FollowUpsV3UpdateJSONRequestBody defines body for FollowUpsV3Update for application/json ContentType.

type FollowUpsV3UpdateResponse added in v1.0.81

type FollowUpsV3UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FollowUpsUpdateResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (FollowUpsV3UpdateResponse) Status added in v1.0.81

func (r FollowUpsV3UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (FollowUpsV3UpdateResponse) StatusCode added in v1.0.81

func (r FollowUpsV3UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GroupingKeyV2 added in v1.0.1

type GroupingKeyV2 struct {
	// Reference A reference to a property of the alert to group on
	Reference string `json:"reference"`
}

GroupingKeyV2 defines model for GroupingKeyV2.

type GroupingKeyV3 added in v1.0.9

type GroupingKeyV3 struct {
	// Reference A reference to a property of the alert to group on
	Reference string `json:"reference"`
}

GroupingKeyV3 defines model for GroupingKeyV3.

type GroupingSettingsV3 added in v1.0.9

type GroupingSettingsV3 struct {
	// Enabled Whether grouping is enabled
	Enabled bool `json:"enabled"`

	// GroupingKeys Which attributes should this alert route use to group alerts? Only set when grouping is enabled.
	GroupingKeys *[]GroupingKeyV3 `json:"grouping_keys,omitempty"`

	// WindowSeconds How long the grouping window is, in seconds. Must be between 60 (1 minute) and 172800 (48 hours). Only set when grouping is enabled.
	WindowSeconds *int32 `json:"window_seconds,omitempty"`

	// WindowType Controls how the grouping window behaves. 'rolling' keeps the window open for window_seconds after the most recent alert, so the group stays open as long as alerts keep arriving. 'fixed' opens the window when the first alert arrives and always closes window_seconds later, regardless of any subsequent alerts. Only set when grouping is enabled.
	WindowType *GroupingSettingsV3WindowType `json:"window_type,omitempty"`
}

GroupingSettingsV3 defines model for GroupingSettingsV3.

type GroupingSettingsV3WindowType added in v1.0.9

type GroupingSettingsV3WindowType string

GroupingSettingsV3WindowType Controls how the grouping window behaves. 'rolling' keeps the window open for window_seconds after the most recent alert, so the group stays open as long as alerts keep arriving. 'fixed' opens the window when the first alert arrives and always closes window_seconds later, regardless of any subsequent alerts. Only set when grouping is enabled.

const (
	Fixed   GroupingSettingsV3WindowType = "fixed"
	Rolling GroupingSettingsV3WindowType = "rolling"
)

Defines values for GroupingSettingsV3WindowType.

func (GroupingSettingsV3WindowType) Valid added in v1.0.9

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

type HeartbeatV2Ping1Params added in v1.0.1

type HeartbeatV2Ping1Params struct {
	// Token Token provided via the token query parameter
	Token *string `form:"token,omitempty" json:"token,omitempty"`

	// Authorization Bearer token provided via the Authorization header
	Authorization *string `json:"authorization,omitempty"`
}

HeartbeatV2Ping1Params defines parameters for HeartbeatV2Ping1.

type HeartbeatV2Ping1Response added in v1.0.1

type HeartbeatV2Ping1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (HeartbeatV2Ping1Response) Status added in v1.0.1

func (r HeartbeatV2Ping1Response) Status() string

Status returns HTTPResponse.Status

func (HeartbeatV2Ping1Response) StatusCode added in v1.0.1

func (r HeartbeatV2Ping1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HeartbeatV2PingParams added in v1.0.1

type HeartbeatV2PingParams struct {
	// Token Token provided via the token query parameter
	Token *string `form:"token,omitempty" json:"token,omitempty"`

	// Authorization Bearer token provided via the Authorization header
	Authorization *string `json:"authorization,omitempty"`
}

HeartbeatV2PingParams defines parameters for HeartbeatV2Ping.

type HeartbeatV2PingResponse added in v1.0.1

type HeartbeatV2PingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (HeartbeatV2PingResponse) Status added in v1.0.1

func (r HeartbeatV2PingResponse) Status() string

Status returns HTTPResponse.Status

func (HeartbeatV2PingResponse) StatusCode added in v1.0.1

func (r HeartbeatV2PingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer added in v1.0.1

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IPAllowlistItemV1 added in v1.0.1

type IPAllowlistItemV1 struct {
	// Label A label to help identify this IP or prefix
	Label *string `json:"label,omitempty"`

	// Value An IP address or a CIDR IP prefix to allow
	Value string `json:"value"`
}

IPAllowlistItemV1 defines model for IPAllowlistItemV1.

type IPAllowlistV1 added in v1.0.1

type IPAllowlistV1 struct {
	// Allowlist A list of IP addresses or CIDR prefixes to allow
	Allowlist []IPAllowlistItemV1 `json:"allowlist"`

	// Enabled Whether this IP allowlist is enabled or not
	Enabled bool `json:"enabled"`

	// UpdatedAt The time this allowlist was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Version The version of this IP allowlist
	Version int64 `json:"version"`
}

IPAllowlistV1 defines model for IPAllowlistV1.

type IPAllowlistsShowIPAllowlistResultV1 added in v1.0.1

type IPAllowlistsShowIPAllowlistResultV1 struct {
	IpAllowlist IPAllowlistV1 `json:"ip_allowlist"`
}

IPAllowlistsShowIPAllowlistResultV1 defines model for IPAllowlistsShowIPAllowlistResultV1.

type IPAllowlistsUpdateIPAllowlistPayloadV1 added in v1.0.1

type IPAllowlistsUpdateIPAllowlistPayloadV1 struct {
	// Allowlist A list of IP addresses or CIDR prefixes to allow
	Allowlist []IPAllowlistItemV1 `json:"allowlist"`

	// Enabled Whether this IP allowlist is enabled or not
	Enabled bool `json:"enabled"`

	// Version The version of this IP allowlist
	Version int64 `json:"version"`
}

IPAllowlistsUpdateIPAllowlistPayloadV1 defines model for IPAllowlistsUpdateIPAllowlistPayloadV1.

type IPAllowlistsUpdateIPAllowlistResultV1 added in v1.0.1

type IPAllowlistsUpdateIPAllowlistResultV1 struct {
	IpAllowlist IPAllowlistV1 `json:"ip_allowlist"`
}

IPAllowlistsUpdateIPAllowlistResultV1 defines model for IPAllowlistsUpdateIPAllowlistResultV1.

type IPAllowlistsV1ShowIPAllowlistResponse added in v1.0.1

type IPAllowlistsV1ShowIPAllowlistResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IPAllowlistsShowIPAllowlistResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IPAllowlistsV1ShowIPAllowlistResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IPAllowlistsV1ShowIPAllowlistResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IPAllowlistsV1UpdateIPAllowlistJSONRequestBody added in v1.0.1

type IPAllowlistsV1UpdateIPAllowlistJSONRequestBody = IPAllowlistsUpdateIPAllowlistPayloadV1

IPAllowlistsV1UpdateIPAllowlistJSONRequestBody defines body for IPAllowlistsV1UpdateIPAllowlist for application/json ContentType.

type IPAllowlistsV1UpdateIPAllowlistResponse added in v1.0.1

type IPAllowlistsV1UpdateIPAllowlistResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IPAllowlistsUpdateIPAllowlistResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IPAllowlistsV1UpdateIPAllowlistResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IPAllowlistsV1UpdateIPAllowlistResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IPRangeV1 added in v1.0.98

type IPRangeV1 struct {
	// Cidr The address in CIDR notation. Single addresses are given as a /32.
	Cidr string `json:"cidr"`

	// Description Which of our traffic reaches you from this address
	Description string `json:"description"`
}

IPRangeV1 One address our requests to your systems come from.

type IdentityTeamV1 added in v1.0.1

type IdentityTeamV1 struct {
	// Id Unique identifier for the team
	Id string `json:"id"`

	// Name Human readable name of the team
	Name string `json:"name"`
}

IdentityTeamV1 defines model for IdentityTeamV1.

type IdentityV1 added in v1.0.1

type IdentityV1 struct {
	// DashboardUrl The dashboard URL for this organisation
	DashboardUrl string `json:"dashboard_url"`

	// Name The name assigned to the current API Key
	Name string `json:"name"`

	// Roles Which roles have been enabled for this key
	Roles []IdentityV1Roles `json:"roles"`

	// TeamRoles If set, these roles apply to requests that operate on resources owned by any of the teams in the 'teams' array. These are in addition to any 'roles' which are applied on all requests.
	TeamRoles []IdentityV1TeamRoles `json:"team_roles"`

	// Teams Teams that this API key is scoped to. If this is not empty, the current API key has additional roles within these teams (see team_roles).
	Teams []IdentityTeamV1 `json:"teams"`
}

IdentityV1 defines model for IdentityV1.

type IdentityV1Roles added in v1.0.1

type IdentityV1Roles string

IdentityV1Roles API key roles

const (
	IdentityV1RolesActOnBehalfOfUsers                  IdentityV1Roles = "act_on_behalf_of_users"
	IdentityV1RolesApiKeysManage                       IdentityV1Roles = "api_keys_manage"
	IdentityV1RolesCallTranscriptsViewer               IdentityV1Roles = "call_transcripts_viewer"
	IdentityV1RolesCatalogEditor                       IdentityV1Roles = "catalog_editor"
	IdentityV1RolesCatalogViewer                       IdentityV1Roles = "catalog_viewer"
	IdentityV1RolesEscalationCreator                   IdentityV1Roles = "escalation_creator"
	IdentityV1RolesGlobalAccess                        IdentityV1Roles = "global_access"
	IdentityV1RolesHeartbeatsPing                      IdentityV1Roles = "heartbeats_ping"
	IdentityV1RolesIncidentCreator                     IdentityV1Roles = "incident_creator"
	IdentityV1RolesIncidentEditor                      IdentityV1Roles = "incident_editor"
	IdentityV1RolesIncidentMembershipsEditor           IdentityV1Roles = "incident_memberships_editor"
	IdentityV1RolesIncidentWorkloadPrivateViewer       IdentityV1Roles = "incident_workload_private_viewer"
	IdentityV1RolesIncidentWorkloadViewer              IdentityV1Roles = "incident_workload_viewer"
	IdentityV1RolesInvestigationDownload               IdentityV1Roles = "investigation_download"
	IdentityV1RolesManageSettings                      IdentityV1Roles = "manage_settings"
	IdentityV1RolesNotificationMethodsManage           IdentityV1Roles = "notification_methods_manage"
	IdentityV1RolesNotificationMethodsUnredactedViewer IdentityV1Roles = "notification_methods_unredacted_viewer"
	IdentityV1RolesOnCallEditor                        IdentityV1Roles = "on_call_editor"
	IdentityV1RolesOnCallViewer                        IdentityV1Roles = "on_call_viewer"
	IdentityV1RolesPoliciesViewer                      IdentityV1Roles = "policies_viewer"
	IdentityV1RolesPolicyFindingsManage                IdentityV1Roles = "policy_findings_manage"
	IdentityV1RolesPostIncidentFlowOptOut              IdentityV1Roles = "post_incident_flow_opt_out"
	IdentityV1RolesPostmortemsManage                   IdentityV1Roles = "postmortems_manage"
	IdentityV1RolesPrivateEscalationWorkflowsEditor    IdentityV1Roles = "private_escalation_workflows_editor"
	IdentityV1RolesPrivateWorkflowsEditor              IdentityV1Roles = "private_workflows_editor"
	IdentityV1RolesScheduleOverridesEditor             IdentityV1Roles = "schedule_overrides_editor"
	IdentityV1RolesSchedulesEditor                     IdentityV1Roles = "schedules_editor"
	IdentityV1RolesSchedulesReader                     IdentityV1Roles = "schedules_reader"
	IdentityV1RolesSecretsManage                       IdentityV1Roles = "secrets_manage"
	IdentityV1RolesSecretsUse                          IdentityV1Roles = "secrets_use"
	IdentityV1RolesSecuritySettingsEditor              IdentityV1Roles = "security_settings_editor"
	IdentityV1RolesStatusPagePublisher                 IdentityV1Roles = "status_page_publisher"
	IdentityV1RolesTeamMembershipsManage               IdentityV1Roles = "team_memberships_manage"
	IdentityV1RolesTelemetryDataSourceUpdate           IdentityV1Roles = "telemetry_data_source_update"
	IdentityV1RolesTelemetryQueryRestricted            IdentityV1Roles = "telemetry_query_restricted"
	IdentityV1RolesViewer                              IdentityV1Roles = "viewer"
	IdentityV1RolesWorkflowsEditor                     IdentityV1Roles = "workflows_editor"
	IdentityV1RolesWorkflowsViewer                     IdentityV1Roles = "workflows_viewer"
)

Defines values for IdentityV1Roles.

func (IdentityV1Roles) Valid added in v1.0.1

func (e IdentityV1Roles) Valid() bool

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

type IdentityV1TeamRoles added in v1.0.1

type IdentityV1TeamRoles string

IdentityV1TeamRoles API key team roles

const (
	IdentityV1TeamRolesApiKeysManage             IdentityV1TeamRoles = "api_keys_manage"
	IdentityV1TeamRolesCatalogEditor             IdentityV1TeamRoles = "catalog_editor"
	IdentityV1TeamRolesEscalationCreator         IdentityV1TeamRoles = "escalation_creator"
	IdentityV1TeamRolesHeartbeatsPing            IdentityV1TeamRoles = "heartbeats_ping"
	IdentityV1TeamRolesOnCallEditor              IdentityV1TeamRoles = "on_call_editor"
	IdentityV1TeamRolesPrivateWorkflowsEditor    IdentityV1TeamRoles = "private_workflows_editor"
	IdentityV1TeamRolesScheduleOverridesEditor   IdentityV1TeamRoles = "schedule_overrides_editor"
	IdentityV1TeamRolesSchedulesEditor           IdentityV1TeamRoles = "schedules_editor"
	IdentityV1TeamRolesSchedulesReader           IdentityV1TeamRoles = "schedules_reader"
	IdentityV1TeamRolesSecretsManage             IdentityV1TeamRoles = "secrets_manage"
	IdentityV1TeamRolesSecretsUse                IdentityV1TeamRoles = "secrets_use"
	IdentityV1TeamRolesTelemetryDataSourceUpdate IdentityV1TeamRoles = "telemetry_data_source_update"
	IdentityV1TeamRolesTelemetryQueryRestricted  IdentityV1TeamRoles = "telemetry_query_restricted"
	IdentityV1TeamRolesWorkflowsEditor           IdentityV1TeamRoles = "workflows_editor"
)

Defines values for IdentityV1TeamRoles.

func (IdentityV1TeamRoles) Valid added in v1.0.1

func (e IdentityV1TeamRoles) Valid() bool

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

type ImageV1 added in v1.0.1

type ImageV1 struct {
	// Id Unique identifier for the image
	Id string `json:"id"`

	// Url Pre-signed URL to fetch the image, valid for 10 minutes
	Url string `json:"url"`
}

ImageV1 defines model for ImageV1.

type IncidentActivityLogContentV2 added in v1.0.92

type IncidentActivityLogContentV2 struct {
	ActionCreated             *ActivityActionRefV2                 `json:"action_created,omitempty"`
	ActionUpdated             *ActivityActionUpdatedV2             `json:"action_updated,omitempty"`
	AlertAttachedToIncident   *ActivityAlertRefV2                  `json:"alert_attached_to_incident,omitempty"`
	CustomFieldValueUpdate    *ActivityCustomFieldValueUpdateV2    `json:"custom_field_value_update,omitempty"`
	EscalationAcknowledged    *ActivityEscalationAcknowledgedV2    `json:"escalation_acknowledged,omitempty"`
	EscalationCreated         *ActivityEscalationCreatedV2         `json:"escalation_created,omitempty"`
	FollowUpCreated           *ActivityFollowUpRefV2               `json:"follow_up_created,omitempty"`
	FollowUpUpdated           *ActivityFollowUpUpdatedV2           `json:"follow_up_updated,omitempty"`
	IncidentMerged            *ActivityIncidentMergedV2            `json:"incident_merged,omitempty"`
	IncidentRename            *ActivityIncidentRenameV2            `json:"incident_rename,omitempty"`
	IncidentTimestampSet      *ActivityIncidentTimestampSetV2      `json:"incident_timestamp_set,omitempty"`
	IncidentTypeChanged       *ActivityIncidentTypeChangedV2       `json:"incident_type_changed,omitempty"`
	IncidentUpdate            *ActivityIncidentUpdateV2            `json:"incident_update,omitempty"`
	IncidentVisibilityChanged *ActivityIncidentVisibilityChangedV2 `json:"incident_visibility_changed,omitempty"`
	RoleUpdate                *ActivityRoleUpdateV2                `json:"role_update,omitempty"`
	StatusChange              *ActivityStatusChangeV2              `json:"status_change,omitempty"`
	SummaryUpdate             *ActivitySummaryUpdateV2             `json:"summary_update,omitempty"`
	WorkflowRan               *ActivityWorkflowRanV2               `json:"workflow_ran,omitempty"`
}

IncidentActivityLogContentV2 Details of an activity log entry.

At most one key is set, and it matches the entry's type. Types not listed here carry no content: the entry's type and title are all there is.

type IncidentActivityLogEntriesListResultV2 added in v1.0.92

type IncidentActivityLogEntriesListResultV2 struct {
	IncidentActivityLogEntries []IncidentActivityLogEntryV2 `json:"incident_activity_log_entries"`
	PaginationMeta             *PaginationMetaResultV2      `json:"pagination_meta,omitempty"`
}

IncidentActivityLogEntriesListResultV2 defines model for IncidentActivityLogEntriesListResultV2.

type IncidentActivityLogEntriesV2ListParams added in v1.0.92

type IncidentActivityLogEntriesV2ListParams struct {
	// IncidentId Incident whose activity you want to list
	IncidentId string `form:"incident_id" json:"incident_id"`

	// Id Return only the entries with these IDs
	Id *[]string `form:"id,omitempty" json:"id,omitempty"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An entry's ID. This endpoint returns the entries that follow it.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

IncidentActivityLogEntriesV2ListParams defines parameters for IncidentActivityLogEntriesV2List.

type IncidentActivityLogEntriesV2ListResponse added in v1.0.92

type IncidentActivityLogEntriesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentActivityLogEntriesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentActivityLogEntriesV2ListResponse) Status added in v1.0.92

Status returns HTTPResponse.Status

func (IncidentActivityLogEntriesV2ListResponse) StatusCode added in v1.0.92

StatusCode returns HTTPResponse.StatusCode

type IncidentActivityLogEntryV2 added in v1.0.92

type IncidentActivityLogEntryV2 struct {
	// Content Details of an activity log entry.
	//
	// At most one key is set, and it matches the entry's type. Types not listed here carry no
	// content: the entry's type and title are all there is.
	Content *IncidentActivityLogContentV2 `json:"content,omitempty"`

	// CreatedAt When we recorded the activity
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier of the activity log entry
	Id string `json:"id"`

	// IncidentId ID of the incident this happened on. When the incident has streams, listing the parent also returns entries from its streams, and this is the stream's ID for those.
	IncidentId string `json:"incident_id"`

	// OccurredAt When the activity happened. This is what the log is ordered by.
	OccurredAt time.Time `json:"occurred_at"`

	// Title Human-readable summary of what happened
	Title string `json:"title"`

	// Type What kind of activity this is. Switch on this rather than title, which is display copy we reword.
	Type IncidentActivityLogEntryV2Type `json:"type"`
}

IncidentActivityLogEntryV2 One thing that happened on an incident.

The activity log records everything. The timeline is the narrative, made of the entries someone promoted onto it and the items they wrote by hand.

type IncidentActivityLogEntryV2Type added in v1.0.92

type IncidentActivityLogEntryV2Type string

IncidentActivityLogEntryV2Type What kind of activity this is. Switch on this rather than title, which is display copy we reword.

const (
	ActionCreated                               IncidentActivityLogEntryV2Type = "action_created"
	ActionUpdated                               IncidentActivityLogEntryV2Type = "action_updated"
	ActionsSharedInChannel                      IncidentActivityLogEntryV2Type = "actions_shared_in_channel"
	AlertAttachedToIncident                     IncidentActivityLogEntryV2Type = "alert_attached_to_incident"
	AlertGroupAttachedToIncident                IncidentActivityLogEntryV2Type = "alert_group_attached_to_incident"
	AlertGroupDetachedFromIncident              IncidentActivityLogEntryV2Type = "alert_group_detached_from_incident"
	AtlassianStatuspageUpdate                   IncidentActivityLogEntryV2Type = "atlassian_statuspage_update"
	CallUrlChanged                              IncidentActivityLogEntryV2Type = "call_url_changed"
	CustomFieldValueUpdate                      IncidentActivityLogEntryV2Type = "custom_field_value_update"
	EscalationAcknowledged                      IncidentActivityLogEntryV2Type = "escalation_acknowledged"
	EscalationCreated                           IncidentActivityLogEntryV2Type = "escalation_created"
	ExternalIssueCommentSynced                  IncidentActivityLogEntryV2Type = "external_issue_comment_synced"
	FollowUpCreated                             IncidentActivityLogEntryV2Type = "follow_up_created"
	FollowUpUpdated                             IncidentActivityLogEntryV2Type = "follow_up_updated"
	FollowUpsSharedInChannel                    IncidentActivityLogEntryV2Type = "follow_ups_shared_in_channel"
	Handover                                    IncidentActivityLogEntryV2Type = "handover"
	IncidentAttachmentAdded                     IncidentActivityLogEntryV2Type = "incident_attachment_added"
	IncidentAttachmentRemoved                   IncidentActivityLogEntryV2Type = "incident_attachment_removed"
	IncidentCallCreated                         IncidentActivityLogEntryV2Type = "incident_call_created"
	IncidentCallEnded                           IncidentActivityLogEntryV2Type = "incident_call_ended"
	IncidentCallParticipantsUpdated             IncidentActivityLogEntryV2Type = "incident_call_participants_updated"
	IncidentCallRecallBotStatusChanged          IncidentActivityLogEntryV2Type = "incident_call_recall_bot_status_changed"
	IncidentCallStarted                         IncidentActivityLogEntryV2Type = "incident_call_started"
	IncidentCallTranscriptCurrentTopicGenerated IncidentActivityLogEntryV2Type = "incident_call_transcript_current_topic_generated"
	IncidentCallTranscriptKeyMomentGenerated    IncidentActivityLogEntryV2Type = "incident_call_transcript_key_moment_generated"
	IncidentCallTranscriptMessage               IncidentActivityLogEntryV2Type = "incident_call_transcript_message"
	IncidentCallTranscriptSummaryGenerated      IncidentActivityLogEntryV2Type = "incident_call_transcript_summary_generated"
	IncidentChannelCreated                      IncidentActivityLogEntryV2Type = "incident_channel_created"
	IncidentChannelJoin                         IncidentActivityLogEntryV2Type = "incident_channel_join"
	IncidentChannelLeave                        IncidentActivityLogEntryV2Type = "incident_channel_leave"
	IncidentEscalate                            IncidentActivityLogEntryV2Type = "incident_escalate"
	IncidentMembershipRevoked                   IncidentActivityLogEntryV2Type = "incident_membership_revoked"
	IncidentMerged                              IncidentActivityLogEntryV2Type = "incident_merged"
	IncidentRename                              IncidentActivityLogEntryV2Type = "incident_rename"
	IncidentTimestampOccurred                   IncidentActivityLogEntryV2Type = "incident_timestamp_occurred"
	IncidentTimestampSet                        IncidentActivityLogEntryV2Type = "incident_timestamp_set"
	IncidentTypeChanged                         IncidentActivityLogEntryV2Type = "incident_type_changed"
	IncidentUpdate                              IncidentActivityLogEntryV2Type = "incident_update"
	IncidentVisibilityChanged                   IncidentActivityLogEntryV2Type = "incident_visibility_changed"
	InvestigationHypothesisUpdate               IncidentActivityLogEntryV2Type = "investigation_hypothesis_update"
	MicrosoftTeamsAnnouncementReply             IncidentActivityLogEntryV2Type = "microsoft_teams_announcement_reply"
	MicrosoftTeamsImage                         IncidentActivityLogEntryV2Type = "microsoft_teams_image"
	MicrosoftTeamsMessage                       IncidentActivityLogEntryV2Type = "microsoft_teams_message"
	MicrosoftTeamsPinnedChannelMessage          IncidentActivityLogEntryV2Type = "microsoft_teams_pinned_channel_message"
	PagerdutyIncidentAcknowledged               IncidentActivityLogEntryV2Type = "pagerduty_incident_acknowledged"
	PagerdutyIncidentResolved                   IncidentActivityLogEntryV2Type = "pagerduty_incident_resolved"
	PagerdutyIncidentTriggered                  IncidentActivityLogEntryV2Type = "pagerduty_incident_triggered"
	PostmortemChanged                           IncidentActivityLogEntryV2Type = "postmortem_changed"
	PostmortemDocumentV2Changed                 IncidentActivityLogEntryV2Type = "postmortem_document_v2_changed"
	RoleUpdate                                  IncidentActivityLogEntryV2Type = "role_update"
	ScribeAdded                                 IncidentActivityLogEntryV2Type = "scribe_added"
	ScribeRemoved                               IncidentActivityLogEntryV2Type = "scribe_removed"
	Scrub                                       IncidentActivityLogEntryV2Type = "scrub"
	SlackImage                                  IncidentActivityLogEntryV2Type = "slack_image"
	SlackInferSentry                            IncidentActivityLogEntryV2Type = "slack_infer_sentry"
	SlackMessage                                IncidentActivityLogEntryV2Type = "slack_message"
	SlackPin                                    IncidentActivityLogEntryV2Type = "slack_pin"
	StatusChange                                IncidentActivityLogEntryV2Type = "status_change"
	StatusPageIncidentLinked                    IncidentActivityLogEntryV2Type = "status_page_incident_linked"
	StatusPageIncidentUpdated                   IncidentActivityLogEntryV2Type = "status_page_incident_updated"
	SummaryUpdate                               IncidentActivityLogEntryV2Type = "summary_update"
	UserIntentDeclared                          IncidentActivityLogEntryV2Type = "user_intent_declared"
	WorkflowRan                                 IncidentActivityLogEntryV2Type = "workflow_ran"
)

Defines values for IncidentActivityLogEntryV2Type.

func (IncidentActivityLogEntryV2Type) Valid added in v1.0.92

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

type IncidentAlertV2 added in v1.0.1

type IncidentAlertV2 struct {
	Alert AlertSlimV2 `json:"alert"`

	// AlertRouteId The ID of the alert route that created this incident alert
	AlertRouteId *string `json:"alert_route_id,omitempty"`

	// Id The ID of this alert
	Id string `json:"id"`

	// Incident Incident slim is a subset of the full incident object, listing key fields.
	Incident IncidentSlimV2 `json:"incident"`
}

IncidentAlertV2 defines model for IncidentAlertV2.

type IncidentAttachmentV1 added in v1.0.1

type IncidentAttachmentV1 struct {
	// Id Unique identifier of this incident membership
	Id string `json:"id"`

	// IncidentId Unique identifier of the incident
	IncidentId string             `json:"incident_id"`
	Resource   ExternalResourceV1 `json:"resource"`
}

IncidentAttachmentV1 defines model for IncidentAttachmentV1.

type IncidentAttachmentsCreatePayloadV1 added in v1.0.1

type IncidentAttachmentsCreatePayloadV1 struct {
	// IncidentId ID of the incident to add an attachment to
	IncidentId string `json:"incident_id"`
	Resource   struct {
		// Emoji Emoji shortcode representing the link, without surrounding colons. Only supported for the arbitrary_url resource type.
		Emoji *string `json:"emoji,omitempty"`

		// ExternalId ID of the resource in the external system
		ExternalId *string `json:"external_id,omitempty"`

		// ResourceType E.g. PagerDuty: the external system that holds the resource
		ResourceType IncidentAttachmentsCreatePayloadV1ResourceResourceType `json:"resource_type"`

		// Title Human readable title for the link. Only supported for the arbitrary_url resource type.
		Title *string `json:"title,omitempty"`

		// Url URL of the external resource to attach for the given resource type.
		Url *string `json:"url,omitempty"`
	} `json:"resource"`
}

IncidentAttachmentsCreatePayloadV1 defines model for IncidentAttachmentsCreatePayloadV1.

type IncidentAttachmentsCreatePayloadV1ResourceResourceType added in v1.0.1

type IncidentAttachmentsCreatePayloadV1ResourceResourceType string

IncidentAttachmentsCreatePayloadV1ResourceResourceType E.g. PagerDuty: the external system that holds the resource

const (
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeArbitraryUrl                IncidentAttachmentsCreatePayloadV1ResourceResourceType = "arbitrary_url"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeAtlassianStatuspageIncident IncidentAttachmentsCreatePayloadV1ResourceResourceType = "atlassian_statuspage_incident"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeDatadogMonitorAlert         IncidentAttachmentsCreatePayloadV1ResourceResourceType = "datadog_monitor_alert"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeGithubPullRequest           IncidentAttachmentsCreatePayloadV1ResourceResourceType = "github_pull_request"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeGitlabMergeRequest          IncidentAttachmentsCreatePayloadV1ResourceResourceType = "gitlab_merge_request"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeGoogleCalendarEvent         IncidentAttachmentsCreatePayloadV1ResourceResourceType = "google_calendar_event"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeJiraIssue                   IncidentAttachmentsCreatePayloadV1ResourceResourceType = "jira_issue"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeJsmAlert                    IncidentAttachmentsCreatePayloadV1ResourceResourceType = "jsm_alert"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeOpsgenieAlert               IncidentAttachmentsCreatePayloadV1ResourceResourceType = "opsgenie_alert"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeOutlookCalendarEvent        IncidentAttachmentsCreatePayloadV1ResourceResourceType = "outlook_calendar_event"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypePagerDutyIncident           IncidentAttachmentsCreatePayloadV1ResourceResourceType = "pager_duty_incident"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeSalesforceCase              IncidentAttachmentsCreatePayloadV1ResourceResourceType = "salesforce_case"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeScrubbed                    IncidentAttachmentsCreatePayloadV1ResourceResourceType = "scrubbed"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeSentryIssue                 IncidentAttachmentsCreatePayloadV1ResourceResourceType = "sentry_issue"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeSlackFile                   IncidentAttachmentsCreatePayloadV1ResourceResourceType = "slack_file"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeStatuspageIncident          IncidentAttachmentsCreatePayloadV1ResourceResourceType = "statuspage_incident"
	IncidentAttachmentsCreatePayloadV1ResourceResourceTypeZendeskTicket               IncidentAttachmentsCreatePayloadV1ResourceResourceType = "zendesk_ticket"
)

Defines values for IncidentAttachmentsCreatePayloadV1ResourceResourceType.

func (IncidentAttachmentsCreatePayloadV1ResourceResourceType) Valid added in v1.0.1

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

type IncidentAttachmentsCreateResultV1 added in v1.0.1

type IncidentAttachmentsCreateResultV1 struct {
	IncidentAttachment IncidentAttachmentV1 `json:"incident_attachment"`
}

IncidentAttachmentsCreateResultV1 defines model for IncidentAttachmentsCreateResultV1.

type IncidentAttachmentsListResultV1 added in v1.0.1

type IncidentAttachmentsListResultV1 struct {
	IncidentAttachments []IncidentAttachmentV1 `json:"incident_attachments"`
}

IncidentAttachmentsListResultV1 defines model for IncidentAttachmentsListResultV1.

type IncidentAttachmentsV1CreateJSONRequestBody added in v1.0.1

type IncidentAttachmentsV1CreateJSONRequestBody = IncidentAttachmentsCreatePayloadV1

IncidentAttachmentsV1CreateJSONRequestBody defines body for IncidentAttachmentsV1Create for application/json ContentType.

type IncidentAttachmentsV1CreateResponse added in v1.0.1

type IncidentAttachmentsV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentAttachmentsCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentAttachmentsV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentAttachmentsV1CreateResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IncidentAttachmentsV1DeleteResponse added in v1.0.1

type IncidentAttachmentsV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentAttachmentsV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentAttachmentsV1DeleteResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IncidentAttachmentsV1ListParams added in v1.0.1

type IncidentAttachmentsV1ListParams struct {
	// IncidentId Incident that this attachment is against
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// ExternalId ID of the resource in the external system
	ExternalId *string `form:"external_id,omitempty" json:"external_id,omitempty"`

	// ResourceType E.g. PagerDuty: the external system that holds the resource
	ResourceType *IncidentAttachmentsV1ListParamsResourceType `form:"resource_type,omitempty" json:"resource_type,omitempty"`
}

IncidentAttachmentsV1ListParams defines parameters for IncidentAttachmentsV1List.

type IncidentAttachmentsV1ListParamsResourceType added in v1.0.1

type IncidentAttachmentsV1ListParamsResourceType string

IncidentAttachmentsV1ListParamsResourceType defines parameters for IncidentAttachmentsV1List.

const (
	ArbitraryUrl                IncidentAttachmentsV1ListParamsResourceType = "arbitrary_url"
	AtlassianStatuspageIncident IncidentAttachmentsV1ListParamsResourceType = "atlassian_statuspage_incident"
	DatadogMonitorAlert         IncidentAttachmentsV1ListParamsResourceType = "datadog_monitor_alert"
	GithubPullRequest           IncidentAttachmentsV1ListParamsResourceType = "github_pull_request"
	GitlabMergeRequest          IncidentAttachmentsV1ListParamsResourceType = "gitlab_merge_request"
	GoogleCalendarEvent         IncidentAttachmentsV1ListParamsResourceType = "google_calendar_event"
	JiraIssue                   IncidentAttachmentsV1ListParamsResourceType = "jira_issue"
	JsmAlert                    IncidentAttachmentsV1ListParamsResourceType = "jsm_alert"
	OpsgenieAlert               IncidentAttachmentsV1ListParamsResourceType = "opsgenie_alert"
	OutlookCalendarEvent        IncidentAttachmentsV1ListParamsResourceType = "outlook_calendar_event"
	PagerDutyIncident           IncidentAttachmentsV1ListParamsResourceType = "pager_duty_incident"
	SalesforceCase              IncidentAttachmentsV1ListParamsResourceType = "salesforce_case"
	Scrubbed                    IncidentAttachmentsV1ListParamsResourceType = "scrubbed"
	SentryIssue                 IncidentAttachmentsV1ListParamsResourceType = "sentry_issue"
	SlackFile                   IncidentAttachmentsV1ListParamsResourceType = "slack_file"
	StatuspageIncident          IncidentAttachmentsV1ListParamsResourceType = "statuspage_incident"
	ZendeskTicket               IncidentAttachmentsV1ListParamsResourceType = "zendesk_ticket"
)

Defines values for IncidentAttachmentsV1ListParamsResourceType.

func (IncidentAttachmentsV1ListParamsResourceType) Valid added in v1.0.1

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

type IncidentAttachmentsV1ListResponse added in v1.0.1

type IncidentAttachmentsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentAttachmentsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentAttachmentsV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentAttachmentsV1ListResponse) StatusCode added in v1.0.1

func (r IncidentAttachmentsV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentDurationMetricV2 added in v1.0.1

type IncidentDurationMetricV2 struct {
	// Id Unique ID of this incident duration metric
	Id string `json:"id"`

	// Name Unique name of this duration metric
	Name string `json:"name"`
}

IncidentDurationMetricV2 defines model for IncidentDurationMetricV2.

type IncidentDurationMetricWithValueV2 added in v1.0.1

type IncidentDurationMetricWithValueV2 struct {
	DurationMetric IncidentDurationMetricV2 `json:"duration_metric"`

	// Status Whether value_seconds matches this incident's current timestamps ('success'), or why it doesn't
	Status IncidentDurationMetricWithValueV2Status `json:"status"`

	// ValueSeconds The duration we last calculated for this metric, omitted if we've never calculated one. If status isn't 'success', this incident's timestamps have changed since and no longer match this value
	ValueSeconds *int64 `json:"value_seconds,omitempty"`
}

IncidentDurationMetricWithValueV2 defines model for IncidentDurationMetricWithValueV2.

type IncidentDurationMetricWithValueV2Status added in v1.0.43

type IncidentDurationMetricWithValueV2Status string

IncidentDurationMetricWithValueV2Status Whether value_seconds matches this incident's current timestamps ('success'), or why it doesn't

const (
	IncidentDurationMetricWithValueV2StatusCalculating       IncidentDurationMetricWithValueV2Status = "calculating"
	IncidentDurationMetricWithValueV2StatusInvalidTimestamps IncidentDurationMetricWithValueV2Status = "invalid_timestamps"
	IncidentDurationMetricWithValueV2StatusSuccess           IncidentDurationMetricWithValueV2Status = "success"
	IncidentDurationMetricWithValueV2StatusTimestampsMissing IncidentDurationMetricWithValueV2Status = "timestamps_missing"
)

Defines values for IncidentDurationMetricWithValueV2Status.

func (IncidentDurationMetricWithValueV2Status) Valid added in v1.0.43

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

type IncidentEditPayloadV2 added in v1.0.1

type IncidentEditPayloadV2 struct {
	// CallUrl The call URL attached to this incident
	CallUrl *string `json:"call_url,omitempty"`

	// CustomFieldEntries Set the incident's custom fields to these values
	CustomFieldEntries *[]CustomFieldEntryPayloadV2 `json:"custom_field_entries,omitempty"`

	// IncidentRoleAssignments Assign incident roles to these people
	IncidentRoleAssignments *[]IncidentRoleAssignmentPayloadV2 `json:"incident_role_assignments,omitempty"`

	// IncidentStatusId Incident status to move the incident to. Allowed transitions are:
	//
	// - Moving between statuses within the same category (e.g. between active statuses)
	// - Resolving an incident by moving from active/triage to a post-incident or closed status
	// - Closing an incident from a post-incident status
	//
	// When resolving to a post-incident status, the incident enters the post-incident flow and tasks are created. The status must belong to the post-incident flow that applies to this incident based on its severity, incident type, and other properties. If you specify a status from a different post-incident flow, the request will fail with a validation error.
	//
	// When resolving directly to closed, any configured post-incident flow is skipped entirely. This requires the 'Close incidents by opting out of post-incident flow' permission on the API key, if your incident lifecycle normally requires you to run a post-incident flow for this incident.
	//
	// Note: Once an incident is in the post-incident flow, its status is managed automatically based on task completion. Moving between post-incident statuses via the API is not recommended as the system will recalculate the correct status when tasks are updated.
	IncidentStatusId *string `json:"incident_status_id,omitempty"`

	// IncidentTimestampValues Assign the incident's timestamps to these values
	IncidentTimestampValues *[]IncidentTimestampValuePayloadV2 `json:"incident_timestamp_values,omitempty"`

	// Name Explanation of the incident
	Name *string `json:"name,omitempty"`

	// SeverityId The ID of the current severity of this incident
	SeverityId *string `json:"severity_id,omitempty"`

	// SlackChannelNameOverride Override the name of the incident Slack channel
	SlackChannelNameOverride *string `json:"slack_channel_name_override,omitempty"`

	// Summary Detailed description of the incident
	Summary *string `json:"summary,omitempty"`
}

IncidentEditPayloadV2 defines model for IncidentEditPayloadV2.

type IncidentMembershipV1 added in v1.0.1

type IncidentMembershipV1 struct {
	// CreatedAt When the membership was created
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier of this incident membership
	Id string `json:"id"`

	// IncidentId Unique identifier of the incident
	IncidentId string `json:"incident_id"`

	// UpdatedAt When the membership was last updated
	UpdatedAt time.Time `json:"updated_at"`
	User      UserV1    `json:"user"`
}

IncidentMembershipV1 defines model for IncidentMembershipV1.

type IncidentMembershipsCreatePayloadV1 added in v1.0.1

type IncidentMembershipsCreatePayloadV1 struct {
	// IncidentId The incident to make the user a member of
	IncidentId string `json:"incident_id"`
	UserId     string `json:"user_id"`
}

IncidentMembershipsCreatePayloadV1 defines model for IncidentMembershipsCreatePayloadV1.

type IncidentMembershipsCreateResultV1 added in v1.0.1

type IncidentMembershipsCreateResultV1 struct {
	IncidentMembership IncidentMembershipV1 `json:"incident_membership"`
}

IncidentMembershipsCreateResultV1 defines model for IncidentMembershipsCreateResultV1.

type IncidentMembershipsRevokePayloadV1 added in v1.0.1

type IncidentMembershipsRevokePayloadV1 struct {
	// IncidentId Revoke memberships to incident
	IncidentId string `json:"incident_id"`
	UserId     string `json:"user_id"`
}

IncidentMembershipsRevokePayloadV1 defines model for IncidentMembershipsRevokePayloadV1.

type IncidentMembershipsV1CreateJSONRequestBody added in v1.0.1

type IncidentMembershipsV1CreateJSONRequestBody = IncidentMembershipsCreatePayloadV1

IncidentMembershipsV1CreateJSONRequestBody defines body for IncidentMembershipsV1Create for application/json ContentType.

type IncidentMembershipsV1CreateResponse added in v1.0.1

type IncidentMembershipsV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentMembershipsCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentMembershipsV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentMembershipsV1CreateResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IncidentMembershipsV1RevokeJSONRequestBody added in v1.0.1

type IncidentMembershipsV1RevokeJSONRequestBody = IncidentMembershipsRevokePayloadV1

IncidentMembershipsV1RevokeJSONRequestBody defines body for IncidentMembershipsV1Revoke for application/json ContentType.

type IncidentMembershipsV1RevokeResponse added in v1.0.1

type IncidentMembershipsV1RevokeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentMembershipsV1RevokeResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentMembershipsV1RevokeResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IncidentParticipantV2 added in v1.0.1

type IncidentParticipantV2 struct {
	// ParticipantType The role they took in the incident
	ParticipantType IncidentParticipantV2ParticipantType `json:"participant_type"`
	User            UserV2                               `json:"user"`
}

IncidentParticipantV2 defines model for IncidentParticipantV2.

type IncidentParticipantV2ParticipantType added in v1.0.1

type IncidentParticipantV2ParticipantType string

IncidentParticipantV2ParticipantType The role they took in the incident

const (
	IncidentParticipantV2ParticipantTypeCollaborator IncidentParticipantV2ParticipantType = "collaborator"
	IncidentParticipantV2ParticipantTypeObserver     IncidentParticipantV2ParticipantType = "observer"
	IncidentParticipantV2ParticipantTypeResponder    IncidentParticipantV2ParticipantType = "responder"
)

Defines values for IncidentParticipantV2ParticipantType.

func (IncidentParticipantV2ParticipantType) Valid added in v1.0.1

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

type IncidentParticipantWorkloadV2 added in v1.0.1

type IncidentParticipantWorkloadV2 struct {
	// ArchivedAt When the user left the incident, if they are no longer an active participant
	ArchivedAt *time.Time `json:"archived_at,omitempty"`

	// ParticipantType The role they had in the incident
	ParticipantType *IncidentParticipantWorkloadV2ParticipantType `json:"participant_type,omitempty"`
	User            UserV2                                        `json:"user"`
	Workload        WorkloadMinutesV2                             `json:"workload"`
}

IncidentParticipantWorkloadV2 defines model for IncidentParticipantWorkloadV2.

type IncidentParticipantWorkloadV2ParticipantType added in v1.0.1

type IncidentParticipantWorkloadV2ParticipantType string

IncidentParticipantWorkloadV2ParticipantType The role they had in the incident

const (
	IncidentParticipantWorkloadV2ParticipantTypeCollaborator IncidentParticipantWorkloadV2ParticipantType = "collaborator"
	IncidentParticipantWorkloadV2ParticipantTypeObserver     IncidentParticipantWorkloadV2ParticipantType = "observer"
	IncidentParticipantWorkloadV2ParticipantTypeResponder    IncidentParticipantWorkloadV2ParticipantType = "responder"
)

Defines values for IncidentParticipantWorkloadV2ParticipantType.

func (IncidentParticipantWorkloadV2ParticipantType) Valid added in v1.0.1

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

type IncidentParticipantWorkloadsListResultV2 added in v1.0.1

type IncidentParticipantWorkloadsListResultV2 struct {
	IncidentParticipantWorkloads []IncidentParticipantWorkloadV2 `json:"incident_participant_workloads"`
	Metadata                     WorkloadMetadataV2              `json:"metadata"`
}

IncidentParticipantWorkloadsListResultV2 defines model for IncidentParticipantWorkloadsListResultV2.

type IncidentParticipantWorkloadsV2ListParams added in v1.0.1

type IncidentParticipantWorkloadsV2ListParams struct {
	// IncidentId Find participant workload for this incident
	IncidentId string `form:"incident_id" json:"incident_id"`
}

IncidentParticipantWorkloadsV2ListParams defines parameters for IncidentParticipantWorkloadsV2List.

type IncidentParticipantWorkloadsV2ListResponse added in v1.0.1

type IncidentParticipantWorkloadsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentParticipantWorkloadsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentParticipantWorkloadsV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentParticipantWorkloadsV2ListResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IncidentParticipantsListResultV2 added in v1.0.1

type IncidentParticipantsListResultV2 struct {
	IncidentParticipants IncidentParticipantsV2 `json:"incident_participants"`
}

IncidentParticipantsListResultV2 defines model for IncidentParticipantsListResultV2.

type IncidentParticipantsV2 added in v1.0.1

type IncidentParticipantsV2 struct {
	// Active Participants who are actively helping with the incident
	Active []IncidentParticipantV2 `json:"active"`

	// Passive Participants who are just observing the incident
	Passive []IncidentParticipantV2 `json:"passive"`
}

IncidentParticipantsV2 defines model for IncidentParticipantsV2.

type IncidentParticipantsV2ListParams added in v1.0.1

type IncidentParticipantsV2ListParams struct {
	// IncidentId Find participants of this incident
	IncidentId string `form:"incident_id" json:"incident_id"`
}

IncidentParticipantsV2ListParams defines parameters for IncidentParticipantsV2List.

type IncidentParticipantsV2ListResponse added in v1.0.1

type IncidentParticipantsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentParticipantsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentParticipantsV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentParticipantsV2ListResponse) StatusCode added in v1.0.1

func (r IncidentParticipantsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRelationshipDetailsV1 added in v1.0.1

type IncidentRelationshipDetailsV1 struct {
	// ExternalId External ID of this incident often prepended with 'INC-'
	ExternalId int64 `json:"external_id"`

	// Id Unique identifier of this incident
	Id string `json:"id"`

	// Name Name of this incident
	Name string `json:"name"`
}

IncidentRelationshipDetailsV1 defines model for IncidentRelationshipDetailsV1.

type IncidentRelationshipV1 added in v1.0.1

type IncidentRelationshipV1 struct {
	// Id Unique identifier of this incident relationship
	Id       string                        `json:"id"`
	Incident IncidentRelationshipDetailsV1 `json:"incident"`
}

IncidentRelationshipV1 defines model for IncidentRelationshipV1.

type IncidentRelationshipsListResultV1 added in v1.0.1

type IncidentRelationshipsListResultV1 struct {
	IncidentRelationships []IncidentRelationshipV1 `json:"incident_relationships"`
	PaginationMeta        *PaginationMetaResultV1  `json:"pagination_meta,omitempty"`
}

IncidentRelationshipsListResultV1 defines model for IncidentRelationshipsListResultV1.

type IncidentRelationshipsV1ListParams added in v1.0.1

type IncidentRelationshipsV1ListParams struct {
	// IncidentId ID of the incident to find relationships for
	IncidentId string `form:"incident_id" json:"incident_id"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

IncidentRelationshipsV1ListParams defines parameters for IncidentRelationshipsV1List.

type IncidentRelationshipsV1ListResponse added in v1.0.1

type IncidentRelationshipsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentRelationshipsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRelationshipsV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRelationshipsV1ListResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IncidentRoleAssignmentPayloadV1 added in v1.0.1

type IncidentRoleAssignmentPayloadV1 struct {
	Assignee UserReferencePayloadV1 `json:"assignee"`

	// IncidentRoleId Unique ID of an incident role. Note that the 'reporter' role can only be assigned when creating an incident.
	IncidentRoleId string `json:"incident_role_id"`
}

IncidentRoleAssignmentPayloadV1 defines model for IncidentRoleAssignmentPayloadV1.

type IncidentRoleAssignmentPayloadV2 added in v1.0.1

type IncidentRoleAssignmentPayloadV2 struct {
	Assignee *UserReferencePayloadV2 `json:"assignee,omitempty"`

	// IncidentRoleId Unique ID of an incident role. Note that the 'reporter' role can only be assigned when creating an incident.
	IncidentRoleId string `json:"incident_role_id"`
}

IncidentRoleAssignmentPayloadV2 defines model for IncidentRoleAssignmentPayloadV2.

type IncidentRoleAssignmentV1 added in v1.0.1

type IncidentRoleAssignmentV1 struct {
	Assignee *UserV1        `json:"assignee,omitempty"`
	Role     IncidentRoleV1 `json:"role"`
}

IncidentRoleAssignmentV1 defines model for IncidentRoleAssignmentV1.

type IncidentRoleAssignmentV2 added in v1.0.1

type IncidentRoleAssignmentV2 struct {
	Assignee *UserV2                `json:"assignee,omitempty"`
	Role     EmbeddedIncidentRoleV2 `json:"role"`
}

IncidentRoleAssignmentV2 defines model for IncidentRoleAssignmentV2.

type IncidentRoleV1 added in v1.0.1

type IncidentRoleV1 struct {
	// CreatedAt When the role was created
	CreatedAt time.Time `json:"created_at"`

	// Description Describes the purpose of the role
	Description string `json:"description"`

	// Id Unique identifier for the role
	Id string `json:"id"`

	// Instructions Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
	Instructions string `json:"instructions"`

	// Name Human readable name of the incident role
	Name string `json:"name"`

	// Required DEPRECATED: this will always be false.
	Required *bool `json:"required,omitempty"`

	// RoleType Type of incident role
	RoleType IncidentRoleV1RoleType `json:"role_type"`

	// Shortform Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
	Shortform string `json:"shortform"`

	// UpdatedAt When the role was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentRoleV1 defines model for IncidentRoleV1.

type IncidentRoleV1RoleType added in v1.0.1

type IncidentRoleV1RoleType string

IncidentRoleV1RoleType Type of incident role

const (
	IncidentRoleV1RoleTypeCustom   IncidentRoleV1RoleType = "custom"
	IncidentRoleV1RoleTypeLead     IncidentRoleV1RoleType = "lead"
	IncidentRoleV1RoleTypeReporter IncidentRoleV1RoleType = "reporter"
)

Defines values for IncidentRoleV1RoleType.

func (IncidentRoleV1RoleType) Valid added in v1.0.1

func (e IncidentRoleV1RoleType) Valid() bool

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

type IncidentRoleV2 added in v1.0.1

type IncidentRoleV2 struct {
	// CreatedAt When the role was created
	CreatedAt time.Time `json:"created_at"`

	// Description Describes the purpose of the role
	Description string `json:"description"`

	// Id Unique identifier for the role
	Id string `json:"id"`

	// Instructions Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
	Instructions string `json:"instructions"`

	// Name Human readable name of the incident role
	Name string `json:"name"`

	// RoleType Type of incident role
	RoleType IncidentRoleV2RoleType `json:"role_type"`

	// Shortform Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
	Shortform string `json:"shortform"`

	// UpdatedAt When the role was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentRoleV2 defines model for IncidentRoleV2.

type IncidentRoleV2RoleType added in v1.0.1

type IncidentRoleV2RoleType string

IncidentRoleV2RoleType Type of incident role

const (
	Custom   IncidentRoleV2RoleType = "custom"
	Lead     IncidentRoleV2RoleType = "lead"
	Reporter IncidentRoleV2RoleType = "reporter"
)

Defines values for IncidentRoleV2RoleType.

func (IncidentRoleV2RoleType) Valid added in v1.0.1

func (e IncidentRoleV2RoleType) Valid() bool

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

type IncidentRolesCreatePayloadV1 added in v1.0.1

type IncidentRolesCreatePayloadV1 struct {
	// Description Describes the purpose of the role
	Description string `json:"description"`

	// Instructions Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
	Instructions string `json:"instructions"`

	// Name Human readable name of the incident role
	Name string `json:"name"`

	// Required DEPRECATED: this will always be false.
	Required bool `json:"required"`

	// Shortform Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
	Shortform string `json:"shortform"`
}

IncidentRolesCreatePayloadV1 defines model for IncidentRolesCreatePayloadV1.

type IncidentRolesCreatePayloadV2 added in v1.0.1

type IncidentRolesCreatePayloadV2 struct {
	// Description Describes the purpose of the role
	Description string `json:"description"`

	// Instructions Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
	Instructions string `json:"instructions"`

	// Name Human readable name of the incident role
	Name string `json:"name"`

	// Shortform Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
	Shortform string `json:"shortform"`
}

IncidentRolesCreatePayloadV2 defines model for IncidentRolesCreatePayloadV2.

type IncidentRolesCreateResultV1 added in v1.0.1

type IncidentRolesCreateResultV1 struct {
	IncidentRole IncidentRoleV1 `json:"incident_role"`
}

IncidentRolesCreateResultV1 defines model for IncidentRolesCreateResultV1.

type IncidentRolesCreateResultV2 added in v1.0.1

type IncidentRolesCreateResultV2 struct {
	IncidentRole IncidentRoleV2 `json:"incident_role"`
}

IncidentRolesCreateResultV2 defines model for IncidentRolesCreateResultV2.

type IncidentRolesListResultV1 added in v1.0.1

type IncidentRolesListResultV1 struct {
	IncidentRoles []IncidentRoleV1 `json:"incident_roles"`
}

IncidentRolesListResultV1 defines model for IncidentRolesListResultV1.

type IncidentRolesListResultV2 added in v1.0.1

type IncidentRolesListResultV2 struct {
	IncidentRoles []IncidentRoleV2 `json:"incident_roles"`
}

IncidentRolesListResultV2 defines model for IncidentRolesListResultV2.

type IncidentRolesShowResultV1 added in v1.0.1

type IncidentRolesShowResultV1 struct {
	IncidentRole IncidentRoleV1 `json:"incident_role"`
}

IncidentRolesShowResultV1 defines model for IncidentRolesShowResultV1.

type IncidentRolesShowResultV2 added in v1.0.1

type IncidentRolesShowResultV2 struct {
	IncidentRole IncidentRoleV2 `json:"incident_role"`
}

IncidentRolesShowResultV2 defines model for IncidentRolesShowResultV2.

type IncidentRolesUpdatePayloadV1 added in v1.0.1

type IncidentRolesUpdatePayloadV1 struct {
	// Description Describes the purpose of the role
	Description string `json:"description"`

	// Instructions Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
	Instructions string `json:"instructions"`

	// Name Human readable name of the incident role
	Name string `json:"name"`

	// Required DEPRECATED: this will always be false.
	Required *bool `json:"required,omitempty"`

	// Shortform Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
	Shortform string `json:"shortform"`
}

IncidentRolesUpdatePayloadV1 defines model for IncidentRolesUpdatePayloadV1.

type IncidentRolesUpdatePayloadV2 added in v1.0.1

type IncidentRolesUpdatePayloadV2 struct {
	// Description Describes the purpose of the role
	Description string `json:"description"`

	// Instructions Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
	Instructions string `json:"instructions"`

	// Name Human readable name of the incident role
	Name string `json:"name"`

	// Shortform Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
	Shortform string `json:"shortform"`
}

IncidentRolesUpdatePayloadV2 defines model for IncidentRolesUpdatePayloadV2.

type IncidentRolesUpdateResultV1 added in v1.0.1

type IncidentRolesUpdateResultV1 struct {
	IncidentRole IncidentRoleV1 `json:"incident_role"`
}

IncidentRolesUpdateResultV1 defines model for IncidentRolesUpdateResultV1.

type IncidentRolesUpdateResultV2 added in v1.0.1

type IncidentRolesUpdateResultV2 struct {
	IncidentRole IncidentRoleV2 `json:"incident_role"`
}

IncidentRolesUpdateResultV2 defines model for IncidentRolesUpdateResultV2.

type IncidentRolesV1CreateJSONRequestBody added in v1.0.1

type IncidentRolesV1CreateJSONRequestBody = IncidentRolesCreatePayloadV1

IncidentRolesV1CreateJSONRequestBody defines body for IncidentRolesV1Create for application/json ContentType.

type IncidentRolesV1CreateResponse added in v1.0.1

type IncidentRolesV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentRolesCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV1CreateResponse) StatusCode added in v1.0.1

func (r IncidentRolesV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV1DeleteResponse added in v1.0.1

type IncidentRolesV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV1DeleteResponse) StatusCode added in v1.0.1

func (r IncidentRolesV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV1ListResponse added in v1.0.1

type IncidentRolesV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentRolesListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV1ListResponse) StatusCode added in v1.0.1

func (r IncidentRolesV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV1ShowResponse added in v1.0.1

type IncidentRolesV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentRolesShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV1ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV1ShowResponse) StatusCode added in v1.0.1

func (r IncidentRolesV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV1UpdateJSONRequestBody added in v1.0.1

type IncidentRolesV1UpdateJSONRequestBody = IncidentRolesUpdatePayloadV1

IncidentRolesV1UpdateJSONRequestBody defines body for IncidentRolesV1Update for application/json ContentType.

type IncidentRolesV1UpdateResponse added in v1.0.1

type IncidentRolesV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentRolesUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV1UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV1UpdateResponse) StatusCode added in v1.0.1

func (r IncidentRolesV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV2CreateJSONRequestBody added in v1.0.1

type IncidentRolesV2CreateJSONRequestBody = IncidentRolesCreatePayloadV2

IncidentRolesV2CreateJSONRequestBody defines body for IncidentRolesV2Create for application/json ContentType.

type IncidentRolesV2CreateResponse added in v1.0.1

type IncidentRolesV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentRolesCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV2CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV2CreateResponse) StatusCode added in v1.0.1

func (r IncidentRolesV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV2DeleteResponse added in v1.0.1

type IncidentRolesV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV2DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV2DeleteResponse) StatusCode added in v1.0.1

func (r IncidentRolesV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV2ListResponse added in v1.0.1

type IncidentRolesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentRolesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV2ListResponse) StatusCode added in v1.0.1

func (r IncidentRolesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV2ShowResponse added in v1.0.1

type IncidentRolesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentRolesShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV2ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV2ShowResponse) StatusCode added in v1.0.1

func (r IncidentRolesV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentRolesV2UpdateJSONRequestBody added in v1.0.1

type IncidentRolesV2UpdateJSONRequestBody = IncidentRolesUpdatePayloadV2

IncidentRolesV2UpdateJSONRequestBody defines body for IncidentRolesV2Update for application/json ContentType.

type IncidentRolesV2UpdateResponse added in v1.0.1

type IncidentRolesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentRolesUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentRolesV2UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentRolesV2UpdateResponse) StatusCode added in v1.0.1

func (r IncidentRolesV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentSlimV2 added in v1.0.1

type IncidentSlimV2 struct {
	// ExternalId External identifier for the incident - often displayed with an INC- prefix
	ExternalId int64 `json:"external_id"`

	// Id Unique identifier for the incident
	Id string `json:"id"`

	// Name Explanation of the incident
	Name string `json:"name"`

	// Reference Reference to this incident, as displayed across the product
	Reference string `json:"reference"`

	// StatusCategory The category of the incidents status
	StatusCategory IncidentSlimV2StatusCategory `json:"status_category"`

	// Summary Detailed description of the incident
	Summary *string `json:"summary,omitempty"`

	// Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).
	Visibility IncidentSlimV2Visibility `json:"visibility"`
}

IncidentSlimV2 Incident slim is a subset of the full incident object, listing key fields.

type IncidentSlimV2StatusCategory added in v1.0.1

type IncidentSlimV2StatusCategory string

IncidentSlimV2StatusCategory The category of the incidents status

const (
	IncidentSlimV2StatusCategoryActive       IncidentSlimV2StatusCategory = "active"
	IncidentSlimV2StatusCategoryCanceled     IncidentSlimV2StatusCategory = "canceled"
	IncidentSlimV2StatusCategoryClosed       IncidentSlimV2StatusCategory = "closed"
	IncidentSlimV2StatusCategoryDeclined     IncidentSlimV2StatusCategory = "declined"
	IncidentSlimV2StatusCategoryMerged       IncidentSlimV2StatusCategory = "merged"
	IncidentSlimV2StatusCategoryPaused       IncidentSlimV2StatusCategory = "paused"
	IncidentSlimV2StatusCategoryPostIncident IncidentSlimV2StatusCategory = "post-incident"
	IncidentSlimV2StatusCategoryTriage       IncidentSlimV2StatusCategory = "triage"
)

Defines values for IncidentSlimV2StatusCategory.

func (IncidentSlimV2StatusCategory) Valid added in v1.0.1

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

type IncidentSlimV2Visibility added in v1.0.1

type IncidentSlimV2Visibility string

IncidentSlimV2Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).

const (
	IncidentSlimV2VisibilityPrivate IncidentSlimV2Visibility = "private"
	IncidentSlimV2VisibilityPublic  IncidentSlimV2Visibility = "public"
)

Defines values for IncidentSlimV2Visibility.

func (IncidentSlimV2Visibility) Valid added in v1.0.1

func (e IncidentSlimV2Visibility) Valid() bool

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

type IncidentStatusV1 added in v1.0.1

type IncidentStatusV1 struct {
	// Category What category of status it is. All statuses apart from live (renamed in the app to Active) and learning (renamed in the app to Post-incident) are managed by incident.io and cannot be configured
	Category  IncidentStatusV1Category `json:"category"`
	CreatedAt time.Time                `json:"created_at"`

	// Description Rich text description of the incident status
	Description string `json:"description"`

	// Id Unique ID of this incident status
	Id string `json:"id"`

	// Name Unique name of this status
	Name string `json:"name"`

	// Rank Order of this incident status
	Rank      int64     `json:"rank"`
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentStatusV1 defines model for IncidentStatusV1.

type IncidentStatusV1Category added in v1.0.1

type IncidentStatusV1Category string

IncidentStatusV1Category What category of status it is. All statuses apart from live (renamed in the app to Active) and learning (renamed in the app to Post-incident) are managed by incident.io and cannot be configured

const (
	IncidentStatusV1CategoryCanceled IncidentStatusV1Category = "canceled"
	IncidentStatusV1CategoryClosed   IncidentStatusV1Category = "closed"
	IncidentStatusV1CategoryDeclined IncidentStatusV1Category = "declined"
	IncidentStatusV1CategoryLearning IncidentStatusV1Category = "learning"
	IncidentStatusV1CategoryLive     IncidentStatusV1Category = "live"
	IncidentStatusV1CategoryMerged   IncidentStatusV1Category = "merged"
	IncidentStatusV1CategoryPaused   IncidentStatusV1Category = "paused"
	IncidentStatusV1CategoryTriage   IncidentStatusV1Category = "triage"
)

Defines values for IncidentStatusV1Category.

func (IncidentStatusV1Category) Valid added in v1.0.1

func (e IncidentStatusV1Category) Valid() bool

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

type IncidentStatusV2 added in v1.0.1

type IncidentStatusV2 struct {
	// Category What category of status it is. All statuses apart from live (renamed in the app to Active) and learning (renamed in the app to Post-incident) are managed by incident.io and cannot be configured
	Category  IncidentStatusV2Category `json:"category"`
	CreatedAt time.Time                `json:"created_at"`

	// Description Rich text description of the incident status
	Description string `json:"description"`

	// Id Unique ID of this incident status
	Id string `json:"id"`

	// Name Unique name of this status
	Name string `json:"name"`

	// Rank Order of this incident status
	Rank      int64     `json:"rank"`
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentStatusV2 defines model for IncidentStatusV2.

type IncidentStatusV2Category added in v1.0.1

type IncidentStatusV2Category string

IncidentStatusV2Category What category of status it is. All statuses apart from live (renamed in the app to Active) and learning (renamed in the app to Post-incident) are managed by incident.io and cannot be configured

const (
	IncidentStatusV2CategoryCanceled IncidentStatusV2Category = "canceled"
	IncidentStatusV2CategoryClosed   IncidentStatusV2Category = "closed"
	IncidentStatusV2CategoryDeclined IncidentStatusV2Category = "declined"
	IncidentStatusV2CategoryLearning IncidentStatusV2Category = "learning"
	IncidentStatusV2CategoryLive     IncidentStatusV2Category = "live"
	IncidentStatusV2CategoryMerged   IncidentStatusV2Category = "merged"
	IncidentStatusV2CategoryPaused   IncidentStatusV2Category = "paused"
	IncidentStatusV2CategoryTriage   IncidentStatusV2Category = "triage"
)

Defines values for IncidentStatusV2Category.

func (IncidentStatusV2Category) Valid added in v1.0.1

func (e IncidentStatusV2Category) Valid() bool

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

type IncidentStatusesCreatePayloadV1 added in v1.0.1

type IncidentStatusesCreatePayloadV1 struct {
	// Category Whether the status should be considered 'live' (now renamed to active), 'learning' (now renamed to post-incident) or 'closed'. The triage and declined statuses cannot be created or modified.
	Category IncidentStatusesCreatePayloadV1Category `json:"category"`

	// Description Rich text description of the incident status
	Description string `json:"description"`

	// Name Unique name of this status
	Name string `json:"name"`

	// Rank Where this status sits within its category, lowest rank first. No two statuses in the same category can share a rank, but ranks needn't run consecutively — leaving gaps (10, 20, 30) means you can later insert a status between two others without renumbering them. Omit it to add this status to the end of its category.
	Rank *int64 `json:"rank,omitempty"`
}

IncidentStatusesCreatePayloadV1 defines model for IncidentStatusesCreatePayloadV1.

type IncidentStatusesCreatePayloadV1Category added in v1.0.1

type IncidentStatusesCreatePayloadV1Category string

IncidentStatusesCreatePayloadV1Category Whether the status should be considered 'live' (now renamed to active), 'learning' (now renamed to post-incident) or 'closed'. The triage and declined statuses cannot be created or modified.

const (
	IncidentStatusesCreatePayloadV1CategoryClosed   IncidentStatusesCreatePayloadV1Category = "closed"
	IncidentStatusesCreatePayloadV1CategoryLearning IncidentStatusesCreatePayloadV1Category = "learning"
	IncidentStatusesCreatePayloadV1CategoryLive     IncidentStatusesCreatePayloadV1Category = "live"
)

Defines values for IncidentStatusesCreatePayloadV1Category.

func (IncidentStatusesCreatePayloadV1Category) Valid added in v1.0.1

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

type IncidentStatusesCreateResultV1 added in v1.0.1

type IncidentStatusesCreateResultV1 struct {
	IncidentStatus IncidentStatusV1 `json:"incident_status"`
}

IncidentStatusesCreateResultV1 defines model for IncidentStatusesCreateResultV1.

type IncidentStatusesListResultV1 added in v1.0.1

type IncidentStatusesListResultV1 struct {
	IncidentStatuses []IncidentStatusV1 `json:"incident_statuses"`
}

IncidentStatusesListResultV1 defines model for IncidentStatusesListResultV1.

type IncidentStatusesShowResultV1 added in v1.0.1

type IncidentStatusesShowResultV1 struct {
	IncidentStatus IncidentStatusV1 `json:"incident_status"`
}

IncidentStatusesShowResultV1 defines model for IncidentStatusesShowResultV1.

type IncidentStatusesUpdatePayloadV1 added in v1.0.1

type IncidentStatusesUpdatePayloadV1 struct {
	// Description Rich text description of the incident status
	Description string `json:"description"`

	// Name Unique name of this status
	Name string `json:"name"`

	// Rank Where this status sits within its category, lowest rank first. No two statuses in the same category can share a rank, but ranks needn't run consecutively — leaving gaps (10, 20, 30) means you can later insert a status between two others without renumbering them. Omit it to leave this status where it is.
	Rank *int64 `json:"rank,omitempty"`
}

IncidentStatusesUpdatePayloadV1 defines model for IncidentStatusesUpdatePayloadV1.

type IncidentStatusesUpdateResultV1 added in v1.0.1

type IncidentStatusesUpdateResultV1 struct {
	IncidentStatus IncidentStatusV1 `json:"incident_status"`
}

IncidentStatusesUpdateResultV1 defines model for IncidentStatusesUpdateResultV1.

type IncidentStatusesV1CreateJSONRequestBody added in v1.0.1

type IncidentStatusesV1CreateJSONRequestBody = IncidentStatusesCreatePayloadV1

IncidentStatusesV1CreateJSONRequestBody defines body for IncidentStatusesV1Create for application/json ContentType.

type IncidentStatusesV1CreateResponse added in v1.0.1

type IncidentStatusesV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentStatusesCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentStatusesV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentStatusesV1CreateResponse) StatusCode added in v1.0.1

func (r IncidentStatusesV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentStatusesV1DeleteResponse added in v1.0.1

type IncidentStatusesV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentStatusesV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentStatusesV1DeleteResponse) StatusCode added in v1.0.1

func (r IncidentStatusesV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentStatusesV1ListResponse added in v1.0.1

type IncidentStatusesV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentStatusesListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentStatusesV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentStatusesV1ListResponse) StatusCode added in v1.0.1

func (r IncidentStatusesV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentStatusesV1ShowResponse added in v1.0.1

type IncidentStatusesV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentStatusesShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentStatusesV1ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentStatusesV1ShowResponse) StatusCode added in v1.0.1

func (r IncidentStatusesV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentStatusesV1UpdateJSONRequestBody added in v1.0.1

type IncidentStatusesV1UpdateJSONRequestBody = IncidentStatusesUpdatePayloadV1

IncidentStatusesV1UpdateJSONRequestBody defines body for IncidentStatusesV1Update for application/json ContentType.

type IncidentStatusesV1UpdateResponse added in v1.0.1

type IncidentStatusesV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentStatusesUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentStatusesV1UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentStatusesV1UpdateResponse) StatusCode added in v1.0.1

func (r IncidentStatusesV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTemplateAutoGeneratedBindingPayloadV1 added in v1.0.88

type IncidentTemplateAutoGeneratedBindingPayloadV1 struct {
	// Autogenerated Whether this attribute is autogenerated using AI or not
	Autogenerated *bool                        `json:"autogenerated,omitempty"`
	Binding       *EngineParamBindingPayloadV3 `json:"binding,omitempty"`
}

IncidentTemplateAutoGeneratedBindingPayloadV1 defines model for IncidentTemplateAutoGeneratedBindingPayloadV1.

type IncidentTemplateAutoGeneratedBindingV1 added in v1.0.88

type IncidentTemplateAutoGeneratedBindingV1 struct {
	// Autogenerated Whether this attribute is autogenerated using AI or not
	Autogenerated bool                  `json:"autogenerated"`
	Binding       *EngineParamBindingV3 `json:"binding,omitempty"`
}

IncidentTemplateAutoGeneratedBindingV1 defines model for IncidentTemplateAutoGeneratedBindingV1.

type IncidentTemplateBindingPayloadV1 added in v1.0.88

type IncidentTemplateBindingPayloadV1 struct {
	Binding *EngineParamBindingPayloadV3 `json:"binding,omitempty"`
}

IncidentTemplateBindingPayloadV1 defines model for IncidentTemplateBindingPayloadV1.

type IncidentTemplateBindingV1 added in v1.0.88

type IncidentTemplateBindingV1 struct {
	Binding *EngineParamBindingV3 `json:"binding,omitempty"`
}

IncidentTemplateBindingV1 defines model for IncidentTemplateBindingV1.

type IncidentTemplateConfigPayloadV1 added in v1.0.88

type IncidentTemplateConfigPayloadV1 struct {
	// CustomFields Custom fields configuration
	CustomFields  *[]IncidentTemplateCustomFieldBindingPayloadV1 `json:"custom_fields,omitempty"`
	IncidentMode  *IncidentTemplateBindingPayloadV1              `json:"incident_mode,omitempty"`
	IncidentType  *IncidentTemplateBindingPayloadV1              `json:"incident_type,omitempty"`
	Name          IncidentTemplateAutoGeneratedBindingPayloadV1  `json:"name"`
	Severity      *IncidentTemplateSeverityBindingPayloadV1      `json:"severity,omitempty"`
	StartInTriage *IncidentTemplateBindingPayloadV1              `json:"start_in_triage,omitempty"`
	Summary       *IncidentTemplateAutoGeneratedBindingPayloadV1 `json:"summary,omitempty"`
	Workspace     *IncidentTemplateBindingPayloadV1              `json:"workspace,omitempty"`
}

IncidentTemplateConfigPayloadV1 The values an incident template applies to the incidents it creates.

type IncidentTemplateConfigV1 added in v1.0.88

type IncidentTemplateConfigV1 struct {
	// CustomFields Custom fields configuration
	CustomFields  *[]IncidentTemplateCustomFieldBindingV1 `json:"custom_fields,omitempty"`
	IncidentMode  *IncidentTemplateBindingV1              `json:"incident_mode,omitempty"`
	IncidentType  *IncidentTemplateBindingV1              `json:"incident_type,omitempty"`
	Name          IncidentTemplateAutoGeneratedBindingV1  `json:"name"`
	Severity      *IncidentTemplateSeverityBindingV1      `json:"severity,omitempty"`
	StartInTriage *IncidentTemplateBindingV1              `json:"start_in_triage,omitempty"`
	Summary       *IncidentTemplateAutoGeneratedBindingV1 `json:"summary,omitempty"`
	Workspace     *IncidentTemplateBindingV1              `json:"workspace,omitempty"`
}

IncidentTemplateConfigV1 The values an incident template applies to the incidents it creates.

type IncidentTemplateCustomFieldBindingPayloadV1 added in v1.0.88

type IncidentTemplateCustomFieldBindingPayloadV1 struct {
	Binding EngineParamBindingPayloadV3 `json:"binding"`

	// CustomFieldId ID of the custom field
	CustomFieldId string `json:"custom_field_id"`

	// MergeStrategy The strategy to use when multiple alerts match this route
	MergeStrategy IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy `json:"merge_strategy"`
}

IncidentTemplateCustomFieldBindingPayloadV1 defines model for IncidentTemplateCustomFieldBindingPayloadV1.

type IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy added in v1.0.88

type IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy string

IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy The strategy to use when multiple alerts match this route

const (
	IncidentTemplateCustomFieldBindingPayloadV1MergeStrategyAppend    IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy = "append"
	IncidentTemplateCustomFieldBindingPayloadV1MergeStrategyFirstWins IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy = "first-wins"
	IncidentTemplateCustomFieldBindingPayloadV1MergeStrategyLastWins  IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy = "last-wins"
)

Defines values for IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy.

func (IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy) Valid added in v1.0.88

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

type IncidentTemplateCustomFieldBindingV1 added in v1.0.88

type IncidentTemplateCustomFieldBindingV1 struct {
	Binding EngineParamBindingV3 `json:"binding"`

	// CustomFieldId ID of the custom field
	CustomFieldId string `json:"custom_field_id"`

	// MergeStrategy The strategy to use when multiple alerts match this route
	MergeStrategy IncidentTemplateCustomFieldBindingV1MergeStrategy `json:"merge_strategy"`
}

IncidentTemplateCustomFieldBindingV1 defines model for IncidentTemplateCustomFieldBindingV1.

type IncidentTemplateCustomFieldBindingV1MergeStrategy added in v1.0.88

type IncidentTemplateCustomFieldBindingV1MergeStrategy string

IncidentTemplateCustomFieldBindingV1MergeStrategy The strategy to use when multiple alerts match this route

const (
	IncidentTemplateCustomFieldBindingV1MergeStrategyAppend    IncidentTemplateCustomFieldBindingV1MergeStrategy = "append"
	IncidentTemplateCustomFieldBindingV1MergeStrategyFirstWins IncidentTemplateCustomFieldBindingV1MergeStrategy = "first-wins"
	IncidentTemplateCustomFieldBindingV1MergeStrategyLastWins  IncidentTemplateCustomFieldBindingV1MergeStrategy = "last-wins"
)

Defines values for IncidentTemplateCustomFieldBindingV1MergeStrategy.

func (IncidentTemplateCustomFieldBindingV1MergeStrategy) Valid added in v1.0.88

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

type IncidentTemplateSeverityBindingPayloadV1 added in v1.0.88

type IncidentTemplateSeverityBindingPayloadV1 struct {
	Binding *EngineParamBindingPayloadV3 `json:"binding,omitempty"`

	// MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident
	MergeStrategy IncidentTemplateSeverityBindingPayloadV1MergeStrategy `json:"merge_strategy"`
}

IncidentTemplateSeverityBindingPayloadV1 defines model for IncidentTemplateSeverityBindingPayloadV1.

type IncidentTemplateSeverityBindingPayloadV1MergeStrategy added in v1.0.88

type IncidentTemplateSeverityBindingPayloadV1MergeStrategy string

IncidentTemplateSeverityBindingPayloadV1MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident

const (
	IncidentTemplateSeverityBindingPayloadV1MergeStrategyFirstWins IncidentTemplateSeverityBindingPayloadV1MergeStrategy = "first-wins"
	IncidentTemplateSeverityBindingPayloadV1MergeStrategyMax       IncidentTemplateSeverityBindingPayloadV1MergeStrategy = "max"
)

Defines values for IncidentTemplateSeverityBindingPayloadV1MergeStrategy.

func (IncidentTemplateSeverityBindingPayloadV1MergeStrategy) Valid added in v1.0.88

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

type IncidentTemplateSeverityBindingV1 added in v1.0.88

type IncidentTemplateSeverityBindingV1 struct {
	Binding *EngineParamBindingV3 `json:"binding,omitempty"`

	// MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident
	MergeStrategy IncidentTemplateSeverityBindingV1MergeStrategy `json:"merge_strategy"`
}

IncidentTemplateSeverityBindingV1 defines model for IncidentTemplateSeverityBindingV1.

type IncidentTemplateSeverityBindingV1MergeStrategy added in v1.0.88

type IncidentTemplateSeverityBindingV1MergeStrategy string

IncidentTemplateSeverityBindingV1MergeStrategy Strategy for merging severity when multiple alerts create/update the same incident

Defines values for IncidentTemplateSeverityBindingV1MergeStrategy.

func (IncidentTemplateSeverityBindingV1MergeStrategy) Valid added in v1.0.88

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

type IncidentTemplateV1 added in v1.0.88

type IncidentTemplateV1 struct {
	// CreatedAt When this incident template was created
	CreatedAt time.Time `json:"created_at"`

	// Expressions The expressions used by bindings in this template
	Expressions *[]ExpressionV3 `json:"expressions,omitempty"`

	// Id Unique identifier for this incident template
	Id string `json:"id"`

	// Name The name of this incident template, for the user's reference
	Name string `json:"name"`

	// Template The values an incident template applies to the incidents it creates.
	Template IncidentTemplateConfigV1 `json:"template"`

	// UpdatedAt When this incident template was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentTemplateV1 A reusable set of values applied to incidents created from alerts.

type IncidentTemplateValidateWarningV1 added in v1.0.88

type IncidentTemplateValidateWarningV1 struct {
	// Detail More detail about the warning and what to do about it
	Detail string `json:"detail"`

	// Summary A short description of the warning
	Summary string `json:"summary"`
}

IncidentTemplateValidateWarningV1 Something suspect about a template config that isn't severe enough to reject it.

type IncidentTemplatesCreatePayloadV1 added in v1.0.88

type IncidentTemplatesCreatePayloadV1 struct {
	// Expressions The expressions used by bindings in this template
	Expressions *[]ExpressionPayloadV3 `json:"expressions,omitempty"`

	// Name The name of this incident template, for the user's reference
	Name string `json:"name"`

	// Template The values an incident template applies to the incidents it creates.
	Template IncidentTemplateConfigPayloadV1 `json:"template"`
}

IncidentTemplatesCreatePayloadV1 defines model for IncidentTemplatesCreatePayloadV1.

type IncidentTemplatesCreateResultV1 added in v1.0.88

type IncidentTemplatesCreateResultV1 struct {
	// IncidentTemplate A reusable set of values applied to incidents created from alerts.
	IncidentTemplate IncidentTemplateV1 `json:"incident_template"`
}

IncidentTemplatesCreateResultV1 defines model for IncidentTemplatesCreateResultV1.

type IncidentTemplatesListResultV1 added in v1.0.88

type IncidentTemplatesListResultV1 struct {
	IncidentTemplates []IncidentTemplateV1    `json:"incident_templates"`
	PaginationMeta    *PaginationMetaResultV1 `json:"pagination_meta,omitempty"`
}

IncidentTemplatesListResultV1 defines model for IncidentTemplatesListResultV1.

type IncidentTemplatesShowResultV1 added in v1.0.88

type IncidentTemplatesShowResultV1 struct {
	// IncidentTemplate A reusable set of values applied to incidents created from alerts.
	IncidentTemplate IncidentTemplateV1 `json:"incident_template"`
}

IncidentTemplatesShowResultV1 defines model for IncidentTemplatesShowResultV1.

type IncidentTemplatesUpdatePayloadV1 added in v1.0.88

type IncidentTemplatesUpdatePayloadV1 struct {
	// Expressions The expressions used by bindings in this template
	Expressions *[]ExpressionPayloadV3 `json:"expressions,omitempty"`

	// Name The name of this incident template, for the user's reference
	Name string `json:"name"`

	// Template The values an incident template applies to the incidents it creates.
	Template IncidentTemplateConfigPayloadV1 `json:"template"`
}

IncidentTemplatesUpdatePayloadV1 defines model for IncidentTemplatesUpdatePayloadV1.

type IncidentTemplatesUpdateResultV1 added in v1.0.88

type IncidentTemplatesUpdateResultV1 struct {
	// IncidentTemplate A reusable set of values applied to incidents created from alerts.
	IncidentTemplate IncidentTemplateV1 `json:"incident_template"`
}

IncidentTemplatesUpdateResultV1 defines model for IncidentTemplatesUpdateResultV1.

type IncidentTemplatesV1CreateJSONRequestBody added in v1.0.88

type IncidentTemplatesV1CreateJSONRequestBody = IncidentTemplatesCreatePayloadV1

IncidentTemplatesV1CreateJSONRequestBody defines body for IncidentTemplatesV1Create for application/json ContentType.

type IncidentTemplatesV1CreateResponse added in v1.0.88

type IncidentTemplatesV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentTemplatesCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTemplatesV1CreateResponse) Status added in v1.0.88

Status returns HTTPResponse.Status

func (IncidentTemplatesV1CreateResponse) StatusCode added in v1.0.88

func (r IncidentTemplatesV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTemplatesV1DestroyResponse added in v1.0.88

type IncidentTemplatesV1DestroyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTemplatesV1DestroyResponse) Status added in v1.0.88

Status returns HTTPResponse.Status

func (IncidentTemplatesV1DestroyResponse) StatusCode added in v1.0.88

func (r IncidentTemplatesV1DestroyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTemplatesV1ListParams added in v1.0.88

type IncidentTemplatesV1ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An incident template's ID. This endpoint returns a list of templates after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

IncidentTemplatesV1ListParams defines parameters for IncidentTemplatesV1List.

type IncidentTemplatesV1ListResponse added in v1.0.88

type IncidentTemplatesV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTemplatesListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTemplatesV1ListResponse) Status added in v1.0.88

Status returns HTTPResponse.Status

func (IncidentTemplatesV1ListResponse) StatusCode added in v1.0.88

func (r IncidentTemplatesV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTemplatesV1ShowResponse added in v1.0.88

type IncidentTemplatesV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTemplatesShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTemplatesV1ShowResponse) Status added in v1.0.88

Status returns HTTPResponse.Status

func (IncidentTemplatesV1ShowResponse) StatusCode added in v1.0.88

func (r IncidentTemplatesV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTemplatesV1UpdateJSONRequestBody added in v1.0.88

type IncidentTemplatesV1UpdateJSONRequestBody = IncidentTemplatesUpdatePayloadV1

IncidentTemplatesV1UpdateJSONRequestBody defines body for IncidentTemplatesV1Update for application/json ContentType.

type IncidentTemplatesV1UpdateResponse added in v1.0.88

type IncidentTemplatesV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTemplatesUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTemplatesV1UpdateResponse) Status added in v1.0.88

Status returns HTTPResponse.Status

func (IncidentTemplatesV1UpdateResponse) StatusCode added in v1.0.88

func (r IncidentTemplatesV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTemplatesV1ValidateJSONRequestBody added in v1.0.88

type IncidentTemplatesV1ValidateJSONRequestBody = IncidentTemplatesValidatePayloadV1

IncidentTemplatesV1ValidateJSONRequestBody defines body for IncidentTemplatesV1Validate for application/json ContentType.

type IncidentTemplatesV1ValidateResponse added in v1.0.88

type IncidentTemplatesV1ValidateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTemplatesValidateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTemplatesV1ValidateResponse) Status added in v1.0.88

Status returns HTTPResponse.Status

func (IncidentTemplatesV1ValidateResponse) StatusCode added in v1.0.88

StatusCode returns HTTPResponse.StatusCode

type IncidentTemplatesValidatePayloadV1 added in v1.0.88

type IncidentTemplatesValidatePayloadV1 struct {
	// Expressions The expressions used by bindings in this template
	Expressions *[]ExpressionPayloadV3 `json:"expressions,omitempty"`

	// Name The name of this incident template, for the user's reference
	Name string `json:"name"`

	// Template The values an incident template applies to the incidents it creates.
	Template IncidentTemplateConfigPayloadV1 `json:"template"`
}

IncidentTemplatesValidatePayloadV1 defines model for IncidentTemplatesValidatePayloadV1.

type IncidentTemplatesValidateResultV1 added in v1.0.88

type IncidentTemplatesValidateResultV1 struct {
	// Warnings Anything suspect about this config that isn't severe enough to reject it. Empty when there's nothing to say.
	Warnings []IncidentTemplateValidateWarningV1 `json:"warnings"`
}

IncidentTemplatesValidateResultV1 defines model for IncidentTemplatesValidateResultV1.

type IncidentTimelineItemV2 added in v1.0.92

type IncidentTimelineItemV2 struct {
	// ActivityLogId ID of the activity log entry this item was promoted from. Null for items written by hand, which are the items whose timestamp can be changed.
	ActivityLogId *string `json:"activity_log_id,omitempty"`

	// CreatedAt When this item was added to the timeline
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV2   `json:"creator"`

	// Description Description of the timeline item, in markdown. Absent when the item has no description.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier of the timeline item
	Id string `json:"id"`

	// IncidentId ID of the incident this item belongs to. When the incident has streams, listing the parent also returns items belonging to its streams, and this is the stream's ID for those.
	IncidentId string `json:"incident_id"`

	// Timestamp When the thing this item describes happened. This is what the timeline is ordered by, and is not the same as created_at.
	Timestamp time.Time `json:"timestamp"`

	// Title Title of the timeline item
	Title string `json:"title"`

	// UpdatedAt When this item was last edited
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentTimelineItemV2 An item on an incident's curated timeline.

The timeline is the narrative of an incident, as opposed to the activity log, which records everything that happened. Some of that activity - a pinned message, an escalation, an event a workflow added - is promoted onto the timeline, and those items carry the ID of the activity log entry they came from. The rest are custom, written by hand in the dashboard or through the API, and have no activity_log_id.

type IncidentTimelineItemsCreatePayloadV2 added in v1.0.92

type IncidentTimelineItemsCreatePayloadV2 struct {
	// Description Description of the timeline item, in markdown
	Description *string `json:"description,omitempty"`

	// IdempotencyKey Unique string used to de-duplicate timeline item requests. Retrying with the same key returns the item the first request created, rather than adding a second one.
	IdempotencyKey string `json:"idempotency_key"`

	// IncidentId Incident to add this item to
	IncidentId string `json:"incident_id"`

	// Timestamp When the thing this item describes happened. This is where the item sits on the timeline, and can be in the past.
	Timestamp time.Time `json:"timestamp"`

	// Title Title of the timeline item
	Title string `json:"title"`
}

IncidentTimelineItemsCreatePayloadV2 defines model for IncidentTimelineItemsCreatePayloadV2.

type IncidentTimelineItemsCreateResultV2 added in v1.0.92

type IncidentTimelineItemsCreateResultV2 struct {
	// IncidentTimelineItem An item on an incident's curated timeline.
	//
	// The timeline is the narrative of an incident, as opposed to the activity log, which records
	// everything that happened. Some of that activity - a pinned message, an escalation, an event a
	// workflow added - is promoted onto the timeline, and those items carry the ID of the activity
	// log entry they came from. The rest are custom, written by hand in the dashboard or through
	// the API, and have no activity_log_id.
	IncidentTimelineItem IncidentTimelineItemV2 `json:"incident_timeline_item"`
}

IncidentTimelineItemsCreateResultV2 defines model for IncidentTimelineItemsCreateResultV2.

type IncidentTimelineItemsListResultV2 added in v1.0.92

type IncidentTimelineItemsListResultV2 struct {
	IncidentTimelineItems []IncidentTimelineItemV2 `json:"incident_timeline_items"`
	PaginationMeta        *PaginationMetaResultV2  `json:"pagination_meta,omitempty"`
}

IncidentTimelineItemsListResultV2 defines model for IncidentTimelineItemsListResultV2.

type IncidentTimelineItemsUpdatePayloadV2 added in v1.0.92

type IncidentTimelineItemsUpdatePayloadV2 struct {
	// Description Description of the timeline item, in markdown. Send an empty string to remove it.
	Description *string `json:"description,omitempty"`

	// Timestamp When the thing this item describes happened. Only editable on a custom item.
	Timestamp *time.Time `json:"timestamp,omitempty"`

	// Title Title of the timeline item
	Title *string `json:"title,omitempty"`
}

IncidentTimelineItemsUpdatePayloadV2 defines model for IncidentTimelineItemsUpdatePayloadV2.

type IncidentTimelineItemsUpdateResultV2 added in v1.0.92

type IncidentTimelineItemsUpdateResultV2 struct {
	// IncidentTimelineItem An item on an incident's curated timeline.
	//
	// The timeline is the narrative of an incident, as opposed to the activity log, which records
	// everything that happened. Some of that activity - a pinned message, an escalation, an event a
	// workflow added - is promoted onto the timeline, and those items carry the ID of the activity
	// log entry they came from. The rest are custom, written by hand in the dashboard or through
	// the API, and have no activity_log_id.
	IncidentTimelineItem IncidentTimelineItemV2 `json:"incident_timeline_item"`
}

IncidentTimelineItemsUpdateResultV2 defines model for IncidentTimelineItemsUpdateResultV2.

type IncidentTimelineItemsV2CreateJSONRequestBody added in v1.0.92

type IncidentTimelineItemsV2CreateJSONRequestBody = IncidentTimelineItemsCreatePayloadV2

IncidentTimelineItemsV2CreateJSONRequestBody defines body for IncidentTimelineItemsV2Create for application/json ContentType.

type IncidentTimelineItemsV2CreateResponse added in v1.0.92

type IncidentTimelineItemsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentTimelineItemsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTimelineItemsV2CreateResponse) Status added in v1.0.92

Status returns HTTPResponse.Status

func (IncidentTimelineItemsV2CreateResponse) StatusCode added in v1.0.92

StatusCode returns HTTPResponse.StatusCode

type IncidentTimelineItemsV2ListParams added in v1.0.92

type IncidentTimelineItemsV2ListParams struct {
	// IncidentId Incident whose timeline you want to list
	IncidentId string `form:"incident_id" json:"incident_id"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A timeline item's ID. This endpoint returns the items that follow it.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

IncidentTimelineItemsV2ListParams defines parameters for IncidentTimelineItemsV2List.

type IncidentTimelineItemsV2ListResponse added in v1.0.92

type IncidentTimelineItemsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTimelineItemsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTimelineItemsV2ListResponse) Status added in v1.0.92

Status returns HTTPResponse.Status

func (IncidentTimelineItemsV2ListResponse) StatusCode added in v1.0.92

StatusCode returns HTTPResponse.StatusCode

type IncidentTimelineItemsV2UpdateJSONRequestBody added in v1.0.92

type IncidentTimelineItemsV2UpdateJSONRequestBody = IncidentTimelineItemsUpdatePayloadV2

IncidentTimelineItemsV2UpdateJSONRequestBody defines body for IncidentTimelineItemsV2Update for application/json ContentType.

type IncidentTimelineItemsV2UpdateResponse added in v1.0.92

type IncidentTimelineItemsV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTimelineItemsUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTimelineItemsV2UpdateResponse) Status added in v1.0.92

Status returns HTTPResponse.Status

func (IncidentTimelineItemsV2UpdateResponse) StatusCode added in v1.0.92

StatusCode returns HTTPResponse.StatusCode

type IncidentTimestampV2 added in v1.0.1

type IncidentTimestampV2 struct {
	// Id Unique ID of this incident timestamp
	Id string `json:"id"`

	// Name Unique name of this timestamp
	Name string `json:"name"`

	// Rank Order in which this timestamp should be shown
	Rank int64 `json:"rank"`
}

IncidentTimestampV2 defines model for IncidentTimestampV2.

type IncidentTimestampValuePayloadV2 added in v1.0.1

type IncidentTimestampValuePayloadV2 struct {
	// IncidentTimestampId The id of the incident timestamp that this incident timestamp value is associated with.
	IncidentTimestampId string `json:"incident_timestamp_id"`

	// Value The current value of this timestamp, for this incident
	Value *time.Time `json:"value,omitempty"`
}

IncidentTimestampValuePayloadV2 defines model for IncidentTimestampValuePayloadV2.

type IncidentTimestampValueV1 added in v1.0.1

type IncidentTimestampValueV1 struct {
	// LastOccurredAt When this last occurred, if it did
	LastOccurredAt *time.Time `json:"last_occurred_at,omitempty"`

	// Name Name of the lifecycle event
	Name string `json:"name"`
}

IncidentTimestampValueV1 defines model for IncidentTimestampValueV1.

type IncidentTimestampValueV2 added in v1.0.1

type IncidentTimestampValueV2 struct {
	// Value The current value of this timestamp, for this incident
	Value *time.Time `json:"value,omitempty"`
}

IncidentTimestampValueV2 defines model for IncidentTimestampValueV2.

type IncidentTimestampWithValueV2 added in v1.0.1

type IncidentTimestampWithValueV2 struct {
	IncidentTimestamp IncidentTimestampV2       `json:"incident_timestamp"`
	Value             *IncidentTimestampValueV2 `json:"value,omitempty"`
}

IncidentTimestampWithValueV2 defines model for IncidentTimestampWithValueV2.

type IncidentTimestampsListResultV2 added in v1.0.1

type IncidentTimestampsListResultV2 struct {
	IncidentTimestamps []IncidentTimestampV2 `json:"incident_timestamps"`
}

IncidentTimestampsListResultV2 defines model for IncidentTimestampsListResultV2.

type IncidentTimestampsShowResultV2 added in v1.0.1

type IncidentTimestampsShowResultV2 struct {
	IncidentTimestamp IncidentTimestampV2 `json:"incident_timestamp"`
}

IncidentTimestampsShowResultV2 defines model for IncidentTimestampsShowResultV2.

type IncidentTimestampsV2ListResponse added in v1.0.1

type IncidentTimestampsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTimestampsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTimestampsV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentTimestampsV2ListResponse) StatusCode added in v1.0.1

func (r IncidentTimestampsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTimestampsV2ShowResponse added in v1.0.1

type IncidentTimestampsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTimestampsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTimestampsV2ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentTimestampsV2ShowResponse) StatusCode added in v1.0.1

func (r IncidentTimestampsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTypeV1 added in v1.0.1

type IncidentTypeV1 struct {
	// CreateInTriage Whether incidents of this must always, or can optionally, be created in triage
	CreateInTriage IncidentTypeV1CreateInTriage `json:"create_in_triage"`

	// CreatedAt When this resource was created
	CreatedAt time.Time `json:"created_at"`

	// Description What is this incident type for?
	Description string `json:"description"`

	// Id Unique identifier for this Incident Type
	Id string `json:"id"`

	// IsDefault The default Incident Type is used when no other type is explicitly specified
	IsDefault bool `json:"is_default"`

	// Name The name of this Incident Type
	Name string `json:"name"`

	// OwningTeamIds IDs of the teams that own this incident type
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// PrivateIncidentsOnly Should all incidents created with this Incident Type be private?
	PrivateIncidentsOnly bool `json:"private_incidents_only"`

	// UpdatedAt When this resource was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentTypeV1 defines model for IncidentTypeV1.

type IncidentTypeV1CreateInTriage added in v1.0.1

type IncidentTypeV1CreateInTriage string

IncidentTypeV1CreateInTriage Whether incidents of this must always, or can optionally, be created in triage

const (
	IncidentTypeV1CreateInTriageAlways   IncidentTypeV1CreateInTriage = "always"
	IncidentTypeV1CreateInTriageOptional IncidentTypeV1CreateInTriage = "optional"
)

Defines values for IncidentTypeV1CreateInTriage.

func (IncidentTypeV1CreateInTriage) Valid added in v1.0.1

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

type IncidentTypeV2 added in v1.0.1

type IncidentTypeV2 struct {
	// CreateInTriage Whether incidents of this must always, or can optionally, be created in triage
	CreateInTriage IncidentTypeV2CreateInTriage `json:"create_in_triage"`

	// CreatedAt When this resource was created
	CreatedAt time.Time `json:"created_at"`

	// Description What is this incident type for?
	Description string `json:"description"`

	// Id Unique identifier for this Incident Type
	Id string `json:"id"`

	// IsDefault The default Incident Type is used when no other type is explicitly specified
	IsDefault bool `json:"is_default"`

	// Name The name of this Incident Type
	Name string `json:"name"`

	// PrivateIncidentsOnly Should all incidents created with this Incident Type be private?
	PrivateIncidentsOnly bool `json:"private_incidents_only"`

	// UpdatedAt When this resource was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

IncidentTypeV2 defines model for IncidentTypeV2.

type IncidentTypeV2CreateInTriage added in v1.0.1

type IncidentTypeV2CreateInTriage string

IncidentTypeV2CreateInTriage Whether incidents of this must always, or can optionally, be created in triage

const (
	IncidentTypeV2CreateInTriageAlways   IncidentTypeV2CreateInTriage = "always"
	IncidentTypeV2CreateInTriageOptional IncidentTypeV2CreateInTriage = "optional"
)

Defines values for IncidentTypeV2CreateInTriage.

func (IncidentTypeV2CreateInTriage) Valid added in v1.0.1

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

type IncidentTypesListResultV1 added in v1.0.1

type IncidentTypesListResultV1 struct {
	IncidentTypes []IncidentTypeV1 `json:"incident_types"`
}

IncidentTypesListResultV1 defines model for IncidentTypesListResultV1.

type IncidentTypesShowResultV1 added in v1.0.1

type IncidentTypesShowResultV1 struct {
	IncidentType IncidentTypeV1 `json:"incident_type"`
}

IncidentTypesShowResultV1 defines model for IncidentTypesShowResultV1.

type IncidentTypesV1ListResponse added in v1.0.1

type IncidentTypesV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTypesListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTypesV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentTypesV1ListResponse) StatusCode added in v1.0.1

func (r IncidentTypesV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentTypesV1ShowResponse added in v1.0.1

type IncidentTypesV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentTypesShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentTypesV1ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentTypesV1ShowResponse) StatusCode added in v1.0.1

func (r IncidentTypesV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentUpdateV2 added in v1.0.1

type IncidentUpdateV2 struct {
	// CreatedAt When the update was created
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier for this incident update
	Id string `json:"id"`

	// IncidentId The incident this update relates to
	IncidentId string `json:"incident_id"`

	// MergedIntoIncidentId The ID of the incident this incident was merged into, if the to state of this update is 'merged'.
	MergedIntoIncidentId *string `json:"merged_into_incident_id,omitempty"`

	// Message Message that explains the context behind the update
	Message           *string          `json:"message,omitempty"`
	NewIncidentStatus IncidentStatusV2 `json:"new_incident_status"`
	NewSeverity       *SeverityV2      `json:"new_severity,omitempty"`
	Updater           ActorV2          `json:"updater"`
}

IncidentUpdateV2 defines model for IncidentUpdateV2.

type IncidentUpdatesCreatePayloadV2 added in v1.0.77

type IncidentUpdatesCreatePayloadV2 struct {
	// IdempotencyKey Unique string used to de-duplicate incident update requests. Retrying with the same key returns the update the first request created, rather than sharing a second one.
	IdempotencyKey string `json:"idempotency_key"`

	// IncidentId The incident you want to update
	IncidentId string `json:"incident_id"`

	// Message Message that explains the context behind the update, in markdown
	Message *string `json:"message,omitempty"`

	// ToIncidentStatusId Move the incident to this status
	ToIncidentStatusId *string `json:"to_incident_status_id,omitempty"`

	// ToSeverityId Move the incident to this severity
	ToSeverityId *string `json:"to_severity_id,omitempty"`
}

IncidentUpdatesCreatePayloadV2 defines model for IncidentUpdatesCreatePayloadV2.

type IncidentUpdatesCreateResultV2 added in v1.0.77

type IncidentUpdatesCreateResultV2 struct {
	IncidentUpdate IncidentUpdateV2 `json:"incident_update"`
}

IncidentUpdatesCreateResultV2 defines model for IncidentUpdatesCreateResultV2.

type IncidentUpdatesListResultV2 added in v1.0.1

type IncidentUpdatesListResultV2 struct {
	IncidentUpdates []IncidentUpdateV2      `json:"incident_updates"`
	PaginationMeta  *PaginationMetaResultV2 `json:"pagination_meta,omitempty"`
}

IncidentUpdatesListResultV2 defines model for IncidentUpdatesListResultV2.

type IncidentUpdatesV2CreateJSONRequestBody added in v1.0.77

type IncidentUpdatesV2CreateJSONRequestBody = IncidentUpdatesCreatePayloadV2

IncidentUpdatesV2CreateJSONRequestBody defines body for IncidentUpdatesV2Create for application/json ContentType.

type IncidentUpdatesV2CreateResponse added in v1.0.77

type IncidentUpdatesV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentUpdatesCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentUpdatesV2CreateResponse) Status added in v1.0.77

Status returns HTTPResponse.Status

func (IncidentUpdatesV2CreateResponse) StatusCode added in v1.0.77

func (r IncidentUpdatesV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentUpdatesV2ListParams added in v1.0.1

type IncidentUpdatesV2ListParams struct {
	// IncidentId Incident whose updates you want to list
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

IncidentUpdatesV2ListParams defines parameters for IncidentUpdatesV2List.

type IncidentUpdatesV2ListResponse added in v1.0.1

type IncidentUpdatesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentUpdatesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentUpdatesV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentUpdatesV2ListResponse) StatusCode added in v1.0.1

func (r IncidentUpdatesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentV1 added in v1.0.1

type IncidentV1 struct {
	// CallUrl The call URL attached to this incident
	CallUrl *string `json:"call_url,omitempty"`

	// CreatedAt When the incident was created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV1   `json:"creator"`

	// CustomFieldEntries Custom field entries for this incident
	CustomFieldEntries []CustomFieldEntryV1 `json:"custom_field_entries"`

	// Id Unique identifier for the incident
	Id string `json:"id"`

	// IncidentRoleAssignments A list of who is assigned to each role for this incident
	IncidentRoleAssignments []IncidentRoleAssignmentV1 `json:"incident_role_assignments"`
	IncidentType            *IncidentTypeV1            `json:"incident_type,omitempty"`

	// Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident
	Mode IncidentV1Mode `json:"mode"`

	// Name Explanation of the incident
	Name string `json:"name"`

	// Permalink A permanent link to the homepage for this incident
	Permalink *string `json:"permalink,omitempty"`

	// PostmortemDocumentUrl The URL of the incident post-mortem document
	PostmortemDocumentUrl *string `json:"postmortem_document_url,omitempty"`

	// Reference Reference to this incident, as displayed across the product
	Reference string      `json:"reference"`
	Severity  *SeverityV1 `json:"severity,omitempty"`

	// SlackChannelId ID of the Slack channel in the organisation Slack workspace. Note that the channel is sometimes created asynchronously, so may not be present when the incident is just created.
	SlackChannelId string `json:"slack_channel_id"`

	// SlackChannelName Name of the slack channel
	SlackChannelName *string `json:"slack_channel_name,omitempty"`

	// SlackTeamId ID of the Slack team / workspace. This is only required if you are using a Slack Enterprise Grid with multiple teams.
	SlackTeamId string `json:"slack_team_id"`

	// Status Current status of the incident
	Status IncidentV1Status `json:"status"`

	// Summary Detailed description of the incident
	Summary *string `json:"summary,omitempty"`

	// Timestamps Incident lifecycle events and when they last occurred
	Timestamps *[]IncidentTimestampValueV1 `json:"timestamps,omitempty"`

	// UpdatedAt When the incident was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).
	Visibility IncidentV1Visibility `json:"visibility"`
}

IncidentV1 defines model for IncidentV1.

type IncidentV1Mode added in v1.0.1

type IncidentV1Mode string

IncidentV1Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident

const (
	IncidentV1ModeReal     IncidentV1Mode = "real"
	IncidentV1ModeTest     IncidentV1Mode = "test"
	IncidentV1ModeTutorial IncidentV1Mode = "tutorial"
)

Defines values for IncidentV1Mode.

func (IncidentV1Mode) Valid added in v1.0.1

func (e IncidentV1Mode) Valid() bool

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

type IncidentV1Status added in v1.0.1

type IncidentV1Status string

IncidentV1Status Current status of the incident

const (
	IncidentV1StatusClosed        IncidentV1Status = "closed"
	IncidentV1StatusDeclined      IncidentV1Status = "declined"
	IncidentV1StatusFixing        IncidentV1Status = "fixing"
	IncidentV1StatusInvestigating IncidentV1Status = "investigating"
	IncidentV1StatusMonitoring    IncidentV1Status = "monitoring"
	IncidentV1StatusTriage        IncidentV1Status = "triage"
)

Defines values for IncidentV1Status.

func (IncidentV1Status) Valid added in v1.0.1

func (e IncidentV1Status) Valid() bool

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

type IncidentV1Visibility added in v1.0.1

type IncidentV1Visibility string

IncidentV1Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).

const (
	IncidentV1VisibilityPrivate IncidentV1Visibility = "private"
	IncidentV1VisibilityPublic  IncidentV1Visibility = "public"
)

Defines values for IncidentV1Visibility.

func (IncidentV1Visibility) Valid added in v1.0.1

func (e IncidentV1Visibility) Valid() bool

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

type IncidentV2 added in v1.0.1

type IncidentV2 struct {
	// CallUrl The call URL attached to this incident
	CallUrl *string `json:"call_url,omitempty"`

	// CreatedAt When the incident was created
	CreatedAt time.Time `json:"created_at"`
	Creator   ActorV2   `json:"creator"`

	// CustomFieldEntries Custom field entries for this incident
	CustomFieldEntries []CustomFieldEntryV2 `json:"custom_field_entries"`

	// DurationMetrics Incident duration metrics and their measurements for this incident
	DurationMetrics        *[]IncidentDurationMetricWithValueV2 `json:"duration_metrics,omitempty"`
	ExternalIssueReference *ExternalIssueReferenceV2            `json:"external_issue_reference,omitempty"`

	// HasDebrief If this incident has a debrief attached
	HasDebrief *bool `json:"has_debrief,omitempty"`

	// Id Unique identifier for the incident
	Id string `json:"id"`

	// IncidentRoleAssignments A list of who is assigned to each role for this incident
	IncidentRoleAssignments []IncidentRoleAssignmentV2 `json:"incident_role_assignments"`
	IncidentStatus          IncidentStatusV2           `json:"incident_status"`

	// IncidentTimestampValues Incident lifecycle events and when they occurred
	IncidentTimestampValues *[]IncidentTimestampWithValueV2 `json:"incident_timestamp_values,omitempty"`
	IncidentType            *IncidentTypeV2                 `json:"incident_type,omitempty"`

	// LastActivityAt When the incident last recorded 'activity'
	LastActivityAt time.Time `json:"last_activity_at"`

	// Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident
	Mode IncidentV2Mode `json:"mode"`

	// MsTeamsChannelUrl URL to link to the Microsoft Teams channel
	MsTeamsChannelUrl *string `json:"ms_teams_channel_url,omitempty"`

	// Name Explanation of the incident
	Name string `json:"name"`

	// Permalink A permanent link to the homepage for this incident
	Permalink *string `json:"permalink,omitempty"`

	// PostmortemDocumentIds An array of IDs of postmortem documents for this incident
	PostmortemDocumentIds *[]string `json:"postmortem_document_ids,omitempty"`

	// PostmortemDocumentUrl The URL of the incident post-mortem document
	PostmortemDocumentUrl *string `json:"postmortem_document_url,omitempty"`

	// Reference Reference to this incident, as displayed across the product
	Reference string      `json:"reference"`
	Severity  *SeverityV2 `json:"severity,omitempty"`

	// SlackChannelId ID of the Slack channel in the organisation Slack workspace. Note that the channel is sometimes created asynchronously, so may not be present when the incident is just created.
	SlackChannelId string `json:"slack_channel_id"`

	// SlackChannelName Name of the slack channel
	SlackChannelName *string `json:"slack_channel_name,omitempty"`

	// SlackChannelUrl URL to link to the slack channel
	SlackChannelUrl *string `json:"slack_channel_url,omitempty"`

	// SlackTeamId ID of the Slack team / workspace. This is only required if you are using a Slack Enterprise Grid with multiple teams.
	SlackTeamId string `json:"slack_team_id"`

	// Summary Detailed description of the incident
	Summary *string `json:"summary,omitempty"`

	// TeamIds IDs of the teams that own this incident, resolved from your team settings. Empty when no teams match.
	TeamIds []string `json:"team_ids"`

	// UpdatedAt When the incident was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).
	Visibility IncidentV2Visibility `json:"visibility"`

	// WorkloadMinutesLate Amount of time spent on the incident in late hours
	WorkloadMinutesLate *float64 `json:"workload_minutes_late,omitempty"`

	// WorkloadMinutesSleeping Amount of time spent on the incident in sleeping hours
	WorkloadMinutesSleeping *float64 `json:"workload_minutes_sleeping,omitempty"`

	// WorkloadMinutesTotal Amount of time spent on the incident in total
	WorkloadMinutesTotal *float64 `json:"workload_minutes_total,omitempty"`

	// WorkloadMinutesWorking Amount of time spent on the incident in working hours
	WorkloadMinutesWorking *float64 `json:"workload_minutes_working,omitempty"`
}

IncidentV2 defines model for IncidentV2.

type IncidentV2Mode added in v1.0.1

type IncidentV2Mode string

IncidentV2Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident

const (
	IncidentV2ModeRetrospective IncidentV2Mode = "retrospective"
	IncidentV2ModeStandard      IncidentV2Mode = "standard"
	IncidentV2ModeTest          IncidentV2Mode = "test"
	IncidentV2ModeTutorial      IncidentV2Mode = "tutorial"
)

Defines values for IncidentV2Mode.

func (IncidentV2Mode) Valid added in v1.0.1

func (e IncidentV2Mode) Valid() bool

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

type IncidentV2Visibility added in v1.0.1

type IncidentV2Visibility string

IncidentV2Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).

const (
	IncidentV2VisibilityPrivate IncidentV2Visibility = "private"
	IncidentV2VisibilityPublic  IncidentV2Visibility = "public"
)

Defines values for IncidentV2Visibility.

func (IncidentV2Visibility) Valid added in v1.0.1

func (e IncidentV2Visibility) Valid() bool

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

type IncidentsCreatePayloadV1 added in v1.0.1

type IncidentsCreatePayloadV1 struct {
	// CustomFieldEntries Set the incident's custom fields to these values
	CustomFieldEntries *[]CustomFieldEntryPayloadV1 `json:"custom_field_entries,omitempty"`

	// IdempotencyKey Unique string used to de-duplicate incident create requests
	IdempotencyKey string `json:"idempotency_key"`

	// IncidentRoleAssignments Assign incident roles to these people
	IncidentRoleAssignments *[]IncidentRoleAssignmentPayloadV1 `json:"incident_role_assignments,omitempty"`

	// IncidentTypeId Incident type to create this incident as
	IncidentTypeId *string `json:"incident_type_id,omitempty"`

	// Mode Whether the incident is real or test
	Mode *IncidentsCreatePayloadV1Mode `json:"mode,omitempty"`

	// Name Explanation of the incident
	Name *string `json:"name,omitempty"`

	// SeverityId Severity to create incident as
	SeverityId *string `json:"severity_id,omitempty"`

	// SlackTeamId ID of the Slack team / workspace. This is only required if you are using a Slack Enterprise Grid with multiple teams.
	SlackTeamId *string `json:"slack_team_id,omitempty"`

	// SourceMessageChannelId Channel ID of the source message, if this incident was created from one
	SourceMessageChannelId *string `json:"source_message_channel_id,omitempty"`

	// SourceMessageTimestamp Timestamp of the source message, if this incident was created from one
	SourceMessageTimestamp *string `json:"source_message_timestamp,omitempty"`

	// Status Current status of the incident
	Status *IncidentsCreatePayloadV1Status `json:"status,omitempty"`

	// Summary Detailed description of the incident
	Summary *string `json:"summary,omitempty"`

	// Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).
	Visibility IncidentsCreatePayloadV1Visibility `json:"visibility"`
}

IncidentsCreatePayloadV1 defines model for IncidentsCreatePayloadV1.

type IncidentsCreatePayloadV1Mode added in v1.0.1

type IncidentsCreatePayloadV1Mode string

IncidentsCreatePayloadV1Mode Whether the incident is real or test

const (
	IncidentsCreatePayloadV1ModeReal IncidentsCreatePayloadV1Mode = "real"
	IncidentsCreatePayloadV1ModeTest IncidentsCreatePayloadV1Mode = "test"
)

Defines values for IncidentsCreatePayloadV1Mode.

func (IncidentsCreatePayloadV1Mode) Valid added in v1.0.1

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

type IncidentsCreatePayloadV1Status added in v1.0.1

type IncidentsCreatePayloadV1Status string

IncidentsCreatePayloadV1Status Current status of the incident

const (
	IncidentsCreatePayloadV1StatusClosed        IncidentsCreatePayloadV1Status = "closed"
	IncidentsCreatePayloadV1StatusDeclined      IncidentsCreatePayloadV1Status = "declined"
	IncidentsCreatePayloadV1StatusFixing        IncidentsCreatePayloadV1Status = "fixing"
	IncidentsCreatePayloadV1StatusInvestigating IncidentsCreatePayloadV1Status = "investigating"
	IncidentsCreatePayloadV1StatusMonitoring    IncidentsCreatePayloadV1Status = "monitoring"
	IncidentsCreatePayloadV1StatusTriage        IncidentsCreatePayloadV1Status = "triage"
)

Defines values for IncidentsCreatePayloadV1Status.

func (IncidentsCreatePayloadV1Status) Valid added in v1.0.1

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

type IncidentsCreatePayloadV1Visibility added in v1.0.1

type IncidentsCreatePayloadV1Visibility string

IncidentsCreatePayloadV1Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).

const (
	IncidentsCreatePayloadV1VisibilityPrivate IncidentsCreatePayloadV1Visibility = "private"
	IncidentsCreatePayloadV1VisibilityPublic  IncidentsCreatePayloadV1Visibility = "public"
)

Defines values for IncidentsCreatePayloadV1Visibility.

func (IncidentsCreatePayloadV1Visibility) Valid added in v1.0.1

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

type IncidentsCreatePayloadV2 added in v1.0.1

type IncidentsCreatePayloadV2 struct {
	// CustomFieldEntries Set the incident's custom fields to these values
	CustomFieldEntries *[]CustomFieldEntryPayloadV2 `json:"custom_field_entries,omitempty"`

	// IdempotencyKey Unique string used to de-duplicate incident create requests
	IdempotencyKey string `json:"idempotency_key"`

	// IncidentRoleAssignments Assign incident roles to these people
	IncidentRoleAssignments *[]IncidentRoleAssignmentPayloadV2 `json:"incident_role_assignments,omitempty"`

	// IncidentStatusId Incident status to assign to the incident
	IncidentStatusId *string `json:"incident_status_id,omitempty"`

	// IncidentTimestampValues Assign the incident's timestamps to these values
	IncidentTimestampValues *[]IncidentTimestampValuePayloadV2 `json:"incident_timestamp_values,omitempty"`

	// IncidentTypeId Incident type to create this incident as
	IncidentTypeId *string `json:"incident_type_id,omitempty"`

	// Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident
	Mode *IncidentsCreatePayloadV2Mode `json:"mode,omitempty"`

	// Name Explanation of the incident
	Name                         *string                         `json:"name,omitempty"`
	RetrospectiveIncidentOptions *RetrospectiveIncidentOptionsV2 `json:"retrospective_incident_options,omitempty"`

	// SeverityId Severity to create incident as
	SeverityId *string `json:"severity_id,omitempty"`

	// SlackChannelNameOverride Name of the Slack channel to create for this incident
	SlackChannelNameOverride *string `json:"slack_channel_name_override,omitempty"`

	// SlackTeamId Slack Team to create the incident in
	SlackTeamId *string `json:"slack_team_id,omitempty"`

	// Summary Detailed description of the incident
	Summary *string `json:"summary,omitempty"`

	// Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).
	Visibility IncidentsCreatePayloadV2Visibility `json:"visibility"`
}

IncidentsCreatePayloadV2 defines model for IncidentsCreatePayloadV2.

type IncidentsCreatePayloadV2Mode added in v1.0.1

type IncidentsCreatePayloadV2Mode string

IncidentsCreatePayloadV2Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident

const (
	IncidentsCreatePayloadV2ModeRetrospective IncidentsCreatePayloadV2Mode = "retrospective"
	IncidentsCreatePayloadV2ModeStandard      IncidentsCreatePayloadV2Mode = "standard"
	IncidentsCreatePayloadV2ModeTest          IncidentsCreatePayloadV2Mode = "test"
	IncidentsCreatePayloadV2ModeTutorial      IncidentsCreatePayloadV2Mode = "tutorial"
)

Defines values for IncidentsCreatePayloadV2Mode.

func (IncidentsCreatePayloadV2Mode) Valid added in v1.0.1

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

type IncidentsCreatePayloadV2Visibility added in v1.0.1

type IncidentsCreatePayloadV2Visibility string

IncidentsCreatePayloadV2Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents).

const (
	IncidentsCreatePayloadV2VisibilityPrivate IncidentsCreatePayloadV2Visibility = "private"
	IncidentsCreatePayloadV2VisibilityPublic  IncidentsCreatePayloadV2Visibility = "public"
)

Defines values for IncidentsCreatePayloadV2Visibility.

func (IncidentsCreatePayloadV2Visibility) Valid added in v1.0.1

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

type IncidentsCreateResultV1 added in v1.0.1

type IncidentsCreateResultV1 struct {
	Incident IncidentV1 `json:"incident"`
}

IncidentsCreateResultV1 defines model for IncidentsCreateResultV1.

type IncidentsCreateResultV2 added in v1.0.1

type IncidentsCreateResultV2 struct {
	Incident IncidentV2 `json:"incident"`
}

IncidentsCreateResultV2 defines model for IncidentsCreateResultV2.

type IncidentsEditPayloadV2 added in v1.0.1

type IncidentsEditPayloadV2 struct {
	Incident IncidentEditPayloadV2 `json:"incident"`

	// NotifyIncidentChannel Should we send Slack channel notifications to inform responders of this update? Note that this won't work if the Slack channel has already been archived.
	NotifyIncidentChannel bool `json:"notify_incident_channel"`
}

IncidentsEditPayloadV2 defines model for IncidentsEditPayloadV2.

type IncidentsEditResultV2 added in v1.0.1

type IncidentsEditResultV2 struct {
	Incident IncidentV2 `json:"incident"`
}

IncidentsEditResultV2 defines model for IncidentsEditResultV2.

type IncidentsImportPostmortemDocumentPayloadV2 added in v1.0.1

type IncidentsImportPostmortemDocumentPayloadV2 struct {
	// Content The document content as GitHub-Flavored Markdown
	Content string `json:"content"`

	// Title Title of the postmortem document
	Title string `json:"title"`
}

IncidentsImportPostmortemDocumentPayloadV2 defines model for IncidentsImportPostmortemDocumentPayloadV2.

type IncidentsImportPostmortemDocumentResultV2 added in v1.0.1

type IncidentsImportPostmortemDocumentResultV2 struct {
	PostmortemDocument PostmortemDocumentV1 `json:"postmortem_document"`
}

IncidentsImportPostmortemDocumentResultV2 defines model for IncidentsImportPostmortemDocumentResultV2.

type IncidentsListResultV1 added in v1.0.1

type IncidentsListResultV1 struct {
	Incidents      []IncidentV1                     `json:"incidents"`
	PaginationMeta *PaginationMetaResultWithTotalV1 `json:"pagination_meta,omitempty"`
}

IncidentsListResultV1 defines model for IncidentsListResultV1.

type IncidentsListResultV2 added in v1.0.1

type IncidentsListResultV2 struct {
	Incidents      []IncidentV2                     `json:"incidents"`
	PaginationMeta *PaginationMetaResultWithTotalV2 `json:"pagination_meta,omitempty"`
}

IncidentsListResultV2 defines model for IncidentsListResultV2.

type IncidentsShowResultV1 added in v1.0.1

type IncidentsShowResultV1 struct {
	Incident IncidentV1 `json:"incident"`
}

IncidentsShowResultV1 defines model for IncidentsShowResultV1.

type IncidentsShowResultV2 added in v1.0.1

type IncidentsShowResultV2 struct {
	Incident IncidentV2 `json:"incident"`
}

IncidentsShowResultV2 defines model for IncidentsShowResultV2.

type IncidentsV1CreateJSONRequestBody added in v1.0.1

type IncidentsV1CreateJSONRequestBody = IncidentsCreatePayloadV1

IncidentsV1CreateJSONRequestBody defines body for IncidentsV1Create for application/json ContentType.

type IncidentsV1CreateResponse added in v1.0.1

type IncidentsV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentsCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV1CreateResponse) Status added in v1.0.1

func (r IncidentsV1CreateResponse) Status() string

Status returns HTTPResponse.Status

func (IncidentsV1CreateResponse) StatusCode added in v1.0.1

func (r IncidentsV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentsV1ListParams added in v1.0.1

type IncidentsV1ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Status Filter for incidents in these statuses
	Status *[]string `form:"status,omitempty" json:"status,omitempty"`
}

IncidentsV1ListParams defines parameters for IncidentsV1List.

type IncidentsV1ListResponse added in v1.0.1

type IncidentsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV1ListResponse) Status added in v1.0.1

func (r IncidentsV1ListResponse) Status() string

Status returns HTTPResponse.Status

func (IncidentsV1ListResponse) StatusCode added in v1.0.1

func (r IncidentsV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentsV1ShowResponse added in v1.0.1

type IncidentsV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentsShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV1ShowResponse) Status added in v1.0.1

func (r IncidentsV1ShowResponse) Status() string

Status returns HTTPResponse.Status

func (IncidentsV1ShowResponse) StatusCode added in v1.0.1

func (r IncidentsV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentsV2CreateJSONRequestBody added in v1.0.1

type IncidentsV2CreateJSONRequestBody = IncidentsCreatePayloadV2

IncidentsV2CreateJSONRequestBody defines body for IncidentsV2Create for application/json ContentType.

type IncidentsV2CreateResponse added in v1.0.1

type IncidentsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV2CreateResponse) Status added in v1.0.1

func (r IncidentsV2CreateResponse) Status() string

Status returns HTTPResponse.Status

func (IncidentsV2CreateResponse) StatusCode added in v1.0.1

func (r IncidentsV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentsV2EditJSONRequestBody added in v1.0.1

type IncidentsV2EditJSONRequestBody = IncidentsEditPayloadV2

IncidentsV2EditJSONRequestBody defines body for IncidentsV2Edit for application/json ContentType.

type IncidentsV2EditResponse added in v1.0.1

type IncidentsV2EditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentsEditResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV2EditResponse) Status added in v1.0.1

func (r IncidentsV2EditResponse) Status() string

Status returns HTTPResponse.Status

func (IncidentsV2EditResponse) StatusCode added in v1.0.1

func (r IncidentsV2EditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentsV2ImportPostmortemDocumentJSONRequestBody added in v1.0.1

type IncidentsV2ImportPostmortemDocumentJSONRequestBody = IncidentsImportPostmortemDocumentPayloadV2

IncidentsV2ImportPostmortemDocumentJSONRequestBody defines body for IncidentsV2ImportPostmortemDocument for application/json ContentType.

type IncidentsV2ImportPostmortemDocumentResponse added in v1.0.1

type IncidentsV2ImportPostmortemDocumentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *IncidentsImportPostmortemDocumentResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV2ImportPostmortemDocumentResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (IncidentsV2ImportPostmortemDocumentResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type IncidentsV2ListParams added in v1.0.1

type IncidentsV2ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An incident's ID. This endpoint will return a list of incidents after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// SortBy What order to return results in.
	SortBy *IncidentsV2ListParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// FilterMode How to combine the filters: 'all' combines them with AND logic (all must match), 'any' combines them with OR logic (any can match). Defaults to 'all'.
	FilterMode *IncidentsV2ListParamsFilterMode `form:"filter_mode,omitempty" json:"filter_mode,omitempty"`

	// Status Filter on incident status. The accepted operators are 'one_of', or 'not_in'.
	Status *map[string][]string `form:"status,omitempty" json:"status,omitempty"`

	// StatusCategory Filter on the category of the incidents status. The accepted operators are 'one_of', or 'not_in'.
	StatusCategory *map[string][]string `form:"status_category,omitempty" json:"status_category,omitempty"`

	// CreatedAt Filter on incident created at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'.
	CreatedAt *map[string][]string `form:"created_at,omitempty" json:"created_at,omitempty"`

	// UpdatedAt Filter on incident updated at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'.
	UpdatedAt *map[string][]string `form:"updated_at,omitempty" json:"updated_at,omitempty"`

	// Severity Filter on incident severity. The accepted operators are 'one_of', 'not_in', 'gte', 'lte'.
	Severity *map[string][]string `form:"severity,omitempty" json:"severity,omitempty"`

	// IncidentType Filter on incident type. The accepted operators are 'one_of, or 'not_in'.
	IncidentType *map[string][]string `form:"incident_type,omitempty" json:"incident_type,omitempty"`

	// IncidentRole Filter on an incident role. Role ID should be sent, along with backlink attribute ID (if needed) followed by the operator and values. The accepted operators are 'one_of', 'is_blank'.
	IncidentRole *map[string]map[string][]string `form:"incident_role,omitempty" json:"incident_role,omitempty"`

	// CustomField Filter on an incident custom field. Custom field ID should be sent, followed by the operator and values. Accepted operator will depend on the custom field type.
	CustomField *map[string]map[string][]string `form:"custom_field,omitempty" json:"custom_field,omitempty"`

	// Mode Filter on incident mode. The accepted operator is 'one_of'.  If this is not provided, this value defaults to `{"one_of": ["standard", "retrospective"] }`, meaning that test and tutorial incidents are not included.
	Mode *map[string][]string `form:"mode,omitempty" json:"mode,omitempty"`
}

IncidentsV2ListParams defines parameters for IncidentsV2List.

type IncidentsV2ListParamsFilterMode added in v1.0.1

type IncidentsV2ListParamsFilterMode string

IncidentsV2ListParamsFilterMode defines parameters for IncidentsV2List.

const (
	IncidentsV2ListParamsFilterModeAll IncidentsV2ListParamsFilterMode = "all"
	IncidentsV2ListParamsFilterModeAny IncidentsV2ListParamsFilterMode = "any"
)

Defines values for IncidentsV2ListParamsFilterMode.

func (IncidentsV2ListParamsFilterMode) Valid added in v1.0.1

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

type IncidentsV2ListParamsSortBy added in v1.0.1

type IncidentsV2ListParamsSortBy string

IncidentsV2ListParamsSortBy defines parameters for IncidentsV2List.

const (
	IncidentsV2ListParamsSortByCreatedAtNewestFirst IncidentsV2ListParamsSortBy = "created_at_newest_first"
	IncidentsV2ListParamsSortByCreatedAtOldestFirst IncidentsV2ListParamsSortBy = "created_at_oldest_first"
)

Defines values for IncidentsV2ListParamsSortBy.

func (IncidentsV2ListParamsSortBy) Valid added in v1.0.1

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

type IncidentsV2ListResponse added in v1.0.1

type IncidentsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV2ListResponse) Status added in v1.0.1

func (r IncidentsV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (IncidentsV2ListResponse) StatusCode added in v1.0.1

func (r IncidentsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentsV2ShowResponse added in v1.0.1

type IncidentsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (IncidentsV2ShowResponse) Status added in v1.0.1

func (r IncidentsV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (IncidentsV2ShowResponse) StatusCode added in v1.0.1

func (r IncidentsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LinkedScheduleV2 added in v1.0.1

type LinkedScheduleV2 struct {
	// Id Unique internal ID of the schedule
	Id string `json:"id"`

	// Name Human readable name of the schedule
	Name string `json:"name"`

	// TeamIds IDs of teams that own this schedule
	TeamIds []string `json:"team_ids"`
}

LinkedScheduleV2 defines model for LinkedScheduleV2.

type MaintenanceWindowEscalationTargetPayloadV1 added in v1.0.1

type MaintenanceWindowEscalationTargetPayloadV1 struct {
	EscalationPaths *EngineParamBindingPayloadV2 `json:"escalation_paths,omitempty"`
	Users           *EngineParamBindingPayloadV2 `json:"users,omitempty"`
}

MaintenanceWindowEscalationTargetPayloadV1 defines model for MaintenanceWindowEscalationTargetPayloadV1.

type MaintenanceWindowEscalationTargetV1 added in v1.0.1

type MaintenanceWindowEscalationTargetV1 struct {
	EscalationPaths *EngineParamBindingV2 `json:"escalation_paths,omitempty"`
	Users           *EngineParamBindingV2 `json:"users,omitempty"`
}

MaintenanceWindowEscalationTargetV1 defines model for MaintenanceWindowEscalationTargetV1.

type MaintenanceWindowNotifyChannelPayloadV1 added in v1.0.1

type MaintenanceWindowNotifyChannelPayloadV1 struct {
	// ChannelId The external provider channel ID (e.g. Slack channel ID)
	ChannelId string `json:"channel_id"`

	// ChannelName Human readable name of the channel
	ChannelName *string `json:"channel_name,omitempty"`

	// ChannelType The type of channel (e.g. public, private)
	ChannelType string `json:"channel_type"`
}

MaintenanceWindowNotifyChannelPayloadV1 A channel to receive notifications about this maintenance window

type MaintenanceWindowNotifyChannelV1 added in v1.0.1

type MaintenanceWindowNotifyChannelV1 struct {
	// ChannelId The external provider channel ID (e.g. Slack channel ID)
	ChannelId string `json:"channel_id"`

	// ChannelName Human readable name of the channel
	ChannelName *string `json:"channel_name,omitempty"`

	// ChannelType The type of channel (e.g. public, private)
	ChannelType string `json:"channel_type"`

	// IsPrivate Whether the channel is private
	IsPrivate *bool `json:"is_private,omitempty"`
}

MaintenanceWindowNotifyChannelV1 A channel that will receive notifications about this maintenance window

type MaintenanceWindowV1 added in v1.0.1

type MaintenanceWindowV1 struct {
	// AlertConditionGroups Condition groups that determine which alerts this maintenance window applies to
	AlertConditionGroups []ConditionGroupV2 `json:"alert_condition_groups"`

	// ArchivedAt When this maintenance window was archived, if it has been
	ArchivedAt *time.Time `json:"archived_at,omitempty"`

	// CreatedAt When this maintenance window was created
	CreatedAt time.Time `json:"created_at"`

	// EndAt When the maintenance window ends
	EndAt time.Time `json:"end_at"`

	// EscalationTargets If set, alerts matching this window will be escalated to these targets
	EscalationTargets *[]MaintenanceWindowEscalationTargetV1 `json:"escalation_targets,omitempty"`

	// Id Unique identifier for this maintenance window
	Id string `json:"id"`

	// IncidentId If set, alerts matching this window will be automatically attached to this incident
	IncidentId *string `json:"incident_id,omitempty"`
	Lead       ActorV2 `json:"lead"`

	// Name Human readable name for the maintenance window
	Name string `json:"name"`

	// NotificationMessage Custom message included in notifications about this maintenance window
	NotificationMessage *string `json:"notification_message,omitempty"`

	// NotifyChannels Channels to notify about the maintenance window starting and ending
	NotifyChannels *[]MaintenanceWindowNotifyChannelV1 `json:"notify_channels,omitempty"`

	// NotifyEndMinutesBefore Minutes before the end to send a notification to the configured channels
	NotifyEndMinutesBefore *int64 `json:"notify_end_minutes_before,omitempty"`

	// NotifyStartMinutesBefore Minutes before the start to send a notification to the configured channels
	NotifyStartMinutesBefore *int64 `json:"notify_start_minutes_before,omitempty"`

	// RerouteOnEnd Whether to retrigger firing alerts through alert routing when the window ends
	RerouteOnEnd bool `json:"reroute_on_end"`

	// ResolveOnEnd Whether to automatically resolve all firing alerts that matched this window when it ends
	ResolveOnEnd bool `json:"resolve_on_end"`

	// ShowInSidebar Whether to show this maintenance window in the dashboard sidebar when active
	ShowInSidebar bool `json:"show_in_sidebar"`

	// StartAt When the maintenance window starts
	StartAt time.Time `json:"start_at"`

	// UpdatedAt When this maintenance window was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

MaintenanceWindowV1 defines model for MaintenanceWindowV1.

type MaintenanceWindowsCreatePayloadV1 added in v1.0.1

type MaintenanceWindowsCreatePayloadV1 struct {
	// AlertConditionGroups Condition groups that determine which alerts this maintenance window applies to
	AlertConditionGroups []ConditionGroupPayloadV2 `json:"alert_condition_groups"`

	// EndAt When the maintenance window should end
	EndAt time.Time `json:"end_at"`

	// EscalationTargets If set, alerts matching this window will be escalated to these targets
	EscalationTargets *[]MaintenanceWindowEscalationTargetPayloadV1 `json:"escalation_targets,omitempty"`

	// IncidentId If set, alerts matching this window will be automatically attached to this incident
	IncidentId *string                `json:"incident_id,omitempty"`
	Lead       UserReferencePayloadV2 `json:"lead"`

	// Name Human readable name for the maintenance window
	Name string `json:"name"`

	// NotificationMessage Custom message included in notifications about this maintenance window
	NotificationMessage *string `json:"notification_message,omitempty"`

	// NotifyChannels Channels to notify about the maintenance window starting and ending
	NotifyChannels *[]MaintenanceWindowNotifyChannelPayloadV1 `json:"notify_channels,omitempty"`

	// NotifyEndMinutesBefore Minutes before the end to send a notification to the configured channels
	NotifyEndMinutesBefore *int64 `json:"notify_end_minutes_before,omitempty"`

	// NotifyStartMinutesBefore Minutes before the start to send a notification to the configured channels
	NotifyStartMinutesBefore *int64 `json:"notify_start_minutes_before,omitempty"`

	// RerouteOnEnd Whether to retrigger firing alerts through alert routing when the window ends
	RerouteOnEnd *bool `json:"reroute_on_end,omitempty"`

	// ResolveOnEnd Whether to automatically resolve all firing alerts that matched this window when it ends
	ResolveOnEnd *bool `json:"resolve_on_end,omitempty"`

	// ShowInSidebar Whether to show this maintenance window in the dashboard sidebar when active
	ShowInSidebar bool `json:"show_in_sidebar"`

	// StartAt When the maintenance window should start
	StartAt time.Time `json:"start_at"`
}

MaintenanceWindowsCreatePayloadV1 defines model for MaintenanceWindowsCreatePayloadV1.

type MaintenanceWindowsCreateResultV1 added in v1.0.1

type MaintenanceWindowsCreateResultV1 struct {
	MaintenanceWindow MaintenanceWindowV1 `json:"maintenance_window"`
}

MaintenanceWindowsCreateResultV1 defines model for MaintenanceWindowsCreateResultV1.

type MaintenanceWindowsListResultV1 added in v1.0.1

type MaintenanceWindowsListResultV1 struct {
	MaintenanceWindows []MaintenanceWindowV1  `json:"maintenance_windows"`
	PaginationMeta     PaginationMetaResultV1 `json:"pagination_meta"`
}

MaintenanceWindowsListResultV1 defines model for MaintenanceWindowsListResultV1.

type MaintenanceWindowsShowResultV1 added in v1.0.1

type MaintenanceWindowsShowResultV1 struct {
	MaintenanceWindow MaintenanceWindowV1 `json:"maintenance_window"`
}

MaintenanceWindowsShowResultV1 defines model for MaintenanceWindowsShowResultV1.

type MaintenanceWindowsUpdatePayloadV1 added in v1.0.1

type MaintenanceWindowsUpdatePayloadV1 struct {
	// AlertConditionGroups Condition groups that determine which alerts this maintenance window applies to
	AlertConditionGroups []ConditionGroupPayloadV2 `json:"alert_condition_groups"`

	// EndAt When the maintenance window should end
	EndAt time.Time `json:"end_at"`

	// EscalationTargets If set, alerts matching this window will be escalated to these targets
	EscalationTargets *[]MaintenanceWindowEscalationTargetPayloadV1 `json:"escalation_targets,omitempty"`

	// IncidentId If set, alerts matching this window will be automatically attached to this incident
	IncidentId *string                `json:"incident_id,omitempty"`
	Lead       UserReferencePayloadV2 `json:"lead"`

	// Name Human readable name for the maintenance window
	Name string `json:"name"`

	// NotificationMessage Custom message included in notifications about this maintenance window
	NotificationMessage *string `json:"notification_message,omitempty"`

	// NotifyChannels Channels to notify about the maintenance window starting and ending
	NotifyChannels *[]MaintenanceWindowNotifyChannelPayloadV1 `json:"notify_channels,omitempty"`

	// NotifyEndMinutesBefore Minutes before the end to send a notification to the configured channels
	NotifyEndMinutesBefore *int64 `json:"notify_end_minutes_before,omitempty"`

	// NotifyStartMinutesBefore Minutes before the start to send a notification to the configured channels
	NotifyStartMinutesBefore *int64 `json:"notify_start_minutes_before,omitempty"`

	// RerouteOnEnd Whether to retrigger firing alerts through alert routing when the window ends
	RerouteOnEnd *bool `json:"reroute_on_end,omitempty"`

	// ResolveOnEnd Whether to automatically resolve all firing alerts that matched this window when it ends
	ResolveOnEnd *bool `json:"resolve_on_end,omitempty"`

	// ShowInSidebar Whether to show this maintenance window in the dashboard sidebar when active
	ShowInSidebar bool `json:"show_in_sidebar"`

	// StartAt When the maintenance window should start
	StartAt time.Time `json:"start_at"`
}

MaintenanceWindowsUpdatePayloadV1 defines model for MaintenanceWindowsUpdatePayloadV1.

type MaintenanceWindowsUpdateResultV1 added in v1.0.1

type MaintenanceWindowsUpdateResultV1 struct {
	MaintenanceWindow MaintenanceWindowV1 `json:"maintenance_window"`
}

MaintenanceWindowsUpdateResultV1 defines model for MaintenanceWindowsUpdateResultV1.

type MaintenanceWindowsV1CreateJSONRequestBody added in v1.0.1

type MaintenanceWindowsV1CreateJSONRequestBody = MaintenanceWindowsCreatePayloadV1

MaintenanceWindowsV1CreateJSONRequestBody defines body for MaintenanceWindowsV1Create for application/json ContentType.

type MaintenanceWindowsV1CreateResponse added in v1.0.1

type MaintenanceWindowsV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MaintenanceWindowsCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (MaintenanceWindowsV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (MaintenanceWindowsV1CreateResponse) StatusCode added in v1.0.1

func (r MaintenanceWindowsV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MaintenanceWindowsV1DeleteResponse added in v1.0.1

type MaintenanceWindowsV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (MaintenanceWindowsV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (MaintenanceWindowsV1DeleteResponse) StatusCode added in v1.0.1

func (r MaintenanceWindowsV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MaintenanceWindowsV1ListParams added in v1.0.1

type MaintenanceWindowsV1ListParams struct {
	// PageSize Number of maintenance windows to return per page
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After The ID of the last maintenance window on the previous page
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Status Filter by window status: active (start_at <= now < end_at), upcoming (now < start_at), or past (end_at <= now)
	Status *MaintenanceWindowsV1ListParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}

MaintenanceWindowsV1ListParams defines parameters for MaintenanceWindowsV1List.

type MaintenanceWindowsV1ListParamsStatus added in v1.0.1

type MaintenanceWindowsV1ListParamsStatus string

MaintenanceWindowsV1ListParamsStatus defines parameters for MaintenanceWindowsV1List.

Defines values for MaintenanceWindowsV1ListParamsStatus.

func (MaintenanceWindowsV1ListParamsStatus) Valid added in v1.0.1

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

type MaintenanceWindowsV1ListResponse added in v1.0.1

type MaintenanceWindowsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceWindowsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (MaintenanceWindowsV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (MaintenanceWindowsV1ListResponse) StatusCode added in v1.0.1

func (r MaintenanceWindowsV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MaintenanceWindowsV1ShowResponse added in v1.0.1

type MaintenanceWindowsV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceWindowsShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (MaintenanceWindowsV1ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (MaintenanceWindowsV1ShowResponse) StatusCode added in v1.0.1

func (r MaintenanceWindowsV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MaintenanceWindowsV1UpdateJSONRequestBody added in v1.0.1

type MaintenanceWindowsV1UpdateJSONRequestBody = MaintenanceWindowsUpdatePayloadV1

MaintenanceWindowsV1UpdateJSONRequestBody defines body for MaintenanceWindowsV1Update for application/json ContentType.

type MaintenanceWindowsV1UpdateResponse added in v1.0.1

type MaintenanceWindowsV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceWindowsUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (MaintenanceWindowsV1UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (MaintenanceWindowsV1UpdateResponse) StatusCode added in v1.0.1

func (r MaintenanceWindowsV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementMetaV2 added in v1.0.1

type ManagementMetaV2 struct {
	// Annotations Annotations that track metadata about this resource
	Annotations map[string]string `json:"annotations"`

	// ManagedBy How is this resource managed
	ManagedBy ManagementMetaV2ManagedBy `json:"managed_by"`

	// SourceUrl The url of the external repository where this resource is managed (if there is one)
	SourceUrl *string `json:"source_url,omitempty"`
}

ManagementMetaV2 defines model for ManagementMetaV2.

type ManagementMetaV2ManagedBy added in v1.0.1

type ManagementMetaV2ManagedBy string

ManagementMetaV2ManagedBy How is this resource managed

const (
	ManagementMetaV2ManagedByDashboard ManagementMetaV2ManagedBy = "dashboard"
	ManagementMetaV2ManagedByExternal  ManagementMetaV2ManagedBy = "external"
	ManagementMetaV2ManagedByTerraform ManagementMetaV2ManagedBy = "terraform"
)

Defines values for ManagementMetaV2ManagedBy.

func (ManagementMetaV2ManagedBy) Valid added in v1.0.1

func (e ManagementMetaV2ManagedBy) Valid() bool

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

type NewSlackUserGroupPayloadV2 added in v1.0.1

type NewSlackUserGroupPayloadV2 struct {
	// Description Description of the user group
	Description string `json:"description"`

	// Handle Handle of the user group
	Handle string `json:"handle"`

	// Name Name of the user group
	Name string `json:"name"`

	// SlackTeamId Slack workspace ID where the user group should be created. Required for Enterprise Grid organizations with multiple workspaces.
	SlackTeamId *string `json:"slack_team_id,omitempty"`
}

NewSlackUserGroupPayloadV2 defines model for NewSlackUserGroupPayloadV2.

type OnCallNotificationMethodPhoneDetailsPublicV2 added in v1.0.1

type OnCallNotificationMethodPhoneDetailsPublicV2 struct {
	// SupportsSms Whether this phone number can receive SMS notifications.
	SupportsSms bool `json:"supports_sms"`

	// SupportsVoice Whether this phone number can receive voice call notifications.
	SupportsVoice bool `json:"supports_voice"`
}

OnCallNotificationMethodPhoneDetailsPublicV2 defines model for OnCallNotificationMethodPhoneDetailsPublicV2.

type OnCallNotificationMethodPublicV2 added in v1.0.1

type OnCallNotificationMethodPublicV2 struct {
	// Address The address of this method (e.g. redacted phone number, email address, device name, Slack user name)
	Address string `json:"address"`

	// Id Unique identifier for this notification method
	Id string `json:"id"`

	// IsUsable Whether this method is ready to receive notifications. For phone, this means verified. For app devices, this means push notifications can be sent. For email, Slack, and Microsoft Teams this is always true.
	IsUsable bool `json:"is_usable"`

	// MethodType The high-level type of notification method. Phone rules include phone details that distinguish SMS from voice calls.
	MethodType   OnCallNotificationMethodPublicV2MethodType    `json:"method_type"`
	PhoneDetails *OnCallNotificationMethodPhoneDetailsPublicV2 `json:"phone_details,omitempty"`
}

OnCallNotificationMethodPublicV2 defines model for OnCallNotificationMethodPublicV2.

type OnCallNotificationMethodPublicV2MethodType added in v1.0.1

type OnCallNotificationMethodPublicV2MethodType string

OnCallNotificationMethodPublicV2MethodType The high-level type of notification method. Phone rules include phone details that distinguish SMS from voice calls.

const (
	OnCallNotificationMethodPublicV2MethodTypeApp             OnCallNotificationMethodPublicV2MethodType = "app"
	OnCallNotificationMethodPublicV2MethodTypeEmail           OnCallNotificationMethodPublicV2MethodType = "email"
	OnCallNotificationMethodPublicV2MethodTypeMicrosoftTeams  OnCallNotificationMethodPublicV2MethodType = "microsoft_teams"
	OnCallNotificationMethodPublicV2MethodTypePhone           OnCallNotificationMethodPublicV2MethodType = "phone"
	OnCallNotificationMethodPublicV2MethodTypeSlack           OnCallNotificationMethodPublicV2MethodType = "slack"
	OnCallNotificationMethodPublicV2MethodTypeWhatsappMessage OnCallNotificationMethodPublicV2MethodType = "whatsapp_message"
)

Defines values for OnCallNotificationMethodPublicV2MethodType.

func (OnCallNotificationMethodPublicV2MethodType) Valid added in v1.0.1

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

type OnCallNotificationRuleAppDetailsPublicV2 added in v1.0.1

type OnCallNotificationRuleAppDetailsPublicV2 struct {
	// PushNotificationCriticality Controls the interruption level of push notifications. 'critical' bypasses Do Not Disturb, 'active' respects it.
	PushNotificationCriticality OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality `json:"push_notification_criticality"`
}

OnCallNotificationRuleAppDetailsPublicV2 defines model for OnCallNotificationRuleAppDetailsPublicV2.

type OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality added in v1.0.1

type OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality string

OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality Controls the interruption level of push notifications. 'critical' bypasses Do Not Disturb, 'active' respects it.

const (
	OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticalityActive   OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality = "active"
	OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticalityCritical OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality = "critical"
)

Defines values for OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality.

func (OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality) Valid added in v1.0.1

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

type OnCallNotificationRuleMethodTargetAllPublicV2 added in v1.0.1

type OnCallNotificationRuleMethodTargetAllPublicV2 = map[string]interface{}

OnCallNotificationRuleMethodTargetAllPublicV2 defines model for OnCallNotificationRuleMethodTargetAllPublicV2.

type OnCallNotificationRuleMethodTargetPublicV2 added in v1.0.1

type OnCallNotificationRuleMethodTargetPublicV2 struct {
	All      *OnCallNotificationRuleMethodTargetAllPublicV2      `json:"all,omitempty"`
	Specific *OnCallNotificationRuleMethodTargetSpecificPublicV2 `json:"specific,omitempty"`

	// Type Whether this targets a specific method or all methods of a given type.
	Type OnCallNotificationRuleMethodTargetPublicV2Type `json:"type"`
}

OnCallNotificationRuleMethodTargetPublicV2 defines model for OnCallNotificationRuleMethodTargetPublicV2.

type OnCallNotificationRuleMethodTargetPublicV2Type added in v1.0.1

type OnCallNotificationRuleMethodTargetPublicV2Type string

OnCallNotificationRuleMethodTargetPublicV2Type Whether this targets a specific method or all methods of a given type.

const (
	OnCallNotificationRuleMethodTargetPublicV2TypeAll      OnCallNotificationRuleMethodTargetPublicV2Type = "all"
	OnCallNotificationRuleMethodTargetPublicV2TypeSpecific OnCallNotificationRuleMethodTargetPublicV2Type = "specific"
)

Defines values for OnCallNotificationRuleMethodTargetPublicV2Type.

func (OnCallNotificationRuleMethodTargetPublicV2Type) Valid added in v1.0.1

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

type OnCallNotificationRuleMethodTargetSpecificPublicV2 added in v1.0.1

type OnCallNotificationRuleMethodTargetSpecificPublicV2 struct {
	// Id The ID of the notification method. References a method from the notification methods list.
	Id string `json:"id"`
}

OnCallNotificationRuleMethodTargetSpecificPublicV2 defines model for OnCallNotificationRuleMethodTargetSpecificPublicV2.

type OnCallNotificationRulePhoneDetailsPublicV2 added in v1.0.1

type OnCallNotificationRulePhoneDetailsPublicV2 struct {
	// Channel Which channel of a phone notification method this rule uses.
	Channel OnCallNotificationRulePhoneDetailsPublicV2Channel `json:"channel"`
}

OnCallNotificationRulePhoneDetailsPublicV2 defines model for OnCallNotificationRulePhoneDetailsPublicV2.

type OnCallNotificationRulePhoneDetailsPublicV2Channel added in v1.0.1

type OnCallNotificationRulePhoneDetailsPublicV2Channel string

OnCallNotificationRulePhoneDetailsPublicV2Channel Which channel of a phone notification method this rule uses.

const (
	OnCallNotificationRulePhoneDetailsPublicV2ChannelSms   OnCallNotificationRulePhoneDetailsPublicV2Channel = "sms"
	OnCallNotificationRulePhoneDetailsPublicV2ChannelVoice OnCallNotificationRulePhoneDetailsPublicV2Channel = "voice"
)

Defines values for OnCallNotificationRulePhoneDetailsPublicV2Channel.

func (OnCallNotificationRulePhoneDetailsPublicV2Channel) Valid added in v1.0.1

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

type OnCallNotificationRulePublicV2 added in v1.0.1

type OnCallNotificationRulePublicV2 struct {
	App *OnCallNotificationRuleAppDetailsPublicV2 `json:"app,omitempty"`

	// DelaySeconds Delay in seconds before this rule activates. 0 means immediate.
	DelaySeconds *int64 `json:"delay_seconds,omitempty"`

	// Id Unique identifier for this notification rule
	Id           string                                     `json:"id"`
	MethodTarget OnCallNotificationRuleMethodTargetPublicV2 `json:"method_target"`

	// MethodType The high-level type of notification method. Phone rules include phone details that distinguish SMS from voice calls.
	MethodType OnCallNotificationRulePublicV2MethodType    `json:"method_type"`
	Phone      *OnCallNotificationRulePhoneDetailsPublicV2 `json:"phone,omitempty"`

	// RuleType The urgency level this rule applies to
	RuleType OnCallNotificationRulePublicV2RuleType `json:"rule_type"`
}

OnCallNotificationRulePublicV2 defines model for OnCallNotificationRulePublicV2.

type OnCallNotificationRulePublicV2MethodType added in v1.0.1

type OnCallNotificationRulePublicV2MethodType string

OnCallNotificationRulePublicV2MethodType The high-level type of notification method. Phone rules include phone details that distinguish SMS from voice calls.

const (
	OnCallNotificationRulePublicV2MethodTypeApp             OnCallNotificationRulePublicV2MethodType = "app"
	OnCallNotificationRulePublicV2MethodTypeEmail           OnCallNotificationRulePublicV2MethodType = "email"
	OnCallNotificationRulePublicV2MethodTypeMicrosoftTeams  OnCallNotificationRulePublicV2MethodType = "microsoft_teams"
	OnCallNotificationRulePublicV2MethodTypePhone           OnCallNotificationRulePublicV2MethodType = "phone"
	OnCallNotificationRulePublicV2MethodTypeSlack           OnCallNotificationRulePublicV2MethodType = "slack"
	OnCallNotificationRulePublicV2MethodTypeWhatsappMessage OnCallNotificationRulePublicV2MethodType = "whatsapp_message"
)

Defines values for OnCallNotificationRulePublicV2MethodType.

func (OnCallNotificationRulePublicV2MethodType) Valid added in v1.0.1

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

type OnCallNotificationRulePublicV2RuleType added in v1.0.1

type OnCallNotificationRulePublicV2RuleType string

OnCallNotificationRulePublicV2RuleType The urgency level this rule applies to

const (
	HighUrgency OnCallNotificationRulePublicV2RuleType = "high_urgency"
	LowUrgency  OnCallNotificationRulePublicV2RuleType = "low_urgency"
)

Defines values for OnCallNotificationRulePublicV2RuleType.

func (OnCallNotificationRulePublicV2RuleType) Valid added in v1.0.1

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

type PaginationMetaResultV1 added in v1.0.1

type PaginationMetaResultV1 struct {
	// After If provided, pass this as the 'after' param to load the next page
	After *string `json:"after,omitempty"`

	// PageSize What was the maximum number of results requested
	PageSize int64 `json:"page_size"`
}

PaginationMetaResultV1 defines model for PaginationMetaResultV1.

type PaginationMetaResultV2 added in v1.0.1

type PaginationMetaResultV2 struct {
	// After If provided, pass this as the 'after' param to load the next page
	After *string `json:"after,omitempty"`

	// PageSize What was the maximum number of results requested
	PageSize int64 `json:"page_size"`
}

PaginationMetaResultV2 defines model for PaginationMetaResultV2.

type PaginationMetaResultV3 added in v1.0.1

type PaginationMetaResultV3 struct {
	// After If provided, pass this as the 'after' param to load the next page
	After *string `json:"after,omitempty"`

	// PageSize What was the maximum number of results requested
	PageSize int64 `json:"page_size"`
}

PaginationMetaResultV3 defines model for PaginationMetaResultV3.

type PaginationMetaResultWithTotalV1 added in v1.0.1

type PaginationMetaResultWithTotalV1 struct {
	// After If provided, pass this as the 'after' param to load the next page
	After *string `json:"after,omitempty"`

	// PageSize What was the maximum number of results requested
	PageSize int64 `json:"page_size"`

	// TotalRecordCount How many matching records were there in total, if known
	TotalRecordCount *int64 `json:"total_record_count,omitempty"`
}

PaginationMetaResultWithTotalV1 defines model for PaginationMetaResultWithTotalV1.

type PaginationMetaResultWithTotalV2 added in v1.0.1

type PaginationMetaResultWithTotalV2 struct {
	// After If provided, pass this as the 'after' param to load the next page
	After *string `json:"after,omitempty"`

	// PageSize What was the maximum number of results requested
	PageSize int64 `json:"page_size"`

	// TotalRecordCount How many matching records were there in total, if known
	TotalRecordCount *int64 `json:"total_record_count,omitempty"`
}

PaginationMetaResultWithTotalV2 defines model for PaginationMetaResultWithTotalV2.

type PaginationMetaResultWithTotalV3 added in v1.0.1

type PaginationMetaResultWithTotalV3 struct {
	// After If provided, pass this as the 'after' param to load the next page
	After *string `json:"after,omitempty"`

	// PageSize What was the maximum number of results requested
	PageSize int64 `json:"page_size"`

	// TotalRecordCount How many matching records were there in total, if known
	TotalRecordCount *int64 `json:"total_record_count,omitempty"`
}

PaginationMetaResultWithTotalV3 defines model for PaginationMetaResultWithTotalV3.

type PartialEntryPayloadV3 added in v1.0.1

type PartialEntryPayloadV3 struct {
	// Aliases If specified, will update the aliases of the entry. When omitted, preserves the existing aliases.
	Aliases *[]string `json:"aliases,omitempty"`

	// AttributeValues The attribute values to apply to this entry
	AttributeValues map[string]CatalogEngineParamBindingPayloadV3 `json:"attribute_values"`

	// EntryId ID of the relevant catalog entry
	EntryId string `json:"entry_id"`

	// ExternalId If specified, will update the external ID of the entry. When omitted, preserves the existing external ID.
	ExternalId *string `json:"external_id,omitempty"`

	// Name If specified, will update the name of the entry. When omitted, preserves the existing name.
	Name *string `json:"name,omitempty"`

	// Rank If specified, will update the rank of the entry. When omitted, rank will be set to null (allowing rank removal).
	Rank *int32 `json:"rank,omitempty"`
}

PartialEntryPayloadV3 Represents a partial entry update, allowing selective field updates

type PoliciesCreatePayloadV2 added in v1.0.87

type PoliciesCreatePayloadV2 struct {
	AssignmentRules *PolicyAssignmentRulesPayloadV2 `json:"assignment_rules,omitempty"`

	// Conditions Conditions which determine which resources are in scope for this policy
	Conditions []ConditionGroupPayloadV2 `json:"conditions"`

	// Debrief Set when policy_type is debrief.
	Debrief *PolicyDebriefPayloadV2 `json:"debrief,omitempty"`

	// Description Human readable description of the policy
	Description string `json:"description"`

	// Expressions The expressions to use in this policy
	Expressions *[]ExpressionPayloadV2 `json:"expressions,omitempty"`

	// FollowUp Set when policy_type is follow_up.
	FollowUp *PolicyFollowUpPayloadV2 `json:"follow_up,omitempty"`

	// Name Human readable name of the policy
	Name string `json:"name"`

	// OnCallReadiness Set when policy_type is on_call_readiness. The assignee is always the user the finding is about and cannot be configured.
	OnCallReadiness *PolicyOnCallReadinessV2 `json:"on_call_readiness,omitempty"`

	// PolicyType Type of the policy, specifying what this applies to. Cannot be changed after the policy is created.
	PolicyType PoliciesCreatePayloadV2PolicyType `json:"policy_type"`

	// PostMortem Set when policy_type is post_mortem.
	PostMortem *PolicyPostMortemPayloadV2 `json:"post_mortem,omitempty"`

	// Schedule Detects gaps in on-call coverage. Set when policy_type is schedule.
	Schedule *PolicyScheduleV2 `json:"schedule,omitempty"`

	// Status Defaults to enabled on create. Settable on update — there is no separate disable endpoint.
	Status *PoliciesCreatePayloadV2Status `json:"status,omitempty"`
}

PoliciesCreatePayloadV2 defines model for PoliciesCreatePayloadV2.

type PoliciesCreatePayloadV2PolicyType added in v1.0.87

type PoliciesCreatePayloadV2PolicyType string

PoliciesCreatePayloadV2PolicyType Type of the policy, specifying what this applies to. Cannot be changed after the policy is created.

const (
	PoliciesCreatePayloadV2PolicyTypeDebrief          PoliciesCreatePayloadV2PolicyType = "debrief"
	PoliciesCreatePayloadV2PolicyTypeFollowUp         PoliciesCreatePayloadV2PolicyType = "follow_up"
	PoliciesCreatePayloadV2PolicyTypeOnCallReadiness  PoliciesCreatePayloadV2PolicyType = "on_call_readiness"
	PoliciesCreatePayloadV2PolicyTypePostMortem       PoliciesCreatePayloadV2PolicyType = "post_mortem"
	PoliciesCreatePayloadV2PolicyTypeSchedule         PoliciesCreatePayloadV2PolicyType = "schedule"
	PoliciesCreatePayloadV2PolicyTypeVacationConflict PoliciesCreatePayloadV2PolicyType = "vacation_conflict"
)

Defines values for PoliciesCreatePayloadV2PolicyType.

func (PoliciesCreatePayloadV2PolicyType) Valid added in v1.0.87

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

type PoliciesCreatePayloadV2Status added in v1.0.87

type PoliciesCreatePayloadV2Status string

PoliciesCreatePayloadV2Status Defaults to enabled on create. Settable on update — there is no separate disable endpoint.

const (
	PoliciesCreatePayloadV2StatusDisabled PoliciesCreatePayloadV2Status = "disabled"
	PoliciesCreatePayloadV2StatusEnabled  PoliciesCreatePayloadV2Status = "enabled"
)

Defines values for PoliciesCreatePayloadV2Status.

func (PoliciesCreatePayloadV2Status) Valid added in v1.0.87

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

type PoliciesCreateResultV2 added in v1.0.87

type PoliciesCreateResultV2 struct {
	Policy PolicyV2 `json:"policy"`
}

PoliciesCreateResultV2 defines model for PoliciesCreateResultV2.

type PoliciesListResultV2 added in v1.0.87

type PoliciesListResultV2 struct {
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
	Policies       []PolicyV2             `json:"policies"`
}

PoliciesListResultV2 defines model for PoliciesListResultV2.

type PoliciesShowResultV2 added in v1.0.87

type PoliciesShowResultV2 struct {
	Policy PolicyV2 `json:"policy"`
}

PoliciesShowResultV2 defines model for PoliciesShowResultV2.

type PoliciesUpdatePayloadV2 added in v1.0.87

type PoliciesUpdatePayloadV2 struct {
	AssignmentRules *PolicyAssignmentRulesPayloadV2 `json:"assignment_rules,omitempty"`

	// Conditions Conditions which determine which resources are in scope for this policy
	Conditions []ConditionGroupPayloadV2 `json:"conditions"`

	// Debrief Set when policy_type is debrief.
	Debrief *PolicyDebriefPayloadV2 `json:"debrief,omitempty"`

	// Description Human readable description of the policy
	Description string `json:"description"`

	// Expressions The expressions to use in this policy
	Expressions *[]ExpressionPayloadV2 `json:"expressions,omitempty"`

	// FollowUp Set when policy_type is follow_up.
	FollowUp *PolicyFollowUpPayloadV2 `json:"follow_up,omitempty"`

	// Name Human readable name of the policy
	Name string `json:"name"`

	// OnCallReadiness Set when policy_type is on_call_readiness. The assignee is always the user the finding is about and cannot be configured.
	OnCallReadiness *PolicyOnCallReadinessV2 `json:"on_call_readiness,omitempty"`

	// PolicyType Type of the policy, specifying what this applies to. Cannot be changed after the policy is created.
	PolicyType PoliciesUpdatePayloadV2PolicyType `json:"policy_type"`

	// PostMortem Set when policy_type is post_mortem.
	PostMortem *PolicyPostMortemPayloadV2 `json:"post_mortem,omitempty"`

	// Schedule Detects gaps in on-call coverage. Set when policy_type is schedule.
	Schedule *PolicyScheduleV2 `json:"schedule,omitempty"`

	// Status Defaults to enabled on create. Settable on update — there is no separate disable endpoint.
	Status *PoliciesUpdatePayloadV2Status `json:"status,omitempty"`
}

PoliciesUpdatePayloadV2 defines model for PoliciesUpdatePayloadV2.

type PoliciesUpdatePayloadV2PolicyType added in v1.0.87

type PoliciesUpdatePayloadV2PolicyType string

PoliciesUpdatePayloadV2PolicyType Type of the policy, specifying what this applies to. Cannot be changed after the policy is created.

const (
	PoliciesUpdatePayloadV2PolicyTypeDebrief          PoliciesUpdatePayloadV2PolicyType = "debrief"
	PoliciesUpdatePayloadV2PolicyTypeFollowUp         PoliciesUpdatePayloadV2PolicyType = "follow_up"
	PoliciesUpdatePayloadV2PolicyTypeOnCallReadiness  PoliciesUpdatePayloadV2PolicyType = "on_call_readiness"
	PoliciesUpdatePayloadV2PolicyTypePostMortem       PoliciesUpdatePayloadV2PolicyType = "post_mortem"
	PoliciesUpdatePayloadV2PolicyTypeSchedule         PoliciesUpdatePayloadV2PolicyType = "schedule"
	PoliciesUpdatePayloadV2PolicyTypeVacationConflict PoliciesUpdatePayloadV2PolicyType = "vacation_conflict"
)

Defines values for PoliciesUpdatePayloadV2PolicyType.

func (PoliciesUpdatePayloadV2PolicyType) Valid added in v1.0.87

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

type PoliciesUpdatePayloadV2Status added in v1.0.87

type PoliciesUpdatePayloadV2Status string

PoliciesUpdatePayloadV2Status Defaults to enabled on create. Settable on update — there is no separate disable endpoint.

const (
	PoliciesUpdatePayloadV2StatusDisabled PoliciesUpdatePayloadV2Status = "disabled"
	PoliciesUpdatePayloadV2StatusEnabled  PoliciesUpdatePayloadV2Status = "enabled"
)

Defines values for PoliciesUpdatePayloadV2Status.

func (PoliciesUpdatePayloadV2Status) Valid added in v1.0.87

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

type PoliciesUpdateResultV2 added in v1.0.87

type PoliciesUpdateResultV2 struct {
	Policy PolicyV2 `json:"policy"`
}

PoliciesUpdateResultV2 defines model for PoliciesUpdateResultV2.

type PoliciesV2CreateJSONRequestBody added in v1.0.87

type PoliciesV2CreateJSONRequestBody = PoliciesCreatePayloadV2

PoliciesV2CreateJSONRequestBody defines body for PoliciesV2Create for application/json ContentType.

type PoliciesV2CreateResponse added in v1.0.87

type PoliciesV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *PoliciesCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PoliciesV2CreateResponse) Status added in v1.0.87

func (r PoliciesV2CreateResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesV2CreateResponse) StatusCode added in v1.0.87

func (r PoliciesV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesV2DeleteResponse added in v1.0.87

type PoliciesV2DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PoliciesV2DeleteResponse) Status added in v1.0.87

func (r PoliciesV2DeleteResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesV2DeleteResponse) StatusCode added in v1.0.87

func (r PoliciesV2DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesV2ListParams added in v1.0.87

type PoliciesV2ListParams struct {
	// PageSize Number of policies to return per page
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After The ID of the last policy on the previous page
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// PolicyType Filter to policies of this type
	PolicyType *PoliciesV2ListParamsPolicyType `form:"policy_type,omitempty" json:"policy_type,omitempty"`
}

PoliciesV2ListParams defines parameters for PoliciesV2List.

type PoliciesV2ListParamsPolicyType added in v1.0.87

type PoliciesV2ListParamsPolicyType string

PoliciesV2ListParamsPolicyType defines parameters for PoliciesV2List.

const (
	Debrief          PoliciesV2ListParamsPolicyType = "debrief"
	FollowUp         PoliciesV2ListParamsPolicyType = "follow_up"
	OnCallReadiness  PoliciesV2ListParamsPolicyType = "on_call_readiness"
	PostMortem       PoliciesV2ListParamsPolicyType = "post_mortem"
	Schedule         PoliciesV2ListParamsPolicyType = "schedule"
	VacationConflict PoliciesV2ListParamsPolicyType = "vacation_conflict"
)

Defines values for PoliciesV2ListParamsPolicyType.

func (PoliciesV2ListParamsPolicyType) Valid added in v1.0.87

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

type PoliciesV2ListResponse added in v1.0.87

type PoliciesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PoliciesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PoliciesV2ListResponse) Status added in v1.0.87

func (r PoliciesV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesV2ListResponse) StatusCode added in v1.0.87

func (r PoliciesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesV2ShowResponse added in v1.0.87

type PoliciesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PoliciesShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PoliciesV2ShowResponse) Status added in v1.0.87

func (r PoliciesV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesV2ShowResponse) StatusCode added in v1.0.87

func (r PoliciesV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PoliciesV2UpdateJSONRequestBody added in v1.0.87

type PoliciesV2UpdateJSONRequestBody = PoliciesUpdatePayloadV2

PoliciesV2UpdateJSONRequestBody defines body for PoliciesV2Update for application/json ContentType.

type PoliciesV2UpdateResponse added in v1.0.87

type PoliciesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PoliciesUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PoliciesV2UpdateResponse) Status added in v1.0.87

func (r PoliciesV2UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (PoliciesV2UpdateResponse) StatusCode added in v1.0.87

func (r PoliciesV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PolicyAssignmentRulesPayloadV2 added in v1.0.87

type PolicyAssignmentRulesPayloadV2 struct {
	// Bindings Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
	Bindings []EngineParamBindingPayloadV2 `json:"bindings"`

	// ReminderCadenceAfter A recurring reminder, which repeats once per interval until the finding is resolved.
	ReminderCadenceAfter *PolicyReminderCadenceV2 `json:"reminder_cadence_after,omitempty"`

	// ReminderCadenceBefore A recurring reminder, which repeats once per interval until the finding is resolved.
	ReminderCadenceBefore *PolicyReminderCadenceV2 `json:"reminder_cadence_before,omitempty"`

	// ReminderDetectedDateOffsetHours List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
	ReminderDetectedDateOffsetHours *[]int64 `json:"reminder_detected_date_offset_hours,omitempty"`

	// ReminderDueDateOffsetHours List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
	ReminderDueDateOffsetHours []int64 `json:"reminder_due_date_offset_hours"`
}

PolicyAssignmentRulesPayloadV2 defines model for PolicyAssignmentRulesPayloadV2.

type PolicyAssignmentRulesV2 added in v1.0.87

type PolicyAssignmentRulesV2 struct {
	// Bindings Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
	Bindings []EngineParamBindingV2 `json:"bindings"`

	// ReminderCadenceAfter A recurring reminder, which repeats once per interval until the finding is resolved.
	ReminderCadenceAfter *PolicyReminderCadenceV2 `json:"reminder_cadence_after,omitempty"`

	// ReminderCadenceBefore A recurring reminder, which repeats once per interval until the finding is resolved.
	ReminderCadenceBefore *PolicyReminderCadenceV2 `json:"reminder_cadence_before,omitempty"`

	// ReminderDetectedDateOffsetHours List of hours relative to when the finding was detected to remind the assignee. Non-negative only; 0 means immediately on detection. Only valid for policy types that support detection reminders (e.g. schedule).
	ReminderDetectedDateOffsetHours *[]int64 `json:"reminder_detected_date_offset_hours,omitempty"`

	// ReminderDueDateOffsetHours List of hours relative to the due date to remind the assignee. Negative values are before the due date, positive after.
	ReminderDueDateOffsetHours []int64 `json:"reminder_due_date_offset_hours"`
}

PolicyAssignmentRulesV2 defines model for PolicyAssignmentRulesV2.

type PolicyDebriefPayloadV2 added in v1.0.87

type PolicyDebriefPayloadV2 struct {
	DueDateConfig *PolicyDueDateConfigPayloadV2 `json:"due_date_config,omitempty"`

	// Requirements Conditions a debrief must satisfy to be compliant
	Requirements []ConditionGroupPayloadV2 `json:"requirements"`

	// RunOnPrivateIncidents Requires the policies.run_on_private scope
	RunOnPrivateIncidents *bool `json:"run_on_private_incidents,omitempty"`
}

PolicyDebriefPayloadV2 Set when policy_type is debrief.

type PolicyDebriefV2 added in v1.0.87

type PolicyDebriefV2 struct {
	DueDateConfig *PolicyDueDateConfigV2 `json:"due_date_config,omitempty"`

	// Requirements Conditions a debrief must satisfy to be compliant
	Requirements []ConditionGroupV2 `json:"requirements"`

	// RunOnPrivateIncidents Requires the policies.run_on_private scope
	RunOnPrivateIncidents *bool `json:"run_on_private_incidents,omitempty"`
}

PolicyDebriefV2 Set when policy_type is debrief.

type PolicyDueDateConfigPayloadV2 added in v1.0.87

type PolicyDueDateConfigPayloadV2 struct {
	// AppliesFrom If set, the policy only applies to resources from this timestamp onwards
	AppliesFrom *time.Time `json:"applies_from,omitempty"`

	// CalculationTimezone Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
	CalculationTimezone *string                                     `json:"calculation_timezone,omitempty"`
	CalculationType     PolicyDueDateConfigPayloadV2CalculationType `json:"calculation_type"`
	Days                EngineParamBindingPayloadV2                 `json:"days"`

	// IncidentTimestampId Timestamp the due date counts from
	IncidentTimestampId string `json:"incident_timestamp_id"`
}

PolicyDueDateConfigPayloadV2 defines model for PolicyDueDateConfigPayloadV2.

type PolicyDueDateConfigPayloadV2CalculationType added in v1.0.87

type PolicyDueDateConfigPayloadV2CalculationType string

PolicyDueDateConfigPayloadV2CalculationType defines model for PolicyDueDateConfigPayloadV2.CalculationType.

const (
	PolicyDueDateConfigPayloadV2CalculationTypeSevenDays PolicyDueDateConfigPayloadV2CalculationType = "seven_days"
	PolicyDueDateConfigPayloadV2CalculationTypeWeekdays  PolicyDueDateConfigPayloadV2CalculationType = "weekdays"
)

Defines values for PolicyDueDateConfigPayloadV2CalculationType.

func (PolicyDueDateConfigPayloadV2CalculationType) Valid added in v1.0.87

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

type PolicyDueDateConfigV2 added in v1.0.87

type PolicyDueDateConfigV2 struct {
	// AppliesFrom If set, the policy only applies to resources from this timestamp onwards
	AppliesFrom *time.Time `json:"applies_from,omitempty"`

	// CalculationTimezone Timezone the due date is calculated in. Only meaningful when calculation_type is weekdays.
	CalculationTimezone *string                              `json:"calculation_timezone,omitempty"`
	CalculationType     PolicyDueDateConfigV2CalculationType `json:"calculation_type"`
	Days                EngineParamBindingV2                 `json:"days"`

	// IncidentTimestampId Timestamp the due date counts from
	IncidentTimestampId string `json:"incident_timestamp_id"`
}

PolicyDueDateConfigV2 defines model for PolicyDueDateConfigV2.

type PolicyDueDateConfigV2CalculationType added in v1.0.87

type PolicyDueDateConfigV2CalculationType string

PolicyDueDateConfigV2CalculationType defines model for PolicyDueDateConfigV2.CalculationType.

const (
	PolicyDueDateConfigV2CalculationTypeSevenDays PolicyDueDateConfigV2CalculationType = "seven_days"
	PolicyDueDateConfigV2CalculationTypeWeekdays  PolicyDueDateConfigV2CalculationType = "weekdays"
)

Defines values for PolicyDueDateConfigV2CalculationType.

func (PolicyDueDateConfigV2CalculationType) Valid added in v1.0.87

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

type PolicyFindingDebriefV2 added in v1.0.87

type PolicyFindingDebriefV2 struct {
	// IncidentId The incident the debrief belongs to
	IncidentId string `json:"incident_id"`
}

PolicyFindingDebriefV2 Set when policy_type is debrief.

type PolicyFindingDismissalV2 added in v1.0.87

type PolicyFindingDismissalV2 struct {
	DismissedAt time.Time `json:"dismissed_at"`
	DismissedBy ActorV2   `json:"dismissed_by"`

	// Reason Why it was dismissed
	Reason string `json:"reason"`
}

PolicyFindingDismissalV2 defines model for PolicyFindingDismissalV2.

type PolicyFindingFollowUpV2 added in v1.0.87

type PolicyFindingFollowUpV2 struct {
	// FollowUpId The follow-up that fell short of the policy
	FollowUpId string `json:"follow_up_id"`

	// IncidentId The incident the follow-up belongs to
	IncidentId string `json:"incident_id"`
}

PolicyFindingFollowUpV2 Set when policy_type is follow_up.

type PolicyFindingOnCallReadinessV2 added in v1.0.87

type PolicyFindingOnCallReadinessV2 struct {
	// HighUrgency The high urgency rules the policy requires, and whether each was met
	HighUrgency []PolicyFindingReadinessRuleV2 `json:"high_urgency"`

	// LowUrgency The low urgency rules the policy requires, and whether each was met
	LowUrgency []PolicyFindingReadinessRuleV2 `json:"low_urgency"`

	// UserId The user whose notification rules fell short
	UserId string `json:"user_id"`
}

PolicyFindingOnCallReadinessV2 Set when policy_type is on_call_readiness. The user is always the one the finding is about.

type PolicyFindingPostMortemV2 added in v1.0.87

type PolicyFindingPostMortemV2 struct {
	// IncidentId The incident whose post-mortem fell short of the policy
	IncidentId string `json:"incident_id"`
}

PolicyFindingPostMortemV2 Set when policy_type is post_mortem.

type PolicyFindingReadinessRuleV2 added in v1.0.87

type PolicyFindingReadinessRuleV2 struct {
	// MaxDelaySeconds How quickly the method must fire to count
	MaxDelaySeconds *int64 `json:"max_delay_seconds,omitempty"`

	// Met Whether the user's notification rules satisfy this one
	Met         bool                                      `json:"met"`
	MethodTypes []PolicyFindingReadinessRuleV2MethodTypes `json:"method_types"`
}

PolicyFindingReadinessRuleV2 defines model for PolicyFindingReadinessRuleV2.

type PolicyFindingReadinessRuleV2MethodTypes added in v1.0.87

type PolicyFindingReadinessRuleV2MethodTypes string

PolicyFindingReadinessRuleV2MethodTypes defines model for PolicyFindingReadinessRuleV2.MethodTypes.

const (
	PolicyFindingReadinessRuleV2MethodTypesApp                   PolicyFindingReadinessRuleV2MethodTypes = "app"
	PolicyFindingReadinessRuleV2MethodTypesEmail                 PolicyFindingReadinessRuleV2MethodTypes = "email"
	PolicyFindingReadinessRuleV2MethodTypesLiveCall              PolicyFindingReadinessRuleV2MethodTypes = "live_call"
	PolicyFindingReadinessRuleV2MethodTypesMicrosoftTeams        PolicyFindingReadinessRuleV2MethodTypes = "microsoft_teams"
	PolicyFindingReadinessRuleV2MethodTypesMicrosoftTeamsChannel PolicyFindingReadinessRuleV2MethodTypes = "microsoft_teams_channel"
	PolicyFindingReadinessRuleV2MethodTypesPhone                 PolicyFindingReadinessRuleV2MethodTypes = "phone"
	PolicyFindingReadinessRuleV2MethodTypesSlack                 PolicyFindingReadinessRuleV2MethodTypes = "slack"
	PolicyFindingReadinessRuleV2MethodTypesSlackChannel          PolicyFindingReadinessRuleV2MethodTypes = "slack_channel"
	PolicyFindingReadinessRuleV2MethodTypesSms                   PolicyFindingReadinessRuleV2MethodTypes = "sms"
	PolicyFindingReadinessRuleV2MethodTypesWhatsappMessage       PolicyFindingReadinessRuleV2MethodTypes = "whatsapp_message"
)

Defines values for PolicyFindingReadinessRuleV2MethodTypes.

func (PolicyFindingReadinessRuleV2MethodTypes) Valid added in v1.0.87

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

type PolicyFindingScheduleImpactedUserV2 added in v1.0.87

type PolicyFindingScheduleImpactedUserV2 struct {
	// Cause Why this user's entries don't count as cover
	Cause  PolicyFindingScheduleImpactedUserV2Cause `json:"cause"`
	Name   string                                   `json:"name"`
	UserId string                                   `json:"user_id"`
}

PolicyFindingScheduleImpactedUserV2 defines model for PolicyFindingScheduleImpactedUserV2.

type PolicyFindingScheduleImpactedUserV2Cause added in v1.0.87

type PolicyFindingScheduleImpactedUserV2Cause string

PolicyFindingScheduleImpactedUserV2Cause Why this user's entries don't count as cover

const (
	PolicyFindingScheduleImpactedUserV2CauseNoOnCallSeat    PolicyFindingScheduleImpactedUserV2Cause = "no_on_call_seat"
	PolicyFindingScheduleImpactedUserV2CauseUserDeactivated PolicyFindingScheduleImpactedUserV2Cause = "user_deactivated"
)

Defines values for PolicyFindingScheduleImpactedUserV2Cause.

func (PolicyFindingScheduleImpactedUserV2Cause) Valid added in v1.0.87

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

type PolicyFindingScheduleV2 added in v1.0.87

type PolicyFindingScheduleV2 struct {
	// Cause Why the gap exists
	Cause *PolicyFindingScheduleV2Cause `json:"cause,omitempty"`

	// EndAt When the gap ends
	EndAt time.Time `json:"end_at"`

	// HasUnscheduledTime Whether part of the gap has nobody scheduled at all, so impacted_users doesn't fully explain it
	HasUnscheduledTime *bool `json:"has_unscheduled_time,omitempty"`

	// ImpactedUsers Users scheduled across the gap whose entries don't count as cover
	ImpactedUsers *[]PolicyFindingScheduleImpactedUserV2 `json:"impacted_users,omitempty"`

	// RotationId The rotation with the gap, when the policy evaluates per rotation
	RotationId *string `json:"rotation_id,omitempty"`

	// ScheduleId The schedule with the gap
	ScheduleId string `json:"schedule_id"`

	// StartAt When the gap starts
	StartAt time.Time `json:"start_at"`
}

PolicyFindingScheduleV2 Set when policy_type is schedule. Describes a gap in on-call cover.

type PolicyFindingScheduleV2Cause added in v1.0.87

type PolicyFindingScheduleV2Cause string

PolicyFindingScheduleV2Cause Why the gap exists

const (
	PolicyFindingScheduleV2CauseNoOnCallSeat    PolicyFindingScheduleV2Cause = "no_on_call_seat"
	PolicyFindingScheduleV2CauseNobodyScheduled PolicyFindingScheduleV2Cause = "nobody_scheduled"
	PolicyFindingScheduleV2CauseUserDeactivated PolicyFindingScheduleV2Cause = "user_deactivated"
)

Defines values for PolicyFindingScheduleV2Cause.

func (PolicyFindingScheduleV2Cause) Valid added in v1.0.87

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

type PolicyFindingV2 added in v1.0.87

type PolicyFindingV2 struct {
	CreatedAt time.Time `json:"created_at"`

	// Days Days outside the policy's due date
	Days *int64 `json:"days,omitempty"`

	// Debrief Set when policy_type is debrief.
	Debrief   *PolicyFindingDebriefV2   `json:"debrief,omitempty"`
	Dismissal *PolicyFindingDismissalV2 `json:"dismissal,omitempty"`

	// DueAt When this finding becomes overdue
	DueAt *time.Time `json:"due_at,omitempty"`

	// FollowUp Set when policy_type is follow_up.
	FollowUp *PolicyFindingFollowUpV2 `json:"follow_up,omitempty"`

	// Id Unique ID of the finding
	Id string `json:"id"`

	// LastCheckedAt When this finding was last re-evaluated
	LastCheckedAt time.Time `json:"last_checked_at"`

	// OnCallReadiness Set when policy_type is on_call_readiness. The user is always the one the finding is about.
	OnCallReadiness *PolicyFindingOnCallReadinessV2 `json:"on_call_readiness,omitempty"`

	// PolicyId The policy this finding was raised against
	PolicyId string `json:"policy_id"`

	// PolicyType Type of the policy this finding was raised against
	PolicyType PolicyFindingV2PolicyType `json:"policy_type"`

	// PostMortem Set when policy_type is post_mortem.
	PostMortem *PolicyFindingPostMortemV2 `json:"post_mortem,omitempty"`

	// ResponsibleUsers Who is expected to resolve this finding
	ResponsibleUsers []UserV2 `json:"responsible_users"`

	// Schedule Set when policy_type is schedule. Describes a gap in on-call cover.
	Schedule *PolicyFindingScheduleV2 `json:"schedule,omitempty"`

	// State Where this finding is in its lifecycle
	State     PolicyFindingV2State `json:"state"`
	UpdatedAt time.Time            `json:"updated_at"`

	// VacationConflict Set when policy_type is vacation_conflict. Someone is on call while on holiday.
	VacationConflict *PolicyFindingVacationConflictV2 `json:"vacation_conflict,omitempty"`
}

PolicyFindingV2 defines model for PolicyFindingV2.

type PolicyFindingV2PolicyType added in v1.0.87

type PolicyFindingV2PolicyType string

PolicyFindingV2PolicyType Type of the policy this finding was raised against

const (
	PolicyFindingV2PolicyTypeDebrief          PolicyFindingV2PolicyType = "debrief"
	PolicyFindingV2PolicyTypeFollowUp         PolicyFindingV2PolicyType = "follow_up"
	PolicyFindingV2PolicyTypeOnCallReadiness  PolicyFindingV2PolicyType = "on_call_readiness"
	PolicyFindingV2PolicyTypePostMortem       PolicyFindingV2PolicyType = "post_mortem"
	PolicyFindingV2PolicyTypeSchedule         PolicyFindingV2PolicyType = "schedule"
	PolicyFindingV2PolicyTypeVacationConflict PolicyFindingV2PolicyType = "vacation_conflict"
)

Defines values for PolicyFindingV2PolicyType.

func (PolicyFindingV2PolicyType) Valid added in v1.0.87

func (e PolicyFindingV2PolicyType) Valid() bool

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

type PolicyFindingV2State added in v1.0.87

type PolicyFindingV2State string

PolicyFindingV2State Where this finding is in its lifecycle

const (
	PolicyFindingV2StateActive    PolicyFindingV2State = "active"
	PolicyFindingV2StateCancelled PolicyFindingV2State = "cancelled"
	PolicyFindingV2StateDismissed PolicyFindingV2State = "dismissed"
	PolicyFindingV2StatePending   PolicyFindingV2State = "pending"
	PolicyFindingV2StateResolved  PolicyFindingV2State = "resolved"
)

Defines values for PolicyFindingV2State.

func (PolicyFindingV2State) Valid added in v1.0.87

func (e PolicyFindingV2State) Valid() bool

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

type PolicyFindingVacationConflictV2 added in v1.0.87

type PolicyFindingVacationConflictV2 struct {
	// EndAt When the conflict ends
	EndAt time.Time `json:"end_at"`

	// HolidayName What the holiday is called in the external system
	HolidayName *string `json:"holiday_name,omitempty"`

	// RotationId The rotation the holiday conflicts with
	RotationId *string `json:"rotation_id,omitempty"`

	// ScheduleId The schedule the holiday conflicts with
	ScheduleId string `json:"schedule_id"`

	// StartAt When the conflict starts
	StartAt time.Time `json:"start_at"`

	// UserId The user on holiday
	UserId string `json:"user_id"`
}

PolicyFindingVacationConflictV2 Set when policy_type is vacation_conflict. Someone is on call while on holiday.

type PolicyFindingsDismissPayloadV2 added in v1.0.87

type PolicyFindingsDismissPayloadV2 struct {
	// Reason Why this finding is being dismissed
	Reason string `json:"reason"`
}

PolicyFindingsDismissPayloadV2 defines model for PolicyFindingsDismissPayloadV2.

type PolicyFindingsDismissResultV2 added in v1.0.87

type PolicyFindingsDismissResultV2 struct {
	PolicyFinding PolicyFindingV2 `json:"policy_finding"`
}

PolicyFindingsDismissResultV2 defines model for PolicyFindingsDismissResultV2.

type PolicyFindingsListResultV2 added in v1.0.87

type PolicyFindingsListResultV2 struct {
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
	PolicyFindings []PolicyFindingV2      `json:"policy_findings"`
}

PolicyFindingsListResultV2 defines model for PolicyFindingsListResultV2.

type PolicyFindingsRestoreResultV2 added in v1.0.87

type PolicyFindingsRestoreResultV2 struct {
	PolicyFinding PolicyFindingV2 `json:"policy_finding"`
}

PolicyFindingsRestoreResultV2 defines model for PolicyFindingsRestoreResultV2.

type PolicyFindingsShowResultV2 added in v1.0.87

type PolicyFindingsShowResultV2 struct {
	PolicyFinding PolicyFindingV2 `json:"policy_finding"`
}

PolicyFindingsShowResultV2 defines model for PolicyFindingsShowResultV2.

type PolicyFindingsV2DismissJSONRequestBody added in v1.0.87

type PolicyFindingsV2DismissJSONRequestBody = PolicyFindingsDismissPayloadV2

PolicyFindingsV2DismissJSONRequestBody defines body for PolicyFindingsV2Dismiss for application/json ContentType.

type PolicyFindingsV2DismissResponse added in v1.0.87

type PolicyFindingsV2DismissResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyFindingsDismissResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PolicyFindingsV2DismissResponse) Status added in v1.0.87

Status returns HTTPResponse.Status

func (PolicyFindingsV2DismissResponse) StatusCode added in v1.0.87

func (r PolicyFindingsV2DismissResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PolicyFindingsV2ListParams added in v1.0.87

type PolicyFindingsV2ListParams struct {
	// PageSize Number of findings to return per page
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After The ID of the last finding on the previous page
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// PolicyId Only findings raised by this policy
	PolicyId *string `form:"policy_id,omitempty" json:"policy_id,omitempty"`
}

PolicyFindingsV2ListParams defines parameters for PolicyFindingsV2List.

type PolicyFindingsV2ListResponse added in v1.0.87

type PolicyFindingsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyFindingsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PolicyFindingsV2ListResponse) Status added in v1.0.87

Status returns HTTPResponse.Status

func (PolicyFindingsV2ListResponse) StatusCode added in v1.0.87

func (r PolicyFindingsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PolicyFindingsV2RestoreResponse added in v1.0.87

type PolicyFindingsV2RestoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyFindingsRestoreResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PolicyFindingsV2RestoreResponse) Status added in v1.0.87

Status returns HTTPResponse.Status

func (PolicyFindingsV2RestoreResponse) StatusCode added in v1.0.87

func (r PolicyFindingsV2RestoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PolicyFindingsV2ShowResponse added in v1.0.87

type PolicyFindingsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyFindingsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PolicyFindingsV2ShowResponse) Status added in v1.0.87

Status returns HTTPResponse.Status

func (PolicyFindingsV2ShowResponse) StatusCode added in v1.0.87

func (r PolicyFindingsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PolicyFollowUpPayloadV2 added in v1.0.87

type PolicyFollowUpPayloadV2 struct {
	DueDateConfig *PolicyDueDateConfigPayloadV2 `json:"due_date_config,omitempty"`

	// Requirements Conditions a follow-up must satisfy to be compliant, e.g. 'is exported to Jira'
	Requirements []ConditionGroupPayloadV2 `json:"requirements"`

	// RunOnPrivateIncidents Requires the policies.run_on_private scope
	RunOnPrivateIncidents *bool `json:"run_on_private_incidents,omitempty"`
}

PolicyFollowUpPayloadV2 Set when policy_type is follow_up.

type PolicyFollowUpV2 added in v1.0.87

type PolicyFollowUpV2 struct {
	DueDateConfig *PolicyDueDateConfigV2 `json:"due_date_config,omitempty"`

	// Requirements Conditions a follow-up must satisfy to be compliant, e.g. 'is exported to Jira'
	Requirements []ConditionGroupV2 `json:"requirements"`

	// RunOnPrivateIncidents Requires the policies.run_on_private scope
	RunOnPrivateIncidents *bool `json:"run_on_private_incidents,omitempty"`
}

PolicyFollowUpV2 Set when policy_type is follow_up.

type PolicyOnCallReadinessV2 added in v1.0.87

type PolicyOnCallReadinessV2 struct {
	// Enforcement advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory.
	Enforcement *PolicyOnCallReadinessV2Enforcement `json:"enforcement,omitempty"`
	HighUrgency *[]PolicyReadinessRuleV2            `json:"high_urgency,omitempty"`
	LowUrgency  *[]PolicyReadinessRuleV2            `json:"low_urgency,omitempty"`
}

PolicyOnCallReadinessV2 Set when policy_type is on_call_readiness. The assignee is always the user the finding is about and cannot be configured.

type PolicyOnCallReadinessV2Enforcement added in v1.0.87

type PolicyOnCallReadinessV2Enforcement string

PolicyOnCallReadinessV2Enforcement advisory reports only; blocking also prevents users saving non-compliant notification rules. Defaults to advisory.

const (
	Advisory PolicyOnCallReadinessV2Enforcement = "advisory"
	Blocking PolicyOnCallReadinessV2Enforcement = "blocking"
)

Defines values for PolicyOnCallReadinessV2Enforcement.

func (PolicyOnCallReadinessV2Enforcement) Valid added in v1.0.87

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

type PolicyPostMortemPayloadV2 added in v1.0.87

type PolicyPostMortemPayloadV2 struct {
	DueDateConfig *PolicyDueDateConfigPayloadV2 `json:"due_date_config,omitempty"`

	// Requirements Conditions a post-mortem must satisfy to be compliant
	Requirements []ConditionGroupPayloadV2 `json:"requirements"`

	// RunOnPrivateIncidents Requires the policies.run_on_private scope
	RunOnPrivateIncidents *bool `json:"run_on_private_incidents,omitempty"`
}

PolicyPostMortemPayloadV2 Set when policy_type is post_mortem.

type PolicyPostMortemV2 added in v1.0.87

type PolicyPostMortemV2 struct {
	DueDateConfig *PolicyDueDateConfigV2 `json:"due_date_config,omitempty"`

	// Requirements Conditions a post-mortem must satisfy to be compliant
	Requirements []ConditionGroupV2 `json:"requirements"`

	// RunOnPrivateIncidents Requires the policies.run_on_private scope
	RunOnPrivateIncidents *bool `json:"run_on_private_incidents,omitempty"`
}

PolicyPostMortemV2 Set when policy_type is post_mortem.

type PolicyReadinessRuleV2 added in v1.0.87

type PolicyReadinessRuleV2 struct {
	// MaxDelaySeconds How quickly the method must fire to count
	MaxDelaySeconds *int64                             `json:"max_delay_seconds,omitempty"`
	MethodTypes     []PolicyReadinessRuleV2MethodTypes `json:"method_types"`
}

PolicyReadinessRuleV2 defines model for PolicyReadinessRuleV2.

type PolicyReadinessRuleV2MethodTypes added in v1.0.87

type PolicyReadinessRuleV2MethodTypes string

PolicyReadinessRuleV2MethodTypes defines model for PolicyReadinessRuleV2.MethodTypes.

const (
	App                   PolicyReadinessRuleV2MethodTypes = "app"
	Email                 PolicyReadinessRuleV2MethodTypes = "email"
	LiveCall              PolicyReadinessRuleV2MethodTypes = "live_call"
	MicrosoftTeams        PolicyReadinessRuleV2MethodTypes = "microsoft_teams"
	MicrosoftTeamsChannel PolicyReadinessRuleV2MethodTypes = "microsoft_teams_channel"
	Phone                 PolicyReadinessRuleV2MethodTypes = "phone"
	Slack                 PolicyReadinessRuleV2MethodTypes = "slack"
	SlackChannel          PolicyReadinessRuleV2MethodTypes = "slack_channel"
	Sms                   PolicyReadinessRuleV2MethodTypes = "sms"
	WhatsappMessage       PolicyReadinessRuleV2MethodTypes = "whatsapp_message"
)

Defines values for PolicyReadinessRuleV2MethodTypes.

func (PolicyReadinessRuleV2MethodTypes) Valid added in v1.0.87

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

type PolicyReminderCadenceV2 added in v1.0.90

type PolicyReminderCadenceV2 struct {
	// Interval How often to send the reminder, stepping in fixed durations from the due date.
	Interval PolicyReminderCadenceV2Interval `json:"interval"`
}

PolicyReminderCadenceV2 A recurring reminder, which repeats once per interval until the finding is resolved.

type PolicyReminderCadenceV2Interval added in v1.0.90

type PolicyReminderCadenceV2Interval string

PolicyReminderCadenceV2Interval How often to send the reminder, stepping in fixed durations from the due date.

const (
	PolicyReminderCadenceV2IntervalDaily  PolicyReminderCadenceV2Interval = "daily"
	PolicyReminderCadenceV2IntervalWeekly PolicyReminderCadenceV2Interval = "weekly"
)

Defines values for PolicyReminderCadenceV2Interval.

func (PolicyReminderCadenceV2Interval) Valid added in v1.0.90

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

type PolicyScheduleV2 added in v1.0.87

type PolicyScheduleV2 struct {
	// EvaluationLevel Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule.
	EvaluationLevel *PolicyScheduleV2EvaluationLevel `json:"evaluation_level,omitempty"`
	RequirementType PolicyScheduleV2RequirementType  `json:"requirement_type"`
}

PolicyScheduleV2 Detects gaps in on-call coverage. Set when policy_type is schedule.

type PolicyScheduleV2EvaluationLevel added in v1.0.87

type PolicyScheduleV2EvaluationLevel string

PolicyScheduleV2EvaluationLevel Evaluate coverage across the whole schedule, or per rotation. Defaults to schedule.

const (
	PolicyScheduleV2EvaluationLevelRotation PolicyScheduleV2EvaluationLevel = "rotation"
	PolicyScheduleV2EvaluationLevelSchedule PolicyScheduleV2EvaluationLevel = "schedule"
)

Defines values for PolicyScheduleV2EvaluationLevel.

func (PolicyScheduleV2EvaluationLevel) Valid added in v1.0.87

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

type PolicyScheduleV2RequirementType added in v1.0.87

type PolicyScheduleV2RequirementType string

PolicyScheduleV2RequirementType defines model for PolicyScheduleV2.RequirementType.

const (
	Contiguous PolicyScheduleV2RequirementType = "contiguous"
)

Defines values for PolicyScheduleV2RequirementType.

func (PolicyScheduleV2RequirementType) Valid added in v1.0.87

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

type PolicyV2 added in v1.0.87

type PolicyV2 struct {
	AssignmentRules *PolicyAssignmentRulesV2 `json:"assignment_rules,omitempty"`

	// Conditions Conditions which determine which resources are in scope for this policy
	Conditions []ConditionGroupV2 `json:"conditions"`
	CreatedAt  time.Time          `json:"created_at"`

	// Debrief Set when policy_type is debrief.
	Debrief *PolicyDebriefV2 `json:"debrief,omitempty"`

	// Description Human readable description of the policy
	Description *string `json:"description,omitempty"`

	// Expressions The expressions relating to this policy
	Expressions *[]ExpressionV2 `json:"expressions,omitempty"`

	// FollowUp Set when policy_type is follow_up.
	FollowUp *PolicyFollowUpV2 `json:"follow_up,omitempty"`

	// Id Unique ID of the policy
	Id string `json:"id"`

	// Name Human readable name of the policy
	Name string `json:"name"`

	// OnCallReadiness Set when policy_type is on_call_readiness. The assignee is always the user the finding is about and cannot be configured.
	OnCallReadiness *PolicyOnCallReadinessV2 `json:"on_call_readiness,omitempty"`

	// PolicyType Type of the policy, specifying what this applies to
	PolicyType PolicyV2PolicyType `json:"policy_type"`

	// PostMortem Set when policy_type is post_mortem.
	PostMortem *PolicyPostMortemV2 `json:"post_mortem,omitempty"`

	// Schedule Detects gaps in on-call coverage. Set when policy_type is schedule.
	Schedule *PolicyScheduleV2 `json:"schedule,omitempty"`

	// Status Disabled policies stop evaluating but keep their config
	Status    PolicyV2Status `json:"status"`
	UpdatedAt time.Time      `json:"updated_at"`
}

PolicyV2 defines model for PolicyV2.

type PolicyV2PolicyType added in v1.0.87

type PolicyV2PolicyType string

PolicyV2PolicyType Type of the policy, specifying what this applies to

const (
	PolicyV2PolicyTypeDebrief          PolicyV2PolicyType = "debrief"
	PolicyV2PolicyTypeFollowUp         PolicyV2PolicyType = "follow_up"
	PolicyV2PolicyTypeOnCallReadiness  PolicyV2PolicyType = "on_call_readiness"
	PolicyV2PolicyTypePostMortem       PolicyV2PolicyType = "post_mortem"
	PolicyV2PolicyTypeSchedule         PolicyV2PolicyType = "schedule"
	PolicyV2PolicyTypeVacationConflict PolicyV2PolicyType = "vacation_conflict"
)

Defines values for PolicyV2PolicyType.

func (PolicyV2PolicyType) Valid added in v1.0.87

func (e PolicyV2PolicyType) Valid() bool

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

type PolicyV2Status added in v1.0.87

type PolicyV2Status string

PolicyV2Status Disabled policies stop evaluating but keep their config

const (
	PolicyV2StatusDisabled PolicyV2Status = "disabled"
	PolicyV2StatusEnabled  PolicyV2Status = "enabled"
)

Defines values for PolicyV2Status.

func (PolicyV2Status) Valid added in v1.0.87

func (e PolicyV2Status) Valid() bool

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

type PostmortemDocumentV1 added in v1.0.1

type PostmortemDocumentV1 struct {
	// CreatedAt Timestamp for when the document was created
	CreatedAt time.Time `json:"created_at"`

	// DocumentUrl A URL to view the post-mortem document in the incident.io dashboard
	DocumentUrl string `json:"document_url"`

	// Editors The list of users who have edited this post-mortem document
	Editors []UserV1 `json:"editors"`

	// ExportedUrls URLs of any external locations this document has been exported to
	ExportedUrls []string `json:"exported_urls"`

	// Id Unique identifier for the post-mortem document
	Id string `json:"id"`

	// IncidentId The unique identifier of the incident that this post-mortem document belongs to
	IncidentId string `json:"incident_id"`

	// Status The current status of this post-mortem document
	Status PostmortemDocumentV1Status `json:"status"`

	// Title The display title of the post-mortem document
	Title string `json:"title"`

	// Type Whether this is a native incident.io post-mortem or one hosted in an external provider
	Type PostmortemDocumentV1Type `json:"type"`

	// UpdatedAt Timestamp for when the document was last updated
	UpdatedAt string `json:"updated_at"`
}

PostmortemDocumentV1 defines model for PostmortemDocumentV1.

type PostmortemDocumentV1Status added in v1.0.1

type PostmortemDocumentV1Status string

PostmortemDocumentV1Status The current status of this post-mortem document

const (
	PostmortemDocumentV1StatusCompleted  PostmortemDocumentV1Status = "completed"
	PostmortemDocumentV1StatusInProgress PostmortemDocumentV1Status = "in_progress"
	PostmortemDocumentV1StatusInReview   PostmortemDocumentV1Status = "in_review"
)

Defines values for PostmortemDocumentV1Status.

func (PostmortemDocumentV1Status) Valid added in v1.0.1

func (e PostmortemDocumentV1Status) Valid() bool

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

type PostmortemDocumentV1Type added in v1.0.1

type PostmortemDocumentV1Type string

PostmortemDocumentV1Type Whether this is a native incident.io post-mortem or one hosted in an external provider

const (
	PostmortemDocumentV1TypeExternal PostmortemDocumentV1Type = "external"
	PostmortemDocumentV1TypeInApp    PostmortemDocumentV1Type = "in_app"
)

Defines values for PostmortemDocumentV1Type.

func (PostmortemDocumentV1Type) Valid added in v1.0.1

func (e PostmortemDocumentV1Type) Valid() bool

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

type PostmortemDocumentsAttachPayloadV1 added in v1.0.1

type PostmortemDocumentsAttachPayloadV1 struct {
	// DocumentProvider The provider hosting the document. Set this when it can't be inferred from the permalink so the link renders correctly.
	DocumentProvider *PostmortemDocumentsAttachPayloadV1DocumentProvider `json:"document_provider,omitempty"`

	// IncidentId The unique identifier of the incident to attach the post-mortem document to
	IncidentId string `json:"incident_id"`

	// Permalink A URL pointing to the externally-hosted post-mortem document
	Permalink string `json:"permalink"`
}

PostmortemDocumentsAttachPayloadV1 defines model for PostmortemDocumentsAttachPayloadV1.

type PostmortemDocumentsAttachPayloadV1DocumentProvider added in v1.0.1

type PostmortemDocumentsAttachPayloadV1DocumentProvider string

PostmortemDocumentsAttachPayloadV1DocumentProvider The provider hosting the document. Set this when it can't be inferred from the permalink so the link renders correctly.

const (
	Confluence          PostmortemDocumentsAttachPayloadV1DocumentProvider = "confluence"
	CopyPasteBasecamp   PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_basecamp"
	CopyPasteConfluence PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_confluence"
	CopyPasteGithubWiki PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_github_wiki"
	CopyPasteGoogleDocs PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_google_docs"
	CopyPasteNotion     PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_notion"
	CopyPasteQuip       PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_quip"
	Empty               PostmortemDocumentsAttachPayloadV1DocumentProvider = ""
	GoogleDocs          PostmortemDocumentsAttachPayloadV1DocumentProvider = "google_docs"
	IncidentIo          PostmortemDocumentsAttachPayloadV1DocumentProvider = "incident_io"
	Notion              PostmortemDocumentsAttachPayloadV1DocumentProvider = "notion"
	Sharepoint          PostmortemDocumentsAttachPayloadV1DocumentProvider = "sharepoint"
)

Defines values for PostmortemDocumentsAttachPayloadV1DocumentProvider.

func (PostmortemDocumentsAttachPayloadV1DocumentProvider) Valid added in v1.0.1

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

type PostmortemDocumentsAttachResultV1 added in v1.0.1

type PostmortemDocumentsAttachResultV1 struct {
	PostmortemDocument PostmortemDocumentV1 `json:"postmortem_document"`
}

PostmortemDocumentsAttachResultV1 defines model for PostmortemDocumentsAttachResultV1.

type PostmortemDocumentsListResultV1 added in v1.0.1

type PostmortemDocumentsListResultV1 struct {
	PaginationMeta      PaginationMetaResultV1 `json:"pagination_meta"`
	PostmortemDocuments []PostmortemDocumentV1 `json:"postmortem_documents"`
}

PostmortemDocumentsListResultV1 defines model for PostmortemDocumentsListResultV1.

type PostmortemDocumentsShowContentResultV1 added in v1.0.1

type PostmortemDocumentsShowContentResultV1 struct {
	// Markdown The full content of the post-mortem document, rendered as markdown. Includes all sections, resolved mentions, timeline, follow-ups, and custom fields.
	Markdown string `json:"markdown"`
}

PostmortemDocumentsShowContentResultV1 defines model for PostmortemDocumentsShowContentResultV1.

type PostmortemDocumentsShowResultV1 added in v1.0.1

type PostmortemDocumentsShowResultV1 struct {
	PostmortemDocument PostmortemDocumentV1 `json:"postmortem_document"`
}

PostmortemDocumentsShowResultV1 defines model for PostmortemDocumentsShowResultV1.

type PostmortemDocumentsUpdateStatusPayloadV1 added in v1.0.1

type PostmortemDocumentsUpdateStatusPayloadV1 struct {
	// Status The new status to set the post-mortem document to
	Status PostmortemDocumentsUpdateStatusPayloadV1Status `json:"status"`
}

PostmortemDocumentsUpdateStatusPayloadV1 defines model for PostmortemDocumentsUpdateStatusPayloadV1.

type PostmortemDocumentsUpdateStatusPayloadV1Status added in v1.0.1

type PostmortemDocumentsUpdateStatusPayloadV1Status string

PostmortemDocumentsUpdateStatusPayloadV1Status The new status to set the post-mortem document to

Defines values for PostmortemDocumentsUpdateStatusPayloadV1Status.

func (PostmortemDocumentsUpdateStatusPayloadV1Status) Valid added in v1.0.1

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

type PostmortemDocumentsUpdateStatusResultV1 added in v1.0.1

type PostmortemDocumentsUpdateStatusResultV1 struct {
	PostmortemDocument PostmortemDocumentV1 `json:"postmortem_document"`
}

PostmortemDocumentsUpdateStatusResultV1 defines model for PostmortemDocumentsUpdateStatusResultV1.

type PostmortemDocumentsV1AttachJSONRequestBody added in v1.0.1

type PostmortemDocumentsV1AttachJSONRequestBody = PostmortemDocumentsAttachPayloadV1

PostmortemDocumentsV1AttachJSONRequestBody defines body for PostmortemDocumentsV1Attach for application/json ContentType.

type PostmortemDocumentsV1AttachResponse added in v1.0.1

type PostmortemDocumentsV1AttachResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *PostmortemDocumentsAttachResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PostmortemDocumentsV1AttachResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (PostmortemDocumentsV1AttachResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type PostmortemDocumentsV1ListParams added in v1.0.1

type PostmortemDocumentsV1ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A post-mortem document's ID. This endpoint will return a list of post-mortem documents after this ID.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// IncidentId Filter to only return post-mortem documents for the given incident
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// SortBy Controls the order that results are returned in
	SortBy *PostmortemDocumentsV1ListParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`
}

PostmortemDocumentsV1ListParams defines parameters for PostmortemDocumentsV1List.

type PostmortemDocumentsV1ListParamsSortBy added in v1.0.1

type PostmortemDocumentsV1ListParamsSortBy string

PostmortemDocumentsV1ListParamsSortBy defines parameters for PostmortemDocumentsV1List.

const (
	PostmortemDocumentsV1ListParamsSortByCreatedAtNewestFirst PostmortemDocumentsV1ListParamsSortBy = "created_at_newest_first"
	PostmortemDocumentsV1ListParamsSortByCreatedAtOldestFirst PostmortemDocumentsV1ListParamsSortBy = "created_at_oldest_first"
)

Defines values for PostmortemDocumentsV1ListParamsSortBy.

func (PostmortemDocumentsV1ListParamsSortBy) Valid added in v1.0.1

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

type PostmortemDocumentsV1ListResponse added in v1.0.1

type PostmortemDocumentsV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostmortemDocumentsListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PostmortemDocumentsV1ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (PostmortemDocumentsV1ListResponse) StatusCode added in v1.0.1

func (r PostmortemDocumentsV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostmortemDocumentsV1ShowContentResponse added in v1.0.1

type PostmortemDocumentsV1ShowContentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostmortemDocumentsShowContentResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PostmortemDocumentsV1ShowContentResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (PostmortemDocumentsV1ShowContentResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type PostmortemDocumentsV1ShowResponse added in v1.0.1

type PostmortemDocumentsV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostmortemDocumentsShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PostmortemDocumentsV1ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (PostmortemDocumentsV1ShowResponse) StatusCode added in v1.0.1

func (r PostmortemDocumentsV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostmortemDocumentsV1UpdateStatusJSONRequestBody added in v1.0.1

type PostmortemDocumentsV1UpdateStatusJSONRequestBody = PostmortemDocumentsUpdateStatusPayloadV1

PostmortemDocumentsV1UpdateStatusJSONRequestBody defines body for PostmortemDocumentsV1UpdateStatus for application/json ContentType.

type PostmortemDocumentsV1UpdateStatusResponse added in v1.0.1

type PostmortemDocumentsV1UpdateStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostmortemDocumentsUpdateStatusResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (PostmortemDocumentsV1UpdateStatusResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (PostmortemDocumentsV1UpdateStatusResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type RBACRoleV2 added in v1.0.1

type RBACRoleV2 struct {
	// Description Description of the purpose for the RBAC role
	Description *string `json:"description,omitempty"`

	// Id Unique identifier of the RBAC role
	Id string `json:"id"`

	// Name Name of the RBAC role
	Name string `json:"name"`

	// Slug Unique human-readable slug for the RBAC role
	Slug string `json:"slug"`
}

RBACRoleV2 defines model for RBACRoleV2.

type RequestEditorFn added in v1.0.1

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RetrospectiveIncidentOptionsV2 added in v1.0.1

type RetrospectiveIncidentOptionsV2 struct {
	// ExternalId The external ID (e.g. the 123 in INC-123) to assign to the incident. This can be useful when importing incidents. If you want to use this field, you'll need to talk to us first.
	ExternalId *int64 `json:"external_id,omitempty"`

	// PostmortemDocumentUrl The URL of the postmortem, if there is one
	PostmortemDocumentUrl *string `json:"postmortem_document_url,omitempty"`

	// SlackChannelId Pass the ID of a Slack channel to attach the incident to an existing channel. If not provided, no Slack channel will be created for this retrospective incident.
	SlackChannelId *string `json:"slack_channel_id,omitempty"`
}

RetrospectiveIncidentOptionsV2 defines model for RetrospectiveIncidentOptionsV2.

type ReturnsMetaV2 added in v1.0.1

type ReturnsMetaV2 struct {
	// Array Whether the return value should be single or multi-value
	Array bool `json:"array"`

	// Type Expected return type of this expression (what to try casting the result to)
	Type string `json:"type"`
}

ReturnsMetaV2 defines model for ReturnsMetaV2.

type ReturnsMetaV3 added in v1.0.9

type ReturnsMetaV3 struct {
	// Array Whether the return value should be single or multi-value
	Array bool `json:"array"`

	// Type Expected return type of this expression (what to try casting the result to)
	Type string `json:"type"`
}

ReturnsMetaV3 defines model for ReturnsMetaV3.

type ScheduleConfigCreatePayloadV2 added in v1.0.1

type ScheduleConfigCreatePayloadV2 struct {
	Rotations *[]ScheduleRotationCreatePayloadV2 `json:"rotations,omitempty"`
}

ScheduleConfigCreatePayloadV2 defines model for ScheduleConfigCreatePayloadV2.

type ScheduleConfigUpdatePayloadV2 added in v1.0.1

type ScheduleConfigUpdatePayloadV2 struct {
	Rotations *[]ScheduleRotationUpdatePayloadV2 `json:"rotations,omitempty"`
}

ScheduleConfigUpdatePayloadV2 defines model for ScheduleConfigUpdatePayloadV2.

type ScheduleConfigV2 added in v1.0.1

type ScheduleConfigV2 struct {
	// Rotations Rotas in this schedule
	Rotations []ScheduleRotationV2 `json:"rotations"`
}

ScheduleConfigV2 defines model for ScheduleConfigV2.

type ScheduleCreatePayloadV2 added in v1.0.1

type ScheduleCreatePayloadV2 struct {
	// Annotations Annotations that can track metadata about the schedule
	Annotations          *map[string]string                     `json:"annotations,omitempty"`
	Config               *ScheduleConfigCreatePayloadV2         `json:"config,omitempty"`
	HolidaysPublicConfig *ScheduleHolidaysPublicConfigPayloadV2 `json:"holidays_public_config,omitempty"`

	// Name Name of the schedule
	Name *string `json:"name,omitempty"`

	// TeamIds IDs of teams that own this schedule
	TeamIds *[]string `json:"team_ids,omitempty"`

	// Timezone Timezone of the schedule
	Timezone *string `json:"timezone,omitempty"`
}

ScheduleCreatePayloadV2 defines model for ScheduleCreatePayloadV2.

type ScheduleEntriesListPayloadV2 added in v1.0.1

type ScheduleEntriesListPayloadV2 struct {
	// Final The effective schedule after overrides have been merged in
	Final []ScheduleEntryV2 `json:"final"`

	// Overrides Overrides that apply within the requested window
	Overrides []ScheduleEntryV2 `json:"overrides"`

	// Scheduled Entries from the schedule's rotation rules, before overrides are applied
	Scheduled []ScheduleEntryV2 `json:"scheduled"`
}

ScheduleEntriesListPayloadV2 The schedule entries for a window of time, grouped by where they come from.

`scheduled` are the entries produced by the schedule's rotation rules before any overrides are taken into account. `overrides` are the one-off changes that apply within the window. `final` is the effective schedule after overrides have been merged in — this is normally the list to use when working out who is on-call.

type ScheduleEntryV2 added in v1.0.1

type ScheduleEntryV2 struct {
	EndAt time.Time `json:"end_at"`

	// EntryId Unique identifier of the schedule entry
	EntryId *string `json:"entry_id,omitempty"`

	// Fingerprint A unique identifier for this entry, used to determine a unique shift
	Fingerprint *string `json:"fingerprint,omitempty"`

	// LayerId If present, the layer this entry applies to on the rotation
	LayerId *string `json:"layer_id,omitempty"`

	// RotationId If present, the rotation this entry applies to on the schedule
	RotationId *string   `json:"rotation_id,omitempty"`
	StartAt    time.Time `json:"start_at"`
	User       *UserV2   `json:"user,omitempty"`
}

ScheduleEntryV2 A single shift on a schedule, representing who is on-call between a start and end time. When present, `rotation_id` and `layer_id` tell you which rotation and which layer within that rotation the entry belongs to. A schedule may have multiple rotations (for example, a primary and a secondary rotation) and each rotation can be made up of several layers — entries are returned for every rotation and layer on the schedule.

Entries come from two places: they are either generated from a schedule's rotation configuration (the regular pattern of who is on-call) or created by an override (a one-off change that replaces the normal rotation for a period of time). When you call the List schedule entries endpoint we return both kinds separately, along with the merged `final` schedule that reflects what will actually happen.

`entry_id` is only populated for entries that correspond to a stored record. Scheduled entries are projections computed from the rotation rules on the fly and don't have a persisted ID, so `entry_id` will be absent for those. Use `fingerprint` if you need a stable identifier to deduplicate or diff a shift across requests.

type ScheduleHolidaysPublicConfigPayloadV2 added in v1.0.1

type ScheduleHolidaysPublicConfigPayloadV2 struct {
	// CountryCodes ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
	CountryCodes []string `json:"country_codes"`
}

ScheduleHolidaysPublicConfigPayloadV2 defines model for ScheduleHolidaysPublicConfigPayloadV2.

type ScheduleHolidaysPublicConfigV2 added in v1.0.1

type ScheduleHolidaysPublicConfigV2 struct {
	// CountryCodes ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
	CountryCodes []string `json:"country_codes"`
}

ScheduleHolidaysPublicConfigV2 defines model for ScheduleHolidaysPublicConfigV2.

type ScheduleLayerCreatePayloadV2 added in v1.0.1

type ScheduleLayerCreatePayloadV2 struct {
	// Id Unique identifier of the layer
	Id *string `json:"id,omitempty"`

	// Name Name of the layer
	Name string `json:"name"`
}

ScheduleLayerCreatePayloadV2 defines model for ScheduleLayerCreatePayloadV2.

type ScheduleLayerUpdatePayloadV2 added in v1.0.1

type ScheduleLayerUpdatePayloadV2 struct {
	// Id Unique identifier of the layer
	Id *string `json:"id,omitempty"`

	// Name Name of the layer
	Name *string `json:"name,omitempty"`
}

ScheduleLayerUpdatePayloadV2 defines model for ScheduleLayerUpdatePayloadV2.

type ScheduleLayerV2 added in v1.0.1

type ScheduleLayerV2 struct {
	// Id Unique identifier of the layer
	Id *string `json:"id,omitempty"`

	// Name Name of the layer
	Name *string `json:"name,omitempty"`
}

ScheduleLayerV2 defines model for ScheduleLayerV2.

type ScheduleOverrideV2 added in v1.0.1

type ScheduleOverrideV2 struct {
	CreatedAt time.Time `json:"created_at"`

	// EndAt End of the override
	EndAt time.Time `json:"end_at"`

	// Id Unique internal ID of the schedule override
	Id string `json:"id"`

	// LayerId The layer on the rotation on the schedule that this override applies to
	LayerId string `json:"layer_id"`

	// RotationId The rotation on the schedule that this override applies to
	RotationId string `json:"rotation_id"`

	// ScheduleId The schedule that this override applies to
	ScheduleId string `json:"schedule_id"`

	// StartAt Start of the override
	StartAt   time.Time `json:"start_at"`
	UpdatedAt time.Time `json:"updated_at"`
	User      *UserV2   `json:"user,omitempty"`
}

ScheduleOverrideV2 defines model for ScheduleOverrideV2.

type ScheduleReplicaCreatePayloadV2 added in v1.0.1

type ScheduleReplicaCreatePayloadV2 struct {
	// MirrorWindowDays How many days ahead to mirror this schedule into the external provider. Defaults to 14 if not set; maximum 90.
	MirrorWindowDays *int64 `json:"mirror_window_days,omitempty"`

	// ReplicaFallbackUserId The ID of a user in the external provider that will be assigned whenever nobody is on-call in the incident.io schedule. External providers typically require someone to always be on-call, so this user fills gaps where incident.io has no one scheduled.
	ReplicaFallbackUserId string `json:"replica_fallback_user_id"`

	// ReplicaProvider The external provider where this schedule is replicated to
	ReplicaProvider ScheduleReplicaCreatePayloadV2ReplicaProvider `json:"replica_provider"`

	// ReplicaProviderId The ID of the schedule in the external provider that this replica syncs to. For PagerDuty this is the schedule ID (e.g. PO8107X), for Opsgenie the schedule ID, and for Jira Service Management the schedule ID.
	ReplicaProviderId string `json:"replica_provider_id"`

	// Sources The specific rotation and layer combinations from the schedule to replicate. Each source identifies a single layer within a rotation to sync to the external provider.
	Sources []ScheduleReplicaSourceV2 `json:"sources"`
}

ScheduleReplicaCreatePayloadV2 defines model for ScheduleReplicaCreatePayloadV2.

type ScheduleReplicaCreatePayloadV2ReplicaProvider added in v1.0.1

type ScheduleReplicaCreatePayloadV2ReplicaProvider string

ScheduleReplicaCreatePayloadV2ReplicaProvider The external provider where this schedule is replicated to

const (
	ScheduleReplicaCreatePayloadV2ReplicaProviderJsm       ScheduleReplicaCreatePayloadV2ReplicaProvider = "jsm"
	ScheduleReplicaCreatePayloadV2ReplicaProviderNative    ScheduleReplicaCreatePayloadV2ReplicaProvider = "native"
	ScheduleReplicaCreatePayloadV2ReplicaProviderOpsgenie  ScheduleReplicaCreatePayloadV2ReplicaProvider = "opsgenie"
	ScheduleReplicaCreatePayloadV2ReplicaProviderPagerduty ScheduleReplicaCreatePayloadV2ReplicaProvider = "pagerduty"
)

Defines values for ScheduleReplicaCreatePayloadV2ReplicaProvider.

func (ScheduleReplicaCreatePayloadV2ReplicaProvider) Valid added in v1.0.1

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

type ScheduleReplicaSourceV2 added in v1.0.1

type ScheduleReplicaSourceV2 struct {
	// LayerId The ID of the layer within the rotation to replicate. Rotations can have multiple layers that stack on top of each other, and you must specify which layer to replicate.
	LayerId string `json:"layer_id"`

	// RotationId The ID of the rotation within the schedule to replicate. Each schedule can have multiple rotations, and you can choose which ones to include in the replica.
	RotationId string `json:"rotation_id"`
}

ScheduleReplicaSourceV2 defines model for ScheduleReplicaSourceV2.

type ScheduleReplicaUserStatusV2 added in v1.0.1

type ScheduleReplicaUserStatusV2 struct {
	// ExternalUserId The corresponding user ID in the external provider (e.g. a PagerDuty user ID). If set, the user has been successfully mapped to an external user and will be included in the replica. If null, the user could not be resolved and syncing may produce errors.
	ExternalUserId *string `json:"external_user_id,omitempty"`

	// UserId The incident.io user ID for a user who appears in the schedule rotation.
	UserId string `json:"user_id"`
}

ScheduleReplicaUserStatusV2 defines model for ScheduleReplicaUserStatusV2.

type ScheduleReplicaV2 added in v1.0.1

type ScheduleReplicaV2 struct {
	// CreatedAt When this schedule replica was first created
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier of the schedule replica
	Id string `json:"id"`

	// LastSyncError The most recent error encountered while syncing this replica to the external provider, if any. Common errors include unmapped users or connectivity issues with the external provider. Null if the last sync was successful.
	LastSyncError *string `json:"last_sync_error,omitempty"`

	// LastSyncedAt When the replica was last successfully synced to the external provider. Null if the replica has never been successfully synced.
	LastSyncedAt *time.Time `json:"last_synced_at,omitempty"`

	// MirrorWindowDays How many days ahead to mirror this schedule into the external provider. Defaults to 14 if not set; maximum 90.
	MirrorWindowDays *int64 `json:"mirror_window_days,omitempty"`

	// ReplicaFallbackUserId The ID of a user in the external provider that will be assigned whenever nobody is on-call in the incident.io schedule. External providers typically require someone to always be on-call, so this user fills gaps where incident.io has no one scheduled.
	ReplicaFallbackUserId string `json:"replica_fallback_user_id"`

	// ReplicaProvider The external provider where this schedule is replicated to
	ReplicaProvider ScheduleReplicaV2ReplicaProvider `json:"replica_provider"`

	// ReplicaProviderId The ID of the schedule in the external provider that this replica syncs to. For PagerDuty this is the schedule ID (e.g. PO8107X), for Opsgenie the schedule ID, and for Jira Service Management the schedule ID.
	ReplicaProviderId string `json:"replica_provider_id"`

	// ScheduleId The ID of the incident.io schedule that this replica is syncing from
	ScheduleId string `json:"schedule_id"`

	// Sources The specific rotation and layer combinations from the schedule that are being replicated. Each source identifies a single layer within a rotation to sync to the external provider.
	Sources []ScheduleReplicaSourceV2 `json:"sources"`

	// UpdatedAt When this schedule replica was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// UserStatuses The mapping status of each incident.io user in the schedule to their corresponding user in the external provider. Users must be mapped for the replica to sync their on-call shifts correctly.
	UserStatuses []ScheduleReplicaUserStatusV2 `json:"user_statuses"`
}

ScheduleReplicaV2 defines model for ScheduleReplicaV2.

type ScheduleReplicaV2ReplicaProvider added in v1.0.1

type ScheduleReplicaV2ReplicaProvider string

ScheduleReplicaV2ReplicaProvider The external provider where this schedule is replicated to

const (
	ScheduleReplicaV2ReplicaProviderJsm       ScheduleReplicaV2ReplicaProvider = "jsm"
	ScheduleReplicaV2ReplicaProviderNative    ScheduleReplicaV2ReplicaProvider = "native"
	ScheduleReplicaV2ReplicaProviderOpsgenie  ScheduleReplicaV2ReplicaProvider = "opsgenie"
	ScheduleReplicaV2ReplicaProviderPagerduty ScheduleReplicaV2ReplicaProvider = "pagerduty"
)

Defines values for ScheduleReplicaV2ReplicaProvider.

func (ScheduleReplicaV2ReplicaProvider) Valid added in v1.0.1

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

type ScheduleRotationCreatePayloadV2 added in v1.0.1

type ScheduleRotationCreatePayloadV2 struct {
	// EffectiveFrom When this version of the rotation takes effect. A rotation can appear multiple times in `rotations` with the same `id` to schedule changes ahead of time: each version applies from its `effective_from` until the next version's. Leave it unset on a rotation's first or only version.
	EffectiveFrom *time.Time `json:"effective_from,omitempty"`

	// HandoverStartAt Determines when shifts change hands and who takes them: the first user in `users` comes on shift at this time, handing over to the next user after each `handovers` interval, cycling through the list — for example, weekly handovers from a Monday 09:00 give week-long shifts that change hands on Mondays at 09:00.
	HandoverStartAt *time.Time `json:"handover_start_at,omitempty"`

	// Handovers The cadence shifts hand over on. With more than one entry, the intervals apply in turn — for example, one day then three days produces alternating one-day and three-day shifts.
	Handovers *[]ScheduleRotationHandoverV2 `json:"handovers,omitempty"`

	// Id Unique identifier of the rotation
	Id     *string                         `json:"id,omitempty"`
	Layers *[]ScheduleLayerCreatePayloadV2 `json:"layers,omitempty"`

	// Name Name of the rotation
	Name string `json:"name"`

	// SchedulingMode Scheduling algorithm to use for this rotation. 'fair' balances workload by considering handover duration, while 'sequential' uses simple round-robin rotation through users. Only applies when you have asymmetric handovers (e.g., 2 days then 5 days).
	SchedulingMode *ScheduleRotationCreatePayloadV2SchedulingMode `json:"scheduling_mode,omitempty"`

	// Users The people in the rotation, in the order they take shifts.
	Users *[]UserReferencePayloadV2 `json:"users,omitempty"`

	// WorkingInterval DEPRECATED: Use working_intervals instead.
	WorkingInterval  *[]ScheduleRotationWorkingIntervalCreatePayloadV2 `json:"working_interval,omitempty"`
	WorkingIntervals *[]ScheduleRotationWorkingIntervalCreatePayloadV2 `json:"working_intervals,omitempty"`
}

ScheduleRotationCreatePayloadV2 defines model for ScheduleRotationCreatePayloadV2.

type ScheduleRotationCreatePayloadV2SchedulingMode added in v1.0.1

type ScheduleRotationCreatePayloadV2SchedulingMode string

ScheduleRotationCreatePayloadV2SchedulingMode Scheduling algorithm to use for this rotation. 'fair' balances workload by considering handover duration, while 'sequential' uses simple round-robin rotation through users. Only applies when you have asymmetric handovers (e.g., 2 days then 5 days).

const (
	ScheduleRotationCreatePayloadV2SchedulingModeFair       ScheduleRotationCreatePayloadV2SchedulingMode = "fair"
	ScheduleRotationCreatePayloadV2SchedulingModeSequential ScheduleRotationCreatePayloadV2SchedulingMode = "sequential"
)

Defines values for ScheduleRotationCreatePayloadV2SchedulingMode.

func (ScheduleRotationCreatePayloadV2SchedulingMode) Valid added in v1.0.1

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

type ScheduleRotationHandoverV2 added in v1.0.1

type ScheduleRotationHandoverV2 struct {
	Interval int64 `json:"interval"`

	// IntervalType How often a handover occurs
	IntervalType ScheduleRotationHandoverV2IntervalType `json:"interval_type"`
}

ScheduleRotationHandoverV2 defines model for ScheduleRotationHandoverV2.

type ScheduleRotationHandoverV2IntervalType added in v1.0.1

type ScheduleRotationHandoverV2IntervalType string

ScheduleRotationHandoverV2IntervalType How often a handover occurs

const (
	ScheduleRotationHandoverV2IntervalTypeDaily  ScheduleRotationHandoverV2IntervalType = "daily"
	ScheduleRotationHandoverV2IntervalTypeHourly ScheduleRotationHandoverV2IntervalType = "hourly"
	ScheduleRotationHandoverV2IntervalTypeWeekly ScheduleRotationHandoverV2IntervalType = "weekly"
)

Defines values for ScheduleRotationHandoverV2IntervalType.

func (ScheduleRotationHandoverV2IntervalType) Valid added in v1.0.1

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

type ScheduleRotationUpdatePayloadV2 added in v1.0.1

type ScheduleRotationUpdatePayloadV2 struct {
	// EffectiveFrom When this version of the rotation takes effect. A rotation can appear multiple times in `rotations` with the same `id` to schedule changes ahead of time: each version applies from its `effective_from` until the next version's. Leave it unset on a rotation's first or only version.
	EffectiveFrom *time.Time `json:"effective_from,omitempty"`

	// HandoverStartAt Determines when shifts change hands and who takes them: the first user in `users` comes on shift at this time, handing over to the next user after each `handovers` interval, cycling through the list — for example, weekly handovers from a Monday 09:00 give week-long shifts that change hands on Mondays at 09:00.
	HandoverStartAt *time.Time `json:"handover_start_at,omitempty"`

	// Handovers The cadence shifts hand over on. With more than one entry, the intervals apply in turn — for example, one day then three days produces alternating one-day and three-day shifts.
	Handovers *[]ScheduleRotationHandoverV2 `json:"handovers,omitempty"`

	// Id Unique identifier of the rotation
	Id     *string                         `json:"id,omitempty"`
	Layers *[]ScheduleLayerUpdatePayloadV2 `json:"layers,omitempty"`

	// Name Name of the rotation
	Name *string `json:"name,omitempty"`

	// SchedulingMode Scheduling algorithm to use for this rotation. 'fair' balances workload by considering handover duration, while 'sequential' uses simple round-robin rotation through users. Only applies when you have asymmetric handovers (e.g., 2 days then 5 days).
	SchedulingMode *ScheduleRotationUpdatePayloadV2SchedulingMode `json:"scheduling_mode,omitempty"`

	// Users The people in the rotation, in the order they take shifts.
	Users *[]UserReferencePayloadV2 `json:"users,omitempty"`

	// WorkingInterval DEPRECATED: Use working_intervals instead.
	WorkingInterval  *[]ScheduleRotationWorkingIntervalV2 `json:"working_interval,omitempty"`
	WorkingIntervals *[]ScheduleRotationWorkingIntervalV2 `json:"working_intervals,omitempty"`
}

ScheduleRotationUpdatePayloadV2 defines model for ScheduleRotationUpdatePayloadV2.

type ScheduleRotationUpdatePayloadV2SchedulingMode added in v1.0.1

type ScheduleRotationUpdatePayloadV2SchedulingMode string

ScheduleRotationUpdatePayloadV2SchedulingMode Scheduling algorithm to use for this rotation. 'fair' balances workload by considering handover duration, while 'sequential' uses simple round-robin rotation through users. Only applies when you have asymmetric handovers (e.g., 2 days then 5 days).

const (
	ScheduleRotationUpdatePayloadV2SchedulingModeFair       ScheduleRotationUpdatePayloadV2SchedulingMode = "fair"
	ScheduleRotationUpdatePayloadV2SchedulingModeSequential ScheduleRotationUpdatePayloadV2SchedulingMode = "sequential"
)

Defines values for ScheduleRotationUpdatePayloadV2SchedulingMode.

func (ScheduleRotationUpdatePayloadV2SchedulingMode) Valid added in v1.0.1

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

type ScheduleRotationV2 added in v1.0.1

type ScheduleRotationV2 struct {
	// EffectiveFrom When this version of the rotation takes effect. A rotation can appear multiple times in `rotations` with the same `id`, scheduling changes ahead of time: each version applies from its `effective_from` until the next version's. A rotation's first version has no `effective_from`.
	EffectiveFrom *time.Time `json:"effective_from,omitempty"`

	// HandoverStartAt Determines when shifts change hands and who takes them: the first user in `users` comes on shift at this time, handing over to the next user after each `handovers` interval, cycling through the list — for example, weekly handovers from a Monday 09:00 give week-long shifts that change hands on Mondays at 09:00.
	HandoverStartAt time.Time `json:"handover_start_at"`

	// Handovers The cadence shifts hand over on. With more than one entry, the intervals apply in turn — for example, one day then three days produces alternating one-day and three-day shifts.
	Handovers []ScheduleRotationHandoverV2 `json:"handovers"`

	// Id Unique internal ID of the rotation
	Id string `json:"id"`

	// Layers Controls how many people are on-call concurrently
	Layers []ScheduleLayerV2 `json:"layers"`

	// Name Human readable name synced from external provider
	Name string `json:"name"`

	// SchedulingMode Scheduling algorithm to use for this rotation. 'fair' balances workload by considering handover duration, while 'sequential' uses simple round-robin rotation through users. Only applies when you have asymmetric handovers (e.g., 2 days then 5 days).
	SchedulingMode *ScheduleRotationV2SchedulingMode `json:"scheduling_mode,omitempty"`

	// Users The people in the rotation, in the order they take shifts.
	Users []UserV2 `json:"users"`

	// WorkingInterval DEPRECATED: Use working_intervals instead.
	WorkingInterval *[]ScheduleRotationWorkingIntervalV2 `json:"working_interval,omitempty"`

	// WorkingIntervals Optional restrictions that define when to schedule people for this rota
	WorkingIntervals []ScheduleRotationWorkingIntervalV2 `json:"working_intervals"`
}

ScheduleRotationV2 defines model for ScheduleRotationV2.

type ScheduleRotationV2SchedulingMode added in v1.0.1

type ScheduleRotationV2SchedulingMode string

ScheduleRotationV2SchedulingMode Scheduling algorithm to use for this rotation. 'fair' balances workload by considering handover duration, while 'sequential' uses simple round-robin rotation through users. Only applies when you have asymmetric handovers (e.g., 2 days then 5 days).

const (
	Fair       ScheduleRotationV2SchedulingMode = "fair"
	Sequential ScheduleRotationV2SchedulingMode = "sequential"
)

Defines values for ScheduleRotationV2SchedulingMode.

func (ScheduleRotationV2SchedulingMode) Valid added in v1.0.1

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

type ScheduleRotationWorkingIntervalCreatePayloadV2 added in v1.0.1

type ScheduleRotationWorkingIntervalCreatePayloadV2 struct {
	// EndTime End time of the interval, in 24hr format
	EndTime string `json:"end_time"`

	// StartTime Start time of the interval, in 24hr format
	StartTime string `json:"start_time"`

	// Weekday Weekdays for use with a schedule
	Weekday ScheduleRotationWorkingIntervalCreatePayloadV2Weekday `json:"weekday"`
}

ScheduleRotationWorkingIntervalCreatePayloadV2 defines model for ScheduleRotationWorkingIntervalCreatePayloadV2.

type ScheduleRotationWorkingIntervalCreatePayloadV2Weekday added in v1.0.1

type ScheduleRotationWorkingIntervalCreatePayloadV2Weekday string

ScheduleRotationWorkingIntervalCreatePayloadV2Weekday Weekdays for use with a schedule

const (
	ScheduleRotationWorkingIntervalCreatePayloadV2WeekdayFriday    ScheduleRotationWorkingIntervalCreatePayloadV2Weekday = "friday"
	ScheduleRotationWorkingIntervalCreatePayloadV2WeekdayMonday    ScheduleRotationWorkingIntervalCreatePayloadV2Weekday = "monday"
	ScheduleRotationWorkingIntervalCreatePayloadV2WeekdaySaturday  ScheduleRotationWorkingIntervalCreatePayloadV2Weekday = "saturday"
	ScheduleRotationWorkingIntervalCreatePayloadV2WeekdaySunday    ScheduleRotationWorkingIntervalCreatePayloadV2Weekday = "sunday"
	ScheduleRotationWorkingIntervalCreatePayloadV2WeekdayThursday  ScheduleRotationWorkingIntervalCreatePayloadV2Weekday = "thursday"
	ScheduleRotationWorkingIntervalCreatePayloadV2WeekdayTuesday   ScheduleRotationWorkingIntervalCreatePayloadV2Weekday = "tuesday"
	ScheduleRotationWorkingIntervalCreatePayloadV2WeekdayWednesday ScheduleRotationWorkingIntervalCreatePayloadV2Weekday = "wednesday"
)

Defines values for ScheduleRotationWorkingIntervalCreatePayloadV2Weekday.

func (ScheduleRotationWorkingIntervalCreatePayloadV2Weekday) Valid added in v1.0.1

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

type ScheduleRotationWorkingIntervalV2 added in v1.0.1

type ScheduleRotationWorkingIntervalV2 struct {
	// EndTime End time of the interval, in 24hr format
	EndTime string `json:"end_time"`

	// StartTime Start time of the interval, in 24hr format
	StartTime string `json:"start_time"`

	// Weekday Weekdays for use with a schedule
	Weekday ScheduleRotationWorkingIntervalV2Weekday `json:"weekday"`
}

ScheduleRotationWorkingIntervalV2 defines model for ScheduleRotationWorkingIntervalV2.

type ScheduleRotationWorkingIntervalV2Weekday added in v1.0.1

type ScheduleRotationWorkingIntervalV2Weekday string

ScheduleRotationWorkingIntervalV2Weekday Weekdays for use with a schedule

const (
	ScheduleRotationWorkingIntervalV2WeekdayFriday    ScheduleRotationWorkingIntervalV2Weekday = "friday"
	ScheduleRotationWorkingIntervalV2WeekdayMonday    ScheduleRotationWorkingIntervalV2Weekday = "monday"
	ScheduleRotationWorkingIntervalV2WeekdaySaturday  ScheduleRotationWorkingIntervalV2Weekday = "saturday"
	ScheduleRotationWorkingIntervalV2WeekdaySunday    ScheduleRotationWorkingIntervalV2Weekday = "sunday"
	ScheduleRotationWorkingIntervalV2WeekdayThursday  ScheduleRotationWorkingIntervalV2Weekday = "thursday"
	ScheduleRotationWorkingIntervalV2WeekdayTuesday   ScheduleRotationWorkingIntervalV2Weekday = "tuesday"
	ScheduleRotationWorkingIntervalV2WeekdayWednesday ScheduleRotationWorkingIntervalV2Weekday = "wednesday"
)

Defines values for ScheduleRotationWorkingIntervalV2Weekday.

func (ScheduleRotationWorkingIntervalV2Weekday) Valid added in v1.0.1

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

type ScheduleSyncRuleCreatePayloadV2 added in v1.0.1

type ScheduleSyncRuleCreatePayloadV2 struct {
	// Annotations Annotations that track metadata about this resource
	Annotations *map[string]string `json:"annotations,omitempty"`

	// PermanentMemberUserIds IDs of users to always keep in the Slack user group, regardless of who is on call. Each must be an active user in your organisation. Defaults to none.
	PermanentMemberUserIds *[]string `json:"permanent_member_user_ids,omitempty"`

	// RotationId If set, scopes the rule to a single rotation on the schedule. When unset, all rotations are synced.
	RotationId *string `json:"rotation_id,omitempty"`

	// ScheduleSyncTargetId The sync target to link to
	ScheduleSyncTargetId string `json:"schedule_sync_target_id"`

	// SyncType Which schedule members sync to the user group
	SyncType ScheduleSyncRuleCreatePayloadV2SyncType `json:"sync_type"`
}

ScheduleSyncRuleCreatePayloadV2 defines model for ScheduleSyncRuleCreatePayloadV2.

type ScheduleSyncRuleCreatePayloadV2SyncType added in v1.0.1

type ScheduleSyncRuleCreatePayloadV2SyncType string

ScheduleSyncRuleCreatePayloadV2SyncType Which schedule members sync to the user group

const (
	ScheduleSyncRuleCreatePayloadV2SyncTypeAllUsers   ScheduleSyncRuleCreatePayloadV2SyncType = "all_users"
	ScheduleSyncRuleCreatePayloadV2SyncTypeNextOnCall ScheduleSyncRuleCreatePayloadV2SyncType = "next_on_call"
	ScheduleSyncRuleCreatePayloadV2SyncTypeOnCall     ScheduleSyncRuleCreatePayloadV2SyncType = "on_call"
)

Defines values for ScheduleSyncRuleCreatePayloadV2SyncType.

func (ScheduleSyncRuleCreatePayloadV2SyncType) Valid added in v1.0.1

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

type ScheduleSyncRuleV2 added in v1.0.1

type ScheduleSyncRuleV2 struct {
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier of the sync rule
	Id string `json:"id"`

	// PermanentMemberUserIds IDs of users always kept in the Slack user group, regardless of who is on call. Useful for keeping e.g. a manager in the group so they see mentions without being paged. Scoped to this rule: when several rules feed the same group, we sync the union of their permanent members.
	PermanentMemberUserIds []string `json:"permanent_member_user_ids"`

	// RotationId If set, only members of this rotation sync to the user group. When unset, all rotations on the schedule are synced.
	RotationId *string `json:"rotation_id,omitempty"`

	// ScheduleId The schedule this rule belongs to
	ScheduleId string `json:"schedule_id"`

	// ScheduleSyncTarget A sync target is the link between incident.io and a single Slack user group,
	// used to keep that group's membership in step with who is currently on call.
	//
	// A target identifies the group by its Slack user group ID and Slack team ID,
	// and remembers whether the incident.io bot should be added to the group so it
	// can manage membership. On its own a target does nothing: you link it to a
	// schedule by creating a schedule sync rule (see the Schedules service), and
	// that rule decides which schedule members flow into the group. As the
	// schedule's shifts change hands, we update the Slack user group to match.
	//
	// A single target can be referenced by sync rules on several schedules at once;
	// linked_schedules lists every schedule with an active rule pointing at it.
	ScheduleSyncTarget ScheduleSyncTargetResourceV2 `json:"schedule_sync_target"`

	// ScheduleSyncTargetId The sync target ID this rule links to
	ScheduleSyncTargetId string `json:"schedule_sync_target_id"`

	// SyncType Which schedule members sync to the user group
	SyncType  ScheduleSyncRuleV2SyncType `json:"sync_type"`
	UpdatedAt time.Time                  `json:"updated_at"`
}

ScheduleSyncRuleV2 A sync rule links a schedule to a sync target, telling us which of the schedule's members should flow into the target's Slack user group.

sync_type decides who is synced: on_call syncs only the people currently on call, next_on_call syncs the people on the next upcoming shift, and all_users syncs everyone on the schedule. By default every rotation on the schedule is included; set rotation_id to scope the rule to a single rotation. As the schedule's shifts change hands, we keep the target's Slack user group membership in step with the rule.

A user group's members are the union of every rule feeding it, so one schedule can have several rules for the same target as long as they differ on rotation_id or sync_type. Point an on_call and a next_on_call rule at one group and it holds both the current and the next on-call.

permanent_member_user_ids names users who stay in the group whichever way the shifts fall, on top of whoever sync_type selects.

type ScheduleSyncRuleV2SyncType added in v1.0.1

type ScheduleSyncRuleV2SyncType string

ScheduleSyncRuleV2SyncType Which schedule members sync to the user group

const (
	ScheduleSyncRuleV2SyncTypeAllUsers   ScheduleSyncRuleV2SyncType = "all_users"
	ScheduleSyncRuleV2SyncTypeNextOnCall ScheduleSyncRuleV2SyncType = "next_on_call"
	ScheduleSyncRuleV2SyncTypeOnCall     ScheduleSyncRuleV2SyncType = "on_call"
)

Defines values for ScheduleSyncRuleV2SyncType.

func (ScheduleSyncRuleV2SyncType) Valid added in v1.0.1

func (e ScheduleSyncRuleV2SyncType) Valid() bool

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

type ScheduleSyncTargetCreatePayloadV2 added in v1.0.1

type ScheduleSyncTargetCreatePayloadV2 struct {
	// AddBotToGroup Whether the incident.io bot should be added to the group
	AddBotToGroup bool `json:"add_bot_to_group"`

	// Annotations Annotations that track metadata about this resource
	Annotations       *map[string]string          `json:"annotations,omitempty"`
	NewSlackUserGroup *NewSlackUserGroupPayloadV2 `json:"new_slack_user_group,omitempty"`

	// SlackUserGroupId Slack ID of an existing user group to sync to. Mutually exclusive with new_slack_user_group; exactly one must be set.
	SlackUserGroupId *string `json:"slack_user_group_id,omitempty"`
}

ScheduleSyncTargetCreatePayloadV2 defines model for ScheduleSyncTargetCreatePayloadV2.

type ScheduleSyncTargetResourceV2 added in v1.0.1

type ScheduleSyncTargetResourceV2 struct {
	// AddBotToGroup Whether the incident.io bot should be added to the group as a member. This is needed for some Slack configurations to let us manage the group's membership.
	AddBotToGroup bool      `json:"add_bot_to_group"`
	CreatedAt     time.Time `json:"created_at"`

	// Id Unique identifier of the sync target
	Id string `json:"id"`

	// LinkedSchedules Schedules with an active sync rule pointing at this target
	LinkedSchedules []LinkedScheduleV2 `json:"linked_schedules"`

	// SlackTeamId Slack team (workspace) ID the user group lives in. On Enterprise Grid this identifies which workspace within the org the group belongs to.
	SlackTeamId string `json:"slack_team_id"`

	// SlackUserGroupId Slack ID of the user group whose membership is kept in sync. This is the Slack-assigned group ID (starting with 'S'), not the @-handle.
	SlackUserGroupId string    `json:"slack_user_group_id"`
	UpdatedAt        time.Time `json:"updated_at"`
}

ScheduleSyncTargetResourceV2 A sync target is the link between incident.io and a single Slack user group, used to keep that group's membership in step with who is currently on call.

A target identifies the group by its Slack user group ID and Slack team ID, and remembers whether the incident.io bot should be added to the group so it can manage membership. On its own a target does nothing: you link it to a schedule by creating a schedule sync rule (see the Schedules service), and that rule decides which schedule members flow into the group. As the schedule's shifts change hands, we update the Slack user group to match.

A single target can be referenced by sync rules on several schedules at once; linked_schedules lists every schedule with an active rule pointing at it.

type ScheduleSyncTargetsCreatePayloadV2 added in v1.0.1

type ScheduleSyncTargetsCreatePayloadV2 struct {
	ScheduleSyncTarget ScheduleSyncTargetCreatePayloadV2 `json:"schedule_sync_target"`
}

ScheduleSyncTargetsCreatePayloadV2 defines model for ScheduleSyncTargetsCreatePayloadV2.

type ScheduleSyncTargetsCreateResultV2 added in v1.0.1

type ScheduleSyncTargetsCreateResultV2 struct {
	// ScheduleSyncTarget A sync target is the link between incident.io and a single Slack user group,
	// used to keep that group's membership in step with who is currently on call.
	//
	// A target identifies the group by its Slack user group ID and Slack team ID,
	// and remembers whether the incident.io bot should be added to the group so it
	// can manage membership. On its own a target does nothing: you link it to a
	// schedule by creating a schedule sync rule (see the Schedules service), and
	// that rule decides which schedule members flow into the group. As the
	// schedule's shifts change hands, we update the Slack user group to match.
	//
	// A single target can be referenced by sync rules on several schedules at once;
	// linked_schedules lists every schedule with an active rule pointing at it.
	ScheduleSyncTarget ScheduleSyncTargetResourceV2 `json:"schedule_sync_target"`
}

ScheduleSyncTargetsCreateResultV2 defines model for ScheduleSyncTargetsCreateResultV2.

type ScheduleSyncTargetsListResultV2 added in v1.0.1

type ScheduleSyncTargetsListResultV2 struct {
	PaginationMeta      *PaginationMetaResultV2        `json:"pagination_meta,omitempty"`
	ScheduleSyncTargets []ScheduleSyncTargetResourceV2 `json:"schedule_sync_targets"`
}

ScheduleSyncTargetsListResultV2 defines model for ScheduleSyncTargetsListResultV2.

type ScheduleSyncTargetsShowResultV2 added in v1.0.1

type ScheduleSyncTargetsShowResultV2 struct {
	// ScheduleSyncTarget A sync target is the link between incident.io and a single Slack user group,
	// used to keep that group's membership in step with who is currently on call.
	//
	// A target identifies the group by its Slack user group ID and Slack team ID,
	// and remembers whether the incident.io bot should be added to the group so it
	// can manage membership. On its own a target does nothing: you link it to a
	// schedule by creating a schedule sync rule (see the Schedules service), and
	// that rule decides which schedule members flow into the group. As the
	// schedule's shifts change hands, we update the Slack user group to match.
	//
	// A single target can be referenced by sync rules on several schedules at once;
	// linked_schedules lists every schedule with an active rule pointing at it.
	ScheduleSyncTarget ScheduleSyncTargetResourceV2 `json:"schedule_sync_target"`
}

ScheduleSyncTargetsShowResultV2 defines model for ScheduleSyncTargetsShowResultV2.

type ScheduleSyncTargetsUpdatePayloadV2 added in v1.0.1

type ScheduleSyncTargetsUpdatePayloadV2 struct {
	// AddBotToGroup Whether the incident.io bot should be added to the group
	AddBotToGroup bool `json:"add_bot_to_group"`

	// Annotations Annotations that track metadata about this resource
	Annotations *map[string]string `json:"annotations,omitempty"`
}

ScheduleSyncTargetsUpdatePayloadV2 defines model for ScheduleSyncTargetsUpdatePayloadV2.

type ScheduleSyncTargetsUpdateResultV2 added in v1.0.1

type ScheduleSyncTargetsUpdateResultV2 struct {
	// ScheduleSyncTarget A sync target is the link between incident.io and a single Slack user group,
	// used to keep that group's membership in step with who is currently on call.
	//
	// A target identifies the group by its Slack user group ID and Slack team ID,
	// and remembers whether the incident.io bot should be added to the group so it
	// can manage membership. On its own a target does nothing: you link it to a
	// schedule by creating a schedule sync rule (see the Schedules service), and
	// that rule decides which schedule members flow into the group. As the
	// schedule's shifts change hands, we update the Slack user group to match.
	//
	// A single target can be referenced by sync rules on several schedules at once;
	// linked_schedules lists every schedule with an active rule pointing at it.
	ScheduleSyncTarget ScheduleSyncTargetResourceV2 `json:"schedule_sync_target"`
}

ScheduleSyncTargetsUpdateResultV2 defines model for ScheduleSyncTargetsUpdateResultV2.

type ScheduleSyncTargetsV2CreateJSONRequestBody added in v1.0.1

type ScheduleSyncTargetsV2CreateJSONRequestBody = ScheduleSyncTargetsCreatePayloadV2

ScheduleSyncTargetsV2CreateJSONRequestBody defines body for ScheduleSyncTargetsV2Create for application/json ContentType.

type ScheduleSyncTargetsV2CreateResponse added in v1.0.1

type ScheduleSyncTargetsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ScheduleSyncTargetsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ScheduleSyncTargetsV2CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (ScheduleSyncTargetsV2CreateResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type ScheduleSyncTargetsV2DestroyResponse added in v1.0.1

type ScheduleSyncTargetsV2DestroyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ScheduleSyncTargetsV2DestroyResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (ScheduleSyncTargetsV2DestroyResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type ScheduleSyncTargetsV2ListParams added in v1.0.1

type ScheduleSyncTargetsV2ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A sync target's ID. This endpoint will return a list of sync targets after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

ScheduleSyncTargetsV2ListParams defines parameters for ScheduleSyncTargetsV2List.

type ScheduleSyncTargetsV2ListResponse added in v1.0.1

type ScheduleSyncTargetsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ScheduleSyncTargetsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ScheduleSyncTargetsV2ListResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (ScheduleSyncTargetsV2ListResponse) StatusCode added in v1.0.1

func (r ScheduleSyncTargetsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScheduleSyncTargetsV2ShowResponse added in v1.0.1

type ScheduleSyncTargetsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ScheduleSyncTargetsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ScheduleSyncTargetsV2ShowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (ScheduleSyncTargetsV2ShowResponse) StatusCode added in v1.0.1

func (r ScheduleSyncTargetsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScheduleSyncTargetsV2UpdateJSONRequestBody added in v1.0.1

type ScheduleSyncTargetsV2UpdateJSONRequestBody = ScheduleSyncTargetsUpdatePayloadV2

ScheduleSyncTargetsV2UpdateJSONRequestBody defines body for ScheduleSyncTargetsV2Update for application/json ContentType.

type ScheduleSyncTargetsV2UpdateResponse added in v1.0.1

type ScheduleSyncTargetsV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ScheduleSyncTargetsUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (ScheduleSyncTargetsV2UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (ScheduleSyncTargetsV2UpdateResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type ScheduleUpdatePayloadV2 added in v1.0.1

type ScheduleUpdatePayloadV2 struct {
	// Annotations Annotations that can track metadata about the schedule
	Annotations          *map[string]string                     `json:"annotations,omitempty"`
	Config               *ScheduleConfigUpdatePayloadV2         `json:"config,omitempty"`
	HolidaysPublicConfig *ScheduleHolidaysPublicConfigPayloadV2 `json:"holidays_public_config,omitempty"`

	// Name Name of the schedule
	Name *string `json:"name,omitempty"`

	// TeamIds IDs of teams that own this schedule
	TeamIds *[]string `json:"team_ids,omitempty"`

	// Timezone Timezone of the schedule
	Timezone *string `json:"timezone,omitempty"`
}

ScheduleUpdatePayloadV2 defines model for ScheduleUpdatePayloadV2.

type ScheduleV2 added in v1.0.1

type ScheduleV2 struct {
	// Annotations Annotations that track metadata about this resource
	Annotations map[string]string `json:"annotations"`
	Config      *ScheduleConfigV2 `json:"config,omitempty"`
	CreatedAt   time.Time         `json:"created_at"`

	// CurrentShifts Shifts that are ongoing for this schedule
	CurrentShifts        *[]ScheduleEntryV2              `json:"current_shifts,omitempty"`
	HolidaysPublicConfig *ScheduleHolidaysPublicConfigV2 `json:"holidays_public_config,omitempty"`

	// Id Unique internal ID of the schedule
	Id string `json:"id"`

	// Name Human readable name synced from external provider
	Name string `json:"name"`

	// NextShifts The shifts after the next changeover. Note that on the list schedules endpoint, this will always be empty if the page size requested is greater than 25.
	NextShifts *[]ScheduleEntryV2 `json:"next_shifts,omitempty"`

	// Permalink A permanent link to this schedule in the incident.io dashboard
	Permalink string `json:"permalink"`

	// TeamIds IDs of teams that own this schedule
	TeamIds []string `json:"team_ids"`

	// Timezone Timezone of the schedule, as interpreted at the point of generating the report
	Timezone  string    `json:"timezone"`
	UpdatedAt time.Time `json:"updated_at"`
}

ScheduleV2 defines model for ScheduleV2.

type SchedulesCreateOverridePayloadV2 added in v1.0.1

type SchedulesCreateOverridePayloadV2 struct {
	// EndAt End time of the override
	EndAt time.Time `json:"end_at"`

	// LayerId The layer this override applies to
	LayerId string `json:"layer_id"`

	// RotationId The rotation this override applies to
	RotationId string `json:"rotation_id"`

	// ScheduleId The schedule this override applies to
	ScheduleId string `json:"schedule_id"`

	// StartAt Start time of the override
	StartAt time.Time              `json:"start_at"`
	User    UserReferencePayloadV2 `json:"user"`
}

SchedulesCreateOverridePayloadV2 defines model for SchedulesCreateOverridePayloadV2.

type SchedulesCreateOverrideResultV2 added in v1.0.1

type SchedulesCreateOverrideResultV2 struct {
	Override ScheduleOverrideV2 `json:"override"`
}

SchedulesCreateOverrideResultV2 defines model for SchedulesCreateOverrideResultV2.

type SchedulesCreatePayloadV2 added in v1.0.1

type SchedulesCreatePayloadV2 struct {
	Schedule ScheduleCreatePayloadV2 `json:"schedule"`
}

SchedulesCreatePayloadV2 defines model for SchedulesCreatePayloadV2.

type SchedulesCreateResultV2 added in v1.0.1

type SchedulesCreateResultV2 struct {
	Schedule ScheduleV2 `json:"schedule"`
}

SchedulesCreateResultV2 defines model for SchedulesCreateResultV2.

type SchedulesCreateScheduleReplicaPayloadV2 added in v1.0.1

type SchedulesCreateScheduleReplicaPayloadV2 struct {
	ScheduleReplica ScheduleReplicaCreatePayloadV2 `json:"schedule_replica"`
}

SchedulesCreateScheduleReplicaPayloadV2 defines model for SchedulesCreateScheduleReplicaPayloadV2.

type SchedulesCreateScheduleReplicaResultV2 added in v1.0.1

type SchedulesCreateScheduleReplicaResultV2 struct {
	ScheduleReplica ScheduleReplicaV2 `json:"schedule_replica"`
}

SchedulesCreateScheduleReplicaResultV2 defines model for SchedulesCreateScheduleReplicaResultV2.

type SchedulesCreateScheduleSyncRulePayloadV2 added in v1.0.1

type SchedulesCreateScheduleSyncRulePayloadV2 struct {
	ScheduleSyncRule ScheduleSyncRuleCreatePayloadV2 `json:"schedule_sync_rule"`
}

SchedulesCreateScheduleSyncRulePayloadV2 defines model for SchedulesCreateScheduleSyncRulePayloadV2.

type SchedulesCreateScheduleSyncRuleResultV2 added in v1.0.1

type SchedulesCreateScheduleSyncRuleResultV2 struct {
	// ScheduleSyncRule A sync rule links a schedule to a sync target, telling us which of the
	// schedule's members should flow into the target's Slack user group.
	//
	// sync_type decides who is synced: on_call syncs only the people currently on
	// call, next_on_call syncs the people on the next upcoming shift, and all_users
	// syncs everyone on the schedule. By default every rotation on the schedule is
	// included; set rotation_id to scope the rule to a single rotation. As the
	// schedule's shifts change hands, we keep the target's Slack user group
	// membership in step with the rule.
	//
	// A user group's members are the union of every rule feeding it, so one schedule
	// can have several rules for the same target as long as they differ on
	// rotation_id or sync_type. Point an on_call and a next_on_call rule at one group
	// and it holds both the current and the next on-call.
	//
	// permanent_member_user_ids names users who stay in the group whichever way the
	// shifts fall, on top of whoever sync_type selects.
	ScheduleSyncRule ScheduleSyncRuleV2 `json:"schedule_sync_rule"`
}

SchedulesCreateScheduleSyncRuleResultV2 defines model for SchedulesCreateScheduleSyncRuleResultV2.

type SchedulesListOverridesResultV2 added in v1.0.36

type SchedulesListOverridesResultV2 struct {
	Overrides      []ScheduleOverrideV2    `json:"overrides"`
	PaginationMeta *PaginationMetaResultV2 `json:"pagination_meta,omitempty"`
}

SchedulesListOverridesResultV2 defines model for SchedulesListOverridesResultV2.

type SchedulesListResultV2 added in v1.0.1

type SchedulesListResultV2 struct {
	PaginationMeta *PaginationMetaResultWithTotalV2 `json:"pagination_meta,omitempty"`
	Schedules      []ScheduleV2                     `json:"schedules"`
}

SchedulesListResultV2 defines model for SchedulesListResultV2.

type SchedulesListScheduleEntriesResultV2 added in v1.0.1

type SchedulesListScheduleEntriesResultV2 struct {
	PaginationMeta *AfterPaginationMetaResultV2 `json:"pagination_meta,omitempty"`

	// ScheduleEntries The schedule entries for a window of time, grouped by where they come from.
	//
	// `scheduled` are the entries produced by the schedule's rotation rules before
	// any overrides are taken into account. `overrides` are the one-off changes that
	// apply within the window. `final` is the effective schedule after overrides
	// have been merged in — this is normally the list to use when working out who
	// is on-call.
	ScheduleEntries ScheduleEntriesListPayloadV2 `json:"schedule_entries"`
}

SchedulesListScheduleEntriesResultV2 defines model for SchedulesListScheduleEntriesResultV2.

type SchedulesListScheduleReplicasResultV2 added in v1.0.1

type SchedulesListScheduleReplicasResultV2 struct {
	ScheduleReplicas []ScheduleReplicaV2 `json:"schedule_replicas"`
}

SchedulesListScheduleReplicasResultV2 defines model for SchedulesListScheduleReplicasResultV2.

type SchedulesListScheduleSyncRulesResultV2 added in v1.0.1

type SchedulesListScheduleSyncRulesResultV2 struct {
	PaginationMeta    *PaginationMetaResultV2 `json:"pagination_meta,omitempty"`
	ScheduleSyncRules []ScheduleSyncRuleV2    `json:"schedule_sync_rules"`
}

SchedulesListScheduleSyncRulesResultV2 defines model for SchedulesListScheduleSyncRulesResultV2.

type SchedulesPreviewScheduleEntriesPayloadV2 added in v1.0.1

type SchedulesPreviewScheduleEntriesPayloadV2 struct {
	// EntryWindowEnd The end of the window to preview entries for. Defaults to four weeks after entry_window_start.
	EntryWindowEnd *time.Time `json:"entry_window_end,omitempty"`

	// EntryWindowStart The start of the window to preview entries for. Defaults to now.
	EntryWindowStart *time.Time              `json:"entry_window_start,omitempty"`
	Schedule         ScheduleUpdatePayloadV2 `json:"schedule"`
}

SchedulesPreviewScheduleEntriesPayloadV2 defines model for SchedulesPreviewScheduleEntriesPayloadV2.

type SchedulesPreviewScheduleEntriesResultV2 added in v1.0.1

type SchedulesPreviewScheduleEntriesResultV2 struct {
	// ScheduleEntries The schedule entries for a window of time, grouped by where they come from.
	//
	// `scheduled` are the entries produced by the schedule's rotation rules before
	// any overrides are taken into account. `overrides` are the one-off changes that
	// apply within the window. `final` is the effective schedule after overrides
	// have been merged in — this is normally the list to use when working out who
	// is on-call.
	ScheduleEntries ScheduleEntriesListPayloadV2 `json:"schedule_entries"`
}

SchedulesPreviewScheduleEntriesResultV2 defines model for SchedulesPreviewScheduleEntriesResultV2.

type SchedulesShowOverrideResultV2 added in v1.0.81

type SchedulesShowOverrideResultV2 struct {
	Override ScheduleOverrideV2 `json:"override"`
}

SchedulesShowOverrideResultV2 defines model for SchedulesShowOverrideResultV2.

type SchedulesShowResultV2 added in v1.0.1

type SchedulesShowResultV2 struct {
	Schedule ScheduleV2 `json:"schedule"`
}

SchedulesShowResultV2 defines model for SchedulesShowResultV2.

type SchedulesShowScheduleReplicaResultV2 added in v1.0.1

type SchedulesShowScheduleReplicaResultV2 struct {
	ScheduleReplica ScheduleReplicaV2 `json:"schedule_replica"`
}

SchedulesShowScheduleReplicaResultV2 defines model for SchedulesShowScheduleReplicaResultV2.

type SchedulesShowScheduleSyncRuleResultV2 added in v1.0.1

type SchedulesShowScheduleSyncRuleResultV2 struct {
	// ScheduleSyncRule A sync rule links a schedule to a sync target, telling us which of the
	// schedule's members should flow into the target's Slack user group.
	//
	// sync_type decides who is synced: on_call syncs only the people currently on
	// call, next_on_call syncs the people on the next upcoming shift, and all_users
	// syncs everyone on the schedule. By default every rotation on the schedule is
	// included; set rotation_id to scope the rule to a single rotation. As the
	// schedule's shifts change hands, we keep the target's Slack user group
	// membership in step with the rule.
	//
	// A user group's members are the union of every rule feeding it, so one schedule
	// can have several rules for the same target as long as they differ on
	// rotation_id or sync_type. Point an on_call and a next_on_call rule at one group
	// and it holds both the current and the next on-call.
	//
	// permanent_member_user_ids names users who stay in the group whichever way the
	// shifts fall, on top of whoever sync_type selects.
	ScheduleSyncRule ScheduleSyncRuleV2 `json:"schedule_sync_rule"`
}

SchedulesShowScheduleSyncRuleResultV2 defines model for SchedulesShowScheduleSyncRuleResultV2.

type SchedulesUpdateOverridePayloadV2 added in v1.0.70

type SchedulesUpdateOverridePayloadV2 struct {
	// EndAt End time of the override
	EndAt time.Time `json:"end_at"`

	// LayerId The layer this override applies to
	LayerId string `json:"layer_id"`

	// RotationId The rotation this override applies to
	RotationId string `json:"rotation_id"`

	// StartAt Start time of the override
	StartAt time.Time              `json:"start_at"`
	User    UserReferencePayloadV2 `json:"user"`
}

SchedulesUpdateOverridePayloadV2 defines model for SchedulesUpdateOverridePayloadV2.

type SchedulesUpdateOverrideResultV2 added in v1.0.70

type SchedulesUpdateOverrideResultV2 struct {
	Override ScheduleOverrideV2 `json:"override"`
}

SchedulesUpdateOverrideResultV2 defines model for SchedulesUpdateOverrideResultV2.

type SchedulesUpdatePayloadV2 added in v1.0.1

type SchedulesUpdatePayloadV2 struct {
	Schedule ScheduleUpdatePayloadV2 `json:"schedule"`
}

SchedulesUpdatePayloadV2 defines model for SchedulesUpdatePayloadV2.

type SchedulesUpdateResultV2 added in v1.0.1

type SchedulesUpdateResultV2 struct {
	Schedule ScheduleV2 `json:"schedule"`
}

SchedulesUpdateResultV2 defines model for SchedulesUpdateResultV2.

type SchedulesUpdateScheduleSyncRulePayloadV2 added in v1.0.1

type SchedulesUpdateScheduleSyncRulePayloadV2 struct {
	// Annotations Annotations that track metadata about this resource
	Annotations *map[string]string `json:"annotations,omitempty"`

	// PermanentMemberUserIds IDs of users to always keep in the Slack user group, regardless of who is on call. Each must be an active user in your organisation. Replaces the rule's current permanent members: pass an empty array to remove them all, or omit the field to leave them unchanged.
	PermanentMemberUserIds *[]string `json:"permanent_member_user_ids,omitempty"`

	// SyncType Which schedule members sync to the user group
	SyncType SchedulesUpdateScheduleSyncRulePayloadV2SyncType `json:"sync_type"`
}

SchedulesUpdateScheduleSyncRulePayloadV2 defines model for SchedulesUpdateScheduleSyncRulePayloadV2.

type SchedulesUpdateScheduleSyncRulePayloadV2SyncType added in v1.0.1

type SchedulesUpdateScheduleSyncRulePayloadV2SyncType string

SchedulesUpdateScheduleSyncRulePayloadV2SyncType Which schedule members sync to the user group

Defines values for SchedulesUpdateScheduleSyncRulePayloadV2SyncType.

func (SchedulesUpdateScheduleSyncRulePayloadV2SyncType) Valid added in v1.0.1

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

type SchedulesUpdateScheduleSyncRuleResultV2 added in v1.0.1

type SchedulesUpdateScheduleSyncRuleResultV2 struct {
	// ScheduleSyncRule A sync rule links a schedule to a sync target, telling us which of the
	// schedule's members should flow into the target's Slack user group.
	//
	// sync_type decides who is synced: on_call syncs only the people currently on
	// call, next_on_call syncs the people on the next upcoming shift, and all_users
	// syncs everyone on the schedule. By default every rotation on the schedule is
	// included; set rotation_id to scope the rule to a single rotation. As the
	// schedule's shifts change hands, we keep the target's Slack user group
	// membership in step with the rule.
	//
	// A user group's members are the union of every rule feeding it, so one schedule
	// can have several rules for the same target as long as they differ on
	// rotation_id or sync_type. Point an on_call and a next_on_call rule at one group
	// and it holds both the current and the next on-call.
	//
	// permanent_member_user_ids names users who stay in the group whichever way the
	// shifts fall, on top of whoever sync_type selects.
	ScheduleSyncRule ScheduleSyncRuleV2 `json:"schedule_sync_rule"`
}

SchedulesUpdateScheduleSyncRuleResultV2 defines model for SchedulesUpdateScheduleSyncRuleResultV2.

type SchedulesV2CreateJSONRequestBody added in v1.0.1

type SchedulesV2CreateJSONRequestBody = SchedulesCreatePayloadV2

SchedulesV2CreateJSONRequestBody defines body for SchedulesV2Create for application/json ContentType.

type SchedulesV2CreateOverrideJSONRequestBody added in v1.0.1

type SchedulesV2CreateOverrideJSONRequestBody = SchedulesCreateOverridePayloadV2

SchedulesV2CreateOverrideJSONRequestBody defines body for SchedulesV2CreateOverride for application/json ContentType.

type SchedulesV2CreateOverrideResponse added in v1.0.1

type SchedulesV2CreateOverrideResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SchedulesCreateOverrideResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2CreateOverrideResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2CreateOverrideResponse) StatusCode added in v1.0.1

func (r SchedulesV2CreateOverrideResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2CreateResponse added in v1.0.1

type SchedulesV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SchedulesCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2CreateResponse) Status added in v1.0.1

func (r SchedulesV2CreateResponse) Status() string

Status returns HTTPResponse.Status

func (SchedulesV2CreateResponse) StatusCode added in v1.0.1

func (r SchedulesV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2CreateScheduleReplicaJSONRequestBody added in v1.0.1

type SchedulesV2CreateScheduleReplicaJSONRequestBody = SchedulesCreateScheduleReplicaPayloadV2

SchedulesV2CreateScheduleReplicaJSONRequestBody defines body for SchedulesV2CreateScheduleReplica for application/json ContentType.

type SchedulesV2CreateScheduleReplicaResponse added in v1.0.1

type SchedulesV2CreateScheduleReplicaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SchedulesCreateScheduleReplicaResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2CreateScheduleReplicaResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2CreateScheduleReplicaResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2CreateScheduleSyncRuleJSONRequestBody added in v1.0.1

type SchedulesV2CreateScheduleSyncRuleJSONRequestBody = SchedulesCreateScheduleSyncRulePayloadV2

SchedulesV2CreateScheduleSyncRuleJSONRequestBody defines body for SchedulesV2CreateScheduleSyncRule for application/json ContentType.

type SchedulesV2CreateScheduleSyncRuleResponse added in v1.0.1

type SchedulesV2CreateScheduleSyncRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SchedulesCreateScheduleSyncRuleResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2CreateScheduleSyncRuleResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2CreateScheduleSyncRuleResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2DestroyOverrideResponse added in v1.0.69

type SchedulesV2DestroyOverrideResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2DestroyOverrideResponse) Status added in v1.0.69

Status returns HTTPResponse.Status

func (SchedulesV2DestroyOverrideResponse) StatusCode added in v1.0.69

func (r SchedulesV2DestroyOverrideResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2DestroyResponse added in v1.0.1

type SchedulesV2DestroyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2DestroyResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2DestroyResponse) StatusCode added in v1.0.1

func (r SchedulesV2DestroyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2DestroyScheduleReplicaResponse added in v1.0.1

type SchedulesV2DestroyScheduleReplicaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2DestroyScheduleReplicaResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2DestroyScheduleReplicaResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2DestroyScheduleSyncRuleResponse added in v1.0.1

type SchedulesV2DestroyScheduleSyncRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2DestroyScheduleSyncRuleResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2DestroyScheduleSyncRuleResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ListOverridesParams added in v1.0.36

type SchedulesV2ListOverridesParams struct {
	// ScheduleId The ID of the schedule to get overrides for.
	ScheduleId string `form:"schedule_id" json:"schedule_id"`

	// RotationId If set, only return overrides on this rotation.
	RotationId *string `form:"rotation_id,omitempty" json:"rotation_id,omitempty"`

	// LayerId If set, only return overrides on this layer.
	LayerId *string `form:"layer_id,omitempty" json:"layer_id,omitempty"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An override's ID. This endpoint will return a list of overrides after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

SchedulesV2ListOverridesParams defines parameters for SchedulesV2ListOverrides.

type SchedulesV2ListOverridesResponse added in v1.0.36

type SchedulesV2ListOverridesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesListOverridesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ListOverridesResponse) Status added in v1.0.36

Status returns HTTPResponse.Status

func (SchedulesV2ListOverridesResponse) StatusCode added in v1.0.36

func (r SchedulesV2ListOverridesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ListParams added in v1.0.1

type SchedulesV2ListParams struct {
	// PageSize Note that next_shifts will only be returned when the page size is 25 or lower.
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A schedule's ID. This endpoint will return a list of schedules after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

SchedulesV2ListParams defines parameters for SchedulesV2List.

type SchedulesV2ListResponse added in v1.0.1

type SchedulesV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ListResponse) Status added in v1.0.1

func (r SchedulesV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (SchedulesV2ListResponse) StatusCode added in v1.0.1

func (r SchedulesV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ListScheduleEntriesParams added in v1.0.1

type SchedulesV2ListScheduleEntriesParams struct {
	// ScheduleId The ID of the schedule to get entries for.
	ScheduleId string `form:"schedule_id" json:"schedule_id"`

	// EntryWindowStart The start of the window to get entries for. May also carry an opaque pagination cursor previously returned in `pagination_meta.after` — pass it back here unchanged to fetch the next page (leave `entry_window_end` unchanged from the original request).
	EntryWindowStart *string `form:"entry_window_start,omitempty" json:"entry_window_start,omitempty"`

	// EntryWindowEnd The end of the window to get entries for.
	EntryWindowEnd *time.Time `form:"entry_window_end,omitempty" json:"entry_window_end,omitempty"`
}

SchedulesV2ListScheduleEntriesParams defines parameters for SchedulesV2ListScheduleEntries.

type SchedulesV2ListScheduleEntriesResponse added in v1.0.1

type SchedulesV2ListScheduleEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesListScheduleEntriesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ListScheduleEntriesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2ListScheduleEntriesResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ListScheduleReplicasResponse added in v1.0.1

type SchedulesV2ListScheduleReplicasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesListScheduleReplicasResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ListScheduleReplicasResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2ListScheduleReplicasResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ListScheduleSyncRulesParams added in v1.0.1

type SchedulesV2ListScheduleSyncRulesParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A sync rule's ID. This endpoint will return a list of sync rules after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

SchedulesV2ListScheduleSyncRulesParams defines parameters for SchedulesV2ListScheduleSyncRules.

type SchedulesV2ListScheduleSyncRulesResponse added in v1.0.1

type SchedulesV2ListScheduleSyncRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesListScheduleSyncRulesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ListScheduleSyncRulesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2ListScheduleSyncRulesResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2PreviewScheduleEntriesJSONRequestBody added in v1.0.1

type SchedulesV2PreviewScheduleEntriesJSONRequestBody = SchedulesPreviewScheduleEntriesPayloadV2

SchedulesV2PreviewScheduleEntriesJSONRequestBody defines body for SchedulesV2PreviewScheduleEntries for application/json ContentType.

type SchedulesV2PreviewScheduleEntriesResponse added in v1.0.1

type SchedulesV2PreviewScheduleEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesPreviewScheduleEntriesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2PreviewScheduleEntriesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2PreviewScheduleEntriesResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ShowOverrideResponse added in v1.0.81

type SchedulesV2ShowOverrideResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesShowOverrideResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ShowOverrideResponse) Status added in v1.0.81

Status returns HTTPResponse.Status

func (SchedulesV2ShowOverrideResponse) StatusCode added in v1.0.81

func (r SchedulesV2ShowOverrideResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ShowResponse added in v1.0.1

type SchedulesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ShowResponse) Status added in v1.0.1

func (r SchedulesV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (SchedulesV2ShowResponse) StatusCode added in v1.0.1

func (r SchedulesV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ShowScheduleReplicaResponse added in v1.0.1

type SchedulesV2ShowScheduleReplicaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesShowScheduleReplicaResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ShowScheduleReplicaResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2ShowScheduleReplicaResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2ShowScheduleSyncRuleResponse added in v1.0.1

type SchedulesV2ShowScheduleSyncRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesShowScheduleSyncRuleResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2ShowScheduleSyncRuleResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2ShowScheduleSyncRuleResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2UpdateJSONRequestBody added in v1.0.1

type SchedulesV2UpdateJSONRequestBody = SchedulesUpdatePayloadV2

SchedulesV2UpdateJSONRequestBody defines body for SchedulesV2Update for application/json ContentType.

type SchedulesV2UpdateOverrideJSONRequestBody added in v1.0.70

type SchedulesV2UpdateOverrideJSONRequestBody = SchedulesUpdateOverridePayloadV2

SchedulesV2UpdateOverrideJSONRequestBody defines body for SchedulesV2UpdateOverride for application/json ContentType.

type SchedulesV2UpdateOverrideResponse added in v1.0.70

type SchedulesV2UpdateOverrideResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesUpdateOverrideResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2UpdateOverrideResponse) Status added in v1.0.70

Status returns HTTPResponse.Status

func (SchedulesV2UpdateOverrideResponse) StatusCode added in v1.0.70

func (r SchedulesV2UpdateOverrideResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2UpdateResponse added in v1.0.1

type SchedulesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2UpdateResponse) Status added in v1.0.1

func (r SchedulesV2UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (SchedulesV2UpdateResponse) StatusCode added in v1.0.1

func (r SchedulesV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SchedulesV2UpdateScheduleSyncRuleJSONRequestBody added in v1.0.1

type SchedulesV2UpdateScheduleSyncRuleJSONRequestBody = SchedulesUpdateScheduleSyncRulePayloadV2

SchedulesV2UpdateScheduleSyncRuleJSONRequestBody defines body for SchedulesV2UpdateScheduleSyncRule for application/json ContentType.

type SchedulesV2UpdateScheduleSyncRuleResponse added in v1.0.1

type SchedulesV2UpdateScheduleSyncRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesUpdateScheduleSyncRuleResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SchedulesV2UpdateScheduleSyncRuleResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SchedulesV2UpdateScheduleSyncRuleResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type SecretV2 added in v1.0.29

type SecretV2 struct {
	CreatedAt time.Time `json:"created_at"`

	// Description Optional description of what this secret is for
	Description *string `json:"description,omitempty"`

	// Id Unique identifier for this secret
	Id string `json:"id"`

	// LastFourChars The last four characters of the current value, for masked display. Absent when the value is four characters or shorter.
	LastFourChars *string `json:"last_four_chars,omitempty"`

	// Name Human-readable name, unique within the organisation amongst unarchived secrets
	Name string `json:"name"`

	// OwningTeamIds IDs of the teams that own this secret. Empty means the secret is owned by the whole organisation.
	OwningTeamIds []string  `json:"owning_team_ids"`
	UpdatedAt     time.Time `json:"updated_at"`

	// Version The current version number, incremented on each rotation
	Version int64 `json:"version"`
}

SecretV2 A secret is a named credential that workflows can reference, for example an auth token for an outgoing webhook.

Its value can be set and rotated but never read back: the API stores it encrypted and only ever returns masked metadata (the last four characters of the current value). Update the value with the rotate action, which appends a new version and retires the previous one.

type SecretVersionV2 added in v1.0.29

type SecretVersionV2 struct {
	CreatedAt time.Time `json:"created_at"`
	CreatedBy *ActorV2  `json:"created_by,omitempty"`

	// LastFourChars The last four characters of this version's value, for masked display. Absent when the value was four characters or shorter.
	LastFourChars *string `json:"last_four_chars,omitempty"`

	// Version The version number, incremented on each rotation
	Version int64 `json:"version"`
}

SecretVersionV2 A single version of a secret's value. Only metadata is exposed; the value itself is never returned.

type SecretsCreatePayloadV2 added in v1.0.29

type SecretsCreatePayloadV2 struct {
	// Description Optional description of what this secret is for
	Description *string `json:"description,omitempty"`

	// Name Human-readable name, unique within the organisation amongst unarchived secrets
	Name string `json:"name"`

	// OwningTeamIds IDs of the teams that own this secret. When empty or omitted, the secret is owned by the whole organisation.
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// Value The secret's plaintext value. It's stored encrypted and never returned by the API.
	Value string `json:"value"`
}

SecretsCreatePayloadV2 defines model for SecretsCreatePayloadV2.

type SecretsCreateResultV2 added in v1.0.29

type SecretsCreateResultV2 struct {
	// Secret A secret is a named credential that workflows can reference, for example
	// an auth token for an outgoing webhook.
	//
	// Its value can be set and rotated but never read back: the API stores it
	// encrypted and only ever returns masked metadata (the last four characters of
	// the current value). Update the value with the rotate action, which appends a
	// new version and retires the previous one.
	Secret SecretV2 `json:"secret"`
}

SecretsCreateResultV2 defines model for SecretsCreateResultV2.

type SecretsListResultV2 added in v1.0.29

type SecretsListResultV2 struct {
	PaginationMeta *PaginationMetaResultV2 `json:"pagination_meta,omitempty"`
	Secrets        []SecretV2              `json:"secrets"`
}

SecretsListResultV2 defines model for SecretsListResultV2.

type SecretsRotatePayloadV2 added in v1.0.29

type SecretsRotatePayloadV2 struct {
	// Value The secret's new plaintext value. It's stored encrypted and never returned by the API.
	Value string `json:"value"`
}

SecretsRotatePayloadV2 defines model for SecretsRotatePayloadV2.

type SecretsRotateResultV2 added in v1.0.29

type SecretsRotateResultV2 struct {
	// Secret A secret is a named credential that workflows can reference, for example
	// an auth token for an outgoing webhook.
	//
	// Its value can be set and rotated but never read back: the API stores it
	// encrypted and only ever returns masked metadata (the last four characters of
	// the current value). Update the value with the rotate action, which appends a
	// new version and retires the previous one.
	Secret SecretV2 `json:"secret"`
}

SecretsRotateResultV2 defines model for SecretsRotateResultV2.

type SecretsShowResultV2 added in v1.0.29

type SecretsShowResultV2 struct {
	// Secret A secret is a named credential that workflows can reference, for example
	// an auth token for an outgoing webhook.
	//
	// Its value can be set and rotated but never read back: the API stores it
	// encrypted and only ever returns masked metadata (the last four characters of
	// the current value). Update the value with the rotate action, which appends a
	// new version and retires the previous one.
	Secret SecretV2 `json:"secret"`

	// Versions The secret's versions, newest first
	Versions []SecretVersionV2 `json:"versions"`
}

SecretsShowResultV2 defines model for SecretsShowResultV2.

type SecretsUpdatePayloadV2 added in v1.0.29

type SecretsUpdatePayloadV2 struct {
	// Description Optional description of what this secret is for
	Description *string `json:"description,omitempty"`

	// Name Human-readable name, unique within the organisation amongst unarchived secrets
	Name string `json:"name"`

	// OwningTeamIds IDs of the teams that own this secret. When omitted, the existing owning teams are left unchanged.
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`
}

SecretsUpdatePayloadV2 defines model for SecretsUpdatePayloadV2.

type SecretsUpdateResultV2 added in v1.0.29

type SecretsUpdateResultV2 struct {
	// Secret A secret is a named credential that workflows can reference, for example
	// an auth token for an outgoing webhook.
	//
	// Its value can be set and rotated but never read back: the API stores it
	// encrypted and only ever returns masked metadata (the last four characters of
	// the current value). Update the value with the rotate action, which appends a
	// new version and retires the previous one.
	Secret SecretV2 `json:"secret"`
}

SecretsUpdateResultV2 defines model for SecretsUpdateResultV2.

type SecretsV2CreateJSONRequestBody added in v1.0.29

type SecretsV2CreateJSONRequestBody = SecretsCreatePayloadV2

SecretsV2CreateJSONRequestBody defines body for SecretsV2Create for application/json ContentType.

type SecretsV2CreateResponse added in v1.0.29

type SecretsV2CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SecretsCreateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SecretsV2CreateResponse) Status added in v1.0.29

func (r SecretsV2CreateResponse) Status() string

Status returns HTTPResponse.Status

func (SecretsV2CreateResponse) StatusCode added in v1.0.29

func (r SecretsV2CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SecretsV2DestroyResponse added in v1.0.29

type SecretsV2DestroyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SecretsV2DestroyResponse) Status added in v1.0.29

func (r SecretsV2DestroyResponse) Status() string

Status returns HTTPResponse.Status

func (SecretsV2DestroyResponse) StatusCode added in v1.0.29

func (r SecretsV2DestroyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SecretsV2ListParams added in v1.0.29

type SecretsV2ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A secret's ID. This endpoint will return a list of secrets after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// TeamIds Filter to secrets owned by any of these teams
	TeamIds *[]string `form:"team_ids,omitempty" json:"team_ids,omitempty"`
}

SecretsV2ListParams defines parameters for SecretsV2List.

type SecretsV2ListResponse added in v1.0.29

type SecretsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SecretsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SecretsV2ListResponse) Status added in v1.0.29

func (r SecretsV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (SecretsV2ListResponse) StatusCode added in v1.0.29

func (r SecretsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SecretsV2RotateJSONRequestBody added in v1.0.29

type SecretsV2RotateJSONRequestBody = SecretsRotatePayloadV2

SecretsV2RotateJSONRequestBody defines body for SecretsV2Rotate for application/json ContentType.

type SecretsV2RotateResponse added in v1.0.29

type SecretsV2RotateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SecretsRotateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SecretsV2RotateResponse) Status added in v1.0.29

func (r SecretsV2RotateResponse) Status() string

Status returns HTTPResponse.Status

func (SecretsV2RotateResponse) StatusCode added in v1.0.29

func (r SecretsV2RotateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SecretsV2ShowResponse added in v1.0.29

type SecretsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SecretsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SecretsV2ShowResponse) Status added in v1.0.29

func (r SecretsV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (SecretsV2ShowResponse) StatusCode added in v1.0.29

func (r SecretsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SecretsV2UpdateJSONRequestBody added in v1.0.29

type SecretsV2UpdateJSONRequestBody = SecretsUpdatePayloadV2

SecretsV2UpdateJSONRequestBody defines body for SecretsV2Update for application/json ContentType.

type SecretsV2UpdateResponse added in v1.0.29

type SecretsV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SecretsUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SecretsV2UpdateResponse) Status added in v1.0.29

func (r SecretsV2UpdateResponse) Status() string

Status returns HTTPResponse.Status

func (SecretsV2UpdateResponse) StatusCode added in v1.0.29

func (r SecretsV2UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SeveritiesCreatePayloadV1 added in v1.0.1

type SeveritiesCreatePayloadV1 struct {
	// Description Description of the severity
	Description string `json:"description"`

	// Name Human readable name of the severity
	Name string `json:"name"`

	// Rank Rank to help sort severities (lower numbers are less severe)
	Rank *int64 `json:"rank,omitempty"`
}

SeveritiesCreatePayloadV1 defines model for SeveritiesCreatePayloadV1.

type SeveritiesCreateResultV1 added in v1.0.1

type SeveritiesCreateResultV1 struct {
	Severity SeverityV1 `json:"severity"`
}

SeveritiesCreateResultV1 defines model for SeveritiesCreateResultV1.

type SeveritiesListResultV1 added in v1.0.1

type SeveritiesListResultV1 struct {
	Severities []SeverityV1 `json:"severities"`
}

SeveritiesListResultV1 defines model for SeveritiesListResultV1.

type SeveritiesShowResultV1 added in v1.0.1

type SeveritiesShowResultV1 struct {
	Severity SeverityV1 `json:"severity"`
}

SeveritiesShowResultV1 defines model for SeveritiesShowResultV1.

type SeveritiesUpdatePayloadV1 added in v1.0.1

type SeveritiesUpdatePayloadV1 struct {
	// Description Description of the severity
	Description string `json:"description"`

	// Name Human readable name of the severity
	Name string `json:"name"`

	// Rank Rank to help sort severities (lower numbers are less severe)
	Rank *int64 `json:"rank,omitempty"`
}

SeveritiesUpdatePayloadV1 defines model for SeveritiesUpdatePayloadV1.

type SeveritiesUpdateResultV1 added in v1.0.1

type SeveritiesUpdateResultV1 struct {
	Severity SeverityV1 `json:"severity"`
}

SeveritiesUpdateResultV1 defines model for SeveritiesUpdateResultV1.

type SeveritiesV1CreateJSONRequestBody added in v1.0.1

type SeveritiesV1CreateJSONRequestBody = SeveritiesCreatePayloadV1

SeveritiesV1CreateJSONRequestBody defines body for SeveritiesV1Create for application/json ContentType.

type SeveritiesV1CreateResponse added in v1.0.1

type SeveritiesV1CreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SeveritiesCreateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SeveritiesV1CreateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SeveritiesV1CreateResponse) StatusCode added in v1.0.1

func (r SeveritiesV1CreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SeveritiesV1DeleteResponse added in v1.0.1

type SeveritiesV1DeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SeveritiesV1DeleteResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SeveritiesV1DeleteResponse) StatusCode added in v1.0.1

func (r SeveritiesV1DeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SeveritiesV1ListResponse added in v1.0.1

type SeveritiesV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SeveritiesListResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SeveritiesV1ListResponse) Status added in v1.0.1

func (r SeveritiesV1ListResponse) Status() string

Status returns HTTPResponse.Status

func (SeveritiesV1ListResponse) StatusCode added in v1.0.1

func (r SeveritiesV1ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SeveritiesV1ShowResponse added in v1.0.1

type SeveritiesV1ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SeveritiesShowResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SeveritiesV1ShowResponse) Status added in v1.0.1

func (r SeveritiesV1ShowResponse) Status() string

Status returns HTTPResponse.Status

func (SeveritiesV1ShowResponse) StatusCode added in v1.0.1

func (r SeveritiesV1ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SeveritiesV1UpdateJSONRequestBody added in v1.0.1

type SeveritiesV1UpdateJSONRequestBody = SeveritiesUpdatePayloadV1

SeveritiesV1UpdateJSONRequestBody defines body for SeveritiesV1Update for application/json ContentType.

type SeveritiesV1UpdateResponse added in v1.0.1

type SeveritiesV1UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SeveritiesUpdateResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (SeveritiesV1UpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (SeveritiesV1UpdateResponse) StatusCode added in v1.0.1

func (r SeveritiesV1UpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SeverityV1 added in v1.0.1

type SeverityV1 struct {
	// CreatedAt When the action was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the severity
	Description string `json:"description"`

	// Id Unique identifier of the severity
	Id string `json:"id"`

	// Name Human readable name of the severity
	Name string `json:"name"`

	// Rank Rank to help sort severities (lower numbers are less severe)
	Rank int64 `json:"rank"`

	// UpdatedAt When the action was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

SeverityV1 defines model for SeverityV1.

type SeverityV2 added in v1.0.1

type SeverityV2 struct {
	// CreatedAt When the action was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the severity
	Description string `json:"description"`

	// Id Unique identifier of the severity
	Id string `json:"id"`

	// Name Human readable name of the severity
	Name string `json:"name"`

	// Rank Rank to help sort severities (lower numbers are less severe)
	Rank int64 `json:"rank"`

	// UpdatedAt When the action was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

SeverityV2 defines model for SeverityV2.

type StatusPageIncidentAffectedComponentV2 added in v1.0.1

type StatusPageIncidentAffectedComponentV2 struct {
	// ComponentId The ID of the affected component. This may be found by calling the ShowStatusPageStructure endpoint.
	ComponentId string `json:"component_id"`

	// ComponentStatus The status of the relevant component in a status page incident
	ComponentStatus StatusPageIncidentAffectedComponentV2ComponentStatus `json:"component_status"`
}

StatusPageIncidentAffectedComponentV2 defines model for StatusPageIncidentAffectedComponentV2.

type StatusPageIncidentAffectedComponentV2ComponentStatus added in v1.0.1

type StatusPageIncidentAffectedComponentV2ComponentStatus string

StatusPageIncidentAffectedComponentV2ComponentStatus The status of the relevant component in a status page incident

const (
	StatusPageIncidentAffectedComponentV2ComponentStatusDegradedPerformance StatusPageIncidentAffectedComponentV2ComponentStatus = "degraded_performance"
	StatusPageIncidentAffectedComponentV2ComponentStatusFullOutage          StatusPageIncidentAffectedComponentV2ComponentStatus = "full_outage"
	StatusPageIncidentAffectedComponentV2ComponentStatusOperational         StatusPageIncidentAffectedComponentV2ComponentStatus = "operational"
	StatusPageIncidentAffectedComponentV2ComponentStatusPartialOutage       StatusPageIncidentAffectedComponentV2ComponentStatus = "partial_outage"
)

Defines values for StatusPageIncidentAffectedComponentV2ComponentStatus.

func (StatusPageIncidentAffectedComponentV2ComponentStatus) Valid added in v1.0.1

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

type StatusPageIncidentComponentImpactV2 added in v1.0.1

type StatusPageIncidentComponentImpactV2 struct {
	// ComponentId The ID of the affected component. This may be found by calling the ShowStatusPageStructure endpoint.
	ComponentId string `json:"component_id"`

	// ComponentStatus The status of the relevant component impact in a status page incident - this excludes the operational status.
	ComponentStatus StatusPageIncidentComponentImpactV2ComponentStatus `json:"component_status"`

	// EndAt When the component left this status. If this is null, the impact is ongoing.
	EndAt *time.Time `json:"end_at,omitempty"`

	// StartAt When the component entered this status
	StartAt time.Time `json:"start_at"`
}

StatusPageIncidentComponentImpactV2 defines model for StatusPageIncidentComponentImpactV2.

type StatusPageIncidentComponentImpactV2ComponentStatus added in v1.0.1

type StatusPageIncidentComponentImpactV2ComponentStatus string

StatusPageIncidentComponentImpactV2ComponentStatus The status of the relevant component impact in a status page incident - this excludes the operational status.

const (
	StatusPageIncidentComponentImpactV2ComponentStatusDegradedPerformance StatusPageIncidentComponentImpactV2ComponentStatus = "degraded_performance"
	StatusPageIncidentComponentImpactV2ComponentStatusFullOutage          StatusPageIncidentComponentImpactV2ComponentStatus = "full_outage"
	StatusPageIncidentComponentImpactV2ComponentStatusPartialOutage       StatusPageIncidentComponentImpactV2ComponentStatus = "partial_outage"
)

Defines values for StatusPageIncidentComponentImpactV2ComponentStatus.

func (StatusPageIncidentComponentImpactV2ComponentStatus) Valid added in v1.0.1

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

type StatusPageIncidentUpdateV2 added in v1.0.1

type StatusPageIncidentUpdateV2 struct {
	// ComponentStatuses The updated statuses of affected components
	ComponentStatuses []StatusPageIncidentAffectedComponentV2 `json:"component_statuses"`

	// Id A unique ID for this status page incident update
	Id string `json:"id"`

	// IncidentStatus Current status for this incident
	IncidentStatus StatusPageIncidentUpdateV2IncidentStatus `json:"incident_status"`

	// Message Markdown update on what's changed about this status page incident
	Message string `json:"message"`

	// PublishedAt When this status page incident update was published to the status page
	PublishedAt time.Time `json:"published_at"`

	// StatusPageIncidentId The ID of the corresponding status page incident
	StatusPageIncidentId string `json:"status_page_incident_id"`
}

StatusPageIncidentUpdateV2 defines model for StatusPageIncidentUpdateV2.

type StatusPageIncidentUpdateV2IncidentStatus added in v1.0.1

type StatusPageIncidentUpdateV2IncidentStatus string

StatusPageIncidentUpdateV2IncidentStatus Current status for this incident

const (
	StatusPageIncidentUpdateV2IncidentStatusIdentified    StatusPageIncidentUpdateV2IncidentStatus = "identified"
	StatusPageIncidentUpdateV2IncidentStatusInvestigating StatusPageIncidentUpdateV2IncidentStatus = "investigating"
	StatusPageIncidentUpdateV2IncidentStatusMonitoring    StatusPageIncidentUpdateV2IncidentStatus = "monitoring"
	StatusPageIncidentUpdateV2IncidentStatusResolved      StatusPageIncidentUpdateV2IncidentStatus = "resolved"
)

Defines values for StatusPageIncidentUpdateV2IncidentStatus.

func (StatusPageIncidentUpdateV2IncidentStatus) Valid added in v1.0.1

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

type StatusPageIncidentV2 added in v1.0.1

type StatusPageIncidentV2 struct {
	// ComponentImpacts A list of time periods that this status page incident had an impact on a component
	ComponentImpacts []StatusPageIncidentComponentImpactV2 `json:"component_impacts"`

	// Id A unique ID for this status page incident
	Id string `json:"id"`

	// IncidentStatus Current status for this incident
	IncidentStatus StatusPageIncidentV2IncidentStatus `json:"incident_status"`

	// Name A title for the incident
	Name string `json:"name"`

	// PublishedAt When this status page incident was published to the status page
	PublishedAt time.Time `json:"published_at"`

	// StatusPageId The ID of the corresponding status page
	StatusPageId string `json:"status_page_id"`

	// Updates A list of updates posted to this status page incident
	Updates []StatusPageIncidentUpdateV2 `json:"updates"`
}

StatusPageIncidentV2 defines model for StatusPageIncidentV2.

type StatusPageIncidentV2IncidentStatus added in v1.0.1

type StatusPageIncidentV2IncidentStatus string

StatusPageIncidentV2IncidentStatus Current status for this incident

const (
	StatusPageIncidentV2IncidentStatusIdentified    StatusPageIncidentV2IncidentStatus = "identified"
	StatusPageIncidentV2IncidentStatusInvestigating StatusPageIncidentV2IncidentStatus = "investigating"
	StatusPageIncidentV2IncidentStatusMonitoring    StatusPageIncidentV2IncidentStatus = "monitoring"
	StatusPageIncidentV2IncidentStatusResolved      StatusPageIncidentV2IncidentStatus = "resolved"
)

Defines values for StatusPageIncidentV2IncidentStatus.

func (StatusPageIncidentV2IncidentStatus) Valid added in v1.0.1

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

type StatusPageLinkedResponseIncidentV1 added in v1.0.1

type StatusPageLinkedResponseIncidentV1 struct {
	// Id ID of the Response incident
	Id string `json:"id"`

	// LinkedAt When the Response incident was linked to the status page incident
	LinkedAt time.Time `json:"linked_at"`
}

StatusPageLinkedResponseIncidentV1 defines model for StatusPageLinkedResponseIncidentV1.

type StatusPageMaintenanceAffectedComponentV2 added in v1.0.1

type StatusPageMaintenanceAffectedComponentV2 struct {
	// ComponentId The ID of the affected component. This may be found by calling the ShowStatusPageStructure endpoint.
	ComponentId string `json:"component_id"`

	// ComponentStatus The status of the relevant component in a status page maintenance window
	ComponentStatus StatusPageMaintenanceAffectedComponentV2ComponentStatus `json:"component_status"`
}

StatusPageMaintenanceAffectedComponentV2 defines model for StatusPageMaintenanceAffectedComponentV2.

type StatusPageMaintenanceAffectedComponentV2ComponentStatus added in v1.0.1

type StatusPageMaintenanceAffectedComponentV2ComponentStatus string

StatusPageMaintenanceAffectedComponentV2ComponentStatus The status of the relevant component in a status page maintenance window

const (
	Operational      StatusPageMaintenanceAffectedComponentV2ComponentStatus = "operational"
	UnderMaintenance StatusPageMaintenanceAffectedComponentV2ComponentStatus = "under_maintenance"
)

Defines values for StatusPageMaintenanceAffectedComponentV2ComponentStatus.

func (StatusPageMaintenanceAffectedComponentV2ComponentStatus) Valid added in v1.0.1

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

type StatusPageMaintenanceComponentMaintenancePeriodV2 added in v1.0.1

type StatusPageMaintenanceComponentMaintenancePeriodV2 struct {
	// ComponentId The ID of the affected component. This may be found by calling the ShowStatusPageStructure endpoint.
	ComponentId string `json:"component_id"`

	// EndAt When the component stopped being under maintenance. If this is null, the impact is ongoing.
	EndAt *time.Time `json:"end_at,omitempty"`

	// StartAt When the component started being under maintenance
	StartAt time.Time `json:"start_at"`
}

StatusPageMaintenanceComponentMaintenancePeriodV2 defines model for StatusPageMaintenanceComponentMaintenancePeriodV2.

type StatusPageMaintenanceUpdateV2 added in v1.0.1

type StatusPageMaintenanceUpdateV2 struct {
	// ComponentStatuses The updated statuses of affected components
	ComponentStatuses []StatusPageMaintenanceAffectedComponentV2 `json:"component_statuses"`

	// Id A unique ID for this status page maintenance update
	Id string `json:"id"`

	// MaintenanceStatus Current status for this maintenance window
	MaintenanceStatus StatusPageMaintenanceUpdateV2MaintenanceStatus `json:"maintenance_status"`

	// Message Markdown update on what's changed about this status page maintenance window
	Message string `json:"message"`

	// PublishedAt When this status page maintenance update was published to the status page
	PublishedAt time.Time `json:"published_at"`

	// StatusPageMaintenanceId The ID of the corresponding status page maintenance window
	StatusPageMaintenanceId string `json:"status_page_maintenance_id"`
}

StatusPageMaintenanceUpdateV2 defines model for StatusPageMaintenanceUpdateV2.

type StatusPageMaintenanceUpdateV2MaintenanceStatus added in v1.0.1

type StatusPageMaintenanceUpdateV2MaintenanceStatus string

StatusPageMaintenanceUpdateV2MaintenanceStatus Current status for this maintenance window

const (
	StatusPageMaintenanceUpdateV2MaintenanceStatusMaintenanceComplete   StatusPageMaintenanceUpdateV2MaintenanceStatus = "maintenance_complete"
	StatusPageMaintenanceUpdateV2MaintenanceStatusMaintenanceInProgress StatusPageMaintenanceUpdateV2MaintenanceStatus = "maintenance_in_progress"
	StatusPageMaintenanceUpdateV2MaintenanceStatusMaintenanceScheduled  StatusPageMaintenanceUpdateV2MaintenanceStatus = "maintenance_scheduled"
)

Defines values for StatusPageMaintenanceUpdateV2MaintenanceStatus.

func (StatusPageMaintenanceUpdateV2MaintenanceStatus) Valid added in v1.0.1

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

type StatusPageMaintenanceV2 added in v1.0.1

type StatusPageMaintenanceV2 struct {
	// AutomateMaintenanceStatus Whether updates are published automatically, moving this maintenance window to in progress at its start time and to complete at its end time
	AutomateMaintenanceStatus bool `json:"automate_maintenance_status"`

	// ComponentMaintenancePeriods A list of time periods where components were under maintenance during this status page maintenance window
	ComponentMaintenancePeriods []StatusPageMaintenanceComponentMaintenancePeriodV2 `json:"component_maintenance_periods"`

	// Id A unique ID for this status page maintenance window
	Id string `json:"id"`

	// MaintenanceStatus Current status for this maintenance window
	MaintenanceStatus StatusPageMaintenanceV2MaintenanceStatus `json:"maintenance_status"`

	// Name A title for the maintenance window
	Name string `json:"name"`

	// PublishedAt When this status page maintenance window was published to the status page
	PublishedAt time.Time `json:"published_at"`

	// StatusPageId The ID of the corresponding status page
	StatusPageId string `json:"status_page_id"`

	// Updates A list of updates posted to this status page maintenance window
	Updates []StatusPageMaintenanceUpdateV2 `json:"updates"`
}

StatusPageMaintenanceV2 defines model for StatusPageMaintenanceV2.

type StatusPageMaintenanceV2MaintenanceStatus added in v1.0.1

type StatusPageMaintenanceV2MaintenanceStatus string

StatusPageMaintenanceV2MaintenanceStatus Current status for this maintenance window

const (
	StatusPageMaintenanceV2MaintenanceStatusMaintenanceComplete   StatusPageMaintenanceV2MaintenanceStatus = "maintenance_complete"
	StatusPageMaintenanceV2MaintenanceStatusMaintenanceInProgress StatusPageMaintenanceV2MaintenanceStatus = "maintenance_in_progress"
	StatusPageMaintenanceV2MaintenanceStatusMaintenanceScheduled  StatusPageMaintenanceV2MaintenanceStatus = "maintenance_scheduled"
)

Defines values for StatusPageMaintenanceV2MaintenanceStatus.

func (StatusPageMaintenanceV2MaintenanceStatus) Valid added in v1.0.1

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

type StatusPageRetrospectiveIncidentUpdateV2 added in v1.0.16

type StatusPageRetrospectiveIncidentUpdateV2 struct {
	// ComponentStatuses An array of mappings from component ID to component status at the time this update was published
	ComponentStatuses *[]StatusPageIncidentAffectedComponentV2 `json:"component_statuses,omitempty"`

	// IncidentStatus Current status for this incident
	IncidentStatus StatusPageRetrospectiveIncidentUpdateV2IncidentStatus `json:"incident_status"`

	// Message Markdown update on what's changed about this status page incident
	Message string `json:"message"`

	// PublishedAt When this update was published. Must be in the past.
	PublishedAt time.Time `json:"published_at"`
}

StatusPageRetrospectiveIncidentUpdateV2 A single update in the reconstructed timeline of a retrospective status page incident.

type StatusPageRetrospectiveIncidentUpdateV2IncidentStatus added in v1.0.16

type StatusPageRetrospectiveIncidentUpdateV2IncidentStatus string

StatusPageRetrospectiveIncidentUpdateV2IncidentStatus Current status for this incident

const (
	StatusPageRetrospectiveIncidentUpdateV2IncidentStatusIdentified    StatusPageRetrospectiveIncidentUpdateV2IncidentStatus = "identified"
	StatusPageRetrospectiveIncidentUpdateV2IncidentStatusInvestigating StatusPageRetrospectiveIncidentUpdateV2IncidentStatus = "investigating"
	StatusPageRetrospectiveIncidentUpdateV2IncidentStatusMonitoring    StatusPageRetrospectiveIncidentUpdateV2IncidentStatus = "monitoring"
	StatusPageRetrospectiveIncidentUpdateV2IncidentStatusResolved      StatusPageRetrospectiveIncidentUpdateV2IncidentStatus = "resolved"
)

Defines values for StatusPageRetrospectiveIncidentUpdateV2IncidentStatus.

func (StatusPageRetrospectiveIncidentUpdateV2IncidentStatus) Valid added in v1.0.16

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

type StatusPageStructureComponentV2 added in v1.0.1

type StatusPageStructureComponentV2 struct {
	// ComponentId The ID of the affected component. This may be found by calling the ShowStatusPageStructure endpoint.
	ComponentId string `json:"component_id"`

	// Name The name of this component
	Name string `json:"name"`
}

StatusPageStructureComponentV2 defines model for StatusPageStructureComponentV2.

type StatusPageStructureGroupV2 added in v1.0.1

type StatusPageStructureGroupV2 struct {
	// Components Array of components belonging to this group
	Components []StatusPageStructureComponentV2 `json:"components"`

	// Id Unique ID of this component group
	Id string `json:"id"`

	// Name The name of this component group
	Name string `json:"name"`
}

StatusPageStructureGroupV2 defines model for StatusPageStructureGroupV2.

type StatusPageStructureItemV2 added in v1.0.1

type StatusPageStructureItemV2 struct {
	Component *StatusPageStructureComponentV2 `json:"component,omitempty"`
	Group     *StatusPageStructureGroupV2     `json:"group,omitempty"`
	SubPage   *StatusPageStructureSubPageV2   `json:"sub_page,omitempty"`
}

StatusPageStructureItemV2 defines model for StatusPageStructureItemV2.

type StatusPageStructureSubPageItemV2 added in v1.0.1

type StatusPageStructureSubPageItemV2 struct {
	Component *StatusPageStructureComponentV2 `json:"component,omitempty"`
	Group     *StatusPageStructureGroupV2     `json:"group,omitempty"`
}

StatusPageStructureSubPageItemV2 defines model for StatusPageStructureSubPageItemV2.

type StatusPageStructureSubPageV2 added in v1.0.1

type StatusPageStructureSubPageV2 struct {
	// Id Unique ID of this subpage
	Id string `json:"id"`

	// Items Array of components and groups belonging to this subpage
	Items []StatusPageStructureSubPageItemV2 `json:"items"`

	// Name The name of this subpage
	Name string `json:"name"`
}

StatusPageStructureSubPageV2 defines model for StatusPageStructureSubPageV2.

type StatusPageStructureV2 added in v1.0.1

type StatusPageStructureV2 struct {
	// Items Array of components and groups to display in the status page
	Items []StatusPageStructureItemV2 `json:"items"`
}

StatusPageStructureV2 defines model for StatusPageStructureV2.

type StatusPageV2 added in v1.0.1

type StatusPageV2 struct {
	// Description The description of this status page
	Description *string `json:"description,omitempty"`

	// Id Unique ID of this status page
	Id string `json:"id"`

	// Name The title of this status page
	Name string `json:"name"`

	// PublicUrl The public URL of this status page
	PublicUrl *string `json:"public_url,omitempty"`
}

StatusPageV2 defines model for StatusPageV2.

type StatusPagesCreateStatusPageIncidentPayloadV2 added in v1.0.1

type StatusPagesCreateStatusPageIncidentPayloadV2 struct {
	// ComponentStatuses An array of mappings from component ID to current component status
	ComponentStatuses *[]StatusPageIncidentAffectedComponentV2 `json:"component_statuses,omitempty"`

	// IdempotencyKey A unique key to de-duplicate requests. If you send a request with an idempotency_key that was already used, the original response will be returned.
	IdempotencyKey string `json:"idempotency_key"`

	// IncidentStatus Current status for this status page incident
	IncidentStatus StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus `json:"incident_status"`

	// Message Markdown initial update on this status page incident
	Message string `json:"message"`

	// Name A title for the incident
	Name string `json:"name"`

	// NotifySubscribers Whether to notify subscribers about this status page incident. This will not work if your status page has more than 1000 subscribers.
	NotifySubscribers bool `json:"notify_subscribers"`

	// StatusPageId ID of the status page. You can find this by calling the ListStatusPages endpoint.
	StatusPageId string `json:"status_page_id"`
}

StatusPagesCreateStatusPageIncidentPayloadV2 defines model for StatusPagesCreateStatusPageIncidentPayloadV2.

type StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus added in v1.0.1

type StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus string

StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus Current status for this status page incident

const (
	StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusIdentified    StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus = "identified"
	StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusInvestigating StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus = "investigating"
	StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusMonitoring    StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus = "monitoring"
	StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusResolved      StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus = "resolved"
)

Defines values for StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus.

func (StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus) Valid added in v1.0.1

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

type StatusPagesCreateStatusPageIncidentResultV2 added in v1.0.1

type StatusPagesCreateStatusPageIncidentResultV2 struct {
	StatusPageIncident *StatusPageIncidentV2 `json:"status_page_incident,omitempty"`
}

StatusPagesCreateStatusPageIncidentResultV2 defines model for StatusPagesCreateStatusPageIncidentResultV2.

type StatusPagesCreateStatusPageIncidentUpdatePayloadV2 added in v1.0.1

type StatusPagesCreateStatusPageIncidentUpdatePayloadV2 struct {
	// ComponentStatuses An array of mappings from component ID to component status. This must not be set if the status page incident status is being set to "resolved", as all components statuses will update to "operational".
	ComponentStatuses *[]StatusPageIncidentAffectedComponentV2 `json:"component_statuses,omitempty"`

	// IncidentStatus Optional new status for this status page incident. If not provided, the status will remain unchanged. Setting to "resolved" will end the incident and all component statuses will update to "operational".
	IncidentStatus *StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus `json:"incident_status,omitempty"`

	// Message Markdown update on what's changed about this status page incident
	Message string `json:"message"`

	// NotifySubscribers Whether to notify subscribers about this incident update. This will not work if your status page has more than 1000 subscribers.
	NotifySubscribers bool `json:"notify_subscribers"`

	// StatusPageIncidentId ID of the status page incident
	StatusPageIncidentId string `json:"status_page_incident_id"`
}

StatusPagesCreateStatusPageIncidentUpdatePayloadV2 defines model for StatusPagesCreateStatusPageIncidentUpdatePayloadV2.

type StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus added in v1.0.1

type StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus string

StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus Optional new status for this status page incident. If not provided, the status will remain unchanged. Setting to "resolved" will end the incident and all component statuses will update to "operational".

Defines values for StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus.

func (StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus) Valid added in v1.0.1

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

type StatusPagesCreateStatusPageIncidentUpdateResultV2 added in v1.0.1

type StatusPagesCreateStatusPageIncidentUpdateResultV2 struct {
	StatusPageIncidentUpdate *StatusPageIncidentUpdateV2 `json:"status_page_incident_update,omitempty"`
}

StatusPagesCreateStatusPageIncidentUpdateResultV2 defines model for StatusPagesCreateStatusPageIncidentUpdateResultV2.

type StatusPagesCreateStatusPageMaintenancePayloadV2 added in v1.0.1

type StatusPagesCreateStatusPageMaintenancePayloadV2 struct {
	// AffectedComponentIds An array of IDs of component affected by the maintenance window
	AffectedComponentIds []string `json:"affected_component_ids"`

	// AutomateMaintenanceStatus Whether to publish updates automatically, moving this maintenance window to in progress at start_at and to complete at end_at. Defaults to false, which means you publish those updates yourself. When notify_subscribers is true, the automated updates notify subscribers too. Publishing your own update that sets maintenance_status turns automation off.
	AutomateMaintenanceStatus *bool `json:"automate_maintenance_status,omitempty"`

	// EndAt The time the maintenance window ends
	EndAt time.Time `json:"end_at"`

	// IdempotencyKey A unique key to de-duplicate requests. If you send a request with an idempotency_key that was already used, the original response will be returned.
	IdempotencyKey string `json:"idempotency_key"`

	// MaintenanceStatus Current status for this status page maintenance window
	MaintenanceStatus StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus `json:"maintenance_status"`

	// Message Markdown initial update on this status page maintenance window
	Message string `json:"message"`

	// Name A title for the maintenance window
	Name string `json:"name"`

	// NotifySubscribers Whether to notify subscribers about this status page maintenance. This will not work if your status page has more than 1000 subscribers.
	NotifySubscribers bool `json:"notify_subscribers"`

	// StartAt The time the maintenance window starts
	StartAt time.Time `json:"start_at"`

	// StatusPageId ID of the status page. You can find this by calling the ListStatusPages endpoint.
	StatusPageId string `json:"status_page_id"`
}

StatusPagesCreateStatusPageMaintenancePayloadV2 defines model for StatusPagesCreateStatusPageMaintenancePayloadV2.

type StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus added in v1.0.1

type StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus string

StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus Current status for this status page maintenance window

const (
	StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusMaintenanceComplete   StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus = "maintenance_complete"
	StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusMaintenanceInProgress StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus = "maintenance_in_progress"
	StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatusMaintenanceScheduled  StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus = "maintenance_scheduled"
)

Defines values for StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus.

func (StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus) Valid added in v1.0.1

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

type StatusPagesCreateStatusPageMaintenanceResultV2 added in v1.0.1

type StatusPagesCreateStatusPageMaintenanceResultV2 struct {
	StatusPageMaintenance *StatusPageMaintenanceV2 `json:"status_page_maintenance,omitempty"`
}

StatusPagesCreateStatusPageMaintenanceResultV2 defines model for StatusPagesCreateStatusPageMaintenanceResultV2.

type StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2 added in v1.0.1

type StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2 struct {
	// ComponentStatuses An array of mappings from component ID to component status. This must not be set if the status page maintenance window status is being set to "maintenance_complete", as all components statuses will update to "operational".
	ComponentStatuses *[]StatusPageMaintenanceAffectedComponentV2 `json:"component_statuses,omitempty"`

	// MaintenanceStatus Optional new status for this status page maintenance window. If not provided, the status will remain unchanged. Setting to "maintenance_complete" will end the maintenance window and all component statuses will update to "operational".
	MaintenanceStatus *StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus `json:"maintenance_status,omitempty"`

	// Message Markdown update on what's changed about this status page maintenance window
	Message string `json:"message"`

	// NotifySubscribers Whether to notify subscribers about this status page maintenance update. This will not work if your status page has more than 1000 subscribers.
	NotifySubscribers bool `json:"notify_subscribers"`

	// StatusPageMaintenanceId ID of the status page maintenance window
	StatusPageMaintenanceId string `json:"status_page_maintenance_id"`
}

StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2 defines model for StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2.

type StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus added in v1.0.1

type StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus string

StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus Optional new status for this status page maintenance window. If not provided, the status will remain unchanged. Setting to "maintenance_complete" will end the maintenance window and all component statuses will update to "operational".

const (
	StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusMaintenanceComplete   StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus = "maintenance_complete"
	StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusMaintenanceInProgress StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus = "maintenance_in_progress"
	StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusMaintenanceScheduled  StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus = "maintenance_scheduled"
)

Defines values for StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus.

func (StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus) Valid added in v1.0.1

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

type StatusPagesCreateStatusPageMaintenanceUpdateResultV2 added in v1.0.1

type StatusPagesCreateStatusPageMaintenanceUpdateResultV2 struct {
	StatusPageMaintenanceUpdate *StatusPageMaintenanceUpdateV2 `json:"status_page_maintenance_update,omitempty"`
}

StatusPagesCreateStatusPageMaintenanceUpdateResultV2 defines model for StatusPagesCreateStatusPageMaintenanceUpdateResultV2.

type StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2 added in v1.0.16

type StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2 struct {
	// IdempotencyKey A unique key to de-duplicate requests. If you send a request with an idempotency_key that was already used, the original response will be returned.
	IdempotencyKey string `json:"idempotency_key"`

	// Name A title for the incident
	Name string `json:"name"`

	// StatusPageId ID of the status page. You can find this by calling the ListStatusPages endpoint.
	StatusPageId string `json:"status_page_id"`

	// Updates The reconstructed timeline of updates for this incident, ordered chronologically (earliest first). The final update must set incident_status to "resolved".
	Updates []StatusPageRetrospectiveIncidentUpdateV2 `json:"updates"`
}

StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2 defines model for StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2.

type StatusPagesCreateStatusPageRetrospectiveIncidentResultV2 added in v1.0.16

type StatusPagesCreateStatusPageRetrospectiveIncidentResultV2 struct {
	StatusPageIncident *StatusPageIncidentV2 `json:"status_page_incident,omitempty"`
}

StatusPagesCreateStatusPageRetrospectiveIncidentResultV2 defines model for StatusPagesCreateStatusPageRetrospectiveIncidentResultV2.

type StatusPagesListResponseIncidentsResultV1 added in v1.0.1

type StatusPagesListResponseIncidentsResultV1 struct {
	Incidents []StatusPageLinkedResponseIncidentV1 `json:"incidents"`
}

StatusPagesListResponseIncidentsResultV1 defines model for StatusPagesListResponseIncidentsResultV1.

type StatusPagesListStatusPageIncidentsResultV2 added in v1.0.1

type StatusPagesListStatusPageIncidentsResultV2 struct {
	PaginationMeta      PaginationMetaResultV2 `json:"pagination_meta"`
	StatusPageIncidents []StatusPageIncidentV2 `json:"status_page_incidents"`
}

StatusPagesListStatusPageIncidentsResultV2 defines model for StatusPagesListStatusPageIncidentsResultV2.

type StatusPagesListStatusPageMaintenancesResultV2 added in v1.0.1

type StatusPagesListStatusPageMaintenancesResultV2 struct {
	PaginationMeta         PaginationMetaResultV2    `json:"pagination_meta"`
	StatusPageMaintenances []StatusPageMaintenanceV2 `json:"status_page_maintenances"`
}

StatusPagesListStatusPageMaintenancesResultV2 defines model for StatusPagesListStatusPageMaintenancesResultV2.

type StatusPagesListStatusPagesResultV2 added in v1.0.1

type StatusPagesListStatusPagesResultV2 struct {
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
	StatusPages    []StatusPageV2         `json:"status_pages"`
}

StatusPagesListStatusPagesResultV2 defines model for StatusPagesListStatusPagesResultV2.

type StatusPagesShowStatusPageIncidentResultV2 added in v1.0.1

type StatusPagesShowStatusPageIncidentResultV2 struct {
	StatusPageIncident *StatusPageIncidentV2 `json:"status_page_incident,omitempty"`
}

StatusPagesShowStatusPageIncidentResultV2 defines model for StatusPagesShowStatusPageIncidentResultV2.

type StatusPagesShowStatusPageMaintenanceResultV2 added in v1.0.1

type StatusPagesShowStatusPageMaintenanceResultV2 struct {
	StatusPageMaintenance *StatusPageMaintenanceV2 `json:"status_page_maintenance,omitempty"`
}

StatusPagesShowStatusPageMaintenanceResultV2 defines model for StatusPagesShowStatusPageMaintenanceResultV2.

type StatusPagesShowStatusPageStructureResultV2 added in v1.0.1

type StatusPagesShowStatusPageStructureResultV2 struct {
	CurrentStructure StatusPageStructureV2 `json:"current_structure"`
}

StatusPagesShowStatusPageStructureResultV2 defines model for StatusPagesShowStatusPageStructureResultV2.

type StatusPagesUpdateStatusPageIncidentPayloadV2 added in v1.0.1

type StatusPagesUpdateStatusPageIncidentPayloadV2 struct {
	// Name A title for the incident
	Name string `json:"name"`
}

StatusPagesUpdateStatusPageIncidentPayloadV2 defines model for StatusPagesUpdateStatusPageIncidentPayloadV2.

type StatusPagesUpdateStatusPageIncidentResultV2 added in v1.0.1

type StatusPagesUpdateStatusPageIncidentResultV2 struct {
	StatusPageIncident *StatusPageIncidentV2 `json:"status_page_incident,omitempty"`
}

StatusPagesUpdateStatusPageIncidentResultV2 defines model for StatusPagesUpdateStatusPageIncidentResultV2.

type StatusPagesUpdateStatusPageMaintenancePayloadV2 added in v1.0.103

type StatusPagesUpdateStatusPageMaintenancePayloadV2 struct {
	// EndAt The time the maintenance window ends
	EndAt time.Time `json:"end_at"`

	// Name A title for the maintenance window
	Name string `json:"name"`

	// StartAt The time the maintenance window starts
	StartAt time.Time `json:"start_at"`
}

StatusPagesUpdateStatusPageMaintenancePayloadV2 defines model for StatusPagesUpdateStatusPageMaintenancePayloadV2.

type StatusPagesUpdateStatusPageMaintenanceResultV2 added in v1.0.103

type StatusPagesUpdateStatusPageMaintenanceResultV2 struct {
	StatusPageMaintenance *StatusPageMaintenanceV2 `json:"status_page_maintenance,omitempty"`
}

StatusPagesUpdateStatusPageMaintenanceResultV2 defines model for StatusPagesUpdateStatusPageMaintenanceResultV2.

type StatusPagesV1ListResponseIncidentsResponse added in v1.0.1

type StatusPagesV1ListResponseIncidentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesListResponseIncidentsResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV1ListResponseIncidentsResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV1ListResponseIncidentsResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2CreateStatusPageIncidentJSONRequestBody added in v1.0.1

type StatusPagesV2CreateStatusPageIncidentJSONRequestBody = StatusPagesCreateStatusPageIncidentPayloadV2

StatusPagesV2CreateStatusPageIncidentJSONRequestBody defines body for StatusPagesV2CreateStatusPageIncident for application/json ContentType.

type StatusPagesV2CreateStatusPageIncidentResponse added in v1.0.1

type StatusPagesV2CreateStatusPageIncidentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *StatusPagesCreateStatusPageIncidentResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2CreateStatusPageIncidentResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2CreateStatusPageIncidentResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2CreateStatusPageIncidentUpdateJSONRequestBody added in v1.0.1

type StatusPagesV2CreateStatusPageIncidentUpdateJSONRequestBody = StatusPagesCreateStatusPageIncidentUpdatePayloadV2

StatusPagesV2CreateStatusPageIncidentUpdateJSONRequestBody defines body for StatusPagesV2CreateStatusPageIncidentUpdate for application/json ContentType.

type StatusPagesV2CreateStatusPageIncidentUpdateResponse added in v1.0.1

type StatusPagesV2CreateStatusPageIncidentUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *StatusPagesCreateStatusPageIncidentUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2CreateStatusPageIncidentUpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2CreateStatusPageIncidentUpdateResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2CreateStatusPageMaintenanceJSONRequestBody added in v1.0.1

type StatusPagesV2CreateStatusPageMaintenanceJSONRequestBody = StatusPagesCreateStatusPageMaintenancePayloadV2

StatusPagesV2CreateStatusPageMaintenanceJSONRequestBody defines body for StatusPagesV2CreateStatusPageMaintenance for application/json ContentType.

type StatusPagesV2CreateStatusPageMaintenanceResponse added in v1.0.1

type StatusPagesV2CreateStatusPageMaintenanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *StatusPagesCreateStatusPageMaintenanceResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2CreateStatusPageMaintenanceResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2CreateStatusPageMaintenanceResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2CreateStatusPageMaintenanceUpdateJSONRequestBody added in v1.0.1

type StatusPagesV2CreateStatusPageMaintenanceUpdateJSONRequestBody = StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2

StatusPagesV2CreateStatusPageMaintenanceUpdateJSONRequestBody defines body for StatusPagesV2CreateStatusPageMaintenanceUpdate for application/json ContentType.

type StatusPagesV2CreateStatusPageMaintenanceUpdateResponse added in v1.0.1

type StatusPagesV2CreateStatusPageMaintenanceUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *StatusPagesCreateStatusPageMaintenanceUpdateResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2CreateStatusPageMaintenanceUpdateResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2CreateStatusPageMaintenanceUpdateResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2CreateStatusPageRetrospectiveIncidentJSONRequestBody added in v1.0.16

type StatusPagesV2CreateStatusPageRetrospectiveIncidentJSONRequestBody = StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2

StatusPagesV2CreateStatusPageRetrospectiveIncidentJSONRequestBody defines body for StatusPagesV2CreateStatusPageRetrospectiveIncident for application/json ContentType.

type StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse added in v1.0.16

type StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *StatusPagesCreateStatusPageRetrospectiveIncidentResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse) Status added in v1.0.16

Status returns HTTPResponse.Status

func (StatusPagesV2CreateStatusPageRetrospectiveIncidentResponse) StatusCode added in v1.0.16

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2DeleteStatusPageMaintenanceResponse added in v1.0.103

type StatusPagesV2DeleteStatusPageMaintenanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2DeleteStatusPageMaintenanceResponse) Status added in v1.0.103

Status returns HTTPResponse.Status

func (StatusPagesV2DeleteStatusPageMaintenanceResponse) StatusCode added in v1.0.103

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2ListStatusPageIncidentsParams added in v1.0.1

type StatusPagesV2ListStatusPageIncidentsParams struct {
	// StatusPageId ID of the status page. You can find this by calling the ListStatusPages endpoint.
	StatusPageId string `form:"status_page_id" json:"status_page_id"`

	// ComponentId Filter status page incidents to only those that impacted the specified component. This ID may be found by calling the ShowStatusPageStructure endpoint.
	ComponentId *string `form:"component_id,omitempty" json:"component_id,omitempty"`

	// GroupId Filter status page incidents to only those that impacted components in the specified group. This ID may be found by calling the ShowStatusPageStructure endpoint.
	GroupId *string `form:"group_id,omitempty" json:"group_id,omitempty"`

	// SubPageId Filter status page incidents to only those that impacted the specified sub-page. This ID may be found by calling the ShowStatusPageStructure endpoint.
	SubPageId *string `form:"sub_page_id,omitempty" json:"sub_page_id,omitempty"`

	// StartAt Filter status page incidents to only those that had impacts during or after this time.
	StartAt *time.Time `form:"start_at,omitempty" json:"start_at,omitempty"`

	// EndAt Filter status page incidents to only those that had impacts during or before this time.
	EndAt *time.Time `form:"end_at,omitempty" json:"end_at,omitempty"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

StatusPagesV2ListStatusPageIncidentsParams defines parameters for StatusPagesV2ListStatusPageIncidents.

type StatusPagesV2ListStatusPageIncidentsResponse added in v1.0.1

type StatusPagesV2ListStatusPageIncidentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesListStatusPageIncidentsResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2ListStatusPageIncidentsResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2ListStatusPageIncidentsResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2ListStatusPageMaintenancesParams added in v1.0.1

type StatusPagesV2ListStatusPageMaintenancesParams struct {
	// StatusPageId ID of the status page. You can find this by calling the ListStatusPages endpoint.
	StatusPageId string `form:"status_page_id" json:"status_page_id"`

	// ComponentId Filter status page maintenance windows to only those that impacted the specified component. This ID may be found by calling the ShowStatusPageStructure endpoint.
	ComponentId *string `form:"component_id,omitempty" json:"component_id,omitempty"`

	// GroupId Filter status page maintenance windows to only those that impacted components in the specified group. This ID may be found by calling the ShowStatusPageStructure endpoint.
	GroupId *string `form:"group_id,omitempty" json:"group_id,omitempty"`

	// SubPageId Filter status page maintenance windows to only those that impacted the specified sub-page. This ID may be found by calling the ShowStatusPageStructure endpoint.
	SubPageId *string `form:"sub_page_id,omitempty" json:"sub_page_id,omitempty"`

	// StartAt Filter status page maintenance windows to only those that had impacts during or after this time.
	StartAt *time.Time `form:"start_at,omitempty" json:"start_at,omitempty"`

	// EndAt Filter status page maintenance windows to only those that had impacts during or before this time.
	EndAt *time.Time `form:"end_at,omitempty" json:"end_at,omitempty"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

StatusPagesV2ListStatusPageMaintenancesParams defines parameters for StatusPagesV2ListStatusPageMaintenances.

type StatusPagesV2ListStatusPageMaintenancesResponse added in v1.0.1

type StatusPagesV2ListStatusPageMaintenancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesListStatusPageMaintenancesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2ListStatusPageMaintenancesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2ListStatusPageMaintenancesResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2ListStatusPagesParams added in v1.0.1

type StatusPagesV2ListStatusPagesParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

StatusPagesV2ListStatusPagesParams defines parameters for StatusPagesV2ListStatusPages.

type StatusPagesV2ListStatusPagesResponse added in v1.0.1

type StatusPagesV2ListStatusPagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesListStatusPagesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2ListStatusPagesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2ListStatusPagesResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2ShowStatusPageIncidentResponse added in v1.0.1

type StatusPagesV2ShowStatusPageIncidentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesShowStatusPageIncidentResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2ShowStatusPageIncidentResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2ShowStatusPageIncidentResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2ShowStatusPageMaintenanceResponse added in v1.0.1

type StatusPagesV2ShowStatusPageMaintenanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesShowStatusPageMaintenanceResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2ShowStatusPageMaintenanceResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2ShowStatusPageMaintenanceResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2ShowStatusPageStructureResponse added in v1.0.1

type StatusPagesV2ShowStatusPageStructureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesShowStatusPageStructureResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2ShowStatusPageStructureResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2ShowStatusPageStructureResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2UpdateStatusPageIncidentJSONRequestBody added in v1.0.1

type StatusPagesV2UpdateStatusPageIncidentJSONRequestBody = StatusPagesUpdateStatusPageIncidentPayloadV2

StatusPagesV2UpdateStatusPageIncidentJSONRequestBody defines body for StatusPagesV2UpdateStatusPageIncident for application/json ContentType.

type StatusPagesV2UpdateStatusPageIncidentResponse added in v1.0.1

type StatusPagesV2UpdateStatusPageIncidentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesUpdateStatusPageIncidentResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2UpdateStatusPageIncidentResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (StatusPagesV2UpdateStatusPageIncidentResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type StatusPagesV2UpdateStatusPageMaintenanceJSONRequestBody added in v1.0.103

type StatusPagesV2UpdateStatusPageMaintenanceJSONRequestBody = StatusPagesUpdateStatusPageMaintenancePayloadV2

StatusPagesV2UpdateStatusPageMaintenanceJSONRequestBody defines body for StatusPagesV2UpdateStatusPageMaintenance for application/json ContentType.

type StatusPagesV2UpdateStatusPageMaintenanceResponse added in v1.0.103

type StatusPagesV2UpdateStatusPageMaintenanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesUpdateStatusPageMaintenanceResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (StatusPagesV2UpdateStatusPageMaintenanceResponse) Status added in v1.0.103

Status returns HTTPResponse.Status

func (StatusPagesV2UpdateStatusPageMaintenanceResponse) StatusCode added in v1.0.103

StatusCode returns HTTPResponse.StatusCode

type StepConfigPayloadV2 added in v1.0.1

type StepConfigPayloadV2 struct {
	// ForEach Reference to an expression that returns resources to run this step over
	ForEach *string `json:"for_each,omitempty"`

	// Id Unique ID of this step in a workflow
	Id string `json:"id"`

	// Name Unique name of the step in the engine
	Name string `json:"name"`

	// ParamBindings List of parameter bindings
	ParamBindings []EngineParamBindingPayloadV2 `json:"param_bindings"`
}

StepConfigPayloadV2 defines model for StepConfigPayloadV2.

type StepConfigSlimV2 added in v1.0.1

type StepConfigSlimV2 struct {
	// Label Human readable identifier for this step
	Label string `json:"label"`

	// Name Unique name of the step in the engine
	Name string `json:"name"`
}

StepConfigSlimV2 defines model for StepConfigSlimV2.

type StepConfigV2 added in v1.0.1

type StepConfigV2 struct {
	// ForEach Reference to an expression that returns resources to run this step over
	ForEach *string `json:"for_each,omitempty"`

	// Id Unique ID of this step in a workflow
	Id string `json:"id"`

	// Label Human readable identifier for this step
	Label string `json:"label"`

	// Name Unique name of the step in the engine
	Name string `json:"name"`

	// ParamBindings Bindings for the step parameters
	ParamBindings []EngineParamBindingV2 `json:"param_bindings"`
}

StepConfigV2 defines model for StepConfigV2.

type StepProgressSlimV2 added in v1.0.42

type StepProgressSlimV2 struct {
	// CompletedAt Status of the step
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// Error The cause of an errored step
	Error *string `json:"error,omitempty"`

	// IncidentId If this step ran for a specific incident (e.g. in a loop), the incident ID
	IncidentId *string `json:"incident_id,omitempty"`

	// IncidentReference If this step ran for a specific incident (e.g. in a loop), the incident reference
	IncidentReference *string `json:"incident_reference,omitempty"`

	// Status Status of the step
	Status StepProgressSlimV2Status `json:"status"`

	// Step Name of the step
	Step            string                 `json:"step"`
	WebhookDelivery *WebhookDeliverySlimV2 `json:"webhook_delivery,omitempty"`

	// WebhookDeliveryState Whether this step's delivery can be shown, for a webhook.send step. Absent for all other step types
	WebhookDeliveryState *StepProgressSlimV2WebhookDeliveryState `json:"webhook_delivery_state,omitempty"`
}

StepProgressSlimV2 defines model for StepProgressSlimV2.

type StepProgressSlimV2Status added in v1.0.42

type StepProgressSlimV2Status string

StepProgressSlimV2Status Status of the step

const (
	StepProgressSlimV2StatusComplete StepProgressSlimV2Status = "complete"
	StepProgressSlimV2StatusError    StepProgressSlimV2Status = "error"
	StepProgressSlimV2StatusPending  StepProgressSlimV2Status = "pending"
)

Defines values for StepProgressSlimV2Status.

func (StepProgressSlimV2Status) Valid added in v1.0.42

func (e StepProgressSlimV2Status) Valid() bool

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

type StepProgressSlimV2WebhookDeliveryState added in v1.0.42

type StepProgressSlimV2WebhookDeliveryState string

StepProgressSlimV2WebhookDeliveryState Whether this step's delivery can be shown, for a webhook.send step. Absent for all other step types

const (
	StepProgressSlimV2WebhookDeliveryStateAvailable   StepProgressSlimV2WebhookDeliveryState = "available"
	StepProgressSlimV2WebhookDeliveryStateExpired     StepProgressSlimV2WebhookDeliveryState = "expired"
	StepProgressSlimV2WebhookDeliveryStateUnavailable StepProgressSlimV2WebhookDeliveryState = "unavailable"
)

Defines values for StepProgressSlimV2WebhookDeliveryState.

func (StepProgressSlimV2WebhookDeliveryState) Valid added in v1.0.42

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

type StepProgressV2 added in v1.0.42

type StepProgressV2 struct {
	// CompletedAt Status of the step
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// Error The cause of an errored step
	Error *string `json:"error,omitempty"`

	// IncidentId If this step ran for a specific incident (e.g. in a loop), the incident ID
	IncidentId *string `json:"incident_id,omitempty"`

	// IncidentReference If this step ran for a specific incident (e.g. in a loop), the incident reference
	IncidentReference *string `json:"incident_reference,omitempty"`

	// Status Status of the step
	Status StepProgressV2Status `json:"status"`

	// Step Name of the step
	Step            string             `json:"step"`
	WebhookDelivery *WebhookDeliveryV2 `json:"webhook_delivery,omitempty"`

	// WebhookDeliveryState Whether this step's delivery can be shown, for a webhook.send step. Absent for all other step types
	WebhookDeliveryState *StepProgressV2WebhookDeliveryState `json:"webhook_delivery_state,omitempty"`
}

StepProgressV2 defines model for StepProgressV2.

type StepProgressV2Status added in v1.0.42

type StepProgressV2Status string

StepProgressV2Status Status of the step

const (
	StepProgressV2StatusComplete StepProgressV2Status = "complete"
	StepProgressV2StatusError    StepProgressV2Status = "error"
	StepProgressV2StatusPending  StepProgressV2Status = "pending"
)

Defines values for StepProgressV2Status.

func (StepProgressV2Status) Valid added in v1.0.42

func (e StepProgressV2Status) Valid() bool

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

type StepProgressV2WebhookDeliveryState added in v1.0.42

type StepProgressV2WebhookDeliveryState string

StepProgressV2WebhookDeliveryState Whether this step's delivery can be shown, for a webhook.send step. Absent for all other step types

const (
	StepProgressV2WebhookDeliveryStateAvailable   StepProgressV2WebhookDeliveryState = "available"
	StepProgressV2WebhookDeliveryStateExpired     StepProgressV2WebhookDeliveryState = "expired"
	StepProgressV2WebhookDeliveryStateUnavailable StepProgressV2WebhookDeliveryState = "unavailable"
)

Defines values for StepProgressV2WebhookDeliveryState.

func (StepProgressV2WebhookDeliveryState) Valid added in v1.0.42

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

type TeamSlimV2 added in v1.0.1

type TeamSlimV2 struct {
	// Id Unique ID of the team
	Id string `json:"id"`

	// Name Name of the team
	Name string `json:"name"`
}

TeamSlimV2 defines model for TeamSlimV2.

type TeamV3 added in v1.0.1

type TeamV3 struct {
	CatalogEntry CatalogEntrySlimV3V3 `json:"catalog_entry"`

	// Id Unique ID of the team
	Id string `json:"id"`

	// Members Members of the team
	Members []UserV3 `json:"members"`

	// Name Name of the team
	Name string `json:"name"`
}

TeamV3 defines model for TeamV3.

type TeamsListResultV3 added in v1.0.1

type TeamsListResultV3 struct {
	PaginationMeta PaginationMetaResultV3 `json:"pagination_meta"`
	Teams          []TeamV3               `json:"teams"`
}

TeamsListResultV3 defines model for TeamsListResultV3.

type TeamsShowResultV3 added in v1.0.1

type TeamsShowResultV3 struct {
	Team TeamV3 `json:"team"`
}

TeamsShowResultV3 defines model for TeamsShowResultV3.

type TeamsV3ListParams added in v1.0.1

type TeamsV3ListParams struct {
	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

TeamsV3ListParams defines parameters for TeamsV3List.

type TeamsV3ListResponse added in v1.0.1

type TeamsV3ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamsListResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (TeamsV3ListResponse) Status added in v1.0.1

func (r TeamsV3ListResponse) Status() string

Status returns HTTPResponse.Status

func (TeamsV3ListResponse) StatusCode added in v1.0.1

func (r TeamsV3ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamsV3ShowResponse added in v1.0.1

type TeamsV3ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamsShowResultV3
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (TeamsV3ShowResponse) Status added in v1.0.1

func (r TeamsV3ShowResponse) Status() string

Status returns HTTPResponse.Status

func (TeamsV3ShowResponse) StatusCode added in v1.0.1

func (r TeamsV3ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TelemetryDataSourceV2 added in v1.0.1

type TelemetryDataSourceV2 struct {
	// CreatedAt When this data source was created
	CreatedAt time.Time `json:"created_at"`

	// Enabled Whether this data source is enabled
	Enabled bool `json:"enabled"`

	// Id Unique identifier for this data source
	Id string `json:"id"`

	// Name Human-readable name of the data source
	Name string `json:"name"`

	// Provider Provider that hosts this data source
	Provider string `json:"provider"`

	// SourceType Type of data source (e.g., prometheus, loki, tempo)
	SourceType string `json:"source_type"`

	// UpdatedAt When this data source was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// Version Upstream tool version captured at probe time (e.g. "8.5.27" for Grafana, "2.9.4" for Loki). Empty for SaaS providers and until the first successful probe.
	Version *string `json:"version,omitempty"`
}

TelemetryDataSourceV2 A telemetry data source integration

type TelemetryDatadogUpdateConfigV2 added in v1.0.1

type TelemetryDatadogUpdateConfigV2 struct {
	// ApiKey New Datadog API key
	ApiKey *string `json:"api_key,omitempty"`

	// AppKey New Datadog Application key
	AppKey *string `json:"app_key,omitempty"`
}

TelemetryDatadogUpdateConfigV2 Datadog-specific credential updates

type TelemetryGrafanaUpdateConfigV2 added in v1.0.1

type TelemetryGrafanaUpdateConfigV2 struct {
	// ApiKey New Grafana service account token
	ApiKey *string `json:"api_key,omitempty"`

	// ApiUrl Grafana API URL (without protocol)
	ApiUrl *string `json:"api_url,omitempty"`
}

TelemetryGrafanaUpdateConfigV2 Grafana-specific credential and endpoint updates

type TelemetryUpdateDataSourcePayloadV2 added in v1.0.1

type TelemetryUpdateDataSourcePayloadV2 struct {
	// DatadogConfig Datadog-specific credential updates
	DatadogConfig *TelemetryDatadogUpdateConfigV2 `json:"datadog_config,omitempty"`

	// GrafanaConfig Grafana-specific credential and endpoint updates
	GrafanaConfig *TelemetryGrafanaUpdateConfigV2 `json:"grafana_config,omitempty"`

	// Name Updated display name
	Name *string `json:"name,omitempty"`
}

TelemetryUpdateDataSourcePayloadV2 defines model for TelemetryUpdateDataSourcePayloadV2.

type TelemetryUpdateDataSourceResultV2 added in v1.0.1

type TelemetryUpdateDataSourceResultV2 struct {
	// DataSource A telemetry data source integration
	DataSource TelemetryDataSourceV2 `json:"data_source"`
}

TelemetryUpdateDataSourceResultV2 defines model for TelemetryUpdateDataSourceResultV2.

type TelemetryV2UpdateDataSourceJSONRequestBody added in v1.0.1

type TelemetryV2UpdateDataSourceJSONRequestBody = TelemetryUpdateDataSourcePayloadV2

TelemetryV2UpdateDataSourceJSONRequestBody defines body for TelemetryV2UpdateDataSource for application/json ContentType.

type TelemetryV2UpdateDataSourceResponse added in v1.0.1

type TelemetryV2UpdateDataSourceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryUpdateDataSourceResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (TelemetryV2UpdateDataSourceResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (TelemetryV2UpdateDataSourceResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type TriggerSlimV2 added in v1.0.1

type TriggerSlimV2 struct {
	// Label Human readable identifier for this trigger
	Label string `json:"label"`

	// Name Unique name of the trigger
	Name string `json:"name"`
}

TriggerSlimV2 defines model for TriggerSlimV2.

type UserReferencePayloadV1 added in v1.0.1

type UserReferencePayloadV1 struct {
	// Email The user's email address, matching the email on their Slack account
	Email *string `json:"email,omitempty"`

	// Id The incident.io ID of a user
	Id *string `json:"id,omitempty"`

	// SlackUserId The ID of the user's Slack account.
	SlackUserId *string `json:"slack_user_id,omitempty"`
}

UserReferencePayloadV1 defines model for UserReferencePayloadV1.

type UserReferencePayloadV2 added in v1.0.1

type UserReferencePayloadV2 struct {
	// Email The user's email address, matching the email on their Slack account
	Email *string `json:"email,omitempty"`

	// Id The incident.io ID of a user
	Id *string `json:"id,omitempty"`

	// SlackUserId The ID of the user's Slack account.
	SlackUserId *string `json:"slack_user_id,omitempty"`
}

UserReferencePayloadV2 defines model for UserReferencePayloadV2.

type UserSeatsV2 added in v1.0.1

type UserSeatsV2 struct {
	// OnCall On-call seat access level
	OnCall UserSeatsV2OnCall `json:"on_call"`

	// Response Response seat access level
	Response UserSeatsV2Response `json:"response"`
}

UserSeatsV2 defines model for UserSeatsV2.

type UserSeatsV2OnCall added in v1.0.1

type UserSeatsV2OnCall string

UserSeatsV2OnCall On-call seat access level

const (
	UserSeatsV2OnCallFullAccess UserSeatsV2OnCall = "full_access"
	UserSeatsV2OnCallNone       UserSeatsV2OnCall = "none"
	UserSeatsV2OnCallViewerOnly UserSeatsV2OnCall = "viewer_only"
)

Defines values for UserSeatsV2OnCall.

func (UserSeatsV2OnCall) Valid added in v1.0.1

func (e UserSeatsV2OnCall) Valid() bool

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

type UserSeatsV2Response added in v1.0.1

type UserSeatsV2Response string

UserSeatsV2Response Response seat access level

const (
	UserSeatsV2ResponseFullAccess UserSeatsV2Response = "full_access"
	UserSeatsV2ResponseNone       UserSeatsV2Response = "none"
	UserSeatsV2ResponseViewerOnly UserSeatsV2Response = "viewer_only"
)

Defines values for UserSeatsV2Response.

func (UserSeatsV2Response) Valid added in v1.0.1

func (e UserSeatsV2Response) Valid() bool

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

type UserV1 added in v1.0.1

type UserV1 struct {
	// Email Email address of the user.
	Email *string `json:"email,omitempty"`

	// Id Unique identifier of the user
	Id string `json:"id"`

	// Name Name of the user
	Name string `json:"name"`

	// Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.
	Role UserV1Role `json:"role"`

	// SlackUserId Slack ID of the user
	SlackUserId *string `json:"slack_user_id,omitempty"`
}

UserV1 defines model for UserV1.

type UserV1Role added in v1.0.1

type UserV1Role string

UserV1Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.

const (
	UserV1RoleAdministrator UserV1Role = "administrator"
	UserV1RoleOwner         UserV1Role = "owner"
	UserV1RoleResponder     UserV1Role = "responder"
	UserV1RoleUnset         UserV1Role = "unset"
	UserV1RoleViewer        UserV1Role = "viewer"
)

Defines values for UserV1Role.

func (UserV1Role) Valid added in v1.0.1

func (e UserV1Role) Valid() bool

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

type UserV2 added in v1.0.1

type UserV2 struct {
	// Email Email address of the user.
	Email *string `json:"email,omitempty"`

	// Id Unique identifier of the user
	Id string `json:"id"`

	// Name Name of the user
	Name string `json:"name"`

	// Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.
	Role UserV2Role `json:"role"`

	// SlackUserId Slack ID of the user
	SlackUserId *string `json:"slack_user_id,omitempty"`
}

UserV2 defines model for UserV2.

type UserV2Role added in v1.0.1

type UserV2Role string

UserV2Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.

const (
	UserV2RoleAdministrator UserV2Role = "administrator"
	UserV2RoleOwner         UserV2Role = "owner"
	UserV2RoleResponder     UserV2Role = "responder"
	UserV2RoleUnset         UserV2Role = "unset"
	UserV2RoleViewer        UserV2Role = "viewer"
)

Defines values for UserV2Role.

func (UserV2Role) Valid added in v1.0.1

func (e UserV2Role) Valid() bool

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

type UserV3 added in v1.0.1

type UserV3 struct {
	// Email Email address of the user.
	Email *string `json:"email,omitempty"`

	// Id Unique identifier of the user
	Id string `json:"id"`

	// Name Name of the user
	Name string `json:"name"`

	// SlackUserId Slack ID of the user
	SlackUserId *string `json:"slack_user_id,omitempty"`
}

UserV3 defines model for UserV3.

type UserWithRolesV2 added in v1.0.1

type UserWithRolesV2 struct {
	BaseRole    RBACRoleV2   `json:"base_role"`
	CustomRoles []RBACRoleV2 `json:"custom_roles"`

	// Email Email address of the user.
	Email *string `json:"email,omitempty"`

	// Id Unique identifier of the user
	Id string `json:"id"`

	// IsActive Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
	IsActive bool `json:"is_active"`

	// Name Name of the user
	Name string `json:"name"`

	// Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.
	Role  UserWithRolesV2Role `json:"role"`
	Seats UserSeatsV2         `json:"seats"`

	// SlackUserId Slack ID of the user
	SlackUserId *string `json:"slack_user_id,omitempty"`
}

UserWithRolesV2 defines model for UserWithRolesV2.

type UserWithRolesV2Role added in v1.0.1

type UserWithRolesV2Role string

UserWithRolesV2Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.

const (
	Administrator UserWithRolesV2Role = "administrator"
	Owner         UserWithRolesV2Role = "owner"
	Responder     UserWithRolesV2Role = "responder"
	Unset         UserWithRolesV2Role = "unset"
	Viewer        UserWithRolesV2Role = "viewer"
)

Defines values for UserWithRolesV2Role.

func (UserWithRolesV2Role) Valid added in v1.0.1

func (e UserWithRolesV2Role) Valid() bool

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

type UsersListNotificationMethodsResultV2 added in v1.0.1

type UsersListNotificationMethodsResultV2 struct {
	NotificationMethods []OnCallNotificationMethodPublicV2 `json:"notification_methods"`
}

UsersListNotificationMethodsResultV2 defines model for UsersListNotificationMethodsResultV2.

type UsersListNotificationRulesResultV2 added in v1.0.1

type UsersListNotificationRulesResultV2 struct {
	NotificationRules []OnCallNotificationRulePublicV2 `json:"notification_rules"`
}

UsersListNotificationRulesResultV2 defines model for UsersListNotificationRulesResultV2.

type UsersListResultV2 added in v1.0.1

type UsersListResultV2 struct {
	PaginationMeta PaginationMetaResultV2 `json:"pagination_meta"`
	Users          []UserWithRolesV2      `json:"users"`
}

UsersListResultV2 defines model for UsersListResultV2.

type UsersShowPagingProviderResultV2 added in v1.0.1

type UsersShowPagingProviderResultV2 struct {
	// PreferredEscalationProvider The user's effective escalation provider.
	PreferredEscalationProvider *UsersShowPagingProviderResultV2PreferredEscalationProvider `json:"preferred_escalation_provider,omitempty"`
}

UsersShowPagingProviderResultV2 defines model for UsersShowPagingProviderResultV2.

type UsersShowPagingProviderResultV2PreferredEscalationProvider added in v1.0.1

type UsersShowPagingProviderResultV2PreferredEscalationProvider string

UsersShowPagingProviderResultV2PreferredEscalationProvider The user's effective escalation provider.

const (
	UsersShowPagingProviderResultV2PreferredEscalationProviderNative       UsersShowPagingProviderResultV2PreferredEscalationProvider = "native"
	UsersShowPagingProviderResultV2PreferredEscalationProviderOpsgenie     UsersShowPagingProviderResultV2PreferredEscalationProvider = "opsgenie"
	UsersShowPagingProviderResultV2PreferredEscalationProviderPagerduty    UsersShowPagingProviderResultV2PreferredEscalationProvider = "pagerduty"
	UsersShowPagingProviderResultV2PreferredEscalationProviderSplunkOnCall UsersShowPagingProviderResultV2PreferredEscalationProvider = "splunk_on_call"
)

Defines values for UsersShowPagingProviderResultV2PreferredEscalationProvider.

func (UsersShowPagingProviderResultV2PreferredEscalationProvider) Valid added in v1.0.1

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

type UsersShowResultV2 added in v1.0.1

type UsersShowResultV2 struct {
	User UserWithRolesV2 `json:"user"`
}

UsersShowResultV2 defines model for UsersShowResultV2.

type UsersUpdatePagingProviderPayloadV2 added in v1.0.1

type UsersUpdatePagingProviderPayloadV2 struct {
	// PreferredEscalationProvider The preferred escalation provider for the user.
	PreferredEscalationProvider UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider `json:"preferred_escalation_provider"`
}

UsersUpdatePagingProviderPayloadV2 defines model for UsersUpdatePagingProviderPayloadV2.

type UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider added in v1.0.1

type UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider string

UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider The preferred escalation provider for the user.

const (
	UsersUpdatePagingProviderPayloadV2PreferredEscalationProviderNative       UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider = "native"
	UsersUpdatePagingProviderPayloadV2PreferredEscalationProviderOpsgenie     UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider = "opsgenie"
	UsersUpdatePagingProviderPayloadV2PreferredEscalationProviderPagerduty    UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider = "pagerduty"
	UsersUpdatePagingProviderPayloadV2PreferredEscalationProviderSplunkOnCall UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider = "splunk_on_call"
)

Defines values for UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider.

func (UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider) Valid added in v1.0.1

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

type UsersV2ListNotificationMethodsResponse added in v1.0.1

type UsersV2ListNotificationMethodsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UsersListNotificationMethodsResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UsersV2ListNotificationMethodsResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (UsersV2ListNotificationMethodsResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type UsersV2ListNotificationRulesResponse added in v1.0.1

type UsersV2ListNotificationRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UsersListNotificationRulesResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UsersV2ListNotificationRulesResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (UsersV2ListNotificationRulesResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type UsersV2ListParams added in v1.0.1

type UsersV2ListParams struct {
	// Email Filter by email address
	Email *string `form:"email,omitempty" json:"email,omitempty"`

	// SlackUserId Filter by Slack user ID
	SlackUserId *string `form:"slack_user_id,omitempty" json:"slack_user_id,omitempty"`

	// IncludeInactive Include deactivated or not-yet-active users (defaults to false). Useful for resolving users who have since been offboarded.
	IncludeInactive *bool `form:"include_inactive,omitempty" json:"include_inactive,omitempty"`

	// PageSize Integer number of records to return
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

UsersV2ListParams defines parameters for UsersV2List.

type UsersV2ListResponse added in v1.0.1

type UsersV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UsersListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UsersV2ListResponse) Status added in v1.0.1

func (r UsersV2ListResponse) Status() string

Status returns HTTPResponse.Status

func (UsersV2ListResponse) StatusCode added in v1.0.1

func (r UsersV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UsersV2ShowPagingProviderResponse added in v1.0.1

type UsersV2ShowPagingProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UsersShowPagingProviderResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UsersV2ShowPagingProviderResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (UsersV2ShowPagingProviderResponse) StatusCode added in v1.0.1

func (r UsersV2ShowPagingProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UsersV2ShowResponse added in v1.0.1

type UsersV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UsersShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UsersV2ShowResponse) Status added in v1.0.1

func (r UsersV2ShowResponse) Status() string

Status returns HTTPResponse.Status

func (UsersV2ShowResponse) StatusCode added in v1.0.1

func (r UsersV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UsersV2UpdatePagingProviderJSONRequestBody added in v1.0.1

type UsersV2UpdatePagingProviderJSONRequestBody = UsersUpdatePagingProviderPayloadV2

UsersV2UpdatePagingProviderJSONRequestBody defines body for UsersV2UpdatePagingProvider for application/json ContentType.

type UsersV2UpdatePagingProviderResponse added in v1.0.1

type UsersV2UpdatePagingProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UsersV2UpdatePagingProviderResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (UsersV2UpdatePagingProviderResponse) StatusCode added in v1.0.1

StatusCode returns HTTPResponse.StatusCode

type UtilitiesIPRangesResultV1 added in v1.0.98

type UtilitiesIPRangesResultV1 struct {
	// IpRanges Every address our traffic to you may originate from
	IpRanges []IPRangeV1 `json:"ip_ranges"`
}

UtilitiesIPRangesResultV1 defines model for UtilitiesIPRangesResultV1.

type UtilitiesIdentityResultV1 added in v1.0.1

type UtilitiesIdentityResultV1 struct {
	Identity IdentityV1 `json:"identity"`
}

UtilitiesIdentityResultV1 defines model for UtilitiesIdentityResultV1.

type UtilitiesV1IPRangesResponse added in v1.0.98

type UtilitiesV1IPRangesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UtilitiesIPRangesResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UtilitiesV1IPRangesResponse) Status added in v1.0.98

Status returns HTTPResponse.Status

func (UtilitiesV1IPRangesResponse) StatusCode added in v1.0.98

func (r UtilitiesV1IPRangesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UtilitiesV1IdentityResponse added in v1.0.1

type UtilitiesV1IdentityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UtilitiesIdentityResultV1
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UtilitiesV1IdentityResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (UtilitiesV1IdentityResponse) StatusCode added in v1.0.1

func (r UtilitiesV1IdentityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UtilitiesV1OpenAPIV3Response added in v1.0.1

type UtilitiesV1OpenAPIV3Response struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *openapi_types.File
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (UtilitiesV1OpenAPIV3Response) Status added in v1.0.1

Status returns HTTPResponse.Status

func (UtilitiesV1OpenAPIV3Response) StatusCode added in v1.0.1

func (r UtilitiesV1OpenAPIV3Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WebhookDeliveryRequestV2 added in v1.0.42

type WebhookDeliveryRequestV2 struct {
	// Body The interpolated request body
	Body *string `json:"body,omitempty"`

	// BodyTruncated Whether the body was truncated, in which case it may not be valid JSON
	BodyTruncated bool `json:"body_truncated"`

	// Headers Headers sent with the request, including those added automatically. Values interpolated from a secret are replaced with [secret], and the signature header is always redacted
	Headers map[string]string `json:"headers"`
}

WebhookDeliveryRequestV2 defines model for WebhookDeliveryRequestV2.

type WebhookDeliveryResponseV2 added in v1.0.42

type WebhookDeliveryResponseV2 struct {
	// Body The response body returned by the endpoint
	Body *string `json:"body,omitempty"`

	// BodyTruncated Whether the body was truncated, in which case it may not be valid JSON
	BodyTruncated bool `json:"body_truncated"`

	// Headers Headers returned by the endpoint, excluding any whose name resembles a credential
	Headers map[string]string `json:"headers"`
}

WebhookDeliveryResponseV2 defines model for WebhookDeliveryResponseV2.

type WebhookDeliverySlimV2 added in v1.0.42

type WebhookDeliverySlimV2 struct {
	// DurationMs Time taken by the request, in milliseconds
	DurationMs *int64 `json:"duration_ms,omitempty"`

	// Endpoint The interpolated URL the request was sent to. Redirects are followed, so this is the URL requested rather than the URL that ultimately served it
	Endpoint string `json:"endpoint"`

	// Method HTTP method used for the request
	Method string `json:"method"`

	// Outcome The result of the delivery attempt. Only success and non_2xx have a response
	Outcome WebhookDeliverySlimV2Outcome `json:"outcome"`

	// StatusCode HTTP status code returned by the endpoint. Absent when no response was received
	StatusCode *int64 `json:"status_code,omitempty"`
}

WebhookDeliverySlimV2 defines model for WebhookDeliverySlimV2.

type WebhookDeliverySlimV2Outcome added in v1.0.42

type WebhookDeliverySlimV2Outcome string

WebhookDeliverySlimV2Outcome The result of the delivery attempt. Only success and non_2xx have a response

const (
	WebhookDeliverySlimV2OutcomeNetworkError WebhookDeliverySlimV2Outcome = "network_error"
	WebhookDeliverySlimV2OutcomeNon2xx       WebhookDeliverySlimV2Outcome = "non_2xx"
	WebhookDeliverySlimV2OutcomeSuccess      WebhookDeliverySlimV2Outcome = "success"
	WebhookDeliverySlimV2OutcomeTimeout      WebhookDeliverySlimV2Outcome = "timeout"
	WebhookDeliverySlimV2OutcomeTlsError     WebhookDeliverySlimV2Outcome = "tls_error"
	WebhookDeliverySlimV2OutcomeUnreachable  WebhookDeliverySlimV2Outcome = "unreachable"
)

Defines values for WebhookDeliverySlimV2Outcome.

func (WebhookDeliverySlimV2Outcome) Valid added in v1.0.42

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

type WebhookDeliveryV2 added in v1.0.42

type WebhookDeliveryV2 struct {
	// DurationMs Time taken by the request, in milliseconds
	DurationMs *int64 `json:"duration_ms,omitempty"`

	// Endpoint The interpolated URL the request was sent to. Redirects are followed, so this is the URL requested rather than the URL that ultimately served it
	Endpoint string `json:"endpoint"`

	// Method HTTP method used for the request
	Method string `json:"method"`

	// Outcome The result of the delivery attempt. Only success and non_2xx have a response
	Outcome  WebhookDeliveryV2Outcome   `json:"outcome"`
	Request  WebhookDeliveryRequestV2   `json:"request"`
	Response *WebhookDeliveryResponseV2 `json:"response,omitempty"`

	// StatusCode HTTP status code returned by the endpoint. Absent when no response was received
	StatusCode *int64 `json:"status_code,omitempty"`
}

WebhookDeliveryV2 defines model for WebhookDeliveryV2.

type WebhookDeliveryV2Outcome added in v1.0.42

type WebhookDeliveryV2Outcome string

WebhookDeliveryV2Outcome The result of the delivery attempt. Only success and non_2xx have a response

const (
	NetworkError WebhookDeliveryV2Outcome = "network_error"
	Non2xx       WebhookDeliveryV2Outcome = "non_2xx"
	Success      WebhookDeliveryV2Outcome = "success"
	Timeout      WebhookDeliveryV2Outcome = "timeout"
	TlsError     WebhookDeliveryV2Outcome = "tls_error"
	Unreachable  WebhookDeliveryV2Outcome = "unreachable"
)

Defines values for WebhookDeliveryV2Outcome.

func (WebhookDeliveryV2Outcome) Valid added in v1.0.42

func (e WebhookDeliveryV2Outcome) Valid() bool

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

type WeekdayIntervalConfigV2 added in v1.0.1

type WeekdayIntervalConfigV2 struct {
	// Id The unique identifier for this set of working intervals
	Id string `json:"id"`

	// Name A human readable label for this set of working intervals
	Name string `json:"name"`

	// Timezone How to interpret all the intervals
	Timezone         string              `json:"timezone"`
	WeekdayIntervals []WeekdayIntervalV2 `json:"weekday_intervals"`
}

WeekdayIntervalConfigV2 defines model for WeekdayIntervalConfigV2.

type WeekdayIntervalV2 added in v1.0.1

type WeekdayIntervalV2 struct {
	// EndTime End time of the interval, in 24hr format
	EndTime string `json:"end_time"`

	// StartTime Start time of the interval, in 24hr format
	StartTime string `json:"start_time"`

	// Weekday Weekdays for use within a schedule or escalation path
	Weekday WeekdayIntervalV2Weekday `json:"weekday"`
}

WeekdayIntervalV2 defines model for WeekdayIntervalV2.

type WeekdayIntervalV2Weekday added in v1.0.1

type WeekdayIntervalV2Weekday string

WeekdayIntervalV2Weekday Weekdays for use within a schedule or escalation path

const (
	Friday    WeekdayIntervalV2Weekday = "friday"
	Monday    WeekdayIntervalV2Weekday = "monday"
	Saturday  WeekdayIntervalV2Weekday = "saturday"
	Sunday    WeekdayIntervalV2Weekday = "sunday"
	Thursday  WeekdayIntervalV2Weekday = "thursday"
	Tuesday   WeekdayIntervalV2Weekday = "tuesday"
	Wednesday WeekdayIntervalV2Weekday = "wednesday"
)

Defines values for WeekdayIntervalV2Weekday.

func (WeekdayIntervalV2Weekday) Valid added in v1.0.1

func (e WeekdayIntervalV2Weekday) Valid() bool

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

type WorkflowActorV2 added in v1.0.1

type WorkflowActorV2 struct {
	// Id Unique identifier for the workflow
	Id string `json:"id"`

	// Name Name provided by the user when creating the workflow
	Name string `json:"name"`
}

WorkflowActorV2 defines model for WorkflowActorV2.

type WorkflowDelayV2 added in v1.0.1

type WorkflowDelayV2 struct {
	// ConditionsApplyOverDelay If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
	ConditionsApplyOverDelay bool `json:"conditions_apply_over_delay"`

	// ForSeconds Delay in seconds between trigger firing and running the workflow
	ForSeconds int64 `json:"for_seconds"`
}

WorkflowDelayV2 defines model for WorkflowDelayV2.

type WorkflowFormFieldPayloadV2 added in v1.0.1

type WorkflowFormFieldPayloadV2 struct {
	// Array Whether this field holds a list of values rather than a single value
	Array *bool `json:"array,omitempty"`

	// Description Optional help text shown beneath the field
	Description *string `json:"description,omitempty"`

	// Id Stable identifier for this field; omit to create a new field
	Id *string `json:"id,omitempty"`

	// Key The key used to reference this field in the workflow scope
	Key string `json:"key"`

	// Required Whether this field must be filled in when running the workflow
	Required *bool `json:"required,omitempty"`

	// Title Human readable title shown in the form
	Title string `json:"title"`

	// Type The engine resource type of this field
	Type string `json:"type"`
}

WorkflowFormFieldPayloadV2 defines model for WorkflowFormFieldPayloadV2.

type WorkflowFormFieldV2 added in v1.0.1

type WorkflowFormFieldV2 struct {
	// Array Whether this field holds a list of values rather than a single value
	Array bool `json:"array"`

	// Description Optional help text shown beneath the field
	Description *string `json:"description,omitempty"`

	// Id Stable identifier for this form field, preserved across versions
	Id string `json:"id"`

	// Key The key used to reference this field in the workflow scope
	Key string `json:"key"`

	// Required Whether this field must be filled in when running the workflow
	Required bool `json:"required"`

	// Title Human readable title shown in the form
	Title string `json:"title"`

	// Type The engine resource type of this field
	Type string `json:"type"`
}

WorkflowFormFieldV2 defines model for WorkflowFormFieldV2.

type WorkflowRunSlimV2 added in v1.0.42

type WorkflowRunSlimV2 struct {
	// CancelledAt If the run was cancelled, this is when
	CancelledAt *time.Time `json:"cancelled_at,omitempty"`

	// CreatedAt When the resource was created
	CreatedAt time.Time `json:"created_at"`

	// EnqueuedAt When the run was enqueued for execution
	EnqueuedAt *time.Time `json:"enqueued_at,omitempty"`

	// Error Error produced by the workflow, if it failed
	Error *string `json:"error,omitempty"`

	// Id Unique identifier for the workflow run
	Id string `json:"id"`

	// IncidentId If this run was against a specific incident, this is the ID of that incident
	IncidentId *string `json:"incident_id,omitempty"`

	// IncidentReference If this run was against a specific incident, this is the reference of that incident
	IncidentReference *string `json:"incident_reference,omitempty"`

	// Progress Status of each step as it is worked
	Progress []StepProgressSlimV2 `json:"progress"`

	// ScheduledAt When the run was scheduled for
	ScheduledAt time.Time `json:"scheduled_at"`

	// UpdatedAt When the resource was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// WorkflowId Unique identifier for the underlying workflow
	WorkflowId string `json:"workflow_id"`

	// WorkflowName Name of the underlying workflow
	WorkflowName *string `json:"workflow_name,omitempty"`

	// WorkflowVersionId Unique identifier of the workflow version
	WorkflowVersionId string `json:"workflow_version_id"`

	// WorkflowVersionNumber Monotonically incrementing version number for the version that ran
	WorkflowVersionNumber int64 `json:"workflow_version_number"`
}

WorkflowRunSlimV2 defines model for WorkflowRunSlimV2.

type WorkflowRunV2 added in v1.0.42

type WorkflowRunV2 struct {
	// CancelledAt If the run was cancelled, this is when
	CancelledAt *time.Time `json:"cancelled_at,omitempty"`

	// CreatedAt When the resource was created
	CreatedAt time.Time `json:"created_at"`

	// EnqueuedAt When the run was enqueued for execution
	EnqueuedAt *time.Time `json:"enqueued_at,omitempty"`

	// Error Error produced by the workflow, if it failed
	Error *string `json:"error,omitempty"`

	// Id Unique identifier for the workflow run
	Id string `json:"id"`

	// IncidentId If this run was against a specific incident, this is the ID of that incident
	IncidentId *string `json:"incident_id,omitempty"`

	// IncidentReference If this run was against a specific incident, this is the reference of that incident
	IncidentReference *string `json:"incident_reference,omitempty"`

	// Progress Status of each step as it is worked
	Progress []StepProgressV2 `json:"progress"`

	// ScheduledAt When the run was scheduled for
	ScheduledAt time.Time `json:"scheduled_at"`

	// UpdatedAt When the resource was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// WorkflowId Unique identifier for the underlying workflow
	WorkflowId string `json:"workflow_id"`

	// WorkflowName Name of the underlying workflow
	WorkflowName *string `json:"workflow_name,omitempty"`

	// WorkflowVersionId Unique identifier of the workflow version
	WorkflowVersionId string `json:"workflow_version_id"`

	// WorkflowVersionNumber Monotonically incrementing version number for the version that ran
	WorkflowVersionNumber int64 `json:"workflow_version_number"`
}

WorkflowRunV2 defines model for WorkflowRunV2.

type WorkflowRunsListResultV2 added in v1.0.42

type WorkflowRunsListResultV2 struct {
	PaginationMeta *PaginationMetaResultWithTotalV2 `json:"pagination_meta,omitempty"`
	WorkflowRuns   []WorkflowRunSlimV2              `json:"workflow_runs"`
}

WorkflowRunsListResultV2 defines model for WorkflowRunsListResultV2.

type WorkflowRunsShowResultV2 added in v1.0.42

type WorkflowRunsShowResultV2 struct {
	WorkflowRun WorkflowRunV2 `json:"workflow_run"`
}

WorkflowRunsShowResultV2 defines model for WorkflowRunsShowResultV2.

type WorkflowRunsV2ListParams added in v1.0.42

type WorkflowRunsV2ListParams struct {
	// WorkflowId Unique identifier for the workflow to filter by
	WorkflowId *string `form:"workflow_id,omitempty" json:"workflow_id,omitempty"`

	// IncidentId Unique identifier for the incident to filter by
	IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"`

	// CreatedAt Filter on workflow run created at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'.
	CreatedAt *map[string][]string `form:"created_at,omitempty" json:"created_at,omitempty"`

	// PageSize Number of workflow runs to return per page
	PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"`

	// After A workflow run's ID. This endpoint will return a list of workflow runs after this ID in relation to the API response order.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

WorkflowRunsV2ListParams defines parameters for WorkflowRunsV2List.

type WorkflowRunsV2ListResponse added in v1.0.42

type WorkflowRunsV2ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowRunsListResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (WorkflowRunsV2ListResponse) Status added in v1.0.42

Status returns HTTPResponse.Status

func (WorkflowRunsV2ListResponse) StatusCode added in v1.0.42

func (r WorkflowRunsV2ListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowRunsV2ShowResponse added in v1.0.42

type WorkflowRunsV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowRunsShowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (WorkflowRunsV2ShowResponse) Status added in v1.0.42

Status returns HTTPResponse.Status

func (WorkflowRunsV2ShowResponse) StatusCode added in v1.0.42

func (r WorkflowRunsV2ShowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowSlimV2 added in v1.0.1

type WorkflowSlimV2 struct {
	// ConditionGroups Conditions that apply to the workflow trigger
	ConditionGroups []ConditionGroupV2 `json:"condition_groups"`

	// ContinueOnStepError Whether to continue executing the workflow if a step fails
	ContinueOnStepError bool             `json:"continue_on_step_error"`
	Delay               *WorkflowDelayV2 `json:"delay,omitempty"`

	// Expressions Expressions that make variables available in the scope
	Expressions []ExpressionV2 `json:"expressions"`

	// Folder Folder to display the workflow in
	Folder *string `json:"folder,omitempty"`

	// Id Unique identifier for the workflow
	Id string `json:"id"`

	// IncludePrivateEscalations Whether to include private escalations
	IncludePrivateEscalations bool `json:"include_private_escalations"`

	// IncludePrivateIncidents DEPRECATED: use `private_incident_scope` instead. `true` when the workflow runs on private incidents (a `private_incident_scope` of `all` or `owning_teams`), `false` when the scope is `none`.
	IncludePrivateIncidents bool `json:"include_private_incidents"`

	// Name Name provided by the user when creating the workflow
	Name string `json:"name"`

	// OnceFor This workflow will run 'once for' a list of references
	OnceFor []EngineReferenceV2 `json:"once_for"`

	// OwningTeamIds IDs of the teams that own this workflow
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none
	PrivateIncidentScope WorkflowSlimV2PrivateIncidentScope `json:"private_incident_scope"`

	// RunsFrom The time from which this workflow will run on incidents
	RunsFrom *time.Time `json:"runs_from,omitempty"`

	// RunsOnIncidentModes Which incident modes should this workflow run on? By default, workflows only run on standard incidents, but can also be configured to run on test and retrospective incidents.
	RunsOnIncidentModes []WorkflowSlimV2RunsOnIncidentModes `json:"runs_on_incident_modes"`

	// RunsOnIncidents Which incidents should the workflow be applied to?
	RunsOnIncidents WorkflowSlimV2RunsOnIncidents `json:"runs_on_incidents"`

	// Shortform The shortform used to trigger this workflow (only applicable for manual triggers)
	Shortform *string `json:"shortform,omitempty"`

	// State What state this workflow is in
	State WorkflowSlimV2State `json:"state"`

	// Steps Steps that are executed as part of the workflow
	Steps   []StepConfigSlimV2 `json:"steps"`
	Trigger TriggerSlimV2      `json:"trigger"`

	// Version Revision of the workflow, uniquely identifying it's version
	Version int64 `json:"version"`
}

WorkflowSlimV2 defines model for WorkflowSlimV2.

type WorkflowSlimV2PrivateIncidentScope added in v1.0.16

type WorkflowSlimV2PrivateIncidentScope string

WorkflowSlimV2PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none

const (
	WorkflowSlimV2PrivateIncidentScopeAll         WorkflowSlimV2PrivateIncidentScope = "all"
	WorkflowSlimV2PrivateIncidentScopeNone        WorkflowSlimV2PrivateIncidentScope = "none"
	WorkflowSlimV2PrivateIncidentScopeOwningTeams WorkflowSlimV2PrivateIncidentScope = "owning_teams"
)

Defines values for WorkflowSlimV2PrivateIncidentScope.

func (WorkflowSlimV2PrivateIncidentScope) Valid added in v1.0.16

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

type WorkflowSlimV2RunsOnIncidentModes added in v1.0.1

type WorkflowSlimV2RunsOnIncidentModes string

WorkflowSlimV2RunsOnIncidentModes Incident mode that workflows can run on

const (
	WorkflowSlimV2RunsOnIncidentModesRetrospective WorkflowSlimV2RunsOnIncidentModes = "retrospective"
	WorkflowSlimV2RunsOnIncidentModesStandard      WorkflowSlimV2RunsOnIncidentModes = "standard"
	WorkflowSlimV2RunsOnIncidentModesTest          WorkflowSlimV2RunsOnIncidentModes = "test"
)

Defines values for WorkflowSlimV2RunsOnIncidentModes.

func (WorkflowSlimV2RunsOnIncidentModes) Valid added in v1.0.1

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

type WorkflowSlimV2RunsOnIncidents added in v1.0.1

type WorkflowSlimV2RunsOnIncidents string

WorkflowSlimV2RunsOnIncidents Which incidents should the workflow be applied to?

const (
	WorkflowSlimV2RunsOnIncidentsNewlyCreated          WorkflowSlimV2RunsOnIncidents = "newly_created"
	WorkflowSlimV2RunsOnIncidentsNewlyCreatedAndActive WorkflowSlimV2RunsOnIncidents = "newly_created_and_active"
)

Defines values for WorkflowSlimV2RunsOnIncidents.

func (WorkflowSlimV2RunsOnIncidents) Valid added in v1.0.1

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

type WorkflowSlimV2State added in v1.0.1

type WorkflowSlimV2State string

WorkflowSlimV2State What state this workflow is in

const (
	WorkflowSlimV2StateActive   WorkflowSlimV2State = "active"
	WorkflowSlimV2StateDisabled WorkflowSlimV2State = "disabled"
	WorkflowSlimV2StateDraft    WorkflowSlimV2State = "draft"
	WorkflowSlimV2StateError    WorkflowSlimV2State = "error"
)

Defines values for WorkflowSlimV2State.

func (WorkflowSlimV2State) Valid added in v1.0.1

func (e WorkflowSlimV2State) Valid() bool

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

type WorkflowV2 added in v1.0.1

type WorkflowV2 struct {
	// ConditionGroups Conditions that apply to the workflow trigger
	ConditionGroups []ConditionGroupV2 `json:"condition_groups"`

	// ContinueOnStepError Whether to continue executing the workflow if a step fails
	ContinueOnStepError bool             `json:"continue_on_step_error"`
	Delay               *WorkflowDelayV2 `json:"delay,omitempty"`

	// Expressions Expressions that make variables available in the scope
	Expressions []ExpressionV2 `json:"expressions"`

	// Folder Folder to display the workflow in
	Folder *string `json:"folder,omitempty"`

	// FormFields User-configured form fields available in the workflow scope (manual triggers only)
	FormFields *[]WorkflowFormFieldV2 `json:"form_fields,omitempty"`

	// Id Unique identifier for the workflow
	Id string `json:"id"`

	// IncludePrivateEscalations Whether to include private escalations
	IncludePrivateEscalations bool `json:"include_private_escalations"`

	// IncludePrivateIncidents DEPRECATED: use `private_incident_scope` instead. `true` when the workflow runs on private incidents (a `private_incident_scope` of `all` or `owning_teams`), `false` when the scope is `none`.
	IncludePrivateIncidents bool `json:"include_private_incidents"`

	// Name Name provided by the user when creating the workflow
	Name string `json:"name"`

	// OnceFor This workflow will run 'once for' a list of references
	OnceFor []EngineReferenceV2 `json:"once_for"`

	// OwningTeamIds IDs of the teams that own this workflow
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none
	PrivateIncidentScope WorkflowV2PrivateIncidentScope `json:"private_incident_scope"`

	// RunsFrom The time from which this workflow will run on incidents
	RunsFrom *time.Time `json:"runs_from,omitempty"`

	// RunsOnIncidentModes Which incident modes should this workflow run on? By default, workflows only run on standard incidents, but can also be configured to run on test and retrospective incidents.
	RunsOnIncidentModes []WorkflowV2RunsOnIncidentModes `json:"runs_on_incident_modes"`

	// RunsOnIncidents Which incidents should the workflow be applied to?
	RunsOnIncidents WorkflowV2RunsOnIncidents `json:"runs_on_incidents"`

	// Shortform The shortform used to trigger this workflow (only applicable for manual triggers)
	Shortform *string `json:"shortform,omitempty"`

	// State What state this workflow is in
	State WorkflowV2State `json:"state"`

	// Steps Steps that are executed as part of the workflow
	Steps   []StepConfigV2 `json:"steps"`
	Trigger TriggerSlimV2  `json:"trigger"`

	// Version Revision of the workflow, uniquely identifying it's version
	Version int64 `json:"version"`
}

WorkflowV2 defines model for WorkflowV2.

type WorkflowV2PrivateIncidentScope added in v1.0.16

type WorkflowV2PrivateIncidentScope string

WorkflowV2PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none

const (
	WorkflowV2PrivateIncidentScopeAll         WorkflowV2PrivateIncidentScope = "all"
	WorkflowV2PrivateIncidentScopeNone        WorkflowV2PrivateIncidentScope = "none"
	WorkflowV2PrivateIncidentScopeOwningTeams WorkflowV2PrivateIncidentScope = "owning_teams"
)

Defines values for WorkflowV2PrivateIncidentScope.

func (WorkflowV2PrivateIncidentScope) Valid added in v1.0.16

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

type WorkflowV2RunsOnIncidentModes added in v1.0.1

type WorkflowV2RunsOnIncidentModes string

WorkflowV2RunsOnIncidentModes Incident mode that workflows can run on

const (
	WorkflowV2RunsOnIncidentModesRetrospective WorkflowV2RunsOnIncidentModes = "retrospective"
	WorkflowV2RunsOnIncidentModesStandard      WorkflowV2RunsOnIncidentModes = "standard"
	WorkflowV2RunsOnIncidentModesTest          WorkflowV2RunsOnIncidentModes = "test"
)

Defines values for WorkflowV2RunsOnIncidentModes.

func (WorkflowV2RunsOnIncidentModes) Valid added in v1.0.1

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

type WorkflowV2RunsOnIncidents added in v1.0.1

type WorkflowV2RunsOnIncidents string

WorkflowV2RunsOnIncidents Which incidents should the workflow be applied to?

const (
	WorkflowV2RunsOnIncidentsNewlyCreated          WorkflowV2RunsOnIncidents = "newly_created"
	WorkflowV2RunsOnIncidentsNewlyCreatedAndActive WorkflowV2RunsOnIncidents = "newly_created_and_active"
)

Defines values for WorkflowV2RunsOnIncidents.

func (WorkflowV2RunsOnIncidents) Valid added in v1.0.1

func (e WorkflowV2RunsOnIncidents) Valid() bool

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

type WorkflowV2State added in v1.0.1

type WorkflowV2State string

WorkflowV2State What state this workflow is in

const (
	WorkflowV2StateActive   WorkflowV2State = "active"
	WorkflowV2StateDisabled WorkflowV2State = "disabled"
	WorkflowV2StateDraft    WorkflowV2State = "draft"
	WorkflowV2StateError    WorkflowV2State = "error"
)

Defines values for WorkflowV2State.

func (WorkflowV2State) Valid added in v1.0.1

func (e WorkflowV2State) Valid() bool

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

type WorkflowsCreateWorkflowPayloadV2 added in v1.0.1

type WorkflowsCreateWorkflowPayloadV2 struct {
	// Annotations Annotations that track metadata about this resource
	Annotations *map[string]string `json:"annotations,omitempty"`

	// ConditionGroups Conditions that apply to the workflow trigger
	ConditionGroups []ConditionGroupPayloadV2 `json:"condition_groups"`

	// ContinueOnStepError Whether to continue executing the workflow if a step fails
	ContinueOnStepError bool             `json:"continue_on_step_error"`
	Delay               *WorkflowDelayV2 `json:"delay,omitempty"`

	// Expressions The expressions to use in the workflow
	Expressions []ExpressionPayloadV2 `json:"expressions"`

	// Folder Folder to display the workflow in
	Folder *string `json:"folder,omitempty"`

	// FormFields User-configured form fields available in the workflow scope (manual triggers only)
	FormFields *[]WorkflowFormFieldPayloadV2 `json:"form_fields,omitempty"`

	// IncludePrivateEscalations Whether to include private escalations
	IncludePrivateEscalations *bool `json:"include_private_escalations,omitempty"`

	// IncludePrivateIncidents DEPRECATED: use `private_incident_scope` instead. May be sent alongside `private_incident_scope` only if they agree; contradictory values return a validation error.
	IncludePrivateIncidents *bool `json:"include_private_incidents,omitempty"`

	// Name Name provided by the user when creating the workflow
	Name string `json:"name"`

	// OnceFor This workflow will run 'once for' a list of references
	OnceFor []string `json:"once_for"`

	// OwningTeamIds IDs of the teams that own this workflow
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none
	PrivateIncidentScope *WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope `json:"private_incident_scope,omitempty"`

	// RunsOnIncidentModes Which incident modes should this workflow run on? By default, workflows only run on standard incidents, but can also be configured to run on test and retrospective incidents.
	RunsOnIncidentModes []WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes `json:"runs_on_incident_modes"`

	// RunsOnIncidents Which incidents should the workflow be applied to?
	RunsOnIncidents WorkflowsCreateWorkflowPayloadV2RunsOnIncidents `json:"runs_on_incidents"`

	// Shortform The shortform used to trigger this workflow (only applicable for manual triggers)
	Shortform *string `json:"shortform,omitempty"`

	// State What state this workflow is in
	State *WorkflowsCreateWorkflowPayloadV2State `json:"state,omitempty"`

	// Steps Steps that are executed as part of the workflow
	Steps []StepConfigPayloadV2 `json:"steps"`

	// Trigger Trigger to set on the workflow
	Trigger string `json:"trigger"`
}

WorkflowsCreateWorkflowPayloadV2 defines model for WorkflowsCreateWorkflowPayloadV2.

type WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope added in v1.0.16

type WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope string

WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none

const (
	WorkflowsCreateWorkflowPayloadV2PrivateIncidentScopeAll         WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope = "all"
	WorkflowsCreateWorkflowPayloadV2PrivateIncidentScopeNone        WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope = "none"
	WorkflowsCreateWorkflowPayloadV2PrivateIncidentScopeOwningTeams WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope = "owning_teams"
)

Defines values for WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope.

func (WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope) Valid added in v1.0.16

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

type WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes added in v1.0.1

type WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes string

WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes defines model for WorkflowsCreateWorkflowPayloadV2.RunsOnIncidentModes.

const (
	WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModesRetrospective WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes = "retrospective"
	WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModesStandard      WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes = "standard"
	WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModesTest          WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes = "test"
)

Defines values for WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes.

func (WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModes) Valid added in v1.0.1

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

type WorkflowsCreateWorkflowPayloadV2RunsOnIncidents added in v1.0.1

type WorkflowsCreateWorkflowPayloadV2RunsOnIncidents string

WorkflowsCreateWorkflowPayloadV2RunsOnIncidents Which incidents should the workflow be applied to?

const (
	WorkflowsCreateWorkflowPayloadV2RunsOnIncidentsNewlyCreated          WorkflowsCreateWorkflowPayloadV2RunsOnIncidents = "newly_created"
	WorkflowsCreateWorkflowPayloadV2RunsOnIncidentsNewlyCreatedAndActive WorkflowsCreateWorkflowPayloadV2RunsOnIncidents = "newly_created_and_active"
)

Defines values for WorkflowsCreateWorkflowPayloadV2RunsOnIncidents.

func (WorkflowsCreateWorkflowPayloadV2RunsOnIncidents) Valid added in v1.0.1

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

type WorkflowsCreateWorkflowPayloadV2State added in v1.0.1

type WorkflowsCreateWorkflowPayloadV2State string

WorkflowsCreateWorkflowPayloadV2State What state this workflow is in

const (
	WorkflowsCreateWorkflowPayloadV2StateActive   WorkflowsCreateWorkflowPayloadV2State = "active"
	WorkflowsCreateWorkflowPayloadV2StateDisabled WorkflowsCreateWorkflowPayloadV2State = "disabled"
	WorkflowsCreateWorkflowPayloadV2StateDraft    WorkflowsCreateWorkflowPayloadV2State = "draft"
	WorkflowsCreateWorkflowPayloadV2StateError    WorkflowsCreateWorkflowPayloadV2State = "error"
)

Defines values for WorkflowsCreateWorkflowPayloadV2State.

func (WorkflowsCreateWorkflowPayloadV2State) Valid added in v1.0.1

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

type WorkflowsCreateWorkflowResultV2 added in v1.0.1

type WorkflowsCreateWorkflowResultV2 struct {
	ManagementMeta ManagementMetaV2 `json:"management_meta"`
	Workflow       WorkflowV2       `json:"workflow"`
}

WorkflowsCreateWorkflowResultV2 defines model for WorkflowsCreateWorkflowResultV2.

type WorkflowsListWorkflowsResultV2 added in v1.0.1

type WorkflowsListWorkflowsResultV2 struct {
	Workflows []WorkflowSlimV2 `json:"workflows"`
}

WorkflowsListWorkflowsResultV2 defines model for WorkflowsListWorkflowsResultV2.

type WorkflowsShowWorkflowResultV2 added in v1.0.1

type WorkflowsShowWorkflowResultV2 struct {
	ManagementMeta ManagementMetaV2 `json:"management_meta"`
	Workflow       WorkflowV2       `json:"workflow"`
}

WorkflowsShowWorkflowResultV2 defines model for WorkflowsShowWorkflowResultV2.

type WorkflowsUpdateWorkflowPayloadV2 added in v1.0.1

type WorkflowsUpdateWorkflowPayloadV2 struct {
	// Annotations Annotations that track metadata about this resource
	Annotations *map[string]string `json:"annotations,omitempty"`

	// ConditionGroups Conditions that apply to the workflow trigger
	ConditionGroups []ConditionGroupPayloadV2 `json:"condition_groups"`

	// ContinueOnStepError Whether to continue executing the workflow if a step fails
	ContinueOnStepError bool             `json:"continue_on_step_error"`
	Delay               *WorkflowDelayV2 `json:"delay,omitempty"`

	// Expressions The expressions to use in the workflow
	Expressions []ExpressionPayloadV2 `json:"expressions"`

	// Folder Folder to display the workflow in
	Folder *string `json:"folder,omitempty"`

	// FormFields User-configured form fields available in the workflow scope (manual triggers only)
	FormFields *[]WorkflowFormFieldPayloadV2 `json:"form_fields,omitempty"`

	// IncludePrivateEscalations Whether to include private escalations
	IncludePrivateEscalations *bool `json:"include_private_escalations,omitempty"`

	// IncludePrivateIncidents DEPRECATED: use `private_incident_scope` instead. May be sent alongside `private_incident_scope` only if they agree; contradictory values return a validation error.
	IncludePrivateIncidents *bool `json:"include_private_incidents,omitempty"`

	// Name Name provided by the user when creating the workflow
	Name string `json:"name"`

	// OnceFor This workflow will run 'once for' a list of references
	OnceFor []string `json:"once_for"`

	// OwningTeamIds IDs of the teams that own this workflow
	OwningTeamIds *[]string `json:"owning_team_ids,omitempty"`

	// PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none
	PrivateIncidentScope *WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope `json:"private_incident_scope,omitempty"`

	// RunsOnIncidentModes Which incident modes should this workflow run on? By default, workflows only run on standard incidents, but can also be configured to run on test and retrospective incidents.
	RunsOnIncidentModes []WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes `json:"runs_on_incident_modes"`

	// RunsOnIncidents Which incidents should the workflow be applied to?
	RunsOnIncidents WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents `json:"runs_on_incidents"`

	// Shortform The shortform used to trigger this workflow (only applicable for manual triggers)
	Shortform *string `json:"shortform,omitempty"`

	// SkipStepUpgrades Skips workflow step upgrades, when the parameters for an existing workflow step change
	SkipStepUpgrades *bool `json:"skip_step_upgrades,omitempty"`

	// State What state this workflow is in
	State *WorkflowsUpdateWorkflowPayloadV2State `json:"state,omitempty"`

	// Steps Steps that are executed as part of the workflow
	Steps []StepConfigPayloadV2 `json:"steps"`
}

WorkflowsUpdateWorkflowPayloadV2 defines model for WorkflowsUpdateWorkflowPayloadV2.

type WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope added in v1.0.16

type WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope string

WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope Which private incidents this workflow acts on: every private incident (all), those an owning team can see (owning_teams), or none

const (
	WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScopeAll         WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope = "all"
	WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScopeNone        WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope = "none"
	WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScopeOwningTeams WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope = "owning_teams"
)

Defines values for WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope.

func (WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope) Valid added in v1.0.16

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

type WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes added in v1.0.1

type WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes string

WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes defines model for WorkflowsUpdateWorkflowPayloadV2.RunsOnIncidentModes.

const (
	WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModesRetrospective WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes = "retrospective"
	WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModesStandard      WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes = "standard"
	WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModesTest          WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes = "test"
)

Defines values for WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes.

func (WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModes) Valid added in v1.0.1

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

type WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents added in v1.0.1

type WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents string

WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents Which incidents should the workflow be applied to?

const (
	WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentsNewlyCreated          WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents = "newly_created"
	WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentsNewlyCreatedAndActive WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents = "newly_created_and_active"
)

Defines values for WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents.

func (WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents) Valid added in v1.0.1

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

type WorkflowsUpdateWorkflowPayloadV2State added in v1.0.1

type WorkflowsUpdateWorkflowPayloadV2State string

WorkflowsUpdateWorkflowPayloadV2State What state this workflow is in

const (
	WorkflowsUpdateWorkflowPayloadV2StateActive   WorkflowsUpdateWorkflowPayloadV2State = "active"
	WorkflowsUpdateWorkflowPayloadV2StateDisabled WorkflowsUpdateWorkflowPayloadV2State = "disabled"
	WorkflowsUpdateWorkflowPayloadV2StateDraft    WorkflowsUpdateWorkflowPayloadV2State = "draft"
	WorkflowsUpdateWorkflowPayloadV2StateError    WorkflowsUpdateWorkflowPayloadV2State = "error"
)

Defines values for WorkflowsUpdateWorkflowPayloadV2State.

func (WorkflowsUpdateWorkflowPayloadV2State) Valid added in v1.0.1

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

type WorkflowsUpdateWorkflowResultV2 added in v1.0.1

type WorkflowsUpdateWorkflowResultV2 struct {
	ManagementMeta ManagementMetaV2 `json:"management_meta"`
	Workflow       WorkflowV2       `json:"workflow"`
}

WorkflowsUpdateWorkflowResultV2 defines model for WorkflowsUpdateWorkflowResultV2.

type WorkflowsV2CreateWorkflowJSONRequestBody added in v1.0.1

type WorkflowsV2CreateWorkflowJSONRequestBody = WorkflowsCreateWorkflowPayloadV2

WorkflowsV2CreateWorkflowJSONRequestBody defines body for WorkflowsV2CreateWorkflow for application/json ContentType.

type WorkflowsV2CreateWorkflowResponse added in v1.0.1

type WorkflowsV2CreateWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *WorkflowsCreateWorkflowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (WorkflowsV2CreateWorkflowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (WorkflowsV2CreateWorkflowResponse) StatusCode added in v1.0.1

func (r WorkflowsV2CreateWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowsV2DestroyWorkflowResponse added in v1.0.1

type WorkflowsV2DestroyWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (WorkflowsV2DestroyWorkflowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (WorkflowsV2DestroyWorkflowResponse) StatusCode added in v1.0.1

func (r WorkflowsV2DestroyWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowsV2ListWorkflowsResponse added in v1.0.1

type WorkflowsV2ListWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowsListWorkflowsResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (WorkflowsV2ListWorkflowsResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (WorkflowsV2ListWorkflowsResponse) StatusCode added in v1.0.1

func (r WorkflowsV2ListWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowsV2ShowWorkflowParams added in v1.0.1

type WorkflowsV2ShowWorkflowParams struct {
	// SkipStepUpgrades Skips workflow step upgrades, when the parameters for an existing workflow step change
	SkipStepUpgrades *bool `form:"skip_step_upgrades,omitempty" json:"skip_step_upgrades,omitempty"`
}

WorkflowsV2ShowWorkflowParams defines parameters for WorkflowsV2ShowWorkflow.

type WorkflowsV2ShowWorkflowResponse added in v1.0.1

type WorkflowsV2ShowWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowsShowWorkflowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (WorkflowsV2ShowWorkflowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (WorkflowsV2ShowWorkflowResponse) StatusCode added in v1.0.1

func (r WorkflowsV2ShowWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowsV2UpdateWorkflowJSONRequestBody added in v1.0.1

type WorkflowsV2UpdateWorkflowJSONRequestBody = WorkflowsUpdateWorkflowPayloadV2

WorkflowsV2UpdateWorkflowJSONRequestBody defines body for WorkflowsV2UpdateWorkflow for application/json ContentType.

type WorkflowsV2UpdateWorkflowResponse added in v1.0.1

type WorkflowsV2UpdateWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowsUpdateWorkflowResultV2
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON403      *ErrorResponse
	JSON404      *ErrorResponse
	JSON405      *ErrorResponse
	JSON406      *ErrorResponse
	JSON408      *ErrorResponse
	JSON409      *ErrorResponse
	JSON412      *ErrorResponse
	JSON413      *ErrorResponse
	JSON422      *ErrorResponse
	JSON429      *ErrorResponse
	JSON500      *ErrorResponse
}

func (WorkflowsV2UpdateWorkflowResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (WorkflowsV2UpdateWorkflowResponse) StatusCode added in v1.0.1

func (r WorkflowsV2UpdateWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkloadMetadataV2 added in v1.0.1

type WorkloadMetadataV2 struct {
	// DataSyncedAt The time the workload figures are calculated up to. Workload is complete up to this time. Null if we have not calculated any workload for this incident yet.
	DataSyncedAt *time.Time `json:"data_synced_at,omitempty"`
}

WorkloadMetadataV2 defines model for WorkloadMetadataV2.

type WorkloadMinutesV2 added in v1.0.1

type WorkloadMinutesV2 struct {
	// MinutesSpentOnIncident Total minutes the user spent on the incident
	MinutesSpentOnIncident float64 `json:"minutes_spent_on_incident"`

	// MinutesSpentOnIncidentInLateHours Minutes spent during the user's late hours
	MinutesSpentOnIncidentInLateHours float64 `json:"minutes_spent_on_incident_in_late_hours"`

	// MinutesSpentOnIncidentInSleepingHours Minutes spent during the user's sleeping hours
	MinutesSpentOnIncidentInSleepingHours float64 `json:"minutes_spent_on_incident_in_sleeping_hours"`

	// MinutesSpentOnIncidentInWorkingHours Minutes spent during the user's working hours
	MinutesSpentOnIncidentInWorkingHours float64 `json:"minutes_spent_on_incident_in_working_hours"`
}

WorkloadMinutesV2 defines model for WorkloadMinutesV2.

Directories

Path Synopsis
internal
postgen command
Command postgen post-processes the oapi-codegen output so the generated file presents a clean public surface:
Command postgen post-processes the oapi-codegen output so the generated file presents a clean public surface:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL