operations

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: MIT Imports: 8 Imported by: 1

Documentation ¶

Index ¶

Constants ¶

View Source
const (
	SupportedOptionRetries              = "retries"
	SupportedOptionTimeout              = "timeout"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
	SupportedOptionURLOverride          = "urlOverride"
)

Variables ¶

View Source
var ErrUnsupportedOption = errors.New("unsupported option")

Functions ¶

This section is empty.

Types ¶

type AcceptHeaderEnum ¶

type AcceptHeaderEnum string
const (
	AcceptHeaderEnumApplicationJson      AcceptHeaderEnum = "application/json"
	AcceptHeaderEnumWildcardRootWildcard AcceptHeaderEnum = "*/*"
)

func (AcceptHeaderEnum) ToPointer ¶

func (e AcceptHeaderEnum) ToPointer() *AcceptHeaderEnum

type AppendFormDataOnSelectedValueGetRequest ¶

type AppendFormDataOnSelectedValueGetRequest struct {
	Slug          string `pathParam:"style=simple,explode=false,name=slug"`
	FieldID       string `pathParam:"style=simple,explode=false,name=field_id"`
	SelectedValue string `pathParam:"style=simple,explode=false,name=selected_value"`
}

func (*AppendFormDataOnSelectedValueGetRequest) GetFieldID ¶

func (*AppendFormDataOnSelectedValueGetRequest) GetSelectedValue ¶

func (a *AppendFormDataOnSelectedValueGetRequest) GetSelectedValue() string

func (*AppendFormDataOnSelectedValueGetRequest) GetSlug ¶

type ArchiveAudienceRequest ¶

type ArchiveAudienceRequest struct {
	// Unique identifier of the audience
	AudienceID string `pathParam:"style=simple,explode=false,name=audience_id"`
}

func (*ArchiveAudienceRequest) GetAudienceID ¶

func (a *ArchiveAudienceRequest) GetAudienceID() string

type AuditableType ¶

type AuditableType string

AuditableType - A query to filter audits by type

const (
	AuditableTypeRunbooksStep    AuditableType = "Runbooks::Step"
	AuditableTypeRunbooksRunbook AuditableType = "Runbooks::Runbook"
)

func (AuditableType) ToPointer ¶

func (e AuditableType) ToPointer() *AuditableType

func (*AuditableType) UnmarshalJSON ¶

func (e *AuditableType) UnmarshalJSON(data []byte) error

type BucketSize ¶

type BucketSize string
const (
	BucketSizeWeek    BucketSize = "week"
	BucketSizeDay     BucketSize = "day"
	BucketSizeMonth   BucketSize = "month"
	BucketSizeAllTime BucketSize = "all_time"
)

func (BucketSize) ToPointer ¶

func (e BucketSize) ToPointer() *BucketSize

func (*BucketSize) UnmarshalJSON ¶

func (e *BucketSize) UnmarshalJSON(data []byte) error

type BulkUpdateIncidentMilestonesRequest ¶

type BulkUpdateIncidentMilestonesRequest struct {
	IncidentID                   string                                  `pathParam:"style=simple,explode=false,name=incident_id"`
	BulkUpdateIncidentMilestones components.BulkUpdateIncidentMilestones `request:"mediaType=application/json"`
}

func (*BulkUpdateIncidentMilestonesRequest) GetBulkUpdateIncidentMilestones ¶

func (*BulkUpdateIncidentMilestonesRequest) GetIncidentID ¶

func (b *BulkUpdateIncidentMilestonesRequest) GetIncidentID() string

type By ¶

type By string
const (
	ByTotal           By = "total"
	BySeverity        By = "severity"
	ByPriority        By = "priority"
	ByFunctionality   By = "functionality"
	ByService         By = "service"
	ByEnvironment     By = "environment"
	ByUser            By = "user"
	ByUserInvolvement By = "user_involvement"
)

func (By) ToPointer ¶

func (e By) ToPointer() *By

func (*By) UnmarshalJSON ¶

func (e *By) UnmarshalJSON(data []byte) error

type CloseIncidentRequest ¶

type CloseIncidentRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*CloseIncidentRequest) GetIncidentID ¶

func (c *CloseIncidentRequest) GetIncidentID() string

type ConvertIncidentTaskRequest ¶

type ConvertIncidentTaskRequest struct {
	TaskID              string                         `pathParam:"style=simple,explode=false,name=task_id"`
	IncidentID          string                         `pathParam:"style=simple,explode=false,name=incident_id"`
	ConvertIncidentTask components.ConvertIncidentTask `request:"mediaType=application/json"`
}

func (*ConvertIncidentTaskRequest) GetConvertIncidentTask ¶

func (c *ConvertIncidentTaskRequest) GetConvertIncidentTask() components.ConvertIncidentTask

func (*ConvertIncidentTaskRequest) GetIncidentID ¶

func (c *ConvertIncidentTaskRequest) GetIncidentID() string

func (*ConvertIncidentTaskRequest) GetTaskID ¶

func (c *ConvertIncidentTaskRequest) GetTaskID() string

type CopyOnCallScheduleRotationRequest ¶

type CopyOnCallScheduleRotationRequest struct {
	RotationID                 string                                `pathParam:"style=simple,explode=false,name=rotation_id"`
	TeamID                     string                                `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID                 string                                `pathParam:"style=simple,explode=false,name=schedule_id"`
	CopyOnCallScheduleRotation components.CopyOnCallScheduleRotation `request:"mediaType=application/json"`
}

func (*CopyOnCallScheduleRotationRequest) GetCopyOnCallScheduleRotation ¶

func (c *CopyOnCallScheduleRotationRequest) GetCopyOnCallScheduleRotation() components.CopyOnCallScheduleRotation

func (*CopyOnCallScheduleRotationRequest) GetRotationID ¶

func (c *CopyOnCallScheduleRotationRequest) GetRotationID() string

func (*CopyOnCallScheduleRotationRequest) GetScheduleID ¶

func (c *CopyOnCallScheduleRotationRequest) GetScheduleID() string

func (*CopyOnCallScheduleRotationRequest) GetTeamID ¶

type CreateAudienceRequest ¶

type CreateAudienceRequest struct {
	// Name of the audience (max 255 characters)
	Name string `json:"name"`
	// Description of the audience (max 4000 characters)
	Description string `json:"description"`
	// Whether this is the default audience
	Default *bool `default:"false" json:"default"`
	// The incident detail question (max 255 characters)
	DetailsQuestion []string `json:"details[question]"`
	// The prompt to display when collecting this detail
	DetailsPrompt []string `json:"details[prompt]"`
	// Optional unique identifier for this detail
	DetailsSlug []string `json:"details[slug],omitempty"`
}

func (*CreateAudienceRequest) GetDefault ¶

func (c *CreateAudienceRequest) GetDefault() *bool

func (*CreateAudienceRequest) GetDescription ¶

func (c *CreateAudienceRequest) GetDescription() string

func (*CreateAudienceRequest) GetDetailsPrompt ¶

func (c *CreateAudienceRequest) GetDetailsPrompt() []string

func (*CreateAudienceRequest) GetDetailsQuestion ¶

func (c *CreateAudienceRequest) GetDetailsQuestion() []string

func (*CreateAudienceRequest) GetDetailsSlug ¶

func (c *CreateAudienceRequest) GetDetailsSlug() []string

func (*CreateAudienceRequest) GetName ¶

func (c *CreateAudienceRequest) GetName() string

func (CreateAudienceRequest) MarshalJSON ¶

func (c CreateAudienceRequest) MarshalJSON() ([]byte, error)

func (*CreateAudienceRequest) UnmarshalJSON ¶

func (c *CreateAudienceRequest) UnmarshalJSON(data []byte) error

type CreateChangeIdentityRequest ¶

type CreateChangeIdentityRequest struct {
	ChangeID             string                          `pathParam:"style=simple,explode=false,name=change_id"`
	CreateChangeIdentity components.CreateChangeIdentity `request:"mediaType=application/json"`
}

func (*CreateChangeIdentityRequest) GetChangeID ¶

func (c *CreateChangeIdentityRequest) GetChangeID() string

func (*CreateChangeIdentityRequest) GetCreateChangeIdentity ¶

func (c *CreateChangeIdentityRequest) GetCreateChangeIdentity() components.CreateChangeIdentity

type CreateCommentReactionRequest ¶

type CreateCommentReactionRequest struct {
	ConversationID        string                           `pathParam:"style=simple,explode=false,name=conversation_id"`
	CommentID             string                           `pathParam:"style=simple,explode=false,name=comment_id"`
	CreateCommentReaction components.CreateCommentReaction `request:"mediaType=application/json"`
}

func (*CreateCommentReactionRequest) GetCommentID ¶

func (c *CreateCommentReactionRequest) GetCommentID() string

func (*CreateCommentReactionRequest) GetConversationID ¶

func (c *CreateCommentReactionRequest) GetConversationID() string

func (*CreateCommentReactionRequest) GetCreateCommentReaction ¶

func (c *CreateCommentReactionRequest) GetCreateCommentReaction() components.CreateCommentReaction

type CreateCommentRequest ¶

type CreateCommentRequest struct {
	ConversationID string                   `pathParam:"style=simple,explode=false,name=conversation_id"`
	CreateComment  components.CreateComment `request:"mediaType=application/json"`
}

func (*CreateCommentRequest) GetConversationID ¶

func (c *CreateCommentRequest) GetConversationID() string

func (*CreateCommentRequest) GetCreateComment ¶

func (c *CreateCommentRequest) GetCreateComment() components.CreateComment

type CreateConnectionRequest ¶

type CreateConnectionRequest struct {
	Slug string `pathParam:"style=simple,explode=false,name=slug"`
}

func (*CreateConnectionRequest) GetSlug ¶

func (c *CreateConnectionRequest) GetSlug() string

type CreateEmailSubscriberRequest ¶

type CreateEmailSubscriberRequest struct {
	NuncConnectionID string                           `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	RequestBody      CreateEmailSubscriberRequestBody `request:"mediaType=application/json"`
}

func (*CreateEmailSubscriberRequest) GetNuncConnectionID ¶

func (c *CreateEmailSubscriberRequest) GetNuncConnectionID() string

func (*CreateEmailSubscriberRequest) GetRequestBody ¶

type CreateEmailSubscriberRequestBody ¶

type CreateEmailSubscriberRequestBody struct {
	// A comma-separated list of emails to subscribe.
	Emails string `json:"emails"`
}

func (*CreateEmailSubscriberRequestBody) GetEmails ¶

type CreateInboundFieldMapRequest ¶

type CreateInboundFieldMapRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*CreateInboundFieldMapRequest) GetTicketingProjectID ¶

func (c *CreateInboundFieldMapRequest) GetTicketingProjectID() string

type CreateIncidentAlertRequest ¶

type CreateIncidentAlertRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	// Array of alert IDs to be assigned to the incident
	RequestBody []string `request:"mediaType=application/json"`
}

func (*CreateIncidentAlertRequest) GetIncidentID ¶

func (c *CreateIncidentAlertRequest) GetIncidentID() string

func (*CreateIncidentAlertRequest) GetRequestBody ¶

func (c *CreateIncidentAlertRequest) GetRequestBody() []string

type CreateIncidentAttachmentFile ¶

type CreateIncidentAttachmentFile struct {
	FileName string `multipartForm:"name=fileName"`
	// This field accepts []byte data or io.Reader implementations, such as *os.File.
	Content any `multipartForm:"content"`
}

func (*CreateIncidentAttachmentFile) GetContent ¶

func (c *CreateIncidentAttachmentFile) GetContent() any

func (*CreateIncidentAttachmentFile) GetFileName ¶

func (c *CreateIncidentAttachmentFile) GetFileName() string

type CreateIncidentAttachmentRequest ¶

type CreateIncidentAttachmentRequest struct {
	IncidentID  string                              `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody CreateIncidentAttachmentRequestBody `request:"mediaType=multipart/form-data"`
}

func (*CreateIncidentAttachmentRequest) GetIncidentID ¶

func (c *CreateIncidentAttachmentRequest) GetIncidentID() string

func (*CreateIncidentAttachmentRequest) GetRequestBody ¶

type CreateIncidentAttachmentRequestBody ¶

type CreateIncidentAttachmentRequestBody struct {
	File          CreateIncidentAttachmentFile `multipartForm:"file,name=file"`
	Description   *string                      `multipartForm:"name=description"`
	OccurredAt    *time.Time                   `multipartForm:"name=occurred_at"`
	VoteDirection *VoteDirection               `multipartForm:"name=vote_direction"`
}

func (*CreateIncidentAttachmentRequestBody) GetDescription ¶

func (c *CreateIncidentAttachmentRequestBody) GetDescription() *string

func (*CreateIncidentAttachmentRequestBody) GetFile ¶

func (*CreateIncidentAttachmentRequestBody) GetOccurredAt ¶

func (c *CreateIncidentAttachmentRequestBody) GetOccurredAt() *time.Time

func (*CreateIncidentAttachmentRequestBody) GetVoteDirection ¶

func (c *CreateIncidentAttachmentRequestBody) GetVoteDirection() *VoteDirection

func (CreateIncidentAttachmentRequestBody) MarshalJSON ¶

func (c CreateIncidentAttachmentRequestBody) MarshalJSON() ([]byte, error)

func (*CreateIncidentAttachmentRequestBody) UnmarshalJSON ¶

func (c *CreateIncidentAttachmentRequestBody) UnmarshalJSON(data []byte) error

type CreateIncidentChangeEventRequest ¶

type CreateIncidentChangeEventRequest struct {
	IncidentID                string                               `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentChangeEvent components.CreateIncidentChangeEvent `request:"mediaType=application/json"`
}

func (*CreateIncidentChangeEventRequest) GetCreateIncidentChangeEvent ¶

func (c *CreateIncidentChangeEventRequest) GetCreateIncidentChangeEvent() components.CreateIncidentChangeEvent

func (*CreateIncidentChangeEventRequest) GetIncidentID ¶

func (c *CreateIncidentChangeEventRequest) GetIncidentID() string

type CreateIncidentChatMessageRequest ¶

type CreateIncidentChatMessageRequest struct {
	IncidentID                string                               `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentChatMessage components.CreateIncidentChatMessage `request:"mediaType=application/json"`
}

func (*CreateIncidentChatMessageRequest) GetCreateIncidentChatMessage ¶

func (c *CreateIncidentChatMessageRequest) GetCreateIncidentChatMessage() components.CreateIncidentChatMessage

func (*CreateIncidentChatMessageRequest) GetIncidentID ¶

func (c *CreateIncidentChatMessageRequest) GetIncidentID() string

type CreateIncidentImpactRequest ¶

type CreateIncidentImpactRequest struct {
	IncidentID           string                          `pathParam:"style=simple,explode=false,name=incident_id"`
	Type                 CreateIncidentImpactType        `pathParam:"style=simple,explode=false,name=type"`
	CreateIncidentImpact components.CreateIncidentImpact `request:"mediaType=application/json"`
}

func (*CreateIncidentImpactRequest) GetCreateIncidentImpact ¶

func (c *CreateIncidentImpactRequest) GetCreateIncidentImpact() components.CreateIncidentImpact

func (*CreateIncidentImpactRequest) GetIncidentID ¶

func (c *CreateIncidentImpactRequest) GetIncidentID() string

func (*CreateIncidentImpactRequest) GetType ¶

type CreateIncidentImpactType ¶

type CreateIncidentImpactType string
const (
	CreateIncidentImpactTypeEnvironments    CreateIncidentImpactType = "environments"
	CreateIncidentImpactTypeFunctionalities CreateIncidentImpactType = "functionalities"
	CreateIncidentImpactTypeServices        CreateIncidentImpactType = "services"
	CreateIncidentImpactTypeCustomers       CreateIncidentImpactType = "customers"
)

func (CreateIncidentImpactType) ToPointer ¶

func (*CreateIncidentImpactType) UnmarshalJSON ¶

func (e *CreateIncidentImpactType) UnmarshalJSON(data []byte) error

type CreateIncidentLinkRequest ¶

type CreateIncidentLinkRequest struct {
	IncidentID         string                        `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentLink components.CreateIncidentLink `request:"mediaType=application/json"`
}
func (c *CreateIncidentLinkRequest) GetCreateIncidentLink() components.CreateIncidentLink

func (*CreateIncidentLinkRequest) GetIncidentID ¶

func (c *CreateIncidentLinkRequest) GetIncidentID() string

type CreateIncidentNoteRequest ¶

type CreateIncidentNoteRequest struct {
	IncidentID         string                        `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentNote components.CreateIncidentNote `request:"mediaType=application/json"`
}

func (*CreateIncidentNoteRequest) GetCreateIncidentNote ¶

func (c *CreateIncidentNoteRequest) GetCreateIncidentNote() components.CreateIncidentNote

func (*CreateIncidentNoteRequest) GetIncidentID ¶

func (c *CreateIncidentNoteRequest) GetIncidentID() string

type CreateIncidentRetrospectiveDynamicInputRequest ¶

type CreateIncidentRetrospectiveDynamicInputRequest struct {
	RetrospectiveID string `pathParam:"style=simple,explode=false,name=retrospective_id"`
	FieldID         string `pathParam:"style=simple,explode=false,name=field_id"`
	IncidentID      string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*CreateIncidentRetrospectiveDynamicInputRequest) GetFieldID ¶

func (*CreateIncidentRetrospectiveDynamicInputRequest) GetIncidentID ¶

func (*CreateIncidentRetrospectiveDynamicInputRequest) GetRetrospectiveID ¶

type CreateIncidentRetrospectiveFieldRequest ¶

type CreateIncidentRetrospectiveFieldRequest struct {
	RetrospectiveID string                                      `pathParam:"style=simple,explode=false,name=retrospective_id"`
	IncidentID      string                                      `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody     CreateIncidentRetrospectiveFieldRequestBody `request:"mediaType=application/json"`
}

func (*CreateIncidentRetrospectiveFieldRequest) GetIncidentID ¶

func (*CreateIncidentRetrospectiveFieldRequest) GetRequestBody ¶

func (*CreateIncidentRetrospectiveFieldRequest) GetRetrospectiveID ¶

func (c *CreateIncidentRetrospectiveFieldRequest) GetRetrospectiveID() string

type CreateIncidentRetrospectiveFieldRequestBody ¶

type CreateIncidentRetrospectiveFieldRequestBody struct {
	Label                 string                               `json:"label"`
	Type                  CreateIncidentRetrospectiveFieldType `json:"type"`
	HelpText              *string                              `json:"help_text,omitempty"`
	PermissibleValues     []string                             `json:"permissible_values,omitempty"`
	IsRequired            *bool                                `json:"is_required,omitempty"`
	Schema                []string                             `json:"schema,omitempty"`
	RequiredAtMilestoneID *string                              `json:"required_at_milestone_id,omitempty"`
}

func (*CreateIncidentRetrospectiveFieldRequestBody) GetHelpText ¶

func (*CreateIncidentRetrospectiveFieldRequestBody) GetIsRequired ¶

func (*CreateIncidentRetrospectiveFieldRequestBody) GetLabel ¶

func (*CreateIncidentRetrospectiveFieldRequestBody) GetPermissibleValues ¶

func (c *CreateIncidentRetrospectiveFieldRequestBody) GetPermissibleValues() []string

func (*CreateIncidentRetrospectiveFieldRequestBody) GetRequiredAtMilestoneID ¶

func (c *CreateIncidentRetrospectiveFieldRequestBody) GetRequiredAtMilestoneID() *string

func (*CreateIncidentRetrospectiveFieldRequestBody) GetSchema ¶

func (*CreateIncidentRetrospectiveFieldRequestBody) GetType ¶

type CreateIncidentRetrospectiveFieldType ¶

type CreateIncidentRetrospectiveFieldType string
const (
	CreateIncidentRetrospectiveFieldTypeText              CreateIncidentRetrospectiveFieldType = "text"
	CreateIncidentRetrospectiveFieldTypeSingleSelect      CreateIncidentRetrospectiveFieldType = "single_select"
	CreateIncidentRetrospectiveFieldTypeMultiSelect       CreateIncidentRetrospectiveFieldType = "multi_select"
	CreateIncidentRetrospectiveFieldTypeNumeric           CreateIncidentRetrospectiveFieldType = "numeric"
	CreateIncidentRetrospectiveFieldTypeDatetime          CreateIncidentRetrospectiveFieldType = "datetime"
	CreateIncidentRetrospectiveFieldTypeDynamicInputGroup CreateIncidentRetrospectiveFieldType = "dynamic_input_group"
	CreateIncidentRetrospectiveFieldTypeMarkdown          CreateIncidentRetrospectiveFieldType = "markdown"
	CreateIncidentRetrospectiveFieldTypeMarkdownText      CreateIncidentRetrospectiveFieldType = "markdown_text"
)

func (CreateIncidentRetrospectiveFieldType) ToPointer ¶

func (*CreateIncidentRetrospectiveFieldType) UnmarshalJSON ¶

func (e *CreateIncidentRetrospectiveFieldType) UnmarshalJSON(data []byte) error

type CreateIncidentRetrospectiveRequest ¶

type CreateIncidentRetrospectiveRequest struct {
	IncidentID  string                                 `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody CreateIncidentRetrospectiveRequestBody `request:"mediaType=application/json"`
}

func (*CreateIncidentRetrospectiveRequest) GetIncidentID ¶

func (c *CreateIncidentRetrospectiveRequest) GetIncidentID() string

func (*CreateIncidentRetrospectiveRequest) GetRequestBody ¶

type CreateIncidentRetrospectiveRequestBody ¶

type CreateIncidentRetrospectiveRequestBody struct {
	// The id of the retrospective template to apply.
	RetrospectiveTemplateID string `json:"retrospective_template_id"`
}

func (*CreateIncidentRetrospectiveRequestBody) GetRetrospectiveTemplateID ¶

func (c *CreateIncidentRetrospectiveRequestBody) GetRetrospectiveTemplateID() string

type CreateIncidentRoleAssignmentRequest ¶

type CreateIncidentRoleAssignmentRequest struct {
	IncidentID                   string                                  `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentRoleAssignment components.CreateIncidentRoleAssignment `request:"mediaType=application/json"`
}

func (*CreateIncidentRoleAssignmentRequest) GetCreateIncidentRoleAssignment ¶

func (*CreateIncidentRoleAssignmentRequest) GetIncidentID ¶

func (c *CreateIncidentRoleAssignmentRequest) GetIncidentID() string

type CreateIncidentStatusPageRequest ¶

type CreateIncidentStatusPageRequest struct {
	IncidentID               string                              `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentStatusPage components.CreateIncidentStatusPage `request:"mediaType=application/json"`
}

func (*CreateIncidentStatusPageRequest) GetCreateIncidentStatusPage ¶

func (c *CreateIncidentStatusPageRequest) GetCreateIncidentStatusPage() components.CreateIncidentStatusPage

func (*CreateIncidentStatusPageRequest) GetIncidentID ¶

func (c *CreateIncidentStatusPageRequest) GetIncidentID() string

type CreateIncidentTaskListRequest ¶

type CreateIncidentTaskListRequest struct {
	IncidentID             string                            `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentTaskList components.CreateIncidentTaskList `request:"mediaType=application/json"`
}

func (*CreateIncidentTaskListRequest) GetCreateIncidentTaskList ¶

func (c *CreateIncidentTaskListRequest) GetCreateIncidentTaskList() components.CreateIncidentTaskList

func (*CreateIncidentTaskListRequest) GetIncidentID ¶

func (c *CreateIncidentTaskListRequest) GetIncidentID() string

type CreateIncidentTaskRequest ¶

type CreateIncidentTaskRequest struct {
	IncidentID         string                        `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentTask components.CreateIncidentTask `request:"mediaType=application/json"`
}

func (*CreateIncidentTaskRequest) GetCreateIncidentTask ¶

func (c *CreateIncidentTaskRequest) GetCreateIncidentTask() components.CreateIncidentTask

func (*CreateIncidentTaskRequest) GetIncidentID ¶

func (c *CreateIncidentTaskRequest) GetIncidentID() string

type CreateIncidentTeamAssignmentRequest ¶

type CreateIncidentTeamAssignmentRequest struct {
	IncidentID                   string                                  `pathParam:"style=simple,explode=false,name=incident_id"`
	CreateIncidentTeamAssignment components.CreateIncidentTeamAssignment `request:"mediaType=application/json"`
}

func (*CreateIncidentTeamAssignmentRequest) GetCreateIncidentTeamAssignment ¶

func (*CreateIncidentTeamAssignmentRequest) GetIncidentID ¶

func (c *CreateIncidentTeamAssignmentRequest) GetIncidentID() string

type CreateLifecycleMeasurementDefinitionRequest ¶

type CreateLifecycleMeasurementDefinitionRequest struct {
	Name                string  `json:"name"`
	Slug                *string `json:"slug,omitempty"`
	Description         *string `json:"description,omitempty"`
	StartsAtMilestoneID string  `json:"starts_at_milestone_id"`
	EndsAtMilestoneID   string  `json:"ends_at_milestone_id"`
}

func (*CreateLifecycleMeasurementDefinitionRequest) GetDescription ¶

func (*CreateLifecycleMeasurementDefinitionRequest) GetEndsAtMilestoneID ¶

func (c *CreateLifecycleMeasurementDefinitionRequest) GetEndsAtMilestoneID() string

func (*CreateLifecycleMeasurementDefinitionRequest) GetName ¶

func (*CreateLifecycleMeasurementDefinitionRequest) GetSlug ¶

func (*CreateLifecycleMeasurementDefinitionRequest) GetStartsAtMilestoneID ¶

func (c *CreateLifecycleMeasurementDefinitionRequest) GetStartsAtMilestoneID() string

type CreateLifecycleMilestoneAutoAssignTimestampOnCreate ¶

type CreateLifecycleMilestoneAutoAssignTimestampOnCreate string

CreateLifecycleMilestoneAutoAssignTimestampOnCreate - The setting for auto-assigning the milestone's timestamp during incident declaration

const (
	CreateLifecycleMilestoneAutoAssignTimestampOnCreateAlwaysSetOnCreate     CreateLifecycleMilestoneAutoAssignTimestampOnCreate = "always_set_on_create"
	CreateLifecycleMilestoneAutoAssignTimestampOnCreateOnlySetOnManualCreate CreateLifecycleMilestoneAutoAssignTimestampOnCreate = "only_set_on_manual_create"
	CreateLifecycleMilestoneAutoAssignTimestampOnCreateNeverSetOnCreate      CreateLifecycleMilestoneAutoAssignTimestampOnCreate = "never_set_on_create"
)

func (CreateLifecycleMilestoneAutoAssignTimestampOnCreate) ToPointer ¶

func (*CreateLifecycleMilestoneAutoAssignTimestampOnCreate) UnmarshalJSON ¶

type CreateLifecycleMilestoneRequest ¶

type CreateLifecycleMilestoneRequest struct {
	// The name of the milestone
	Name string `json:"name"`
	// A long-form description of the milestone's purpose
	Description string `json:"description"`
	// A unique identifier for the milestone. If not provided, one will be generated from the name.
	Slug *string `json:"slug,omitempty"`
	// The ID of the phase to which the milestone should belong
	PhaseID string `json:"phase_id"`
	// The position of the milestone within the phase. If not provided, the milestone will be added as the last milestone in the phase.
	Position *int `json:"position,omitempty"`
	// The ID of a later milestone that cannot be started until this milestone has a timestamp populated
	RequiredAtMilestoneID *string `json:"required_at_milestone_id,omitempty"`
	// The setting for auto-assigning the milestone's timestamp during incident declaration
	AutoAssignTimestampOnCreate *CreateLifecycleMilestoneAutoAssignTimestampOnCreate `json:"auto_assign_timestamp_on_create,omitempty"`
}

func (*CreateLifecycleMilestoneRequest) GetAutoAssignTimestampOnCreate ¶

func (*CreateLifecycleMilestoneRequest) GetDescription ¶

func (c *CreateLifecycleMilestoneRequest) GetDescription() string

func (*CreateLifecycleMilestoneRequest) GetName ¶

func (*CreateLifecycleMilestoneRequest) GetPhaseID ¶

func (c *CreateLifecycleMilestoneRequest) GetPhaseID() string

func (*CreateLifecycleMilestoneRequest) GetPosition ¶

func (c *CreateLifecycleMilestoneRequest) GetPosition() *int

func (*CreateLifecycleMilestoneRequest) GetRequiredAtMilestoneID ¶

func (c *CreateLifecycleMilestoneRequest) GetRequiredAtMilestoneID() *string

func (*CreateLifecycleMilestoneRequest) GetSlug ¶

type CreateNotificationPolicyNotificationGroupMethod ¶

type CreateNotificationPolicyNotificationGroupMethod string

CreateNotificationPolicyNotificationGroupMethod - The group method of notification that will be delivered.

const (
	CreateNotificationPolicyNotificationGroupMethodAny        CreateNotificationPolicyNotificationGroupMethod = "any"
	CreateNotificationPolicyNotificationGroupMethodPush       CreateNotificationPolicyNotificationGroupMethod = "push"
	CreateNotificationPolicyNotificationGroupMethodEmail      CreateNotificationPolicyNotificationGroupMethod = "email"
	CreateNotificationPolicyNotificationGroupMethodVoice      CreateNotificationPolicyNotificationGroupMethod = "voice"
	CreateNotificationPolicyNotificationGroupMethodMobileText CreateNotificationPolicyNotificationGroupMethod = "mobile_text"
	CreateNotificationPolicyNotificationGroupMethodChat       CreateNotificationPolicyNotificationGroupMethod = "chat"
)

func (CreateNotificationPolicyNotificationGroupMethod) ToPointer ¶

func (*CreateNotificationPolicyNotificationGroupMethod) UnmarshalJSON ¶

type CreateNotificationPolicyPriority ¶

type CreateNotificationPolicyPriority string

CreateNotificationPolicyPriority - The priority of the notification.

const (
	CreateNotificationPolicyPriorityHigh   CreateNotificationPolicyPriority = "HIGH"
	CreateNotificationPolicyPriorityMedium CreateNotificationPolicyPriority = "MEDIUM"
	CreateNotificationPolicyPriorityLow    CreateNotificationPolicyPriority = "LOW"
)

func (CreateNotificationPolicyPriority) ToPointer ¶

func (*CreateNotificationPolicyPriority) UnmarshalJSON ¶

func (e *CreateNotificationPolicyPriority) UnmarshalJSON(data []byte) error

type CreateNotificationPolicyRequest ¶

type CreateNotificationPolicyRequest struct {
	// The group method of notification that will be delivered.
	NotificationGroupMethod CreateNotificationPolicyNotificationGroupMethod `json:"notification_group_method"`
	// An ISO8601 duration string specifying the maximum delay of the notification.
	MaxDelay string `json:"max_delay"`
	// The priority of the notification.
	Priority CreateNotificationPolicyPriority `json:"priority"`
}

func (*CreateNotificationPolicyRequest) GetMaxDelay ¶

func (c *CreateNotificationPolicyRequest) GetMaxDelay() string

func (*CreateNotificationPolicyRequest) GetNotificationGroupMethod ¶

func (*CreateNotificationPolicyRequest) GetPriority ¶

type CreateNuncComponentGroupRequest ¶

type CreateNuncComponentGroupRequest struct {
	NuncConnectionID string                              `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	RequestBody      CreateNuncComponentGroupRequestBody `request:"mediaType=application/json"`
}

func (*CreateNuncComponentGroupRequest) GetNuncConnectionID ¶

func (c *CreateNuncComponentGroupRequest) GetNuncConnectionID() string

func (*CreateNuncComponentGroupRequest) GetRequestBody ¶

type CreateNuncComponentGroupRequestBody ¶

type CreateNuncComponentGroupRequestBody struct {
	Name             string  `json:"name"`
	ComponentGroupID *string `json:"component_group_id,omitempty"`
	Position         *int    `json:"position,omitempty"`
}

func (*CreateNuncComponentGroupRequestBody) GetComponentGroupID ¶

func (c *CreateNuncComponentGroupRequestBody) GetComponentGroupID() *string

func (*CreateNuncComponentGroupRequestBody) GetName ¶

func (*CreateNuncComponentGroupRequestBody) GetPosition ¶

func (c *CreateNuncComponentGroupRequestBody) GetPosition() *int

type CreateNuncConnectionRequest ¶

type CreateNuncConnectionRequest struct {
	Domain             string  `json:"domain"`
	CompanyName        *string `json:"company_name,omitempty"`
	CompanyWebsite     *string `json:"company_website,omitempty"`
	CompanyTosURL      *string `json:"company_tos_url,omitempty"`
	GreetingTitle      *string `json:"greeting_title,omitempty"`
	GreetingBody       *string `json:"greeting_body,omitempty"`
	OperationalMessage *string `json:"operational_message,omitempty"`
	Title              *string `json:"title,omitempty"`
	// Status page condition to map your severity matrix condition to
	ConditionsNuncCondition []string `json:"conditions[nunc_condition]"`
	// Severity matrix condition id
	ConditionsConditionID        []string `json:"conditions[condition_id]"`
	ComponentsInfrastructureType []string `json:"components[infrastructure_type]"`
	ComponentsInfrastructureID   []string `json:"components[infrastructure_id]"`
	PrimaryColor                 *string  `json:"primary_color,omitempty"`
	SecondaryColor               *string  `json:"secondary_color,omitempty"`
	ExposedFields                []string `json:"exposed_fields,omitempty"`
	EnableHistogram              *bool    `json:"enable_histogram,omitempty"`
	UIVersion                    *int     `json:"ui_version,omitempty"`
}

func (*CreateNuncConnectionRequest) GetCompanyName ¶

func (c *CreateNuncConnectionRequest) GetCompanyName() *string

func (*CreateNuncConnectionRequest) GetCompanyTosURL ¶

func (c *CreateNuncConnectionRequest) GetCompanyTosURL() *string

func (*CreateNuncConnectionRequest) GetCompanyWebsite ¶

func (c *CreateNuncConnectionRequest) GetCompanyWebsite() *string

func (*CreateNuncConnectionRequest) GetComponentsInfrastructureID ¶

func (c *CreateNuncConnectionRequest) GetComponentsInfrastructureID() []string

func (*CreateNuncConnectionRequest) GetComponentsInfrastructureType ¶

func (c *CreateNuncConnectionRequest) GetComponentsInfrastructureType() []string

func (*CreateNuncConnectionRequest) GetConditionsConditionID ¶

func (c *CreateNuncConnectionRequest) GetConditionsConditionID() []string

func (*CreateNuncConnectionRequest) GetConditionsNuncCondition ¶

func (c *CreateNuncConnectionRequest) GetConditionsNuncCondition() []string

func (*CreateNuncConnectionRequest) GetDomain ¶

func (c *CreateNuncConnectionRequest) GetDomain() string

func (*CreateNuncConnectionRequest) GetEnableHistogram ¶

func (c *CreateNuncConnectionRequest) GetEnableHistogram() *bool

func (*CreateNuncConnectionRequest) GetExposedFields ¶

func (c *CreateNuncConnectionRequest) GetExposedFields() []string

func (*CreateNuncConnectionRequest) GetGreetingBody ¶

func (c *CreateNuncConnectionRequest) GetGreetingBody() *string

func (*CreateNuncConnectionRequest) GetGreetingTitle ¶

func (c *CreateNuncConnectionRequest) GetGreetingTitle() *string

func (*CreateNuncConnectionRequest) GetOperationalMessage ¶

func (c *CreateNuncConnectionRequest) GetOperationalMessage() *string

func (*CreateNuncConnectionRequest) GetPrimaryColor ¶

func (c *CreateNuncConnectionRequest) GetPrimaryColor() *string

func (*CreateNuncConnectionRequest) GetSecondaryColor ¶

func (c *CreateNuncConnectionRequest) GetSecondaryColor() *string

func (*CreateNuncConnectionRequest) GetTitle ¶

func (c *CreateNuncConnectionRequest) GetTitle() *string

func (*CreateNuncConnectionRequest) GetUIVersion ¶

func (c *CreateNuncConnectionRequest) GetUIVersion() *int

type CreateNuncLinkRequest ¶

type CreateNuncLinkRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
}

func (*CreateNuncLinkRequest) GetNuncConnectionID ¶

func (c *CreateNuncLinkRequest) GetNuncConnectionID() string

type CreateOnCallScheduleRotationRequest ¶

type CreateOnCallScheduleRotationRequest struct {
	TeamID                       string                                  `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID                   string                                  `pathParam:"style=simple,explode=false,name=schedule_id"`
	CreateOnCallScheduleRotation components.CreateOnCallScheduleRotation `request:"mediaType=application/json"`
}

func (*CreateOnCallScheduleRotationRequest) GetCreateOnCallScheduleRotation ¶

func (*CreateOnCallScheduleRotationRequest) GetScheduleID ¶

func (c *CreateOnCallScheduleRotationRequest) GetScheduleID() string

func (*CreateOnCallScheduleRotationRequest) GetTeamID ¶

type CreateOnCallShiftRequest ¶

type CreateOnCallShiftRequest struct {
	TeamID            string                       `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID        string                       `pathParam:"style=simple,explode=false,name=schedule_id"`
	CreateOnCallShift components.CreateOnCallShift `request:"mediaType=application/json"`
}

func (*CreateOnCallShiftRequest) GetCreateOnCallShift ¶

func (c *CreateOnCallShiftRequest) GetCreateOnCallShift() components.CreateOnCallShift

func (*CreateOnCallShiftRequest) GetScheduleID ¶

func (c *CreateOnCallShiftRequest) GetScheduleID() string

func (*CreateOnCallShiftRequest) GetTeamID ¶

func (c *CreateOnCallShiftRequest) GetTeamID() string

type CreatePostMortemReasonRequest ¶

type CreatePostMortemReasonRequest struct {
	ReportID               string                            `pathParam:"style=simple,explode=false,name=report_id"`
	CreatePostMortemReason components.CreatePostMortemReason `request:"mediaType=application/json"`
}

func (*CreatePostMortemReasonRequest) GetCreatePostMortemReason ¶

func (c *CreatePostMortemReasonRequest) GetCreatePostMortemReason() components.CreatePostMortemReason

func (*CreatePostMortemReasonRequest) GetReportID ¶

func (c *CreatePostMortemReasonRequest) GetReportID() string

type CreateRetrospectiveTemplateFieldsType ¶

type CreateRetrospectiveTemplateFieldsType string
const (
	CreateRetrospectiveTemplateFieldsTypeText              CreateRetrospectiveTemplateFieldsType = "text"
	CreateRetrospectiveTemplateFieldsTypeSingleSelect      CreateRetrospectiveTemplateFieldsType = "single_select"
	CreateRetrospectiveTemplateFieldsTypeMultiSelect       CreateRetrospectiveTemplateFieldsType = "multi_select"
	CreateRetrospectiveTemplateFieldsTypeNumeric           CreateRetrospectiveTemplateFieldsType = "numeric"
	CreateRetrospectiveTemplateFieldsTypeDatetime          CreateRetrospectiveTemplateFieldsType = "datetime"
	CreateRetrospectiveTemplateFieldsTypeDynamicInputGroup CreateRetrospectiveTemplateFieldsType = "dynamic_input_group"
	CreateRetrospectiveTemplateFieldsTypeMarkdown          CreateRetrospectiveTemplateFieldsType = "markdown"
	CreateRetrospectiveTemplateFieldsTypeMarkdownText      CreateRetrospectiveTemplateFieldsType = "markdown_text"
)

func (CreateRetrospectiveTemplateFieldsType) ToPointer ¶

func (*CreateRetrospectiveTemplateFieldsType) UnmarshalJSON ¶

func (e *CreateRetrospectiveTemplateFieldsType) UnmarshalJSON(data []byte) error

type CreateRetrospectiveTemplateRequest ¶

type CreateRetrospectiveTemplateRequest struct {
	Name                        string                                  `json:"name"`
	Description                 string                                  `json:"description"`
	IsDefault                   *bool                                   `json:"is_default,omitempty"`
	SectionsSlug                []SectionsSlug                          `json:"sections[slug]"`
	SectionsElements            []string                                `json:"sections[elements]"`
	FieldsLabel                 []string                                `json:"fields[label]"`
	FieldsType                  []CreateRetrospectiveTemplateFieldsType `json:"fields[type]"`
	FieldsHelpText              []string                                `json:"fields[help_text],omitempty"`
	FieldsPermissibleValues     []string                                `json:"fields[permissible_values],omitempty"`
	FieldsIsRequired            []bool                                  `json:"fields[is_required],omitempty"`
	FieldsRequiredAtMilestoneID []string                                `json:"fields[required_at_milestone_id],omitempty"`
	FieldsSchema                []string                                `json:"fields[schema],omitempty"`
}

func (*CreateRetrospectiveTemplateRequest) GetDescription ¶

func (c *CreateRetrospectiveTemplateRequest) GetDescription() string

func (*CreateRetrospectiveTemplateRequest) GetFieldsHelpText ¶

func (c *CreateRetrospectiveTemplateRequest) GetFieldsHelpText() []string

func (*CreateRetrospectiveTemplateRequest) GetFieldsIsRequired ¶

func (c *CreateRetrospectiveTemplateRequest) GetFieldsIsRequired() []bool

func (*CreateRetrospectiveTemplateRequest) GetFieldsLabel ¶

func (c *CreateRetrospectiveTemplateRequest) GetFieldsLabel() []string

func (*CreateRetrospectiveTemplateRequest) GetFieldsPermissibleValues ¶

func (c *CreateRetrospectiveTemplateRequest) GetFieldsPermissibleValues() []string

func (*CreateRetrospectiveTemplateRequest) GetFieldsRequiredAtMilestoneID ¶

func (c *CreateRetrospectiveTemplateRequest) GetFieldsRequiredAtMilestoneID() []string

func (*CreateRetrospectiveTemplateRequest) GetFieldsSchema ¶

func (c *CreateRetrospectiveTemplateRequest) GetFieldsSchema() []string

func (*CreateRetrospectiveTemplateRequest) GetFieldsType ¶

func (*CreateRetrospectiveTemplateRequest) GetIsDefault ¶

func (c *CreateRetrospectiveTemplateRequest) GetIsDefault() *bool

func (*CreateRetrospectiveTemplateRequest) GetName ¶

func (*CreateRetrospectiveTemplateRequest) GetSectionsElements ¶

func (c *CreateRetrospectiveTemplateRequest) GetSectionsElements() []string

func (*CreateRetrospectiveTemplateRequest) GetSectionsSlug ¶

func (c *CreateRetrospectiveTemplateRequest) GetSectionsSlug() []SectionsSlug

type CreateSavedSearchRequest ¶

type CreateSavedSearchRequest struct {
	ResourceType      CreateSavedSearchResourceType `pathParam:"style=simple,explode=false,name=resource_type"`
	CreateSavedSearch components.CreateSavedSearch  `request:"mediaType=application/json"`
}

func (*CreateSavedSearchRequest) GetCreateSavedSearch ¶

func (c *CreateSavedSearchRequest) GetCreateSavedSearch() components.CreateSavedSearch

func (*CreateSavedSearchRequest) GetResourceType ¶

type CreateSavedSearchResourceType ¶

type CreateSavedSearchResourceType string
const (
	CreateSavedSearchResourceTypeChangeEvents          CreateSavedSearchResourceType = "change_events"
	CreateSavedSearchResourceTypeIncidents             CreateSavedSearchResourceType = "incidents"
	CreateSavedSearchResourceTypeServices              CreateSavedSearchResourceType = "services"
	CreateSavedSearchResourceTypeScheduledMaintenances CreateSavedSearchResourceType = "scheduled_maintenances"
	CreateSavedSearchResourceTypeTicketTasks           CreateSavedSearchResourceType = "ticket_tasks"
	CreateSavedSearchResourceTypeTicketFollowUps       CreateSavedSearchResourceType = "ticket_follow_ups"
	CreateSavedSearchResourceTypeAnalytics             CreateSavedSearchResourceType = "analytics"
	CreateSavedSearchResourceTypeImpactAnalytics       CreateSavedSearchResourceType = "impact_analytics"
	CreateSavedSearchResourceTypeAlerts                CreateSavedSearchResourceType = "alerts"
	CreateSavedSearchResourceTypeIncidentEvents        CreateSavedSearchResourceType = "incident_events"
)

func (CreateSavedSearchResourceType) ToPointer ¶

func (*CreateSavedSearchResourceType) UnmarshalJSON ¶

func (e *CreateSavedSearchResourceType) UnmarshalJSON(data []byte) error

type CreateServiceChecklistResponseRequest ¶

type CreateServiceChecklistResponseRequest struct {
	ServiceID                      string                                    `pathParam:"style=simple,explode=false,name=service_id"`
	ChecklistID                    string                                    `pathParam:"style=simple,explode=false,name=checklist_id"`
	CreateServiceChecklistResponse components.CreateServiceChecklistResponse `request:"mediaType=application/json"`
}

func (*CreateServiceChecklistResponseRequest) GetChecklistID ¶

func (c *CreateServiceChecklistResponseRequest) GetChecklistID() string

func (*CreateServiceChecklistResponseRequest) GetCreateServiceChecklistResponse ¶

func (*CreateServiceChecklistResponseRequest) GetServiceID ¶

type CreateSlackEmojiActionRequest ¶

type CreateSlackEmojiActionRequest struct {
	// Slack Connection UUID
	ConnectionID string                            `pathParam:"style=simple,explode=false,name=connection_id"`
	RequestBody  CreateSlackEmojiActionRequestBody `request:"mediaType=application/json"`
}

func (*CreateSlackEmojiActionRequest) GetConnectionID ¶

func (c *CreateSlackEmojiActionRequest) GetConnectionID() string

func (*CreateSlackEmojiActionRequest) GetRequestBody ¶

type CreateSlackEmojiActionRequestBody ¶

type CreateSlackEmojiActionRequestBody struct {
	// The name of the emoji to associate with this action
	EmojiName string `json:"emoji_name"`
	// The ID of the incident type to associate with this emoji action
	IncidentTypeID *string `json:"incident_type_id,omitempty"`
}

func (*CreateSlackEmojiActionRequestBody) GetEmojiName ¶

func (c *CreateSlackEmojiActionRequestBody) GetEmojiName() string

func (*CreateSlackEmojiActionRequestBody) GetIncidentTypeID ¶

func (c *CreateSlackEmojiActionRequestBody) GetIncidentTypeID() *string

type CreateTeamCallRouteRequest ¶

type CreateTeamCallRouteRequest struct {
	TeamID              string                         `pathParam:"style=simple,explode=false,name=team_id"`
	CreateTeamCallRoute components.CreateTeamCallRoute `request:"mediaType=application/json"`
}

func (*CreateTeamCallRouteRequest) GetCreateTeamCallRoute ¶

func (c *CreateTeamCallRouteRequest) GetCreateTeamCallRoute() components.CreateTeamCallRoute

func (*CreateTeamCallRouteRequest) GetTeamID ¶

func (c *CreateTeamCallRouteRequest) GetTeamID() string

type CreateTeamEscalationPolicyRequest ¶

type CreateTeamEscalationPolicyRequest struct {
	TeamID                     string                                `pathParam:"style=simple,explode=false,name=team_id"`
	CreateTeamEscalationPolicy components.CreateTeamEscalationPolicy `request:"mediaType=application/json"`
}

func (*CreateTeamEscalationPolicyRequest) GetCreateTeamEscalationPolicy ¶

func (c *CreateTeamEscalationPolicyRequest) GetCreateTeamEscalationPolicy() components.CreateTeamEscalationPolicy

func (*CreateTeamEscalationPolicyRequest) GetTeamID ¶

type CreateTeamOnCallScheduleRequest ¶

type CreateTeamOnCallScheduleRequest struct {
	TeamID                   string                              `pathParam:"style=simple,explode=false,name=team_id"`
	CreateTeamOnCallSchedule components.CreateTeamOnCallSchedule `request:"mediaType=application/json"`
}

func (*CreateTeamOnCallScheduleRequest) GetCreateTeamOnCallSchedule ¶

func (c *CreateTeamOnCallScheduleRequest) GetCreateTeamOnCallSchedule() components.CreateTeamOnCallSchedule

func (*CreateTeamOnCallScheduleRequest) GetTeamID ¶

func (c *CreateTeamOnCallScheduleRequest) GetTeamID() string

type CreateTeamSignalRuleRequest ¶

type CreateTeamSignalRuleRequest struct {
	TeamID               string                          `pathParam:"style=simple,explode=false,name=team_id"`
	CreateTeamSignalRule components.CreateTeamSignalRule `request:"mediaType=application/json"`
}

func (*CreateTeamSignalRuleRequest) GetCreateTeamSignalRule ¶

func (c *CreateTeamSignalRuleRequest) GetCreateTeamSignalRule() components.CreateTeamSignalRule

func (*CreateTeamSignalRuleRequest) GetTeamID ¶

func (c *CreateTeamSignalRuleRequest) GetTeamID() string

type CreateTicketingFieldMapRequest ¶

type CreateTicketingFieldMapRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*CreateTicketingFieldMapRequest) GetTicketingProjectID ¶

func (c *CreateTicketingFieldMapRequest) GetTicketingProjectID() string

type CreateTicketingProjectConfigRequest ¶

type CreateTicketingProjectConfigRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*CreateTicketingProjectConfigRequest) GetTicketingProjectID ¶

func (c *CreateTicketingProjectConfigRequest) GetTicketingProjectID() string

type DeleteCallRouteRequest ¶

type DeleteCallRouteRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteCallRouteRequest) GetID ¶

func (d *DeleteCallRouteRequest) GetID() string

type DeleteChangeEventRequest ¶

type DeleteChangeEventRequest struct {
	ChangeEventID string `pathParam:"style=simple,explode=false,name=change_event_id"`
}

func (*DeleteChangeEventRequest) GetChangeEventID ¶

func (d *DeleteChangeEventRequest) GetChangeEventID() string

type DeleteChangeIdentityRequest ¶

type DeleteChangeIdentityRequest struct {
	IdentityID string `pathParam:"style=simple,explode=false,name=identity_id"`
	ChangeID   string `pathParam:"style=simple,explode=false,name=change_id"`
}

func (*DeleteChangeIdentityRequest) GetChangeID ¶

func (d *DeleteChangeIdentityRequest) GetChangeID() string

func (*DeleteChangeIdentityRequest) GetIdentityID ¶

func (d *DeleteChangeIdentityRequest) GetIdentityID() string

type DeleteChangeRequest ¶

type DeleteChangeRequest struct {
	ChangeID string `pathParam:"style=simple,explode=false,name=change_id"`
}

func (*DeleteChangeRequest) GetChangeID ¶

func (d *DeleteChangeRequest) GetChangeID() string

type DeleteChecklistTemplateRequest ¶

type DeleteChecklistTemplateRequest struct {
	// Checklist Template UUID
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteChecklistTemplateRequest) GetID ¶

type DeleteCommentReactionRequest ¶

type DeleteCommentReactionRequest struct {
	ReactionID     string `pathParam:"style=simple,explode=false,name=reaction_id"`
	ConversationID string `pathParam:"style=simple,explode=false,name=conversation_id"`
	CommentID      string `pathParam:"style=simple,explode=false,name=comment_id"`
}

func (*DeleteCommentReactionRequest) GetCommentID ¶

func (d *DeleteCommentReactionRequest) GetCommentID() string

func (*DeleteCommentReactionRequest) GetConversationID ¶

func (d *DeleteCommentReactionRequest) GetConversationID() string

func (*DeleteCommentReactionRequest) GetReactionID ¶

func (d *DeleteCommentReactionRequest) GetReactionID() string

type DeleteCommentRequest ¶

type DeleteCommentRequest struct {
	CommentID      string `pathParam:"style=simple,explode=false,name=comment_id"`
	ConversationID string `pathParam:"style=simple,explode=false,name=conversation_id"`
}

func (*DeleteCommentRequest) GetCommentID ¶

func (d *DeleteCommentRequest) GetCommentID() string

func (*DeleteCommentRequest) GetConversationID ¶

func (d *DeleteCommentRequest) GetConversationID() string

type DeleteCustomFieldDefinitionRequest ¶

type DeleteCustomFieldDefinitionRequest struct {
	FieldID string `pathParam:"style=simple,explode=false,name=field_id"`
}

func (*DeleteCustomFieldDefinitionRequest) GetFieldID ¶

type DeleteEmailSubscriberRequest ¶

type DeleteEmailSubscriberRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	// A list of subscriber IDs to unsubscribe.
	SubscriberIds string `queryParam:"style=form,explode=true,name=subscriber_ids"`
}

func (*DeleteEmailSubscriberRequest) GetNuncConnectionID ¶

func (d *DeleteEmailSubscriberRequest) GetNuncConnectionID() string

func (*DeleteEmailSubscriberRequest) GetSubscriberIds ¶

func (d *DeleteEmailSubscriberRequest) GetSubscriberIds() string

type DeleteEnvironmentRequest ¶

type DeleteEnvironmentRequest struct {
	// Environment UUID
	EnvironmentID string `pathParam:"style=simple,explode=false,name=environment_id"`
}

func (*DeleteEnvironmentRequest) GetEnvironmentID ¶

func (d *DeleteEnvironmentRequest) GetEnvironmentID() string

type DeleteFunctionalityRequest ¶

type DeleteFunctionalityRequest struct {
	FunctionalityID string `pathParam:"style=simple,explode=false,name=functionality_id"`
}

func (*DeleteFunctionalityRequest) GetFunctionalityID ¶

func (d *DeleteFunctionalityRequest) GetFunctionalityID() string

type DeleteInboundFieldMapRequest ¶

type DeleteInboundFieldMapRequest struct {
	MapID              string `pathParam:"style=simple,explode=false,name=map_id"`
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*DeleteInboundFieldMapRequest) GetMapID ¶

func (d *DeleteInboundFieldMapRequest) GetMapID() string

func (*DeleteInboundFieldMapRequest) GetTicketingProjectID ¶

func (d *DeleteInboundFieldMapRequest) GetTicketingProjectID() string

type DeleteIncidentAlertRequest ¶

type DeleteIncidentAlertRequest struct {
	IncidentAlertID string `pathParam:"style=simple,explode=false,name=incident_alert_id"`
	IncidentID      string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteIncidentAlertRequest) GetIncidentAlertID ¶

func (d *DeleteIncidentAlertRequest) GetIncidentAlertID() string

func (*DeleteIncidentAlertRequest) GetIncidentID ¶

func (d *DeleteIncidentAlertRequest) GetIncidentID() string

type DeleteIncidentChatMessageRequest ¶

type DeleteIncidentChatMessageRequest struct {
	MessageID  string `pathParam:"style=simple,explode=false,name=message_id"`
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteIncidentChatMessageRequest) GetIncidentID ¶

func (d *DeleteIncidentChatMessageRequest) GetIncidentID() string

func (*DeleteIncidentChatMessageRequest) GetMessageID ¶

func (d *DeleteIncidentChatMessageRequest) GetMessageID() string

type DeleteIncidentEventRequest ¶

type DeleteIncidentEventRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	EventID    string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*DeleteIncidentEventRequest) GetEventID ¶

func (d *DeleteIncidentEventRequest) GetEventID() string

func (*DeleteIncidentEventRequest) GetIncidentID ¶

func (d *DeleteIncidentEventRequest) GetIncidentID() string

type DeleteIncidentImpactRequest ¶

type DeleteIncidentImpactRequest struct {
	IncidentID string                   `pathParam:"style=simple,explode=false,name=incident_id"`
	Type       DeleteIncidentImpactType `pathParam:"style=simple,explode=false,name=type"`
	ID         string                   `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteIncidentImpactRequest) GetID ¶

func (*DeleteIncidentImpactRequest) GetIncidentID ¶

func (d *DeleteIncidentImpactRequest) GetIncidentID() string

func (*DeleteIncidentImpactRequest) GetType ¶

type DeleteIncidentImpactType ¶

type DeleteIncidentImpactType string
const (
	DeleteIncidentImpactTypeEnvironments    DeleteIncidentImpactType = "environments"
	DeleteIncidentImpactTypeFunctionalities DeleteIncidentImpactType = "functionalities"
	DeleteIncidentImpactTypeServices        DeleteIncidentImpactType = "services"
	DeleteIncidentImpactTypeCustomers       DeleteIncidentImpactType = "customers"
)

func (DeleteIncidentImpactType) ToPointer ¶

func (*DeleteIncidentImpactType) UnmarshalJSON ¶

func (e *DeleteIncidentImpactType) UnmarshalJSON(data []byte) error

type DeleteIncidentLinkRequest ¶

type DeleteIncidentLinkRequest struct {
	LinkID     string `pathParam:"style=simple,explode=false,name=link_id"`
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteIncidentLinkRequest) GetIncidentID ¶

func (d *DeleteIncidentLinkRequest) GetIncidentID() string

func (*DeleteIncidentLinkRequest) GetLinkID ¶

func (d *DeleteIncidentLinkRequest) GetLinkID() string

type DeleteIncidentRequest ¶

type DeleteIncidentRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteIncidentRequest) GetIncidentID ¶

func (d *DeleteIncidentRequest) GetIncidentID() string

type DeleteIncidentRetrospectiveDynamicInputRequest ¶

type DeleteIncidentRetrospectiveDynamicInputRequest struct {
	RetrospectiveID string `pathParam:"style=simple,explode=false,name=retrospective_id"`
	FieldID         string `pathParam:"style=simple,explode=false,name=field_id"`
	// The ID of the dynamic input field to delete.
	DynamicInputFieldID string `queryParam:"style=form,explode=true,name=dynamic_input_field_id"`
	IncidentID          string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteIncidentRetrospectiveDynamicInputRequest) GetDynamicInputFieldID ¶

func (d *DeleteIncidentRetrospectiveDynamicInputRequest) GetDynamicInputFieldID() string

func (*DeleteIncidentRetrospectiveDynamicInputRequest) GetFieldID ¶

func (*DeleteIncidentRetrospectiveDynamicInputRequest) GetIncidentID ¶

func (*DeleteIncidentRetrospectiveDynamicInputRequest) GetRetrospectiveID ¶

type DeleteIncidentRoleAssignmentRequest ¶

type DeleteIncidentRoleAssignmentRequest struct {
	IncidentID       string `pathParam:"style=simple,explode=false,name=incident_id"`
	RoleAssignmentID string `pathParam:"style=simple,explode=false,name=role_assignment_id"`
}

func (*DeleteIncidentRoleAssignmentRequest) GetIncidentID ¶

func (d *DeleteIncidentRoleAssignmentRequest) GetIncidentID() string

func (*DeleteIncidentRoleAssignmentRequest) GetRoleAssignmentID ¶

func (d *DeleteIncidentRoleAssignmentRequest) GetRoleAssignmentID() string

type DeleteIncidentRoleRequest ¶

type DeleteIncidentRoleRequest struct {
	IncidentRoleID string `pathParam:"style=simple,explode=false,name=incident_role_id"`
}

func (*DeleteIncidentRoleRequest) GetIncidentRoleID ¶

func (d *DeleteIncidentRoleRequest) GetIncidentRoleID() string

type DeleteIncidentStatusPageRequest ¶

type DeleteIncidentStatusPageRequest struct {
	StatusPageID string `pathParam:"style=simple,explode=false,name=status_page_id"`
	IncidentID   string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteIncidentStatusPageRequest) GetIncidentID ¶

func (d *DeleteIncidentStatusPageRequest) GetIncidentID() string

func (*DeleteIncidentStatusPageRequest) GetStatusPageID ¶

func (d *DeleteIncidentStatusPageRequest) GetStatusPageID() string

type DeleteIncidentTaskRequest ¶

type DeleteIncidentTaskRequest struct {
	TaskID     string `pathParam:"style=simple,explode=false,name=task_id"`
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteIncidentTaskRequest) GetIncidentID ¶

func (d *DeleteIncidentTaskRequest) GetIncidentID() string

func (*DeleteIncidentTaskRequest) GetTaskID ¶

func (d *DeleteIncidentTaskRequest) GetTaskID() string

type DeleteIncidentTeamAssignmentRequest ¶

type DeleteIncidentTeamAssignmentRequest struct {
	IncidentID       string                                   `pathParam:"style=simple,explode=false,name=incident_id"`
	TeamAssignmentID string                                   `pathParam:"style=simple,explode=false,name=team_assignment_id"`
	RequestBody      *DeleteIncidentTeamAssignmentRequestBody `request:"mediaType=multipart/form-data"`
}

func (*DeleteIncidentTeamAssignmentRequest) GetIncidentID ¶

func (d *DeleteIncidentTeamAssignmentRequest) GetIncidentID() string

func (*DeleteIncidentTeamAssignmentRequest) GetRequestBody ¶

func (*DeleteIncidentTeamAssignmentRequest) GetTeamAssignmentID ¶

func (d *DeleteIncidentTeamAssignmentRequest) GetTeamAssignmentID() string

type DeleteIncidentTeamAssignmentRequestBody ¶

type DeleteIncidentTeamAssignmentRequestBody struct {
	// Team role assignments to unassign from the incident
	RoleAssignmentIds []string `multipartForm:"name=role_assignment_ids"`
}

func (*DeleteIncidentTeamAssignmentRequestBody) GetRoleAssignmentIds ¶

func (d *DeleteIncidentTeamAssignmentRequestBody) GetRoleAssignmentIds() []string

type DeleteIncidentTypeRequest ¶

type DeleteIncidentTypeRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteIncidentTypeRequest) GetID ¶

func (d *DeleteIncidentTypeRequest) GetID() string

type DeleteLifecycleMeasurementDefinitionRequest ¶

type DeleteLifecycleMeasurementDefinitionRequest struct {
	MeasurementDefinitionID string `pathParam:"style=simple,explode=false,name=measurement_definition_id"`
}

func (*DeleteLifecycleMeasurementDefinitionRequest) GetMeasurementDefinitionID ¶

func (d *DeleteLifecycleMeasurementDefinitionRequest) GetMeasurementDefinitionID() string

type DeleteLifecycleMilestoneRequest ¶

type DeleteLifecycleMilestoneRequest struct {
	MilestoneID string `pathParam:"style=simple,explode=false,name=milestone_id"`
}

func (*DeleteLifecycleMilestoneRequest) GetMilestoneID ¶

func (d *DeleteLifecycleMilestoneRequest) GetMilestoneID() string

type DeleteNotificationPolicyRequest ¶

type DeleteNotificationPolicyRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteNotificationPolicyRequest) GetID ¶

type DeleteNuncComponentGroupRequest ¶

type DeleteNuncComponentGroupRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	GroupID          string `pathParam:"style=simple,explode=false,name=group_id"`
}

func (*DeleteNuncComponentGroupRequest) GetGroupID ¶

func (d *DeleteNuncComponentGroupRequest) GetGroupID() string

func (*DeleteNuncComponentGroupRequest) GetNuncConnectionID ¶

func (d *DeleteNuncComponentGroupRequest) GetNuncConnectionID() string

type DeleteNuncConnectionRequest ¶

type DeleteNuncConnectionRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
}

func (*DeleteNuncConnectionRequest) GetNuncConnectionID ¶

func (d *DeleteNuncConnectionRequest) GetNuncConnectionID() string

type DeleteNuncImageRequest ¶

type DeleteNuncImageRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	Type             string `pathParam:"style=simple,explode=false,name=type"`
}

func (*DeleteNuncImageRequest) GetNuncConnectionID ¶

func (d *DeleteNuncImageRequest) GetNuncConnectionID() string

func (*DeleteNuncImageRequest) GetType ¶

func (d *DeleteNuncImageRequest) GetType() string

type DeleteNuncLinkRequest ¶

type DeleteNuncLinkRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	LinkID           string `pathParam:"style=simple,explode=false,name=link_id"`
}

func (*DeleteNuncLinkRequest) GetLinkID ¶

func (d *DeleteNuncLinkRequest) GetLinkID() string

func (*DeleteNuncLinkRequest) GetNuncConnectionID ¶

func (d *DeleteNuncLinkRequest) GetNuncConnectionID() string

type DeleteNuncSubscriptionRequest ¶

type DeleteNuncSubscriptionRequest struct {
	UnsubscribeToken string `pathParam:"style=simple,explode=false,name=unsubscribe_token"`
}

func (*DeleteNuncSubscriptionRequest) GetUnsubscribeToken ¶

func (d *DeleteNuncSubscriptionRequest) GetUnsubscribeToken() string

type DeleteOnCallScheduleRotationRequest ¶

type DeleteOnCallScheduleRotationRequest struct {
	RotationID string `pathParam:"style=simple,explode=false,name=rotation_id"`
	TeamID     string `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID string `pathParam:"style=simple,explode=false,name=schedule_id"`
}

func (*DeleteOnCallScheduleRotationRequest) GetRotationID ¶

func (d *DeleteOnCallScheduleRotationRequest) GetRotationID() string

func (*DeleteOnCallScheduleRotationRequest) GetScheduleID ¶

func (d *DeleteOnCallScheduleRotationRequest) GetScheduleID() string

func (*DeleteOnCallScheduleRotationRequest) GetTeamID ¶

type DeleteOnCallShiftRequest ¶

type DeleteOnCallShiftRequest struct {
	ID         string `pathParam:"style=simple,explode=false,name=id"`
	TeamID     string `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID string `pathParam:"style=simple,explode=false,name=schedule_id"`
}

func (*DeleteOnCallShiftRequest) GetID ¶

func (d *DeleteOnCallShiftRequest) GetID() string

func (*DeleteOnCallShiftRequest) GetScheduleID ¶

func (d *DeleteOnCallShiftRequest) GetScheduleID() string

func (*DeleteOnCallShiftRequest) GetTeamID ¶

func (d *DeleteOnCallShiftRequest) GetTeamID() string

type DeletePostMortemReasonRequest ¶

type DeletePostMortemReasonRequest struct {
	ReportID string `pathParam:"style=simple,explode=false,name=report_id"`
	ReasonID string `pathParam:"style=simple,explode=false,name=reason_id"`
}

func (*DeletePostMortemReasonRequest) GetReasonID ¶

func (d *DeletePostMortemReasonRequest) GetReasonID() string

func (*DeletePostMortemReasonRequest) GetReportID ¶

func (d *DeletePostMortemReasonRequest) GetReportID() string

type DeletePriorityRequest ¶

type DeletePriorityRequest struct {
	PrioritySlug string `pathParam:"style=simple,explode=false,name=priority_slug"`
}

func (*DeletePriorityRequest) GetPrioritySlug ¶

func (d *DeletePriorityRequest) GetPrioritySlug() string

type DeleteRetrospectiveTemplateRequest ¶

type DeleteRetrospectiveTemplateRequest struct {
	RetrospectiveTemplateID string `pathParam:"style=simple,explode=false,name=retrospective_template_id"`
}

func (*DeleteRetrospectiveTemplateRequest) GetRetrospectiveTemplateID ¶

func (d *DeleteRetrospectiveTemplateRequest) GetRetrospectiveTemplateID() string

type DeleteRoleRequest ¶

type DeleteRoleRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteRoleRequest) GetID ¶

func (d *DeleteRoleRequest) GetID() string

type DeleteRunbookExecutionRequest ¶

type DeleteRunbookExecutionRequest struct {
	ExecutionID string `pathParam:"style=simple,explode=false,name=execution_id"`
	// The reason for terminating the runbook execution
	Reason string `queryParam:"style=form,explode=true,name=reason"`
}

func (*DeleteRunbookExecutionRequest) GetExecutionID ¶

func (d *DeleteRunbookExecutionRequest) GetExecutionID() string

func (*DeleteRunbookExecutionRequest) GetReason ¶

func (d *DeleteRunbookExecutionRequest) GetReason() string

type DeleteRunbookRequest ¶

type DeleteRunbookRequest struct {
	RunbookID string `pathParam:"style=simple,explode=false,name=runbook_id"`
}

func (*DeleteRunbookRequest) GetRunbookID ¶

func (d *DeleteRunbookRequest) GetRunbookID() string

type DeleteSavedSearchRequest ¶

type DeleteSavedSearchRequest struct {
	ResourceType  DeleteSavedSearchResourceType `pathParam:"style=simple,explode=false,name=resource_type"`
	SavedSearchID string                        `pathParam:"style=simple,explode=false,name=saved_search_id"`
}

func (*DeleteSavedSearchRequest) GetResourceType ¶

func (*DeleteSavedSearchRequest) GetSavedSearchID ¶

func (d *DeleteSavedSearchRequest) GetSavedSearchID() string

type DeleteSavedSearchResourceType ¶

type DeleteSavedSearchResourceType string
const (
	DeleteSavedSearchResourceTypeChangeEvents          DeleteSavedSearchResourceType = "change_events"
	DeleteSavedSearchResourceTypeIncidents             DeleteSavedSearchResourceType = "incidents"
	DeleteSavedSearchResourceTypeServices              DeleteSavedSearchResourceType = "services"
	DeleteSavedSearchResourceTypeScheduledMaintenances DeleteSavedSearchResourceType = "scheduled_maintenances"
	DeleteSavedSearchResourceTypeTicketTasks           DeleteSavedSearchResourceType = "ticket_tasks"
	DeleteSavedSearchResourceTypeTicketFollowUps       DeleteSavedSearchResourceType = "ticket_follow_ups"
	DeleteSavedSearchResourceTypeAnalytics             DeleteSavedSearchResourceType = "analytics"
	DeleteSavedSearchResourceTypeImpactAnalytics       DeleteSavedSearchResourceType = "impact_analytics"
	DeleteSavedSearchResourceTypeAlerts                DeleteSavedSearchResourceType = "alerts"
	DeleteSavedSearchResourceTypeIncidentEvents        DeleteSavedSearchResourceType = "incident_events"
)

func (DeleteSavedSearchResourceType) ToPointer ¶

func (*DeleteSavedSearchResourceType) UnmarshalJSON ¶

func (e *DeleteSavedSearchResourceType) UnmarshalJSON(data []byte) error

type DeleteScheduledMaintenanceRequest ¶

type DeleteScheduledMaintenanceRequest struct {
	ScheduledMaintenanceID string `pathParam:"style=simple,explode=false,name=scheduled_maintenance_id"`
}

func (*DeleteScheduledMaintenanceRequest) GetScheduledMaintenanceID ¶

func (d *DeleteScheduledMaintenanceRequest) GetScheduledMaintenanceID() string

type DeleteScimGroupRequest ¶

type DeleteScimGroupRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteScimGroupRequest) GetID ¶

func (d *DeleteScimGroupRequest) GetID() string

type DeleteScimUserRequest ¶

type DeleteScimUserRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteScimUserRequest) GetID ¶

func (d *DeleteScimUserRequest) GetID() string

type DeleteServiceDependencyRequest ¶

type DeleteServiceDependencyRequest struct {
	ServiceDependencyID string `pathParam:"style=simple,explode=false,name=service_dependency_id"`
}

func (*DeleteServiceDependencyRequest) GetServiceDependencyID ¶

func (d *DeleteServiceDependencyRequest) GetServiceDependencyID() string

type DeleteServiceLinkRequest ¶

type DeleteServiceLinkRequest struct {
	ServiceID string `pathParam:"style=simple,explode=false,name=service_id"`
	// The external service ID which can be found in the JSON
	// from GET services/:service_id endpoint under
	// functionalities > external_resources > remote_id
	//
	RemoteID string `pathParam:"style=simple,explode=false,name=remote_id"`
}

func (*DeleteServiceLinkRequest) GetRemoteID ¶

func (d *DeleteServiceLinkRequest) GetRemoteID() string

func (*DeleteServiceLinkRequest) GetServiceID ¶

func (d *DeleteServiceLinkRequest) GetServiceID() string

type DeleteServiceRequest ¶

type DeleteServiceRequest struct {
	ServiceID string `pathParam:"style=simple,explode=false,name=service_id"`
}

func (*DeleteServiceRequest) GetServiceID ¶

func (d *DeleteServiceRequest) GetServiceID() string

type DeleteSeverityMatrixConditionRequest ¶

type DeleteSeverityMatrixConditionRequest struct {
	ConditionID string `pathParam:"style=simple,explode=false,name=condition_id"`
}

func (*DeleteSeverityMatrixConditionRequest) GetConditionID ¶

func (d *DeleteSeverityMatrixConditionRequest) GetConditionID() string

type DeleteSeverityMatrixImpactRequest ¶

type DeleteSeverityMatrixImpactRequest struct {
	ImpactID string `pathParam:"style=simple,explode=false,name=impact_id"`
}

func (*DeleteSeverityMatrixImpactRequest) GetImpactID ¶

func (d *DeleteSeverityMatrixImpactRequest) GetImpactID() string

type DeleteSeverityRequest ¶

type DeleteSeverityRequest struct {
	SeveritySlug string `pathParam:"style=simple,explode=false,name=severity_slug"`
}

func (*DeleteSeverityRequest) GetSeveritySlug ¶

func (d *DeleteSeverityRequest) GetSeveritySlug() string

type DeleteSignalsAlertGroupingConfigurationRequest ¶

type DeleteSignalsAlertGroupingConfigurationRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteSignalsAlertGroupingConfigurationRequest) GetID ¶

type DeleteSignalsEmailTargetRequest ¶

type DeleteSignalsEmailTargetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteSignalsEmailTargetRequest) GetID ¶

type DeleteSignalsEventSourceRequest ¶

type DeleteSignalsEventSourceRequest struct {
	TransposerSlug string `pathParam:"style=simple,explode=false,name=transposer_slug"`
}

func (*DeleteSignalsEventSourceRequest) GetTransposerSlug ¶

func (d *DeleteSignalsEventSourceRequest) GetTransposerSlug() string

type DeleteSignalsWebhookTargetRequest ¶

type DeleteSignalsWebhookTargetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteSignalsWebhookTargetRequest) GetID ¶

type DeleteSlackEmojiActionRequest ¶

type DeleteSlackEmojiActionRequest struct {
	// Slack Connection UUID
	ConnectionID  string `pathParam:"style=simple,explode=false,name=connection_id"`
	EmojiActionID string `pathParam:"style=simple,explode=false,name=emoji_action_id"`
}

func (*DeleteSlackEmojiActionRequest) GetConnectionID ¶

func (d *DeleteSlackEmojiActionRequest) GetConnectionID() string

func (*DeleteSlackEmojiActionRequest) GetEmojiActionID ¶

func (d *DeleteSlackEmojiActionRequest) GetEmojiActionID() string

type DeleteStatusUpdateTemplateRequest ¶

type DeleteStatusUpdateTemplateRequest struct {
	StatusUpdateTemplateID string `pathParam:"style=simple,explode=false,name=status_update_template_id"`
}

func (*DeleteStatusUpdateTemplateRequest) GetStatusUpdateTemplateID ¶

func (d *DeleteStatusUpdateTemplateRequest) GetStatusUpdateTemplateID() string

type DeleteStatuspageConnectionRequest ¶

type DeleteStatuspageConnectionRequest struct {
	// Connection UUID
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
}

func (*DeleteStatuspageConnectionRequest) GetConnectionID ¶

func (d *DeleteStatuspageConnectionRequest) GetConnectionID() string

type DeleteTaskListRequest ¶

type DeleteTaskListRequest struct {
	TaskListID string `pathParam:"style=simple,explode=false,name=task_list_id"`
}

func (*DeleteTaskListRequest) GetTaskListID ¶

func (d *DeleteTaskListRequest) GetTaskListID() string

type DeleteTeamEscalationPolicyRequest ¶

type DeleteTeamEscalationPolicyRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	ID     string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteTeamEscalationPolicyRequest) GetID ¶

func (*DeleteTeamEscalationPolicyRequest) GetTeamID ¶

type DeleteTeamOnCallScheduleRequest ¶

type DeleteTeamOnCallScheduleRequest struct {
	TeamID     string `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID string `pathParam:"style=simple,explode=false,name=schedule_id"`
}

func (*DeleteTeamOnCallScheduleRequest) GetScheduleID ¶

func (d *DeleteTeamOnCallScheduleRequest) GetScheduleID() string

func (*DeleteTeamOnCallScheduleRequest) GetTeamID ¶

func (d *DeleteTeamOnCallScheduleRequest) GetTeamID() string

type DeleteTeamRequest ¶

type DeleteTeamRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
}

func (*DeleteTeamRequest) GetTeamID ¶

func (d *DeleteTeamRequest) GetTeamID() string

type DeleteTeamSignalRuleRequest ¶

type DeleteTeamSignalRuleRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	ID     string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteTeamSignalRuleRequest) GetID ¶

func (*DeleteTeamSignalRuleRequest) GetTeamID ¶

func (d *DeleteTeamSignalRuleRequest) GetTeamID() string

type DeleteTicketRequest ¶

type DeleteTicketRequest struct {
	TicketID string `pathParam:"style=simple,explode=false,name=ticket_id"`
}

func (*DeleteTicketRequest) GetTicketID ¶

func (d *DeleteTicketRequest) GetTicketID() string

type DeleteTicketingFieldMapRequest ¶

type DeleteTicketingFieldMapRequest struct {
	MapID              string `pathParam:"style=simple,explode=false,name=map_id"`
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*DeleteTicketingFieldMapRequest) GetMapID ¶

func (d *DeleteTicketingFieldMapRequest) GetMapID() string

func (*DeleteTicketingFieldMapRequest) GetTicketingProjectID ¶

func (d *DeleteTicketingFieldMapRequest) GetTicketingProjectID() string

type DeleteTicketingPriorityRequest ¶

type DeleteTicketingPriorityRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeleteTicketingPriorityRequest) GetID ¶

type DeleteTicketingProjectConfigRequest ¶

type DeleteTicketingProjectConfigRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
	ConfigID           string `pathParam:"style=simple,explode=false,name=config_id"`
}

func (*DeleteTicketingProjectConfigRequest) GetConfigID ¶

func (*DeleteTicketingProjectConfigRequest) GetTicketingProjectID ¶

func (d *DeleteTicketingProjectConfigRequest) GetTicketingProjectID() string

type DeleteTranscriptEntryRequest ¶

type DeleteTranscriptEntryRequest struct {
	TranscriptID string `pathParam:"style=simple,explode=false,name=transcript_id"`
	IncidentID   string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*DeleteTranscriptEntryRequest) GetIncidentID ¶

func (d *DeleteTranscriptEntryRequest) GetIncidentID() string

func (*DeleteTranscriptEntryRequest) GetTranscriptID ¶

func (d *DeleteTranscriptEntryRequest) GetTranscriptID() string

type DeleteWebhookRequest ¶

type DeleteWebhookRequest struct {
	WebhookID string `pathParam:"style=simple,explode=false,name=webhook_id"`
}

func (*DeleteWebhookRequest) GetWebhookID ¶

func (d *DeleteWebhookRequest) GetWebhookID() string

type Direction ¶

type Direction string
const (
	DirectionUp   Direction = "up"
	DirectionDown Direction = "down"
)

func (Direction) ToPointer ¶

func (e Direction) ToPointer() *Direction

func (*Direction) UnmarshalJSON ¶

func (e *Direction) UnmarshalJSON(data []byte) error

type ExactLevel ¶

type ExactLevel string

ExactLevel - Returns log entries of all levels equal to the provided level

const (
	ExactLevelUnknown ExactLevel = "unknown"
	ExactLevelDebug   ExactLevel = "debug"
	ExactLevelInfo    ExactLevel = "info"
	ExactLevelWarn    ExactLevel = "warn"
	ExactLevelError   ExactLevel = "error"
	ExactLevelFatal   ExactLevel = "fatal"
)

func (ExactLevel) ToPointer ¶

func (e ExactLevel) ToPointer() *ExactLevel

func (*ExactLevel) UnmarshalJSON ¶

func (e *ExactLevel) UnmarshalJSON(data []byte) error

type ExportIncidentRetrospectivesRequest ¶

type ExportIncidentRetrospectivesRequest struct {
	IncidentID  string                                  `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody ExportIncidentRetrospectivesRequestBody `request:"mediaType=application/json"`
}

func (*ExportIncidentRetrospectivesRequest) GetIncidentID ¶

func (e *ExportIncidentRetrospectivesRequest) GetIncidentID() string

func (*ExportIncidentRetrospectivesRequest) GetRequestBody ¶

type ExportIncidentRetrospectivesRequestBody ¶

type ExportIncidentRetrospectivesRequestBody struct {
	// The name of the integration to export the retrospective to.
	IntegrationSlug IntegrationSlug `json:"integration_slug"`
	// The ID of the parent page to export the retrospective to.
	ParentPageID *string `json:"parent_page_id,omitempty"`
}

func (*ExportIncidentRetrospectivesRequestBody) GetIntegrationSlug ¶

func (*ExportIncidentRetrospectivesRequestBody) GetParentPageID ¶

func (e *ExportIncidentRetrospectivesRequestBody) GetParentPageID() *string

type ExportSignalsShiftAnalyticsRequest ¶

type ExportSignalsShiftAnalyticsRequest struct {
	// Start of the period to fetch hours for (UTC)
	PeriodStart time.Time `queryParam:"style=form,explode=true,name=period_start"`
	// End of the period to fetch hours for (UTC)
	PeriodEnd   time.Time                               `queryParam:"style=form,explode=true,name=period_end"`
	RequestBody *ExportSignalsShiftAnalyticsRequestBody `request:"mediaType=multipart/form-data"`
}

func (*ExportSignalsShiftAnalyticsRequest) GetPeriodEnd ¶

func (e *ExportSignalsShiftAnalyticsRequest) GetPeriodEnd() time.Time

func (*ExportSignalsShiftAnalyticsRequest) GetPeriodStart ¶

func (e *ExportSignalsShiftAnalyticsRequest) GetPeriodStart() time.Time

func (*ExportSignalsShiftAnalyticsRequest) GetRequestBody ¶

func (ExportSignalsShiftAnalyticsRequest) MarshalJSON ¶

func (e ExportSignalsShiftAnalyticsRequest) MarshalJSON() ([]byte, error)

func (*ExportSignalsShiftAnalyticsRequest) UnmarshalJSON ¶

func (e *ExportSignalsShiftAnalyticsRequest) UnmarshalJSON(data []byte) error

type ExportSignalsShiftAnalyticsRequestBody ¶

type ExportSignalsShiftAnalyticsRequestBody struct {
	// Array of user IDs to fetch oncall hours for
	UserIds []string `multipartForm:"name=user_ids"`
	// Array of team IDs to fetch oncall hours for
	TeamIds []string `multipartForm:"name=team_ids"`
}

func (*ExportSignalsShiftAnalyticsRequestBody) GetTeamIds ¶

func (*ExportSignalsShiftAnalyticsRequestBody) GetUserIds ¶

type GenerateAudienceSummaryRequest ¶

type GenerateAudienceSummaryRequest struct {
	// Unique identifier of the audience
	AudienceID string `pathParam:"style=simple,explode=false,name=audience_id"`
	// Unique identifier of the incident to summarize
	IncidentID  string                              `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody *GenerateAudienceSummaryRequestBody `request:"mediaType=application/json"`
}

func (*GenerateAudienceSummaryRequest) GetAudienceID ¶

func (g *GenerateAudienceSummaryRequest) GetAudienceID() string

func (*GenerateAudienceSummaryRequest) GetIncidentID ¶

func (g *GenerateAudienceSummaryRequest) GetIncidentID() string

func (*GenerateAudienceSummaryRequest) GetRequestBody ¶

type GenerateAudienceSummaryRequestBody ¶

type GenerateAudienceSummaryRequestBody struct {
	// Whether to force regeneration of the summary
	ForceRegenerate *bool `default:"true" json:"force_regenerate"`
}

func (*GenerateAudienceSummaryRequestBody) GetForceRegenerate ¶

func (g *GenerateAudienceSummaryRequestBody) GetForceRegenerate() *bool

func (GenerateAudienceSummaryRequestBody) MarshalJSON ¶

func (g GenerateAudienceSummaryRequestBody) MarshalJSON() ([]byte, error)

func (*GenerateAudienceSummaryRequestBody) UnmarshalJSON ¶

func (g *GenerateAudienceSummaryRequestBody) UnmarshalJSON(data []byte) error

type GetAiIncidentSummaryVoteStatusRequest ¶

type GetAiIncidentSummaryVoteStatusRequest struct {
	IncidentID         string `pathParam:"style=simple,explode=false,name=incident_id"`
	GeneratedSummaryID string `pathParam:"style=simple,explode=false,name=generated_summary_id"`
}

func (*GetAiIncidentSummaryVoteStatusRequest) GetGeneratedSummaryID ¶

func (g *GetAiIncidentSummaryVoteStatusRequest) GetGeneratedSummaryID() string

func (*GetAiIncidentSummaryVoteStatusRequest) GetIncidentID ¶

func (g *GetAiIncidentSummaryVoteStatusRequest) GetIncidentID() string

type GetAlertRequest ¶

type GetAlertRequest struct {
	AlertID string `pathParam:"style=simple,explode=false,name=alert_id"`
}

func (*GetAlertRequest) GetAlertID ¶

func (g *GetAlertRequest) GetAlertID() string

type GetAudienceRequest ¶

type GetAudienceRequest struct {
	// Unique identifier of the audience
	AudienceID string `pathParam:"style=simple,explode=false,name=audience_id"`
}

func (*GetAudienceRequest) GetAudienceID ¶

func (g *GetAudienceRequest) GetAudienceID() string

type GetAudienceSummaryRequest ¶

type GetAudienceSummaryRequest struct {
	// Unique identifier of the audience
	AudienceID string `pathParam:"style=simple,explode=false,name=audience_id"`
	// Unique identifier of the incident to summarize
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*GetAudienceSummaryRequest) GetAudienceID ¶

func (g *GetAudienceSummaryRequest) GetAudienceID() string

func (*GetAudienceSummaryRequest) GetIncidentID ¶

func (g *GetAudienceSummaryRequest) GetIncidentID() string

type GetAuditEventRequest ¶

type GetAuditEventRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetAuditEventRequest) GetID ¶

func (g *GetAuditEventRequest) GetID() string

type GetAwsCloudtrailBatchRequest ¶

type GetAwsCloudtrailBatchRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetAwsCloudtrailBatchRequest) GetID ¶

type GetAwsConnectionRequest ¶

type GetAwsConnectionRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetAwsConnectionRequest) GetID ¶

func (g *GetAwsConnectionRequest) GetID() string

type GetCallRouteRequest ¶

type GetCallRouteRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetCallRouteRequest) GetID ¶

func (g *GetCallRouteRequest) GetID() string

type GetChangeEventRequest ¶

type GetChangeEventRequest struct {
	ChangeEventID string `pathParam:"style=simple,explode=false,name=change_event_id"`
}

func (*GetChangeEventRequest) GetChangeEventID ¶

func (g *GetChangeEventRequest) GetChangeEventID() string

type GetChecklistTemplateRequest ¶

type GetChecklistTemplateRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetChecklistTemplateRequest) GetID ¶

type GetCommentRequest ¶

type GetCommentRequest struct {
	CommentID      string `pathParam:"style=simple,explode=false,name=comment_id"`
	ConversationID string `pathParam:"style=simple,explode=false,name=conversation_id"`
}

func (*GetCommentRequest) GetCommentID ¶

func (g *GetCommentRequest) GetCommentID() string

func (*GetCommentRequest) GetConversationID ¶

func (g *GetCommentRequest) GetConversationID() string

type GetConferenceBridgeTranslationRequest ¶

type GetConferenceBridgeTranslationRequest struct {
	// The ID of the conference bridge
	ID string `pathParam:"style=simple,explode=false,name=id"`
	// The language code of the translation
	LanguageCode string `pathParam:"style=simple,explode=false,name=language_code"`
	IncidentID   string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*GetConferenceBridgeTranslationRequest) GetID ¶

func (*GetConferenceBridgeTranslationRequest) GetIncidentID ¶

func (g *GetConferenceBridgeTranslationRequest) GetIncidentID() string

func (*GetConferenceBridgeTranslationRequest) GetLanguageCode ¶

func (g *GetConferenceBridgeTranslationRequest) GetLanguageCode() string

type GetConfigurationOptionsRequest ¶

type GetConfigurationOptionsRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*GetConfigurationOptionsRequest) GetTicketingProjectID ¶

func (g *GetConfigurationOptionsRequest) GetTicketingProjectID() string

type GetEnvironmentRequest ¶

type GetEnvironmentRequest struct {
	// Environment UUID
	EnvironmentID string `pathParam:"style=simple,explode=false,name=environment_id"`
}

func (*GetEnvironmentRequest) GetEnvironmentID ¶

func (g *GetEnvironmentRequest) GetEnvironmentID() string

type GetFormConfigurationRequest ¶

type GetFormConfigurationRequest struct {
	Slug string `pathParam:"style=simple,explode=false,name=slug"`
}

func (*GetFormConfigurationRequest) GetSlug ¶

func (g *GetFormConfigurationRequest) GetSlug() string

type GetFunctionalityRequest ¶

type GetFunctionalityRequest struct {
	FunctionalityID string `pathParam:"style=simple,explode=false,name=functionality_id"`
}

func (*GetFunctionalityRequest) GetFunctionalityID ¶

func (g *GetFunctionalityRequest) GetFunctionalityID() string

type GetInboundFieldMapRequest ¶

type GetInboundFieldMapRequest struct {
	MapID              string `pathParam:"style=simple,explode=false,name=map_id"`
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*GetInboundFieldMapRequest) GetMapID ¶

func (g *GetInboundFieldMapRequest) GetMapID() string

func (*GetInboundFieldMapRequest) GetTicketingProjectID ¶

func (g *GetInboundFieldMapRequest) GetTicketingProjectID() string

type GetIncidentChannelRequest ¶

type GetIncidentChannelRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*GetIncidentChannelRequest) GetIncidentID ¶

func (g *GetIncidentChannelRequest) GetIncidentID() string

type GetIncidentEventRequest ¶

type GetIncidentEventRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	EventID    string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*GetIncidentEventRequest) GetEventID ¶

func (g *GetIncidentEventRequest) GetEventID() string

func (*GetIncidentEventRequest) GetIncidentID ¶

func (g *GetIncidentEventRequest) GetIncidentID() string

type GetIncidentRelationshipsRequest ¶

type GetIncidentRelationshipsRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*GetIncidentRelationshipsRequest) GetIncidentID ¶

func (g *GetIncidentRelationshipsRequest) GetIncidentID() string

type GetIncidentRequest ¶

type GetIncidentRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*GetIncidentRequest) GetIncidentID ¶

func (g *GetIncidentRequest) GetIncidentID() string

type GetIncidentRetrospectiveFieldRequest ¶

type GetIncidentRetrospectiveFieldRequest struct {
	RetrospectiveID string `pathParam:"style=simple,explode=false,name=retrospective_id"`
	FieldID         string `pathParam:"style=simple,explode=false,name=field_id"`
	IncidentID      string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*GetIncidentRetrospectiveFieldRequest) GetFieldID ¶

func (*GetIncidentRetrospectiveFieldRequest) GetIncidentID ¶

func (g *GetIncidentRetrospectiveFieldRequest) GetIncidentID() string

func (*GetIncidentRetrospectiveFieldRequest) GetRetrospectiveID ¶

func (g *GetIncidentRetrospectiveFieldRequest) GetRetrospectiveID() string

type GetIncidentRoleRequest ¶

type GetIncidentRoleRequest struct {
	IncidentRoleID string `pathParam:"style=simple,explode=false,name=incident_role_id"`
}

func (*GetIncidentRoleRequest) GetIncidentRoleID ¶

func (g *GetIncidentRoleRequest) GetIncidentRoleID() string

type GetIncidentTaskRequest ¶

type GetIncidentTaskRequest struct {
	TaskID     string `pathParam:"style=simple,explode=false,name=task_id"`
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*GetIncidentTaskRequest) GetIncidentID ¶

func (g *GetIncidentTaskRequest) GetIncidentID() string

func (*GetIncidentTaskRequest) GetTaskID ¶

func (g *GetIncidentTaskRequest) GetTaskID() string

type GetIncidentTypeRequest ¶

type GetIncidentTypeRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetIncidentTypeRequest) GetID ¶

func (g *GetIncidentTypeRequest) GetID() string

type GetIncidentUserRequest ¶

type GetIncidentUserRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	UserID     string `pathParam:"style=simple,explode=false,name=user_id"`
}

func (*GetIncidentUserRequest) GetIncidentID ¶

func (g *GetIncidentUserRequest) GetIncidentID() string

func (*GetIncidentUserRequest) GetUserID ¶

func (g *GetIncidentUserRequest) GetUserID() string

type GetIntegrationRequest ¶

type GetIntegrationRequest struct {
	// Integration UUID
	IntegrationID string `pathParam:"style=simple,explode=false,name=integration_id"`
}

func (*GetIntegrationRequest) GetIntegrationID ¶

func (g *GetIntegrationRequest) GetIntegrationID() string

type GetLifecycleMeasurementDefinitionRequest ¶

type GetLifecycleMeasurementDefinitionRequest struct {
	MeasurementDefinitionID string `pathParam:"style=simple,explode=false,name=measurement_definition_id"`
}

func (*GetLifecycleMeasurementDefinitionRequest) GetMeasurementDefinitionID ¶

func (g *GetLifecycleMeasurementDefinitionRequest) GetMeasurementDefinitionID() string

type GetMeanTimeReportRequest ¶

type GetMeanTimeReportRequest struct {
	// A comma separated list of environment IDs
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of service IDs
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// Incident status
	Status *string `queryParam:"style=form,explode=true,name=status"`
	// The start date to return incidents from
	StartDate *types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return incidents from
	EndDate *types.Date `queryParam:"style=form,explode=true,name=end_date"`
	// A text query for an incident that searches on name, summary, and desciption
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// The id of a previously saved search.
	SavedSearchID *string `queryParam:"style=form,explode=true,name=saved_search_id"`
	// A comma separated list of priorities
	Priorities *string `queryParam:"style=form,explode=true,name=priorities"`
	// Flag for including incidents where priority has not been set
	PriorityNotSet *bool `queryParam:"style=form,explode=true,name=priority_not_set"`
	// A comma separated list of severities
	Severities *string `queryParam:"style=form,explode=true,name=severities"`
	// Flag for including incidents where severity has not been set
	SeverityNotSet *bool `queryParam:"style=form,explode=true,name=severity_not_set"`
	// A comma separated list of current milestones
	CurrentMilestones *string `queryParam:"style=form,explode=true,name=current_milestones"`
}

func (*GetMeanTimeReportRequest) GetCurrentMilestones ¶

func (g *GetMeanTimeReportRequest) GetCurrentMilestones() *string

func (*GetMeanTimeReportRequest) GetEndDate ¶

func (g *GetMeanTimeReportRequest) GetEndDate() *types.Date

func (*GetMeanTimeReportRequest) GetEnvironments ¶

func (g *GetMeanTimeReportRequest) GetEnvironments() *string

func (*GetMeanTimeReportRequest) GetPriorities ¶

func (g *GetMeanTimeReportRequest) GetPriorities() *string

func (*GetMeanTimeReportRequest) GetPriorityNotSet ¶

func (g *GetMeanTimeReportRequest) GetPriorityNotSet() *bool

func (*GetMeanTimeReportRequest) GetQuery ¶

func (g *GetMeanTimeReportRequest) GetQuery() *string

func (*GetMeanTimeReportRequest) GetSavedSearchID ¶

func (g *GetMeanTimeReportRequest) GetSavedSearchID() *string

func (*GetMeanTimeReportRequest) GetServices ¶

func (g *GetMeanTimeReportRequest) GetServices() *string

func (*GetMeanTimeReportRequest) GetSeverities ¶

func (g *GetMeanTimeReportRequest) GetSeverities() *string

func (*GetMeanTimeReportRequest) GetSeverityNotSet ¶

func (g *GetMeanTimeReportRequest) GetSeverityNotSet() *bool

func (*GetMeanTimeReportRequest) GetStartDate ¶

func (g *GetMeanTimeReportRequest) GetStartDate() *types.Date

func (*GetMeanTimeReportRequest) GetStatus ¶

func (g *GetMeanTimeReportRequest) GetStatus() *string

func (*GetMeanTimeReportRequest) GetTeams ¶

func (g *GetMeanTimeReportRequest) GetTeams() *string

func (GetMeanTimeReportRequest) MarshalJSON ¶

func (g GetMeanTimeReportRequest) MarshalJSON() ([]byte, error)

func (*GetMeanTimeReportRequest) UnmarshalJSON ¶

func (g *GetMeanTimeReportRequest) UnmarshalJSON(data []byte) error

type GetMemberDefaultAudienceRequest ¶

type GetMemberDefaultAudienceRequest struct {
	MemberID int `pathParam:"style=simple,explode=false,name=member_id"`
}

func (*GetMemberDefaultAudienceRequest) GetMemberID ¶

func (g *GetMemberDefaultAudienceRequest) GetMemberID() int

type GetNotificationPolicyRequest ¶

type GetNotificationPolicyRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetNotificationPolicyRequest) GetID ¶

type GetNuncConnectionRequest ¶

type GetNuncConnectionRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
}

func (*GetNuncConnectionRequest) GetNuncConnectionID ¶

func (g *GetNuncConnectionRequest) GetNuncConnectionID() string

type GetOnCallScheduleRotationRequest ¶

type GetOnCallScheduleRotationRequest struct {
	RotationID string `pathParam:"style=simple,explode=false,name=rotation_id"`
	TeamID     string `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID string `pathParam:"style=simple,explode=false,name=schedule_id"`
}

func (*GetOnCallScheduleRotationRequest) GetRotationID ¶

func (g *GetOnCallScheduleRotationRequest) GetRotationID() string

func (*GetOnCallScheduleRotationRequest) GetScheduleID ¶

func (g *GetOnCallScheduleRotationRequest) GetScheduleID() string

func (*GetOnCallScheduleRotationRequest) GetTeamID ¶

type GetOnCallShiftRequest ¶

type GetOnCallShiftRequest struct {
	ID         string `pathParam:"style=simple,explode=false,name=id"`
	TeamID     string `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID string `pathParam:"style=simple,explode=false,name=schedule_id"`
}

func (*GetOnCallShiftRequest) GetID ¶

func (g *GetOnCallShiftRequest) GetID() string

func (*GetOnCallShiftRequest) GetScheduleID ¶

func (g *GetOnCallShiftRequest) GetScheduleID() string

func (*GetOnCallShiftRequest) GetTeamID ¶

func (g *GetOnCallShiftRequest) GetTeamID() string

type GetOptionsForFieldRequest ¶

type GetOptionsForFieldRequest struct {
	FieldID            string `pathParam:"style=simple,explode=false,name=field_id"`
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*GetOptionsForFieldRequest) GetFieldID ¶

func (g *GetOptionsForFieldRequest) GetFieldID() string

func (*GetOptionsForFieldRequest) GetTicketingProjectID ¶

func (g *GetOptionsForFieldRequest) GetTicketingProjectID() string

type GetPostMortemQuestionRequest ¶

type GetPostMortemQuestionRequest struct {
	QuestionID string `pathParam:"style=simple,explode=false,name=question_id"`
}

func (*GetPostMortemQuestionRequest) GetQuestionID ¶

func (g *GetPostMortemQuestionRequest) GetQuestionID() string

type GetPostMortemReportRequest ¶

type GetPostMortemReportRequest struct {
	ReportID string `pathParam:"style=simple,explode=false,name=report_id"`
}

func (*GetPostMortemReportRequest) GetReportID ¶

func (g *GetPostMortemReportRequest) GetReportID() string

type GetPriorityRequest ¶

type GetPriorityRequest struct {
	PrioritySlug string `pathParam:"style=simple,explode=false,name=priority_slug"`
}

func (*GetPriorityRequest) GetPrioritySlug ¶

func (g *GetPriorityRequest) GetPrioritySlug() string

type GetRetrospectiveTemplateRequest ¶

type GetRetrospectiveTemplateRequest struct {
	RetrospectiveTemplateID string `pathParam:"style=simple,explode=false,name=retrospective_template_id"`
}

func (*GetRetrospectiveTemplateRequest) GetRetrospectiveTemplateID ¶

func (g *GetRetrospectiveTemplateRequest) GetRetrospectiveTemplateID() string

type GetRoleRequest ¶

type GetRoleRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetRoleRequest) GetID ¶

func (g *GetRoleRequest) GetID() string

type GetRunbookActionFieldOptionsRequest ¶

type GetRunbookActionFieldOptionsRequest struct {
	IntegrationSlug string `pathParam:"style=simple,explode=false,name=integration_slug"`
	ActionSlug      string `pathParam:"style=simple,explode=false,name=action_slug"`
	Field           string `pathParam:"style=simple,explode=false,name=field"`
	// Text string of a query for filtering values.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Generic params used to add specificity (eg an id of some kind) to the select options request
	Scope *string `queryParam:"style=form,explode=true,name=scope"`
	// Maximum number of items to return.
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*GetRunbookActionFieldOptionsRequest) GetActionSlug ¶

func (g *GetRunbookActionFieldOptionsRequest) GetActionSlug() string

func (*GetRunbookActionFieldOptionsRequest) GetField ¶

func (*GetRunbookActionFieldOptionsRequest) GetIntegrationSlug ¶

func (g *GetRunbookActionFieldOptionsRequest) GetIntegrationSlug() string

func (*GetRunbookActionFieldOptionsRequest) GetPerPage ¶

func (g *GetRunbookActionFieldOptionsRequest) GetPerPage() *int

func (*GetRunbookActionFieldOptionsRequest) GetQuery ¶

func (*GetRunbookActionFieldOptionsRequest) GetScope ¶

type GetRunbookExecutionRequest ¶

type GetRunbookExecutionRequest struct {
	ExecutionID string `pathParam:"style=simple,explode=false,name=execution_id"`
}

func (*GetRunbookExecutionRequest) GetExecutionID ¶

func (g *GetRunbookExecutionRequest) GetExecutionID() string

type GetRunbookExecutionStepScriptRequest ¶

type GetRunbookExecutionStepScriptRequest struct {
	ExecutionID string `pathParam:"style=simple,explode=false,name=execution_id"`
	StepID      string `pathParam:"style=simple,explode=false,name=step_id"`
}

func (*GetRunbookExecutionStepScriptRequest) GetExecutionID ¶

func (g *GetRunbookExecutionStepScriptRequest) GetExecutionID() string

func (*GetRunbookExecutionStepScriptRequest) GetStepID ¶

type GetRunbookRequest ¶

type GetRunbookRequest struct {
	RunbookID string `pathParam:"style=simple,explode=false,name=runbook_id"`
}

func (*GetRunbookRequest) GetRunbookID ¶

func (g *GetRunbookRequest) GetRunbookID() string

type GetSavedSearchRequest ¶

type GetSavedSearchRequest struct {
	ResourceType  GetSavedSearchResourceType `pathParam:"style=simple,explode=false,name=resource_type"`
	SavedSearchID string                     `pathParam:"style=simple,explode=false,name=saved_search_id"`
}

func (*GetSavedSearchRequest) GetResourceType ¶

func (*GetSavedSearchRequest) GetSavedSearchID ¶

func (g *GetSavedSearchRequest) GetSavedSearchID() string

type GetSavedSearchResourceType ¶

type GetSavedSearchResourceType string
const (
	GetSavedSearchResourceTypeChangeEvents          GetSavedSearchResourceType = "change_events"
	GetSavedSearchResourceTypeIncidents             GetSavedSearchResourceType = "incidents"
	GetSavedSearchResourceTypeServices              GetSavedSearchResourceType = "services"
	GetSavedSearchResourceTypeScheduledMaintenances GetSavedSearchResourceType = "scheduled_maintenances"
	GetSavedSearchResourceTypeTicketTasks           GetSavedSearchResourceType = "ticket_tasks"
	GetSavedSearchResourceTypeTicketFollowUps       GetSavedSearchResourceType = "ticket_follow_ups"
	GetSavedSearchResourceTypeAnalytics             GetSavedSearchResourceType = "analytics"
	GetSavedSearchResourceTypeImpactAnalytics       GetSavedSearchResourceType = "impact_analytics"
	GetSavedSearchResourceTypeAlerts                GetSavedSearchResourceType = "alerts"
	GetSavedSearchResourceTypeIncidentEvents        GetSavedSearchResourceType = "incident_events"
)

func (GetSavedSearchResourceType) ToPointer ¶

func (*GetSavedSearchResourceType) UnmarshalJSON ¶

func (e *GetSavedSearchResourceType) UnmarshalJSON(data []byte) error

type GetScheduledMaintenanceRequest ¶

type GetScheduledMaintenanceRequest struct {
	ScheduledMaintenanceID string `pathParam:"style=simple,explode=false,name=scheduled_maintenance_id"`
}

func (*GetScheduledMaintenanceRequest) GetScheduledMaintenanceID ¶

func (g *GetScheduledMaintenanceRequest) GetScheduledMaintenanceID() string

type GetScimGroupRequest ¶

type GetScimGroupRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetScimGroupRequest) GetID ¶

func (g *GetScimGroupRequest) GetID() string

type GetScimUserRequest ¶

type GetScimUserRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetScimUserRequest) GetID ¶

func (g *GetScimUserRequest) GetID() string

type GetServiceDependenciesRequest ¶

type GetServiceDependenciesRequest struct {
	ServiceID string `pathParam:"style=simple,explode=false,name=service_id"`
	// If true, returns all dependencies in one array. If false, splits dependencies into different arrays for child and parent dependencies
	Flatten *bool `queryParam:"style=form,explode=true,name=flatten"`
}

func (*GetServiceDependenciesRequest) GetFlatten ¶

func (g *GetServiceDependenciesRequest) GetFlatten() *bool

func (*GetServiceDependenciesRequest) GetServiceID ¶

func (g *GetServiceDependenciesRequest) GetServiceID() string

type GetServiceDependencyRequest ¶

type GetServiceDependencyRequest struct {
	ServiceDependencyID string `pathParam:"style=simple,explode=false,name=service_dependency_id"`
}

func (*GetServiceDependencyRequest) GetServiceDependencyID ¶

func (g *GetServiceDependencyRequest) GetServiceDependencyID() string

type GetServiceRequest ¶

type GetServiceRequest struct {
	ServiceID string `pathParam:"style=simple,explode=false,name=service_id"`
}

func (*GetServiceRequest) GetServiceID ¶

func (g *GetServiceRequest) GetServiceID() string

type GetSeverityMatrixConditionRequest ¶

type GetSeverityMatrixConditionRequest struct {
	ConditionID string `pathParam:"style=simple,explode=false,name=condition_id"`
}

func (*GetSeverityMatrixConditionRequest) GetConditionID ¶

func (g *GetSeverityMatrixConditionRequest) GetConditionID() string

type GetSeverityRequest ¶

type GetSeverityRequest struct {
	SeveritySlug string `pathParam:"style=simple,explode=false,name=severity_slug"`
}

func (*GetSeverityRequest) GetSeveritySlug ¶

func (g *GetSeverityRequest) GetSeveritySlug() string

type GetSignalsAlertGroupingConfigurationRequest ¶

type GetSignalsAlertGroupingConfigurationRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetSignalsAlertGroupingConfigurationRequest) GetID ¶

type GetSignalsEmailTargetRequest ¶

type GetSignalsEmailTargetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetSignalsEmailTargetRequest) GetID ¶

type GetSignalsEventSourceRequest ¶

type GetSignalsEventSourceRequest struct {
	TransposerSlug string `pathParam:"style=simple,explode=false,name=transposer_slug"`
}

func (*GetSignalsEventSourceRequest) GetTransposerSlug ¶

func (g *GetSignalsEventSourceRequest) GetTransposerSlug() string

type GetSignalsGroupedMetricsGroupBy ¶

type GetSignalsGroupedMetricsGroupBy string

GetSignalsGroupedMetricsGroupBy - String that determines how records are grouped

const (
	GetSignalsGroupedMetricsGroupBySignalRules  GetSignalsGroupedMetricsGroupBy = "signal_rules"
	GetSignalsGroupedMetricsGroupByTeams        GetSignalsGroupedMetricsGroupBy = "teams"
	GetSignalsGroupedMetricsGroupByServices     GetSignalsGroupedMetricsGroupBy = "services"
	GetSignalsGroupedMetricsGroupByEnvironments GetSignalsGroupedMetricsGroupBy = "environments"
	GetSignalsGroupedMetricsGroupByTags         GetSignalsGroupedMetricsGroupBy = "tags"
)

func (GetSignalsGroupedMetricsGroupBy) ToPointer ¶

func (*GetSignalsGroupedMetricsGroupBy) UnmarshalJSON ¶

func (e *GetSignalsGroupedMetricsGroupBy) UnmarshalJSON(data []byte) error

type GetSignalsGroupedMetricsRequest ¶

type GetSignalsGroupedMetricsRequest struct {
	// A comma separated list of signal rule IDs
	SignalRules *string `queryParam:"style=form,explode=true,name=signal_rules"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of environment IDs
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A comma separated list of user IDs
	Users *string `queryParam:"style=form,explode=true,name=users"`
	// String that determines how records are grouped
	GroupBy *GetSignalsGroupedMetricsGroupBy `queryParam:"style=form,explode=true,name=group_by"`
	// String that determines how records are sorted
	SortBy *GetSignalsGroupedMetricsSortBy `queryParam:"style=form,explode=true,name=sort_by"`
	// String that determines how records are sorted
	SortDirection *GetSignalsGroupedMetricsSortDirection `queryParam:"style=form,explode=true,name=sort_direction"`
	// The start date to return metrics from
	StartDate *time.Time `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from
	EndDate *time.Time `queryParam:"style=form,explode=true,name=end_date"`
}

func (*GetSignalsGroupedMetricsRequest) GetEndDate ¶

func (g *GetSignalsGroupedMetricsRequest) GetEndDate() *time.Time

func (*GetSignalsGroupedMetricsRequest) GetEnvironments ¶

func (g *GetSignalsGroupedMetricsRequest) GetEnvironments() *string

func (*GetSignalsGroupedMetricsRequest) GetGroupBy ¶

func (*GetSignalsGroupedMetricsRequest) GetServices ¶

func (g *GetSignalsGroupedMetricsRequest) GetServices() *string

func (*GetSignalsGroupedMetricsRequest) GetSignalRules ¶

func (g *GetSignalsGroupedMetricsRequest) GetSignalRules() *string

func (*GetSignalsGroupedMetricsRequest) GetSortBy ¶

func (*GetSignalsGroupedMetricsRequest) GetSortDirection ¶

func (*GetSignalsGroupedMetricsRequest) GetStartDate ¶

func (g *GetSignalsGroupedMetricsRequest) GetStartDate() *time.Time

func (*GetSignalsGroupedMetricsRequest) GetTags ¶

func (*GetSignalsGroupedMetricsRequest) GetTeams ¶

func (g *GetSignalsGroupedMetricsRequest) GetTeams() *string

func (*GetSignalsGroupedMetricsRequest) GetUsers ¶

func (g *GetSignalsGroupedMetricsRequest) GetUsers() *string

func (GetSignalsGroupedMetricsRequest) MarshalJSON ¶

func (g GetSignalsGroupedMetricsRequest) MarshalJSON() ([]byte, error)

func (*GetSignalsGroupedMetricsRequest) UnmarshalJSON ¶

func (g *GetSignalsGroupedMetricsRequest) UnmarshalJSON(data []byte) error

type GetSignalsGroupedMetricsSortBy ¶

type GetSignalsGroupedMetricsSortBy string

GetSignalsGroupedMetricsSortBy - String that determines how records are sorted

const (
	GetSignalsGroupedMetricsSortByTotalOpenedAlerts   GetSignalsGroupedMetricsSortBy = "total_opened_alerts"
	GetSignalsGroupedMetricsSortByTotalAckedAlerts    GetSignalsGroupedMetricsSortBy = "total_acked_alerts"
	GetSignalsGroupedMetricsSortByTotalIncidents      GetSignalsGroupedMetricsSortBy = "total_incidents"
	GetSignalsGroupedMetricsSortByAckedPercentage     GetSignalsGroupedMetricsSortBy = "acked_percentage"
	GetSignalsGroupedMetricsSortByIncidentsPercentage GetSignalsGroupedMetricsSortBy = "incidents_percentage"
)

func (GetSignalsGroupedMetricsSortBy) ToPointer ¶

func (*GetSignalsGroupedMetricsSortBy) UnmarshalJSON ¶

func (e *GetSignalsGroupedMetricsSortBy) UnmarshalJSON(data []byte) error

type GetSignalsGroupedMetricsSortDirection ¶

type GetSignalsGroupedMetricsSortDirection string

GetSignalsGroupedMetricsSortDirection - String that determines how records are sorted

const (
	GetSignalsGroupedMetricsSortDirectionAsc  GetSignalsGroupedMetricsSortDirection = "asc"
	GetSignalsGroupedMetricsSortDirectionDesc GetSignalsGroupedMetricsSortDirection = "desc"
)

func (GetSignalsGroupedMetricsSortDirection) ToPointer ¶

func (*GetSignalsGroupedMetricsSortDirection) UnmarshalJSON ¶

func (e *GetSignalsGroupedMetricsSortDirection) UnmarshalJSON(data []byte) error

type GetSignalsIngestURLRequest ¶

type GetSignalsIngestURLRequest struct {
	// Team ID to send signals to directly
	TeamID *string `queryParam:"style=form,explode=true,name=team_id"`
	// Escalation policy ID to send signals to directly. `team_id` is required if this is provided.
	EscalationPolicyID *string `queryParam:"style=form,explode=true,name=escalation_policy_id"`
	// On-call schedule ID to send signals to directly. `team_id` is required if this is provided.
	OnCallScheduleID *string `queryParam:"style=form,explode=true,name=on_call_schedule_id"`
	// User ID to send signals to directly
	UserID *string `queryParam:"style=form,explode=true,name=user_id"`
}

func (*GetSignalsIngestURLRequest) GetEscalationPolicyID ¶

func (g *GetSignalsIngestURLRequest) GetEscalationPolicyID() *string

func (*GetSignalsIngestURLRequest) GetOnCallScheduleID ¶

func (g *GetSignalsIngestURLRequest) GetOnCallScheduleID() *string

func (*GetSignalsIngestURLRequest) GetTeamID ¶

func (g *GetSignalsIngestURLRequest) GetTeamID() *string

func (*GetSignalsIngestURLRequest) GetUserID ¶

func (g *GetSignalsIngestURLRequest) GetUserID() *string

type GetSignalsMttxAnalyticsGroupBy ¶

type GetSignalsMttxAnalyticsGroupBy string

GetSignalsMttxAnalyticsGroupBy - String that determines how records are grouped

const (
	GetSignalsMttxAnalyticsGroupBySignalRules  GetSignalsMttxAnalyticsGroupBy = "signal_rules"
	GetSignalsMttxAnalyticsGroupByTeams        GetSignalsMttxAnalyticsGroupBy = "teams"
	GetSignalsMttxAnalyticsGroupByServices     GetSignalsMttxAnalyticsGroupBy = "services"
	GetSignalsMttxAnalyticsGroupByEnvironments GetSignalsMttxAnalyticsGroupBy = "environments"
	GetSignalsMttxAnalyticsGroupByTags         GetSignalsMttxAnalyticsGroupBy = "tags"
)

func (GetSignalsMttxAnalyticsGroupBy) ToPointer ¶

func (*GetSignalsMttxAnalyticsGroupBy) UnmarshalJSON ¶

func (e *GetSignalsMttxAnalyticsGroupBy) UnmarshalJSON(data []byte) error

type GetSignalsMttxAnalyticsRequest ¶

type GetSignalsMttxAnalyticsRequest struct {
	// A comma separated list of signal rule IDs
	SignalRules *string `queryParam:"style=form,explode=true,name=signal_rules"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of environment IDs
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A comma separated list of user IDs
	Users *string `queryParam:"style=form,explode=true,name=users"`
	// String that determines how records are grouped
	GroupBy *GetSignalsMttxAnalyticsGroupBy `queryParam:"style=form,explode=true,name=group_by"`
	// String that determines how records are sorted
	SortBy *GetSignalsMttxAnalyticsSortBy `queryParam:"style=form,explode=true,name=sort_by"`
	// String that determines how records are sorted
	SortDirection *GetSignalsMttxAnalyticsSortDirection `queryParam:"style=form,explode=true,name=sort_direction"`
	// The start date to return metrics from
	StartDate *time.Time `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from
	EndDate *time.Time `queryParam:"style=form,explode=true,name=end_date"`
}

func (*GetSignalsMttxAnalyticsRequest) GetEndDate ¶

func (g *GetSignalsMttxAnalyticsRequest) GetEndDate() *time.Time

func (*GetSignalsMttxAnalyticsRequest) GetEnvironments ¶

func (g *GetSignalsMttxAnalyticsRequest) GetEnvironments() *string

func (*GetSignalsMttxAnalyticsRequest) GetGroupBy ¶

func (*GetSignalsMttxAnalyticsRequest) GetServices ¶

func (g *GetSignalsMttxAnalyticsRequest) GetServices() *string

func (*GetSignalsMttxAnalyticsRequest) GetSignalRules ¶

func (g *GetSignalsMttxAnalyticsRequest) GetSignalRules() *string

func (*GetSignalsMttxAnalyticsRequest) GetSortBy ¶

func (*GetSignalsMttxAnalyticsRequest) GetSortDirection ¶

func (*GetSignalsMttxAnalyticsRequest) GetStartDate ¶

func (g *GetSignalsMttxAnalyticsRequest) GetStartDate() *time.Time

func (*GetSignalsMttxAnalyticsRequest) GetTags ¶

func (g *GetSignalsMttxAnalyticsRequest) GetTags() *string

func (*GetSignalsMttxAnalyticsRequest) GetTeams ¶

func (g *GetSignalsMttxAnalyticsRequest) GetTeams() *string

func (*GetSignalsMttxAnalyticsRequest) GetUsers ¶

func (g *GetSignalsMttxAnalyticsRequest) GetUsers() *string

func (GetSignalsMttxAnalyticsRequest) MarshalJSON ¶

func (g GetSignalsMttxAnalyticsRequest) MarshalJSON() ([]byte, error)

func (*GetSignalsMttxAnalyticsRequest) UnmarshalJSON ¶

func (g *GetSignalsMttxAnalyticsRequest) UnmarshalJSON(data []byte) error

type GetSignalsMttxAnalyticsSortBy ¶

type GetSignalsMttxAnalyticsSortBy string

GetSignalsMttxAnalyticsSortBy - String that determines how records are sorted

const (
	GetSignalsMttxAnalyticsSortByTotalOpenedAlerts   GetSignalsMttxAnalyticsSortBy = "total_opened_alerts"
	GetSignalsMttxAnalyticsSortByTotalAckedAlerts    GetSignalsMttxAnalyticsSortBy = "total_acked_alerts"
	GetSignalsMttxAnalyticsSortByTotalIncidents      GetSignalsMttxAnalyticsSortBy = "total_incidents"
	GetSignalsMttxAnalyticsSortByAckedPercentage     GetSignalsMttxAnalyticsSortBy = "acked_percentage"
	GetSignalsMttxAnalyticsSortByIncidentsPercentage GetSignalsMttxAnalyticsSortBy = "incidents_percentage"
)

func (GetSignalsMttxAnalyticsSortBy) ToPointer ¶

func (*GetSignalsMttxAnalyticsSortBy) UnmarshalJSON ¶

func (e *GetSignalsMttxAnalyticsSortBy) UnmarshalJSON(data []byte) error

type GetSignalsMttxAnalyticsSortDirection ¶

type GetSignalsMttxAnalyticsSortDirection string

GetSignalsMttxAnalyticsSortDirection - String that determines how records are sorted

const (
	GetSignalsMttxAnalyticsSortDirectionAsc  GetSignalsMttxAnalyticsSortDirection = "asc"
	GetSignalsMttxAnalyticsSortDirectionDesc GetSignalsMttxAnalyticsSortDirection = "desc"
)

func (GetSignalsMttxAnalyticsSortDirection) ToPointer ¶

func (*GetSignalsMttxAnalyticsSortDirection) UnmarshalJSON ¶

func (e *GetSignalsMttxAnalyticsSortDirection) UnmarshalJSON(data []byte) error

type GetSignalsNoiseAnalyticsBucket ¶

type GetSignalsNoiseAnalyticsBucket string

GetSignalsNoiseAnalyticsBucket - String that determines how records are grouped

const (
	GetSignalsNoiseAnalyticsBucketMonth GetSignalsNoiseAnalyticsBucket = "month"
	GetSignalsNoiseAnalyticsBucketWeek  GetSignalsNoiseAnalyticsBucket = "week"
	GetSignalsNoiseAnalyticsBucketDay   GetSignalsNoiseAnalyticsBucket = "day"
)

func (GetSignalsNoiseAnalyticsBucket) ToPointer ¶

func (*GetSignalsNoiseAnalyticsBucket) UnmarshalJSON ¶

func (e *GetSignalsNoiseAnalyticsBucket) UnmarshalJSON(data []byte) error

type GetSignalsNoiseAnalyticsGroupBy ¶

type GetSignalsNoiseAnalyticsGroupBy string

GetSignalsNoiseAnalyticsGroupBy - String that determines how records are grouped

const (
	GetSignalsNoiseAnalyticsGroupBySignalRules  GetSignalsNoiseAnalyticsGroupBy = "signal_rules"
	GetSignalsNoiseAnalyticsGroupByTeams        GetSignalsNoiseAnalyticsGroupBy = "teams"
	GetSignalsNoiseAnalyticsGroupByServices     GetSignalsNoiseAnalyticsGroupBy = "services"
	GetSignalsNoiseAnalyticsGroupByEnvironments GetSignalsNoiseAnalyticsGroupBy = "environments"
	GetSignalsNoiseAnalyticsGroupByTags         GetSignalsNoiseAnalyticsGroupBy = "tags"
)

func (GetSignalsNoiseAnalyticsGroupBy) ToPointer ¶

func (*GetSignalsNoiseAnalyticsGroupBy) UnmarshalJSON ¶

func (e *GetSignalsNoiseAnalyticsGroupBy) UnmarshalJSON(data []byte) error

type GetSignalsNoiseAnalyticsRequest ¶

type GetSignalsNoiseAnalyticsRequest struct {
	// String that determines how records are grouped
	Bucket *GetSignalsNoiseAnalyticsBucket `queryParam:"style=form,explode=true,name=bucket"`
	// A comma separated list of signal rule IDs
	SignalRules *string `queryParam:"style=form,explode=true,name=signal_rules"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of environment IDs
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A comma separated list of user IDs
	Users *string `queryParam:"style=form,explode=true,name=users"`
	// String that determines how records are grouped
	GroupBy *GetSignalsNoiseAnalyticsGroupBy `queryParam:"style=form,explode=true,name=group_by"`
	// String that determines how records are sorted
	SortBy *GetSignalsNoiseAnalyticsSortBy `queryParam:"style=form,explode=true,name=sort_by"`
	// String that determines how records are sorted
	SortDirection *GetSignalsNoiseAnalyticsSortDirection `queryParam:"style=form,explode=true,name=sort_direction"`
	// The start date to return metrics from
	StartDate *time.Time `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from
	EndDate *time.Time `queryParam:"style=form,explode=true,name=end_date"`
}

func (*GetSignalsNoiseAnalyticsRequest) GetBucket ¶

func (*GetSignalsNoiseAnalyticsRequest) GetEndDate ¶

func (g *GetSignalsNoiseAnalyticsRequest) GetEndDate() *time.Time

func (*GetSignalsNoiseAnalyticsRequest) GetEnvironments ¶

func (g *GetSignalsNoiseAnalyticsRequest) GetEnvironments() *string

func (*GetSignalsNoiseAnalyticsRequest) GetGroupBy ¶

func (*GetSignalsNoiseAnalyticsRequest) GetServices ¶

func (g *GetSignalsNoiseAnalyticsRequest) GetServices() *string

func (*GetSignalsNoiseAnalyticsRequest) GetSignalRules ¶

func (g *GetSignalsNoiseAnalyticsRequest) GetSignalRules() *string

func (*GetSignalsNoiseAnalyticsRequest) GetSortBy ¶

func (*GetSignalsNoiseAnalyticsRequest) GetSortDirection ¶

func (*GetSignalsNoiseAnalyticsRequest) GetStartDate ¶

func (g *GetSignalsNoiseAnalyticsRequest) GetStartDate() *time.Time

func (*GetSignalsNoiseAnalyticsRequest) GetTags ¶

func (*GetSignalsNoiseAnalyticsRequest) GetTeams ¶

func (g *GetSignalsNoiseAnalyticsRequest) GetTeams() *string

func (*GetSignalsNoiseAnalyticsRequest) GetUsers ¶

func (g *GetSignalsNoiseAnalyticsRequest) GetUsers() *string

func (GetSignalsNoiseAnalyticsRequest) MarshalJSON ¶

func (g GetSignalsNoiseAnalyticsRequest) MarshalJSON() ([]byte, error)

func (*GetSignalsNoiseAnalyticsRequest) UnmarshalJSON ¶

func (g *GetSignalsNoiseAnalyticsRequest) UnmarshalJSON(data []byte) error

type GetSignalsNoiseAnalyticsSortBy ¶

type GetSignalsNoiseAnalyticsSortBy string

GetSignalsNoiseAnalyticsSortBy - String that determines how records are sorted

const (
	GetSignalsNoiseAnalyticsSortByTotalOpenedAlerts   GetSignalsNoiseAnalyticsSortBy = "total_opened_alerts"
	GetSignalsNoiseAnalyticsSortByTotalAckedAlerts    GetSignalsNoiseAnalyticsSortBy = "total_acked_alerts"
	GetSignalsNoiseAnalyticsSortByTotalIncidents      GetSignalsNoiseAnalyticsSortBy = "total_incidents"
	GetSignalsNoiseAnalyticsSortByAckedPercentage     GetSignalsNoiseAnalyticsSortBy = "acked_percentage"
	GetSignalsNoiseAnalyticsSortByIncidentsPercentage GetSignalsNoiseAnalyticsSortBy = "incidents_percentage"
)

func (GetSignalsNoiseAnalyticsSortBy) ToPointer ¶

func (*GetSignalsNoiseAnalyticsSortBy) UnmarshalJSON ¶

func (e *GetSignalsNoiseAnalyticsSortBy) UnmarshalJSON(data []byte) error

type GetSignalsNoiseAnalyticsSortDirection ¶

type GetSignalsNoiseAnalyticsSortDirection string

GetSignalsNoiseAnalyticsSortDirection - String that determines how records are sorted

const (
	GetSignalsNoiseAnalyticsSortDirectionAsc  GetSignalsNoiseAnalyticsSortDirection = "asc"
	GetSignalsNoiseAnalyticsSortDirectionDesc GetSignalsNoiseAnalyticsSortDirection = "desc"
)

func (GetSignalsNoiseAnalyticsSortDirection) ToPointer ¶

func (*GetSignalsNoiseAnalyticsSortDirection) UnmarshalJSON ¶

func (e *GetSignalsNoiseAnalyticsSortDirection) UnmarshalJSON(data []byte) error

type GetSignalsTimeseriesAnalyticsBucket ¶

type GetSignalsTimeseriesAnalyticsBucket string

GetSignalsTimeseriesAnalyticsBucket - String that determines how records are grouped

const (
	GetSignalsTimeseriesAnalyticsBucketMonth GetSignalsTimeseriesAnalyticsBucket = "month"
	GetSignalsTimeseriesAnalyticsBucketWeek  GetSignalsTimeseriesAnalyticsBucket = "week"
	GetSignalsTimeseriesAnalyticsBucketDay   GetSignalsTimeseriesAnalyticsBucket = "day"
)

func (GetSignalsTimeseriesAnalyticsBucket) ToPointer ¶

func (*GetSignalsTimeseriesAnalyticsBucket) UnmarshalJSON ¶

func (e *GetSignalsTimeseriesAnalyticsBucket) UnmarshalJSON(data []byte) error

type GetSignalsTimeseriesAnalyticsGroupBy ¶

type GetSignalsTimeseriesAnalyticsGroupBy string

GetSignalsTimeseriesAnalyticsGroupBy - String that determines how records are grouped

const (
	GetSignalsTimeseriesAnalyticsGroupBySignalRules  GetSignalsTimeseriesAnalyticsGroupBy = "signal_rules"
	GetSignalsTimeseriesAnalyticsGroupByTeams        GetSignalsTimeseriesAnalyticsGroupBy = "teams"
	GetSignalsTimeseriesAnalyticsGroupByServices     GetSignalsTimeseriesAnalyticsGroupBy = "services"
	GetSignalsTimeseriesAnalyticsGroupByEnvironments GetSignalsTimeseriesAnalyticsGroupBy = "environments"
	GetSignalsTimeseriesAnalyticsGroupByTags         GetSignalsTimeseriesAnalyticsGroupBy = "tags"
)

func (GetSignalsTimeseriesAnalyticsGroupBy) ToPointer ¶

func (*GetSignalsTimeseriesAnalyticsGroupBy) UnmarshalJSON ¶

func (e *GetSignalsTimeseriesAnalyticsGroupBy) UnmarshalJSON(data []byte) error

type GetSignalsTimeseriesAnalyticsRequest ¶

type GetSignalsTimeseriesAnalyticsRequest struct {
	// String that determines how records are grouped
	Bucket *GetSignalsTimeseriesAnalyticsBucket `queryParam:"style=form,explode=true,name=bucket"`
	// A comma separated list of signal rule IDs
	SignalRules *string `queryParam:"style=form,explode=true,name=signal_rules"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of environment IDs
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A comma separated list of user IDs
	Users *string `queryParam:"style=form,explode=true,name=users"`
	// String that determines how records are grouped
	GroupBy *GetSignalsTimeseriesAnalyticsGroupBy `queryParam:"style=form,explode=true,name=group_by"`
	// String that determines how records are sorted
	SortBy *GetSignalsTimeseriesAnalyticsSortBy `queryParam:"style=form,explode=true,name=sort_by"`
	// String that determines how records are sorted
	SortDirection *GetSignalsTimeseriesAnalyticsSortDirection `queryParam:"style=form,explode=true,name=sort_direction"`
	// The start date to return metrics from
	StartDate *time.Time `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from
	EndDate *time.Time `queryParam:"style=form,explode=true,name=end_date"`
}

func (*GetSignalsTimeseriesAnalyticsRequest) GetBucket ¶

func (*GetSignalsTimeseriesAnalyticsRequest) GetEndDate ¶

func (*GetSignalsTimeseriesAnalyticsRequest) GetEnvironments ¶

func (g *GetSignalsTimeseriesAnalyticsRequest) GetEnvironments() *string

func (*GetSignalsTimeseriesAnalyticsRequest) GetGroupBy ¶

func (*GetSignalsTimeseriesAnalyticsRequest) GetServices ¶

func (g *GetSignalsTimeseriesAnalyticsRequest) GetServices() *string

func (*GetSignalsTimeseriesAnalyticsRequest) GetSignalRules ¶

func (g *GetSignalsTimeseriesAnalyticsRequest) GetSignalRules() *string

func (*GetSignalsTimeseriesAnalyticsRequest) GetSortBy ¶

func (*GetSignalsTimeseriesAnalyticsRequest) GetSortDirection ¶

func (*GetSignalsTimeseriesAnalyticsRequest) GetStartDate ¶

func (g *GetSignalsTimeseriesAnalyticsRequest) GetStartDate() *time.Time

func (*GetSignalsTimeseriesAnalyticsRequest) GetTags ¶

func (*GetSignalsTimeseriesAnalyticsRequest) GetTeams ¶

func (*GetSignalsTimeseriesAnalyticsRequest) GetUsers ¶

func (GetSignalsTimeseriesAnalyticsRequest) MarshalJSON ¶

func (g GetSignalsTimeseriesAnalyticsRequest) MarshalJSON() ([]byte, error)

func (*GetSignalsTimeseriesAnalyticsRequest) UnmarshalJSON ¶

func (g *GetSignalsTimeseriesAnalyticsRequest) UnmarshalJSON(data []byte) error

type GetSignalsTimeseriesAnalyticsSortBy ¶

type GetSignalsTimeseriesAnalyticsSortBy string

GetSignalsTimeseriesAnalyticsSortBy - String that determines how records are sorted

const (
	GetSignalsTimeseriesAnalyticsSortByTotalOpenedAlerts   GetSignalsTimeseriesAnalyticsSortBy = "total_opened_alerts"
	GetSignalsTimeseriesAnalyticsSortByTotalAckedAlerts    GetSignalsTimeseriesAnalyticsSortBy = "total_acked_alerts"
	GetSignalsTimeseriesAnalyticsSortByTotalIncidents      GetSignalsTimeseriesAnalyticsSortBy = "total_incidents"
	GetSignalsTimeseriesAnalyticsSortByAckedPercentage     GetSignalsTimeseriesAnalyticsSortBy = "acked_percentage"
	GetSignalsTimeseriesAnalyticsSortByIncidentsPercentage GetSignalsTimeseriesAnalyticsSortBy = "incidents_percentage"
)

func (GetSignalsTimeseriesAnalyticsSortBy) ToPointer ¶

func (*GetSignalsTimeseriesAnalyticsSortBy) UnmarshalJSON ¶

func (e *GetSignalsTimeseriesAnalyticsSortBy) UnmarshalJSON(data []byte) error

type GetSignalsTimeseriesAnalyticsSortDirection ¶

type GetSignalsTimeseriesAnalyticsSortDirection string

GetSignalsTimeseriesAnalyticsSortDirection - String that determines how records are sorted

const (
	GetSignalsTimeseriesAnalyticsSortDirectionAsc  GetSignalsTimeseriesAnalyticsSortDirection = "asc"
	GetSignalsTimeseriesAnalyticsSortDirectionDesc GetSignalsTimeseriesAnalyticsSortDirection = "desc"
)

func (GetSignalsTimeseriesAnalyticsSortDirection) ToPointer ¶

func (*GetSignalsTimeseriesAnalyticsSortDirection) UnmarshalJSON ¶

func (e *GetSignalsTimeseriesAnalyticsSortDirection) UnmarshalJSON(data []byte) error

type GetSignalsWebhookTargetRequest ¶

type GetSignalsWebhookTargetRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetSignalsWebhookTargetRequest) GetID ¶

type GetSlackEmojiActionRequest ¶

type GetSlackEmojiActionRequest struct {
	// Slack Connection UUID
	ConnectionID  string `pathParam:"style=simple,explode=false,name=connection_id"`
	EmojiActionID string `pathParam:"style=simple,explode=false,name=emoji_action_id"`
}

func (*GetSlackEmojiActionRequest) GetConnectionID ¶

func (g *GetSlackEmojiActionRequest) GetConnectionID() string

func (*GetSlackEmojiActionRequest) GetEmojiActionID ¶

func (g *GetSlackEmojiActionRequest) GetEmojiActionID() string

type GetStatusUpdateTemplateRequest ¶

type GetStatusUpdateTemplateRequest struct {
	StatusUpdateTemplateID string `pathParam:"style=simple,explode=false,name=status_update_template_id"`
}

func (*GetStatusUpdateTemplateRequest) GetStatusUpdateTemplateID ¶

func (g *GetStatusUpdateTemplateRequest) GetStatusUpdateTemplateID() string

type GetStatuspageConnectionRequest ¶

type GetStatuspageConnectionRequest struct {
	// Connection UUID
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
}

func (*GetStatuspageConnectionRequest) GetConnectionID ¶

func (g *GetStatuspageConnectionRequest) GetConnectionID() string

type GetTaskListRequest ¶

type GetTaskListRequest struct {
	TaskListID string `pathParam:"style=simple,explode=false,name=task_list_id"`
}

func (*GetTaskListRequest) GetTaskListID ¶

func (g *GetTaskListRequest) GetTaskListID() string

type GetTeamEscalationPolicyRequest ¶

type GetTeamEscalationPolicyRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	ID     string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetTeamEscalationPolicyRequest) GetID ¶

func (*GetTeamEscalationPolicyRequest) GetTeamID ¶

func (g *GetTeamEscalationPolicyRequest) GetTeamID() string

type GetTeamOnCallScheduleRequest ¶

type GetTeamOnCallScheduleRequest struct {
	TeamID     string `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID string `pathParam:"style=simple,explode=false,name=schedule_id"`
	// An optional ISO8601 timestamp for filtering the shifts listed in each on-call schedule to only include shifts that overlap with the provided time window. If provided, only shifts that end at or after this time will be included.
	ShiftTimeWindowStart *string `queryParam:"style=form,explode=true,name=shift_time_window_start"`
	// An optional ISO8601 timestamp for filtering the shifts listed in each on-call schedule to only include shifts that overlap with the provided time window.. If provided, only shifts that start at or before this time will be included.
	ShiftTimeWindowEnd *string `queryParam:"style=form,explode=true,name=shift_time_window_end"`
}

func (*GetTeamOnCallScheduleRequest) GetScheduleID ¶

func (g *GetTeamOnCallScheduleRequest) GetScheduleID() string

func (*GetTeamOnCallScheduleRequest) GetShiftTimeWindowEnd ¶

func (g *GetTeamOnCallScheduleRequest) GetShiftTimeWindowEnd() *string

func (*GetTeamOnCallScheduleRequest) GetShiftTimeWindowStart ¶

func (g *GetTeamOnCallScheduleRequest) GetShiftTimeWindowStart() *string

func (*GetTeamOnCallScheduleRequest) GetTeamID ¶

func (g *GetTeamOnCallScheduleRequest) GetTeamID() string

type GetTeamRequest ¶

type GetTeamRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	// Boolean to determine whether to return a slimified version of the teams object
	Lite *bool `queryParam:"style=form,explode=true,name=lite"`
}

func (*GetTeamRequest) GetLite ¶

func (g *GetTeamRequest) GetLite() *bool

func (*GetTeamRequest) GetTeamID ¶

func (g *GetTeamRequest) GetTeamID() string

type GetTeamSignalRuleRequest ¶

type GetTeamSignalRuleRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	ID     string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetTeamSignalRuleRequest) GetID ¶

func (g *GetTeamSignalRuleRequest) GetID() string

func (*GetTeamSignalRuleRequest) GetTeamID ¶

func (g *GetTeamSignalRuleRequest) GetTeamID() string

type GetTicketRequest ¶

type GetTicketRequest struct {
	TicketID string `pathParam:"style=simple,explode=false,name=ticket_id"`
}

func (*GetTicketRequest) GetTicketID ¶

func (g *GetTicketRequest) GetTicketID() string

type GetTicketingFieldMapRequest ¶

type GetTicketingFieldMapRequest struct {
	MapID              string `pathParam:"style=simple,explode=false,name=map_id"`
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*GetTicketingFieldMapRequest) GetMapID ¶

func (g *GetTicketingFieldMapRequest) GetMapID() string

func (*GetTicketingFieldMapRequest) GetTicketingProjectID ¶

func (g *GetTicketingFieldMapRequest) GetTicketingProjectID() string

type GetTicketingPriorityRequest ¶

type GetTicketingPriorityRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetTicketingPriorityRequest) GetID ¶

type GetTicketingProjectConfigRequest ¶

type GetTicketingProjectConfigRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
	ConfigID           string `pathParam:"style=simple,explode=false,name=config_id"`
}

func (*GetTicketingProjectConfigRequest) GetConfigID ¶

func (g *GetTicketingProjectConfigRequest) GetConfigID() string

func (*GetTicketingProjectConfigRequest) GetTicketingProjectID ¶

func (g *GetTicketingProjectConfigRequest) GetTicketingProjectID() string

type GetTicketingProjectRequest ¶

type GetTicketingProjectRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*GetTicketingProjectRequest) GetTicketingProjectID ¶

func (g *GetTicketingProjectRequest) GetTicketingProjectID() string

type GetUserRequest ¶

type GetUserRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetUserRequest) GetID ¶

func (g *GetUserRequest) GetID() string

type GetVoteStatusRequest ¶

type GetVoteStatusRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	EventID    string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*GetVoteStatusRequest) GetEventID ¶

func (g *GetVoteStatusRequest) GetEventID() string

func (*GetVoteStatusRequest) GetIncidentID ¶

func (g *GetVoteStatusRequest) GetIncidentID() string

type GetWebhookRequest ¶

type GetWebhookRequest struct {
	WebhookID string `pathParam:"style=simple,explode=false,name=webhook_id"`
}

func (*GetWebhookRequest) GetWebhookID ¶

func (g *GetWebhookRequest) GetWebhookID() string

type GetZendeskCustomerSupportIssueRequest ¶

type GetZendeskCustomerSupportIssueRequest struct {
	// Zendesk ticket ID
	TicketID string `queryParam:"style=form,explode=true,name=ticket_id"`
	// Use to include attached_incidents
	Include *string `queryParam:"style=form,explode=true,name=include"`
}

func (*GetZendeskCustomerSupportIssueRequest) GetInclude ¶

func (*GetZendeskCustomerSupportIssueRequest) GetTicketID ¶

type IngestCatalogDataRequest ¶

type IngestCatalogDataRequest struct {
	CatalogID         string                       `pathParam:"style=simple,explode=false,name=catalog_id"`
	IngestCatalogData components.IngestCatalogData `request:"mediaType=application/json"`
}

func (*IngestCatalogDataRequest) GetCatalogID ¶

func (i *IngestCatalogDataRequest) GetCatalogID() string

func (*IngestCatalogDataRequest) GetIngestCatalogData ¶

func (i *IngestCatalogDataRequest) GetIngestCatalogData() components.IngestCatalogData

type IntegrationSlug ¶

type IntegrationSlug string

IntegrationSlug - The name of the integration to export the retrospective to.

const (
	IntegrationSlugConfluenceCloud IntegrationSlug = "confluence_cloud"
	IntegrationSlugGoogleDocs      IntegrationSlug = "google_docs"
)

func (IntegrationSlug) ToPointer ¶

func (e IntegrationSlug) ToPointer() *IntegrationSlug

func (*IntegrationSlug) UnmarshalJSON ¶

func (e *IntegrationSlug) UnmarshalJSON(data []byte) error

type ListAlertsRequest ¶

type ListAlertsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A text query for alerts
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A comma separated list of user IDs. This currently only works for Signals alerts.
	Users *string `queryParam:"style=form,explode=true,name=users"`
	// A comma separated list of team IDs. This currently only works for Signals alerts.
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of signals rule IDs. This currently only works for Signals alerts.
	SignalRules *string `queryParam:"style=form,explode=true,name=signal_rules"`
	// A comma separated list of environment IDs. This currently only works for Signals alerts.
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of functionality IDs. This currently only works for Signals alerts.
	Functionalities *string `queryParam:"style=form,explode=true,name=functionalities"`
	// A comma separated list of service IDs. This currently only works for Signals alerts.
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of tags. This currently only works for Signals alerts.
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// The strategy to match tags. `any` will return alerts that have at least one of the supplied tags, `match_all` will return only alerts that have all of the supplied tags, and `exclude` will only return alerts that have none of the supplied tags. This currently only works for Signals alerts.
	TagMatchStrategy *ListAlertsTagMatchStrategy `queryParam:"style=form,explode=true,name=tag_match_strategy"`
	// A comma separated list of statuses to filter by. Valid statuses are: opened, acknowledged, resolved, ignored, expired, linked, or snoozed
	Statuses *string `queryParam:"style=form,explode=true,name=statuses"`
}

func (*ListAlertsRequest) GetEnvironments ¶

func (l *ListAlertsRequest) GetEnvironments() *string

func (*ListAlertsRequest) GetFunctionalities ¶

func (l *ListAlertsRequest) GetFunctionalities() *string

func (*ListAlertsRequest) GetPage ¶

func (l *ListAlertsRequest) GetPage() *int

func (*ListAlertsRequest) GetPerPage ¶

func (l *ListAlertsRequest) GetPerPage() *int

func (*ListAlertsRequest) GetQuery ¶

func (l *ListAlertsRequest) GetQuery() *string

func (*ListAlertsRequest) GetServices ¶

func (l *ListAlertsRequest) GetServices() *string

func (*ListAlertsRequest) GetSignalRules ¶

func (l *ListAlertsRequest) GetSignalRules() *string

func (*ListAlertsRequest) GetStatuses ¶

func (l *ListAlertsRequest) GetStatuses() *string

func (*ListAlertsRequest) GetTagMatchStrategy ¶

func (l *ListAlertsRequest) GetTagMatchStrategy() *ListAlertsTagMatchStrategy

func (*ListAlertsRequest) GetTags ¶

func (l *ListAlertsRequest) GetTags() *string

func (*ListAlertsRequest) GetTeams ¶

func (l *ListAlertsRequest) GetTeams() *string

func (*ListAlertsRequest) GetUsers ¶

func (l *ListAlertsRequest) GetUsers() *string

type ListAlertsTagMatchStrategy ¶

type ListAlertsTagMatchStrategy string

ListAlertsTagMatchStrategy - The strategy to match tags. `any` will return alerts that have at least one of the supplied tags, `match_all` will return only alerts that have all of the supplied tags, and `exclude` will only return alerts that have none of the supplied tags. This currently only works for Signals alerts.

const (
	ListAlertsTagMatchStrategyAny      ListAlertsTagMatchStrategy = "any"
	ListAlertsTagMatchStrategyMatchAll ListAlertsTagMatchStrategy = "match_all"
	ListAlertsTagMatchStrategyExclude  ListAlertsTagMatchStrategy = "exclude"
)

func (ListAlertsTagMatchStrategy) ToPointer ¶

func (*ListAlertsTagMatchStrategy) UnmarshalJSON ¶

func (e *ListAlertsTagMatchStrategy) UnmarshalJSON(data []byte) error

type ListAudienceSummariesRequest ¶

type ListAudienceSummariesRequest struct {
	// Unique identifier of the incident to summarize
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListAudienceSummariesRequest) GetIncidentID ¶

func (l *ListAudienceSummariesRequest) GetIncidentID() string

type ListAudiencesRequest ¶

type ListAudiencesRequest struct {
	// Include archived (discarded) audiences
	IncludeArchived *bool `default:"false" queryParam:"style=form,explode=true,name=include_archived"`
}

func (*ListAudiencesRequest) GetIncludeArchived ¶

func (l *ListAudiencesRequest) GetIncludeArchived() *bool

func (ListAudiencesRequest) MarshalJSON ¶

func (l ListAudiencesRequest) MarshalJSON() ([]byte, error)

func (*ListAudiencesRequest) UnmarshalJSON ¶

func (l *ListAudiencesRequest) UnmarshalJSON(data []byte) error

type ListAuditEventsRequest ¶

type ListAuditEventsRequest struct {
	// Cursor for pagination.
	Cursor *string `queryParam:"style=form,explode=true,name=cursor"`
	// Query string to filter audit events, concatenated with AND keyword.
	// Available filters with example:
	//   - event.occurred_at < 2023-01-01T00:00:00Z
	//   - event.key = signals.on_call_rotation.generate
	//   - event.actor.kind = user
	//   - event.actor.id = 00000000-0000-0000-0000-000000000000
	//   - resource.kind = incident
	//   - resource.id = 00000000-0000-0000-0000-000000000000
	//   - parent_id = 00000000-0000-0000-0000-000000000000
	// Valid query looks like (without quotes):
	//   event.occurred_at < 2023-01-01T00:00:00Z AND event.key = signals.on_call_rotation.generate
	//
	Filter *string `queryParam:"style=form,explode=true,name=filter"`
	// Number of records to display in a single page, maximum is 100 entries. Smaller number is recommended for better performance.
	Limit *int `default:"20" queryParam:"style=form,explode=true,name=limit"`
}

func (*ListAuditEventsRequest) GetCursor ¶

func (l *ListAuditEventsRequest) GetCursor() *string

func (*ListAuditEventsRequest) GetFilter ¶

func (l *ListAuditEventsRequest) GetFilter() *string

func (*ListAuditEventsRequest) GetLimit ¶

func (l *ListAuditEventsRequest) GetLimit() *int

func (ListAuditEventsRequest) MarshalJSON ¶

func (l ListAuditEventsRequest) MarshalJSON() ([]byte, error)

func (*ListAuditEventsRequest) UnmarshalJSON ¶

func (l *ListAuditEventsRequest) UnmarshalJSON(data []byte) error

type ListAuthedProvidersRequest ¶

type ListAuthedProvidersRequest struct {
	// Integration slug
	IntegrationSlug string `pathParam:"style=simple,explode=false,name=integration_slug"`
	// Connection ID
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
	// Query for users by name
	Query *string `queryParam:"style=form,explode=true,name=query"`
}

func (*ListAuthedProvidersRequest) GetConnectionID ¶

func (l *ListAuthedProvidersRequest) GetConnectionID() string

func (*ListAuthedProvidersRequest) GetIntegrationSlug ¶

func (l *ListAuthedProvidersRequest) GetIntegrationSlug() string

func (*ListAuthedProvidersRequest) GetQuery ¶

func (l *ListAuthedProvidersRequest) GetQuery() *string

type ListAvailableInboundFieldMapsRequest ¶

type ListAvailableInboundFieldMapsRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*ListAvailableInboundFieldMapsRequest) GetTicketingProjectID ¶

func (l *ListAvailableInboundFieldMapsRequest) GetTicketingProjectID() string

type ListAvailableTicketingFieldMapsRequest ¶

type ListAvailableTicketingFieldMapsRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*ListAvailableTicketingFieldMapsRequest) GetTicketingProjectID ¶

func (l *ListAvailableTicketingFieldMapsRequest) GetTicketingProjectID() string

type ListAwsCloudtrailBatchEventsRequest ¶

type ListAwsCloudtrailBatchEventsRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*ListAwsCloudtrailBatchEventsRequest) GetID ¶

type ListAwsCloudtrailBatchesRequest ¶

type ListAwsCloudtrailBatchesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// AWS connection ID
	ConnectionID *string `queryParam:"style=form,explode=true,name=connection_id"`
}

func (*ListAwsCloudtrailBatchesRequest) GetConnectionID ¶

func (l *ListAwsCloudtrailBatchesRequest) GetConnectionID() *string

func (*ListAwsCloudtrailBatchesRequest) GetPage ¶

func (l *ListAwsCloudtrailBatchesRequest) GetPage() *int

func (*ListAwsCloudtrailBatchesRequest) GetPerPage ¶

func (l *ListAwsCloudtrailBatchesRequest) GetPerPage() *int

type ListAwsConnectionsRequest ¶

type ListAwsConnectionsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// AWS account ID containing the role to be assumed
	AwsAccountID *string `queryParam:"style=form,explode=true,name=aws_account_id"`
	// ARN of the role to be assumed
	TargetArn *string `queryParam:"style=form,explode=true,name=target_arn"`
	// The external ID supplied when assuming the role
	ExternalID *string `queryParam:"style=form,explode=true,name=external_id"`
}

func (*ListAwsConnectionsRequest) GetAwsAccountID ¶

func (l *ListAwsConnectionsRequest) GetAwsAccountID() *string

func (*ListAwsConnectionsRequest) GetExternalID ¶

func (l *ListAwsConnectionsRequest) GetExternalID() *string

func (*ListAwsConnectionsRequest) GetPage ¶

func (l *ListAwsConnectionsRequest) GetPage() *int

func (*ListAwsConnectionsRequest) GetPerPage ¶

func (l *ListAwsConnectionsRequest) GetPerPage() *int

func (*ListAwsConnectionsRequest) GetTargetArn ¶

func (l *ListAwsConnectionsRequest) GetTargetArn() *string

type ListCallRoutesRequest ¶

type ListCallRoutesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListCallRoutesRequest) GetPage ¶

func (l *ListCallRoutesRequest) GetPage() *int

func (*ListCallRoutesRequest) GetPerPage ¶

func (l *ListCallRoutesRequest) GetPerPage() *int

type ListChangeEventsRequest ¶

type ListChangeEventsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// The id of a previously saved search.
	SavedSearchID *string `queryParam:"style=form,explode=true,name=saved_search_id"`
	// A text query for change events
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A comma separated list of label key / values in the format of "key=value,key2=value2". To filter change events that have a key (with no specific value), omit the value
	Labels *string `queryParam:"style=form,explode=true,name=labels"`
	// A comma separated list of environment IDs
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// The start time to start returning change events from
	StartsAt *string `queryParam:"style=form,explode=true,name=starts_at"`
	// The end time to return change events up to
	EndsAt *time.Time `queryParam:"style=form,explode=true,name=ends_at"`
}

func (*ListChangeEventsRequest) GetEndsAt ¶

func (l *ListChangeEventsRequest) GetEndsAt() *time.Time

func (*ListChangeEventsRequest) GetEnvironments ¶

func (l *ListChangeEventsRequest) GetEnvironments() *string

func (*ListChangeEventsRequest) GetLabels ¶

func (l *ListChangeEventsRequest) GetLabels() *string

func (*ListChangeEventsRequest) GetPage ¶

func (l *ListChangeEventsRequest) GetPage() *int

func (*ListChangeEventsRequest) GetPerPage ¶

func (l *ListChangeEventsRequest) GetPerPage() *int

func (*ListChangeEventsRequest) GetQuery ¶

func (l *ListChangeEventsRequest) GetQuery() *string

func (*ListChangeEventsRequest) GetSavedSearchID ¶

func (l *ListChangeEventsRequest) GetSavedSearchID() *string

func (*ListChangeEventsRequest) GetServices ¶

func (l *ListChangeEventsRequest) GetServices() *string

func (*ListChangeEventsRequest) GetStartsAt ¶

func (l *ListChangeEventsRequest) GetStartsAt() *string

func (ListChangeEventsRequest) MarshalJSON ¶

func (l ListChangeEventsRequest) MarshalJSON() ([]byte, error)

func (*ListChangeEventsRequest) UnmarshalJSON ¶

func (l *ListChangeEventsRequest) UnmarshalJSON(data []byte) error

type ListChangeIdentitiesRequest ¶

type ListChangeIdentitiesRequest struct {
	Page     *int   `queryParam:"style=form,explode=true,name=page"`
	PerPage  *int   `queryParam:"style=form,explode=true,name=per_page"`
	ChangeID string `pathParam:"style=simple,explode=false,name=change_id"`
}

func (*ListChangeIdentitiesRequest) GetChangeID ¶

func (l *ListChangeIdentitiesRequest) GetChangeID() string

func (*ListChangeIdentitiesRequest) GetPage ¶

func (l *ListChangeIdentitiesRequest) GetPage() *int

func (*ListChangeIdentitiesRequest) GetPerPage ¶

func (l *ListChangeIdentitiesRequest) GetPerPage() *int

type ListChangeTypesRequest ¶

type ListChangeTypesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListChangeTypesRequest) GetPage ¶

func (l *ListChangeTypesRequest) GetPage() *int

func (*ListChangeTypesRequest) GetPerPage ¶

func (l *ListChangeTypesRequest) GetPerPage() *int

type ListChangesRequest ¶

type ListChangesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// Filter changes by summary
	Query *string `queryParam:"style=form,explode=true,name=query"`
}

func (*ListChangesRequest) GetPage ¶

func (l *ListChangesRequest) GetPage() *int

func (*ListChangesRequest) GetPerPage ¶

func (l *ListChangesRequest) GetPerPage() *int

func (*ListChangesRequest) GetQuery ¶

func (l *ListChangesRequest) GetQuery() *string

type ListChecklistTemplatesRequest ¶

type ListChecklistTemplatesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A query to search checklist templates by their name
	Query *string `queryParam:"style=form,explode=true,name=query"`
}

func (*ListChecklistTemplatesRequest) GetPage ¶

func (l *ListChecklistTemplatesRequest) GetPage() *int

func (*ListChecklistTemplatesRequest) GetPerPage ¶

func (l *ListChecklistTemplatesRequest) GetPerPage() *int

func (*ListChecklistTemplatesRequest) GetQuery ¶

func (l *ListChecklistTemplatesRequest) GetQuery() *string

type ListCommentReactionsRequest ¶

type ListCommentReactionsRequest struct {
	ConversationID string `pathParam:"style=simple,explode=false,name=conversation_id"`
	CommentID      string `pathParam:"style=simple,explode=false,name=comment_id"`
}

func (*ListCommentReactionsRequest) GetCommentID ¶

func (l *ListCommentReactionsRequest) GetCommentID() string

func (*ListCommentReactionsRequest) GetConversationID ¶

func (l *ListCommentReactionsRequest) GetConversationID() string

type ListCommentsRequest ¶

type ListCommentsRequest struct {
	// An ISO8601 timestamp that allows filtering for comments posted before the provided time.
	Before *time.Time `queryParam:"style=form,explode=true,name=before"`
	// An ISO8601 timestamp that allows filtering for comments posted after the provided time.
	After *time.Time `queryParam:"style=form,explode=true,name=after"`
	// Allows sorting comments by the time they were posted, ascending or descending.
	Sort           *ListCommentsSort `default:"asc" queryParam:"style=form,explode=true,name=sort"`
	ConversationID string            `pathParam:"style=simple,explode=false,name=conversation_id"`
}

func (*ListCommentsRequest) GetAfter ¶

func (l *ListCommentsRequest) GetAfter() *time.Time

func (*ListCommentsRequest) GetBefore ¶

func (l *ListCommentsRequest) GetBefore() *time.Time

func (*ListCommentsRequest) GetConversationID ¶

func (l *ListCommentsRequest) GetConversationID() string

func (*ListCommentsRequest) GetSort ¶

func (l *ListCommentsRequest) GetSort() *ListCommentsSort

func (ListCommentsRequest) MarshalJSON ¶

func (l ListCommentsRequest) MarshalJSON() ([]byte, error)

func (*ListCommentsRequest) UnmarshalJSON ¶

func (l *ListCommentsRequest) UnmarshalJSON(data []byte) error

type ListCommentsSort ¶

type ListCommentsSort string

ListCommentsSort - Allows sorting comments by the time they were posted, ascending or descending.

const (
	ListCommentsSortAsc  ListCommentsSort = "asc"
	ListCommentsSortDesc ListCommentsSort = "desc"
)

func (ListCommentsSort) ToPointer ¶

func (e ListCommentsSort) ToPointer() *ListCommentsSort

func (*ListCommentsSort) UnmarshalJSON ¶

func (e *ListCommentsSort) UnmarshalJSON(data []byte) error

type ListConnectionStatusesBySlugAndIDRequest ¶

type ListConnectionStatusesBySlugAndIDRequest struct {
	Slug           string `pathParam:"style=simple,explode=false,name=slug"`
	ByConnectionID string `pathParam:"style=simple,explode=false,name=by_connection_id"`
}

func (*ListConnectionStatusesBySlugAndIDRequest) GetByConnectionID ¶

func (l *ListConnectionStatusesBySlugAndIDRequest) GetByConnectionID() string

func (*ListConnectionStatusesBySlugAndIDRequest) GetSlug ¶

type ListConnectionStatusesBySlugRequest ¶

type ListConnectionStatusesBySlugRequest struct {
	Slug string `pathParam:"style=simple,explode=false,name=slug"`
}

func (*ListConnectionStatusesBySlugRequest) GetSlug ¶

type ListConnectionsRequest ¶

type ListConnectionsRequest struct {
	// Only return installed integrations with the supplied slugs (types).
	IntegrationSlug *string `queryParam:"style=form,explode=true,name=integration_slug"`
}

func (*ListConnectionsRequest) GetIntegrationSlug ¶

func (l *ListConnectionsRequest) GetIntegrationSlug() *string

type ListCustomFieldSelectOptionsRequest ¶

type ListCustomFieldSelectOptionsRequest struct {
	FieldID string `pathParam:"style=simple,explode=false,name=field_id"`
	// Text string of a query for filtering values.
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// If true, return all versions of the custom field definition.
	AllVersions *bool `queryParam:"style=form,explode=true,name=all_versions"`
}

func (*ListCustomFieldSelectOptionsRequest) GetAllVersions ¶

func (l *ListCustomFieldSelectOptionsRequest) GetAllVersions() *bool

func (*ListCustomFieldSelectOptionsRequest) GetFieldID ¶

func (*ListCustomFieldSelectOptionsRequest) GetQuery ¶

type ListEmailSubscribersRequest ¶

type ListEmailSubscribersRequest struct {
	NuncConnectionID string `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
}

func (*ListEmailSubscribersRequest) GetNuncConnectionID ¶

func (l *ListEmailSubscribersRequest) GetNuncConnectionID() string

type ListEntitlementsRequest ¶

type ListEntitlementsRequest struct {
	// Name of Entitlement
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// Type of Entitlement
	Type *ListEntitlementsType `queryParam:"style=form,explode=true,name=type"`
}

func (*ListEntitlementsRequest) GetName ¶

func (l *ListEntitlementsRequest) GetName() *string

func (*ListEntitlementsRequest) GetType ¶

type ListEntitlementsType ¶

type ListEntitlementsType string

ListEntitlementsType - Type of Entitlement

const (
	ListEntitlementsTypeQuota  ListEntitlementsType = "quota"
	ListEntitlementsTypeAccess ListEntitlementsType = "access"
)

func (ListEntitlementsType) ToPointer ¶

func (*ListEntitlementsType) UnmarshalJSON ¶

func (e *ListEntitlementsType) UnmarshalJSON(data []byte) error

type ListEnvironmentsRequest ¶

type ListEnvironmentsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A query to search environments by their name or description
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search environments by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
}

func (*ListEnvironmentsRequest) GetName ¶

func (l *ListEnvironmentsRequest) GetName() *string

func (*ListEnvironmentsRequest) GetPage ¶

func (l *ListEnvironmentsRequest) GetPage() *int

func (*ListEnvironmentsRequest) GetPerPage ¶

func (l *ListEnvironmentsRequest) GetPerPage() *int

func (*ListEnvironmentsRequest) GetQuery ¶

func (l *ListEnvironmentsRequest) GetQuery() *string

type ListFieldMapAvailableFieldsRequest ¶

type ListFieldMapAvailableFieldsRequest struct {
	FieldMapID string `pathParam:"style=simple,explode=false,name=field_map_id"`
}

func (*ListFieldMapAvailableFieldsRequest) GetFieldMapID ¶

func (l *ListFieldMapAvailableFieldsRequest) GetFieldMapID() string

type ListFunctionalitiesRequest ¶

type ListFunctionalitiesRequest struct {
	// A query to search functionalities by their name or description
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search functionalities by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// A query to search services by if they are impacted with active incidents
	Impacted *string `queryParam:"style=form,explode=true,name=impacted"`
	// A comma separated list of label key / values in the format of 'key=value,key2=value2'. To filter change events that have a key (with no specific value), omit the value
	Labels *string `queryParam:"style=form,explode=true,name=labels"`
	// A query to search functionalities by their owning team ID
	Owner *string `queryParam:"style=form,explode=true,name=owner"`
	// Boolean to determine whether to return a slimified version of the functionalities object
	Lite    *bool `queryParam:"style=form,explode=true,name=lite"`
	Page    *int  `queryParam:"style=form,explode=true,name=page"`
	PerPage *int  `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListFunctionalitiesRequest) GetImpacted ¶

func (l *ListFunctionalitiesRequest) GetImpacted() *string

func (*ListFunctionalitiesRequest) GetLabels ¶

func (l *ListFunctionalitiesRequest) GetLabels() *string

func (*ListFunctionalitiesRequest) GetLite ¶

func (l *ListFunctionalitiesRequest) GetLite() *bool

func (*ListFunctionalitiesRequest) GetName ¶

func (l *ListFunctionalitiesRequest) GetName() *string

func (*ListFunctionalitiesRequest) GetOwner ¶

func (l *ListFunctionalitiesRequest) GetOwner() *string

func (*ListFunctionalitiesRequest) GetPage ¶

func (l *ListFunctionalitiesRequest) GetPage() *int

func (*ListFunctionalitiesRequest) GetPerPage ¶

func (l *ListFunctionalitiesRequest) GetPerPage() *int

func (*ListFunctionalitiesRequest) GetQuery ¶

func (l *ListFunctionalitiesRequest) GetQuery() *string

type ListFunctionalityServicesRequest ¶

type ListFunctionalityServicesRequest struct {
	FunctionalityID string `pathParam:"style=simple,explode=false,name=functionality_id"`
}

func (*ListFunctionalityServicesRequest) GetFunctionalityID ¶

func (l *ListFunctionalityServicesRequest) GetFunctionalityID() string

type ListInboundFieldMapsRequest ¶

type ListInboundFieldMapsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// Filter by ticket type. Values: incident, follow_up
	TicketType         *TicketType `queryParam:"style=form,explode=true,name=ticket_type"`
	TicketingProjectID string      `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*ListInboundFieldMapsRequest) GetPage ¶

func (l *ListInboundFieldMapsRequest) GetPage() *int

func (*ListInboundFieldMapsRequest) GetPerPage ¶

func (l *ListInboundFieldMapsRequest) GetPerPage() *int

func (*ListInboundFieldMapsRequest) GetTicketType ¶

func (l *ListInboundFieldMapsRequest) GetTicketType() *TicketType

func (*ListInboundFieldMapsRequest) GetTicketingProjectID ¶

func (l *ListInboundFieldMapsRequest) GetTicketingProjectID() string

type ListIncidentAlertsRequest ¶

type ListIncidentAlertsRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentAlertsRequest) GetIncidentID ¶

func (l *ListIncidentAlertsRequest) GetIncidentID() string

type ListIncidentAttachmentsRequest ¶

type ListIncidentAttachmentsRequest struct {
	IncidentID     string  `pathParam:"style=simple,explode=false,name=incident_id"`
	AttachableType *string `queryParam:"style=form,explode=true,name=attachable_type"`
	Page           *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage        *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListIncidentAttachmentsRequest) GetAttachableType ¶

func (l *ListIncidentAttachmentsRequest) GetAttachableType() *string

func (*ListIncidentAttachmentsRequest) GetIncidentID ¶

func (l *ListIncidentAttachmentsRequest) GetIncidentID() string

func (*ListIncidentAttachmentsRequest) GetPage ¶

func (l *ListIncidentAttachmentsRequest) GetPage() *int

func (*ListIncidentAttachmentsRequest) GetPerPage ¶

func (l *ListIncidentAttachmentsRequest) GetPerPage() *int

type ListIncidentChangeEventsRequest ¶

type ListIncidentChangeEventsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// The type of the relation to the incident
	Type       *ListIncidentChangeEventsType `queryParam:"style=form,explode=true,name=type"`
	IncidentID string                        `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentChangeEventsRequest) GetIncidentID ¶

func (l *ListIncidentChangeEventsRequest) GetIncidentID() string

func (*ListIncidentChangeEventsRequest) GetPage ¶

func (l *ListIncidentChangeEventsRequest) GetPage() *int

func (*ListIncidentChangeEventsRequest) GetPerPage ¶

func (l *ListIncidentChangeEventsRequest) GetPerPage() *int

func (*ListIncidentChangeEventsRequest) GetType ¶

type ListIncidentChangeEventsType ¶

type ListIncidentChangeEventsType string

ListIncidentChangeEventsType - The type of the relation to the incident

const (
	ListIncidentChangeEventsTypeCaused    ListIncidentChangeEventsType = "caused"
	ListIncidentChangeEventsTypeFixed     ListIncidentChangeEventsType = "fixed"
	ListIncidentChangeEventsTypeSuspect   ListIncidentChangeEventsType = "suspect"
	ListIncidentChangeEventsTypeDismissed ListIncidentChangeEventsType = "dismissed"
)

func (ListIncidentChangeEventsType) ToPointer ¶

func (*ListIncidentChangeEventsType) UnmarshalJSON ¶

func (e *ListIncidentChangeEventsType) UnmarshalJSON(data []byte) error

type ListIncidentConferenceBridgesRequest ¶

type ListIncidentConferenceBridgesRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentConferenceBridgesRequest) GetIncidentID ¶

func (l *ListIncidentConferenceBridgesRequest) GetIncidentID() string

type ListIncidentEventsRequest ¶

type ListIncidentEventsRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	// A comma separated list of types of events to filter by. Possible values are:
	//  - `add_task_list`: Task list was added
	//  - `alert_event`: Someone was paged or took action on a linked alert
	//  - `alert_linked`: An alert was linked to the incident
	//  - `bulk_milestone_update`: When a milestone change occurs with no other changes
	//  - `bulk_update`: When an incident note/update is posted or when impacted components are updated. If other changes occur together with either of these changes (e.g., milestone change), they are all bundled together into a bulk_update
	//  - `change_type`: Updates to associated change events
	//  - `chat_message`: Any chat message event in a linked chat app like Slack or MS Teams
	//  - `children_changed`: When adding or updating child related incidents
	//  - `external_link`: When an external link is added or updated
	//  - `general_update`: Currently only describes Runbook stoppage events
	//  - `generic_chat_message`: When an event or message is manually added to the timeline via the web UI or API
	//  - `incident_attachment`: When attachments or files are added to the timeline
	//  - `generic_resource_change`: Any changes to individual fields within the incident, including custom fields
	//  - `incident_restriction`: When an incident is converted to private
	//  - `incident_status`: Only used when an incident starts and changes to an `active` state
	//  - `note`: When a message is posted to a status page directly and not via `/fh update`
	//  - `role_update`: Any updates to assigned roles
	//  - `runbook_attachment`: Any updates to a runbook
	//  - `runbook_step_execution_update`: Any Runbook step events
	//  - `task_update`: Task update events
	//  - `team_assignment`: Team assignment events
	//  - `ticket_update`: Updates to incident and follow-up tickets
	Types   *string `queryParam:"style=form,explode=true,name=types"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListIncidentEventsRequest) GetIncidentID ¶

func (l *ListIncidentEventsRequest) GetIncidentID() string

func (*ListIncidentEventsRequest) GetPage ¶

func (l *ListIncidentEventsRequest) GetPage() *int

func (*ListIncidentEventsRequest) GetPerPage ¶

func (l *ListIncidentEventsRequest) GetPerPage() *int

func (*ListIncidentEventsRequest) GetTypes ¶

func (l *ListIncidentEventsRequest) GetTypes() *string

type ListIncidentImpactsRequest ¶

type ListIncidentImpactsRequest struct {
	IncidentID string                  `pathParam:"style=simple,explode=false,name=incident_id"`
	Type       ListIncidentImpactsType `pathParam:"style=simple,explode=false,name=type"`
}

func (*ListIncidentImpactsRequest) GetIncidentID ¶

func (l *ListIncidentImpactsRequest) GetIncidentID() string

func (*ListIncidentImpactsRequest) GetType ¶

type ListIncidentImpactsType ¶

type ListIncidentImpactsType string
const (
	ListIncidentImpactsTypeEnvironments    ListIncidentImpactsType = "environments"
	ListIncidentImpactsTypeFunctionalities ListIncidentImpactsType = "functionalities"
	ListIncidentImpactsTypeServices        ListIncidentImpactsType = "services"
	ListIncidentImpactsTypeCustomers       ListIncidentImpactsType = "customers"
)

func (ListIncidentImpactsType) ToPointer ¶

func (*ListIncidentImpactsType) UnmarshalJSON ¶

func (e *ListIncidentImpactsType) UnmarshalJSON(data []byte) error

type ListIncidentLinksRequest ¶

type ListIncidentLinksRequest struct {
	Page       *int   `queryParam:"style=form,explode=true,name=page"`
	PerPage    *int   `queryParam:"style=form,explode=true,name=per_page"`
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentLinksRequest) GetIncidentID ¶

func (l *ListIncidentLinksRequest) GetIncidentID() string

func (*ListIncidentLinksRequest) GetPage ¶

func (l *ListIncidentLinksRequest) GetPage() *int

func (*ListIncidentLinksRequest) GetPerPage ¶

func (l *ListIncidentLinksRequest) GetPerPage() *int

type ListIncidentMetricsRequest ¶

type ListIncidentMetricsRequest struct {
	// The start date to return metrics from
	StartDate *types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from
	EndDate       *types.Date                       `queryParam:"style=form,explode=true,name=end_date"`
	BucketSize    *BucketSize                       `queryParam:"style=form,explode=true,name=bucket_size"`
	By            *By                               `queryParam:"style=form,explode=true,name=by"`
	SortField     *ListIncidentMetricsSortField     `queryParam:"style=form,explode=true,name=sort_field"`
	SortDirection *ListIncidentMetricsSortDirection `queryParam:"style=form,explode=true,name=sort_direction"`
	SortLimit     *int                              `queryParam:"style=form,explode=true,name=sort_limit"`
	Conditions    *string                           `queryParam:"style=form,explode=true,name=conditions"`
}

func (*ListIncidentMetricsRequest) GetBucketSize ¶

func (l *ListIncidentMetricsRequest) GetBucketSize() *BucketSize

func (*ListIncidentMetricsRequest) GetBy ¶

func (l *ListIncidentMetricsRequest) GetBy() *By

func (*ListIncidentMetricsRequest) GetConditions ¶

func (l *ListIncidentMetricsRequest) GetConditions() *string

func (*ListIncidentMetricsRequest) GetEndDate ¶

func (l *ListIncidentMetricsRequest) GetEndDate() *types.Date

func (*ListIncidentMetricsRequest) GetSortDirection ¶

func (*ListIncidentMetricsRequest) GetSortField ¶

func (*ListIncidentMetricsRequest) GetSortLimit ¶

func (l *ListIncidentMetricsRequest) GetSortLimit() *int

func (*ListIncidentMetricsRequest) GetStartDate ¶

func (l *ListIncidentMetricsRequest) GetStartDate() *types.Date

func (ListIncidentMetricsRequest) MarshalJSON ¶

func (l ListIncidentMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListIncidentMetricsRequest) UnmarshalJSON ¶

func (l *ListIncidentMetricsRequest) UnmarshalJSON(data []byte) error

type ListIncidentMetricsSortDirection ¶

type ListIncidentMetricsSortDirection string
const (
	ListIncidentMetricsSortDirectionAsc  ListIncidentMetricsSortDirection = "asc"
	ListIncidentMetricsSortDirectionDesc ListIncidentMetricsSortDirection = "desc"
)

func (ListIncidentMetricsSortDirection) ToPointer ¶

func (*ListIncidentMetricsSortDirection) UnmarshalJSON ¶

func (e *ListIncidentMetricsSortDirection) UnmarshalJSON(data []byte) error

type ListIncidentMetricsSortField ¶

type ListIncidentMetricsSortField string
const (
	ListIncidentMetricsSortFieldMttd      ListIncidentMetricsSortField = "mttd"
	ListIncidentMetricsSortFieldMtta      ListIncidentMetricsSortField = "mtta"
	ListIncidentMetricsSortFieldMttm      ListIncidentMetricsSortField = "mttm"
	ListIncidentMetricsSortFieldMttr      ListIncidentMetricsSortField = "mttr"
	ListIncidentMetricsSortFieldCount     ListIncidentMetricsSortField = "count"
	ListIncidentMetricsSortFieldTotalTime ListIncidentMetricsSortField = "total_time"
)

func (ListIncidentMetricsSortField) ToPointer ¶

func (*ListIncidentMetricsSortField) UnmarshalJSON ¶

func (e *ListIncidentMetricsSortField) UnmarshalJSON(data []byte) error

type ListIncidentMilestonesRequest ¶

type ListIncidentMilestonesRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentMilestonesRequest) GetIncidentID ¶

func (l *ListIncidentMilestonesRequest) GetIncidentID() string

type ListIncidentRetrospectivesRequest ¶

type ListIncidentRetrospectivesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// Filter by hidden status.
	IsHidden   *bool  `queryParam:"style=form,explode=true,name=is_hidden"`
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentRetrospectivesRequest) GetIncidentID ¶

func (l *ListIncidentRetrospectivesRequest) GetIncidentID() string

func (*ListIncidentRetrospectivesRequest) GetIsHidden ¶

func (l *ListIncidentRetrospectivesRequest) GetIsHidden() *bool

func (*ListIncidentRetrospectivesRequest) GetPage ¶

func (l *ListIncidentRetrospectivesRequest) GetPage() *int

func (*ListIncidentRetrospectivesRequest) GetPerPage ¶

func (l *ListIncidentRetrospectivesRequest) GetPerPage() *int

type ListIncidentRoleAssignmentsRequest ¶

type ListIncidentRoleAssignmentsRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	// Filter on status of the role assignment
	Status *Status `queryParam:"style=form,explode=true,name=status"`
}

func (*ListIncidentRoleAssignmentsRequest) GetIncidentID ¶

func (l *ListIncidentRoleAssignmentsRequest) GetIncidentID() string

func (*ListIncidentRoleAssignmentsRequest) GetStatus ¶

type ListIncidentRolesRequest ¶

type ListIncidentRolesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListIncidentRolesRequest) GetPage ¶

func (l *ListIncidentRolesRequest) GetPage() *int

func (*ListIncidentRolesRequest) GetPerPage ¶

func (l *ListIncidentRolesRequest) GetPerPage() *int

type ListIncidentStatusPagesRequest ¶

type ListIncidentStatusPagesRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentStatusPagesRequest) GetIncidentID ¶

func (l *ListIncidentStatusPagesRequest) GetIncidentID() string

type ListIncidentTagsRequest ¶

type ListIncidentTagsRequest struct {
	Prefix *string `queryParam:"style=form,explode=true,name=prefix"`
}

func (*ListIncidentTagsRequest) GetPrefix ¶

func (l *ListIncidentTagsRequest) GetPrefix() *string

type ListIncidentTasksRequest ¶

type ListIncidentTasksRequest struct {
	Page       *int   `queryParam:"style=form,explode=true,name=page"`
	PerPage    *int   `queryParam:"style=form,explode=true,name=per_page"`
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListIncidentTasksRequest) GetIncidentID ¶

func (l *ListIncidentTasksRequest) GetIncidentID() string

func (*ListIncidentTasksRequest) GetPage ¶

func (l *ListIncidentTasksRequest) GetPage() *int

func (*ListIncidentTasksRequest) GetPerPage ¶

func (l *ListIncidentTasksRequest) GetPerPage() *int

type ListIncidentTypesRequest ¶

type ListIncidentTypesRequest struct {
	// A query to search incident types by their name
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListIncidentTypesRequest) GetPage ¶

func (l *ListIncidentTypesRequest) GetPage() *int

func (*ListIncidentTypesRequest) GetPerPage ¶

func (l *ListIncidentTypesRequest) GetPerPage() *int

func (*ListIncidentTypesRequest) GetQuery ¶

func (l *ListIncidentTypesRequest) GetQuery() *string

type ListIncidentsRequest ¶

type ListIncidentsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A JSON string that defines 'logic' and 'user_data'
	Conditions *string `queryParam:"style=form,explode=true,name=conditions"`
	// A comma separated list of environment IDs or 'is_empty' to filter for incidents with no impacted environments
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs or 'is_empty' to filter for incidents with no impacted services
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of functionality IDs or 'is_empty' to filter for incidents with no impacted functionalities
	Functionalities *string `queryParam:"style=form,explode=true,name=functionalities"`
	// A comma separated list of infrastructure IDs. Returns incidents that do not have the following infrastructure ids associated with them.
	ExcludedInfrastructureIds *string `queryParam:"style=form,explode=true,name=excluded_infrastructure_ids"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of IDs for assigned teams or 'is_empty' to filter for incidents with no active team assignments
	AssignedTeams *string `queryParam:"style=form,explode=true,name=assigned_teams"`
	// Incident status
	Status *string `queryParam:"style=form,explode=true,name=status"`
	// Filters for incidents that started on or after this date
	StartDate *time.Time `queryParam:"style=form,explode=true,name=start_date"`
	// Filters for incidents that started on or before this date
	EndDate *time.Time `queryParam:"style=form,explode=true,name=end_date"`
	// Filters for incidents that were resolved at or after this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_after"`
	// Filters for incidents that were resolved at or before this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_before"`
	// Filters for incidents that were closed at or after this time
	ClosedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_after"`
	// Filters for incidents that were closed at or before this time
	ClosedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_before"`
	// Filters for incidents that were created at or after this time
	CreatedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=created_at_or_after"`
	// Filters for incidents that were created at or before this time
	CreatedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=created_at_or_before"`
	// A text query for an incident that searches on name, summary, and desciption
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search incidents by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// The id of a previously saved search.
	SavedSearchID *string `queryParam:"style=form,explode=true,name=saved_search_id"`
	// A text value of priority
	Priorities *string `queryParam:"style=form,explode=true,name=priorities"`
	// Flag for including incidents where priority has not been set
	PriorityNotSet *bool `queryParam:"style=form,explode=true,name=priority_not_set"`
	// A text value of severity
	Severities *string `queryParam:"style=form,explode=true,name=severities"`
	// Flag for including incidents where severity has not been set
	SeverityNotSet *bool `queryParam:"style=form,explode=true,name=severity_not_set"`
	// A comma separated list of current milestones
	CurrentMilestones *string `queryParam:"style=form,explode=true,name=current_milestones"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A matching strategy for the tags provided
	TagMatchStrategy *ListIncidentsTagMatchStrategy `queryParam:"style=form,explode=true,name=tag_match_strategy"`
	// Return archived incidents
	Archived *bool `queryParam:"style=form,explode=true,name=archived"`
	// Filters for incidents that were updated after this date
	UpdatedAfter *time.Time `queryParam:"style=form,explode=true,name=updated_after"`
	// Filters for incidents that were updated before this date
	UpdatedBefore *time.Time `queryParam:"style=form,explode=true,name=updated_before"`
	// A comma separated list of incident type IDs
	IncidentTypeID *string `queryParam:"style=form,explode=true,name=incident_type_id"`
	// A comma separated list of retrospective template IDs
	RetrospectiveTemplates *string `queryParam:"style=form,explode=true,name=retrospective_templates"`
}

func (*ListIncidentsRequest) GetArchived ¶

func (l *ListIncidentsRequest) GetArchived() *bool

func (*ListIncidentsRequest) GetAssignedTeams ¶

func (l *ListIncidentsRequest) GetAssignedTeams() *string

func (*ListIncidentsRequest) GetClosedAtOrAfter ¶

func (l *ListIncidentsRequest) GetClosedAtOrAfter() *time.Time

func (*ListIncidentsRequest) GetClosedAtOrBefore ¶

func (l *ListIncidentsRequest) GetClosedAtOrBefore() *time.Time

func (*ListIncidentsRequest) GetConditions ¶

func (l *ListIncidentsRequest) GetConditions() *string

func (*ListIncidentsRequest) GetCreatedAtOrAfter ¶

func (l *ListIncidentsRequest) GetCreatedAtOrAfter() *time.Time

func (*ListIncidentsRequest) GetCreatedAtOrBefore ¶

func (l *ListIncidentsRequest) GetCreatedAtOrBefore() *time.Time

func (*ListIncidentsRequest) GetCurrentMilestones ¶

func (l *ListIncidentsRequest) GetCurrentMilestones() *string

func (*ListIncidentsRequest) GetEndDate ¶

func (l *ListIncidentsRequest) GetEndDate() *time.Time

func (*ListIncidentsRequest) GetEnvironments ¶

func (l *ListIncidentsRequest) GetEnvironments() *string

func (*ListIncidentsRequest) GetExcludedInfrastructureIds ¶

func (l *ListIncidentsRequest) GetExcludedInfrastructureIds() *string

func (*ListIncidentsRequest) GetFunctionalities ¶

func (l *ListIncidentsRequest) GetFunctionalities() *string

func (*ListIncidentsRequest) GetIncidentTypeID ¶

func (l *ListIncidentsRequest) GetIncidentTypeID() *string

func (*ListIncidentsRequest) GetName ¶

func (l *ListIncidentsRequest) GetName() *string

func (*ListIncidentsRequest) GetPage ¶

func (l *ListIncidentsRequest) GetPage() *int

func (*ListIncidentsRequest) GetPerPage ¶

func (l *ListIncidentsRequest) GetPerPage() *int

func (*ListIncidentsRequest) GetPriorities ¶

func (l *ListIncidentsRequest) GetPriorities() *string

func (*ListIncidentsRequest) GetPriorityNotSet ¶

func (l *ListIncidentsRequest) GetPriorityNotSet() *bool

func (*ListIncidentsRequest) GetQuery ¶

func (l *ListIncidentsRequest) GetQuery() *string

func (*ListIncidentsRequest) GetResolvedAtOrAfter ¶

func (l *ListIncidentsRequest) GetResolvedAtOrAfter() *time.Time

func (*ListIncidentsRequest) GetResolvedAtOrBefore ¶

func (l *ListIncidentsRequest) GetResolvedAtOrBefore() *time.Time

func (*ListIncidentsRequest) GetRetrospectiveTemplates ¶

func (l *ListIncidentsRequest) GetRetrospectiveTemplates() *string

func (*ListIncidentsRequest) GetSavedSearchID ¶

func (l *ListIncidentsRequest) GetSavedSearchID() *string

func (*ListIncidentsRequest) GetServices ¶

func (l *ListIncidentsRequest) GetServices() *string

func (*ListIncidentsRequest) GetSeverities ¶

func (l *ListIncidentsRequest) GetSeverities() *string

func (*ListIncidentsRequest) GetSeverityNotSet ¶

func (l *ListIncidentsRequest) GetSeverityNotSet() *bool

func (*ListIncidentsRequest) GetStartDate ¶

func (l *ListIncidentsRequest) GetStartDate() *time.Time

func (*ListIncidentsRequest) GetStatus ¶

func (l *ListIncidentsRequest) GetStatus() *string

func (*ListIncidentsRequest) GetTagMatchStrategy ¶

func (l *ListIncidentsRequest) GetTagMatchStrategy() *ListIncidentsTagMatchStrategy

func (*ListIncidentsRequest) GetTags ¶

func (l *ListIncidentsRequest) GetTags() *string

func (*ListIncidentsRequest) GetTeams ¶

func (l *ListIncidentsRequest) GetTeams() *string

func (*ListIncidentsRequest) GetUpdatedAfter ¶

func (l *ListIncidentsRequest) GetUpdatedAfter() *time.Time

func (*ListIncidentsRequest) GetUpdatedBefore ¶

func (l *ListIncidentsRequest) GetUpdatedBefore() *time.Time

func (ListIncidentsRequest) MarshalJSON ¶

func (l ListIncidentsRequest) MarshalJSON() ([]byte, error)

func (*ListIncidentsRequest) UnmarshalJSON ¶

func (l *ListIncidentsRequest) UnmarshalJSON(data []byte) error

type ListIncidentsTagMatchStrategy ¶

type ListIncidentsTagMatchStrategy string

ListIncidentsTagMatchStrategy - A matching strategy for the tags provided

const (
	ListIncidentsTagMatchStrategyAny      ListIncidentsTagMatchStrategy = "any"
	ListIncidentsTagMatchStrategyMatchAll ListIncidentsTagMatchStrategy = "match_all"
	ListIncidentsTagMatchStrategyExclude  ListIncidentsTagMatchStrategy = "exclude"
)

func (ListIncidentsTagMatchStrategy) ToPointer ¶

func (*ListIncidentsTagMatchStrategy) UnmarshalJSON ¶

func (e *ListIncidentsTagMatchStrategy) UnmarshalJSON(data []byte) error

type ListInfrastructureMetricsInfraType ¶

type ListInfrastructureMetricsInfraType string
const (
	ListInfrastructureMetricsInfraTypeEnvironments    ListInfrastructureMetricsInfraType = "environments"
	ListInfrastructureMetricsInfraTypeFunctionalities ListInfrastructureMetricsInfraType = "functionalities"
	ListInfrastructureMetricsInfraTypeServices        ListInfrastructureMetricsInfraType = "services"
	ListInfrastructureMetricsInfraTypeCustomers       ListInfrastructureMetricsInfraType = "customers"
)

func (ListInfrastructureMetricsInfraType) ToPointer ¶

func (*ListInfrastructureMetricsInfraType) UnmarshalJSON ¶

func (e *ListInfrastructureMetricsInfraType) UnmarshalJSON(data []byte) error

type ListInfrastructureMetricsRequest ¶

type ListInfrastructureMetricsRequest struct {
	InfraType ListInfrastructureMetricsInfraType `pathParam:"style=simple,explode=false,name=infra_type"`
	// Component UUID
	InfraID string `pathParam:"style=simple,explode=false,name=infra_id"`
	// The start date to return metrics from; defaults to 30 days ago
	StartDate *types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from, defaults to today
	EndDate *types.Date `queryParam:"style=form,explode=true,name=end_date"`
}

func (*ListInfrastructureMetricsRequest) GetEndDate ¶

func (l *ListInfrastructureMetricsRequest) GetEndDate() *types.Date

func (*ListInfrastructureMetricsRequest) GetInfraID ¶

func (l *ListInfrastructureMetricsRequest) GetInfraID() string

func (*ListInfrastructureMetricsRequest) GetInfraType ¶

func (*ListInfrastructureMetricsRequest) GetStartDate ¶

func (l *ListInfrastructureMetricsRequest) GetStartDate() *types.Date

func (ListInfrastructureMetricsRequest) MarshalJSON ¶

func (l ListInfrastructureMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListInfrastructureMetricsRequest) UnmarshalJSON ¶

func (l *ListInfrastructureMetricsRequest) UnmarshalJSON(data []byte) error

type ListInfrastructureTypeMetricsInfraType ¶

type ListInfrastructureTypeMetricsInfraType string
const (
	ListInfrastructureTypeMetricsInfraTypeEnvironments    ListInfrastructureTypeMetricsInfraType = "environments"
	ListInfrastructureTypeMetricsInfraTypeFunctionalities ListInfrastructureTypeMetricsInfraType = "functionalities"
	ListInfrastructureTypeMetricsInfraTypeServices        ListInfrastructureTypeMetricsInfraType = "services"
	ListInfrastructureTypeMetricsInfraTypeCustomers       ListInfrastructureTypeMetricsInfraType = "customers"
)

func (ListInfrastructureTypeMetricsInfraType) ToPointer ¶

func (*ListInfrastructureTypeMetricsInfraType) UnmarshalJSON ¶

func (e *ListInfrastructureTypeMetricsInfraType) UnmarshalJSON(data []byte) error

type ListInfrastructureTypeMetricsRequest ¶

type ListInfrastructureTypeMetricsRequest struct {
	InfraType ListInfrastructureTypeMetricsInfraType `pathParam:"style=simple,explode=false,name=infra_type"`
	// The start date to return metrics from; defaults to 30 days ago
	StartDate *types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from, defaults to today
	EndDate *types.Date `queryParam:"style=form,explode=true,name=end_date"`
}

func (*ListInfrastructureTypeMetricsRequest) GetEndDate ¶

func (*ListInfrastructureTypeMetricsRequest) GetInfraType ¶

func (*ListInfrastructureTypeMetricsRequest) GetStartDate ¶

func (l *ListInfrastructureTypeMetricsRequest) GetStartDate() *types.Date

func (ListInfrastructureTypeMetricsRequest) MarshalJSON ¶

func (l ListInfrastructureTypeMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListInfrastructureTypeMetricsRequest) UnmarshalJSON ¶

func (l *ListInfrastructureTypeMetricsRequest) UnmarshalJSON(data []byte) error

type ListInfrastructuresRequest ¶

type ListInfrastructuresRequest struct {
	// A query to search infrastructures by their name
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Omit for any infrastructure that is added to an incident using the format "incident/{incident_id}"
	OmitFor *string `queryParam:"style=form,explode=true,name=omit_for"`
	// Restrict infrastructure search to given type.
	Type    *string `queryParam:"style=form,explode=true,name=type"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListInfrastructuresRequest) GetOmitFor ¶

func (l *ListInfrastructuresRequest) GetOmitFor() *string

func (*ListInfrastructuresRequest) GetPage ¶

func (l *ListInfrastructuresRequest) GetPage() *int

func (*ListInfrastructuresRequest) GetPerPage ¶

func (l *ListInfrastructuresRequest) GetPerPage() *int

func (*ListInfrastructuresRequest) GetQuery ¶

func (l *ListInfrastructuresRequest) GetQuery() *string

func (*ListInfrastructuresRequest) GetType ¶

func (l *ListInfrastructuresRequest) GetType() *string

type ListLifecycleMeasurementDefinitionsRequest ¶

type ListLifecycleMeasurementDefinitionsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListLifecycleMeasurementDefinitionsRequest) GetPage ¶

func (*ListLifecycleMeasurementDefinitionsRequest) GetPerPage ¶

type ListMilestoneFunnelMetricsGroupBy ¶

type ListMilestoneFunnelMetricsGroupBy string
const (
	ListMilestoneFunnelMetricsGroupByStartedDay   ListMilestoneFunnelMetricsGroupBy = "started_day"
	ListMilestoneFunnelMetricsGroupByStartedWeek  ListMilestoneFunnelMetricsGroupBy = "started_week"
	ListMilestoneFunnelMetricsGroupByStartedMonth ListMilestoneFunnelMetricsGroupBy = "started_month"
	ListMilestoneFunnelMetricsGroupByAllTime      ListMilestoneFunnelMetricsGroupBy = "all_time"
)

func (ListMilestoneFunnelMetricsGroupBy) ToPointer ¶

func (*ListMilestoneFunnelMetricsGroupBy) UnmarshalJSON ¶

func (e *ListMilestoneFunnelMetricsGroupBy) UnmarshalJSON(data []byte) error

type ListMilestoneFunnelMetricsRequest ¶

type ListMilestoneFunnelMetricsRequest struct {
	// A JSON string that defines 'logic' and 'user_data'
	Conditions *string `queryParam:"style=form,explode=true,name=conditions"`
	// A comma separated list of environment IDs or 'is_empty' to filter for incidents with no impacted environments
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs or 'is_empty' to filter for incidents with no impacted services
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of functionality IDs or 'is_empty' to filter for incidents with no impacted functionalities
	Functionalities *string `queryParam:"style=form,explode=true,name=functionalities"`
	// A comma separated list of infrastructure IDs. Returns incidents that do not have the following infrastructure ids associated with them.
	ExcludedInfrastructureIds *string `queryParam:"style=form,explode=true,name=excluded_infrastructure_ids"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of IDs for assigned teams or 'is_empty' to filter for incidents with no active team assignments
	AssignedTeams *string `queryParam:"style=form,explode=true,name=assigned_teams"`
	// Incident status
	Status *string `queryParam:"style=form,explode=true,name=status"`
	// Filters for incidents that started on or after this date
	StartDate *time.Time `queryParam:"style=form,explode=true,name=start_date"`
	// Filters for incidents that started on or before this date
	EndDate *time.Time `queryParam:"style=form,explode=true,name=end_date"`
	// Filters for incidents that were resolved at or after this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_after"`
	// Filters for incidents that were resolved at or before this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_before"`
	// Filters for incidents that were closed at or after this time
	ClosedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_after"`
	// Filters for incidents that were closed at or before this time
	ClosedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_before"`
	// Filters for incidents that were created at or after this time
	CreatedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=created_at_or_after"`
	// Filters for incidents that were created at or before this time
	CreatedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=created_at_or_before"`
	// A text query for an incident that searches on name, summary, and desciption
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search incidents by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// The id of a previously saved search.
	SavedSearchID *string `queryParam:"style=form,explode=true,name=saved_search_id"`
	// A text value of priority
	Priorities *string `queryParam:"style=form,explode=true,name=priorities"`
	// Flag for including incidents where priority has not been set
	PriorityNotSet *bool `queryParam:"style=form,explode=true,name=priority_not_set"`
	// A text value of severity
	Severities *string `queryParam:"style=form,explode=true,name=severities"`
	// Flag for including incidents where severity has not been set
	SeverityNotSet *bool `queryParam:"style=form,explode=true,name=severity_not_set"`
	// A comma separated list of current milestones
	CurrentMilestones *string `queryParam:"style=form,explode=true,name=current_milestones"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A matching strategy for the tags provided
	TagMatchStrategy *ListMilestoneFunnelMetricsTagMatchStrategy `queryParam:"style=form,explode=true,name=tag_match_strategy"`
	// Return archived incidents
	Archived *bool `queryParam:"style=form,explode=true,name=archived"`
	// Filters for incidents that were updated after this date
	UpdatedAfter *time.Time `queryParam:"style=form,explode=true,name=updated_after"`
	// Filters for incidents that were updated before this date
	UpdatedBefore *time.Time `queryParam:"style=form,explode=true,name=updated_before"`
	// A comma separated list of incident type IDs
	IncidentTypeID *string `queryParam:"style=form,explode=true,name=incident_type_id"`
	// A comma separated list of retrospective template IDs
	RetrospectiveTemplates *string                                `queryParam:"style=form,explode=true,name=retrospective_templates"`
	RequestBody            *ListMilestoneFunnelMetricsRequestBody `request:"mediaType=multipart/form-data"`
}

func (*ListMilestoneFunnelMetricsRequest) GetArchived ¶

func (l *ListMilestoneFunnelMetricsRequest) GetArchived() *bool

func (*ListMilestoneFunnelMetricsRequest) GetAssignedTeams ¶

func (l *ListMilestoneFunnelMetricsRequest) GetAssignedTeams() *string

func (*ListMilestoneFunnelMetricsRequest) GetClosedAtOrAfter ¶

func (l *ListMilestoneFunnelMetricsRequest) GetClosedAtOrAfter() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetClosedAtOrBefore ¶

func (l *ListMilestoneFunnelMetricsRequest) GetClosedAtOrBefore() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetConditions ¶

func (l *ListMilestoneFunnelMetricsRequest) GetConditions() *string

func (*ListMilestoneFunnelMetricsRequest) GetCreatedAtOrAfter ¶

func (l *ListMilestoneFunnelMetricsRequest) GetCreatedAtOrAfter() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetCreatedAtOrBefore ¶

func (l *ListMilestoneFunnelMetricsRequest) GetCreatedAtOrBefore() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetCurrentMilestones ¶

func (l *ListMilestoneFunnelMetricsRequest) GetCurrentMilestones() *string

func (*ListMilestoneFunnelMetricsRequest) GetEndDate ¶

func (l *ListMilestoneFunnelMetricsRequest) GetEndDate() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetEnvironments ¶

func (l *ListMilestoneFunnelMetricsRequest) GetEnvironments() *string

func (*ListMilestoneFunnelMetricsRequest) GetExcludedInfrastructureIds ¶

func (l *ListMilestoneFunnelMetricsRequest) GetExcludedInfrastructureIds() *string

func (*ListMilestoneFunnelMetricsRequest) GetFunctionalities ¶

func (l *ListMilestoneFunnelMetricsRequest) GetFunctionalities() *string

func (*ListMilestoneFunnelMetricsRequest) GetIncidentTypeID ¶

func (l *ListMilestoneFunnelMetricsRequest) GetIncidentTypeID() *string

func (*ListMilestoneFunnelMetricsRequest) GetName ¶

func (*ListMilestoneFunnelMetricsRequest) GetPriorities ¶

func (l *ListMilestoneFunnelMetricsRequest) GetPriorities() *string

func (*ListMilestoneFunnelMetricsRequest) GetPriorityNotSet ¶

func (l *ListMilestoneFunnelMetricsRequest) GetPriorityNotSet() *bool

func (*ListMilestoneFunnelMetricsRequest) GetQuery ¶

func (*ListMilestoneFunnelMetricsRequest) GetRequestBody ¶

func (*ListMilestoneFunnelMetricsRequest) GetResolvedAtOrAfter ¶

func (l *ListMilestoneFunnelMetricsRequest) GetResolvedAtOrAfter() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetResolvedAtOrBefore ¶

func (l *ListMilestoneFunnelMetricsRequest) GetResolvedAtOrBefore() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetRetrospectiveTemplates ¶

func (l *ListMilestoneFunnelMetricsRequest) GetRetrospectiveTemplates() *string

func (*ListMilestoneFunnelMetricsRequest) GetSavedSearchID ¶

func (l *ListMilestoneFunnelMetricsRequest) GetSavedSearchID() *string

func (*ListMilestoneFunnelMetricsRequest) GetServices ¶

func (l *ListMilestoneFunnelMetricsRequest) GetServices() *string

func (*ListMilestoneFunnelMetricsRequest) GetSeverities ¶

func (l *ListMilestoneFunnelMetricsRequest) GetSeverities() *string

func (*ListMilestoneFunnelMetricsRequest) GetSeverityNotSet ¶

func (l *ListMilestoneFunnelMetricsRequest) GetSeverityNotSet() *bool

func (*ListMilestoneFunnelMetricsRequest) GetStartDate ¶

func (l *ListMilestoneFunnelMetricsRequest) GetStartDate() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetStatus ¶

func (l *ListMilestoneFunnelMetricsRequest) GetStatus() *string

func (*ListMilestoneFunnelMetricsRequest) GetTagMatchStrategy ¶

func (*ListMilestoneFunnelMetricsRequest) GetTags ¶

func (*ListMilestoneFunnelMetricsRequest) GetTeams ¶

func (*ListMilestoneFunnelMetricsRequest) GetUpdatedAfter ¶

func (l *ListMilestoneFunnelMetricsRequest) GetUpdatedAfter() *time.Time

func (*ListMilestoneFunnelMetricsRequest) GetUpdatedBefore ¶

func (l *ListMilestoneFunnelMetricsRequest) GetUpdatedBefore() *time.Time

func (ListMilestoneFunnelMetricsRequest) MarshalJSON ¶

func (l ListMilestoneFunnelMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListMilestoneFunnelMetricsRequest) UnmarshalJSON ¶

func (l *ListMilestoneFunnelMetricsRequest) UnmarshalJSON(data []byte) error

type ListMilestoneFunnelMetricsRequestBody ¶

type ListMilestoneFunnelMetricsRequestBody struct {
	GroupBy []ListMilestoneFunnelMetricsGroupBy `multipartForm:"name=group_by"`
}

func (*ListMilestoneFunnelMetricsRequestBody) GetGroupBy ¶

type ListMilestoneFunnelMetricsTagMatchStrategy ¶

type ListMilestoneFunnelMetricsTagMatchStrategy string

ListMilestoneFunnelMetricsTagMatchStrategy - A matching strategy for the tags provided

const (
	ListMilestoneFunnelMetricsTagMatchStrategyAny      ListMilestoneFunnelMetricsTagMatchStrategy = "any"
	ListMilestoneFunnelMetricsTagMatchStrategyMatchAll ListMilestoneFunnelMetricsTagMatchStrategy = "match_all"
	ListMilestoneFunnelMetricsTagMatchStrategyExclude  ListMilestoneFunnelMetricsTagMatchStrategy = "exclude"
)

func (ListMilestoneFunnelMetricsTagMatchStrategy) ToPointer ¶

func (*ListMilestoneFunnelMetricsTagMatchStrategy) UnmarshalJSON ¶

func (e *ListMilestoneFunnelMetricsTagMatchStrategy) UnmarshalJSON(data []byte) error

type ListMttxMetricsGroupBy ¶

type ListMttxMetricsGroupBy string
const (
	ListMttxMetricsGroupByServices        ListMttxMetricsGroupBy = "services"
	ListMttxMetricsGroupByEnvironments    ListMttxMetricsGroupBy = "environments"
	ListMttxMetricsGroupByFunctionalities ListMttxMetricsGroupBy = "functionalities"
	ListMttxMetricsGroupByTeams           ListMttxMetricsGroupBy = "teams"
	ListMttxMetricsGroupBySeverities      ListMttxMetricsGroupBy = "severities"
	ListMttxMetricsGroupByUsers           ListMttxMetricsGroupBy = "users"
	ListMttxMetricsGroupByIncidentTypes   ListMttxMetricsGroupBy = "incident_types"
	ListMttxMetricsGroupByStartedDay      ListMttxMetricsGroupBy = "started_day"
	ListMttxMetricsGroupByStartedWeek     ListMttxMetricsGroupBy = "started_week"
	ListMttxMetricsGroupByStartedMonth    ListMttxMetricsGroupBy = "started_month"
	ListMttxMetricsGroupByCustomFields    ListMttxMetricsGroupBy = "custom_fields"
)

func (ListMttxMetricsGroupBy) ToPointer ¶

func (*ListMttxMetricsGroupBy) UnmarshalJSON ¶

func (e *ListMttxMetricsGroupBy) UnmarshalJSON(data []byte) error

type ListMttxMetricsRequest ¶

type ListMttxMetricsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A JSON string that defines 'logic' and 'user_data'
	Conditions *string `queryParam:"style=form,explode=true,name=conditions"`
	// A comma separated list of environment IDs or 'is_empty' to filter for incidents with no impacted environments
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs or 'is_empty' to filter for incidents with no impacted services
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of functionality IDs or 'is_empty' to filter for incidents with no impacted functionalities
	Functionalities *string `queryParam:"style=form,explode=true,name=functionalities"`
	// A comma separated list of infrastructure IDs. Returns incidents that do not have the following infrastructure ids associated with them.
	ExcludedInfrastructureIds *string `queryParam:"style=form,explode=true,name=excluded_infrastructure_ids"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of IDs for assigned teams or 'is_empty' to filter for incidents with no active team assignments
	AssignedTeams *string `queryParam:"style=form,explode=true,name=assigned_teams"`
	// Incident status
	Status *string `queryParam:"style=form,explode=true,name=status"`
	// Filters for incidents that started on or after this date
	StartDate types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// Filters for incidents that started on or before this date
	EndDate types.Date `queryParam:"style=form,explode=true,name=end_date"`
	// Filters for incidents that were resolved at or after this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_after"`
	// Filters for incidents that were resolved at or before this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_before"`
	// Filters for incidents that were closed at or after this time
	ClosedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_after"`
	// Filters for incidents that were closed at or before this time
	ClosedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_before"`
	// Filters for incidents that were created at or after this time
	CreatedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=created_at_or_after"`
	// Filters for incidents that were created at or before this time
	CreatedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=created_at_or_before"`
	// A text query for an incident that searches on name, summary, and desciption
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search incidents by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// The id of a previously saved search.
	SavedSearchID *string `queryParam:"style=form,explode=true,name=saved_search_id"`
	// A text value of priority
	Priorities *string `queryParam:"style=form,explode=true,name=priorities"`
	// Flag for including incidents where priority has not been set
	PriorityNotSet *bool `queryParam:"style=form,explode=true,name=priority_not_set"`
	// A text value of severity
	Severities *string `queryParam:"style=form,explode=true,name=severities"`
	// Flag for including incidents where severity has not been set
	SeverityNotSet *bool `queryParam:"style=form,explode=true,name=severity_not_set"`
	// A comma separated list of current milestones
	CurrentMilestones *string `queryParam:"style=form,explode=true,name=current_milestones"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A matching strategy for the tags provided
	TagMatchStrategy *ListMttxMetricsTagMatchStrategy `queryParam:"style=form,explode=true,name=tag_match_strategy"`
	// Return archived incidents
	Archived *bool `queryParam:"style=form,explode=true,name=archived"`
	// Filters for incidents that were updated after this date
	UpdatedAfter *time.Time `queryParam:"style=form,explode=true,name=updated_after"`
	// Filters for incidents that were updated before this date
	UpdatedBefore *time.Time `queryParam:"style=form,explode=true,name=updated_before"`
	// A comma separated list of incident type IDs
	IncidentTypeID *string `queryParam:"style=form,explode=true,name=incident_type_id"`
	// A comma separated list of retrospective template IDs
	RetrospectiveTemplates *string                `queryParam:"style=form,explode=true,name=retrospective_templates"`
	CustomFieldID          *string                `queryParam:"style=form,explode=true,name=custom_field_id"`
	SortBy                 *ListMttxMetricsSortBy `queryParam:"style=form,explode=true,name=sort_by"`
	// Comma-separated list of measurements to include in the response
	Measurements *string `queryParam:"style=form,explode=true,name=measurements"`
	// Comma-separated list of label key / values in the format of 'key=value,key2=value2'
	Labels *string `queryParam:"style=form,explode=true,name=labels"`
	// Comma-separated list of user IDs for the incident openers
	IncidentOpeners *string `queryParam:"style=form,explode=true,name=incident_openers"`
	// Comma-separated list of ticket status states
	TicketStatus *string                     `queryParam:"style=form,explode=true,name=ticket_status"`
	RequestBody  *ListMttxMetricsRequestBody `request:"mediaType=multipart/form-data"`
}

func (*ListMttxMetricsRequest) GetArchived ¶

func (l *ListMttxMetricsRequest) GetArchived() *bool

func (*ListMttxMetricsRequest) GetAssignedTeams ¶

func (l *ListMttxMetricsRequest) GetAssignedTeams() *string

func (*ListMttxMetricsRequest) GetClosedAtOrAfter ¶

func (l *ListMttxMetricsRequest) GetClosedAtOrAfter() *time.Time

func (*ListMttxMetricsRequest) GetClosedAtOrBefore ¶

func (l *ListMttxMetricsRequest) GetClosedAtOrBefore() *time.Time

func (*ListMttxMetricsRequest) GetConditions ¶

func (l *ListMttxMetricsRequest) GetConditions() *string

func (*ListMttxMetricsRequest) GetCreatedAtOrAfter ¶

func (l *ListMttxMetricsRequest) GetCreatedAtOrAfter() *time.Time

func (*ListMttxMetricsRequest) GetCreatedAtOrBefore ¶

func (l *ListMttxMetricsRequest) GetCreatedAtOrBefore() *time.Time

func (*ListMttxMetricsRequest) GetCurrentMilestones ¶

func (l *ListMttxMetricsRequest) GetCurrentMilestones() *string

func (*ListMttxMetricsRequest) GetCustomFieldID ¶

func (l *ListMttxMetricsRequest) GetCustomFieldID() *string

func (*ListMttxMetricsRequest) GetEndDate ¶

func (l *ListMttxMetricsRequest) GetEndDate() types.Date

func (*ListMttxMetricsRequest) GetEnvironments ¶

func (l *ListMttxMetricsRequest) GetEnvironments() *string

func (*ListMttxMetricsRequest) GetExcludedInfrastructureIds ¶

func (l *ListMttxMetricsRequest) GetExcludedInfrastructureIds() *string

func (*ListMttxMetricsRequest) GetFunctionalities ¶

func (l *ListMttxMetricsRequest) GetFunctionalities() *string

func (*ListMttxMetricsRequest) GetIncidentOpeners ¶

func (l *ListMttxMetricsRequest) GetIncidentOpeners() *string

func (*ListMttxMetricsRequest) GetIncidentTypeID ¶

func (l *ListMttxMetricsRequest) GetIncidentTypeID() *string

func (*ListMttxMetricsRequest) GetLabels ¶

func (l *ListMttxMetricsRequest) GetLabels() *string

func (*ListMttxMetricsRequest) GetMeasurements ¶

func (l *ListMttxMetricsRequest) GetMeasurements() *string

func (*ListMttxMetricsRequest) GetName ¶

func (l *ListMttxMetricsRequest) GetName() *string

func (*ListMttxMetricsRequest) GetPage ¶

func (l *ListMttxMetricsRequest) GetPage() *int

func (*ListMttxMetricsRequest) GetPerPage ¶

func (l *ListMttxMetricsRequest) GetPerPage() *int

func (*ListMttxMetricsRequest) GetPriorities ¶

func (l *ListMttxMetricsRequest) GetPriorities() *string

func (*ListMttxMetricsRequest) GetPriorityNotSet ¶

func (l *ListMttxMetricsRequest) GetPriorityNotSet() *bool

func (*ListMttxMetricsRequest) GetQuery ¶

func (l *ListMttxMetricsRequest) GetQuery() *string

func (*ListMttxMetricsRequest) GetRequestBody ¶

func (*ListMttxMetricsRequest) GetResolvedAtOrAfter ¶

func (l *ListMttxMetricsRequest) GetResolvedAtOrAfter() *time.Time

func (*ListMttxMetricsRequest) GetResolvedAtOrBefore ¶

func (l *ListMttxMetricsRequest) GetResolvedAtOrBefore() *time.Time

func (*ListMttxMetricsRequest) GetRetrospectiveTemplates ¶

func (l *ListMttxMetricsRequest) GetRetrospectiveTemplates() *string

func (*ListMttxMetricsRequest) GetSavedSearchID ¶

func (l *ListMttxMetricsRequest) GetSavedSearchID() *string

func (*ListMttxMetricsRequest) GetServices ¶

func (l *ListMttxMetricsRequest) GetServices() *string

func (*ListMttxMetricsRequest) GetSeverities ¶

func (l *ListMttxMetricsRequest) GetSeverities() *string

func (*ListMttxMetricsRequest) GetSeverityNotSet ¶

func (l *ListMttxMetricsRequest) GetSeverityNotSet() *bool

func (*ListMttxMetricsRequest) GetSortBy ¶

func (*ListMttxMetricsRequest) GetStartDate ¶

func (l *ListMttxMetricsRequest) GetStartDate() types.Date

func (*ListMttxMetricsRequest) GetStatus ¶

func (l *ListMttxMetricsRequest) GetStatus() *string

func (*ListMttxMetricsRequest) GetTagMatchStrategy ¶

func (l *ListMttxMetricsRequest) GetTagMatchStrategy() *ListMttxMetricsTagMatchStrategy

func (*ListMttxMetricsRequest) GetTags ¶

func (l *ListMttxMetricsRequest) GetTags() *string

func (*ListMttxMetricsRequest) GetTeams ¶

func (l *ListMttxMetricsRequest) GetTeams() *string

func (*ListMttxMetricsRequest) GetTicketStatus ¶

func (l *ListMttxMetricsRequest) GetTicketStatus() *string

func (*ListMttxMetricsRequest) GetUpdatedAfter ¶

func (l *ListMttxMetricsRequest) GetUpdatedAfter() *time.Time

func (*ListMttxMetricsRequest) GetUpdatedBefore ¶

func (l *ListMttxMetricsRequest) GetUpdatedBefore() *time.Time

func (ListMttxMetricsRequest) MarshalJSON ¶

func (l ListMttxMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListMttxMetricsRequest) UnmarshalJSON ¶

func (l *ListMttxMetricsRequest) UnmarshalJSON(data []byte) error

type ListMttxMetricsRequestBody ¶

type ListMttxMetricsRequestBody struct {
	GroupBy []ListMttxMetricsGroupBy `multipartForm:"name=group_by"`
}

func (*ListMttxMetricsRequestBody) GetGroupBy ¶

type ListMttxMetricsSortBy ¶

type ListMttxMetricsSortBy string
const (
	ListMttxMetricsSortByCountAsc        ListMttxMetricsSortBy = "count_asc"
	ListMttxMetricsSortByMttrAsc         ListMttxMetricsSortBy = "mttr_asc"
	ListMttxMetricsSortByMttaAsc         ListMttxMetricsSortBy = "mtta_asc"
	ListMttxMetricsSortByMttdAsc         ListMttxMetricsSortBy = "mttd_asc"
	ListMttxMetricsSortByMttmAsc         ListMttxMetricsSortBy = "mttm_asc"
	ListMttxMetricsSortByHealthinessAsc  ListMttxMetricsSortBy = "healthiness_asc"
	ListMttxMetricsSortByCountDesc       ListMttxMetricsSortBy = "count_desc"
	ListMttxMetricsSortByMttrDesc        ListMttxMetricsSortBy = "mttr_desc"
	ListMttxMetricsSortByMttaDesc        ListMttxMetricsSortBy = "mtta_desc"
	ListMttxMetricsSortByMttdDesc        ListMttxMetricsSortBy = "mttd_desc"
	ListMttxMetricsSortByMttmDesc        ListMttxMetricsSortBy = "mttm_desc"
	ListMttxMetricsSortByHealthinessDesc ListMttxMetricsSortBy = "healthiness_desc"
)

func (ListMttxMetricsSortBy) ToPointer ¶

func (*ListMttxMetricsSortBy) UnmarshalJSON ¶

func (e *ListMttxMetricsSortBy) UnmarshalJSON(data []byte) error

type ListMttxMetricsTagMatchStrategy ¶

type ListMttxMetricsTagMatchStrategy string

ListMttxMetricsTagMatchStrategy - A matching strategy for the tags provided

const (
	ListMttxMetricsTagMatchStrategyAny      ListMttxMetricsTagMatchStrategy = "any"
	ListMttxMetricsTagMatchStrategyMatchAll ListMttxMetricsTagMatchStrategy = "match_all"
	ListMttxMetricsTagMatchStrategyExclude  ListMttxMetricsTagMatchStrategy = "exclude"
)

func (ListMttxMetricsTagMatchStrategy) ToPointer ¶

func (*ListMttxMetricsTagMatchStrategy) UnmarshalJSON ¶

func (e *ListMttxMetricsTagMatchStrategy) UnmarshalJSON(data []byte) error

type ListNotificationPolicySettingsRequest ¶

type ListNotificationPolicySettingsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListNotificationPolicySettingsRequest) GetPage ¶

func (*ListNotificationPolicySettingsRequest) GetPerPage ¶

func (l *ListNotificationPolicySettingsRequest) GetPerPage() *int

type ListOrganizationOnCallSchedulesRequest ¶

type ListOrganizationOnCallSchedulesRequest struct {
	// An optional comma separated list of team IDs to filter currently on-call users by
	TeamID *string `queryParam:"style=form,explode=true,name=team_id"`
}

func (*ListOrganizationOnCallSchedulesRequest) GetTeamID ¶

type ListPostMortemQuestionsRequest ¶

type ListPostMortemQuestionsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListPostMortemQuestionsRequest) GetPage ¶

func (l *ListPostMortemQuestionsRequest) GetPage() *int

func (*ListPostMortemQuestionsRequest) GetPerPage ¶

func (l *ListPostMortemQuestionsRequest) GetPerPage() *int

type ListPostMortemReasonsRequest ¶

type ListPostMortemReasonsRequest struct {
	ReportID string `pathParam:"style=simple,explode=false,name=report_id"`
	Page     *int   `queryParam:"style=form,explode=true,name=page"`
	PerPage  *int   `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListPostMortemReasonsRequest) GetPage ¶

func (l *ListPostMortemReasonsRequest) GetPage() *int

func (*ListPostMortemReasonsRequest) GetPerPage ¶

func (l *ListPostMortemReasonsRequest) GetPerPage() *int

func (*ListPostMortemReasonsRequest) GetReportID ¶

func (l *ListPostMortemReasonsRequest) GetReportID() string

type ListPostMortemReportsRequest ¶

type ListPostMortemReportsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// Filter the reports by an incident ID
	IncidentID *string `queryParam:"style=form,explode=true,name=incident_id"`
	// Filter for reports updated after the given ISO8601 timestamp
	UpdatedSince *time.Time `queryParam:"style=form,explode=true,name=updated_since"`
}

func (*ListPostMortemReportsRequest) GetIncidentID ¶

func (l *ListPostMortemReportsRequest) GetIncidentID() *string

func (*ListPostMortemReportsRequest) GetPage ¶

func (l *ListPostMortemReportsRequest) GetPage() *int

func (*ListPostMortemReportsRequest) GetPerPage ¶

func (l *ListPostMortemReportsRequest) GetPerPage() *int

func (*ListPostMortemReportsRequest) GetUpdatedSince ¶

func (l *ListPostMortemReportsRequest) GetUpdatedSince() *time.Time

func (ListPostMortemReportsRequest) MarshalJSON ¶

func (l ListPostMortemReportsRequest) MarshalJSON() ([]byte, error)

func (*ListPostMortemReportsRequest) UnmarshalJSON ¶

func (l *ListPostMortemReportsRequest) UnmarshalJSON(data []byte) error

type ListPrioritiesRequest ¶

type ListPrioritiesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListPrioritiesRequest) GetPage ¶

func (l *ListPrioritiesRequest) GetPage() *int

func (*ListPrioritiesRequest) GetPerPage ¶

func (l *ListPrioritiesRequest) GetPerPage() *int

type ListProcessingLogEntriesRequest ¶

type ListProcessingLogEntriesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// Scopes returned log entries to a specific integration ID
	IntegrationSlug *string `queryParam:"style=form,explode=true,name=integration_slug"`
	// Scopes returned log entries to a specific connection ID
	ConnectionID *string `queryParam:"style=form,explode=true,name=connection_id"`
	// Returns logs of all levels equal to or above the provided level
	OfLevel *OfLevel `queryParam:"style=form,explode=true,name=of_level"`
	// Returns log entries of all levels equal to the provided level
	ExactLevel *ExactLevel `queryParam:"style=form,explode=true,name=exact_level"`
}

func (*ListProcessingLogEntriesRequest) GetConnectionID ¶

func (l *ListProcessingLogEntriesRequest) GetConnectionID() *string

func (*ListProcessingLogEntriesRequest) GetExactLevel ¶

func (l *ListProcessingLogEntriesRequest) GetExactLevel() *ExactLevel

func (*ListProcessingLogEntriesRequest) GetIntegrationSlug ¶

func (l *ListProcessingLogEntriesRequest) GetIntegrationSlug() *string

func (*ListProcessingLogEntriesRequest) GetOfLevel ¶

func (l *ListProcessingLogEntriesRequest) GetOfLevel() *OfLevel

func (*ListProcessingLogEntriesRequest) GetPage ¶

func (l *ListProcessingLogEntriesRequest) GetPage() *int

func (*ListProcessingLogEntriesRequest) GetPerPage ¶

func (l *ListProcessingLogEntriesRequest) GetPerPage() *int

type ListRetrospectiveMetricsRequest ¶

type ListRetrospectiveMetricsRequest struct {
	// The start date to return metrics from
	StartDate *types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from
	EndDate *types.Date `queryParam:"style=form,explode=true,name=end_date"`
}

func (*ListRetrospectiveMetricsRequest) GetEndDate ¶

func (l *ListRetrospectiveMetricsRequest) GetEndDate() *types.Date

func (*ListRetrospectiveMetricsRequest) GetStartDate ¶

func (l *ListRetrospectiveMetricsRequest) GetStartDate() *types.Date

func (ListRetrospectiveMetricsRequest) MarshalJSON ¶

func (l ListRetrospectiveMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListRetrospectiveMetricsRequest) UnmarshalJSON ¶

func (l *ListRetrospectiveMetricsRequest) UnmarshalJSON(data []byte) error

type ListRetrospectiveTemplatesRequest ¶

type ListRetrospectiveTemplatesRequest struct {
	Page        *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage     *int    `queryParam:"style=form,explode=true,name=per_page"`
	ForIncident *string `queryParam:"style=form,explode=true,name=for_incident"`
}

func (*ListRetrospectiveTemplatesRequest) GetForIncident ¶

func (l *ListRetrospectiveTemplatesRequest) GetForIncident() *string

func (*ListRetrospectiveTemplatesRequest) GetPage ¶

func (l *ListRetrospectiveTemplatesRequest) GetPage() *int

func (*ListRetrospectiveTemplatesRequest) GetPerPage ¶

func (l *ListRetrospectiveTemplatesRequest) GetPerPage() *int

type ListRetrospectivesRequest ¶

type ListRetrospectivesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// Filter the reports by an incident ID
	IncidentID *string `queryParam:"style=form,explode=true,name=incident_id"`
	// Filter for reports updated after the given ISO8601 timestamp
	UpdatedSince *time.Time `queryParam:"style=form,explode=true,name=updated_since"`
}

func (*ListRetrospectivesRequest) GetIncidentID ¶

func (l *ListRetrospectivesRequest) GetIncidentID() *string

func (*ListRetrospectivesRequest) GetPage ¶

func (l *ListRetrospectivesRequest) GetPage() *int

func (*ListRetrospectivesRequest) GetPerPage ¶

func (l *ListRetrospectivesRequest) GetPerPage() *int

func (*ListRetrospectivesRequest) GetUpdatedSince ¶

func (l *ListRetrospectivesRequest) GetUpdatedSince() *time.Time

func (ListRetrospectivesRequest) MarshalJSON ¶

func (l ListRetrospectivesRequest) MarshalJSON() ([]byte, error)

func (*ListRetrospectivesRequest) UnmarshalJSON ¶

func (l *ListRetrospectivesRequest) UnmarshalJSON(data []byte) error

type ListRolesRequest ¶

type ListRolesRequest struct {
	// A search query to filter roles by name and slug.
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListRolesRequest) GetPage ¶

func (l *ListRolesRequest) GetPage() *int

func (*ListRolesRequest) GetPerPage ¶

func (l *ListRolesRequest) GetPerPage() *int

func (*ListRolesRequest) GetQuery ¶

func (l *ListRolesRequest) GetQuery() *string

type ListRunbookActionsRequest ¶

type ListRunbookActionsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// List actions supporting this specific Runbook type
	Type *string `queryParam:"style=form,explode=true,name=type"`
	// Boolean to determine whether to return a slimified version of the action object's integration
	Lite *bool `queryParam:"style=form,explode=true,name=lite"`
}

func (*ListRunbookActionsRequest) GetLite ¶

func (l *ListRunbookActionsRequest) GetLite() *bool

func (*ListRunbookActionsRequest) GetPage ¶

func (l *ListRunbookActionsRequest) GetPage() *int

func (*ListRunbookActionsRequest) GetPerPage ¶

func (l *ListRunbookActionsRequest) GetPerPage() *int

func (*ListRunbookActionsRequest) GetType ¶

func (l *ListRunbookActionsRequest) GetType() *string

type ListRunbookAuditsRequest ¶

type ListRunbookAuditsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A query to filter audits by type
	AuditableType *AuditableType `default:"Runbooks::Step" queryParam:"style=form,explode=true,name=auditable_type"`
	// A query to sort audits by their created_at timestamp. Options are 'asc' or 'desc'
	Sort *string `queryParam:"style=form,explode=true,name=sort"`
}

func (*ListRunbookAuditsRequest) GetAuditableType ¶

func (l *ListRunbookAuditsRequest) GetAuditableType() *AuditableType

func (*ListRunbookAuditsRequest) GetPage ¶

func (l *ListRunbookAuditsRequest) GetPage() *int

func (*ListRunbookAuditsRequest) GetPerPage ¶

func (l *ListRunbookAuditsRequest) GetPerPage() *int

func (*ListRunbookAuditsRequest) GetSort ¶

func (l *ListRunbookAuditsRequest) GetSort() *string

func (ListRunbookAuditsRequest) MarshalJSON ¶

func (l ListRunbookAuditsRequest) MarshalJSON() ([]byte, error)

func (*ListRunbookAuditsRequest) UnmarshalJSON ¶

func (l *ListRunbookAuditsRequest) UnmarshalJSON(data []byte) error

type ListRunbookExecutionsRequest ¶

type ListRunbookExecutionsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListRunbookExecutionsRequest) GetPage ¶

func (l *ListRunbookExecutionsRequest) GetPage() *int

func (*ListRunbookExecutionsRequest) GetPerPage ¶

func (l *ListRunbookExecutionsRequest) GetPerPage() *int

type ListRunbooksRequest ¶

type ListRunbooksRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A query to search runbooks by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// A query to search runbooks by their owners
	Owners *string `queryParam:"style=form,explode=true,name=owners"`
	// Sort runbooks by their updated date. Accepts 'asc', 'desc'. This parameter is deprecated in favor of 'order_by' and 'order_direction'.
	Sort *ListRunbooksSort `queryParam:"style=form,explode=true,name=sort"`
	// Sort runbooks by their updated date or name. Accepts 'updated_at', 'name', 'owner', 'last_executed_at', and 'created_at'.
	OrderBy *OrderBy `queryParam:"style=form,explode=true,name=order_by"`
	// Allows assigning a direction to how the specified `order_by` parameter is sorted. This parameter must be paired with `order_by` and does nothing on its own.
	OrderDirection *OrderDirection `queryParam:"style=form,explode=true,name=order_direction"`
}

func (*ListRunbooksRequest) GetName ¶

func (l *ListRunbooksRequest) GetName() *string

func (*ListRunbooksRequest) GetOrderBy ¶

func (l *ListRunbooksRequest) GetOrderBy() *OrderBy

func (*ListRunbooksRequest) GetOrderDirection ¶

func (l *ListRunbooksRequest) GetOrderDirection() *OrderDirection

func (*ListRunbooksRequest) GetOwners ¶

func (l *ListRunbooksRequest) GetOwners() *string

func (*ListRunbooksRequest) GetPage ¶

func (l *ListRunbooksRequest) GetPage() *int

func (*ListRunbooksRequest) GetPerPage ¶

func (l *ListRunbooksRequest) GetPerPage() *int

func (*ListRunbooksRequest) GetSort ¶

func (l *ListRunbooksRequest) GetSort() *ListRunbooksSort

type ListRunbooksSort ¶

type ListRunbooksSort string

ListRunbooksSort - Sort runbooks by their updated date. Accepts 'asc', 'desc'. This parameter is deprecated in favor of 'order_by' and 'order_direction'.

const (
	ListRunbooksSortAsc  ListRunbooksSort = "asc"
	ListRunbooksSortDesc ListRunbooksSort = "desc"
)

func (ListRunbooksSort) ToPointer ¶

func (e ListRunbooksSort) ToPointer() *ListRunbooksSort

func (*ListRunbooksSort) UnmarshalJSON ¶

func (e *ListRunbooksSort) UnmarshalJSON(data []byte) error

type ListSavedSearchesRequest ¶

type ListSavedSearchesRequest struct {
	ResourceType ListSavedSearchesResourceType `pathParam:"style=simple,explode=false,name=resource_type"`
	// The user ID used to filter saved searches.
	UserID *string `queryParam:"style=form,explode=true,name=user_id"`
	// Filter saved searches with a query on their name
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListSavedSearchesRequest) GetPage ¶

func (l *ListSavedSearchesRequest) GetPage() *int

func (*ListSavedSearchesRequest) GetPerPage ¶

func (l *ListSavedSearchesRequest) GetPerPage() *int

func (*ListSavedSearchesRequest) GetQuery ¶

func (l *ListSavedSearchesRequest) GetQuery() *string

func (*ListSavedSearchesRequest) GetResourceType ¶

func (*ListSavedSearchesRequest) GetUserID ¶

func (l *ListSavedSearchesRequest) GetUserID() *string

type ListSavedSearchesResourceType ¶

type ListSavedSearchesResourceType string
const (
	ListSavedSearchesResourceTypeChangeEvents          ListSavedSearchesResourceType = "change_events"
	ListSavedSearchesResourceTypeIncidents             ListSavedSearchesResourceType = "incidents"
	ListSavedSearchesResourceTypeServices              ListSavedSearchesResourceType = "services"
	ListSavedSearchesResourceTypeScheduledMaintenances ListSavedSearchesResourceType = "scheduled_maintenances"
	ListSavedSearchesResourceTypeTicketTasks           ListSavedSearchesResourceType = "ticket_tasks"
	ListSavedSearchesResourceTypeTicketFollowUps       ListSavedSearchesResourceType = "ticket_follow_ups"
	ListSavedSearchesResourceTypeAnalytics             ListSavedSearchesResourceType = "analytics"
	ListSavedSearchesResourceTypeImpactAnalytics       ListSavedSearchesResourceType = "impact_analytics"
	ListSavedSearchesResourceTypeAlerts                ListSavedSearchesResourceType = "alerts"
	ListSavedSearchesResourceTypeIncidentEvents        ListSavedSearchesResourceType = "incident_events"
)

func (ListSavedSearchesResourceType) ToPointer ¶

func (*ListSavedSearchesResourceType) UnmarshalJSON ¶

func (e *ListSavedSearchesResourceType) UnmarshalJSON(data []byte) error

type ListScheduledMaintenancesRequest ¶

type ListScheduledMaintenancesRequest struct {
	// Filter scheduled_maintenances with a query on their name
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListScheduledMaintenancesRequest) GetPage ¶

func (l *ListScheduledMaintenancesRequest) GetPage() *int

func (*ListScheduledMaintenancesRequest) GetPerPage ¶

func (l *ListScheduledMaintenancesRequest) GetPerPage() *int

func (*ListScheduledMaintenancesRequest) GetQuery ¶

type ListSchedulesRequest ¶

type ListSchedulesRequest struct {
	// Filter schedules with a query on their name
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListSchedulesRequest) GetPage ¶

func (l *ListSchedulesRequest) GetPage() *int

func (*ListSchedulesRequest) GetPerPage ¶

func (l *ListSchedulesRequest) GetPerPage() *int

func (*ListSchedulesRequest) GetQuery ¶

func (l *ListSchedulesRequest) GetQuery() *string

type ListScimGroupsRequest ¶

type ListScimGroupsRequest struct {
	StartIndex *int `queryParam:"style=form,explode=true,name=startIndex"`
	Count      *int `queryParam:"style=form,explode=true,name=count"`
	// This is a string used to query groups by displayName.
	//         Proper example syntax for this would be `?filter=displayName eq "My Team Name"`.
	//         Currently we only support the `eq` operator
	Filter *string `queryParam:"style=form,explode=true,name=filter"`
}

func (*ListScimGroupsRequest) GetCount ¶

func (l *ListScimGroupsRequest) GetCount() *int

func (*ListScimGroupsRequest) GetFilter ¶

func (l *ListScimGroupsRequest) GetFilter() *string

func (*ListScimGroupsRequest) GetStartIndex ¶

func (l *ListScimGroupsRequest) GetStartIndex() *int

type ListScimUsersRequest ¶

type ListScimUsersRequest struct {
	// This is a string used to query users by either userName or email.
	//         Proper example syntax for this would be `?filter=userName eq john` or `?filter=userName eq "john@firehydrant.com"`.
	//         Currently we only support the `eq` operator
	Filter *string `queryParam:"style=form,explode=true,name=filter"`
	// This is an integer which represents a pagination offset
	StartIndex *int `queryParam:"style=form,explode=true,name=startIndex"`
	// This is an integer which represents the number of items per page in the response
	Count *int `queryParam:"style=form,explode=true,name=count"`
}

func (*ListScimUsersRequest) GetCount ¶

func (l *ListScimUsersRequest) GetCount() *int

func (*ListScimUsersRequest) GetFilter ¶

func (l *ListScimUsersRequest) GetFilter() *string

func (*ListScimUsersRequest) GetStartIndex ¶

func (l *ListScimUsersRequest) GetStartIndex() *int

type ListServiceAvailableDownstreamDependenciesRequest ¶

type ListServiceAvailableDownstreamDependenciesRequest struct {
	ServiceID string `pathParam:"style=simple,explode=false,name=service_id"`
}

func (*ListServiceAvailableDownstreamDependenciesRequest) GetServiceID ¶

type ListServiceAvailableUpstreamDependenciesRequest ¶

type ListServiceAvailableUpstreamDependenciesRequest struct {
	ServiceID string `pathParam:"style=simple,explode=false,name=service_id"`
}

func (*ListServiceAvailableUpstreamDependenciesRequest) GetServiceID ¶

type ListServicesRequest ¶

type ListServicesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A comma separated list of label key / values in the format of 'key=value,key2=value2'. To filter change events that have a key (with no specific value), omit the value
	Labels *string `queryParam:"style=form,explode=true,name=labels"`
	// A query to search services by their name or description
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search services by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// A query to search services by their tier
	Tiers *string `queryParam:"style=form,explode=true,name=tiers"`
	// A query to search services by if they are impacted with active incidents
	Impacted *string `queryParam:"style=form,explode=true,name=impacted"`
	// A query to search services by their owner
	Owner *string `queryParam:"style=form,explode=true,name=owner"`
	// A comma separated list of team ids
	RespondingTeams *string `queryParam:"style=form,explode=true,name=responding_teams"`
	// A comma separated list of functionality ids
	Functionalities *string `queryParam:"style=form,explode=true,name=functionalities"`
	// A query to find services that are available to be downstream dependencies for the passed service ID
	AvailableDownstreamDependenciesForID *string `queryParam:"style=form,explode=true,name=available_downstream_dependencies_for_id"`
	// A query to find services that are available to be upstream dependencies for the passed service ID
	AvailableUpstreamDependenciesForID *string `queryParam:"style=form,explode=true,name=available_upstream_dependencies_for_id"`
	// Boolean to determine whether to return a slimified version of the services object
	Lite *bool `queryParam:"style=form,explode=true,name=lite"`
	// Use in conjunction with lite param to specify additional attributes to include
	Include []string `queryParam:"style=form,explode=false,name=include"`
}

func (*ListServicesRequest) GetAvailableDownstreamDependenciesForID ¶

func (l *ListServicesRequest) GetAvailableDownstreamDependenciesForID() *string

func (*ListServicesRequest) GetAvailableUpstreamDependenciesForID ¶

func (l *ListServicesRequest) GetAvailableUpstreamDependenciesForID() *string

func (*ListServicesRequest) GetFunctionalities ¶

func (l *ListServicesRequest) GetFunctionalities() *string

func (*ListServicesRequest) GetImpacted ¶

func (l *ListServicesRequest) GetImpacted() *string

func (*ListServicesRequest) GetInclude ¶

func (l *ListServicesRequest) GetInclude() []string

func (*ListServicesRequest) GetLabels ¶

func (l *ListServicesRequest) GetLabels() *string

func (*ListServicesRequest) GetLite ¶

func (l *ListServicesRequest) GetLite() *bool

func (*ListServicesRequest) GetName ¶

func (l *ListServicesRequest) GetName() *string

func (*ListServicesRequest) GetOwner ¶

func (l *ListServicesRequest) GetOwner() *string

func (*ListServicesRequest) GetPage ¶

func (l *ListServicesRequest) GetPage() *int

func (*ListServicesRequest) GetPerPage ¶

func (l *ListServicesRequest) GetPerPage() *int

func (*ListServicesRequest) GetQuery ¶

func (l *ListServicesRequest) GetQuery() *string

func (*ListServicesRequest) GetRespondingTeams ¶

func (l *ListServicesRequest) GetRespondingTeams() *string

func (*ListServicesRequest) GetTiers ¶

func (l *ListServicesRequest) GetTiers() *string

type ListSeveritiesRequest ¶

type ListSeveritiesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListSeveritiesRequest) GetPage ¶

func (l *ListSeveritiesRequest) GetPage() *int

func (*ListSeveritiesRequest) GetPerPage ¶

func (l *ListSeveritiesRequest) GetPerPage() *int

type ListSeverityMatrixConditionsRequest ¶

type ListSeverityMatrixConditionsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListSeverityMatrixConditionsRequest) GetPage ¶

func (*ListSeverityMatrixConditionsRequest) GetPerPage ¶

func (l *ListSeverityMatrixConditionsRequest) GetPerPage() *int

type ListSeverityMatrixImpactsRequest ¶

type ListSeverityMatrixImpactsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListSeverityMatrixImpactsRequest) GetPage ¶

func (l *ListSeverityMatrixImpactsRequest) GetPage() *int

func (*ListSeverityMatrixImpactsRequest) GetPerPage ¶

func (l *ListSeverityMatrixImpactsRequest) GetPerPage() *int

type ListSignalsEmailTargetsRequest ¶

type ListSignalsEmailTargetsRequest struct {
	// A query string to search the list of targets by.
	Query *string `queryParam:"style=form,explode=true,name=query"`
}

func (*ListSignalsEmailTargetsRequest) GetQuery ¶

func (l *ListSignalsEmailTargetsRequest) GetQuery() *string

type ListSignalsEventSourcesRequest ¶

type ListSignalsEventSourcesRequest struct {
	// Team ID to send signals to directly
	TeamID *string `queryParam:"style=form,explode=true,name=team_id"`
	// Escalation policy ID to send signals to directly. `team_id` is required if this is provided.
	EscalationPolicyID *string `queryParam:"style=form,explode=true,name=escalation_policy_id"`
	// On-call schedule ID to send signals to directly. `team_id` is required if this is provided.
	OnCallScheduleID *string `queryParam:"style=form,explode=true,name=on_call_schedule_id"`
	// User ID to send signals to directly
	UserID *string `queryParam:"style=form,explode=true,name=user_id"`
}

func (*ListSignalsEventSourcesRequest) GetEscalationPolicyID ¶

func (l *ListSignalsEventSourcesRequest) GetEscalationPolicyID() *string

func (*ListSignalsEventSourcesRequest) GetOnCallScheduleID ¶

func (l *ListSignalsEventSourcesRequest) GetOnCallScheduleID() *string

func (*ListSignalsEventSourcesRequest) GetTeamID ¶

func (l *ListSignalsEventSourcesRequest) GetTeamID() *string

func (*ListSignalsEventSourcesRequest) GetUserID ¶

func (l *ListSignalsEventSourcesRequest) GetUserID() *string

type ListSignalsWebhookTargetsRequest ¶

type ListSignalsWebhookTargetsRequest struct {
	// A query string for searching through the list of webhook targets.
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListSignalsWebhookTargetsRequest) GetPage ¶

func (l *ListSignalsWebhookTargetsRequest) GetPage() *int

func (*ListSignalsWebhookTargetsRequest) GetPerPage ¶

func (l *ListSignalsWebhookTargetsRequest) GetPerPage() *int

func (*ListSignalsWebhookTargetsRequest) GetQuery ¶

type ListSimilarIncidentsRequest ¶

type ListSimilarIncidentsRequest struct {
	Threshold  *float32 `default:"0.2" queryParam:"style=form,explode=true,name=threshold"`
	Limit      *int     `default:"5" queryParam:"style=form,explode=true,name=limit"`
	IncidentID string   `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListSimilarIncidentsRequest) GetIncidentID ¶

func (l *ListSimilarIncidentsRequest) GetIncidentID() string

func (*ListSimilarIncidentsRequest) GetLimit ¶

func (l *ListSimilarIncidentsRequest) GetLimit() *int

func (*ListSimilarIncidentsRequest) GetThreshold ¶

func (l *ListSimilarIncidentsRequest) GetThreshold() *float32

func (ListSimilarIncidentsRequest) MarshalJSON ¶

func (l ListSimilarIncidentsRequest) MarshalJSON() ([]byte, error)

func (*ListSimilarIncidentsRequest) UnmarshalJSON ¶

func (l *ListSimilarIncidentsRequest) UnmarshalJSON(data []byte) error

type ListSlackEmojiActionsRequest ¶

type ListSlackEmojiActionsRequest struct {
	// Slack Connection UUID
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
	Page         *int   `queryParam:"style=form,explode=true,name=page"`
	PerPage      *int   `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListSlackEmojiActionsRequest) GetConnectionID ¶

func (l *ListSlackEmojiActionsRequest) GetConnectionID() string

func (*ListSlackEmojiActionsRequest) GetPage ¶

func (l *ListSlackEmojiActionsRequest) GetPage() *int

func (*ListSlackEmojiActionsRequest) GetPerPage ¶

func (l *ListSlackEmojiActionsRequest) GetPerPage() *int

type ListSlackWorkspacesRequest ¶

type ListSlackWorkspacesRequest struct {
	// Connection UUID
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
}

func (*ListSlackWorkspacesRequest) GetConnectionID ¶

func (l *ListSlackWorkspacesRequest) GetConnectionID() string

type ListStatusUpdateTemplatesRequest ¶

type ListStatusUpdateTemplatesRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListStatusUpdateTemplatesRequest) GetPage ¶

func (l *ListStatusUpdateTemplatesRequest) GetPage() *int

func (*ListStatusUpdateTemplatesRequest) GetPerPage ¶

func (l *ListStatusUpdateTemplatesRequest) GetPerPage() *int

type ListStatuspageConnectionPagesRequest ¶

type ListStatuspageConnectionPagesRequest struct {
	// Connection UUID
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
}

func (*ListStatuspageConnectionPagesRequest) GetConnectionID ¶

func (l *ListStatuspageConnectionPagesRequest) GetConnectionID() string

type ListStatuspageConnectionsRequest ¶

type ListStatuspageConnectionsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListStatuspageConnectionsRequest) GetPage ¶

func (l *ListStatuspageConnectionsRequest) GetPage() *int

func (*ListStatuspageConnectionsRequest) GetPerPage ¶

func (l *ListStatuspageConnectionsRequest) GetPerPage() *int

type ListTaskListsRequest ¶

type ListTaskListsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListTaskListsRequest) GetPage ¶

func (l *ListTaskListsRequest) GetPage() *int

func (*ListTaskListsRequest) GetPerPage ¶

func (l *ListTaskListsRequest) GetPerPage() *int

type ListTeamCallRoutesRequest ¶

type ListTeamCallRoutesRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
}

func (*ListTeamCallRoutesRequest) GetTeamID ¶

func (l *ListTeamCallRoutesRequest) GetTeamID() string

type ListTeamEscalationPoliciesRequest ¶

type ListTeamEscalationPoliciesRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	// A query string for searching through the list of escalation policies.
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListTeamEscalationPoliciesRequest) GetPage ¶

func (l *ListTeamEscalationPoliciesRequest) GetPage() *int

func (*ListTeamEscalationPoliciesRequest) GetPerPage ¶

func (l *ListTeamEscalationPoliciesRequest) GetPerPage() *int

func (*ListTeamEscalationPoliciesRequest) GetQuery ¶

func (*ListTeamEscalationPoliciesRequest) GetTeamID ¶

type ListTeamOnCallSchedulesRequest ¶

type ListTeamOnCallSchedulesRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	// An optional ISO8601 timestamp for filtering the shifts listed in each on-call schedule to only include shifts that overlap with the provided time window. If provided, only shifts that end at or after this time will be included.
	ShiftTimeWindowStart *string `queryParam:"style=form,explode=true,name=shift_time_window_start"`
	// An optional ISO8601 timestamp for filtering the shifts listed in each on-call schedule to only include shifts that overlap with the provided time window.. If provided, only shifts that start at or before this time will be included.
	ShiftTimeWindowEnd *string `queryParam:"style=form,explode=true,name=shift_time_window_end"`
	// A query string for searching through the list of on-call schedules.
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListTeamOnCallSchedulesRequest) GetPage ¶

func (l *ListTeamOnCallSchedulesRequest) GetPage() *int

func (*ListTeamOnCallSchedulesRequest) GetPerPage ¶

func (l *ListTeamOnCallSchedulesRequest) GetPerPage() *int

func (*ListTeamOnCallSchedulesRequest) GetQuery ¶

func (l *ListTeamOnCallSchedulesRequest) GetQuery() *string

func (*ListTeamOnCallSchedulesRequest) GetShiftTimeWindowEnd ¶

func (l *ListTeamOnCallSchedulesRequest) GetShiftTimeWindowEnd() *string

func (*ListTeamOnCallSchedulesRequest) GetShiftTimeWindowStart ¶

func (l *ListTeamOnCallSchedulesRequest) GetShiftTimeWindowStart() *string

func (*ListTeamOnCallSchedulesRequest) GetTeamID ¶

func (l *ListTeamOnCallSchedulesRequest) GetTeamID() string

type ListTeamSignalRulesRequest ¶

type ListTeamSignalRulesRequest struct {
	TeamID string `pathParam:"style=simple,explode=false,name=team_id"`
	// A query string for searching through the list of alerting rules.
	Query   *string `queryParam:"style=form,explode=true,name=query"`
	Page    *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListTeamSignalRulesRequest) GetPage ¶

func (l *ListTeamSignalRulesRequest) GetPage() *int

func (*ListTeamSignalRulesRequest) GetPerPage ¶

func (l *ListTeamSignalRulesRequest) GetPerPage() *int

func (*ListTeamSignalRulesRequest) GetQuery ¶

func (l *ListTeamSignalRulesRequest) GetQuery() *string

func (*ListTeamSignalRulesRequest) GetTeamID ¶

func (l *ListTeamSignalRulesRequest) GetTeamID() string

type ListTeamsRequest ¶

type ListTeamsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A query to search teams by their name or description
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search teams by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// A comma separated list of service IDs
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// Filter by teams that have or do not have members with a default incident role asssigned. Value may be 'present', 'blank', or the ID of an incident role.
	DefaultIncidentRole *string `queryParam:"style=form,explode=true,name=default_incident_role"`
	// Boolean to determine whether to return a slimified version of the teams object
	Lite *bool `queryParam:"style=form,explode=true,name=lite"`
}

func (*ListTeamsRequest) GetDefaultIncidentRole ¶

func (l *ListTeamsRequest) GetDefaultIncidentRole() *string

func (*ListTeamsRequest) GetLite ¶

func (l *ListTeamsRequest) GetLite() *bool

func (*ListTeamsRequest) GetName ¶

func (l *ListTeamsRequest) GetName() *string

func (*ListTeamsRequest) GetPage ¶

func (l *ListTeamsRequest) GetPage() *int

func (*ListTeamsRequest) GetPerPage ¶

func (l *ListTeamsRequest) GetPerPage() *int

func (*ListTeamsRequest) GetQuery ¶

func (l *ListTeamsRequest) GetQuery() *string

func (*ListTeamsRequest) GetServices ¶

func (l *ListTeamsRequest) GetServices() *string

type ListTicketFunnelMetricsGroupBy ¶

type ListTicketFunnelMetricsGroupBy string
const (
	ListTicketFunnelMetricsGroupByStartedDay   ListTicketFunnelMetricsGroupBy = "started_day"
	ListTicketFunnelMetricsGroupByStartedWeek  ListTicketFunnelMetricsGroupBy = "started_week"
	ListTicketFunnelMetricsGroupByStartedMonth ListTicketFunnelMetricsGroupBy = "started_month"
	ListTicketFunnelMetricsGroupByAllTime      ListTicketFunnelMetricsGroupBy = "all_time"
)

func (ListTicketFunnelMetricsGroupBy) ToPointer ¶

func (*ListTicketFunnelMetricsGroupBy) UnmarshalJSON ¶

func (e *ListTicketFunnelMetricsGroupBy) UnmarshalJSON(data []byte) error

type ListTicketFunnelMetricsRequest ¶

type ListTicketFunnelMetricsRequest struct {
	// A JSON string that defines 'logic' and 'user_data'
	Conditions *string `queryParam:"style=form,explode=true,name=conditions"`
	// A comma separated list of environment IDs or 'is_empty' to filter for incidents with no impacted environments
	Environments *string `queryParam:"style=form,explode=true,name=environments"`
	// A comma separated list of service IDs or 'is_empty' to filter for incidents with no impacted services
	Services *string `queryParam:"style=form,explode=true,name=services"`
	// A comma separated list of functionality IDs or 'is_empty' to filter for incidents with no impacted functionalities
	Functionalities *string `queryParam:"style=form,explode=true,name=functionalities"`
	// A comma separated list of infrastructure IDs. Returns incidents that do not have the following infrastructure ids associated with them.
	ExcludedInfrastructureIds *string `queryParam:"style=form,explode=true,name=excluded_infrastructure_ids"`
	// A comma separated list of team IDs
	Teams *string `queryParam:"style=form,explode=true,name=teams"`
	// A comma separated list of IDs for assigned teams or 'is_empty' to filter for incidents with no active team assignments
	AssignedTeams *string `queryParam:"style=form,explode=true,name=assigned_teams"`
	// Incident status
	Status *string `queryParam:"style=form,explode=true,name=status"`
	// Filters for incidents that started on or after this date
	StartDate *time.Time `queryParam:"style=form,explode=true,name=start_date"`
	// Filters for incidents that started on or before this date
	EndDate *time.Time `queryParam:"style=form,explode=true,name=end_date"`
	// Filters for incidents that were resolved at or after this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_after"`
	// Filters for incidents that were resolved at or before this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.
	ResolvedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=resolved_at_or_before"`
	// Filters for incidents that were closed at or after this time
	ClosedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_after"`
	// Filters for incidents that were closed at or before this time
	ClosedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=closed_at_or_before"`
	// Filters for incidents that were created at or after this time
	CreatedAtOrAfter *time.Time `queryParam:"style=form,explode=true,name=created_at_or_after"`
	// Filters for incidents that were created at or before this time
	CreatedAtOrBefore *time.Time `queryParam:"style=form,explode=true,name=created_at_or_before"`
	// A text query for an incident that searches on name, summary, and desciption
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// A query to search incidents by their name
	Name *string `queryParam:"style=form,explode=true,name=name"`
	// The id of a previously saved search.
	SavedSearchID *string `queryParam:"style=form,explode=true,name=saved_search_id"`
	// A text value of priority
	Priorities *string `queryParam:"style=form,explode=true,name=priorities"`
	// Flag for including incidents where priority has not been set
	PriorityNotSet *bool `queryParam:"style=form,explode=true,name=priority_not_set"`
	// A text value of severity
	Severities *string `queryParam:"style=form,explode=true,name=severities"`
	// Flag for including incidents where severity has not been set
	SeverityNotSet *bool `queryParam:"style=form,explode=true,name=severity_not_set"`
	// A comma separated list of current milestones
	CurrentMilestones *string `queryParam:"style=form,explode=true,name=current_milestones"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A matching strategy for the tags provided
	TagMatchStrategy *ListTicketFunnelMetricsTagMatchStrategy `queryParam:"style=form,explode=true,name=tag_match_strategy"`
	// Return archived incidents
	Archived *bool `queryParam:"style=form,explode=true,name=archived"`
	// Filters for incidents that were updated after this date
	UpdatedAfter *time.Time `queryParam:"style=form,explode=true,name=updated_after"`
	// Filters for incidents that were updated before this date
	UpdatedBefore *time.Time `queryParam:"style=form,explode=true,name=updated_before"`
	// A comma separated list of incident type IDs
	IncidentTypeID *string `queryParam:"style=form,explode=true,name=incident_type_id"`
	// A comma separated list of retrospective template IDs
	RetrospectiveTemplates *string                             `queryParam:"style=form,explode=true,name=retrospective_templates"`
	RequestBody            *ListTicketFunnelMetricsRequestBody `request:"mediaType=multipart/form-data"`
}

func (*ListTicketFunnelMetricsRequest) GetArchived ¶

func (l *ListTicketFunnelMetricsRequest) GetArchived() *bool

func (*ListTicketFunnelMetricsRequest) GetAssignedTeams ¶

func (l *ListTicketFunnelMetricsRequest) GetAssignedTeams() *string

func (*ListTicketFunnelMetricsRequest) GetClosedAtOrAfter ¶

func (l *ListTicketFunnelMetricsRequest) GetClosedAtOrAfter() *time.Time

func (*ListTicketFunnelMetricsRequest) GetClosedAtOrBefore ¶

func (l *ListTicketFunnelMetricsRequest) GetClosedAtOrBefore() *time.Time

func (*ListTicketFunnelMetricsRequest) GetConditions ¶

func (l *ListTicketFunnelMetricsRequest) GetConditions() *string

func (*ListTicketFunnelMetricsRequest) GetCreatedAtOrAfter ¶

func (l *ListTicketFunnelMetricsRequest) GetCreatedAtOrAfter() *time.Time

func (*ListTicketFunnelMetricsRequest) GetCreatedAtOrBefore ¶

func (l *ListTicketFunnelMetricsRequest) GetCreatedAtOrBefore() *time.Time

func (*ListTicketFunnelMetricsRequest) GetCurrentMilestones ¶

func (l *ListTicketFunnelMetricsRequest) GetCurrentMilestones() *string

func (*ListTicketFunnelMetricsRequest) GetEndDate ¶

func (l *ListTicketFunnelMetricsRequest) GetEndDate() *time.Time

func (*ListTicketFunnelMetricsRequest) GetEnvironments ¶

func (l *ListTicketFunnelMetricsRequest) GetEnvironments() *string

func (*ListTicketFunnelMetricsRequest) GetExcludedInfrastructureIds ¶

func (l *ListTicketFunnelMetricsRequest) GetExcludedInfrastructureIds() *string

func (*ListTicketFunnelMetricsRequest) GetFunctionalities ¶

func (l *ListTicketFunnelMetricsRequest) GetFunctionalities() *string

func (*ListTicketFunnelMetricsRequest) GetIncidentTypeID ¶

func (l *ListTicketFunnelMetricsRequest) GetIncidentTypeID() *string

func (*ListTicketFunnelMetricsRequest) GetName ¶

func (l *ListTicketFunnelMetricsRequest) GetName() *string

func (*ListTicketFunnelMetricsRequest) GetPriorities ¶

func (l *ListTicketFunnelMetricsRequest) GetPriorities() *string

func (*ListTicketFunnelMetricsRequest) GetPriorityNotSet ¶

func (l *ListTicketFunnelMetricsRequest) GetPriorityNotSet() *bool

func (*ListTicketFunnelMetricsRequest) GetQuery ¶

func (l *ListTicketFunnelMetricsRequest) GetQuery() *string

func (*ListTicketFunnelMetricsRequest) GetRequestBody ¶

func (*ListTicketFunnelMetricsRequest) GetResolvedAtOrAfter ¶

func (l *ListTicketFunnelMetricsRequest) GetResolvedAtOrAfter() *time.Time

func (*ListTicketFunnelMetricsRequest) GetResolvedAtOrBefore ¶

func (l *ListTicketFunnelMetricsRequest) GetResolvedAtOrBefore() *time.Time

func (*ListTicketFunnelMetricsRequest) GetRetrospectiveTemplates ¶

func (l *ListTicketFunnelMetricsRequest) GetRetrospectiveTemplates() *string

func (*ListTicketFunnelMetricsRequest) GetSavedSearchID ¶

func (l *ListTicketFunnelMetricsRequest) GetSavedSearchID() *string

func (*ListTicketFunnelMetricsRequest) GetServices ¶

func (l *ListTicketFunnelMetricsRequest) GetServices() *string

func (*ListTicketFunnelMetricsRequest) GetSeverities ¶

func (l *ListTicketFunnelMetricsRequest) GetSeverities() *string

func (*ListTicketFunnelMetricsRequest) GetSeverityNotSet ¶

func (l *ListTicketFunnelMetricsRequest) GetSeverityNotSet() *bool

func (*ListTicketFunnelMetricsRequest) GetStartDate ¶

func (l *ListTicketFunnelMetricsRequest) GetStartDate() *time.Time

func (*ListTicketFunnelMetricsRequest) GetStatus ¶

func (l *ListTicketFunnelMetricsRequest) GetStatus() *string

func (*ListTicketFunnelMetricsRequest) GetTagMatchStrategy ¶

func (*ListTicketFunnelMetricsRequest) GetTags ¶

func (l *ListTicketFunnelMetricsRequest) GetTags() *string

func (*ListTicketFunnelMetricsRequest) GetTeams ¶

func (l *ListTicketFunnelMetricsRequest) GetTeams() *string

func (*ListTicketFunnelMetricsRequest) GetUpdatedAfter ¶

func (l *ListTicketFunnelMetricsRequest) GetUpdatedAfter() *time.Time

func (*ListTicketFunnelMetricsRequest) GetUpdatedBefore ¶

func (l *ListTicketFunnelMetricsRequest) GetUpdatedBefore() *time.Time

func (ListTicketFunnelMetricsRequest) MarshalJSON ¶

func (l ListTicketFunnelMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListTicketFunnelMetricsRequest) UnmarshalJSON ¶

func (l *ListTicketFunnelMetricsRequest) UnmarshalJSON(data []byte) error

type ListTicketFunnelMetricsRequestBody ¶

type ListTicketFunnelMetricsRequestBody struct {
	GroupBy []ListTicketFunnelMetricsGroupBy `multipartForm:"name=group_by"`
}

func (*ListTicketFunnelMetricsRequestBody) GetGroupBy ¶

type ListTicketFunnelMetricsTagMatchStrategy ¶

type ListTicketFunnelMetricsTagMatchStrategy string

ListTicketFunnelMetricsTagMatchStrategy - A matching strategy for the tags provided

const (
	ListTicketFunnelMetricsTagMatchStrategyAny      ListTicketFunnelMetricsTagMatchStrategy = "any"
	ListTicketFunnelMetricsTagMatchStrategyMatchAll ListTicketFunnelMetricsTagMatchStrategy = "match_all"
	ListTicketFunnelMetricsTagMatchStrategyExclude  ListTicketFunnelMetricsTagMatchStrategy = "exclude"
)

func (ListTicketFunnelMetricsTagMatchStrategy) ToPointer ¶

func (*ListTicketFunnelMetricsTagMatchStrategy) UnmarshalJSON ¶

func (e *ListTicketFunnelMetricsTagMatchStrategy) UnmarshalJSON(data []byte) error

type ListTicketTagsRequest ¶

type ListTicketTagsRequest struct {
	Prefix *string `queryParam:"style=form,explode=true,name=prefix"`
}

func (*ListTicketTagsRequest) GetPrefix ¶

func (l *ListTicketTagsRequest) GetPrefix() *string

type ListTicketingProjectsRequest ¶

type ListTicketingProjectsRequest struct {
	SupportsTicketTypes *string `queryParam:"style=form,explode=true,name=supports_ticket_types"`
	Providers           *string `queryParam:"style=form,explode=true,name=providers"`
	ConnectionIds       *string `queryParam:"style=form,explode=true,name=connection_ids"`
	ConfiguredProjects  *bool   `queryParam:"style=form,explode=true,name=configured_projects"`
	Query               *string `queryParam:"style=form,explode=true,name=query"`
	Page                *int    `queryParam:"style=form,explode=true,name=page"`
	PerPage             *int    `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListTicketingProjectsRequest) GetConfiguredProjects ¶

func (l *ListTicketingProjectsRequest) GetConfiguredProjects() *bool

func (*ListTicketingProjectsRequest) GetConnectionIds ¶

func (l *ListTicketingProjectsRequest) GetConnectionIds() *string

func (*ListTicketingProjectsRequest) GetPage ¶

func (l *ListTicketingProjectsRequest) GetPage() *int

func (*ListTicketingProjectsRequest) GetPerPage ¶

func (l *ListTicketingProjectsRequest) GetPerPage() *int

func (*ListTicketingProjectsRequest) GetProviders ¶

func (l *ListTicketingProjectsRequest) GetProviders() *string

func (*ListTicketingProjectsRequest) GetQuery ¶

func (l *ListTicketingProjectsRequest) GetQuery() *string

func (*ListTicketingProjectsRequest) GetSupportsTicketTypes ¶

func (l *ListTicketingProjectsRequest) GetSupportsTicketTypes() *string

type ListTicketsRequest ¶

type ListTicketsRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// A comma separated list of tags
	Tags *string `queryParam:"style=form,explode=true,name=tags"`
	// A matching strategy for the tags provided
	TagMatchStrategy *ListTicketsTagMatchStrategy `queryParam:"style=form,explode=true,name=tag_match_strategy"`
	// Filter tickets assigned to this user id
	AssignedUser *string `queryParam:"style=form,explode=true,name=assigned_user"`
	// Filter tickets by state
	State *State `queryParam:"style=form,explode=true,name=state"`
}

func (*ListTicketsRequest) GetAssignedUser ¶

func (l *ListTicketsRequest) GetAssignedUser() *string

func (*ListTicketsRequest) GetPage ¶

func (l *ListTicketsRequest) GetPage() *int

func (*ListTicketsRequest) GetPerPage ¶

func (l *ListTicketsRequest) GetPerPage() *int

func (*ListTicketsRequest) GetState ¶

func (l *ListTicketsRequest) GetState() *State

func (*ListTicketsRequest) GetTagMatchStrategy ¶

func (l *ListTicketsRequest) GetTagMatchStrategy() *ListTicketsTagMatchStrategy

func (*ListTicketsRequest) GetTags ¶

func (l *ListTicketsRequest) GetTags() *string

type ListTicketsTagMatchStrategy ¶

type ListTicketsTagMatchStrategy string

ListTicketsTagMatchStrategy - A matching strategy for the tags provided

const (
	ListTicketsTagMatchStrategyAny      ListTicketsTagMatchStrategy = "any"
	ListTicketsTagMatchStrategyMatchAll ListTicketsTagMatchStrategy = "match_all"
	ListTicketsTagMatchStrategyExclude  ListTicketsTagMatchStrategy = "exclude"
)

func (ListTicketsTagMatchStrategy) ToPointer ¶

func (*ListTicketsTagMatchStrategy) UnmarshalJSON ¶

func (e *ListTicketsTagMatchStrategy) UnmarshalJSON(data []byte) error

type ListTranscriptEntriesRequest ¶

type ListTranscriptEntriesRequest struct {
	// The ID of the transcript entry to start after.
	After *string `queryParam:"style=form,explode=true,name=after"`
	// The ID of the transcript entry to start before.
	Before *string `queryParam:"style=form,explode=true,name=before"`
	// The order to sort the transcript entries.
	Sort       *ListTranscriptEntriesSort `default:"asc" queryParam:"style=form,explode=true,name=sort"`
	IncidentID string                     `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*ListTranscriptEntriesRequest) GetAfter ¶

func (l *ListTranscriptEntriesRequest) GetAfter() *string

func (*ListTranscriptEntriesRequest) GetBefore ¶

func (l *ListTranscriptEntriesRequest) GetBefore() *string

func (*ListTranscriptEntriesRequest) GetIncidentID ¶

func (l *ListTranscriptEntriesRequest) GetIncidentID() string

func (*ListTranscriptEntriesRequest) GetSort ¶

func (ListTranscriptEntriesRequest) MarshalJSON ¶

func (l ListTranscriptEntriesRequest) MarshalJSON() ([]byte, error)

func (*ListTranscriptEntriesRequest) UnmarshalJSON ¶

func (l *ListTranscriptEntriesRequest) UnmarshalJSON(data []byte) error

type ListTranscriptEntriesSort ¶

type ListTranscriptEntriesSort string

ListTranscriptEntriesSort - The order to sort the transcript entries.

const (
	ListTranscriptEntriesSortAsc  ListTranscriptEntriesSort = "asc"
	ListTranscriptEntriesSortDesc ListTranscriptEntriesSort = "desc"
)

func (ListTranscriptEntriesSort) ToPointer ¶

func (*ListTranscriptEntriesSort) UnmarshalJSON ¶

func (e *ListTranscriptEntriesSort) UnmarshalJSON(data []byte) error

type ListUserInvolvementMetricsRequest ¶

type ListUserInvolvementMetricsRequest struct {
	// The start date to return metrics from
	StartDate *types.Date `queryParam:"style=form,explode=true,name=start_date"`
	// The end date to return metrics from
	EndDate       *types.Date                              `queryParam:"style=form,explode=true,name=end_date"`
	BucketSize    *string                                  `queryParam:"style=form,explode=true,name=bucket_size"`
	By            *string                                  `queryParam:"style=form,explode=true,name=by"`
	SortField     *ListUserInvolvementMetricsSortField     `queryParam:"style=form,explode=true,name=sort_field"`
	SortDirection *ListUserInvolvementMetricsSortDirection `queryParam:"style=form,explode=true,name=sort_direction"`
	SortLimit     *int                                     `queryParam:"style=form,explode=true,name=sort_limit"`
}

func (*ListUserInvolvementMetricsRequest) GetBucketSize ¶

func (l *ListUserInvolvementMetricsRequest) GetBucketSize() *string

func (*ListUserInvolvementMetricsRequest) GetBy ¶

func (*ListUserInvolvementMetricsRequest) GetEndDate ¶

func (l *ListUserInvolvementMetricsRequest) GetEndDate() *types.Date

func (*ListUserInvolvementMetricsRequest) GetSortDirection ¶

func (*ListUserInvolvementMetricsRequest) GetSortField ¶

func (*ListUserInvolvementMetricsRequest) GetSortLimit ¶

func (l *ListUserInvolvementMetricsRequest) GetSortLimit() *int

func (*ListUserInvolvementMetricsRequest) GetStartDate ¶

func (l *ListUserInvolvementMetricsRequest) GetStartDate() *types.Date

func (ListUserInvolvementMetricsRequest) MarshalJSON ¶

func (l ListUserInvolvementMetricsRequest) MarshalJSON() ([]byte, error)

func (*ListUserInvolvementMetricsRequest) UnmarshalJSON ¶

func (l *ListUserInvolvementMetricsRequest) UnmarshalJSON(data []byte) error

type ListUserInvolvementMetricsSortDirection ¶

type ListUserInvolvementMetricsSortDirection string
const (
	ListUserInvolvementMetricsSortDirectionAsc  ListUserInvolvementMetricsSortDirection = "asc"
	ListUserInvolvementMetricsSortDirectionDesc ListUserInvolvementMetricsSortDirection = "desc"
)

func (ListUserInvolvementMetricsSortDirection) ToPointer ¶

func (*ListUserInvolvementMetricsSortDirection) UnmarshalJSON ¶

func (e *ListUserInvolvementMetricsSortDirection) UnmarshalJSON(data []byte) error

type ListUserInvolvementMetricsSortField ¶

type ListUserInvolvementMetricsSortField string
const (
	ListUserInvolvementMetricsSortFieldUserCount     ListUserInvolvementMetricsSortField = "user_count"
	ListUserInvolvementMetricsSortFieldIncidentCount ListUserInvolvementMetricsSortField = "incident_count"
	ListUserInvolvementMetricsSortFieldTimeSpent     ListUserInvolvementMetricsSortField = "time_spent"
)

func (ListUserInvolvementMetricsSortField) ToPointer ¶

func (*ListUserInvolvementMetricsSortField) UnmarshalJSON ¶

func (e *ListUserInvolvementMetricsSortField) UnmarshalJSON(data []byte) error

type ListUserOwnedServicesRequest ¶

type ListUserOwnedServicesRequest struct {
	ID      string `pathParam:"style=simple,explode=false,name=id"`
	Page    *int   `queryParam:"style=form,explode=true,name=page"`
	PerPage *int   `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListUserOwnedServicesRequest) GetID ¶

func (*ListUserOwnedServicesRequest) GetPage ¶

func (l *ListUserOwnedServicesRequest) GetPage() *int

func (*ListUserOwnedServicesRequest) GetPerPage ¶

func (l *ListUserOwnedServicesRequest) GetPerPage() *int

type ListUsersRequest ¶

type ListUsersRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
	// Text string of a query to filter users by name or email
	Query *string `queryParam:"style=form,explode=true,name=query"`
	// Text string of a query to filter users by name
	Name *string `queryParam:"style=form,explode=true,name=name"`
}

func (*ListUsersRequest) GetName ¶

func (l *ListUsersRequest) GetName() *string

func (*ListUsersRequest) GetPage ¶

func (l *ListUsersRequest) GetPage() *int

func (*ListUsersRequest) GetPerPage ¶

func (l *ListUsersRequest) GetPerPage() *int

func (*ListUsersRequest) GetQuery ¶

func (l *ListUsersRequest) GetQuery() *string

type ListWebhookDeliveriesRequest ¶

type ListWebhookDeliveriesRequest struct {
	// ID of a webhook
	WebhookID string `pathParam:"style=simple,explode=false,name=webhook_id"`
}

func (*ListWebhookDeliveriesRequest) GetWebhookID ¶

func (l *ListWebhookDeliveriesRequest) GetWebhookID() string

type ListWebhooksRequest ¶

type ListWebhooksRequest struct {
	Page    *int `queryParam:"style=form,explode=true,name=page"`
	PerPage *int `queryParam:"style=form,explode=true,name=per_page"`
}

func (*ListWebhooksRequest) GetPage ¶

func (l *ListWebhooksRequest) GetPage() *int

func (*ListWebhooksRequest) GetPerPage ¶

func (l *ListWebhooksRequest) GetPerPage() *int

type OfLevel ¶

type OfLevel string

OfLevel - Returns logs of all levels equal to or above the provided level

const (
	OfLevelUnknown OfLevel = "unknown"
	OfLevelDebug   OfLevel = "debug"
	OfLevelInfo    OfLevel = "info"
	OfLevelWarn    OfLevel = "warn"
	OfLevelError   OfLevel = "error"
	OfLevelFatal   OfLevel = "fatal"
)

func (OfLevel) ToPointer ¶

func (e OfLevel) ToPointer() *OfLevel

func (*OfLevel) UnmarshalJSON ¶

func (e *OfLevel) UnmarshalJSON(data []byte) error

type Option ¶

type Option func(*Options, ...string) error

func WithAcceptHeaderOverride ¶

func WithAcceptHeaderOverride(acceptHeaderOverride AcceptHeaderEnum) Option

func WithOperationTimeout ¶

func WithOperationTimeout(timeout time.Duration) Option

WithOperationTimeout allows setting the request timeout applied for an operation.

func WithRetries ¶

func WithRetries(config retry.Config) Option

WithRetries allows customizing the default retry configuration.

func WithServerURL ¶

func WithServerURL(serverURL string) Option

WithServerURL allows providing an alternative server URL.

func WithSetHeaders ¶

func WithSetHeaders(hdrs map[string]string) Option

WithSetHeaders takes a map of headers that will applied to a request. If the request contains headers that are in the map then they will be overwritten.

func WithTemplatedServerURL ¶

func WithTemplatedServerURL(serverURL string, params map[string]string) Option

WithTemplatedServerURL allows providing an alternative server URL with templated parameters.

func WithURLOverride ¶

func WithURLOverride(urlOverride string) Option

WithURLOverride allows overriding the URL.

type Options ¶

type Options struct {
	ServerURL            *string
	Retries              *retry.Config
	Timeout              *time.Duration
	AcceptHeaderOverride *AcceptHeaderEnum
	URLOverride          *string
	SetHeaders           map[string]string
}

type OrderBy ¶

type OrderBy string

OrderBy - Sort runbooks by their updated date or name. Accepts 'updated_at', 'name', 'owner', 'last_executed_at', and 'created_at'.

const (
	OrderByUpdatedAt      OrderBy = "updated_at"
	OrderByName           OrderBy = "name"
	OrderByCreatedAt      OrderBy = "created_at"
	OrderByLastExecutedAt OrderBy = "last_executed_at"
	OrderByOwner          OrderBy = "owner"
)

func (OrderBy) ToPointer ¶

func (e OrderBy) ToPointer() *OrderBy

func (*OrderBy) UnmarshalJSON ¶

func (e *OrderBy) UnmarshalJSON(data []byte) error

type OrderDirection ¶

type OrderDirection string

OrderDirection - Allows assigning a direction to how the specified `order_by` parameter is sorted. This parameter must be paired with `order_by` and does nothing on its own.

const (
	OrderDirectionAsc  OrderDirection = "asc"
	OrderDirectionDesc OrderDirection = "desc"
)

func (OrderDirection) ToPointer ¶

func (e OrderDirection) ToPointer() *OrderDirection

func (*OrderDirection) UnmarshalJSON ¶

func (e *OrderDirection) UnmarshalJSON(data []byte) error

type OverrideOnCallScheduleRotationShiftsRequest ¶

type OverrideOnCallScheduleRotationShiftsRequest struct {
	RotationID                           string                                          `pathParam:"style=simple,explode=false,name=rotation_id"`
	TeamID                               string                                          `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID                           string                                          `pathParam:"style=simple,explode=false,name=schedule_id"`
	OverrideOnCallScheduleRotationShifts components.OverrideOnCallScheduleRotationShifts `request:"mediaType=application/json"`
}

func (*OverrideOnCallScheduleRotationShiftsRequest) GetOverrideOnCallScheduleRotationShifts ¶

func (*OverrideOnCallScheduleRotationShiftsRequest) GetRotationID ¶

func (*OverrideOnCallScheduleRotationShiftsRequest) GetScheduleID ¶

func (*OverrideOnCallScheduleRotationShiftsRequest) GetTeamID ¶

type PatchScimGroupRequest ¶

type PatchScimGroupRequest struct {
	ID             string                    `pathParam:"style=simple,explode=false,name=id"`
	PatchScimGroup components.PatchScimGroup `request:"mediaType=application/scim+json"`
}

func (*PatchScimGroupRequest) GetID ¶

func (p *PatchScimGroupRequest) GetID() string

func (*PatchScimGroupRequest) GetPatchScimGroup ¶

func (p *PatchScimGroupRequest) GetPatchScimGroup() components.PatchScimGroup

type PatchScimUserRequest ¶

type PatchScimUserRequest struct {
	ID            string                   `pathParam:"style=simple,explode=false,name=id"`
	PatchScimUser components.PatchScimUser `request:"mediaType=application/scim+json"`
}

func (*PatchScimUserRequest) GetID ¶

func (p *PatchScimUserRequest) GetID() string

func (*PatchScimUserRequest) GetPatchScimUser ¶

func (p *PatchScimUserRequest) GetPatchScimUser() components.PatchScimUser

type PreviewOnCallScheduleRotationRequest ¶

type PreviewOnCallScheduleRotationRequest struct {
	TeamID                        string                                   `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID                    string                                   `pathParam:"style=simple,explode=false,name=schedule_id"`
	PreviewOnCallScheduleRotation components.PreviewOnCallScheduleRotation `request:"mediaType=application/json"`
}

func (*PreviewOnCallScheduleRotationRequest) GetPreviewOnCallScheduleRotation ¶

func (*PreviewOnCallScheduleRotationRequest) GetScheduleID ¶

func (p *PreviewOnCallScheduleRotationRequest) GetScheduleID() string

func (*PreviewOnCallScheduleRotationRequest) GetTeamID ¶

type PreviewTeamOnCallScheduleRequest ¶

type PreviewTeamOnCallScheduleRequest struct {
	TeamID                    string                               `pathParam:"style=simple,explode=false,name=team_id"`
	PreviewTeamOnCallSchedule components.PreviewTeamOnCallSchedule `request:"mediaType=application/json"`
}

func (*PreviewTeamOnCallScheduleRequest) GetPreviewTeamOnCallSchedule ¶

func (p *PreviewTeamOnCallScheduleRequest) GetPreviewTeamOnCallSchedule() components.PreviewTeamOnCallSchedule

func (*PreviewTeamOnCallScheduleRequest) GetTeamID ¶

type PublishPostMortemReportRequest ¶

type PublishPostMortemReportRequest struct {
	ReportID                string                             `pathParam:"style=simple,explode=false,name=report_id"`
	PublishPostMortemReport components.PublishPostMortemReport `request:"mediaType=application/json"`
}

func (*PublishPostMortemReportRequest) GetPublishPostMortemReport ¶

func (p *PublishPostMortemReportRequest) GetPublishPostMortemReport() components.PublishPostMortemReport

func (*PublishPostMortemReportRequest) GetReportID ¶

func (p *PublishPostMortemReportRequest) GetReportID() string

type RefreshCatalogRequest ¶

type RefreshCatalogRequest struct {
	CatalogID string `pathParam:"style=simple,explode=false,name=catalog_id"`
}

func (*RefreshCatalogRequest) GetCatalogID ¶

func (r *RefreshCatalogRequest) GetCatalogID() string

type RefreshConnectionRequest ¶

type RefreshConnectionRequest struct {
	Slug         string `pathParam:"style=simple,explode=false,name=slug"`
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
}

func (*RefreshConnectionRequest) GetConnectionID ¶

func (r *RefreshConnectionRequest) GetConnectionID() string

func (*RefreshConnectionRequest) GetSlug ¶

func (r *RefreshConnectionRequest) GetSlug() string

type ReorderPostMortemReasonsRequest ¶

type ReorderPostMortemReasonsRequest struct {
	ReportID                 string                              `pathParam:"style=simple,explode=false,name=report_id"`
	ReorderPostMortemReasons components.ReorderPostMortemReasons `request:"mediaType=application/json"`
}

func (*ReorderPostMortemReasonsRequest) GetReorderPostMortemReasons ¶

func (r *ReorderPostMortemReasonsRequest) GetReorderPostMortemReasons() components.ReorderPostMortemReasons

func (*ReorderPostMortemReasonsRequest) GetReportID ¶

func (r *ReorderPostMortemReasonsRequest) GetReportID() string

type ResolveIncidentRequest ¶

type ResolveIncidentRequest struct {
	IncidentID  string                      `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody *ResolveIncidentRequestBody `request:"mediaType=application/json"`
}

func (*ResolveIncidentRequest) GetIncidentID ¶

func (r *ResolveIncidentRequest) GetIncidentID() string

func (*ResolveIncidentRequest) GetRequestBody ¶

type ResolveIncidentRequestBody ¶

type ResolveIncidentRequestBody struct {
	// The slug of any milestone in the post-incident or closed phase to set on the incident (and its children, if `resolve_children` os set). Must be one of the configured milestones available on this incident.
	Milestone *string `json:"milestone,omitempty"`
}

func (*ResolveIncidentRequestBody) GetMilestone ¶

func (r *ResolveIncidentRequestBody) GetMilestone() *string

type RestoreAudienceRequest ¶

type RestoreAudienceRequest struct {
	// Unique identifier of the audience
	AudienceID string `pathParam:"style=simple,explode=false,name=audience_id"`
}

func (*RestoreAudienceRequest) GetAudienceID ¶

func (r *RestoreAudienceRequest) GetAudienceID() string

type SearchConfluenceSpacesRequest ¶

type SearchConfluenceSpacesRequest struct {
	ID string `pathParam:"style=simple,explode=false,name=id"`
	// Space Key
	Keyword *string `queryParam:"style=form,explode=true,name=keyword"`
}

func (*SearchConfluenceSpacesRequest) GetID ¶

func (*SearchConfluenceSpacesRequest) GetKeyword ¶

func (s *SearchConfluenceSpacesRequest) GetKeyword() *string

type SearchZendeskTicketsRequest ¶

type SearchZendeskTicketsRequest struct {
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
	Query        string `queryParam:"style=form,explode=true,name=query"`
	Page         *int   `queryParam:"style=form,explode=true,name=page"`
	PerPage      *int   `queryParam:"style=form,explode=true,name=per_page"`
}

func (*SearchZendeskTicketsRequest) GetConnectionID ¶

func (s *SearchZendeskTicketsRequest) GetConnectionID() string

func (*SearchZendeskTicketsRequest) GetPage ¶

func (s *SearchZendeskTicketsRequest) GetPage() *int

func (*SearchZendeskTicketsRequest) GetPerPage ¶

func (s *SearchZendeskTicketsRequest) GetPerPage() *int

func (*SearchZendeskTicketsRequest) GetQuery ¶

func (s *SearchZendeskTicketsRequest) GetQuery() string

type SectionsSlug ¶

type SectionsSlug string
const (
	SectionsSlugTimeline  SectionsSlug = "timeline"
	SectionsSlugKeyData   SectionsSlug = "key_data"
	SectionsSlugDetails   SectionsSlug = "details"
	SectionsSlugResources SectionsSlug = "resources"
	SectionsSlugActions   SectionsSlug = "actions"
)

func (SectionsSlug) ToPointer ¶

func (e SectionsSlug) ToPointer() *SectionsSlug

func (*SectionsSlug) UnmarshalJSON ¶

func (e *SectionsSlug) UnmarshalJSON(data []byte) error

type SetMemberDefaultAudienceRequest ¶

type SetMemberDefaultAudienceRequest struct {
	MemberID    int                                 `pathParam:"style=simple,explode=false,name=member_id"`
	RequestBody SetMemberDefaultAudienceRequestBody `request:"mediaType=application/json"`
}

func (*SetMemberDefaultAudienceRequest) GetMemberID ¶

func (s *SetMemberDefaultAudienceRequest) GetMemberID() int

func (*SetMemberDefaultAudienceRequest) GetRequestBody ¶

type SetMemberDefaultAudienceRequestBody ¶

type SetMemberDefaultAudienceRequestBody struct {
	// ID of the audience to set as default
	AudienceID string `json:"audience_id"`
}

func (*SetMemberDefaultAudienceRequestBody) GetAudienceID ¶

func (s *SetMemberDefaultAudienceRequestBody) GetAudienceID() string

type ShareIncidentRetrospectivesRequest ¶

type ShareIncidentRetrospectivesRequest struct {
	IncidentID  string                                 `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody ShareIncidentRetrospectivesRequestBody `request:"mediaType=application/json"`
}

func (*ShareIncidentRetrospectivesRequest) GetIncidentID ¶

func (s *ShareIncidentRetrospectivesRequest) GetIncidentID() string

func (*ShareIncidentRetrospectivesRequest) GetRequestBody ¶

type ShareIncidentRetrospectivesRequestBody ¶

type ShareIncidentRetrospectivesRequestBody struct {
	// An array of user IDs with whom to share the report
	UserIds []string `json:"user_ids,omitempty"`
	// An array of team IDs with whom to share the report
	TeamIds []string `json:"team_ids,omitempty"`
	// An array of retrospective IDs to share
	RetrospectiveIds []string `json:"retrospective_ids"`
}

func (*ShareIncidentRetrospectivesRequestBody) GetRetrospectiveIds ¶

func (s *ShareIncidentRetrospectivesRequestBody) GetRetrospectiveIds() []string

func (*ShareIncidentRetrospectivesRequestBody) GetTeamIds ¶

func (*ShareIncidentRetrospectivesRequestBody) GetUserIds ¶

type State ¶

type State string

State - Filter tickets by state

const (
	StateOpen       State = "open"
	StateInProgress State = "in_progress"
	StateCancelled  State = "cancelled"
	StateDone       State = "done"
)

func (State) ToPointer ¶

func (e State) ToPointer() *State

func (*State) UnmarshalJSON ¶

func (e *State) UnmarshalJSON(data []byte) error

type Status ¶

type Status string

Status - Filter on status of the role assignment

const (
	StatusActive   Status = "active"
	StatusInactive Status = "inactive"
)

func (Status) ToPointer ¶

func (e Status) ToPointer() *Status

func (*Status) UnmarshalJSON ¶

func (e *Status) UnmarshalJSON(data []byte) error

type TicketType ¶

type TicketType string

TicketType - Filter by ticket type. Values: incident, follow_up

const (
	TicketTypeIncident TicketType = "incident"
	TicketTypeFollowUp TicketType = "follow_up"
)

func (TicketType) ToPointer ¶

func (e TicketType) ToPointer() *TicketType

func (*TicketType) UnmarshalJSON ¶

func (e *TicketType) UnmarshalJSON(data []byte) error

type UnarchiveIncidentRequest ¶

type UnarchiveIncidentRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
}

func (*UnarchiveIncidentRequest) GetIncidentID ¶

func (u *UnarchiveIncidentRequest) GetIncidentID() string

type UpdateAiPreferencesRequest ¶

type UpdateAiPreferencesRequest struct {
	// Whether to enable AI features
	Ai *bool `json:"ai,omitempty"`
	// Whether to enable incident summaries
	Summaries *bool `json:"summaries,omitempty"`
	// Whether to enable incident descriptions
	Description *bool `json:"description,omitempty"`
	// Whether to enable incident impact
	Impact *bool `json:"impact,omitempty"`
	// Whether to enable incident updates
	Updates *bool `json:"updates,omitempty"`
	// Whether to enable incident retrospectives
	Retros *bool `json:"retros,omitempty"`
	// Whether to enable incident followups
	Followups *bool `json:"followups,omitempty"`
	// Whether to enable similar incidents
	SimilarIncidents *bool `json:"similar_incidents,omitempty"`
}

func (*UpdateAiPreferencesRequest) GetAi ¶

func (u *UpdateAiPreferencesRequest) GetAi() *bool

func (*UpdateAiPreferencesRequest) GetDescription ¶

func (u *UpdateAiPreferencesRequest) GetDescription() *bool

func (*UpdateAiPreferencesRequest) GetFollowups ¶

func (u *UpdateAiPreferencesRequest) GetFollowups() *bool

func (*UpdateAiPreferencesRequest) GetImpact ¶

func (u *UpdateAiPreferencesRequest) GetImpact() *bool

func (*UpdateAiPreferencesRequest) GetRetros ¶

func (u *UpdateAiPreferencesRequest) GetRetros() *bool

func (*UpdateAiPreferencesRequest) GetSimilarIncidents ¶

func (u *UpdateAiPreferencesRequest) GetSimilarIncidents() *bool

func (*UpdateAiPreferencesRequest) GetSummaries ¶

func (u *UpdateAiPreferencesRequest) GetSummaries() *bool

func (*UpdateAiPreferencesRequest) GetUpdates ¶

func (u *UpdateAiPreferencesRequest) GetUpdates() *bool

type UpdateAudienceRequest ¶

type UpdateAudienceRequest struct {
	// Unique identifier of the audience
	AudienceID  string                     `pathParam:"style=simple,explode=false,name=audience_id"`
	RequestBody *UpdateAudienceRequestBody `request:"mediaType=application/json"`
}

func (*UpdateAudienceRequest) GetAudienceID ¶

func (u *UpdateAudienceRequest) GetAudienceID() string

func (*UpdateAudienceRequest) GetRequestBody ¶

func (u *UpdateAudienceRequest) GetRequestBody() *UpdateAudienceRequestBody

type UpdateAudienceRequestBody ¶

type UpdateAudienceRequestBody struct {
	// Name of the audience (max 255 characters)
	Name *string `json:"name,omitempty"`
	// Description of the audience (max 4000 characters)
	Description *string `json:"description,omitempty"`
	// Whether this is the default audience
	Default *bool `json:"default,omitempty"`
	// Whether the audience is active or discarded
	Active *bool `json:"active,omitempty"`
	// The incident detail question (max 255 characters)
	DetailsQuestion []string `json:"details[question],omitempty"`
	// The prompt to display when collecting this detail
	DetailsPrompt []string `json:"details[prompt],omitempty"`
	// Optional unique identifier for this detail
	DetailsSlug []string `json:"details[slug],omitempty"`
	// Position of the question in the list (1-based indexing)
	DetailsPosition []int `json:"details[position],omitempty"`
}

func (*UpdateAudienceRequestBody) GetActive ¶

func (u *UpdateAudienceRequestBody) GetActive() *bool

func (*UpdateAudienceRequestBody) GetDefault ¶

func (u *UpdateAudienceRequestBody) GetDefault() *bool

func (*UpdateAudienceRequestBody) GetDescription ¶

func (u *UpdateAudienceRequestBody) GetDescription() *string

func (*UpdateAudienceRequestBody) GetDetailsPosition ¶

func (u *UpdateAudienceRequestBody) GetDetailsPosition() []int

func (*UpdateAudienceRequestBody) GetDetailsPrompt ¶

func (u *UpdateAudienceRequestBody) GetDetailsPrompt() []string

func (*UpdateAudienceRequestBody) GetDetailsQuestion ¶

func (u *UpdateAudienceRequestBody) GetDetailsQuestion() []string

func (*UpdateAudienceRequestBody) GetDetailsSlug ¶

func (u *UpdateAudienceRequestBody) GetDetailsSlug() []string

func (*UpdateAudienceRequestBody) GetName ¶

func (u *UpdateAudienceRequestBody) GetName() *string

type UpdateAuthedProviderRequest ¶

type UpdateAuthedProviderRequest struct {
	// Integration slug
	IntegrationSlug string `pathParam:"style=simple,explode=false,name=integration_slug"`
	// Connection ID
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
	// Authed provider ID
	AuthedProviderID string                           `pathParam:"style=simple,explode=false,name=authed_provider_id"`
	RequestBody      *UpdateAuthedProviderRequestBody `request:"mediaType=application/json"`
}

func (*UpdateAuthedProviderRequest) GetAuthedProviderID ¶

func (u *UpdateAuthedProviderRequest) GetAuthedProviderID() string

func (*UpdateAuthedProviderRequest) GetConnectionID ¶

func (u *UpdateAuthedProviderRequest) GetConnectionID() string

func (*UpdateAuthedProviderRequest) GetIntegrationSlug ¶

func (u *UpdateAuthedProviderRequest) GetIntegrationSlug() string

func (*UpdateAuthedProviderRequest) GetRequestBody ¶

type UpdateAuthedProviderRequestBody ¶

type UpdateAuthedProviderRequestBody struct {
	// Set as the default integration for the account
	IntegrationDefault *bool `json:"integration_default,omitempty"`
}

func (*UpdateAuthedProviderRequestBody) GetIntegrationDefault ¶

func (u *UpdateAuthedProviderRequestBody) GetIntegrationDefault() *bool

type UpdateAwsCloudtrailBatchRequest ¶

type UpdateAwsCloudtrailBatchRequest struct {
	ID                       string                              `pathParam:"style=simple,explode=false,name=id"`
	UpdateAwsCloudtrailBatch components.UpdateAwsCloudtrailBatch `request:"mediaType=application/json"`
}

func (*UpdateAwsCloudtrailBatchRequest) GetID ¶

func (*UpdateAwsCloudtrailBatchRequest) GetUpdateAwsCloudtrailBatch ¶

func (u *UpdateAwsCloudtrailBatchRequest) GetUpdateAwsCloudtrailBatch() components.UpdateAwsCloudtrailBatch

type UpdateAwsConnectionRequest ¶

type UpdateAwsConnectionRequest struct {
	ID                  string                         `pathParam:"style=simple,explode=false,name=id"`
	UpdateAwsConnection components.UpdateAwsConnection `request:"mediaType=application/json"`
}

func (*UpdateAwsConnectionRequest) GetID ¶

func (*UpdateAwsConnectionRequest) GetUpdateAwsConnection ¶

func (u *UpdateAwsConnectionRequest) GetUpdateAwsConnection() components.UpdateAwsConnection

type UpdateCallRouteRequest ¶

type UpdateCallRouteRequest struct {
	ID              string                     `pathParam:"style=simple,explode=false,name=id"`
	UpdateCallRoute components.UpdateCallRoute `request:"mediaType=application/json"`
}

func (*UpdateCallRouteRequest) GetID ¶

func (u *UpdateCallRouteRequest) GetID() string

func (*UpdateCallRouteRequest) GetUpdateCallRoute ¶

func (u *UpdateCallRouteRequest) GetUpdateCallRoute() components.UpdateCallRoute

type UpdateChangeEventRequest ¶

type UpdateChangeEventRequest struct {
	ChangeEventID     string                       `pathParam:"style=simple,explode=false,name=change_event_id"`
	UpdateChangeEvent components.UpdateChangeEvent `request:"mediaType=application/json"`
}

func (*UpdateChangeEventRequest) GetChangeEventID ¶

func (u *UpdateChangeEventRequest) GetChangeEventID() string

func (*UpdateChangeEventRequest) GetUpdateChangeEvent ¶

func (u *UpdateChangeEventRequest) GetUpdateChangeEvent() components.UpdateChangeEvent

type UpdateChangeIdentityRequest ¶

type UpdateChangeIdentityRequest struct {
	IdentityID           string                          `pathParam:"style=simple,explode=false,name=identity_id"`
	ChangeID             string                          `pathParam:"style=simple,explode=false,name=change_id"`
	UpdateChangeIdentity components.UpdateChangeIdentity `request:"mediaType=application/json"`
}

func (*UpdateChangeIdentityRequest) GetChangeID ¶

func (u *UpdateChangeIdentityRequest) GetChangeID() string

func (*UpdateChangeIdentityRequest) GetIdentityID ¶

func (u *UpdateChangeIdentityRequest) GetIdentityID() string

func (*UpdateChangeIdentityRequest) GetUpdateChangeIdentity ¶

func (u *UpdateChangeIdentityRequest) GetUpdateChangeIdentity() components.UpdateChangeIdentity

type UpdateChangeRequest ¶

type UpdateChangeRequest struct {
	ChangeID     string                  `pathParam:"style=simple,explode=false,name=change_id"`
	UpdateChange components.UpdateChange `request:"mediaType=application/json"`
}

func (*UpdateChangeRequest) GetChangeID ¶

func (u *UpdateChangeRequest) GetChangeID() string

func (*UpdateChangeRequest) GetUpdateChange ¶

func (u *UpdateChangeRequest) GetUpdateChange() components.UpdateChange

type UpdateChecklistTemplateRequest ¶

type UpdateChecklistTemplateRequest struct {
	ID                      string                             `pathParam:"style=simple,explode=false,name=id"`
	UpdateChecklistTemplate components.UpdateChecklistTemplate `request:"mediaType=application/json"`
}

func (*UpdateChecklistTemplateRequest) GetID ¶

func (*UpdateChecklistTemplateRequest) GetUpdateChecklistTemplate ¶

func (u *UpdateChecklistTemplateRequest) GetUpdateChecklistTemplate() components.UpdateChecklistTemplate

type UpdateCommentRequest ¶

type UpdateCommentRequest struct {
	CommentID      string                   `pathParam:"style=simple,explode=false,name=comment_id"`
	ConversationID string                   `pathParam:"style=simple,explode=false,name=conversation_id"`
	UpdateComment  components.UpdateComment `request:"mediaType=application/json"`
}

func (*UpdateCommentRequest) GetCommentID ¶

func (u *UpdateCommentRequest) GetCommentID() string

func (*UpdateCommentRequest) GetConversationID ¶

func (u *UpdateCommentRequest) GetConversationID() string

func (*UpdateCommentRequest) GetUpdateComment ¶

func (u *UpdateCommentRequest) GetUpdateComment() components.UpdateComment

type UpdateConnectionRequest ¶

type UpdateConnectionRequest struct {
	Slug         string `pathParam:"style=simple,explode=false,name=slug"`
	ConnectionID string `pathParam:"style=simple,explode=false,name=connection_id"`
}

func (*UpdateConnectionRequest) GetConnectionID ¶

func (u *UpdateConnectionRequest) GetConnectionID() string

func (*UpdateConnectionRequest) GetSlug ¶

func (u *UpdateConnectionRequest) GetSlug() string

type UpdateCustomFieldDefinitionRequest ¶

type UpdateCustomFieldDefinitionRequest struct {
	FieldID                     string                                 `pathParam:"style=simple,explode=false,name=field_id"`
	UpdateCustomFieldDefinition components.UpdateCustomFieldDefinition `request:"mediaType=application/json"`
}

func (*UpdateCustomFieldDefinitionRequest) GetFieldID ¶

func (*UpdateCustomFieldDefinitionRequest) GetUpdateCustomFieldDefinition ¶

type UpdateEnvironmentRequest ¶

type UpdateEnvironmentRequest struct {
	// Environment UUID
	EnvironmentID     string                       `pathParam:"style=simple,explode=false,name=environment_id"`
	UpdateEnvironment components.UpdateEnvironment `request:"mediaType=application/json"`
}

func (*UpdateEnvironmentRequest) GetEnvironmentID ¶

func (u *UpdateEnvironmentRequest) GetEnvironmentID() string

func (*UpdateEnvironmentRequest) GetUpdateEnvironment ¶

func (u *UpdateEnvironmentRequest) GetUpdateEnvironment() components.UpdateEnvironment

type UpdateFieldMapRequest ¶

type UpdateFieldMapRequest struct {
	FieldMapID string `pathParam:"style=simple,explode=false,name=field_map_id"`
}

func (*UpdateFieldMapRequest) GetFieldMapID ¶

func (u *UpdateFieldMapRequest) GetFieldMapID() string

type UpdateFunctionalityRequest ¶

type UpdateFunctionalityRequest struct {
	FunctionalityID     string                         `pathParam:"style=simple,explode=false,name=functionality_id"`
	UpdateFunctionality components.UpdateFunctionality `request:"mediaType=application/json"`
}

func (*UpdateFunctionalityRequest) GetFunctionalityID ¶

func (u *UpdateFunctionalityRequest) GetFunctionalityID() string

func (*UpdateFunctionalityRequest) GetUpdateFunctionality ¶

func (u *UpdateFunctionalityRequest) GetUpdateFunctionality() components.UpdateFunctionality

type UpdateInboundFieldMapRequest ¶

type UpdateInboundFieldMapRequest struct {
	MapID              string `pathParam:"style=simple,explode=false,name=map_id"`
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*UpdateInboundFieldMapRequest) GetMapID ¶

func (u *UpdateInboundFieldMapRequest) GetMapID() string

func (*UpdateInboundFieldMapRequest) GetTicketingProjectID ¶

func (u *UpdateInboundFieldMapRequest) GetTicketingProjectID() string

type UpdateIncidentAlertPrimaryRequest ¶

type UpdateIncidentAlertPrimaryRequest struct {
	IncidentAlertID            string                                `pathParam:"style=simple,explode=false,name=incident_alert_id"`
	IncidentID                 string                                `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentAlertPrimary components.UpdateIncidentAlertPrimary `request:"mediaType=application/json"`
}

func (*UpdateIncidentAlertPrimaryRequest) GetIncidentAlertID ¶

func (u *UpdateIncidentAlertPrimaryRequest) GetIncidentAlertID() string

func (*UpdateIncidentAlertPrimaryRequest) GetIncidentID ¶

func (u *UpdateIncidentAlertPrimaryRequest) GetIncidentID() string

func (*UpdateIncidentAlertPrimaryRequest) GetUpdateIncidentAlertPrimary ¶

func (u *UpdateIncidentAlertPrimaryRequest) GetUpdateIncidentAlertPrimary() components.UpdateIncidentAlertPrimary

type UpdateIncidentChangeEventRequest ¶

type UpdateIncidentChangeEventRequest struct {
	RelatedChangeEventID      string                               `pathParam:"style=simple,explode=false,name=related_change_event_id"`
	IncidentID                string                               `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentChangeEvent components.UpdateIncidentChangeEvent `request:"mediaType=application/json"`
}

func (*UpdateIncidentChangeEventRequest) GetIncidentID ¶

func (u *UpdateIncidentChangeEventRequest) GetIncidentID() string

func (*UpdateIncidentChangeEventRequest) GetRelatedChangeEventID ¶

func (u *UpdateIncidentChangeEventRequest) GetRelatedChangeEventID() string

func (*UpdateIncidentChangeEventRequest) GetUpdateIncidentChangeEvent ¶

func (u *UpdateIncidentChangeEventRequest) GetUpdateIncidentChangeEvent() components.UpdateIncidentChangeEvent

type UpdateIncidentChatMessageRequest ¶

type UpdateIncidentChatMessageRequest struct {
	MessageID                 string                               `pathParam:"style=simple,explode=false,name=message_id"`
	IncidentID                string                               `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentChatMessage components.UpdateIncidentChatMessage `request:"mediaType=application/json"`
}

func (*UpdateIncidentChatMessageRequest) GetIncidentID ¶

func (u *UpdateIncidentChatMessageRequest) GetIncidentID() string

func (*UpdateIncidentChatMessageRequest) GetMessageID ¶

func (u *UpdateIncidentChatMessageRequest) GetMessageID() string

func (*UpdateIncidentChatMessageRequest) GetUpdateIncidentChatMessage ¶

func (u *UpdateIncidentChatMessageRequest) GetUpdateIncidentChatMessage() components.UpdateIncidentChatMessage

type UpdateIncidentEventRequest ¶

type UpdateIncidentEventRequest struct {
	IncidentID string `pathParam:"style=simple,explode=false,name=incident_id"`
	EventID    string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*UpdateIncidentEventRequest) GetEventID ¶

func (u *UpdateIncidentEventRequest) GetEventID() string

func (*UpdateIncidentEventRequest) GetIncidentID ¶

func (u *UpdateIncidentEventRequest) GetIncidentID() string

type UpdateIncidentImpactPatchRequest ¶

type UpdateIncidentImpactPatchRequest struct {
	IncidentID                string                               `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentImpactPatch components.UpdateIncidentImpactPatch `request:"mediaType=application/json"`
}

func (*UpdateIncidentImpactPatchRequest) GetIncidentID ¶

func (u *UpdateIncidentImpactPatchRequest) GetIncidentID() string

func (*UpdateIncidentImpactPatchRequest) GetUpdateIncidentImpactPatch ¶

func (u *UpdateIncidentImpactPatchRequest) GetUpdateIncidentImpactPatch() components.UpdateIncidentImpactPatch

type UpdateIncidentImpactPutRequest ¶

type UpdateIncidentImpactPutRequest struct {
	IncidentID              string                             `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentImpactPut components.UpdateIncidentImpactPut `request:"mediaType=application/json"`
}

func (*UpdateIncidentImpactPutRequest) GetIncidentID ¶

func (u *UpdateIncidentImpactPutRequest) GetIncidentID() string

func (*UpdateIncidentImpactPutRequest) GetUpdateIncidentImpactPut ¶

func (u *UpdateIncidentImpactPutRequest) GetUpdateIncidentImpactPut() components.UpdateIncidentImpactPut

type UpdateIncidentLinkRequest ¶

type UpdateIncidentLinkRequest struct {
	LinkID             string                        `pathParam:"style=simple,explode=false,name=link_id"`
	IncidentID         string                        `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentLink components.UpdateIncidentLink `request:"mediaType=application/json"`
}

func (*UpdateIncidentLinkRequest) GetIncidentID ¶

func (u *UpdateIncidentLinkRequest) GetIncidentID() string

func (*UpdateIncidentLinkRequest) GetLinkID ¶

func (u *UpdateIncidentLinkRequest) GetLinkID() string
func (u *UpdateIncidentLinkRequest) GetUpdateIncidentLink() components.UpdateIncidentLink

type UpdateIncidentNoteRequest ¶

type UpdateIncidentNoteRequest struct {
	NoteID             string                        `pathParam:"style=simple,explode=false,name=note_id"`
	IncidentID         string                        `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentNote components.UpdateIncidentNote `request:"mediaType=application/json"`
}

func (*UpdateIncidentNoteRequest) GetIncidentID ¶

func (u *UpdateIncidentNoteRequest) GetIncidentID() string

func (*UpdateIncidentNoteRequest) GetNoteID ¶

func (u *UpdateIncidentNoteRequest) GetNoteID() string

func (*UpdateIncidentNoteRequest) GetUpdateIncidentNote ¶

func (u *UpdateIncidentNoteRequest) GetUpdateIncidentNote() components.UpdateIncidentNote

type UpdateIncidentRequest ¶

type UpdateIncidentRequest struct {
	IncidentID     string                    `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncident components.UpdateIncident `request:"mediaType=application/json"`
}

func (*UpdateIncidentRequest) GetIncidentID ¶

func (u *UpdateIncidentRequest) GetIncidentID() string

func (*UpdateIncidentRequest) GetUpdateIncident ¶

func (u *UpdateIncidentRequest) GetUpdateIncident() components.UpdateIncident

type UpdateIncidentRetrospectiveFieldRequest ¶

type UpdateIncidentRetrospectiveFieldRequest struct {
	RetrospectiveID                  string                                      `pathParam:"style=simple,explode=false,name=retrospective_id"`
	FieldID                          string                                      `pathParam:"style=simple,explode=false,name=field_id"`
	IncidentID                       string                                      `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentRetrospectiveField components.UpdateIncidentRetrospectiveField `request:"mediaType=application/json"`
}

func (*UpdateIncidentRetrospectiveFieldRequest) GetFieldID ¶

func (*UpdateIncidentRetrospectiveFieldRequest) GetIncidentID ¶

func (*UpdateIncidentRetrospectiveFieldRequest) GetRetrospectiveID ¶

func (u *UpdateIncidentRetrospectiveFieldRequest) GetRetrospectiveID() string

func (*UpdateIncidentRetrospectiveFieldRequest) GetUpdateIncidentRetrospectiveField ¶

type UpdateIncidentRetrospectiveRequest ¶

type UpdateIncidentRetrospectiveRequest struct {
	RetrospectiveID             string                                 `pathParam:"style=simple,explode=false,name=retrospective_id"`
	IncidentID                  string                                 `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentRetrospective components.UpdateIncidentRetrospective `request:"mediaType=application/json"`
}

func (*UpdateIncidentRetrospectiveRequest) GetIncidentID ¶

func (u *UpdateIncidentRetrospectiveRequest) GetIncidentID() string

func (*UpdateIncidentRetrospectiveRequest) GetRetrospectiveID ¶

func (u *UpdateIncidentRetrospectiveRequest) GetRetrospectiveID() string

func (*UpdateIncidentRetrospectiveRequest) GetUpdateIncidentRetrospective ¶

type UpdateIncidentRoleRequest ¶

type UpdateIncidentRoleRequest struct {
	IncidentRoleID     string                        `pathParam:"style=simple,explode=false,name=incident_role_id"`
	UpdateIncidentRole components.UpdateIncidentRole `request:"mediaType=application/json"`
}

func (*UpdateIncidentRoleRequest) GetIncidentRoleID ¶

func (u *UpdateIncidentRoleRequest) GetIncidentRoleID() string

func (*UpdateIncidentRoleRequest) GetUpdateIncidentRole ¶

func (u *UpdateIncidentRoleRequest) GetUpdateIncidentRole() components.UpdateIncidentRole

type UpdateIncidentTaskRequest ¶

type UpdateIncidentTaskRequest struct {
	TaskID             string                        `pathParam:"style=simple,explode=false,name=task_id"`
	IncidentID         string                        `pathParam:"style=simple,explode=false,name=incident_id"`
	UpdateIncidentTask components.UpdateIncidentTask `request:"mediaType=application/json"`
}

func (*UpdateIncidentTaskRequest) GetIncidentID ¶

func (u *UpdateIncidentTaskRequest) GetIncidentID() string

func (*UpdateIncidentTaskRequest) GetTaskID ¶

func (u *UpdateIncidentTaskRequest) GetTaskID() string

func (*UpdateIncidentTaskRequest) GetUpdateIncidentTask ¶

func (u *UpdateIncidentTaskRequest) GetUpdateIncidentTask() components.UpdateIncidentTask

type UpdateIncidentTypeRequest ¶

type UpdateIncidentTypeRequest struct {
	ID                 string                        `pathParam:"style=simple,explode=false,name=id"`
	UpdateIncidentType components.UpdateIncidentType `request:"mediaType=application/json"`
}

func (*UpdateIncidentTypeRequest) GetID ¶

func (u *UpdateIncidentTypeRequest) GetID() string

func (*UpdateIncidentTypeRequest) GetUpdateIncidentType ¶

func (u *UpdateIncidentTypeRequest) GetUpdateIncidentType() components.UpdateIncidentType

type UpdateLifecycleMeasurementDefinitionRequest ¶

type UpdateLifecycleMeasurementDefinitionRequest struct {
	MeasurementDefinitionID string                                           `pathParam:"style=simple,explode=false,name=measurement_definition_id"`
	RequestBody             *UpdateLifecycleMeasurementDefinitionRequestBody `request:"mediaType=application/json"`
}

func (*UpdateLifecycleMeasurementDefinitionRequest) GetMeasurementDefinitionID ¶

func (u *UpdateLifecycleMeasurementDefinitionRequest) GetMeasurementDefinitionID() string

func (*UpdateLifecycleMeasurementDefinitionRequest) GetRequestBody ¶

type UpdateLifecycleMeasurementDefinitionRequestBody ¶

type UpdateLifecycleMeasurementDefinitionRequestBody struct {
	Name                *string `json:"name,omitempty"`
	Slug                *string `json:"slug,omitempty"`
	Description         *string `json:"description,omitempty"`
	StartsAtMilestoneID *string `json:"starts_at_milestone_id,omitempty"`
	EndsAtMilestoneID   *string `json:"ends_at_milestone_id,omitempty"`
}

func (*UpdateLifecycleMeasurementDefinitionRequestBody) GetDescription ¶

func (*UpdateLifecycleMeasurementDefinitionRequestBody) GetEndsAtMilestoneID ¶

func (u *UpdateLifecycleMeasurementDefinitionRequestBody) GetEndsAtMilestoneID() *string

func (*UpdateLifecycleMeasurementDefinitionRequestBody) GetName ¶

func (*UpdateLifecycleMeasurementDefinitionRequestBody) GetSlug ¶

func (*UpdateLifecycleMeasurementDefinitionRequestBody) GetStartsAtMilestoneID ¶

func (u *UpdateLifecycleMeasurementDefinitionRequestBody) GetStartsAtMilestoneID() *string

type UpdateLifecycleMilestoneAutoAssignTimestampOnCreate ¶

type UpdateLifecycleMilestoneAutoAssignTimestampOnCreate string

UpdateLifecycleMilestoneAutoAssignTimestampOnCreate - The setting for auto-assigning the milestone's timestamp during incident declaration

const (
	UpdateLifecycleMilestoneAutoAssignTimestampOnCreateAlwaysSetOnCreate     UpdateLifecycleMilestoneAutoAssignTimestampOnCreate = "always_set_on_create"
	UpdateLifecycleMilestoneAutoAssignTimestampOnCreateOnlySetOnManualCreate UpdateLifecycleMilestoneAutoAssignTimestampOnCreate = "only_set_on_manual_create"
	UpdateLifecycleMilestoneAutoAssignTimestampOnCreateNeverSetOnCreate      UpdateLifecycleMilestoneAutoAssignTimestampOnCreate = "never_set_on_create"
)

func (UpdateLifecycleMilestoneAutoAssignTimestampOnCreate) ToPointer ¶

func (*UpdateLifecycleMilestoneAutoAssignTimestampOnCreate) UnmarshalJSON ¶

type UpdateLifecycleMilestoneRequest ¶

type UpdateLifecycleMilestoneRequest struct {
	MilestoneID string                               `pathParam:"style=simple,explode=false,name=milestone_id"`
	RequestBody *UpdateLifecycleMilestoneRequestBody `request:"mediaType=application/json"`
}

func (*UpdateLifecycleMilestoneRequest) GetMilestoneID ¶

func (u *UpdateLifecycleMilestoneRequest) GetMilestoneID() string

func (*UpdateLifecycleMilestoneRequest) GetRequestBody ¶

type UpdateLifecycleMilestoneRequestBody ¶

type UpdateLifecycleMilestoneRequestBody struct {
	// The name of the milestone
	Name *string `json:"name,omitempty"`
	// A long-form description of the milestone's purpose
	Description *string `json:"description,omitempty"`
	// A unique identifier for the milestone. If not provided, one will be generated from the name.
	Slug *string `json:"slug,omitempty"`
	// The position of the milestone within the phase. If not provided, the milestone will be added as the last milestone in the phase.
	Position *int `json:"position,omitempty"`
	// The ID of a later milestone that cannot be started until this milestone has a timestamp populated
	RequiredAtMilestoneID *string `json:"required_at_milestone_id,omitempty"`
	// The setting for auto-assigning the milestone's timestamp during incident declaration
	AutoAssignTimestampOnCreate *UpdateLifecycleMilestoneAutoAssignTimestampOnCreate `json:"auto_assign_timestamp_on_create,omitempty"`
}

func (*UpdateLifecycleMilestoneRequestBody) GetAutoAssignTimestampOnCreate ¶

func (*UpdateLifecycleMilestoneRequestBody) GetDescription ¶

func (u *UpdateLifecycleMilestoneRequestBody) GetDescription() *string

func (*UpdateLifecycleMilestoneRequestBody) GetName ¶

func (*UpdateLifecycleMilestoneRequestBody) GetPosition ¶

func (u *UpdateLifecycleMilestoneRequestBody) GetPosition() *int

func (*UpdateLifecycleMilestoneRequestBody) GetRequiredAtMilestoneID ¶

func (u *UpdateLifecycleMilestoneRequestBody) GetRequiredAtMilestoneID() *string

func (*UpdateLifecycleMilestoneRequestBody) GetSlug ¶

type UpdateNotificationPolicyNotificationGroupMethod ¶

type UpdateNotificationPolicyNotificationGroupMethod string

UpdateNotificationPolicyNotificationGroupMethod - The group method of notification that will be delivered.

const (
	UpdateNotificationPolicyNotificationGroupMethodAny        UpdateNotificationPolicyNotificationGroupMethod = "any"
	UpdateNotificationPolicyNotificationGroupMethodPush       UpdateNotificationPolicyNotificationGroupMethod = "push"
	UpdateNotificationPolicyNotificationGroupMethodEmail      UpdateNotificationPolicyNotificationGroupMethod = "email"
	UpdateNotificationPolicyNotificationGroupMethodVoice      UpdateNotificationPolicyNotificationGroupMethod = "voice"
	UpdateNotificationPolicyNotificationGroupMethodMobileText UpdateNotificationPolicyNotificationGroupMethod = "mobile_text"
	UpdateNotificationPolicyNotificationGroupMethodChat       UpdateNotificationPolicyNotificationGroupMethod = "chat"
)

func (UpdateNotificationPolicyNotificationGroupMethod) ToPointer ¶

func (*UpdateNotificationPolicyNotificationGroupMethod) UnmarshalJSON ¶

type UpdateNotificationPolicyPriority ¶

type UpdateNotificationPolicyPriority string

UpdateNotificationPolicyPriority - The priority of the notification.

const (
	UpdateNotificationPolicyPriorityHigh   UpdateNotificationPolicyPriority = "HIGH"
	UpdateNotificationPolicyPriorityMedium UpdateNotificationPolicyPriority = "MEDIUM"
	UpdateNotificationPolicyPriorityLow    UpdateNotificationPolicyPriority = "LOW"
)

func (UpdateNotificationPolicyPriority) ToPointer ¶

func (*UpdateNotificationPolicyPriority) UnmarshalJSON ¶

func (e *UpdateNotificationPolicyPriority) UnmarshalJSON(data []byte) error

type UpdateNotificationPolicyRequest ¶

type UpdateNotificationPolicyRequest struct {
	ID          string                               `pathParam:"style=simple,explode=false,name=id"`
	RequestBody *UpdateNotificationPolicyRequestBody `request:"mediaType=application/json"`
}

func (*UpdateNotificationPolicyRequest) GetID ¶

func (*UpdateNotificationPolicyRequest) GetRequestBody ¶

type UpdateNotificationPolicyRequestBody ¶

type UpdateNotificationPolicyRequestBody struct {
	// The group method of notification that will be delivered.
	NotificationGroupMethod *UpdateNotificationPolicyNotificationGroupMethod `json:"notification_group_method,omitempty"`
	// An ISO8601 duration string specifying the maximum delay of the notification.
	MaxDelay *string `json:"max_delay,omitempty"`
	// The priority of the notification.
	Priority *UpdateNotificationPolicyPriority `json:"priority,omitempty"`
}

func (*UpdateNotificationPolicyRequestBody) GetMaxDelay ¶

func (u *UpdateNotificationPolicyRequestBody) GetMaxDelay() *string

func (*UpdateNotificationPolicyRequestBody) GetNotificationGroupMethod ¶

func (*UpdateNotificationPolicyRequestBody) GetPriority ¶

type UpdateNuncComponentGroupRequest ¶

type UpdateNuncComponentGroupRequest struct {
	NuncConnectionID string                               `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	GroupID          string                               `pathParam:"style=simple,explode=false,name=group_id"`
	RequestBody      *UpdateNuncComponentGroupRequestBody `request:"mediaType=application/json"`
}

func (*UpdateNuncComponentGroupRequest) GetGroupID ¶

func (u *UpdateNuncComponentGroupRequest) GetGroupID() string

func (*UpdateNuncComponentGroupRequest) GetNuncConnectionID ¶

func (u *UpdateNuncComponentGroupRequest) GetNuncConnectionID() string

func (*UpdateNuncComponentGroupRequest) GetRequestBody ¶

type UpdateNuncComponentGroupRequestBody ¶

type UpdateNuncComponentGroupRequestBody struct {
	Name             *string `json:"name,omitempty"`
	ComponentGroupID *string `json:"component_group_id,omitempty"`
	Position         *int    `json:"position,omitempty"`
}

func (*UpdateNuncComponentGroupRequestBody) GetComponentGroupID ¶

func (u *UpdateNuncComponentGroupRequestBody) GetComponentGroupID() *string

func (*UpdateNuncComponentGroupRequestBody) GetName ¶

func (*UpdateNuncComponentGroupRequestBody) GetPosition ¶

func (u *UpdateNuncComponentGroupRequestBody) GetPosition() *int

type UpdateNuncConnectionRequest ¶

type UpdateNuncConnectionRequest struct {
	NuncConnectionID string                          `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	RequestBody      UpdateNuncConnectionRequestBody `request:"mediaType=application/json"`
}

func (*UpdateNuncConnectionRequest) GetNuncConnectionID ¶

func (u *UpdateNuncConnectionRequest) GetNuncConnectionID() string

func (*UpdateNuncConnectionRequest) GetRequestBody ¶

type UpdateNuncConnectionRequestBody ¶

type UpdateNuncConnectionRequestBody struct {
	CompanyName        *string `json:"company_name,omitempty"`
	CompanyWebsite     *string `json:"company_website,omitempty"`
	CompanyTosURL      *string `json:"company_tos_url,omitempty"`
	GreetingTitle      *string `json:"greeting_title,omitempty"`
	GreetingBody       *string `json:"greeting_body,omitempty"`
	OperationalMessage *string `json:"operational_message,omitempty"`
	Title              *string `json:"title,omitempty"`
	// Status page condition to map your severity matrix condition to
	ConditionsNuncCondition []string `json:"conditions[nunc_condition]"`
	// Severity matrix condition id
	ConditionsConditionID        []string `json:"conditions[condition_id]"`
	ComponentsInfrastructureType []string `json:"components[infrastructure_type]"`
	ComponentsInfrastructureID   []string `json:"components[infrastructure_id]"`
	PrimaryColor                 *string  `json:"primary_color,omitempty"`
	SecondaryColor               *string  `json:"secondary_color,omitempty"`
	ExposedFields                []string `json:"exposed_fields,omitempty"`
	EnableHistogram              *bool    `json:"enable_histogram,omitempty"`
	UIVersion                    *int     `json:"ui_version,omitempty"`
}

func (*UpdateNuncConnectionRequestBody) GetCompanyName ¶

func (u *UpdateNuncConnectionRequestBody) GetCompanyName() *string

func (*UpdateNuncConnectionRequestBody) GetCompanyTosURL ¶

func (u *UpdateNuncConnectionRequestBody) GetCompanyTosURL() *string

func (*UpdateNuncConnectionRequestBody) GetCompanyWebsite ¶

func (u *UpdateNuncConnectionRequestBody) GetCompanyWebsite() *string

func (*UpdateNuncConnectionRequestBody) GetComponentsInfrastructureID ¶

func (u *UpdateNuncConnectionRequestBody) GetComponentsInfrastructureID() []string

func (*UpdateNuncConnectionRequestBody) GetComponentsInfrastructureType ¶

func (u *UpdateNuncConnectionRequestBody) GetComponentsInfrastructureType() []string

func (*UpdateNuncConnectionRequestBody) GetConditionsConditionID ¶

func (u *UpdateNuncConnectionRequestBody) GetConditionsConditionID() []string

func (*UpdateNuncConnectionRequestBody) GetConditionsNuncCondition ¶

func (u *UpdateNuncConnectionRequestBody) GetConditionsNuncCondition() []string

func (*UpdateNuncConnectionRequestBody) GetEnableHistogram ¶

func (u *UpdateNuncConnectionRequestBody) GetEnableHistogram() *bool

func (*UpdateNuncConnectionRequestBody) GetExposedFields ¶

func (u *UpdateNuncConnectionRequestBody) GetExposedFields() []string

func (*UpdateNuncConnectionRequestBody) GetGreetingBody ¶

func (u *UpdateNuncConnectionRequestBody) GetGreetingBody() *string

func (*UpdateNuncConnectionRequestBody) GetGreetingTitle ¶

func (u *UpdateNuncConnectionRequestBody) GetGreetingTitle() *string

func (*UpdateNuncConnectionRequestBody) GetOperationalMessage ¶

func (u *UpdateNuncConnectionRequestBody) GetOperationalMessage() *string

func (*UpdateNuncConnectionRequestBody) GetPrimaryColor ¶

func (u *UpdateNuncConnectionRequestBody) GetPrimaryColor() *string

func (*UpdateNuncConnectionRequestBody) GetSecondaryColor ¶

func (u *UpdateNuncConnectionRequestBody) GetSecondaryColor() *string

func (*UpdateNuncConnectionRequestBody) GetTitle ¶

func (u *UpdateNuncConnectionRequestBody) GetTitle() *string

func (*UpdateNuncConnectionRequestBody) GetUIVersion ¶

func (u *UpdateNuncConnectionRequestBody) GetUIVersion() *int

type UpdateNuncImageFile ¶

type UpdateNuncImageFile struct {
	FileName string `multipartForm:"name=fileName"`
	// This field accepts []byte data or io.Reader implementations, such as *os.File.
	Content any `multipartForm:"content"`
}

func (*UpdateNuncImageFile) GetContent ¶

func (u *UpdateNuncImageFile) GetContent() any

func (*UpdateNuncImageFile) GetFileName ¶

func (u *UpdateNuncImageFile) GetFileName() string

type UpdateNuncImageRequest ¶

type UpdateNuncImageRequest struct {
	NuncConnectionID string                      `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	Type             string                      `pathParam:"style=simple,explode=false,name=type"`
	RequestBody      *UpdateNuncImageRequestBody `request:"mediaType=multipart/form-data"`
}

func (*UpdateNuncImageRequest) GetNuncConnectionID ¶

func (u *UpdateNuncImageRequest) GetNuncConnectionID() string

func (*UpdateNuncImageRequest) GetRequestBody ¶

func (*UpdateNuncImageRequest) GetType ¶

func (u *UpdateNuncImageRequest) GetType() string

type UpdateNuncImageRequestBody ¶

type UpdateNuncImageRequestBody struct {
	File *UpdateNuncImageFile `multipartForm:"file,name=file"`
}

func (*UpdateNuncImageRequestBody) GetFile ¶

type UpdateNuncLinkRequest ¶

type UpdateNuncLinkRequest struct {
	NuncConnectionID string                    `pathParam:"style=simple,explode=false,name=nunc_connection_id"`
	LinkID           string                    `pathParam:"style=simple,explode=false,name=link_id"`
	UpdateNuncLink   components.UpdateNuncLink `request:"mediaType=application/json"`
}

func (*UpdateNuncLinkRequest) GetLinkID ¶

func (u *UpdateNuncLinkRequest) GetLinkID() string

func (*UpdateNuncLinkRequest) GetNuncConnectionID ¶

func (u *UpdateNuncLinkRequest) GetNuncConnectionID() string
func (u *UpdateNuncLinkRequest) GetUpdateNuncLink() components.UpdateNuncLink

type UpdateOnCallScheduleRotationRequest ¶

type UpdateOnCallScheduleRotationRequest struct {
	RotationID                   string                                  `pathParam:"style=simple,explode=false,name=rotation_id"`
	TeamID                       string                                  `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID                   string                                  `pathParam:"style=simple,explode=false,name=schedule_id"`
	UpdateOnCallScheduleRotation components.UpdateOnCallScheduleRotation `request:"mediaType=application/json"`
}

func (*UpdateOnCallScheduleRotationRequest) GetRotationID ¶

func (u *UpdateOnCallScheduleRotationRequest) GetRotationID() string

func (*UpdateOnCallScheduleRotationRequest) GetScheduleID ¶

func (u *UpdateOnCallScheduleRotationRequest) GetScheduleID() string

func (*UpdateOnCallScheduleRotationRequest) GetTeamID ¶

func (*UpdateOnCallScheduleRotationRequest) GetUpdateOnCallScheduleRotation ¶

type UpdateOnCallShiftRequest ¶

type UpdateOnCallShiftRequest struct {
	ID                string                       `pathParam:"style=simple,explode=false,name=id"`
	TeamID            string                       `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID        string                       `pathParam:"style=simple,explode=false,name=schedule_id"`
	UpdateOnCallShift components.UpdateOnCallShift `request:"mediaType=application/json"`
}

func (*UpdateOnCallShiftRequest) GetID ¶

func (u *UpdateOnCallShiftRequest) GetID() string

func (*UpdateOnCallShiftRequest) GetScheduleID ¶

func (u *UpdateOnCallShiftRequest) GetScheduleID() string

func (*UpdateOnCallShiftRequest) GetTeamID ¶

func (u *UpdateOnCallShiftRequest) GetTeamID() string

func (*UpdateOnCallShiftRequest) GetUpdateOnCallShift ¶

func (u *UpdateOnCallShiftRequest) GetUpdateOnCallShift() components.UpdateOnCallShift

type UpdatePostMortemFieldRequest ¶

type UpdatePostMortemFieldRequest struct {
	FieldID               string                           `pathParam:"style=simple,explode=false,name=field_id"`
	ReportID              string                           `pathParam:"style=simple,explode=false,name=report_id"`
	UpdatePostMortemField components.UpdatePostMortemField `request:"mediaType=application/json"`
}

func (*UpdatePostMortemFieldRequest) GetFieldID ¶

func (u *UpdatePostMortemFieldRequest) GetFieldID() string

func (*UpdatePostMortemFieldRequest) GetReportID ¶

func (u *UpdatePostMortemFieldRequest) GetReportID() string

func (*UpdatePostMortemFieldRequest) GetUpdatePostMortemField ¶

func (u *UpdatePostMortemFieldRequest) GetUpdatePostMortemField() components.UpdatePostMortemField

type UpdatePostMortemReasonRequest ¶

type UpdatePostMortemReasonRequest struct {
	ReportID               string                            `pathParam:"style=simple,explode=false,name=report_id"`
	ReasonID               string                            `pathParam:"style=simple,explode=false,name=reason_id"`
	UpdatePostMortemReason components.UpdatePostMortemReason `request:"mediaType=application/json"`
}

func (*UpdatePostMortemReasonRequest) GetReasonID ¶

func (u *UpdatePostMortemReasonRequest) GetReasonID() string

func (*UpdatePostMortemReasonRequest) GetReportID ¶

func (u *UpdatePostMortemReasonRequest) GetReportID() string

func (*UpdatePostMortemReasonRequest) GetUpdatePostMortemReason ¶

func (u *UpdatePostMortemReasonRequest) GetUpdatePostMortemReason() components.UpdatePostMortemReason

type UpdatePostMortemReportRequest ¶

type UpdatePostMortemReportRequest struct {
	ReportID               string                            `pathParam:"style=simple,explode=false,name=report_id"`
	UpdatePostMortemReport components.UpdatePostMortemReport `request:"mediaType=application/json"`
}

func (*UpdatePostMortemReportRequest) GetReportID ¶

func (u *UpdatePostMortemReportRequest) GetReportID() string

func (*UpdatePostMortemReportRequest) GetUpdatePostMortemReport ¶

func (u *UpdatePostMortemReportRequest) GetUpdatePostMortemReport() components.UpdatePostMortemReport

type UpdatePriorityRequest ¶

type UpdatePriorityRequest struct {
	PrioritySlug   string                    `pathParam:"style=simple,explode=false,name=priority_slug"`
	UpdatePriority components.UpdatePriority `request:"mediaType=application/json"`
}

func (*UpdatePriorityRequest) GetPrioritySlug ¶

func (u *UpdatePriorityRequest) GetPrioritySlug() string

func (*UpdatePriorityRequest) GetUpdatePriority ¶

func (u *UpdatePriorityRequest) GetUpdatePriority() components.UpdatePriority

type UpdateRetrospectiveTemplateFieldsType ¶

type UpdateRetrospectiveTemplateFieldsType string
const (
	UpdateRetrospectiveTemplateFieldsTypeText              UpdateRetrospectiveTemplateFieldsType = "text"
	UpdateRetrospectiveTemplateFieldsTypeSingleSelect      UpdateRetrospectiveTemplateFieldsType = "single_select"
	UpdateRetrospectiveTemplateFieldsTypeMultiSelect       UpdateRetrospectiveTemplateFieldsType = "multi_select"
	UpdateRetrospectiveTemplateFieldsTypeNumeric           UpdateRetrospectiveTemplateFieldsType = "numeric"
	UpdateRetrospectiveTemplateFieldsTypeDatetime          UpdateRetrospectiveTemplateFieldsType = "datetime"
	UpdateRetrospectiveTemplateFieldsTypeDynamicInputGroup UpdateRetrospectiveTemplateFieldsType = "dynamic_input_group"
	UpdateRetrospectiveTemplateFieldsTypeMarkdown          UpdateRetrospectiveTemplateFieldsType = "markdown"
	UpdateRetrospectiveTemplateFieldsTypeMarkdownText      UpdateRetrospectiveTemplateFieldsType = "markdown_text"
)

func (UpdateRetrospectiveTemplateFieldsType) ToPointer ¶

func (*UpdateRetrospectiveTemplateFieldsType) UnmarshalJSON ¶

func (e *UpdateRetrospectiveTemplateFieldsType) UnmarshalJSON(data []byte) error

type UpdateRetrospectiveTemplateRequest ¶

type UpdateRetrospectiveTemplateRequest struct {
	RetrospectiveTemplateID string                                 `pathParam:"style=simple,explode=false,name=retrospective_template_id"`
	RequestBody             UpdateRetrospectiveTemplateRequestBody `request:"mediaType=application/json"`
}

func (*UpdateRetrospectiveTemplateRequest) GetRequestBody ¶

func (*UpdateRetrospectiveTemplateRequest) GetRetrospectiveTemplateID ¶

func (u *UpdateRetrospectiveTemplateRequest) GetRetrospectiveTemplateID() string

type UpdateRetrospectiveTemplateRequestBody ¶

type UpdateRetrospectiveTemplateRequestBody struct {
	Name                        *string                                 `json:"name,omitempty"`
	Description                 *string                                 `json:"description,omitempty"`
	IsDefault                   *bool                                   `json:"is_default,omitempty"`
	SectionsSlug                []string                                `json:"sections[slug]"`
	SectionsElements            []string                                `json:"sections[elements]"`
	FieldsID                    []string                                `json:"fields[id],omitempty"`
	FieldsLabel                 []string                                `json:"fields[label]"`
	FieldsType                  []UpdateRetrospectiveTemplateFieldsType `json:"fields[type]"`
	FieldsHelpText              []string                                `json:"fields[help_text],omitempty"`
	FieldsPermissibleValues     []string                                `json:"fields[permissible_values],omitempty"`
	FieldsIsRequired            []bool                                  `json:"fields[is_required],omitempty"`
	FieldsRequiredAtMilestoneID []string                                `json:"fields[required_at_milestone_id],omitempty"`
	FieldsSchema                []string                                `json:"fields[schema],omitempty"`
}

func (*UpdateRetrospectiveTemplateRequestBody) GetDescription ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetDescription() *string

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsHelpText ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetFieldsHelpText() []string

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsID ¶

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsIsRequired ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetFieldsIsRequired() []bool

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsLabel ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetFieldsLabel() []string

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsPermissibleValues ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetFieldsPermissibleValues() []string

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsRequiredAtMilestoneID ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetFieldsRequiredAtMilestoneID() []string

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsSchema ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetFieldsSchema() []string

func (*UpdateRetrospectiveTemplateRequestBody) GetFieldsType ¶

func (*UpdateRetrospectiveTemplateRequestBody) GetIsDefault ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetIsDefault() *bool

func (*UpdateRetrospectiveTemplateRequestBody) GetName ¶

func (*UpdateRetrospectiveTemplateRequestBody) GetSectionsElements ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetSectionsElements() []string

func (*UpdateRetrospectiveTemplateRequestBody) GetSectionsSlug ¶

func (u *UpdateRetrospectiveTemplateRequestBody) GetSectionsSlug() []string

type UpdateRoleRequest ¶

type UpdateRoleRequest struct {
	ID         string                `pathParam:"style=simple,explode=false,name=id"`
	UpdateRole components.UpdateRole `request:"mediaType=application/json"`
}

func (*UpdateRoleRequest) GetID ¶

func (u *UpdateRoleRequest) GetID() string

func (*UpdateRoleRequest) GetUpdateRole ¶

func (u *UpdateRoleRequest) GetUpdateRole() components.UpdateRole

type UpdateRunbookExecutionStepRequest ¶

type UpdateRunbookExecutionStepRequest struct {
	ExecutionID                string                                `pathParam:"style=simple,explode=false,name=execution_id"`
	StepID                     string                                `pathParam:"style=simple,explode=false,name=step_id"`
	UpdateRunbookExecutionStep components.UpdateRunbookExecutionStep `request:"mediaType=application/json"`
}

func (*UpdateRunbookExecutionStepRequest) GetExecutionID ¶

func (u *UpdateRunbookExecutionStepRequest) GetExecutionID() string

func (*UpdateRunbookExecutionStepRequest) GetStepID ¶

func (*UpdateRunbookExecutionStepRequest) GetUpdateRunbookExecutionStep ¶

func (u *UpdateRunbookExecutionStepRequest) GetUpdateRunbookExecutionStep() components.UpdateRunbookExecutionStep

type UpdateRunbookExecutionStepScriptRequest ¶

type UpdateRunbookExecutionStepScriptRequest struct {
	ExecutionID string `pathParam:"style=simple,explode=false,name=execution_id"`
	StepID      string `pathParam:"style=simple,explode=false,name=step_id"`
	State       string `pathParam:"style=simple,explode=false,name=state"`
}

func (*UpdateRunbookExecutionStepScriptRequest) GetExecutionID ¶

func (u *UpdateRunbookExecutionStepScriptRequest) GetExecutionID() string

func (*UpdateRunbookExecutionStepScriptRequest) GetState ¶

func (*UpdateRunbookExecutionStepScriptRequest) GetStepID ¶

type UpdateRunbookRequest ¶

type UpdateRunbookRequest struct {
	RunbookID     string                   `pathParam:"style=simple,explode=false,name=runbook_id"`
	UpdateRunbook components.UpdateRunbook `request:"mediaType=application/json"`
}

func (*UpdateRunbookRequest) GetRunbookID ¶

func (u *UpdateRunbookRequest) GetRunbookID() string

func (*UpdateRunbookRequest) GetUpdateRunbook ¶

func (u *UpdateRunbookRequest) GetUpdateRunbook() components.UpdateRunbook

type UpdateSavedSearchRequest ¶

type UpdateSavedSearchRequest struct {
	ResourceType      UpdateSavedSearchResourceType `pathParam:"style=simple,explode=false,name=resource_type"`
	SavedSearchID     string                        `pathParam:"style=simple,explode=false,name=saved_search_id"`
	UpdateSavedSearch components.UpdateSavedSearch  `request:"mediaType=application/json"`
}

func (*UpdateSavedSearchRequest) GetResourceType ¶

func (*UpdateSavedSearchRequest) GetSavedSearchID ¶

func (u *UpdateSavedSearchRequest) GetSavedSearchID() string

func (*UpdateSavedSearchRequest) GetUpdateSavedSearch ¶

func (u *UpdateSavedSearchRequest) GetUpdateSavedSearch() components.UpdateSavedSearch

type UpdateSavedSearchResourceType ¶

type UpdateSavedSearchResourceType string
const (
	UpdateSavedSearchResourceTypeChangeEvents          UpdateSavedSearchResourceType = "change_events"
	UpdateSavedSearchResourceTypeIncidents             UpdateSavedSearchResourceType = "incidents"
	UpdateSavedSearchResourceTypeServices              UpdateSavedSearchResourceType = "services"
	UpdateSavedSearchResourceTypeScheduledMaintenances UpdateSavedSearchResourceType = "scheduled_maintenances"
	UpdateSavedSearchResourceTypeTicketTasks           UpdateSavedSearchResourceType = "ticket_tasks"
	UpdateSavedSearchResourceTypeTicketFollowUps       UpdateSavedSearchResourceType = "ticket_follow_ups"
	UpdateSavedSearchResourceTypeAnalytics             UpdateSavedSearchResourceType = "analytics"
	UpdateSavedSearchResourceTypeImpactAnalytics       UpdateSavedSearchResourceType = "impact_analytics"
	UpdateSavedSearchResourceTypeAlerts                UpdateSavedSearchResourceType = "alerts"
	UpdateSavedSearchResourceTypeIncidentEvents        UpdateSavedSearchResourceType = "incident_events"
)

func (UpdateSavedSearchResourceType) ToPointer ¶

func (*UpdateSavedSearchResourceType) UnmarshalJSON ¶

func (e *UpdateSavedSearchResourceType) UnmarshalJSON(data []byte) error

type UpdateScheduledMaintenanceRequest ¶

type UpdateScheduledMaintenanceRequest struct {
	ScheduledMaintenanceID     string                                `pathParam:"style=simple,explode=false,name=scheduled_maintenance_id"`
	UpdateScheduledMaintenance components.UpdateScheduledMaintenance `request:"mediaType=application/json"`
}

func (*UpdateScheduledMaintenanceRequest) GetScheduledMaintenanceID ¶

func (u *UpdateScheduledMaintenanceRequest) GetScheduledMaintenanceID() string

func (*UpdateScheduledMaintenanceRequest) GetUpdateScheduledMaintenance ¶

func (u *UpdateScheduledMaintenanceRequest) GetUpdateScheduledMaintenance() components.UpdateScheduledMaintenance

type UpdateScimGroupRequest ¶

type UpdateScimGroupRequest struct {
	ID              string                     `pathParam:"style=simple,explode=false,name=id"`
	UpdateScimGroup components.UpdateScimGroup `request:"mediaType=application/scim+json"`
}

func (*UpdateScimGroupRequest) GetID ¶

func (u *UpdateScimGroupRequest) GetID() string

func (*UpdateScimGroupRequest) GetUpdateScimGroup ¶

func (u *UpdateScimGroupRequest) GetUpdateScimGroup() components.UpdateScimGroup

type UpdateScimUserRequest ¶

type UpdateScimUserRequest struct {
	ID             string                    `pathParam:"style=simple,explode=false,name=id"`
	UpdateScimUser components.UpdateScimUser `request:"mediaType=application/scim+json"`
}

func (*UpdateScimUserRequest) GetID ¶

func (u *UpdateScimUserRequest) GetID() string

func (*UpdateScimUserRequest) GetUpdateScimUser ¶

func (u *UpdateScimUserRequest) GetUpdateScimUser() components.UpdateScimUser

type UpdateServiceDependencyRequest ¶

type UpdateServiceDependencyRequest struct {
	ServiceDependencyID     string                             `pathParam:"style=simple,explode=false,name=service_dependency_id"`
	UpdateServiceDependency components.UpdateServiceDependency `request:"mediaType=application/json"`
}

func (*UpdateServiceDependencyRequest) GetServiceDependencyID ¶

func (u *UpdateServiceDependencyRequest) GetServiceDependencyID() string

func (*UpdateServiceDependencyRequest) GetUpdateServiceDependency ¶

func (u *UpdateServiceDependencyRequest) GetUpdateServiceDependency() components.UpdateServiceDependency

type UpdateServiceRequest ¶

type UpdateServiceRequest struct {
	ServiceID     string                   `pathParam:"style=simple,explode=false,name=service_id"`
	UpdateService components.UpdateService `request:"mediaType=application/json"`
}

func (*UpdateServiceRequest) GetServiceID ¶

func (u *UpdateServiceRequest) GetServiceID() string

func (*UpdateServiceRequest) GetUpdateService ¶

func (u *UpdateServiceRequest) GetUpdateService() components.UpdateService

type UpdateSeverityMatrixConditionRequest ¶

type UpdateSeverityMatrixConditionRequest struct {
	ConditionID                   string                                   `pathParam:"style=simple,explode=false,name=condition_id"`
	UpdateSeverityMatrixCondition components.UpdateSeverityMatrixCondition `request:"mediaType=application/json"`
}

func (*UpdateSeverityMatrixConditionRequest) GetConditionID ¶

func (u *UpdateSeverityMatrixConditionRequest) GetConditionID() string

func (*UpdateSeverityMatrixConditionRequest) GetUpdateSeverityMatrixCondition ¶

type UpdateSeverityMatrixImpactRequest ¶

type UpdateSeverityMatrixImpactRequest struct {
	ImpactID                   string                                `pathParam:"style=simple,explode=false,name=impact_id"`
	UpdateSeverityMatrixImpact components.UpdateSeverityMatrixImpact `request:"mediaType=application/json"`
}

func (*UpdateSeverityMatrixImpactRequest) GetImpactID ¶

func (u *UpdateSeverityMatrixImpactRequest) GetImpactID() string

func (*UpdateSeverityMatrixImpactRequest) GetUpdateSeverityMatrixImpact ¶

func (u *UpdateSeverityMatrixImpactRequest) GetUpdateSeverityMatrixImpact() components.UpdateSeverityMatrixImpact

type UpdateSeverityRequest ¶

type UpdateSeverityRequest struct {
	SeveritySlug   string                    `pathParam:"style=simple,explode=false,name=severity_slug"`
	UpdateSeverity components.UpdateSeverity `request:"mediaType=application/json"`
}

func (*UpdateSeverityRequest) GetSeveritySlug ¶

func (u *UpdateSeverityRequest) GetSeveritySlug() string

func (*UpdateSeverityRequest) GetUpdateSeverity ¶

func (u *UpdateSeverityRequest) GetUpdateSeverity() components.UpdateSeverity

type UpdateSignalsAlertGroupingConfigurationRequest ¶

type UpdateSignalsAlertGroupingConfigurationRequest struct {
	ID                                      string                                             `pathParam:"style=simple,explode=false,name=id"`
	UpdateSignalsAlertGroupingConfiguration components.UpdateSignalsAlertGroupingConfiguration `request:"mediaType=application/json"`
}

func (*UpdateSignalsAlertGroupingConfigurationRequest) GetID ¶

func (*UpdateSignalsAlertGroupingConfigurationRequest) GetUpdateSignalsAlertGroupingConfiguration ¶

type UpdateSignalsAlertRequest ¶

type UpdateSignalsAlertRequest struct {
	ID                 string                        `pathParam:"style=simple,explode=false,name=id"`
	UpdateSignalsAlert components.UpdateSignalsAlert `request:"mediaType=application/json"`
}

func (*UpdateSignalsAlertRequest) GetID ¶

func (u *UpdateSignalsAlertRequest) GetID() string

func (*UpdateSignalsAlertRequest) GetUpdateSignalsAlert ¶

func (u *UpdateSignalsAlertRequest) GetUpdateSignalsAlert() components.UpdateSignalsAlert

type UpdateSignalsEmailTargetRequest ¶

type UpdateSignalsEmailTargetRequest struct {
	ID                       string                              `pathParam:"style=simple,explode=false,name=id"`
	UpdateSignalsEmailTarget components.UpdateSignalsEmailTarget `request:"mediaType=application/json"`
}

func (*UpdateSignalsEmailTargetRequest) GetID ¶

func (*UpdateSignalsEmailTargetRequest) GetUpdateSignalsEmailTarget ¶

func (u *UpdateSignalsEmailTargetRequest) GetUpdateSignalsEmailTarget() components.UpdateSignalsEmailTarget

type UpdateSignalsWebhookTargetRequest ¶

type UpdateSignalsWebhookTargetRequest struct {
	ID                         string                                `pathParam:"style=simple,explode=false,name=id"`
	UpdateSignalsWebhookTarget components.UpdateSignalsWebhookTarget `request:"mediaType=application/json"`
}

func (*UpdateSignalsWebhookTargetRequest) GetID ¶

func (*UpdateSignalsWebhookTargetRequest) GetUpdateSignalsWebhookTarget ¶

func (u *UpdateSignalsWebhookTargetRequest) GetUpdateSignalsWebhookTarget() components.UpdateSignalsWebhookTarget

type UpdateSlackEmojiActionRequest ¶

type UpdateSlackEmojiActionRequest struct {
	// Slack Connection UUID
	ConnectionID  string                             `pathParam:"style=simple,explode=false,name=connection_id"`
	EmojiActionID string                             `pathParam:"style=simple,explode=false,name=emoji_action_id"`
	RequestBody   *UpdateSlackEmojiActionRequestBody `request:"mediaType=application/json"`
}

func (*UpdateSlackEmojiActionRequest) GetConnectionID ¶

func (u *UpdateSlackEmojiActionRequest) GetConnectionID() string

func (*UpdateSlackEmojiActionRequest) GetEmojiActionID ¶

func (u *UpdateSlackEmojiActionRequest) GetEmojiActionID() string

func (*UpdateSlackEmojiActionRequest) GetRequestBody ¶

type UpdateSlackEmojiActionRequestBody ¶

type UpdateSlackEmojiActionRequestBody struct {
	// The name of the emoji to associate with this action
	EmojiName *string `json:"emoji_name,omitempty"`
	// The ID of the incident type to associate with this emoji action
	IncidentTypeID *string `json:"incident_type_id,omitempty"`
}

func (*UpdateSlackEmojiActionRequestBody) GetEmojiName ¶

func (u *UpdateSlackEmojiActionRequestBody) GetEmojiName() *string

func (*UpdateSlackEmojiActionRequestBody) GetIncidentTypeID ¶

func (u *UpdateSlackEmojiActionRequestBody) GetIncidentTypeID() *string

type UpdateStatusUpdateTemplateRequest ¶

type UpdateStatusUpdateTemplateRequest struct {
	StatusUpdateTemplateID     string                                `pathParam:"style=simple,explode=false,name=status_update_template_id"`
	UpdateStatusUpdateTemplate components.UpdateStatusUpdateTemplate `request:"mediaType=application/json"`
}

func (*UpdateStatusUpdateTemplateRequest) GetStatusUpdateTemplateID ¶

func (u *UpdateStatusUpdateTemplateRequest) GetStatusUpdateTemplateID() string

func (*UpdateStatusUpdateTemplateRequest) GetUpdateStatusUpdateTemplate ¶

func (u *UpdateStatusUpdateTemplateRequest) GetUpdateStatusUpdateTemplate() components.UpdateStatusUpdateTemplate

type UpdateStatuspageConnectionRequest ¶

type UpdateStatuspageConnectionRequest struct {
	// Connection UUID
	ConnectionID               string                                `pathParam:"style=simple,explode=false,name=connection_id"`
	UpdateStatuspageConnection components.UpdateStatuspageConnection `request:"mediaType=application/json"`
}

func (*UpdateStatuspageConnectionRequest) GetConnectionID ¶

func (u *UpdateStatuspageConnectionRequest) GetConnectionID() string

func (*UpdateStatuspageConnectionRequest) GetUpdateStatuspageConnection ¶

func (u *UpdateStatuspageConnectionRequest) GetUpdateStatuspageConnection() components.UpdateStatuspageConnection

type UpdateTaskListRequest ¶

type UpdateTaskListRequest struct {
	TaskListID     string                    `pathParam:"style=simple,explode=false,name=task_list_id"`
	UpdateTaskList components.UpdateTaskList `request:"mediaType=application/json"`
}

func (*UpdateTaskListRequest) GetTaskListID ¶

func (u *UpdateTaskListRequest) GetTaskListID() string

func (*UpdateTaskListRequest) GetUpdateTaskList ¶

func (u *UpdateTaskListRequest) GetUpdateTaskList() components.UpdateTaskList

type UpdateTeamEscalationPolicyRequest ¶

type UpdateTeamEscalationPolicyRequest struct {
	TeamID                     string                                `pathParam:"style=simple,explode=false,name=team_id"`
	ID                         string                                `pathParam:"style=simple,explode=false,name=id"`
	UpdateTeamEscalationPolicy components.UpdateTeamEscalationPolicy `request:"mediaType=application/json"`
}

func (*UpdateTeamEscalationPolicyRequest) GetID ¶

func (*UpdateTeamEscalationPolicyRequest) GetTeamID ¶

func (*UpdateTeamEscalationPolicyRequest) GetUpdateTeamEscalationPolicy ¶

func (u *UpdateTeamEscalationPolicyRequest) GetUpdateTeamEscalationPolicy() components.UpdateTeamEscalationPolicy

type UpdateTeamOnCallScheduleRequest ¶

type UpdateTeamOnCallScheduleRequest struct {
	TeamID                   string                              `pathParam:"style=simple,explode=false,name=team_id"`
	ScheduleID               string                              `pathParam:"style=simple,explode=false,name=schedule_id"`
	UpdateTeamOnCallSchedule components.UpdateTeamOnCallSchedule `request:"mediaType=application/json"`
}

func (*UpdateTeamOnCallScheduleRequest) GetScheduleID ¶

func (u *UpdateTeamOnCallScheduleRequest) GetScheduleID() string

func (*UpdateTeamOnCallScheduleRequest) GetTeamID ¶

func (u *UpdateTeamOnCallScheduleRequest) GetTeamID() string

func (*UpdateTeamOnCallScheduleRequest) GetUpdateTeamOnCallSchedule ¶

func (u *UpdateTeamOnCallScheduleRequest) GetUpdateTeamOnCallSchedule() components.UpdateTeamOnCallSchedule

type UpdateTeamRequest ¶

type UpdateTeamRequest struct {
	TeamID     string                `pathParam:"style=simple,explode=false,name=team_id"`
	UpdateTeam components.UpdateTeam `request:"mediaType=application/json"`
}

func (*UpdateTeamRequest) GetTeamID ¶

func (u *UpdateTeamRequest) GetTeamID() string

func (*UpdateTeamRequest) GetUpdateTeam ¶

func (u *UpdateTeamRequest) GetUpdateTeam() components.UpdateTeam

type UpdateTeamSignalRuleRequest ¶

type UpdateTeamSignalRuleRequest struct {
	TeamID               string                          `pathParam:"style=simple,explode=false,name=team_id"`
	ID                   string                          `pathParam:"style=simple,explode=false,name=id"`
	UpdateTeamSignalRule components.UpdateTeamSignalRule `request:"mediaType=application/json"`
}

func (*UpdateTeamSignalRuleRequest) GetID ¶

func (*UpdateTeamSignalRuleRequest) GetTeamID ¶

func (u *UpdateTeamSignalRuleRequest) GetTeamID() string

func (*UpdateTeamSignalRuleRequest) GetUpdateTeamSignalRule ¶

func (u *UpdateTeamSignalRuleRequest) GetUpdateTeamSignalRule() components.UpdateTeamSignalRule

type UpdateTicketRequest ¶

type UpdateTicketRequest struct {
	TicketID     string                  `pathParam:"style=simple,explode=false,name=ticket_id"`
	UpdateTicket components.UpdateTicket `request:"mediaType=application/json"`
}

func (*UpdateTicketRequest) GetTicketID ¶

func (u *UpdateTicketRequest) GetTicketID() string

func (*UpdateTicketRequest) GetUpdateTicket ¶

func (u *UpdateTicketRequest) GetUpdateTicket() components.UpdateTicket

type UpdateTicketingFieldMapRequest ¶

type UpdateTicketingFieldMapRequest struct {
	MapID              string `pathParam:"style=simple,explode=false,name=map_id"`
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
}

func (*UpdateTicketingFieldMapRequest) GetMapID ¶

func (u *UpdateTicketingFieldMapRequest) GetMapID() string

func (*UpdateTicketingFieldMapRequest) GetTicketingProjectID ¶

func (u *UpdateTicketingFieldMapRequest) GetTicketingProjectID() string

type UpdateTicketingPriorityRequest ¶

type UpdateTicketingPriorityRequest struct {
	ID                      string                             `pathParam:"style=simple,explode=false,name=id"`
	UpdateTicketingPriority components.UpdateTicketingPriority `request:"mediaType=application/json"`
}

func (*UpdateTicketingPriorityRequest) GetID ¶

func (*UpdateTicketingPriorityRequest) GetUpdateTicketingPriority ¶

func (u *UpdateTicketingPriorityRequest) GetUpdateTicketingPriority() components.UpdateTicketingPriority

type UpdateTicketingProjectConfigRequest ¶

type UpdateTicketingProjectConfigRequest struct {
	TicketingProjectID string `pathParam:"style=simple,explode=false,name=ticketing_project_id"`
	ConfigID           string `pathParam:"style=simple,explode=false,name=config_id"`
}

func (*UpdateTicketingProjectConfigRequest) GetConfigID ¶

func (*UpdateTicketingProjectConfigRequest) GetTicketingProjectID ¶

func (u *UpdateTicketingProjectConfigRequest) GetTicketingProjectID() string

type UpdateTranscriptAttributionRequest ¶

type UpdateTranscriptAttributionRequest struct {
	IncidentID  string                                 `pathParam:"style=simple,explode=false,name=incident_id"`
	RequestBody UpdateTranscriptAttributionRequestBody `request:"mediaType=application/json"`
}

func (*UpdateTranscriptAttributionRequest) GetIncidentID ¶

func (u *UpdateTranscriptAttributionRequest) GetIncidentID() string

func (*UpdateTranscriptAttributionRequest) GetRequestBody ¶

type UpdateTranscriptAttributionRequestBody ¶

type UpdateTranscriptAttributionRequestBody struct {
	// The speaker to attribute the transcript to.
	FromSpeaker *string `json:"from_speaker,omitempty"`
	// The user to attribute the transcript to.
	FromUserID *string `json:"from_user_id,omitempty"`
	// The ID of the user to attribute the transcript to.
	ToUserID string `json:"to_user_id"`
	// The ID of the specific transcript entry to change attribution for.
	TranscriptID *string `json:"transcript_id,omitempty"`
	// The ID of the conference bridge to attribute the transcript to.
	ConferenceBridgeID *string `json:"conference_bridge_id,omitempty"`
}

func (*UpdateTranscriptAttributionRequestBody) GetConferenceBridgeID ¶

func (u *UpdateTranscriptAttributionRequestBody) GetConferenceBridgeID() *string

func (*UpdateTranscriptAttributionRequestBody) GetFromSpeaker ¶

func (u *UpdateTranscriptAttributionRequestBody) GetFromSpeaker() *string

func (*UpdateTranscriptAttributionRequestBody) GetFromUserID ¶

func (u *UpdateTranscriptAttributionRequestBody) GetFromUserID() *string

func (*UpdateTranscriptAttributionRequestBody) GetToUserID ¶

func (*UpdateTranscriptAttributionRequestBody) GetTranscriptID ¶

func (u *UpdateTranscriptAttributionRequestBody) GetTranscriptID() *string

type UpdateVoteRequest ¶

type UpdateVoteRequest struct {
	IncidentID string                `pathParam:"style=simple,explode=false,name=incident_id"`
	EventID    string                `pathParam:"style=simple,explode=false,name=event_id"`
	UpdateVote components.UpdateVote `request:"mediaType=application/json"`
}

func (*UpdateVoteRequest) GetEventID ¶

func (u *UpdateVoteRequest) GetEventID() string

func (*UpdateVoteRequest) GetIncidentID ¶

func (u *UpdateVoteRequest) GetIncidentID() string

func (*UpdateVoteRequest) GetUpdateVote ¶

func (u *UpdateVoteRequest) GetUpdateVote() components.UpdateVote

type UpdateWebhookRequest ¶

type UpdateWebhookRequest struct {
	WebhookID     string                   `pathParam:"style=simple,explode=false,name=webhook_id"`
	UpdateWebhook components.UpdateWebhook `request:"mediaType=application/json"`
}

func (*UpdateWebhookRequest) GetUpdateWebhook ¶

func (u *UpdateWebhookRequest) GetUpdateWebhook() components.UpdateWebhook

func (*UpdateWebhookRequest) GetWebhookID ¶

func (u *UpdateWebhookRequest) GetWebhookID() string

type VoteAiIncidentSummaryRequest ¶

type VoteAiIncidentSummaryRequest struct {
	IncidentID         string                           `pathParam:"style=simple,explode=false,name=incident_id"`
	GeneratedSummaryID string                           `pathParam:"style=simple,explode=false,name=generated_summary_id"`
	RequestBody        VoteAiIncidentSummaryRequestBody `request:"mediaType=application/json"`
}

func (*VoteAiIncidentSummaryRequest) GetGeneratedSummaryID ¶

func (v *VoteAiIncidentSummaryRequest) GetGeneratedSummaryID() string

func (*VoteAiIncidentSummaryRequest) GetIncidentID ¶

func (v *VoteAiIncidentSummaryRequest) GetIncidentID() string

func (*VoteAiIncidentSummaryRequest) GetRequestBody ¶

type VoteAiIncidentSummaryRequestBody ¶

type VoteAiIncidentSummaryRequestBody struct {
	Direction Direction `json:"direction"`
}

func (*VoteAiIncidentSummaryRequestBody) GetDirection ¶

func (v *VoteAiIncidentSummaryRequestBody) GetDirection() Direction

type VoteDirection ¶

type VoteDirection string
const (
	VoteDirectionUp   VoteDirection = "up"
	VoteDirectionDown VoteDirection = "down"
)

func (VoteDirection) ToPointer ¶

func (e VoteDirection) ToPointer() *VoteDirection

func (*VoteDirection) UnmarshalJSON ¶

func (e *VoteDirection) UnmarshalJSON(data []byte) error

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL