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

incident

package module
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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"
	APIKeyRoleV1NameCatalogEditor                       APIKeyRoleV1Name = "catalog_editor"
	APIKeyRoleV1NameCatalogViewer                       APIKeyRoleV1Name = "catalog_viewer"
	APIKeyRoleV1NameEscalationCreator                   APIKeyRoleV1Name = "escalation_creator"
	APIKeyRoleV1NameGlobalAccess                        APIKeyRoleV1Name = "global_access"
	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"
	APIKeyRoleV1NamePostIncidentFlowOptOut              APIKeyRoleV1Name = "post_incident_flow_opt_out"
	APIKeyRoleV1NamePostmortemsManage                   APIKeyRoleV1Name = "postmortems_manage"
	APIKeyRoleV1NamePrivateWorkflowsEditor              APIKeyRoleV1Name = "private_workflows_editor"
	APIKeyRoleV1NameScheduleOverridesEditor             APIKeyRoleV1Name = "schedule_overrides_editor"
	APIKeyRoleV1NameSchedulesEditor                     APIKeyRoleV1Name = "schedules_editor"
	APIKeyRoleV1NameSchedulesReader                     APIKeyRoleV1Name = "schedules_reader"
	APIKeyRoleV1NameSecuritySettingsEditor              APIKeyRoleV1Name = "security_settings_editor"
	APIKeyRoleV1NameStatusPagePublisher                 APIKeyRoleV1Name = "status_page_publisher"
	APIKeyRoleV1NameTeamMembershipsManage               APIKeyRoleV1Name = "team_memberships_manage"
	APIKeyRoleV1NameViewer                              APIKeyRoleV1Name = "viewer"
	APIKeyRoleV1NameWorkflowsEditor                     APIKeyRoleV1Name = "workflows_editor"
)

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"
	APIKeyTeamRoleV1NameEscalationCreator       APIKeyTeamRoleV1Name = "escalation_creator"
	APIKeyTeamRoleV1NameOnCallEditor            APIKeyTeamRoleV1Name = "on_call_editor"
	APIKeyTeamRoleV1NameScheduleOverridesEditor APIKeyTeamRoleV1Name = "schedule_overrides_editor"
	APIKeyTeamRoleV1NameSchedulesEditor         APIKeyTeamRoleV1Name = "schedules_editor"
	APIKeyTeamRoleV1NameSchedulesReader         APIKeyTeamRoleV1Name = "schedules_reader"
	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 {
	// 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 {
	// 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"
	APIKeysCreatePayloadV1RoleNamesCatalogEditor                       APIKeysCreatePayloadV1RoleNames = "catalog_editor"
	APIKeysCreatePayloadV1RoleNamesCatalogViewer                       APIKeysCreatePayloadV1RoleNames = "catalog_viewer"
	APIKeysCreatePayloadV1RoleNamesEscalationCreator                   APIKeysCreatePayloadV1RoleNames = "escalation_creator"
	APIKeysCreatePayloadV1RoleNamesGlobalAccess                        APIKeysCreatePayloadV1RoleNames = "global_access"
	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"
	APIKeysCreatePayloadV1RoleNamesPostIncidentFlowOptOut              APIKeysCreatePayloadV1RoleNames = "post_incident_flow_opt_out"
	APIKeysCreatePayloadV1RoleNamesPostmortemsManage                   APIKeysCreatePayloadV1RoleNames = "postmortems_manage"
	APIKeysCreatePayloadV1RoleNamesPrivateWorkflowsEditor              APIKeysCreatePayloadV1RoleNames = "private_workflows_editor"
	APIKeysCreatePayloadV1RoleNamesScheduleOverridesEditor             APIKeysCreatePayloadV1RoleNames = "schedule_overrides_editor"
	APIKeysCreatePayloadV1RoleNamesSchedulesEditor                     APIKeysCreatePayloadV1RoleNames = "schedules_editor"
	APIKeysCreatePayloadV1RoleNamesSchedulesReader                     APIKeysCreatePayloadV1RoleNames = "schedules_reader"
	APIKeysCreatePayloadV1RoleNamesSecuritySettingsEditor              APIKeysCreatePayloadV1RoleNames = "security_settings_editor"
	APIKeysCreatePayloadV1RoleNamesStatusPagePublisher                 APIKeysCreatePayloadV1RoleNames = "status_page_publisher"
	APIKeysCreatePayloadV1RoleNamesTeamMembershipsManage               APIKeysCreatePayloadV1RoleNames = "team_memberships_manage"
	APIKeysCreatePayloadV1RoleNamesViewer                              APIKeysCreatePayloadV1RoleNames = "viewer"
	APIKeysCreatePayloadV1RoleNamesWorkflowsEditor                     APIKeysCreatePayloadV1RoleNames = "workflows_editor"
)

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"
	APIKeysCreatePayloadV1TeamRoleNamesEscalationCreator       APIKeysCreatePayloadV1TeamRoleNames = "escalation_creator"
	APIKeysCreatePayloadV1TeamRoleNamesOnCallEditor            APIKeysCreatePayloadV1TeamRoleNames = "on_call_editor"
	APIKeysCreatePayloadV1TeamRoleNamesScheduleOverridesEditor APIKeysCreatePayloadV1TeamRoleNames = "schedule_overrides_editor"
	APIKeysCreatePayloadV1TeamRoleNamesSchedulesEditor         APIKeysCreatePayloadV1TeamRoleNames = "schedules_editor"
	APIKeysCreatePayloadV1TeamRoleNamesSchedulesReader         APIKeysCreatePayloadV1TeamRoleNames = "schedules_reader"
	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 {
	// 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"
	APIKeysUpdatePayloadV1RoleNamesCatalogEditor                       APIKeysUpdatePayloadV1RoleNames = "catalog_editor"
	APIKeysUpdatePayloadV1RoleNamesCatalogViewer                       APIKeysUpdatePayloadV1RoleNames = "catalog_viewer"
	APIKeysUpdatePayloadV1RoleNamesEscalationCreator                   APIKeysUpdatePayloadV1RoleNames = "escalation_creator"
	APIKeysUpdatePayloadV1RoleNamesGlobalAccess                        APIKeysUpdatePayloadV1RoleNames = "global_access"
	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"
	APIKeysUpdatePayloadV1RoleNamesPostIncidentFlowOptOut              APIKeysUpdatePayloadV1RoleNames = "post_incident_flow_opt_out"
	APIKeysUpdatePayloadV1RoleNamesPostmortemsManage                   APIKeysUpdatePayloadV1RoleNames = "postmortems_manage"
	APIKeysUpdatePayloadV1RoleNamesPrivateWorkflowsEditor              APIKeysUpdatePayloadV1RoleNames = "private_workflows_editor"
	APIKeysUpdatePayloadV1RoleNamesScheduleOverridesEditor             APIKeysUpdatePayloadV1RoleNames = "schedule_overrides_editor"
	APIKeysUpdatePayloadV1RoleNamesSchedulesEditor                     APIKeysUpdatePayloadV1RoleNames = "schedules_editor"
	APIKeysUpdatePayloadV1RoleNamesSchedulesReader                     APIKeysUpdatePayloadV1RoleNames = "schedules_reader"
	APIKeysUpdatePayloadV1RoleNamesSecuritySettingsEditor              APIKeysUpdatePayloadV1RoleNames = "security_settings_editor"
	APIKeysUpdatePayloadV1RoleNamesStatusPagePublisher                 APIKeysUpdatePayloadV1RoleNames = "status_page_publisher"
	APIKeysUpdatePayloadV1RoleNamesTeamMembershipsManage               APIKeysUpdatePayloadV1RoleNames = "team_memberships_manage"
	APIKeysUpdatePayloadV1RoleNamesViewer                              APIKeysUpdatePayloadV1RoleNames = "viewer"
	APIKeysUpdatePayloadV1RoleNamesWorkflowsEditor                     APIKeysUpdatePayloadV1RoleNames = "workflows_editor"
)

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"
	APIKeysUpdatePayloadV1TeamRoleNamesEscalationCreator       APIKeysUpdatePayloadV1TeamRoleNames = "escalation_creator"
	APIKeysUpdatePayloadV1TeamRoleNamesOnCallEditor            APIKeysUpdatePayloadV1TeamRoleNames = "on_call_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesScheduleOverridesEditor APIKeysUpdatePayloadV1TeamRoleNames = "schedule_overrides_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesSchedulesEditor         APIKeysUpdatePayloadV1TeamRoleNames = "schedules_editor"
	APIKeysUpdatePayloadV1TeamRoleNamesSchedulesReader         APIKeysUpdatePayloadV1TeamRoleNames = "schedules_reader"
	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
}

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
}

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
}

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
}

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
}

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
}

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 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 ActionsCreateResultV2 added in v1.0.1

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

ActionsCreateResultV2 defines model for ActionsCreateResultV2.

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 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 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 ActionsUpdateResultV2 added in v1.0.1

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

ActionsUpdateResultV2 defines model for ActionsUpdateResultV2.

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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

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
}

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
}

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
}

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
}

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

	// 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
}

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 {
	// 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 {
	// AlertId ID of the alert to add the note to
	AlertId string `json:"alert_id"`

	// 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
}

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
}

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
	AlertId string `form:"alert_id" json:"alert_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"`
}

AlertNotesV1ListParams defines parameters for AlertNotesV1List.

type AlertNotesV1ListResponse added in v1.0.1

type AlertNotesV1ListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AlertNotesListResultV1
}

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
}

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
}

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

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

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"`
	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"`
	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"`
	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"`
	Name          AlertRouteAutoGeneratedTemplateBindingPayloadV3  `json:"name"`
	Severity      *AlertRouteSeverityBindingPayloadV3              `json:"severity,omitempty"`
	StartInTriage *AlertRouteTemplateBindingPayloadV3              `json:"start_in_triage,omitempty"`
	Summary       *AlertRouteAutoGeneratedTemplateBindingPayloadV3 `json:"summary,omitempty"`
}

AlertRouteIncidentTemplatePayloadV3 defines model for AlertRouteIncidentTemplatePayloadV3.

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"`
	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"`
	Name          AlertRouteAutoGeneratedTemplateBindingV3  `json:"name"`
	Severity      *AlertRouteSeverityBindingV3              `json:"severity,omitempty"`
	StartInTriage *AlertRouteTemplateBindingV3              `json:"start_in_triage,omitempty"`
	Summary       *AlertRouteAutoGeneratedTemplateBindingV3 `json:"summary,omitempty"`
}

AlertRouteIncidentTemplateV3 defines model for AlertRouteIncidentTemplateV3.

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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 {
	// 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 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 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 to auto-resolve incident alerts when the alert auto-resolves. Defaults to true. Only use in conjunction with 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"`
	EmailOptions              *AlertSourceEmailOptionsV2      `json:"email_options,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"`

	// 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"
	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"
	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"
	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"
	AlertSourceV2SourceTypeSentry            AlertSourceV2SourceType = "sentry"
	AlertSourceV2SourceTypeSentryMetric      AlertSourceV2SourceType = "sentry_metric"
	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"
	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 to auto-resolve incident alerts when the alert auto-resolves. Defaults to true. Only use in conjunction with 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"`
	EmailOptions              *AlertSourceEmailOptionsPayloadV2     `json:"email_options,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"`

	// 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"
	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"
	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"
	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"
	AlertSourcesCreatePayloadV2SourceTypeSentry            AlertSourcesCreatePayloadV2SourceType = "sentry"
	AlertSourcesCreatePayloadV2SourceTypeSentryMetric      AlertSourcesCreatePayloadV2SourceType = "sentry_metric"
	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"
	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 to auto-resolve incident alerts when the alert auto-resolves. Defaults to true. Only use in conjunction with 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"`

	// Disabled For heartbeat sources, set to true to disable monitoring
	Disabled          *bool                                 `json:"disabled,omitempty"`
	EmailOptions      *AlertSourceEmailOptionsPayloadV2     `json:"email_options,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"`
	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
}

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
}

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
}

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
}

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
}

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

	// 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 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 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
}

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

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

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

	// 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
}

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
}

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
}

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

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

	// Label Label for this catalog resource type
	Label string `json:"label"`

	// Type Catalog type name for this resource
	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"
	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"`

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

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

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

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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 added in v1.0.1

func (c *Client) ActionsV2Create(ctx context.Context, body ActionsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV2CreateWithBody added in v1.0.1

func (c *Client) ActionsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV2Delete added in v1.0.1

func (c *Client) ActionsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV2List added in v1.0.1

func (c *Client) ActionsV2List(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV2Show added in v1.0.1

func (c *Client) ActionsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV2Update added in v1.0.1

func (c *Client) ActionsV2Update(ctx context.Context, id string, body ActionsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActionsV2UpdateWithBody added in v1.0.1

func (c *Client) ActionsV2UpdateWithBody(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) 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) 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) 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) 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 added in v1.0.3

func (c *Client) FollowUpsV2ConnectExternalIssue(ctx context.Context, id string, body FollowUpsV2ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2ConnectExternalIssueWithBody added in v1.0.3

func (c *Client) FollowUpsV2ConnectExternalIssueWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2Create added in v1.0.1

func (c *Client) FollowUpsV2Create(ctx context.Context, body FollowUpsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2CreateWithBody added in v1.0.1

func (c *Client) FollowUpsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2Delete added in v1.0.1

func (c *Client) FollowUpsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2List added in v1.0.1

func (c *Client) FollowUpsV2List(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2Show added in v1.0.1

func (c *Client) FollowUpsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2Update added in v1.0.1

func (c *Client) FollowUpsV2Update(ctx context.Context, id string, body FollowUpsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FollowUpsV2UpdateWithBody added in v1.0.1

func (c *Client) FollowUpsV2UpdateWithBody(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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) UtilitiesV1Identity added in v1.0.1

func (c *Client) UtilitiesV1Identity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UtilitiesV1OpenAPI deprecated added in v1.0.1

func (c *Client) UtilitiesV1OpenAPI(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) UtilitiesV1OpenAPIV3 added in v1.0.1

func (c *Client) UtilitiesV1OpenAPIV3(ctx context.Context, 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)

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

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

	// UtilitiesV1OpenAPI request
	UtilitiesV1OpenAPI(ctx context.Context, 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)

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

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

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

	// AlertsV2ListIncidentAlerts request
	AlertsV2ListIncidentAlerts(ctx context.Context, params *AlertsV2ListIncidentAlertsParams, 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)

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

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

	// SchedulesV2ListScheduleEntries request
	SchedulesV2ListScheduleEntries(ctx context.Context, params *SchedulesV2ListScheduleEntriesParams, 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)

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

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

	// StatusPagesV2ShowStatusPageMaintenance request
	StatusPagesV2ShowStatusPageMaintenance(ctx context.Context, statusPageMaintenanceId string, 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)

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

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

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

func (*ClientWithResponses) ActionsV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) ActionsV2CreateWithResponse(ctx context.Context, body ActionsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV2CreateResponse, error)

func (*ClientWithResponses) ActionsV2DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) ActionsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2DeleteResponse, error)

ActionsV2DeleteWithResponse request returning *ActionsV2DeleteResponse

func (*ClientWithResponses) ActionsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) ActionsV2ListWithResponse(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*ActionsV2ListResponse, error)

ActionsV2ListWithResponse request returning *ActionsV2ListResponse

func (*ClientWithResponses) ActionsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) ActionsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2ShowResponse, error)

ActionsV2ShowWithResponse request returning *ActionsV2ShowResponse

func (*ClientWithResponses) ActionsV2UpdateWithBodyWithResponse 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

func (*ClientWithResponses) ActionsV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) ActionsV2UpdateWithResponse(ctx context.Context, id string, body ActionsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ActionsV2UpdateResponse, 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) 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) 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) 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) 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 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

func (*ClientWithResponses) FollowUpsV2ConnectExternalIssueWithResponse added in v1.0.3

func (c *ClientWithResponses) FollowUpsV2ConnectExternalIssueWithResponse(ctx context.Context, id string, body FollowUpsV2ConnectExternalIssueJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2ConnectExternalIssueResponse, error)

func (*ClientWithResponses) FollowUpsV2CreateWithBodyWithResponse 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

func (*ClientWithResponses) FollowUpsV2CreateWithResponse added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2CreateWithResponse(ctx context.Context, body FollowUpsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2CreateResponse, error)

func (*ClientWithResponses) FollowUpsV2DeleteWithResponse added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2DeleteResponse, error)

FollowUpsV2DeleteWithResponse request returning *FollowUpsV2DeleteResponse

func (*ClientWithResponses) FollowUpsV2ListWithResponse added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2ListWithResponse(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*FollowUpsV2ListResponse, error)

FollowUpsV2ListWithResponse request returning *FollowUpsV2ListResponse

func (*ClientWithResponses) FollowUpsV2ShowWithResponse added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2ShowResponse, error)

FollowUpsV2ShowWithResponse request returning *FollowUpsV2ShowResponse

func (*ClientWithResponses) FollowUpsV2UpdateWithBodyWithResponse 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

func (*ClientWithResponses) FollowUpsV2UpdateWithResponse added in v1.0.1

func (c *ClientWithResponses) FollowUpsV2UpdateWithResponse(ctx context.Context, id string, body FollowUpsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUpsV2UpdateResponse, 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) UtilitiesV1OpenAPIWithResponse deprecated added in v1.0.1

func (c *ClientWithResponses) UtilitiesV1OpenAPIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1OpenAPIResponse, error)

UtilitiesV1OpenAPIWithResponse request returning *UtilitiesV1OpenAPIResponse

Deprecated: this endpoint is deprecated in the incident.io API. See https://api-docs.incident.io/ for the recommended replacement.

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)

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

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

	// UtilitiesV1OpenAPIWithResponse request
	UtilitiesV1OpenAPIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1OpenAPIResponse, 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)

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

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

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

	// AlertsV2ListIncidentAlertsWithResponse request
	AlertsV2ListIncidentAlertsWithResponse(ctx context.Context, params *AlertsV2ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*AlertsV2ListIncidentAlertsResponse, 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)

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

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

	// SchedulesV2ListScheduleEntriesWithResponse request
	SchedulesV2ListScheduleEntriesWithResponse(ctx context.Context, params *SchedulesV2ListScheduleEntriesParams, reqEditors ...RequestEditorFn) (*SchedulesV2ListScheduleEntriesResponse, 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)

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

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

	// StatusPagesV2ShowStatusPageMaintenanceWithResponse request
	StatusPagesV2ShowStatusPageMaintenanceWithResponse(ctx context.Context, statusPageMaintenanceId string, reqEditors ...RequestEditorFn) (*StatusPagesV2ShowStatusPageMaintenanceResponse, 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)

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

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

	// 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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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

	// 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.
	// * 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. * voicemail: Send an inbound caller to voicemail. Only valid inside a call route's path.

const (
	EscalationPathNodePayloadV2TypeDelay         EscalationPathNodePayloadV2Type = "delay"
	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"`

	// 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.
	// * 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. * voicemail: Send an inbound caller to voicemail. Only valid inside a call route's path.

const (
	EscalationPathNodeV2TypeDelay         EscalationPathNodeV2Type = "delay"
	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 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 (
	MsteamsChannel EscalationPathTargetV2Type = "msteams_channel"
	Schedule       EscalationPathTargetV2Type = "schedule"
	SlackChannel   EscalationPathTargetV2Type = "slack_channel"
	User           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 (
	EscalationPathTargetV2UrgencyHigh EscalationPathTargetV2Urgency = "high"
	EscalationPathTargetV2UrgencyLow  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 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"`

	// 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 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 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
}

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

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
}

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
}

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

	// 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
}

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
}

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 EscalationsV2ShowPathResponse added in v1.0.1

type EscalationsV2ShowPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EscalationsShowPathResultV2
}

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
}

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
}

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

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"
	ExternalIssueReferenceV1ProviderGithub      ExternalIssueReferenceV1Provider = "github"
	ExternalIssueReferenceV1ProviderGitlab      ExternalIssueReferenceV1Provider = "gitlab"
	ExternalIssueReferenceV1ProviderJira        ExternalIssueReferenceV1Provider = "jira"
	ExternalIssueReferenceV1ProviderJiraServer  ExternalIssueReferenceV1Provider = "jira_server"
	ExternalIssueReferenceV1ProviderLinear      ExternalIssueReferenceV1Provider = "linear"
	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"
	ExternalIssueReferenceV2ProviderGithub      ExternalIssueReferenceV2Provider = "github"
	ExternalIssueReferenceV2ProviderGitlab      ExternalIssueReferenceV2Provider = "gitlab"
	ExternalIssueReferenceV2ProviderJira        ExternalIssueReferenceV2Provider = "jira"
	ExternalIssueReferenceV2ProviderJiraServer  ExternalIssueReferenceV2Provider = "jira_server"
	ExternalIssueReferenceV2ProviderLinear      ExternalIssueReferenceV2Provider = "linear"
	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 (
	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 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 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"
	FollowUpsConnectExternalIssuePayloadV2ProviderGithub      FollowUpsConnectExternalIssuePayloadV2Provider = "github"
	FollowUpsConnectExternalIssuePayloadV2ProviderGitlab      FollowUpsConnectExternalIssuePayloadV2Provider = "gitlab"
	FollowUpsConnectExternalIssuePayloadV2ProviderJira        FollowUpsConnectExternalIssuePayloadV2Provider = "jira"
	FollowUpsConnectExternalIssuePayloadV2ProviderJiraServer  FollowUpsConnectExternalIssuePayloadV2Provider = "jira_server"
	FollowUpsConnectExternalIssuePayloadV2ProviderLinear      FollowUpsConnectExternalIssuePayloadV2Provider = "linear"
	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 FollowUpsConnectExternalIssueResultV2 added in v1.0.3

type FollowUpsConnectExternalIssueResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsConnectExternalIssueResultV2 defines model for FollowUpsConnectExternalIssueResultV2.

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 FollowUpsCreateResultV2 added in v1.0.1

type FollowUpsCreateResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsCreateResultV2 defines model for FollowUpsCreateResultV2.

type FollowUpsListResultV2 added in v1.0.1

type FollowUpsListResultV2 struct {
	FollowUps []FollowUpV2 `json:"follow_ups"`
}

FollowUpsListResultV2 defines model for FollowUpsListResultV2.

type FollowUpsShowResultV2 added in v1.0.1

type FollowUpsShowResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsShowResultV2 defines model for FollowUpsShowResultV2.

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 FollowUpsUpdateResultV2 added in v1.0.1

type FollowUpsUpdateResultV2 struct {
	FollowUp FollowUpV2 `json:"follow_up"`
}

FollowUpsUpdateResultV2 defines model for FollowUpsUpdateResultV2.

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
}

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
}

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
}

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 (
	Retrospective FollowUpsV2ListParamsIncidentMode = "retrospective"
	Standard      FollowUpsV2ListParamsIncidentMode = "standard"
	Stream        FollowUpsV2ListParamsIncidentMode = "stream"
	Test          FollowUpsV2ListParamsIncidentMode = "test"
	Tutorial      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
}

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
}

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
}

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

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
}

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
}

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
}

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 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"
	IdentityV1RolesCatalogEditor                       IdentityV1Roles = "catalog_editor"
	IdentityV1RolesCatalogViewer                       IdentityV1Roles = "catalog_viewer"
	IdentityV1RolesEscalationCreator                   IdentityV1Roles = "escalation_creator"
	IdentityV1RolesGlobalAccess                        IdentityV1Roles = "global_access"
	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"
	IdentityV1RolesPostIncidentFlowOptOut              IdentityV1Roles = "post_incident_flow_opt_out"
	IdentityV1RolesPostmortemsManage                   IdentityV1Roles = "postmortems_manage"
	IdentityV1RolesPrivateWorkflowsEditor              IdentityV1Roles = "private_workflows_editor"
	IdentityV1RolesScheduleOverridesEditor             IdentityV1Roles = "schedule_overrides_editor"
	IdentityV1RolesSchedulesEditor                     IdentityV1Roles = "schedules_editor"
	IdentityV1RolesSchedulesReader                     IdentityV1Roles = "schedules_reader"
	IdentityV1RolesSecuritySettingsEditor              IdentityV1Roles = "security_settings_editor"
	IdentityV1RolesStatusPagePublisher                 IdentityV1Roles = "status_page_publisher"
	IdentityV1RolesTeamMembershipsManage               IdentityV1Roles = "team_memberships_manage"
	IdentityV1RolesViewer                              IdentityV1Roles = "viewer"
	IdentityV1RolesWorkflowsEditor                     IdentityV1Roles = "workflows_editor"
)

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"
	IdentityV1TeamRolesEscalationCreator       IdentityV1TeamRoles = "escalation_creator"
	IdentityV1TeamRolesOnCallEditor            IdentityV1TeamRoles = "on_call_editor"
	IdentityV1TeamRolesScheduleOverridesEditor IdentityV1TeamRoles = "schedule_overrides_editor"
	IdentityV1TeamRolesSchedulesEditor         IdentityV1TeamRoles = "schedules_editor"
	IdentityV1TeamRolesSchedulesReader         IdentityV1TeamRoles = "schedules_reader"
	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 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 {
		// 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"`

		// 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 (
	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
}

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
}

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 (
	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
}

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

	// ValueSeconds The calculated durations for this metric
	ValueSeconds *int64 `json:"value_seconds,omitempty"`
}

IncidentDurationMetricWithValueV2 defines model for IncidentDurationMetricWithValueV2.

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

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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

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

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
}

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
}

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
}

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
}

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
}

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

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
}

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
}

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
}

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

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

	// Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident
	Mode IncidentV2Mode `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"`

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

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

	// 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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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.

const (
	MaintenanceWindowsV1ListParamsStatusActive   MaintenanceWindowsV1ListParamsStatus = "active"
	MaintenanceWindowsV1ListParamsStatusPast     MaintenanceWindowsV1ListParamsStatus = "past"
	MaintenanceWindowsV1ListParamsStatusUpcoming MaintenanceWindowsV1ListParamsStatus = "upcoming"
)

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
}

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
}

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
}

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.

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 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 (
	PostmortemDocumentsAttachPayloadV1DocumentProviderConfluence          PostmortemDocumentsAttachPayloadV1DocumentProvider = "confluence"
	PostmortemDocumentsAttachPayloadV1DocumentProviderCopyPasteBasecamp   PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_basecamp"
	PostmortemDocumentsAttachPayloadV1DocumentProviderCopyPasteConfluence PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_confluence"
	PostmortemDocumentsAttachPayloadV1DocumentProviderCopyPasteGithubWiki PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_github_wiki"
	PostmortemDocumentsAttachPayloadV1DocumentProviderCopyPasteGoogleDocs PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_google_docs"
	PostmortemDocumentsAttachPayloadV1DocumentProviderCopyPasteNotion     PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_notion"
	PostmortemDocumentsAttachPayloadV1DocumentProviderCopyPasteQuip       PostmortemDocumentsAttachPayloadV1DocumentProvider = "copy_paste_quip"
	PostmortemDocumentsAttachPayloadV1DocumentProviderEmpty               PostmortemDocumentsAttachPayloadV1DocumentProvider = ""
	PostmortemDocumentsAttachPayloadV1DocumentProviderGoogleDocs          PostmortemDocumentsAttachPayloadV1DocumentProvider = "google_docs"
	PostmortemDocumentsAttachPayloadV1DocumentProviderIncidentIo          PostmortemDocumentsAttachPayloadV1DocumentProvider = "incident_io"
	PostmortemDocumentsAttachPayloadV1DocumentProviderNotion              PostmortemDocumentsAttachPayloadV1DocumentProvider = "notion"
	PostmortemDocumentsAttachPayloadV1DocumentProviderSharepoint          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
}

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
}

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
}

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
}

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
}

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, rather than creating a new one
	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 (
	ScheduleReplicaCreatePayloadV2ReplicaProviderJira      ScheduleReplicaCreatePayloadV2ReplicaProvider = "jira"
	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 (
	ScheduleReplicaV2ReplicaProviderJira      ScheduleReplicaV2ReplicaProvider = "jira"
	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

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

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

	// 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, while 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.

type ScheduleSyncRuleV2SyncType added in v1.0.1

type ScheduleSyncRuleV2SyncType string

ScheduleSyncRuleV2SyncType Which schedule members sync to the user group

const (
	ScheduleSyncRuleV2SyncTypeAllUsers ScheduleSyncRuleV2SyncType = "all_users"
	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
}

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
}

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
}

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
}

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
}

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

	// 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, while 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.
	ScheduleSyncRule ScheduleSyncRuleV2 `json:"schedule_sync_rule"`
}

SchedulesCreateScheduleSyncRuleResultV2 defines model for SchedulesCreateScheduleSyncRuleResultV2.

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 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, while 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.
	ScheduleSyncRule ScheduleSyncRuleV2 `json:"schedule_sync_rule"`
}

SchedulesShowScheduleSyncRuleResultV2 defines model for SchedulesShowScheduleSyncRuleResultV2.

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

	// 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, while 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.
	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
}

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
}

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
}

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
}

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 SchedulesV2DestroyResponse added in v1.0.1

type SchedulesV2DestroyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

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
}

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
}

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

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
}

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
}

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
}

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
}

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 SchedulesV2ShowResponse added in v1.0.1

type SchedulesV2ShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesShowResultV2
}

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
}

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
}

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 SchedulesV2UpdateResponse added in v1.0.1

type SchedulesV2UpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SchedulesUpdateResultV2
}

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
}

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

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
}

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
}

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
}

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
}

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 {
	// 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 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".

const (
	StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusIdentified    StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus = "identified"
	StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusInvestigating StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus = "investigating"
	StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusMonitoring    StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus = "monitoring"
	StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusResolved      StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus = "resolved"
)

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

	// 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 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 StatusPagesV1ListResponseIncidentsResponse added in v1.0.1

type StatusPagesV1ListResponseIncidentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusPagesListResponseIncidentsResultV1
}

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
}

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
}

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
}

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
}

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

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
}

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
}

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
}

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
}

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
}

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
}

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

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
}

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
}

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

	// 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.

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
}

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
}

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

	// 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
}

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
}

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
}

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
}

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 UtilitiesIdentityResultV1 added in v1.0.1

type UtilitiesIdentityResultV1 struct {
	Identity IdentityV1 `json:"identity"`
}

UtilitiesIdentityResultV1 defines model for UtilitiesIdentityResultV1.

type UtilitiesV1IdentityResponse added in v1.0.1

type UtilitiesV1IdentityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UtilitiesIdentityResultV1
}

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 UtilitiesV1OpenAPIResponse added in v1.0.1

type UtilitiesV1OpenAPIResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *openapi_types.File
}

func (UtilitiesV1OpenAPIResponse) Status added in v1.0.1

Status returns HTTPResponse.Status

func (UtilitiesV1OpenAPIResponse) StatusCode added in v1.0.1

func (r UtilitiesV1OpenAPIResponse) 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
}

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 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 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 Whether to include private incidents
	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"`

	// 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 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 Whether to include private incidents
	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"`

	// 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 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 Whether to include private incidents
	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 []string `json:"once_for"`

	// OwningTeamIds IDs of the teams that own this workflow
	OwningTeamIds *[]string `json:"owning_team_ids,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 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 Whether to include private incidents
	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 []string `json:"once_for"`

	// OwningTeamIds IDs of the teams that own this workflow
	OwningTeamIds *[]string `json:"owning_team_ids,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 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
}

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
}

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
}

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
}

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
}

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