components

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: 5 Imported by: 2

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AIEntitiesIncidentSummaryEntity ¶

type AIEntitiesIncidentSummaryEntity struct {
	ID                *string    `json:"id,omitempty"`
	Content           *string    `json:"content,omitempty"`
	SourceHash        *string    `json:"source_hash,omitempty"`
	Type              *string    `json:"type,omitempty"`
	CreatedAt         *string    `json:"created_at,omitempty"`
	IncidentUpdatedAt *time.Time `json:"incident_updated_at,omitempty"`
}

AIEntitiesIncidentSummaryEntity - AI_Entities_IncidentSummaryEntity model

func (*AIEntitiesIncidentSummaryEntity) GetContent ¶

func (a *AIEntitiesIncidentSummaryEntity) GetContent() *string

func (*AIEntitiesIncidentSummaryEntity) GetCreatedAt ¶

func (a *AIEntitiesIncidentSummaryEntity) GetCreatedAt() *string

func (*AIEntitiesIncidentSummaryEntity) GetID ¶

func (*AIEntitiesIncidentSummaryEntity) GetIncidentUpdatedAt ¶

func (a *AIEntitiesIncidentSummaryEntity) GetIncidentUpdatedAt() *time.Time

func (*AIEntitiesIncidentSummaryEntity) GetSourceHash ¶

func (a *AIEntitiesIncidentSummaryEntity) GetSourceHash() *string

func (*AIEntitiesIncidentSummaryEntity) GetType ¶

func (AIEntitiesIncidentSummaryEntity) MarshalJSON ¶

func (a AIEntitiesIncidentSummaryEntity) MarshalJSON() ([]byte, error)

func (*AIEntitiesIncidentSummaryEntity) UnmarshalJSON ¶

func (a *AIEntitiesIncidentSummaryEntity) UnmarshalJSON(data []byte) error

type AIEntitiesPreferencesEntity ¶

type AIEntitiesPreferencesEntity struct {
	Ai               *bool `json:"ai,omitempty"`
	Description      *bool `json:"description,omitempty"`
	Followups        *bool `json:"followups,omitempty"`
	Impact           *bool `json:"impact,omitempty"`
	Retros           *bool `json:"retros,omitempty"`
	SimilarIncidents *bool `json:"similar_incidents,omitempty"`
	Summaries        *bool `json:"summaries,omitempty"`
	Updates          *bool `json:"updates,omitempty"`
}

AIEntitiesPreferencesEntity - AI_Entities_PreferencesEntity model

func (*AIEntitiesPreferencesEntity) GetAi ¶

func (a *AIEntitiesPreferencesEntity) GetAi() *bool

func (*AIEntitiesPreferencesEntity) GetDescription ¶

func (a *AIEntitiesPreferencesEntity) GetDescription() *bool

func (*AIEntitiesPreferencesEntity) GetFollowups ¶

func (a *AIEntitiesPreferencesEntity) GetFollowups() *bool

func (*AIEntitiesPreferencesEntity) GetImpact ¶

func (a *AIEntitiesPreferencesEntity) GetImpact() *bool

func (*AIEntitiesPreferencesEntity) GetRetros ¶

func (a *AIEntitiesPreferencesEntity) GetRetros() *bool

func (*AIEntitiesPreferencesEntity) GetSimilarIncidents ¶

func (a *AIEntitiesPreferencesEntity) GetSimilarIncidents() *bool

func (*AIEntitiesPreferencesEntity) GetSummaries ¶

func (a *AIEntitiesPreferencesEntity) GetSummaries() *bool

func (*AIEntitiesPreferencesEntity) GetUpdates ¶

func (a *AIEntitiesPreferencesEntity) GetUpdates() *bool

type ActionElement ¶

type ActionElement struct {
}

type AlertsAlertEntity ¶

type AlertsAlertEntity struct {
	ID              *string    `json:"id,omitempty"`
	Summary         *string    `json:"summary,omitempty"`
	Description     *string    `json:"description,omitempty"`
	Priority        *string    `json:"priority,omitempty"`
	IntegrationName *string    `json:"integration_name,omitempty"`
	StartsAt        *time.Time `json:"starts_at,omitempty"`
	EndsAt          *time.Time `json:"ends_at,omitempty"`
	DurationMs      *int       `json:"duration_ms,omitempty"`
	DurationIso8601 *string    `json:"duration_iso8601,omitempty"`
	Status          *string    `json:"status,omitempty"`
	RemoteID        *string    `json:"remote_id,omitempty"`
	RemoteURL       *string    `json:"remote_url,omitempty"`
	// Arbitrary key:value pairs of labels.
	Labels        *AlertsAlertEntityLabels             `json:"labels,omitempty"`
	Environments  []SuccinctEntity                     `json:"environments,omitempty"`
	Services      []SuccinctEntity                     `json:"services,omitempty"`
	Tags          []string                             `json:"tags,omitempty"`
	SourceIcon    *string                              `json:"source_icon,omitempty"`
	SignalID      *string                              `json:"signal_id,omitempty"`
	SignalRule    *NullableSignalsAPIRuleEntity        `json:"signal_rule,omitempty"`
	SignalTarget  *NullableSignalsAPITargetEntity      `json:"signal_target,omitempty"`
	TeamName      *string                              `json:"team_name,omitempty"`
	TeamID        *string                              `json:"team_id,omitempty"`
	Position      *int                                 `json:"position,omitempty"`
	Incidents     []PublicAPIV1IncidentsSuccinctEntity `json:"incidents,omitempty"`
	Events        []AlertsSirenEventEntity             `json:"events,omitempty"`
	IsExpired     *bool                                `json:"is_expired,omitempty"`
	IsNoise       *bool                                `json:"is_noise,omitempty"`
	ParentAlerts  []AlertsSirenAlertEntity             `json:"parent_alerts,omitempty"`
	ChildAlerts   []AlertsSirenAlertEntity             `json:"child_alerts,omitempty"`
	Conversations []ConversationsAPIEntitiesReference  `json:"conversations,omitempty"`
}

AlertsAlertEntity - Alerts_AlertEntity model

func (*AlertsAlertEntity) GetChildAlerts ¶

func (a *AlertsAlertEntity) GetChildAlerts() []AlertsSirenAlertEntity

func (*AlertsAlertEntity) GetConversations ¶

func (a *AlertsAlertEntity) GetConversations() []ConversationsAPIEntitiesReference

func (*AlertsAlertEntity) GetDescription ¶

func (a *AlertsAlertEntity) GetDescription() *string

func (*AlertsAlertEntity) GetDurationIso8601 ¶

func (a *AlertsAlertEntity) GetDurationIso8601() *string

func (*AlertsAlertEntity) GetDurationMs ¶

func (a *AlertsAlertEntity) GetDurationMs() *int

func (*AlertsAlertEntity) GetEndsAt ¶

func (a *AlertsAlertEntity) GetEndsAt() *time.Time

func (*AlertsAlertEntity) GetEnvironments ¶

func (a *AlertsAlertEntity) GetEnvironments() []SuccinctEntity

func (*AlertsAlertEntity) GetEvents ¶

func (a *AlertsAlertEntity) GetEvents() []AlertsSirenEventEntity

func (*AlertsAlertEntity) GetID ¶

func (a *AlertsAlertEntity) GetID() *string

func (*AlertsAlertEntity) GetIncidents ¶

func (*AlertsAlertEntity) GetIntegrationName ¶

func (a *AlertsAlertEntity) GetIntegrationName() *string

func (*AlertsAlertEntity) GetIsExpired ¶

func (a *AlertsAlertEntity) GetIsExpired() *bool

func (*AlertsAlertEntity) GetIsNoise ¶

func (a *AlertsAlertEntity) GetIsNoise() *bool

func (*AlertsAlertEntity) GetLabels ¶

func (*AlertsAlertEntity) GetParentAlerts ¶

func (a *AlertsAlertEntity) GetParentAlerts() []AlertsSirenAlertEntity

func (*AlertsAlertEntity) GetPosition ¶

func (a *AlertsAlertEntity) GetPosition() *int

func (*AlertsAlertEntity) GetPriority ¶

func (a *AlertsAlertEntity) GetPriority() *string

func (*AlertsAlertEntity) GetRemoteID ¶

func (a *AlertsAlertEntity) GetRemoteID() *string

func (*AlertsAlertEntity) GetRemoteURL ¶

func (a *AlertsAlertEntity) GetRemoteURL() *string

func (*AlertsAlertEntity) GetServices ¶

func (a *AlertsAlertEntity) GetServices() []SuccinctEntity

func (*AlertsAlertEntity) GetSignalID ¶

func (a *AlertsAlertEntity) GetSignalID() *string

func (*AlertsAlertEntity) GetSignalRule ¶

func (a *AlertsAlertEntity) GetSignalRule() *NullableSignalsAPIRuleEntity

func (*AlertsAlertEntity) GetSignalTarget ¶

func (a *AlertsAlertEntity) GetSignalTarget() *NullableSignalsAPITargetEntity

func (*AlertsAlertEntity) GetSourceIcon ¶

func (a *AlertsAlertEntity) GetSourceIcon() *string

func (*AlertsAlertEntity) GetStartsAt ¶

func (a *AlertsAlertEntity) GetStartsAt() *time.Time

func (*AlertsAlertEntity) GetStatus ¶

func (a *AlertsAlertEntity) GetStatus() *string

func (*AlertsAlertEntity) GetSummary ¶

func (a *AlertsAlertEntity) GetSummary() *string

func (*AlertsAlertEntity) GetTags ¶

func (a *AlertsAlertEntity) GetTags() []string

func (*AlertsAlertEntity) GetTeamID ¶

func (a *AlertsAlertEntity) GetTeamID() *string

func (*AlertsAlertEntity) GetTeamName ¶

func (a *AlertsAlertEntity) GetTeamName() *string

func (AlertsAlertEntity) MarshalJSON ¶

func (a AlertsAlertEntity) MarshalJSON() ([]byte, error)

func (*AlertsAlertEntity) UnmarshalJSON ¶

func (a *AlertsAlertEntity) UnmarshalJSON(data []byte) error

type AlertsAlertEntityLabels ¶

type AlertsAlertEntityLabels struct {
}

AlertsAlertEntityLabels - Arbitrary key:value pairs of labels.

type AlertsAlertEntityPaginated ¶

type AlertsAlertEntityPaginated struct {
	Data       []AlertsAlertEntity       `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

AlertsAlertEntityPaginated - Alerts_AlertEntityPaginated model

func (*AlertsAlertEntityPaginated) GetData ¶

func (*AlertsAlertEntityPaginated) GetPagination ¶

type AlertsProcessingLogEntryEntity ¶

type AlertsProcessingLogEntryEntity struct {
	ID *string `json:"id,omitempty"`
	// An unstructured representation of this log entry's context.
	Context     *Context     `json:"context,omitempty"`
	CreatedAt   *time.Time   `json:"created_at,omitempty"`
	Level       *Level       `json:"level,omitempty"`
	Message     *string      `json:"message,omitempty"`
	MessageType *MessageType `json:"message_type,omitempty"`
}

func (*AlertsProcessingLogEntryEntity) GetContext ¶

func (a *AlertsProcessingLogEntryEntity) GetContext() *Context

func (*AlertsProcessingLogEntryEntity) GetCreatedAt ¶

func (a *AlertsProcessingLogEntryEntity) GetCreatedAt() *time.Time

func (*AlertsProcessingLogEntryEntity) GetID ¶

func (*AlertsProcessingLogEntryEntity) GetLevel ¶

func (a *AlertsProcessingLogEntryEntity) GetLevel() *Level

func (*AlertsProcessingLogEntryEntity) GetMessage ¶

func (a *AlertsProcessingLogEntryEntity) GetMessage() *string

func (*AlertsProcessingLogEntryEntity) GetMessageType ¶

func (a *AlertsProcessingLogEntryEntity) GetMessageType() *MessageType

func (AlertsProcessingLogEntryEntity) MarshalJSON ¶

func (a AlertsProcessingLogEntryEntity) MarshalJSON() ([]byte, error)

func (*AlertsProcessingLogEntryEntity) UnmarshalJSON ¶

func (a *AlertsProcessingLogEntryEntity) UnmarshalJSON(data []byte) error

type AlertsProcessingLogEntryEntityPaginated ¶

type AlertsProcessingLogEntryEntityPaginated struct {
	Data       []AlertsProcessingLogEntryEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity        `json:"pagination,omitempty"`
}

AlertsProcessingLogEntryEntityPaginated - Alerts_ProcessingLogEntryEntityPaginated model

func (*AlertsProcessingLogEntryEntityPaginated) GetData ¶

func (*AlertsProcessingLogEntryEntityPaginated) GetPagination ¶

type AlertsSignalAlertEntity ¶

type AlertsSignalAlertEntity struct {
	ID      *string `json:"id,omitempty"`
	Summary *string `json:"summary,omitempty"`
	IsNoise *bool   `json:"is_noise,omitempty"`
}

AlertsSignalAlertEntity - Alerts_SignalAlertEntity model

func (*AlertsSignalAlertEntity) GetID ¶

func (a *AlertsSignalAlertEntity) GetID() *string

func (*AlertsSignalAlertEntity) GetIsNoise ¶

func (a *AlertsSignalAlertEntity) GetIsNoise() *bool

func (*AlertsSignalAlertEntity) GetSummary ¶

func (a *AlertsSignalAlertEntity) GetSummary() *string

type AlertsSirenAlertEntity ¶

type AlertsSirenAlertEntity struct {
	ID          *string    `json:"id,omitempty"`
	Summary     *string    `json:"summary,omitempty"`
	Description *string    `json:"description,omitempty"`
	StartsAt    *time.Time `json:"starts_at,omitempty"`
	EndsAt      *time.Time `json:"ends_at,omitempty"`
	Status      *string    `json:"status,omitempty"`
	RemoteID    *string    `json:"remote_id,omitempty"`
	RemoteURL   *string    `json:"remote_url,omitempty"`
	// Arbitrary key:value pairs of labels.
	Labels     *AlertsSirenAlertEntityLabels `json:"labels,omitempty"`
	Tags       []string                      `json:"tags,omitempty"`
	SignalID   *string                       `json:"signal_id,omitempty"`
	SignalRule *NullableSignalsAPIRuleEntity `json:"signal_rule,omitempty"`
}

func (*AlertsSirenAlertEntity) GetDescription ¶

func (a *AlertsSirenAlertEntity) GetDescription() *string

func (*AlertsSirenAlertEntity) GetEndsAt ¶

func (a *AlertsSirenAlertEntity) GetEndsAt() *time.Time

func (*AlertsSirenAlertEntity) GetID ¶

func (a *AlertsSirenAlertEntity) GetID() *string

func (*AlertsSirenAlertEntity) GetLabels ¶

func (*AlertsSirenAlertEntity) GetRemoteID ¶

func (a *AlertsSirenAlertEntity) GetRemoteID() *string

func (*AlertsSirenAlertEntity) GetRemoteURL ¶

func (a *AlertsSirenAlertEntity) GetRemoteURL() *string

func (*AlertsSirenAlertEntity) GetSignalID ¶

func (a *AlertsSirenAlertEntity) GetSignalID() *string

func (*AlertsSirenAlertEntity) GetSignalRule ¶

func (*AlertsSirenAlertEntity) GetStartsAt ¶

func (a *AlertsSirenAlertEntity) GetStartsAt() *time.Time

func (*AlertsSirenAlertEntity) GetStatus ¶

func (a *AlertsSirenAlertEntity) GetStatus() *string

func (*AlertsSirenAlertEntity) GetSummary ¶

func (a *AlertsSirenAlertEntity) GetSummary() *string

func (*AlertsSirenAlertEntity) GetTags ¶

func (a *AlertsSirenAlertEntity) GetTags() []string

func (AlertsSirenAlertEntity) MarshalJSON ¶

func (a AlertsSirenAlertEntity) MarshalJSON() ([]byte, error)

func (*AlertsSirenAlertEntity) UnmarshalJSON ¶

func (a *AlertsSirenAlertEntity) UnmarshalJSON(data []byte) error

type AlertsSirenAlertEntityLabels ¶

type AlertsSirenAlertEntityLabels struct {
}

AlertsSirenAlertEntityLabels - Arbitrary key:value pairs of labels.

type AlertsSirenEventEntity ¶

type AlertsSirenEventEntity struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	// The event's payload
	Data      *AlertsSirenEventEntityData `json:"data,omitempty"`
	CreatedAt *time.Time                  `json:"created_at,omitempty"`
}

func (*AlertsSirenEventEntity) GetCreatedAt ¶

func (a *AlertsSirenEventEntity) GetCreatedAt() *time.Time

func (*AlertsSirenEventEntity) GetData ¶

func (*AlertsSirenEventEntity) GetID ¶

func (a *AlertsSirenEventEntity) GetID() *string

func (*AlertsSirenEventEntity) GetType ¶

func (a *AlertsSirenEventEntity) GetType() *string

func (AlertsSirenEventEntity) MarshalJSON ¶

func (a AlertsSirenEventEntity) MarshalJSON() ([]byte, error)

func (*AlertsSirenEventEntity) UnmarshalJSON ¶

func (a *AlertsSirenEventEntity) UnmarshalJSON(data []byte) error

type AlertsSirenEventEntityData ¶

type AlertsSirenEventEntityData struct {
}

AlertsSirenEventEntityData - The event's payload

type Annotations ¶

type Annotations struct {
}

type AttachmentsLinkEntity ¶

type AttachmentsLinkEntity struct {
	ID          *string `json:"id,omitempty"`
	Type        *string `json:"type,omitempty"`
	DisplayText *string `json:"display_text,omitempty"`
	HrefURL     *string `json:"href_url,omitempty"`
	IconURL     *string `json:"icon_url,omitempty"`
	// Link can be edited
	Editable *bool `json:"editable,omitempty"`
	// Link can be deleted
	Deletable *bool `json:"deletable,omitempty"`
}

AttachmentsLinkEntity - Attachments_LinkEntity model

func (*AttachmentsLinkEntity) GetDeletable ¶

func (a *AttachmentsLinkEntity) GetDeletable() *bool

func (*AttachmentsLinkEntity) GetDisplayText ¶

func (a *AttachmentsLinkEntity) GetDisplayText() *string

func (*AttachmentsLinkEntity) GetEditable ¶

func (a *AttachmentsLinkEntity) GetEditable() *bool

func (*AttachmentsLinkEntity) GetHrefURL ¶

func (a *AttachmentsLinkEntity) GetHrefURL() *string

func (*AttachmentsLinkEntity) GetID ¶

func (a *AttachmentsLinkEntity) GetID() *string

func (*AttachmentsLinkEntity) GetIconURL ¶

func (a *AttachmentsLinkEntity) GetIconURL() *string

func (*AttachmentsLinkEntity) GetType ¶

func (a *AttachmentsLinkEntity) GetType() *string

type AttachmentsLinkEntityPaginated ¶

type AttachmentsLinkEntityPaginated struct {
	Data       []AttachmentsLinkEntity   `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

AttachmentsLinkEntityPaginated - Attachments_LinkEntityPaginated model

func (*AttachmentsLinkEntityPaginated) GetData ¶

func (*AttachmentsLinkEntityPaginated) GetPagination ¶

type AttachmentsTypedAttachmentEntity ¶

type AttachmentsTypedAttachmentEntity struct {
	ID                      *string    `json:"id,omitempty"`
	Type                    *string    `json:"type,omitempty"`
	AttachedToID            *string    `json:"attached_to_id,omitempty"`
	AttachedToType          *string    `json:"attached_to_type,omitempty"`
	SecondaryAttachedToID   *string    `json:"secondary_attached_to_id,omitempty"`
	SecondaryAttachedToType *string    `json:"secondary_attached_to_type,omitempty"`
	CreatedAt               *time.Time `json:"created_at,omitempty"`
	// Can be one of: Attachments::LinkEntity, Integrations::CustomerSupportIssueEntity, Attachments::GenericAttachmentEntity
	Attributes *Attributes `json:"attributes,omitempty"`
}

func (*AttachmentsTypedAttachmentEntity) GetAttachedToID ¶

func (a *AttachmentsTypedAttachmentEntity) GetAttachedToID() *string

func (*AttachmentsTypedAttachmentEntity) GetAttachedToType ¶

func (a *AttachmentsTypedAttachmentEntity) GetAttachedToType() *string

func (*AttachmentsTypedAttachmentEntity) GetAttributes ¶

func (a *AttachmentsTypedAttachmentEntity) GetAttributes() *Attributes

func (*AttachmentsTypedAttachmentEntity) GetCreatedAt ¶

func (a *AttachmentsTypedAttachmentEntity) GetCreatedAt() *time.Time

func (*AttachmentsTypedAttachmentEntity) GetID ¶

func (*AttachmentsTypedAttachmentEntity) GetSecondaryAttachedToID ¶

func (a *AttachmentsTypedAttachmentEntity) GetSecondaryAttachedToID() *string

func (*AttachmentsTypedAttachmentEntity) GetSecondaryAttachedToType ¶

func (a *AttachmentsTypedAttachmentEntity) GetSecondaryAttachedToType() *string

func (*AttachmentsTypedAttachmentEntity) GetType ¶

func (AttachmentsTypedAttachmentEntity) MarshalJSON ¶

func (a AttachmentsTypedAttachmentEntity) MarshalJSON() ([]byte, error)

func (*AttachmentsTypedAttachmentEntity) UnmarshalJSON ¶

func (a *AttachmentsTypedAttachmentEntity) UnmarshalJSON(data []byte) error

type AttachmentsTypedAttachmentEntityPaginated ¶

type AttachmentsTypedAttachmentEntityPaginated struct {
	Data       []AttachmentsTypedAttachmentEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity          `json:"pagination,omitempty"`
}

AttachmentsTypedAttachmentEntityPaginated - Attachments_TypedAttachmentEntityPaginated model

func (*AttachmentsTypedAttachmentEntityPaginated) GetData ¶

func (*AttachmentsTypedAttachmentEntityPaginated) GetPagination ¶

type Attributes ¶

type Attributes struct {
}

Attributes - Can be one of: Attachments::LinkEntity, Integrations::CustomerSupportIssueEntity, Attachments::GenericAttachmentEntity

type AudiencesEntitiesAudienceEntity ¶

type AudiencesEntitiesAudienceEntity struct {
	// Unique identifier for the audience
	ID *string `json:"id,omitempty"`
	// Name of the audience (maximum 255 characters)
	Name *string `json:"name,omitempty"`
	// Slug of the audience, unique and autogenerated
	Slug *string `json:"slug,omitempty"`
	// Description of the audience and its purpose (maximum 4000 characters)
	Description *string `json:"description,omitempty"`
	// Whether this is the organization's default audience
	Default *bool `json:"default,omitempty"`
	// When the audience was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// When the audience was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// When the audience was discarded (soft deleted)
	DiscardedAt *time.Time `json:"discarded_at,omitempty"`
	// List of incident details for this audience
	Details []AudiencesEntitiesDetailEntity `json:"details,omitempty"`
}

AudiencesEntitiesAudienceEntity - Audiences_Entities_AudienceEntity model

func (*AudiencesEntitiesAudienceEntity) GetCreatedAt ¶

func (a *AudiencesEntitiesAudienceEntity) GetCreatedAt() *time.Time

func (*AudiencesEntitiesAudienceEntity) GetDefault ¶

func (a *AudiencesEntitiesAudienceEntity) GetDefault() *bool

func (*AudiencesEntitiesAudienceEntity) GetDescription ¶

func (a *AudiencesEntitiesAudienceEntity) GetDescription() *string

func (*AudiencesEntitiesAudienceEntity) GetDetails ¶

func (*AudiencesEntitiesAudienceEntity) GetDiscardedAt ¶

func (a *AudiencesEntitiesAudienceEntity) GetDiscardedAt() *time.Time

func (*AudiencesEntitiesAudienceEntity) GetID ¶

func (*AudiencesEntitiesAudienceEntity) GetName ¶

func (*AudiencesEntitiesAudienceEntity) GetSlug ¶

func (*AudiencesEntitiesAudienceEntity) GetUpdatedAt ¶

func (a *AudiencesEntitiesAudienceEntity) GetUpdatedAt() *time.Time

func (AudiencesEntitiesAudienceEntity) MarshalJSON ¶

func (a AudiencesEntitiesAudienceEntity) MarshalJSON() ([]byte, error)

func (*AudiencesEntitiesAudienceEntity) UnmarshalJSON ¶

func (a *AudiencesEntitiesAudienceEntity) UnmarshalJSON(data []byte) error

type AudiencesEntitiesAudienceSummariesEntity ¶

type AudiencesEntitiesAudienceSummariesEntity struct {
	IncidentID *string `json:"incident_id,omitempty"`
	// JSON-encoded map of audience summaries
	Audiences *string `json:"audiences,omitempty"`
}

AudiencesEntitiesAudienceSummariesEntity - Audiences_Entities_AudienceSummariesEntity model

func (*AudiencesEntitiesAudienceSummariesEntity) GetAudiences ¶

func (*AudiencesEntitiesAudienceSummariesEntity) GetIncidentID ¶

type AudiencesEntitiesDetailEntity ¶

type AudiencesEntitiesDetailEntity struct {
	// Unique identifier for the detail item
	ID *string `json:"id,omitempty"`
	// The need-to-know question (maximum 255 characters)
	Question *string `json:"question,omitempty"`
	// AI prompt used to gather this information
	Prompt *string `json:"prompt,omitempty"`
	// Order position of this item in the list
	Position *int `json:"position,omitempty"`
	// Slug of the detail, unique and autogenerated
	Slug *string `json:"slug,omitempty"`
}

func (*AudiencesEntitiesDetailEntity) GetID ¶

func (*AudiencesEntitiesDetailEntity) GetPosition ¶

func (a *AudiencesEntitiesDetailEntity) GetPosition() *int

func (*AudiencesEntitiesDetailEntity) GetPrompt ¶

func (a *AudiencesEntitiesDetailEntity) GetPrompt() *string

func (*AudiencesEntitiesDetailEntity) GetQuestion ¶

func (a *AudiencesEntitiesDetailEntity) GetQuestion() *string

func (*AudiencesEntitiesDetailEntity) GetSlug ¶

func (a *AudiencesEntitiesDetailEntity) GetSlug() *string

type Author ¶

type Author struct {
	Source   string `json:"source"`
	SourceID string `json:"source_id"`
	Name     string `json:"name"`
}

func (*Author) GetName ¶

func (a *Author) GetName() string

func (*Author) GetSource ¶

func (a *Author) GetSource() string

func (*Author) GetSourceID ¶

func (a *Author) GetSourceID() string

type AuthorEntity ¶

type AuthorEntity struct {
	ID     *string `json:"id,omitempty"`
	Name   *string `json:"name,omitempty"`
	Source *string `json:"source,omitempty"`
	Email  *string `json:"email,omitempty"`
}

func (*AuthorEntity) GetEmail ¶

func (a *AuthorEntity) GetEmail() *string

func (*AuthorEntity) GetID ¶

func (a *AuthorEntity) GetID() *string

func (*AuthorEntity) GetName ¶

func (a *AuthorEntity) GetName() *string

func (*AuthorEntity) GetSource ¶

func (a *AuthorEntity) GetSource() *string

type Body ¶

type Body struct {
}

type Bucket ¶

type Bucket struct {
}

type Bulk ¶

type Bulk string
const (
	BulkTrue Bulk = "true"
)

func (Bulk) ToPointer ¶

func (e Bulk) ToPointer() *Bulk

func (*Bulk) UnmarshalJSON ¶

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

type BulkUpdateIncidentMilestones ¶

type BulkUpdateIncidentMilestones struct {
	Bulk       *Bulk                                   `json:"bulk,omitempty"`
	Milestones []BulkUpdateIncidentMilestonesMilestone `json:"milestones"`
}

BulkUpdateIncidentMilestones - Update milestone times in bulk for a given incident. All milestone times for an incident must occur in chronological order corresponding to the configured order of milestones. If the result of this request would cause any milestone(s) to appear out of place, a 422 response will instead be returned. This includes milestones not explicitly submitted or updated in this request.

func (*BulkUpdateIncidentMilestones) GetBulk ¶

func (b *BulkUpdateIncidentMilestones) GetBulk() *Bulk

func (*BulkUpdateIncidentMilestones) GetMilestones ¶

type BulkUpdateIncidentMilestonesMilestone ¶

type BulkUpdateIncidentMilestonesMilestone struct {
	// The type/slug of the milestone. Must be one of the currently configured milestones for the given incident.
	Type string `json:"type"`
	// An ISO8601 formatted string for when this milestone occurred. If you are removing a milestone, this field still needs to be set to some value
	OccurredAt time.Time `json:"occurred_at"`
	// If set to true, the milestone will be removed from the incident
	Remove *bool `json:"remove,omitempty"`
}

func (*BulkUpdateIncidentMilestonesMilestone) GetOccurredAt ¶

func (b *BulkUpdateIncidentMilestonesMilestone) GetOccurredAt() time.Time

func (*BulkUpdateIncidentMilestonesMilestone) GetRemove ¶

func (*BulkUpdateIncidentMilestonesMilestone) GetType ¶

func (BulkUpdateIncidentMilestonesMilestone) MarshalJSON ¶

func (b BulkUpdateIncidentMilestonesMilestone) MarshalJSON() ([]byte, error)

func (*BulkUpdateIncidentMilestonesMilestone) UnmarshalJSON ¶

func (b *BulkUpdateIncidentMilestonesMilestone) UnmarshalJSON(data []byte) error

type ChangeEntity ¶

type ChangeEntity struct {
	// UUID of the Change
	ID *string `json:"id,omitempty"`
	// Description of the Change
	Summary *string `json:"summary,omitempty"`
	// The time the change entry was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Arbitrary key/value pairs of labels.
	Labels *ChangeEntityLabels `json:"labels,omitempty"`
	// Description of the Change
	Description *string `json:"description,omitempty"`
}

ChangeEntity model

func (*ChangeEntity) GetCreatedAt ¶

func (c *ChangeEntity) GetCreatedAt() *time.Time

func (*ChangeEntity) GetDescription ¶

func (c *ChangeEntity) GetDescription() *string

func (*ChangeEntity) GetID ¶

func (c *ChangeEntity) GetID() *string

func (*ChangeEntity) GetLabels ¶

func (c *ChangeEntity) GetLabels() *ChangeEntityLabels

func (*ChangeEntity) GetSummary ¶

func (c *ChangeEntity) GetSummary() *string

func (*ChangeEntity) GetUpdatedAt ¶

func (c *ChangeEntity) GetUpdatedAt() *time.Time

func (ChangeEntity) MarshalJSON ¶

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

func (*ChangeEntity) UnmarshalJSON ¶

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

type ChangeEntityLabels ¶

type ChangeEntityLabels struct {
}

ChangeEntityLabels - Arbitrary key/value pairs of labels.

type ChangeEventEntity ¶

type ChangeEventEntity struct {
	ID              *string                  `json:"id,omitempty"`
	Summary         *string                  `json:"summary,omitempty"`
	Description     *string                  `json:"description,omitempty"`
	ExternalID      *string                  `json:"external_id,omitempty"`
	CreatedAt       *time.Time               `json:"created_at,omitempty"`
	UpdatedAt       *time.Time               `json:"updated_at,omitempty"`
	StartsAt        *time.Time               `json:"starts_at,omitempty"`
	EndsAt          *time.Time               `json:"ends_at,omitempty"`
	DurationMs      *int                     `json:"duration_ms,omitempty"`
	DurationIso8601 *string                  `json:"duration_iso8601,omitempty"`
	Environments    []EnvironmentEntryEntity `json:"environments,omitempty"`
	RelatedChanges  []ChangeEntity           `json:"related_changes,omitempty"`
	Identities      []ChangeIdentityEntity   `json:"identities,omitempty"`
	Authors         []AuthorEntity           `json:"authors,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	Attachments []ChangeEventEntityAttachment `json:"attachments,omitempty"`
	// An object of label key and values
	Labels   *ChangeEventEntityLabels `json:"labels,omitempty"`
	Services []ServiceEntityLite      `json:"services,omitempty"`
}

ChangeEventEntity model

func (*ChangeEventEntity) GetAttachments ¶

func (c *ChangeEventEntity) GetAttachments() []ChangeEventEntityAttachment

func (*ChangeEventEntity) GetAuthors ¶

func (c *ChangeEventEntity) GetAuthors() []AuthorEntity

func (*ChangeEventEntity) GetCreatedAt ¶

func (c *ChangeEventEntity) GetCreatedAt() *time.Time

func (*ChangeEventEntity) GetDescription ¶

func (c *ChangeEventEntity) GetDescription() *string

func (*ChangeEventEntity) GetDurationIso8601 ¶

func (c *ChangeEventEntity) GetDurationIso8601() *string

func (*ChangeEventEntity) GetDurationMs ¶

func (c *ChangeEventEntity) GetDurationMs() *int

func (*ChangeEventEntity) GetEndsAt ¶

func (c *ChangeEventEntity) GetEndsAt() *time.Time

func (*ChangeEventEntity) GetEnvironments ¶

func (c *ChangeEventEntity) GetEnvironments() []EnvironmentEntryEntity

func (*ChangeEventEntity) GetExternalID ¶

func (c *ChangeEventEntity) GetExternalID() *string

func (*ChangeEventEntity) GetID ¶

func (c *ChangeEventEntity) GetID() *string

func (*ChangeEventEntity) GetIdentities ¶

func (c *ChangeEventEntity) GetIdentities() []ChangeIdentityEntity

func (*ChangeEventEntity) GetLabels ¶

func (*ChangeEventEntity) GetRelatedChanges ¶

func (c *ChangeEventEntity) GetRelatedChanges() []ChangeEntity

func (*ChangeEventEntity) GetServices ¶

func (c *ChangeEventEntity) GetServices() []ServiceEntityLite

func (*ChangeEventEntity) GetStartsAt ¶

func (c *ChangeEventEntity) GetStartsAt() *time.Time

func (*ChangeEventEntity) GetSummary ¶

func (c *ChangeEventEntity) GetSummary() *string

func (*ChangeEventEntity) GetUpdatedAt ¶

func (c *ChangeEventEntity) GetUpdatedAt() *time.Time

func (ChangeEventEntity) MarshalJSON ¶

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

func (*ChangeEventEntity) UnmarshalJSON ¶

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

type ChangeEventEntityAttachment ¶

type ChangeEventEntityAttachment struct {
}

type ChangeEventEntityLabels ¶

type ChangeEventEntityLabels struct {
}

ChangeEventEntityLabels - An object of label key and values

type ChangeEventSlimEntity ¶

type ChangeEventSlimEntity struct {
	ID              *string                  `json:"id,omitempty"`
	Summary         *string                  `json:"summary,omitempty"`
	Description     *string                  `json:"description,omitempty"`
	ExternalID      *string                  `json:"external_id,omitempty"`
	CreatedAt       *time.Time               `json:"created_at,omitempty"`
	UpdatedAt       *time.Time               `json:"updated_at,omitempty"`
	StartsAt        *time.Time               `json:"starts_at,omitempty"`
	EndsAt          *time.Time               `json:"ends_at,omitempty"`
	DurationMs      *int                     `json:"duration_ms,omitempty"`
	DurationIso8601 *string                  `json:"duration_iso8601,omitempty"`
	Environments    []EnvironmentEntryEntity `json:"environments,omitempty"`
	Authors         []AuthorEntity           `json:"authors,omitempty"`
	// An object of label key and values
	Labels   *ChangeEventSlimEntityLabels `json:"labels,omitempty"`
	Services []ServiceEntityLite          `json:"services,omitempty"`
}

func (*ChangeEventSlimEntity) GetAuthors ¶

func (c *ChangeEventSlimEntity) GetAuthors() []AuthorEntity

func (*ChangeEventSlimEntity) GetCreatedAt ¶

func (c *ChangeEventSlimEntity) GetCreatedAt() *time.Time

func (*ChangeEventSlimEntity) GetDescription ¶

func (c *ChangeEventSlimEntity) GetDescription() *string

func (*ChangeEventSlimEntity) GetDurationIso8601 ¶

func (c *ChangeEventSlimEntity) GetDurationIso8601() *string

func (*ChangeEventSlimEntity) GetDurationMs ¶

func (c *ChangeEventSlimEntity) GetDurationMs() *int

func (*ChangeEventSlimEntity) GetEndsAt ¶

func (c *ChangeEventSlimEntity) GetEndsAt() *time.Time

func (*ChangeEventSlimEntity) GetEnvironments ¶

func (c *ChangeEventSlimEntity) GetEnvironments() []EnvironmentEntryEntity

func (*ChangeEventSlimEntity) GetExternalID ¶

func (c *ChangeEventSlimEntity) GetExternalID() *string

func (*ChangeEventSlimEntity) GetID ¶

func (c *ChangeEventSlimEntity) GetID() *string

func (*ChangeEventSlimEntity) GetLabels ¶

func (*ChangeEventSlimEntity) GetServices ¶

func (c *ChangeEventSlimEntity) GetServices() []ServiceEntityLite

func (*ChangeEventSlimEntity) GetStartsAt ¶

func (c *ChangeEventSlimEntity) GetStartsAt() *time.Time

func (*ChangeEventSlimEntity) GetSummary ¶

func (c *ChangeEventSlimEntity) GetSummary() *string

func (*ChangeEventSlimEntity) GetUpdatedAt ¶

func (c *ChangeEventSlimEntity) GetUpdatedAt() *time.Time

func (ChangeEventSlimEntity) MarshalJSON ¶

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

func (*ChangeEventSlimEntity) UnmarshalJSON ¶

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

type ChangeEventSlimEntityLabels ¶

type ChangeEventSlimEntityLabels struct {
}

ChangeEventSlimEntityLabels - An object of label key and values

type ChangeEventSlimEntityPaginated ¶

type ChangeEventSlimEntityPaginated struct {
	Data       []ChangeEventSlimEntity   `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

ChangeEventSlimEntityPaginated model

func (*ChangeEventSlimEntityPaginated) GetData ¶

func (*ChangeEventSlimEntityPaginated) GetPagination ¶

type ChangeIdentity ¶

type ChangeIdentity struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

func (*ChangeIdentity) GetType ¶

func (c *ChangeIdentity) GetType() string

func (*ChangeIdentity) GetValue ¶

func (c *ChangeIdentity) GetValue() string

type ChangeIdentityEntity ¶

type ChangeIdentityEntity struct {
	ID        *string    `json:"id,omitempty"`
	Type      *string    `json:"type,omitempty"`
	Value     *string    `json:"value,omitempty"`
	ChangeID  *string    `json:"change_id,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ChangeIdentityEntity model

func (*ChangeIdentityEntity) GetChangeID ¶

func (c *ChangeIdentityEntity) GetChangeID() *string

func (*ChangeIdentityEntity) GetCreatedAt ¶

func (c *ChangeIdentityEntity) GetCreatedAt() *time.Time

func (*ChangeIdentityEntity) GetID ¶

func (c *ChangeIdentityEntity) GetID() *string

func (*ChangeIdentityEntity) GetType ¶

func (c *ChangeIdentityEntity) GetType() *string

func (*ChangeIdentityEntity) GetUpdatedAt ¶

func (c *ChangeIdentityEntity) GetUpdatedAt() *time.Time

func (*ChangeIdentityEntity) GetValue ¶

func (c *ChangeIdentityEntity) GetValue() *string

func (ChangeIdentityEntity) MarshalJSON ¶

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

func (*ChangeIdentityEntity) UnmarshalJSON ¶

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

type ChangeIdentityEntityPaginated ¶

type ChangeIdentityEntityPaginated struct {
	Data       []ChangeIdentityEntity    `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

ChangeIdentityEntityPaginated model

func (*ChangeIdentityEntityPaginated) GetData ¶

func (*ChangeIdentityEntityPaginated) GetPagination ¶

type ChangeTypeEntity ¶

type ChangeTypeEntity struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

func (*ChangeTypeEntity) GetID ¶

func (c *ChangeTypeEntity) GetID() *string

func (*ChangeTypeEntity) GetName ¶

func (c *ChangeTypeEntity) GetName() *string

type ChangeTypeEntityPaginated ¶

type ChangeTypeEntityPaginated struct {
	Data       []ChangeTypeEntity        `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

ChangeTypeEntityPaginated model

func (*ChangeTypeEntityPaginated) GetData ¶

func (*ChangeTypeEntityPaginated) GetPagination ¶

type Checklist ¶

type Checklist struct {
	ID string `json:"id"`
	// Set to `true` to remove checklist from service
	Remove *bool `json:"remove,omitempty"`
}

func (*Checklist) GetID ¶

func (c *Checklist) GetID() string

func (*Checklist) GetRemove ¶

func (c *Checklist) GetRemove() *bool

type ChecklistCheckEntity ¶

type ChecklistCheckEntity struct {
	ID          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Status      *bool   `json:"status,omitempty"`
}

func (*ChecklistCheckEntity) GetDescription ¶

func (c *ChecklistCheckEntity) GetDescription() *string

func (*ChecklistCheckEntity) GetID ¶

func (c *ChecklistCheckEntity) GetID() *string

func (*ChecklistCheckEntity) GetName ¶

func (c *ChecklistCheckEntity) GetName() *string

func (*ChecklistCheckEntity) GetStatus ¶

func (c *ChecklistCheckEntity) GetStatus() *bool

type ChecklistTemplateEntity ¶

type ChecklistTemplateEntity struct {
	ID          *string                 `json:"id,omitempty"`
	Name        *string                 `json:"name,omitempty"`
	Description *string                 `json:"description,omitempty"`
	CreatedAt   *string                 `json:"created_at,omitempty"`
	UpdatedAt   *time.Time              `json:"updated_at,omitempty"`
	Checks      []ChecklistCheckEntity  `json:"checks,omitempty"`
	Owner       *NullableTeamEntityLite `json:"owner,omitempty"`
	// List of services that use this checklist
	ConnectedServices []ServiceEntityChecklist `json:"connected_services,omitempty"`
}

ChecklistTemplateEntity model

func (*ChecklistTemplateEntity) GetChecks ¶

func (*ChecklistTemplateEntity) GetConnectedServices ¶

func (c *ChecklistTemplateEntity) GetConnectedServices() []ServiceEntityChecklist

func (*ChecklistTemplateEntity) GetCreatedAt ¶

func (c *ChecklistTemplateEntity) GetCreatedAt() *string

func (*ChecklistTemplateEntity) GetDescription ¶

func (c *ChecklistTemplateEntity) GetDescription() *string

func (*ChecklistTemplateEntity) GetID ¶

func (c *ChecklistTemplateEntity) GetID() *string

func (*ChecklistTemplateEntity) GetName ¶

func (c *ChecklistTemplateEntity) GetName() *string

func (*ChecklistTemplateEntity) GetOwner ¶

func (*ChecklistTemplateEntity) GetUpdatedAt ¶

func (c *ChecklistTemplateEntity) GetUpdatedAt() *time.Time

func (ChecklistTemplateEntity) MarshalJSON ¶

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

func (*ChecklistTemplateEntity) UnmarshalJSON ¶

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

type ChecklistTemplateEntityPaginated ¶

type ChecklistTemplateEntityPaginated struct {
	Data       []ChecklistTemplateEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

ChecklistTemplateEntityPaginated model

func (*ChecklistTemplateEntityPaginated) GetData ¶

func (*ChecklistTemplateEntityPaginated) GetPagination ¶

type Condition ¶

type Condition struct {
	// FireHydrant condition id
	ConditionID string `json:"condition_id"`
	// Statuspage.io condition name
	StatuspageioCondition string `json:"statuspageio_condition"`
}

func (*Condition) GetConditionID ¶

func (c *Condition) GetConditionID() string

func (*Condition) GetStatuspageioCondition ¶

func (c *Condition) GetStatuspageioCondition() string

type Context ¶

type Context struct {
}

Context - An unstructured representation of this log entry's context.

type ConversationsAPIEntitiesReference ¶

type ConversationsAPIEntitiesReference struct {
	ID            *string                                  `json:"id,omitempty"`
	ResourceClass *string                                  `json:"resource_class,omitempty"`
	ResourceID    *string                                  `json:"resource_id,omitempty"`
	Field         *string                                  `json:"field,omitempty"`
	CommentsURL   *string                                  `json:"comments_url,omitempty"`
	Channel       *NullableConversationsAPIEntitiesChannel `json:"channel,omitempty"`
}

func (*ConversationsAPIEntitiesReference) GetChannel ¶

func (*ConversationsAPIEntitiesReference) GetCommentsURL ¶

func (c *ConversationsAPIEntitiesReference) GetCommentsURL() *string

func (*ConversationsAPIEntitiesReference) GetField ¶

func (*ConversationsAPIEntitiesReference) GetID ¶

func (*ConversationsAPIEntitiesReference) GetResourceClass ¶

func (c *ConversationsAPIEntitiesReference) GetResourceClass() *string

func (*ConversationsAPIEntitiesReference) GetResourceID ¶

func (c *ConversationsAPIEntitiesReference) GetResourceID() *string

type ConvertIncidentTask ¶

type ConvertIncidentTask struct {
	Summary     *string `json:"summary,omitempty"`
	ProjectID   *string `json:"project_id,omitempty"`
	Description *string `json:"description,omitempty"`
	State       *string `json:"state,omitempty"`
	// List of tags for the ticket
	TagList []string `json:"tag_list,omitempty"`
}

ConvertIncidentTask - Convert a task to a follow-up

func (*ConvertIncidentTask) GetDescription ¶

func (c *ConvertIncidentTask) GetDescription() *string

func (*ConvertIncidentTask) GetProjectID ¶

func (c *ConvertIncidentTask) GetProjectID() *string

func (*ConvertIncidentTask) GetState ¶

func (c *ConvertIncidentTask) GetState() *string

func (*ConvertIncidentTask) GetSummary ¶

func (c *ConvertIncidentTask) GetSummary() *string

func (*ConvertIncidentTask) GetTagList ¶

func (c *ConvertIncidentTask) GetTagList() []string

type CopyOnCallScheduleRotation ¶

type CopyOnCallScheduleRotation struct {
	// The ID of the schedule to clone the rotation into
	TargetScheduleID string `json:"target_schedule_id"`
	// The name of the on-call rotation
	Name *string `json:"name,omitempty"`
}

CopyOnCallScheduleRotation - Copy an on-call rotation into a different schedule, allowing you to merge them together safely.

func (*CopyOnCallScheduleRotation) GetName ¶

func (c *CopyOnCallScheduleRotation) GetName() *string

func (*CopyOnCallScheduleRotation) GetTargetScheduleID ¶

func (c *CopyOnCallScheduleRotation) GetTargetScheduleID() string

type CreateChange ¶

type CreateChange struct {
	Summary     *string `json:"summary,omitempty"`
	Description *string `json:"description,omitempty"`
	// A labels hash of keys and values
	Labels map[string]string `json:"labels,omitempty"`
}

CreateChange - Create a new change entry

func (*CreateChange) GetDescription ¶

func (c *CreateChange) GetDescription() *string

func (*CreateChange) GetLabels ¶

func (c *CreateChange) GetLabels() map[string]string

func (*CreateChange) GetSummary ¶

func (c *CreateChange) GetSummary() *string

type CreateChangeEvent ¶

type CreateChangeEvent struct {
	Summary     string            `json:"summary"`
	Description *string           `json:"description,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	StartsAt    *time.Time        `json:"starts_at,omitempty"`
	EndsAt      *time.Time        `json:"ends_at,omitempty"`
	// An array of environment IDs
	Environments []string `json:"environments,omitempty"`
	// An array of service IDs
	Services []string `json:"services,omitempty"`
	// An array of change IDs
	Changes []string `json:"changes,omitempty"`
	// The ID of a change event as assigned by an external provider
	ExternalID *string `json:"external_id,omitempty"`
	// If provided and valid, the event will be linked to all changes that have the same identities. Identity *values* must be unique.
	ChangeIdentities []ChangeIdentity `json:"change_identities,omitempty"`
	// JSON objects representing attachments, see attachments documentation for the schema
	Attachments []CreateChangeEventAttachment `json:"attachments,omitempty"`
	// Array of additional authors to add to the change event, the creating actor will automatically be added as an author
	Authors []Author `json:"authors,omitempty"`
}

CreateChangeEvent - Create a change event

func (*CreateChangeEvent) GetAttachments ¶

func (c *CreateChangeEvent) GetAttachments() []CreateChangeEventAttachment

func (*CreateChangeEvent) GetAuthors ¶

func (c *CreateChangeEvent) GetAuthors() []Author

func (*CreateChangeEvent) GetChangeIdentities ¶

func (c *CreateChangeEvent) GetChangeIdentities() []ChangeIdentity

func (*CreateChangeEvent) GetChanges ¶

func (c *CreateChangeEvent) GetChanges() []string

func (*CreateChangeEvent) GetDescription ¶

func (c *CreateChangeEvent) GetDescription() *string

func (*CreateChangeEvent) GetEndsAt ¶

func (c *CreateChangeEvent) GetEndsAt() *time.Time

func (*CreateChangeEvent) GetEnvironments ¶

func (c *CreateChangeEvent) GetEnvironments() []string

func (*CreateChangeEvent) GetExternalID ¶

func (c *CreateChangeEvent) GetExternalID() *string

func (*CreateChangeEvent) GetLabels ¶

func (c *CreateChangeEvent) GetLabels() map[string]string

func (*CreateChangeEvent) GetServices ¶

func (c *CreateChangeEvent) GetServices() []string

func (*CreateChangeEvent) GetStartsAt ¶

func (c *CreateChangeEvent) GetStartsAt() *time.Time

func (*CreateChangeEvent) GetSummary ¶

func (c *CreateChangeEvent) GetSummary() string

func (CreateChangeEvent) MarshalJSON ¶

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

func (*CreateChangeEvent) UnmarshalJSON ¶

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

type CreateChangeEventAttachment ¶

type CreateChangeEventAttachment struct {
	Type CreateChangeEventType `json:"type"`
}

func (*CreateChangeEventAttachment) GetType ¶

type CreateChangeEventType ¶

type CreateChangeEventType string
const (
	CreateChangeEventTypeLink CreateChangeEventType = "link"
)

func (CreateChangeEventType) ToPointer ¶

func (*CreateChangeEventType) UnmarshalJSON ¶

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

type CreateChangeIdentity ¶

type CreateChangeIdentity struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

CreateChangeIdentity - Create an identity for the change entry

func (*CreateChangeIdentity) GetType ¶

func (c *CreateChangeIdentity) GetType() string

func (*CreateChangeIdentity) GetValue ¶

func (c *CreateChangeIdentity) GetValue() string

type CreateChecklistTemplate ¶

type CreateChecklistTemplate struct {
	Name string `json:"name"`
	// An array of checks for the checklist template
	Checks      []CreateChecklistTemplateCheck `json:"checks"`
	Description *string                        `json:"description,omitempty"`
	// The ID of the Team that owns the checklist template
	TeamID *string `json:"team_id,omitempty"`
	// Array of service IDs to attach checklist template to
	ConnectedServices []CreateChecklistTemplateConnectedService `json:"connected_services,omitempty"`
}

CreateChecklistTemplate - Creates a checklist template for the organization

func (*CreateChecklistTemplate) GetChecks ¶

func (*CreateChecklistTemplate) GetConnectedServices ¶

func (*CreateChecklistTemplate) GetDescription ¶

func (c *CreateChecklistTemplate) GetDescription() *string

func (*CreateChecklistTemplate) GetName ¶

func (c *CreateChecklistTemplate) GetName() string

func (*CreateChecklistTemplate) GetTeamID ¶

func (c *CreateChecklistTemplate) GetTeamID() *string

type CreateChecklistTemplateCheck ¶

type CreateChecklistTemplateCheck struct {
	// The name of the check
	Name string `json:"name"`
	// The description of the check
	Description *string `json:"description,omitempty"`
}

func (*CreateChecklistTemplateCheck) GetDescription ¶

func (c *CreateChecklistTemplateCheck) GetDescription() *string

func (*CreateChecklistTemplateCheck) GetName ¶

func (c *CreateChecklistTemplateCheck) GetName() string

type CreateChecklistTemplateConnectedService ¶

type CreateChecklistTemplateConnectedService struct {
	ID string `json:"id"`
}

func (*CreateChecklistTemplateConnectedService) GetID ¶

type CreateComment ¶

type CreateComment struct {
	// Text body of comment
	Body string `json:"body"`
}

CreateComment - Creates a comment for a project

func (*CreateComment) GetBody ¶

func (c *CreateComment) GetBody() string

type CreateCommentReaction ¶

type CreateCommentReaction struct {
	// CLDR short name of Unicode emojis
	Reaction string `json:"reaction"`
}

CreateCommentReaction - Create a reaction on a comment

func (*CreateCommentReaction) GetReaction ¶

func (c *CreateCommentReaction) GetReaction() string

type CreateCustomFieldDefinition ¶

type CreateCustomFieldDefinition struct {
	DisplayName       string   `json:"display_name"`
	Description       *string  `json:"description,omitempty"`
	FieldType         string   `json:"field_type"`
	PermissibleValues []string `json:"permissible_values,omitempty"`
	// Whether this field should be required for all incidents.
	Required *bool `json:"required,omitempty"`
	// An optional milestone ID to specify when the field should become required, if `required` is set to `true`. If not provided, required fields are always required.
	RequiredAtMilestoneID *string `json:"required_at_milestone_id,omitempty"`
}

CreateCustomFieldDefinition - Create a new custom field definition

func (*CreateCustomFieldDefinition) GetDescription ¶

func (c *CreateCustomFieldDefinition) GetDescription() *string

func (*CreateCustomFieldDefinition) GetDisplayName ¶

func (c *CreateCustomFieldDefinition) GetDisplayName() string

func (*CreateCustomFieldDefinition) GetFieldType ¶

func (c *CreateCustomFieldDefinition) GetFieldType() string

func (*CreateCustomFieldDefinition) GetPermissibleValues ¶

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

func (*CreateCustomFieldDefinition) GetRequired ¶

func (c *CreateCustomFieldDefinition) GetRequired() *bool

func (*CreateCustomFieldDefinition) GetRequiredAtMilestoneID ¶

func (c *CreateCustomFieldDefinition) GetRequiredAtMilestoneID() *string

type CreateEnvironment ¶

type CreateEnvironment struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
}

CreateEnvironment - Creates an environment for the organization

func (*CreateEnvironment) GetDescription ¶

func (c *CreateEnvironment) GetDescription() *string

func (*CreateEnvironment) GetName ¶

func (c *CreateEnvironment) GetName() string

type CreateFunctionality ¶

type CreateFunctionality struct {
	Name        string                       `json:"name"`
	Description *string                      `json:"description,omitempty"`
	Services    []CreateFunctionalityService `json:"services,omitempty"`
	// A hash of label keys and values
	Labels                map[string]string `json:"labels,omitempty"`
	AlertOnAdd            *bool             `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool             `json:"auto_add_responding_team,omitempty"`
	// An array of external resources to attach to this service.
	ExternalResources []CreateFunctionalityExternalResource `json:"external_resources,omitempty"`
	// An array of links to associate with this service
	Links []CreateFunctionalityLink `json:"links,omitempty"`
	// An object representing a Team that owns the service
	Owner *CreateFunctionalityOwner `json:"owner,omitempty"`
	// An array of teams to attach to this service.
	Teams []CreateFunctionalityTeam `json:"teams,omitempty"`
}

CreateFunctionality - Creates a functionality for the organization

func (*CreateFunctionality) GetAlertOnAdd ¶

func (c *CreateFunctionality) GetAlertOnAdd() *bool

func (*CreateFunctionality) GetAutoAddRespondingTeam ¶

func (c *CreateFunctionality) GetAutoAddRespondingTeam() *bool

func (*CreateFunctionality) GetDescription ¶

func (c *CreateFunctionality) GetDescription() *string

func (*CreateFunctionality) GetExternalResources ¶

func (c *CreateFunctionality) GetExternalResources() []CreateFunctionalityExternalResource

func (*CreateFunctionality) GetLabels ¶

func (c *CreateFunctionality) GetLabels() map[string]string

func (*CreateFunctionality) GetName ¶

func (c *CreateFunctionality) GetName() string

func (*CreateFunctionality) GetOwner ¶

func (*CreateFunctionality) GetServices ¶

func (*CreateFunctionality) GetTeams ¶

type CreateFunctionalityExternalResource ¶

type CreateFunctionalityExternalResource struct {
	RemoteID string `json:"remote_id"`
	// The integration slug for the external resource. Can be one of: github, opsgenie, pager_duty, statuspage, victorops. Not required if the resource has already been imported.
	ConnectionType *string `json:"connection_type,omitempty"`
}

func (*CreateFunctionalityExternalResource) GetConnectionType ¶

func (c *CreateFunctionalityExternalResource) GetConnectionType() *string

func (*CreateFunctionalityExternalResource) GetRemoteID ¶

type CreateFunctionalityLink struct {
	// Short name used to display and identify this link
	Name string `json:"name"`
	// URL
	HrefURL string `json:"href_url"`
	// An optional URL to an icon representing this link
	IconURL *string `json:"icon_url,omitempty"`
}

func (*CreateFunctionalityLink) GetHrefURL ¶

func (c *CreateFunctionalityLink) GetHrefURL() string

func (*CreateFunctionalityLink) GetIconURL ¶

func (c *CreateFunctionalityLink) GetIconURL() *string

func (*CreateFunctionalityLink) GetName ¶

func (c *CreateFunctionalityLink) GetName() string

type CreateFunctionalityOwner ¶

type CreateFunctionalityOwner struct {
	ID string `json:"id"`
}

CreateFunctionalityOwner - An object representing a Team that owns the service

func (*CreateFunctionalityOwner) GetID ¶

func (c *CreateFunctionalityOwner) GetID() string

type CreateFunctionalityService ¶

type CreateFunctionalityService struct {
	// ID of a service
	ID string `json:"id"`
}

func (*CreateFunctionalityService) GetID ¶

type CreateFunctionalityTeam ¶

type CreateFunctionalityTeam struct {
	ID string `json:"id"`
}

func (*CreateFunctionalityTeam) GetID ¶

func (c *CreateFunctionalityTeam) GetID() string

type CreateIncident ¶

type CreateIncident struct {
	Name                  string  `json:"name"`
	Summary               *string `json:"summary,omitempty"`
	CustomerImpactSummary *string `json:"customer_impact_summary,omitempty"`
	Description           *string `json:"description,omitempty"`
	Priority              *string `json:"priority,omitempty"`
	Severity              *string `json:"severity,omitempty"`
	SeverityConditionID   *string `json:"severity_condition_id,omitempty"`
	SeverityImpactID      *string `json:"severity_impact_id,omitempty"`
	// List of alert IDs that this incident should be associated to
	AlertIds []string `json:"alert_ids,omitempty"`
	// Key:value pairs to track custom data for the incident
	Labels *CreateIncidentLabels `json:"labels,omitempty"`
	// List of ids of Runbooks to attach to this incident. Foregoes any conditions these Runbooks may have guarding automatic attachment.
	RunbookIds []string `json:"runbook_ids,omitempty"`
	// List of tags for the incident
	TagList []string `json:"tag_list,omitempty"`
	// An array of impacted infrastructure
	Impacts []CreateIncidentImpact1 `json:"impacts,omitempty"`
	// An array of milestones to set on an incident. This can be used to create an already-resolved incident.
	Milestones []CreateIncidentMilestone `json:"milestones,omitempty"`
	Restricted *bool                     `json:"restricted,omitempty"`
	// IDs of teams you wish to assign to this incident.
	TeamIds []string `json:"team_ids,omitempty"`
	// An array of custom fields to set on the incident.
	CustomFields  []CustomField `json:"custom_fields,omitempty"`
	ExternalLinks *string       `json:"external_links,omitempty"`
	// The ID of the incident type. This will copy values from the incident type (if any) unless they are being overridden via parameters in this request.
	IncidentTypeID *string `json:"incident_type_id,omitempty"`
	// If true, the incident type values will not be copied to the incident. This is useful when creating an incident from an incident type, but you want to set the values manually.
	SkipIncidentTypeValues *bool `default:"false" json:"skip_incident_type_values"`
}

CreateIncident - Create a new incident

func (*CreateIncident) GetAlertIds ¶

func (c *CreateIncident) GetAlertIds() []string

func (*CreateIncident) GetCustomFields ¶

func (c *CreateIncident) GetCustomFields() []CustomField

func (*CreateIncident) GetCustomerImpactSummary ¶

func (c *CreateIncident) GetCustomerImpactSummary() *string

func (*CreateIncident) GetDescription ¶

func (c *CreateIncident) GetDescription() *string
func (c *CreateIncident) GetExternalLinks() *string

func (*CreateIncident) GetImpacts ¶

func (c *CreateIncident) GetImpacts() []CreateIncidentImpact1

func (*CreateIncident) GetIncidentTypeID ¶

func (c *CreateIncident) GetIncidentTypeID() *string

func (*CreateIncident) GetLabels ¶

func (c *CreateIncident) GetLabels() *CreateIncidentLabels

func (*CreateIncident) GetMilestones ¶

func (c *CreateIncident) GetMilestones() []CreateIncidentMilestone

func (*CreateIncident) GetName ¶

func (c *CreateIncident) GetName() string

func (*CreateIncident) GetPriority ¶

func (c *CreateIncident) GetPriority() *string

func (*CreateIncident) GetRestricted ¶

func (c *CreateIncident) GetRestricted() *bool

func (*CreateIncident) GetRunbookIds ¶

func (c *CreateIncident) GetRunbookIds() []string

func (*CreateIncident) GetSeverity ¶

func (c *CreateIncident) GetSeverity() *string

func (*CreateIncident) GetSeverityConditionID ¶

func (c *CreateIncident) GetSeverityConditionID() *string

func (*CreateIncident) GetSeverityImpactID ¶

func (c *CreateIncident) GetSeverityImpactID() *string

func (*CreateIncident) GetSkipIncidentTypeValues ¶

func (c *CreateIncident) GetSkipIncidentTypeValues() *bool

func (*CreateIncident) GetSummary ¶

func (c *CreateIncident) GetSummary() *string

func (*CreateIncident) GetTagList ¶

func (c *CreateIncident) GetTagList() []string

func (*CreateIncident) GetTeamIds ¶

func (c *CreateIncident) GetTeamIds() []string

func (CreateIncident) MarshalJSON ¶

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

func (*CreateIncident) UnmarshalJSON ¶

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

type CreateIncidentChangeEvent ¶

type CreateIncidentChangeEvent struct {
	// The ID of the change event to associate
	ChangeEventID string                        `json:"change_event_id"`
	Type          CreateIncidentChangeEventType `json:"type"`
	// A short description about why this change event is related
	Why *string `json:"why,omitempty"`
}

CreateIncidentChangeEvent - Add a related change to an incident. Changes added to an incident can be causes, fixes, or suspects. To remove a change from an incident, the type field should be set to dismissed.

func (*CreateIncidentChangeEvent) GetChangeEventID ¶

func (c *CreateIncidentChangeEvent) GetChangeEventID() string

func (*CreateIncidentChangeEvent) GetType ¶

func (*CreateIncidentChangeEvent) GetWhy ¶

func (c *CreateIncidentChangeEvent) GetWhy() *string

type CreateIncidentChangeEventType ¶

type CreateIncidentChangeEventType string
const (
	CreateIncidentChangeEventTypeCaused    CreateIncidentChangeEventType = "caused"
	CreateIncidentChangeEventTypeFixed     CreateIncidentChangeEventType = "fixed"
	CreateIncidentChangeEventTypeSuspect   CreateIncidentChangeEventType = "suspect"
	CreateIncidentChangeEventTypeDismissed CreateIncidentChangeEventType = "dismissed"
)

func (CreateIncidentChangeEventType) ToPointer ¶

func (*CreateIncidentChangeEventType) UnmarshalJSON ¶

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

type CreateIncidentChatMessage ¶

type CreateIncidentChatMessage struct {
	Body string `json:"body"`
	// ISO8601 timestamp for when the chat message occurred
	OccurredAt    *time.Time     `json:"occurred_at,omitempty"`
	VoteDirection *VoteDirection `json:"vote_direction,omitempty"`
}

CreateIncidentChatMessage - Create a new generic chat message on an incident timeline. These are independent of any specific chat provider.

func (*CreateIncidentChatMessage) GetBody ¶

func (c *CreateIncidentChatMessage) GetBody() string

func (*CreateIncidentChatMessage) GetOccurredAt ¶

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

func (*CreateIncidentChatMessage) GetVoteDirection ¶

func (c *CreateIncidentChatMessage) GetVoteDirection() *VoteDirection

func (CreateIncidentChatMessage) MarshalJSON ¶

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

func (*CreateIncidentChatMessage) UnmarshalJSON ¶

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

type CreateIncidentImpact ¶

type CreateIncidentImpact struct {
	ID          string  `json:"id"`
	ConditionID *string `json:"condition_id,omitempty"`
}

CreateIncidentImpact - Add impacted infrastructure to an incident

func (*CreateIncidentImpact) GetConditionID ¶

func (c *CreateIncidentImpact) GetConditionID() *string

func (*CreateIncidentImpact) GetID ¶

func (c *CreateIncidentImpact) GetID() string

type CreateIncidentImpact1 ¶

type CreateIncidentImpact1 struct {
	// The type of impacted infrastructure. One of: environment, functionality, or service
	Type string `json:"type"`
	// The ID of the impacted infrastructure
	ID string `json:"id"`
	// The ID of the impact condition. Find these at /v1/severity_matrix/conditions
	ConditionID string `json:"condition_id"`
}

func (*CreateIncidentImpact1) GetConditionID ¶

func (c *CreateIncidentImpact1) GetConditionID() string

func (*CreateIncidentImpact1) GetID ¶

func (c *CreateIncidentImpact1) GetID() string

func (*CreateIncidentImpact1) GetType ¶

func (c *CreateIncidentImpact1) GetType() string

type CreateIncidentLabels ¶

type CreateIncidentLabels struct {
}

CreateIncidentLabels - Key:value pairs to track custom data for the incident

type CreateIncidentLink struct {
	DisplayText *string `json:"display_text,omitempty"`
	IconURL     *string `json:"icon_url,omitempty"`
	Href        string  `json:"href"`
}

CreateIncidentLink - Allows adding adhoc links to an incident as an attachment

func (*CreateIncidentLink) GetDisplayText ¶

func (c *CreateIncidentLink) GetDisplayText() *string

func (*CreateIncidentLink) GetHref ¶

func (c *CreateIncidentLink) GetHref() string

func (*CreateIncidentLink) GetIconURL ¶

func (c *CreateIncidentLink) GetIconURL() *string

type CreateIncidentMilestone ¶

type CreateIncidentMilestone struct {
	// The type/slug of the milestone. Must be one of the currently configured milestones.
	Type string `json:"type"`
	// An ISO8601 formatted string for when this milestone occurred. If you are removing a milestone, this field still needs to be set to some value
	OccurredAt time.Time `json:"occurred_at"`
}

func (*CreateIncidentMilestone) GetOccurredAt ¶

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

func (*CreateIncidentMilestone) GetType ¶

func (c *CreateIncidentMilestone) GetType() string

func (CreateIncidentMilestone) MarshalJSON ¶

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

func (*CreateIncidentMilestone) UnmarshalJSON ¶

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

type CreateIncidentNote ¶

type CreateIncidentNote struct {
	Body string `json:"body"`
	// ISO8601 timestamp for when the note occurred
	OccurredAt  *time.Time                     `json:"occurred_at,omitempty"`
	Visibility  *CreateIncidentNoteVisibility  `default:"private_to_org" json:"visibility"`
	StatusPages []CreateIncidentNoteStatusPage `json:"status_pages,omitempty"`
}

CreateIncidentNote - Create a new note on for an incident. The visibility field on a note determines where it gets posted.

func (*CreateIncidentNote) GetBody ¶

func (c *CreateIncidentNote) GetBody() string

func (*CreateIncidentNote) GetOccurredAt ¶

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

func (*CreateIncidentNote) GetStatusPages ¶

func (c *CreateIncidentNote) GetStatusPages() []CreateIncidentNoteStatusPage

func (*CreateIncidentNote) GetVisibility ¶

func (CreateIncidentNote) MarshalJSON ¶

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

func (*CreateIncidentNote) UnmarshalJSON ¶

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

type CreateIncidentNoteStatusPage ¶

type CreateIncidentNoteStatusPage struct {
	ID              string `json:"id"`
	IntegrationSlug string `json:"integration_slug"`
}

func (*CreateIncidentNoteStatusPage) GetID ¶

func (*CreateIncidentNoteStatusPage) GetIntegrationSlug ¶

func (c *CreateIncidentNoteStatusPage) GetIntegrationSlug() string

type CreateIncidentNoteVisibility ¶

type CreateIncidentNoteVisibility string
const (
	CreateIncidentNoteVisibilityPrivateToOrg       CreateIncidentNoteVisibility = "private_to_org"
	CreateIncidentNoteVisibilityOpenToPublic       CreateIncidentNoteVisibility = "open_to_public"
	CreateIncidentNoteVisibilityInternalStatusPage CreateIncidentNoteVisibility = "internal_status_page"
)

func (CreateIncidentNoteVisibility) ToPointer ¶

func (*CreateIncidentNoteVisibility) UnmarshalJSON ¶

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

type CreateIncidentRole ¶

type CreateIncidentRole struct {
	Name        string  `json:"name"`
	Summary     string  `json:"summary"`
	Description *string `json:"description,omitempty"`
}

CreateIncidentRole - Create a new incident role

func (*CreateIncidentRole) GetDescription ¶

func (c *CreateIncidentRole) GetDescription() *string

func (*CreateIncidentRole) GetName ¶

func (c *CreateIncidentRole) GetName() string

func (*CreateIncidentRole) GetSummary ¶

func (c *CreateIncidentRole) GetSummary() string

type CreateIncidentRoleAssignment ¶

type CreateIncidentRoleAssignment struct {
	// The user ID to assign the role to
	UserID string `json:"user_id"`
	// The Incident Role ID to assign the role to
	IncidentRoleID string `json:"incident_role_id"`
}

CreateIncidentRoleAssignment - Assign a role to a user for this incident

func (*CreateIncidentRoleAssignment) GetIncidentRoleID ¶

func (c *CreateIncidentRoleAssignment) GetIncidentRoleID() string

func (*CreateIncidentRoleAssignment) GetUserID ¶

func (c *CreateIncidentRoleAssignment) GetUserID() string

type CreateIncidentStatusPage ¶

type CreateIncidentStatusPage struct {
	IntegrationSlug string  `json:"integration_slug"`
	IntegrationID   string  `json:"integration_id"`
	Title           *string `json:"title,omitempty"`
}

CreateIncidentStatusPage - Add a status page to an incident.

func (*CreateIncidentStatusPage) GetIntegrationID ¶

func (c *CreateIncidentStatusPage) GetIntegrationID() string

func (*CreateIncidentStatusPage) GetIntegrationSlug ¶

func (c *CreateIncidentStatusPage) GetIntegrationSlug() string

func (*CreateIncidentStatusPage) GetTitle ¶

func (c *CreateIncidentStatusPage) GetTitle() *string

type CreateIncidentTask ¶

type CreateIncidentTask struct {
	// The title of the task.
	Title string `json:"title"`
	// The state of the task. One of: open, in_progress, cancelled, done
	State *string `json:"state,omitempty"`
	// A description of what the task is for.
	Description *string `json:"description,omitempty"`
	// The ID of the user assigned to the task.
	AssigneeID *string `json:"assignee_id,omitempty"`
	// The due date of the task. Relative values are supported such as '5m'
	DueAt *string `json:"due_at,omitempty"`
}

CreateIncidentTask - Create a task

func (*CreateIncidentTask) GetAssigneeID ¶

func (c *CreateIncidentTask) GetAssigneeID() *string

func (*CreateIncidentTask) GetDescription ¶

func (c *CreateIncidentTask) GetDescription() *string

func (*CreateIncidentTask) GetDueAt ¶

func (c *CreateIncidentTask) GetDueAt() *string

func (*CreateIncidentTask) GetState ¶

func (c *CreateIncidentTask) GetState() *string

func (*CreateIncidentTask) GetTitle ¶

func (c *CreateIncidentTask) GetTitle() string

type CreateIncidentTaskList ¶

type CreateIncidentTaskList struct {
	// The id of the task list.
	TaskListID string `json:"task_list_id"`
	// The ID of the user assigned to the tasks in this list.
	AssigneeID *string `json:"assignee_id,omitempty"`
}

CreateIncidentTaskList - Add all tasks from list to incident

func (*CreateIncidentTaskList) GetAssigneeID ¶

func (c *CreateIncidentTaskList) GetAssigneeID() *string

func (*CreateIncidentTaskList) GetTaskListID ¶

func (c *CreateIncidentTaskList) GetTaskListID() string

type CreateIncidentTeamAssignment ¶

type CreateIncidentTeamAssignment struct {
	// The team ID to associate to the incident
	TeamID string `json:"team_id"`
}

CreateIncidentTeamAssignment - Assign a team for this incident

func (*CreateIncidentTeamAssignment) GetTeamID ¶

func (c *CreateIncidentTeamAssignment) GetTeamID() string

type CreateIncidentType ¶

type CreateIncidentType struct {
	Name string `json:"name"`
	// A description of the incident type
	Description *string                    `json:"description,omitempty"`
	Template    CreateIncidentTypeTemplate `json:"template"`
}

CreateIncidentType - Create a new incident type

func (*CreateIncidentType) GetDescription ¶

func (c *CreateIncidentType) GetDescription() *string

func (*CreateIncidentType) GetName ¶

func (c *CreateIncidentType) GetName() string

func (*CreateIncidentType) GetTemplate ¶

type CreateIncidentTypeImpact ¶

type CreateIncidentTypeImpact struct {
	// The id of impact
	ID string `json:"id"`
	// The id of the condition
	ConditionID string `json:"condition_id"`
}

func (*CreateIncidentTypeImpact) GetConditionID ¶

func (c *CreateIncidentTypeImpact) GetConditionID() string

func (*CreateIncidentTypeImpact) GetID ¶

func (c *CreateIncidentTypeImpact) GetID() string

type CreateIncidentTypeTemplate ¶

type CreateIncidentTypeTemplate struct {
	Description           *string `json:"description,omitempty"`
	CustomerImpactSummary *string `json:"customer_impact_summary,omitempty"`
	// A labels hash of keys and values
	Labels   map[string]string `json:"labels,omitempty"`
	Severity *string           `json:"severity,omitempty"`
	Priority *string           `json:"priority,omitempty"`
	// List of tags for the incident
	TagList []string `json:"tag_list,omitempty"`
	// List of ids of Runbooks to attach to incidents created from this type
	RunbookIds      []string `json:"runbook_ids,omitempty"`
	PrivateIncident *bool    `json:"private_incident,omitempty"`
	// List of ids of teams to be assigned to incidents
	TeamIds []string `json:"team_ids,omitempty"`
	// An array of impact/condition combinations
	Impacts []CreateIncidentTypeImpact `json:"impacts,omitempty"`
}

func (*CreateIncidentTypeTemplate) GetCustomerImpactSummary ¶

func (c *CreateIncidentTypeTemplate) GetCustomerImpactSummary() *string

func (*CreateIncidentTypeTemplate) GetDescription ¶

func (c *CreateIncidentTypeTemplate) GetDescription() *string

func (*CreateIncidentTypeTemplate) GetImpacts ¶

func (*CreateIncidentTypeTemplate) GetLabels ¶

func (c *CreateIncidentTypeTemplate) GetLabels() map[string]string

func (*CreateIncidentTypeTemplate) GetPriority ¶

func (c *CreateIncidentTypeTemplate) GetPriority() *string

func (*CreateIncidentTypeTemplate) GetPrivateIncident ¶

func (c *CreateIncidentTypeTemplate) GetPrivateIncident() *bool

func (*CreateIncidentTypeTemplate) GetRunbookIds ¶

func (c *CreateIncidentTypeTemplate) GetRunbookIds() []string

func (*CreateIncidentTypeTemplate) GetSeverity ¶

func (c *CreateIncidentTypeTemplate) GetSeverity() *string

func (*CreateIncidentTypeTemplate) GetTagList ¶

func (c *CreateIncidentTypeTemplate) GetTagList() []string

func (*CreateIncidentTypeTemplate) GetTeamIds ¶

func (c *CreateIncidentTypeTemplate) GetTeamIds() []string

type CreateNuncSubscription ¶

type CreateNuncSubscription struct {
	Email string `json:"email"`
}

CreateNuncSubscription - Subscribe to status page updates

func (*CreateNuncSubscription) GetEmail ¶

func (c *CreateNuncSubscription) GetEmail() string

type CreateOnCallScheduleRotation ¶

type CreateOnCallScheduleRotation struct {
	// The name of the on-call rotation
	Name string `json:"name"`
	// The timezone of the on-call rotation as a string
	TimeZone string `json:"time_zone"`
	// The description of the on-call rotation
	Description *string `json:"description,omitempty"`
	// The Slack Usergroup ID for the on-call rotation
	SlackUserGroupID *string `json:"slack_user_group_id,omitempty"`
	// Notify the team's Slack channel when handoffs occur
	EnableSlackChannelNotifications *bool `json:"enable_slack_channel_notifications,omitempty"`
	// Prevent shifts from being deleted by users and leading to gaps in coverage.
	PreventShiftDeletion *bool `json:"prevent_shift_deletion,omitempty"`
	// An ISO8601 duration string specifying that the team should be notified about gaps in coverage for the upcoming interval. Notifications are sent at 9am daily in the rotation's time zone via email and, if enabled, the team's Slack channel.
	CoverageGapNotificationInterval *string `json:"coverage_gap_notification_interval,omitempty"`
	// A hex color code that will be used to represent the rotation in FireHydrant's UI.
	Color *string `json:"color,omitempty"`
	// An ordered list of objects that specify members of the schedule's rotation.
	Members []CreateOnCallScheduleRotationMember `json:"members,omitempty"`
	// An object that specifies how the rotation's on-call shifts should be generated.
	Strategy CreateOnCallScheduleRotationStrategy `json:"strategy"`
	// A list of objects that restrict the rotation to specific on-call periods.
	Restrictions []CreateOnCallScheduleRotationRestriction `json:"restrictions,omitempty"`
	// An ISO8601 time string specifying when the initial rotation should start. This value is only used if the rotation's strategy type is "custom".
	StartTime *string `json:"start_time,omitempty"`
}

CreateOnCallScheduleRotation - Add a new rotation to an existing on-call schedule

func (*CreateOnCallScheduleRotation) GetColor ¶

func (c *CreateOnCallScheduleRotation) GetColor() *string

func (*CreateOnCallScheduleRotation) GetCoverageGapNotificationInterval ¶

func (c *CreateOnCallScheduleRotation) GetCoverageGapNotificationInterval() *string

func (*CreateOnCallScheduleRotation) GetDescription ¶

func (c *CreateOnCallScheduleRotation) GetDescription() *string

func (*CreateOnCallScheduleRotation) GetEnableSlackChannelNotifications ¶

func (c *CreateOnCallScheduleRotation) GetEnableSlackChannelNotifications() *bool

func (*CreateOnCallScheduleRotation) GetMembers ¶

func (*CreateOnCallScheduleRotation) GetName ¶

func (c *CreateOnCallScheduleRotation) GetName() string

func (*CreateOnCallScheduleRotation) GetPreventShiftDeletion ¶

func (c *CreateOnCallScheduleRotation) GetPreventShiftDeletion() *bool

func (*CreateOnCallScheduleRotation) GetRestrictions ¶

func (*CreateOnCallScheduleRotation) GetSlackUserGroupID ¶

func (c *CreateOnCallScheduleRotation) GetSlackUserGroupID() *string

func (*CreateOnCallScheduleRotation) GetStartTime ¶

func (c *CreateOnCallScheduleRotation) GetStartTime() *string

func (*CreateOnCallScheduleRotation) GetStrategy ¶

func (*CreateOnCallScheduleRotation) GetTimeZone ¶

func (c *CreateOnCallScheduleRotation) GetTimeZone() string

type CreateOnCallScheduleRotationEndDay ¶

type CreateOnCallScheduleRotationEndDay string

CreateOnCallScheduleRotationEndDay - The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	CreateOnCallScheduleRotationEndDayMonday    CreateOnCallScheduleRotationEndDay = "monday"
	CreateOnCallScheduleRotationEndDayTuesday   CreateOnCallScheduleRotationEndDay = "tuesday"
	CreateOnCallScheduleRotationEndDayWednesday CreateOnCallScheduleRotationEndDay = "wednesday"
	CreateOnCallScheduleRotationEndDayThursday  CreateOnCallScheduleRotationEndDay = "thursday"
	CreateOnCallScheduleRotationEndDayFriday    CreateOnCallScheduleRotationEndDay = "friday"
	CreateOnCallScheduleRotationEndDaySaturday  CreateOnCallScheduleRotationEndDay = "saturday"
	CreateOnCallScheduleRotationEndDaySunday    CreateOnCallScheduleRotationEndDay = "sunday"
)

func (CreateOnCallScheduleRotationEndDay) ToPointer ¶

func (*CreateOnCallScheduleRotationEndDay) UnmarshalJSON ¶

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

type CreateOnCallScheduleRotationHandoffDay ¶

type CreateOnCallScheduleRotationHandoffDay string

CreateOnCallScheduleRotationHandoffDay - The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".

const (
	CreateOnCallScheduleRotationHandoffDayMonday    CreateOnCallScheduleRotationHandoffDay = "monday"
	CreateOnCallScheduleRotationHandoffDayTuesday   CreateOnCallScheduleRotationHandoffDay = "tuesday"
	CreateOnCallScheduleRotationHandoffDayWednesday CreateOnCallScheduleRotationHandoffDay = "wednesday"
	CreateOnCallScheduleRotationHandoffDayThursday  CreateOnCallScheduleRotationHandoffDay = "thursday"
	CreateOnCallScheduleRotationHandoffDayFriday    CreateOnCallScheduleRotationHandoffDay = "friday"
	CreateOnCallScheduleRotationHandoffDaySaturday  CreateOnCallScheduleRotationHandoffDay = "saturday"
	CreateOnCallScheduleRotationHandoffDaySunday    CreateOnCallScheduleRotationHandoffDay = "sunday"
)

func (CreateOnCallScheduleRotationHandoffDay) ToPointer ¶

func (*CreateOnCallScheduleRotationHandoffDay) UnmarshalJSON ¶

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

type CreateOnCallScheduleRotationMember ¶

type CreateOnCallScheduleRotationMember struct {
	// The ID of a user who should be added to the rotation. You can add a user to the rotation
	// multiple times to construct more complex rotations, and you can specify a `null` user ID to create
	// unassigned slots in the rotation.
	//
	UserID *string `json:"user_id,omitempty"`
}

func (*CreateOnCallScheduleRotationMember) GetUserID ¶

type CreateOnCallScheduleRotationRestriction ¶

type CreateOnCallScheduleRotationRestriction struct {
	// The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).
	StartDay CreateOnCallScheduleRotationStartDay `json:"start_day"`
	// An ISO8601 time string specifying when the restriction should start.
	StartTime string `json:"start_time"`
	// The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).
	EndDay CreateOnCallScheduleRotationEndDay `json:"end_day"`
	// An ISO8601 time string specifying when the restriction should end.
	EndTime string `json:"end_time"`
}

func (*CreateOnCallScheduleRotationRestriction) GetEndDay ¶

func (*CreateOnCallScheduleRotationRestriction) GetEndTime ¶

func (*CreateOnCallScheduleRotationRestriction) GetStartDay ¶

func (*CreateOnCallScheduleRotationRestriction) GetStartTime ¶

type CreateOnCallScheduleRotationStartDay ¶

type CreateOnCallScheduleRotationStartDay string

CreateOnCallScheduleRotationStartDay - The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	CreateOnCallScheduleRotationStartDayMonday    CreateOnCallScheduleRotationStartDay = "monday"
	CreateOnCallScheduleRotationStartDayTuesday   CreateOnCallScheduleRotationStartDay = "tuesday"
	CreateOnCallScheduleRotationStartDayWednesday CreateOnCallScheduleRotationStartDay = "wednesday"
	CreateOnCallScheduleRotationStartDayThursday  CreateOnCallScheduleRotationStartDay = "thursday"
	CreateOnCallScheduleRotationStartDayFriday    CreateOnCallScheduleRotationStartDay = "friday"
	CreateOnCallScheduleRotationStartDaySaturday  CreateOnCallScheduleRotationStartDay = "saturday"
	CreateOnCallScheduleRotationStartDaySunday    CreateOnCallScheduleRotationStartDay = "sunday"
)

func (CreateOnCallScheduleRotationStartDay) ToPointer ¶

func (*CreateOnCallScheduleRotationStartDay) UnmarshalJSON ¶

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

type CreateOnCallScheduleRotationStrategy ¶

type CreateOnCallScheduleRotationStrategy struct {
	// The type of strategy. Must be one of "daily", "weekly", or "custom".
	Type CreateOnCallScheduleRotationType `json:"type"`
	// An ISO8601 time string specifying when on-call shifts should hand off. This value is only used if the strategy type is "daily" or "weekly".
	HandoffTime *string `json:"handoff_time,omitempty"`
	// The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".
	HandoffDay *CreateOnCallScheduleRotationHandoffDay `json:"handoff_day,omitempty"`
	// An ISO8601 duration string specifying how long each shift should last. This value is only used if the strategy type is "custom".
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

CreateOnCallScheduleRotationStrategy - An object that specifies how the rotation's on-call shifts should be generated.

func (*CreateOnCallScheduleRotationStrategy) GetHandoffDay ¶

func (*CreateOnCallScheduleRotationStrategy) GetHandoffTime ¶

func (c *CreateOnCallScheduleRotationStrategy) GetHandoffTime() *string

func (*CreateOnCallScheduleRotationStrategy) GetShiftDuration ¶

func (c *CreateOnCallScheduleRotationStrategy) GetShiftDuration() *string

func (*CreateOnCallScheduleRotationStrategy) GetType ¶

type CreateOnCallScheduleRotationType ¶

type CreateOnCallScheduleRotationType string

CreateOnCallScheduleRotationType - The type of strategy. Must be one of "daily", "weekly", or "custom".

const (
	CreateOnCallScheduleRotationTypeDaily  CreateOnCallScheduleRotationType = "daily"
	CreateOnCallScheduleRotationTypeWeekly CreateOnCallScheduleRotationType = "weekly"
	CreateOnCallScheduleRotationTypeCustom CreateOnCallScheduleRotationType = "custom"
)

func (CreateOnCallScheduleRotationType) ToPointer ¶

func (*CreateOnCallScheduleRotationType) UnmarshalJSON ¶

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

type CreateOnCallShift ¶

type CreateOnCallShift struct {
	// The start time of the shift in ISO8601 format.
	StartTime time.Time `json:"start_time"`
	// The end time of the shift in ISO8601 format.
	EndTime time.Time `json:"end_time"`
	// The ID of the user who is on-call for the shift. If not provided, the shift will be unassigned.
	UserID *string `json:"user_id,omitempty"`
	// The ID of the on-call rotation you want to create the shift in. This parameter is optional for backwards compatibility but must be provided if the schedule has multiple rotations.
	RotationID *string `json:"rotation_id,omitempty"`
}

CreateOnCallShift - Create a Signals on-call shift in a schedule.

func (*CreateOnCallShift) GetEndTime ¶

func (c *CreateOnCallShift) GetEndTime() time.Time

func (*CreateOnCallShift) GetRotationID ¶

func (c *CreateOnCallShift) GetRotationID() *string

func (*CreateOnCallShift) GetStartTime ¶

func (c *CreateOnCallShift) GetStartTime() time.Time

func (*CreateOnCallShift) GetUserID ¶

func (c *CreateOnCallShift) GetUserID() *string

func (CreateOnCallShift) MarshalJSON ¶

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

func (*CreateOnCallShift) UnmarshalJSON ¶

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

type CreatePostMortemReason ¶

type CreatePostMortemReason struct {
	Summary string `json:"summary"`
}

CreatePostMortemReason - Add a new contributing factor to an incident

func (*CreatePostMortemReason) GetSummary ¶

func (c *CreatePostMortemReason) GetSummary() string

type CreatePostMortemReport ¶

type CreatePostMortemReport struct {
	IncidentID string `json:"incident_id"`
}

CreatePostMortemReport - Create a report

func (*CreatePostMortemReport) GetIncidentID ¶

func (c *CreatePostMortemReport) GetIncidentID() string

type CreatePriority ¶

type CreatePriority struct {
	Slug        string  `json:"slug"`
	Description *string `json:"description,omitempty"`
	Default     *bool   `json:"default,omitempty"`
}

CreatePriority - Create a new priority

func (*CreatePriority) GetDefault ¶

func (c *CreatePriority) GetDefault() *bool

func (*CreatePriority) GetDescription ¶

func (c *CreatePriority) GetDescription() *string

func (*CreatePriority) GetSlug ¶

func (c *CreatePriority) GetSlug() string

type CreateRole ¶

type CreateRole struct {
	// The name of the role.
	Name string `json:"name"`
	// A unique identifier for the role. If not provided, one will be generated from the name.
	Slug *string `json:"slug,omitempty"`
	// A long-form description of the role's purpose.
	Description *string `json:"description,omitempty"`
	// An array of permission slugs to assign to the role.
	Permissions []CreateRolePermission `json:"permissions,omitempty"`
}

CreateRole - Create a new role

func (*CreateRole) GetDescription ¶

func (c *CreateRole) GetDescription() *string

func (*CreateRole) GetName ¶

func (c *CreateRole) GetName() string

func (*CreateRole) GetPermissions ¶

func (c *CreateRole) GetPermissions() []CreateRolePermission

func (*CreateRole) GetSlug ¶

func (c *CreateRole) GetSlug() *string

type CreateRolePermission ¶

type CreateRolePermission string
const (
	CreateRolePermissionCreateAlerts                           CreateRolePermission = "create_alerts"
	CreateRolePermissionRespondToAlerts                        CreateRolePermission = "respond_to_alerts"
	CreateRolePermissionReadAlerts                             CreateRolePermission = "read_alerts"
	CreateRolePermissionManageAlertGrouping                    CreateRolePermission = "manage_alert_grouping"
	CreateRolePermissionReadAlertGrouping                      CreateRolePermission = "read_alert_grouping"
	CreateRolePermissionManageAlertRules                       CreateRolePermission = "manage_alert_rules"
	CreateRolePermissionReadAlertRules                         CreateRolePermission = "read_alert_rules"
	CreateRolePermissionManageCallRoutes                       CreateRolePermission = "manage_call_routes"
	CreateRolePermissionReadCallRoutes                         CreateRolePermission = "read_call_routes"
	CreateRolePermissionManageEscalationPolicies               CreateRolePermission = "manage_escalation_policies"
	CreateRolePermissionReadEscalationPolicies                 CreateRolePermission = "read_escalation_policies"
	CreateRolePermissionManageEventSources                     CreateRolePermission = "manage_event_sources"
	CreateRolePermissionReadEventSources                       CreateRolePermission = "read_event_sources"
	CreateRolePermissionManageOnCallSchedules                  CreateRolePermission = "manage_on_call_schedules"
	CreateRolePermissionReadOnCallSchedules                    CreateRolePermission = "read_on_call_schedules"
	CreateRolePermissionManageOnCallShifts                     CreateRolePermission = "manage_on_call_shifts"
	CreateRolePermissionClaimOnCallShifts                      CreateRolePermission = "claim_on_call_shifts"
	CreateRolePermissionManageOrganizationNotificationPolicies CreateRolePermission = "manage_organization_notification_policies"
	CreateRolePermissionReadNotificationPolicyCompliance       CreateRolePermission = "read_notification_policy_compliance"
	CreateRolePermissionManageWebhookTargets                   CreateRolePermission = "manage_webhook_targets"
	CreateRolePermissionReadWebhookTargets                     CreateRolePermission = "read_webhook_targets"
	CreateRolePermissionReadAnalytics                          CreateRolePermission = "read_analytics"
	CreateRolePermissionManageAPIKeys                          CreateRolePermission = "manage_api_keys"
	CreateRolePermissionReadAPIKeys                            CreateRolePermission = "read_api_keys"
	CreateRolePermissionManageAudiences                        CreateRolePermission = "manage_audiences"
	CreateRolePermissionReadAudiences                          CreateRolePermission = "read_audiences"
	CreateRolePermissionReadAuditEvents                        CreateRolePermission = "read_audit_events"
	CreateRolePermissionManageChangeEvents                     CreateRolePermission = "manage_change_events"
	CreateRolePermissionReadChangeEvents                       CreateRolePermission = "read_change_events"
	CreateRolePermissionManageIncidents                        CreateRolePermission = "manage_incidents"
	CreateRolePermissionCreateIncidents                        CreateRolePermission = "create_incidents"
	CreateRolePermissionReadIncidents                          CreateRolePermission = "read_incidents"
	CreateRolePermissionManageIncidentSettings                 CreateRolePermission = "manage_incident_settings"
	CreateRolePermissionReadIncidentSettings                   CreateRolePermission = "read_incident_settings"
	CreateRolePermissionManageIntegrations                     CreateRolePermission = "manage_integrations"
	CreateRolePermissionReadIntegrations                       CreateRolePermission = "read_integrations"
	CreateRolePermissionManagePrivateIncidents                 CreateRolePermission = "manage_private_incidents"
	CreateRolePermissionManageOrganizationSecrets              CreateRolePermission = "manage_organization_secrets"
	CreateRolePermissionReadOrganizationSecrets                CreateRolePermission = "read_organization_secrets"
	CreateRolePermissionManageOrganizationSettings             CreateRolePermission = "manage_organization_settings"
	CreateRolePermissionReadOrganizationSettings               CreateRolePermission = "read_organization_settings"
	CreateRolePermissionManageRoles                            CreateRolePermission = "manage_roles"
	CreateRolePermissionReadRoles                              CreateRolePermission = "read_roles"
	CreateRolePermissionManageRunbooks                         CreateRolePermission = "manage_runbooks"
	CreateRolePermissionReadRunbooks                           CreateRolePermission = "read_runbooks"
	CreateRolePermissionManageServiceCatalog                   CreateRolePermission = "manage_service_catalog"
	CreateRolePermissionReadServiceCatalog                     CreateRolePermission = "read_service_catalog"
	CreateRolePermissionManageStatusTemplates                  CreateRolePermission = "manage_status_templates"
	CreateRolePermissionReadStatusTemplates                    CreateRolePermission = "read_status_templates"
	CreateRolePermissionManageStatusPageUpdates                CreateRolePermission = "manage_status_page_updates"
	CreateRolePermissionManageSupportHours                     CreateRolePermission = "manage_support_hours"
	CreateRolePermissionReadSupportHours                       CreateRolePermission = "read_support_hours"
	CreateRolePermissionManageTeams                            CreateRolePermission = "manage_teams"
	CreateRolePermissionReadTeams                              CreateRolePermission = "read_teams"
	CreateRolePermissionManageUsers                            CreateRolePermission = "manage_users"
	CreateRolePermissionReadUsers                              CreateRolePermission = "read_users"
	CreateRolePermissionManageWebhooks                         CreateRolePermission = "manage_webhooks"
	CreateRolePermissionReadWebhooks                           CreateRolePermission = "read_webhooks"
)

func (CreateRolePermission) ToPointer ¶

func (*CreateRolePermission) UnmarshalJSON ¶

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

type CreateRunbook ¶

type CreateRunbook struct {
	Name string `json:"name"`
	// Deprecated, but still required. Please just use 'incident'
	Type CreateRunbookType `json:"type"`
	// Deprecated. Use description
	Summary *string `json:"summary,omitempty"`
	// A longer description about the Runbook. Supports markdown format
	Description *string `json:"description,omitempty"`
	// Whether or not this runbook should be automatically attached to restricted incidents. Note that setting this to `true` will prevent it from being attached to public incidents, even manually. Defaults to `false`.
	AutoAttachToRestrictedIncidents *bool `json:"auto_attach_to_restricted_incidents,omitempty"`
	// Whether or not this runbook is a tutorial runbook
	Tutorial *bool `json:"tutorial,omitempty"`
	// An object representing a Team that owns the runbook
	Owner          *CreateRunbookOwner          `json:"owner,omitempty"`
	AttachmentRule *CreateRunbookAttachmentRule `json:"attachment_rule,omitempty"`
	Steps          []CreateRunbookStep          `json:"steps,omitempty"`
}

CreateRunbook - Create a new runbook for use with incidents.

func (*CreateRunbook) GetAttachmentRule ¶

func (c *CreateRunbook) GetAttachmentRule() *CreateRunbookAttachmentRule

func (*CreateRunbook) GetAutoAttachToRestrictedIncidents ¶

func (c *CreateRunbook) GetAutoAttachToRestrictedIncidents() *bool

func (*CreateRunbook) GetDescription ¶

func (c *CreateRunbook) GetDescription() *string

func (*CreateRunbook) GetName ¶

func (c *CreateRunbook) GetName() string

func (*CreateRunbook) GetOwner ¶

func (c *CreateRunbook) GetOwner() *CreateRunbookOwner

func (*CreateRunbook) GetSteps ¶

func (c *CreateRunbook) GetSteps() []CreateRunbookStep

func (*CreateRunbook) GetSummary ¶

func (c *CreateRunbook) GetSummary() *string

func (*CreateRunbook) GetTutorial ¶

func (c *CreateRunbook) GetTutorial() *bool

func (*CreateRunbook) GetType ¶

func (c *CreateRunbook) GetType() CreateRunbookType

type CreateRunbookAttachmentRule ¶

type CreateRunbookAttachmentRule struct {
	// The JSON logic for the attaching the runbook
	Logic string `json:"logic"`
	// The user data for the rule
	UserData *string `json:"user_data,omitempty"`
}

func (*CreateRunbookAttachmentRule) GetLogic ¶

func (c *CreateRunbookAttachmentRule) GetLogic() string

func (*CreateRunbookAttachmentRule) GetUserData ¶

func (c *CreateRunbookAttachmentRule) GetUserData() *string

type CreateRunbookExecution ¶

type CreateRunbookExecution struct {
	// The incident to attach the runbook to. Format must be: `incident/${incidentId}`
	ExecuteFor string `json:"execute_for"`
	// ID of runbook to attach
	RunbookID string `json:"runbook_id"`
}

CreateRunbookExecution - Attaches a runbook to an incident and executes it

func (*CreateRunbookExecution) GetExecuteFor ¶

func (c *CreateRunbookExecution) GetExecuteFor() string

func (*CreateRunbookExecution) GetRunbookID ¶

func (c *CreateRunbookExecution) GetRunbookID() string

type CreateRunbookOwner ¶

type CreateRunbookOwner struct {
	ID string `json:"id"`
}

CreateRunbookOwner - An object representing a Team that owns the runbook

func (*CreateRunbookOwner) GetID ¶

func (c *CreateRunbookOwner) GetID() string

type CreateRunbookRule ¶

type CreateRunbookRule struct {
	// The JSON logic for the rule
	Logic string `json:"logic"`
	// The user data for the rule
	UserData *string `json:"user_data,omitempty"`
}

func (*CreateRunbookRule) GetLogic ¶

func (c *CreateRunbookRule) GetLogic() string

func (*CreateRunbookRule) GetUserData ¶

func (c *CreateRunbookRule) GetUserData() *string

type CreateRunbookStep ¶

type CreateRunbookStep struct {
	// Name for step
	Name string `json:"name"`
	// ID of action to use for this step.
	ActionID string             `json:"action_id"`
	Rule     *CreateRunbookRule `json:"rule,omitempty"`
}

func (*CreateRunbookStep) GetActionID ¶

func (c *CreateRunbookStep) GetActionID() string

func (*CreateRunbookStep) GetName ¶

func (c *CreateRunbookStep) GetName() string

func (*CreateRunbookStep) GetRule ¶

func (c *CreateRunbookStep) GetRule() *CreateRunbookRule

type CreateRunbookType ¶

type CreateRunbookType string

CreateRunbookType - Deprecated, but still required. Please just use 'incident'

const (
	CreateRunbookTypeIncident       CreateRunbookType = "incident"
	CreateRunbookTypeGeneral        CreateRunbookType = "general"
	CreateRunbookTypeInfrastructure CreateRunbookType = "infrastructure"
	CreateRunbookTypeIncidentRole   CreateRunbookType = "incident_role"
)

func (CreateRunbookType) ToPointer ¶

func (e CreateRunbookType) ToPointer() *CreateRunbookType

func (*CreateRunbookType) UnmarshalJSON ¶

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

type CreateSavedSearch ¶

type CreateSavedSearch struct {
	Name         string         `json:"name"`
	IsPrivate    *bool          `json:"is_private,omitempty"`
	FilterValues map[string]any `json:"filter_values"`
}

CreateSavedSearch - Create a new saved search for a particular resource type

func (*CreateSavedSearch) GetFilterValues ¶

func (c *CreateSavedSearch) GetFilterValues() map[string]any

func (*CreateSavedSearch) GetIsPrivate ¶

func (c *CreateSavedSearch) GetIsPrivate() *bool

func (*CreateSavedSearch) GetName ¶

func (c *CreateSavedSearch) GetName() string

type CreateScheduledMaintenance ¶

type CreateScheduledMaintenance struct {
	Name string `json:"name"`
	// ISO8601 timestamp for the start time of the scheduled maintenance
	StartsAt time.Time `json:"starts_at"`
	// ISO8601 timestamp for the end time of the scheduled maintenance
	EndsAt      time.Time `json:"ends_at"`
	Summary     *string   `json:"summary,omitempty"`
	Description *string   `json:"description,omitempty"`
	// A json object of label keys and values
	Labels map[string]string `json:"labels,omitempty"`
	// An array of status pages to display this maintenance on
	StatusPages []CreateScheduledMaintenanceStatusPage `json:"status_pages,omitempty"`
	// An array of impact/condition combinations
	Impacts []CreateScheduledMaintenanceImpact `json:"impacts,omitempty"`
}

CreateScheduledMaintenance - Create a new scheduled maintenance event

func (*CreateScheduledMaintenance) GetDescription ¶

func (c *CreateScheduledMaintenance) GetDescription() *string

func (*CreateScheduledMaintenance) GetEndsAt ¶

func (c *CreateScheduledMaintenance) GetEndsAt() time.Time

func (*CreateScheduledMaintenance) GetImpacts ¶

func (*CreateScheduledMaintenance) GetLabels ¶

func (c *CreateScheduledMaintenance) GetLabels() map[string]string

func (*CreateScheduledMaintenance) GetName ¶

func (c *CreateScheduledMaintenance) GetName() string

func (*CreateScheduledMaintenance) GetStartsAt ¶

func (c *CreateScheduledMaintenance) GetStartsAt() time.Time

func (*CreateScheduledMaintenance) GetStatusPages ¶

func (*CreateScheduledMaintenance) GetSummary ¶

func (c *CreateScheduledMaintenance) GetSummary() *string

func (CreateScheduledMaintenance) MarshalJSON ¶

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

func (*CreateScheduledMaintenance) UnmarshalJSON ¶

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

type CreateScheduledMaintenanceImpact ¶

type CreateScheduledMaintenanceImpact struct {
	// The type of impact
	Type string `json:"type"`
	// The id of impact
	ID string `json:"id"`
	// The id of the condition
	ConditionID string `json:"condition_id"`
}

func (*CreateScheduledMaintenanceImpact) GetConditionID ¶

func (c *CreateScheduledMaintenanceImpact) GetConditionID() string

func (*CreateScheduledMaintenanceImpact) GetID ¶

func (*CreateScheduledMaintenanceImpact) GetType ¶

type CreateScheduledMaintenanceStatusPage ¶

type CreateScheduledMaintenanceStatusPage struct {
	// The slug identifying the type of status page
	IntegrationSlug *string `json:"integration_slug,omitempty"`
	// The UUID of the status page to display this maintenance on
	ConnectionID string `json:"connection_id"`
}

func (*CreateScheduledMaintenanceStatusPage) GetConnectionID ¶

func (c *CreateScheduledMaintenanceStatusPage) GetConnectionID() string

func (*CreateScheduledMaintenanceStatusPage) GetIntegrationSlug ¶

func (c *CreateScheduledMaintenanceStatusPage) GetIntegrationSlug() *string

type CreateScimGroup ¶

type CreateScimGroup struct {
	// The name of the team being created
	DisplayName string                  `json:"displayName"`
	Members     []CreateScimGroupMember `json:"members"`
}

CreateScimGroup - SCIM endpoint to create a new Team (Colloquial for Group in the SCIM protocol). Any members defined in the payload will be assigned to the team with no defined role.

func (*CreateScimGroup) GetDisplayName ¶

func (c *CreateScimGroup) GetDisplayName() string

func (*CreateScimGroup) GetMembers ¶

func (c *CreateScimGroup) GetMembers() []CreateScimGroupMember

type CreateScimGroupMember ¶

type CreateScimGroupMember struct {
	// String that represents the user's UUID to assign to the team
	Value string `json:"value"`
}

func (*CreateScimGroupMember) GetValue ¶

func (c *CreateScimGroupMember) GetValue() string

type CreateScimUser ¶

type CreateScimUser struct {
	// A service provider's unique identifier for the user
	UserName string `json:"userName"`
	// A unique identifier for the user from the external provisioning system
	ExternalID *string `json:"externalId,omitempty"`
	// The components of the user's name
	Name CreateScimUserName `json:"name"`
	// Email addresses for the User
	Emails []CreateScimUserEmail `json:"emails"`
	// Roles for the User. Options are owner, member, collaborator, or viewer. Roles may be specified as strings or SCIM role objects.
	Roles *CreateScimUserRoles `json:"roles,omitempty"`
	// This attribute is intended to be used as a means to set, replace, or compare (i.e., filter for equality) a password
	Password *string `json:"password,omitempty"`
	// Phone numbers for the User
	PhoneNumbers []CreateScimUserPhoneNumber `json:"phoneNumbers,omitempty"`
}

CreateScimUser - SCIM endpoint to create and provision a new User. This endpoint will provision the User, which allows them to accept their account throught their IDP or via the Forgot Password flow.

func (*CreateScimUser) GetEmails ¶

func (c *CreateScimUser) GetEmails() []CreateScimUserEmail

func (*CreateScimUser) GetExternalID ¶

func (c *CreateScimUser) GetExternalID() *string

func (*CreateScimUser) GetName ¶

func (c *CreateScimUser) GetName() CreateScimUserName

func (*CreateScimUser) GetPassword ¶

func (c *CreateScimUser) GetPassword() *string

func (*CreateScimUser) GetPhoneNumbers ¶

func (c *CreateScimUser) GetPhoneNumbers() []CreateScimUserPhoneNumber

func (*CreateScimUser) GetRoles ¶

func (c *CreateScimUser) GetRoles() *CreateScimUserRoles

func (*CreateScimUser) GetUserName ¶

func (c *CreateScimUser) GetUserName() string

type CreateScimUserEmail ¶

type CreateScimUserEmail struct {
	// String that represents an email address for the User
	Value string `json:"value"`
	// Boolean which signifies if an email is intended as the primary email for the User
	Primary bool `json:"primary"`
}

func (*CreateScimUserEmail) GetPrimary ¶

func (c *CreateScimUserEmail) GetPrimary() bool

func (*CreateScimUserEmail) GetValue ¶

func (c *CreateScimUserEmail) GetValue() string

type CreateScimUserName ¶

type CreateScimUserName struct {
	// The family name of the User, or last name in most Western languages
	FamilyName string `json:"familyName"`
	// The given name of the User, or first name in most Western languages
	GivenName string `json:"givenName"`
}

CreateScimUserName - The components of the user's name

func (*CreateScimUserName) GetFamilyName ¶

func (c *CreateScimUserName) GetFamilyName() string

func (*CreateScimUserName) GetGivenName ¶

func (c *CreateScimUserName) GetGivenName() string

type CreateScimUserPhoneNumber ¶

type CreateScimUserPhoneNumber struct {
	// String that represents a phone number for the User
	Value string `json:"value"`
	// Type of phone number (mobile, work, home, etc.)
	Type *string `json:"type,omitempty"`
	// Boolean which signifies if a phone number is intended as the primary phone for the User
	Primary *bool `json:"primary,omitempty"`
}

func (*CreateScimUserPhoneNumber) GetPrimary ¶

func (c *CreateScimUserPhoneNumber) GetPrimary() *bool

func (*CreateScimUserPhoneNumber) GetType ¶

func (c *CreateScimUserPhoneNumber) GetType() *string

func (*CreateScimUserPhoneNumber) GetValue ¶

func (c *CreateScimUserPhoneNumber) GetValue() string

type CreateScimUserRoles ¶

type CreateScimUserRoles struct {
}

CreateScimUserRoles - Roles for the User. Options are owner, member, collaborator, or viewer. Roles may be specified as strings or SCIM role objects.

type CreateService ¶

type CreateService struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
	// A hash of label keys and values
	Labels map[string]string `json:"labels,omitempty"`
	// Integer representing service tier. Lower values represent higher criticality. If not specified the default value will be 5.
	ServiceTier *CreateServiceServiceTier `json:"service_tier,omitempty"`
	// An array of functionalities
	Functionalities []CreateServiceFunctionality `json:"functionalities,omitempty"`
	// An array of links to associate with this service
	Links []CreateServiceLink `json:"links,omitempty"`
	// An object representing a Team that owns the service
	Owner *CreateServiceOwner `json:"owner,omitempty"`
	// An array of teams to attach to this service.
	Teams                 []CreateServiceTeam `json:"teams,omitempty"`
	AlertOnAdd            *bool               `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool               `json:"auto_add_responding_team,omitempty"`
	// An array of external resources to attach to this service.
	ExternalResources []CreateServiceExternalResource `json:"external_resources,omitempty"`
}

CreateService - Creates a service for the organization, you may also create or attach functionalities to the service on create.

func (*CreateService) GetAlertOnAdd ¶

func (c *CreateService) GetAlertOnAdd() *bool

func (*CreateService) GetAutoAddRespondingTeam ¶

func (c *CreateService) GetAutoAddRespondingTeam() *bool

func (*CreateService) GetDescription ¶

func (c *CreateService) GetDescription() *string

func (*CreateService) GetExternalResources ¶

func (c *CreateService) GetExternalResources() []CreateServiceExternalResource

func (*CreateService) GetFunctionalities ¶

func (c *CreateService) GetFunctionalities() []CreateServiceFunctionality

func (*CreateService) GetLabels ¶

func (c *CreateService) GetLabels() map[string]string
func (c *CreateService) GetLinks() []CreateServiceLink

func (*CreateService) GetName ¶

func (c *CreateService) GetName() string

func (*CreateService) GetOwner ¶

func (c *CreateService) GetOwner() *CreateServiceOwner

func (*CreateService) GetServiceTier ¶

func (c *CreateService) GetServiceTier() *CreateServiceServiceTier

func (*CreateService) GetTeams ¶

func (c *CreateService) GetTeams() []CreateServiceTeam

type CreateServiceChecklistResponse ¶

type CreateServiceChecklistResponse struct {
	CheckID string `json:"check_id"`
	// Status of the check. 'true' if it's complete, 'false' if incomplete, or blank if not yet interacted with
	Status bool `json:"status"`
}

CreateServiceChecklistResponse - Creates a response for a checklist item

func (*CreateServiceChecklistResponse) GetCheckID ¶

func (c *CreateServiceChecklistResponse) GetCheckID() string

func (*CreateServiceChecklistResponse) GetStatus ¶

func (c *CreateServiceChecklistResponse) GetStatus() bool

type CreateServiceDependency ¶

type CreateServiceDependency struct {
	ServiceID          string `json:"service_id"`
	ConnectedServiceID string `json:"connected_service_id"`
	// A note to describe the service dependency relationship
	Notes *string `json:"notes,omitempty"`
}

CreateServiceDependency - Creates a service dependency relationship between two services

func (*CreateServiceDependency) GetConnectedServiceID ¶

func (c *CreateServiceDependency) GetConnectedServiceID() string

func (*CreateServiceDependency) GetNotes ¶

func (c *CreateServiceDependency) GetNotes() *string

func (*CreateServiceDependency) GetServiceID ¶

func (c *CreateServiceDependency) GetServiceID() string

type CreateServiceExternalResource ¶

type CreateServiceExternalResource struct {
	RemoteID string `json:"remote_id"`
	// The integration slug for the external resource. Can be one of: github, opsgenie, pager_duty, victorops. Not required if the resource has already been imported.
	ConnectionType *string `json:"connection_type,omitempty"`
}

func (*CreateServiceExternalResource) GetConnectionType ¶

func (c *CreateServiceExternalResource) GetConnectionType() *string

func (*CreateServiceExternalResource) GetRemoteID ¶

func (c *CreateServiceExternalResource) GetRemoteID() string

type CreateServiceFunctionality ¶

type CreateServiceFunctionality struct {
	// If you are trying to create a new functionality and attach it to this service, set the summary key
	Summary *string `json:"summary,omitempty"`
	// If you are trying to reuse a functionality, you may set the ID to attach it to the service
	ID *string `json:"id,omitempty"`
}

func (*CreateServiceFunctionality) GetID ¶

func (c *CreateServiceFunctionality) GetID() *string

func (*CreateServiceFunctionality) GetSummary ¶

func (c *CreateServiceFunctionality) GetSummary() *string
type CreateServiceLink struct {
	// Short name used to display and identify this link
	Name string `json:"name"`
	// URL
	HrefURL string `json:"href_url"`
	// An optional URL to an icon representing this link
	IconURL *string `json:"icon_url,omitempty"`
}

func (*CreateServiceLink) GetHrefURL ¶

func (c *CreateServiceLink) GetHrefURL() string

func (*CreateServiceLink) GetIconURL ¶

func (c *CreateServiceLink) GetIconURL() *string

func (*CreateServiceLink) GetName ¶

func (c *CreateServiceLink) GetName() string
type CreateServiceLinks struct {
	// ID of the service
	ExternalServiceIds string `json:"external_service_ids"`
	// ID for the integration. This can be found by going to the edit page for the integration
	ConnectionID string `json:"connection_id"`
	// The name of the service
	Integration Integration `json:"integration"`
}

CreateServiceLinks - Creates a service with the appropriate integration for each external service ID passed

func (*CreateServiceLinks) GetConnectionID ¶

func (c *CreateServiceLinks) GetConnectionID() string

func (*CreateServiceLinks) GetExternalServiceIds ¶

func (c *CreateServiceLinks) GetExternalServiceIds() string

func (*CreateServiceLinks) GetIntegration ¶

func (c *CreateServiceLinks) GetIntegration() Integration

type CreateServiceOwner ¶

type CreateServiceOwner struct {
	ID string `json:"id"`
}

CreateServiceOwner - An object representing a Team that owns the service

func (*CreateServiceOwner) GetID ¶

func (c *CreateServiceOwner) GetID() string

type CreateServiceServiceTier ¶

type CreateServiceServiceTier int

CreateServiceServiceTier - Integer representing service tier. Lower values represent higher criticality. If not specified the default value will be 5.

const (
	CreateServiceServiceTierZero  CreateServiceServiceTier = 0
	CreateServiceServiceTierOne   CreateServiceServiceTier = 1
	CreateServiceServiceTierTwo   CreateServiceServiceTier = 2
	CreateServiceServiceTierThree CreateServiceServiceTier = 3
	CreateServiceServiceTierFour  CreateServiceServiceTier = 4
	CreateServiceServiceTierFive  CreateServiceServiceTier = 5
)

func (CreateServiceServiceTier) ToPointer ¶

func (*CreateServiceServiceTier) UnmarshalJSON ¶

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

type CreateServiceTeam ¶

type CreateServiceTeam struct {
	ID string `json:"id"`
}

func (*CreateServiceTeam) GetID ¶

func (c *CreateServiceTeam) GetID() string

type CreateSeverity ¶

type CreateSeverity struct {
	Slug        string               `json:"slug"`
	Description *string              `json:"description,omitempty"`
	Position    *int                 `json:"position,omitempty"`
	Color       *CreateSeverityColor `json:"color,omitempty"`
}

CreateSeverity - Create a new severity

func (*CreateSeverity) GetColor ¶

func (c *CreateSeverity) GetColor() *CreateSeverityColor

func (*CreateSeverity) GetDescription ¶

func (c *CreateSeverity) GetDescription() *string

func (*CreateSeverity) GetPosition ¶

func (c *CreateSeverity) GetPosition() *int

func (*CreateSeverity) GetSlug ¶

func (c *CreateSeverity) GetSlug() string

type CreateSeverityColor ¶

type CreateSeverityColor string
const (
	CreateSeverityColorRed    CreateSeverityColor = "red"
	CreateSeverityColorOrange CreateSeverityColor = "orange"
	CreateSeverityColorYellow CreateSeverityColor = "yellow"
	CreateSeverityColorBlue   CreateSeverityColor = "blue"
	CreateSeverityColorTeal   CreateSeverityColor = "teal"
	CreateSeverityColorGrey   CreateSeverityColor = "grey"
	CreateSeverityColorGreen  CreateSeverityColor = "green"
)

func (CreateSeverityColor) ToPointer ¶

func (*CreateSeverityColor) UnmarshalJSON ¶

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

type CreateSeverityMatrixCondition ¶

type CreateSeverityMatrixCondition struct {
	Name string `json:"name"`
	// Position is used to determine ordering of conditions in API responses and dropdowns. The condition with the lowest position (typically 0) will be considered the Default Condition
	Position *int `json:"position,omitempty"`
}

CreateSeverityMatrixCondition - Create a new condition

func (*CreateSeverityMatrixCondition) GetName ¶

func (*CreateSeverityMatrixCondition) GetPosition ¶

func (c *CreateSeverityMatrixCondition) GetPosition() *int

type CreateSeverityMatrixImpact ¶

type CreateSeverityMatrixImpact struct {
	AffectsType string `json:"affects_type"`
	AffectsID   string `json:"affects_id"`
	Position    *int   `json:"position,omitempty"`
}

CreateSeverityMatrixImpact - Create a new impact

func (*CreateSeverityMatrixImpact) GetAffectsID ¶

func (c *CreateSeverityMatrixImpact) GetAffectsID() string

func (*CreateSeverityMatrixImpact) GetAffectsType ¶

func (c *CreateSeverityMatrixImpact) GetAffectsType() string

func (*CreateSeverityMatrixImpact) GetPosition ¶

func (c *CreateSeverityMatrixImpact) GetPosition() *int

type CreateSignalsAlertGroupingConfiguration ¶

type CreateSignalsAlertGroupingConfiguration struct {
	// The strategy to use for grouping alerts
	Strategy CreateSignalsAlertGroupingConfigurationStrategy `json:"strategy"`
	// The action to take when grouping alerts
	Action *CreateSignalsAlertGroupingConfigurationAction `json:"action,omitempty"`
	// How long to group alerts for
	ReferenceAlertTimePeriod string `json:"reference_alert_time_period"`
}

CreateSignalsAlertGroupingConfiguration - Create a Signals alert grouping rule for the organization.

func (*CreateSignalsAlertGroupingConfiguration) GetAction ¶

func (*CreateSignalsAlertGroupingConfiguration) GetReferenceAlertTimePeriod ¶

func (c *CreateSignalsAlertGroupingConfiguration) GetReferenceAlertTimePeriod() string

func (*CreateSignalsAlertGroupingConfiguration) GetStrategy ¶

type CreateSignalsAlertGroupingConfigurationAction ¶

type CreateSignalsAlertGroupingConfigurationAction struct {
	// Link the alerts and do not notify anyone
	Link *bool `json:"link,omitempty"`
	// Send FYI notification
	Fyi *CreateSignalsAlertGroupingConfigurationFyi `json:"fyi,omitempty"`
}

CreateSignalsAlertGroupingConfigurationAction - The action to take when grouping alerts

func (*CreateSignalsAlertGroupingConfigurationAction) GetFyi ¶

type CreateSignalsAlertGroupingConfigurationFieldName ¶

type CreateSignalsAlertGroupingConfigurationFieldName string

CreateSignalsAlertGroupingConfigurationFieldName - The field to use for grouping alerts

const (
	CreateSignalsAlertGroupingConfigurationFieldNameSummary CreateSignalsAlertGroupingConfigurationFieldName = "summary"
	CreateSignalsAlertGroupingConfigurationFieldNameBody    CreateSignalsAlertGroupingConfigurationFieldName = "body"
	CreateSignalsAlertGroupingConfigurationFieldNameTags    CreateSignalsAlertGroupingConfigurationFieldName = "tags"
)

func (CreateSignalsAlertGroupingConfigurationFieldName) ToPointer ¶

func (*CreateSignalsAlertGroupingConfigurationFieldName) UnmarshalJSON ¶

type CreateSignalsAlertGroupingConfigurationFyi ¶

type CreateSignalsAlertGroupingConfigurationFyi struct {
	// The slack channel ids to send the notification to
	SlackChannelIds []string `json:"slack_channel_ids"`
}

CreateSignalsAlertGroupingConfigurationFyi - Send FYI notification

func (*CreateSignalsAlertGroupingConfigurationFyi) GetSlackChannelIds ¶

func (c *CreateSignalsAlertGroupingConfigurationFyi) GetSlackChannelIds() []string

type CreateSignalsAlertGroupingConfigurationStrategy ¶

type CreateSignalsAlertGroupingConfigurationStrategy struct {
	// The type of strategy to use for grouping alerts
	Substring *CreateSignalsAlertGroupingConfigurationSubstring `json:"substring,omitempty"`
}

CreateSignalsAlertGroupingConfigurationStrategy - The strategy to use for grouping alerts

func (*CreateSignalsAlertGroupingConfigurationStrategy) GetSubstring ¶

type CreateSignalsAlertGroupingConfigurationSubstring ¶

type CreateSignalsAlertGroupingConfigurationSubstring struct {
	// The field to use for grouping alerts
	FieldName CreateSignalsAlertGroupingConfigurationFieldName `json:"field_name"`
	// The value to use for grouping alerts
	Value string `json:"value"`
}

CreateSignalsAlertGroupingConfigurationSubstring - The type of strategy to use for grouping alerts

func (*CreateSignalsAlertGroupingConfigurationSubstring) GetFieldName ¶

func (*CreateSignalsAlertGroupingConfigurationSubstring) GetValue ¶

type CreateSignalsEmailTarget ¶

type CreateSignalsEmailTarget struct {
	// The email target's name.
	Name string `json:"name"`
	// The email address that will be listening to events.
	Slug *string `json:"slug,omitempty"`
	// A detailed description of the email target.
	Description *string `json:"description,omitempty"`
	// The target that the email target will notify. This object must contain a `type`
	// field that specifies the type of target and an `id` field that specifies the ID of
	// the target. The `type` field must be one of "escalation_policy", "on_call_schedule",
	// "team", "user", or "slack_channel".
	//
	Target *CreateSignalsEmailTargetTarget `json:"target,omitempty"`
	// A list of email addresses that are allowed to send events to the target. Must be exact match.
	AllowedSenders []string `json:"allowed_senders,omitempty"`
	// A list of CEL expressions that should be evaluated and matched to determine if the target should be notified.
	Rules []string `json:"rules,omitempty"`
	// Whether or not all rules must match, or if only one rule must match.
	RuleMatchingStrategy *CreateSignalsEmailTargetRuleMatchingStrategy `json:"rule_matching_strategy,omitempty"`
	// The CEL expression that defines the status of an incoming email that is sent to the target.
	StatusCel *string `json:"status_cel,omitempty"`
	// The CEL expression that defines the level of an incoming email that is sent to the target.
	LevelCel *string `json:"level_cel,omitempty"`
}

CreateSignalsEmailTarget - Create a Signals email target for a team.

func (*CreateSignalsEmailTarget) GetAllowedSenders ¶

func (c *CreateSignalsEmailTarget) GetAllowedSenders() []string

func (*CreateSignalsEmailTarget) GetDescription ¶

func (c *CreateSignalsEmailTarget) GetDescription() *string

func (*CreateSignalsEmailTarget) GetLevelCel ¶

func (c *CreateSignalsEmailTarget) GetLevelCel() *string

func (*CreateSignalsEmailTarget) GetName ¶

func (c *CreateSignalsEmailTarget) GetName() string

func (*CreateSignalsEmailTarget) GetRuleMatchingStrategy ¶

func (*CreateSignalsEmailTarget) GetRules ¶

func (c *CreateSignalsEmailTarget) GetRules() []string

func (*CreateSignalsEmailTarget) GetSlug ¶

func (c *CreateSignalsEmailTarget) GetSlug() *string

func (*CreateSignalsEmailTarget) GetStatusCel ¶

func (c *CreateSignalsEmailTarget) GetStatusCel() *string

func (*CreateSignalsEmailTarget) GetTarget ¶

type CreateSignalsEmailTargetRuleMatchingStrategy ¶

type CreateSignalsEmailTargetRuleMatchingStrategy string

CreateSignalsEmailTargetRuleMatchingStrategy - Whether or not all rules must match, or if only one rule must match.

const (
	CreateSignalsEmailTargetRuleMatchingStrategyAll CreateSignalsEmailTargetRuleMatchingStrategy = "all"
	CreateSignalsEmailTargetRuleMatchingStrategyAny CreateSignalsEmailTargetRuleMatchingStrategy = "any"
)

func (CreateSignalsEmailTargetRuleMatchingStrategy) ToPointer ¶

func (*CreateSignalsEmailTargetRuleMatchingStrategy) UnmarshalJSON ¶

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

type CreateSignalsEmailTargetTarget ¶

type CreateSignalsEmailTargetTarget struct {
	// The type of target that the inbound email will notify when matched.
	Type CreateSignalsEmailTargetType `json:"type"`
	// The ID of the target that the inbound email will notify when matched.
	ID string `json:"id"`
}

CreateSignalsEmailTargetTarget - The target that the email target will notify. This object must contain a `type` field that specifies the type of target and an `id` field that specifies the ID of the target. The `type` field must be one of "escalation_policy", "on_call_schedule", "team", "user", or "slack_channel".

func (*CreateSignalsEmailTargetTarget) GetID ¶

func (*CreateSignalsEmailTargetTarget) GetType ¶

type CreateSignalsEmailTargetType ¶

type CreateSignalsEmailTargetType string

CreateSignalsEmailTargetType - The type of target that the inbound email will notify when matched.

const (
	CreateSignalsEmailTargetTypeTeam                  CreateSignalsEmailTargetType = "Team"
	CreateSignalsEmailTargetTypeEntireTeam            CreateSignalsEmailTargetType = "EntireTeam"
	CreateSignalsEmailTargetTypeEscalationPolicy      CreateSignalsEmailTargetType = "EscalationPolicy"
	CreateSignalsEmailTargetTypeOnCallSchedule        CreateSignalsEmailTargetType = "OnCallSchedule"
	CreateSignalsEmailTargetTypeUser                  CreateSignalsEmailTargetType = "User"
	CreateSignalsEmailTargetTypeSlackChannel          CreateSignalsEmailTargetType = "SlackChannel"
	CreateSignalsEmailTargetTypeMicrosoftTeamsChannel CreateSignalsEmailTargetType = "MicrosoftTeamsChannel"
	CreateSignalsEmailTargetTypeWebhook               CreateSignalsEmailTargetType = "Webhook"
)

func (CreateSignalsEmailTargetType) ToPointer ¶

func (*CreateSignalsEmailTargetType) UnmarshalJSON ¶

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

type CreateSignalsEventSource ¶

type CreateSignalsEventSource struct {
	// Name of the transposer
	Name string `json:"name"`
	// Description of the transposer
	Description *string `json:"description,omitempty"`
	// Slug of the transposer
	Slug string `json:"slug"`
	// Example payload as input to transpose function
	ExamplePayload CreateSignalsEventSourceExamplePayload `json:"example_payload"`
	// Javascript code to convert payload into Signal object
	Javascript string `json:"javascript"`
}

CreateSignalsEventSource - Create a Signals event source for the authenticated user.

func (*CreateSignalsEventSource) GetDescription ¶

func (c *CreateSignalsEventSource) GetDescription() *string

func (*CreateSignalsEventSource) GetExamplePayload ¶

func (*CreateSignalsEventSource) GetJavascript ¶

func (c *CreateSignalsEventSource) GetJavascript() string

func (*CreateSignalsEventSource) GetName ¶

func (c *CreateSignalsEventSource) GetName() string

func (*CreateSignalsEventSource) GetSlug ¶

func (c *CreateSignalsEventSource) GetSlug() string

type CreateSignalsEventSourceData ¶

type CreateSignalsEventSourceData struct {
}

CreateSignalsEventSourceData - JSON body of request.

type CreateSignalsEventSourceExamplePayload ¶

type CreateSignalsEventSourceExamplePayload struct {
	// Hash of HTTP headers with values as Array, e.g. { 'Content-Type' => ['application/json'] }
	Headers *Headers `json:"headers,omitempty"`
	// JSON body of request.
	Data *CreateSignalsEventSourceData `json:"data,omitempty"`
}

CreateSignalsEventSourceExamplePayload - Example payload as input to transpose function

func (*CreateSignalsEventSourceExamplePayload) GetData ¶

func (*CreateSignalsEventSourceExamplePayload) GetHeaders ¶

type CreateSignalsPage ¶

type CreateSignalsPage struct {
	Summary    string                      `json:"summary"`
	TargetType CreateSignalsPageTargetType `json:"target_type"`
	// The ID of the target. Should be a UUID for the target type.
	TargetID string  `json:"target_id"`
	Body     *string `json:"body,omitempty"`
}

CreateSignalsPage - Used for paging an on-call target within FireHydrant's signals product. This can be used for paging users, teams, on-call schedules, and escalation policies.

func (*CreateSignalsPage) GetBody ¶

func (c *CreateSignalsPage) GetBody() *string

func (*CreateSignalsPage) GetSummary ¶

func (c *CreateSignalsPage) GetSummary() string

func (*CreateSignalsPage) GetTargetID ¶

func (c *CreateSignalsPage) GetTargetID() string

func (*CreateSignalsPage) GetTargetType ¶

type CreateSignalsPageTargetType ¶

type CreateSignalsPageTargetType string
const (
	CreateSignalsPageTargetTypeEscalationPolicy CreateSignalsPageTargetType = "EscalationPolicy"
	CreateSignalsPageTargetTypeOnCallSchedule   CreateSignalsPageTargetType = "OnCallSchedule"
	CreateSignalsPageTargetTypeTeam             CreateSignalsPageTargetType = "Team"
	CreateSignalsPageTargetTypeUser             CreateSignalsPageTargetType = "User"
)

func (CreateSignalsPageTargetType) ToPointer ¶

func (*CreateSignalsPageTargetType) UnmarshalJSON ¶

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

type CreateSignalsWebhookTarget ¶

type CreateSignalsWebhookTarget struct {
	// The webhook target's name.
	Name string `json:"name"`
	// An optional detailed description of the webhook target.
	Description *string `json:"description,omitempty"`
	// The URL that the webhook target will notify.
	URL string `json:"url"`
	// An optional secret we will provide in the `FH-Signature` header
	// when sending a payload to the webhook target. This key will not be
	// shown in any response once configured.
	//
	SigningKey *string `json:"signing_key,omitempty"`
}

CreateSignalsWebhookTarget - Create a Signals webhook target.

func (*CreateSignalsWebhookTarget) GetDescription ¶

func (c *CreateSignalsWebhookTarget) GetDescription() *string

func (*CreateSignalsWebhookTarget) GetName ¶

func (c *CreateSignalsWebhookTarget) GetName() string

func (*CreateSignalsWebhookTarget) GetSigningKey ¶

func (c *CreateSignalsWebhookTarget) GetSigningKey() *string

func (*CreateSignalsWebhookTarget) GetURL ¶

func (c *CreateSignalsWebhookTarget) GetURL() string

type CreateStatusUpdateTemplate ¶

type CreateStatusUpdateTemplate struct {
	Name string `json:"name"`
	Body string `json:"body"`
}

CreateStatusUpdateTemplate - Create a status update template for your organization

func (*CreateStatusUpdateTemplate) GetBody ¶

func (c *CreateStatusUpdateTemplate) GetBody() string

func (*CreateStatusUpdateTemplate) GetName ¶

func (c *CreateStatusUpdateTemplate) GetName() string

type CreateTaskList ¶

type CreateTaskList struct {
	Name          string                       `json:"name"`
	Description   *string                      `json:"description,omitempty"`
	TaskListItems []CreateTaskListTaskListItem `json:"task_list_items"`
}

CreateTaskList - Creates a new task list

func (*CreateTaskList) GetDescription ¶

func (c *CreateTaskList) GetDescription() *string

func (*CreateTaskList) GetName ¶

func (c *CreateTaskList) GetName() string

func (*CreateTaskList) GetTaskListItems ¶

func (c *CreateTaskList) GetTaskListItems() []CreateTaskListTaskListItem

type CreateTaskListTaskListItem ¶

type CreateTaskListTaskListItem struct {
	// A summary of the task
	Summary string `json:"summary"`
	// A long-form description for the task if additional context is helpful
	Description *string `json:"description,omitempty"`
}

func (*CreateTaskListTaskListItem) GetDescription ¶

func (c *CreateTaskListTaskListItem) GetDescription() *string

func (*CreateTaskListTaskListItem) GetSummary ¶

func (c *CreateTaskListTaskListItem) GetSummary() string

type CreateTeam ¶

type CreateTeam struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
	Slug        *string `json:"slug,omitempty"`
	// The Slack channel ID associated with this team. This may be the reference in FireHydrant's system (i.e. UUID) or the ID value from Slack (e.g. C1234567890).
	//
	SlackChannelID *string `json:"slack_channel_id,omitempty"`
	// MS Teams channel identity for channel associated with this team
	MsTeamsChannel *CreateTeamMsTeamsChannel `json:"ms_teams_channel,omitempty"`
	Memberships    []CreateTeamMembership    `json:"memberships,omitempty"`
	// A list of email addresses to invite to join the organization and automatically add to this team. If an email already has a pending invitation, the team will be added to their existing invitation.
	InviteEmails []string `json:"invite_emails,omitempty"`
}

CreateTeam - Create a new team

func (*CreateTeam) GetDescription ¶

func (c *CreateTeam) GetDescription() *string

func (*CreateTeam) GetInviteEmails ¶

func (c *CreateTeam) GetInviteEmails() []string

func (*CreateTeam) GetMemberships ¶

func (c *CreateTeam) GetMemberships() []CreateTeamMembership

func (*CreateTeam) GetMsTeamsChannel ¶

func (c *CreateTeam) GetMsTeamsChannel() *CreateTeamMsTeamsChannel

func (*CreateTeam) GetName ¶

func (c *CreateTeam) GetName() string

func (*CreateTeam) GetSlackChannelID ¶

func (c *CreateTeam) GetSlackChannelID() *string

func (*CreateTeam) GetSlug ¶

func (c *CreateTeam) GetSlug() *string

type CreateTeamCallRoute ¶

type CreateTeamCallRoute struct {
	// Name of the call route
	Name string `json:"name"`
	// Phone number to route calls to
	PhoneNumber string `json:"phone_number"`
	// Routing mode for the call route
	RoutingMode CreateTeamCallRouteRoutingMode `json:"routing_mode"`
	// Connect mode for the call route
	ConnectMode *CreateTeamCallRouteConnectMode `json:"connect_mode,omitempty"`
	// Description of the call route
	Description *string `json:"description,omitempty"`
	// Greeting message for the call route
	GreetingMessage *string `json:"greeting_message,omitempty"`
	// Steps for the call route
	Steps []CreateTeamCallRouteStep `json:"steps,omitempty"`
	// Target for the call route (required unless connect_mode is direct_dial)
	Target *CreateTeamCallRouteTarget `json:"target,omitempty"`
}

CreateTeamCallRoute - Create a call route for a team

func (*CreateTeamCallRoute) GetConnectMode ¶

func (*CreateTeamCallRoute) GetDescription ¶

func (c *CreateTeamCallRoute) GetDescription() *string

func (*CreateTeamCallRoute) GetGreetingMessage ¶

func (c *CreateTeamCallRoute) GetGreetingMessage() *string

func (*CreateTeamCallRoute) GetName ¶

func (c *CreateTeamCallRoute) GetName() string

func (*CreateTeamCallRoute) GetPhoneNumber ¶

func (c *CreateTeamCallRoute) GetPhoneNumber() string

func (*CreateTeamCallRoute) GetRoutingMode ¶

func (*CreateTeamCallRoute) GetSteps ¶

func (*CreateTeamCallRoute) GetTarget ¶

type CreateTeamCallRouteConnectMode ¶

type CreateTeamCallRouteConnectMode string

CreateTeamCallRouteConnectMode - Connect mode for the call route

const (
	CreateTeamCallRouteConnectModeConnectModeConference CreateTeamCallRouteConnectMode = "CONNECT_MODE_CONFERENCE"
	CreateTeamCallRouteConnectModeConnectModeDirectDial CreateTeamCallRouteConnectMode = "CONNECT_MODE_DIRECT_DIAL"
)

func (CreateTeamCallRouteConnectMode) ToPointer ¶

func (*CreateTeamCallRouteConnectMode) UnmarshalJSON ¶

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

type CreateTeamCallRouteRoutingMode ¶

type CreateTeamCallRouteRoutingMode string

CreateTeamCallRouteRoutingMode - Routing mode for the call route

const (
	CreateTeamCallRouteRoutingModeRoutingModeTakeMessage   CreateTeamCallRouteRoutingMode = "ROUTING_MODE_TAKE_MESSAGE"
	CreateTeamCallRouteRoutingModeRoutingModeDirectConnect CreateTeamCallRouteRoutingMode = "ROUTING_MODE_DIRECT_CONNECT"
)

func (CreateTeamCallRouteRoutingMode) ToPointer ¶

func (*CreateTeamCallRouteRoutingMode) UnmarshalJSON ¶

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

type CreateTeamCallRouteStep ¶

type CreateTeamCallRouteStep struct {
	// Type of target
	TargetType CreateTeamCallRouteTargetType `json:"target_type"`
	// ID of the target
	TargetID string `json:"target_id"`
	// Timeout in seconds for the step
	Timeout string `json:"timeout"`
	// The ID of a specific on-call rotation that should be routed to if the `target_type` is `OnCallSchedule`. If not provided, the schedule's first rotation will be used.
	OnCallRotationID *string `json:"on_call_rotation_id,omitempty"`
}

func (*CreateTeamCallRouteStep) GetOnCallRotationID ¶

func (c *CreateTeamCallRouteStep) GetOnCallRotationID() *string

func (*CreateTeamCallRouteStep) GetTargetID ¶

func (c *CreateTeamCallRouteStep) GetTargetID() string

func (*CreateTeamCallRouteStep) GetTargetType ¶

func (*CreateTeamCallRouteStep) GetTimeout ¶

func (c *CreateTeamCallRouteStep) GetTimeout() string

type CreateTeamCallRouteTarget ¶

type CreateTeamCallRouteTarget struct {
	// Type of target
	Type string `json:"type"`
	// ID of the target
	ID string `json:"id"`
}

CreateTeamCallRouteTarget - Target for the call route (required unless connect_mode is direct_dial)

func (*CreateTeamCallRouteTarget) GetID ¶

func (c *CreateTeamCallRouteTarget) GetID() string

func (*CreateTeamCallRouteTarget) GetType ¶

func (c *CreateTeamCallRouteTarget) GetType() string

type CreateTeamCallRouteTargetType ¶

type CreateTeamCallRouteTargetType string

CreateTeamCallRouteTargetType - Type of target

const (
	CreateTeamCallRouteTargetTypeUser           CreateTeamCallRouteTargetType = "User"
	CreateTeamCallRouteTargetTypeOnCallSchedule CreateTeamCallRouteTargetType = "OnCallSchedule"
)

func (CreateTeamCallRouteTargetType) ToPointer ¶

func (*CreateTeamCallRouteTargetType) UnmarshalJSON ¶

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

type CreateTeamEscalationPolicy ¶

type CreateTeamEscalationPolicy struct {
	// The escalation policy's name.
	Name string `json:"name"`
	// A detailed description of the escalation policy.
	Description *string `json:"description,omitempty"`
	// The number of times that the escalation policy should repeat before an alert is dropped.
	Repetitions *int `default:"0" json:"repetitions"`
	// Whether this escalation policy should be the default for the team.
	Default *bool `default:"false" json:"default"`
	// The strategy for handling steps in the escalation policy. Can be "static" or "dynamic_by_priority".
	StepStrategy *string `json:"step_strategy,omitempty"`
	// A list of steps that define how an alert should escalate through the policy.
	Steps []CreateTeamEscalationPolicyStep `json:"steps"`
	// A step that defines where an alert should be sent when the policy is exhausted and the alert is still unacknowledged.
	HandoffStep *CreateTeamEscalationPolicyHandoffStep `json:"handoff_step,omitempty"`
	// Priority-specific settings for dynamic escalation policies
	PrioritizedSettings *CreateTeamEscalationPolicyPrioritizedSettings `json:"prioritized_settings,omitempty"`
}

CreateTeamEscalationPolicy - Create a Signals escalation policy for a team.

func (*CreateTeamEscalationPolicy) GetDefault ¶

func (c *CreateTeamEscalationPolicy) GetDefault() *bool

func (*CreateTeamEscalationPolicy) GetDescription ¶

func (c *CreateTeamEscalationPolicy) GetDescription() *string

func (*CreateTeamEscalationPolicy) GetHandoffStep ¶

func (*CreateTeamEscalationPolicy) GetName ¶

func (c *CreateTeamEscalationPolicy) GetName() string

func (*CreateTeamEscalationPolicy) GetPrioritizedSettings ¶

func (*CreateTeamEscalationPolicy) GetRepetitions ¶

func (c *CreateTeamEscalationPolicy) GetRepetitions() *int

func (*CreateTeamEscalationPolicy) GetStepStrategy ¶

func (c *CreateTeamEscalationPolicy) GetStepStrategy() *string

func (*CreateTeamEscalationPolicy) GetSteps ¶

func (CreateTeamEscalationPolicy) MarshalJSON ¶

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

func (*CreateTeamEscalationPolicy) UnmarshalJSON ¶

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

type CreateTeamEscalationPolicyDistributionType ¶

type CreateTeamEscalationPolicyDistributionType string

CreateTeamEscalationPolicyDistributionType - The round robin configuration for the step. One of 'unspecified', 'round_robin_by_alert', or 'round_robin_by_escalation_policy'.

const (
	CreateTeamEscalationPolicyDistributionTypeUnspecified                  CreateTeamEscalationPolicyDistributionType = "unspecified"
	CreateTeamEscalationPolicyDistributionTypeRoundRobinByAlert            CreateTeamEscalationPolicyDistributionType = "round_robin_by_alert"
	CreateTeamEscalationPolicyDistributionTypeRoundRobinByEscalationPolicy CreateTeamEscalationPolicyDistributionType = "round_robin_by_escalation_policy"
)

func (CreateTeamEscalationPolicyDistributionType) ToPointer ¶

func (*CreateTeamEscalationPolicyDistributionType) UnmarshalJSON ¶

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

type CreateTeamEscalationPolicyHandoffStep ¶

type CreateTeamEscalationPolicyHandoffStep struct {
	// The type of target to which the policy will hand off.
	TargetType CreateTeamEscalationPolicyTargetType `json:"target_type"`
	// The ID of the target to which the policy will hand off.
	TargetID string `json:"target_id"`
}

CreateTeamEscalationPolicyHandoffStep - A step that defines where an alert should be sent when the policy is exhausted and the alert is still unacknowledged.

func (*CreateTeamEscalationPolicyHandoffStep) GetTargetID ¶

func (*CreateTeamEscalationPolicyHandoffStep) GetTargetType ¶

type CreateTeamEscalationPolicyHigh ¶

type CreateTeamEscalationPolicyHigh struct {
	// Number of repetitions for HIGH priority alerts
	Repetitions *int `json:"repetitions,omitempty"`
	// Handoff step for HIGH priority alerts
	HandoffStep *CreateTeamEscalationPolicyHighHandoffStep `json:"handoff_step,omitempty"`
}

CreateTeamEscalationPolicyHigh - Settings for HIGH priority alerts

func (*CreateTeamEscalationPolicyHigh) GetHandoffStep ¶

func (*CreateTeamEscalationPolicyHigh) GetRepetitions ¶

func (c *CreateTeamEscalationPolicyHigh) GetRepetitions() *int

type CreateTeamEscalationPolicyHighHandoffStep ¶

type CreateTeamEscalationPolicyHighHandoffStep struct {
	TargetType CreateTeamEscalationPolicyHighTargetType `json:"target_type"`
	TargetID   string                                   `json:"target_id"`
}

CreateTeamEscalationPolicyHighHandoffStep - Handoff step for HIGH priority alerts

func (*CreateTeamEscalationPolicyHighHandoffStep) GetTargetID ¶

func (*CreateTeamEscalationPolicyHighHandoffStep) GetTargetType ¶

type CreateTeamEscalationPolicyHighTargetType ¶

type CreateTeamEscalationPolicyHighTargetType string
const (
	CreateTeamEscalationPolicyHighTargetTypeEscalationPolicy CreateTeamEscalationPolicyHighTargetType = "EscalationPolicy"
	CreateTeamEscalationPolicyHighTargetTypeTeam             CreateTeamEscalationPolicyHighTargetType = "Team"
)

func (CreateTeamEscalationPolicyHighTargetType) ToPointer ¶

func (*CreateTeamEscalationPolicyHighTargetType) UnmarshalJSON ¶

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

type CreateTeamEscalationPolicyLow ¶

type CreateTeamEscalationPolicyLow struct {
	// Number of repetitions for LOW priority alerts
	Repetitions *int `json:"repetitions,omitempty"`
	// Handoff step for LOW priority alerts
	HandoffStep *CreateTeamEscalationPolicyLowHandoffStep `json:"handoff_step,omitempty"`
}

CreateTeamEscalationPolicyLow - Settings for LOW priority alerts

func (*CreateTeamEscalationPolicyLow) GetHandoffStep ¶

func (*CreateTeamEscalationPolicyLow) GetRepetitions ¶

func (c *CreateTeamEscalationPolicyLow) GetRepetitions() *int

type CreateTeamEscalationPolicyLowHandoffStep ¶

type CreateTeamEscalationPolicyLowHandoffStep struct {
	TargetType CreateTeamEscalationPolicyLowTargetType `json:"target_type"`
	TargetID   string                                  `json:"target_id"`
}

CreateTeamEscalationPolicyLowHandoffStep - Handoff step for LOW priority alerts

func (*CreateTeamEscalationPolicyLowHandoffStep) GetTargetID ¶

func (*CreateTeamEscalationPolicyLowHandoffStep) GetTargetType ¶

type CreateTeamEscalationPolicyLowTargetType ¶

type CreateTeamEscalationPolicyLowTargetType string
const (
	CreateTeamEscalationPolicyLowTargetTypeEscalationPolicy CreateTeamEscalationPolicyLowTargetType = "EscalationPolicy"
	CreateTeamEscalationPolicyLowTargetTypeTeam             CreateTeamEscalationPolicyLowTargetType = "Team"
)

func (CreateTeamEscalationPolicyLowTargetType) ToPointer ¶

func (*CreateTeamEscalationPolicyLowTargetType) UnmarshalJSON ¶

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

type CreateTeamEscalationPolicyMedium ¶

type CreateTeamEscalationPolicyMedium struct {
	// Number of repetitions for MEDIUM priority alerts
	Repetitions *int `json:"repetitions,omitempty"`
	// Handoff step for MEDIUM priority alerts
	HandoffStep *CreateTeamEscalationPolicyMediumHandoffStep `json:"handoff_step,omitempty"`
}

CreateTeamEscalationPolicyMedium - Settings for MEDIUM priority alerts

func (*CreateTeamEscalationPolicyMedium) GetHandoffStep ¶

func (*CreateTeamEscalationPolicyMedium) GetRepetitions ¶

func (c *CreateTeamEscalationPolicyMedium) GetRepetitions() *int

type CreateTeamEscalationPolicyMediumHandoffStep ¶

type CreateTeamEscalationPolicyMediumHandoffStep struct {
	TargetType CreateTeamEscalationPolicyMediumTargetType `json:"target_type"`
	TargetID   string                                     `json:"target_id"`
}

CreateTeamEscalationPolicyMediumHandoffStep - Handoff step for MEDIUM priority alerts

func (*CreateTeamEscalationPolicyMediumHandoffStep) GetTargetID ¶

func (*CreateTeamEscalationPolicyMediumHandoffStep) GetTargetType ¶

type CreateTeamEscalationPolicyMediumTargetType ¶

type CreateTeamEscalationPolicyMediumTargetType string
const (
	CreateTeamEscalationPolicyMediumTargetTypeEscalationPolicy CreateTeamEscalationPolicyMediumTargetType = "EscalationPolicy"
	CreateTeamEscalationPolicyMediumTargetTypeTeam             CreateTeamEscalationPolicyMediumTargetType = "Team"
)

func (CreateTeamEscalationPolicyMediumTargetType) ToPointer ¶

func (*CreateTeamEscalationPolicyMediumTargetType) UnmarshalJSON ¶

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

type CreateTeamEscalationPolicyPrioritizedSettings ¶

type CreateTeamEscalationPolicyPrioritizedSettings struct {
	// Settings for HIGH priority alerts
	High *CreateTeamEscalationPolicyHigh `json:"high,omitempty"`
	// Settings for MEDIUM priority alerts
	Medium *CreateTeamEscalationPolicyMedium `json:"medium,omitempty"`
	// Settings for LOW priority alerts
	Low *CreateTeamEscalationPolicyLow `json:"low,omitempty"`
}

CreateTeamEscalationPolicyPrioritizedSettings - Priority-specific settings for dynamic escalation policies

func (*CreateTeamEscalationPolicyPrioritizedSettings) GetHigh ¶

func (*CreateTeamEscalationPolicyPrioritizedSettings) GetLow ¶

func (*CreateTeamEscalationPolicyPrioritizedSettings) GetMedium ¶

type CreateTeamEscalationPolicyStep ¶

type CreateTeamEscalationPolicyStep struct {
	// A list of targets that the step will notify. You can specify up to 15 targets per step.
	Targets []CreateTeamEscalationPolicyTarget `json:"targets"`
	// An ISO8601 duration string specifying how long to wait before moving on to the next step. For the last step, this value specifies how long to wait before the escalation policy should repeat, if it repeats.
	Timeout string `json:"timeout"`
	// The round robin configuration for the step. One of 'unspecified', 'round_robin_by_alert', or 'round_robin_by_escalation_policy'.
	DistributionType *CreateTeamEscalationPolicyDistributionType `json:"distribution_type,omitempty"`
	// A list of priorities (HIGH, MEDIUM, LOW) to which the step applies when using a dynamic escalation policy.
	Priorities []string `json:"priorities,omitempty"`
}

func (*CreateTeamEscalationPolicyStep) GetDistributionType ¶

func (*CreateTeamEscalationPolicyStep) GetPriorities ¶

func (c *CreateTeamEscalationPolicyStep) GetPriorities() []string

func (*CreateTeamEscalationPolicyStep) GetTargets ¶

func (*CreateTeamEscalationPolicyStep) GetTimeout ¶

func (c *CreateTeamEscalationPolicyStep) GetTimeout() string

type CreateTeamEscalationPolicyTarget ¶

type CreateTeamEscalationPolicyTarget struct {
	// The type of target that the step will notify.
	Type CreateTeamEscalationPolicyType `json:"type"`
	// The ID of the target that the step will notify.
	ID string `json:"id"`
}

func (*CreateTeamEscalationPolicyTarget) GetID ¶

func (*CreateTeamEscalationPolicyTarget) GetType ¶

type CreateTeamEscalationPolicyTargetType ¶

type CreateTeamEscalationPolicyTargetType string

CreateTeamEscalationPolicyTargetType - The type of target to which the policy will hand off.

const (
	CreateTeamEscalationPolicyTargetTypeEscalationPolicy CreateTeamEscalationPolicyTargetType = "EscalationPolicy"
	CreateTeamEscalationPolicyTargetTypeTeam             CreateTeamEscalationPolicyTargetType = "Team"
)

func (CreateTeamEscalationPolicyTargetType) ToPointer ¶

func (*CreateTeamEscalationPolicyTargetType) UnmarshalJSON ¶

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

type CreateTeamEscalationPolicyType ¶

type CreateTeamEscalationPolicyType string

CreateTeamEscalationPolicyType - The type of target that the step will notify.

const (
	CreateTeamEscalationPolicyTypeOnCallSchedule        CreateTeamEscalationPolicyType = "OnCallSchedule"
	CreateTeamEscalationPolicyTypeUser                  CreateTeamEscalationPolicyType = "User"
	CreateTeamEscalationPolicyTypeSlackChannel          CreateTeamEscalationPolicyType = "SlackChannel"
	CreateTeamEscalationPolicyTypeMicrosoftTeamsChannel CreateTeamEscalationPolicyType = "MicrosoftTeamsChannel"
	CreateTeamEscalationPolicyTypeEntireTeam            CreateTeamEscalationPolicyType = "EntireTeam"
	CreateTeamEscalationPolicyTypeWebhook               CreateTeamEscalationPolicyType = "Webhook"
)

func (CreateTeamEscalationPolicyType) ToPointer ¶

func (*CreateTeamEscalationPolicyType) UnmarshalJSON ¶

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

type CreateTeamMembership ¶

type CreateTeamMembership struct {
	// The ID of a user to add to the team. This parameter is mutually exclusive with schedule_id and signals_on_call_schedule_id.
	UserID *string `json:"user_id,omitempty"`
	// The ID of a third-party on-call schedule to add to the team, allowing you to specify that whoever is on call for this schedule when the team is assigned to an incident gets added to the incident and optionally assigned to the configured incident role. This parameter is mutually exclusive with user_id and signals_on_call_schedule_id.
	ScheduleID *string `json:"schedule_id,omitempty"`
	// The ID of a Signals on-call schedule to add to the team, allowing you to specify that whoever is on call for this schedule when the team is assigned to an incident gets added to the incident and optionally assigned to the configured incident role.. This parameter is mutually exclusive with user_id and schedule_id.
	SignalsOnCallScheduleID *string `json:"signals_on_call_schedule_id,omitempty"`
	// An incident role ID that the user will automatically assigned if this team is assigned to an incident
	IncidentRoleID *string `json:"incident_role_id,omitempty"`
}

func (*CreateTeamMembership) GetIncidentRoleID ¶

func (c *CreateTeamMembership) GetIncidentRoleID() *string

func (*CreateTeamMembership) GetScheduleID ¶

func (c *CreateTeamMembership) GetScheduleID() *string

func (*CreateTeamMembership) GetSignalsOnCallScheduleID ¶

func (c *CreateTeamMembership) GetSignalsOnCallScheduleID() *string

func (*CreateTeamMembership) GetUserID ¶

func (c *CreateTeamMembership) GetUserID() *string

type CreateTeamMsTeamsChannel ¶

type CreateTeamMsTeamsChannel struct {
	ChannelID string `json:"channel_id"`
	MsTeamID  string `json:"ms_team_id"`
}

CreateTeamMsTeamsChannel - MS Teams channel identity for channel associated with this team

func (*CreateTeamMsTeamsChannel) GetChannelID ¶

func (c *CreateTeamMsTeamsChannel) GetChannelID() string

func (*CreateTeamMsTeamsChannel) GetMsTeamID ¶

func (c *CreateTeamMsTeamsChannel) GetMsTeamID() string

type CreateTeamOnCallSchedule ¶

type CreateTeamOnCallSchedule struct {
	// The on-call schedule's name.
	Name string `json:"name"`
	// A detailed description of the on-call schedule.
	Description *string `json:"description,omitempty"`
	// An array of objects that specify rotations for the schedule. If not provided, the deprecated single-rotation parameters can be used instead, with `time_zone` and `strategy` being required.
	Rotations []CreateTeamOnCallScheduleRotation `json:"rotations,omitempty"`
	// An optional name for the initial rotation. If not provided, the schedule's name will be used.
	RotationName *string `json:"rotation_name,omitempty"`
	// An optional description for the initial rotation. If not provided, the schedule's description will be used.
	RotationDescription *string `json:"rotation_description,omitempty"`
	// A hex color code that will be used to represent the initial rotation in FireHydrant's UI.
	Color *string `json:"color,omitempty"`
	// The time zone in which the on-call schedule's rotation will operate. This value must be a valid IANA time zone name and must be provided if `rotations` is not.
	TimeZone *string `json:"time_zone,omitempty"`
	// The ID of a Slack user group to sync the initial rotation's on-call members to.
	SlackUserGroupID *string `json:"slack_user_group_id,omitempty"`
	// An ordered list of objects that specify members of the initial rotation.
	Members []CreateTeamOnCallScheduleMember `json:"members,omitempty"`
	// An object that specifies how the initial rotation's on-call shifts should be generated. This value must be provided if `rotations` is not.
	Strategy *CreateTeamOnCallScheduleStrategy `json:"strategy,omitempty"`
	// A list of objects that restrict the initial rotation to specific on-call periods.
	Restrictions []CreateTeamOnCallScheduleRestriction `json:"restrictions,omitempty"`
	// An ISO8601 time string specifying when the initial rotation should start. This value is only used if the rotation's strategy type is "custom".
	StartTime *string `json:"start_time,omitempty"`
	// This parameter is deprecated; use `members` instead.
	MemberIds []string `json:"member_ids,omitempty"`
}

CreateTeamOnCallSchedule - Create a Signals on-call schedule for a team with a single rotation. More rotations can be created later.

func (*CreateTeamOnCallSchedule) GetColor ¶

func (c *CreateTeamOnCallSchedule) GetColor() *string

func (*CreateTeamOnCallSchedule) GetDescription ¶

func (c *CreateTeamOnCallSchedule) GetDescription() *string

func (*CreateTeamOnCallSchedule) GetMemberIds ¶

func (c *CreateTeamOnCallSchedule) GetMemberIds() []string

func (*CreateTeamOnCallSchedule) GetMembers ¶

func (*CreateTeamOnCallSchedule) GetName ¶

func (c *CreateTeamOnCallSchedule) GetName() string

func (*CreateTeamOnCallSchedule) GetRestrictions ¶

func (*CreateTeamOnCallSchedule) GetRotationDescription ¶

func (c *CreateTeamOnCallSchedule) GetRotationDescription() *string

func (*CreateTeamOnCallSchedule) GetRotationName ¶

func (c *CreateTeamOnCallSchedule) GetRotationName() *string

func (*CreateTeamOnCallSchedule) GetRotations ¶

func (*CreateTeamOnCallSchedule) GetSlackUserGroupID ¶

func (c *CreateTeamOnCallSchedule) GetSlackUserGroupID() *string

func (*CreateTeamOnCallSchedule) GetStartTime ¶

func (c *CreateTeamOnCallSchedule) GetStartTime() *string

func (*CreateTeamOnCallSchedule) GetStrategy ¶

func (*CreateTeamOnCallSchedule) GetTimeZone ¶

func (c *CreateTeamOnCallSchedule) GetTimeZone() *string

type CreateTeamOnCallScheduleEndDay ¶

type CreateTeamOnCallScheduleEndDay string

CreateTeamOnCallScheduleEndDay - The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	CreateTeamOnCallScheduleEndDayMonday    CreateTeamOnCallScheduleEndDay = "monday"
	CreateTeamOnCallScheduleEndDayTuesday   CreateTeamOnCallScheduleEndDay = "tuesday"
	CreateTeamOnCallScheduleEndDayWednesday CreateTeamOnCallScheduleEndDay = "wednesday"
	CreateTeamOnCallScheduleEndDayThursday  CreateTeamOnCallScheduleEndDay = "thursday"
	CreateTeamOnCallScheduleEndDayFriday    CreateTeamOnCallScheduleEndDay = "friday"
	CreateTeamOnCallScheduleEndDaySaturday  CreateTeamOnCallScheduleEndDay = "saturday"
	CreateTeamOnCallScheduleEndDaySunday    CreateTeamOnCallScheduleEndDay = "sunday"
)

func (CreateTeamOnCallScheduleEndDay) ToPointer ¶

func (*CreateTeamOnCallScheduleEndDay) UnmarshalJSON ¶

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

type CreateTeamOnCallScheduleHandoffDay ¶

type CreateTeamOnCallScheduleHandoffDay string

CreateTeamOnCallScheduleHandoffDay - The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".

const (
	CreateTeamOnCallScheduleHandoffDayMonday    CreateTeamOnCallScheduleHandoffDay = "monday"
	CreateTeamOnCallScheduleHandoffDayTuesday   CreateTeamOnCallScheduleHandoffDay = "tuesday"
	CreateTeamOnCallScheduleHandoffDayWednesday CreateTeamOnCallScheduleHandoffDay = "wednesday"
	CreateTeamOnCallScheduleHandoffDayThursday  CreateTeamOnCallScheduleHandoffDay = "thursday"
	CreateTeamOnCallScheduleHandoffDayFriday    CreateTeamOnCallScheduleHandoffDay = "friday"
	CreateTeamOnCallScheduleHandoffDaySaturday  CreateTeamOnCallScheduleHandoffDay = "saturday"
	CreateTeamOnCallScheduleHandoffDaySunday    CreateTeamOnCallScheduleHandoffDay = "sunday"
)

func (CreateTeamOnCallScheduleHandoffDay) ToPointer ¶

func (*CreateTeamOnCallScheduleHandoffDay) UnmarshalJSON ¶

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

type CreateTeamOnCallScheduleMember ¶

type CreateTeamOnCallScheduleMember struct {
	// The ID of a user who should be added to the schedule's initial rotation. You can add a user to the
	// schedule multiple times to construct more complex rotations, and you can specify a `null` user ID
	// to create unassigned slots in the rotation.
	//
	UserID *string `json:"user_id,omitempty"`
}

func (*CreateTeamOnCallScheduleMember) GetUserID ¶

func (c *CreateTeamOnCallScheduleMember) GetUserID() *string

type CreateTeamOnCallScheduleRestriction ¶

type CreateTeamOnCallScheduleRestriction struct {
	// The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).
	StartDay CreateTeamOnCallScheduleStartDay `json:"start_day"`
	// An ISO8601 time string specifying when the restriction should start.
	StartTime string `json:"start_time"`
	// The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).
	EndDay CreateTeamOnCallScheduleEndDay `json:"end_day"`
	// An ISO8601 time string specifying when the restriction should end.
	EndTime string `json:"end_time"`
}

func (*CreateTeamOnCallScheduleRestriction) GetEndDay ¶

func (*CreateTeamOnCallScheduleRestriction) GetEndTime ¶

func (*CreateTeamOnCallScheduleRestriction) GetStartDay ¶

func (*CreateTeamOnCallScheduleRestriction) GetStartTime ¶

func (c *CreateTeamOnCallScheduleRestriction) GetStartTime() string

type CreateTeamOnCallScheduleRotation ¶

type CreateTeamOnCallScheduleRotation struct {
	// The name of the on-call rotation
	Name string `json:"name"`
	// A detailed description of the on-call schedule.
	Description *string `json:"description,omitempty"`
	// The timezone of the on-call rotation as a string
	TimeZone string `json:"time_zone"`
	// The Slack Usergroup ID for the on-call rotation
	SlackUserGroupID *string `json:"slack_user_group_id,omitempty"`
	// Notify the team's Slack channel when handoffs occur
	EnableSlackChannelNotifications *bool `json:"enable_slack_channel_notifications,omitempty"`
	// Prevent shifts from being deleted by users and leading to gaps in coverage.
	PreventShiftDeletion *bool `json:"prevent_shift_deletion,omitempty"`
	// An ISO8601 duration string specifying that the team should be notified about gaps in coverage for the upcoming interval. Notifications are sent at 9am daily in the rotation's time zone via email and, if enabled, the team's Slack channel.
	CoverageGapNotificationInterval *string `json:"coverage_gap_notification_interval,omitempty"`
	// A hex color code that will be used to represent the rotation in FireHydrant's UI.
	Color *string `json:"color,omitempty"`
	// An ordered list of objects that specify members of the schedule's rotation.
	Members []CreateTeamOnCallScheduleRotationMember `json:"members,omitempty"`
	// An object that specifies how the rotation's on-call shifts should be generated.
	Strategy CreateTeamOnCallScheduleRotationStrategy `json:"strategy"`
	// A list of objects that restrict the rotation to specific on-call periods.
	Restrictions []CreateTeamOnCallScheduleRotationRestriction `json:"restrictions,omitempty"`
	// An ISO8601 time string specifying when the initial rotation should start. This value is only used if the rotation's strategy type is "custom".
	StartTime *string `json:"start_time,omitempty"`
}

func (*CreateTeamOnCallScheduleRotation) GetColor ¶

func (*CreateTeamOnCallScheduleRotation) GetCoverageGapNotificationInterval ¶

func (c *CreateTeamOnCallScheduleRotation) GetCoverageGapNotificationInterval() *string

func (*CreateTeamOnCallScheduleRotation) GetDescription ¶

func (c *CreateTeamOnCallScheduleRotation) GetDescription() *string

func (*CreateTeamOnCallScheduleRotation) GetEnableSlackChannelNotifications ¶

func (c *CreateTeamOnCallScheduleRotation) GetEnableSlackChannelNotifications() *bool

func (*CreateTeamOnCallScheduleRotation) GetMembers ¶

func (*CreateTeamOnCallScheduleRotation) GetName ¶

func (*CreateTeamOnCallScheduleRotation) GetPreventShiftDeletion ¶

func (c *CreateTeamOnCallScheduleRotation) GetPreventShiftDeletion() *bool

func (*CreateTeamOnCallScheduleRotation) GetRestrictions ¶

func (*CreateTeamOnCallScheduleRotation) GetSlackUserGroupID ¶

func (c *CreateTeamOnCallScheduleRotation) GetSlackUserGroupID() *string

func (*CreateTeamOnCallScheduleRotation) GetStartTime ¶

func (c *CreateTeamOnCallScheduleRotation) GetStartTime() *string

func (*CreateTeamOnCallScheduleRotation) GetStrategy ¶

func (*CreateTeamOnCallScheduleRotation) GetTimeZone ¶

func (c *CreateTeamOnCallScheduleRotation) GetTimeZone() string

type CreateTeamOnCallScheduleRotationEndDay ¶

type CreateTeamOnCallScheduleRotationEndDay string

CreateTeamOnCallScheduleRotationEndDay - The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	CreateTeamOnCallScheduleRotationEndDayMonday    CreateTeamOnCallScheduleRotationEndDay = "monday"
	CreateTeamOnCallScheduleRotationEndDayTuesday   CreateTeamOnCallScheduleRotationEndDay = "tuesday"
	CreateTeamOnCallScheduleRotationEndDayWednesday CreateTeamOnCallScheduleRotationEndDay = "wednesday"
	CreateTeamOnCallScheduleRotationEndDayThursday  CreateTeamOnCallScheduleRotationEndDay = "thursday"
	CreateTeamOnCallScheduleRotationEndDayFriday    CreateTeamOnCallScheduleRotationEndDay = "friday"
	CreateTeamOnCallScheduleRotationEndDaySaturday  CreateTeamOnCallScheduleRotationEndDay = "saturday"
	CreateTeamOnCallScheduleRotationEndDaySunday    CreateTeamOnCallScheduleRotationEndDay = "sunday"
)

func (CreateTeamOnCallScheduleRotationEndDay) ToPointer ¶

func (*CreateTeamOnCallScheduleRotationEndDay) UnmarshalJSON ¶

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

type CreateTeamOnCallScheduleRotationHandoffDay ¶

type CreateTeamOnCallScheduleRotationHandoffDay string

CreateTeamOnCallScheduleRotationHandoffDay - The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".

const (
	CreateTeamOnCallScheduleRotationHandoffDayMonday    CreateTeamOnCallScheduleRotationHandoffDay = "monday"
	CreateTeamOnCallScheduleRotationHandoffDayTuesday   CreateTeamOnCallScheduleRotationHandoffDay = "tuesday"
	CreateTeamOnCallScheduleRotationHandoffDayWednesday CreateTeamOnCallScheduleRotationHandoffDay = "wednesday"
	CreateTeamOnCallScheduleRotationHandoffDayThursday  CreateTeamOnCallScheduleRotationHandoffDay = "thursday"
	CreateTeamOnCallScheduleRotationHandoffDayFriday    CreateTeamOnCallScheduleRotationHandoffDay = "friday"
	CreateTeamOnCallScheduleRotationHandoffDaySaturday  CreateTeamOnCallScheduleRotationHandoffDay = "saturday"
	CreateTeamOnCallScheduleRotationHandoffDaySunday    CreateTeamOnCallScheduleRotationHandoffDay = "sunday"
)

func (CreateTeamOnCallScheduleRotationHandoffDay) ToPointer ¶

func (*CreateTeamOnCallScheduleRotationHandoffDay) UnmarshalJSON ¶

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

type CreateTeamOnCallScheduleRotationMember ¶

type CreateTeamOnCallScheduleRotationMember struct {
	// The ID of a user who should be added to the rotation. You can add a user to the rotation
	// multiple times to construct more complex rotations, and you can specify a `null` user ID to create
	// unassigned slots in the rotation.
	//
	UserID *string `json:"user_id,omitempty"`
}

func (*CreateTeamOnCallScheduleRotationMember) GetUserID ¶

type CreateTeamOnCallScheduleRotationRestriction ¶

type CreateTeamOnCallScheduleRotationRestriction struct {
	// The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).
	StartDay CreateTeamOnCallScheduleRotationStartDay `json:"start_day"`
	// An ISO8601 time string specifying when the restriction should start.
	StartTime string `json:"start_time"`
	// The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).
	EndDay CreateTeamOnCallScheduleRotationEndDay `json:"end_day"`
	// An ISO8601 time string specifying when the restriction should end.
	EndTime string `json:"end_time"`
}

func (*CreateTeamOnCallScheduleRotationRestriction) GetEndDay ¶

func (*CreateTeamOnCallScheduleRotationRestriction) GetEndTime ¶

func (*CreateTeamOnCallScheduleRotationRestriction) GetStartDay ¶

func (*CreateTeamOnCallScheduleRotationRestriction) GetStartTime ¶

type CreateTeamOnCallScheduleRotationStartDay ¶

type CreateTeamOnCallScheduleRotationStartDay string

CreateTeamOnCallScheduleRotationStartDay - The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	CreateTeamOnCallScheduleRotationStartDayMonday    CreateTeamOnCallScheduleRotationStartDay = "monday"
	CreateTeamOnCallScheduleRotationStartDayTuesday   CreateTeamOnCallScheduleRotationStartDay = "tuesday"
	CreateTeamOnCallScheduleRotationStartDayWednesday CreateTeamOnCallScheduleRotationStartDay = "wednesday"
	CreateTeamOnCallScheduleRotationStartDayThursday  CreateTeamOnCallScheduleRotationStartDay = "thursday"
	CreateTeamOnCallScheduleRotationStartDayFriday    CreateTeamOnCallScheduleRotationStartDay = "friday"
	CreateTeamOnCallScheduleRotationStartDaySaturday  CreateTeamOnCallScheduleRotationStartDay = "saturday"
	CreateTeamOnCallScheduleRotationStartDaySunday    CreateTeamOnCallScheduleRotationStartDay = "sunday"
)

func (CreateTeamOnCallScheduleRotationStartDay) ToPointer ¶

func (*CreateTeamOnCallScheduleRotationStartDay) UnmarshalJSON ¶

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

type CreateTeamOnCallScheduleRotationStrategy ¶

type CreateTeamOnCallScheduleRotationStrategy struct {
	// The type of strategy. Must be one of "daily", "weekly", or "custom".
	Type CreateTeamOnCallScheduleRotationType `json:"type"`
	// An ISO8601 time string specifying when on-call shifts should hand off. This value is only used if the strategy type is "daily" or "weekly".
	HandoffTime *string `json:"handoff_time,omitempty"`
	// The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".
	HandoffDay *CreateTeamOnCallScheduleRotationHandoffDay `json:"handoff_day,omitempty"`
	// An ISO8601 duration string specifying how long each shift should last. This value is only used if the strategy type is "custom".
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

CreateTeamOnCallScheduleRotationStrategy - An object that specifies how the rotation's on-call shifts should be generated.

func (*CreateTeamOnCallScheduleRotationStrategy) GetHandoffDay ¶

func (*CreateTeamOnCallScheduleRotationStrategy) GetHandoffTime ¶

func (c *CreateTeamOnCallScheduleRotationStrategy) GetHandoffTime() *string

func (*CreateTeamOnCallScheduleRotationStrategy) GetShiftDuration ¶

func (c *CreateTeamOnCallScheduleRotationStrategy) GetShiftDuration() *string

func (*CreateTeamOnCallScheduleRotationStrategy) GetType ¶

type CreateTeamOnCallScheduleRotationType ¶

type CreateTeamOnCallScheduleRotationType string

CreateTeamOnCallScheduleRotationType - The type of strategy. Must be one of "daily", "weekly", or "custom".

const (
	CreateTeamOnCallScheduleRotationTypeDaily  CreateTeamOnCallScheduleRotationType = "daily"
	CreateTeamOnCallScheduleRotationTypeWeekly CreateTeamOnCallScheduleRotationType = "weekly"
	CreateTeamOnCallScheduleRotationTypeCustom CreateTeamOnCallScheduleRotationType = "custom"
)

func (CreateTeamOnCallScheduleRotationType) ToPointer ¶

func (*CreateTeamOnCallScheduleRotationType) UnmarshalJSON ¶

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

type CreateTeamOnCallScheduleStartDay ¶

type CreateTeamOnCallScheduleStartDay string

CreateTeamOnCallScheduleStartDay - The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	CreateTeamOnCallScheduleStartDayMonday    CreateTeamOnCallScheduleStartDay = "monday"
	CreateTeamOnCallScheduleStartDayTuesday   CreateTeamOnCallScheduleStartDay = "tuesday"
	CreateTeamOnCallScheduleStartDayWednesday CreateTeamOnCallScheduleStartDay = "wednesday"
	CreateTeamOnCallScheduleStartDayThursday  CreateTeamOnCallScheduleStartDay = "thursday"
	CreateTeamOnCallScheduleStartDayFriday    CreateTeamOnCallScheduleStartDay = "friday"
	CreateTeamOnCallScheduleStartDaySaturday  CreateTeamOnCallScheduleStartDay = "saturday"
	CreateTeamOnCallScheduleStartDaySunday    CreateTeamOnCallScheduleStartDay = "sunday"
)

func (CreateTeamOnCallScheduleStartDay) ToPointer ¶

func (*CreateTeamOnCallScheduleStartDay) UnmarshalJSON ¶

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

type CreateTeamOnCallScheduleStrategy ¶

type CreateTeamOnCallScheduleStrategy struct {
	// The type of strategy. Must be one of "daily", "weekly", or "custom".
	Type CreateTeamOnCallScheduleType `json:"type"`
	// An ISO8601 time string specifying when on-call shifts should hand off. This value is only used if the strategy type is "daily" or "weekly".
	HandoffTime *string `json:"handoff_time,omitempty"`
	// The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".
	HandoffDay *CreateTeamOnCallScheduleHandoffDay `json:"handoff_day,omitempty"`
	// An ISO8601 duration string specifying how long each shift should last. This value is only used if the strategy type is "custom".
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

CreateTeamOnCallScheduleStrategy - An object that specifies how the initial rotation's on-call shifts should be generated. This value must be provided if `rotations` is not.

func (*CreateTeamOnCallScheduleStrategy) GetHandoffDay ¶

func (*CreateTeamOnCallScheduleStrategy) GetHandoffTime ¶

func (c *CreateTeamOnCallScheduleStrategy) GetHandoffTime() *string

func (*CreateTeamOnCallScheduleStrategy) GetShiftDuration ¶

func (c *CreateTeamOnCallScheduleStrategy) GetShiftDuration() *string

func (*CreateTeamOnCallScheduleStrategy) GetType ¶

type CreateTeamOnCallScheduleType ¶

type CreateTeamOnCallScheduleType string

CreateTeamOnCallScheduleType - The type of strategy. Must be one of "daily", "weekly", or "custom".

const (
	CreateTeamOnCallScheduleTypeDaily  CreateTeamOnCallScheduleType = "daily"
	CreateTeamOnCallScheduleTypeWeekly CreateTeamOnCallScheduleType = "weekly"
	CreateTeamOnCallScheduleTypeCustom CreateTeamOnCallScheduleType = "custom"
)

func (CreateTeamOnCallScheduleType) ToPointer ¶

func (*CreateTeamOnCallScheduleType) UnmarshalJSON ¶

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

type CreateTeamSignalRule ¶

type CreateTeamSignalRule struct {
	// The rule's name.
	Name string `json:"name"`
	// The CEL expression that defines the rule.
	Expression string `json:"expression"`
	// The type of target that the rule will notify when matched.
	TargetType CreateTeamSignalRuleTargetType `json:"target_type"`
	// The ID of the target that the rule will notify when matched.
	TargetID string `json:"target_id"`
	// The ID of an incident type that should be used when an alert is promoted to an incident
	IncidentTypeID *string `json:"incident_type_id,omitempty"`
	// A notification priority that will be set on the resulting alert (default: HIGH)
	NotificationPriorityOverride *CreateTeamSignalRuleNotificationPriorityOverride `json:"notification_priority_override,omitempty"`
	// Determines when an incident should be created when this rule is matched
	CreateIncidentConditionWhen *CreateTeamSignalRuleCreateIncidentConditionWhen `json:"create_incident_condition_when,omitempty"`
	// The amount of time alerts created from this rule will be deduplicated
	DeduplicationExpiry *string `json:"deduplication_expiry,omitempty"`
}

CreateTeamSignalRule - Create a Signals rule for a team.

func (*CreateTeamSignalRule) GetCreateIncidentConditionWhen ¶

func (c *CreateTeamSignalRule) GetCreateIncidentConditionWhen() *CreateTeamSignalRuleCreateIncidentConditionWhen

func (*CreateTeamSignalRule) GetDeduplicationExpiry ¶

func (c *CreateTeamSignalRule) GetDeduplicationExpiry() *string

func (*CreateTeamSignalRule) GetExpression ¶

func (c *CreateTeamSignalRule) GetExpression() string

func (*CreateTeamSignalRule) GetIncidentTypeID ¶

func (c *CreateTeamSignalRule) GetIncidentTypeID() *string

func (*CreateTeamSignalRule) GetName ¶

func (c *CreateTeamSignalRule) GetName() string

func (*CreateTeamSignalRule) GetNotificationPriorityOverride ¶

func (c *CreateTeamSignalRule) GetNotificationPriorityOverride() *CreateTeamSignalRuleNotificationPriorityOverride

func (*CreateTeamSignalRule) GetTargetID ¶

func (c *CreateTeamSignalRule) GetTargetID() string

func (*CreateTeamSignalRule) GetTargetType ¶

type CreateTeamSignalRuleCreateIncidentConditionWhen ¶

type CreateTeamSignalRuleCreateIncidentConditionWhen string

CreateTeamSignalRuleCreateIncidentConditionWhen - Determines when an incident should be created when this rule is matched

const (
	CreateTeamSignalRuleCreateIncidentConditionWhenWhenUnspecified CreateTeamSignalRuleCreateIncidentConditionWhen = "WHEN_UNSPECIFIED"
	CreateTeamSignalRuleCreateIncidentConditionWhenWhenAlways      CreateTeamSignalRuleCreateIncidentConditionWhen = "WHEN_ALWAYS"
)

func (CreateTeamSignalRuleCreateIncidentConditionWhen) ToPointer ¶

func (*CreateTeamSignalRuleCreateIncidentConditionWhen) UnmarshalJSON ¶

type CreateTeamSignalRuleNotificationPriorityOverride ¶

type CreateTeamSignalRuleNotificationPriorityOverride string

CreateTeamSignalRuleNotificationPriorityOverride - A notification priority that will be set on the resulting alert (default: HIGH)

const (
	CreateTeamSignalRuleNotificationPriorityOverrideHigh    CreateTeamSignalRuleNotificationPriorityOverride = "HIGH"
	CreateTeamSignalRuleNotificationPriorityOverrideMedium  CreateTeamSignalRuleNotificationPriorityOverride = "MEDIUM"
	CreateTeamSignalRuleNotificationPriorityOverrideLow     CreateTeamSignalRuleNotificationPriorityOverride = "LOW"
	CreateTeamSignalRuleNotificationPriorityOverrideUnknown CreateTeamSignalRuleNotificationPriorityOverride = ""
)

func (CreateTeamSignalRuleNotificationPriorityOverride) ToPointer ¶

func (*CreateTeamSignalRuleNotificationPriorityOverride) UnmarshalJSON ¶

type CreateTeamSignalRuleTargetType ¶

type CreateTeamSignalRuleTargetType string

CreateTeamSignalRuleTargetType - The type of target that the rule will notify when matched.

const (
	CreateTeamSignalRuleTargetTypeEscalationPolicy      CreateTeamSignalRuleTargetType = "EscalationPolicy"
	CreateTeamSignalRuleTargetTypeOnCallSchedule        CreateTeamSignalRuleTargetType = "OnCallSchedule"
	CreateTeamSignalRuleTargetTypeUser                  CreateTeamSignalRuleTargetType = "User"
	CreateTeamSignalRuleTargetTypeWebhook               CreateTeamSignalRuleTargetType = "Webhook"
	CreateTeamSignalRuleTargetTypeSlackChannel          CreateTeamSignalRuleTargetType = "SlackChannel"
	CreateTeamSignalRuleTargetTypeMicrosoftTeamsChannel CreateTeamSignalRuleTargetType = "MicrosoftTeamsChannel"
)

func (CreateTeamSignalRuleTargetType) ToPointer ¶

func (*CreateTeamSignalRuleTargetType) UnmarshalJSON ¶

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

type CreateTicket ¶

type CreateTicket struct {
	Summary string `json:"summary"`
	// Which incident this ticket is related to, in the format of 'incident/UUID'
	RelatedTo   *string `json:"related_to,omitempty"`
	ProjectID   *string `json:"project_id,omitempty"`
	Description *string `json:"description,omitempty"`
	State       *string `json:"state,omitempty"`
	Type        *string `json:"type,omitempty"`
	PriorityID  *string `json:"priority_id,omitempty"`
	// List of tags for the ticket
	TagList []string `json:"tag_list,omitempty"`
	// The remote URL for an existing ticket in a supported and configured ticketing integration
	RemoteURL *string `json:"remote_url,omitempty"`
}

CreateTicket - Creates a ticket for a project

func (*CreateTicket) GetDescription ¶

func (c *CreateTicket) GetDescription() *string

func (*CreateTicket) GetPriorityID ¶

func (c *CreateTicket) GetPriorityID() *string

func (*CreateTicket) GetProjectID ¶

func (c *CreateTicket) GetProjectID() *string

func (*CreateTicket) GetRelatedTo ¶

func (c *CreateTicket) GetRelatedTo() *string

func (*CreateTicket) GetRemoteURL ¶

func (c *CreateTicket) GetRemoteURL() *string

func (*CreateTicket) GetState ¶

func (c *CreateTicket) GetState() *string

func (*CreateTicket) GetSummary ¶

func (c *CreateTicket) GetSummary() string

func (*CreateTicket) GetTagList ¶

func (c *CreateTicket) GetTagList() []string

func (*CreateTicket) GetType ¶

func (c *CreateTicket) GetType() *string

type CreateTicketingPriority ¶

type CreateTicketingPriority struct {
	Name string `json:"name"`
	// The position that this priority should take in your list of priorities. Priorities should be ordered from highest to lowest, with the highest priority at 0. If a position isn't specified, the new priority will be added to the end of the list; if another priority already exists at the specified position, that priority and all priorities following it will automatically be moved down the list to make room for the new priority.
	Position *int `json:"position,omitempty"`
}

CreateTicketingPriority - Create a single ticketing priority

func (*CreateTicketingPriority) GetName ¶

func (c *CreateTicketingPriority) GetName() string

func (*CreateTicketingPriority) GetPosition ¶

func (c *CreateTicketingPriority) GetPosition() *int

type CreateWebhook ¶

type CreateWebhook struct {
	URL string `json:"url"`
}

CreateWebhook - Create a new webhook

func (*CreateWebhook) GetURL ¶

func (c *CreateWebhook) GetURL() string

type CurrentUserEntity ¶

type CurrentUserEntity struct {
	ID               *string          `json:"id,omitempty"`
	Name             *string          `json:"name,omitempty"`
	Source           *string          `json:"source,omitempty"`
	Email            *string          `json:"email,omitempty"`
	Role             *string          `json:"role,omitempty"`
	Teams            []SuccinctEntity `json:"teams,omitempty"`
	OrganizationID   *string          `json:"organization_id,omitempty"`
	OrganizationName *string          `json:"organization_name,omitempty"`
	AccountID        *int             `json:"account_id,omitempty"`
}

CurrentUserEntity model

func (*CurrentUserEntity) GetAccountID ¶

func (c *CurrentUserEntity) GetAccountID() *int

func (*CurrentUserEntity) GetEmail ¶

func (c *CurrentUserEntity) GetEmail() *string

func (*CurrentUserEntity) GetID ¶

func (c *CurrentUserEntity) GetID() *string

func (*CurrentUserEntity) GetName ¶

func (c *CurrentUserEntity) GetName() *string

func (*CurrentUserEntity) GetOrganizationID ¶

func (c *CurrentUserEntity) GetOrganizationID() *string

func (*CurrentUserEntity) GetOrganizationName ¶

func (c *CurrentUserEntity) GetOrganizationName() *string

func (*CurrentUserEntity) GetRole ¶

func (c *CurrentUserEntity) GetRole() *string

func (*CurrentUserEntity) GetSource ¶

func (c *CurrentUserEntity) GetSource() *string

func (*CurrentUserEntity) GetTeams ¶

func (c *CurrentUserEntity) GetTeams() []SuccinctEntity

type CustomField ¶

type CustomField struct {
	// The ID of the custom field you wish to set.
	FieldID string `json:"field_id"`
	// The value you wish to set on the custom field if the type of the field accepts string values
	ValueString *string `json:"value_string,omitempty"`
	// The value you wish to set on the custom field if the type of the field accepts array values
	ValueArray []string `json:"value_array,omitempty"`
}

func (*CustomField) GetFieldID ¶

func (c *CustomField) GetFieldID() string

func (*CustomField) GetValueArray ¶

func (c *CustomField) GetValueArray() []string

func (*CustomField) GetValueString ¶

func (c *CustomField) GetValueString() *string

type CustomFieldsFieldValue ¶

type CustomFieldsFieldValue struct {
	Name        *string  `json:"name,omitempty"`
	ValueType   *string  `json:"value_type,omitempty"`
	DisplayName *string  `json:"display_name,omitempty"`
	Description *string  `json:"description,omitempty"`
	Slug        *string  `json:"slug,omitempty"`
	FieldID     *string  `json:"field_id,omitempty"`
	ValueArray  []string `json:"value_array,omitempty"`
	ValueString *string  `json:"value_string,omitempty"`
	Value       *string  `json:"value,omitempty"`
}

func (*CustomFieldsFieldValue) GetDescription ¶

func (c *CustomFieldsFieldValue) GetDescription() *string

func (*CustomFieldsFieldValue) GetDisplayName ¶

func (c *CustomFieldsFieldValue) GetDisplayName() *string

func (*CustomFieldsFieldValue) GetFieldID ¶

func (c *CustomFieldsFieldValue) GetFieldID() *string

func (*CustomFieldsFieldValue) GetName ¶

func (c *CustomFieldsFieldValue) GetName() *string

func (*CustomFieldsFieldValue) GetSlug ¶

func (c *CustomFieldsFieldValue) GetSlug() *string

func (*CustomFieldsFieldValue) GetValue ¶

func (c *CustomFieldsFieldValue) GetValue() *string

func (*CustomFieldsFieldValue) GetValueArray ¶

func (c *CustomFieldsFieldValue) GetValueArray() []string

func (*CustomFieldsFieldValue) GetValueString ¶

func (c *CustomFieldsFieldValue) GetValueString() *string

func (*CustomFieldsFieldValue) GetValueType ¶

func (c *CustomFieldsFieldValue) GetValueType() *string

type DebugSignalsExpression ¶

type DebugSignalsExpression struct {
	// CEL expression
	Expression string `json:"expression"`
	// List of signals to evaluate rule expression against
	Signals []Signal `json:"signals"`
}

DebugSignalsExpression - Debug Signals expressions

func (*DebugSignalsExpression) GetExpression ¶

func (d *DebugSignalsExpression) GetExpression() string

func (*DebugSignalsExpression) GetSignals ¶

func (d *DebugSignalsExpression) GetSignals() []Signal
type DebugSignalsExpressionLink struct {
	Href *string `json:"href,omitempty"`
	Text *string `json:"text,omitempty"`
}

func (*DebugSignalsExpressionLink) GetHref ¶

func (d *DebugSignalsExpressionLink) GetHref() *string

func (*DebugSignalsExpressionLink) GetText ¶

func (d *DebugSignalsExpressionLink) GetText() *string

type Direction ¶

type Direction string

Direction - The direction you would like to vote, or if you dig it

const (
	DirectionUp   Direction = "up"
	DirectionDown Direction = "down"
	DirectionDig  Direction = "dig"
)

func (Direction) ToPointer ¶

func (e Direction) ToPointer() *Direction

func (*Direction) UnmarshalJSON ¶

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

type DisplayInformation ¶

type DisplayInformation struct {
}

type Encoding ¶

type Encoding string

Encoding for submitted data

const (
	EncodingTextYaml         Encoding = "text/yaml"
	EncodingApplicationXYaml Encoding = "application/x-yaml"
	EncodingApplicationJSON  Encoding = "application/json"
)

func (Encoding) ToPointer ¶

func (e Encoding) ToPointer() *Encoding

func (*Encoding) UnmarshalJSON ¶

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

type EntitlementEntity ¶

type EntitlementEntity struct {
	CurrentCount *int     `json:"current_count,omitempty"`
	Errors       []string `json:"errors,omitempty"`
	Exists       *bool    `json:"exists,omitempty"`
	Available    *bool    `json:"available,omitempty"`
	Maximum      *int     `json:"maximum,omitempty"`
	Name         *string  `json:"name,omitempty"`
	Slug         *string  `json:"slug,omitempty"`
	Tier         *Tier    `json:"tier,omitempty"`
}

func (*EntitlementEntity) GetAvailable ¶

func (e *EntitlementEntity) GetAvailable() *bool

func (*EntitlementEntity) GetCurrentCount ¶

func (e *EntitlementEntity) GetCurrentCount() *int

func (*EntitlementEntity) GetErrors ¶

func (e *EntitlementEntity) GetErrors() []string

func (*EntitlementEntity) GetExists ¶

func (e *EntitlementEntity) GetExists() *bool

func (*EntitlementEntity) GetMaximum ¶

func (e *EntitlementEntity) GetMaximum() *int

func (*EntitlementEntity) GetName ¶

func (e *EntitlementEntity) GetName() *string

func (*EntitlementEntity) GetSlug ¶

func (e *EntitlementEntity) GetSlug() *string

func (*EntitlementEntity) GetTier ¶

func (e *EntitlementEntity) GetTier() *Tier

type EntitlementEntityPaginated ¶

type EntitlementEntityPaginated struct {
	Data       []EntitlementEntity       `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

EntitlementEntityPaginated model

func (*EntitlementEntityPaginated) GetData ¶

func (*EntitlementEntityPaginated) GetPagination ¶

type Environment ¶

type Environment struct {
	ID *string `json:"id,omitempty"`
}

func (*Environment) GetID ¶

func (e *Environment) GetID() *string

type EnvironmentEntryEntity ¶

type EnvironmentEntryEntity struct {
	// UUID of the Environment
	ID *string `json:"id,omitempty"`
	// Name of the Environment
	Name *string `json:"name,omitempty"`
	// Slug of the Environment
	Slug *string `json:"slug,omitempty"`
	// Description of the Environment
	Description *string `json:"description,omitempty"`
	// The time the environment was updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The time the environment was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// List of active incident guids
	ActiveIncidents []string `json:"active_incidents,omitempty"`
	// Information about known linkages to representations of services outside of FireHydrant.
	ExternalResources []ExternalResourceEntity `json:"external_resources,omitempty"`
}

EnvironmentEntryEntity model

func (*EnvironmentEntryEntity) GetActiveIncidents ¶

func (e *EnvironmentEntryEntity) GetActiveIncidents() []string

func (*EnvironmentEntryEntity) GetCreatedAt ¶

func (e *EnvironmentEntryEntity) GetCreatedAt() *time.Time

func (*EnvironmentEntryEntity) GetDescription ¶

func (e *EnvironmentEntryEntity) GetDescription() *string

func (*EnvironmentEntryEntity) GetExternalResources ¶

func (e *EnvironmentEntryEntity) GetExternalResources() []ExternalResourceEntity

func (*EnvironmentEntryEntity) GetID ¶

func (e *EnvironmentEntryEntity) GetID() *string

func (*EnvironmentEntryEntity) GetName ¶

func (e *EnvironmentEntryEntity) GetName() *string

func (*EnvironmentEntryEntity) GetSlug ¶

func (e *EnvironmentEntryEntity) GetSlug() *string

func (*EnvironmentEntryEntity) GetUpdatedAt ¶

func (e *EnvironmentEntryEntity) GetUpdatedAt() *time.Time

func (EnvironmentEntryEntity) MarshalJSON ¶

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

func (*EnvironmentEntryEntity) UnmarshalJSON ¶

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

type EnvironmentEntryEntityPaginated ¶

type EnvironmentEntryEntityPaginated struct {
	Data       []EnvironmentEntryEntity  `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

EnvironmentEntryEntityPaginated model

func (*EnvironmentEntryEntityPaginated) GetData ¶

func (*EnvironmentEntryEntityPaginated) GetPagination ¶

type EventGenericChatMessageEntity ¶

type EventGenericChatMessageEntity struct {
	ID        *string    `json:"id,omitempty"`
	Body      *string    `json:"body,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
}

EventGenericChatMessageEntity - Event_GenericChatMessageEntity model

func (*EventGenericChatMessageEntity) GetBody ¶

func (e *EventGenericChatMessageEntity) GetBody() *string

func (*EventGenericChatMessageEntity) GetCreatedAt ¶

func (e *EventGenericChatMessageEntity) GetCreatedAt() *time.Time

func (*EventGenericChatMessageEntity) GetID ¶

func (EventGenericChatMessageEntity) MarshalJSON ¶

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

func (*EventGenericChatMessageEntity) UnmarshalJSON ¶

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

type EventNoteEntity ¶

type EventNoteEntity struct {
	ID            *string                             `json:"id,omitempty"`
	Body          *string                             `json:"body,omitempty"`
	CreatedAt     *time.Time                          `json:"created_at,omitempty"`
	StatusPages   []IncidentsStatusPageEntity         `json:"status_pages,omitempty"`
	Conversations []ConversationsAPIEntitiesReference `json:"conversations,omitempty"`
}

EventNoteEntity - Event_NoteEntity model

func (*EventNoteEntity) GetBody ¶

func (e *EventNoteEntity) GetBody() *string

func (*EventNoteEntity) GetConversations ¶

func (e *EventNoteEntity) GetConversations() []ConversationsAPIEntitiesReference

func (*EventNoteEntity) GetCreatedAt ¶

func (e *EventNoteEntity) GetCreatedAt() *time.Time

func (*EventNoteEntity) GetID ¶

func (e *EventNoteEntity) GetID() *string

func (*EventNoteEntity) GetStatusPages ¶

func (e *EventNoteEntity) GetStatusPages() []IncidentsStatusPageEntity

func (EventNoteEntity) MarshalJSON ¶

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

func (*EventNoteEntity) UnmarshalJSON ¶

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

type ExternalResourceEntity ¶

type ExternalResourceEntity struct {
	ConnectionType           *string    `json:"connection_type,omitempty"`
	ConnectionName           *string    `json:"connection_name,omitempty"`
	ConnectionFullFaviconURL *string    `json:"connection_full_favicon_url,omitempty"`
	ConnectionID             *string    `json:"connection_id,omitempty"`
	RemoteID                 *string    `json:"remote_id,omitempty"`
	RemoteURL                *string    `json:"remote_url,omitempty"`
	CreatedAt                *time.Time `json:"created_at,omitempty"`
	UpdatedAt                *time.Time `json:"updated_at,omitempty"`
	Name                     *string    `json:"name,omitempty"`
}

func (*ExternalResourceEntity) GetConnectionFullFaviconURL ¶

func (e *ExternalResourceEntity) GetConnectionFullFaviconURL() *string

func (*ExternalResourceEntity) GetConnectionID ¶

func (e *ExternalResourceEntity) GetConnectionID() *string

func (*ExternalResourceEntity) GetConnectionName ¶

func (e *ExternalResourceEntity) GetConnectionName() *string

func (*ExternalResourceEntity) GetConnectionType ¶

func (e *ExternalResourceEntity) GetConnectionType() *string

func (*ExternalResourceEntity) GetCreatedAt ¶

func (e *ExternalResourceEntity) GetCreatedAt() *time.Time

func (*ExternalResourceEntity) GetName ¶

func (e *ExternalResourceEntity) GetName() *string

func (*ExternalResourceEntity) GetRemoteID ¶

func (e *ExternalResourceEntity) GetRemoteID() *string

func (*ExternalResourceEntity) GetRemoteURL ¶

func (e *ExternalResourceEntity) GetRemoteURL() *string

func (*ExternalResourceEntity) GetUpdatedAt ¶

func (e *ExternalResourceEntity) GetUpdatedAt() *time.Time

func (ExternalResourceEntity) MarshalJSON ¶

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

func (*ExternalResourceEntity) UnmarshalJSON ¶

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

type FieldMappingFieldMapEntity ¶

type FieldMappingFieldMapEntity struct {
	ID                 *string `json:"id,omitempty"`
	ConnectionID       *string `json:"connection_id,omitempty"`
	ConnectionType     *string `json:"connection_type,omitempty"`
	EntityID           *string `json:"entity_id,omitempty"`
	EntityType         *string `json:"entity_type,omitempty"`
	Body               *Body   `json:"body,omitempty"`
	AvailableFieldsURL *string `json:"available_fields_url,omitempty"`
	DataBagURL         *string `json:"data_bag_url,omitempty"`
}

FieldMappingFieldMapEntity - FieldMapping_FieldMapEntity model

func (*FieldMappingFieldMapEntity) GetAvailableFieldsURL ¶

func (f *FieldMappingFieldMapEntity) GetAvailableFieldsURL() *string

func (*FieldMappingFieldMapEntity) GetBody ¶

func (f *FieldMappingFieldMapEntity) GetBody() *Body

func (*FieldMappingFieldMapEntity) GetConnectionID ¶

func (f *FieldMappingFieldMapEntity) GetConnectionID() *string

func (*FieldMappingFieldMapEntity) GetConnectionType ¶

func (f *FieldMappingFieldMapEntity) GetConnectionType() *string

func (*FieldMappingFieldMapEntity) GetDataBagURL ¶

func (f *FieldMappingFieldMapEntity) GetDataBagURL() *string

func (*FieldMappingFieldMapEntity) GetEntityID ¶

func (f *FieldMappingFieldMapEntity) GetEntityID() *string

func (*FieldMappingFieldMapEntity) GetEntityType ¶

func (f *FieldMappingFieldMapEntity) GetEntityType() *string

func (*FieldMappingFieldMapEntity) GetID ¶

func (f *FieldMappingFieldMapEntity) GetID() *string

type FieldMappingMappableFieldEntity ¶

type FieldMappingMappableFieldEntity struct {
	// The ID of the field
	Value *string `json:"value,omitempty"`
	// The human-readable name of the field
	Label *string `json:"label,omitempty"`
	// The allowed type of the field
	Type *string `json:"type,omitempty"`
	// The allowed values of the field
	AllowedValues []string `json:"allowed_values,omitempty"`
	// If the field is required to be mapped
	Required *string `json:"required,omitempty"`
	// Short, inline documentation for the present field
	HelpText *string `json:"help_text,omitempty"`
}

FieldMappingMappableFieldEntity - FieldMapping_MappableFieldEntity model

func (*FieldMappingMappableFieldEntity) GetAllowedValues ¶

func (f *FieldMappingMappableFieldEntity) GetAllowedValues() []string

func (*FieldMappingMappableFieldEntity) GetHelpText ¶

func (f *FieldMappingMappableFieldEntity) GetHelpText() *string

func (*FieldMappingMappableFieldEntity) GetLabel ¶

func (f *FieldMappingMappableFieldEntity) GetLabel() *string

func (*FieldMappingMappableFieldEntity) GetRequired ¶

func (f *FieldMappingMappableFieldEntity) GetRequired() *string

func (*FieldMappingMappableFieldEntity) GetType ¶

func (*FieldMappingMappableFieldEntity) GetValue ¶

func (f *FieldMappingMappableFieldEntity) GetValue() *string

type FilterParams ¶

type FilterParams struct {
}

type FormConfigurationEntity ¶

type FormConfigurationEntity struct {
	Fields            *string `json:"fields,omitempty"`
	ShowIncidentTypes *string `json:"show_incident_types,omitempty"`
}

FormConfigurationEntity model

func (*FormConfigurationEntity) GetFields ¶

func (f *FormConfigurationEntity) GetFields() *string

func (*FormConfigurationEntity) GetShowIncidentTypes ¶

func (f *FormConfigurationEntity) GetShowIncidentTypes() *string

type FunctionalityEntity ¶

type FunctionalityEntity struct {
	ID          *string    `json:"id,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Slug        *string    `json:"slug,omitempty"`
	Description *string    `json:"description,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	// An object of label key and values
	Labels map[string]any `json:"labels,omitempty"`
	// List of active incident guids
	ActiveIncidents []string `json:"active_incidents,omitempty"`
	// List of links attached to this functionality.
	Links                 []LinksEntity           `json:"links,omitempty"`
	Owner                 *NullableTeamEntityLite `json:"owner,omitempty"`
	AlertOnAdd            *bool                   `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool                   `json:"auto_add_responding_team,omitempty"`
	UpdatedBy             *NullableAuthorEntity   `json:"updated_by,omitempty"`
	// Services this functionality provides
	Services []ServiceEntityLite `json:"services,omitempty"`
	// Information about known linkages to representations of services outside of FireHydrant.
	ExternalResources []ExternalResourceEntity `json:"external_resources,omitempty"`
	// List of teams attached to the functionality
	Teams []TeamEntityLite `json:"teams,omitempty"`
}

FunctionalityEntity model

func (*FunctionalityEntity) GetActiveIncidents ¶

func (f *FunctionalityEntity) GetActiveIncidents() []string

func (*FunctionalityEntity) GetAlertOnAdd ¶

func (f *FunctionalityEntity) GetAlertOnAdd() *bool

func (*FunctionalityEntity) GetAutoAddRespondingTeam ¶

func (f *FunctionalityEntity) GetAutoAddRespondingTeam() *bool

func (*FunctionalityEntity) GetCreatedAt ¶

func (f *FunctionalityEntity) GetCreatedAt() *time.Time

func (*FunctionalityEntity) GetDescription ¶

func (f *FunctionalityEntity) GetDescription() *string

func (*FunctionalityEntity) GetExternalResources ¶

func (f *FunctionalityEntity) GetExternalResources() []ExternalResourceEntity

func (*FunctionalityEntity) GetID ¶

func (f *FunctionalityEntity) GetID() *string

func (*FunctionalityEntity) GetLabels ¶

func (f *FunctionalityEntity) GetLabels() map[string]any
func (f *FunctionalityEntity) GetLinks() []LinksEntity

func (*FunctionalityEntity) GetName ¶

func (f *FunctionalityEntity) GetName() *string

func (*FunctionalityEntity) GetOwner ¶

func (*FunctionalityEntity) GetServices ¶

func (f *FunctionalityEntity) GetServices() []ServiceEntityLite

func (*FunctionalityEntity) GetSlug ¶

func (f *FunctionalityEntity) GetSlug() *string

func (*FunctionalityEntity) GetTeams ¶

func (f *FunctionalityEntity) GetTeams() []TeamEntityLite

func (*FunctionalityEntity) GetUpdatedAt ¶

func (f *FunctionalityEntity) GetUpdatedAt() *time.Time

func (*FunctionalityEntity) GetUpdatedBy ¶

func (f *FunctionalityEntity) GetUpdatedBy() *NullableAuthorEntity

func (FunctionalityEntity) MarshalJSON ¶

func (f FunctionalityEntity) MarshalJSON() ([]byte, error)

func (*FunctionalityEntity) UnmarshalJSON ¶

func (f *FunctionalityEntity) UnmarshalJSON(data []byte) error

type FunctionalityEntityLite ¶

type FunctionalityEntityLite struct {
	ID          *string    `json:"id,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Slug        *string    `json:"slug,omitempty"`
	Description *string    `json:"description,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	// An object of label key and values
	Labels map[string]any `json:"labels,omitempty"`
	// List of active incident guids
	ActiveIncidents []string `json:"active_incidents,omitempty"`
	// List of links attached to this functionality.
	Links                 []LinksEntity           `json:"links,omitempty"`
	Owner                 *NullableTeamEntityLite `json:"owner,omitempty"`
	AlertOnAdd            *bool                   `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool                   `json:"auto_add_responding_team,omitempty"`
	UpdatedBy             *NullableAuthorEntity   `json:"updated_by,omitempty"`
}

func (*FunctionalityEntityLite) GetActiveIncidents ¶

func (f *FunctionalityEntityLite) GetActiveIncidents() []string

func (*FunctionalityEntityLite) GetAlertOnAdd ¶

func (f *FunctionalityEntityLite) GetAlertOnAdd() *bool

func (*FunctionalityEntityLite) GetAutoAddRespondingTeam ¶

func (f *FunctionalityEntityLite) GetAutoAddRespondingTeam() *bool

func (*FunctionalityEntityLite) GetCreatedAt ¶

func (f *FunctionalityEntityLite) GetCreatedAt() *time.Time

func (*FunctionalityEntityLite) GetDescription ¶

func (f *FunctionalityEntityLite) GetDescription() *string

func (*FunctionalityEntityLite) GetID ¶

func (f *FunctionalityEntityLite) GetID() *string

func (*FunctionalityEntityLite) GetLabels ¶

func (f *FunctionalityEntityLite) GetLabels() map[string]any
func (f *FunctionalityEntityLite) GetLinks() []LinksEntity

func (*FunctionalityEntityLite) GetName ¶

func (f *FunctionalityEntityLite) GetName() *string

func (*FunctionalityEntityLite) GetOwner ¶

func (*FunctionalityEntityLite) GetSlug ¶

func (f *FunctionalityEntityLite) GetSlug() *string

func (*FunctionalityEntityLite) GetUpdatedAt ¶

func (f *FunctionalityEntityLite) GetUpdatedAt() *time.Time

func (*FunctionalityEntityLite) GetUpdatedBy ¶

func (f *FunctionalityEntityLite) GetUpdatedBy() *NullableAuthorEntity

func (FunctionalityEntityLite) MarshalJSON ¶

func (f FunctionalityEntityLite) MarshalJSON() ([]byte, error)

func (*FunctionalityEntityLite) UnmarshalJSON ¶

func (f *FunctionalityEntityLite) UnmarshalJSON(data []byte) error

type FunctionalityEntityPaginated ¶

type FunctionalityEntityPaginated struct {
	Data       []FunctionalityEntity     `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

FunctionalityEntityPaginated model

func (*FunctionalityEntityPaginated) GetData ¶

func (*FunctionalityEntityPaginated) GetPagination ¶

type FunctionalityWithAllServicesEntity ¶

type FunctionalityWithAllServicesEntity struct {
	// Services this functionality provides
	Services []ServiceEntity `json:"services,omitempty"`
}

FunctionalityWithAllServicesEntity model

func (*FunctionalityWithAllServicesEntity) GetServices ¶

type Headers ¶

type Headers struct {
}

Headers - Hash of HTTP headers with values as Array, e.g. { 'Content-Type' => ['application/json'] }

type Image ¶

type Image struct {
	Src *string `json:"src,omitempty"`
	Alt *string `json:"alt,omitempty"`
}

func (*Image) GetAlt ¶

func (i *Image) GetAlt() *string

func (*Image) GetSrc ¶

func (i *Image) GetSrc() *string

type ImportsImportEntity ¶

type ImportsImportEntity struct {
	State     *ImportsImportEntityState `json:"state,omitempty"`
	UpdatedAt *time.Time                `json:"updated_at,omitempty"`
}

ImportsImportEntity - Imports_ImportEntity model

func (*ImportsImportEntity) GetState ¶

func (*ImportsImportEntity) GetUpdatedAt ¶

func (i *ImportsImportEntity) GetUpdatedAt() *time.Time

func (ImportsImportEntity) MarshalJSON ¶

func (i ImportsImportEntity) MarshalJSON() ([]byte, error)

func (*ImportsImportEntity) UnmarshalJSON ¶

func (i *ImportsImportEntity) UnmarshalJSON(data []byte) error

type ImportsImportEntityState ¶

type ImportsImportEntityState string
const (
	ImportsImportEntityStatePreprocessing  ImportsImportEntityState = "preprocessing"
	ImportsImportEntityStateReadyForImport ImportsImportEntityState = "ready_for_import"
	ImportsImportEntityStateImporting      ImportsImportEntityState = "importing"
	ImportsImportEntityStateCompleted      ImportsImportEntityState = "completed"
	ImportsImportEntityStateFailed         ImportsImportEntityState = "failed"
)

func (ImportsImportEntityState) ToPointer ¶

func (*ImportsImportEntityState) UnmarshalJSON ¶

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

type ImportsImportErrorEntity ¶

type ImportsImportErrorEntity struct {
	ID        *string    `json:"id,omitempty"`
	Message   *string    `json:"message,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Additional error data
	Data     *ImportsImportErrorEntityData                   `json:"data,omitempty"`
	Resource *NullableImportsImportErrorEntityResourceEntity `json:"resource,omitempty"`
}

func (*ImportsImportErrorEntity) GetCreatedAt ¶

func (i *ImportsImportErrorEntity) GetCreatedAt() *time.Time

func (*ImportsImportErrorEntity) GetData ¶

func (*ImportsImportErrorEntity) GetID ¶

func (i *ImportsImportErrorEntity) GetID() *string

func (*ImportsImportErrorEntity) GetMessage ¶

func (i *ImportsImportErrorEntity) GetMessage() *string

func (*ImportsImportErrorEntity) GetResource ¶

func (ImportsImportErrorEntity) MarshalJSON ¶

func (i ImportsImportErrorEntity) MarshalJSON() ([]byte, error)

func (*ImportsImportErrorEntity) UnmarshalJSON ¶

func (i *ImportsImportErrorEntity) UnmarshalJSON(data []byte) error

type ImportsImportErrorEntityData ¶

type ImportsImportErrorEntityData struct {
}

ImportsImportErrorEntityData - Additional error data

type IncidentAttachmentEntity ¶

type IncidentAttachmentEntity struct {
	FileName        *string                         `json:"file_name,omitempty"`
	FileContentType *string                         `json:"file_content_type,omitempty"`
	SignedURL       *string                         `json:"signed_url,omitempty"`
	MediaType       *string                         `json:"media_type,omitempty"`
	Description     *string                         `json:"description,omitempty"`
	ExternalID      *string                         `json:"external_id,omitempty"`
	FileSize        *int                            `json:"file_size,omitempty"`
	Status          *IncidentAttachmentEntityStatus `json:"status,omitempty"`
	// An object with keys that designate a specific version or size of the attachment
	Versions *Versions `json:"versions,omitempty"`
}

IncidentAttachmentEntity model

func (*IncidentAttachmentEntity) GetDescription ¶

func (i *IncidentAttachmentEntity) GetDescription() *string

func (*IncidentAttachmentEntity) GetExternalID ¶

func (i *IncidentAttachmentEntity) GetExternalID() *string

func (*IncidentAttachmentEntity) GetFileContentType ¶

func (i *IncidentAttachmentEntity) GetFileContentType() *string

func (*IncidentAttachmentEntity) GetFileName ¶

func (i *IncidentAttachmentEntity) GetFileName() *string

func (*IncidentAttachmentEntity) GetFileSize ¶

func (i *IncidentAttachmentEntity) GetFileSize() *int

func (*IncidentAttachmentEntity) GetMediaType ¶

func (i *IncidentAttachmentEntity) GetMediaType() *string

func (*IncidentAttachmentEntity) GetSignedURL ¶

func (i *IncidentAttachmentEntity) GetSignedURL() *string

func (*IncidentAttachmentEntity) GetStatus ¶

func (*IncidentAttachmentEntity) GetVersions ¶

func (i *IncidentAttachmentEntity) GetVersions() *Versions

type IncidentAttachmentEntityStatus ¶

type IncidentAttachmentEntityStatus string
const (
	IncidentAttachmentEntityStatusPendingUpload IncidentAttachmentEntityStatus = "pending_upload"
	IncidentAttachmentEntityStatusUploaded      IncidentAttachmentEntityStatus = "uploaded"
)

func (IncidentAttachmentEntityStatus) ToPointer ¶

func (*IncidentAttachmentEntityStatus) UnmarshalJSON ¶

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

type IncidentEntity ¶

type IncidentEntity struct {
	// UUID of the Incident
	ID *string `json:"id,omitempty"`
	// Name of the incident
	Name *string `json:"name,omitempty"`
	// The time the incident was opened
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The time the incident started
	StartedAt *time.Time `json:"started_at,omitempty"`
	// The time the incident was archived
	DiscardedAt           *time.Time `json:"discarded_at,omitempty"`
	Summary               *string    `json:"summary,omitempty"`
	CustomerImpactSummary *string    `json:"customer_impact_summary,omitempty"`
	Description           *string    `json:"description,omitempty"`
	// The type/slug of the current milestone. Will be one of the currently configured milestones for the given incident.
	CurrentMilestone *string `json:"current_milestone,omitempty"`
	// Incident number
	Number                  *int                                   `json:"number,omitempty"`
	Priority                *string                                `json:"priority,omitempty"`
	Severity                *string                                `json:"severity,omitempty"`
	SeverityColor           *string                                `json:"severity_color,omitempty"`
	SeverityImpact          *string                                `json:"severity_impact,omitempty"`
	SeverityCondition       *string                                `json:"severity_condition,omitempty"`
	TagList                 []string                               `json:"tag_list,omitempty"`
	IncidentType            *NullableSuccinctEntity                `json:"incident_type,omitempty"`
	SeverityImpactObject    *NullableSeverityMatrixImpactEntity    `json:"severity_impact_object,omitempty"`
	SeverityConditionObject *NullableSeverityMatrixConditionEntity `json:"severity_condition_object,omitempty"`
	PrivateID               *string                                `json:"private_id,omitempty"`
	OrganizationID          *string                                `json:"organization_id,omitempty"`
	// DEPRECATED: Please use lifecycle phases instead
	Milestones            []IncidentsMilestoneEntity            `json:"milestones,omitempty"`
	LifecyclePhases       []IncidentsLifecyclePhaseEntity       `json:"lifecycle_phases,omitempty"`
	LifecycleMeasurements []IncidentsLifecycleMeasurementEntity `json:"lifecycle_measurements,omitempty"`
	Active                *bool                                 `json:"active,omitempty"`
	// A key/value of labels
	Labels               *IncidentEntityLabels           `json:"labels,omitempty"`
	RoleAssignments      []IncidentsRoleAssignmentEntity `json:"role_assignments,omitempty"`
	StatusPages          []IncidentsStatusPageEntity     `json:"status_pages,omitempty"`
	IncidentURL          *string                         `json:"incident_url,omitempty"`
	PrivateStatusPageURL *string                         `json:"private_status_page_url,omitempty"`
	Organization         *NullableOrganizationEntity     `json:"organization,omitempty"`
	CustomersImpacted    *int                            `json:"customers_impacted,omitempty"`
	MonetaryImpact       *int                            `json:"monetary_impact,omitempty"`
	MonetaryImpactCents  *int                            `json:"monetary_impact_cents,omitempty"`
	LastUpdate           *string                         `json:"last_update,omitempty"`
	LastNote             *NullableEventNoteEntity        `json:"last_note,omitempty"`
	ReportID             *string                         `json:"report_id,omitempty"`
	AiIncidentSummary    *string                         `json:"ai_incident_summary,omitempty"`
	Services             []SuccinctEntity                `json:"services,omitempty"`
	Environments         []SuccinctEntity                `json:"environments,omitempty"`
	Functionalities      []SuccinctEntity                `json:"functionalities,omitempty"`
	ChannelName          *string                         `json:"channel_name,omitempty"`
	ChannelReference     *string                         `json:"channel_reference,omitempty"`
	ChannelID            *string                         `json:"channel_id,omitempty"`
	// inoperative: 0, operational: 1, archived: 2
	ChannelStatus     *string                           `json:"channel_status,omitempty"`
	IncidentTickets   []TicketingTicketEntity           `json:"incident_tickets,omitempty"`
	Ticket            *NullableTicketingTicketEntity    `json:"ticket,omitempty"`
	Impacts           []IncidentsImpactEntity           `json:"impacts,omitempty"`
	ConferenceBridges []IncidentsConferenceBridgeEntity `json:"conference_bridges,omitempty"`
	IncidentChannels  []IncidentsChannelEntity          `json:"incident_channels,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	RetroExports      []IncidentEntityRetroExport            `json:"retro_exports,omitempty"`
	CreatedBy         *NullableAuthorEntity                  `json:"created_by,omitempty"`
	ContextObject     *NullableIncidentsContextObjectEntity  `json:"context_object,omitempty"`
	TeamAssignments   []IncidentsTeamAssignmentEntityLite    `json:"team_assignments,omitempty"`
	Conversations     []ConversationsAPIEntitiesReference    `json:"conversations,omitempty"`
	CustomFields      []CustomFieldsFieldValue               `json:"custom_fields,omitempty"`
	FieldRequirements []IncidentEntityFieldRequirementEntity `json:"field_requirements,omitempty"`
}

IncidentEntity model

func (*IncidentEntity) GetActive ¶

func (i *IncidentEntity) GetActive() *bool

func (*IncidentEntity) GetAiIncidentSummary ¶

func (i *IncidentEntity) GetAiIncidentSummary() *string

func (*IncidentEntity) GetChannelID ¶

func (i *IncidentEntity) GetChannelID() *string

func (*IncidentEntity) GetChannelName ¶

func (i *IncidentEntity) GetChannelName() *string

func (*IncidentEntity) GetChannelReference ¶

func (i *IncidentEntity) GetChannelReference() *string

func (*IncidentEntity) GetChannelStatus ¶

func (i *IncidentEntity) GetChannelStatus() *string

func (*IncidentEntity) GetConferenceBridges ¶

func (i *IncidentEntity) GetConferenceBridges() []IncidentsConferenceBridgeEntity

func (*IncidentEntity) GetContextObject ¶

func (*IncidentEntity) GetConversations ¶

func (i *IncidentEntity) GetConversations() []ConversationsAPIEntitiesReference

func (*IncidentEntity) GetCreatedAt ¶

func (i *IncidentEntity) GetCreatedAt() *time.Time

func (*IncidentEntity) GetCreatedBy ¶

func (i *IncidentEntity) GetCreatedBy() *NullableAuthorEntity

func (*IncidentEntity) GetCurrentMilestone ¶

func (i *IncidentEntity) GetCurrentMilestone() *string

func (*IncidentEntity) GetCustomFields ¶

func (i *IncidentEntity) GetCustomFields() []CustomFieldsFieldValue

func (*IncidentEntity) GetCustomerImpactSummary ¶

func (i *IncidentEntity) GetCustomerImpactSummary() *string

func (*IncidentEntity) GetCustomersImpacted ¶

func (i *IncidentEntity) GetCustomersImpacted() *int

func (*IncidentEntity) GetDescription ¶

func (i *IncidentEntity) GetDescription() *string

func (*IncidentEntity) GetDiscardedAt ¶

func (i *IncidentEntity) GetDiscardedAt() *time.Time

func (*IncidentEntity) GetEnvironments ¶

func (i *IncidentEntity) GetEnvironments() []SuccinctEntity

func (*IncidentEntity) GetFieldRequirements ¶

func (i *IncidentEntity) GetFieldRequirements() []IncidentEntityFieldRequirementEntity

func (*IncidentEntity) GetFunctionalities ¶

func (i *IncidentEntity) GetFunctionalities() []SuccinctEntity

func (*IncidentEntity) GetID ¶

func (i *IncidentEntity) GetID() *string

func (*IncidentEntity) GetImpacts ¶

func (i *IncidentEntity) GetImpacts() []IncidentsImpactEntity

func (*IncidentEntity) GetIncidentChannels ¶

func (i *IncidentEntity) GetIncidentChannels() []IncidentsChannelEntity

func (*IncidentEntity) GetIncidentTickets ¶

func (i *IncidentEntity) GetIncidentTickets() []TicketingTicketEntity

func (*IncidentEntity) GetIncidentType ¶

func (i *IncidentEntity) GetIncidentType() *NullableSuccinctEntity

func (*IncidentEntity) GetIncidentURL ¶

func (i *IncidentEntity) GetIncidentURL() *string

func (*IncidentEntity) GetLabels ¶

func (i *IncidentEntity) GetLabels() *IncidentEntityLabels

func (*IncidentEntity) GetLastNote ¶

func (i *IncidentEntity) GetLastNote() *NullableEventNoteEntity

func (*IncidentEntity) GetLastUpdate ¶

func (i *IncidentEntity) GetLastUpdate() *string

func (*IncidentEntity) GetLifecycleMeasurements ¶

func (i *IncidentEntity) GetLifecycleMeasurements() []IncidentsLifecycleMeasurementEntity

func (*IncidentEntity) GetLifecyclePhases ¶

func (i *IncidentEntity) GetLifecyclePhases() []IncidentsLifecyclePhaseEntity

func (*IncidentEntity) GetMilestones ¶

func (i *IncidentEntity) GetMilestones() []IncidentsMilestoneEntity

func (*IncidentEntity) GetMonetaryImpact ¶

func (i *IncidentEntity) GetMonetaryImpact() *int

func (*IncidentEntity) GetMonetaryImpactCents ¶

func (i *IncidentEntity) GetMonetaryImpactCents() *int

func (*IncidentEntity) GetName ¶

func (i *IncidentEntity) GetName() *string

func (*IncidentEntity) GetNumber ¶

func (i *IncidentEntity) GetNumber() *int

func (*IncidentEntity) GetOrganization ¶

func (i *IncidentEntity) GetOrganization() *NullableOrganizationEntity

func (*IncidentEntity) GetOrganizationID ¶

func (i *IncidentEntity) GetOrganizationID() *string

func (*IncidentEntity) GetPriority ¶

func (i *IncidentEntity) GetPriority() *string

func (*IncidentEntity) GetPrivateID ¶

func (i *IncidentEntity) GetPrivateID() *string

func (*IncidentEntity) GetPrivateStatusPageURL ¶

func (i *IncidentEntity) GetPrivateStatusPageURL() *string

func (*IncidentEntity) GetReportID ¶

func (i *IncidentEntity) GetReportID() *string

func (*IncidentEntity) GetRetroExports ¶

func (i *IncidentEntity) GetRetroExports() []IncidentEntityRetroExport

func (*IncidentEntity) GetRoleAssignments ¶

func (i *IncidentEntity) GetRoleAssignments() []IncidentsRoleAssignmentEntity

func (*IncidentEntity) GetServices ¶

func (i *IncidentEntity) GetServices() []SuccinctEntity

func (*IncidentEntity) GetSeverity ¶

func (i *IncidentEntity) GetSeverity() *string

func (*IncidentEntity) GetSeverityColor ¶

func (i *IncidentEntity) GetSeverityColor() *string

func (*IncidentEntity) GetSeverityCondition ¶

func (i *IncidentEntity) GetSeverityCondition() *string

func (*IncidentEntity) GetSeverityConditionObject ¶

func (i *IncidentEntity) GetSeverityConditionObject() *NullableSeverityMatrixConditionEntity

func (*IncidentEntity) GetSeverityImpact ¶

func (i *IncidentEntity) GetSeverityImpact() *string

func (*IncidentEntity) GetSeverityImpactObject ¶

func (i *IncidentEntity) GetSeverityImpactObject() *NullableSeverityMatrixImpactEntity

func (*IncidentEntity) GetStartedAt ¶

func (i *IncidentEntity) GetStartedAt() *time.Time

func (*IncidentEntity) GetStatusPages ¶

func (i *IncidentEntity) GetStatusPages() []IncidentsStatusPageEntity

func (*IncidentEntity) GetSummary ¶

func (i *IncidentEntity) GetSummary() *string

func (*IncidentEntity) GetTagList ¶

func (i *IncidentEntity) GetTagList() []string

func (*IncidentEntity) GetTeamAssignments ¶

func (i *IncidentEntity) GetTeamAssignments() []IncidentsTeamAssignmentEntityLite

func (*IncidentEntity) GetTicket ¶

func (IncidentEntity) MarshalJSON ¶

func (i IncidentEntity) MarshalJSON() ([]byte, error)

func (*IncidentEntity) UnmarshalJSON ¶

func (i *IncidentEntity) UnmarshalJSON(data []byte) error

type IncidentEntityFieldRequirementEntity ¶

type IncidentEntityFieldRequirementEntity struct {
	// A unique identifier for the field.
	FieldID *string `json:"field_id,omitempty"`
	// The milestone at which this field is required. If null, this field is always required.
	RequiredAtMilestoneID *string `json:"required_at_milestone_id,omitempty"`
}

func (*IncidentEntityFieldRequirementEntity) GetFieldID ¶

func (*IncidentEntityFieldRequirementEntity) GetRequiredAtMilestoneID ¶

func (i *IncidentEntityFieldRequirementEntity) GetRequiredAtMilestoneID() *string

type IncidentEntityLabels ¶

type IncidentEntityLabels struct {
}

IncidentEntityLabels - A key/value of labels

type IncidentEntityPaginated ¶

type IncidentEntityPaginated struct {
	Data       []IncidentEntity          `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

IncidentEntityPaginated model

func (*IncidentEntityPaginated) GetData ¶

func (i *IncidentEntityPaginated) GetData() []IncidentEntity

func (*IncidentEntityPaginated) GetPagination ¶

type IncidentEntityRetroExport ¶

type IncidentEntityRetroExport struct {
}

type IncidentEventEntity ¶

type IncidentEventEntity struct {
	ID         *string `json:"id,omitempty"`
	IncidentID *string `json:"incident_id,omitempty"`
	Type       *string `json:"type,omitempty"`
	Context    *string `json:"context,omitempty"`
	// Can be one of: NoteEntity, TourStepEntity, RootCauseEntity, ChangeTypeEntity, RoleUpdateEntity, TaskUpdateEntity, AlertLinkedEntity, ChatMessageEntity, AddTaskListEntity, ImpactUpdateEntity, TicketUpdateEntity, GeneralUpdateEntity, ChangelogEntryEntity, IncidentStatusEntity, TeamAssignmentEntity, BulkUpdateEntity
	Data          *IncidentEventEntityData            `json:"data,omitempty"`
	OccurredAt    *time.Time                          `json:"occurred_at,omitempty"`
	Visibility    *IncidentEventEntityVisibility      `json:"visibility,omitempty"`
	Author        *NullableAuthorEntity               `json:"author,omitempty"`
	Votes         *NullableVotesEntity                `json:"votes,omitempty"`
	Conversations []ConversationsAPIEntitiesReference `json:"conversations,omitempty"`
}

IncidentEventEntity model

func (*IncidentEventEntity) GetAuthor ¶

func (i *IncidentEventEntity) GetAuthor() *NullableAuthorEntity

func (*IncidentEventEntity) GetContext ¶

func (i *IncidentEventEntity) GetContext() *string

func (*IncidentEventEntity) GetConversations ¶

func (*IncidentEventEntity) GetData ¶

func (*IncidentEventEntity) GetID ¶

func (i *IncidentEventEntity) GetID() *string

func (*IncidentEventEntity) GetIncidentID ¶

func (i *IncidentEventEntity) GetIncidentID() *string

func (*IncidentEventEntity) GetOccurredAt ¶

func (i *IncidentEventEntity) GetOccurredAt() *time.Time

func (*IncidentEventEntity) GetType ¶

func (i *IncidentEventEntity) GetType() *string

func (*IncidentEventEntity) GetVisibility ¶

func (*IncidentEventEntity) GetVotes ¶

func (IncidentEventEntity) MarshalJSON ¶

func (i IncidentEventEntity) MarshalJSON() ([]byte, error)

func (*IncidentEventEntity) UnmarshalJSON ¶

func (i *IncidentEventEntity) UnmarshalJSON(data []byte) error

type IncidentEventEntityData ¶

type IncidentEventEntityData struct {
}

IncidentEventEntityData - Can be one of: NoteEntity, TourStepEntity, RootCauseEntity, ChangeTypeEntity, RoleUpdateEntity, TaskUpdateEntity, AlertLinkedEntity, ChatMessageEntity, AddTaskListEntity, ImpactUpdateEntity, TicketUpdateEntity, GeneralUpdateEntity, ChangelogEntryEntity, IncidentStatusEntity, TeamAssignmentEntity, BulkUpdateEntity

type IncidentEventEntityPaginated ¶

type IncidentEventEntityPaginated struct {
	Data       []IncidentEventEntity     `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

IncidentEventEntityPaginated model

func (*IncidentEventEntityPaginated) GetData ¶

func (*IncidentEventEntityPaginated) GetPagination ¶

type IncidentEventEntityVisibility ¶

type IncidentEventEntityVisibility string
const (
	IncidentEventEntityVisibilityPrivateToOrg       IncidentEventEntityVisibility = "private_to_org"
	IncidentEventEntityVisibilityOpenToPublic       IncidentEventEntityVisibility = "open_to_public"
	IncidentEventEntityVisibilityInternalStatusPage IncidentEventEntityVisibility = "internal_status_page"
)

func (IncidentEventEntityVisibility) ToPointer ¶

func (*IncidentEventEntityVisibility) UnmarshalJSON ¶

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

type IncidentImpactEntity ¶

type IncidentImpactEntity struct {
	ID             *string                 `json:"id,omitempty"`
	Type           *string                 `json:"type,omitempty"`
	Infrastructure *NullableSuccinctEntity `json:"infrastructure,omitempty"`
}

IncidentImpactEntity model

func (*IncidentImpactEntity) GetID ¶

func (i *IncidentImpactEntity) GetID() *string

func (*IncidentImpactEntity) GetInfrastructure ¶

func (i *IncidentImpactEntity) GetInfrastructure() *NullableSuccinctEntity

func (*IncidentImpactEntity) GetType ¶

func (i *IncidentImpactEntity) GetType() *string

type IncidentImpactEntityPaginated ¶

type IncidentImpactEntityPaginated struct {
	Data       []IncidentImpactEntity    `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

IncidentImpactEntityPaginated model

func (*IncidentImpactEntityPaginated) GetData ¶

func (*IncidentImpactEntityPaginated) GetPagination ¶

type IncidentRoleEntity ¶

type IncidentRoleEntity struct {
	ID          *string    `json:"id,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Summary     *string    `json:"summary,omitempty"`
	Description *string    `json:"description,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	DiscardedAt *time.Time `json:"discarded_at,omitempty"`
}

IncidentRoleEntity model

func (*IncidentRoleEntity) GetCreatedAt ¶

func (i *IncidentRoleEntity) GetCreatedAt() *time.Time

func (*IncidentRoleEntity) GetDescription ¶

func (i *IncidentRoleEntity) GetDescription() *string

func (*IncidentRoleEntity) GetDiscardedAt ¶

func (i *IncidentRoleEntity) GetDiscardedAt() *time.Time

func (*IncidentRoleEntity) GetID ¶

func (i *IncidentRoleEntity) GetID() *string

func (*IncidentRoleEntity) GetName ¶

func (i *IncidentRoleEntity) GetName() *string

func (*IncidentRoleEntity) GetSummary ¶

func (i *IncidentRoleEntity) GetSummary() *string

func (*IncidentRoleEntity) GetUpdatedAt ¶

func (i *IncidentRoleEntity) GetUpdatedAt() *time.Time

func (IncidentRoleEntity) MarshalJSON ¶

func (i IncidentRoleEntity) MarshalJSON() ([]byte, error)

func (*IncidentRoleEntity) UnmarshalJSON ¶

func (i *IncidentRoleEntity) UnmarshalJSON(data []byte) error

type IncidentRoleEntityPaginated ¶

type IncidentRoleEntityPaginated struct {
	Data       []IncidentRoleEntity      `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

IncidentRoleEntityPaginated model

func (*IncidentRoleEntityPaginated) GetData ¶

func (*IncidentRoleEntityPaginated) GetPagination ¶

type IncidentTypeEntity ¶

type IncidentTypeEntity struct {
	ID             *string                                         `json:"id,omitempty"`
	Name           *string                                         `json:"name,omitempty"`
	Description    *string                                         `json:"description,omitempty"`
	Template       *NullableIncidentTypeEntityTemplateEntity       `json:"template,omitempty"`
	TemplateValues *NullableIncidentTypeEntityTemplateValuesEntity `json:"template_values,omitempty"`
	// A list of fields that are required on incidents of this type.
	RequiredFields []IncidentsRequiredFieldEntity `json:"required_fields,omitempty"`
	CreatedAt      *time.Time                     `json:"created_at,omitempty"`
	UpdatedAt      *time.Time                     `json:"updated_at,omitempty"`
}

IncidentTypeEntity model

func (*IncidentTypeEntity) GetCreatedAt ¶

func (i *IncidentTypeEntity) GetCreatedAt() *time.Time

func (*IncidentTypeEntity) GetDescription ¶

func (i *IncidentTypeEntity) GetDescription() *string

func (*IncidentTypeEntity) GetID ¶

func (i *IncidentTypeEntity) GetID() *string

func (*IncidentTypeEntity) GetName ¶

func (i *IncidentTypeEntity) GetName() *string

func (*IncidentTypeEntity) GetRequiredFields ¶

func (i *IncidentTypeEntity) GetRequiredFields() []IncidentsRequiredFieldEntity

func (*IncidentTypeEntity) GetTemplate ¶

func (*IncidentTypeEntity) GetTemplateValues ¶

func (*IncidentTypeEntity) GetUpdatedAt ¶

func (i *IncidentTypeEntity) GetUpdatedAt() *time.Time

func (IncidentTypeEntity) MarshalJSON ¶

func (i IncidentTypeEntity) MarshalJSON() ([]byte, error)

func (*IncidentTypeEntity) UnmarshalJSON ¶

func (i *IncidentTypeEntity) UnmarshalJSON(data []byte) error

type IncidentTypeEntityPaginated ¶

type IncidentTypeEntityPaginated struct {
	Data       []IncidentTypeEntity      `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

IncidentTypeEntityPaginated model

func (*IncidentTypeEntityPaginated) GetData ¶

func (*IncidentTypeEntityPaginated) GetPagination ¶

type IncidentTypeEntityTemplateImpactEntity ¶

type IncidentTypeEntityTemplateImpactEntity struct {
	ID            *string                                     `json:"id,omitempty"`
	Name          *string                                     `json:"name,omitempty"`
	ConditionID   *string                                     `json:"condition_id,omitempty"`
	ConditionName *string                                     `json:"condition_name,omitempty"`
	Type          *IncidentTypeEntityTemplateImpactEntityType `json:"type,omitempty"`
}

func (*IncidentTypeEntityTemplateImpactEntity) GetConditionID ¶

func (i *IncidentTypeEntityTemplateImpactEntity) GetConditionID() *string

func (*IncidentTypeEntityTemplateImpactEntity) GetConditionName ¶

func (i *IncidentTypeEntityTemplateImpactEntity) GetConditionName() *string

func (*IncidentTypeEntityTemplateImpactEntity) GetID ¶

func (*IncidentTypeEntityTemplateImpactEntity) GetName ¶

func (*IncidentTypeEntityTemplateImpactEntity) GetType ¶

type IncidentTypeEntityTemplateImpactEntityType ¶

type IncidentTypeEntityTemplateImpactEntityType string
const (
	IncidentTypeEntityTemplateImpactEntityTypeCustomer      IncidentTypeEntityTemplateImpactEntityType = "customer"
	IncidentTypeEntityTemplateImpactEntityTypeEnvironment   IncidentTypeEntityTemplateImpactEntityType = "environment"
	IncidentTypeEntityTemplateImpactEntityTypeFunctionality IncidentTypeEntityTemplateImpactEntityType = "functionality"
	IncidentTypeEntityTemplateImpactEntityTypeService       IncidentTypeEntityTemplateImpactEntityType = "service"
)

func (IncidentTypeEntityTemplateImpactEntityType) ToPointer ¶

func (*IncidentTypeEntityTemplateImpactEntityType) UnmarshalJSON ¶

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

type IncidentsAlertEntity ¶

type IncidentsAlertEntity struct {
	ID    *string                    `json:"id,omitempty"`
	Alert *NullableAlertsAlertEntity `json:"alert,omitempty"`
	// whether or not this is the primary alert for this incident
	Primary *bool `json:"primary,omitempty"`
}

IncidentsAlertEntity - Incidents_AlertEntity model

func (*IncidentsAlertEntity) GetAlert ¶

func (*IncidentsAlertEntity) GetID ¶

func (i *IncidentsAlertEntity) GetID() *string

func (*IncidentsAlertEntity) GetPrimary ¶

func (i *IncidentsAlertEntity) GetPrimary() *bool

type IncidentsAlertEntityPaginated ¶

type IncidentsAlertEntityPaginated struct {
	Data       []IncidentsAlertEntity    `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

IncidentsAlertEntityPaginated - Incidents_AlertEntityPaginated model

func (*IncidentsAlertEntityPaginated) GetData ¶

func (*IncidentsAlertEntityPaginated) GetPagination ¶

type IncidentsChannelEntity ¶

type IncidentsChannelEntity struct {
	ID         *string `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	Source     *string `json:"source,omitempty"`
	SourceName *string `json:"source_name,omitempty"`
	SourceID   *string `json:"source_id,omitempty"`
	URL        *string `json:"url,omitempty"`
	IconURL    *string `json:"icon_url,omitempty"`
	Status     *string `json:"status,omitempty"`
}

IncidentsChannelEntity - Incidents_ChannelEntity model

func (*IncidentsChannelEntity) GetID ¶

func (i *IncidentsChannelEntity) GetID() *string

func (*IncidentsChannelEntity) GetIconURL ¶

func (i *IncidentsChannelEntity) GetIconURL() *string

func (*IncidentsChannelEntity) GetName ¶

func (i *IncidentsChannelEntity) GetName() *string

func (*IncidentsChannelEntity) GetSource ¶

func (i *IncidentsChannelEntity) GetSource() *string

func (*IncidentsChannelEntity) GetSourceID ¶

func (i *IncidentsChannelEntity) GetSourceID() *string

func (*IncidentsChannelEntity) GetSourceName ¶

func (i *IncidentsChannelEntity) GetSourceName() *string

func (*IncidentsChannelEntity) GetStatus ¶

func (i *IncidentsChannelEntity) GetStatus() *string

func (*IncidentsChannelEntity) GetURL ¶

func (i *IncidentsChannelEntity) GetURL() *string

type IncidentsConferenceBridgeEntity ¶

type IncidentsConferenceBridgeEntity struct {
	ID *string `json:"id,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	Attachments              []IncidentsConferenceBridgeEntityAttachment `json:"attachments,omitempty"`
	HasTranslatedTranscripts *bool                                       `json:"has_translated_transcripts,omitempty"`
	// A list of language codes that have translated transcripts for this conference bridge
	LanguageCodes          []string `json:"language_codes,omitempty"`
	TranscriptionStatus    *string  `json:"transcription_status,omitempty"`
	TranscriptionSubCode   *string  `json:"transcription_sub_code,omitempty"`
	PreviousHostAssignment *string  `json:"previous_host_assignment,omitempty"`
}

IncidentsConferenceBridgeEntity - Incidents_ConferenceBridgeEntity model

func (*IncidentsConferenceBridgeEntity) GetAttachments ¶

func (*IncidentsConferenceBridgeEntity) GetHasTranslatedTranscripts ¶

func (i *IncidentsConferenceBridgeEntity) GetHasTranslatedTranscripts() *bool

func (*IncidentsConferenceBridgeEntity) GetID ¶

func (*IncidentsConferenceBridgeEntity) GetLanguageCodes ¶

func (i *IncidentsConferenceBridgeEntity) GetLanguageCodes() []string

func (*IncidentsConferenceBridgeEntity) GetPreviousHostAssignment ¶

func (i *IncidentsConferenceBridgeEntity) GetPreviousHostAssignment() *string

func (*IncidentsConferenceBridgeEntity) GetTranscriptionStatus ¶

func (i *IncidentsConferenceBridgeEntity) GetTranscriptionStatus() *string

func (*IncidentsConferenceBridgeEntity) GetTranscriptionSubCode ¶

func (i *IncidentsConferenceBridgeEntity) GetTranscriptionSubCode() *string

type IncidentsConferenceBridgeEntityAttachment ¶

type IncidentsConferenceBridgeEntityAttachment struct {
}

type IncidentsExportRetrospectivesResultEntity ¶

type IncidentsExportRetrospectivesResultEntity struct {
	ExternalResource *NullableExternalResourceEntity `json:"external_resource,omitempty"`
}

IncidentsExportRetrospectivesResultEntity - Incidents_ExportRetrospectivesResultEntity model

func (*IncidentsExportRetrospectivesResultEntity) GetExternalResource ¶

type IncidentsImpactEntity ¶

type IncidentsImpactEntity struct {
	ID            *string                                `json:"id,omitempty"`
	Type          *IncidentsImpactEntityType             `json:"type,omitempty"`
	Impact        *NullableSuccinctEntity                `json:"impact,omitempty"`
	Condition     *NullableSeverityMatrixConditionEntity `json:"condition,omitempty"`
	Conversations []ConversationsAPIEntitiesReference    `json:"conversations,omitempty"`
}

func (*IncidentsImpactEntity) GetCondition ¶

func (*IncidentsImpactEntity) GetConversations ¶

func (*IncidentsImpactEntity) GetID ¶

func (i *IncidentsImpactEntity) GetID() *string

func (*IncidentsImpactEntity) GetImpact ¶

func (*IncidentsImpactEntity) GetType ¶

type IncidentsImpactEntityType ¶

type IncidentsImpactEntityType string
const (
	IncidentsImpactEntityTypeCustomer      IncidentsImpactEntityType = "customer"
	IncidentsImpactEntityTypeEnvironment   IncidentsImpactEntityType = "environment"
	IncidentsImpactEntityTypeFunctionality IncidentsImpactEntityType = "functionality"
	IncidentsImpactEntityTypeService       IncidentsImpactEntityType = "service"
)

func (IncidentsImpactEntityType) ToPointer ¶

func (*IncidentsImpactEntityType) UnmarshalJSON ¶

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

type IncidentsLifecycleMeasurementEntity ¶

type IncidentsLifecycleMeasurementEntity struct {
	ID                *string    `json:"id,omitempty"`
	Name              *string    `json:"name,omitempty"`
	Description       *string    `json:"description,omitempty"`
	Slug              *string    `json:"slug,omitempty"`
	StartsAtMilestone *string    `json:"starts_at_milestone,omitempty"`
	EndsAtMilestone   *string    `json:"ends_at_milestone,omitempty"`
	Value             *string    `json:"value,omitempty"`
	CalculatedAt      *time.Time `json:"calculated_at,omitempty"`
}

func (*IncidentsLifecycleMeasurementEntity) GetCalculatedAt ¶

func (i *IncidentsLifecycleMeasurementEntity) GetCalculatedAt() *time.Time

func (*IncidentsLifecycleMeasurementEntity) GetDescription ¶

func (i *IncidentsLifecycleMeasurementEntity) GetDescription() *string

func (*IncidentsLifecycleMeasurementEntity) GetEndsAtMilestone ¶

func (i *IncidentsLifecycleMeasurementEntity) GetEndsAtMilestone() *string

func (*IncidentsLifecycleMeasurementEntity) GetID ¶

func (*IncidentsLifecycleMeasurementEntity) GetName ¶

func (*IncidentsLifecycleMeasurementEntity) GetSlug ¶

func (*IncidentsLifecycleMeasurementEntity) GetStartsAtMilestone ¶

func (i *IncidentsLifecycleMeasurementEntity) GetStartsAtMilestone() *string

func (*IncidentsLifecycleMeasurementEntity) GetValue ¶

func (IncidentsLifecycleMeasurementEntity) MarshalJSON ¶

func (i IncidentsLifecycleMeasurementEntity) MarshalJSON() ([]byte, error)

func (*IncidentsLifecycleMeasurementEntity) UnmarshalJSON ¶

func (i *IncidentsLifecycleMeasurementEntity) UnmarshalJSON(data []byte) error

type IncidentsLifecycleMilestoneEntity ¶

type IncidentsLifecycleMilestoneEntity struct {
	ID          *string               `json:"id,omitempty"`
	Name        *string               `json:"name,omitempty"`
	Description *string               `json:"description,omitempty"`
	Slug        *string               `json:"slug,omitempty"`
	Position    *int                  `json:"position,omitempty"`
	OccurredAt  *time.Time            `json:"occurred_at,omitempty"`
	Duration    *string               `json:"duration,omitempty"`
	UpdatedBy   *NullableAuthorEntity `json:"updated_by,omitempty"`
	UpdatedAt   *time.Time            `json:"updated_at,omitempty"`
}

func (*IncidentsLifecycleMilestoneEntity) GetDescription ¶

func (i *IncidentsLifecycleMilestoneEntity) GetDescription() *string

func (*IncidentsLifecycleMilestoneEntity) GetDuration ¶

func (i *IncidentsLifecycleMilestoneEntity) GetDuration() *string

func (*IncidentsLifecycleMilestoneEntity) GetID ¶

func (*IncidentsLifecycleMilestoneEntity) GetName ¶

func (*IncidentsLifecycleMilestoneEntity) GetOccurredAt ¶

func (i *IncidentsLifecycleMilestoneEntity) GetOccurredAt() *time.Time

func (*IncidentsLifecycleMilestoneEntity) GetPosition ¶

func (i *IncidentsLifecycleMilestoneEntity) GetPosition() *int

func (*IncidentsLifecycleMilestoneEntity) GetSlug ¶

func (*IncidentsLifecycleMilestoneEntity) GetUpdatedAt ¶

func (i *IncidentsLifecycleMilestoneEntity) GetUpdatedAt() *time.Time

func (*IncidentsLifecycleMilestoneEntity) GetUpdatedBy ¶

func (IncidentsLifecycleMilestoneEntity) MarshalJSON ¶

func (i IncidentsLifecycleMilestoneEntity) MarshalJSON() ([]byte, error)

func (*IncidentsLifecycleMilestoneEntity) UnmarshalJSON ¶

func (i *IncidentsLifecycleMilestoneEntity) UnmarshalJSON(data []byte) error

type IncidentsLifecyclePhaseEntity ¶

type IncidentsLifecyclePhaseEntity struct {
	ID          *string                             `json:"id,omitempty"`
	Name        *string                             `json:"name,omitempty"`
	Description *string                             `json:"description,omitempty"`
	Type        *string                             `json:"type,omitempty"`
	Position    *int                                `json:"position,omitempty"`
	Milestones  []IncidentsLifecycleMilestoneEntity `json:"milestones,omitempty"`
}

func (*IncidentsLifecyclePhaseEntity) GetDescription ¶

func (i *IncidentsLifecyclePhaseEntity) GetDescription() *string

func (*IncidentsLifecyclePhaseEntity) GetID ¶

func (*IncidentsLifecyclePhaseEntity) GetMilestones ¶

func (*IncidentsLifecyclePhaseEntity) GetName ¶

func (i *IncidentsLifecyclePhaseEntity) GetName() *string

func (*IncidentsLifecyclePhaseEntity) GetPosition ¶

func (i *IncidentsLifecyclePhaseEntity) GetPosition() *int

func (*IncidentsLifecyclePhaseEntity) GetType ¶

func (i *IncidentsLifecyclePhaseEntity) GetType() *string

type IncidentsMilestoneEntity ¶

type IncidentsMilestoneEntity struct {
	ID *string `json:"id,omitempty"`
	// The milestone's type. This will be one of the currently configured milestones for the given incident.
	Type *string `json:"type,omitempty"`
	// How long the incident spent in this milestones, in ISO 8601 Duration Format. This will be null if the milestone is the incident's current milestone.
	Duration   *string    `json:"duration,omitempty"`
	OccurredAt *time.Time `json:"occurred_at,omitempty"`
	CreatedAt  *time.Time `json:"created_at,omitempty"`
	UpdatedAt  *time.Time `json:"updated_at,omitempty"`
}

func (*IncidentsMilestoneEntity) GetCreatedAt ¶

func (i *IncidentsMilestoneEntity) GetCreatedAt() *time.Time

func (*IncidentsMilestoneEntity) GetDuration ¶

func (i *IncidentsMilestoneEntity) GetDuration() *string

func (*IncidentsMilestoneEntity) GetID ¶

func (i *IncidentsMilestoneEntity) GetID() *string

func (*IncidentsMilestoneEntity) GetOccurredAt ¶

func (i *IncidentsMilestoneEntity) GetOccurredAt() *time.Time

func (*IncidentsMilestoneEntity) GetType ¶

func (i *IncidentsMilestoneEntity) GetType() *string

func (*IncidentsMilestoneEntity) GetUpdatedAt ¶

func (i *IncidentsMilestoneEntity) GetUpdatedAt() *time.Time

func (IncidentsMilestoneEntity) MarshalJSON ¶

func (i IncidentsMilestoneEntity) MarshalJSON() ([]byte, error)

func (*IncidentsMilestoneEntity) UnmarshalJSON ¶

func (i *IncidentsMilestoneEntity) UnmarshalJSON(data []byte) error

type IncidentsMilestoneEntityPaginated ¶

type IncidentsMilestoneEntityPaginated struct {
	Data       []IncidentsMilestoneEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity  `json:"pagination,omitempty"`
}

IncidentsMilestoneEntityPaginated - Incidents_MilestoneEntityPaginated model

func (*IncidentsMilestoneEntityPaginated) GetData ¶

func (*IncidentsMilestoneEntityPaginated) GetPagination ¶

type IncidentsRelatedChangeEventEntity ¶

type IncidentsRelatedChangeEventEntity struct {
	ID        *string    `json:"id,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The reason why this change event is related to this incident
	Why         *string                                `json:"why,omitempty"`
	Type        *IncidentsRelatedChangeEventEntityType `json:"type,omitempty"`
	ChangeEvent *NullableChangeEventEntity             `json:"change_event,omitempty"`
	IncidentID  *string                                `json:"incident_id,omitempty"`
	CreatedBy   *NullableAuthorEntity                  `json:"created_by,omitempty"`
}

IncidentsRelatedChangeEventEntity - Incidents_RelatedChangeEventEntity model

func (*IncidentsRelatedChangeEventEntity) GetChangeEvent ¶

func (*IncidentsRelatedChangeEventEntity) GetCreatedAt ¶

func (i *IncidentsRelatedChangeEventEntity) GetCreatedAt() *time.Time

func (*IncidentsRelatedChangeEventEntity) GetCreatedBy ¶

func (*IncidentsRelatedChangeEventEntity) GetID ¶

func (*IncidentsRelatedChangeEventEntity) GetIncidentID ¶

func (i *IncidentsRelatedChangeEventEntity) GetIncidentID() *string

func (*IncidentsRelatedChangeEventEntity) GetType ¶

func (*IncidentsRelatedChangeEventEntity) GetUpdatedAt ¶

func (i *IncidentsRelatedChangeEventEntity) GetUpdatedAt() *time.Time

func (*IncidentsRelatedChangeEventEntity) GetWhy ¶

func (IncidentsRelatedChangeEventEntity) MarshalJSON ¶

func (i IncidentsRelatedChangeEventEntity) MarshalJSON() ([]byte, error)

func (*IncidentsRelatedChangeEventEntity) UnmarshalJSON ¶

func (i *IncidentsRelatedChangeEventEntity) UnmarshalJSON(data []byte) error

type IncidentsRelatedChangeEventEntityPaginated ¶

type IncidentsRelatedChangeEventEntityPaginated struct {
	Data       []IncidentsRelatedChangeEventEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity           `json:"pagination,omitempty"`
}

IncidentsRelatedChangeEventEntityPaginated - Incidents_RelatedChangeEventEntityPaginated model

func (*IncidentsRelatedChangeEventEntityPaginated) GetData ¶

func (*IncidentsRelatedChangeEventEntityPaginated) GetPagination ¶

type IncidentsRelatedChangeEventEntityType ¶

type IncidentsRelatedChangeEventEntityType string
const (
	IncidentsRelatedChangeEventEntityTypeCaused    IncidentsRelatedChangeEventEntityType = "caused"
	IncidentsRelatedChangeEventEntityTypeFixed     IncidentsRelatedChangeEventEntityType = "fixed"
	IncidentsRelatedChangeEventEntityTypeSuspect   IncidentsRelatedChangeEventEntityType = "suspect"
	IncidentsRelatedChangeEventEntityTypeDismissed IncidentsRelatedChangeEventEntityType = "dismissed"
)

func (IncidentsRelatedChangeEventEntityType) ToPointer ¶

func (*IncidentsRelatedChangeEventEntityType) UnmarshalJSON ¶

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

type IncidentsRelationshipsEntity ¶

type IncidentsRelationshipsEntity struct {
	Parent *NullablePublicAPIV1IncidentsSuccinctEntity `json:"parent,omitempty"`
	// The root incident's child incidents.
	Children []PublicAPIV1IncidentsSuccinctEntity `json:"children,omitempty"`
	// A list of incidents that share the root incident's parent.
	Siblings []PublicAPIV1IncidentsSuccinctEntity `json:"siblings,omitempty"`
}

IncidentsRelationshipsEntity - Incidents_RelationshipsEntity model

func (*IncidentsRelationshipsEntity) GetChildren ¶

func (*IncidentsRelationshipsEntity) GetParent ¶

func (*IncidentsRelationshipsEntity) GetSiblings ¶

type IncidentsRequiredFieldEntity ¶

type IncidentsRequiredFieldEntity struct {
	// A unique identifier for the field. For built-in fields, this will be human-readable. For custom fields or milestone timestamps, it will be a prefixed version of the field or milestone's UUID.
	ID *string `json:"id,omitempty"`
	// The milestone at which this field is required. If null, this field is always required.
	RequiredAtMilestoneID *string `json:"required_at_milestone_id,omitempty"`
}

func (*IncidentsRequiredFieldEntity) GetID ¶

func (*IncidentsRequiredFieldEntity) GetRequiredAtMilestoneID ¶

func (i *IncidentsRequiredFieldEntity) GetRequiredAtMilestoneID() *string

type IncidentsRetrospectiveEntity ¶

type IncidentsRetrospectiveEntity struct {
	ID          *string                                     `json:"id,omitempty"`
	Name        *string                                     `json:"name,omitempty"`
	Description *string                                     `json:"description,omitempty"`
	Sections    []IncidentsRetrospectiveEntitySectionEntity `json:"sections,omitempty"`
	IsHidden    *bool                                       `json:"is_hidden,omitempty"`
	Fields      []IncidentsRetrospectiveFieldEntity         `json:"fields,omitempty"`
	Exports     []string                                    `json:"exports,omitempty"`
}

IncidentsRetrospectiveEntity - Incidents_RetrospectiveEntity model

func (*IncidentsRetrospectiveEntity) GetDescription ¶

func (i *IncidentsRetrospectiveEntity) GetDescription() *string

func (*IncidentsRetrospectiveEntity) GetExports ¶

func (i *IncidentsRetrospectiveEntity) GetExports() []string

func (*IncidentsRetrospectiveEntity) GetFields ¶

func (*IncidentsRetrospectiveEntity) GetID ¶

func (*IncidentsRetrospectiveEntity) GetIsHidden ¶

func (i *IncidentsRetrospectiveEntity) GetIsHidden() *bool

func (*IncidentsRetrospectiveEntity) GetName ¶

func (i *IncidentsRetrospectiveEntity) GetName() *string

func (*IncidentsRetrospectiveEntity) GetSections ¶

type IncidentsRetrospectiveEntityPaginated ¶

type IncidentsRetrospectiveEntityPaginated struct {
	Data       []IncidentsRetrospectiveEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity      `json:"pagination,omitempty"`
}

IncidentsRetrospectiveEntityPaginated - Incidents_RetrospectiveEntityPaginated model

func (*IncidentsRetrospectiveEntityPaginated) GetData ¶

func (*IncidentsRetrospectiveEntityPaginated) GetPagination ¶

type IncidentsRetrospectiveEntitySectionEntity ¶

type IncidentsRetrospectiveEntitySectionEntity struct {
	Slug     *string  `json:"slug,omitempty"`
	Elements []string `json:"elements,omitempty"`
}

func (*IncidentsRetrospectiveEntitySectionEntity) GetElements ¶

func (*IncidentsRetrospectiveEntitySectionEntity) GetSlug ¶

type IncidentsRetrospectiveFieldEntity ¶

type IncidentsRetrospectiveFieldEntity struct {
	ID                    *string                                `json:"id,omitempty"`
	Label                 *string                                `json:"label,omitempty"`
	Type                  *IncidentsRetrospectiveFieldEntityType `json:"type,omitempty"`
	HelpText              *string                                `json:"help_text,omitempty"`
	PermissibleValues     []string                               `json:"permissible_values,omitempty"`
	IsRequired            *bool                                  `json:"is_required,omitempty"`
	Value                 *string                                `json:"value,omitempty"`
	Schema                []Schema                               `json:"schema,omitempty"`
	RequiredAtMilestoneID *string                                `json:"required_at_milestone_id,omitempty"`
}

IncidentsRetrospectiveFieldEntity - Incidents_RetrospectiveFieldEntity model

func (*IncidentsRetrospectiveFieldEntity) GetHelpText ¶

func (i *IncidentsRetrospectiveFieldEntity) GetHelpText() *string

func (*IncidentsRetrospectiveFieldEntity) GetID ¶

func (*IncidentsRetrospectiveFieldEntity) GetIsRequired ¶

func (i *IncidentsRetrospectiveFieldEntity) GetIsRequired() *bool

func (*IncidentsRetrospectiveFieldEntity) GetLabel ¶

func (*IncidentsRetrospectiveFieldEntity) GetPermissibleValues ¶

func (i *IncidentsRetrospectiveFieldEntity) GetPermissibleValues() []string

func (*IncidentsRetrospectiveFieldEntity) GetRequiredAtMilestoneID ¶

func (i *IncidentsRetrospectiveFieldEntity) GetRequiredAtMilestoneID() *string

func (*IncidentsRetrospectiveFieldEntity) GetSchema ¶

func (i *IncidentsRetrospectiveFieldEntity) GetSchema() []Schema

func (*IncidentsRetrospectiveFieldEntity) GetType ¶

func (*IncidentsRetrospectiveFieldEntity) GetValue ¶

type IncidentsRetrospectiveFieldEntityType ¶

type IncidentsRetrospectiveFieldEntityType string
const (
	IncidentsRetrospectiveFieldEntityTypeText              IncidentsRetrospectiveFieldEntityType = "text"
	IncidentsRetrospectiveFieldEntityTypeSingleSelect      IncidentsRetrospectiveFieldEntityType = "single_select"
	IncidentsRetrospectiveFieldEntityTypeMultiSelect       IncidentsRetrospectiveFieldEntityType = "multi_select"
	IncidentsRetrospectiveFieldEntityTypeNumeric           IncidentsRetrospectiveFieldEntityType = "numeric"
	IncidentsRetrospectiveFieldEntityTypeDatetime          IncidentsRetrospectiveFieldEntityType = "datetime"
	IncidentsRetrospectiveFieldEntityTypeDynamicInputGroup IncidentsRetrospectiveFieldEntityType = "dynamic_input_group"
	IncidentsRetrospectiveFieldEntityTypeMarkdown          IncidentsRetrospectiveFieldEntityType = "markdown"
	IncidentsRetrospectiveFieldEntityTypeMarkdownText      IncidentsRetrospectiveFieldEntityType = "markdown_text"
)

func (IncidentsRetrospectiveFieldEntityType) ToPointer ¶

func (*IncidentsRetrospectiveFieldEntityType) UnmarshalJSON ¶

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

type IncidentsRoleAssignmentEntity ¶

type IncidentsRoleAssignmentEntity struct {
	ID           *string                              `json:"id,omitempty"`
	Status       *IncidentsRoleAssignmentEntityStatus `json:"status,omitempty"`
	CreatedAt    *time.Time                           `json:"created_at,omitempty"`
	UpdatedAt    *time.Time                           `json:"updated_at,omitempty"`
	IncidentRole *NullableIncidentRoleEntity          `json:"incident_role,omitempty"`
	User         *NullableUserEntity                  `json:"user,omitempty"`
}

IncidentsRoleAssignmentEntity - Incidents_RoleAssignmentEntity model

func (*IncidentsRoleAssignmentEntity) GetCreatedAt ¶

func (i *IncidentsRoleAssignmentEntity) GetCreatedAt() *time.Time

func (*IncidentsRoleAssignmentEntity) GetID ¶

func (*IncidentsRoleAssignmentEntity) GetIncidentRole ¶

func (*IncidentsRoleAssignmentEntity) GetStatus ¶

func (*IncidentsRoleAssignmentEntity) GetUpdatedAt ¶

func (i *IncidentsRoleAssignmentEntity) GetUpdatedAt() *time.Time

func (*IncidentsRoleAssignmentEntity) GetUser ¶

func (IncidentsRoleAssignmentEntity) MarshalJSON ¶

func (i IncidentsRoleAssignmentEntity) MarshalJSON() ([]byte, error)

func (*IncidentsRoleAssignmentEntity) UnmarshalJSON ¶

func (i *IncidentsRoleAssignmentEntity) UnmarshalJSON(data []byte) error

type IncidentsRoleAssignmentEntityPaginated ¶

type IncidentsRoleAssignmentEntityPaginated struct {
	Data       []IncidentsRoleAssignmentEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity       `json:"pagination,omitempty"`
}

IncidentsRoleAssignmentEntityPaginated - Incidents_RoleAssignmentEntityPaginated model

func (*IncidentsRoleAssignmentEntityPaginated) GetData ¶

func (*IncidentsRoleAssignmentEntityPaginated) GetPagination ¶

type IncidentsRoleAssignmentEntityStatus ¶

type IncidentsRoleAssignmentEntityStatus string
const (
	IncidentsRoleAssignmentEntityStatusActive   IncidentsRoleAssignmentEntityStatus = "active"
	IncidentsRoleAssignmentEntityStatusInactive IncidentsRoleAssignmentEntityStatus = "inactive"
)

func (IncidentsRoleAssignmentEntityStatus) ToPointer ¶

func (*IncidentsRoleAssignmentEntityStatus) UnmarshalJSON ¶

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

type IncidentsShareRetrospectivesResultEntity ¶

type IncidentsShareRetrospectivesResultEntity struct {
	// The IDs of the retrospectives that were shared.
	RetrospectiveIds []string `json:"retrospective_ids,omitempty"`
	// The IDs of the users with whom the retrospectives were shared.
	UserIds []string `json:"user_ids,omitempty"`
}

IncidentsShareRetrospectivesResultEntity - Incidents_ShareRetrospectivesResultEntity model

func (*IncidentsShareRetrospectivesResultEntity) GetRetrospectiveIds ¶

func (i *IncidentsShareRetrospectivesResultEntity) GetRetrospectiveIds() []string

func (*IncidentsShareRetrospectivesResultEntity) GetUserIds ¶

type IncidentsStatusPageEntity ¶

type IncidentsStatusPageEntity struct {
	ID          *string                    `json:"id,omitempty"`
	URL         *string                    `json:"url,omitempty"`
	ExternalID  *string                    `json:"external_id,omitempty"`
	Name        *string                    `json:"name,omitempty"`
	DisplayName *string                    `json:"display_name,omitempty"`
	Integration *NullableIntegrationEntity `json:"integration,omitempty"`
}

IncidentsStatusPageEntity - Incidents_StatusPageEntity model

func (*IncidentsStatusPageEntity) GetDisplayName ¶

func (i *IncidentsStatusPageEntity) GetDisplayName() *string

func (*IncidentsStatusPageEntity) GetExternalID ¶

func (i *IncidentsStatusPageEntity) GetExternalID() *string

func (*IncidentsStatusPageEntity) GetID ¶

func (i *IncidentsStatusPageEntity) GetID() *string

func (*IncidentsStatusPageEntity) GetIntegration ¶

func (*IncidentsStatusPageEntity) GetName ¶

func (i *IncidentsStatusPageEntity) GetName() *string

func (*IncidentsStatusPageEntity) GetURL ¶

func (i *IncidentsStatusPageEntity) GetURL() *string

type IncidentsStatusPageEntityPaginated ¶

type IncidentsStatusPageEntityPaginated struct {
	Data       []IncidentsStatusPageEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity   `json:"pagination,omitempty"`
}

IncidentsStatusPageEntityPaginated - Incidents_StatusPageEntityPaginated model

func (*IncidentsStatusPageEntityPaginated) GetData ¶

func (*IncidentsStatusPageEntityPaginated) GetPagination ¶

type IncidentsTeamAssignmentEntityLite ¶

type IncidentsTeamAssignmentEntityLite struct {
	ID        *string                 `json:"id,omitempty"`
	Status    *string                 `json:"status,omitempty"`
	CreatedAt *time.Time              `json:"created_at,omitempty"`
	UpdatedAt *time.Time              `json:"updated_at,omitempty"`
	Team      *NullableTeamEntityLite `json:"team,omitempty"`
}

func (*IncidentsTeamAssignmentEntityLite) GetCreatedAt ¶

func (i *IncidentsTeamAssignmentEntityLite) GetCreatedAt() *time.Time

func (*IncidentsTeamAssignmentEntityLite) GetID ¶

func (*IncidentsTeamAssignmentEntityLite) GetStatus ¶

func (i *IncidentsTeamAssignmentEntityLite) GetStatus() *string

func (*IncidentsTeamAssignmentEntityLite) GetTeam ¶

func (*IncidentsTeamAssignmentEntityLite) GetUpdatedAt ¶

func (i *IncidentsTeamAssignmentEntityLite) GetUpdatedAt() *time.Time

func (IncidentsTeamAssignmentEntityLite) MarshalJSON ¶

func (i IncidentsTeamAssignmentEntityLite) MarshalJSON() ([]byte, error)

func (*IncidentsTeamAssignmentEntityLite) UnmarshalJSON ¶

func (i *IncidentsTeamAssignmentEntityLite) UnmarshalJSON(data []byte) error

type InfrastructureSearchEntity ¶

type InfrastructureSearchEntity struct {
	Type           *string `json:"type,omitempty"`
	Infrastructure *string `json:"infrastructure,omitempty"`
}

InfrastructureSearchEntity model

func (*InfrastructureSearchEntity) GetInfrastructure ¶

func (i *InfrastructureSearchEntity) GetInfrastructure() *string

func (*InfrastructureSearchEntity) GetType ¶

func (i *InfrastructureSearchEntity) GetType() *string

type IngestCatalogData ¶

type IngestCatalogData struct {
	// Encoding for submitted data
	Encoding Encoding `json:"encoding"`
	// Service data
	Data string `json:"data"`
}

IngestCatalogData - Accepts catalog data in the configured format and asyncronously processes the data to incorporate changes into service catalog.

func (*IngestCatalogData) GetData ¶

func (i *IngestCatalogData) GetData() string

func (*IngestCatalogData) GetEncoding ¶

func (i *IngestCatalogData) GetEncoding() Encoding

type Integration ¶

type Integration string

Integration - The name of the service

const (
	IntegrationPagerDuty Integration = "pager_duty"
	IntegrationOpsgenie  Integration = "opsgenie"
	IntegrationVictorops Integration = "victorops"
)

func (Integration) ToPointer ¶

func (e Integration) ToPointer() *Integration

func (*Integration) UnmarshalJSON ¶

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

type IntegrationsAuthedProviderEntityPaginated ¶

type IntegrationsAuthedProviderEntityPaginated struct {
	Data       []PublicAPIV1IntegrationsAuthedProviderEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity                     `json:"pagination,omitempty"`
}

IntegrationsAuthedProviderEntityPaginated - Integrations_AuthedProviderEntityPaginated model

func (*IntegrationsAuthedProviderEntityPaginated) GetData ¶

func (*IntegrationsAuthedProviderEntityPaginated) GetPagination ¶

type IntegrationsAwsCloudtrailBatchEntity ¶

type IntegrationsAwsCloudtrailBatchEntity struct {
	ID            *string                                     `json:"id,omitempty"`
	EventsCreated *int                                        `json:"events_created,omitempty"`
	Status        *IntegrationsAwsCloudtrailBatchEntityStatus `json:"status,omitempty"`
	StartsAt      *time.Time                                  `json:"starts_at,omitempty"`
	EndsAt        *time.Time                                  `json:"ends_at,omitempty"`
	Connection    *NullableIntegrationsAwsConnectionEntity    `json:"connection,omitempty"`
	CreatedAt     *time.Time                                  `json:"created_at,omitempty"`
}

IntegrationsAwsCloudtrailBatchEntity - Integrations_Aws_CloudtrailBatchEntity model

func (*IntegrationsAwsCloudtrailBatchEntity) GetConnection ¶

func (*IntegrationsAwsCloudtrailBatchEntity) GetCreatedAt ¶

func (i *IntegrationsAwsCloudtrailBatchEntity) GetCreatedAt() *time.Time

func (*IntegrationsAwsCloudtrailBatchEntity) GetEndsAt ¶

func (*IntegrationsAwsCloudtrailBatchEntity) GetEventsCreated ¶

func (i *IntegrationsAwsCloudtrailBatchEntity) GetEventsCreated() *int

func (*IntegrationsAwsCloudtrailBatchEntity) GetID ¶

func (*IntegrationsAwsCloudtrailBatchEntity) GetStartsAt ¶

func (*IntegrationsAwsCloudtrailBatchEntity) GetStatus ¶

func (IntegrationsAwsCloudtrailBatchEntity) MarshalJSON ¶

func (i IntegrationsAwsCloudtrailBatchEntity) MarshalJSON() ([]byte, error)

func (*IntegrationsAwsCloudtrailBatchEntity) UnmarshalJSON ¶

func (i *IntegrationsAwsCloudtrailBatchEntity) UnmarshalJSON(data []byte) error

type IntegrationsAwsCloudtrailBatchEntityPaginated ¶

type IntegrationsAwsCloudtrailBatchEntityPaginated struct {
	Data       []IntegrationsAwsCloudtrailBatchEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity              `json:"pagination,omitempty"`
}

IntegrationsAwsCloudtrailBatchEntityPaginated - Integrations_Aws_CloudtrailBatchEntityPaginated model

func (*IntegrationsAwsCloudtrailBatchEntityPaginated) GetData ¶

func (*IntegrationsAwsCloudtrailBatchEntityPaginated) GetPagination ¶

type IntegrationsAwsCloudtrailBatchEntityStatus ¶

type IntegrationsAwsCloudtrailBatchEntityStatus string
const (
	IntegrationsAwsCloudtrailBatchEntityStatusInProgress IntegrationsAwsCloudtrailBatchEntityStatus = "in_progress"
	IntegrationsAwsCloudtrailBatchEntityStatusFailed     IntegrationsAwsCloudtrailBatchEntityStatus = "failed"
	IntegrationsAwsCloudtrailBatchEntityStatusSuccessful IntegrationsAwsCloudtrailBatchEntityStatus = "successful"
	IntegrationsAwsCloudtrailBatchEntityStatusPending    IntegrationsAwsCloudtrailBatchEntityStatus = "pending"
	IntegrationsAwsCloudtrailBatchEntityStatusRetried    IntegrationsAwsCloudtrailBatchEntityStatus = "retried"
)

func (IntegrationsAwsCloudtrailBatchEntityStatus) ToPointer ¶

func (*IntegrationsAwsCloudtrailBatchEntityStatus) UnmarshalJSON ¶

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

type IntegrationsAwsConnectionEntity ¶

type IntegrationsAwsConnectionEntity struct {
	ID                *string                                          `json:"id,omitempty"`
	AwsAccountID      *string                                          `json:"aws_account_id,omitempty"`
	TargetArn         *string                                          `json:"target_arn,omitempty"`
	ExternalID        *string                                          `json:"external_id,omitempty"`
	ConnectionStatus  *IntegrationsAwsConnectionEntityConnectionStatus `json:"connection_status,omitempty"`
	StatusText        *string                                          `json:"status_text,omitempty"`
	StatusDescription *string                                          `json:"status_description,omitempty"`
	EnvironmentID     *string                                          `json:"environment_id,omitempty"`
	EnvironmentName   *string                                          `json:"environment_name,omitempty"`
	Regions           []string                                         `json:"regions,omitempty"`
}

IntegrationsAwsConnectionEntity - Integrations_Aws_ConnectionEntity model

func (*IntegrationsAwsConnectionEntity) GetAwsAccountID ¶

func (i *IntegrationsAwsConnectionEntity) GetAwsAccountID() *string

func (*IntegrationsAwsConnectionEntity) GetConnectionStatus ¶

func (*IntegrationsAwsConnectionEntity) GetEnvironmentID ¶

func (i *IntegrationsAwsConnectionEntity) GetEnvironmentID() *string

func (*IntegrationsAwsConnectionEntity) GetEnvironmentName ¶

func (i *IntegrationsAwsConnectionEntity) GetEnvironmentName() *string

func (*IntegrationsAwsConnectionEntity) GetExternalID ¶

func (i *IntegrationsAwsConnectionEntity) GetExternalID() *string

func (*IntegrationsAwsConnectionEntity) GetID ¶

func (*IntegrationsAwsConnectionEntity) GetRegions ¶

func (i *IntegrationsAwsConnectionEntity) GetRegions() []string

func (*IntegrationsAwsConnectionEntity) GetStatusDescription ¶

func (i *IntegrationsAwsConnectionEntity) GetStatusDescription() *string

func (*IntegrationsAwsConnectionEntity) GetStatusText ¶

func (i *IntegrationsAwsConnectionEntity) GetStatusText() *string

func (*IntegrationsAwsConnectionEntity) GetTargetArn ¶

func (i *IntegrationsAwsConnectionEntity) GetTargetArn() *string

type IntegrationsAwsConnectionEntityConnectionStatus ¶

type IntegrationsAwsConnectionEntityConnectionStatus string
const (
	IntegrationsAwsConnectionEntityConnectionStatusPendingSetup       IntegrationsAwsConnectionEntityConnectionStatus = "pending_setup"
	IntegrationsAwsConnectionEntityConnectionStatusRoleAssumed        IntegrationsAwsConnectionEntityConnectionStatus = "role_assumed"
	IntegrationsAwsConnectionEntityConnectionStatusCantAssumeRole     IntegrationsAwsConnectionEntityConnectionStatus = "cant_assume_role"
	IntegrationsAwsConnectionEntityConnectionStatusInvalidPermissions IntegrationsAwsConnectionEntityConnectionStatus = "invalid_permissions"
	IntegrationsAwsConnectionEntityConnectionStatusValidated          IntegrationsAwsConnectionEntityConnectionStatus = "validated"
)

func (IntegrationsAwsConnectionEntityConnectionStatus) ToPointer ¶

func (*IntegrationsAwsConnectionEntityConnectionStatus) UnmarshalJSON ¶

type IntegrationsAwsConnectionEntityPaginated ¶

type IntegrationsAwsConnectionEntityPaginated struct {
	Data       []IntegrationsAwsConnectionEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity         `json:"pagination,omitempty"`
}

IntegrationsAwsConnectionEntityPaginated - Integrations_Aws_ConnectionEntityPaginated model

func (*IntegrationsAwsConnectionEntityPaginated) GetData ¶

func (*IntegrationsAwsConnectionEntityPaginated) GetPagination ¶

type IntegrationsConfluenceCloudSpaceKeyEntity ¶

type IntegrationsConfluenceCloudSpaceKeyEntity struct {
	Key  *string `json:"key,omitempty"`
	Name *string `json:"name,omitempty"`
}

IntegrationsConfluenceCloudSpaceKeyEntity - Integrations_ConfluenceCloud_SpaceKeyEntity model

func (*IntegrationsConfluenceCloudSpaceKeyEntity) GetKey ¶

func (*IntegrationsConfluenceCloudSpaceKeyEntity) GetName ¶

type IntegrationsConnectionEntity ¶

type IntegrationsConnectionEntity struct {
	ID               *string    `json:"id,omitempty"`
	IntegrationSlug  *string    `json:"integration_slug,omitempty"`
	IntegrationID    *string    `json:"integration_id,omitempty"`
	DisplayName      *string    `json:"display_name,omitempty"`
	ConfigurationURL *string    `json:"configuration_url,omitempty"`
	AuthorizedBy     *string    `json:"authorized_by,omitempty"`
	AuthorizedByID   *string    `json:"authorized_by_id,omitempty"`
	CreatedAt        *time.Time `json:"created_at,omitempty"`
	UpdatedAt        *time.Time `json:"updated_at,omitempty"`
	// Integration-specific details of this connection. As identified by the integration_slug, this object will be represented by that integration's ConnectionEntity.
	Details                *IntegrationsConnectionEntityDetails `json:"details,omitempty"`
	DefaultAuthorizedActor *NullableAuthorEntity                `json:"default_authorized_actor,omitempty"`
}

IntegrationsConnectionEntity - Integrations_ConnectionEntity model

func (*IntegrationsConnectionEntity) GetAuthorizedBy ¶

func (i *IntegrationsConnectionEntity) GetAuthorizedBy() *string

func (*IntegrationsConnectionEntity) GetAuthorizedByID ¶

func (i *IntegrationsConnectionEntity) GetAuthorizedByID() *string

func (*IntegrationsConnectionEntity) GetConfigurationURL ¶

func (i *IntegrationsConnectionEntity) GetConfigurationURL() *string

func (*IntegrationsConnectionEntity) GetCreatedAt ¶

func (i *IntegrationsConnectionEntity) GetCreatedAt() *time.Time

func (*IntegrationsConnectionEntity) GetDefaultAuthorizedActor ¶

func (i *IntegrationsConnectionEntity) GetDefaultAuthorizedActor() *NullableAuthorEntity

func (*IntegrationsConnectionEntity) GetDetails ¶

func (*IntegrationsConnectionEntity) GetDisplayName ¶

func (i *IntegrationsConnectionEntity) GetDisplayName() *string

func (*IntegrationsConnectionEntity) GetID ¶

func (*IntegrationsConnectionEntity) GetIntegrationID ¶

func (i *IntegrationsConnectionEntity) GetIntegrationID() *string

func (*IntegrationsConnectionEntity) GetIntegrationSlug ¶

func (i *IntegrationsConnectionEntity) GetIntegrationSlug() *string

func (*IntegrationsConnectionEntity) GetUpdatedAt ¶

func (i *IntegrationsConnectionEntity) GetUpdatedAt() *time.Time

func (IntegrationsConnectionEntity) MarshalJSON ¶

func (i IntegrationsConnectionEntity) MarshalJSON() ([]byte, error)

func (*IntegrationsConnectionEntity) UnmarshalJSON ¶

func (i *IntegrationsConnectionEntity) UnmarshalJSON(data []byte) error

type IntegrationsConnectionEntityDetails ¶

type IntegrationsConnectionEntityDetails struct {
}

IntegrationsConnectionEntityDetails - Integration-specific details of this connection. As identified by the integration_slug, this object will be represented by that integration's ConnectionEntity.

type IntegrationsConnectionEntityPaginated ¶

type IntegrationsConnectionEntityPaginated struct {
	Data       []IntegrationsConnectionEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity      `json:"pagination,omitempty"`
}

IntegrationsConnectionEntityPaginated - Integrations_ConnectionEntityPaginated model

func (*IntegrationsConnectionEntityPaginated) GetData ¶

func (*IntegrationsConnectionEntityPaginated) GetPagination ¶

type IntegrationsConnectionStatusEntity ¶

type IntegrationsConnectionStatusEntity struct {
	CheckedAt       *time.Time                                `json:"checked_at,omitempty"`
	Status          *IntegrationsConnectionStatusEntityStatus `json:"status,omitempty"`
	Message         *string                                   `json:"message,omitempty"`
	CheckType       *string                                   `json:"check_type,omitempty"`
	ErrorType       *string                                   `json:"error_type,omitempty"`
	IntegrationSlug *string                                   `json:"integration_slug,omitempty"`
	ConnectionID    *string                                   `json:"connection_id,omitempty"`
	// Additional unstructured data about the status check.
	Data        *IntegrationsConnectionStatusEntityData `json:"data,omitempty"`
	PerformedBy *NullableAuthorEntity                   `json:"performed_by,omitempty"`
}

IntegrationsConnectionStatusEntity - Integrations_ConnectionStatusEntity model

func (*IntegrationsConnectionStatusEntity) GetCheckType ¶

func (i *IntegrationsConnectionStatusEntity) GetCheckType() *string

func (*IntegrationsConnectionStatusEntity) GetCheckedAt ¶

func (i *IntegrationsConnectionStatusEntity) GetCheckedAt() *time.Time

func (*IntegrationsConnectionStatusEntity) GetConnectionID ¶

func (i *IntegrationsConnectionStatusEntity) GetConnectionID() *string

func (*IntegrationsConnectionStatusEntity) GetData ¶

func (*IntegrationsConnectionStatusEntity) GetErrorType ¶

func (i *IntegrationsConnectionStatusEntity) GetErrorType() *string

func (*IntegrationsConnectionStatusEntity) GetIntegrationSlug ¶

func (i *IntegrationsConnectionStatusEntity) GetIntegrationSlug() *string

func (*IntegrationsConnectionStatusEntity) GetMessage ¶

func (i *IntegrationsConnectionStatusEntity) GetMessage() *string

func (*IntegrationsConnectionStatusEntity) GetPerformedBy ¶

func (*IntegrationsConnectionStatusEntity) GetStatus ¶

func (IntegrationsConnectionStatusEntity) MarshalJSON ¶

func (i IntegrationsConnectionStatusEntity) MarshalJSON() ([]byte, error)

func (*IntegrationsConnectionStatusEntity) UnmarshalJSON ¶

func (i *IntegrationsConnectionStatusEntity) UnmarshalJSON(data []byte) error

type IntegrationsConnectionStatusEntityData ¶

type IntegrationsConnectionStatusEntityData struct {
}

IntegrationsConnectionStatusEntityData - Additional unstructured data about the status check.

type IntegrationsConnectionStatusEntityStatus ¶

type IntegrationsConnectionStatusEntityStatus string
const (
	IntegrationsConnectionStatusEntityStatusOk      IntegrationsConnectionStatusEntityStatus = "ok"
	IntegrationsConnectionStatusEntityStatusInfo    IntegrationsConnectionStatusEntityStatus = "info"
	IntegrationsConnectionStatusEntityStatusWarning IntegrationsConnectionStatusEntityStatus = "warning"
	IntegrationsConnectionStatusEntityStatusError   IntegrationsConnectionStatusEntityStatus = "error"
)

func (IntegrationsConnectionStatusEntityStatus) ToPointer ¶

func (*IntegrationsConnectionStatusEntityStatus) UnmarshalJSON ¶

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

type IntegrationsIntegrationEntity ¶

type IntegrationsIntegrationEntity struct {
	ID          *string                                          `json:"id,omitempty"`
	Slug        *string                                          `json:"slug,omitempty"`
	Name        *string                                          `json:"name,omitempty"`
	Description *string                                          `json:"description,omitempty"`
	SetupURL    *string                                          `json:"setup_url,omitempty"`
	CreatedAt   *time.Time                                       `json:"created_at,omitempty"`
	Connections []IntegrationsConnectionEntity                   `json:"connections,omitempty"`
	Enabled     *bool                                            `json:"enabled,omitempty"`
	Installed   *bool                                            `json:"installed,omitempty"`
	Deprecated  *bool                                            `json:"deprecated,omitempty"`
	NatIP       *string                                          `json:"nat_ip,omitempty"`
}

IntegrationsIntegrationEntity - Integrations_IntegrationEntity model

func (*IntegrationsIntegrationEntity) GetConnections ¶

func (*IntegrationsIntegrationEntity) GetCreatedAt ¶

func (i *IntegrationsIntegrationEntity) GetCreatedAt() *time.Time

func (*IntegrationsIntegrationEntity) GetDeprecated ¶

func (i *IntegrationsIntegrationEntity) GetDeprecated() *bool

func (*IntegrationsIntegrationEntity) GetDescription ¶

func (i *IntegrationsIntegrationEntity) GetDescription() *string

func (*IntegrationsIntegrationEntity) GetEnabled ¶

func (i *IntegrationsIntegrationEntity) GetEnabled() *bool

func (*IntegrationsIntegrationEntity) GetID ¶

func (*IntegrationsIntegrationEntity) GetInstalled ¶

func (i *IntegrationsIntegrationEntity) GetInstalled() *bool

func (*IntegrationsIntegrationEntity) GetName ¶

func (i *IntegrationsIntegrationEntity) GetName() *string

func (*IntegrationsIntegrationEntity) GetNatIP ¶

func (i *IntegrationsIntegrationEntity) GetNatIP() *string

func (*IntegrationsIntegrationEntity) GetSetupURL ¶

func (i *IntegrationsIntegrationEntity) GetSetupURL() *string

func (*IntegrationsIntegrationEntity) GetSlug ¶

func (i *IntegrationsIntegrationEntity) GetSlug() *string

func (IntegrationsIntegrationEntity) MarshalJSON ¶

func (i IntegrationsIntegrationEntity) MarshalJSON() ([]byte, error)

func (*IntegrationsIntegrationEntity) UnmarshalJSON ¶

func (i *IntegrationsIntegrationEntity) UnmarshalJSON(data []byte) error

type IntegrationsIntegrationEntityPaginated ¶

type IntegrationsIntegrationEntityPaginated struct {
	Data       []IntegrationsIntegrationEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity       `json:"pagination,omitempty"`
}

IntegrationsIntegrationEntityPaginated - Integrations_IntegrationEntityPaginated model

func (*IntegrationsIntegrationEntityPaginated) GetData ¶

func (*IntegrationsIntegrationEntityPaginated) GetPagination ¶

type IntegrationsSlackSlackChannelEntity ¶

type IntegrationsSlackSlackChannelEntity struct {
	ID             *string `json:"id,omitempty"`
	Name           *string `json:"name,omitempty"`
	SlackChannelID *string `json:"slack_channel_id,omitempty"`
}

func (*IntegrationsSlackSlackChannelEntity) GetID ¶

func (*IntegrationsSlackSlackChannelEntity) GetName ¶

func (*IntegrationsSlackSlackChannelEntity) GetSlackChannelID ¶

func (i *IntegrationsSlackSlackChannelEntity) GetSlackChannelID() *string

type IntegrationsSlackUsergroupEntity ¶

type IntegrationsSlackUsergroupEntity struct {
	ID         *string `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	Handle     *string `json:"handle,omitempty"`
	IsDisabled *bool   `json:"is_disabled,omitempty"`
}

IntegrationsSlackUsergroupEntity - Integrations_Slack_UsergroupEntity model

func (*IntegrationsSlackUsergroupEntity) GetHandle ¶

func (i *IntegrationsSlackUsergroupEntity) GetHandle() *string

func (*IntegrationsSlackUsergroupEntity) GetID ¶

func (*IntegrationsSlackUsergroupEntity) GetIsDisabled ¶

func (i *IntegrationsSlackUsergroupEntity) GetIsDisabled() *bool

func (*IntegrationsSlackUsergroupEntity) GetName ¶

type IntegrationsSlackWorkspaceEntity ¶

type IntegrationsSlackWorkspaceEntity struct {
	ID     *string `json:"id,omitempty"`
	TeamID *string `json:"team_id,omitempty"`
	Name   *string `json:"name,omitempty"`
}

IntegrationsSlackWorkspaceEntity - Integrations_Slack_WorkspaceEntity model

func (*IntegrationsSlackWorkspaceEntity) GetID ¶

func (*IntegrationsSlackWorkspaceEntity) GetName ¶

func (*IntegrationsSlackWorkspaceEntity) GetTeamID ¶

func (i *IntegrationsSlackWorkspaceEntity) GetTeamID() *string

type IntegrationsStatuspageConditionEntity ¶

type IntegrationsStatuspageConditionEntity struct {
	ConditionID           *string                `json:"condition_id,omitempty"`
	ConditionName         *string                `json:"condition_name,omitempty"`
	StatuspageioCondition *StatuspageioCondition `json:"statuspageio_condition,omitempty"`
}

func (*IntegrationsStatuspageConditionEntity) GetConditionID ¶

func (i *IntegrationsStatuspageConditionEntity) GetConditionID() *string

func (*IntegrationsStatuspageConditionEntity) GetConditionName ¶

func (i *IntegrationsStatuspageConditionEntity) GetConditionName() *string

func (*IntegrationsStatuspageConditionEntity) GetStatuspageioCondition ¶

func (i *IntegrationsStatuspageConditionEntity) GetStatuspageioCondition() *StatuspageioCondition

type IntegrationsStatuspageConnectionEntity ¶

type IntegrationsStatuspageConnectionEntity struct {
	ID                *string                                        `json:"id,omitempty"`
	PageName          *string                                        `json:"page_name,omitempty"`
	PageID            *string                                        `json:"page_id,omitempty"`
	Conditions        []IntegrationsStatuspageConditionEntity        `json:"conditions,omitempty"`
	Severities        []IntegrationsStatuspageSeverityEntity         `json:"severities,omitempty"`
	MilestoneMappings []IntegrationsStatuspageMilestoneMappingEntity `json:"milestone_mappings,omitempty"`
}

IntegrationsStatuspageConnectionEntity - Integrations_Statuspage_ConnectionEntity model

func (*IntegrationsStatuspageConnectionEntity) GetConditions ¶

func (*IntegrationsStatuspageConnectionEntity) GetID ¶

func (*IntegrationsStatuspageConnectionEntity) GetMilestoneMappings ¶

func (*IntegrationsStatuspageConnectionEntity) GetPageID ¶

func (*IntegrationsStatuspageConnectionEntity) GetPageName ¶

func (*IntegrationsStatuspageConnectionEntity) GetSeverities ¶

type IntegrationsStatuspageConnectionEntityPaginated ¶

type IntegrationsStatuspageConnectionEntityPaginated struct {
	Data       []IntegrationsStatuspageConnectionEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity                `json:"pagination,omitempty"`
}

IntegrationsStatuspageConnectionEntityPaginated - Integrations_Statuspage_ConnectionEntityPaginated model

func (*IntegrationsStatuspageConnectionEntityPaginated) GetData ¶

func (*IntegrationsStatuspageConnectionEntityPaginated) GetPagination ¶

type IntegrationsStatuspageMilestoneMappingEntity ¶

type IntegrationsStatuspageMilestoneMappingEntity struct {
	MilestoneID *string `json:"milestone_id,omitempty"`
	Status      *string `json:"status,omitempty"`
}

func (*IntegrationsStatuspageMilestoneMappingEntity) GetMilestoneID ¶

func (*IntegrationsStatuspageMilestoneMappingEntity) GetStatus ¶

type IntegrationsStatuspagePageEntity ¶

type IntegrationsStatuspagePageEntity struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

IntegrationsStatuspagePageEntity - Integrations_Statuspage_PageEntity model

func (*IntegrationsStatuspagePageEntity) GetID ¶

func (*IntegrationsStatuspagePageEntity) GetName ¶

type IntegrationsStatuspageSeverityEntity ¶

type IntegrationsStatuspageSeverityEntity struct {
	SeveritySlug *string `json:"severity_slug,omitempty"`
	RemoteStatus *string `json:"remote_status,omitempty"`
}

func (*IntegrationsStatuspageSeverityEntity) GetRemoteStatus ¶

func (i *IntegrationsStatuspageSeverityEntity) GetRemoteStatus() *string

func (*IntegrationsStatuspageSeverityEntity) GetSeveritySlug ¶

func (i *IntegrationsStatuspageSeverityEntity) GetSeveritySlug() *string

type IntegrationsZendeskSearchTicketsPaginatedEntity ¶

type IntegrationsZendeskSearchTicketsPaginatedEntity struct {
	Data       []IntegrationsZendeskSupportIssueEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity               `json:"pagination,omitempty"`
}

IntegrationsZendeskSearchTicketsPaginatedEntity - Integrations_Zendesk_SearchTickets_PaginatedEntity model

func (*IntegrationsZendeskSearchTicketsPaginatedEntity) GetData ¶

func (*IntegrationsZendeskSearchTicketsPaginatedEntity) GetPagination ¶

type IntegrationsZendeskSupportIssueEntity ¶

type IntegrationsZendeskSupportIssueEntity struct {
	// The ID of this support issue in the system that originated this issue, eg Zendesk.
	RemoteID *string `json:"remote_id,omitempty"`
	// Title or name of this issue.
	Title *string `json:"title,omitempty"`
	// Longer description of the issue.
	Description *string `json:"description,omitempty"`
	// Browser-accessible url for this issue in the originating system, eg Zendesk.
	RemoteURL *string `json:"remote_url,omitempty"`
	// Raw data associated with this issue from originating system.
	Data *IntegrationsZendeskSupportIssueEntityData `json:"data,omitempty"`
	// Attachment information for this issue.
	Attachments       *string                                                      `json:"attachments,omitempty"`
	Customers         *NullableIntegrationsZendeskSupportIssueEntityCustomerEntity `json:"customers,omitempty"`
	Priority          *string                                                      `json:"priority,omitempty"`
	AttachedIncidents []IncidentEntity                                             `json:"attached_incidents,omitempty"`
	// Type designator for this entity
	Type *string `json:"type,omitempty"`
}

func (*IntegrationsZendeskSupportIssueEntity) GetAttachedIncidents ¶

func (i *IntegrationsZendeskSupportIssueEntity) GetAttachedIncidents() []IncidentEntity

func (*IntegrationsZendeskSupportIssueEntity) GetAttachments ¶

func (i *IntegrationsZendeskSupportIssueEntity) GetAttachments() *string

func (*IntegrationsZendeskSupportIssueEntity) GetCustomers ¶

func (*IntegrationsZendeskSupportIssueEntity) GetData ¶

func (*IntegrationsZendeskSupportIssueEntity) GetDescription ¶

func (i *IntegrationsZendeskSupportIssueEntity) GetDescription() *string

func (*IntegrationsZendeskSupportIssueEntity) GetPriority ¶

func (*IntegrationsZendeskSupportIssueEntity) GetRemoteID ¶

func (*IntegrationsZendeskSupportIssueEntity) GetRemoteURL ¶

func (i *IntegrationsZendeskSupportIssueEntity) GetRemoteURL() *string

func (*IntegrationsZendeskSupportIssueEntity) GetTitle ¶

func (*IntegrationsZendeskSupportIssueEntity) GetType ¶

type IntegrationsZendeskSupportIssueEntityData ¶

type IntegrationsZendeskSupportIssueEntityData struct {
}

IntegrationsZendeskSupportIssueEntityData - Raw data associated with this issue from originating system.

type Level ¶

type Level string
const (
	LevelUnknown Level = "unknown"
	LevelDebug   Level = "debug"
	LevelInfo    Level = "info"
	LevelWarn    Level = "warn"
	LevelError   Level = "error"
	LevelFatal   Level = "fatal"
)

func (Level) ToPointer ¶

func (e Level) ToPointer() *Level

func (*Level) UnmarshalJSON ¶

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

type LifecyclesMilestoneEntity ¶

type LifecyclesMilestoneEntity struct {
	ID                          *string               `json:"id,omitempty"`
	Name                        *string               `json:"name,omitempty"`
	Description                 *string               `json:"description,omitempty"`
	Slug                        *string               `json:"slug,omitempty"`
	AutoAssignTimestampOnCreate *string               `json:"auto_assign_timestamp_on_create,omitempty"`
	Position                    *int                  `json:"position,omitempty"`
	CreatedBy                   *NullableAuthorEntity `json:"created_by,omitempty"`
	UpdatedBy                   *NullableAuthorEntity `json:"updated_by,omitempty"`
	CreatedAt                   *time.Time            `json:"created_at,omitempty"`
	UpdatedAt                   *time.Time            `json:"updated_at,omitempty"`
}

LifecyclesMilestoneEntity - Lifecycles_MilestoneEntity model

func (*LifecyclesMilestoneEntity) GetAutoAssignTimestampOnCreate ¶

func (l *LifecyclesMilestoneEntity) GetAutoAssignTimestampOnCreate() *string

func (*LifecyclesMilestoneEntity) GetCreatedAt ¶

func (l *LifecyclesMilestoneEntity) GetCreatedAt() *time.Time

func (*LifecyclesMilestoneEntity) GetCreatedBy ¶

func (*LifecyclesMilestoneEntity) GetDescription ¶

func (l *LifecyclesMilestoneEntity) GetDescription() *string

func (*LifecyclesMilestoneEntity) GetID ¶

func (l *LifecyclesMilestoneEntity) GetID() *string

func (*LifecyclesMilestoneEntity) GetName ¶

func (l *LifecyclesMilestoneEntity) GetName() *string

func (*LifecyclesMilestoneEntity) GetPosition ¶

func (l *LifecyclesMilestoneEntity) GetPosition() *int

func (*LifecyclesMilestoneEntity) GetSlug ¶

func (l *LifecyclesMilestoneEntity) GetSlug() *string

func (*LifecyclesMilestoneEntity) GetUpdatedAt ¶

func (l *LifecyclesMilestoneEntity) GetUpdatedAt() *time.Time

func (*LifecyclesMilestoneEntity) GetUpdatedBy ¶

func (LifecyclesMilestoneEntity) MarshalJSON ¶

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

func (*LifecyclesMilestoneEntity) UnmarshalJSON ¶

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

type LifecyclesPhaseEntity ¶

type LifecyclesPhaseEntity struct {
	ID          *string                     `json:"id,omitempty"`
	Name        *string                     `json:"name,omitempty"`
	Description *string                     `json:"description,omitempty"`
	Type        *string                     `json:"type,omitempty"`
	Position    *int                        `json:"position,omitempty"`
	Milestones  []LifecyclesMilestoneEntity `json:"milestones,omitempty"`
}

func (*LifecyclesPhaseEntity) GetDescription ¶

func (l *LifecyclesPhaseEntity) GetDescription() *string

func (*LifecyclesPhaseEntity) GetID ¶

func (l *LifecyclesPhaseEntity) GetID() *string

func (*LifecyclesPhaseEntity) GetMilestones ¶

func (l *LifecyclesPhaseEntity) GetMilestones() []LifecyclesMilestoneEntity

func (*LifecyclesPhaseEntity) GetName ¶

func (l *LifecyclesPhaseEntity) GetName() *string

func (*LifecyclesPhaseEntity) GetPosition ¶

func (l *LifecyclesPhaseEntity) GetPosition() *int

func (*LifecyclesPhaseEntity) GetType ¶

func (l *LifecyclesPhaseEntity) GetType() *string

type LifecyclesPhaseEntityList ¶

type LifecyclesPhaseEntityList struct {
	Data []LifecyclesPhaseEntity `json:"data,omitempty"`
}

LifecyclesPhaseEntityList - Lifecycles_PhaseEntityList model

func (*LifecyclesPhaseEntityList) GetData ¶

type LinksEntity ¶

type LinksEntity struct {
	ID      *string `json:"id,omitempty"`
	HrefURL *string `json:"href_url,omitempty"`
	IconURL *string `json:"icon_url,omitempty"`
	Name    *string `json:"name,omitempty"`
}

func (*LinksEntity) GetHrefURL ¶

func (l *LinksEntity) GetHrefURL() *string

func (*LinksEntity) GetID ¶

func (l *LinksEntity) GetID() *string

func (*LinksEntity) GetIconURL ¶

func (l *LinksEntity) GetIconURL() *string

func (*LinksEntity) GetName ¶

func (l *LinksEntity) GetName() *string

type Logic ¶

type Logic struct {
}

Logic - An unstructured object of key/value pairs describing the logic for applying the rule.

type MembershipEntity ¶

type MembershipEntity struct {
	User                  *NullableUserEntity         `json:"user,omitempty"`
	Schedule              *NullableScheduleEntity     `json:"schedule,omitempty"`
	SignalsOnCallSchedule *NullableSuccinctEntity     `json:"signals_on_call_schedule,omitempty"`
	DefaultIncidentRole   *NullableIncidentRoleEntity `json:"default_incident_role,omitempty"`
}

func (*MembershipEntity) GetDefaultIncidentRole ¶

func (m *MembershipEntity) GetDefaultIncidentRole() *NullableIncidentRoleEntity

func (*MembershipEntity) GetSchedule ¶

func (m *MembershipEntity) GetSchedule() *NullableScheduleEntity

func (*MembershipEntity) GetSignalsOnCallSchedule ¶

func (m *MembershipEntity) GetSignalsOnCallSchedule() *NullableSuccinctEntity

func (*MembershipEntity) GetUser ¶

func (m *MembershipEntity) GetUser() *NullableUserEntity

type MessageType ¶

type MessageType string
const (
	MessageTypeI18nKey MessageType = "i18n_key"
	MessageTypeCustom  MessageType = "custom"
)

func (MessageType) ToPointer ¶

func (e MessageType) ToPointer() *MessageType

func (*MessageType) UnmarshalJSON ¶

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

type MetricsInfrastructureListEntity ¶

type MetricsInfrastructureListEntity struct {
	// List of infrastructure metrics
	Data []MetricsInfrastructureMetricsEntity `json:"data,omitempty"`
}

MetricsInfrastructureListEntity - Metrics_InfrastructureListEntity model

func (*MetricsInfrastructureListEntity) GetData ¶

type MetricsInfrastructureMetricsEntity ¶

type MetricsInfrastructureMetricsEntity struct {
	// The UUID of the component
	ID *string `json:"id,omitempty"`
	// The name of the component
	Name *string `json:"name,omitempty"`
	// Mean Time To Detection (seconds) for all incidents for this component in this time period
	Mttd *int `json:"mttd,omitempty"`
	// Mean Time To Acknowledgement (seconds) for all incidents for this component in this time period
	Mtta *int `json:"mtta,omitempty"`
	// Mean Time To Mitigation (seconds) for all incidents for this component in this time period
	Mttm *int `json:"mttm,omitempty"`
	// Mean Time To Resolution (seconds) for all incidents for this component in this time period
	Mttr *int `json:"mttr,omitempty"`
	// Number of incidents in this time period for this component
	Count *int `json:"count,omitempty"`
	// Total time (seconds) the component was impacted (MTTR x Incident Count)
	TotalTime *int `json:"total_time,omitempty"`
}

MetricsInfrastructureMetricsEntity - Metrics_InfrastructureMetricsEntity model

func (*MetricsInfrastructureMetricsEntity) GetCount ¶

func (m *MetricsInfrastructureMetricsEntity) GetCount() *int

func (*MetricsInfrastructureMetricsEntity) GetID ¶

func (*MetricsInfrastructureMetricsEntity) GetMtta ¶

func (*MetricsInfrastructureMetricsEntity) GetMttd ¶

func (*MetricsInfrastructureMetricsEntity) GetMttm ¶

func (*MetricsInfrastructureMetricsEntity) GetMttr ¶

func (*MetricsInfrastructureMetricsEntity) GetName ¶

func (*MetricsInfrastructureMetricsEntity) GetTotalTime ¶

func (m *MetricsInfrastructureMetricsEntity) GetTotalTime() *int

type MetricsMetricsEntity ¶

type MetricsMetricsEntity struct {
	Type *string `json:"type,omitempty"`
	// The field by which the metrics are grouped. Can be one of: total, severity, priority, functionality, service, environment, or user.
	By *string `json:"by,omitempty"`
	// The size of returned buckets. Can be one of: day, week, month, or all_time.
	BucketSize         *int                                    `json:"bucket_size,omitempty"`
	DisplayInformation *DisplayInformation                     `json:"display_information,omitempty"`
	Keys               []string                                `json:"keys,omitempty"`
	Buckets            []Bucket                                `json:"buckets,omitempty"`
	Sort               *NullableMetricsMetricsEntitySortEntity `json:"sort,omitempty"`
}

MetricsMetricsEntity - Metrics_MetricsEntity model

func (*MetricsMetricsEntity) GetBucketSize ¶

func (m *MetricsMetricsEntity) GetBucketSize() *int

func (*MetricsMetricsEntity) GetBuckets ¶

func (m *MetricsMetricsEntity) GetBuckets() []Bucket

func (*MetricsMetricsEntity) GetBy ¶

func (m *MetricsMetricsEntity) GetBy() *string

func (*MetricsMetricsEntity) GetDisplayInformation ¶

func (m *MetricsMetricsEntity) GetDisplayInformation() *DisplayInformation

func (*MetricsMetricsEntity) GetKeys ¶

func (m *MetricsMetricsEntity) GetKeys() []string

func (*MetricsMetricsEntity) GetSort ¶

func (*MetricsMetricsEntity) GetType ¶

func (m *MetricsMetricsEntity) GetType() *string

type MetricsMilestonesFunnelEntity ¶

type MetricsMilestonesFunnelEntity struct {
	Data      []MetricsMilestonesFunnelEntityDataBucketEntity       `json:"data,omitempty"`
	Columns   []MetricsMilestonesFunnelEntityColumnEntity           `json:"columns,omitempty"`
	Groupings *NullableMetricsMilestonesFunnelEntityGroupingsEntity `json:"groupings,omitempty"`
	Meta      *NullableMetricsMilestonesFunnelEntityMetaEntity      `json:"meta,omitempty"`
}

MetricsMilestonesFunnelEntity - Metrics_MilestonesFunnelEntity model

func (*MetricsMilestonesFunnelEntity) GetColumns ¶

func (*MetricsMilestonesFunnelEntity) GetData ¶

func (*MetricsMilestonesFunnelEntity) GetGroupings ¶

func (*MetricsMilestonesFunnelEntity) GetMeta ¶

type MetricsMilestonesFunnelEntityColumnEntity ¶

type MetricsMilestonesFunnelEntityColumnEntity struct {
	// The slug of the milestone
	Name *string `json:"name,omitempty"`
	// The name of the milestone
	Label *string `json:"label,omitempty"`
	// The description of the milestone
	Tooltip *string `json:"tooltip,omitempty"`
	// The UUID of the milestone
	ID *string `json:"id,omitempty"`
}

func (*MetricsMilestonesFunnelEntityColumnEntity) GetID ¶

func (*MetricsMilestonesFunnelEntityColumnEntity) GetLabel ¶

func (*MetricsMilestonesFunnelEntityColumnEntity) GetName ¶

func (*MetricsMilestonesFunnelEntityColumnEntity) GetTooltip ¶

type MetricsMilestonesFunnelEntityDataBucketEntity ¶

type MetricsMilestonesFunnelEntityDataBucketEntity struct {
	// The start datetime for the period
	TimeBucket      *time.Time                                                         `json:"time_bucket,omitempty"`
	FilterParams    *NullableMetricsMilestonesFunnelEntityDataBucketFilterParamsEntity `json:"filter_params,omitempty"`
	MilestoneCounts []MetricsMilestonesFunnelEntityDataBucketMilestoneCountEntity      `json:"milestone_counts,omitempty"`
}

func (*MetricsMilestonesFunnelEntityDataBucketEntity) GetFilterParams ¶

func (*MetricsMilestonesFunnelEntityDataBucketEntity) GetMilestoneCounts ¶

func (*MetricsMilestonesFunnelEntityDataBucketEntity) GetTimeBucket ¶

func (MetricsMilestonesFunnelEntityDataBucketEntity) MarshalJSON ¶

func (*MetricsMilestonesFunnelEntityDataBucketEntity) UnmarshalJSON ¶

func (m *MetricsMilestonesFunnelEntityDataBucketEntity) UnmarshalJSON(data []byte) error

type MetricsMilestonesFunnelEntityDataBucketMilestoneCountEntity ¶

type MetricsMilestonesFunnelEntityDataBucketMilestoneCountEntity struct {
	// The UUID of the milestone
	MilestoneID *string `json:"milestone_id,omitempty"`
	// The frequency count of that milestone for the period
	Count *int `json:"count,omitempty"`
}

func (*MetricsMilestonesFunnelEntityDataBucketMilestoneCountEntity) GetCount ¶

func (*MetricsMilestonesFunnelEntityDataBucketMilestoneCountEntity) GetMilestoneID ¶

type MetricsMttxDataEntity ¶

type MetricsMttxDataEntity struct {
	Groupings []MetricsMttxDataEntityGroupingEntity `json:"groupings,omitempty"`
	Data      []MetricsMttxGroupEntity              `json:"data,omitempty"`
}

MetricsMttxDataEntity - Metrics_MttxDataEntity model

func (*MetricsMttxDataEntity) GetData ¶

func (*MetricsMttxDataEntity) GetGroupings ¶

type MetricsMttxDataEntityGroupingEntity ¶

type MetricsMttxDataEntityGroupingEntity struct {
	Type          *string `json:"type,omitempty"`
	IDAttribute   *string `json:"id_attribute,omitempty"`
	NameAttribute *string `json:"name_attribute,omitempty"`
}

func (*MetricsMttxDataEntityGroupingEntity) GetIDAttribute ¶

func (m *MetricsMttxDataEntityGroupingEntity) GetIDAttribute() *string

func (*MetricsMttxDataEntityGroupingEntity) GetNameAttribute ¶

func (m *MetricsMttxDataEntityGroupingEntity) GetNameAttribute() *string

func (*MetricsMttxDataEntityGroupingEntity) GetType ¶

type MetricsMttxGroupEntity ¶

type MetricsMttxGroupEntity struct {
	GroupAttributes  *string       `json:"group_attributes,omitempty"`
	FilterParams     *FilterParams `json:"filter_params,omitempty"`
	Count            *int          `json:"count,omitempty"`
	Mttd             *float32      `json:"mttd,omitempty"`
	Mtta             *float32      `json:"mtta,omitempty"`
	Mttm             *float32      `json:"mttm,omitempty"`
	Mttr             *float32      `json:"mttr,omitempty"`
	CountDiff        *int          `json:"count_diff,omitempty"`
	CountPercentDiff *float32      `json:"count_percent_diff,omitempty"`
	MttdDiff         *float32      `json:"mttd_diff,omitempty"`
	MttaDiff         *float32      `json:"mtta_diff,omitempty"`
	MttmDiff         *float32      `json:"mttm_diff,omitempty"`
	MttrDiff         *float32      `json:"mttr_diff,omitempty"`
	MttdPercentDiff  *float32      `json:"mttd_percent_diff,omitempty"`
	MttaPercentDiff  *float32      `json:"mtta_percent_diff,omitempty"`
	MttmPercentDiff  *float32      `json:"mttm_percent_diff,omitempty"`
	MttrPercentDiff  *float32      `json:"mttr_percent_diff,omitempty"`
	Healthiness      *float32      `json:"healthiness,omitempty"`
}

func (*MetricsMttxGroupEntity) GetCount ¶

func (m *MetricsMttxGroupEntity) GetCount() *int

func (*MetricsMttxGroupEntity) GetCountDiff ¶

func (m *MetricsMttxGroupEntity) GetCountDiff() *int

func (*MetricsMttxGroupEntity) GetCountPercentDiff ¶

func (m *MetricsMttxGroupEntity) GetCountPercentDiff() *float32

func (*MetricsMttxGroupEntity) GetFilterParams ¶

func (m *MetricsMttxGroupEntity) GetFilterParams() *FilterParams

func (*MetricsMttxGroupEntity) GetGroupAttributes ¶

func (m *MetricsMttxGroupEntity) GetGroupAttributes() *string

func (*MetricsMttxGroupEntity) GetHealthiness ¶

func (m *MetricsMttxGroupEntity) GetHealthiness() *float32

func (*MetricsMttxGroupEntity) GetMtta ¶

func (m *MetricsMttxGroupEntity) GetMtta() *float32

func (*MetricsMttxGroupEntity) GetMttaDiff ¶

func (m *MetricsMttxGroupEntity) GetMttaDiff() *float32

func (*MetricsMttxGroupEntity) GetMttaPercentDiff ¶

func (m *MetricsMttxGroupEntity) GetMttaPercentDiff() *float32

func (*MetricsMttxGroupEntity) GetMttd ¶

func (m *MetricsMttxGroupEntity) GetMttd() *float32

func (*MetricsMttxGroupEntity) GetMttdDiff ¶

func (m *MetricsMttxGroupEntity) GetMttdDiff() *float32

func (*MetricsMttxGroupEntity) GetMttdPercentDiff ¶

func (m *MetricsMttxGroupEntity) GetMttdPercentDiff() *float32

func (*MetricsMttxGroupEntity) GetMttm ¶

func (m *MetricsMttxGroupEntity) GetMttm() *float32

func (*MetricsMttxGroupEntity) GetMttmDiff ¶

func (m *MetricsMttxGroupEntity) GetMttmDiff() *float32

func (*MetricsMttxGroupEntity) GetMttmPercentDiff ¶

func (m *MetricsMttxGroupEntity) GetMttmPercentDiff() *float32

func (*MetricsMttxGroupEntity) GetMttr ¶

func (m *MetricsMttxGroupEntity) GetMttr() *float32

func (*MetricsMttxGroupEntity) GetMttrDiff ¶

func (m *MetricsMttxGroupEntity) GetMttrDiff() *float32

func (*MetricsMttxGroupEntity) GetMttrPercentDiff ¶

func (m *MetricsMttxGroupEntity) GetMttrPercentDiff() *float32

type MetricsRetrospectiveEntity ¶

type MetricsRetrospectiveEntity struct {
	Data    []MetricsRetrospectiveEntityDataEntity           `json:"data,omitempty"`
	Summary *NullableMetricsRetrospectiveEntitySummaryEntity `json:"summary,omitempty"`
}

MetricsRetrospectiveEntity - Metrics_RetrospectiveEntity model

func (*MetricsRetrospectiveEntity) GetData ¶

func (*MetricsRetrospectiveEntity) GetSummary ¶

type MetricsRetrospectiveEntityDataEntity ¶

type MetricsRetrospectiveEntityDataEntity struct {
	X *string  `json:"x,omitempty"`
	Y *float32 `json:"y,omitempty"`
}

func (*MetricsRetrospectiveEntityDataEntity) GetX ¶

func (*MetricsRetrospectiveEntityDataEntity) GetY ¶

type MetricsTicketFunnelMetricsEntity ¶

type MetricsTicketFunnelMetricsEntity struct {
	Data      []MetricsTicketFunnelMetricsEntityDataBucketEntity       `json:"data,omitempty"`
	Groupings *NullableMetricsTicketFunnelMetricsEntityGroupingsEntity `json:"groupings,omitempty"`
}

MetricsTicketFunnelMetricsEntity - Metrics_TicketFunnelMetricsEntity model

func (*MetricsTicketFunnelMetricsEntity) GetData ¶

func (*MetricsTicketFunnelMetricsEntity) GetGroupings ¶

type MetricsTicketFunnelMetricsEntityDataBucketEntity ¶

type MetricsTicketFunnelMetricsEntityDataBucketEntity struct {
	// The start datetime for the period
	TimeBucket   *time.Time                                                            `json:"time_bucket,omitempty"`
	FilterParams *NullableMetricsTicketFunnelMetricsEntityDataBucketFilterParamsEntity `json:"filter_params,omitempty"`
	// The number of tasks created
	TasksCreated *int `json:"tasks_created,omitempty"`
	// The number of tasks completed
	TasksDone *int `json:"tasks_done,omitempty"`
	// The number of follow ups created
	FollowUpsCreated *int `json:"follow_ups_created,omitempty"`
	// The number of follow ups completed
	FollowUpsDone *int `json:"follow_ups_done,omitempty"`
}

func (*MetricsTicketFunnelMetricsEntityDataBucketEntity) GetFilterParams ¶

func (*MetricsTicketFunnelMetricsEntityDataBucketEntity) GetFollowUpsCreated ¶

func (m *MetricsTicketFunnelMetricsEntityDataBucketEntity) GetFollowUpsCreated() *int

func (*MetricsTicketFunnelMetricsEntityDataBucketEntity) GetFollowUpsDone ¶

func (*MetricsTicketFunnelMetricsEntityDataBucketEntity) GetTasksCreated ¶

func (*MetricsTicketFunnelMetricsEntityDataBucketEntity) GetTasksDone ¶

func (*MetricsTicketFunnelMetricsEntityDataBucketEntity) GetTimeBucket ¶

func (MetricsTicketFunnelMetricsEntityDataBucketEntity) MarshalJSON ¶

func (*MetricsTicketFunnelMetricsEntityDataBucketEntity) UnmarshalJSON ¶

type MilestoneMapping ¶

type MilestoneMapping struct {
	// FireHydrant milestone id
	MilestoneID string `json:"milestone_id"`
	// Statuspage.io status
	Status UpdateStatuspageConnectionStatus `json:"status"`
}

func (*MilestoneMapping) GetMilestoneID ¶

func (m *MilestoneMapping) GetMilestoneID() string

func (*MilestoneMapping) GetStatus ¶

type NotificationGroupMethod ¶

type NotificationGroupMethod string
const (
	NotificationGroupMethodAny        NotificationGroupMethod = "any"
	NotificationGroupMethodPush       NotificationGroupMethod = "push"
	NotificationGroupMethodEmail      NotificationGroupMethod = "email"
	NotificationGroupMethodVoice      NotificationGroupMethod = "voice"
	NotificationGroupMethodMobileText NotificationGroupMethod = "mobile_text"
	NotificationGroupMethodChat       NotificationGroupMethod = "chat"
)

func (NotificationGroupMethod) ToPointer ¶

func (*NotificationGroupMethod) UnmarshalJSON ¶

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

type NullableActorEntity ¶

type NullableActorEntity struct {
	ID    *string                  `json:"id,omitempty"`
	Name  *string                  `json:"name,omitempty"`
	Email *string                  `json:"email,omitempty"`
	Type  *NullableActorEntityType `json:"type,omitempty"`
}

func (*NullableActorEntity) GetEmail ¶

func (n *NullableActorEntity) GetEmail() *string

func (*NullableActorEntity) GetID ¶

func (n *NullableActorEntity) GetID() *string

func (*NullableActorEntity) GetName ¶

func (n *NullableActorEntity) GetName() *string

func (*NullableActorEntity) GetType ¶

type NullableActorEntityType ¶

type NullableActorEntityType string
const (
	NullableActorEntityTypeFirehydrantUser  NullableActorEntityType = "firehydrant_user"
	NullableActorEntityTypeFirehydrantBot   NullableActorEntityType = "firehydrant_bot"
	NullableActorEntityTypeAlertmanager     NullableActorEntityType = "alertmanager"
	NullableActorEntityTypeAsana            NullableActorEntityType = "asana"
	NullableActorEntityTypeAws              NullableActorEntityType = "aws"
	NullableActorEntityTypeBugsnag          NullableActorEntityType = "bugsnag"
	NullableActorEntityTypeCheckly          NullableActorEntityType = "checkly"
	NullableActorEntityTypeCustomAlerts     NullableActorEntityType = "custom_alerts"
	NullableActorEntityTypeDatadog          NullableActorEntityType = "datadog"
	NullableActorEntityTypeShortcut         NullableActorEntityType = "shortcut"
	NullableActorEntityTypeNewRelic         NullableActorEntityType = "new_relic"
	NullableActorEntityTypeNunc             NullableActorEntityType = "nunc"
	NullableActorEntityTypeGithub           NullableActorEntityType = "github"
	NullableActorEntityTypeGiphy            NullableActorEntityType = "giphy"
	NullableActorEntityTypeGoogleMeet       NullableActorEntityType = "google_meet"
	NullableActorEntityTypeGoogleCalendar   NullableActorEntityType = "google_calendar"
	NullableActorEntityTypeMicrosoftTeams   NullableActorEntityType = "microsoft_teams"
	NullableActorEntityTypeMicrosoftTeamsV2 NullableActorEntityType = "microsoft_teams_v2"
	NullableActorEntityTypeWebex            NullableActorEntityType = "webex"
	NullableActorEntityTypeJiraCloud        NullableActorEntityType = "jira_cloud"
	NullableActorEntityTypeJiraOnprem       NullableActorEntityType = "jira_onprem"
	NullableActorEntityTypeOpsgenie         NullableActorEntityType = "opsgenie"
	NullableActorEntityTypePagerDuty        NullableActorEntityType = "pager_duty"
	NullableActorEntityTypeHoneycomb        NullableActorEntityType = "honeycomb"
	NullableActorEntityTypePatchy           NullableActorEntityType = "patchy"
	NullableActorEntityTypeServiceNow       NullableActorEntityType = "service_now"
	NullableActorEntityTypeSignals          NullableActorEntityType = "signals"
	NullableActorEntityTypeSlack            NullableActorEntityType = "slack"
	NullableActorEntityTypeStatuspage       NullableActorEntityType = "statuspage"
	NullableActorEntityTypeVictorops        NullableActorEntityType = "victorops"
	NullableActorEntityTypeZendesk          NullableActorEntityType = "zendesk"
	NullableActorEntityTypeZoom             NullableActorEntityType = "zoom"
	NullableActorEntityTypeConfluenceCloud  NullableActorEntityType = "confluence_cloud"
	NullableActorEntityTypeGoogleDocs       NullableActorEntityType = "google_docs"
	NullableActorEntityTypeZoomV2           NullableActorEntityType = "zoom_v2"
	NullableActorEntityTypeLinear           NullableActorEntityType = "linear"
	NullableActorEntityTypeCortex           NullableActorEntityType = "cortex"
)

func (NullableActorEntityType) ToPointer ¶

func (*NullableActorEntityType) UnmarshalJSON ¶

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

type NullableAlertsAlertEntity ¶

type NullableAlertsAlertEntity struct {
	ID              *string    `json:"id,omitempty"`
	Summary         *string    `json:"summary,omitempty"`
	Description     *string    `json:"description,omitempty"`
	Priority        *string    `json:"priority,omitempty"`
	IntegrationName *string    `json:"integration_name,omitempty"`
	StartsAt        *time.Time `json:"starts_at,omitempty"`
	EndsAt          *time.Time `json:"ends_at,omitempty"`
	DurationMs      *int       `json:"duration_ms,omitempty"`
	DurationIso8601 *string    `json:"duration_iso8601,omitempty"`
	Status          *string    `json:"status,omitempty"`
	RemoteID        *string    `json:"remote_id,omitempty"`
	RemoteURL       *string    `json:"remote_url,omitempty"`
	// Arbitrary key:value pairs of labels.
	Labels        *NullableAlertsAlertEntityLabels     `json:"labels,omitempty"`
	Environments  []SuccinctEntity                     `json:"environments,omitempty"`
	Services      []SuccinctEntity                     `json:"services,omitempty"`
	Tags          []string                             `json:"tags,omitempty"`
	SourceIcon    *string                              `json:"source_icon,omitempty"`
	SignalID      *string                              `json:"signal_id,omitempty"`
	SignalRule    *NullableSignalsAPIRuleEntity        `json:"signal_rule,omitempty"`
	SignalTarget  *NullableSignalsAPITargetEntity      `json:"signal_target,omitempty"`
	TeamName      *string                              `json:"team_name,omitempty"`
	TeamID        *string                              `json:"team_id,omitempty"`
	Position      *int                                 `json:"position,omitempty"`
	Incidents     []PublicAPIV1IncidentsSuccinctEntity `json:"incidents,omitempty"`
	Events        []AlertsSirenEventEntity             `json:"events,omitempty"`
	IsExpired     *bool                                `json:"is_expired,omitempty"`
	IsNoise       *bool                                `json:"is_noise,omitempty"`
	ParentAlerts  []AlertsSirenAlertEntity             `json:"parent_alerts,omitempty"`
	ChildAlerts   []AlertsSirenAlertEntity             `json:"child_alerts,omitempty"`
	Conversations []ConversationsAPIEntitiesReference  `json:"conversations,omitempty"`
}

NullableAlertsAlertEntity - Alerts_AlertEntity model

func (*NullableAlertsAlertEntity) GetChildAlerts ¶

func (n *NullableAlertsAlertEntity) GetChildAlerts() []AlertsSirenAlertEntity

func (*NullableAlertsAlertEntity) GetConversations ¶

func (*NullableAlertsAlertEntity) GetDescription ¶

func (n *NullableAlertsAlertEntity) GetDescription() *string

func (*NullableAlertsAlertEntity) GetDurationIso8601 ¶

func (n *NullableAlertsAlertEntity) GetDurationIso8601() *string

func (*NullableAlertsAlertEntity) GetDurationMs ¶

func (n *NullableAlertsAlertEntity) GetDurationMs() *int

func (*NullableAlertsAlertEntity) GetEndsAt ¶

func (n *NullableAlertsAlertEntity) GetEndsAt() *time.Time

func (*NullableAlertsAlertEntity) GetEnvironments ¶

func (n *NullableAlertsAlertEntity) GetEnvironments() []SuccinctEntity

func (*NullableAlertsAlertEntity) GetEvents ¶

func (*NullableAlertsAlertEntity) GetID ¶

func (n *NullableAlertsAlertEntity) GetID() *string

func (*NullableAlertsAlertEntity) GetIncidents ¶

func (*NullableAlertsAlertEntity) GetIntegrationName ¶

func (n *NullableAlertsAlertEntity) GetIntegrationName() *string

func (*NullableAlertsAlertEntity) GetIsExpired ¶

func (n *NullableAlertsAlertEntity) GetIsExpired() *bool

func (*NullableAlertsAlertEntity) GetIsNoise ¶

func (n *NullableAlertsAlertEntity) GetIsNoise() *bool

func (*NullableAlertsAlertEntity) GetLabels ¶

func (*NullableAlertsAlertEntity) GetParentAlerts ¶

func (n *NullableAlertsAlertEntity) GetParentAlerts() []AlertsSirenAlertEntity

func (*NullableAlertsAlertEntity) GetPosition ¶

func (n *NullableAlertsAlertEntity) GetPosition() *int

func (*NullableAlertsAlertEntity) GetPriority ¶

func (n *NullableAlertsAlertEntity) GetPriority() *string

func (*NullableAlertsAlertEntity) GetRemoteID ¶

func (n *NullableAlertsAlertEntity) GetRemoteID() *string

func (*NullableAlertsAlertEntity) GetRemoteURL ¶

func (n *NullableAlertsAlertEntity) GetRemoteURL() *string

func (*NullableAlertsAlertEntity) GetServices ¶

func (n *NullableAlertsAlertEntity) GetServices() []SuccinctEntity

func (*NullableAlertsAlertEntity) GetSignalID ¶

func (n *NullableAlertsAlertEntity) GetSignalID() *string

func (*NullableAlertsAlertEntity) GetSignalRule ¶

func (*NullableAlertsAlertEntity) GetSignalTarget ¶

func (*NullableAlertsAlertEntity) GetSourceIcon ¶

func (n *NullableAlertsAlertEntity) GetSourceIcon() *string

func (*NullableAlertsAlertEntity) GetStartsAt ¶

func (n *NullableAlertsAlertEntity) GetStartsAt() *time.Time

func (*NullableAlertsAlertEntity) GetStatus ¶

func (n *NullableAlertsAlertEntity) GetStatus() *string

func (*NullableAlertsAlertEntity) GetSummary ¶

func (n *NullableAlertsAlertEntity) GetSummary() *string

func (*NullableAlertsAlertEntity) GetTags ¶

func (n *NullableAlertsAlertEntity) GetTags() []string

func (*NullableAlertsAlertEntity) GetTeamID ¶

func (n *NullableAlertsAlertEntity) GetTeamID() *string

func (*NullableAlertsAlertEntity) GetTeamName ¶

func (n *NullableAlertsAlertEntity) GetTeamName() *string

func (NullableAlertsAlertEntity) MarshalJSON ¶

func (n NullableAlertsAlertEntity) MarshalJSON() ([]byte, error)

func (*NullableAlertsAlertEntity) UnmarshalJSON ¶

func (n *NullableAlertsAlertEntity) UnmarshalJSON(data []byte) error

type NullableAlertsAlertEntityLabels ¶

type NullableAlertsAlertEntityLabels struct {
}

NullableAlertsAlertEntityLabels - Arbitrary key:value pairs of labels.

type NullableAttachmentsLinkEntity ¶

type NullableAttachmentsLinkEntity struct {
	ID          *string `json:"id,omitempty"`
	Type        *string `json:"type,omitempty"`
	DisplayText *string `json:"display_text,omitempty"`
	HrefURL     *string `json:"href_url,omitempty"`
	IconURL     *string `json:"icon_url,omitempty"`
	// Link can be edited
	Editable *bool `json:"editable,omitempty"`
	// Link can be deleted
	Deletable *bool `json:"deletable,omitempty"`
}

NullableAttachmentsLinkEntity - Attachments_LinkEntity model

func (*NullableAttachmentsLinkEntity) GetDeletable ¶

func (n *NullableAttachmentsLinkEntity) GetDeletable() *bool

func (*NullableAttachmentsLinkEntity) GetDisplayText ¶

func (n *NullableAttachmentsLinkEntity) GetDisplayText() *string

func (*NullableAttachmentsLinkEntity) GetEditable ¶

func (n *NullableAttachmentsLinkEntity) GetEditable() *bool

func (*NullableAttachmentsLinkEntity) GetHrefURL ¶

func (n *NullableAttachmentsLinkEntity) GetHrefURL() *string

func (*NullableAttachmentsLinkEntity) GetID ¶

func (*NullableAttachmentsLinkEntity) GetIconURL ¶

func (n *NullableAttachmentsLinkEntity) GetIconURL() *string

func (*NullableAttachmentsLinkEntity) GetType ¶

func (n *NullableAttachmentsLinkEntity) GetType() *string

type NullableAuthorEntity ¶

type NullableAuthorEntity struct {
	ID     *string `json:"id,omitempty"`
	Name   *string `json:"name,omitempty"`
	Source *string `json:"source,omitempty"`
	Email  *string `json:"email,omitempty"`
}

func (*NullableAuthorEntity) GetEmail ¶

func (n *NullableAuthorEntity) GetEmail() *string

func (*NullableAuthorEntity) GetID ¶

func (n *NullableAuthorEntity) GetID() *string

func (*NullableAuthorEntity) GetName ¶

func (n *NullableAuthorEntity) GetName() *string

func (*NullableAuthorEntity) GetSource ¶

func (n *NullableAuthorEntity) GetSource() *string

type NullableCalendarsEventEntity ¶

type NullableCalendarsEventEntity struct {
	ID              *string `json:"id,omitempty"`
	Summary         *string `json:"summary,omitempty"`
	Description     *string `json:"description,omitempty"`
	StartsAt        *string `json:"starts_at,omitempty"`
	EndsAt          *string `json:"ends_at,omitempty"`
	CreatedAt       *string `json:"created_at,omitempty"`
	UpdatedAt       *string `json:"updated_at,omitempty"`
	ProviderURL     *string `json:"provider_url,omitempty"`
	ProviderIconURL *string `json:"provider_icon_url,omitempty"`
}

func (*NullableCalendarsEventEntity) GetCreatedAt ¶

func (n *NullableCalendarsEventEntity) GetCreatedAt() *string

func (*NullableCalendarsEventEntity) GetDescription ¶

func (n *NullableCalendarsEventEntity) GetDescription() *string

func (*NullableCalendarsEventEntity) GetEndsAt ¶

func (n *NullableCalendarsEventEntity) GetEndsAt() *string

func (*NullableCalendarsEventEntity) GetID ¶

func (*NullableCalendarsEventEntity) GetProviderIconURL ¶

func (n *NullableCalendarsEventEntity) GetProviderIconURL() *string

func (*NullableCalendarsEventEntity) GetProviderURL ¶

func (n *NullableCalendarsEventEntity) GetProviderURL() *string

func (*NullableCalendarsEventEntity) GetStartsAt ¶

func (n *NullableCalendarsEventEntity) GetStartsAt() *string

func (*NullableCalendarsEventEntity) GetSummary ¶

func (n *NullableCalendarsEventEntity) GetSummary() *string

func (*NullableCalendarsEventEntity) GetUpdatedAt ¶

func (n *NullableCalendarsEventEntity) GetUpdatedAt() *string

type NullableChangeEventEntity ¶

type NullableChangeEventEntity struct {
	ID              *string                  `json:"id,omitempty"`
	Summary         *string                  `json:"summary,omitempty"`
	Description     *string                  `json:"description,omitempty"`
	ExternalID      *string                  `json:"external_id,omitempty"`
	CreatedAt       *time.Time               `json:"created_at,omitempty"`
	UpdatedAt       *time.Time               `json:"updated_at,omitempty"`
	StartsAt        *time.Time               `json:"starts_at,omitempty"`
	EndsAt          *time.Time               `json:"ends_at,omitempty"`
	DurationMs      *int                     `json:"duration_ms,omitempty"`
	DurationIso8601 *string                  `json:"duration_iso8601,omitempty"`
	Environments    []EnvironmentEntryEntity `json:"environments,omitempty"`
	RelatedChanges  []ChangeEntity           `json:"related_changes,omitempty"`
	Identities      []ChangeIdentityEntity   `json:"identities,omitempty"`
	Authors         []AuthorEntity           `json:"authors,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	Attachments []NullableChangeEventEntityAttachment `json:"attachments,omitempty"`
	// An object of label key and values
	Labels   *NullableChangeEventEntityLabels `json:"labels,omitempty"`
	Services []ServiceEntityLite              `json:"services,omitempty"`
}

NullableChangeEventEntity - ChangeEventEntity model

func (*NullableChangeEventEntity) GetAttachments ¶

func (*NullableChangeEventEntity) GetAuthors ¶

func (n *NullableChangeEventEntity) GetAuthors() []AuthorEntity

func (*NullableChangeEventEntity) GetCreatedAt ¶

func (n *NullableChangeEventEntity) GetCreatedAt() *time.Time

func (*NullableChangeEventEntity) GetDescription ¶

func (n *NullableChangeEventEntity) GetDescription() *string

func (*NullableChangeEventEntity) GetDurationIso8601 ¶

func (n *NullableChangeEventEntity) GetDurationIso8601() *string

func (*NullableChangeEventEntity) GetDurationMs ¶

func (n *NullableChangeEventEntity) GetDurationMs() *int

func (*NullableChangeEventEntity) GetEndsAt ¶

func (n *NullableChangeEventEntity) GetEndsAt() *time.Time

func (*NullableChangeEventEntity) GetEnvironments ¶

func (n *NullableChangeEventEntity) GetEnvironments() []EnvironmentEntryEntity

func (*NullableChangeEventEntity) GetExternalID ¶

func (n *NullableChangeEventEntity) GetExternalID() *string

func (*NullableChangeEventEntity) GetID ¶

func (n *NullableChangeEventEntity) GetID() *string

func (*NullableChangeEventEntity) GetIdentities ¶

func (n *NullableChangeEventEntity) GetIdentities() []ChangeIdentityEntity

func (*NullableChangeEventEntity) GetLabels ¶

func (*NullableChangeEventEntity) GetRelatedChanges ¶

func (n *NullableChangeEventEntity) GetRelatedChanges() []ChangeEntity

func (*NullableChangeEventEntity) GetServices ¶

func (n *NullableChangeEventEntity) GetServices() []ServiceEntityLite

func (*NullableChangeEventEntity) GetStartsAt ¶

func (n *NullableChangeEventEntity) GetStartsAt() *time.Time

func (*NullableChangeEventEntity) GetSummary ¶

func (n *NullableChangeEventEntity) GetSummary() *string

func (*NullableChangeEventEntity) GetUpdatedAt ¶

func (n *NullableChangeEventEntity) GetUpdatedAt() *time.Time

func (NullableChangeEventEntity) MarshalJSON ¶

func (n NullableChangeEventEntity) MarshalJSON() ([]byte, error)

func (*NullableChangeEventEntity) UnmarshalJSON ¶

func (n *NullableChangeEventEntity) UnmarshalJSON(data []byte) error

type NullableChangeEventEntityAttachment ¶

type NullableChangeEventEntityAttachment struct {
}

type NullableChangeEventEntityLabels ¶

type NullableChangeEventEntityLabels struct {
}

NullableChangeEventEntityLabels - An object of label key and values

type NullableConversationsAPIEntitiesChannel ¶

type NullableConversationsAPIEntitiesChannel struct {
	Name *string `json:"name,omitempty"`
}

func (*NullableConversationsAPIEntitiesChannel) GetName ¶

type NullableEmptyVotesEntity ¶

type NullableEmptyVotesEntity struct {
	// Whether or not the current actor has voted
	Voted *bool `json:"voted,omitempty"`
	// Whether or not the current actor has voted positively
	Liked *bool `json:"liked,omitempty"`
	// Whether or not the current actor has voted negatively
	Disliked *bool `json:"disliked,omitempty"`
	Likes    *int  `json:"likes,omitempty"`
	Dislikes *int  `json:"dislikes,omitempty"`
}

func (*NullableEmptyVotesEntity) GetDisliked ¶

func (n *NullableEmptyVotesEntity) GetDisliked() *bool

func (*NullableEmptyVotesEntity) GetDislikes ¶

func (n *NullableEmptyVotesEntity) GetDislikes() *int

func (*NullableEmptyVotesEntity) GetLiked ¶

func (n *NullableEmptyVotesEntity) GetLiked() *bool

func (*NullableEmptyVotesEntity) GetLikes ¶

func (n *NullableEmptyVotesEntity) GetLikes() *int

func (*NullableEmptyVotesEntity) GetVoted ¶

func (n *NullableEmptyVotesEntity) GetVoted() *bool

type NullableEventNoteEntity ¶

type NullableEventNoteEntity struct {
	ID            *string                             `json:"id,omitempty"`
	Body          *string                             `json:"body,omitempty"`
	CreatedAt     *time.Time                          `json:"created_at,omitempty"`
	StatusPages   []IncidentsStatusPageEntity         `json:"status_pages,omitempty"`
	Conversations []ConversationsAPIEntitiesReference `json:"conversations,omitempty"`
}

NullableEventNoteEntity - Event_NoteEntity model

func (*NullableEventNoteEntity) GetBody ¶

func (n *NullableEventNoteEntity) GetBody() *string

func (*NullableEventNoteEntity) GetConversations ¶

func (*NullableEventNoteEntity) GetCreatedAt ¶

func (n *NullableEventNoteEntity) GetCreatedAt() *time.Time

func (*NullableEventNoteEntity) GetID ¶

func (n *NullableEventNoteEntity) GetID() *string

func (*NullableEventNoteEntity) GetStatusPages ¶

func (n *NullableEventNoteEntity) GetStatusPages() []IncidentsStatusPageEntity

func (NullableEventNoteEntity) MarshalJSON ¶

func (n NullableEventNoteEntity) MarshalJSON() ([]byte, error)

func (*NullableEventNoteEntity) UnmarshalJSON ¶

func (n *NullableEventNoteEntity) UnmarshalJSON(data []byte) error

type NullableExternalResourceEntity ¶

type NullableExternalResourceEntity struct {
	ConnectionType           *string    `json:"connection_type,omitempty"`
	ConnectionName           *string    `json:"connection_name,omitempty"`
	ConnectionFullFaviconURL *string    `json:"connection_full_favicon_url,omitempty"`
	ConnectionID             *string    `json:"connection_id,omitempty"`
	RemoteID                 *string    `json:"remote_id,omitempty"`
	RemoteURL                *string    `json:"remote_url,omitempty"`
	CreatedAt                *time.Time `json:"created_at,omitempty"`
	UpdatedAt                *time.Time `json:"updated_at,omitempty"`
	Name                     *string    `json:"name,omitempty"`
}

func (*NullableExternalResourceEntity) GetConnectionFullFaviconURL ¶

func (n *NullableExternalResourceEntity) GetConnectionFullFaviconURL() *string

func (*NullableExternalResourceEntity) GetConnectionID ¶

func (n *NullableExternalResourceEntity) GetConnectionID() *string

func (*NullableExternalResourceEntity) GetConnectionName ¶

func (n *NullableExternalResourceEntity) GetConnectionName() *string

func (*NullableExternalResourceEntity) GetConnectionType ¶

func (n *NullableExternalResourceEntity) GetConnectionType() *string

func (*NullableExternalResourceEntity) GetCreatedAt ¶

func (n *NullableExternalResourceEntity) GetCreatedAt() *time.Time

func (*NullableExternalResourceEntity) GetName ¶

func (n *NullableExternalResourceEntity) GetName() *string

func (*NullableExternalResourceEntity) GetRemoteID ¶

func (n *NullableExternalResourceEntity) GetRemoteID() *string

func (*NullableExternalResourceEntity) GetRemoteURL ¶

func (n *NullableExternalResourceEntity) GetRemoteURL() *string

func (*NullableExternalResourceEntity) GetUpdatedAt ¶

func (n *NullableExternalResourceEntity) GetUpdatedAt() *time.Time

func (NullableExternalResourceEntity) MarshalJSON ¶

func (n NullableExternalResourceEntity) MarshalJSON() ([]byte, error)

func (*NullableExternalResourceEntity) UnmarshalJSON ¶

func (n *NullableExternalResourceEntity) UnmarshalJSON(data []byte) error

type NullableFHTypesGenericEntity ¶

type NullableFHTypesGenericEntity struct {
	Type  *string `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
	Label *string `json:"label,omitempty"`
}

func (*NullableFHTypesGenericEntity) GetLabel ¶

func (n *NullableFHTypesGenericEntity) GetLabel() *string

func (*NullableFHTypesGenericEntity) GetType ¶

func (n *NullableFHTypesGenericEntity) GetType() *string

func (*NullableFHTypesGenericEntity) GetValue ¶

func (n *NullableFHTypesGenericEntity) GetValue() *string

type NullableImportsImportErrorEntityResourceEntity ¶

type NullableImportsImportErrorEntityResourceEntity struct {
	ResourceID   *string `json:"resource_id,omitempty"`
	ResourceType *string `json:"resource_type,omitempty"`
	Name         *string `json:"name,omitempty"`
}

func (*NullableImportsImportErrorEntityResourceEntity) GetName ¶

func (*NullableImportsImportErrorEntityResourceEntity) GetResourceID ¶

func (*NullableImportsImportErrorEntityResourceEntity) GetResourceType ¶

type NullableImportsImportableResourceEntity ¶

type NullableImportsImportableResourceEntity struct {
	ImportErrors []ImportsImportErrorEntity                    `json:"import_errors,omitempty"`
	ImportedAt   *time.Time                                    `json:"imported_at,omitempty"`
	RemoteID     *string                                       `json:"remote_id,omitempty"`
	State        *NullableImportsImportableResourceEntityState `json:"state,omitempty"`
}

func (*NullableImportsImportableResourceEntity) GetImportErrors ¶

func (*NullableImportsImportableResourceEntity) GetImportedAt ¶

func (*NullableImportsImportableResourceEntity) GetRemoteID ¶

func (*NullableImportsImportableResourceEntity) GetState ¶

func (NullableImportsImportableResourceEntity) MarshalJSON ¶

func (n NullableImportsImportableResourceEntity) MarshalJSON() ([]byte, error)

func (*NullableImportsImportableResourceEntity) UnmarshalJSON ¶

func (n *NullableImportsImportableResourceEntity) UnmarshalJSON(data []byte) error

type NullableImportsImportableResourceEntityState ¶

type NullableImportsImportableResourceEntityState string
const (
	NullableImportsImportableResourceEntityStateSelected NullableImportsImportableResourceEntityState = "selected"
	NullableImportsImportableResourceEntityStateSkipped  NullableImportsImportableResourceEntityState = "skipped"
	NullableImportsImportableResourceEntityStateImported NullableImportsImportableResourceEntityState = "imported"
	NullableImportsImportableResourceEntityStateErrored  NullableImportsImportableResourceEntityState = "errored"
)

func (NullableImportsImportableResourceEntityState) ToPointer ¶

func (*NullableImportsImportableResourceEntityState) UnmarshalJSON ¶

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

type NullableIncidentEntity ¶

type NullableIncidentEntity struct {
	// UUID of the Incident
	ID *string `json:"id,omitempty"`
	// Name of the incident
	Name *string `json:"name,omitempty"`
	// The time the incident was opened
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The time the incident started
	StartedAt *time.Time `json:"started_at,omitempty"`
	// The time the incident was archived
	DiscardedAt           *time.Time `json:"discarded_at,omitempty"`
	Summary               *string    `json:"summary,omitempty"`
	CustomerImpactSummary *string    `json:"customer_impact_summary,omitempty"`
	Description           *string    `json:"description,omitempty"`
	// The type/slug of the current milestone. Will be one of the currently configured milestones for the given incident.
	CurrentMilestone *string `json:"current_milestone,omitempty"`
	// Incident number
	Number                  *int                                   `json:"number,omitempty"`
	Priority                *string                                `json:"priority,omitempty"`
	Severity                *string                                `json:"severity,omitempty"`
	SeverityColor           *string                                `json:"severity_color,omitempty"`
	SeverityImpact          *string                                `json:"severity_impact,omitempty"`
	SeverityCondition       *string                                `json:"severity_condition,omitempty"`
	TagList                 []string                               `json:"tag_list,omitempty"`
	IncidentType            *NullableSuccinctEntity                `json:"incident_type,omitempty"`
	SeverityImpactObject    *NullableSeverityMatrixImpactEntity    `json:"severity_impact_object,omitempty"`
	SeverityConditionObject *NullableSeverityMatrixConditionEntity `json:"severity_condition_object,omitempty"`
	PrivateID               *string                                `json:"private_id,omitempty"`
	OrganizationID          *string                                `json:"organization_id,omitempty"`
	// DEPRECATED: Please use lifecycle phases instead
	Milestones            []IncidentsMilestoneEntity            `json:"milestones,omitempty"`
	LifecyclePhases       []IncidentsLifecyclePhaseEntity       `json:"lifecycle_phases,omitempty"`
	LifecycleMeasurements []IncidentsLifecycleMeasurementEntity `json:"lifecycle_measurements,omitempty"`
	Active                *bool                                 `json:"active,omitempty"`
	// A key/value of labels
	Labels               *NullableIncidentEntityLabels   `json:"labels,omitempty"`
	RoleAssignments      []IncidentsRoleAssignmentEntity `json:"role_assignments,omitempty"`
	StatusPages          []IncidentsStatusPageEntity     `json:"status_pages,omitempty"`
	IncidentURL          *string                         `json:"incident_url,omitempty"`
	PrivateStatusPageURL *string                         `json:"private_status_page_url,omitempty"`
	Organization         *NullableOrganizationEntity     `json:"organization,omitempty"`
	CustomersImpacted    *int                            `json:"customers_impacted,omitempty"`
	MonetaryImpact       *int                            `json:"monetary_impact,omitempty"`
	MonetaryImpactCents  *int                            `json:"monetary_impact_cents,omitempty"`
	LastUpdate           *string                         `json:"last_update,omitempty"`
	LastNote             *NullableEventNoteEntity        `json:"last_note,omitempty"`
	ReportID             *string                         `json:"report_id,omitempty"`
	AiIncidentSummary    *string                         `json:"ai_incident_summary,omitempty"`
	Services             []SuccinctEntity                `json:"services,omitempty"`
	Environments         []SuccinctEntity                `json:"environments,omitempty"`
	Functionalities      []SuccinctEntity                `json:"functionalities,omitempty"`
	ChannelName          *string                         `json:"channel_name,omitempty"`
	ChannelReference     *string                         `json:"channel_reference,omitempty"`
	ChannelID            *string                         `json:"channel_id,omitempty"`
	// inoperative: 0, operational: 1, archived: 2
	ChannelStatus     *string                           `json:"channel_status,omitempty"`
	IncidentTickets   []TicketingTicketEntity           `json:"incident_tickets,omitempty"`
	Ticket            *NullableTicketingTicketEntity    `json:"ticket,omitempty"`
	Impacts           []IncidentsImpactEntity           `json:"impacts,omitempty"`
	ConferenceBridges []IncidentsConferenceBridgeEntity `json:"conference_bridges,omitempty"`
	IncidentChannels  []IncidentsChannelEntity          `json:"incident_channels,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	RetroExports      []NullableIncidentEntityRetroExport    `json:"retro_exports,omitempty"`
	CreatedBy         *NullableAuthorEntity                  `json:"created_by,omitempty"`
	ContextObject     *NullableIncidentsContextObjectEntity  `json:"context_object,omitempty"`
	TeamAssignments   []IncidentsTeamAssignmentEntityLite    `json:"team_assignments,omitempty"`
	Conversations     []ConversationsAPIEntitiesReference    `json:"conversations,omitempty"`
	CustomFields      []CustomFieldsFieldValue               `json:"custom_fields,omitempty"`
	FieldRequirements []IncidentEntityFieldRequirementEntity `json:"field_requirements,omitempty"`
}

NullableIncidentEntity - IncidentEntity model

func (*NullableIncidentEntity) GetActive ¶

func (n *NullableIncidentEntity) GetActive() *bool

func (*NullableIncidentEntity) GetAiIncidentSummary ¶

func (n *NullableIncidentEntity) GetAiIncidentSummary() *string

func (*NullableIncidentEntity) GetChannelID ¶

func (n *NullableIncidentEntity) GetChannelID() *string

func (*NullableIncidentEntity) GetChannelName ¶

func (n *NullableIncidentEntity) GetChannelName() *string

func (*NullableIncidentEntity) GetChannelReference ¶

func (n *NullableIncidentEntity) GetChannelReference() *string

func (*NullableIncidentEntity) GetChannelStatus ¶

func (n *NullableIncidentEntity) GetChannelStatus() *string

func (*NullableIncidentEntity) GetConferenceBridges ¶

func (n *NullableIncidentEntity) GetConferenceBridges() []IncidentsConferenceBridgeEntity

func (*NullableIncidentEntity) GetContextObject ¶

func (*NullableIncidentEntity) GetConversations ¶

func (*NullableIncidentEntity) GetCreatedAt ¶

func (n *NullableIncidentEntity) GetCreatedAt() *time.Time

func (*NullableIncidentEntity) GetCreatedBy ¶

func (n *NullableIncidentEntity) GetCreatedBy() *NullableAuthorEntity

func (*NullableIncidentEntity) GetCurrentMilestone ¶

func (n *NullableIncidentEntity) GetCurrentMilestone() *string

func (*NullableIncidentEntity) GetCustomFields ¶

func (n *NullableIncidentEntity) GetCustomFields() []CustomFieldsFieldValue

func (*NullableIncidentEntity) GetCustomerImpactSummary ¶

func (n *NullableIncidentEntity) GetCustomerImpactSummary() *string

func (*NullableIncidentEntity) GetCustomersImpacted ¶

func (n *NullableIncidentEntity) GetCustomersImpacted() *int

func (*NullableIncidentEntity) GetDescription ¶

func (n *NullableIncidentEntity) GetDescription() *string

func (*NullableIncidentEntity) GetDiscardedAt ¶

func (n *NullableIncidentEntity) GetDiscardedAt() *time.Time

func (*NullableIncidentEntity) GetEnvironments ¶

func (n *NullableIncidentEntity) GetEnvironments() []SuccinctEntity

func (*NullableIncidentEntity) GetFieldRequirements ¶

func (*NullableIncidentEntity) GetFunctionalities ¶

func (n *NullableIncidentEntity) GetFunctionalities() []SuccinctEntity

func (*NullableIncidentEntity) GetID ¶

func (n *NullableIncidentEntity) GetID() *string

func (*NullableIncidentEntity) GetImpacts ¶

func (*NullableIncidentEntity) GetIncidentChannels ¶

func (n *NullableIncidentEntity) GetIncidentChannels() []IncidentsChannelEntity

func (*NullableIncidentEntity) GetIncidentTickets ¶

func (n *NullableIncidentEntity) GetIncidentTickets() []TicketingTicketEntity

func (*NullableIncidentEntity) GetIncidentType ¶

func (n *NullableIncidentEntity) GetIncidentType() *NullableSuccinctEntity

func (*NullableIncidentEntity) GetIncidentURL ¶

func (n *NullableIncidentEntity) GetIncidentURL() *string

func (*NullableIncidentEntity) GetLabels ¶

func (*NullableIncidentEntity) GetLastNote ¶

func (*NullableIncidentEntity) GetLastUpdate ¶

func (n *NullableIncidentEntity) GetLastUpdate() *string

func (*NullableIncidentEntity) GetLifecycleMeasurements ¶

func (n *NullableIncidentEntity) GetLifecycleMeasurements() []IncidentsLifecycleMeasurementEntity

func (*NullableIncidentEntity) GetLifecyclePhases ¶

func (n *NullableIncidentEntity) GetLifecyclePhases() []IncidentsLifecyclePhaseEntity

func (*NullableIncidentEntity) GetMilestones ¶

func (n *NullableIncidentEntity) GetMilestones() []IncidentsMilestoneEntity

func (*NullableIncidentEntity) GetMonetaryImpact ¶

func (n *NullableIncidentEntity) GetMonetaryImpact() *int

func (*NullableIncidentEntity) GetMonetaryImpactCents ¶

func (n *NullableIncidentEntity) GetMonetaryImpactCents() *int

func (*NullableIncidentEntity) GetName ¶

func (n *NullableIncidentEntity) GetName() *string

func (*NullableIncidentEntity) GetNumber ¶

func (n *NullableIncidentEntity) GetNumber() *int

func (*NullableIncidentEntity) GetOrganization ¶

func (n *NullableIncidentEntity) GetOrganization() *NullableOrganizationEntity

func (*NullableIncidentEntity) GetOrganizationID ¶

func (n *NullableIncidentEntity) GetOrganizationID() *string

func (*NullableIncidentEntity) GetPriority ¶

func (n *NullableIncidentEntity) GetPriority() *string

func (*NullableIncidentEntity) GetPrivateID ¶

func (n *NullableIncidentEntity) GetPrivateID() *string

func (*NullableIncidentEntity) GetPrivateStatusPageURL ¶

func (n *NullableIncidentEntity) GetPrivateStatusPageURL() *string

func (*NullableIncidentEntity) GetReportID ¶

func (n *NullableIncidentEntity) GetReportID() *string

func (*NullableIncidentEntity) GetRetroExports ¶

func (*NullableIncidentEntity) GetRoleAssignments ¶

func (n *NullableIncidentEntity) GetRoleAssignments() []IncidentsRoleAssignmentEntity

func (*NullableIncidentEntity) GetServices ¶

func (n *NullableIncidentEntity) GetServices() []SuccinctEntity

func (*NullableIncidentEntity) GetSeverity ¶

func (n *NullableIncidentEntity) GetSeverity() *string

func (*NullableIncidentEntity) GetSeverityColor ¶

func (n *NullableIncidentEntity) GetSeverityColor() *string

func (*NullableIncidentEntity) GetSeverityCondition ¶

func (n *NullableIncidentEntity) GetSeverityCondition() *string

func (*NullableIncidentEntity) GetSeverityConditionObject ¶

func (n *NullableIncidentEntity) GetSeverityConditionObject() *NullableSeverityMatrixConditionEntity

func (*NullableIncidentEntity) GetSeverityImpact ¶

func (n *NullableIncidentEntity) GetSeverityImpact() *string

func (*NullableIncidentEntity) GetSeverityImpactObject ¶

func (n *NullableIncidentEntity) GetSeverityImpactObject() *NullableSeverityMatrixImpactEntity

func (*NullableIncidentEntity) GetStartedAt ¶

func (n *NullableIncidentEntity) GetStartedAt() *time.Time

func (*NullableIncidentEntity) GetStatusPages ¶

func (n *NullableIncidentEntity) GetStatusPages() []IncidentsStatusPageEntity

func (*NullableIncidentEntity) GetSummary ¶

func (n *NullableIncidentEntity) GetSummary() *string

func (*NullableIncidentEntity) GetTagList ¶

func (n *NullableIncidentEntity) GetTagList() []string

func (*NullableIncidentEntity) GetTeamAssignments ¶

func (*NullableIncidentEntity) GetTicket ¶

func (NullableIncidentEntity) MarshalJSON ¶

func (n NullableIncidentEntity) MarshalJSON() ([]byte, error)

func (*NullableIncidentEntity) UnmarshalJSON ¶

func (n *NullableIncidentEntity) UnmarshalJSON(data []byte) error

type NullableIncidentEntityLabels ¶

type NullableIncidentEntityLabels struct {
}

NullableIncidentEntityLabels - A key/value of labels

type NullableIncidentEntityRetroExport ¶

type NullableIncidentEntityRetroExport struct {
}

type NullableIncidentRoleEntity ¶

type NullableIncidentRoleEntity struct {
	ID          *string    `json:"id,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Summary     *string    `json:"summary,omitempty"`
	Description *string    `json:"description,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	DiscardedAt *time.Time `json:"discarded_at,omitempty"`
}

NullableIncidentRoleEntity - IncidentRoleEntity model

func (*NullableIncidentRoleEntity) GetCreatedAt ¶

func (n *NullableIncidentRoleEntity) GetCreatedAt() *time.Time

func (*NullableIncidentRoleEntity) GetDescription ¶

func (n *NullableIncidentRoleEntity) GetDescription() *string

func (*NullableIncidentRoleEntity) GetDiscardedAt ¶

func (n *NullableIncidentRoleEntity) GetDiscardedAt() *time.Time

func (*NullableIncidentRoleEntity) GetID ¶

func (n *NullableIncidentRoleEntity) GetID() *string

func (*NullableIncidentRoleEntity) GetName ¶

func (n *NullableIncidentRoleEntity) GetName() *string

func (*NullableIncidentRoleEntity) GetSummary ¶

func (n *NullableIncidentRoleEntity) GetSummary() *string

func (*NullableIncidentRoleEntity) GetUpdatedAt ¶

func (n *NullableIncidentRoleEntity) GetUpdatedAt() *time.Time

func (NullableIncidentRoleEntity) MarshalJSON ¶

func (n NullableIncidentRoleEntity) MarshalJSON() ([]byte, error)

func (*NullableIncidentRoleEntity) UnmarshalJSON ¶

func (n *NullableIncidentRoleEntity) UnmarshalJSON(data []byte) error

type NullableIncidentTypeEntityTemplateEntity ¶

type NullableIncidentTypeEntityTemplateEntity struct {
	IncidentName          *string `json:"incident_name,omitempty"`
	Summary               *string `json:"summary,omitempty"`
	Description           *string `json:"description,omitempty"`
	CustomerImpactSummary *string `json:"customer_impact_summary,omitempty"`
	// Arbitrary key:value pairs of labels for your incidents.
	Labels          map[string]any                           `json:"labels,omitempty"`
	Severity        *string                                  `json:"severity,omitempty"`
	Priority        *string                                  `json:"priority,omitempty"`
	TagList         []string                                 `json:"tag_list,omitempty"`
	RunbookIds      []string                                 `json:"runbook_ids,omitempty"`
	TeamIds         []string                                 `json:"team_ids,omitempty"`
	PrivateIncident *bool                                    `json:"private_incident,omitempty"`
	CustomFields    *string                                  `json:"custom_fields,omitempty"`
	Impacts         []IncidentTypeEntityTemplateImpactEntity `json:"impacts,omitempty"`
}

func (*NullableIncidentTypeEntityTemplateEntity) GetCustomFields ¶

func (n *NullableIncidentTypeEntityTemplateEntity) GetCustomFields() *string

func (*NullableIncidentTypeEntityTemplateEntity) GetCustomerImpactSummary ¶

func (n *NullableIncidentTypeEntityTemplateEntity) GetCustomerImpactSummary() *string

func (*NullableIncidentTypeEntityTemplateEntity) GetDescription ¶

func (n *NullableIncidentTypeEntityTemplateEntity) GetDescription() *string

func (*NullableIncidentTypeEntityTemplateEntity) GetImpacts ¶

func (*NullableIncidentTypeEntityTemplateEntity) GetIncidentName ¶

func (n *NullableIncidentTypeEntityTemplateEntity) GetIncidentName() *string

func (*NullableIncidentTypeEntityTemplateEntity) GetLabels ¶

func (*NullableIncidentTypeEntityTemplateEntity) GetPriority ¶

func (*NullableIncidentTypeEntityTemplateEntity) GetPrivateIncident ¶

func (n *NullableIncidentTypeEntityTemplateEntity) GetPrivateIncident() *bool

func (*NullableIncidentTypeEntityTemplateEntity) GetRunbookIds ¶

func (n *NullableIncidentTypeEntityTemplateEntity) GetRunbookIds() []string

func (*NullableIncidentTypeEntityTemplateEntity) GetSeverity ¶

func (*NullableIncidentTypeEntityTemplateEntity) GetSummary ¶

func (*NullableIncidentTypeEntityTemplateEntity) GetTagList ¶

func (*NullableIncidentTypeEntityTemplateEntity) GetTeamIds ¶

type NullableIncidentTypeEntityTemplateValuesEntity ¶

type NullableIncidentTypeEntityTemplateValuesEntity struct {
	Services        []IncidentTypeEntityTemplateImpactEntity `json:"services,omitempty"`
	Functionalities []IncidentTypeEntityTemplateImpactEntity `json:"functionalities,omitempty"`
	Environments    []IncidentTypeEntityTemplateImpactEntity `json:"environments,omitempty"`
	// A hash mapping runbook IDs to runbook names.
	Runbooks *Runbooks        `json:"runbooks,omitempty"`
	Teams    []TeamEntityLite `json:"teams,omitempty"`
}

func (*NullableIncidentTypeEntityTemplateValuesEntity) GetEnvironments ¶

func (*NullableIncidentTypeEntityTemplateValuesEntity) GetFunctionalities ¶

func (*NullableIncidentTypeEntityTemplateValuesEntity) GetRunbooks ¶

func (*NullableIncidentTypeEntityTemplateValuesEntity) GetServices ¶

func (*NullableIncidentTypeEntityTemplateValuesEntity) GetTeams ¶

type NullableIncidentsConferenceBridgeEntity ¶

type NullableIncidentsConferenceBridgeEntity struct {
	ID *string `json:"id,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	Attachments              []NullableIncidentsConferenceBridgeEntityAttachment `json:"attachments,omitempty"`
	HasTranslatedTranscripts *bool                                               `json:"has_translated_transcripts,omitempty"`
	// A list of language codes that have translated transcripts for this conference bridge
	LanguageCodes          []string `json:"language_codes,omitempty"`
	TranscriptionStatus    *string  `json:"transcription_status,omitempty"`
	TranscriptionSubCode   *string  `json:"transcription_sub_code,omitempty"`
	PreviousHostAssignment *string  `json:"previous_host_assignment,omitempty"`
}

NullableIncidentsConferenceBridgeEntity - Incidents_ConferenceBridgeEntity model

func (*NullableIncidentsConferenceBridgeEntity) GetAttachments ¶

func (*NullableIncidentsConferenceBridgeEntity) GetHasTranslatedTranscripts ¶

func (n *NullableIncidentsConferenceBridgeEntity) GetHasTranslatedTranscripts() *bool

func (*NullableIncidentsConferenceBridgeEntity) GetID ¶

func (*NullableIncidentsConferenceBridgeEntity) GetLanguageCodes ¶

func (n *NullableIncidentsConferenceBridgeEntity) GetLanguageCodes() []string

func (*NullableIncidentsConferenceBridgeEntity) GetPreviousHostAssignment ¶

func (n *NullableIncidentsConferenceBridgeEntity) GetPreviousHostAssignment() *string

func (*NullableIncidentsConferenceBridgeEntity) GetTranscriptionStatus ¶

func (n *NullableIncidentsConferenceBridgeEntity) GetTranscriptionStatus() *string

func (*NullableIncidentsConferenceBridgeEntity) GetTranscriptionSubCode ¶

func (n *NullableIncidentsConferenceBridgeEntity) GetTranscriptionSubCode() *string

type NullableIncidentsConferenceBridgeEntityAttachment ¶

type NullableIncidentsConferenceBridgeEntityAttachment struct {
}

type NullableIncidentsContextObjectEntity ¶

type NullableIncidentsContextObjectEntity struct {
	ObjectType         *string `json:"object_type,omitempty"`
	ObjectID           *string `json:"object_id,omitempty"`
	ContextTag         *string `json:"context_tag,omitempty"`
	ContextDescription *string `json:"context_description,omitempty"`
}

func (*NullableIncidentsContextObjectEntity) GetContextDescription ¶

func (n *NullableIncidentsContextObjectEntity) GetContextDescription() *string

func (*NullableIncidentsContextObjectEntity) GetContextTag ¶

func (n *NullableIncidentsContextObjectEntity) GetContextTag() *string

func (*NullableIncidentsContextObjectEntity) GetObjectID ¶

func (n *NullableIncidentsContextObjectEntity) GetObjectID() *string

func (*NullableIncidentsContextObjectEntity) GetObjectType ¶

func (n *NullableIncidentsContextObjectEntity) GetObjectType() *string

type NullableIntegrationEntity ¶

type NullableIntegrationEntity struct {
	ID              *string    `json:"id,omitempty"`
	IntegrationName *string    `json:"integration_name,omitempty"`
	IntegrationSlug *string    `json:"integration_slug,omitempty"`
	DisplayName     *string    `json:"display_name,omitempty"`
	CreatedAt       *time.Time `json:"created_at,omitempty"`
}

func (*NullableIntegrationEntity) GetCreatedAt ¶

func (n *NullableIntegrationEntity) GetCreatedAt() *time.Time

func (*NullableIntegrationEntity) GetDisplayName ¶

func (n *NullableIntegrationEntity) GetDisplayName() *string

func (*NullableIntegrationEntity) GetID ¶

func (n *NullableIntegrationEntity) GetID() *string

func (*NullableIntegrationEntity) GetIntegrationName ¶

func (n *NullableIntegrationEntity) GetIntegrationName() *string

func (*NullableIntegrationEntity) GetIntegrationSlug ¶

func (n *NullableIntegrationEntity) GetIntegrationSlug() *string

func (NullableIntegrationEntity) MarshalJSON ¶

func (n NullableIntegrationEntity) MarshalJSON() ([]byte, error)

func (*NullableIntegrationEntity) UnmarshalJSON ¶

func (n *NullableIntegrationEntity) UnmarshalJSON(data []byte) error

type NullableIntegrationsAwsConnectionEntity ¶

type NullableIntegrationsAwsConnectionEntity struct {
	ID                *string                                                  `json:"id,omitempty"`
	AwsAccountID      *string                                                  `json:"aws_account_id,omitempty"`
	TargetArn         *string                                                  `json:"target_arn,omitempty"`
	ExternalID        *string                                                  `json:"external_id,omitempty"`
	ConnectionStatus  *NullableIntegrationsAwsConnectionEntityConnectionStatus `json:"connection_status,omitempty"`
	StatusText        *string                                                  `json:"status_text,omitempty"`
	StatusDescription *string                                                  `json:"status_description,omitempty"`
	EnvironmentID     *string                                                  `json:"environment_id,omitempty"`
	EnvironmentName   *string                                                  `json:"environment_name,omitempty"`
	Regions           []string                                                 `json:"regions,omitempty"`
}

NullableIntegrationsAwsConnectionEntity - Integrations_Aws_ConnectionEntity model

func (*NullableIntegrationsAwsConnectionEntity) GetAwsAccountID ¶

func (n *NullableIntegrationsAwsConnectionEntity) GetAwsAccountID() *string

func (*NullableIntegrationsAwsConnectionEntity) GetConnectionStatus ¶

func (*NullableIntegrationsAwsConnectionEntity) GetEnvironmentID ¶

func (n *NullableIntegrationsAwsConnectionEntity) GetEnvironmentID() *string

func (*NullableIntegrationsAwsConnectionEntity) GetEnvironmentName ¶

func (n *NullableIntegrationsAwsConnectionEntity) GetEnvironmentName() *string

func (*NullableIntegrationsAwsConnectionEntity) GetExternalID ¶

func (n *NullableIntegrationsAwsConnectionEntity) GetExternalID() *string

func (*NullableIntegrationsAwsConnectionEntity) GetID ¶

func (*NullableIntegrationsAwsConnectionEntity) GetRegions ¶

func (*NullableIntegrationsAwsConnectionEntity) GetStatusDescription ¶

func (n *NullableIntegrationsAwsConnectionEntity) GetStatusDescription() *string

func (*NullableIntegrationsAwsConnectionEntity) GetStatusText ¶

func (n *NullableIntegrationsAwsConnectionEntity) GetStatusText() *string

func (*NullableIntegrationsAwsConnectionEntity) GetTargetArn ¶

type NullableIntegrationsAwsConnectionEntityConnectionStatus ¶

type NullableIntegrationsAwsConnectionEntityConnectionStatus string
const (
	NullableIntegrationsAwsConnectionEntityConnectionStatusPendingSetup       NullableIntegrationsAwsConnectionEntityConnectionStatus = "pending_setup"
	NullableIntegrationsAwsConnectionEntityConnectionStatusRoleAssumed        NullableIntegrationsAwsConnectionEntityConnectionStatus = "role_assumed"
	NullableIntegrationsAwsConnectionEntityConnectionStatusCantAssumeRole     NullableIntegrationsAwsConnectionEntityConnectionStatus = "cant_assume_role"
	NullableIntegrationsAwsConnectionEntityConnectionStatusInvalidPermissions NullableIntegrationsAwsConnectionEntityConnectionStatus = "invalid_permissions"
	NullableIntegrationsAwsConnectionEntityConnectionStatusValidated          NullableIntegrationsAwsConnectionEntityConnectionStatus = "validated"
)

func (NullableIntegrationsAwsConnectionEntityConnectionStatus) ToPointer ¶

func (*NullableIntegrationsAwsConnectionEntityConnectionStatus) UnmarshalJSON ¶

type NullableIntegrationsIntegrationEntity ¶

type NullableIntegrationsIntegrationEntity struct {
	ID          *string                                          `json:"id,omitempty"`
	Slug        *string                                          `json:"slug,omitempty"`
	Name        *string                                          `json:"name,omitempty"`
	Description *string                                          `json:"description,omitempty"`
	SetupURL    *string                                          `json:"setup_url,omitempty"`
	CreatedAt   *time.Time                                       `json:"created_at,omitempty"`
	Connections []IntegrationsConnectionEntity                   `json:"connections,omitempty"`
	Enabled     *bool                                            `json:"enabled,omitempty"`
	Installed   *bool                                            `json:"installed,omitempty"`
	Deprecated  *bool                                            `json:"deprecated,omitempty"`
	NatIP       *string                                          `json:"nat_ip,omitempty"`
}

NullableIntegrationsIntegrationEntity - Integrations_IntegrationEntity model

func (*NullableIntegrationsIntegrationEntity) GetConnections ¶

func (*NullableIntegrationsIntegrationEntity) GetCreatedAt ¶

func (n *NullableIntegrationsIntegrationEntity) GetCreatedAt() *time.Time

func (*NullableIntegrationsIntegrationEntity) GetDeprecated ¶

func (n *NullableIntegrationsIntegrationEntity) GetDeprecated() *bool

func (*NullableIntegrationsIntegrationEntity) GetDescription ¶

func (n *NullableIntegrationsIntegrationEntity) GetDescription() *string

func (*NullableIntegrationsIntegrationEntity) GetEnabled ¶

func (*NullableIntegrationsIntegrationEntity) GetID ¶

func (*NullableIntegrationsIntegrationEntity) GetInstalled ¶

func (n *NullableIntegrationsIntegrationEntity) GetInstalled() *bool

func (*NullableIntegrationsIntegrationEntity) GetName ¶

func (*NullableIntegrationsIntegrationEntity) GetNatIP ¶

func (*NullableIntegrationsIntegrationEntity) GetSetupURL ¶

func (*NullableIntegrationsIntegrationEntity) GetSlug ¶

func (NullableIntegrationsIntegrationEntity) MarshalJSON ¶

func (n NullableIntegrationsIntegrationEntity) MarshalJSON() ([]byte, error)

func (*NullableIntegrationsIntegrationEntity) UnmarshalJSON ¶

func (n *NullableIntegrationsIntegrationEntity) UnmarshalJSON(data []byte) error

type NullableIntegrationsIntegrationEntityLogoEntity ¶

type NullableIntegrationsIntegrationEntityLogoEntity struct {
	LogoURL *string `json:"logo_url,omitempty"`
}

func (*NullableIntegrationsIntegrationEntityLogoEntity) GetLogoURL ¶

type NullableIntegrationsMicrosoftTeamsV2ChannelEntity ¶

type NullableIntegrationsMicrosoftTeamsV2ChannelEntity struct {
	ID          *string                 `json:"id,omitempty"`
	ChannelID   *string                 `json:"channel_id,omitempty"`
	ChannelName *string                 `json:"channel_name,omitempty"`
	MsTeamID    *string                 `json:"ms_team_id,omitempty"`
	TeamName    *string                 `json:"team_name,omitempty"`
	ChannelURL  *string                 `json:"channel_url,omitempty"`
	Status      *string                 `json:"status,omitempty"`
	Incident    *NullableIncidentEntity `json:"incident,omitempty"`
}

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetChannelID ¶

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetChannelName ¶

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetChannelURL ¶

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetID ¶

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetIncident ¶

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetMsTeamID ¶

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetStatus ¶

func (*NullableIntegrationsMicrosoftTeamsV2ChannelEntity) GetTeamName ¶

type NullableIntegrationsSlackSlackChannelEntity ¶

type NullableIntegrationsSlackSlackChannelEntity struct {
	ID             *string `json:"id,omitempty"`
	Name           *string `json:"name,omitempty"`
	SlackChannelID *string `json:"slack_channel_id,omitempty"`
}

func (*NullableIntegrationsSlackSlackChannelEntity) GetID ¶

func (*NullableIntegrationsSlackSlackChannelEntity) GetName ¶

func (*NullableIntegrationsSlackSlackChannelEntity) GetSlackChannelID ¶

func (n *NullableIntegrationsSlackSlackChannelEntity) GetSlackChannelID() *string

type NullableIntegrationsZendeskSupportIssueEntityCustomerEntity ¶

type NullableIntegrationsZendeskSupportIssueEntityCustomerEntity struct {
	// UUID of the Customer
	ID *string `json:"id,omitempty"`
	// Name of the Customer
	Name *string `json:"name,omitempty"`
}

func (*NullableIntegrationsZendeskSupportIssueEntityCustomerEntity) GetID ¶

func (*NullableIntegrationsZendeskSupportIssueEntityCustomerEntity) GetName ¶

type NullableMediaImageEntity ¶

type NullableMediaImageEntity struct {
	OriginalURL *string `json:"original_url,omitempty"`
	// An object with keys that can have different versions of an image
	VersionsUrls *VersionsUrls `json:"versions_urls,omitempty"`
}

func (*NullableMediaImageEntity) GetOriginalURL ¶

func (n *NullableMediaImageEntity) GetOriginalURL() *string

func (*NullableMediaImageEntity) GetVersionsUrls ¶

func (n *NullableMediaImageEntity) GetVersionsUrls() *VersionsUrls

type NullableMetricsMetricsEntitySortEntity ¶

type NullableMetricsMetricsEntitySortEntity struct {
	Field     *string `json:"field,omitempty"`
	Direction *string `json:"direction,omitempty"`
	Limit     *int    `json:"limit,omitempty"`
}

func (*NullableMetricsMetricsEntitySortEntity) GetDirection ¶

func (*NullableMetricsMetricsEntitySortEntity) GetField ¶

func (*NullableMetricsMetricsEntitySortEntity) GetLimit ¶

type NullableMetricsMilestonesFunnelEntityDataBucketFilterParamsEntity ¶

type NullableMetricsMilestonesFunnelEntityDataBucketFilterParamsEntity struct {
	// The start datetime for the period
	StartDate *time.Time `json:"start_date,omitempty"`
	// The end datetime for the period not inclusive
	EndDate *types.Date `json:"end_date,omitempty"`
}

func (*NullableMetricsMilestonesFunnelEntityDataBucketFilterParamsEntity) GetEndDate ¶

func (*NullableMetricsMilestonesFunnelEntityDataBucketFilterParamsEntity) GetStartDate ¶

func (NullableMetricsMilestonesFunnelEntityDataBucketFilterParamsEntity) MarshalJSON ¶

func (*NullableMetricsMilestonesFunnelEntityDataBucketFilterParamsEntity) UnmarshalJSON ¶

type NullableMetricsMilestonesFunnelEntityGroupingsEntity ¶

type NullableMetricsMilestonesFunnelEntityGroupingsEntity struct {
	// The bucket size for the data
	BucketSize *string `json:"bucket_size,omitempty"`
}

func (*NullableMetricsMilestonesFunnelEntityGroupingsEntity) GetBucketSize ¶

type NullableMetricsMilestonesFunnelEntityMetaEntity ¶

type NullableMetricsMilestonesFunnelEntityMetaEntity struct {
	DeletedMilestones []string `json:"deleted_milestones,omitempty"`
	AddedMilestones   []string `json:"added_milestones,omitempty"`
}

func (*NullableMetricsMilestonesFunnelEntityMetaEntity) GetAddedMilestones ¶

func (n *NullableMetricsMilestonesFunnelEntityMetaEntity) GetAddedMilestones() []string

func (*NullableMetricsMilestonesFunnelEntityMetaEntity) GetDeletedMilestones ¶

func (n *NullableMetricsMilestonesFunnelEntityMetaEntity) GetDeletedMilestones() []string

type NullableMetricsRetrospectiveEntitySummaryEntity ¶

type NullableMetricsRetrospectiveEntitySummaryEntity struct {
	Completed            *int     `json:"completed,omitempty"`
	Total                *int     `json:"total,omitempty"`
	Incomplete           *int     `json:"incomplete,omitempty"`
	Mean                 *float32 `json:"mean,omitempty"`
	Shortest             *float32 `json:"shortest,omitempty"`
	Longest              *float32 `json:"longest,omitempty"`
	CompletionPercentage *float32 `json:"completion_percentage,omitempty"`
}

func (*NullableMetricsRetrospectiveEntitySummaryEntity) GetCompleted ¶

func (*NullableMetricsRetrospectiveEntitySummaryEntity) GetCompletionPercentage ¶

func (n *NullableMetricsRetrospectiveEntitySummaryEntity) GetCompletionPercentage() *float32

func (*NullableMetricsRetrospectiveEntitySummaryEntity) GetIncomplete ¶

func (*NullableMetricsRetrospectiveEntitySummaryEntity) GetLongest ¶

func (*NullableMetricsRetrospectiveEntitySummaryEntity) GetMean ¶

func (*NullableMetricsRetrospectiveEntitySummaryEntity) GetShortest ¶

func (*NullableMetricsRetrospectiveEntitySummaryEntity) GetTotal ¶

type NullableMetricsTicketFunnelMetricsEntityDataBucketFilterParamsEntity ¶

type NullableMetricsTicketFunnelMetricsEntityDataBucketFilterParamsEntity struct {
	// The start datetime for the period
	StartDate *time.Time `json:"start_date,omitempty"`
	// The end datetime for the period not inclusive
	EndDate *types.Date `json:"end_date,omitempty"`
}

func (*NullableMetricsTicketFunnelMetricsEntityDataBucketFilterParamsEntity) GetEndDate ¶

func (*NullableMetricsTicketFunnelMetricsEntityDataBucketFilterParamsEntity) GetStartDate ¶

func (NullableMetricsTicketFunnelMetricsEntityDataBucketFilterParamsEntity) MarshalJSON ¶

func (*NullableMetricsTicketFunnelMetricsEntityDataBucketFilterParamsEntity) UnmarshalJSON ¶

type NullableMetricsTicketFunnelMetricsEntityGroupingsEntity ¶

type NullableMetricsTicketFunnelMetricsEntityGroupingsEntity struct {
	// The bucket size for the data
	BucketSize *string `json:"bucket_size,omitempty"`
}

func (*NullableMetricsTicketFunnelMetricsEntityGroupingsEntity) GetBucketSize ¶

type NullableNuncComponentEntity ¶

type NullableNuncComponentEntity struct {
	InfrastructureType *string `json:"infrastructure_type,omitempty"`
	InfrastructureID   *string `json:"infrastructure_id,omitempty"`
	Label              *string `json:"label,omitempty"`
	Position           *int    `json:"position,omitempty"`
	ComponentGroupID   *string `json:"component_group_id,omitempty"`
}

func (*NullableNuncComponentEntity) GetComponentGroupID ¶

func (n *NullableNuncComponentEntity) GetComponentGroupID() *string

func (*NullableNuncComponentEntity) GetInfrastructureID ¶

func (n *NullableNuncComponentEntity) GetInfrastructureID() *string

func (*NullableNuncComponentEntity) GetInfrastructureType ¶

func (n *NullableNuncComponentEntity) GetInfrastructureType() *string

func (*NullableNuncComponentEntity) GetLabel ¶

func (n *NullableNuncComponentEntity) GetLabel() *string

func (*NullableNuncComponentEntity) GetPosition ¶

func (n *NullableNuncComponentEntity) GetPosition() *int

type NullableNuncComponentGroupEntity ¶

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

func (*NullableNuncComponentGroupEntity) GetComponentGroupID ¶

func (n *NullableNuncComponentGroupEntity) GetComponentGroupID() *string

func (*NullableNuncComponentGroupEntity) GetID ¶

func (*NullableNuncComponentGroupEntity) GetName ¶

func (*NullableNuncComponentGroupEntity) GetPosition ¶

func (n *NullableNuncComponentGroupEntity) GetPosition() *int

type NullableNuncConditionEntity ¶

type NullableNuncConditionEntity struct {
	NuncCondition *string `json:"nunc_condition,omitempty"`
	ConditionName *string `json:"condition_name,omitempty"`
	ConditionID   *string `json:"condition_id,omitempty"`
}

func (*NullableNuncConditionEntity) GetConditionID ¶

func (n *NullableNuncConditionEntity) GetConditionID() *string

func (*NullableNuncConditionEntity) GetConditionName ¶

func (n *NullableNuncConditionEntity) GetConditionName() *string

func (*NullableNuncConditionEntity) GetNuncCondition ¶

func (n *NullableNuncConditionEntity) GetNuncCondition() *string

type NullableOrganizationEntity ¶

type NullableOrganizationEntity struct {
	Name *string `json:"name,omitempty"`
	ID   *string `json:"id,omitempty"`
}

func (*NullableOrganizationEntity) GetID ¶

func (n *NullableOrganizationEntity) GetID() *string

func (*NullableOrganizationEntity) GetName ¶

func (n *NullableOrganizationEntity) GetName() *string

type NullablePaginationEntity ¶

type NullablePaginationEntity struct {
	Count *int `json:"count,omitempty"`
	Page  *int `json:"page,omitempty"`
	Items *int `json:"items,omitempty"`
	Pages *int `json:"pages,omitempty"`
	Last  *int `json:"last,omitempty"`
	Prev  *int `json:"prev,omitempty"`
	Next  *int `json:"next,omitempty"`
}

func (*NullablePaginationEntity) GetCount ¶

func (n *NullablePaginationEntity) GetCount() *int

func (*NullablePaginationEntity) GetItems ¶

func (n *NullablePaginationEntity) GetItems() *int

func (*NullablePaginationEntity) GetLast ¶

func (n *NullablePaginationEntity) GetLast() *int

func (*NullablePaginationEntity) GetNext ¶

func (n *NullablePaginationEntity) GetNext() *int

func (*NullablePaginationEntity) GetPage ¶

func (n *NullablePaginationEntity) GetPage() *int

func (*NullablePaginationEntity) GetPages ¶

func (n *NullablePaginationEntity) GetPages() *int

func (*NullablePaginationEntity) GetPrev ¶

func (n *NullablePaginationEntity) GetPrev() *int

type NullablePostMortemsQuestionEntity ¶

type NullablePostMortemsQuestionEntity struct {
	ID               *string                             `json:"id,omitempty"`
	Title            *string                             `json:"title,omitempty"`
	Body             *string                             `json:"body,omitempty"`
	Tooltip          *string                             `json:"tooltip,omitempty"`
	Kind             *string                             `json:"kind,omitempty"`
	QuestionTypeID   *string                             `json:"question_type_id,omitempty"`
	IsRequired       *bool                               `json:"is_required,omitempty"`
	AvailableOptions []string                            `json:"available_options,omitempty"`
	Conversations    []ConversationsAPIEntitiesReference `json:"conversations,omitempty"`
}

func (*NullablePostMortemsQuestionEntity) GetAvailableOptions ¶

func (n *NullablePostMortemsQuestionEntity) GetAvailableOptions() []string

func (*NullablePostMortemsQuestionEntity) GetBody ¶

func (*NullablePostMortemsQuestionEntity) GetConversations ¶

func (*NullablePostMortemsQuestionEntity) GetID ¶

func (*NullablePostMortemsQuestionEntity) GetIsRequired ¶

func (n *NullablePostMortemsQuestionEntity) GetIsRequired() *bool

func (*NullablePostMortemsQuestionEntity) GetKind ¶

func (*NullablePostMortemsQuestionEntity) GetQuestionTypeID ¶

func (n *NullablePostMortemsQuestionEntity) GetQuestionTypeID() *string

func (*NullablePostMortemsQuestionEntity) GetTitle ¶

func (*NullablePostMortemsQuestionEntity) GetTooltip ¶

func (n *NullablePostMortemsQuestionEntity) GetTooltip() *string

type NullablePublicAPIV1IncidentsSuccinctEntity ¶

type NullablePublicAPIV1IncidentsSuccinctEntity struct {
	ID     *string `json:"id,omitempty"`
	Name   *string `json:"name,omitempty"`
	Number *int    `json:"number,omitempty"`
}

func (*NullablePublicAPIV1IncidentsSuccinctEntity) GetID ¶

func (*NullablePublicAPIV1IncidentsSuccinctEntity) GetName ¶

func (*NullablePublicAPIV1IncidentsSuccinctEntity) GetNumber ¶

type NullableRulesRuleEntity ¶

type NullableRulesRuleEntity struct {
	// JSON stringified object of key/value pairs describing the logic for applying the rule.
	Logic    *string                       `json:"logic,omitempty"`
	UserData *NullableFHTypesGenericEntity `json:"user_data,omitempty"`
}

func (*NullableRulesRuleEntity) GetLogic ¶

func (n *NullableRulesRuleEntity) GetLogic() *string

func (*NullableRulesRuleEntity) GetUserData ¶

type NullableRunbooksActionConfigEntity ¶

type NullableRunbooksActionConfigEntity struct {
	// A list of elements that can be used in this action configuration
	Elements []RunbooksElementEntity `json:"elements,omitempty"`
	// Location of documentation for this action
	DocumentationURL *string `json:"documentation_url,omitempty"`
}

func (*NullableRunbooksActionConfigEntity) GetDocumentationURL ¶

func (n *NullableRunbooksActionConfigEntity) GetDocumentationURL() *string

func (*NullableRunbooksActionConfigEntity) GetElements ¶

type NullableRunbooksActionsEntity ¶

type NullableRunbooksActionsEntity struct {
	ID                    *string                                       `json:"id,omitempty"`
	Name                  *string                                       `json:"name,omitempty"`
	Slug                  *string                                       `json:"slug,omitempty"`
	Description           *string                                       `json:"description,omitempty"`
	Config                *NullableRunbooksActionConfigEntity           `json:"config,omitempty"`
	Category              *string                                       `json:"category,omitempty"`
	Prerequisites         []NullableRunbooksActionsEntityPrerequisite   `json:"prerequisites,omitempty"`
	Integration           *NullableIntegrationsIntegrationEntity        `json:"integration,omitempty"`
	SupportedRunbookTypes []string                                      `json:"supported_runbook_types,omitempty"`
	CreatedAt             *time.Time                                    `json:"created_at,omitempty"`
	UpdatedAt             *time.Time                                    `json:"updated_at,omitempty"`
	Automatable           *bool                                         `json:"automatable,omitempty"`
	Rerunnable            *bool                                         `json:"rerunnable,omitempty"`
	Repeatable            *bool                                         `json:"repeatable,omitempty"`
	DefaultLogic          *NullableRunbooksActionsEntityDefaultLogic    `json:"default_logic,omitempty"`
	DefaultRuleData       *NullableRunbooksActionsEntityDefaultRuleData `json:"default_rule_data,omitempty"`
}

func (*NullableRunbooksActionsEntity) GetAutomatable ¶

func (n *NullableRunbooksActionsEntity) GetAutomatable() *bool

func (*NullableRunbooksActionsEntity) GetCategory ¶

func (n *NullableRunbooksActionsEntity) GetCategory() *string

func (*NullableRunbooksActionsEntity) GetConfig ¶

func (*NullableRunbooksActionsEntity) GetCreatedAt ¶

func (n *NullableRunbooksActionsEntity) GetCreatedAt() *time.Time

func (*NullableRunbooksActionsEntity) GetDefaultLogic ¶

func (*NullableRunbooksActionsEntity) GetDefaultRuleData ¶

func (*NullableRunbooksActionsEntity) GetDescription ¶

func (n *NullableRunbooksActionsEntity) GetDescription() *string

func (*NullableRunbooksActionsEntity) GetID ¶

func (*NullableRunbooksActionsEntity) GetIntegration ¶

func (*NullableRunbooksActionsEntity) GetName ¶

func (n *NullableRunbooksActionsEntity) GetName() *string

func (*NullableRunbooksActionsEntity) GetPrerequisites ¶

func (*NullableRunbooksActionsEntity) GetRepeatable ¶

func (n *NullableRunbooksActionsEntity) GetRepeatable() *bool

func (*NullableRunbooksActionsEntity) GetRerunnable ¶

func (n *NullableRunbooksActionsEntity) GetRerunnable() *bool

func (*NullableRunbooksActionsEntity) GetSlug ¶

func (n *NullableRunbooksActionsEntity) GetSlug() *string

func (*NullableRunbooksActionsEntity) GetSupportedRunbookTypes ¶

func (n *NullableRunbooksActionsEntity) GetSupportedRunbookTypes() []string

func (*NullableRunbooksActionsEntity) GetUpdatedAt ¶

func (n *NullableRunbooksActionsEntity) GetUpdatedAt() *time.Time

func (NullableRunbooksActionsEntity) MarshalJSON ¶

func (n NullableRunbooksActionsEntity) MarshalJSON() ([]byte, error)

func (*NullableRunbooksActionsEntity) UnmarshalJSON ¶

func (n *NullableRunbooksActionsEntity) UnmarshalJSON(data []byte) error

type NullableRunbooksActionsEntityDefaultLogic ¶

type NullableRunbooksActionsEntityDefaultLogic struct {
}

type NullableRunbooksActionsEntityDefaultRuleData ¶

type NullableRunbooksActionsEntityDefaultRuleData struct {
}

type NullableRunbooksActionsEntityPrerequisite ¶

type NullableRunbooksActionsEntityPrerequisite struct {
}

type NullableRunbooksElementDynamicSelectEntity ¶

type NullableRunbooksElementDynamicSelectEntity struct {
	Label        *string                                                       `json:"label,omitempty"`
	Placeholder  *string                                                       `json:"placeholder,omitempty"`
	AsyncURL     *string                                                       `json:"async_url,omitempty"`
	Required     *bool                                                         `json:"required,omitempty"`
	Clearable    *bool                                                         `json:"clearable,omitempty"`
	IsMulti      *bool                                                         `json:"is_multi,omitempty"`
	DefaultValue *NullableRunbooksElementDynamicSelectEntitySelectOptionEntity `json:"default_value,omitempty"`
	Options      []RunbooksElementDynamicSelectEntitySelectOptionEntity        `json:"options,omitempty"`
}

func (*NullableRunbooksElementDynamicSelectEntity) GetAsyncURL ¶

func (*NullableRunbooksElementDynamicSelectEntity) GetClearable ¶

func (*NullableRunbooksElementDynamicSelectEntity) GetDefaultValue ¶

func (*NullableRunbooksElementDynamicSelectEntity) GetIsMulti ¶

func (*NullableRunbooksElementDynamicSelectEntity) GetLabel ¶

func (*NullableRunbooksElementDynamicSelectEntity) GetOptions ¶

func (*NullableRunbooksElementDynamicSelectEntity) GetPlaceholder ¶

func (*NullableRunbooksElementDynamicSelectEntity) GetRequired ¶

type NullableRunbooksElementDynamicSelectEntitySelectOptionEntity ¶

type NullableRunbooksElementDynamicSelectEntitySelectOptionEntity struct {
	Label *string `json:"label,omitempty"`
	Value *string `json:"value,omitempty"`
}

func (*NullableRunbooksElementDynamicSelectEntitySelectOptionEntity) GetLabel ¶

func (*NullableRunbooksElementDynamicSelectEntitySelectOptionEntity) GetValue ¶

type NullableRunbooksElementInputEntity ¶

type NullableRunbooksElementInputEntity struct {
	Label        *string `json:"label,omitempty"`
	Placeholder  *string `json:"placeholder,omitempty"`
	DefaultValue *string `json:"default_value,omitempty"`
	Required     *bool   `json:"required,omitempty"`
}

func (*NullableRunbooksElementInputEntity) GetDefaultValue ¶

func (n *NullableRunbooksElementInputEntity) GetDefaultValue() *string

func (*NullableRunbooksElementInputEntity) GetLabel ¶

func (*NullableRunbooksElementInputEntity) GetPlaceholder ¶

func (n *NullableRunbooksElementInputEntity) GetPlaceholder() *string

func (*NullableRunbooksElementInputEntity) GetRequired ¶

func (n *NullableRunbooksElementInputEntity) GetRequired() *bool

type NullableRunbooksElementMarkdownEntity ¶

type NullableRunbooksElementMarkdownEntity struct {
	Text *string `json:"text,omitempty"`
}

func (*NullableRunbooksElementMarkdownEntity) GetText ¶

type NullableRunbooksElementTextareaEntity ¶

type NullableRunbooksElementTextareaEntity struct {
	Label        *string `json:"label,omitempty"`
	Placeholder  *string `json:"placeholder,omitempty"`
	DefaultValue *string `json:"default_value,omitempty"`
}

func (*NullableRunbooksElementTextareaEntity) GetDefaultValue ¶

func (n *NullableRunbooksElementTextareaEntity) GetDefaultValue() *string

func (*NullableRunbooksElementTextareaEntity) GetLabel ¶

func (*NullableRunbooksElementTextareaEntity) GetPlaceholder ¶

func (n *NullableRunbooksElementTextareaEntity) GetPlaceholder() *string

type NullableRunbooksExecutionEntityExecutedForEntity ¶

type NullableRunbooksExecutionEntityExecutedForEntity struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

func (*NullableRunbooksExecutionEntityExecutedForEntity) GetID ¶

func (*NullableRunbooksExecutionEntityExecutedForEntity) GetName ¶

func (*NullableRunbooksExecutionEntityExecutedForEntity) GetType ¶

type NullableRunbooksExecutionStepEntity ¶

type NullableRunbooksExecutionStepEntity struct {
	ID              *string                                          `json:"id,omitempty"`
	Name            *string                                          `json:"name,omitempty"`
	ActionSlug      *string                                          `json:"action_slug,omitempty"`
	ActionType      *string                                          `json:"action_type,omitempty"`
	IntegrationName *string                                          `json:"integration_name,omitempty"`
	IntegrationSlug *string                                          `json:"integration_slug,omitempty"`
	Automatic       *bool                                            `json:"automatic,omitempty"`
	Config          *NullableRunbooksExecutionStepEntityConfig       `json:"config,omitempty"`
	StepElements    []NullableRunbooksExecutionStepEntityStepElement `json:"step_elements,omitempty"`
	Executable      *bool                                            `json:"executable,omitempty"`
	Repeats         *bool                                            `json:"repeats,omitempty"`
	// ISO8601 formatted duration string
	RepeatsDuration  *string                                       `json:"repeats_duration,omitempty"`
	RepeatsAt        *time.Time                                    `json:"repeats_at,omitempty"`
	HasBeenRerun     *bool                                         `json:"has_been_rerun,omitempty"`
	HasBeenRetried   *bool                                         `json:"has_been_retried,omitempty"`
	Execution        *NullableRunbooksExecutionStepExecutionEntity `json:"execution,omitempty"`
	Repeatable       *bool                                         `json:"repeatable,omitempty"`
	ConferenceBridge *NullableIncidentsConferenceBridgeEntity      `json:"conference_bridge,omitempty"`
	Rule             *NullableRulesRuleEntity                      `json:"rule,omitempty"`
}

func (*NullableRunbooksExecutionStepEntity) GetActionSlug ¶

func (n *NullableRunbooksExecutionStepEntity) GetActionSlug() *string

func (*NullableRunbooksExecutionStepEntity) GetActionType ¶

func (n *NullableRunbooksExecutionStepEntity) GetActionType() *string

func (*NullableRunbooksExecutionStepEntity) GetAutomatic ¶

func (n *NullableRunbooksExecutionStepEntity) GetAutomatic() *bool

func (*NullableRunbooksExecutionStepEntity) GetConferenceBridge ¶

func (*NullableRunbooksExecutionStepEntity) GetConfig ¶

func (*NullableRunbooksExecutionStepEntity) GetExecutable ¶

func (n *NullableRunbooksExecutionStepEntity) GetExecutable() *bool

func (*NullableRunbooksExecutionStepEntity) GetExecution ¶

func (*NullableRunbooksExecutionStepEntity) GetHasBeenRerun ¶

func (n *NullableRunbooksExecutionStepEntity) GetHasBeenRerun() *bool

func (*NullableRunbooksExecutionStepEntity) GetHasBeenRetried ¶

func (n *NullableRunbooksExecutionStepEntity) GetHasBeenRetried() *bool

func (*NullableRunbooksExecutionStepEntity) GetID ¶

func (*NullableRunbooksExecutionStepEntity) GetIntegrationName ¶

func (n *NullableRunbooksExecutionStepEntity) GetIntegrationName() *string

func (*NullableRunbooksExecutionStepEntity) GetIntegrationSlug ¶

func (n *NullableRunbooksExecutionStepEntity) GetIntegrationSlug() *string

func (*NullableRunbooksExecutionStepEntity) GetName ¶

func (*NullableRunbooksExecutionStepEntity) GetRepeatable ¶

func (n *NullableRunbooksExecutionStepEntity) GetRepeatable() *bool

func (*NullableRunbooksExecutionStepEntity) GetRepeats ¶

func (n *NullableRunbooksExecutionStepEntity) GetRepeats() *bool

func (*NullableRunbooksExecutionStepEntity) GetRepeatsAt ¶

func (n *NullableRunbooksExecutionStepEntity) GetRepeatsAt() *time.Time

func (*NullableRunbooksExecutionStepEntity) GetRepeatsDuration ¶

func (n *NullableRunbooksExecutionStepEntity) GetRepeatsDuration() *string

func (*NullableRunbooksExecutionStepEntity) GetRule ¶

func (*NullableRunbooksExecutionStepEntity) GetStepElements ¶

func (NullableRunbooksExecutionStepEntity) MarshalJSON ¶

func (n NullableRunbooksExecutionStepEntity) MarshalJSON() ([]byte, error)

func (*NullableRunbooksExecutionStepEntity) UnmarshalJSON ¶

func (n *NullableRunbooksExecutionStepEntity) UnmarshalJSON(data []byte) error

type NullableRunbooksExecutionStepEntityConfig ¶

type NullableRunbooksExecutionStepEntityConfig struct {
}

type NullableRunbooksExecutionStepEntityStepElement ¶

type NullableRunbooksExecutionStepEntityStepElement struct {
}

type NullableRunbooksExecutionStepExecutionEntity ¶

type NullableRunbooksExecutionStepExecutionEntity struct {
	State           *NullableRunbooksExecutionStepExecutionEntityState `json:"state,omitempty"`
	Data            *NullableRunbooksExecutionStepExecutionEntityData  `json:"data,omitempty"`
	PerformedBy     *NullableActorEntity                               `json:"performed_by,omitempty"`
	PerformedAt     *time.Time                                         `json:"performed_at,omitempty"`
	ScheduledFor    *time.Time                                         `json:"scheduled_for,omitempty"`
	Error           *string                                            `json:"error,omitempty"`
	WebhookDelivery *NullableRunbooksWebhookDeliveryEntity             `json:"webhook_delivery,omitempty"`
}

func (*NullableRunbooksExecutionStepExecutionEntity) GetData ¶

func (*NullableRunbooksExecutionStepExecutionEntity) GetError ¶

func (*NullableRunbooksExecutionStepExecutionEntity) GetPerformedAt ¶

func (*NullableRunbooksExecutionStepExecutionEntity) GetPerformedBy ¶

func (*NullableRunbooksExecutionStepExecutionEntity) GetScheduledFor ¶

func (*NullableRunbooksExecutionStepExecutionEntity) GetState ¶

func (*NullableRunbooksExecutionStepExecutionEntity) GetWebhookDelivery ¶

func (NullableRunbooksExecutionStepExecutionEntity) MarshalJSON ¶

func (*NullableRunbooksExecutionStepExecutionEntity) UnmarshalJSON ¶

func (n *NullableRunbooksExecutionStepExecutionEntity) UnmarshalJSON(data []byte) error

type NullableRunbooksExecutionStepExecutionEntityData ¶

type NullableRunbooksExecutionStepExecutionEntityData struct {
}

type NullableRunbooksExecutionStepExecutionEntityState ¶

type NullableRunbooksExecutionStepExecutionEntityState string
const (
	NullableRunbooksExecutionStepExecutionEntityStateInitial   NullableRunbooksExecutionStepExecutionEntityState = "initial"
	NullableRunbooksExecutionStepExecutionEntityStatePending   NullableRunbooksExecutionStepExecutionEntityState = "pending"
	NullableRunbooksExecutionStepExecutionEntityStateScheduled NullableRunbooksExecutionStepExecutionEntityState = "scheduled"
	NullableRunbooksExecutionStepExecutionEntityStateStarted   NullableRunbooksExecutionStepExecutionEntityState = "started"
	NullableRunbooksExecutionStepExecutionEntityStateDismissed NullableRunbooksExecutionStepExecutionEntityState = "dismissed"
	NullableRunbooksExecutionStepExecutionEntityStateCompleted NullableRunbooksExecutionStepExecutionEntityState = "completed"
	NullableRunbooksExecutionStepExecutionEntityStateErrored   NullableRunbooksExecutionStepExecutionEntityState = "errored"
)

func (NullableRunbooksExecutionStepExecutionEntityState) ToPointer ¶

func (*NullableRunbooksExecutionStepExecutionEntityState) UnmarshalJSON ¶

type NullableRunbooksWebhookDeliveryEntity ¶

type NullableRunbooksWebhookDeliveryEntity struct {
	Headers    *string `json:"headers,omitempty"`
	StatusCode *string `json:"status_code,omitempty"`
}

func (*NullableRunbooksWebhookDeliveryEntity) GetHeaders ¶

func (*NullableRunbooksWebhookDeliveryEntity) GetStatusCode ¶

func (n *NullableRunbooksWebhookDeliveryEntity) GetStatusCode() *string

type NullableScheduleEntity ¶

type NullableScheduleEntity struct {
	ID          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	Integration *string `json:"integration,omitempty"`
	Discarded   *bool   `json:"discarded,omitempty"`
}

func (*NullableScheduleEntity) GetDiscarded ¶

func (n *NullableScheduleEntity) GetDiscarded() *bool

func (*NullableScheduleEntity) GetID ¶

func (n *NullableScheduleEntity) GetID() *string

func (*NullableScheduleEntity) GetIntegration ¶

func (n *NullableScheduleEntity) GetIntegration() *string

func (*NullableScheduleEntity) GetName ¶

func (n *NullableScheduleEntity) GetName() *string

type NullableServiceEntity ¶

type NullableServiceEntity struct {
	ID            *string    `json:"id,omitempty"`
	Name          *string    `json:"name,omitempty"`
	Description   *string    `json:"description,omitempty"`
	Slug          *string    `json:"slug,omitempty"`
	ServiceTier   *int       `json:"service_tier,omitempty"`
	CreatedAt     *time.Time `json:"created_at,omitempty"`
	UpdatedAt     *time.Time `json:"updated_at,omitempty"`
	AllowedParams []string   `json:"allowed_params,omitempty"`
	// An object of label key and values
	Labels                map[string]any `json:"labels,omitempty"`
	AlertOnAdd            *bool          `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool          `json:"auto_add_responding_team,omitempty"`
	// List of active incident guids
	ActiveIncidents []string `json:"active_incidents,omitempty"`
	// List of checklists associated with a service
	Checklists      []ChecklistTemplateEntity `json:"checklists,omitempty"`
	CompletedChecks *int                      `json:"completed_checks,omitempty"`
	// Information about known linkages to representations of services outside of FireHydrant.
	ExternalResources []ExternalResourceEntity `json:"external_resources,omitempty"`
	// List of functionalities attached to the service
	Functionalities []FunctionalityEntity                    `json:"functionalities,omitempty"`
	LastImport      *NullableImportsImportableResourceEntity `json:"last_import,omitempty"`
	// List of links attached to this service.
	Links []LinksEntity `json:"links,omitempty"`
	// If set, this field indicates that the service is managed by an integration and thus cannot be set manually
	ManagedBy *string `json:"managed_by,omitempty"`
	// Indicates the settings of the catalog that manages this service
	ManagedBySettings         *NullableServiceEntityManagedBySettings `json:"managed_by_settings,omitempty"`
	Owner                     *NullableTeamEntityLite                 `json:"owner,omitempty"`
	ServiceChecklistUpdatedAt *time.Time                              `json:"service_checklist_updated_at,omitempty"`
	// List of teams attached to the service
	Teams     []TeamEntityLite      `json:"teams,omitempty"`
	UpdatedBy *NullableAuthorEntity `json:"updated_by,omitempty"`
}

NullableServiceEntity - ServiceEntity model

func (*NullableServiceEntity) GetActiveIncidents ¶

func (n *NullableServiceEntity) GetActiveIncidents() []string

func (*NullableServiceEntity) GetAlertOnAdd ¶

func (n *NullableServiceEntity) GetAlertOnAdd() *bool

func (*NullableServiceEntity) GetAllowedParams ¶

func (n *NullableServiceEntity) GetAllowedParams() []string

func (*NullableServiceEntity) GetAutoAddRespondingTeam ¶

func (n *NullableServiceEntity) GetAutoAddRespondingTeam() *bool

func (*NullableServiceEntity) GetChecklists ¶

func (n *NullableServiceEntity) GetChecklists() []ChecklistTemplateEntity

func (*NullableServiceEntity) GetCompletedChecks ¶

func (n *NullableServiceEntity) GetCompletedChecks() *int

func (*NullableServiceEntity) GetCreatedAt ¶

func (n *NullableServiceEntity) GetCreatedAt() *time.Time

func (*NullableServiceEntity) GetDescription ¶

func (n *NullableServiceEntity) GetDescription() *string

func (*NullableServiceEntity) GetExternalResources ¶

func (n *NullableServiceEntity) GetExternalResources() []ExternalResourceEntity

func (*NullableServiceEntity) GetFunctionalities ¶

func (n *NullableServiceEntity) GetFunctionalities() []FunctionalityEntity

func (*NullableServiceEntity) GetID ¶

func (n *NullableServiceEntity) GetID() *string

func (*NullableServiceEntity) GetLabels ¶

func (n *NullableServiceEntity) GetLabels() map[string]any

func (*NullableServiceEntity) GetLastImport ¶

func (n *NullableServiceEntity) GetLinks() []LinksEntity

func (*NullableServiceEntity) GetManagedBy ¶

func (n *NullableServiceEntity) GetManagedBy() *string

func (*NullableServiceEntity) GetManagedBySettings ¶

func (*NullableServiceEntity) GetName ¶

func (n *NullableServiceEntity) GetName() *string

func (*NullableServiceEntity) GetOwner ¶

func (*NullableServiceEntity) GetServiceChecklistUpdatedAt ¶

func (n *NullableServiceEntity) GetServiceChecklistUpdatedAt() *time.Time

func (*NullableServiceEntity) GetServiceTier ¶

func (n *NullableServiceEntity) GetServiceTier() *int

func (*NullableServiceEntity) GetSlug ¶

func (n *NullableServiceEntity) GetSlug() *string

func (*NullableServiceEntity) GetTeams ¶

func (n *NullableServiceEntity) GetTeams() []TeamEntityLite

func (*NullableServiceEntity) GetUpdatedAt ¶

func (n *NullableServiceEntity) GetUpdatedAt() *time.Time

func (*NullableServiceEntity) GetUpdatedBy ¶

func (n *NullableServiceEntity) GetUpdatedBy() *NullableAuthorEntity

func (NullableServiceEntity) MarshalJSON ¶

func (n NullableServiceEntity) MarshalJSON() ([]byte, error)

func (*NullableServiceEntity) UnmarshalJSON ¶

func (n *NullableServiceEntity) UnmarshalJSON(data []byte) error

type NullableServiceEntityManagedBySettings ¶

type NullableServiceEntityManagedBySettings struct {
}

NullableServiceEntityManagedBySettings - Indicates the settings of the catalog that manages this service

type NullableSeverityMatrixConditionEntity ¶

type NullableSeverityMatrixConditionEntity struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	// Position is used to determine ordering of conditions in API responses and dropdowns. The condition with the lowest position (typically 0) will be considered the Default Condition
	Position *int `json:"position,omitempty"`
}

NullableSeverityMatrixConditionEntity - SeverityMatrix_ConditionEntity model

func (*NullableSeverityMatrixConditionEntity) GetID ¶

func (*NullableSeverityMatrixConditionEntity) GetName ¶

func (*NullableSeverityMatrixConditionEntity) GetPosition ¶

func (n *NullableSeverityMatrixConditionEntity) GetPosition() *int

type NullableSeverityMatrixImpactEntity ¶

type NullableSeverityMatrixImpactEntity struct {
	ID        *string `json:"id,omitempty"`
	Name      *string `json:"name,omitempty"`
	Type      *string `json:"type,omitempty"`
	AffectsID *string `json:"affects_id,omitempty"`
	Position  *int    `json:"position,omitempty"`
}

NullableSeverityMatrixImpactEntity - SeverityMatrix_ImpactEntity model

func (*NullableSeverityMatrixImpactEntity) GetAffectsID ¶

func (n *NullableSeverityMatrixImpactEntity) GetAffectsID() *string

func (*NullableSeverityMatrixImpactEntity) GetID ¶

func (*NullableSeverityMatrixImpactEntity) GetName ¶

func (*NullableSeverityMatrixImpactEntity) GetPosition ¶

func (n *NullableSeverityMatrixImpactEntity) GetPosition() *int

func (*NullableSeverityMatrixImpactEntity) GetType ¶

type NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity ¶

type NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity struct {
	// The ID of the group
	GroupedID *int `json:"grouped_id,omitempty"`
	// The name of the group
	GroupedName *string `json:"grouped_name,omitempty"`
	// The total number of opened alerts
	TotalOpenedAlerts *int `json:"total_opened_alerts,omitempty"`
	// The total number of acknowledged alerts
	TotalAckedAlerts *int `json:"total_acked_alerts,omitempty"`
	// The total number of incidents
	TotalIncidents *int `json:"total_incidents,omitempty"`
	// The percentage of acknowledged alerts
	AckedPercentage *float32 `json:"acked_percentage,omitempty"`
	// The percentage of alerts that have incidents
	IncidentsPercentage *float32 `json:"incidents_percentage,omitempty"`
}

func (*NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity) GetAckedPercentage ¶

func (*NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity) GetGroupedID ¶

func (*NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity) GetGroupedName ¶

func (*NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity) GetIncidentsPercentage ¶

func (*NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity) GetTotalAckedAlerts ¶

func (*NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity) GetTotalIncidents ¶

func (*NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity) GetTotalOpenedAlerts ¶

type NullableSignalsAPIAnalyticsMttxMetricsEntityMetricEntity ¶

type NullableSignalsAPIAnalyticsMttxMetricsEntityMetricEntity struct {
	// The mean time to acknowledge (MTTA) alerts in seconds
	Mtta *float32 `json:"mtta,omitempty"`
	// The mean time to resolve (MTTR) alerts in seconds
	Mttr *float32 `json:"mttr,omitempty"`
}

func (*NullableSignalsAPIAnalyticsMttxMetricsEntityMetricEntity) GetMtta ¶

func (*NullableSignalsAPIAnalyticsMttxMetricsEntityMetricEntity) GetMttr ¶

type NullableSignalsAPIAnalyticsNoiseMetricsEntityMetricEntity ¶

type NullableSignalsAPIAnalyticsNoiseMetricsEntityMetricEntity struct {
	// The time bucket
	Bucket *string `json:"bucket,omitempty"`
	// The total number of alerts
	TotalAlerts *int `json:"total_alerts,omitempty"`
	// The number of alerts marked as noise
	NoisyAlerts *int `json:"noisy_alerts,omitempty"`
	// The percentage of alerts that are noise
	Percentage *float32 `json:"percentage,omitempty"`
}

func (*NullableSignalsAPIAnalyticsNoiseMetricsEntityMetricEntity) GetBucket ¶

func (*NullableSignalsAPIAnalyticsNoiseMetricsEntityMetricEntity) GetNoisyAlerts ¶

func (*NullableSignalsAPIAnalyticsNoiseMetricsEntityMetricEntity) GetPercentage ¶

func (*NullableSignalsAPIAnalyticsNoiseMetricsEntityMetricEntity) GetTotalAlerts ¶

type NullableSignalsAPIAnalyticsTimeseriesPointEntityMetricEntity ¶

type NullableSignalsAPIAnalyticsTimeseriesPointEntityMetricEntity struct {
	// The time bucket
	Bucket *string `json:"bucket,omitempty"`
	// The total number of opened alerts
	TotalOpenedAlerts *int `json:"total_opened_alerts,omitempty"`
	// The total number of acknowledged alerts
	TotalAckedAlerts *int `json:"total_acked_alerts,omitempty"`
	// The total number of incidents
	TotalIncidents *int `json:"total_incidents,omitempty"`
}

func (*NullableSignalsAPIAnalyticsTimeseriesPointEntityMetricEntity) GetBucket ¶

func (*NullableSignalsAPIAnalyticsTimeseriesPointEntityMetricEntity) GetTotalAckedAlerts ¶

func (*NullableSignalsAPIAnalyticsTimeseriesPointEntityMetricEntity) GetTotalIncidents ¶

func (*NullableSignalsAPIAnalyticsTimeseriesPointEntityMetricEntity) GetTotalOpenedAlerts ¶

type NullableSignalsAPICallRouteStepEntity ¶

type NullableSignalsAPICallRouteStepEntity struct {
	Target         *NullableSignalsAPITargetEntity `json:"target,omitempty"`
	Position       *int                            `json:"position,omitempty"`
	Timeout        *string                         `json:"timeout,omitempty"`
	OnCallRotation *NullableSuccinctEntity         `json:"on_call_rotation,omitempty"`
}

func (*NullableSignalsAPICallRouteStepEntity) GetOnCallRotation ¶

func (*NullableSignalsAPICallRouteStepEntity) GetPosition ¶

func (n *NullableSignalsAPICallRouteStepEntity) GetPosition() *int

func (*NullableSignalsAPICallRouteStepEntity) GetTarget ¶

func (*NullableSignalsAPICallRouteStepEntity) GetTimeout ¶

type NullableSignalsAPIEscalationPolicyHandoffStepEntity ¶

type NullableSignalsAPIEscalationPolicyHandoffStepEntity struct {
	ID     *string                         `json:"id,omitempty"`
	Target *NullableSignalsAPITargetEntity `json:"target,omitempty"`
}

func (*NullableSignalsAPIEscalationPolicyHandoffStepEntity) GetID ¶

func (*NullableSignalsAPIEscalationPolicyHandoffStepEntity) GetTarget ¶

type NullableSignalsAPIGroupingEntityActionEntity ¶

type NullableSignalsAPIGroupingEntityActionEntity struct {
	Link *bool                                                  `json:"link,omitempty"`
	Fyi  *NullableSignalsAPIGroupingEntityActionEntityFyiEntity `json:"fyi,omitempty"`
}

func (*NullableSignalsAPIGroupingEntityActionEntity) GetFyi ¶

type NullableSignalsAPIGroupingEntityActionEntityFyiEntity ¶

type NullableSignalsAPIGroupingEntityActionEntityFyiEntity struct {
	SlackChannels []IntegrationsSlackSlackChannelEntity `json:"slack_channels,omitempty"`
}

func (*NullableSignalsAPIGroupingEntityActionEntityFyiEntity) GetSlackChannels ¶

type NullableSignalsAPIGroupingEntityStrategyEntity ¶

type NullableSignalsAPIGroupingEntityStrategyEntity struct {
	Substring *NullableSignalsAPIGroupingEntityStrategyEntitySubstringEntity `json:"substring,omitempty"`
}

func (*NullableSignalsAPIGroupingEntityStrategyEntity) GetSubstring ¶

type NullableSignalsAPIGroupingEntityStrategyEntitySubstringEntity ¶

type NullableSignalsAPIGroupingEntityStrategyEntitySubstringEntity struct {
	FieldName *string `json:"field_name,omitempty"`
	Value     *string `json:"value,omitempty"`
}

func (*NullableSignalsAPIGroupingEntityStrategyEntitySubstringEntity) GetFieldName ¶

func (*NullableSignalsAPIGroupingEntityStrategyEntitySubstringEntity) GetValue ¶

type NullableSignalsAPIOnCallShiftEntity ¶

type NullableSignalsAPIOnCallShiftEntity struct {
	ID              *string                 `json:"id,omitempty"`
	User            *NullableSuccinctEntity `json:"user,omitempty"`
	CoverageRequest *string                 `json:"coverage_request,omitempty"`
	Color           *string                 `json:"color,omitempty"`
	TimeZone        *string                 `json:"time_zone,omitempty"`
	OnCallSchedule  *NullableSuccinctEntity `json:"on_call_schedule,omitempty"`
	OnCallRotation  *NullableSuccinctEntity `json:"on_call_rotation,omitempty"`
	Team            *NullableSuccinctEntity `json:"team,omitempty"`
	StartTime       *time.Time              `json:"start_time,omitempty"`
	EndTime         *time.Time              `json:"end_time,omitempty"`
}

NullableSignalsAPIOnCallShiftEntity - Signals_API_OnCallShiftEntity model

func (*NullableSignalsAPIOnCallShiftEntity) GetColor ¶

func (*NullableSignalsAPIOnCallShiftEntity) GetCoverageRequest ¶

func (n *NullableSignalsAPIOnCallShiftEntity) GetCoverageRequest() *string

func (*NullableSignalsAPIOnCallShiftEntity) GetEndTime ¶

func (*NullableSignalsAPIOnCallShiftEntity) GetID ¶

func (*NullableSignalsAPIOnCallShiftEntity) GetOnCallRotation ¶

func (*NullableSignalsAPIOnCallShiftEntity) GetOnCallSchedule ¶

func (*NullableSignalsAPIOnCallShiftEntity) GetStartTime ¶

func (n *NullableSignalsAPIOnCallShiftEntity) GetStartTime() *time.Time

func (*NullableSignalsAPIOnCallShiftEntity) GetTeam ¶

func (*NullableSignalsAPIOnCallShiftEntity) GetTimeZone ¶

func (n *NullableSignalsAPIOnCallShiftEntity) GetTimeZone() *string

func (*NullableSignalsAPIOnCallShiftEntity) GetUser ¶

func (NullableSignalsAPIOnCallShiftEntity) MarshalJSON ¶

func (n NullableSignalsAPIOnCallShiftEntity) MarshalJSON() ([]byte, error)

func (*NullableSignalsAPIOnCallShiftEntity) UnmarshalJSON ¶

func (n *NullableSignalsAPIOnCallShiftEntity) UnmarshalJSON(data []byte) error

type NullableSignalsAPIOnCallStrategyEntity ¶

type NullableSignalsAPIOnCallStrategyEntity struct {
	Type          *string `json:"type,omitempty"`
	HandoffTime   *string `json:"handoff_time,omitempty"`
	HandoffDay    *string `json:"handoff_day,omitempty"`
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

func (*NullableSignalsAPIOnCallStrategyEntity) GetHandoffDay ¶

func (n *NullableSignalsAPIOnCallStrategyEntity) GetHandoffDay() *string

func (*NullableSignalsAPIOnCallStrategyEntity) GetHandoffTime ¶

func (n *NullableSignalsAPIOnCallStrategyEntity) GetHandoffTime() *string

func (*NullableSignalsAPIOnCallStrategyEntity) GetShiftDuration ¶

func (n *NullableSignalsAPIOnCallStrategyEntity) GetShiftDuration() *string

func (*NullableSignalsAPIOnCallStrategyEntity) GetType ¶

type NullableSignalsAPIRuleEntity ¶

type NullableSignalsAPIRuleEntity struct {
	ID                           *string                                                   `json:"id,omitempty"`
	Name                         *string                                                   `json:"name,omitempty"`
	Expression                   *string                                                   `json:"expression,omitempty"`
	TeamID                       *string                                                   `json:"team_id,omitempty"`
	Target                       *NullableSignalsAPITargetEntity                           `json:"target,omitempty"`
	CreatedBy                    *NullableAuthorEntity                                     `json:"created_by,omitempty"`
	CreatedAt                    *time.Time                                                `json:"created_at,omitempty"`
	UpdatedAt                    *time.Time                                                `json:"updated_at,omitempty"`
	IncidentType                 *NullableSuccinctEntity                                   `json:"incident_type,omitempty"`
	NotificationPriorityOverride *NullableSignalsAPIRuleEntityNotificationPriorityOverride `json:"notification_priority_override,omitempty"`
	CreateIncidentConditionWhen  *NullableSignalsAPIRuleEntityCreateIncidentConditionWhen  `json:"create_incident_condition_when,omitempty"`
	// Duration for deduplicating similar alerts (ISO8601 duration format e.g., 'PT30M', 'PT2H', 'P1D')
	DeduplicationExpiry *string `json:"deduplication_expiry,omitempty"`
}

NullableSignalsAPIRuleEntity - Signals_API_RuleEntity model

func (*NullableSignalsAPIRuleEntity) GetCreateIncidentConditionWhen ¶

func (*NullableSignalsAPIRuleEntity) GetCreatedAt ¶

func (n *NullableSignalsAPIRuleEntity) GetCreatedAt() *time.Time

func (*NullableSignalsAPIRuleEntity) GetCreatedBy ¶

func (*NullableSignalsAPIRuleEntity) GetDeduplicationExpiry ¶

func (n *NullableSignalsAPIRuleEntity) GetDeduplicationExpiry() *string

func (*NullableSignalsAPIRuleEntity) GetExpression ¶

func (n *NullableSignalsAPIRuleEntity) GetExpression() *string

func (*NullableSignalsAPIRuleEntity) GetID ¶

func (*NullableSignalsAPIRuleEntity) GetIncidentType ¶

func (*NullableSignalsAPIRuleEntity) GetName ¶

func (n *NullableSignalsAPIRuleEntity) GetName() *string

func (*NullableSignalsAPIRuleEntity) GetNotificationPriorityOverride ¶

func (*NullableSignalsAPIRuleEntity) GetTarget ¶

func (*NullableSignalsAPIRuleEntity) GetTeamID ¶

func (n *NullableSignalsAPIRuleEntity) GetTeamID() *string

func (*NullableSignalsAPIRuleEntity) GetUpdatedAt ¶

func (n *NullableSignalsAPIRuleEntity) GetUpdatedAt() *time.Time

func (NullableSignalsAPIRuleEntity) MarshalJSON ¶

func (n NullableSignalsAPIRuleEntity) MarshalJSON() ([]byte, error)

func (*NullableSignalsAPIRuleEntity) UnmarshalJSON ¶

func (n *NullableSignalsAPIRuleEntity) UnmarshalJSON(data []byte) error

type NullableSignalsAPIRuleEntityCreateIncidentConditionWhen ¶

type NullableSignalsAPIRuleEntityCreateIncidentConditionWhen string
const (
	NullableSignalsAPIRuleEntityCreateIncidentConditionWhenWhenUnspecified NullableSignalsAPIRuleEntityCreateIncidentConditionWhen = "WHEN_UNSPECIFIED"
	NullableSignalsAPIRuleEntityCreateIncidentConditionWhenWhenAlways      NullableSignalsAPIRuleEntityCreateIncidentConditionWhen = "WHEN_ALWAYS"
)

func (NullableSignalsAPIRuleEntityCreateIncidentConditionWhen) ToPointer ¶

func (*NullableSignalsAPIRuleEntityCreateIncidentConditionWhen) UnmarshalJSON ¶

type NullableSignalsAPIRuleEntityNotificationPriorityOverride ¶

type NullableSignalsAPIRuleEntityNotificationPriorityOverride string
const (
	NullableSignalsAPIRuleEntityNotificationPriorityOverrideHigh   NullableSignalsAPIRuleEntityNotificationPriorityOverride = "HIGH"
	NullableSignalsAPIRuleEntityNotificationPriorityOverrideMedium NullableSignalsAPIRuleEntityNotificationPriorityOverride = "MEDIUM"
	NullableSignalsAPIRuleEntityNotificationPriorityOverrideLow    NullableSignalsAPIRuleEntityNotificationPriorityOverride = "LOW"
)

func (NullableSignalsAPIRuleEntityNotificationPriorityOverride) ToPointer ¶

func (*NullableSignalsAPIRuleEntityNotificationPriorityOverride) UnmarshalJSON ¶

type NullableSignalsAPITargetEntity ¶

type NullableSignalsAPITargetEntity struct {
	ID         *string `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	Type       *string `json:"type,omitempty"`
	TeamID     *string `json:"team_id,omitempty"`
	IsPageable *bool   `json:"is_pageable,omitempty"`
}

func (*NullableSignalsAPITargetEntity) GetID ¶

func (*NullableSignalsAPITargetEntity) GetIsPageable ¶

func (n *NullableSignalsAPITargetEntity) GetIsPageable() *bool

func (*NullableSignalsAPITargetEntity) GetName ¶

func (n *NullableSignalsAPITargetEntity) GetName() *string

func (*NullableSignalsAPITargetEntity) GetTeamID ¶

func (n *NullableSignalsAPITargetEntity) GetTeamID() *string

func (*NullableSignalsAPITargetEntity) GetType ¶

func (n *NullableSignalsAPITargetEntity) GetType() *string

type NullableSignalsAPITransposerEntity ¶

type NullableSignalsAPITransposerEntity struct {
	Name           *string                                           `json:"name,omitempty"`
	Slug           *string                                           `json:"slug,omitempty"`
	ExamplePayload *NullableSignalsAPITransposerEntityExamplePayload `json:"example_payload,omitempty"`
	Expression     *string                                           `json:"expression,omitempty"`
	Expected       *string                                           `json:"expected,omitempty"`
	Website        *string                                           `json:"website,omitempty"`
	Description    *string                                           `json:"description,omitempty"`
	Tags           []string                                          `json:"tags,omitempty"`
	IngestURL      *string                                           `json:"ingest_url,omitempty"`
	Editable       *bool                                             `json:"editable,omitempty"`
	CreatedBy      *NullableAuthorEntity                             `json:"created_by,omitempty"`
	UpdatedBy      *NullableAuthorEntity                             `json:"updated_by,omitempty"`
}

NullableSignalsAPITransposerEntity - Signals_API_TransposerEntity model

func (*NullableSignalsAPITransposerEntity) GetCreatedBy ¶

func (*NullableSignalsAPITransposerEntity) GetDescription ¶

func (n *NullableSignalsAPITransposerEntity) GetDescription() *string

func (*NullableSignalsAPITransposerEntity) GetEditable ¶

func (n *NullableSignalsAPITransposerEntity) GetEditable() *bool

func (*NullableSignalsAPITransposerEntity) GetExamplePayload ¶

func (*NullableSignalsAPITransposerEntity) GetExpected ¶

func (n *NullableSignalsAPITransposerEntity) GetExpected() *string

func (*NullableSignalsAPITransposerEntity) GetExpression ¶

func (n *NullableSignalsAPITransposerEntity) GetExpression() *string

func (*NullableSignalsAPITransposerEntity) GetIngestURL ¶

func (n *NullableSignalsAPITransposerEntity) GetIngestURL() *string

func (*NullableSignalsAPITransposerEntity) GetName ¶

func (*NullableSignalsAPITransposerEntity) GetSlug ¶

func (*NullableSignalsAPITransposerEntity) GetTags ¶

func (*NullableSignalsAPITransposerEntity) GetUpdatedBy ¶

func (*NullableSignalsAPITransposerEntity) GetWebsite ¶

func (n *NullableSignalsAPITransposerEntity) GetWebsite() *string

type NullableSignalsAPITransposerEntityExamplePayload ¶

type NullableSignalsAPITransposerEntityExamplePayload struct {
}

type NullableSlimRunbookEntity ¶

type NullableSlimRunbookEntity struct {
	ID             *string                  `json:"id,omitempty"`
	Name           *string                  `json:"name,omitempty"`
	Summary        *string                  `json:"summary,omitempty"`
	Description    *string                  `json:"description,omitempty"`
	Type           *string                  `json:"type,omitempty"`
	CreatedAt      *time.Time               `json:"created_at,omitempty"`
	UpdatedAt      *time.Time               `json:"updated_at,omitempty"`
	AttachmentRule *NullableRulesRuleEntity `json:"attachment_rule,omitempty"`
	Owner          *NullableTeamEntityLite  `json:"owner,omitempty"`
	// categories the runbook applies to
	Categories []string `json:"categories,omitempty"`
	// The timestamp when this runbook was last executed
	LastExecutedAt          *time.Time                                  `json:"last_executed_at,omitempty"`
	LastExecutedForIncident *NullablePublicAPIV1IncidentsSuccinctEntity `json:"last_executed_for_incident,omitempty"`
}

func (*NullableSlimRunbookEntity) GetAttachmentRule ¶

func (n *NullableSlimRunbookEntity) GetAttachmentRule() *NullableRulesRuleEntity

func (*NullableSlimRunbookEntity) GetCategories ¶

func (n *NullableSlimRunbookEntity) GetCategories() []string

func (*NullableSlimRunbookEntity) GetCreatedAt ¶

func (n *NullableSlimRunbookEntity) GetCreatedAt() *time.Time

func (*NullableSlimRunbookEntity) GetDescription ¶

func (n *NullableSlimRunbookEntity) GetDescription() *string

func (*NullableSlimRunbookEntity) GetID ¶

func (n *NullableSlimRunbookEntity) GetID() *string

func (*NullableSlimRunbookEntity) GetLastExecutedAt ¶

func (n *NullableSlimRunbookEntity) GetLastExecutedAt() *time.Time

func (*NullableSlimRunbookEntity) GetLastExecutedForIncident ¶

func (*NullableSlimRunbookEntity) GetName ¶

func (n *NullableSlimRunbookEntity) GetName() *string

func (*NullableSlimRunbookEntity) GetOwner ¶

func (*NullableSlimRunbookEntity) GetSummary ¶

func (n *NullableSlimRunbookEntity) GetSummary() *string

func (*NullableSlimRunbookEntity) GetType ¶

func (n *NullableSlimRunbookEntity) GetType() *string

func (*NullableSlimRunbookEntity) GetUpdatedAt ¶

func (n *NullableSlimRunbookEntity) GetUpdatedAt() *time.Time

func (NullableSlimRunbookEntity) MarshalJSON ¶

func (n NullableSlimRunbookEntity) MarshalJSON() ([]byte, error)

func (*NullableSlimRunbookEntity) UnmarshalJSON ¶

func (n *NullableSlimRunbookEntity) UnmarshalJSON(data []byte) error

type NullableSuccinctEntity ¶

type NullableSuccinctEntity struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

func (*NullableSuccinctEntity) GetID ¶

func (n *NullableSuccinctEntity) GetID() *string

func (*NullableSuccinctEntity) GetName ¶

func (n *NullableSuccinctEntity) GetName() *string

type NullableTeamEntityLite ¶

type NullableTeamEntityLite struct {
	ID                                *string               `json:"id,omitempty"`
	Name                              *string               `json:"name,omitempty"`
	Description                       *string               `json:"description,omitempty"`
	Slug                              *string               `json:"slug,omitempty"`
	CreatedAt                         *time.Time            `json:"created_at,omitempty"`
	UpdatedAt                         *time.Time            `json:"updated_at,omitempty"`
	SignalsIcalURL                    *string               `json:"signals_ical_url,omitempty"`
	CreatedBy                         *NullableAuthorEntity `json:"created_by,omitempty"`
	InSupportHours                    *bool                 `json:"in_support_hours,omitempty"`
	RestrictSignalsResourceManagement *bool                 `json:"restrict_signals_resource_management,omitempty"`
}

func (*NullableTeamEntityLite) GetCreatedAt ¶

func (n *NullableTeamEntityLite) GetCreatedAt() *time.Time

func (*NullableTeamEntityLite) GetCreatedBy ¶

func (n *NullableTeamEntityLite) GetCreatedBy() *NullableAuthorEntity

func (*NullableTeamEntityLite) GetDescription ¶

func (n *NullableTeamEntityLite) GetDescription() *string

func (*NullableTeamEntityLite) GetID ¶

func (n *NullableTeamEntityLite) GetID() *string

func (*NullableTeamEntityLite) GetInSupportHours ¶

func (n *NullableTeamEntityLite) GetInSupportHours() *bool

func (*NullableTeamEntityLite) GetName ¶

func (n *NullableTeamEntityLite) GetName() *string

func (*NullableTeamEntityLite) GetRestrictSignalsResourceManagement ¶

func (n *NullableTeamEntityLite) GetRestrictSignalsResourceManagement() *bool

func (*NullableTeamEntityLite) GetSignalsIcalURL ¶

func (n *NullableTeamEntityLite) GetSignalsIcalURL() *string

func (*NullableTeamEntityLite) GetSlug ¶

func (n *NullableTeamEntityLite) GetSlug() *string

func (*NullableTeamEntityLite) GetUpdatedAt ¶

func (n *NullableTeamEntityLite) GetUpdatedAt() *time.Time

func (NullableTeamEntityLite) MarshalJSON ¶

func (n NullableTeamEntityLite) MarshalJSON() ([]byte, error)

func (*NullableTeamEntityLite) UnmarshalJSON ¶

func (n *NullableTeamEntityLite) UnmarshalJSON(data []byte) error

type NullableTicketingPriorityEntity ¶

type NullableTicketingPriorityEntity struct {
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	Position  *int       `json:"position,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

NullableTicketingPriorityEntity - Ticketing_PriorityEntity model

func (*NullableTicketingPriorityEntity) GetCreatedAt ¶

func (n *NullableTicketingPriorityEntity) GetCreatedAt() *time.Time

func (*NullableTicketingPriorityEntity) GetID ¶

func (*NullableTicketingPriorityEntity) GetName ¶

func (*NullableTicketingPriorityEntity) GetPosition ¶

func (n *NullableTicketingPriorityEntity) GetPosition() *int

func (*NullableTicketingPriorityEntity) GetUpdatedAt ¶

func (n *NullableTicketingPriorityEntity) GetUpdatedAt() *time.Time

func (NullableTicketingPriorityEntity) MarshalJSON ¶

func (n NullableTicketingPriorityEntity) MarshalJSON() ([]byte, error)

func (*NullableTicketingPriorityEntity) UnmarshalJSON ¶

func (n *NullableTicketingPriorityEntity) UnmarshalJSON(data []byte) error

type NullableTicketingProjectConfigEntity ¶

type NullableTicketingProjectConfigEntity struct {
	ID                   *string `json:"id,omitempty"`
	ConnectionID         *string `json:"connection_id,omitempty"`
	ConnectionType       *string `json:"connection_type,omitempty"`
	TicketingProjectID   *string `json:"ticketing_project_id,omitempty"`
	TicketingProjectName *string `json:"ticketing_project_name,omitempty"`
	// A config object containing details about the project config. Can be one of: Ticketing::JiraCloud::ProjectConfigEntity, Ticketing::JiraOnprem::ProjectConfigEntity, or Ticketing::Shortcut::ProjectConfigEntity
	Details *NullableTicketingProjectConfigEntityDetails `json:"details,omitempty"`
}

NullableTicketingProjectConfigEntity - Ticketing_ProjectConfigEntity model

func (*NullableTicketingProjectConfigEntity) GetConnectionID ¶

func (n *NullableTicketingProjectConfigEntity) GetConnectionID() *string

func (*NullableTicketingProjectConfigEntity) GetConnectionType ¶

func (n *NullableTicketingProjectConfigEntity) GetConnectionType() *string

func (*NullableTicketingProjectConfigEntity) GetDetails ¶

func (*NullableTicketingProjectConfigEntity) GetID ¶

func (*NullableTicketingProjectConfigEntity) GetTicketingProjectID ¶

func (n *NullableTicketingProjectConfigEntity) GetTicketingProjectID() *string

func (*NullableTicketingProjectConfigEntity) GetTicketingProjectName ¶

func (n *NullableTicketingProjectConfigEntity) GetTicketingProjectName() *string

type NullableTicketingProjectConfigEntityDetails ¶

type NullableTicketingProjectConfigEntityDetails struct {
}

NullableTicketingProjectConfigEntityDetails - A config object containing details about the project config. Can be one of: Ticketing::JiraCloud::ProjectConfigEntity, Ticketing::JiraOnprem::ProjectConfigEntity, or Ticketing::Shortcut::ProjectConfigEntity

type NullableTicketingProjectFieldMapCasesElseEntity ¶

type NullableTicketingProjectFieldMapCasesElseEntity struct {
	ExternalValue *NullableTicketingProjectFieldMapExternalValueEntity `json:"external_value,omitempty"`
}

func (*NullableTicketingProjectFieldMapCasesElseEntity) GetExternalValue ¶

type NullableTicketingProjectFieldMapEntity ¶

type NullableTicketingProjectFieldMapEntity struct {
	ID                 *string                              `json:"id,omitempty"`
	ConnectionID       *string                              `json:"connection_id,omitempty"`
	ConnectionType     *string                              `json:"connection_type,omitempty"`
	TicketingProjectID *string                              `json:"ticketing_project_id,omitempty"`
	Body               []TicketingProjectFieldMapBodyEntity `json:"body,omitempty"`
}

NullableTicketingProjectFieldMapEntity - Ticketing_ProjectFieldMapEntity model

func (*NullableTicketingProjectFieldMapEntity) GetBody ¶

func (*NullableTicketingProjectFieldMapEntity) GetConnectionID ¶

func (n *NullableTicketingProjectFieldMapEntity) GetConnectionID() *string

func (*NullableTicketingProjectFieldMapEntity) GetConnectionType ¶

func (n *NullableTicketingProjectFieldMapEntity) GetConnectionType() *string

func (*NullableTicketingProjectFieldMapEntity) GetID ¶

func (*NullableTicketingProjectFieldMapEntity) GetTicketingProjectID ¶

func (n *NullableTicketingProjectFieldMapEntity) GetTicketingProjectID() *string

type NullableTicketingProjectFieldMapExternalValueEntity ¶

type NullableTicketingProjectFieldMapExternalValueEntity struct {
	Type         *NullableTicketingProjectFieldMapExternalValueEntityType `json:"type,omitempty"`
	Value        *string                                                  `json:"value,omitempty"`
	Attribute    *string                                                  `json:"attribute,omitempty"`
	Presentation *string                                                  `json:"presentation,omitempty"`
}

func (*NullableTicketingProjectFieldMapExternalValueEntity) GetAttribute ¶

func (*NullableTicketingProjectFieldMapExternalValueEntity) GetPresentation ¶

func (*NullableTicketingProjectFieldMapExternalValueEntity) GetType ¶

func (*NullableTicketingProjectFieldMapExternalValueEntity) GetValue ¶

type NullableTicketingProjectFieldMapExternalValueEntityType ¶

type NullableTicketingProjectFieldMapExternalValueEntityType string
const (
	NullableTicketingProjectFieldMapExternalValueEntityTypeLiteral     NullableTicketingProjectFieldMapExternalValueEntityType = "literal"
	NullableTicketingProjectFieldMapExternalValueEntityTypeFhAttribute NullableTicketingProjectFieldMapExternalValueEntityType = "fh-attribute"
	NullableTicketingProjectFieldMapExternalValueEntityTypeFhType      NullableTicketingProjectFieldMapExternalValueEntityType = "fh-type"
)

func (NullableTicketingProjectFieldMapExternalValueEntityType) ToPointer ¶

func (*NullableTicketingProjectFieldMapExternalValueEntityType) UnmarshalJSON ¶

type NullableTicketingTicketEntity ¶

type NullableTicketingTicketEntity struct {
	ID          *string                             `json:"id,omitempty"`
	Summary     *string                             `json:"summary,omitempty"`
	Description *string                             `json:"description,omitempty"`
	State       *NullableTicketingTicketEntityState `json:"state,omitempty"`
	Type        *NullableTicketingTicketEntityType  `json:"type,omitempty"`
	Assignees   []AuthorEntity                      `json:"assignees,omitempty"`
	Priority    *NullableTicketingPriorityEntity    `json:"priority,omitempty"`
	CreatedBy   *NullableAuthorEntity               `json:"created_by,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	Attachments []NullableTicketingTicketEntityAttachment `json:"attachments,omitempty"`
	CreatedAt   *time.Time                                `json:"created_at,omitempty"`
	UpdatedAt   *time.Time                                `json:"updated_at,omitempty"`
	TagList     []string                                  `json:"tag_list,omitempty"`
	// ID of incident that this ticket is related to
	IncidentID *string `json:"incident_id,omitempty"`
	// Name of incident that this ticket is related to
	IncidentName *string `json:"incident_name,omitempty"`
	// Milestone of incident that this ticket is related to
	IncidentCurrentMilestone *string `json:"incident_current_milestone,omitempty"`
	// ID of task that this ticket is related to
	TaskID *string    `json:"task_id,omitempty"`
	DueAt  *time.Time `json:"due_at,omitempty"`
	// Error message from syncing this ticket to integrations
	SyncErrorMessage *string                        `json:"sync_error_message,omitempty"`
	Link             *NullableAttachmentsLinkEntity `json:"link,omitempty"`
}

NullableTicketingTicketEntity - Ticketing_TicketEntity model

func (*NullableTicketingTicketEntity) GetAssignees ¶

func (n *NullableTicketingTicketEntity) GetAssignees() []AuthorEntity

func (*NullableTicketingTicketEntity) GetAttachments ¶

func (*NullableTicketingTicketEntity) GetCreatedAt ¶

func (n *NullableTicketingTicketEntity) GetCreatedAt() *time.Time

func (*NullableTicketingTicketEntity) GetCreatedBy ¶

func (*NullableTicketingTicketEntity) GetDescription ¶

func (n *NullableTicketingTicketEntity) GetDescription() *string

func (*NullableTicketingTicketEntity) GetDueAt ¶

func (n *NullableTicketingTicketEntity) GetDueAt() *time.Time

func (*NullableTicketingTicketEntity) GetID ¶

func (*NullableTicketingTicketEntity) GetIncidentCurrentMilestone ¶

func (n *NullableTicketingTicketEntity) GetIncidentCurrentMilestone() *string

func (*NullableTicketingTicketEntity) GetIncidentID ¶

func (n *NullableTicketingTicketEntity) GetIncidentID() *string

func (*NullableTicketingTicketEntity) GetIncidentName ¶

func (n *NullableTicketingTicketEntity) GetIncidentName() *string

func (*NullableTicketingTicketEntity) GetPriority ¶

func (*NullableTicketingTicketEntity) GetState ¶

func (*NullableTicketingTicketEntity) GetSummary ¶

func (n *NullableTicketingTicketEntity) GetSummary() *string

func (*NullableTicketingTicketEntity) GetSyncErrorMessage ¶

func (n *NullableTicketingTicketEntity) GetSyncErrorMessage() *string

func (*NullableTicketingTicketEntity) GetTagList ¶

func (n *NullableTicketingTicketEntity) GetTagList() []string

func (*NullableTicketingTicketEntity) GetTaskID ¶

func (n *NullableTicketingTicketEntity) GetTaskID() *string

func (*NullableTicketingTicketEntity) GetType ¶

func (*NullableTicketingTicketEntity) GetUpdatedAt ¶

func (n *NullableTicketingTicketEntity) GetUpdatedAt() *time.Time

func (NullableTicketingTicketEntity) MarshalJSON ¶

func (n NullableTicketingTicketEntity) MarshalJSON() ([]byte, error)

func (*NullableTicketingTicketEntity) UnmarshalJSON ¶

func (n *NullableTicketingTicketEntity) UnmarshalJSON(data []byte) error

type NullableTicketingTicketEntityAttachment ¶

type NullableTicketingTicketEntityAttachment struct {
}

type NullableTicketingTicketEntityState ¶

type NullableTicketingTicketEntityState string
const (
	NullableTicketingTicketEntityStateOpen       NullableTicketingTicketEntityState = "open"
	NullableTicketingTicketEntityStateInProgress NullableTicketingTicketEntityState = "in_progress"
	NullableTicketingTicketEntityStateCancelled  NullableTicketingTicketEntityState = "cancelled"
	NullableTicketingTicketEntityStateDone       NullableTicketingTicketEntityState = "done"
)

func (NullableTicketingTicketEntityState) ToPointer ¶

func (*NullableTicketingTicketEntityState) UnmarshalJSON ¶

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

type NullableTicketingTicketEntityType ¶

type NullableTicketingTicketEntityType string
const (
	NullableTicketingTicketEntityTypeIncident NullableTicketingTicketEntityType = "incident"
	NullableTicketingTicketEntityTypeTask     NullableTicketingTicketEntityType = "task"
	NullableTicketingTicketEntityTypeFollowUp NullableTicketingTicketEntityType = "follow_up"
)

func (NullableTicketingTicketEntityType) ToPointer ¶

func (*NullableTicketingTicketEntityType) UnmarshalJSON ¶

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

type NullableUserEntity ¶

type NullableUserEntity struct {
	ID                                  *string                                            `json:"id,omitempty"`
	Name                                *string                                            `json:"name,omitempty"`
	Email                               *string                                            `json:"email,omitempty"`
	SlackUserID                         *string                                            `json:"slack_user_id,omitempty"`
	SlackLinked                         *bool                                              `json:"slack_linked?,omitempty"`
	CreatedAt                           *time.Time                                         `json:"created_at,omitempty"`
	UpdatedAt                           *time.Time                                         `json:"updated_at,omitempty"`
	SignalsEnabledNotificationTypes     []string                                           `json:"signals_enabled_notification_types,omitempty"`
	SignalsNotificationPolicyCompliance []SignalsAPINotificationPolicyItemComplianceEntity `json:"signals_notification_policy_compliance,omitempty"`
}

NullableUserEntity - UserEntity model

func (*NullableUserEntity) GetCreatedAt ¶

func (n *NullableUserEntity) GetCreatedAt() *time.Time

func (*NullableUserEntity) GetEmail ¶

func (n *NullableUserEntity) GetEmail() *string

func (*NullableUserEntity) GetID ¶

func (n *NullableUserEntity) GetID() *string

func (*NullableUserEntity) GetName ¶

func (n *NullableUserEntity) GetName() *string

func (*NullableUserEntity) GetSignalsEnabledNotificationTypes ¶

func (n *NullableUserEntity) GetSignalsEnabledNotificationTypes() []string

func (*NullableUserEntity) GetSignalsNotificationPolicyCompliance ¶

func (n *NullableUserEntity) GetSignalsNotificationPolicyCompliance() []SignalsAPINotificationPolicyItemComplianceEntity

func (*NullableUserEntity) GetSlackLinked ¶

func (n *NullableUserEntity) GetSlackLinked() *bool

func (*NullableUserEntity) GetSlackUserID ¶

func (n *NullableUserEntity) GetSlackUserID() *string

func (*NullableUserEntity) GetUpdatedAt ¶

func (n *NullableUserEntity) GetUpdatedAt() *time.Time

func (NullableUserEntity) MarshalJSON ¶

func (n NullableUserEntity) MarshalJSON() ([]byte, error)

func (*NullableUserEntity) UnmarshalJSON ¶

func (n *NullableUserEntity) UnmarshalJSON(data []byte) error

type NullableVotesEntity ¶

type NullableVotesEntity struct {
	// Whether or not the current actor has voted
	Voted *bool `json:"voted,omitempty"`
	// Whether or not the current actor has voted positively
	Liked *bool `json:"liked,omitempty"`
	// Whether or not the current actor has voted negatively
	Disliked *bool `json:"disliked,omitempty"`
	Likes    *int  `json:"likes,omitempty"`
	Dislikes *int  `json:"dislikes,omitempty"`
}

NullableVotesEntity - VotesEntity model

func (*NullableVotesEntity) GetDisliked ¶

func (n *NullableVotesEntity) GetDisliked() *bool

func (*NullableVotesEntity) GetDislikes ¶

func (n *NullableVotesEntity) GetDislikes() *int

func (*NullableVotesEntity) GetLiked ¶

func (n *NullableVotesEntity) GetLiked() *bool

func (*NullableVotesEntity) GetLikes ¶

func (n *NullableVotesEntity) GetLikes() *int

func (*NullableVotesEntity) GetVoted ¶

func (n *NullableVotesEntity) GetVoted() *bool

type NuncConnectionEntity ¶

type NuncConnectionEntity struct {
	ID                    *string                           `json:"id,omitempty"`
	Domain                *string                           `json:"domain,omitempty"`
	CompanyName           *string                           `json:"company_name,omitempty"`
	CompanyWebsite        *string                           `json:"company_website,omitempty"`
	Cname                 *string                           `json:"cname,omitempty"`
	GreetingTitle         *string                           `json:"greeting_title,omitempty"`
	GreetingBody          *string                           `json:"greeting_body,omitempty"`
	OperationalMessage    *string                           `json:"operational_message,omitempty"`
	CompanyTosURL         *string                           `json:"company_tos_url,omitempty"`
	PrimaryColor          *string                           `json:"primary_color,omitempty"`
	SecondaryColor        *string                           `json:"secondary_color,omitempty"`
	ButtonBackgroundColor *string                           `json:"button_background_color,omitempty"`
	ButtonTextColor       *string                           `json:"button_text_color,omitempty"`
	LinkColor             *string                           `json:"link_color,omitempty"`
	Title                 *string                           `json:"title,omitempty"`
	ExposedFields         []string                          `json:"exposed_fields,omitempty"`
	Conditions            *NullableNuncConditionEntity      `json:"conditions,omitempty"`
	Components            *NullableNuncComponentEntity      `json:"components,omitempty"`
	ComponentGroups       *NullableNuncComponentGroupEntity `json:"component_groups,omitempty"`
	CoverImage            *NullableMediaImageEntity         `json:"cover_image,omitempty"`
	Favicon               *NullableMediaImageEntity         `json:"favicon,omitempty"`
	OpenGraphImage        *NullableMediaImageEntity         `json:"open_graph_image,omitempty"`
	EnableHistogram       *bool                             `json:"enable_histogram,omitempty"`
	UIVersion             *int                              `json:"ui_version,omitempty"`
	// List of links attached to this status page.
	Links []LinksEntity `json:"links,omitempty"`
}

NuncConnectionEntity model

func (*NuncConnectionEntity) GetButtonBackgroundColor ¶

func (n *NuncConnectionEntity) GetButtonBackgroundColor() *string

func (*NuncConnectionEntity) GetButtonTextColor ¶

func (n *NuncConnectionEntity) GetButtonTextColor() *string

func (*NuncConnectionEntity) GetCname ¶

func (n *NuncConnectionEntity) GetCname() *string

func (*NuncConnectionEntity) GetCompanyName ¶

func (n *NuncConnectionEntity) GetCompanyName() *string

func (*NuncConnectionEntity) GetCompanyTosURL ¶

func (n *NuncConnectionEntity) GetCompanyTosURL() *string

func (*NuncConnectionEntity) GetCompanyWebsite ¶

func (n *NuncConnectionEntity) GetCompanyWebsite() *string

func (*NuncConnectionEntity) GetComponentGroups ¶

func (n *NuncConnectionEntity) GetComponentGroups() *NullableNuncComponentGroupEntity

func (*NuncConnectionEntity) GetComponents ¶

func (*NuncConnectionEntity) GetConditions ¶

func (*NuncConnectionEntity) GetCoverImage ¶

func (n *NuncConnectionEntity) GetCoverImage() *NullableMediaImageEntity

func (*NuncConnectionEntity) GetDomain ¶

func (n *NuncConnectionEntity) GetDomain() *string

func (*NuncConnectionEntity) GetEnableHistogram ¶

func (n *NuncConnectionEntity) GetEnableHistogram() *bool

func (*NuncConnectionEntity) GetExposedFields ¶

func (n *NuncConnectionEntity) GetExposedFields() []string

func (*NuncConnectionEntity) GetFavicon ¶

func (*NuncConnectionEntity) GetGreetingBody ¶

func (n *NuncConnectionEntity) GetGreetingBody() *string

func (*NuncConnectionEntity) GetGreetingTitle ¶

func (n *NuncConnectionEntity) GetGreetingTitle() *string

func (*NuncConnectionEntity) GetID ¶

func (n *NuncConnectionEntity) GetID() *string

func (*NuncConnectionEntity) GetLinkColor ¶

func (n *NuncConnectionEntity) GetLinkColor() *string
func (n *NuncConnectionEntity) GetLinks() []LinksEntity

func (*NuncConnectionEntity) GetOpenGraphImage ¶

func (n *NuncConnectionEntity) GetOpenGraphImage() *NullableMediaImageEntity

func (*NuncConnectionEntity) GetOperationalMessage ¶

func (n *NuncConnectionEntity) GetOperationalMessage() *string

func (*NuncConnectionEntity) GetPrimaryColor ¶

func (n *NuncConnectionEntity) GetPrimaryColor() *string

func (*NuncConnectionEntity) GetSecondaryColor ¶

func (n *NuncConnectionEntity) GetSecondaryColor() *string

func (*NuncConnectionEntity) GetTitle ¶

func (n *NuncConnectionEntity) GetTitle() *string

func (*NuncConnectionEntity) GetUIVersion ¶

func (n *NuncConnectionEntity) GetUIVersion() *int

type NuncConnectionEntityPaginated ¶

type NuncConnectionEntityPaginated struct {
	Data       []NuncConnectionEntity    `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

NuncConnectionEntityPaginated model

func (*NuncConnectionEntityPaginated) GetData ¶

func (*NuncConnectionEntityPaginated) GetPagination ¶

type NuncEmailSubscribersEntity ¶

type NuncEmailSubscribersEntity struct {
	// UUID of the subscriber
	ID *string `json:"id,omitempty"`
	// Email of the subscriber
	Email *string `json:"email,omitempty"`
	// The time the subscriber was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
}

NuncEmailSubscribersEntity model

func (*NuncEmailSubscribersEntity) GetCreatedAt ¶

func (n *NuncEmailSubscribersEntity) GetCreatedAt() *time.Time

func (*NuncEmailSubscribersEntity) GetEmail ¶

func (n *NuncEmailSubscribersEntity) GetEmail() *string

func (*NuncEmailSubscribersEntity) GetID ¶

func (n *NuncEmailSubscribersEntity) GetID() *string

func (NuncEmailSubscribersEntity) MarshalJSON ¶

func (n NuncEmailSubscribersEntity) MarshalJSON() ([]byte, error)

func (*NuncEmailSubscribersEntity) UnmarshalJSON ¶

func (n *NuncEmailSubscribersEntity) UnmarshalJSON(data []byte) error

type NuncNuncSubscription ¶

type NuncNuncSubscription struct {
	Response *string `json:"response,omitempty"`
}

NuncNuncSubscription - Nunc_NuncSubscription model

func (*NuncNuncSubscription) GetResponse ¶

func (n *NuncNuncSubscription) GetResponse() *string

type OrganizationsCustomFieldDefinitionEntity ¶

type OrganizationsCustomFieldDefinitionEntity struct {
	DisplayName *string `json:"display_name,omitempty"`
	FieldID     *string `json:"field_id,omitempty"`
	FieldType   *string `json:"field_type,omitempty"`
	Slug        *string `json:"slug,omitempty"`
	Description *string `json:"description,omitempty"`
	// Whether this field is required for all incidents.
	Required *bool `json:"required,omitempty"`
	// The milestone at which this field is required, if `required` is set to `true`. When null, a required field is always required.
	RequiredAtMilestoneID *string  `json:"required_at_milestone_id,omitempty"`
	PermissibleValues     []string `json:"permissible_values,omitempty"`
}

OrganizationsCustomFieldDefinitionEntity - Organizations_CustomFieldDefinitionEntity model

func (*OrganizationsCustomFieldDefinitionEntity) GetDescription ¶

func (o *OrganizationsCustomFieldDefinitionEntity) GetDescription() *string

func (*OrganizationsCustomFieldDefinitionEntity) GetDisplayName ¶

func (o *OrganizationsCustomFieldDefinitionEntity) GetDisplayName() *string

func (*OrganizationsCustomFieldDefinitionEntity) GetFieldID ¶

func (*OrganizationsCustomFieldDefinitionEntity) GetFieldType ¶

func (*OrganizationsCustomFieldDefinitionEntity) GetPermissibleValues ¶

func (o *OrganizationsCustomFieldDefinitionEntity) GetPermissibleValues() []string

func (*OrganizationsCustomFieldDefinitionEntity) GetRequired ¶

func (*OrganizationsCustomFieldDefinitionEntity) GetRequiredAtMilestoneID ¶

func (o *OrganizationsCustomFieldDefinitionEntity) GetRequiredAtMilestoneID() *string

func (*OrganizationsCustomFieldDefinitionEntity) GetSlug ¶

type OverrideOnCallScheduleRotationShifts ¶

type OverrideOnCallScheduleRotationShifts struct {
	// An ISO8601 time string specifying when the override should start.
	StartTime string `json:"start_time"`
	// An ISO8601 time string specifying when the override should end.
	EndTime string `json:"end_time"`
	// The ID of the user who should be on-call for the overridden period. If not provided, the override will be unassigned and claimable by any user.
	UserID *string `json:"user_id,omitempty"`
}

OverrideOnCallScheduleRotationShifts - Create an override covering a specific time period in an on-call rotation, re-assigning that period to a specific user.

func (*OverrideOnCallScheduleRotationShifts) GetEndTime ¶

func (*OverrideOnCallScheduleRotationShifts) GetStartTime ¶

func (o *OverrideOnCallScheduleRotationShifts) GetStartTime() string

func (*OverrideOnCallScheduleRotationShifts) GetUserID ¶

type PatchScimGroup ¶

type PatchScimGroup struct {
	// An optional trail to log the request
	Trail *string `json:"trail,omitempty"`
	// An array of operations to perform on the group
	Operations []PatchScimGroupOperation `json:"Operations"`
}

PatchScimGroup - SCIM endpoint to partially update a Team (Colloquial for Group in the SCIM protocol). Supports adding, removing, or replacing members using SCIM PATCH operations.

func (*PatchScimGroup) GetOperations ¶

func (p *PatchScimGroup) GetOperations() []PatchScimGroupOperation

func (*PatchScimGroup) GetTrail ¶

func (p *PatchScimGroup) GetTrail() *string

type PatchScimGroupOperation ¶

type PatchScimGroupOperation struct {
	// The operation to perform. Options are add, remove, replace
	Op string `json:"op"`
	// The path to the attribute to be modified
	Path string `json:"path"`
}

func (*PatchScimGroupOperation) GetOp ¶

func (p *PatchScimGroupOperation) GetOp() string

func (*PatchScimGroupOperation) GetPath ¶

func (p *PatchScimGroupOperation) GetPath() string

type PatchScimUser ¶

type PatchScimUser struct {
	// An optional trail to log the request
	Trail *string `json:"trail,omitempty"`
	// An array of operations to perform on the user
	Operations []PatchScimUserOperation `json:"Operations"`
}

PatchScimUser - PATCH SCIM endpoint to update a User. This endpoint is used to update a resource's attributes.

func (*PatchScimUser) GetOperations ¶

func (p *PatchScimUser) GetOperations() []PatchScimUserOperation

func (*PatchScimUser) GetTrail ¶

func (p *PatchScimUser) GetTrail() *string

type PatchScimUserOperation ¶

type PatchScimUserOperation struct {
	// The operation to perform on the user. Options are add, remove, replace
	Op string `json:"op"`
	// The path to the attribute to be modified. Optional for Okta OIN format where value contains the full update object
	Path *string `json:"path,omitempty"`
}

func (*PatchScimUserOperation) GetOp ¶

func (p *PatchScimUserOperation) GetOp() string

func (*PatchScimUserOperation) GetPath ¶

func (p *PatchScimUserOperation) GetPath() *string

type PermissionEntityList ¶

type PermissionEntityList struct {
	Data []PublicAPIV1PermissionEntity `json:"data,omitempty"`
}

PermissionEntityList model

func (*PermissionEntityList) GetData ¶

type PongEntity ¶

type PongEntity struct {
	Response     *string                     `json:"response,omitempty"`
	Actor        *NullableActorEntity        `json:"actor,omitempty"`
	Organization *NullableOrganizationEntity `json:"organization,omitempty"`
}

PongEntity model

func (*PongEntity) GetActor ¶

func (p *PongEntity) GetActor() *NullableActorEntity

func (*PongEntity) GetOrganization ¶

func (p *PongEntity) GetOrganization() *NullableOrganizationEntity

func (*PongEntity) GetResponse ¶

func (p *PongEntity) GetResponse() *string

type PostMortemsPostMortemReportEntity ¶

type PostMortemsPostMortemReportEntity struct {
	ID                *string                            `json:"id,omitempty"`
	Name              *string                            `json:"name,omitempty"`
	Summary           *string                            `json:"summary,omitempty"`
	IncidentID        *string                            `json:"incident_id,omitempty"`
	CreatedAt         *time.Time                         `json:"created_at,omitempty"`
	UpdatedAt         *time.Time                         `json:"updated_at,omitempty"`
	TagList           []string                           `json:"tag_list,omitempty"`
	AdditionalDetails []string                           `json:"additional_details,omitempty"`
	Incident          *NullableIncidentEntity            `json:"incident,omitempty"`
	Questions         *NullablePostMortemsQuestionEntity `json:"questions,omitempty"`
	CalendarEvents    *NullableCalendarsEventEntity      `json:"calendar_events,omitempty"`
	RetrospectiveShim *bool                              `json:"retrospective_shim,omitempty"`
	RetrospectiveID   *string                            `json:"retrospective_id,omitempty"`
	RetrospectiveNote *string                            `json:"retrospective_note,omitempty"`
}

PostMortemsPostMortemReportEntity - PostMortems_PostMortemReportEntity model

func (*PostMortemsPostMortemReportEntity) GetAdditionalDetails ¶

func (p *PostMortemsPostMortemReportEntity) GetAdditionalDetails() []string

func (*PostMortemsPostMortemReportEntity) GetCalendarEvents ¶

func (*PostMortemsPostMortemReportEntity) GetCreatedAt ¶

func (p *PostMortemsPostMortemReportEntity) GetCreatedAt() *time.Time

func (*PostMortemsPostMortemReportEntity) GetID ¶

func (*PostMortemsPostMortemReportEntity) GetIncident ¶

func (*PostMortemsPostMortemReportEntity) GetIncidentID ¶

func (p *PostMortemsPostMortemReportEntity) GetIncidentID() *string

func (*PostMortemsPostMortemReportEntity) GetName ¶

func (*PostMortemsPostMortemReportEntity) GetQuestions ¶

func (*PostMortemsPostMortemReportEntity) GetRetrospectiveID ¶

func (p *PostMortemsPostMortemReportEntity) GetRetrospectiveID() *string

func (*PostMortemsPostMortemReportEntity) GetRetrospectiveNote ¶

func (p *PostMortemsPostMortemReportEntity) GetRetrospectiveNote() *string

func (*PostMortemsPostMortemReportEntity) GetRetrospectiveShim ¶

func (p *PostMortemsPostMortemReportEntity) GetRetrospectiveShim() *bool

func (*PostMortemsPostMortemReportEntity) GetSummary ¶

func (p *PostMortemsPostMortemReportEntity) GetSummary() *string

func (*PostMortemsPostMortemReportEntity) GetTagList ¶

func (p *PostMortemsPostMortemReportEntity) GetTagList() []string

func (*PostMortemsPostMortemReportEntity) GetUpdatedAt ¶

func (p *PostMortemsPostMortemReportEntity) GetUpdatedAt() *time.Time

func (PostMortemsPostMortemReportEntity) MarshalJSON ¶

func (p PostMortemsPostMortemReportEntity) MarshalJSON() ([]byte, error)

func (*PostMortemsPostMortemReportEntity) UnmarshalJSON ¶

func (p *PostMortemsPostMortemReportEntity) UnmarshalJSON(data []byte) error

type PostMortemsPostMortemReportEntityPaginated ¶

type PostMortemsPostMortemReportEntityPaginated struct {
	Data       []PostMortemsPostMortemReportEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity           `json:"pagination,omitempty"`
}

PostMortemsPostMortemReportEntityPaginated - PostMortems_PostMortemReportEntityPaginated model

func (*PostMortemsPostMortemReportEntityPaginated) GetData ¶

func (*PostMortemsPostMortemReportEntityPaginated) GetPagination ¶

type PostMortemsQuestionTypeEntity ¶

type PostMortemsQuestionTypeEntity struct {
	ID               *string  `json:"id,omitempty"`
	Title            *string  `json:"title,omitempty"`
	Tooltip          *string  `json:"tooltip,omitempty"`
	Kind             *string  `json:"kind,omitempty"`
	IsRequired       *bool    `json:"is_required,omitempty"`
	AvailableOptions []string `json:"available_options,omitempty"`
}

PostMortemsQuestionTypeEntity - PostMortems_QuestionTypeEntity model

func (*PostMortemsQuestionTypeEntity) GetAvailableOptions ¶

func (p *PostMortemsQuestionTypeEntity) GetAvailableOptions() []string

func (*PostMortemsQuestionTypeEntity) GetID ¶

func (*PostMortemsQuestionTypeEntity) GetIsRequired ¶

func (p *PostMortemsQuestionTypeEntity) GetIsRequired() *bool

func (*PostMortemsQuestionTypeEntity) GetKind ¶

func (p *PostMortemsQuestionTypeEntity) GetKind() *string

func (*PostMortemsQuestionTypeEntity) GetTitle ¶

func (p *PostMortemsQuestionTypeEntity) GetTitle() *string

func (*PostMortemsQuestionTypeEntity) GetTooltip ¶

func (p *PostMortemsQuestionTypeEntity) GetTooltip() *string

type PostMortemsQuestionTypeEntityPaginated ¶

type PostMortemsQuestionTypeEntityPaginated struct {
	Data       []PostMortemsQuestionTypeEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity       `json:"pagination,omitempty"`
}

PostMortemsQuestionTypeEntityPaginated - PostMortems_QuestionTypeEntityPaginated model

func (*PostMortemsQuestionTypeEntityPaginated) GetData ¶

func (*PostMortemsQuestionTypeEntityPaginated) GetPagination ¶

type PostMortemsReasonEntity ¶

type PostMortemsReasonEntity struct {
	ID            *string                             `json:"id,omitempty"`
	Summary       *string                             `json:"summary,omitempty"`
	Position      *int                                `json:"position,omitempty"`
	CreatedBy     *NullableAuthorEntity               `json:"created_by,omitempty"`
	Conversations []ConversationsAPIEntitiesReference `json:"conversations,omitempty"`
}

PostMortemsReasonEntity - PostMortems_ReasonEntity model

func (*PostMortemsReasonEntity) GetConversations ¶

func (*PostMortemsReasonEntity) GetCreatedBy ¶

func (p *PostMortemsReasonEntity) GetCreatedBy() *NullableAuthorEntity

func (*PostMortemsReasonEntity) GetID ¶

func (p *PostMortemsReasonEntity) GetID() *string

func (*PostMortemsReasonEntity) GetPosition ¶

func (p *PostMortemsReasonEntity) GetPosition() *int

func (*PostMortemsReasonEntity) GetSummary ¶

func (p *PostMortemsReasonEntity) GetSummary() *string

type PostMortemsReasonEntityPaginated ¶

type PostMortemsReasonEntityPaginated struct {
	Data       []PostMortemsReasonEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

PostMortemsReasonEntityPaginated - PostMortems_ReasonEntityPaginated model

func (*PostMortemsReasonEntityPaginated) GetData ¶

func (*PostMortemsReasonEntityPaginated) GetPagination ¶

type PostMortemsSectionFieldEntity ¶

type PostMortemsSectionFieldEntity struct {
	ID    *string `json:"id,omitempty"`
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

PostMortemsSectionFieldEntity - PostMortems_SectionFieldEntity model

func (*PostMortemsSectionFieldEntity) GetID ¶

func (*PostMortemsSectionFieldEntity) GetName ¶

func (p *PostMortemsSectionFieldEntity) GetName() *string

func (*PostMortemsSectionFieldEntity) GetValue ¶

func (p *PostMortemsSectionFieldEntity) GetValue() *string

type PreviewOnCallScheduleRotation ¶

type PreviewOnCallScheduleRotation struct {
	// The ID of a rotation being updated. Leave this blank if you're previewing the creation of a new rotation.
	RotationID *string `json:"rotation_id,omitempty"`
	// The name of the on-call rotation
	Name *string `json:"name,omitempty"`
	// The description of the on-call rotation
	Description *string `json:"description,omitempty"`
	// The timezone of the on-call rotation as a string
	TimeZone *string `json:"time_zone,omitempty"`
	// The Slack Usergroup ID for the on-call rotation
	SlackUserGroupID *string `json:"slack_user_group_id,omitempty"`
	// Notify the team's Slack channel when handoffs occur
	EnableSlackChannelNotifications *bool `json:"enable_slack_channel_notifications,omitempty"`
	// Prevent shifts from being deleted by users and leading to gaps in coverage.
	PreventShiftDeletion *bool `json:"prevent_shift_deletion,omitempty"`
	// An ISO8601 duration string specifying that the team should be notified about gaps in coverage for the upcoming interval. Notifications are sent at 9am daily in the rotation's time zone via email and, if enabled, the team's Slack channel.
	CoverageGapNotificationInterval *string `json:"coverage_gap_notification_interval,omitempty"`
	// A hex color code that will be used to represent the rotation in FireHydrant's UI.
	Color *string `json:"color,omitempty"`
	// An ordered list of objects that specify members of the schedule's rotation.
	Members []PreviewOnCallScheduleRotationMember `json:"members,omitempty"`
	// An object that specifies how the rotation's on-call shifts should be generated.
	Strategy *PreviewOnCallScheduleRotationStrategy `json:"strategy,omitempty"`
	// A list of objects that restrict the rotation to specific on-call periods.
	Restrictions []PreviewOnCallScheduleRotationRestriction `json:"restrictions,omitempty"`
	// An ISO8601 time string specifying when the initial rotation should start. This value is only used if the rotation's strategy type is "custom".
	StartTime *string `json:"start_time,omitempty"`
	// An ISO8601 time string specifying when the updated schedule should take effect. This
	// value must be provided if editing an attribute that would affect how the schedule's
	// shifts are generated, such as the time zone, members, strategy, or restrictions.
	//
	EffectiveAt *string `json:"effective_at,omitempty"`
	// An ISO8601 time string specifying the start of the time window to preview. Defaults to now.
	From *string `json:"from,omitempty"`
	// An ISO8601 time string specifying the end of the time window to preview. Defaults to two weeks from now.
	To *string `json:"to,omitempty"`
}

PreviewOnCallScheduleRotation - Preview a new on-call rotation orchanges to an existing on-call rotation

func (*PreviewOnCallScheduleRotation) GetColor ¶

func (p *PreviewOnCallScheduleRotation) GetColor() *string

func (*PreviewOnCallScheduleRotation) GetCoverageGapNotificationInterval ¶

func (p *PreviewOnCallScheduleRotation) GetCoverageGapNotificationInterval() *string

func (*PreviewOnCallScheduleRotation) GetDescription ¶

func (p *PreviewOnCallScheduleRotation) GetDescription() *string

func (*PreviewOnCallScheduleRotation) GetEffectiveAt ¶

func (p *PreviewOnCallScheduleRotation) GetEffectiveAt() *string

func (*PreviewOnCallScheduleRotation) GetEnableSlackChannelNotifications ¶

func (p *PreviewOnCallScheduleRotation) GetEnableSlackChannelNotifications() *bool

func (*PreviewOnCallScheduleRotation) GetFrom ¶

func (p *PreviewOnCallScheduleRotation) GetFrom() *string

func (*PreviewOnCallScheduleRotation) GetMembers ¶

func (*PreviewOnCallScheduleRotation) GetName ¶

func (p *PreviewOnCallScheduleRotation) GetName() *string

func (*PreviewOnCallScheduleRotation) GetPreventShiftDeletion ¶

func (p *PreviewOnCallScheduleRotation) GetPreventShiftDeletion() *bool

func (*PreviewOnCallScheduleRotation) GetRestrictions ¶

func (*PreviewOnCallScheduleRotation) GetRotationID ¶

func (p *PreviewOnCallScheduleRotation) GetRotationID() *string

func (*PreviewOnCallScheduleRotation) GetSlackUserGroupID ¶

func (p *PreviewOnCallScheduleRotation) GetSlackUserGroupID() *string

func (*PreviewOnCallScheduleRotation) GetStartTime ¶

func (p *PreviewOnCallScheduleRotation) GetStartTime() *string

func (*PreviewOnCallScheduleRotation) GetStrategy ¶

func (*PreviewOnCallScheduleRotation) GetTimeZone ¶

func (p *PreviewOnCallScheduleRotation) GetTimeZone() *string

func (*PreviewOnCallScheduleRotation) GetTo ¶

type PreviewOnCallScheduleRotationEndDay ¶

type PreviewOnCallScheduleRotationEndDay string

PreviewOnCallScheduleRotationEndDay - The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	PreviewOnCallScheduleRotationEndDayMonday    PreviewOnCallScheduleRotationEndDay = "monday"
	PreviewOnCallScheduleRotationEndDayTuesday   PreviewOnCallScheduleRotationEndDay = "tuesday"
	PreviewOnCallScheduleRotationEndDayWednesday PreviewOnCallScheduleRotationEndDay = "wednesday"
	PreviewOnCallScheduleRotationEndDayThursday  PreviewOnCallScheduleRotationEndDay = "thursday"
	PreviewOnCallScheduleRotationEndDayFriday    PreviewOnCallScheduleRotationEndDay = "friday"
	PreviewOnCallScheduleRotationEndDaySaturday  PreviewOnCallScheduleRotationEndDay = "saturday"
	PreviewOnCallScheduleRotationEndDaySunday    PreviewOnCallScheduleRotationEndDay = "sunday"
)

func (PreviewOnCallScheduleRotationEndDay) ToPointer ¶

func (*PreviewOnCallScheduleRotationEndDay) UnmarshalJSON ¶

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

type PreviewOnCallScheduleRotationHandoffDay ¶

type PreviewOnCallScheduleRotationHandoffDay string

PreviewOnCallScheduleRotationHandoffDay - The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".

const (
	PreviewOnCallScheduleRotationHandoffDayMonday    PreviewOnCallScheduleRotationHandoffDay = "monday"
	PreviewOnCallScheduleRotationHandoffDayTuesday   PreviewOnCallScheduleRotationHandoffDay = "tuesday"
	PreviewOnCallScheduleRotationHandoffDayWednesday PreviewOnCallScheduleRotationHandoffDay = "wednesday"
	PreviewOnCallScheduleRotationHandoffDayThursday  PreviewOnCallScheduleRotationHandoffDay = "thursday"
	PreviewOnCallScheduleRotationHandoffDayFriday    PreviewOnCallScheduleRotationHandoffDay = "friday"
	PreviewOnCallScheduleRotationHandoffDaySaturday  PreviewOnCallScheduleRotationHandoffDay = "saturday"
	PreviewOnCallScheduleRotationHandoffDaySunday    PreviewOnCallScheduleRotationHandoffDay = "sunday"
)

func (PreviewOnCallScheduleRotationHandoffDay) ToPointer ¶

func (*PreviewOnCallScheduleRotationHandoffDay) UnmarshalJSON ¶

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

type PreviewOnCallScheduleRotationMember ¶

type PreviewOnCallScheduleRotationMember struct {
	// The ID of a user who should be added to the rotation. You can add a user to the rotation
	// multiple times to construct more complex rotations, and you can specify a `null` user ID to create
	// unassigned slots in the rotation.
	//
	UserID *string `json:"user_id,omitempty"`
}

func (*PreviewOnCallScheduleRotationMember) GetUserID ¶

type PreviewOnCallScheduleRotationRestriction ¶

type PreviewOnCallScheduleRotationRestriction struct {
	// The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).
	StartDay PreviewOnCallScheduleRotationStartDay `json:"start_day"`
	// An ISO8601 time string specifying when the restriction should start.
	StartTime string `json:"start_time"`
	// The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).
	EndDay PreviewOnCallScheduleRotationEndDay `json:"end_day"`
	// An ISO8601 time string specifying when the restriction should end.
	EndTime string `json:"end_time"`
}

func (*PreviewOnCallScheduleRotationRestriction) GetEndDay ¶

func (*PreviewOnCallScheduleRotationRestriction) GetEndTime ¶

func (*PreviewOnCallScheduleRotationRestriction) GetStartDay ¶

func (*PreviewOnCallScheduleRotationRestriction) GetStartTime ¶

type PreviewOnCallScheduleRotationStartDay ¶

type PreviewOnCallScheduleRotationStartDay string

PreviewOnCallScheduleRotationStartDay - The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	PreviewOnCallScheduleRotationStartDayMonday    PreviewOnCallScheduleRotationStartDay = "monday"
	PreviewOnCallScheduleRotationStartDayTuesday   PreviewOnCallScheduleRotationStartDay = "tuesday"
	PreviewOnCallScheduleRotationStartDayWednesday PreviewOnCallScheduleRotationStartDay = "wednesday"
	PreviewOnCallScheduleRotationStartDayThursday  PreviewOnCallScheduleRotationStartDay = "thursday"
	PreviewOnCallScheduleRotationStartDayFriday    PreviewOnCallScheduleRotationStartDay = "friday"
	PreviewOnCallScheduleRotationStartDaySaturday  PreviewOnCallScheduleRotationStartDay = "saturday"
	PreviewOnCallScheduleRotationStartDaySunday    PreviewOnCallScheduleRotationStartDay = "sunday"
)

func (PreviewOnCallScheduleRotationStartDay) ToPointer ¶

func (*PreviewOnCallScheduleRotationStartDay) UnmarshalJSON ¶

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

type PreviewOnCallScheduleRotationStrategy ¶

type PreviewOnCallScheduleRotationStrategy struct {
	// The type of strategy. Must be one of "daily", "weekly", or "custom".
	Type PreviewOnCallScheduleRotationType `json:"type"`
	// An ISO8601 time string specifying when on-call shifts should hand off. This value is only used if the strategy type is "daily" or "weekly".
	HandoffTime *string `json:"handoff_time,omitempty"`
	// The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".
	HandoffDay *PreviewOnCallScheduleRotationHandoffDay `json:"handoff_day,omitempty"`
	// An ISO8601 duration string specifying how long each shift should last. This value is only used if the strategy type is "custom".
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

PreviewOnCallScheduleRotationStrategy - An object that specifies how the rotation's on-call shifts should be generated.

func (*PreviewOnCallScheduleRotationStrategy) GetHandoffDay ¶

func (*PreviewOnCallScheduleRotationStrategy) GetHandoffTime ¶

func (p *PreviewOnCallScheduleRotationStrategy) GetHandoffTime() *string

func (*PreviewOnCallScheduleRotationStrategy) GetShiftDuration ¶

func (p *PreviewOnCallScheduleRotationStrategy) GetShiftDuration() *string

func (*PreviewOnCallScheduleRotationStrategy) GetType ¶

type PreviewOnCallScheduleRotationType ¶

type PreviewOnCallScheduleRotationType string

PreviewOnCallScheduleRotationType - The type of strategy. Must be one of "daily", "weekly", or "custom".

const (
	PreviewOnCallScheduleRotationTypeDaily  PreviewOnCallScheduleRotationType = "daily"
	PreviewOnCallScheduleRotationTypeWeekly PreviewOnCallScheduleRotationType = "weekly"
	PreviewOnCallScheduleRotationTypeCustom PreviewOnCallScheduleRotationType = "custom"
)

func (PreviewOnCallScheduleRotationType) ToPointer ¶

func (*PreviewOnCallScheduleRotationType) UnmarshalJSON ¶

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

type PreviewTeamOnCallSchedule ¶

type PreviewTeamOnCallSchedule struct {
	// The on-call schedule's name.
	Name string `json:"name"`
	// A detailed description of the on-call schedule.
	Description *string `json:"description,omitempty"`
	// An array of objects that specify rotations for the schedule. If not provided, the deprecated single-rotation parameters can be used instead, with `time_zone` and `strategy` being required.
	Rotations []PreviewTeamOnCallScheduleRotation `json:"rotations"`
	// An ISO8601 time string specifying the start of the time window to preview. Defaults to now.
	From *string `json:"from,omitempty"`
	// An ISO8601 time string specifying the end of the time window to preview. Defaults to two weeks from now.
	To *string `json:"to,omitempty"`
}

PreviewTeamOnCallSchedule - Preview a new on-call schedule based on the provided rotations, allowing you to see how the schedule will look before saving it.

func (*PreviewTeamOnCallSchedule) GetDescription ¶

func (p *PreviewTeamOnCallSchedule) GetDescription() *string

func (*PreviewTeamOnCallSchedule) GetFrom ¶

func (p *PreviewTeamOnCallSchedule) GetFrom() *string

func (*PreviewTeamOnCallSchedule) GetName ¶

func (p *PreviewTeamOnCallSchedule) GetName() string

func (*PreviewTeamOnCallSchedule) GetRotations ¶

func (*PreviewTeamOnCallSchedule) GetTo ¶

func (p *PreviewTeamOnCallSchedule) GetTo() *string

type PreviewTeamOnCallScheduleEndDay ¶

type PreviewTeamOnCallScheduleEndDay string

PreviewTeamOnCallScheduleEndDay - The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	PreviewTeamOnCallScheduleEndDayMonday    PreviewTeamOnCallScheduleEndDay = "monday"
	PreviewTeamOnCallScheduleEndDayTuesday   PreviewTeamOnCallScheduleEndDay = "tuesday"
	PreviewTeamOnCallScheduleEndDayWednesday PreviewTeamOnCallScheduleEndDay = "wednesday"
	PreviewTeamOnCallScheduleEndDayThursday  PreviewTeamOnCallScheduleEndDay = "thursday"
	PreviewTeamOnCallScheduleEndDayFriday    PreviewTeamOnCallScheduleEndDay = "friday"
	PreviewTeamOnCallScheduleEndDaySaturday  PreviewTeamOnCallScheduleEndDay = "saturday"
	PreviewTeamOnCallScheduleEndDaySunday    PreviewTeamOnCallScheduleEndDay = "sunday"
)

func (PreviewTeamOnCallScheduleEndDay) ToPointer ¶

func (*PreviewTeamOnCallScheduleEndDay) UnmarshalJSON ¶

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

type PreviewTeamOnCallScheduleHandoffDay ¶

type PreviewTeamOnCallScheduleHandoffDay string

PreviewTeamOnCallScheduleHandoffDay - The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".

const (
	PreviewTeamOnCallScheduleHandoffDayMonday    PreviewTeamOnCallScheduleHandoffDay = "monday"
	PreviewTeamOnCallScheduleHandoffDayTuesday   PreviewTeamOnCallScheduleHandoffDay = "tuesday"
	PreviewTeamOnCallScheduleHandoffDayWednesday PreviewTeamOnCallScheduleHandoffDay = "wednesday"
	PreviewTeamOnCallScheduleHandoffDayThursday  PreviewTeamOnCallScheduleHandoffDay = "thursday"
	PreviewTeamOnCallScheduleHandoffDayFriday    PreviewTeamOnCallScheduleHandoffDay = "friday"
	PreviewTeamOnCallScheduleHandoffDaySaturday  PreviewTeamOnCallScheduleHandoffDay = "saturday"
	PreviewTeamOnCallScheduleHandoffDaySunday    PreviewTeamOnCallScheduleHandoffDay = "sunday"
)

func (PreviewTeamOnCallScheduleHandoffDay) ToPointer ¶

func (*PreviewTeamOnCallScheduleHandoffDay) UnmarshalJSON ¶

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

type PreviewTeamOnCallScheduleMember ¶

type PreviewTeamOnCallScheduleMember struct {
	// The ID of a user who should be added to the rotation. You can add a user to the rotation
	// multiple times to construct more complex rotations, and you can specify a `null` user ID to create
	// unassigned slots in the rotation.
	//
	UserID *string `json:"user_id,omitempty"`
}

func (*PreviewTeamOnCallScheduleMember) GetUserID ¶

func (p *PreviewTeamOnCallScheduleMember) GetUserID() *string

type PreviewTeamOnCallScheduleRestriction ¶

type PreviewTeamOnCallScheduleRestriction struct {
	// The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).
	StartDay PreviewTeamOnCallScheduleStartDay `json:"start_day"`
	// An ISO8601 time string specifying when the restriction should start.
	StartTime string `json:"start_time"`
	// The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).
	EndDay PreviewTeamOnCallScheduleEndDay `json:"end_day"`
	// An ISO8601 time string specifying when the restriction should end.
	EndTime string `json:"end_time"`
}

func (*PreviewTeamOnCallScheduleRestriction) GetEndDay ¶

func (*PreviewTeamOnCallScheduleRestriction) GetEndTime ¶

func (*PreviewTeamOnCallScheduleRestriction) GetStartDay ¶

func (*PreviewTeamOnCallScheduleRestriction) GetStartTime ¶

func (p *PreviewTeamOnCallScheduleRestriction) GetStartTime() string

type PreviewTeamOnCallScheduleRotation ¶

type PreviewTeamOnCallScheduleRotation struct {
	// The name of the on-call rotation
	Name string `json:"name"`
	// A detailed description of the on-call schedule.
	Description *string `json:"description,omitempty"`
	// The timezone of the on-call rotation as a string
	TimeZone string `json:"time_zone"`
	// The Slack Usergroup ID for the on-call rotation
	SlackUserGroupID *string `json:"slack_user_group_id,omitempty"`
	// Notify the team's Slack channel when handoffs occur
	EnableSlackChannelNotifications *bool `json:"enable_slack_channel_notifications,omitempty"`
	// Prevent shifts from being deleted by users and leading to gaps in coverage.
	PreventShiftDeletion *bool `json:"prevent_shift_deletion,omitempty"`
	// An ISO8601 duration string specifying that the team should be notified about gaps in coverage for the upcoming interval. Notifications are sent at 9am daily in the rotation's time zone via email and, if enabled, the team's Slack channel.
	CoverageGapNotificationInterval *string `json:"coverage_gap_notification_interval,omitempty"`
	// A hex color code that will be used to represent the rotation in FireHydrant's UI.
	Color *string `json:"color,omitempty"`
	// An ordered list of objects that specify members of the schedule's rotation.
	Members []PreviewTeamOnCallScheduleMember `json:"members,omitempty"`
	// An object that specifies how the rotation's on-call shifts should be generated.
	Strategy PreviewTeamOnCallScheduleStrategy `json:"strategy"`
	// A list of objects that restrict the rotation to specific on-call periods.
	Restrictions []PreviewTeamOnCallScheduleRestriction `json:"restrictions,omitempty"`
	// An ISO8601 time string specifying when the initial rotation should start. This value is only used if the rotation's strategy type is "custom".
	StartTime *string `json:"start_time,omitempty"`
}

func (*PreviewTeamOnCallScheduleRotation) GetColor ¶

func (*PreviewTeamOnCallScheduleRotation) GetCoverageGapNotificationInterval ¶

func (p *PreviewTeamOnCallScheduleRotation) GetCoverageGapNotificationInterval() *string

func (*PreviewTeamOnCallScheduleRotation) GetDescription ¶

func (p *PreviewTeamOnCallScheduleRotation) GetDescription() *string

func (*PreviewTeamOnCallScheduleRotation) GetEnableSlackChannelNotifications ¶

func (p *PreviewTeamOnCallScheduleRotation) GetEnableSlackChannelNotifications() *bool

func (*PreviewTeamOnCallScheduleRotation) GetMembers ¶

func (*PreviewTeamOnCallScheduleRotation) GetName ¶

func (*PreviewTeamOnCallScheduleRotation) GetPreventShiftDeletion ¶

func (p *PreviewTeamOnCallScheduleRotation) GetPreventShiftDeletion() *bool

func (*PreviewTeamOnCallScheduleRotation) GetRestrictions ¶

func (*PreviewTeamOnCallScheduleRotation) GetSlackUserGroupID ¶

func (p *PreviewTeamOnCallScheduleRotation) GetSlackUserGroupID() *string

func (*PreviewTeamOnCallScheduleRotation) GetStartTime ¶

func (p *PreviewTeamOnCallScheduleRotation) GetStartTime() *string

func (*PreviewTeamOnCallScheduleRotation) GetStrategy ¶

func (*PreviewTeamOnCallScheduleRotation) GetTimeZone ¶

func (p *PreviewTeamOnCallScheduleRotation) GetTimeZone() string

type PreviewTeamOnCallScheduleStartDay ¶

type PreviewTeamOnCallScheduleStartDay string

PreviewTeamOnCallScheduleStartDay - The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	PreviewTeamOnCallScheduleStartDayMonday    PreviewTeamOnCallScheduleStartDay = "monday"
	PreviewTeamOnCallScheduleStartDayTuesday   PreviewTeamOnCallScheduleStartDay = "tuesday"
	PreviewTeamOnCallScheduleStartDayWednesday PreviewTeamOnCallScheduleStartDay = "wednesday"
	PreviewTeamOnCallScheduleStartDayThursday  PreviewTeamOnCallScheduleStartDay = "thursday"
	PreviewTeamOnCallScheduleStartDayFriday    PreviewTeamOnCallScheduleStartDay = "friday"
	PreviewTeamOnCallScheduleStartDaySaturday  PreviewTeamOnCallScheduleStartDay = "saturday"
	PreviewTeamOnCallScheduleStartDaySunday    PreviewTeamOnCallScheduleStartDay = "sunday"
)

func (PreviewTeamOnCallScheduleStartDay) ToPointer ¶

func (*PreviewTeamOnCallScheduleStartDay) UnmarshalJSON ¶

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

type PreviewTeamOnCallScheduleStrategy ¶

type PreviewTeamOnCallScheduleStrategy struct {
	// The type of strategy. Must be one of "daily", "weekly", or "custom".
	Type PreviewTeamOnCallScheduleType `json:"type"`
	// An ISO8601 time string specifying when on-call shifts should hand off. This value is only used if the strategy type is "daily" or "weekly".
	HandoffTime *string `json:"handoff_time,omitempty"`
	// The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".
	HandoffDay *PreviewTeamOnCallScheduleHandoffDay `json:"handoff_day,omitempty"`
	// An ISO8601 duration string specifying how long each shift should last. This value is only used if the strategy type is "custom".
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

PreviewTeamOnCallScheduleStrategy - An object that specifies how the rotation's on-call shifts should be generated.

func (*PreviewTeamOnCallScheduleStrategy) GetHandoffDay ¶

func (*PreviewTeamOnCallScheduleStrategy) GetHandoffTime ¶

func (p *PreviewTeamOnCallScheduleStrategy) GetHandoffTime() *string

func (*PreviewTeamOnCallScheduleStrategy) GetShiftDuration ¶

func (p *PreviewTeamOnCallScheduleStrategy) GetShiftDuration() *string

func (*PreviewTeamOnCallScheduleStrategy) GetType ¶

type PreviewTeamOnCallScheduleType ¶

type PreviewTeamOnCallScheduleType string

PreviewTeamOnCallScheduleType - The type of strategy. Must be one of "daily", "weekly", or "custom".

const (
	PreviewTeamOnCallScheduleTypeDaily  PreviewTeamOnCallScheduleType = "daily"
	PreviewTeamOnCallScheduleTypeWeekly PreviewTeamOnCallScheduleType = "weekly"
	PreviewTeamOnCallScheduleTypeCustom PreviewTeamOnCallScheduleType = "custom"
)

func (PreviewTeamOnCallScheduleType) ToPointer ¶

func (*PreviewTeamOnCallScheduleType) UnmarshalJSON ¶

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

type Priority ¶

type Priority string
const (
	PriorityHigh   Priority = "HIGH"
	PriorityMedium Priority = "MEDIUM"
	PriorityLow    Priority = "LOW"
)

func (Priority) ToPointer ¶

func (e Priority) ToPointer() *Priority

func (*Priority) UnmarshalJSON ¶

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

type PriorityEntity ¶

type PriorityEntity struct {
	Slug        *string    `json:"slug,omitempty"`
	Description *string    `json:"description,omitempty"`
	Position    *int       `json:"position,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	Default     *bool      `json:"default,omitempty"`
}

PriorityEntity model

func (*PriorityEntity) GetCreatedAt ¶

func (p *PriorityEntity) GetCreatedAt() *time.Time

func (*PriorityEntity) GetDefault ¶

func (p *PriorityEntity) GetDefault() *bool

func (*PriorityEntity) GetDescription ¶

func (p *PriorityEntity) GetDescription() *string

func (*PriorityEntity) GetPosition ¶

func (p *PriorityEntity) GetPosition() *int

func (*PriorityEntity) GetSlug ¶

func (p *PriorityEntity) GetSlug() *string

func (*PriorityEntity) GetUpdatedAt ¶

func (p *PriorityEntity) GetUpdatedAt() *time.Time

func (PriorityEntity) MarshalJSON ¶

func (p PriorityEntity) MarshalJSON() ([]byte, error)

func (*PriorityEntity) UnmarshalJSON ¶

func (p *PriorityEntity) UnmarshalJSON(data []byte) error

type PublicAPIV1BootstrapEntity ¶

type PublicAPIV1BootstrapEntity struct {
	PosthogWriteKey *string `json:"posthog_write_key,omitempty"`
}

PublicAPIV1BootstrapEntity - PublicAPI_V1_BootstrapEntity model

func (*PublicAPIV1BootstrapEntity) GetPosthogWriteKey ¶

func (p *PublicAPIV1BootstrapEntity) GetPosthogWriteKey() *string

type PublicAPIV1FormConfigurationsSelectedValueEntity ¶

type PublicAPIV1FormConfigurationsSelectedValueEntity struct {
	// The template for the selected value
	Template *PublicAPIV1FormConfigurationsSelectedValueEntityTemplate `json:"template,omitempty"`
}

PublicAPIV1FormConfigurationsSelectedValueEntity - PublicAPI_V1_FormConfigurations_SelectedValueEntity model

func (*PublicAPIV1FormConfigurationsSelectedValueEntity) GetTemplate ¶

type PublicAPIV1FormConfigurationsSelectedValueEntityTemplate ¶

type PublicAPIV1FormConfigurationsSelectedValueEntityTemplate struct {
}

PublicAPIV1FormConfigurationsSelectedValueEntityTemplate - The template for the selected value

type PublicAPIV1IncidentsSuccinctEntity ¶

type PublicAPIV1IncidentsSuccinctEntity struct {
	ID     *string `json:"id,omitempty"`
	Name   *string `json:"name,omitempty"`
	Number *int    `json:"number,omitempty"`
}

func (*PublicAPIV1IncidentsSuccinctEntity) GetID ¶

func (*PublicAPIV1IncidentsSuccinctEntity) GetName ¶

func (*PublicAPIV1IncidentsSuccinctEntity) GetNumber ¶

func (p *PublicAPIV1IncidentsSuccinctEntity) GetNumber() *int

type PublicAPIV1IncidentsTranscriptEntity ¶

type PublicAPIV1IncidentsTranscriptEntity struct {
	// The unique identifier for the transcript entry
	ID *string `json:"id,omitempty"`
	// The speaker for the transcript entry
	Speaker *string `json:"speaker,omitempty"`
	// The start time for the transcript entry
	Start *int `json:"start,omitempty"`
	// The end time for the transcript entry
	Until *int `json:"until,omitempty"`
	// The words spoken for the transcript entry
	Words *string `json:"words,omitempty"`
	// The time the transcript entry was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The time the transcript entry was last updated
	UpdatedAt *time.Time            `json:"updated_at,omitempty"`
	Author    *NullableAuthorEntity `json:"author,omitempty"`
}

PublicAPIV1IncidentsTranscriptEntity - PublicAPI_V1_Incidents_TranscriptEntity model

func (*PublicAPIV1IncidentsTranscriptEntity) GetAuthor ¶

func (*PublicAPIV1IncidentsTranscriptEntity) GetCreatedAt ¶

func (p *PublicAPIV1IncidentsTranscriptEntity) GetCreatedAt() *time.Time

func (*PublicAPIV1IncidentsTranscriptEntity) GetID ¶

func (*PublicAPIV1IncidentsTranscriptEntity) GetSpeaker ¶

func (*PublicAPIV1IncidentsTranscriptEntity) GetStart ¶

func (*PublicAPIV1IncidentsTranscriptEntity) GetUntil ¶

func (*PublicAPIV1IncidentsTranscriptEntity) GetUpdatedAt ¶

func (p *PublicAPIV1IncidentsTranscriptEntity) GetUpdatedAt() *time.Time

func (*PublicAPIV1IncidentsTranscriptEntity) GetWords ¶

func (PublicAPIV1IncidentsTranscriptEntity) MarshalJSON ¶

func (p PublicAPIV1IncidentsTranscriptEntity) MarshalJSON() ([]byte, error)

func (*PublicAPIV1IncidentsTranscriptEntity) UnmarshalJSON ¶

func (p *PublicAPIV1IncidentsTranscriptEntity) UnmarshalJSON(data []byte) error

type PublicAPIV1IntegrationsAuthedProviderEntity ¶

type PublicAPIV1IntegrationsAuthedProviderEntity struct {
	ID                 *string                 `json:"id,omitempty"`
	User               *NullableSuccinctEntity `json:"user,omitempty"`
	IntegrationDefault *bool                   `json:"integration_default,omitempty"`
	// The email of the user who authorized the integration
	AuthorizedEmail *string    `json:"authorized_email,omitempty"`
	IsExpired       *bool      `json:"is_expired,omitempty"`
	CreatedAt       *time.Time `json:"created_at,omitempty"`
	UpdatedAt       *time.Time `json:"updated_at,omitempty"`
}

PublicAPIV1IntegrationsAuthedProviderEntity - PublicAPI_V1_Integrations_AuthedProviderEntity model

func (*PublicAPIV1IntegrationsAuthedProviderEntity) GetAuthorizedEmail ¶

func (p *PublicAPIV1IntegrationsAuthedProviderEntity) GetAuthorizedEmail() *string

func (*PublicAPIV1IntegrationsAuthedProviderEntity) GetCreatedAt ¶

func (*PublicAPIV1IntegrationsAuthedProviderEntity) GetID ¶

func (*PublicAPIV1IntegrationsAuthedProviderEntity) GetIntegrationDefault ¶

func (p *PublicAPIV1IntegrationsAuthedProviderEntity) GetIntegrationDefault() *bool

func (*PublicAPIV1IntegrationsAuthedProviderEntity) GetIsExpired ¶

func (*PublicAPIV1IntegrationsAuthedProviderEntity) GetUpdatedAt ¶

func (*PublicAPIV1IntegrationsAuthedProviderEntity) GetUser ¶

func (PublicAPIV1IntegrationsAuthedProviderEntity) MarshalJSON ¶

func (*PublicAPIV1IntegrationsAuthedProviderEntity) UnmarshalJSON ¶

func (p *PublicAPIV1IntegrationsAuthedProviderEntity) UnmarshalJSON(data []byte) error

type PublicAPIV1PermissionEntity ¶

type PublicAPIV1PermissionEntity struct {
	Slug                *string  `json:"slug,omitempty"`
	DisplayName         *string  `json:"display_name,omitempty"`
	Description         *string  `json:"description,omitempty"`
	CategoryDisplayName *string  `json:"category_display_name,omitempty"`
	CategorySlug        *string  `json:"category_slug,omitempty"`
	ParentSlug          *string  `json:"parent_slug,omitempty"`
	Available           *bool    `json:"available,omitempty"`
	DependencySlugs     []string `json:"dependency_slugs,omitempty"`
}

func (*PublicAPIV1PermissionEntity) GetAvailable ¶

func (p *PublicAPIV1PermissionEntity) GetAvailable() *bool

func (*PublicAPIV1PermissionEntity) GetCategoryDisplayName ¶

func (p *PublicAPIV1PermissionEntity) GetCategoryDisplayName() *string

func (*PublicAPIV1PermissionEntity) GetCategorySlug ¶

func (p *PublicAPIV1PermissionEntity) GetCategorySlug() *string

func (*PublicAPIV1PermissionEntity) GetDependencySlugs ¶

func (p *PublicAPIV1PermissionEntity) GetDependencySlugs() []string

func (*PublicAPIV1PermissionEntity) GetDescription ¶

func (p *PublicAPIV1PermissionEntity) GetDescription() *string

func (*PublicAPIV1PermissionEntity) GetDisplayName ¶

func (p *PublicAPIV1PermissionEntity) GetDisplayName() *string

func (*PublicAPIV1PermissionEntity) GetParentSlug ¶

func (p *PublicAPIV1PermissionEntity) GetParentSlug() *string

func (*PublicAPIV1PermissionEntity) GetSlug ¶

func (p *PublicAPIV1PermissionEntity) GetSlug() *string

type PublicAPIV1RoleEntity ¶

type PublicAPIV1RoleEntity struct {
	ID          *string                       `json:"id,omitempty"`
	Name        *string                       `json:"name,omitempty"`
	Slug        *string                       `json:"slug,omitempty"`
	Description *string                       `json:"description,omitempty"`
	CreatedAt   *time.Time                    `json:"created_at,omitempty"`
	UpdatedAt   *time.Time                    `json:"updated_at,omitempty"`
	BuiltIn     *bool                         `json:"built_in,omitempty"`
	ReadOnly    *bool                         `json:"read_only,omitempty"`
	Permissions []PublicAPIV1PermissionEntity `json:"permissions,omitempty"`
}

PublicAPIV1RoleEntity - PublicAPI_V1_RoleEntity model

func (*PublicAPIV1RoleEntity) GetBuiltIn ¶

func (p *PublicAPIV1RoleEntity) GetBuiltIn() *bool

func (*PublicAPIV1RoleEntity) GetCreatedAt ¶

func (p *PublicAPIV1RoleEntity) GetCreatedAt() *time.Time

func (*PublicAPIV1RoleEntity) GetDescription ¶

func (p *PublicAPIV1RoleEntity) GetDescription() *string

func (*PublicAPIV1RoleEntity) GetID ¶

func (p *PublicAPIV1RoleEntity) GetID() *string

func (*PublicAPIV1RoleEntity) GetName ¶

func (p *PublicAPIV1RoleEntity) GetName() *string

func (*PublicAPIV1RoleEntity) GetPermissions ¶

func (p *PublicAPIV1RoleEntity) GetPermissions() []PublicAPIV1PermissionEntity

func (*PublicAPIV1RoleEntity) GetReadOnly ¶

func (p *PublicAPIV1RoleEntity) GetReadOnly() *bool

func (*PublicAPIV1RoleEntity) GetSlug ¶

func (p *PublicAPIV1RoleEntity) GetSlug() *string

func (*PublicAPIV1RoleEntity) GetUpdatedAt ¶

func (p *PublicAPIV1RoleEntity) GetUpdatedAt() *time.Time

func (PublicAPIV1RoleEntity) MarshalJSON ¶

func (p PublicAPIV1RoleEntity) MarshalJSON() ([]byte, error)

func (*PublicAPIV1RoleEntity) UnmarshalJSON ¶

func (p *PublicAPIV1RoleEntity) UnmarshalJSON(data []byte) error

type PublicAPIV1SimilarIncidentEntity ¶

type PublicAPIV1SimilarIncidentEntity struct {
	ID       *string  `json:"id,omitempty"`
	Name     *string  `json:"name,omitempty"`
	Distance *float32 `json:"distance,omitempty"`
}

func (*PublicAPIV1SimilarIncidentEntity) GetDistance ¶

func (p *PublicAPIV1SimilarIncidentEntity) GetDistance() *float32

func (*PublicAPIV1SimilarIncidentEntity) GetID ¶

func (*PublicAPIV1SimilarIncidentEntity) GetName ¶

type Publish ¶

type Publish string
const (
	PublishTrue Publish = "true"
)

func (Publish) ToPointer ¶

func (e Publish) ToPointer() *Publish

func (*Publish) UnmarshalJSON ¶

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

type PublishPostMortemReport ¶

type PublishPostMortemReport struct {
	Publish *Publish `json:"publish,omitempty"`
	// 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"`
}

PublishPostMortemReport - Marks an incident retrospective as published and emails all of the participants in the report the summary

func (*PublishPostMortemReport) GetPublish ¶

func (p *PublishPostMortemReport) GetPublish() *Publish

func (*PublishPostMortemReport) GetTeamIds ¶

func (p *PublishPostMortemReport) GetTeamIds() []string

func (*PublishPostMortemReport) GetUserIds ¶

func (p *PublishPostMortemReport) GetUserIds() []string

type ReorderPostMortemReasons ¶

type ReorderPostMortemReasons struct {
	OldPosition int `json:"old_position"`
	NewPosition int `json:"new_position"`
}

ReorderPostMortemReasons - Update the order of contributing factors in a retrospective report

func (*ReorderPostMortemReasons) GetNewPosition ¶

func (r *ReorderPostMortemReasons) GetNewPosition() int

func (*ReorderPostMortemReasons) GetOldPosition ¶

func (r *ReorderPostMortemReasons) GetOldPosition() int

type ReportEntity ¶

type ReportEntity struct {
	Data         []ReportsBucketEntity `json:"data,omitempty"`
	StartDate    *types.Date           `json:"start_date,omitempty"`
	EndDate      *types.Date           `json:"end_date,omitempty"`
	BucketPeriod *string               `json:"bucket_period,omitempty"`
}

ReportEntity model

func (*ReportEntity) GetBucketPeriod ¶

func (r *ReportEntity) GetBucketPeriod() *string

func (*ReportEntity) GetData ¶

func (r *ReportEntity) GetData() []ReportsBucketEntity

func (*ReportEntity) GetEndDate ¶

func (r *ReportEntity) GetEndDate() *types.Date

func (*ReportEntity) GetStartDate ¶

func (r *ReportEntity) GetStartDate() *types.Date

func (ReportEntity) MarshalJSON ¶

func (r ReportEntity) MarshalJSON() ([]byte, error)

func (*ReportEntity) UnmarshalJSON ¶

func (r *ReportEntity) UnmarshalJSON(data []byte) error

type ReportsBucketEntity ¶

type ReportsBucketEntity struct {
	Bucket *string                  `json:"bucket,omitempty"`
	Points []ReportsDataPointEntity `json:"points,omitempty"`
}

func (*ReportsBucketEntity) GetBucket ¶

func (r *ReportsBucketEntity) GetBucket() *string

func (*ReportsBucketEntity) GetPoints ¶

type ReportsDataPointEntity ¶

type ReportsDataPointEntity struct {
	Key   *string `json:"key,omitempty"`
	Value *int    `json:"value,omitempty"`
}

func (*ReportsDataPointEntity) GetKey ¶

func (r *ReportsDataPointEntity) GetKey() *string

func (*ReportsDataPointEntity) GetValue ¶

func (r *ReportsDataPointEntity) GetValue() *int

type RetrospectivesFieldEntity ¶

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

func (*RetrospectivesFieldEntity) GetHelpText ¶

func (r *RetrospectivesFieldEntity) GetHelpText() *string

func (*RetrospectivesFieldEntity) GetID ¶

func (r *RetrospectivesFieldEntity) GetID() *string

func (*RetrospectivesFieldEntity) GetIsRequired ¶

func (r *RetrospectivesFieldEntity) GetIsRequired() *bool

func (*RetrospectivesFieldEntity) GetLabel ¶

func (r *RetrospectivesFieldEntity) GetLabel() *string

func (*RetrospectivesFieldEntity) GetPermissibleValues ¶

func (r *RetrospectivesFieldEntity) GetPermissibleValues() []string

func (*RetrospectivesFieldEntity) GetRequiredAtMilestoneID ¶

func (r *RetrospectivesFieldEntity) GetRequiredAtMilestoneID() *string

func (*RetrospectivesFieldEntity) GetSchema ¶

func (r *RetrospectivesFieldEntity) GetSchema() []string

func (*RetrospectivesFieldEntity) GetType ¶

type RetrospectivesFieldEntityType ¶

type RetrospectivesFieldEntityType string
const (
	RetrospectivesFieldEntityTypeText              RetrospectivesFieldEntityType = "text"
	RetrospectivesFieldEntityTypeSingleSelect      RetrospectivesFieldEntityType = "single_select"
	RetrospectivesFieldEntityTypeMultiSelect       RetrospectivesFieldEntityType = "multi_select"
	RetrospectivesFieldEntityTypeNumeric           RetrospectivesFieldEntityType = "numeric"
	RetrospectivesFieldEntityTypeDatetime          RetrospectivesFieldEntityType = "datetime"
	RetrospectivesFieldEntityTypeDynamicInputGroup RetrospectivesFieldEntityType = "dynamic_input_group"
	RetrospectivesFieldEntityTypeMarkdown          RetrospectivesFieldEntityType = "markdown"
	RetrospectivesFieldEntityTypeMarkdownText      RetrospectivesFieldEntityType = "markdown_text"
)

func (RetrospectivesFieldEntityType) ToPointer ¶

func (*RetrospectivesFieldEntityType) UnmarshalJSON ¶

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

type RetrospectivesIndexTemplateEntity ¶

type RetrospectivesIndexTemplateEntity struct {
	ID          *string    `json:"id,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Description *string    `json:"description,omitempty"`
	IsDefault   *bool      `json:"is_default,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
}

func (*RetrospectivesIndexTemplateEntity) GetCreatedAt ¶

func (r *RetrospectivesIndexTemplateEntity) GetCreatedAt() *time.Time

func (*RetrospectivesIndexTemplateEntity) GetDescription ¶

func (r *RetrospectivesIndexTemplateEntity) GetDescription() *string

func (*RetrospectivesIndexTemplateEntity) GetID ¶

func (*RetrospectivesIndexTemplateEntity) GetIsDefault ¶

func (r *RetrospectivesIndexTemplateEntity) GetIsDefault() *bool

func (*RetrospectivesIndexTemplateEntity) GetName ¶

func (*RetrospectivesIndexTemplateEntity) GetUpdatedAt ¶

func (r *RetrospectivesIndexTemplateEntity) GetUpdatedAt() *time.Time

func (RetrospectivesIndexTemplateEntity) MarshalJSON ¶

func (r RetrospectivesIndexTemplateEntity) MarshalJSON() ([]byte, error)

func (*RetrospectivesIndexTemplateEntity) UnmarshalJSON ¶

func (r *RetrospectivesIndexTemplateEntity) UnmarshalJSON(data []byte) error

type RetrospectivesIndexTemplateEntityPaginated ¶

type RetrospectivesIndexTemplateEntityPaginated struct {
	Data       []RetrospectivesIndexTemplateEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity           `json:"pagination,omitempty"`
}

RetrospectivesIndexTemplateEntityPaginated - Retrospectives_IndexTemplateEntityPaginated model

func (*RetrospectivesIndexTemplateEntityPaginated) GetData ¶

func (*RetrospectivesIndexTemplateEntityPaginated) GetPagination ¶

type RetrospectivesTemplateEntity ¶

type RetrospectivesTemplateEntity struct {
	ID          *string                                             `json:"id,omitempty"`
	Name        *string                                             `json:"name,omitempty"`
	Description *string                                             `json:"description,omitempty"`
	IsDefault   *bool                                               `json:"is_default,omitempty"`
	Sections    []RetrospectivesTemplateEntityIncidentSectionEntity `json:"sections,omitempty"`
	Fields      []RetrospectivesFieldEntity                         `json:"fields,omitempty"`
}

RetrospectivesTemplateEntity - Retrospectives_TemplateEntity model

func (*RetrospectivesTemplateEntity) GetDescription ¶

func (r *RetrospectivesTemplateEntity) GetDescription() *string

func (*RetrospectivesTemplateEntity) GetFields ¶

func (*RetrospectivesTemplateEntity) GetID ¶

func (*RetrospectivesTemplateEntity) GetIsDefault ¶

func (r *RetrospectivesTemplateEntity) GetIsDefault() *bool

func (*RetrospectivesTemplateEntity) GetName ¶

func (r *RetrospectivesTemplateEntity) GetName() *string

func (*RetrospectivesTemplateEntity) GetSections ¶

type RetrospectivesTemplateEntityIncidentSectionEntity ¶

type RetrospectivesTemplateEntityIncidentSectionEntity struct {
	Slug     *string  `json:"slug,omitempty"`
	Elements []string `json:"elements,omitempty"`
}

func (*RetrospectivesTemplateEntityIncidentSectionEntity) GetElements ¶

func (*RetrospectivesTemplateEntityIncidentSectionEntity) GetSlug ¶

type RoleEntityPaginated ¶

type RoleEntityPaginated struct {
	Data       []PublicAPIV1RoleEntity   `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

RoleEntityPaginated model

func (*RoleEntityPaginated) GetData ¶

func (*RoleEntityPaginated) GetPagination ¶

func (r *RoleEntityPaginated) GetPagination() *NullablePaginationEntity

type RunbookEntity ¶

type RunbookEntity struct {
	ID                *string                   `json:"id,omitempty"`
	Name              *string                   `json:"name,omitempty"`
	Summary           *string                   `json:"summary,omitempty"`
	Description       *string                   `json:"description,omitempty"`
	Type              *string                   `json:"type,omitempty"`
	RunbookTemplateID *string                   `json:"runbook_template_id,omitempty"`
	CreatedAt         *time.Time                `json:"created_at,omitempty"`
	UpdatedAt         *time.Time                `json:"updated_at,omitempty"`
	CreatedBy         *NullableAuthorEntity     `json:"created_by,omitempty"`
	UpdatedBy         *NullableAuthorEntity     `json:"updated_by,omitempty"`
	Steps             []RunbookStepEntity       `json:"steps,omitempty"`
	AttachmentRule    *NullableRulesRuleEntity  `json:"attachment_rule,omitempty"`
	Votes             *NullableEmptyVotesEntity `json:"votes,omitempty"`
	IsEditable        *bool                     `json:"is_editable,omitempty"`
	Owner             *NullableTeamEntityLite   `json:"owner,omitempty"`
	// categories the runbook applies to
	Categories                      []string `json:"categories,omitempty"`
	AutoAttachToRestrictedIncidents *bool    `json:"auto_attach_to_restricted_incidents,omitempty"`
	Tutorial                        *bool    `json:"tutorial,omitempty"`
	// The timestamp when this runbook was last executed
	LastExecutedAt          *time.Time                                  `json:"last_executed_at,omitempty"`
	LastExecutedForIncident *NullablePublicAPIV1IncidentsSuccinctEntity `json:"last_executed_for_incident,omitempty"`
}

RunbookEntity model

func (*RunbookEntity) GetAttachmentRule ¶

func (r *RunbookEntity) GetAttachmentRule() *NullableRulesRuleEntity

func (*RunbookEntity) GetAutoAttachToRestrictedIncidents ¶

func (r *RunbookEntity) GetAutoAttachToRestrictedIncidents() *bool

func (*RunbookEntity) GetCategories ¶

func (r *RunbookEntity) GetCategories() []string

func (*RunbookEntity) GetCreatedAt ¶

func (r *RunbookEntity) GetCreatedAt() *time.Time

func (*RunbookEntity) GetCreatedBy ¶

func (r *RunbookEntity) GetCreatedBy() *NullableAuthorEntity

func (*RunbookEntity) GetDescription ¶

func (r *RunbookEntity) GetDescription() *string

func (*RunbookEntity) GetID ¶

func (r *RunbookEntity) GetID() *string

func (*RunbookEntity) GetIsEditable ¶

func (r *RunbookEntity) GetIsEditable() *bool

func (*RunbookEntity) GetLastExecutedAt ¶

func (r *RunbookEntity) GetLastExecutedAt() *time.Time

func (*RunbookEntity) GetLastExecutedForIncident ¶

func (r *RunbookEntity) GetLastExecutedForIncident() *NullablePublicAPIV1IncidentsSuccinctEntity

func (*RunbookEntity) GetName ¶

func (r *RunbookEntity) GetName() *string

func (*RunbookEntity) GetOwner ¶

func (r *RunbookEntity) GetOwner() *NullableTeamEntityLite

func (*RunbookEntity) GetRunbookTemplateID ¶

func (r *RunbookEntity) GetRunbookTemplateID() *string

func (*RunbookEntity) GetSteps ¶

func (r *RunbookEntity) GetSteps() []RunbookStepEntity

func (*RunbookEntity) GetSummary ¶

func (r *RunbookEntity) GetSummary() *string

func (*RunbookEntity) GetTutorial ¶

func (r *RunbookEntity) GetTutorial() *bool

func (*RunbookEntity) GetType ¶

func (r *RunbookEntity) GetType() *string

func (*RunbookEntity) GetUpdatedAt ¶

func (r *RunbookEntity) GetUpdatedAt() *time.Time

func (*RunbookEntity) GetUpdatedBy ¶

func (r *RunbookEntity) GetUpdatedBy() *NullableAuthorEntity

func (*RunbookEntity) GetVotes ¶

func (r *RunbookEntity) GetVotes() *NullableEmptyVotesEntity

func (RunbookEntity) MarshalJSON ¶

func (r RunbookEntity) MarshalJSON() ([]byte, error)

func (*RunbookEntity) UnmarshalJSON ¶

func (r *RunbookEntity) UnmarshalJSON(data []byte) error

type RunbookStepEntity ¶

type RunbookStepEntity struct {
	Name     *string `json:"name,omitempty"`
	ActionID *string `json:"action_id,omitempty"`
	StepID   *string `json:"step_id,omitempty"`
	// An unstructured object of key/value pairs describing the config settings for the step.
	Config *RunbookStepEntityConfig `json:"config,omitempty"`
	// A list of action elements
	ActionElements []ActionElement `json:"action_elements,omitempty"`
	// A list of step elements
	StepElements    []RunbookStepEntityStepElement `json:"step_elements,omitempty"`
	Automatic       *bool                          `json:"automatic,omitempty"`
	DelayDuration   *string                        `json:"delay_duration,omitempty"`
	Action          *NullableRunbooksActionsEntity `json:"action,omitempty"`
	Reruns          *bool                          `json:"reruns,omitempty"`
	Repeats         *bool                          `json:"repeats,omitempty"`
	RepeatsDuration *string                        `json:"repeats_duration,omitempty"`
	Votes           *NullableEmptyVotesEntity      `json:"votes,omitempty"`
	Rule            *NullableRulesRuleEntity       `json:"rule,omitempty"`
}

func (*RunbookStepEntity) GetAction ¶

func (*RunbookStepEntity) GetActionElements ¶

func (r *RunbookStepEntity) GetActionElements() []ActionElement

func (*RunbookStepEntity) GetActionID ¶

func (r *RunbookStepEntity) GetActionID() *string

func (*RunbookStepEntity) GetAutomatic ¶

func (r *RunbookStepEntity) GetAutomatic() *bool

func (*RunbookStepEntity) GetConfig ¶

func (*RunbookStepEntity) GetDelayDuration ¶

func (r *RunbookStepEntity) GetDelayDuration() *string

func (*RunbookStepEntity) GetName ¶

func (r *RunbookStepEntity) GetName() *string

func (*RunbookStepEntity) GetRepeats ¶

func (r *RunbookStepEntity) GetRepeats() *bool

func (*RunbookStepEntity) GetRepeatsDuration ¶

func (r *RunbookStepEntity) GetRepeatsDuration() *string

func (*RunbookStepEntity) GetReruns ¶

func (r *RunbookStepEntity) GetReruns() *bool

func (*RunbookStepEntity) GetRule ¶

func (*RunbookStepEntity) GetStepElements ¶

func (r *RunbookStepEntity) GetStepElements() []RunbookStepEntityStepElement

func (*RunbookStepEntity) GetStepID ¶

func (r *RunbookStepEntity) GetStepID() *string

func (*RunbookStepEntity) GetVotes ¶

type RunbookStepEntityConfig ¶

type RunbookStepEntityConfig struct {
}

RunbookStepEntityConfig - An unstructured object of key/value pairs describing the config settings for the step.

type RunbookStepEntityStepElement ¶

type RunbookStepEntityStepElement struct {
}

type Runbooks ¶

type Runbooks struct {
}

Runbooks - A hash mapping runbook IDs to runbook names.

type RunbooksActionsEntity ¶

type RunbooksActionsEntity struct {
	ID                    *string                                `json:"id,omitempty"`
	Name                  *string                                `json:"name,omitempty"`
	Slug                  *string                                `json:"slug,omitempty"`
	Description           *string                                `json:"description,omitempty"`
	Config                *NullableRunbooksActionConfigEntity    `json:"config,omitempty"`
	Category              *string                                `json:"category,omitempty"`
	Prerequisites         []RunbooksActionsEntityPrerequisite    `json:"prerequisites,omitempty"`
	Integration           *NullableIntegrationsIntegrationEntity `json:"integration,omitempty"`
	SupportedRunbookTypes []string                               `json:"supported_runbook_types,omitempty"`
	CreatedAt             *time.Time                             `json:"created_at,omitempty"`
	UpdatedAt             *time.Time                             `json:"updated_at,omitempty"`
	Automatable           *bool                                  `json:"automatable,omitempty"`
	Rerunnable            *bool                                  `json:"rerunnable,omitempty"`
	Repeatable            *bool                                  `json:"repeatable,omitempty"`
	DefaultLogic          *RunbooksActionsEntityDefaultLogic     `json:"default_logic,omitempty"`
	DefaultRuleData       *RunbooksActionsEntityDefaultRuleData  `json:"default_rule_data,omitempty"`
}

func (*RunbooksActionsEntity) GetAutomatable ¶

func (r *RunbooksActionsEntity) GetAutomatable() *bool

func (*RunbooksActionsEntity) GetCategory ¶

func (r *RunbooksActionsEntity) GetCategory() *string

func (*RunbooksActionsEntity) GetConfig ¶

func (*RunbooksActionsEntity) GetCreatedAt ¶

func (r *RunbooksActionsEntity) GetCreatedAt() *time.Time

func (*RunbooksActionsEntity) GetDefaultLogic ¶

func (*RunbooksActionsEntity) GetDefaultRuleData ¶

func (*RunbooksActionsEntity) GetDescription ¶

func (r *RunbooksActionsEntity) GetDescription() *string

func (*RunbooksActionsEntity) GetID ¶

func (r *RunbooksActionsEntity) GetID() *string

func (*RunbooksActionsEntity) GetIntegration ¶

func (*RunbooksActionsEntity) GetName ¶

func (r *RunbooksActionsEntity) GetName() *string

func (*RunbooksActionsEntity) GetPrerequisites ¶

func (*RunbooksActionsEntity) GetRepeatable ¶

func (r *RunbooksActionsEntity) GetRepeatable() *bool

func (*RunbooksActionsEntity) GetRerunnable ¶

func (r *RunbooksActionsEntity) GetRerunnable() *bool

func (*RunbooksActionsEntity) GetSlug ¶

func (r *RunbooksActionsEntity) GetSlug() *string

func (*RunbooksActionsEntity) GetSupportedRunbookTypes ¶

func (r *RunbooksActionsEntity) GetSupportedRunbookTypes() []string

func (*RunbooksActionsEntity) GetUpdatedAt ¶

func (r *RunbooksActionsEntity) GetUpdatedAt() *time.Time

func (RunbooksActionsEntity) MarshalJSON ¶

func (r RunbooksActionsEntity) MarshalJSON() ([]byte, error)

func (*RunbooksActionsEntity) UnmarshalJSON ¶

func (r *RunbooksActionsEntity) UnmarshalJSON(data []byte) error

type RunbooksActionsEntityDefaultLogic ¶

type RunbooksActionsEntityDefaultLogic struct {
}

type RunbooksActionsEntityDefaultRuleData ¶

type RunbooksActionsEntityDefaultRuleData struct {
}

type RunbooksActionsEntityPaginated ¶

type RunbooksActionsEntityPaginated struct {
	Data       []RunbooksActionsEntity   `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

RunbooksActionsEntityPaginated - Runbooks_ActionsEntityPaginated model

func (*RunbooksActionsEntityPaginated) GetData ¶

func (*RunbooksActionsEntityPaginated) GetPagination ¶

type RunbooksActionsEntityPrerequisite ¶

type RunbooksActionsEntityPrerequisite struct {
}

type RunbooksElementDynamicSelectEntitySelectOptionEntity ¶

type RunbooksElementDynamicSelectEntitySelectOptionEntity struct {
	Label *string `json:"label,omitempty"`
	Value *string `json:"value,omitempty"`
}

func (*RunbooksElementDynamicSelectEntitySelectOptionEntity) GetLabel ¶

func (*RunbooksElementDynamicSelectEntitySelectOptionEntity) GetValue ¶

type RunbooksElementEntity ¶

type RunbooksElementEntity struct {
	ID            *string                                     `json:"id,omitempty"`
	Type          *string                                     `json:"type,omitempty"`
	Markdown      *NullableRunbooksElementMarkdownEntity      `json:"markdown,omitempty"`
	Textarea      *NullableRunbooksElementTextareaEntity      `json:"textarea,omitempty"`
	Input         *NullableRunbooksElementInputEntity         `json:"input,omitempty"`
	PlainText     *NullableRunbooksElementMarkdownEntity      `json:"plain_text,omitempty"`
	DynamicSelect *NullableRunbooksElementDynamicSelectEntity `json:"dynamic_select,omitempty"`
}

func (*RunbooksElementEntity) GetDynamicSelect ¶

func (*RunbooksElementEntity) GetID ¶

func (r *RunbooksElementEntity) GetID() *string

func (*RunbooksElementEntity) GetInput ¶

func (*RunbooksElementEntity) GetMarkdown ¶

func (*RunbooksElementEntity) GetPlainText ¶

func (*RunbooksElementEntity) GetTextarea ¶

func (*RunbooksElementEntity) GetType ¶

func (r *RunbooksElementEntity) GetType() *string

type RunbooksExecutionEntity ¶

type RunbooksExecutionEntity struct {
	ID                  *string                                           `json:"id,omitempty"`
	Status              *string                                           `json:"status,omitempty"`
	StatusReason        *string                                           `json:"status_reason,omitempty"`
	StatusReasonMessage *string                                           `json:"status_reason_message,omitempty"`
	HasBeenRerun        *bool                                             `json:"has_been_rerun,omitempty"`
	CreatedAt           *time.Time                                        `json:"created_at,omitempty"`
	UpdatedAt           *time.Time                                        `json:"updated_at,omitempty"`
	CreatedBy           *string                                           `json:"created_by,omitempty"`
	Runbook             *NullableSlimRunbookEntity                        `json:"runbook,omitempty"`
	Steps               *NullableRunbooksExecutionStepEntity              `json:"steps,omitempty"`
	ExecutedFor         *NullableRunbooksExecutionEntityExecutedForEntity `json:"executed_for,omitempty"`
}

RunbooksExecutionEntity - Runbooks_ExecutionEntity model

func (*RunbooksExecutionEntity) GetCreatedAt ¶

func (r *RunbooksExecutionEntity) GetCreatedAt() *time.Time

func (*RunbooksExecutionEntity) GetCreatedBy ¶

func (r *RunbooksExecutionEntity) GetCreatedBy() *string

func (*RunbooksExecutionEntity) GetExecutedFor ¶

func (*RunbooksExecutionEntity) GetHasBeenRerun ¶

func (r *RunbooksExecutionEntity) GetHasBeenRerun() *bool

func (*RunbooksExecutionEntity) GetID ¶

func (r *RunbooksExecutionEntity) GetID() *string

func (*RunbooksExecutionEntity) GetRunbook ¶

func (*RunbooksExecutionEntity) GetStatus ¶

func (r *RunbooksExecutionEntity) GetStatus() *string

func (*RunbooksExecutionEntity) GetStatusReason ¶

func (r *RunbooksExecutionEntity) GetStatusReason() *string

func (*RunbooksExecutionEntity) GetStatusReasonMessage ¶

func (r *RunbooksExecutionEntity) GetStatusReasonMessage() *string

func (*RunbooksExecutionEntity) GetSteps ¶

func (*RunbooksExecutionEntity) GetUpdatedAt ¶

func (r *RunbooksExecutionEntity) GetUpdatedAt() *time.Time

func (RunbooksExecutionEntity) MarshalJSON ¶

func (r RunbooksExecutionEntity) MarshalJSON() ([]byte, error)

func (*RunbooksExecutionEntity) UnmarshalJSON ¶

func (r *RunbooksExecutionEntity) UnmarshalJSON(data []byte) error

type RunbooksExecutionEntityPaginated ¶

type RunbooksExecutionEntityPaginated struct {
	Data       []RunbooksExecutionEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

RunbooksExecutionEntityPaginated - Runbooks_ExecutionEntityPaginated model

func (*RunbooksExecutionEntityPaginated) GetData ¶

func (*RunbooksExecutionEntityPaginated) GetPagination ¶

type SavedSearchEntity ¶

type SavedSearchEntity struct {
	ID           *string `json:"id,omitempty"`
	Name         *string `json:"name,omitempty"`
	ResourceType *string `json:"resource_type,omitempty"`
	UserID       *string `json:"user_id,omitempty"`
	// Whether or not this saved search is private
	IsPrivate *bool      `json:"is_private,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// An unstructured key/value pair of saved values for searching
	FilterValues map[string]any `json:"filter_values,omitempty"`
}

SavedSearchEntity model

func (*SavedSearchEntity) GetCreatedAt ¶

func (s *SavedSearchEntity) GetCreatedAt() *time.Time

func (*SavedSearchEntity) GetFilterValues ¶

func (s *SavedSearchEntity) GetFilterValues() map[string]any

func (*SavedSearchEntity) GetID ¶

func (s *SavedSearchEntity) GetID() *string

func (*SavedSearchEntity) GetIsPrivate ¶

func (s *SavedSearchEntity) GetIsPrivate() *bool

func (*SavedSearchEntity) GetName ¶

func (s *SavedSearchEntity) GetName() *string

func (*SavedSearchEntity) GetResourceType ¶

func (s *SavedSearchEntity) GetResourceType() *string

func (*SavedSearchEntity) GetUpdatedAt ¶

func (s *SavedSearchEntity) GetUpdatedAt() *time.Time

func (*SavedSearchEntity) GetUserID ¶

func (s *SavedSearchEntity) GetUserID() *string

func (SavedSearchEntity) MarshalJSON ¶

func (s SavedSearchEntity) MarshalJSON() ([]byte, error)

func (*SavedSearchEntity) UnmarshalJSON ¶

func (s *SavedSearchEntity) UnmarshalJSON(data []byte) error

type ScheduleEntity ¶

type ScheduleEntity struct {
	ID          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	Integration *string `json:"integration,omitempty"`
	Discarded   *bool   `json:"discarded,omitempty"`
}

func (*ScheduleEntity) GetDiscarded ¶

func (s *ScheduleEntity) GetDiscarded() *bool

func (*ScheduleEntity) GetID ¶

func (s *ScheduleEntity) GetID() *string

func (*ScheduleEntity) GetIntegration ¶

func (s *ScheduleEntity) GetIntegration() *string

func (*ScheduleEntity) GetName ¶

func (s *ScheduleEntity) GetName() *string

type ScheduleEntityPaginated ¶

type ScheduleEntityPaginated struct {
	Data       []ScheduleEntity          `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

ScheduleEntityPaginated model

func (*ScheduleEntityPaginated) GetData ¶

func (s *ScheduleEntityPaginated) GetData() []ScheduleEntity

func (*ScheduleEntityPaginated) GetPagination ¶

type ScheduledMaintenanceEntity ¶

type ScheduledMaintenanceEntity struct {
	ID          *string                                 `json:"id,omitempty"`
	Name        *string                                 `json:"name,omitempty"`
	Summary     *string                                 `json:"summary,omitempty"`
	Description *string                                 `json:"description,omitempty"`
	CreatedAt   *time.Time                              `json:"created_at,omitempty"`
	UpdatedAt   *time.Time                              `json:"updated_at,omitempty"`
	StartsAt    *time.Time                              `json:"starts_at,omitempty"`
	EndsAt      *time.Time                              `json:"ends_at,omitempty"`
	Incident    *NullableIncidentEntity                 `json:"incident,omitempty"`
	StatusPages []ScheduledMaintenancesStatusPageEntity `json:"status_pages,omitempty"`
	Impacts     []ScheduledMaintenancesImpactEntity     `json:"impacts,omitempty"`
	// An object of label key and values
	Labels *ScheduledMaintenanceEntityLabels `json:"labels,omitempty"`
}

ScheduledMaintenanceEntity model

func (*ScheduledMaintenanceEntity) GetCreatedAt ¶

func (s *ScheduledMaintenanceEntity) GetCreatedAt() *time.Time

func (*ScheduledMaintenanceEntity) GetDescription ¶

func (s *ScheduledMaintenanceEntity) GetDescription() *string

func (*ScheduledMaintenanceEntity) GetEndsAt ¶

func (s *ScheduledMaintenanceEntity) GetEndsAt() *time.Time

func (*ScheduledMaintenanceEntity) GetID ¶

func (s *ScheduledMaintenanceEntity) GetID() *string

func (*ScheduledMaintenanceEntity) GetImpacts ¶

func (*ScheduledMaintenanceEntity) GetIncident ¶

func (*ScheduledMaintenanceEntity) GetLabels ¶

func (*ScheduledMaintenanceEntity) GetName ¶

func (s *ScheduledMaintenanceEntity) GetName() *string

func (*ScheduledMaintenanceEntity) GetStartsAt ¶

func (s *ScheduledMaintenanceEntity) GetStartsAt() *time.Time

func (*ScheduledMaintenanceEntity) GetStatusPages ¶

func (*ScheduledMaintenanceEntity) GetSummary ¶

func (s *ScheduledMaintenanceEntity) GetSummary() *string

func (*ScheduledMaintenanceEntity) GetUpdatedAt ¶

func (s *ScheduledMaintenanceEntity) GetUpdatedAt() *time.Time

func (ScheduledMaintenanceEntity) MarshalJSON ¶

func (s ScheduledMaintenanceEntity) MarshalJSON() ([]byte, error)

func (*ScheduledMaintenanceEntity) UnmarshalJSON ¶

func (s *ScheduledMaintenanceEntity) UnmarshalJSON(data []byte) error

type ScheduledMaintenanceEntityLabels ¶

type ScheduledMaintenanceEntityLabels struct {
}

ScheduledMaintenanceEntityLabels - An object of label key and values

type ScheduledMaintenancesImpactEntity ¶

type ScheduledMaintenancesImpactEntity struct {
	ID        *string                                `json:"id,omitempty"`
	Type      *string                                `json:"type,omitempty"`
	Impact    *NullableSuccinctEntity                `json:"impact,omitempty"`
	Condition *NullableSeverityMatrixConditionEntity `json:"condition,omitempty"`
}

func (*ScheduledMaintenancesImpactEntity) GetCondition ¶

func (*ScheduledMaintenancesImpactEntity) GetID ¶

func (*ScheduledMaintenancesImpactEntity) GetImpact ¶

func (*ScheduledMaintenancesImpactEntity) GetType ¶

type ScheduledMaintenancesStatusPageEntity ¶

type ScheduledMaintenancesStatusPageEntity struct {
	ID              *string `json:"id,omitempty"`
	IntegrationID   *string `json:"integration_id,omitempty"`
	IntegrationSlug *string `json:"integration_slug,omitempty"`
	IntegrationName *string `json:"integration_name,omitempty"`
}

func (*ScheduledMaintenancesStatusPageEntity) GetID ¶

func (*ScheduledMaintenancesStatusPageEntity) GetIntegrationID ¶

func (s *ScheduledMaintenancesStatusPageEntity) GetIntegrationID() *string

func (*ScheduledMaintenancesStatusPageEntity) GetIntegrationName ¶

func (s *ScheduledMaintenancesStatusPageEntity) GetIntegrationName() *string

func (*ScheduledMaintenancesStatusPageEntity) GetIntegrationSlug ¶

func (s *ScheduledMaintenancesStatusPageEntity) GetIntegrationSlug() *string

type Schema ¶

type Schema struct {
}

type Security ¶

type Security struct {
	APIKey string `security:"scheme,type=apiKey,subtype=header,name=Authorization"`
}

func (*Security) GetAPIKey ¶

func (s *Security) GetAPIKey() string

type ServiceChildDependencyEntity ¶

type ServiceChildDependencyEntity struct {
	ID        *string                `json:"id,omitempty"`
	Notes     *string                `json:"notes,omitempty"`
	CreatedAt *time.Time             `json:"created_at,omitempty"`
	UpdatedAt *time.Time             `json:"updated_at,omitempty"`
	Service   *NullableServiceEntity `json:"service,omitempty"`
	Type      *string                `json:"type,omitempty"`
}

func (*ServiceChildDependencyEntity) GetCreatedAt ¶

func (s *ServiceChildDependencyEntity) GetCreatedAt() *time.Time

func (*ServiceChildDependencyEntity) GetID ¶

func (*ServiceChildDependencyEntity) GetNotes ¶

func (s *ServiceChildDependencyEntity) GetNotes() *string

func (*ServiceChildDependencyEntity) GetService ¶

func (*ServiceChildDependencyEntity) GetType ¶

func (s *ServiceChildDependencyEntity) GetType() *string

func (*ServiceChildDependencyEntity) GetUpdatedAt ¶

func (s *ServiceChildDependencyEntity) GetUpdatedAt() *time.Time

func (ServiceChildDependencyEntity) MarshalJSON ¶

func (s ServiceChildDependencyEntity) MarshalJSON() ([]byte, error)

func (*ServiceChildDependencyEntity) UnmarshalJSON ¶

func (s *ServiceChildDependencyEntity) UnmarshalJSON(data []byte) error

type ServiceDependency ¶

type ServiceDependency struct {
}

type ServiceDependencyEntity ¶

type ServiceDependencyEntity struct {
	ID               *string                `json:"id,omitempty"`
	Notes            *string                `json:"notes,omitempty"`
	CreatedAt        *time.Time             `json:"created_at,omitempty"`
	UpdatedAt        *time.Time             `json:"updated_at,omitempty"`
	Service          *NullableServiceEntity `json:"service,omitempty"`
	ConnectedService *NullableServiceEntity `json:"connected_service,omitempty"`
}

ServiceDependencyEntity model

func (*ServiceDependencyEntity) GetConnectedService ¶

func (s *ServiceDependencyEntity) GetConnectedService() *NullableServiceEntity

func (*ServiceDependencyEntity) GetCreatedAt ¶

func (s *ServiceDependencyEntity) GetCreatedAt() *time.Time

func (*ServiceDependencyEntity) GetID ¶

func (s *ServiceDependencyEntity) GetID() *string

func (*ServiceDependencyEntity) GetNotes ¶

func (s *ServiceDependencyEntity) GetNotes() *string

func (*ServiceDependencyEntity) GetService ¶

func (*ServiceDependencyEntity) GetUpdatedAt ¶

func (s *ServiceDependencyEntity) GetUpdatedAt() *time.Time

func (ServiceDependencyEntity) MarshalJSON ¶

func (s ServiceDependencyEntity) MarshalJSON() ([]byte, error)

func (*ServiceDependencyEntity) UnmarshalJSON ¶

func (s *ServiceDependencyEntity) UnmarshalJSON(data []byte) error

type ServiceEntity ¶

type ServiceEntity struct {
	ID            *string    `json:"id,omitempty"`
	Name          *string    `json:"name,omitempty"`
	Description   *string    `json:"description,omitempty"`
	Slug          *string    `json:"slug,omitempty"`
	ServiceTier   *int       `json:"service_tier,omitempty"`
	CreatedAt     *time.Time `json:"created_at,omitempty"`
	UpdatedAt     *time.Time `json:"updated_at,omitempty"`
	AllowedParams []string   `json:"allowed_params,omitempty"`
	// An object of label key and values
	Labels                map[string]any `json:"labels,omitempty"`
	AlertOnAdd            *bool          `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool          `json:"auto_add_responding_team,omitempty"`
	// List of active incident guids
	ActiveIncidents []string `json:"active_incidents,omitempty"`
	// List of checklists associated with a service
	Checklists      []ChecklistTemplateEntity `json:"checklists,omitempty"`
	CompletedChecks *int                      `json:"completed_checks,omitempty"`
	// Information about known linkages to representations of services outside of FireHydrant.
	ExternalResources []ExternalResourceEntity `json:"external_resources,omitempty"`
	// List of functionalities attached to the service
	Functionalities []FunctionalityEntity                    `json:"functionalities,omitempty"`
	LastImport      *NullableImportsImportableResourceEntity `json:"last_import,omitempty"`
	// List of links attached to this service.
	Links []LinksEntity `json:"links,omitempty"`
	// If set, this field indicates that the service is managed by an integration and thus cannot be set manually
	ManagedBy *string `json:"managed_by,omitempty"`
	// Indicates the settings of the catalog that manages this service
	ManagedBySettings         *ServiceEntityManagedBySettings `json:"managed_by_settings,omitempty"`
	Owner                     *NullableTeamEntityLite         `json:"owner,omitempty"`
	ServiceChecklistUpdatedAt *time.Time                      `json:"service_checklist_updated_at,omitempty"`
	// List of teams attached to the service
	Teams     []TeamEntityLite      `json:"teams,omitempty"`
	UpdatedBy *NullableAuthorEntity `json:"updated_by,omitempty"`
}

ServiceEntity model

func (*ServiceEntity) GetActiveIncidents ¶

func (s *ServiceEntity) GetActiveIncidents() []string

func (*ServiceEntity) GetAlertOnAdd ¶

func (s *ServiceEntity) GetAlertOnAdd() *bool

func (*ServiceEntity) GetAllowedParams ¶

func (s *ServiceEntity) GetAllowedParams() []string

func (*ServiceEntity) GetAutoAddRespondingTeam ¶

func (s *ServiceEntity) GetAutoAddRespondingTeam() *bool

func (*ServiceEntity) GetChecklists ¶

func (s *ServiceEntity) GetChecklists() []ChecklistTemplateEntity

func (*ServiceEntity) GetCompletedChecks ¶

func (s *ServiceEntity) GetCompletedChecks() *int

func (*ServiceEntity) GetCreatedAt ¶

func (s *ServiceEntity) GetCreatedAt() *time.Time

func (*ServiceEntity) GetDescription ¶

func (s *ServiceEntity) GetDescription() *string

func (*ServiceEntity) GetExternalResources ¶

func (s *ServiceEntity) GetExternalResources() []ExternalResourceEntity

func (*ServiceEntity) GetFunctionalities ¶

func (s *ServiceEntity) GetFunctionalities() []FunctionalityEntity

func (*ServiceEntity) GetID ¶

func (s *ServiceEntity) GetID() *string

func (*ServiceEntity) GetLabels ¶

func (s *ServiceEntity) GetLabels() map[string]any

func (*ServiceEntity) GetLastImport ¶

func (s *ServiceEntity) GetLinks() []LinksEntity

func (*ServiceEntity) GetManagedBy ¶

func (s *ServiceEntity) GetManagedBy() *string

func (*ServiceEntity) GetManagedBySettings ¶

func (s *ServiceEntity) GetManagedBySettings() *ServiceEntityManagedBySettings

func (*ServiceEntity) GetName ¶

func (s *ServiceEntity) GetName() *string

func (*ServiceEntity) GetOwner ¶

func (s *ServiceEntity) GetOwner() *NullableTeamEntityLite

func (*ServiceEntity) GetServiceChecklistUpdatedAt ¶

func (s *ServiceEntity) GetServiceChecklistUpdatedAt() *time.Time

func (*ServiceEntity) GetServiceTier ¶

func (s *ServiceEntity) GetServiceTier() *int

func (*ServiceEntity) GetSlug ¶

func (s *ServiceEntity) GetSlug() *string

func (*ServiceEntity) GetTeams ¶

func (s *ServiceEntity) GetTeams() []TeamEntityLite

func (*ServiceEntity) GetUpdatedAt ¶

func (s *ServiceEntity) GetUpdatedAt() *time.Time

func (*ServiceEntity) GetUpdatedBy ¶

func (s *ServiceEntity) GetUpdatedBy() *NullableAuthorEntity

func (ServiceEntity) MarshalJSON ¶

func (s ServiceEntity) MarshalJSON() ([]byte, error)

func (*ServiceEntity) UnmarshalJSON ¶

func (s *ServiceEntity) UnmarshalJSON(data []byte) error

type ServiceEntityChecklist ¶

type ServiceEntityChecklist struct {
	ID            *string    `json:"id,omitempty"`
	Name          *string    `json:"name,omitempty"`
	Description   *string    `json:"description,omitempty"`
	Slug          *string    `json:"slug,omitempty"`
	ServiceTier   *int       `json:"service_tier,omitempty"`
	CreatedAt     *time.Time `json:"created_at,omitempty"`
	UpdatedAt     *time.Time `json:"updated_at,omitempty"`
	AllowedParams []string   `json:"allowed_params,omitempty"`
	// An object of label key and values
	Labels                    map[string]any          `json:"labels,omitempty"`
	AlertOnAdd                *bool                   `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam     *bool                   `json:"auto_add_responding_team,omitempty"`
	CompletedChecks           *int                    `json:"completed_checks,omitempty"`
	Owner                     *NullableTeamEntityLite `json:"owner,omitempty"`
	ServiceChecklistUpdatedAt *time.Time              `json:"service_checklist_updated_at,omitempty"`
}

func (*ServiceEntityChecklist) GetAlertOnAdd ¶

func (s *ServiceEntityChecklist) GetAlertOnAdd() *bool

func (*ServiceEntityChecklist) GetAllowedParams ¶

func (s *ServiceEntityChecklist) GetAllowedParams() []string

func (*ServiceEntityChecklist) GetAutoAddRespondingTeam ¶

func (s *ServiceEntityChecklist) GetAutoAddRespondingTeam() *bool

func (*ServiceEntityChecklist) GetCompletedChecks ¶

func (s *ServiceEntityChecklist) GetCompletedChecks() *int

func (*ServiceEntityChecklist) GetCreatedAt ¶

func (s *ServiceEntityChecklist) GetCreatedAt() *time.Time

func (*ServiceEntityChecklist) GetDescription ¶

func (s *ServiceEntityChecklist) GetDescription() *string

func (*ServiceEntityChecklist) GetID ¶

func (s *ServiceEntityChecklist) GetID() *string

func (*ServiceEntityChecklist) GetLabels ¶

func (s *ServiceEntityChecklist) GetLabels() map[string]any

func (*ServiceEntityChecklist) GetName ¶

func (s *ServiceEntityChecklist) GetName() *string

func (*ServiceEntityChecklist) GetOwner ¶

func (*ServiceEntityChecklist) GetServiceChecklistUpdatedAt ¶

func (s *ServiceEntityChecklist) GetServiceChecklistUpdatedAt() *time.Time

func (*ServiceEntityChecklist) GetServiceTier ¶

func (s *ServiceEntityChecklist) GetServiceTier() *int

func (*ServiceEntityChecklist) GetSlug ¶

func (s *ServiceEntityChecklist) GetSlug() *string

func (*ServiceEntityChecklist) GetUpdatedAt ¶

func (s *ServiceEntityChecklist) GetUpdatedAt() *time.Time

func (ServiceEntityChecklist) MarshalJSON ¶

func (s ServiceEntityChecklist) MarshalJSON() ([]byte, error)

func (*ServiceEntityChecklist) UnmarshalJSON ¶

func (s *ServiceEntityChecklist) UnmarshalJSON(data []byte) error

type ServiceEntityLite ¶

type ServiceEntityLite struct {
	ID            *string    `json:"id,omitempty"`
	Name          *string    `json:"name,omitempty"`
	Description   *string    `json:"description,omitempty"`
	Slug          *string    `json:"slug,omitempty"`
	ServiceTier   *int       `json:"service_tier,omitempty"`
	CreatedAt     *time.Time `json:"created_at,omitempty"`
	UpdatedAt     *time.Time `json:"updated_at,omitempty"`
	AllowedParams []string   `json:"allowed_params,omitempty"`
	// An object of label key and values
	Labels                map[string]any `json:"labels,omitempty"`
	AlertOnAdd            *bool          `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool          `json:"auto_add_responding_team,omitempty"`
}

ServiceEntityLite model

func (*ServiceEntityLite) GetAlertOnAdd ¶

func (s *ServiceEntityLite) GetAlertOnAdd() *bool

func (*ServiceEntityLite) GetAllowedParams ¶

func (s *ServiceEntityLite) GetAllowedParams() []string

func (*ServiceEntityLite) GetAutoAddRespondingTeam ¶

func (s *ServiceEntityLite) GetAutoAddRespondingTeam() *bool

func (*ServiceEntityLite) GetCreatedAt ¶

func (s *ServiceEntityLite) GetCreatedAt() *time.Time

func (*ServiceEntityLite) GetDescription ¶

func (s *ServiceEntityLite) GetDescription() *string

func (*ServiceEntityLite) GetID ¶

func (s *ServiceEntityLite) GetID() *string

func (*ServiceEntityLite) GetLabels ¶

func (s *ServiceEntityLite) GetLabels() map[string]any

func (*ServiceEntityLite) GetName ¶

func (s *ServiceEntityLite) GetName() *string

func (*ServiceEntityLite) GetServiceTier ¶

func (s *ServiceEntityLite) GetServiceTier() *int

func (*ServiceEntityLite) GetSlug ¶

func (s *ServiceEntityLite) GetSlug() *string

func (*ServiceEntityLite) GetUpdatedAt ¶

func (s *ServiceEntityLite) GetUpdatedAt() *time.Time

func (ServiceEntityLite) MarshalJSON ¶

func (s ServiceEntityLite) MarshalJSON() ([]byte, error)

func (*ServiceEntityLite) UnmarshalJSON ¶

func (s *ServiceEntityLite) UnmarshalJSON(data []byte) error

type ServiceEntityManagedBySettings ¶

type ServiceEntityManagedBySettings struct {
}

ServiceEntityManagedBySettings - Indicates the settings of the catalog that manages this service

type ServiceEntityPaginated ¶

type ServiceEntityPaginated struct {
	Data       []ServiceEntity           `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

ServiceEntityPaginated model

func (*ServiceEntityPaginated) GetData ¶

func (s *ServiceEntityPaginated) GetData() []ServiceEntity

func (*ServiceEntityPaginated) GetPagination ¶

type ServiceLinkEntity ¶

type ServiceLinkEntity struct {
	StatusCode *int                   `json:"status_code,omitempty"`
	Service    *NullableServiceEntity `json:"service,omitempty"`
}

ServiceLinkEntity model

func (*ServiceLinkEntity) GetService ¶

func (s *ServiceLinkEntity) GetService() *NullableServiceEntity

func (*ServiceLinkEntity) GetStatusCode ¶

func (s *ServiceLinkEntity) GetStatusCode() *int

type ServiceParentDependencyEntity ¶

type ServiceParentDependencyEntity struct {
	ID        *string                `json:"id,omitempty"`
	Notes     *string                `json:"notes,omitempty"`
	CreatedAt *time.Time             `json:"created_at,omitempty"`
	UpdatedAt *time.Time             `json:"updated_at,omitempty"`
	Service   *NullableServiceEntity `json:"service,omitempty"`
	Type      *string                `json:"type,omitempty"`
}

func (*ServiceParentDependencyEntity) GetCreatedAt ¶

func (s *ServiceParentDependencyEntity) GetCreatedAt() *time.Time

func (*ServiceParentDependencyEntity) GetID ¶

func (*ServiceParentDependencyEntity) GetNotes ¶

func (s *ServiceParentDependencyEntity) GetNotes() *string

func (*ServiceParentDependencyEntity) GetService ¶

func (*ServiceParentDependencyEntity) GetType ¶

func (s *ServiceParentDependencyEntity) GetType() *string

func (*ServiceParentDependencyEntity) GetUpdatedAt ¶

func (s *ServiceParentDependencyEntity) GetUpdatedAt() *time.Time

func (ServiceParentDependencyEntity) MarshalJSON ¶

func (s ServiceParentDependencyEntity) MarshalJSON() ([]byte, error)

func (*ServiceParentDependencyEntity) UnmarshalJSON ¶

func (s *ServiceParentDependencyEntity) UnmarshalJSON(data []byte) error

type ServiceWithAllDependenciesEntity ¶

type ServiceWithAllDependenciesEntity struct {
	// Services that depend on this service
	ChildServiceDependencies []ServiceChildDependencyEntity `json:"child_service_dependencies,omitempty"`
	// Services that this service is dependent on
	ParentServiceDependencies []ServiceParentDependencyEntity `json:"parent_service_dependencies,omitempty"`
	// All dependencies. Can be one of: ServiceChildDependencyEntity, ServiceParentDependencyEntity
	ServiceDependencies []ServiceDependency `json:"service_dependencies,omitempty"`
}

ServiceWithAllDependenciesEntity model

func (*ServiceWithAllDependenciesEntity) GetChildServiceDependencies ¶

func (s *ServiceWithAllDependenciesEntity) GetChildServiceDependencies() []ServiceChildDependencyEntity

func (*ServiceWithAllDependenciesEntity) GetParentServiceDependencies ¶

func (s *ServiceWithAllDependenciesEntity) GetParentServiceDependencies() []ServiceParentDependencyEntity

func (*ServiceWithAllDependenciesEntity) GetServiceDependencies ¶

func (s *ServiceWithAllDependenciesEntity) GetServiceDependencies() []ServiceDependency

type SeverityEntity ¶

type SeverityEntity struct {
	Slug         *string    `json:"slug,omitempty"`
	Description  *string    `json:"description,omitempty"`
	Type         *string    `json:"type,omitempty"`
	Position     *int       `json:"position,omitempty"`
	CreatedAt    *time.Time `json:"created_at,omitempty"`
	UpdatedAt    *time.Time `json:"updated_at,omitempty"`
	SystemRecord *bool      `json:"system_record,omitempty"`
	Color        *string    `json:"color,omitempty"`
}

SeverityEntity model

func (*SeverityEntity) GetColor ¶

func (s *SeverityEntity) GetColor() *string

func (*SeverityEntity) GetCreatedAt ¶

func (s *SeverityEntity) GetCreatedAt() *time.Time

func (*SeverityEntity) GetDescription ¶

func (s *SeverityEntity) GetDescription() *string

func (*SeverityEntity) GetPosition ¶

func (s *SeverityEntity) GetPosition() *int

func (*SeverityEntity) GetSlug ¶

func (s *SeverityEntity) GetSlug() *string

func (*SeverityEntity) GetSystemRecord ¶

func (s *SeverityEntity) GetSystemRecord() *bool

func (*SeverityEntity) GetType ¶

func (s *SeverityEntity) GetType() *string

func (*SeverityEntity) GetUpdatedAt ¶

func (s *SeverityEntity) GetUpdatedAt() *time.Time

func (SeverityEntity) MarshalJSON ¶

func (s SeverityEntity) MarshalJSON() ([]byte, error)

func (*SeverityEntity) UnmarshalJSON ¶

func (s *SeverityEntity) UnmarshalJSON(data []byte) error

type SeverityEntityPaginated ¶

type SeverityEntityPaginated struct {
	Data       []SeverityEntity          `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

SeverityEntityPaginated model

func (*SeverityEntityPaginated) GetData ¶

func (s *SeverityEntityPaginated) GetData() []SeverityEntity

func (*SeverityEntityPaginated) GetPagination ¶

type SeverityMatrixConditionEntity ¶

type SeverityMatrixConditionEntity struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	// Position is used to determine ordering of conditions in API responses and dropdowns. The condition with the lowest position (typically 0) will be considered the Default Condition
	Position *int `json:"position,omitempty"`
}

SeverityMatrixConditionEntity - SeverityMatrix_ConditionEntity model

func (*SeverityMatrixConditionEntity) GetID ¶

func (*SeverityMatrixConditionEntity) GetName ¶

func (s *SeverityMatrixConditionEntity) GetName() *string

func (*SeverityMatrixConditionEntity) GetPosition ¶

func (s *SeverityMatrixConditionEntity) GetPosition() *int

type SeverityMatrixImpactEntity ¶

type SeverityMatrixImpactEntity struct {
	ID        *string `json:"id,omitempty"`
	Name      *string `json:"name,omitempty"`
	Type      *string `json:"type,omitempty"`
	AffectsID *string `json:"affects_id,omitempty"`
	Position  *int    `json:"position,omitempty"`
}

SeverityMatrixImpactEntity - SeverityMatrix_ImpactEntity model

func (*SeverityMatrixImpactEntity) GetAffectsID ¶

func (s *SeverityMatrixImpactEntity) GetAffectsID() *string

func (*SeverityMatrixImpactEntity) GetID ¶

func (s *SeverityMatrixImpactEntity) GetID() *string

func (*SeverityMatrixImpactEntity) GetName ¶

func (s *SeverityMatrixImpactEntity) GetName() *string

func (*SeverityMatrixImpactEntity) GetPosition ¶

func (s *SeverityMatrixImpactEntity) GetPosition() *int

func (*SeverityMatrixImpactEntity) GetType ¶

func (s *SeverityMatrixImpactEntity) GetType() *string

type SeverityMatrixItemEntity ¶

type SeverityMatrixItemEntity struct {
	Severity    *string `json:"severity,omitempty"`
	ConditionID *string `json:"condition_id,omitempty"`
	ImpactID    *string `json:"impact_id,omitempty"`
	ImpactType  *string `json:"impact_type,omitempty"`
}

func (*SeverityMatrixItemEntity) GetConditionID ¶

func (s *SeverityMatrixItemEntity) GetConditionID() *string

func (*SeverityMatrixItemEntity) GetImpactID ¶

func (s *SeverityMatrixItemEntity) GetImpactID() *string

func (*SeverityMatrixItemEntity) GetImpactType ¶

func (s *SeverityMatrixItemEntity) GetImpactType() *string

func (*SeverityMatrixItemEntity) GetSeverity ¶

func (s *SeverityMatrixItemEntity) GetSeverity() *string

type SeverityMatrixSeverityMatrixEntity ¶

type SeverityMatrixSeverityMatrixEntity struct {
	Matrix     []SeverityMatrixItemEntity      `json:"matrix,omitempty"`
	Impacts    []SeverityMatrixImpactEntity    `json:"impacts,omitempty"`
	Conditions []SeverityMatrixConditionEntity `json:"conditions,omitempty"`
}

SeverityMatrixSeverityMatrixEntity - SeverityMatrix_SeverityMatrixEntity model

func (*SeverityMatrixSeverityMatrixEntity) GetConditions ¶

func (*SeverityMatrixSeverityMatrixEntity) GetImpacts ¶

func (*SeverityMatrixSeverityMatrixEntity) GetMatrix ¶

type Signal ¶

type Signal struct {
	ID             *string                      `json:"id,omitempty"`
	OrganizationID *string                      `json:"organization_id,omitempty"`
	Summary        *string                      `json:"summary,omitempty"`
	Body           *string                      `json:"body,omitempty"`
	Level          *string                      `json:"level,omitempty"`
	Annotations    *Annotations                 `json:"annotations,omitempty"`
	Tags           []string                     `json:"tags,omitempty"`
	Images         []Image                      `json:"images,omitempty"`
	Links          []DebugSignalsExpressionLink `json:"links,omitempty"`
}

func (*Signal) GetAnnotations ¶

func (s *Signal) GetAnnotations() *Annotations

func (*Signal) GetBody ¶

func (s *Signal) GetBody() *string

func (*Signal) GetID ¶

func (s *Signal) GetID() *string

func (*Signal) GetImages ¶

func (s *Signal) GetImages() []Image

func (*Signal) GetLevel ¶

func (s *Signal) GetLevel() *string
func (s *Signal) GetLinks() []DebugSignalsExpressionLink

func (*Signal) GetOrganizationID ¶

func (s *Signal) GetOrganizationID() *string

func (*Signal) GetSummary ¶

func (s *Signal) GetSummary() *string

func (*Signal) GetTags ¶

func (s *Signal) GetTags() []string

type SignalsAPIAnalyticsGroupedMetricsEntity ¶

type SignalsAPIAnalyticsGroupedMetricsEntity struct {
	Data *NullableSignalsAPIAnalyticsGroupedMetricsEntityMetricEntity `json:"data,omitempty"`
}

SignalsAPIAnalyticsGroupedMetricsEntity - Signals_API_Analytics_GroupedMetricsEntity model

func (*SignalsAPIAnalyticsGroupedMetricsEntity) GetData ¶

type SignalsAPIAnalyticsMttxMetricsEntity ¶

type SignalsAPIAnalyticsMttxMetricsEntity struct {
	Data *NullableSignalsAPIAnalyticsMttxMetricsEntityMetricEntity `json:"data,omitempty"`
}

SignalsAPIAnalyticsMttxMetricsEntity - Signals_API_Analytics_MttxMetricsEntity model

func (*SignalsAPIAnalyticsMttxMetricsEntity) GetData ¶

type SignalsAPIAnalyticsNoiseMetricsEntity ¶

type SignalsAPIAnalyticsNoiseMetricsEntity struct {
	Data *NullableSignalsAPIAnalyticsNoiseMetricsEntityMetricEntity `json:"data,omitempty"`
}

SignalsAPIAnalyticsNoiseMetricsEntity - Signals_API_Analytics_NoiseMetricsEntity model

func (*SignalsAPIAnalyticsNoiseMetricsEntity) GetData ¶

type SignalsAPIAnalyticsTimeseriesPointEntity ¶

type SignalsAPIAnalyticsTimeseriesPointEntity struct {
	Data *NullableSignalsAPIAnalyticsTimeseriesPointEntityMetricEntity `json:"data,omitempty"`
}

SignalsAPIAnalyticsTimeseriesPointEntity - Signals_API_Analytics_TimeseriesPointEntity model

func (*SignalsAPIAnalyticsTimeseriesPointEntity) GetData ¶

type SignalsAPICallRouteEntity ¶

type SignalsAPICallRouteEntity struct {
	ID              *string                                `json:"id,omitempty"`
	Name            *string                                `json:"name,omitempty"`
	Description     *string                                `json:"description,omitempty"`
	PhoneNumber     *string                                `json:"phone_number,omitempty"`
	GreetingMessage *string                                `json:"greeting_message,omitempty"`
	RoutingMode     *SignalsAPICallRouteEntityRoutingMode  `json:"routing_mode,omitempty"`
	ConnectMode     *SignalsAPICallRouteEntityConnectMode  `json:"connect_mode,omitempty"`
	Steps           *NullableSignalsAPICallRouteStepEntity `json:"steps,omitempty"`
	Target          *NullableSignalsAPITargetEntity        `json:"target,omitempty"`
}

SignalsAPICallRouteEntity - Signals_API_CallRouteEntity model

func (*SignalsAPICallRouteEntity) GetConnectMode ¶

func (*SignalsAPICallRouteEntity) GetDescription ¶

func (s *SignalsAPICallRouteEntity) GetDescription() *string

func (*SignalsAPICallRouteEntity) GetGreetingMessage ¶

func (s *SignalsAPICallRouteEntity) GetGreetingMessage() *string

func (*SignalsAPICallRouteEntity) GetID ¶

func (s *SignalsAPICallRouteEntity) GetID() *string

func (*SignalsAPICallRouteEntity) GetName ¶

func (s *SignalsAPICallRouteEntity) GetName() *string

func (*SignalsAPICallRouteEntity) GetPhoneNumber ¶

func (s *SignalsAPICallRouteEntity) GetPhoneNumber() *string

func (*SignalsAPICallRouteEntity) GetRoutingMode ¶

func (*SignalsAPICallRouteEntity) GetSteps ¶

func (*SignalsAPICallRouteEntity) GetTarget ¶

type SignalsAPICallRouteEntityConnectMode ¶

type SignalsAPICallRouteEntityConnectMode string
const (
	SignalsAPICallRouteEntityConnectModeConnectModeConference SignalsAPICallRouteEntityConnectMode = "CONNECT_MODE_CONFERENCE"
	SignalsAPICallRouteEntityConnectModeConnectModeDirectDial SignalsAPICallRouteEntityConnectMode = "CONNECT_MODE_DIRECT_DIAL"
)

func (SignalsAPICallRouteEntityConnectMode) ToPointer ¶

func (*SignalsAPICallRouteEntityConnectMode) UnmarshalJSON ¶

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

type SignalsAPICallRouteEntityPaginated ¶

type SignalsAPICallRouteEntityPaginated struct {
	Data       []SignalsAPICallRouteEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity   `json:"pagination,omitempty"`
}

SignalsAPICallRouteEntityPaginated - Signals_API_CallRouteEntityPaginated model

func (*SignalsAPICallRouteEntityPaginated) GetData ¶

func (*SignalsAPICallRouteEntityPaginated) GetPagination ¶

type SignalsAPICallRouteEntityRoutingMode ¶

type SignalsAPICallRouteEntityRoutingMode string
const (
	SignalsAPICallRouteEntityRoutingModeRoutingModeTakeMessage   SignalsAPICallRouteEntityRoutingMode = "ROUTING_MODE_TAKE_MESSAGE"
	SignalsAPICallRouteEntityRoutingModeRoutingModeDirectConnect SignalsAPICallRouteEntityRoutingMode = "ROUTING_MODE_DIRECT_CONNECT"
)

func (SignalsAPICallRouteEntityRoutingMode) ToPointer ¶

func (*SignalsAPICallRouteEntityRoutingMode) UnmarshalJSON ¶

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

type SignalsAPIEmailTargetEntity ¶

type SignalsAPIEmailTargetEntity struct {
	ID                   *string                         `json:"id,omitempty"`
	Slug                 *string                         `json:"slug,omitempty"`
	Name                 *string                         `json:"name,omitempty"`
	Description          *string                         `json:"description,omitempty"`
	Email                *string                         `json:"email,omitempty"`
	StatusCel            *string                         `json:"status_cel,omitempty"`
	LevelCel             *string                         `json:"level_cel,omitempty"`
	Target               *NullableSignalsAPITargetEntity `json:"target,omitempty"`
	AllowedSenders       []string                        `json:"allowed_senders,omitempty"`
	Rules                []string                        `json:"rules,omitempty"`
	RuleMatchingStrategy *string                         `json:"rule_matching_strategy,omitempty"`
	CreatedBy            *NullableAuthorEntity           `json:"created_by,omitempty"`
	CreatedAt            *time.Time                      `json:"created_at,omitempty"`
	UpdatedAt            *time.Time                      `json:"updated_at,omitempty"`
	// The team ID that the email target belongs to, if applicable
	TeamID *string `json:"team_id,omitempty"`
}

SignalsAPIEmailTargetEntity - Signals_API_EmailTargetEntity model

func (*SignalsAPIEmailTargetEntity) GetAllowedSenders ¶

func (s *SignalsAPIEmailTargetEntity) GetAllowedSenders() []string

func (*SignalsAPIEmailTargetEntity) GetCreatedAt ¶

func (s *SignalsAPIEmailTargetEntity) GetCreatedAt() *time.Time

func (*SignalsAPIEmailTargetEntity) GetCreatedBy ¶

func (*SignalsAPIEmailTargetEntity) GetDescription ¶

func (s *SignalsAPIEmailTargetEntity) GetDescription() *string

func (*SignalsAPIEmailTargetEntity) GetEmail ¶

func (s *SignalsAPIEmailTargetEntity) GetEmail() *string

func (*SignalsAPIEmailTargetEntity) GetID ¶

func (s *SignalsAPIEmailTargetEntity) GetID() *string

func (*SignalsAPIEmailTargetEntity) GetLevelCel ¶

func (s *SignalsAPIEmailTargetEntity) GetLevelCel() *string

func (*SignalsAPIEmailTargetEntity) GetName ¶

func (s *SignalsAPIEmailTargetEntity) GetName() *string

func (*SignalsAPIEmailTargetEntity) GetRuleMatchingStrategy ¶

func (s *SignalsAPIEmailTargetEntity) GetRuleMatchingStrategy() *string

func (*SignalsAPIEmailTargetEntity) GetRules ¶

func (s *SignalsAPIEmailTargetEntity) GetRules() []string

func (*SignalsAPIEmailTargetEntity) GetSlug ¶

func (s *SignalsAPIEmailTargetEntity) GetSlug() *string

func (*SignalsAPIEmailTargetEntity) GetStatusCel ¶

func (s *SignalsAPIEmailTargetEntity) GetStatusCel() *string

func (*SignalsAPIEmailTargetEntity) GetTarget ¶

func (*SignalsAPIEmailTargetEntity) GetTeamID ¶

func (s *SignalsAPIEmailTargetEntity) GetTeamID() *string

func (*SignalsAPIEmailTargetEntity) GetUpdatedAt ¶

func (s *SignalsAPIEmailTargetEntity) GetUpdatedAt() *time.Time

func (SignalsAPIEmailTargetEntity) MarshalJSON ¶

func (s SignalsAPIEmailTargetEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPIEmailTargetEntity) UnmarshalJSON ¶

func (s *SignalsAPIEmailTargetEntity) UnmarshalJSON(data []byte) error

type SignalsAPIEmailTargetEntityPaginated ¶

type SignalsAPIEmailTargetEntityPaginated struct {
	Data       []SignalsAPIEmailTargetEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity     `json:"pagination,omitempty"`
}

SignalsAPIEmailTargetEntityPaginated - Signals_API_EmailTargetEntityPaginated model

func (*SignalsAPIEmailTargetEntityPaginated) GetData ¶

func (*SignalsAPIEmailTargetEntityPaginated) GetPagination ¶

type SignalsAPIEscalationPolicyEntity ¶

type SignalsAPIEscalationPolicyEntity struct {
	ID           *string                                              `json:"id,omitempty"`
	Name         *string                                              `json:"name,omitempty"`
	Description  *string                                              `json:"description,omitempty"`
	Default      *bool                                                `json:"default,omitempty"`
	Repetitions  *int                                                 `json:"repetitions,omitempty"`
	Steps        []SignalsAPIEscalationPolicyStepEntity               `json:"steps,omitempty"`
	HandoffStep  *NullableSignalsAPIEscalationPolicyHandoffStepEntity `json:"handoff_step,omitempty"`
	CreatedBy    *NullableAuthorEntity                                `json:"created_by,omitempty"`
	CreatedAt    *time.Time                                           `json:"created_at,omitempty"`
	UpdatedAt    *time.Time                                           `json:"updated_at,omitempty"`
	StepStrategy *string                                              `json:"step_strategy,omitempty"`
	// Priority-specific policies for dynamic escalation policies
	NotificationPriorityPolicies []SignalsAPINotificationPriorityPolicyEntity `json:"notification_priority_policies,omitempty"`
}

SignalsAPIEscalationPolicyEntity - Signals_API_EscalationPolicyEntity model

func (*SignalsAPIEscalationPolicyEntity) GetCreatedAt ¶

func (s *SignalsAPIEscalationPolicyEntity) GetCreatedAt() *time.Time

func (*SignalsAPIEscalationPolicyEntity) GetCreatedBy ¶

func (*SignalsAPIEscalationPolicyEntity) GetDefault ¶

func (s *SignalsAPIEscalationPolicyEntity) GetDefault() *bool

func (*SignalsAPIEscalationPolicyEntity) GetDescription ¶

func (s *SignalsAPIEscalationPolicyEntity) GetDescription() *string

func (*SignalsAPIEscalationPolicyEntity) GetHandoffStep ¶

func (*SignalsAPIEscalationPolicyEntity) GetID ¶

func (*SignalsAPIEscalationPolicyEntity) GetName ¶

func (*SignalsAPIEscalationPolicyEntity) GetNotificationPriorityPolicies ¶

func (*SignalsAPIEscalationPolicyEntity) GetRepetitions ¶

func (s *SignalsAPIEscalationPolicyEntity) GetRepetitions() *int

func (*SignalsAPIEscalationPolicyEntity) GetStepStrategy ¶

func (s *SignalsAPIEscalationPolicyEntity) GetStepStrategy() *string

func (*SignalsAPIEscalationPolicyEntity) GetSteps ¶

func (*SignalsAPIEscalationPolicyEntity) GetUpdatedAt ¶

func (s *SignalsAPIEscalationPolicyEntity) GetUpdatedAt() *time.Time

func (SignalsAPIEscalationPolicyEntity) MarshalJSON ¶

func (s SignalsAPIEscalationPolicyEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPIEscalationPolicyEntity) UnmarshalJSON ¶

func (s *SignalsAPIEscalationPolicyEntity) UnmarshalJSON(data []byte) error

type SignalsAPIEscalationPolicyEntityPaginated ¶

type SignalsAPIEscalationPolicyEntityPaginated struct {
	Data       []SignalsAPIEscalationPolicyEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity          `json:"pagination,omitempty"`
}

SignalsAPIEscalationPolicyEntityPaginated - Signals_API_EscalationPolicyEntityPaginated model

func (*SignalsAPIEscalationPolicyEntityPaginated) GetData ¶

func (*SignalsAPIEscalationPolicyEntityPaginated) GetPagination ¶

type SignalsAPIEscalationPolicyStepEntity ¶

type SignalsAPIEscalationPolicyStepEntity struct {
	ID             *string                  `json:"id,omitempty"`
	Position       *int                     `json:"position,omitempty"`
	ParentPosition *int                     `json:"parent_position,omitempty"`
	Targets        []SignalsAPITargetEntity `json:"targets,omitempty"`
	Timeout        *string                  `json:"timeout,omitempty"`
	// The distribution type for the step
	DistributionType        *SignalsAPIEscalationPolicyStepEntityDistributionType `json:"distribution_type,omitempty"`
	NextTargetForRoundRobin *NullableSignalsAPITargetEntity                       `json:"next_target_for_round_robin,omitempty"`
	// The notification priorities that this step is assigned to. Valid values are HIGH, MEDIUM, and LOW.
	Priorities []string `json:"priorities,omitempty"`
}

func (*SignalsAPIEscalationPolicyStepEntity) GetDistributionType ¶

func (*SignalsAPIEscalationPolicyStepEntity) GetID ¶

func (*SignalsAPIEscalationPolicyStepEntity) GetNextTargetForRoundRobin ¶

func (*SignalsAPIEscalationPolicyStepEntity) GetParentPosition ¶

func (s *SignalsAPIEscalationPolicyStepEntity) GetParentPosition() *int

func (*SignalsAPIEscalationPolicyStepEntity) GetPosition ¶

func (s *SignalsAPIEscalationPolicyStepEntity) GetPosition() *int

func (*SignalsAPIEscalationPolicyStepEntity) GetPriorities ¶

func (s *SignalsAPIEscalationPolicyStepEntity) GetPriorities() []string

func (*SignalsAPIEscalationPolicyStepEntity) GetTargets ¶

func (*SignalsAPIEscalationPolicyStepEntity) GetTimeout ¶

type SignalsAPIEscalationPolicyStepEntityDistributionType ¶

type SignalsAPIEscalationPolicyStepEntityDistributionType string

SignalsAPIEscalationPolicyStepEntityDistributionType - The distribution type for the step

const (
	SignalsAPIEscalationPolicyStepEntityDistributionTypeUnspecified                  SignalsAPIEscalationPolicyStepEntityDistributionType = "unspecified"
	SignalsAPIEscalationPolicyStepEntityDistributionTypeRoundRobinByAlert            SignalsAPIEscalationPolicyStepEntityDistributionType = "round_robin_by_alert"
	SignalsAPIEscalationPolicyStepEntityDistributionTypeRoundRobinByEscalationPolicy SignalsAPIEscalationPolicyStepEntityDistributionType = "round_robin_by_escalation_policy"
)

func (SignalsAPIEscalationPolicyStepEntityDistributionType) ToPointer ¶

func (*SignalsAPIEscalationPolicyStepEntityDistributionType) UnmarshalJSON ¶

type SignalsAPIGroupingEntity ¶

type SignalsAPIGroupingEntity struct {
	ID                       *string                                         `json:"id,omitempty"`
	Strategy                 *NullableSignalsAPIGroupingEntityStrategyEntity `json:"strategy,omitempty"`
	Action                   *NullableSignalsAPIGroupingEntityActionEntity   `json:"action,omitempty"`
	ReferenceAlertTimePeriod *string                                         `json:"reference_alert_time_period,omitempty"`
}

SignalsAPIGroupingEntity - Signals_API_GroupingEntity model

func (*SignalsAPIGroupingEntity) GetAction ¶

func (*SignalsAPIGroupingEntity) GetID ¶

func (s *SignalsAPIGroupingEntity) GetID() *string

func (*SignalsAPIGroupingEntity) GetReferenceAlertTimePeriod ¶

func (s *SignalsAPIGroupingEntity) GetReferenceAlertTimePeriod() *string

func (*SignalsAPIGroupingEntity) GetStrategy ¶

type SignalsAPIGroupingEntityPaginated ¶

type SignalsAPIGroupingEntityPaginated struct {
	Data       []SignalsAPIGroupingEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity  `json:"pagination,omitempty"`
}

SignalsAPIGroupingEntityPaginated - Signals_API_GroupingEntityPaginated model

func (*SignalsAPIGroupingEntityPaginated) GetData ¶

func (*SignalsAPIGroupingEntityPaginated) GetPagination ¶

type SignalsAPIHackerModeEntity ¶

type SignalsAPIHackerModeEntity struct {
	Enabled *bool   `json:"enabled,omitempty"`
	URLKey  *string `json:"url_key,omitempty"`
	URL     *string `json:"url,omitempty"`
}

SignalsAPIHackerModeEntity - Signals_API_HackerModeEntity model

func (*SignalsAPIHackerModeEntity) GetEnabled ¶

func (s *SignalsAPIHackerModeEntity) GetEnabled() *bool

func (*SignalsAPIHackerModeEntity) GetURL ¶

func (s *SignalsAPIHackerModeEntity) GetURL() *string

func (*SignalsAPIHackerModeEntity) GetURLKey ¶

func (s *SignalsAPIHackerModeEntity) GetURLKey() *string

type SignalsAPIIngestKeyEntity ¶

type SignalsAPIIngestKeyEntity struct {
	URL *string `json:"url,omitempty"`
}

SignalsAPIIngestKeyEntity - Signals_API_IngestKeyEntity model

func (*SignalsAPIIngestKeyEntity) GetURL ¶

func (s *SignalsAPIIngestKeyEntity) GetURL() *string

type SignalsAPINotificationPolicyItemComplianceEntity ¶

type SignalsAPINotificationPolicyItemComplianceEntity struct {
	NotificationPolicyItemID *string `json:"notification_policy_item_id,omitempty"`
	IsCompliant              *bool   `json:"is_compliant,omitempty"`
}

func (*SignalsAPINotificationPolicyItemComplianceEntity) GetIsCompliant ¶

func (*SignalsAPINotificationPolicyItemComplianceEntity) GetNotificationPolicyItemID ¶

func (s *SignalsAPINotificationPolicyItemComplianceEntity) GetNotificationPolicyItemID() *string

type SignalsAPINotificationPolicyItemEntity ¶

type SignalsAPINotificationPolicyItemEntity struct {
	ID                      *string                  `json:"id,omitempty"`
	NotificationGroupMethod *NotificationGroupMethod `json:"notification_group_method,omitempty"`
	// The maximum delay for notifications
	MaxDelay  *string    `json:"max_delay,omitempty"`
	Priority  *Priority  `json:"priority,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SignalsAPINotificationPolicyItemEntity - Signals_API_NotificationPolicyItemEntity model

func (*SignalsAPINotificationPolicyItemEntity) GetCreatedAt ¶

func (*SignalsAPINotificationPolicyItemEntity) GetID ¶

func (*SignalsAPINotificationPolicyItemEntity) GetMaxDelay ¶

func (*SignalsAPINotificationPolicyItemEntity) GetNotificationGroupMethod ¶

func (s *SignalsAPINotificationPolicyItemEntity) GetNotificationGroupMethod() *NotificationGroupMethod

func (*SignalsAPINotificationPolicyItemEntity) GetPriority ¶

func (*SignalsAPINotificationPolicyItemEntity) GetUpdatedAt ¶

func (SignalsAPINotificationPolicyItemEntity) MarshalJSON ¶

func (s SignalsAPINotificationPolicyItemEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPINotificationPolicyItemEntity) UnmarshalJSON ¶

func (s *SignalsAPINotificationPolicyItemEntity) UnmarshalJSON(data []byte) error

type SignalsAPINotificationPolicyItemEntityPaginated ¶

type SignalsAPINotificationPolicyItemEntityPaginated struct {
	Data       []SignalsAPINotificationPolicyItemEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity                `json:"pagination,omitempty"`
}

SignalsAPINotificationPolicyItemEntityPaginated - Signals_API_NotificationPolicyItemEntityPaginated model

func (*SignalsAPINotificationPolicyItemEntityPaginated) GetData ¶

func (*SignalsAPINotificationPolicyItemEntityPaginated) GetPagination ¶

type SignalsAPINotificationPriorityPolicyEntity ¶

type SignalsAPINotificationPriorityPolicyEntity struct {
	// The notification priority this policy handles (HIGH, MEDIUM, or LOW)
	NotificationPriority *string `json:"notification_priority,omitempty"`
	// Number of repetitions for this priority
	Repetitions *int                                                 `json:"repetitions,omitempty"`
	HandoffStep *NullableSignalsAPIEscalationPolicyHandoffStepEntity `json:"handoff_step,omitempty"`
	// Steps for this priority
	Steps []SignalsAPIEscalationPolicyStepEntity `json:"steps,omitempty"`
}

func (*SignalsAPINotificationPriorityPolicyEntity) GetHandoffStep ¶

func (*SignalsAPINotificationPriorityPolicyEntity) GetNotificationPriority ¶

func (s *SignalsAPINotificationPriorityPolicyEntity) GetNotificationPriority() *string

func (*SignalsAPINotificationPriorityPolicyEntity) GetRepetitions ¶

func (s *SignalsAPINotificationPriorityPolicyEntity) GetRepetitions() *int

func (*SignalsAPINotificationPriorityPolicyEntity) GetSteps ¶

type SignalsAPIOnCallRestrictionEntity ¶

type SignalsAPIOnCallRestrictionEntity struct {
	StartDay  *string `json:"start_day,omitempty"`
	StartTime *string `json:"start_time,omitempty"`
	EndDay    *string `json:"end_day,omitempty"`
	EndTime   *string `json:"end_time,omitempty"`
}

func (*SignalsAPIOnCallRestrictionEntity) GetEndDay ¶

func (s *SignalsAPIOnCallRestrictionEntity) GetEndDay() *string

func (*SignalsAPIOnCallRestrictionEntity) GetEndTime ¶

func (s *SignalsAPIOnCallRestrictionEntity) GetEndTime() *string

func (*SignalsAPIOnCallRestrictionEntity) GetStartDay ¶

func (s *SignalsAPIOnCallRestrictionEntity) GetStartDay() *string

func (*SignalsAPIOnCallRestrictionEntity) GetStartTime ¶

func (s *SignalsAPIOnCallRestrictionEntity) GetStartTime() *string

type SignalsAPIOnCallRotationEntity ¶

type SignalsAPIOnCallRotationEntity struct {
	ID                              *string                                 `json:"id,omitempty"`
	Name                            *string                                 `json:"name,omitempty"`
	Description                     *string                                 `json:"description,omitempty"`
	TimeZone                        *string                                 `json:"time_zone,omitempty"`
	Color                           *string                                 `json:"color,omitempty"`
	SlackUserGroupID                *string                                 `json:"slack_user_group_id,omitempty"`
	EnableSlackChannelNotifications *bool                                   `json:"enable_slack_channel_notifications,omitempty"`
	PreventShiftDeletion            *bool                                   `json:"prevent_shift_deletion,omitempty"`
	CoverageGapNotificationInterval *string                                 `json:"coverage_gap_notification_interval,omitempty"`
	Members                         []SuccinctEntity                        `json:"members,omitempty"`
	Shifts                          []SignalsAPIOnCallShiftEntity           `json:"shifts,omitempty"`
	Team                            *NullableSuccinctEntity                 `json:"team,omitempty"`
	Strategy                        *NullableSignalsAPIOnCallStrategyEntity `json:"strategy,omitempty"`
	Restrictions                    []SignalsAPIOnCallRestrictionEntity     `json:"restrictions,omitempty"`
	CreatedBy                       *NullableAuthorEntity                   `json:"created_by,omitempty"`
	CreatedAt                       *time.Time                              `json:"created_at,omitempty"`
	UpdatedAt                       *time.Time                              `json:"updated_at,omitempty"`
}

SignalsAPIOnCallRotationEntity - Signals_API_OnCallRotationEntity model

func (*SignalsAPIOnCallRotationEntity) GetColor ¶

func (s *SignalsAPIOnCallRotationEntity) GetColor() *string

func (*SignalsAPIOnCallRotationEntity) GetCoverageGapNotificationInterval ¶

func (s *SignalsAPIOnCallRotationEntity) GetCoverageGapNotificationInterval() *string

func (*SignalsAPIOnCallRotationEntity) GetCreatedAt ¶

func (s *SignalsAPIOnCallRotationEntity) GetCreatedAt() *time.Time

func (*SignalsAPIOnCallRotationEntity) GetCreatedBy ¶

func (*SignalsAPIOnCallRotationEntity) GetDescription ¶

func (s *SignalsAPIOnCallRotationEntity) GetDescription() *string

func (*SignalsAPIOnCallRotationEntity) GetEnableSlackChannelNotifications ¶

func (s *SignalsAPIOnCallRotationEntity) GetEnableSlackChannelNotifications() *bool

func (*SignalsAPIOnCallRotationEntity) GetID ¶

func (*SignalsAPIOnCallRotationEntity) GetMembers ¶

func (*SignalsAPIOnCallRotationEntity) GetName ¶

func (s *SignalsAPIOnCallRotationEntity) GetName() *string

func (*SignalsAPIOnCallRotationEntity) GetPreventShiftDeletion ¶

func (s *SignalsAPIOnCallRotationEntity) GetPreventShiftDeletion() *bool

func (*SignalsAPIOnCallRotationEntity) GetRestrictions ¶

func (*SignalsAPIOnCallRotationEntity) GetShifts ¶

func (*SignalsAPIOnCallRotationEntity) GetSlackUserGroupID ¶

func (s *SignalsAPIOnCallRotationEntity) GetSlackUserGroupID() *string

func (*SignalsAPIOnCallRotationEntity) GetStrategy ¶

func (*SignalsAPIOnCallRotationEntity) GetTeam ¶

func (*SignalsAPIOnCallRotationEntity) GetTimeZone ¶

func (s *SignalsAPIOnCallRotationEntity) GetTimeZone() *string

func (*SignalsAPIOnCallRotationEntity) GetUpdatedAt ¶

func (s *SignalsAPIOnCallRotationEntity) GetUpdatedAt() *time.Time

func (SignalsAPIOnCallRotationEntity) MarshalJSON ¶

func (s SignalsAPIOnCallRotationEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPIOnCallRotationEntity) UnmarshalJSON ¶

func (s *SignalsAPIOnCallRotationEntity) UnmarshalJSON(data []byte) error

type SignalsAPIOnCallScheduleEntity ¶

type SignalsAPIOnCallScheduleEntity struct {
	ID               *string                                 `json:"id,omitempty"`
	Name             *string                                 `json:"name,omitempty"`
	Description      *string                                 `json:"description,omitempty"`
	Rotations        []SignalsAPIOnCallRotationEntity        `json:"rotations,omitempty"`
	Team             *NullableSuccinctEntity                 `json:"team,omitempty"`
	CreatedBy        *NullableAuthorEntity                   `json:"created_by,omitempty"`
	CreatedAt        *time.Time                              `json:"created_at,omitempty"`
	UpdatedAt        *time.Time                              `json:"updated_at,omitempty"`
	SignalsIcalURL   *string                                 `json:"signals_ical_url,omitempty"`
	TimeZone         *string                                 `json:"time_zone,omitempty"`
	Color            *string                                 `json:"color,omitempty"`
	SlackUserGroupID *string                                 `json:"slack_user_group_id,omitempty"`
	Members          []SuccinctEntity                        `json:"members,omitempty"`
	Shifts           []SignalsAPIOnCallShiftEntity           `json:"shifts,omitempty"`
	Strategy         *NullableSignalsAPIOnCallStrategyEntity `json:"strategy,omitempty"`
	Restrictions     []SignalsAPIOnCallRestrictionEntity     `json:"restrictions,omitempty"`
}

SignalsAPIOnCallScheduleEntity - Signals_API_OnCallScheduleEntity model

func (*SignalsAPIOnCallScheduleEntity) GetColor ¶

func (s *SignalsAPIOnCallScheduleEntity) GetColor() *string

func (*SignalsAPIOnCallScheduleEntity) GetCreatedAt ¶

func (s *SignalsAPIOnCallScheduleEntity) GetCreatedAt() *time.Time

func (*SignalsAPIOnCallScheduleEntity) GetCreatedBy ¶

func (*SignalsAPIOnCallScheduleEntity) GetDescription ¶

func (s *SignalsAPIOnCallScheduleEntity) GetDescription() *string

func (*SignalsAPIOnCallScheduleEntity) GetID ¶

func (*SignalsAPIOnCallScheduleEntity) GetMembers ¶

func (*SignalsAPIOnCallScheduleEntity) GetName ¶

func (s *SignalsAPIOnCallScheduleEntity) GetName() *string

func (*SignalsAPIOnCallScheduleEntity) GetRestrictions ¶

func (*SignalsAPIOnCallScheduleEntity) GetRotations ¶

func (*SignalsAPIOnCallScheduleEntity) GetShifts ¶

func (*SignalsAPIOnCallScheduleEntity) GetSignalsIcalURL ¶

func (s *SignalsAPIOnCallScheduleEntity) GetSignalsIcalURL() *string

func (*SignalsAPIOnCallScheduleEntity) GetSlackUserGroupID ¶

func (s *SignalsAPIOnCallScheduleEntity) GetSlackUserGroupID() *string

func (*SignalsAPIOnCallScheduleEntity) GetStrategy ¶

func (*SignalsAPIOnCallScheduleEntity) GetTeam ¶

func (*SignalsAPIOnCallScheduleEntity) GetTimeZone ¶

func (s *SignalsAPIOnCallScheduleEntity) GetTimeZone() *string

func (*SignalsAPIOnCallScheduleEntity) GetUpdatedAt ¶

func (s *SignalsAPIOnCallScheduleEntity) GetUpdatedAt() *time.Time

func (SignalsAPIOnCallScheduleEntity) MarshalJSON ¶

func (s SignalsAPIOnCallScheduleEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPIOnCallScheduleEntity) UnmarshalJSON ¶

func (s *SignalsAPIOnCallScheduleEntity) UnmarshalJSON(data []byte) error

type SignalsAPIOnCallScheduleEntityPaginated ¶

type SignalsAPIOnCallScheduleEntityPaginated struct {
	Data       []SignalsAPIOnCallScheduleEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity        `json:"pagination,omitempty"`
}

SignalsAPIOnCallScheduleEntityPaginated - Signals_API_OnCallScheduleEntityPaginated model

func (*SignalsAPIOnCallScheduleEntityPaginated) GetData ¶

func (*SignalsAPIOnCallScheduleEntityPaginated) GetPagination ¶

type SignalsAPIOnCallSchedulePreviewEntity ¶

type SignalsAPIOnCallSchedulePreviewEntity struct {
	Name      *string                                                      `json:"name,omitempty"`
	Rotations []SignalsAPIOnCallSchedulePreviewEntityRotationPreviewEntity `json:"rotations,omitempty"`
}

SignalsAPIOnCallSchedulePreviewEntity - Signals_API_OnCallSchedulePreviewEntity model

func (*SignalsAPIOnCallSchedulePreviewEntity) GetName ¶

func (*SignalsAPIOnCallSchedulePreviewEntity) GetRotations ¶

type SignalsAPIOnCallSchedulePreviewEntityRotationPreviewEntity ¶

type SignalsAPIOnCallSchedulePreviewEntityRotationPreviewEntity struct {
	Name   *string                                                   `json:"name,omitempty"`
	Color  *string                                                   `json:"color,omitempty"`
	Shifts []SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity `json:"shifts,omitempty"`
}

SignalsAPIOnCallSchedulePreviewEntityRotationPreviewEntity - Signals_API_OnCallSchedulePreviewEntity_RotationPreviewEntity model

func (*SignalsAPIOnCallSchedulePreviewEntityRotationPreviewEntity) GetColor ¶

func (*SignalsAPIOnCallSchedulePreviewEntityRotationPreviewEntity) GetName ¶

func (*SignalsAPIOnCallSchedulePreviewEntityRotationPreviewEntity) GetShifts ¶

type SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity ¶

type SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity struct {
	StartTime *time.Time              `json:"start_time,omitempty"`
	EndTime   *time.Time              `json:"end_time,omitempty"`
	User      *NullableSuccinctEntity `json:"user,omitempty"`
}

func (*SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity) GetEndTime ¶

func (*SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity) GetStartTime ¶

func (*SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity) GetUser ¶

func (SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity) MarshalJSON ¶

func (*SignalsAPIOnCallSchedulePreviewEntityShiftPreviewEntity) UnmarshalJSON ¶

type SignalsAPIOnCallShiftEntity ¶

type SignalsAPIOnCallShiftEntity struct {
	ID              *string                 `json:"id,omitempty"`
	User            *NullableSuccinctEntity `json:"user,omitempty"`
	CoverageRequest *string                 `json:"coverage_request,omitempty"`
	Color           *string                 `json:"color,omitempty"`
	TimeZone        *string                 `json:"time_zone,omitempty"`
	OnCallSchedule  *NullableSuccinctEntity `json:"on_call_schedule,omitempty"`
	OnCallRotation  *NullableSuccinctEntity `json:"on_call_rotation,omitempty"`
	Team            *NullableSuccinctEntity `json:"team,omitempty"`
	StartTime       *time.Time              `json:"start_time,omitempty"`
	EndTime         *time.Time              `json:"end_time,omitempty"`
}

SignalsAPIOnCallShiftEntity - Signals_API_OnCallShiftEntity model

func (*SignalsAPIOnCallShiftEntity) GetColor ¶

func (s *SignalsAPIOnCallShiftEntity) GetColor() *string

func (*SignalsAPIOnCallShiftEntity) GetCoverageRequest ¶

func (s *SignalsAPIOnCallShiftEntity) GetCoverageRequest() *string

func (*SignalsAPIOnCallShiftEntity) GetEndTime ¶

func (s *SignalsAPIOnCallShiftEntity) GetEndTime() *time.Time

func (*SignalsAPIOnCallShiftEntity) GetID ¶

func (s *SignalsAPIOnCallShiftEntity) GetID() *string

func (*SignalsAPIOnCallShiftEntity) GetOnCallRotation ¶

func (s *SignalsAPIOnCallShiftEntity) GetOnCallRotation() *NullableSuccinctEntity

func (*SignalsAPIOnCallShiftEntity) GetOnCallSchedule ¶

func (s *SignalsAPIOnCallShiftEntity) GetOnCallSchedule() *NullableSuccinctEntity

func (*SignalsAPIOnCallShiftEntity) GetStartTime ¶

func (s *SignalsAPIOnCallShiftEntity) GetStartTime() *time.Time

func (*SignalsAPIOnCallShiftEntity) GetTeam ¶

func (*SignalsAPIOnCallShiftEntity) GetTimeZone ¶

func (s *SignalsAPIOnCallShiftEntity) GetTimeZone() *string

func (*SignalsAPIOnCallShiftEntity) GetUser ¶

func (SignalsAPIOnCallShiftEntity) MarshalJSON ¶

func (s SignalsAPIOnCallShiftEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPIOnCallShiftEntity) UnmarshalJSON ¶

func (s *SignalsAPIOnCallShiftEntity) UnmarshalJSON(data []byte) error

type SignalsAPIOrganizationOnCallRotationEntity ¶

type SignalsAPIOrganizationOnCallRotationEntity struct {
	ID           *string                              `json:"id,omitempty"`
	Name         *string                              `json:"name,omitempty"`
	Description  *string                              `json:"description,omitempty"`
	TimeZone     *string                              `json:"time_zone,omitempty"`
	CurrentShift *NullableSignalsAPIOnCallShiftEntity `json:"current_shift,omitempty"`
	NextShift    *NullableSignalsAPIOnCallShiftEntity `json:"next_shift,omitempty"`
	CreatedBy    *NullableAuthorEntity                `json:"created_by,omitempty"`
	CreatedAt    *time.Time                           `json:"created_at,omitempty"`
	UpdatedAt    *time.Time                           `json:"updated_at,omitempty"`
}

func (*SignalsAPIOrganizationOnCallRotationEntity) GetCreatedAt ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetCreatedBy ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetCurrentShift ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetDescription ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetID ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetName ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetNextShift ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetTimeZone ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) GetUpdatedAt ¶

func (SignalsAPIOrganizationOnCallRotationEntity) MarshalJSON ¶

func (*SignalsAPIOrganizationOnCallRotationEntity) UnmarshalJSON ¶

func (s *SignalsAPIOrganizationOnCallRotationEntity) UnmarshalJSON(data []byte) error

type SignalsAPIOrganizationOnCallScheduleEntity ¶

type SignalsAPIOrganizationOnCallScheduleEntity struct {
	ID           *string                                      `json:"id,omitempty"`
	Name         *string                                      `json:"name,omitempty"`
	Description  *string                                      `json:"description,omitempty"`
	Rotations    []SignalsAPIOrganizationOnCallRotationEntity `json:"rotations,omitempty"`
	Team         *NullableSuccinctEntity                      `json:"team,omitempty"`
	CreatedBy    *NullableAuthorEntity                        `json:"created_by,omitempty"`
	CreatedAt    *time.Time                                   `json:"created_at,omitempty"`
	UpdatedAt    *time.Time                                   `json:"updated_at,omitempty"`
	TimeZone     *string                                      `json:"time_zone,omitempty"`
	CurrentShift *NullableSignalsAPIOnCallShiftEntity         `json:"current_shift,omitempty"`
	NextShift    *NullableSignalsAPIOnCallShiftEntity         `json:"next_shift,omitempty"`
}

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetCreatedAt ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetCreatedBy ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetCurrentShift ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetDescription ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetID ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetName ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetNextShift ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetRotations ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetTeam ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetTimeZone ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) GetUpdatedAt ¶

func (SignalsAPIOrganizationOnCallScheduleEntity) MarshalJSON ¶

func (*SignalsAPIOrganizationOnCallScheduleEntity) UnmarshalJSON ¶

func (s *SignalsAPIOrganizationOnCallScheduleEntity) UnmarshalJSON(data []byte) error

type SignalsAPIOrganizationOnCallScheduleEntityPaginated ¶

type SignalsAPIOrganizationOnCallScheduleEntityPaginated struct {
	Data       []SignalsAPIOrganizationOnCallScheduleEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity                    `json:"pagination,omitempty"`
}

SignalsAPIOrganizationOnCallScheduleEntityPaginated - Signals_API_OrganizationOnCallScheduleEntityPaginated model

func (*SignalsAPIOrganizationOnCallScheduleEntityPaginated) GetData ¶

func (*SignalsAPIOrganizationOnCallScheduleEntityPaginated) GetPagination ¶

type SignalsAPIRuleEntity ¶

type SignalsAPIRuleEntity struct {
	ID                           *string                                           `json:"id,omitempty"`
	Name                         *string                                           `json:"name,omitempty"`
	Expression                   *string                                           `json:"expression,omitempty"`
	TeamID                       *string                                           `json:"team_id,omitempty"`
	Target                       *NullableSignalsAPITargetEntity                   `json:"target,omitempty"`
	CreatedBy                    *NullableAuthorEntity                             `json:"created_by,omitempty"`
	CreatedAt                    *time.Time                                        `json:"created_at,omitempty"`
	UpdatedAt                    *time.Time                                        `json:"updated_at,omitempty"`
	IncidentType                 *NullableSuccinctEntity                           `json:"incident_type,omitempty"`
	NotificationPriorityOverride *SignalsAPIRuleEntityNotificationPriorityOverride `json:"notification_priority_override,omitempty"`
	CreateIncidentConditionWhen  *SignalsAPIRuleEntityCreateIncidentConditionWhen  `json:"create_incident_condition_when,omitempty"`
	// Duration for deduplicating similar alerts (ISO8601 duration format e.g., 'PT30M', 'PT2H', 'P1D')
	DeduplicationExpiry *string `json:"deduplication_expiry,omitempty"`
}

SignalsAPIRuleEntity - Signals_API_RuleEntity model

func (*SignalsAPIRuleEntity) GetCreateIncidentConditionWhen ¶

func (s *SignalsAPIRuleEntity) GetCreateIncidentConditionWhen() *SignalsAPIRuleEntityCreateIncidentConditionWhen

func (*SignalsAPIRuleEntity) GetCreatedAt ¶

func (s *SignalsAPIRuleEntity) GetCreatedAt() *time.Time

func (*SignalsAPIRuleEntity) GetCreatedBy ¶

func (s *SignalsAPIRuleEntity) GetCreatedBy() *NullableAuthorEntity

func (*SignalsAPIRuleEntity) GetDeduplicationExpiry ¶

func (s *SignalsAPIRuleEntity) GetDeduplicationExpiry() *string

func (*SignalsAPIRuleEntity) GetExpression ¶

func (s *SignalsAPIRuleEntity) GetExpression() *string

func (*SignalsAPIRuleEntity) GetID ¶

func (s *SignalsAPIRuleEntity) GetID() *string

func (*SignalsAPIRuleEntity) GetIncidentType ¶

func (s *SignalsAPIRuleEntity) GetIncidentType() *NullableSuccinctEntity

func (*SignalsAPIRuleEntity) GetName ¶

func (s *SignalsAPIRuleEntity) GetName() *string

func (*SignalsAPIRuleEntity) GetNotificationPriorityOverride ¶

func (s *SignalsAPIRuleEntity) GetNotificationPriorityOverride() *SignalsAPIRuleEntityNotificationPriorityOverride

func (*SignalsAPIRuleEntity) GetTarget ¶

func (*SignalsAPIRuleEntity) GetTeamID ¶

func (s *SignalsAPIRuleEntity) GetTeamID() *string

func (*SignalsAPIRuleEntity) GetUpdatedAt ¶

func (s *SignalsAPIRuleEntity) GetUpdatedAt() *time.Time

func (SignalsAPIRuleEntity) MarshalJSON ¶

func (s SignalsAPIRuleEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPIRuleEntity) UnmarshalJSON ¶

func (s *SignalsAPIRuleEntity) UnmarshalJSON(data []byte) error

type SignalsAPIRuleEntityCreateIncidentConditionWhen ¶

type SignalsAPIRuleEntityCreateIncidentConditionWhen string
const (
	SignalsAPIRuleEntityCreateIncidentConditionWhenWhenUnspecified SignalsAPIRuleEntityCreateIncidentConditionWhen = "WHEN_UNSPECIFIED"
	SignalsAPIRuleEntityCreateIncidentConditionWhenWhenAlways      SignalsAPIRuleEntityCreateIncidentConditionWhen = "WHEN_ALWAYS"
)

func (SignalsAPIRuleEntityCreateIncidentConditionWhen) ToPointer ¶

func (*SignalsAPIRuleEntityCreateIncidentConditionWhen) UnmarshalJSON ¶

type SignalsAPIRuleEntityNotificationPriorityOverride ¶

type SignalsAPIRuleEntityNotificationPriorityOverride string
const (
	SignalsAPIRuleEntityNotificationPriorityOverrideHigh   SignalsAPIRuleEntityNotificationPriorityOverride = "HIGH"
	SignalsAPIRuleEntityNotificationPriorityOverrideMedium SignalsAPIRuleEntityNotificationPriorityOverride = "MEDIUM"
	SignalsAPIRuleEntityNotificationPriorityOverrideLow    SignalsAPIRuleEntityNotificationPriorityOverride = "LOW"
)

func (SignalsAPIRuleEntityNotificationPriorityOverride) ToPointer ¶

func (*SignalsAPIRuleEntityNotificationPriorityOverride) UnmarshalJSON ¶

type SignalsAPIRuleEntityPaginated ¶

type SignalsAPIRuleEntityPaginated struct {
	Data       []SignalsAPIRuleEntity    `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

SignalsAPIRuleEntityPaginated - Signals_API_RuleEntityPaginated model

func (*SignalsAPIRuleEntityPaginated) GetData ¶

func (*SignalsAPIRuleEntityPaginated) GetPagination ¶

type SignalsAPITargetEntity ¶

type SignalsAPITargetEntity struct {
	ID         *string `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	Type       *string `json:"type,omitempty"`
	TeamID     *string `json:"team_id,omitempty"`
	IsPageable *bool   `json:"is_pageable,omitempty"`
}

func (*SignalsAPITargetEntity) GetID ¶

func (s *SignalsAPITargetEntity) GetID() *string

func (*SignalsAPITargetEntity) GetIsPageable ¶

func (s *SignalsAPITargetEntity) GetIsPageable() *bool

func (*SignalsAPITargetEntity) GetName ¶

func (s *SignalsAPITargetEntity) GetName() *string

func (*SignalsAPITargetEntity) GetTeamID ¶

func (s *SignalsAPITargetEntity) GetTeamID() *string

func (*SignalsAPITargetEntity) GetType ¶

func (s *SignalsAPITargetEntity) GetType() *string

type SignalsAPITransposerEntity ¶

type SignalsAPITransposerEntity struct {
	Name           *string                                   `json:"name,omitempty"`
	Slug           *string                                   `json:"slug,omitempty"`
	ExamplePayload *SignalsAPITransposerEntityExamplePayload `json:"example_payload,omitempty"`
	Expression     *string                                   `json:"expression,omitempty"`
	Expected       *string                                   `json:"expected,omitempty"`
	Website        *string                                   `json:"website,omitempty"`
	Description    *string                                   `json:"description,omitempty"`
	Tags           []string                                  `json:"tags,omitempty"`
	IngestURL      *string                                   `json:"ingest_url,omitempty"`
	Editable       *bool                                     `json:"editable,omitempty"`
	CreatedBy      *NullableAuthorEntity                     `json:"created_by,omitempty"`
	UpdatedBy      *NullableAuthorEntity                     `json:"updated_by,omitempty"`
}

SignalsAPITransposerEntity - Signals_API_TransposerEntity model

func (*SignalsAPITransposerEntity) GetCreatedBy ¶

func (*SignalsAPITransposerEntity) GetDescription ¶

func (s *SignalsAPITransposerEntity) GetDescription() *string

func (*SignalsAPITransposerEntity) GetEditable ¶

func (s *SignalsAPITransposerEntity) GetEditable() *bool

func (*SignalsAPITransposerEntity) GetExamplePayload ¶

func (*SignalsAPITransposerEntity) GetExpected ¶

func (s *SignalsAPITransposerEntity) GetExpected() *string

func (*SignalsAPITransposerEntity) GetExpression ¶

func (s *SignalsAPITransposerEntity) GetExpression() *string

func (*SignalsAPITransposerEntity) GetIngestURL ¶

func (s *SignalsAPITransposerEntity) GetIngestURL() *string

func (*SignalsAPITransposerEntity) GetName ¶

func (s *SignalsAPITransposerEntity) GetName() *string

func (*SignalsAPITransposerEntity) GetSlug ¶

func (s *SignalsAPITransposerEntity) GetSlug() *string

func (*SignalsAPITransposerEntity) GetTags ¶

func (s *SignalsAPITransposerEntity) GetTags() []string

func (*SignalsAPITransposerEntity) GetUpdatedBy ¶

func (*SignalsAPITransposerEntity) GetWebsite ¶

func (s *SignalsAPITransposerEntity) GetWebsite() *string

type SignalsAPITransposerEntityExamplePayload ¶

type SignalsAPITransposerEntityExamplePayload struct {
}

type SignalsAPITransposerListEntity ¶

type SignalsAPITransposerListEntity struct {
	Data *NullableSignalsAPITransposerEntity `json:"data,omitempty"`
}

SignalsAPITransposerListEntity - Signals_API_TransposerListEntity model

func (*SignalsAPITransposerListEntity) GetData ¶

type SignalsAPIWebhookTargetEntity ¶

type SignalsAPIWebhookTargetEntity struct {
	ID          *string               `json:"id,omitempty"`
	Name        *string               `json:"name,omitempty"`
	Description *string               `json:"description,omitempty"`
	URL         *string               `json:"url,omitempty"`
	CreatedBy   *NullableAuthorEntity `json:"created_by,omitempty"`
	CreatedAt   *time.Time            `json:"created_at,omitempty"`
	UpdatedAt   *time.Time            `json:"updated_at,omitempty"`
}

SignalsAPIWebhookTargetEntity - Signals_API_WebhookTargetEntity model

func (*SignalsAPIWebhookTargetEntity) GetCreatedAt ¶

func (s *SignalsAPIWebhookTargetEntity) GetCreatedAt() *time.Time

func (*SignalsAPIWebhookTargetEntity) GetCreatedBy ¶

func (*SignalsAPIWebhookTargetEntity) GetDescription ¶

func (s *SignalsAPIWebhookTargetEntity) GetDescription() *string

func (*SignalsAPIWebhookTargetEntity) GetID ¶

func (*SignalsAPIWebhookTargetEntity) GetName ¶

func (s *SignalsAPIWebhookTargetEntity) GetName() *string

func (*SignalsAPIWebhookTargetEntity) GetURL ¶

func (*SignalsAPIWebhookTargetEntity) GetUpdatedAt ¶

func (s *SignalsAPIWebhookTargetEntity) GetUpdatedAt() *time.Time

func (SignalsAPIWebhookTargetEntity) MarshalJSON ¶

func (s SignalsAPIWebhookTargetEntity) MarshalJSON() ([]byte, error)

func (*SignalsAPIWebhookTargetEntity) UnmarshalJSON ¶

func (s *SignalsAPIWebhookTargetEntity) UnmarshalJSON(data []byte) error

type SignalsAPIWebhookTargetEntityPaginated ¶

type SignalsAPIWebhookTargetEntityPaginated struct {
	Data       []SignalsAPIWebhookTargetEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity       `json:"pagination,omitempty"`
}

SignalsAPIWebhookTargetEntityPaginated - Signals_API_WebhookTargetEntityPaginated model

func (*SignalsAPIWebhookTargetEntityPaginated) GetData ¶

func (*SignalsAPIWebhookTargetEntityPaginated) GetPagination ¶

type SimilarIncidentEntityPaginated ¶

type SimilarIncidentEntityPaginated struct {
	Data       []PublicAPIV1SimilarIncidentEntity `json:"data,omitempty"`
	Pagination *NullablePaginationEntity          `json:"pagination,omitempty"`
}

SimilarIncidentEntityPaginated model

func (*SimilarIncidentEntityPaginated) GetData ¶

func (*SimilarIncidentEntityPaginated) GetPagination ¶

type SlimRunbookEntity ¶

type SlimRunbookEntity struct {
	ID             *string                  `json:"id,omitempty"`
	Name           *string                  `json:"name,omitempty"`
	Summary        *string                  `json:"summary,omitempty"`
	Description    *string                  `json:"description,omitempty"`
	Type           *string                  `json:"type,omitempty"`
	CreatedAt      *time.Time               `json:"created_at,omitempty"`
	UpdatedAt      *time.Time               `json:"updated_at,omitempty"`
	AttachmentRule *NullableRulesRuleEntity `json:"attachment_rule,omitempty"`
	Owner          *NullableTeamEntityLite  `json:"owner,omitempty"`
	// categories the runbook applies to
	Categories []string `json:"categories,omitempty"`
	// The timestamp when this runbook was last executed
	LastExecutedAt          *time.Time                                  `json:"last_executed_at,omitempty"`
	LastExecutedForIncident *NullablePublicAPIV1IncidentsSuccinctEntity `json:"last_executed_for_incident,omitempty"`
}

func (*SlimRunbookEntity) GetAttachmentRule ¶

func (s *SlimRunbookEntity) GetAttachmentRule() *NullableRulesRuleEntity

func (*SlimRunbookEntity) GetCategories ¶

func (s *SlimRunbookEntity) GetCategories() []string

func (*SlimRunbookEntity) GetCreatedAt ¶

func (s *SlimRunbookEntity) GetCreatedAt() *time.Time

func (*SlimRunbookEntity) GetDescription ¶

func (s *SlimRunbookEntity) GetDescription() *string

func (*SlimRunbookEntity) GetID ¶

func (s *SlimRunbookEntity) GetID() *string

func (*SlimRunbookEntity) GetLastExecutedAt ¶

func (s *SlimRunbookEntity) GetLastExecutedAt() *time.Time

func (*SlimRunbookEntity) GetLastExecutedForIncident ¶

func (s *SlimRunbookEntity) GetLastExecutedForIncident() *NullablePublicAPIV1IncidentsSuccinctEntity

func (*SlimRunbookEntity) GetName ¶

func (s *SlimRunbookEntity) GetName() *string

func (*SlimRunbookEntity) GetOwner ¶

func (*SlimRunbookEntity) GetSummary ¶

func (s *SlimRunbookEntity) GetSummary() *string

func (*SlimRunbookEntity) GetType ¶

func (s *SlimRunbookEntity) GetType() *string

func (*SlimRunbookEntity) GetUpdatedAt ¶

func (s *SlimRunbookEntity) GetUpdatedAt() *time.Time

func (SlimRunbookEntity) MarshalJSON ¶

func (s SlimRunbookEntity) MarshalJSON() ([]byte, error)

func (*SlimRunbookEntity) UnmarshalJSON ¶

func (s *SlimRunbookEntity) UnmarshalJSON(data []byte) error

type StatusUpdateTemplateEntity ¶

type StatusUpdateTemplateEntity struct {
	ID          *string    `json:"id,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Body        *string    `json:"body,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	DiscardedAt *time.Time `json:"discarded_at,omitempty"`
}

StatusUpdateTemplateEntity model

func (*StatusUpdateTemplateEntity) GetBody ¶

func (s *StatusUpdateTemplateEntity) GetBody() *string

func (*StatusUpdateTemplateEntity) GetCreatedAt ¶

func (s *StatusUpdateTemplateEntity) GetCreatedAt() *time.Time

func (*StatusUpdateTemplateEntity) GetDiscardedAt ¶

func (s *StatusUpdateTemplateEntity) GetDiscardedAt() *time.Time

func (*StatusUpdateTemplateEntity) GetID ¶

func (s *StatusUpdateTemplateEntity) GetID() *string

func (*StatusUpdateTemplateEntity) GetName ¶

func (s *StatusUpdateTemplateEntity) GetName() *string

func (*StatusUpdateTemplateEntity) GetUpdatedAt ¶

func (s *StatusUpdateTemplateEntity) GetUpdatedAt() *time.Time

func (StatusUpdateTemplateEntity) MarshalJSON ¶

func (s StatusUpdateTemplateEntity) MarshalJSON() ([]byte, error)

func (*StatusUpdateTemplateEntity) UnmarshalJSON ¶

func (s *StatusUpdateTemplateEntity) UnmarshalJSON(data []byte) error

type StatuspageioCondition ¶

type StatuspageioCondition string
const (
	StatuspageioConditionOperational         StatuspageioCondition = "operational"
	StatuspageioConditionMajorOutage         StatuspageioCondition = "major_outage"
	StatuspageioConditionMinorOutage         StatuspageioCondition = "minor_outage"
	StatuspageioConditionDegradedPerformance StatuspageioCondition = "degraded_performance"
)

func (StatuspageioCondition) ToPointer ¶

func (*StatuspageioCondition) UnmarshalJSON ¶

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

type StrategyEnum ¶

type StrategyEnum string
const (
	StrategyEnumBasic StrategyEnum = "basic"
	StrategyEnumLogic StrategyEnum = "logic"
)

func (StrategyEnum) ToPointer ¶

func (e StrategyEnum) ToPointer() *StrategyEnum

func (*StrategyEnum) UnmarshalJSON ¶

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

type SuccinctEntity ¶

type SuccinctEntity struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

func (*SuccinctEntity) GetID ¶

func (s *SuccinctEntity) GetID() *string

func (*SuccinctEntity) GetName ¶

func (s *SuccinctEntity) GetName() *string

type TagEntity ¶

type TagEntity struct {
	Name *string `json:"name,omitempty"`
}

TagEntity model

func (*TagEntity) GetName ¶

func (t *TagEntity) GetName() *string

type TagEntityPaginated ¶

type TagEntityPaginated struct {
	Data       []TagEntity               `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

TagEntityPaginated model

func (*TagEntityPaginated) GetData ¶

func (t *TagEntityPaginated) GetData() []TagEntity

func (*TagEntityPaginated) GetPagination ¶

func (t *TagEntityPaginated) GetPagination() *NullablePaginationEntity

type TaskEntity ¶

type TaskEntity struct {
	ID          *string               `json:"id,omitempty"`
	Title       *string               `json:"title,omitempty"`
	Description *string               `json:"description,omitempty"`
	State       *string               `json:"state,omitempty"`
	Assignee    *NullableAuthorEntity `json:"assignee,omitempty"`
	CreatedBy   *NullableAuthorEntity `json:"created_by,omitempty"`
	CreatedAt   *time.Time            `json:"created_at,omitempty"`
	UpdatedAt   *time.Time            `json:"updated_at,omitempty"`
	DueAt       *time.Time            `json:"due_at,omitempty"`
}

TaskEntity model

func (*TaskEntity) GetAssignee ¶

func (t *TaskEntity) GetAssignee() *NullableAuthorEntity

func (*TaskEntity) GetCreatedAt ¶

func (t *TaskEntity) GetCreatedAt() *time.Time

func (*TaskEntity) GetCreatedBy ¶

func (t *TaskEntity) GetCreatedBy() *NullableAuthorEntity

func (*TaskEntity) GetDescription ¶

func (t *TaskEntity) GetDescription() *string

func (*TaskEntity) GetDueAt ¶

func (t *TaskEntity) GetDueAt() *time.Time

func (*TaskEntity) GetID ¶

func (t *TaskEntity) GetID() *string

func (*TaskEntity) GetState ¶

func (t *TaskEntity) GetState() *string

func (*TaskEntity) GetTitle ¶

func (t *TaskEntity) GetTitle() *string

func (*TaskEntity) GetUpdatedAt ¶

func (t *TaskEntity) GetUpdatedAt() *time.Time

func (TaskEntity) MarshalJSON ¶

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

func (*TaskEntity) UnmarshalJSON ¶

func (t *TaskEntity) UnmarshalJSON(data []byte) error

type TaskEntityPaginated ¶

type TaskEntityPaginated struct {
	Data       []TaskEntity              `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

TaskEntityPaginated model

func (*TaskEntityPaginated) GetData ¶

func (t *TaskEntityPaginated) GetData() []TaskEntity

func (*TaskEntityPaginated) GetPagination ¶

func (t *TaskEntityPaginated) GetPagination() *NullablePaginationEntity

type TaskListEntity ¶

type TaskListEntity struct {
	ID            *string               `json:"id,omitempty"`
	Name          *string               `json:"name,omitempty"`
	Description   *string               `json:"description,omitempty"`
	CreatedAt     *time.Time            `json:"created_at,omitempty"`
	UpdatedAt     *time.Time            `json:"updated_at,omitempty"`
	CreatedBy     *NullableAuthorEntity `json:"created_by,omitempty"`
	TaskListItems []TaskListItemEntity  `json:"task_list_items,omitempty"`
}

TaskListEntity model

func (*TaskListEntity) GetCreatedAt ¶

func (t *TaskListEntity) GetCreatedAt() *time.Time

func (*TaskListEntity) GetCreatedBy ¶

func (t *TaskListEntity) GetCreatedBy() *NullableAuthorEntity

func (*TaskListEntity) GetDescription ¶

func (t *TaskListEntity) GetDescription() *string

func (*TaskListEntity) GetID ¶

func (t *TaskListEntity) GetID() *string

func (*TaskListEntity) GetName ¶

func (t *TaskListEntity) GetName() *string

func (*TaskListEntity) GetTaskListItems ¶

func (t *TaskListEntity) GetTaskListItems() []TaskListItemEntity

func (*TaskListEntity) GetUpdatedAt ¶

func (t *TaskListEntity) GetUpdatedAt() *time.Time

func (TaskListEntity) MarshalJSON ¶

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

func (*TaskListEntity) UnmarshalJSON ¶

func (t *TaskListEntity) UnmarshalJSON(data []byte) error

type TaskListItemEntity ¶

type TaskListItemEntity struct {
	Summary     *string `json:"summary,omitempty"`
	Description *string `json:"description,omitempty"`
}

func (*TaskListItemEntity) GetDescription ¶

func (t *TaskListItemEntity) GetDescription() *string

func (*TaskListItemEntity) GetSummary ¶

func (t *TaskListItemEntity) GetSummary() *string

type TeamEntity ¶

type TeamEntity struct {
	ID                                *string                                            `json:"id,omitempty"`
	Name                              *string                                            `json:"name,omitempty"`
	Description                       *string                                            `json:"description,omitempty"`
	Slug                              *string                                            `json:"slug,omitempty"`
	CreatedAt                         *time.Time                                         `json:"created_at,omitempty"`
	UpdatedAt                         *time.Time                                         `json:"updated_at,omitempty"`
	SignalsIcalURL                    *string                                            `json:"signals_ical_url,omitempty"`
	CreatedBy                         *NullableAuthorEntity                              `json:"created_by,omitempty"`
	InSupportHours                    *bool                                              `json:"in_support_hours,omitempty"`
	RestrictSignalsResourceManagement *bool                                              `json:"restrict_signals_resource_management,omitempty"`
	SlackChannel                      *NullableIntegrationsSlackSlackChannelEntity       `json:"slack_channel,omitempty"`
	MsTeamsChannel                    *NullableIntegrationsMicrosoftTeamsV2ChannelEntity `json:"ms_teams_channel,omitempty"`
	Memberships                       []MembershipEntity                                 `json:"memberships,omitempty"`
	OwnedChecklistTemplates           []ChecklistTemplateEntity                          `json:"owned_checklist_templates,omitempty"`
	OwnedFunctionalities              []FunctionalityEntityLite                          `json:"owned_functionalities,omitempty"`
	OwnedServices                     []ServiceEntityLite                                `json:"owned_services,omitempty"`
	OwnedRunbooks                     []SlimRunbookEntity                                `json:"owned_runbooks,omitempty"`
	RespondingServices                []ServiceEntityLite                                `json:"responding_services,omitempty"`
	Services                          []ServiceEntityLite                                `json:"services,omitempty"`
	Functionalities                   []FunctionalityEntityLite                          `json:"functionalities,omitempty"`
	DefaultSignalsEscalationPolicy    *NullableSuccinctEntity                            `json:"default_signals_escalation_policy,omitempty"`
}

TeamEntity model

func (*TeamEntity) GetCreatedAt ¶

func (t *TeamEntity) GetCreatedAt() *time.Time

func (*TeamEntity) GetCreatedBy ¶

func (t *TeamEntity) GetCreatedBy() *NullableAuthorEntity

func (*TeamEntity) GetDefaultSignalsEscalationPolicy ¶

func (t *TeamEntity) GetDefaultSignalsEscalationPolicy() *NullableSuccinctEntity

func (*TeamEntity) GetDescription ¶

func (t *TeamEntity) GetDescription() *string

func (*TeamEntity) GetFunctionalities ¶

func (t *TeamEntity) GetFunctionalities() []FunctionalityEntityLite

func (*TeamEntity) GetID ¶

func (t *TeamEntity) GetID() *string

func (*TeamEntity) GetInSupportHours ¶

func (t *TeamEntity) GetInSupportHours() *bool

func (*TeamEntity) GetMemberships ¶

func (t *TeamEntity) GetMemberships() []MembershipEntity

func (*TeamEntity) GetMsTeamsChannel ¶

func (*TeamEntity) GetName ¶

func (t *TeamEntity) GetName() *string

func (*TeamEntity) GetOwnedChecklistTemplates ¶

func (t *TeamEntity) GetOwnedChecklistTemplates() []ChecklistTemplateEntity

func (*TeamEntity) GetOwnedFunctionalities ¶

func (t *TeamEntity) GetOwnedFunctionalities() []FunctionalityEntityLite

func (*TeamEntity) GetOwnedRunbooks ¶

func (t *TeamEntity) GetOwnedRunbooks() []SlimRunbookEntity

func (*TeamEntity) GetOwnedServices ¶

func (t *TeamEntity) GetOwnedServices() []ServiceEntityLite

func (*TeamEntity) GetRespondingServices ¶

func (t *TeamEntity) GetRespondingServices() []ServiceEntityLite

func (*TeamEntity) GetRestrictSignalsResourceManagement ¶

func (t *TeamEntity) GetRestrictSignalsResourceManagement() *bool

func (*TeamEntity) GetServices ¶

func (t *TeamEntity) GetServices() []ServiceEntityLite

func (*TeamEntity) GetSignalsIcalURL ¶

func (t *TeamEntity) GetSignalsIcalURL() *string

func (*TeamEntity) GetSlackChannel ¶

func (*TeamEntity) GetSlug ¶

func (t *TeamEntity) GetSlug() *string

func (*TeamEntity) GetUpdatedAt ¶

func (t *TeamEntity) GetUpdatedAt() *time.Time

func (TeamEntity) MarshalJSON ¶

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

func (*TeamEntity) UnmarshalJSON ¶

func (t *TeamEntity) UnmarshalJSON(data []byte) error

type TeamEntityLite ¶

type TeamEntityLite struct {
	ID                                *string               `json:"id,omitempty"`
	Name                              *string               `json:"name,omitempty"`
	Description                       *string               `json:"description,omitempty"`
	Slug                              *string               `json:"slug,omitempty"`
	CreatedAt                         *time.Time            `json:"created_at,omitempty"`
	UpdatedAt                         *time.Time            `json:"updated_at,omitempty"`
	SignalsIcalURL                    *string               `json:"signals_ical_url,omitempty"`
	CreatedBy                         *NullableAuthorEntity `json:"created_by,omitempty"`
	InSupportHours                    *bool                 `json:"in_support_hours,omitempty"`
	RestrictSignalsResourceManagement *bool                 `json:"restrict_signals_resource_management,omitempty"`
}

func (*TeamEntityLite) GetCreatedAt ¶

func (t *TeamEntityLite) GetCreatedAt() *time.Time

func (*TeamEntityLite) GetCreatedBy ¶

func (t *TeamEntityLite) GetCreatedBy() *NullableAuthorEntity

func (*TeamEntityLite) GetDescription ¶

func (t *TeamEntityLite) GetDescription() *string

func (*TeamEntityLite) GetID ¶

func (t *TeamEntityLite) GetID() *string

func (*TeamEntityLite) GetInSupportHours ¶

func (t *TeamEntityLite) GetInSupportHours() *bool

func (*TeamEntityLite) GetName ¶

func (t *TeamEntityLite) GetName() *string

func (*TeamEntityLite) GetRestrictSignalsResourceManagement ¶

func (t *TeamEntityLite) GetRestrictSignalsResourceManagement() *bool

func (*TeamEntityLite) GetSignalsIcalURL ¶

func (t *TeamEntityLite) GetSignalsIcalURL() *string

func (*TeamEntityLite) GetSlug ¶

func (t *TeamEntityLite) GetSlug() *string

func (*TeamEntityLite) GetUpdatedAt ¶

func (t *TeamEntityLite) GetUpdatedAt() *time.Time

func (TeamEntityLite) MarshalJSON ¶

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

func (*TeamEntityLite) UnmarshalJSON ¶

func (t *TeamEntityLite) UnmarshalJSON(data []byte) error

type TeamEntityPaginated ¶

type TeamEntityPaginated struct {
	Data       []TeamEntity              `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

TeamEntityPaginated model

func (*TeamEntityPaginated) GetData ¶

func (t *TeamEntityPaginated) GetData() []TeamEntity

func (*TeamEntityPaginated) GetPagination ¶

func (t *TeamEntityPaginated) GetPagination() *NullablePaginationEntity

type TicketType ¶

type TicketType string
const (
	TicketTypeIncident TicketType = "incident"
	TicketTypeTask     TicketType = "task"
	TicketTypeFollowUp TicketType = "follow_up"
)

func (TicketType) ToPointer ¶

func (e TicketType) ToPointer() *TicketType

func (*TicketType) UnmarshalJSON ¶

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

type TicketingFieldMapsMappableFieldEntity ¶

type TicketingFieldMapsMappableFieldEntity struct {
	// The ID of the field
	Value *string `json:"value,omitempty"`
	// The human-readable name of the field
	Label *string `json:"label,omitempty"`
	// The allowed type of the field
	Type *string `json:"type,omitempty"`
	// The allowed values of the field
	AllowedValues []string `json:"allowed_values,omitempty"`
	// If the field is required to be mapped
	Required *string `json:"required,omitempty"`
}

TicketingFieldMapsMappableFieldEntity - Ticketing_FieldMaps_MappableFieldEntity model

func (*TicketingFieldMapsMappableFieldEntity) GetAllowedValues ¶

func (t *TicketingFieldMapsMappableFieldEntity) GetAllowedValues() []string

func (*TicketingFieldMapsMappableFieldEntity) GetLabel ¶

func (*TicketingFieldMapsMappableFieldEntity) GetRequired ¶

func (*TicketingFieldMapsMappableFieldEntity) GetType ¶

func (*TicketingFieldMapsMappableFieldEntity) GetValue ¶

type TicketingPriorityEntity ¶

type TicketingPriorityEntity struct {
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	Position  *int       `json:"position,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

TicketingPriorityEntity - Ticketing_PriorityEntity model

func (*TicketingPriorityEntity) GetCreatedAt ¶

func (t *TicketingPriorityEntity) GetCreatedAt() *time.Time

func (*TicketingPriorityEntity) GetID ¶

func (t *TicketingPriorityEntity) GetID() *string

func (*TicketingPriorityEntity) GetName ¶

func (t *TicketingPriorityEntity) GetName() *string

func (*TicketingPriorityEntity) GetPosition ¶

func (t *TicketingPriorityEntity) GetPosition() *int

func (*TicketingPriorityEntity) GetUpdatedAt ¶

func (t *TicketingPriorityEntity) GetUpdatedAt() *time.Time

func (TicketingPriorityEntity) MarshalJSON ¶

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

func (*TicketingPriorityEntity) UnmarshalJSON ¶

func (t *TicketingPriorityEntity) UnmarshalJSON(data []byte) error

type TicketingProjectConfigEntity ¶

type TicketingProjectConfigEntity struct {
	ID                   *string `json:"id,omitempty"`
	ConnectionID         *string `json:"connection_id,omitempty"`
	ConnectionType       *string `json:"connection_type,omitempty"`
	TicketingProjectID   *string `json:"ticketing_project_id,omitempty"`
	TicketingProjectName *string `json:"ticketing_project_name,omitempty"`
	// A config object containing details about the project config. Can be one of: Ticketing::JiraCloud::ProjectConfigEntity, Ticketing::JiraOnprem::ProjectConfigEntity, or Ticketing::Shortcut::ProjectConfigEntity
	Details *TicketingProjectConfigEntityDetails `json:"details,omitempty"`
}

TicketingProjectConfigEntity - Ticketing_ProjectConfigEntity model

func (*TicketingProjectConfigEntity) GetConnectionID ¶

func (t *TicketingProjectConfigEntity) GetConnectionID() *string

func (*TicketingProjectConfigEntity) GetConnectionType ¶

func (t *TicketingProjectConfigEntity) GetConnectionType() *string

func (*TicketingProjectConfigEntity) GetDetails ¶

func (*TicketingProjectConfigEntity) GetID ¶

func (*TicketingProjectConfigEntity) GetTicketingProjectID ¶

func (t *TicketingProjectConfigEntity) GetTicketingProjectID() *string

func (*TicketingProjectConfigEntity) GetTicketingProjectName ¶

func (t *TicketingProjectConfigEntity) GetTicketingProjectName() *string

type TicketingProjectConfigEntityDetails ¶

type TicketingProjectConfigEntityDetails struct {
}

TicketingProjectConfigEntityDetails - A config object containing details about the project config. Can be one of: Ticketing::JiraCloud::ProjectConfigEntity, Ticketing::JiraOnprem::ProjectConfigEntity, or Ticketing::Shortcut::ProjectConfigEntity

type TicketingProjectFieldMapBodyEntity ¶

type TicketingProjectFieldMapBodyEntity struct {
	Strategy      *StrategyEnum                                        `json:"strategy,omitempty"`
	ExternalField *string                                              `json:"external_field,omitempty"`
	ExternalValue *NullableTicketingProjectFieldMapExternalValueEntity `json:"external_value,omitempty"`
	UserData      *UserData                                            `json:"user_data,omitempty"`
	Cases         []TicketingProjectFieldMapCasesEntity                `json:"cases,omitempty"`
	Else          *NullableTicketingProjectFieldMapCasesElseEntity     `json:"else,omitempty"`
}

func (*TicketingProjectFieldMapBodyEntity) GetCases ¶

func (*TicketingProjectFieldMapBodyEntity) GetElse ¶

func (*TicketingProjectFieldMapBodyEntity) GetExternalField ¶

func (t *TicketingProjectFieldMapBodyEntity) GetExternalField() *string

func (*TicketingProjectFieldMapBodyEntity) GetExternalValue ¶

func (*TicketingProjectFieldMapBodyEntity) GetStrategy ¶

func (*TicketingProjectFieldMapBodyEntity) GetUserData ¶

func (t *TicketingProjectFieldMapBodyEntity) GetUserData() *UserData

type TicketingProjectFieldMapCasesEntity ¶

type TicketingProjectFieldMapCasesEntity struct {
	// An unstructured object of key/value pairs describing the logic for applying the rule.
	Logic         *Logic                                               `json:"logic,omitempty"`
	ExternalValue *NullableTicketingProjectFieldMapExternalValueEntity `json:"external_value,omitempty"`
}

func (*TicketingProjectFieldMapCasesEntity) GetExternalValue ¶

func (*TicketingProjectFieldMapCasesEntity) GetLogic ¶

type TicketingProjectFieldMapEntity ¶

type TicketingProjectFieldMapEntity struct {
	ID                 *string                              `json:"id,omitempty"`
	ConnectionID       *string                              `json:"connection_id,omitempty"`
	ConnectionType     *string                              `json:"connection_type,omitempty"`
	TicketingProjectID *string                              `json:"ticketing_project_id,omitempty"`
	Body               []TicketingProjectFieldMapBodyEntity `json:"body,omitempty"`
}

TicketingProjectFieldMapEntity - Ticketing_ProjectFieldMapEntity model

func (*TicketingProjectFieldMapEntity) GetBody ¶

func (*TicketingProjectFieldMapEntity) GetConnectionID ¶

func (t *TicketingProjectFieldMapEntity) GetConnectionID() *string

func (*TicketingProjectFieldMapEntity) GetConnectionType ¶

func (t *TicketingProjectFieldMapEntity) GetConnectionType() *string

func (*TicketingProjectFieldMapEntity) GetID ¶

func (*TicketingProjectFieldMapEntity) GetTicketingProjectID ¶

func (t *TicketingProjectFieldMapEntity) GetTicketingProjectID() *string

type TicketingProjectInboundFieldMapEntity ¶

type TicketingProjectInboundFieldMapEntity struct {
	ID                 *string     `json:"id,omitempty"`
	ConnectionID       *string     `json:"connection_id,omitempty"`
	ConnectionType     *string     `json:"connection_type,omitempty"`
	TicketingProjectID *string     `json:"ticketing_project_id,omitempty"`
	ExternalFieldName  *string     `json:"external_field_name,omitempty"`
	InternalFieldName  *string     `json:"internal_field_name,omitempty"`
	TicketType         *TicketType `json:"ticket_type,omitempty"`
}

TicketingProjectInboundFieldMapEntity - Ticketing_ProjectInboundFieldMapEntity model

func (*TicketingProjectInboundFieldMapEntity) GetConnectionID ¶

func (t *TicketingProjectInboundFieldMapEntity) GetConnectionID() *string

func (*TicketingProjectInboundFieldMapEntity) GetConnectionType ¶

func (t *TicketingProjectInboundFieldMapEntity) GetConnectionType() *string

func (*TicketingProjectInboundFieldMapEntity) GetExternalFieldName ¶

func (t *TicketingProjectInboundFieldMapEntity) GetExternalFieldName() *string

func (*TicketingProjectInboundFieldMapEntity) GetID ¶

func (*TicketingProjectInboundFieldMapEntity) GetInternalFieldName ¶

func (t *TicketingProjectInboundFieldMapEntity) GetInternalFieldName() *string

func (*TicketingProjectInboundFieldMapEntity) GetTicketType ¶

func (*TicketingProjectInboundFieldMapEntity) GetTicketingProjectID ¶

func (t *TicketingProjectInboundFieldMapEntity) GetTicketingProjectID() *string

type TicketingProjectInboundMappableFieldEntity ¶

type TicketingProjectInboundMappableFieldEntity struct {
	// The ID of the field
	Value *string `json:"value,omitempty"`
	// The human-readable name of the field
	Label *string `json:"label,omitempty"`
}

TicketingProjectInboundMappableFieldEntity - Ticketing_ProjectInboundMappableFieldEntity model

func (*TicketingProjectInboundMappableFieldEntity) GetLabel ¶

func (*TicketingProjectInboundMappableFieldEntity) GetValue ¶

type TicketingProjectsProjectListItemEntity ¶

type TicketingProjectsProjectListItemEntity struct {
	ID             *string                                 `json:"id,omitempty"`
	Name           *string                                 `json:"name,omitempty"`
	Config         *NullableTicketingProjectConfigEntity   `json:"config,omitempty"`
	FieldMap       *NullableTicketingProjectFieldMapEntity `json:"field_map,omitempty"`
	UpdatedAt      *time.Time                              `json:"updated_at,omitempty"`
	ConnectionSlug *string                                 `json:"connection_slug,omitempty"`
}

TicketingProjectsProjectListItemEntity - Ticketing_Projects_ProjectListItemEntity model

func (*TicketingProjectsProjectListItemEntity) GetConfig ¶

func (*TicketingProjectsProjectListItemEntity) GetConnectionSlug ¶

func (t *TicketingProjectsProjectListItemEntity) GetConnectionSlug() *string

func (*TicketingProjectsProjectListItemEntity) GetFieldMap ¶

func (*TicketingProjectsProjectListItemEntity) GetID ¶

func (*TicketingProjectsProjectListItemEntity) GetName ¶

func (*TicketingProjectsProjectListItemEntity) GetUpdatedAt ¶

func (TicketingProjectsProjectListItemEntity) MarshalJSON ¶

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

func (*TicketingProjectsProjectListItemEntity) UnmarshalJSON ¶

func (t *TicketingProjectsProjectListItemEntity) UnmarshalJSON(data []byte) error

type TicketingTicketEntity ¶

type TicketingTicketEntity struct {
	ID          *string                          `json:"id,omitempty"`
	Summary     *string                          `json:"summary,omitempty"`
	Description *string                          `json:"description,omitempty"`
	State       *TicketingTicketEntityState      `json:"state,omitempty"`
	Type        *TicketingTicketEntityType       `json:"type,omitempty"`
	Assignees   []AuthorEntity                   `json:"assignees,omitempty"`
	Priority    *NullableTicketingPriorityEntity `json:"priority,omitempty"`
	CreatedBy   *NullableAuthorEntity            `json:"created_by,omitempty"`
	// A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity
	Attachments []TicketingTicketEntityAttachment `json:"attachments,omitempty"`
	CreatedAt   *time.Time                        `json:"created_at,omitempty"`
	UpdatedAt   *time.Time                        `json:"updated_at,omitempty"`
	TagList     []string                          `json:"tag_list,omitempty"`
	// ID of incident that this ticket is related to
	IncidentID *string `json:"incident_id,omitempty"`
	// Name of incident that this ticket is related to
	IncidentName *string `json:"incident_name,omitempty"`
	// Milestone of incident that this ticket is related to
	IncidentCurrentMilestone *string `json:"incident_current_milestone,omitempty"`
	// ID of task that this ticket is related to
	TaskID *string    `json:"task_id,omitempty"`
	DueAt  *time.Time `json:"due_at,omitempty"`
	// Error message from syncing this ticket to integrations
	SyncErrorMessage *string                        `json:"sync_error_message,omitempty"`
	Link             *NullableAttachmentsLinkEntity `json:"link,omitempty"`
}

TicketingTicketEntity - Ticketing_TicketEntity model

func (*TicketingTicketEntity) GetAssignees ¶

func (t *TicketingTicketEntity) GetAssignees() []AuthorEntity

func (*TicketingTicketEntity) GetAttachments ¶

func (*TicketingTicketEntity) GetCreatedAt ¶

func (t *TicketingTicketEntity) GetCreatedAt() *time.Time

func (*TicketingTicketEntity) GetCreatedBy ¶

func (t *TicketingTicketEntity) GetCreatedBy() *NullableAuthorEntity

func (*TicketingTicketEntity) GetDescription ¶

func (t *TicketingTicketEntity) GetDescription() *string

func (*TicketingTicketEntity) GetDueAt ¶

func (t *TicketingTicketEntity) GetDueAt() *time.Time

func (*TicketingTicketEntity) GetID ¶

func (t *TicketingTicketEntity) GetID() *string

func (*TicketingTicketEntity) GetIncidentCurrentMilestone ¶

func (t *TicketingTicketEntity) GetIncidentCurrentMilestone() *string

func (*TicketingTicketEntity) GetIncidentID ¶

func (t *TicketingTicketEntity) GetIncidentID() *string

func (*TicketingTicketEntity) GetIncidentName ¶

func (t *TicketingTicketEntity) GetIncidentName() *string

func (*TicketingTicketEntity) GetPriority ¶

func (*TicketingTicketEntity) GetState ¶

func (*TicketingTicketEntity) GetSummary ¶

func (t *TicketingTicketEntity) GetSummary() *string

func (*TicketingTicketEntity) GetSyncErrorMessage ¶

func (t *TicketingTicketEntity) GetSyncErrorMessage() *string

func (*TicketingTicketEntity) GetTagList ¶

func (t *TicketingTicketEntity) GetTagList() []string

func (*TicketingTicketEntity) GetTaskID ¶

func (t *TicketingTicketEntity) GetTaskID() *string

func (*TicketingTicketEntity) GetType ¶

func (*TicketingTicketEntity) GetUpdatedAt ¶

func (t *TicketingTicketEntity) GetUpdatedAt() *time.Time

func (TicketingTicketEntity) MarshalJSON ¶

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

func (*TicketingTicketEntity) UnmarshalJSON ¶

func (t *TicketingTicketEntity) UnmarshalJSON(data []byte) error

type TicketingTicketEntityAttachment ¶

type TicketingTicketEntityAttachment struct {
}

type TicketingTicketEntityState ¶

type TicketingTicketEntityState string
const (
	TicketingTicketEntityStateOpen       TicketingTicketEntityState = "open"
	TicketingTicketEntityStateInProgress TicketingTicketEntityState = "in_progress"
	TicketingTicketEntityStateCancelled  TicketingTicketEntityState = "cancelled"
	TicketingTicketEntityStateDone       TicketingTicketEntityState = "done"
)

func (TicketingTicketEntityState) ToPointer ¶

func (*TicketingTicketEntityState) UnmarshalJSON ¶

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

type TicketingTicketEntityType ¶

type TicketingTicketEntityType string
const (
	TicketingTicketEntityTypeIncident TicketingTicketEntityType = "incident"
	TicketingTicketEntityTypeTask     TicketingTicketEntityType = "task"
	TicketingTicketEntityTypeFollowUp TicketingTicketEntityType = "follow_up"
)

func (TicketingTicketEntityType) ToPointer ¶

func (*TicketingTicketEntityType) UnmarshalJSON ¶

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

type Tier ¶

type Tier string
const (
	TierFree        Tier = "free"
	TierEssentials  Tier = "essentials"
	TierEnterprise  Tier = "enterprise"
	TierSignalsOnly Tier = "signals_only"
)

func (Tier) ToPointer ¶

func (e Tier) ToPointer() *Tier

func (*Tier) UnmarshalJSON ¶

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

type UpdateAwsCloudtrailBatch ¶

type UpdateAwsCloudtrailBatch struct {
	EventsCreated *int       `json:"events_created,omitempty"`
	Status        *string    `json:"status,omitempty"`
	Error         *string    `json:"error,omitempty"`
	EndsAt        *time.Time `json:"ends_at,omitempty"`
}

UpdateAwsCloudtrailBatch - Update a CloudTrail batch with new information.

func (*UpdateAwsCloudtrailBatch) GetEndsAt ¶

func (u *UpdateAwsCloudtrailBatch) GetEndsAt() *time.Time

func (*UpdateAwsCloudtrailBatch) GetError ¶

func (u *UpdateAwsCloudtrailBatch) GetError() *string

func (*UpdateAwsCloudtrailBatch) GetEventsCreated ¶

func (u *UpdateAwsCloudtrailBatch) GetEventsCreated() *int

func (*UpdateAwsCloudtrailBatch) GetStatus ¶

func (u *UpdateAwsCloudtrailBatch) GetStatus() *string

func (UpdateAwsCloudtrailBatch) MarshalJSON ¶

func (u UpdateAwsCloudtrailBatch) MarshalJSON() ([]byte, error)

func (*UpdateAwsCloudtrailBatch) UnmarshalJSON ¶

func (u *UpdateAwsCloudtrailBatch) UnmarshalJSON(data []byte) error

type UpdateAwsConnection ¶

type UpdateAwsConnection struct {
	AwsAccountID     *string `json:"aws_account_id,omitempty"`
	TargetArn        *string `json:"target_arn,omitempty"`
	ConnectionStatus *string `json:"connection_status,omitempty"`
}

UpdateAwsConnection - Update the AWS connection with the provided data.

func (*UpdateAwsConnection) GetAwsAccountID ¶

func (u *UpdateAwsConnection) GetAwsAccountID() *string

func (*UpdateAwsConnection) GetConnectionStatus ¶

func (u *UpdateAwsConnection) GetConnectionStatus() *string

func (*UpdateAwsConnection) GetTargetArn ¶

func (u *UpdateAwsConnection) GetTargetArn() *string

type UpdateCallRoute ¶

type UpdateCallRoute struct {
	// Name of the call route
	Name *string `json:"name,omitempty"`
	// Routing mode for the call route
	RoutingMode *UpdateCallRouteRoutingMode `json:"routing_mode,omitempty"`
	// Connect mode for the call route
	ConnectMode *UpdateCallRouteConnectMode `json:"connect_mode,omitempty"`
	// Description of the call route
	Description *string `json:"description,omitempty"`
	// Greeting message for the call route
	GreetingMessage *string `json:"greeting_message,omitempty"`
	// Steps for the call route
	Steps []UpdateCallRouteStep `json:"steps,omitempty"`
	// Target for the call route (required unless connect_mode is direct_dial)
	Target *UpdateCallRouteTarget `json:"target,omitempty"`
}

UpdateCallRoute - Update a call route by ID

func (*UpdateCallRoute) GetConnectMode ¶

func (u *UpdateCallRoute) GetConnectMode() *UpdateCallRouteConnectMode

func (*UpdateCallRoute) GetDescription ¶

func (u *UpdateCallRoute) GetDescription() *string

func (*UpdateCallRoute) GetGreetingMessage ¶

func (u *UpdateCallRoute) GetGreetingMessage() *string

func (*UpdateCallRoute) GetName ¶

func (u *UpdateCallRoute) GetName() *string

func (*UpdateCallRoute) GetRoutingMode ¶

func (u *UpdateCallRoute) GetRoutingMode() *UpdateCallRouteRoutingMode

func (*UpdateCallRoute) GetSteps ¶

func (u *UpdateCallRoute) GetSteps() []UpdateCallRouteStep

func (*UpdateCallRoute) GetTarget ¶

func (u *UpdateCallRoute) GetTarget() *UpdateCallRouteTarget

type UpdateCallRouteConnectMode ¶

type UpdateCallRouteConnectMode string

UpdateCallRouteConnectMode - Connect mode for the call route

const (
	UpdateCallRouteConnectModeConnectModeConference UpdateCallRouteConnectMode = "CONNECT_MODE_CONFERENCE"
	UpdateCallRouteConnectModeConnectModeDirectDial UpdateCallRouteConnectMode = "CONNECT_MODE_DIRECT_DIAL"
)

func (UpdateCallRouteConnectMode) ToPointer ¶

func (*UpdateCallRouteConnectMode) UnmarshalJSON ¶

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

type UpdateCallRouteRoutingMode ¶

type UpdateCallRouteRoutingMode string

UpdateCallRouteRoutingMode - Routing mode for the call route

const (
	UpdateCallRouteRoutingModeRoutingModeTakeMessage   UpdateCallRouteRoutingMode = "ROUTING_MODE_TAKE_MESSAGE"
	UpdateCallRouteRoutingModeRoutingModeDirectConnect UpdateCallRouteRoutingMode = "ROUTING_MODE_DIRECT_CONNECT"
)

func (UpdateCallRouteRoutingMode) ToPointer ¶

func (*UpdateCallRouteRoutingMode) UnmarshalJSON ¶

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

type UpdateCallRouteStep ¶

type UpdateCallRouteStep struct {
	// Type of target
	TargetType UpdateCallRouteTargetType `json:"target_type"`
	// ID of the target
	TargetID string `json:"target_id"`
	// Timeout in seconds for the step
	Timeout string `json:"timeout"`
	// The ID of a specific on-call rotation that should be routed to if the `target_type` is `OnCallSchedule`. If not provided, the schedule's first rotation will be used.
	OnCallRotationID *string `json:"on_call_rotation_id,omitempty"`
}

func (*UpdateCallRouteStep) GetOnCallRotationID ¶

func (u *UpdateCallRouteStep) GetOnCallRotationID() *string

func (*UpdateCallRouteStep) GetTargetID ¶

func (u *UpdateCallRouteStep) GetTargetID() string

func (*UpdateCallRouteStep) GetTargetType ¶

func (*UpdateCallRouteStep) GetTimeout ¶

func (u *UpdateCallRouteStep) GetTimeout() string

type UpdateCallRouteTarget ¶

type UpdateCallRouteTarget struct {
	// Type of target
	Type UpdateCallRouteType `json:"type"`
	// ID of the target
	ID string `json:"id"`
}

UpdateCallRouteTarget - Target for the call route (required unless connect_mode is direct_dial)

func (*UpdateCallRouteTarget) GetID ¶

func (u *UpdateCallRouteTarget) GetID() string

func (*UpdateCallRouteTarget) GetType ¶

type UpdateCallRouteTargetType ¶

type UpdateCallRouteTargetType string

UpdateCallRouteTargetType - Type of target

const (
	UpdateCallRouteTargetTypeUser           UpdateCallRouteTargetType = "User"
	UpdateCallRouteTargetTypeOnCallSchedule UpdateCallRouteTargetType = "OnCallSchedule"
)

func (UpdateCallRouteTargetType) ToPointer ¶

func (*UpdateCallRouteTargetType) UnmarshalJSON ¶

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

type UpdateCallRouteType ¶

type UpdateCallRouteType string

UpdateCallRouteType - Type of target

const (
	UpdateCallRouteTypeEscalationPolicy      UpdateCallRouteType = "EscalationPolicy"
	UpdateCallRouteTypeOnCallSchedule        UpdateCallRouteType = "OnCallSchedule"
	UpdateCallRouteTypeUser                  UpdateCallRouteType = "User"
	UpdateCallRouteTypeWebhook               UpdateCallRouteType = "Webhook"
	UpdateCallRouteTypeSlackChannel          UpdateCallRouteType = "SlackChannel"
	UpdateCallRouteTypeMicrosoftTeamsChannel UpdateCallRouteType = "MicrosoftTeamsChannel"
)

func (UpdateCallRouteType) ToPointer ¶

func (*UpdateCallRouteType) UnmarshalJSON ¶

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

type UpdateChange ¶

type UpdateChange struct {
	Summary     *string           `json:"summary,omitempty"`
	Description *string           `json:"description,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
}

UpdateChange - Update a change entry

func (*UpdateChange) GetDescription ¶

func (u *UpdateChange) GetDescription() *string

func (*UpdateChange) GetLabels ¶

func (u *UpdateChange) GetLabels() map[string]string

func (*UpdateChange) GetSummary ¶

func (u *UpdateChange) GetSummary() *string

type UpdateChangeEvent ¶

type UpdateChangeEvent struct {
	Summary     *string           `json:"summary,omitempty"`
	Description *string           `json:"description,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	StartsAt    *time.Time        `json:"starts_at,omitempty"`
	EndsAt      *time.Time        `json:"ends_at,omitempty"`
	// An array of environment IDs (setting this will overwrite the current environments)
	Environments []string `json:"environments,omitempty"`
	// An array of service IDs (setting this will overwrite the current services)
	Services []string `json:"services,omitempty"`
	// JSON objects representing attachments, see attachments documentation for the schema
	Attachments []UpdateChangeEventAttachment `json:"attachments,omitempty"`
}

UpdateChangeEvent - Update a change event

func (*UpdateChangeEvent) GetAttachments ¶

func (u *UpdateChangeEvent) GetAttachments() []UpdateChangeEventAttachment

func (*UpdateChangeEvent) GetDescription ¶

func (u *UpdateChangeEvent) GetDescription() *string

func (*UpdateChangeEvent) GetEndsAt ¶

func (u *UpdateChangeEvent) GetEndsAt() *time.Time

func (*UpdateChangeEvent) GetEnvironments ¶

func (u *UpdateChangeEvent) GetEnvironments() []string

func (*UpdateChangeEvent) GetLabels ¶

func (u *UpdateChangeEvent) GetLabels() map[string]string

func (*UpdateChangeEvent) GetServices ¶

func (u *UpdateChangeEvent) GetServices() []string

func (*UpdateChangeEvent) GetStartsAt ¶

func (u *UpdateChangeEvent) GetStartsAt() *time.Time

func (*UpdateChangeEvent) GetSummary ¶

func (u *UpdateChangeEvent) GetSummary() *string

func (UpdateChangeEvent) MarshalJSON ¶

func (u UpdateChangeEvent) MarshalJSON() ([]byte, error)

func (*UpdateChangeEvent) UnmarshalJSON ¶

func (u *UpdateChangeEvent) UnmarshalJSON(data []byte) error

type UpdateChangeEventAttachment ¶

type UpdateChangeEventAttachment struct {
	Type UpdateChangeEventType `json:"type"`
}

func (*UpdateChangeEventAttachment) GetType ¶

type UpdateChangeEventType ¶

type UpdateChangeEventType string
const (
	UpdateChangeEventTypeLink UpdateChangeEventType = "link"
)

func (UpdateChangeEventType) ToPointer ¶

func (*UpdateChangeEventType) UnmarshalJSON ¶

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

type UpdateChangeIdentity ¶

type UpdateChangeIdentity struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

UpdateChangeIdentity - Update an identity for the change entry

func (*UpdateChangeIdentity) GetType ¶

func (u *UpdateChangeIdentity) GetType() string

func (*UpdateChangeIdentity) GetValue ¶

func (u *UpdateChangeIdentity) GetValue() string

type UpdateChecklistTemplate ¶

type UpdateChecklistTemplate struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	// An array of checks for the checklist template
	Checks []UpdateChecklistTemplateCheck `json:"checks,omitempty"`
	// The ID of the Team that owns the checklist template
	TeamID *string `json:"team_id,omitempty"`
	// Array of service IDs to attach checklist template to
	ConnectedServices []UpdateChecklistTemplateConnectedService `json:"connected_services,omitempty"`
	// If set to true, any services tagged on the checklist that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the services
	RemoveRemainingConnectedServices *bool `json:"remove_remaining_connected_services,omitempty"`
}

UpdateChecklistTemplate - Update a checklist templates attributes

func (*UpdateChecklistTemplate) GetChecks ¶

func (*UpdateChecklistTemplate) GetConnectedServices ¶

func (*UpdateChecklistTemplate) GetDescription ¶

func (u *UpdateChecklistTemplate) GetDescription() *string

func (*UpdateChecklistTemplate) GetName ¶

func (u *UpdateChecklistTemplate) GetName() *string

func (*UpdateChecklistTemplate) GetRemoveRemainingConnectedServices ¶

func (u *UpdateChecklistTemplate) GetRemoveRemainingConnectedServices() *bool

func (*UpdateChecklistTemplate) GetTeamID ¶

func (u *UpdateChecklistTemplate) GetTeamID() *string

type UpdateChecklistTemplateCheck ¶

type UpdateChecklistTemplateCheck struct {
	// Specify the check ID when updating an already existing check
	ID *string `json:"id,omitempty"`
	// The description of the check
	Description *string `json:"description,omitempty"`
	// The name of the check
	Name string `json:"name"`
}

func (*UpdateChecklistTemplateCheck) GetDescription ¶

func (u *UpdateChecklistTemplateCheck) GetDescription() *string

func (*UpdateChecklistTemplateCheck) GetID ¶

func (*UpdateChecklistTemplateCheck) GetName ¶

func (u *UpdateChecklistTemplateCheck) GetName() string

type UpdateChecklistTemplateConnectedService ¶

type UpdateChecklistTemplateConnectedService struct {
	ID string `json:"id"`
	// Set to `true` to remove checklist from service
	Remove *bool `json:"remove,omitempty"`
}

func (*UpdateChecklistTemplateConnectedService) GetID ¶

func (*UpdateChecklistTemplateConnectedService) GetRemove ¶

type UpdateComment ¶

type UpdateComment struct {
	// Text body of comment
	Body *string `json:"body,omitempty"`
}

UpdateComment - Update a comment's attributes

func (*UpdateComment) GetBody ¶

func (u *UpdateComment) GetBody() *string

type UpdateCustomFieldDefinition ¶

type UpdateCustomFieldDefinition struct {
	Description       *string  `json:"description,omitempty"`
	DisplayName       *string  `json:"display_name,omitempty"`
	PermissibleValues []string `json:"permissible_values,omitempty"`
	Required          *bool    `json:"required,omitempty"`
	// An optional milestone ID to specify when the field should become required, if `required` is set to `true`. If not provided, required fields are always required.
	RequiredAtMilestoneID *string `json:"required_at_milestone_id,omitempty"`
}

UpdateCustomFieldDefinition - Update a single custom field definition

func (*UpdateCustomFieldDefinition) GetDescription ¶

func (u *UpdateCustomFieldDefinition) GetDescription() *string

func (*UpdateCustomFieldDefinition) GetDisplayName ¶

func (u *UpdateCustomFieldDefinition) GetDisplayName() *string

func (*UpdateCustomFieldDefinition) GetPermissibleValues ¶

func (u *UpdateCustomFieldDefinition) GetPermissibleValues() []string

func (*UpdateCustomFieldDefinition) GetRequired ¶

func (u *UpdateCustomFieldDefinition) GetRequired() *bool

func (*UpdateCustomFieldDefinition) GetRequiredAtMilestoneID ¶

func (u *UpdateCustomFieldDefinition) GetRequiredAtMilestoneID() *string

type UpdateEnvironment ¶

type UpdateEnvironment struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
}

UpdateEnvironment - Update a environments attributes

func (*UpdateEnvironment) GetDescription ¶

func (u *UpdateEnvironment) GetDescription() *string

func (*UpdateEnvironment) GetName ¶

func (u *UpdateEnvironment) GetName() string

type UpdateFunctionality ¶

type UpdateFunctionality struct {
	Name        *string                      `json:"name,omitempty"`
	Description *string                      `json:"description,omitempty"`
	Services    []UpdateFunctionalityService `json:"services,omitempty"`
	// An array of links to associate with this functionality. This will remove all links not present in the patch. Only acts if 'links' key is included in the payload.
	Links []UpdateFunctionalityLink `json:"links,omitempty"`
	// An object representing a Team that owns the functionality
	Owner *UpdateFunctionalityOwner `json:"owner,omitempty"`
	// If you are trying to remove a team as an owner from a functionality, set this to 'true'
	RemoveOwner *bool `json:"remove_owner,omitempty"`
	// An array of teams to attach to this functionality.
	Teams []UpdateFunctionalityTeam `json:"teams,omitempty"`
	// If set to true, any teams tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the teams
	RemoveRemainingTeams *bool `json:"remove_remaining_teams,omitempty"`
	// An array of external resources to attach to this service.
	ExternalResources []UpdateFunctionalityExternalResource `json:"external_resources,omitempty"`
	// If set to true, any external_resources tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the external_resources
	RemoveRemainingExternalResources *bool `json:"remove_remaining_external_resources,omitempty"`
	// A hash of label keys and values
	Labels                map[string]string `json:"labels,omitempty"`
	AlertOnAdd            *bool             `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool             `json:"auto_add_responding_team,omitempty"`
	// Set this to true if you want to remove all of the services that are not included in the services array from the functionality
	RemoveRemainingServices *bool `default:"false" json:"remove_remaining_services"`
}

UpdateFunctionality - Update a functionalities attributes

func (*UpdateFunctionality) GetAlertOnAdd ¶

func (u *UpdateFunctionality) GetAlertOnAdd() *bool

func (*UpdateFunctionality) GetAutoAddRespondingTeam ¶

func (u *UpdateFunctionality) GetAutoAddRespondingTeam() *bool

func (*UpdateFunctionality) GetDescription ¶

func (u *UpdateFunctionality) GetDescription() *string

func (*UpdateFunctionality) GetExternalResources ¶

func (u *UpdateFunctionality) GetExternalResources() []UpdateFunctionalityExternalResource

func (*UpdateFunctionality) GetLabels ¶

func (u *UpdateFunctionality) GetLabels() map[string]string

func (*UpdateFunctionality) GetName ¶

func (u *UpdateFunctionality) GetName() *string

func (*UpdateFunctionality) GetOwner ¶

func (*UpdateFunctionality) GetRemoveOwner ¶

func (u *UpdateFunctionality) GetRemoveOwner() *bool

func (*UpdateFunctionality) GetRemoveRemainingExternalResources ¶

func (u *UpdateFunctionality) GetRemoveRemainingExternalResources() *bool

func (*UpdateFunctionality) GetRemoveRemainingServices ¶

func (u *UpdateFunctionality) GetRemoveRemainingServices() *bool

func (*UpdateFunctionality) GetRemoveRemainingTeams ¶

func (u *UpdateFunctionality) GetRemoveRemainingTeams() *bool

func (*UpdateFunctionality) GetServices ¶

func (*UpdateFunctionality) GetTeams ¶

func (UpdateFunctionality) MarshalJSON ¶

func (u UpdateFunctionality) MarshalJSON() ([]byte, error)

func (*UpdateFunctionality) UnmarshalJSON ¶

func (u *UpdateFunctionality) UnmarshalJSON(data []byte) error

type UpdateFunctionalityExternalResource ¶

type UpdateFunctionalityExternalResource struct {
	RemoteID string `json:"remote_id"`
	// The integration slug for the external resource. Can be one of: github, opsgenie, pager_duty, statuspage, victorops. Not required if the resource has already been imported.
	ConnectionType *string `json:"connection_type,omitempty"`
	// If you are trying to remove an external resource from a service, set this to 'true'.
	Remove *bool `json:"remove,omitempty"`
}

func (*UpdateFunctionalityExternalResource) GetConnectionType ¶

func (u *UpdateFunctionalityExternalResource) GetConnectionType() *string

func (*UpdateFunctionalityExternalResource) GetRemoteID ¶

func (*UpdateFunctionalityExternalResource) GetRemove ¶

func (u *UpdateFunctionalityExternalResource) GetRemove() *bool
type UpdateFunctionalityLink struct {
	// URL
	HrefURL string `json:"href_url"`
	// Short name used to display and identify this link
	Name string `json:"name"`
	// An optional URL to an icon representing this link
	IconURL *string `json:"icon_url,omitempty"`
	// If you are trying to remove a link, set this to 'true'
	Remove *bool `json:"remove,omitempty"`
	// If updating an existing link, specify it's id.
	ID *string `json:"id,omitempty"`
}

func (*UpdateFunctionalityLink) GetHrefURL ¶

func (u *UpdateFunctionalityLink) GetHrefURL() string

func (*UpdateFunctionalityLink) GetID ¶

func (u *UpdateFunctionalityLink) GetID() *string

func (*UpdateFunctionalityLink) GetIconURL ¶

func (u *UpdateFunctionalityLink) GetIconURL() *string

func (*UpdateFunctionalityLink) GetName ¶

func (u *UpdateFunctionalityLink) GetName() string

func (*UpdateFunctionalityLink) GetRemove ¶

func (u *UpdateFunctionalityLink) GetRemove() *bool

type UpdateFunctionalityOwner ¶

type UpdateFunctionalityOwner struct {
	ID string `json:"id"`
}

UpdateFunctionalityOwner - An object representing a Team that owns the functionality

func (*UpdateFunctionalityOwner) GetID ¶

func (u *UpdateFunctionalityOwner) GetID() string

type UpdateFunctionalityService ¶

type UpdateFunctionalityService struct {
	// ID of a service
	ID string `json:"id"`
	// Set to true if you want to remove the given service from the functionality
	Remove *bool `json:"remove,omitempty"`
}

func (*UpdateFunctionalityService) GetID ¶

func (*UpdateFunctionalityService) GetRemove ¶

func (u *UpdateFunctionalityService) GetRemove() *bool

type UpdateFunctionalityTeam ¶

type UpdateFunctionalityTeam struct {
	ID string `json:"id"`
	// If you are trying to remove a team from a functionality, set this to 'true'
	Remove *bool `json:"remove,omitempty"`
}

func (*UpdateFunctionalityTeam) GetID ¶

func (u *UpdateFunctionalityTeam) GetID() string

func (*UpdateFunctionalityTeam) GetRemove ¶

func (u *UpdateFunctionalityTeam) GetRemove() *bool

type UpdateIncident ¶

type UpdateIncident struct {
	Name                  *string `json:"name,omitempty"`
	Summary               *string `json:"summary,omitempty"`
	CustomerImpactSummary *string `json:"customer_impact_summary,omitempty"`
	Description           *string `json:"description,omitempty"`
	// Key:value pairs to track custom data for the incident
	Labels              *UpdateIncidentLabels `json:"labels,omitempty"`
	Priority            *string               `json:"priority,omitempty"`
	Severity            *string               `json:"severity,omitempty"`
	SeverityConditionID *string               `json:"severity_condition_id,omitempty"`
	SeverityImpactID    *string               `json:"severity_impact_id,omitempty"`
	// List of tags for the incident
	TagList []string `json:"tag_list,omitempty"`
	// The ID of the incident type. This will copy values from the incident type (if any) unless they are being overridden via parameters in this request.
	IncidentTypeID *string `json:"incident_type_id,omitempty"`
}

UpdateIncident - Updates an incident with provided parameters

func (*UpdateIncident) GetCustomerImpactSummary ¶

func (u *UpdateIncident) GetCustomerImpactSummary() *string

func (*UpdateIncident) GetDescription ¶

func (u *UpdateIncident) GetDescription() *string

func (*UpdateIncident) GetIncidentTypeID ¶

func (u *UpdateIncident) GetIncidentTypeID() *string

func (*UpdateIncident) GetLabels ¶

func (u *UpdateIncident) GetLabels() *UpdateIncidentLabels

func (*UpdateIncident) GetName ¶

func (u *UpdateIncident) GetName() *string

func (*UpdateIncident) GetPriority ¶

func (u *UpdateIncident) GetPriority() *string

func (*UpdateIncident) GetSeverity ¶

func (u *UpdateIncident) GetSeverity() *string

func (*UpdateIncident) GetSeverityConditionID ¶

func (u *UpdateIncident) GetSeverityConditionID() *string

func (*UpdateIncident) GetSeverityImpactID ¶

func (u *UpdateIncident) GetSeverityImpactID() *string

func (*UpdateIncident) GetSummary ¶

func (u *UpdateIncident) GetSummary() *string

func (*UpdateIncident) GetTagList ¶

func (u *UpdateIncident) GetTagList() []string

type UpdateIncidentAlertPrimary ¶

type UpdateIncidentAlertPrimary struct {
	Primary bool `json:"primary"`
}

UpdateIncidentAlertPrimary - Setting an alert as primary will overwrite milestone times in the FireHydrant incident with times included in the primary alert. Services attached to the primary alert will also be automatically added to the incident.

func (*UpdateIncidentAlertPrimary) GetPrimary ¶

func (u *UpdateIncidentAlertPrimary) GetPrimary() bool

type UpdateIncidentChangeEvent ¶

type UpdateIncidentChangeEvent struct {
	Type *UpdateIncidentChangeEventType `json:"type,omitempty"`
	// A short description about why this change event is related
	Why *string `json:"why,omitempty"`
}

UpdateIncidentChangeEvent - Update a change attached to an incident

func (*UpdateIncidentChangeEvent) GetType ¶

func (*UpdateIncidentChangeEvent) GetWhy ¶

func (u *UpdateIncidentChangeEvent) GetWhy() *string

type UpdateIncidentChangeEventType ¶

type UpdateIncidentChangeEventType string
const (
	UpdateIncidentChangeEventTypeCaused    UpdateIncidentChangeEventType = "caused"
	UpdateIncidentChangeEventTypeFixed     UpdateIncidentChangeEventType = "fixed"
	UpdateIncidentChangeEventTypeSuspect   UpdateIncidentChangeEventType = "suspect"
	UpdateIncidentChangeEventTypeDismissed UpdateIncidentChangeEventType = "dismissed"
)

func (UpdateIncidentChangeEventType) ToPointer ¶

func (*UpdateIncidentChangeEventType) UnmarshalJSON ¶

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

type UpdateIncidentChatMessage ¶

type UpdateIncidentChatMessage struct {
	Body string `json:"body"`
}

UpdateIncidentChatMessage - Update an existing generic chat message on an incident.

func (*UpdateIncidentChatMessage) GetBody ¶

func (u *UpdateIncidentChatMessage) GetBody() string

type UpdateIncidentImpactPatch ¶

type UpdateIncidentImpactPatch struct {
	Note        *string                               `json:"note,omitempty"`
	Milestone   *string                               `json:"milestone,omitempty"`
	Impact      []UpdateIncidentImpactPatchImpact     `json:"impact,omitempty"`
	StatusPages []UpdateIncidentImpactPatchStatusPage `json:"status_pages,omitempty"`
}

UpdateIncidentImpactPatch - Allows updating an incident's impacted infrastructure, with the option to move the incident into a different milestone and provide a note to update the incident timeline and any attached status pages. If this method is requested with the PUT verb, impacts will be completely replaced with the information in the request body, even if not provided (effectively clearing all impacts). If this method is requested with the PATCH verb, the provided impacts will be added or updated, but no impacts will be removed.

func (*UpdateIncidentImpactPatch) GetImpact ¶

func (*UpdateIncidentImpactPatch) GetMilestone ¶

func (u *UpdateIncidentImpactPatch) GetMilestone() *string

func (*UpdateIncidentImpactPatch) GetNote ¶

func (u *UpdateIncidentImpactPatch) GetNote() *string

func (*UpdateIncidentImpactPatch) GetStatusPages ¶

type UpdateIncidentImpactPatchImpact ¶

type UpdateIncidentImpactPatchImpact struct {
	ID          string `json:"id"`
	ConditionID string `json:"condition_id"`
}

func (*UpdateIncidentImpactPatchImpact) GetConditionID ¶

func (u *UpdateIncidentImpactPatchImpact) GetConditionID() string

func (*UpdateIncidentImpactPatchImpact) GetID ¶

type UpdateIncidentImpactPatchStatusPage ¶

type UpdateIncidentImpactPatchStatusPage struct {
	ID              string `json:"id"`
	IntegrationSlug string `json:"integration_slug"`
}

func (*UpdateIncidentImpactPatchStatusPage) GetID ¶

func (*UpdateIncidentImpactPatchStatusPage) GetIntegrationSlug ¶

func (u *UpdateIncidentImpactPatchStatusPage) GetIntegrationSlug() string

type UpdateIncidentImpactPut ¶

type UpdateIncidentImpactPut struct {
	Note        *string                             `json:"note,omitempty"`
	Milestone   *string                             `json:"milestone,omitempty"`
	Impact      []UpdateIncidentImpactPutImpact     `json:"impact,omitempty"`
	StatusPages []UpdateIncidentImpactPutStatusPage `json:"status_pages,omitempty"`
}

UpdateIncidentImpactPut - Allows updating an incident's impacted infrastructure, with the option to move the incident into a different milestone and provide a note to update the incident timeline and any attached status pages. If this method is requested with the PUT verb, impacts will be completely replaced with the information in the request body, even if not provided (effectively clearing all impacts). If this method is requested with the PATCH verb, the provided impacts will be added or updated, but no impacts will be removed.

func (*UpdateIncidentImpactPut) GetImpact ¶

func (*UpdateIncidentImpactPut) GetMilestone ¶

func (u *UpdateIncidentImpactPut) GetMilestone() *string

func (*UpdateIncidentImpactPut) GetNote ¶

func (u *UpdateIncidentImpactPut) GetNote() *string

func (*UpdateIncidentImpactPut) GetStatusPages ¶

type UpdateIncidentImpactPutImpact ¶

type UpdateIncidentImpactPutImpact struct {
	ID          string `json:"id"`
	ConditionID string `json:"condition_id"`
}

func (*UpdateIncidentImpactPutImpact) GetConditionID ¶

func (u *UpdateIncidentImpactPutImpact) GetConditionID() string

func (*UpdateIncidentImpactPutImpact) GetID ¶

type UpdateIncidentImpactPutStatusPage ¶

type UpdateIncidentImpactPutStatusPage struct {
	ID              string `json:"id"`
	IntegrationSlug string `json:"integration_slug"`
}

func (*UpdateIncidentImpactPutStatusPage) GetID ¶

func (*UpdateIncidentImpactPutStatusPage) GetIntegrationSlug ¶

func (u *UpdateIncidentImpactPutStatusPage) GetIntegrationSlug() string

type UpdateIncidentLabels ¶

type UpdateIncidentLabels struct {
}

UpdateIncidentLabels - Key:value pairs to track custom data for the incident

type UpdateIncidentLink struct {
	DisplayText *string `json:"display_text,omitempty"`
	IconURL     *string `json:"icon_url,omitempty"`
	HrefURL     *string `json:"href_url,omitempty"`
}

UpdateIncidentLink - Update the external incident link attributes

func (*UpdateIncidentLink) GetDisplayText ¶

func (u *UpdateIncidentLink) GetDisplayText() *string

func (*UpdateIncidentLink) GetHrefURL ¶

func (u *UpdateIncidentLink) GetHrefURL() *string

func (*UpdateIncidentLink) GetIconURL ¶

func (u *UpdateIncidentLink) GetIconURL() *string

type UpdateIncidentNote ¶

type UpdateIncidentNote struct {
	Body string `json:"body"`
}

UpdateIncidentNote - Updates the body of a note

func (*UpdateIncidentNote) GetBody ¶

func (u *UpdateIncidentNote) GetBody() string

type UpdateIncidentRetrospective ¶

type UpdateIncidentRetrospective struct {
	// To hide or unhide the retrospective.
	IsHidden *bool `json:"is_hidden,omitempty"`
}

UpdateIncidentRetrospective - Update a retrospective attached to an incident

func (*UpdateIncidentRetrospective) GetIsHidden ¶

func (u *UpdateIncidentRetrospective) GetIsHidden() *bool

type UpdateIncidentRetrospectiveField ¶

type UpdateIncidentRetrospectiveField struct {
	// The ID of the dynamic input field to update.
	DynamicInputFieldID *string `json:"dynamic_input_field_id,omitempty"`
	// The value to set for the field.
	Value int64 `json:"value"`
}

UpdateIncidentRetrospectiveField - Update retrospective field value

func (*UpdateIncidentRetrospectiveField) GetDynamicInputFieldID ¶

func (u *UpdateIncidentRetrospectiveField) GetDynamicInputFieldID() *string

func (*UpdateIncidentRetrospectiveField) GetValue ¶

type UpdateIncidentRole ¶

type UpdateIncidentRole struct {
	Name        *string `json:"name,omitempty"`
	Summary     *string `json:"summary,omitempty"`
	Description *string `json:"description,omitempty"`
}

UpdateIncidentRole - Update a single incident role from its ID

func (*UpdateIncidentRole) GetDescription ¶

func (u *UpdateIncidentRole) GetDescription() *string

func (*UpdateIncidentRole) GetName ¶

func (u *UpdateIncidentRole) GetName() *string

func (*UpdateIncidentRole) GetSummary ¶

func (u *UpdateIncidentRole) GetSummary() *string

type UpdateIncidentTask ¶

type UpdateIncidentTask struct {
	// The title of the task.
	Title *string `json:"title,omitempty"`
	// A description of what the task is for.
	Description *string `json:"description,omitempty"`
	// The state of the task. One of: open, in_progress, cancelled, done
	State *string `json:"state,omitempty"`
	// The ID of the user assigned to the task.
	AssigneeID *string `json:"assignee_id,omitempty"`
	// The due date of the task. Relative values are supported such as '5m'
	DueAt *string `json:"due_at,omitempty"`
}

UpdateIncidentTask - Update a task's attributes

func (*UpdateIncidentTask) GetAssigneeID ¶

func (u *UpdateIncidentTask) GetAssigneeID() *string

func (*UpdateIncidentTask) GetDescription ¶

func (u *UpdateIncidentTask) GetDescription() *string

func (*UpdateIncidentTask) GetDueAt ¶

func (u *UpdateIncidentTask) GetDueAt() *string

func (*UpdateIncidentTask) GetState ¶

func (u *UpdateIncidentTask) GetState() *string

func (*UpdateIncidentTask) GetTitle ¶

func (u *UpdateIncidentTask) GetTitle() *string

type UpdateIncidentType ¶

type UpdateIncidentType struct {
	Name string `json:"name"`
	// A description of the incident type
	Description *string                    `json:"description,omitempty"`
	Template    UpdateIncidentTypeTemplate `json:"template"`
}

UpdateIncidentType - Update a single incident type from its ID

func (*UpdateIncidentType) GetDescription ¶

func (u *UpdateIncidentType) GetDescription() *string

func (*UpdateIncidentType) GetName ¶

func (u *UpdateIncidentType) GetName() string

func (*UpdateIncidentType) GetTemplate ¶

type UpdateIncidentTypeImpact ¶

type UpdateIncidentTypeImpact struct {
	// The id of impact
	ID string `json:"id"`
	// The id of the condition
	ConditionID string `json:"condition_id"`
}

func (*UpdateIncidentTypeImpact) GetConditionID ¶

func (u *UpdateIncidentTypeImpact) GetConditionID() string

func (*UpdateIncidentTypeImpact) GetID ¶

func (u *UpdateIncidentTypeImpact) GetID() string

type UpdateIncidentTypeTemplate ¶

type UpdateIncidentTypeTemplate struct {
	Description           *string `json:"description,omitempty"`
	CustomerImpactSummary *string `json:"customer_impact_summary,omitempty"`
	// A labels hash of keys and values
	Labels   map[string]string `json:"labels,omitempty"`
	Severity *string           `json:"severity,omitempty"`
	Priority *string           `json:"priority,omitempty"`
	// List of tags for the incident
	TagList []string `json:"tag_list,omitempty"`
	// List of ids of Runbooks to attach to incidents created from this type
	RunbookIds      []string `json:"runbook_ids,omitempty"`
	PrivateIncident *bool    `json:"private_incident,omitempty"`
	// List of ids of teams to be assigned to incidents
	TeamIds []string `json:"team_ids,omitempty"`
	// An array of impact/condition combinations
	Impacts []UpdateIncidentTypeImpact `json:"impacts,omitempty"`
}

func (*UpdateIncidentTypeTemplate) GetCustomerImpactSummary ¶

func (u *UpdateIncidentTypeTemplate) GetCustomerImpactSummary() *string

func (*UpdateIncidentTypeTemplate) GetDescription ¶

func (u *UpdateIncidentTypeTemplate) GetDescription() *string

func (*UpdateIncidentTypeTemplate) GetImpacts ¶

func (*UpdateIncidentTypeTemplate) GetLabels ¶

func (u *UpdateIncidentTypeTemplate) GetLabels() map[string]string

func (*UpdateIncidentTypeTemplate) GetPriority ¶

func (u *UpdateIncidentTypeTemplate) GetPriority() *string

func (*UpdateIncidentTypeTemplate) GetPrivateIncident ¶

func (u *UpdateIncidentTypeTemplate) GetPrivateIncident() *bool

func (*UpdateIncidentTypeTemplate) GetRunbookIds ¶

func (u *UpdateIncidentTypeTemplate) GetRunbookIds() []string

func (*UpdateIncidentTypeTemplate) GetSeverity ¶

func (u *UpdateIncidentTypeTemplate) GetSeverity() *string

func (*UpdateIncidentTypeTemplate) GetTagList ¶

func (u *UpdateIncidentTypeTemplate) GetTagList() []string

func (*UpdateIncidentTypeTemplate) GetTeamIds ¶

func (u *UpdateIncidentTypeTemplate) GetTeamIds() []string
type UpdateNuncLink struct {
	DisplayText *string `json:"display_text,omitempty"`
	IconURL     *string `json:"icon_url,omitempty"`
	HrefURL     *string `json:"href_url,omitempty"`
}

UpdateNuncLink - Update a link to be displayed on a FireHydrant status page

func (*UpdateNuncLink) GetDisplayText ¶

func (u *UpdateNuncLink) GetDisplayText() *string

func (*UpdateNuncLink) GetHrefURL ¶

func (u *UpdateNuncLink) GetHrefURL() *string

func (*UpdateNuncLink) GetIconURL ¶

func (u *UpdateNuncLink) GetIconURL() *string

type UpdateOnCallScheduleRotation ¶

type UpdateOnCallScheduleRotation struct {
	// The name of the on-call rotation
	Name *string `json:"name,omitempty"`
	// The description of the on-call rotation
	Description *string `json:"description,omitempty"`
	// The timezone of the on-call rotation as a string
	TimeZone *string `json:"time_zone,omitempty"`
	// The Slack Usergroup ID for the on-call rotation
	SlackUserGroupID *string `json:"slack_user_group_id,omitempty"`
	// Notify the team's Slack channel when handoffs occur
	EnableSlackChannelNotifications *bool `json:"enable_slack_channel_notifications,omitempty"`
	// An ISO8601 duration string specifying that the team should be notified about gaps in coverage for the upcoming interval. Notifications are sent at 9am daily in the rotation's time zone via email and, if enabled, the team's Slack channel.
	CoverageGapNotificationInterval *string `json:"coverage_gap_notification_interval,omitempty"`
	// Prevent shifts from being deleted by users and leading to gaps in coverage.
	PreventShiftDeletion *bool `json:"prevent_shift_deletion,omitempty"`
	// A hex color code that will be used to represent the rotation in FireHydrant's UI.
	Color *string `json:"color,omitempty"`
	// An ordered list of objects that specify members of the schedule's rotation.
	Members []UpdateOnCallScheduleRotationMember `json:"members,omitempty"`
	// An object that specifies how the rotation's on-call shifts should be generated.
	Strategy *UpdateOnCallScheduleRotationStrategy `json:"strategy,omitempty"`
	// A list of objects that restrict the rotation to specific on-call periods.
	Restrictions []UpdateOnCallScheduleRotationRestriction `json:"restrictions,omitempty"`
	// An ISO8601 time string specifying when the updated schedule should take effect. This
	// value must be provided if editing an attribute that would affect how the schedule's
	// shifts are generated, such as the time zone, members, strategy, or restrictions.
	//
	EffectiveAt *string `json:"effective_at,omitempty"`
}

UpdateOnCallScheduleRotation - Update an on-call schedule's rotation by ID

func (*UpdateOnCallScheduleRotation) GetColor ¶

func (u *UpdateOnCallScheduleRotation) GetColor() *string

func (*UpdateOnCallScheduleRotation) GetCoverageGapNotificationInterval ¶

func (u *UpdateOnCallScheduleRotation) GetCoverageGapNotificationInterval() *string

func (*UpdateOnCallScheduleRotation) GetDescription ¶

func (u *UpdateOnCallScheduleRotation) GetDescription() *string

func (*UpdateOnCallScheduleRotation) GetEffectiveAt ¶

func (u *UpdateOnCallScheduleRotation) GetEffectiveAt() *string

func (*UpdateOnCallScheduleRotation) GetEnableSlackChannelNotifications ¶

func (u *UpdateOnCallScheduleRotation) GetEnableSlackChannelNotifications() *bool

func (*UpdateOnCallScheduleRotation) GetMembers ¶

func (*UpdateOnCallScheduleRotation) GetName ¶

func (u *UpdateOnCallScheduleRotation) GetName() *string

func (*UpdateOnCallScheduleRotation) GetPreventShiftDeletion ¶

func (u *UpdateOnCallScheduleRotation) GetPreventShiftDeletion() *bool

func (*UpdateOnCallScheduleRotation) GetRestrictions ¶

func (*UpdateOnCallScheduleRotation) GetSlackUserGroupID ¶

func (u *UpdateOnCallScheduleRotation) GetSlackUserGroupID() *string

func (*UpdateOnCallScheduleRotation) GetStrategy ¶

func (*UpdateOnCallScheduleRotation) GetTimeZone ¶

func (u *UpdateOnCallScheduleRotation) GetTimeZone() *string

type UpdateOnCallScheduleRotationEndDay ¶

type UpdateOnCallScheduleRotationEndDay string

UpdateOnCallScheduleRotationEndDay - The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	UpdateOnCallScheduleRotationEndDayMonday    UpdateOnCallScheduleRotationEndDay = "monday"
	UpdateOnCallScheduleRotationEndDayTuesday   UpdateOnCallScheduleRotationEndDay = "tuesday"
	UpdateOnCallScheduleRotationEndDayWednesday UpdateOnCallScheduleRotationEndDay = "wednesday"
	UpdateOnCallScheduleRotationEndDayThursday  UpdateOnCallScheduleRotationEndDay = "thursday"
	UpdateOnCallScheduleRotationEndDayFriday    UpdateOnCallScheduleRotationEndDay = "friday"
	UpdateOnCallScheduleRotationEndDaySaturday  UpdateOnCallScheduleRotationEndDay = "saturday"
	UpdateOnCallScheduleRotationEndDaySunday    UpdateOnCallScheduleRotationEndDay = "sunday"
)

func (UpdateOnCallScheduleRotationEndDay) ToPointer ¶

func (*UpdateOnCallScheduleRotationEndDay) UnmarshalJSON ¶

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

type UpdateOnCallScheduleRotationHandoffDay ¶

type UpdateOnCallScheduleRotationHandoffDay string

UpdateOnCallScheduleRotationHandoffDay - The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".

const (
	UpdateOnCallScheduleRotationHandoffDayMonday    UpdateOnCallScheduleRotationHandoffDay = "monday"
	UpdateOnCallScheduleRotationHandoffDayTuesday   UpdateOnCallScheduleRotationHandoffDay = "tuesday"
	UpdateOnCallScheduleRotationHandoffDayWednesday UpdateOnCallScheduleRotationHandoffDay = "wednesday"
	UpdateOnCallScheduleRotationHandoffDayThursday  UpdateOnCallScheduleRotationHandoffDay = "thursday"
	UpdateOnCallScheduleRotationHandoffDayFriday    UpdateOnCallScheduleRotationHandoffDay = "friday"
	UpdateOnCallScheduleRotationHandoffDaySaturday  UpdateOnCallScheduleRotationHandoffDay = "saturday"
	UpdateOnCallScheduleRotationHandoffDaySunday    UpdateOnCallScheduleRotationHandoffDay = "sunday"
)

func (UpdateOnCallScheduleRotationHandoffDay) ToPointer ¶

func (*UpdateOnCallScheduleRotationHandoffDay) UnmarshalJSON ¶

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

type UpdateOnCallScheduleRotationMember ¶

type UpdateOnCallScheduleRotationMember struct {
	// The ID of a user who should be added to the rotation. You can add a user to the rotation
	// multiple times to construct more complex rotations, and you can specify a `null` user ID to create
	// unassigned slots in the rotation.
	//
	UserID *string `json:"user_id,omitempty"`
}

func (*UpdateOnCallScheduleRotationMember) GetUserID ¶

type UpdateOnCallScheduleRotationRestriction ¶

type UpdateOnCallScheduleRotationRestriction struct {
	// The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).
	StartDay UpdateOnCallScheduleRotationStartDay `json:"start_day"`
	// An ISO8601 time string specifying when the restriction should start.
	StartTime string `json:"start_time"`
	// The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).
	EndDay UpdateOnCallScheduleRotationEndDay `json:"end_day"`
	// An ISO8601 time string specifying when the restriction should end.
	EndTime string `json:"end_time"`
}

func (*UpdateOnCallScheduleRotationRestriction) GetEndDay ¶

func (*UpdateOnCallScheduleRotationRestriction) GetEndTime ¶

func (*UpdateOnCallScheduleRotationRestriction) GetStartDay ¶

func (*UpdateOnCallScheduleRotationRestriction) GetStartTime ¶

type UpdateOnCallScheduleRotationStartDay ¶

type UpdateOnCallScheduleRotationStartDay string

UpdateOnCallScheduleRotationStartDay - The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	UpdateOnCallScheduleRotationStartDayMonday    UpdateOnCallScheduleRotationStartDay = "monday"
	UpdateOnCallScheduleRotationStartDayTuesday   UpdateOnCallScheduleRotationStartDay = "tuesday"
	UpdateOnCallScheduleRotationStartDayWednesday UpdateOnCallScheduleRotationStartDay = "wednesday"
	UpdateOnCallScheduleRotationStartDayThursday  UpdateOnCallScheduleRotationStartDay = "thursday"
	UpdateOnCallScheduleRotationStartDayFriday    UpdateOnCallScheduleRotationStartDay = "friday"
	UpdateOnCallScheduleRotationStartDaySaturday  UpdateOnCallScheduleRotationStartDay = "saturday"
	UpdateOnCallScheduleRotationStartDaySunday    UpdateOnCallScheduleRotationStartDay = "sunday"
)

func (UpdateOnCallScheduleRotationStartDay) ToPointer ¶

func (*UpdateOnCallScheduleRotationStartDay) UnmarshalJSON ¶

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

type UpdateOnCallScheduleRotationStrategy ¶

type UpdateOnCallScheduleRotationStrategy struct {
	// The type of strategy. Must be one of "daily", "weekly", or "custom".
	Type UpdateOnCallScheduleRotationType `json:"type"`
	// An ISO8601 time string specifying when on-call shifts should hand off. This value is only used if the strategy type is "daily" or "weekly".
	HandoffTime *string `json:"handoff_time,omitempty"`
	// The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".
	HandoffDay *UpdateOnCallScheduleRotationHandoffDay `json:"handoff_day,omitempty"`
	// An ISO8601 duration string specifying how long each shift should last. This value is only used if the strategy type is "custom".
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

UpdateOnCallScheduleRotationStrategy - An object that specifies how the rotation's on-call shifts should be generated.

func (*UpdateOnCallScheduleRotationStrategy) GetHandoffDay ¶

func (*UpdateOnCallScheduleRotationStrategy) GetHandoffTime ¶

func (u *UpdateOnCallScheduleRotationStrategy) GetHandoffTime() *string

func (*UpdateOnCallScheduleRotationStrategy) GetShiftDuration ¶

func (u *UpdateOnCallScheduleRotationStrategy) GetShiftDuration() *string

func (*UpdateOnCallScheduleRotationStrategy) GetType ¶

type UpdateOnCallScheduleRotationType ¶

type UpdateOnCallScheduleRotationType string

UpdateOnCallScheduleRotationType - The type of strategy. Must be one of "daily", "weekly", or "custom".

const (
	UpdateOnCallScheduleRotationTypeDaily  UpdateOnCallScheduleRotationType = "daily"
	UpdateOnCallScheduleRotationTypeWeekly UpdateOnCallScheduleRotationType = "weekly"
	UpdateOnCallScheduleRotationTypeCustom UpdateOnCallScheduleRotationType = "custom"
)

func (UpdateOnCallScheduleRotationType) ToPointer ¶

func (*UpdateOnCallScheduleRotationType) UnmarshalJSON ¶

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

type UpdateOnCallShift ¶

type UpdateOnCallShift struct {
	// The start time of the shift in ISO8601 format.
	StartTime *time.Time `json:"start_time,omitempty"`
	// The end time of the shift in ISO8601 format.
	EndTime *time.Time `json:"end_time,omitempty"`
	// The ID of the user who is on-call for the shift. If not provided, the shift will be unassigned.
	UserID *string `json:"user_id,omitempty"`
	// A description of why coverage is needed for this shift. If the shift is re-assigned, this will automatically be cleared unless provided again.
	CoverageRequest *string `json:"coverage_request,omitempty"`
}

UpdateOnCallShift - Update a Signals on-call shift by ID

func (*UpdateOnCallShift) GetCoverageRequest ¶

func (u *UpdateOnCallShift) GetCoverageRequest() *string

func (*UpdateOnCallShift) GetEndTime ¶

func (u *UpdateOnCallShift) GetEndTime() *time.Time

func (*UpdateOnCallShift) GetStartTime ¶

func (u *UpdateOnCallShift) GetStartTime() *time.Time

func (*UpdateOnCallShift) GetUserID ¶

func (u *UpdateOnCallShift) GetUserID() *string

func (UpdateOnCallShift) MarshalJSON ¶

func (u UpdateOnCallShift) MarshalJSON() ([]byte, error)

func (*UpdateOnCallShift) UnmarshalJSON ¶

func (u *UpdateOnCallShift) UnmarshalJSON(data []byte) error

type UpdatePostMortemField ¶

type UpdatePostMortemField struct {
	Value string `json:"value"`
}

UpdatePostMortemField - Update a field value on a post mortem report

func (*UpdatePostMortemField) GetValue ¶

func (u *UpdatePostMortemField) GetValue() string

type UpdatePostMortemQuestions ¶

type UpdatePostMortemQuestions struct {
	MakeSwaggerWork *string                             `json:"_make_swagger_work_,omitempty"`
	Questions       []UpdatePostMortemQuestionsQuestion `json:"questions,omitempty"`
}

UpdatePostMortemQuestions - Update the questions configured to be provided and filled out on future retrospective reports.

func (*UpdatePostMortemQuestions) GetMakeSwaggerWork ¶

func (u *UpdatePostMortemQuestions) GetMakeSwaggerWork() *string

func (*UpdatePostMortemQuestions) GetQuestions ¶

type UpdatePostMortemQuestionsQuestion ¶

type UpdatePostMortemQuestionsQuestion struct {
	// ID of a question
	ID *string `json:"id,omitempty"`
	// title of a question
	Title *string `json:"title,omitempty"`
	// tooltip of a question
	Tooltip *string `json:"tooltip,omitempty"`
}

func (*UpdatePostMortemQuestionsQuestion) GetID ¶

func (*UpdatePostMortemQuestionsQuestion) GetTitle ¶

func (*UpdatePostMortemQuestionsQuestion) GetTooltip ¶

func (u *UpdatePostMortemQuestionsQuestion) GetTooltip() *string

type UpdatePostMortemReason ¶

type UpdatePostMortemReason struct {
	Summary *string `json:"summary,omitempty"`
}

UpdatePostMortemReason - Update a contributing factor

func (*UpdatePostMortemReason) GetSummary ¶

func (u *UpdatePostMortemReason) GetSummary() *string

type UpdatePostMortemReport ¶

type UpdatePostMortemReport struct {
	Name              *string                          `json:"name,omitempty"`
	Summary           *string                          `json:"summary,omitempty"`
	AdditionalDetails *string                          `json:"additional_details,omitempty"`
	Questions         []UpdatePostMortemReportQuestion `json:"questions,omitempty"`
}

UpdatePostMortemReport - Update a report

func (*UpdatePostMortemReport) GetAdditionalDetails ¶

func (u *UpdatePostMortemReport) GetAdditionalDetails() *string

func (*UpdatePostMortemReport) GetName ¶

func (u *UpdatePostMortemReport) GetName() *string

func (*UpdatePostMortemReport) GetQuestions ¶

func (*UpdatePostMortemReport) GetSummary ¶

func (u *UpdatePostMortemReport) GetSummary() *string

type UpdatePostMortemReportQuestion ¶

type UpdatePostMortemReportQuestion struct {
	// ID of a question
	ID *string `json:"id,omitempty"`
	// Answer to question
	Body *string `json:"body,omitempty"`
}

func (*UpdatePostMortemReportQuestion) GetBody ¶

func (u *UpdatePostMortemReportQuestion) GetBody() *string

func (*UpdatePostMortemReportQuestion) GetID ¶

type UpdatePriority ¶

type UpdatePriority struct {
	Slug        *string `json:"slug,omitempty"`
	Description *string `json:"description,omitempty"`
	Default     *bool   `json:"default,omitempty"`
}

UpdatePriority - Update a specific priority

func (*UpdatePriority) GetDefault ¶

func (u *UpdatePriority) GetDefault() *bool

func (*UpdatePriority) GetDescription ¶

func (u *UpdatePriority) GetDescription() *string

func (*UpdatePriority) GetSlug ¶

func (u *UpdatePriority) GetSlug() *string

type UpdateRole ¶

type UpdateRole struct {
	// The name of the role.
	Name string `json:"name"`
	// A long-form description of the role's purpose.
	Description *string `json:"description,omitempty"`
	// An array of permission slugs to assign to the role.
	Permissions []UpdateRolePermission `json:"permissions,omitempty"`
}

UpdateRole - Update a role

func (*UpdateRole) GetDescription ¶

func (u *UpdateRole) GetDescription() *string

func (*UpdateRole) GetName ¶

func (u *UpdateRole) GetName() string

func (*UpdateRole) GetPermissions ¶

func (u *UpdateRole) GetPermissions() []UpdateRolePermission

type UpdateRolePermission ¶

type UpdateRolePermission string
const (
	UpdateRolePermissionCreateAlerts                           UpdateRolePermission = "create_alerts"
	UpdateRolePermissionRespondToAlerts                        UpdateRolePermission = "respond_to_alerts"
	UpdateRolePermissionReadAlerts                             UpdateRolePermission = "read_alerts"
	UpdateRolePermissionManageAlertGrouping                    UpdateRolePermission = "manage_alert_grouping"
	UpdateRolePermissionReadAlertGrouping                      UpdateRolePermission = "read_alert_grouping"
	UpdateRolePermissionManageAlertRules                       UpdateRolePermission = "manage_alert_rules"
	UpdateRolePermissionReadAlertRules                         UpdateRolePermission = "read_alert_rules"
	UpdateRolePermissionManageCallRoutes                       UpdateRolePermission = "manage_call_routes"
	UpdateRolePermissionReadCallRoutes                         UpdateRolePermission = "read_call_routes"
	UpdateRolePermissionManageEscalationPolicies               UpdateRolePermission = "manage_escalation_policies"
	UpdateRolePermissionReadEscalationPolicies                 UpdateRolePermission = "read_escalation_policies"
	UpdateRolePermissionManageEventSources                     UpdateRolePermission = "manage_event_sources"
	UpdateRolePermissionReadEventSources                       UpdateRolePermission = "read_event_sources"
	UpdateRolePermissionManageOnCallSchedules                  UpdateRolePermission = "manage_on_call_schedules"
	UpdateRolePermissionReadOnCallSchedules                    UpdateRolePermission = "read_on_call_schedules"
	UpdateRolePermissionManageOnCallShifts                     UpdateRolePermission = "manage_on_call_shifts"
	UpdateRolePermissionClaimOnCallShifts                      UpdateRolePermission = "claim_on_call_shifts"
	UpdateRolePermissionManageOrganizationNotificationPolicies UpdateRolePermission = "manage_organization_notification_policies"
	UpdateRolePermissionReadNotificationPolicyCompliance       UpdateRolePermission = "read_notification_policy_compliance"
	UpdateRolePermissionManageWebhookTargets                   UpdateRolePermission = "manage_webhook_targets"
	UpdateRolePermissionReadWebhookTargets                     UpdateRolePermission = "read_webhook_targets"
	UpdateRolePermissionReadAnalytics                          UpdateRolePermission = "read_analytics"
	UpdateRolePermissionManageAPIKeys                          UpdateRolePermission = "manage_api_keys"
	UpdateRolePermissionReadAPIKeys                            UpdateRolePermission = "read_api_keys"
	UpdateRolePermissionManageAudiences                        UpdateRolePermission = "manage_audiences"
	UpdateRolePermissionReadAudiences                          UpdateRolePermission = "read_audiences"
	UpdateRolePermissionReadAuditEvents                        UpdateRolePermission = "read_audit_events"
	UpdateRolePermissionManageChangeEvents                     UpdateRolePermission = "manage_change_events"
	UpdateRolePermissionReadChangeEvents                       UpdateRolePermission = "read_change_events"
	UpdateRolePermissionManageIncidents                        UpdateRolePermission = "manage_incidents"
	UpdateRolePermissionCreateIncidents                        UpdateRolePermission = "create_incidents"
	UpdateRolePermissionReadIncidents                          UpdateRolePermission = "read_incidents"
	UpdateRolePermissionManageIncidentSettings                 UpdateRolePermission = "manage_incident_settings"
	UpdateRolePermissionReadIncidentSettings                   UpdateRolePermission = "read_incident_settings"
	UpdateRolePermissionManageIntegrations                     UpdateRolePermission = "manage_integrations"
	UpdateRolePermissionReadIntegrations                       UpdateRolePermission = "read_integrations"
	UpdateRolePermissionManagePrivateIncidents                 UpdateRolePermission = "manage_private_incidents"
	UpdateRolePermissionManageOrganizationSecrets              UpdateRolePermission = "manage_organization_secrets"
	UpdateRolePermissionReadOrganizationSecrets                UpdateRolePermission = "read_organization_secrets"
	UpdateRolePermissionManageOrganizationSettings             UpdateRolePermission = "manage_organization_settings"
	UpdateRolePermissionReadOrganizationSettings               UpdateRolePermission = "read_organization_settings"
	UpdateRolePermissionManageRoles                            UpdateRolePermission = "manage_roles"
	UpdateRolePermissionReadRoles                              UpdateRolePermission = "read_roles"
	UpdateRolePermissionManageRunbooks                         UpdateRolePermission = "manage_runbooks"
	UpdateRolePermissionReadRunbooks                           UpdateRolePermission = "read_runbooks"
	UpdateRolePermissionManageServiceCatalog                   UpdateRolePermission = "manage_service_catalog"
	UpdateRolePermissionReadServiceCatalog                     UpdateRolePermission = "read_service_catalog"
	UpdateRolePermissionManageStatusTemplates                  UpdateRolePermission = "manage_status_templates"
	UpdateRolePermissionReadStatusTemplates                    UpdateRolePermission = "read_status_templates"
	UpdateRolePermissionManageStatusPageUpdates                UpdateRolePermission = "manage_status_page_updates"
	UpdateRolePermissionManageSupportHours                     UpdateRolePermission = "manage_support_hours"
	UpdateRolePermissionReadSupportHours                       UpdateRolePermission = "read_support_hours"
	UpdateRolePermissionManageTeams                            UpdateRolePermission = "manage_teams"
	UpdateRolePermissionReadTeams                              UpdateRolePermission = "read_teams"
	UpdateRolePermissionManageUsers                            UpdateRolePermission = "manage_users"
	UpdateRolePermissionReadUsers                              UpdateRolePermission = "read_users"
	UpdateRolePermissionManageWebhooks                         UpdateRolePermission = "manage_webhooks"
	UpdateRolePermissionReadWebhooks                           UpdateRolePermission = "read_webhooks"
)

func (UpdateRolePermission) ToPointer ¶

func (*UpdateRolePermission) UnmarshalJSON ¶

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

type UpdateRunbook ¶

type UpdateRunbook struct {
	Name        *string `json:"name,omitempty"`
	Summary     *string `json:"summary,omitempty"`
	Description *string `json:"description,omitempty"`
	// Whether or not this runbook is a tutorial runbook
	Tutorial *bool `json:"tutorial,omitempty"`
	// An object representing a Team that owns the runbook
	Owner          *UpdateRunbookOwner          `json:"owner,omitempty"`
	Severities     []UpdateRunbookSeverity      `json:"severities,omitempty"`
	Services       []UpdateRunbookService       `json:"services,omitempty"`
	Environments   []Environment                `json:"environments,omitempty"`
	AttachmentRule *UpdateRunbookAttachmentRule `json:"attachment_rule,omitempty"`
	Steps          []UpdateRunbookStep          `json:"steps,omitempty"`
	// Whether or not this runbook should be automatically attached to restricted incidents. Note that setting this to `true` will prevent it from being attached to public incidents, even manually. Defaults to `false`.
	AutoAttachToRestrictedIncidents *bool `json:"auto_attach_to_restricted_incidents,omitempty"`
}

UpdateRunbook - Update a runbook and any attachment rules associated with it. This endpoint is used to configure nearly everything about a runbook, including but not limited to the steps, environments, attachment rules, and severities.

func (*UpdateRunbook) GetAttachmentRule ¶

func (u *UpdateRunbook) GetAttachmentRule() *UpdateRunbookAttachmentRule

func (*UpdateRunbook) GetAutoAttachToRestrictedIncidents ¶

func (u *UpdateRunbook) GetAutoAttachToRestrictedIncidents() *bool

func (*UpdateRunbook) GetDescription ¶

func (u *UpdateRunbook) GetDescription() *string

func (*UpdateRunbook) GetEnvironments ¶

func (u *UpdateRunbook) GetEnvironments() []Environment

func (*UpdateRunbook) GetName ¶

func (u *UpdateRunbook) GetName() *string

func (*UpdateRunbook) GetOwner ¶

func (u *UpdateRunbook) GetOwner() *UpdateRunbookOwner

func (*UpdateRunbook) GetServices ¶

func (u *UpdateRunbook) GetServices() []UpdateRunbookService

func (*UpdateRunbook) GetSeverities ¶

func (u *UpdateRunbook) GetSeverities() []UpdateRunbookSeverity

func (*UpdateRunbook) GetSteps ¶

func (u *UpdateRunbook) GetSteps() []UpdateRunbookStep

func (*UpdateRunbook) GetSummary ¶

func (u *UpdateRunbook) GetSummary() *string

func (*UpdateRunbook) GetTutorial ¶

func (u *UpdateRunbook) GetTutorial() *bool

type UpdateRunbookAttachmentRule ¶

type UpdateRunbookAttachmentRule struct {
	// The JSON logic for the attaching the runbook
	Logic string `json:"logic"`
	// The user data for the rule
	UserData *string `json:"user_data,omitempty"`
}

func (*UpdateRunbookAttachmentRule) GetLogic ¶

func (u *UpdateRunbookAttachmentRule) GetLogic() string

func (*UpdateRunbookAttachmentRule) GetUserData ¶

func (u *UpdateRunbookAttachmentRule) GetUserData() *string

type UpdateRunbookExecutionStep ¶

type UpdateRunbookExecutionStep struct {
	State       string     `json:"state"`
	ScheduleFor *time.Time `json:"schedule_for,omitempty"`
	// Data for execution of this step
	Data      map[string]any `json:"data,omitempty"`
	RepeatsAt *time.Time     `json:"repeats_at,omitempty"`
}

UpdateRunbookExecutionStep - Updates a runbook step execution, especially for changing the state of a step execution.

func (*UpdateRunbookExecutionStep) GetData ¶

func (u *UpdateRunbookExecutionStep) GetData() map[string]any

func (*UpdateRunbookExecutionStep) GetRepeatsAt ¶

func (u *UpdateRunbookExecutionStep) GetRepeatsAt() *time.Time

func (*UpdateRunbookExecutionStep) GetScheduleFor ¶

func (u *UpdateRunbookExecutionStep) GetScheduleFor() *time.Time

func (*UpdateRunbookExecutionStep) GetState ¶

func (u *UpdateRunbookExecutionStep) GetState() string

func (UpdateRunbookExecutionStep) MarshalJSON ¶

func (u UpdateRunbookExecutionStep) MarshalJSON() ([]byte, error)

func (*UpdateRunbookExecutionStep) UnmarshalJSON ¶

func (u *UpdateRunbookExecutionStep) UnmarshalJSON(data []byte) error

type UpdateRunbookOwner ¶

type UpdateRunbookOwner struct {
	ID *string `json:"id,omitempty"`
}

UpdateRunbookOwner - An object representing a Team that owns the runbook

func (*UpdateRunbookOwner) GetID ¶

func (u *UpdateRunbookOwner) GetID() *string

type UpdateRunbookRule ¶

type UpdateRunbookRule struct {
	// The JSON logic for the rule
	Logic string `json:"logic"`
	// The user data for the rule
	UserData *string `json:"user_data,omitempty"`
}

func (*UpdateRunbookRule) GetLogic ¶

func (u *UpdateRunbookRule) GetLogic() string

func (*UpdateRunbookRule) GetUserData ¶

func (u *UpdateRunbookRule) GetUserData() *string

type UpdateRunbookService ¶

type UpdateRunbookService struct {
	ID *string `json:"id,omitempty"`
}

func (*UpdateRunbookService) GetID ¶

func (u *UpdateRunbookService) GetID() *string

type UpdateRunbookSeverity ¶

type UpdateRunbookSeverity struct {
	ID *string `json:"id,omitempty"`
}

func (*UpdateRunbookSeverity) GetID ¶

func (u *UpdateRunbookSeverity) GetID() *string

type UpdateRunbookStep ¶

type UpdateRunbookStep struct {
	// ID of step to be updated
	StepID *string `json:"step_id,omitempty"`
	// Name for step
	Name string `json:"name"`
	// ID of action to use for this step.
	ActionID string             `json:"action_id"`
	Rule     *UpdateRunbookRule `json:"rule,omitempty"`
}

func (*UpdateRunbookStep) GetActionID ¶

func (u *UpdateRunbookStep) GetActionID() string

func (*UpdateRunbookStep) GetName ¶

func (u *UpdateRunbookStep) GetName() string

func (*UpdateRunbookStep) GetRule ¶

func (u *UpdateRunbookStep) GetRule() *UpdateRunbookRule

func (*UpdateRunbookStep) GetStepID ¶

func (u *UpdateRunbookStep) GetStepID() *string

type UpdateSavedSearch ¶

type UpdateSavedSearch struct {
	IsPrivate    *bool          `json:"is_private,omitempty"`
	Name         *string        `json:"name,omitempty"`
	FilterValues map[string]any `json:"filter_values,omitempty"`
}

UpdateSavedSearch - Update a specific saved search

func (*UpdateSavedSearch) GetFilterValues ¶

func (u *UpdateSavedSearch) GetFilterValues() map[string]any

func (*UpdateSavedSearch) GetIsPrivate ¶

func (u *UpdateSavedSearch) GetIsPrivate() *bool

func (*UpdateSavedSearch) GetName ¶

func (u *UpdateSavedSearch) GetName() *string

type UpdateScheduledMaintenance ¶

type UpdateScheduledMaintenance struct {
	Name    *string `json:"name,omitempty"`
	Summary *string `json:"summary,omitempty"`
	// ISO8601 timestamp for the start time of the scheduled maintenance
	StartsAt *time.Time `json:"starts_at,omitempty"`
	// ISO8601 timestamp for the end time of the scheduled maintenance
	EndsAt      *time.Time `json:"ends_at,omitempty"`
	Description *string    `json:"description,omitempty"`
	// A json object of label keys and values
	Labels map[string]string `json:"labels,omitempty"`
	// An array of status pages to display this maintenance on
	StatusPages []UpdateScheduledMaintenanceStatusPage `json:"status_pages,omitempty"`
	// An array of impact/condition combinations
	Impacts []UpdateScheduledMaintenanceImpact `json:"impacts,omitempty"`
}

UpdateScheduledMaintenance - Change the conditions of a scheduled maintenance event, including updating any status page announcements of changes.

func (*UpdateScheduledMaintenance) GetDescription ¶

func (u *UpdateScheduledMaintenance) GetDescription() *string

func (*UpdateScheduledMaintenance) GetEndsAt ¶

func (u *UpdateScheduledMaintenance) GetEndsAt() *time.Time

func (*UpdateScheduledMaintenance) GetImpacts ¶

func (*UpdateScheduledMaintenance) GetLabels ¶

func (u *UpdateScheduledMaintenance) GetLabels() map[string]string

func (*UpdateScheduledMaintenance) GetName ¶

func (u *UpdateScheduledMaintenance) GetName() *string

func (*UpdateScheduledMaintenance) GetStartsAt ¶

func (u *UpdateScheduledMaintenance) GetStartsAt() *time.Time

func (*UpdateScheduledMaintenance) GetStatusPages ¶

func (*UpdateScheduledMaintenance) GetSummary ¶

func (u *UpdateScheduledMaintenance) GetSummary() *string

func (UpdateScheduledMaintenance) MarshalJSON ¶

func (u UpdateScheduledMaintenance) MarshalJSON() ([]byte, error)

func (*UpdateScheduledMaintenance) UnmarshalJSON ¶

func (u *UpdateScheduledMaintenance) UnmarshalJSON(data []byte) error

type UpdateScheduledMaintenanceImpact ¶

type UpdateScheduledMaintenanceImpact struct {
	// The type of impact
	Type string `json:"type"`
	// The id of impact
	ID string `json:"id"`
	// The id of the condition
	ConditionID string `json:"condition_id"`
}

func (*UpdateScheduledMaintenanceImpact) GetConditionID ¶

func (u *UpdateScheduledMaintenanceImpact) GetConditionID() string

func (*UpdateScheduledMaintenanceImpact) GetID ¶

func (*UpdateScheduledMaintenanceImpact) GetType ¶

type UpdateScheduledMaintenanceStatusPage ¶

type UpdateScheduledMaintenanceStatusPage struct {
	// The slug identifying the type of status page
	IntegrationSlug *string `json:"integration_slug,omitempty"`
	// The UUID of the status page to display this maintenance on
	ConnectionID string `json:"connection_id"`
}

func (*UpdateScheduledMaintenanceStatusPage) GetConnectionID ¶

func (u *UpdateScheduledMaintenanceStatusPage) GetConnectionID() string

func (*UpdateScheduledMaintenanceStatusPage) GetIntegrationSlug ¶

func (u *UpdateScheduledMaintenanceStatusPage) GetIntegrationSlug() *string

type UpdateScimGroup ¶

type UpdateScimGroup struct {
	// The name of the team being updated
	DisplayName string                  `json:"displayName"`
	Members     []UpdateScimGroupMember `json:"members"`
}

UpdateScimGroup - SCIM endpoint to update a Team (Colloquial for Group in the SCIM protocol). Any members defined in the payload will be assigned to the team with no defined role, any missing members will be removed from the team.

func (*UpdateScimGroup) GetDisplayName ¶

func (u *UpdateScimGroup) GetDisplayName() string

func (*UpdateScimGroup) GetMembers ¶

func (u *UpdateScimGroup) GetMembers() []UpdateScimGroupMember

type UpdateScimGroupMember ¶

type UpdateScimGroupMember struct {
	// String that represents the user's UUID to assign to the team
	Value string `json:"value"`
}

func (*UpdateScimGroupMember) GetValue ¶

func (u *UpdateScimGroupMember) GetValue() string

type UpdateScimUser ¶

type UpdateScimUser struct {
	// A service provider's unique identifier for the user
	UserName *string `json:"userName,omitempty"`
	// The components of the user's name
	Name *UpdateScimUserName `json:"name,omitempty"`
	// Email addresses for the User
	Emails []UpdateScimUserEmail `json:"emails,omitempty"`
	// Roles for the User. Options are owner, member, collaborator, or viewer. Roles may be specified as strings or SCIM role objects.
	Roles *UpdateScimUserRoles `json:"roles,omitempty"`
	// Boolean that represents whether user is active
	Active *bool `json:"active,omitempty"`
	// Phone numbers for the User
	PhoneNumbers []UpdateScimUserPhoneNumber `json:"phoneNumbers,omitempty"`
}

UpdateScimUser - PUT SCIM endpoint to update a User. This endpoint is used to replace a resource's attributes.

func (*UpdateScimUser) GetActive ¶

func (u *UpdateScimUser) GetActive() *bool

func (*UpdateScimUser) GetEmails ¶

func (u *UpdateScimUser) GetEmails() []UpdateScimUserEmail

func (*UpdateScimUser) GetName ¶

func (u *UpdateScimUser) GetName() *UpdateScimUserName

func (*UpdateScimUser) GetPhoneNumbers ¶

func (u *UpdateScimUser) GetPhoneNumbers() []UpdateScimUserPhoneNumber

func (*UpdateScimUser) GetRoles ¶

func (u *UpdateScimUser) GetRoles() *UpdateScimUserRoles

func (*UpdateScimUser) GetUserName ¶

func (u *UpdateScimUser) GetUserName() *string

type UpdateScimUserEmail ¶

type UpdateScimUserEmail struct {
	// String that represents an email address for the User
	Value string `json:"value"`
	// Boolean which signifies if an email is intended as the primary email for the User
	Primary *bool `json:"primary,omitempty"`
}

func (*UpdateScimUserEmail) GetPrimary ¶

func (u *UpdateScimUserEmail) GetPrimary() *bool

func (*UpdateScimUserEmail) GetValue ¶

func (u *UpdateScimUserEmail) GetValue() string

type UpdateScimUserName ¶

type UpdateScimUserName struct {
	// The family name of the User, or last name in most Western languages
	GivenName string `json:"givenName"`
	// The given name of the User, or first name in most Western languages
	FamilyName string `json:"familyName"`
}

UpdateScimUserName - The components of the user's name

func (*UpdateScimUserName) GetFamilyName ¶

func (u *UpdateScimUserName) GetFamilyName() string

func (*UpdateScimUserName) GetGivenName ¶

func (u *UpdateScimUserName) GetGivenName() string

type UpdateScimUserPhoneNumber ¶

type UpdateScimUserPhoneNumber struct {
	// String that represents a phone number for the User
	Value string `json:"value"`
	// Type of phone number (mobile, work, home, etc.)
	Type *string `json:"type,omitempty"`
	// Boolean which signifies if a phone number is intended as the primary phone for the User
	Primary *bool `json:"primary,omitempty"`
}

func (*UpdateScimUserPhoneNumber) GetPrimary ¶

func (u *UpdateScimUserPhoneNumber) GetPrimary() *bool

func (*UpdateScimUserPhoneNumber) GetType ¶

func (u *UpdateScimUserPhoneNumber) GetType() *string

func (*UpdateScimUserPhoneNumber) GetValue ¶

func (u *UpdateScimUserPhoneNumber) GetValue() string

type UpdateScimUserRoles ¶

type UpdateScimUserRoles struct {
}

UpdateScimUserRoles - Roles for the User. Options are owner, member, collaborator, or viewer. Roles may be specified as strings or SCIM role objects.

type UpdateService ¶

type UpdateService struct {
	AlertOnAdd            *bool `json:"alert_on_add,omitempty"`
	AutoAddRespondingTeam *bool `json:"auto_add_responding_team,omitempty"`
	// Array of checklist IDs to attach to the service
	Checklists  []Checklist `json:"checklists,omitempty"`
	Description *string     `json:"description,omitempty"`
	// An array of external resources to attach to this service.
	ExternalResources []UpdateServiceExternalResource `json:"external_resources,omitempty"`
	// An array of functionalities
	Functionalities []UpdateServiceFunctionality `json:"functionalities,omitempty"`
	// A hash of label keys and values
	Labels map[string]string `json:"labels,omitempty"`
	// An array of links to associate with this service. This will remove all links not present in the patch. Only acts if 'links' key is included in the payload.
	Links []UpdateServiceLink `json:"links,omitempty"`
	Name  *string             `json:"name,omitempty"`
	// An object representing a Team that owns the service
	Owner *UpdateServiceOwner `json:"owner,omitempty"`
	// If you are trying to remove a team as an owner from a service, set this to 'true'
	RemoveOwner *bool `json:"remove_owner,omitempty"`
	// If set to true, any checklists tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the checklists
	RemoveRemainingChecklists *bool `json:"remove_remaining_checklists,omitempty"`
	// If set to true, any external_resources tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the external_resources
	RemoveRemainingExternalResources *bool `json:"remove_remaining_external_resources,omitempty"`
	// If set to true, any functionalities tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the functionalities
	RemoveRemainingFunctionalities *bool `json:"remove_remaining_functionalities,omitempty"`
	// If set to true, any teams tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the teams
	RemoveRemainingTeams *bool `json:"remove_remaining_teams,omitempty"`
	// Integer representing service tier
	ServiceTier *UpdateServiceServiceTier `json:"service_tier,omitempty"`
	// An array of teams to attach to this service.
	Teams []UpdateServiceTeam `json:"teams,omitempty"`
}

UpdateService - Update a services attributes, you may also add or remove functionalities from the service as well. Note: You may not remove or add individual label key/value pairs. You must include the entire object to override label values.

func (*UpdateService) GetAlertOnAdd ¶

func (u *UpdateService) GetAlertOnAdd() *bool

func (*UpdateService) GetAutoAddRespondingTeam ¶

func (u *UpdateService) GetAutoAddRespondingTeam() *bool

func (*UpdateService) GetChecklists ¶

func (u *UpdateService) GetChecklists() []Checklist

func (*UpdateService) GetDescription ¶

func (u *UpdateService) GetDescription() *string

func (*UpdateService) GetExternalResources ¶

func (u *UpdateService) GetExternalResources() []UpdateServiceExternalResource

func (*UpdateService) GetFunctionalities ¶

func (u *UpdateService) GetFunctionalities() []UpdateServiceFunctionality

func (*UpdateService) GetLabels ¶

func (u *UpdateService) GetLabels() map[string]string
func (u *UpdateService) GetLinks() []UpdateServiceLink

func (*UpdateService) GetName ¶

func (u *UpdateService) GetName() *string

func (*UpdateService) GetOwner ¶

func (u *UpdateService) GetOwner() *UpdateServiceOwner

func (*UpdateService) GetRemoveOwner ¶

func (u *UpdateService) GetRemoveOwner() *bool

func (*UpdateService) GetRemoveRemainingChecklists ¶

func (u *UpdateService) GetRemoveRemainingChecklists() *bool

func (*UpdateService) GetRemoveRemainingExternalResources ¶

func (u *UpdateService) GetRemoveRemainingExternalResources() *bool

func (*UpdateService) GetRemoveRemainingFunctionalities ¶

func (u *UpdateService) GetRemoveRemainingFunctionalities() *bool

func (*UpdateService) GetRemoveRemainingTeams ¶

func (u *UpdateService) GetRemoveRemainingTeams() *bool

func (*UpdateService) GetServiceTier ¶

func (u *UpdateService) GetServiceTier() *UpdateServiceServiceTier

func (*UpdateService) GetTeams ¶

func (u *UpdateService) GetTeams() []UpdateServiceTeam

type UpdateServiceDependency ¶

type UpdateServiceDependency struct {
	// A note to describe the service dependency relationship
	Notes *string `json:"notes,omitempty"`
}

UpdateServiceDependency - Update the notes of the service dependency

func (*UpdateServiceDependency) GetNotes ¶

func (u *UpdateServiceDependency) GetNotes() *string

type UpdateServiceExternalResource ¶

type UpdateServiceExternalResource struct {
	RemoteID string `json:"remote_id"`
	// The integration slug for the external resource. Can be one of: github, opsgenie, pager_duty, victorops. Not required if the resource has already been imported.
	ConnectionType *string `json:"connection_type,omitempty"`
	// If you are trying to remove an external resource from a service, set this to 'true'.
	Remove *bool `json:"remove,omitempty"`
}

func (*UpdateServiceExternalResource) GetConnectionType ¶

func (u *UpdateServiceExternalResource) GetConnectionType() *string

func (*UpdateServiceExternalResource) GetRemoteID ¶

func (u *UpdateServiceExternalResource) GetRemoteID() string

func (*UpdateServiceExternalResource) GetRemove ¶

func (u *UpdateServiceExternalResource) GetRemove() *bool

type UpdateServiceFunctionality ¶

type UpdateServiceFunctionality struct {
	// If you are trying to reuse a functionality, you may set the ID to attach it to the service
	ID *string `json:"id,omitempty"`
	// If you are trying to remove a functionality from a service, set this to 'true'
	Remove *bool `json:"remove,omitempty"`
	// If you are trying to create a new functionality and attach it to this service, set the summary key
	Summary *string `json:"summary,omitempty"`
}

func (*UpdateServiceFunctionality) GetID ¶

func (u *UpdateServiceFunctionality) GetID() *string

func (*UpdateServiceFunctionality) GetRemove ¶

func (u *UpdateServiceFunctionality) GetRemove() *bool

func (*UpdateServiceFunctionality) GetSummary ¶

func (u *UpdateServiceFunctionality) GetSummary() *string
type UpdateServiceLink struct {
	// URL
	HrefURL string `json:"href_url"`
	// Short name used to display and identify this link
	Name string `json:"name"`
	// An optional URL to an icon representing this link
	IconURL *string `json:"icon_url,omitempty"`
	// If you are trying to remove a link, set this to 'true'
	Remove *bool `json:"remove,omitempty"`
	// If updating an existing link, specify it's id.
	ID *string `json:"id,omitempty"`
}

func (*UpdateServiceLink) GetHrefURL ¶

func (u *UpdateServiceLink) GetHrefURL() string

func (*UpdateServiceLink) GetID ¶

func (u *UpdateServiceLink) GetID() *string

func (*UpdateServiceLink) GetIconURL ¶

func (u *UpdateServiceLink) GetIconURL() *string

func (*UpdateServiceLink) GetName ¶

func (u *UpdateServiceLink) GetName() string

func (*UpdateServiceLink) GetRemove ¶

func (u *UpdateServiceLink) GetRemove() *bool

type UpdateServiceOwner ¶

type UpdateServiceOwner struct {
	ID string `json:"id"`
}

UpdateServiceOwner - An object representing a Team that owns the service

func (*UpdateServiceOwner) GetID ¶

func (u *UpdateServiceOwner) GetID() string

type UpdateServiceServiceTier ¶

type UpdateServiceServiceTier int

UpdateServiceServiceTier - Integer representing service tier

const (
	UpdateServiceServiceTierZero  UpdateServiceServiceTier = 0
	UpdateServiceServiceTierOne   UpdateServiceServiceTier = 1
	UpdateServiceServiceTierTwo   UpdateServiceServiceTier = 2
	UpdateServiceServiceTierThree UpdateServiceServiceTier = 3
	UpdateServiceServiceTierFour  UpdateServiceServiceTier = 4
	UpdateServiceServiceTierFive  UpdateServiceServiceTier = 5
)

func (UpdateServiceServiceTier) ToPointer ¶

func (*UpdateServiceServiceTier) UnmarshalJSON ¶

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

type UpdateServiceTeam ¶

type UpdateServiceTeam struct {
	ID string `json:"id"`
	// If you are trying to remove a team from a service, set this to 'true'
	Remove *bool `json:"remove,omitempty"`
}

func (*UpdateServiceTeam) GetID ¶

func (u *UpdateServiceTeam) GetID() string

func (*UpdateServiceTeam) GetRemove ¶

func (u *UpdateServiceTeam) GetRemove() *bool

type UpdateSeverity ¶

type UpdateSeverity struct {
	Slug        *string              `json:"slug,omitempty"`
	Description *string              `json:"description,omitempty"`
	Position    *int                 `json:"position,omitempty"`
	Color       *UpdateSeverityColor `json:"color,omitempty"`
}

UpdateSeverity - Update a specific severity

func (*UpdateSeverity) GetColor ¶

func (u *UpdateSeverity) GetColor() *UpdateSeverityColor

func (*UpdateSeverity) GetDescription ¶

func (u *UpdateSeverity) GetDescription() *string

func (*UpdateSeverity) GetPosition ¶

func (u *UpdateSeverity) GetPosition() *int

func (*UpdateSeverity) GetSlug ¶

func (u *UpdateSeverity) GetSlug() *string

type UpdateSeverityColor ¶

type UpdateSeverityColor string
const (
	UpdateSeverityColorRed    UpdateSeverityColor = "red"
	UpdateSeverityColorOrange UpdateSeverityColor = "orange"
	UpdateSeverityColorYellow UpdateSeverityColor = "yellow"
	UpdateSeverityColorBlue   UpdateSeverityColor = "blue"
	UpdateSeverityColorTeal   UpdateSeverityColor = "teal"
	UpdateSeverityColorGrey   UpdateSeverityColor = "grey"
	UpdateSeverityColorGreen  UpdateSeverityColor = "green"
)

func (UpdateSeverityColor) ToPointer ¶

func (*UpdateSeverityColor) UnmarshalJSON ¶

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

type UpdateSeverityMatrix ¶

type UpdateSeverityMatrix struct {
	Summary *string                    `json:"summary,omitempty"`
	Data    []UpdateSeverityMatrixData `json:"data"`
}

UpdateSeverityMatrix - Update available severities and impacts in your organization's severity matrix.

func (*UpdateSeverityMatrix) GetData ¶

func (*UpdateSeverityMatrix) GetSummary ¶

func (u *UpdateSeverityMatrix) GetSummary() *string

type UpdateSeverityMatrixCondition ¶

type UpdateSeverityMatrixCondition struct {
	Name *string `json:"name,omitempty"`
	// Position is used to determine ordering of conditions in API responses and dropdowns. The condition with the lowest position (typically 0) will be considered the Default Condition
	Position *int `json:"position,omitempty"`
}

UpdateSeverityMatrixCondition - Update a severity matrix condition

func (*UpdateSeverityMatrixCondition) GetName ¶

func (u *UpdateSeverityMatrixCondition) GetName() *string

func (*UpdateSeverityMatrixCondition) GetPosition ¶

func (u *UpdateSeverityMatrixCondition) GetPosition() *int

type UpdateSeverityMatrixData ¶

type UpdateSeverityMatrixData struct {
	// Slug of a severity
	Severity string `json:"severity"`
	// Impact id
	ImpactID string `json:"impact_id"`
	// Condition id
	ConditionID string `json:"condition_id"`
}

func (*UpdateSeverityMatrixData) GetConditionID ¶

func (u *UpdateSeverityMatrixData) GetConditionID() string

func (*UpdateSeverityMatrixData) GetImpactID ¶

func (u *UpdateSeverityMatrixData) GetImpactID() string

func (*UpdateSeverityMatrixData) GetSeverity ¶

func (u *UpdateSeverityMatrixData) GetSeverity() string

type UpdateSeverityMatrixImpact ¶

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

UpdateSeverityMatrixImpact - Update a severity matrix impact

func (*UpdateSeverityMatrixImpact) GetName ¶

func (u *UpdateSeverityMatrixImpact) GetName() *string

func (*UpdateSeverityMatrixImpact) GetPosition ¶

func (u *UpdateSeverityMatrixImpact) GetPosition() *int

type UpdateSignalsAlert ¶

type UpdateSignalsAlert struct {
	// Whether the alert is noisy
	Noise bool `json:"noise"`
}

UpdateSignalsAlert - Update a Signal alert

func (*UpdateSignalsAlert) GetNoise ¶

func (u *UpdateSignalsAlert) GetNoise() bool

type UpdateSignalsAlertGroupingConfiguration ¶

type UpdateSignalsAlertGroupingConfiguration struct {
	// The strategy to use for grouping alerts
	Strategy *UpdateSignalsAlertGroupingConfigurationStrategy `json:"strategy,omitempty"`
	// The action to take when grouping alerts
	Action *UpdateSignalsAlertGroupingConfigurationAction `json:"action,omitempty"`
	// How long to group alerts for
	ReferenceAlertTimePeriod *string `json:"reference_alert_time_period,omitempty"`
}

UpdateSignalsAlertGroupingConfiguration - Update a Signals alert grouping rule for the organization.

func (*UpdateSignalsAlertGroupingConfiguration) GetAction ¶

func (*UpdateSignalsAlertGroupingConfiguration) GetReferenceAlertTimePeriod ¶

func (u *UpdateSignalsAlertGroupingConfiguration) GetReferenceAlertTimePeriod() *string

func (*UpdateSignalsAlertGroupingConfiguration) GetStrategy ¶

type UpdateSignalsAlertGroupingConfigurationAction ¶

type UpdateSignalsAlertGroupingConfigurationAction struct {
	// Link the alerts and do not notify anyone
	Link *bool `json:"link,omitempty"`
	// Send FYI notification
	Fyi *UpdateSignalsAlertGroupingConfigurationFyi `json:"fyi,omitempty"`
}

UpdateSignalsAlertGroupingConfigurationAction - The action to take when grouping alerts

func (*UpdateSignalsAlertGroupingConfigurationAction) GetFyi ¶

type UpdateSignalsAlertGroupingConfigurationFieldName ¶

type UpdateSignalsAlertGroupingConfigurationFieldName string

UpdateSignalsAlertGroupingConfigurationFieldName - The field to use for grouping alerts

const (
	UpdateSignalsAlertGroupingConfigurationFieldNameSummary UpdateSignalsAlertGroupingConfigurationFieldName = "summary"
	UpdateSignalsAlertGroupingConfigurationFieldNameBody    UpdateSignalsAlertGroupingConfigurationFieldName = "body"
	UpdateSignalsAlertGroupingConfigurationFieldNameTags    UpdateSignalsAlertGroupingConfigurationFieldName = "tags"
)

func (UpdateSignalsAlertGroupingConfigurationFieldName) ToPointer ¶

func (*UpdateSignalsAlertGroupingConfigurationFieldName) UnmarshalJSON ¶

type UpdateSignalsAlertGroupingConfigurationFyi ¶

type UpdateSignalsAlertGroupingConfigurationFyi struct {
	// The slack channel ids to send the notification to
	SlackChannelIds []string `json:"slack_channel_ids"`
}

UpdateSignalsAlertGroupingConfigurationFyi - Send FYI notification

func (*UpdateSignalsAlertGroupingConfigurationFyi) GetSlackChannelIds ¶

func (u *UpdateSignalsAlertGroupingConfigurationFyi) GetSlackChannelIds() []string

type UpdateSignalsAlertGroupingConfigurationStrategy ¶

type UpdateSignalsAlertGroupingConfigurationStrategy struct {
	// The type of strategy to use for grouping alerts
	Substring *UpdateSignalsAlertGroupingConfigurationSubstring `json:"substring,omitempty"`
}

UpdateSignalsAlertGroupingConfigurationStrategy - The strategy to use for grouping alerts

func (*UpdateSignalsAlertGroupingConfigurationStrategy) GetSubstring ¶

type UpdateSignalsAlertGroupingConfigurationSubstring ¶

type UpdateSignalsAlertGroupingConfigurationSubstring struct {
	// The field to use for grouping alerts
	FieldName UpdateSignalsAlertGroupingConfigurationFieldName `json:"field_name"`
	// The value to use for grouping alerts
	Value string `json:"value"`
}

UpdateSignalsAlertGroupingConfigurationSubstring - The type of strategy to use for grouping alerts

func (*UpdateSignalsAlertGroupingConfigurationSubstring) GetFieldName ¶

func (*UpdateSignalsAlertGroupingConfigurationSubstring) GetValue ¶

type UpdateSignalsEmailTarget ¶

type UpdateSignalsEmailTarget struct {
	// The email target's name.
	Name *string `json:"name,omitempty"`
	// The email address that will be listening to events.
	Slug *string `json:"slug,omitempty"`
	// A detailed description of the email target.
	Description *string `json:"description,omitempty"`
	// The target that the email target will notify. This object must contain a `type`
	// field that specifies the type of target and an `id` field that specifies the ID of
	// the target. The `type` field must be one of "escalation_policy", "on_call_schedule",
	// "team", "user", or "slack_channel".
	//
	Target *UpdateSignalsEmailTargetTarget `json:"target,omitempty"`
	// A list of email addresses that are allowed to send events to the target. Must be exact match.
	AllowedSenders []string `json:"allowed_senders,omitempty"`
	// The CEL expression that defines the status of an incoming email that is sent to the target.
	StatusCel *string `json:"status_cel,omitempty"`
	// The CEL expression that defines the level of an incoming email that is sent to the target.
	LevelCel *string `json:"level_cel,omitempty"`
	// A list of CEL expressions that should be evaluated and matched to determine if the target should be notified.
	Rules []string `json:"rules,omitempty"`
	// Whether or not all rules must match, or if only one rule must match.
	RuleMatchingStrategy *UpdateSignalsEmailTargetRuleMatchingStrategy `json:"rule_matching_strategy,omitempty"`
}

UpdateSignalsEmailTarget - Update a Signals email target by ID

func (*UpdateSignalsEmailTarget) GetAllowedSenders ¶

func (u *UpdateSignalsEmailTarget) GetAllowedSenders() []string

func (*UpdateSignalsEmailTarget) GetDescription ¶

func (u *UpdateSignalsEmailTarget) GetDescription() *string

func (*UpdateSignalsEmailTarget) GetLevelCel ¶

func (u *UpdateSignalsEmailTarget) GetLevelCel() *string

func (*UpdateSignalsEmailTarget) GetName ¶

func (u *UpdateSignalsEmailTarget) GetName() *string

func (*UpdateSignalsEmailTarget) GetRuleMatchingStrategy ¶

func (*UpdateSignalsEmailTarget) GetRules ¶

func (u *UpdateSignalsEmailTarget) GetRules() []string

func (*UpdateSignalsEmailTarget) GetSlug ¶

func (u *UpdateSignalsEmailTarget) GetSlug() *string

func (*UpdateSignalsEmailTarget) GetStatusCel ¶

func (u *UpdateSignalsEmailTarget) GetStatusCel() *string

func (*UpdateSignalsEmailTarget) GetTarget ¶

type UpdateSignalsEmailTargetRuleMatchingStrategy ¶

type UpdateSignalsEmailTargetRuleMatchingStrategy string

UpdateSignalsEmailTargetRuleMatchingStrategy - Whether or not all rules must match, or if only one rule must match.

const (
	UpdateSignalsEmailTargetRuleMatchingStrategyAll UpdateSignalsEmailTargetRuleMatchingStrategy = "all"
	UpdateSignalsEmailTargetRuleMatchingStrategyAny UpdateSignalsEmailTargetRuleMatchingStrategy = "any"
)

func (UpdateSignalsEmailTargetRuleMatchingStrategy) ToPointer ¶

func (*UpdateSignalsEmailTargetRuleMatchingStrategy) UnmarshalJSON ¶

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

type UpdateSignalsEmailTargetTarget ¶

type UpdateSignalsEmailTargetTarget struct {
	// The type of target that the inbound email will notify when matched.
	Type UpdateSignalsEmailTargetType `json:"type"`
	// The ID of the target that the inbound email will notify when matched.
	ID string `json:"id"`
}

UpdateSignalsEmailTargetTarget - The target that the email target will notify. This object must contain a `type` field that specifies the type of target and an `id` field that specifies the ID of the target. The `type` field must be one of "escalation_policy", "on_call_schedule", "team", "user", or "slack_channel".

func (*UpdateSignalsEmailTargetTarget) GetID ¶

func (*UpdateSignalsEmailTargetTarget) GetType ¶

type UpdateSignalsEmailTargetType ¶

type UpdateSignalsEmailTargetType string

UpdateSignalsEmailTargetType - The type of target that the inbound email will notify when matched.

const (
	UpdateSignalsEmailTargetTypeTeam                  UpdateSignalsEmailTargetType = "Team"
	UpdateSignalsEmailTargetTypeEntireTeam            UpdateSignalsEmailTargetType = "EntireTeam"
	UpdateSignalsEmailTargetTypeEscalationPolicy      UpdateSignalsEmailTargetType = "EscalationPolicy"
	UpdateSignalsEmailTargetTypeOnCallSchedule        UpdateSignalsEmailTargetType = "OnCallSchedule"
	UpdateSignalsEmailTargetTypeUser                  UpdateSignalsEmailTargetType = "User"
	UpdateSignalsEmailTargetTypeSlackChannel          UpdateSignalsEmailTargetType = "SlackChannel"
	UpdateSignalsEmailTargetTypeMicrosoftTeamsChannel UpdateSignalsEmailTargetType = "MicrosoftTeamsChannel"
	UpdateSignalsEmailTargetTypeWebhook               UpdateSignalsEmailTargetType = "Webhook"
)

func (UpdateSignalsEmailTargetType) ToPointer ¶

func (*UpdateSignalsEmailTargetType) UnmarshalJSON ¶

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

type UpdateSignalsWebhookTarget ¶

type UpdateSignalsWebhookTarget struct {
	// The webhook target's name.
	Name *string `json:"name,omitempty"`
	// An optional detailed description of the webhook target.
	Description *string `json:"description,omitempty"`
	// The URL that the webhook target will notify.
	URL *string `json:"url,omitempty"`
	// An optional secret we will provide in the `FH-Signature` header
	// when sending a payload to the webhook target. This key will not be
	// shown in any response once configured.
	//
	SigningKey *string `json:"signing_key,omitempty"`
}

UpdateSignalsWebhookTarget - Update a Signals webhook target by ID

func (*UpdateSignalsWebhookTarget) GetDescription ¶

func (u *UpdateSignalsWebhookTarget) GetDescription() *string

func (*UpdateSignalsWebhookTarget) GetName ¶

func (u *UpdateSignalsWebhookTarget) GetName() *string

func (*UpdateSignalsWebhookTarget) GetSigningKey ¶

func (u *UpdateSignalsWebhookTarget) GetSigningKey() *string

func (*UpdateSignalsWebhookTarget) GetURL ¶

func (u *UpdateSignalsWebhookTarget) GetURL() *string

type UpdateStatusUpdateTemplate ¶

type UpdateStatusUpdateTemplate struct {
	Name *string `json:"name,omitempty"`
	Body *string `json:"body,omitempty"`
}

UpdateStatusUpdateTemplate - Update a single status update template

func (*UpdateStatusUpdateTemplate) GetBody ¶

func (u *UpdateStatusUpdateTemplate) GetBody() *string

func (*UpdateStatusUpdateTemplate) GetName ¶

func (u *UpdateStatusUpdateTemplate) GetName() *string

type UpdateStatuspageConnection ¶

type UpdateStatuspageConnection struct {
	PageID            *string                              `json:"page_id,omitempty"`
	Severities        []UpdateStatuspageConnectionSeverity `json:"severities,omitempty"`
	Conditions        []Condition                          `json:"conditions,omitempty"`
	MilestoneMappings []MilestoneMapping                   `json:"milestone_mappings,omitempty"`
}

UpdateStatuspageConnection - Update the given Statuspage integration connection.

func (*UpdateStatuspageConnection) GetConditions ¶

func (u *UpdateStatuspageConnection) GetConditions() []Condition

func (*UpdateStatuspageConnection) GetMilestoneMappings ¶

func (u *UpdateStatuspageConnection) GetMilestoneMappings() []MilestoneMapping

func (*UpdateStatuspageConnection) GetPageID ¶

func (u *UpdateStatuspageConnection) GetPageID() *string

func (*UpdateStatuspageConnection) GetSeverities ¶

type UpdateStatuspageConnectionSeverity ¶

type UpdateStatuspageConnectionSeverity struct {
	// FireHydrant severity slug
	SeveritySlug string `json:"severity_slug"`
	// Statuspage.io severity name
	RemoteStatus string `json:"remote_status"`
}

func (*UpdateStatuspageConnectionSeverity) GetRemoteStatus ¶

func (u *UpdateStatuspageConnectionSeverity) GetRemoteStatus() string

func (*UpdateStatuspageConnectionSeverity) GetSeveritySlug ¶

func (u *UpdateStatuspageConnectionSeverity) GetSeveritySlug() string

type UpdateStatuspageConnectionStatus ¶

type UpdateStatuspageConnectionStatus string

UpdateStatuspageConnectionStatus - Statuspage.io status

const (
	UpdateStatuspageConnectionStatusInvestigating UpdateStatuspageConnectionStatus = "investigating"
	UpdateStatuspageConnectionStatusIdentified    UpdateStatuspageConnectionStatus = "identified"
	UpdateStatuspageConnectionStatusMonitoring    UpdateStatuspageConnectionStatus = "monitoring"
	UpdateStatuspageConnectionStatusResolved      UpdateStatuspageConnectionStatus = "resolved"
)

func (UpdateStatuspageConnectionStatus) ToPointer ¶

func (*UpdateStatuspageConnectionStatus) UnmarshalJSON ¶

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

type UpdateTaskList ¶

type UpdateTaskList struct {
	Name          *string                      `json:"name,omitempty"`
	Description   *string                      `json:"description,omitempty"`
	TaskListItems []UpdateTaskListTaskListItem `json:"task_list_items,omitempty"`
}

UpdateTaskList - Updates a task list's attributes and task list items

func (*UpdateTaskList) GetDescription ¶

func (u *UpdateTaskList) GetDescription() *string

func (*UpdateTaskList) GetName ¶

func (u *UpdateTaskList) GetName() *string

func (*UpdateTaskList) GetTaskListItems ¶

func (u *UpdateTaskList) GetTaskListItems() []UpdateTaskListTaskListItem

type UpdateTaskListTaskListItem ¶

type UpdateTaskListTaskListItem struct {
	// A summary of the task
	Summary string `json:"summary"`
	// A long-form description for the task if additional context is helpful
	Description *string `json:"description,omitempty"`
}

func (*UpdateTaskListTaskListItem) GetDescription ¶

func (u *UpdateTaskListTaskListItem) GetDescription() *string

func (*UpdateTaskListTaskListItem) GetSummary ¶

func (u *UpdateTaskListTaskListItem) GetSummary() string

type UpdateTeam ¶

type UpdateTeam struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Slug        *string `json:"slug,omitempty"`
	// The Slack channel ID associated with this team. This may be the reference in FireHydrant's system (i.e. UUID) or the ID value from Slack (e.g. C1234567890).
	//
	SlackChannelID *string `json:"slack_channel_id,omitempty"`
	// MS Teams channel identity for channel associated with this team
	MsTeamsChannel *UpdateTeamMsTeamsChannel `json:"ms_teams_channel,omitempty"`
	Memberships    []UpdateTeamMembership    `json:"memberships,omitempty"`
	// A list of email addresses to invite to join the organization and automatically add to this team. If an email already has a pending invitation, the team will be added to their existing invitation.
	InviteEmails []string `json:"invite_emails,omitempty"`
}

UpdateTeam - Update a single team from its ID

func (*UpdateTeam) GetDescription ¶

func (u *UpdateTeam) GetDescription() *string

func (*UpdateTeam) GetInviteEmails ¶

func (u *UpdateTeam) GetInviteEmails() []string

func (*UpdateTeam) GetMemberships ¶

func (u *UpdateTeam) GetMemberships() []UpdateTeamMembership

func (*UpdateTeam) GetMsTeamsChannel ¶

func (u *UpdateTeam) GetMsTeamsChannel() *UpdateTeamMsTeamsChannel

func (*UpdateTeam) GetName ¶

func (u *UpdateTeam) GetName() *string

func (*UpdateTeam) GetSlackChannelID ¶

func (u *UpdateTeam) GetSlackChannelID() *string

func (*UpdateTeam) GetSlug ¶

func (u *UpdateTeam) GetSlug() *string

type UpdateTeamEscalationPolicy ¶

type UpdateTeamEscalationPolicy struct {
	// The escalation policy's name.
	Name *string `json:"name,omitempty"`
	// A detailed description of the escalation policy.
	Description *string `json:"description,omitempty"`
	// The number of times that the escalation policy should repeat before an alert is dropped.
	Repetitions *int `default:"0" json:"repetitions"`
	// Whether this escalation policy should be the default for the team.
	Default *bool `default:"false" json:"default"`
	// The strategy for handling steps in the escalation policy. Can be "static" or "dynamic_by_priority".
	StepStrategy *string `json:"step_strategy,omitempty"`
	// A list of steps that define how an alert should escalate through the policy.
	Steps []UpdateTeamEscalationPolicyStep `json:"steps,omitempty"`
	// A step that defines where an alert should be sent when the policy is exhausted and the alert is still unacknowledged.
	HandoffStep *UpdateTeamEscalationPolicyHandoffStep `json:"handoff_step,omitempty"`
	// Priority-specific settings for dynamic escalation policies
	PrioritizedSettings *UpdateTeamEscalationPolicyPrioritizedSettings `json:"prioritized_settings,omitempty"`
}

UpdateTeamEscalationPolicy - Update a Signals escalation policy by ID

func (*UpdateTeamEscalationPolicy) GetDefault ¶

func (u *UpdateTeamEscalationPolicy) GetDefault() *bool

func (*UpdateTeamEscalationPolicy) GetDescription ¶

func (u *UpdateTeamEscalationPolicy) GetDescription() *string

func (*UpdateTeamEscalationPolicy) GetHandoffStep ¶

func (*UpdateTeamEscalationPolicy) GetName ¶

func (u *UpdateTeamEscalationPolicy) GetName() *string

func (*UpdateTeamEscalationPolicy) GetPrioritizedSettings ¶

func (*UpdateTeamEscalationPolicy) GetRepetitions ¶

func (u *UpdateTeamEscalationPolicy) GetRepetitions() *int

func (*UpdateTeamEscalationPolicy) GetStepStrategy ¶

func (u *UpdateTeamEscalationPolicy) GetStepStrategy() *string

func (*UpdateTeamEscalationPolicy) GetSteps ¶

func (UpdateTeamEscalationPolicy) MarshalJSON ¶

func (u UpdateTeamEscalationPolicy) MarshalJSON() ([]byte, error)

func (*UpdateTeamEscalationPolicy) UnmarshalJSON ¶

func (u *UpdateTeamEscalationPolicy) UnmarshalJSON(data []byte) error

type UpdateTeamEscalationPolicyDistributionType ¶

type UpdateTeamEscalationPolicyDistributionType string

UpdateTeamEscalationPolicyDistributionType - The round robin configuration for the step. One of 'unspecified', 'round_robin_by_alert', or 'round_robin_by_escalation_policy'.

const (
	UpdateTeamEscalationPolicyDistributionTypeUnspecified                  UpdateTeamEscalationPolicyDistributionType = "unspecified"
	UpdateTeamEscalationPolicyDistributionTypeRoundRobinByAlert            UpdateTeamEscalationPolicyDistributionType = "round_robin_by_alert"
	UpdateTeamEscalationPolicyDistributionTypeRoundRobinByEscalationPolicy UpdateTeamEscalationPolicyDistributionType = "round_robin_by_escalation_policy"
)

func (UpdateTeamEscalationPolicyDistributionType) ToPointer ¶

func (*UpdateTeamEscalationPolicyDistributionType) UnmarshalJSON ¶

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

type UpdateTeamEscalationPolicyHandoffStep ¶

type UpdateTeamEscalationPolicyHandoffStep struct {
	// The type of target to which the policy will hand off.
	TargetType UpdateTeamEscalationPolicyTargetType `json:"target_type"`
	// The ID of the target to which the policy will hand off.
	TargetID string `json:"target_id"`
}

UpdateTeamEscalationPolicyHandoffStep - A step that defines where an alert should be sent when the policy is exhausted and the alert is still unacknowledged.

func (*UpdateTeamEscalationPolicyHandoffStep) GetTargetID ¶

func (*UpdateTeamEscalationPolicyHandoffStep) GetTargetType ¶

type UpdateTeamEscalationPolicyHigh ¶

type UpdateTeamEscalationPolicyHigh struct {
	// Number of repetitions for HIGH priority alerts
	Repetitions *int `json:"repetitions,omitempty"`
	// Handoff step for HIGH priority alerts
	HandoffStep *UpdateTeamEscalationPolicyHighHandoffStep `json:"handoff_step,omitempty"`
}

UpdateTeamEscalationPolicyHigh - Settings for HIGH priority alerts

func (*UpdateTeamEscalationPolicyHigh) GetHandoffStep ¶

func (*UpdateTeamEscalationPolicyHigh) GetRepetitions ¶

func (u *UpdateTeamEscalationPolicyHigh) GetRepetitions() *int

type UpdateTeamEscalationPolicyHighHandoffStep ¶

type UpdateTeamEscalationPolicyHighHandoffStep struct {
	TargetType UpdateTeamEscalationPolicyHighTargetType `json:"target_type"`
	TargetID   string                                   `json:"target_id"`
}

UpdateTeamEscalationPolicyHighHandoffStep - Handoff step for HIGH priority alerts

func (*UpdateTeamEscalationPolicyHighHandoffStep) GetTargetID ¶

func (*UpdateTeamEscalationPolicyHighHandoffStep) GetTargetType ¶

type UpdateTeamEscalationPolicyHighTargetType ¶

type UpdateTeamEscalationPolicyHighTargetType string
const (
	UpdateTeamEscalationPolicyHighTargetTypeEscalationPolicy UpdateTeamEscalationPolicyHighTargetType = "EscalationPolicy"
	UpdateTeamEscalationPolicyHighTargetTypeTeam             UpdateTeamEscalationPolicyHighTargetType = "Team"
)

func (UpdateTeamEscalationPolicyHighTargetType) ToPointer ¶

func (*UpdateTeamEscalationPolicyHighTargetType) UnmarshalJSON ¶

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

type UpdateTeamEscalationPolicyLow ¶

type UpdateTeamEscalationPolicyLow struct {
	// Number of repetitions for LOW priority alerts
	Repetitions *int `json:"repetitions,omitempty"`
	// Handoff step for LOW priority alerts
	HandoffStep *UpdateTeamEscalationPolicyLowHandoffStep `json:"handoff_step,omitempty"`
}

UpdateTeamEscalationPolicyLow - Settings for LOW priority alerts

func (*UpdateTeamEscalationPolicyLow) GetHandoffStep ¶

func (*UpdateTeamEscalationPolicyLow) GetRepetitions ¶

func (u *UpdateTeamEscalationPolicyLow) GetRepetitions() *int

type UpdateTeamEscalationPolicyLowHandoffStep ¶

type UpdateTeamEscalationPolicyLowHandoffStep struct {
	TargetType UpdateTeamEscalationPolicyLowTargetType `json:"target_type"`
	TargetID   string                                  `json:"target_id"`
}

UpdateTeamEscalationPolicyLowHandoffStep - Handoff step for LOW priority alerts

func (*UpdateTeamEscalationPolicyLowHandoffStep) GetTargetID ¶

func (*UpdateTeamEscalationPolicyLowHandoffStep) GetTargetType ¶

type UpdateTeamEscalationPolicyLowTargetType ¶

type UpdateTeamEscalationPolicyLowTargetType string
const (
	UpdateTeamEscalationPolicyLowTargetTypeEscalationPolicy UpdateTeamEscalationPolicyLowTargetType = "EscalationPolicy"
	UpdateTeamEscalationPolicyLowTargetTypeTeam             UpdateTeamEscalationPolicyLowTargetType = "Team"
)

func (UpdateTeamEscalationPolicyLowTargetType) ToPointer ¶

func (*UpdateTeamEscalationPolicyLowTargetType) UnmarshalJSON ¶

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

type UpdateTeamEscalationPolicyMedium ¶

type UpdateTeamEscalationPolicyMedium struct {
	// Number of repetitions for MEDIUM priority alerts
	Repetitions *int `json:"repetitions,omitempty"`
	// Handoff step for MEDIUM priority alerts
	HandoffStep *UpdateTeamEscalationPolicyMediumHandoffStep `json:"handoff_step,omitempty"`
}

UpdateTeamEscalationPolicyMedium - Settings for MEDIUM priority alerts

func (*UpdateTeamEscalationPolicyMedium) GetHandoffStep ¶

func (*UpdateTeamEscalationPolicyMedium) GetRepetitions ¶

func (u *UpdateTeamEscalationPolicyMedium) GetRepetitions() *int

type UpdateTeamEscalationPolicyMediumHandoffStep ¶

type UpdateTeamEscalationPolicyMediumHandoffStep struct {
	TargetType UpdateTeamEscalationPolicyMediumTargetType `json:"target_type"`
	TargetID   string                                     `json:"target_id"`
}

UpdateTeamEscalationPolicyMediumHandoffStep - Handoff step for MEDIUM priority alerts

func (*UpdateTeamEscalationPolicyMediumHandoffStep) GetTargetID ¶

func (*UpdateTeamEscalationPolicyMediumHandoffStep) GetTargetType ¶

type UpdateTeamEscalationPolicyMediumTargetType ¶

type UpdateTeamEscalationPolicyMediumTargetType string
const (
	UpdateTeamEscalationPolicyMediumTargetTypeEscalationPolicy UpdateTeamEscalationPolicyMediumTargetType = "EscalationPolicy"
	UpdateTeamEscalationPolicyMediumTargetTypeTeam             UpdateTeamEscalationPolicyMediumTargetType = "Team"
)

func (UpdateTeamEscalationPolicyMediumTargetType) ToPointer ¶

func (*UpdateTeamEscalationPolicyMediumTargetType) UnmarshalJSON ¶

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

type UpdateTeamEscalationPolicyPrioritizedSettings ¶

type UpdateTeamEscalationPolicyPrioritizedSettings struct {
	// Settings for HIGH priority alerts
	High *UpdateTeamEscalationPolicyHigh `json:"high,omitempty"`
	// Settings for MEDIUM priority alerts
	Medium *UpdateTeamEscalationPolicyMedium `json:"medium,omitempty"`
	// Settings for LOW priority alerts
	Low *UpdateTeamEscalationPolicyLow `json:"low,omitempty"`
}

UpdateTeamEscalationPolicyPrioritizedSettings - Priority-specific settings for dynamic escalation policies

func (*UpdateTeamEscalationPolicyPrioritizedSettings) GetHigh ¶

func (*UpdateTeamEscalationPolicyPrioritizedSettings) GetLow ¶

func (*UpdateTeamEscalationPolicyPrioritizedSettings) GetMedium ¶

type UpdateTeamEscalationPolicyStep ¶

type UpdateTeamEscalationPolicyStep struct {
	// A list of targets that the step will notify. You can specify up to 15 targets per step.
	Targets []UpdateTeamEscalationPolicyTarget `json:"targets,omitempty"`
	// An ISO8601 duration string specifying how long to wait before moving on to the next step. For the last step, this value specifies how long to wait before the escalation policy should repeat, if it repeats.
	Timeout string `json:"timeout"`
	// The round robin configuration for the step. One of 'unspecified', 'round_robin_by_alert', or 'round_robin_by_escalation_policy'.
	DistributionType *UpdateTeamEscalationPolicyDistributionType `json:"distribution_type,omitempty"`
	// A list of priorities (HIGH, MEDIUM, LOW) to which the step applies when using a dynamic escalation policy.
	Priorities []string `json:"priorities,omitempty"`
}

func (*UpdateTeamEscalationPolicyStep) GetDistributionType ¶

func (*UpdateTeamEscalationPolicyStep) GetPriorities ¶

func (u *UpdateTeamEscalationPolicyStep) GetPriorities() []string

func (*UpdateTeamEscalationPolicyStep) GetTargets ¶

func (*UpdateTeamEscalationPolicyStep) GetTimeout ¶

func (u *UpdateTeamEscalationPolicyStep) GetTimeout() string

type UpdateTeamEscalationPolicyTarget ¶

type UpdateTeamEscalationPolicyTarget struct {
	// The type of target that the step will notify.
	Type UpdateTeamEscalationPolicyType `json:"type"`
	// The ID of the target that the step will notify.
	ID string `json:"id"`
}

func (*UpdateTeamEscalationPolicyTarget) GetID ¶

func (*UpdateTeamEscalationPolicyTarget) GetType ¶

type UpdateTeamEscalationPolicyTargetType ¶

type UpdateTeamEscalationPolicyTargetType string

UpdateTeamEscalationPolicyTargetType - The type of target to which the policy will hand off.

const (
	UpdateTeamEscalationPolicyTargetTypeEscalationPolicy UpdateTeamEscalationPolicyTargetType = "EscalationPolicy"
	UpdateTeamEscalationPolicyTargetTypeTeam             UpdateTeamEscalationPolicyTargetType = "Team"
)

func (UpdateTeamEscalationPolicyTargetType) ToPointer ¶

func (*UpdateTeamEscalationPolicyTargetType) UnmarshalJSON ¶

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

type UpdateTeamEscalationPolicyType ¶

type UpdateTeamEscalationPolicyType string

UpdateTeamEscalationPolicyType - The type of target that the step will notify.

const (
	UpdateTeamEscalationPolicyTypeOnCallSchedule        UpdateTeamEscalationPolicyType = "OnCallSchedule"
	UpdateTeamEscalationPolicyTypeUser                  UpdateTeamEscalationPolicyType = "User"
	UpdateTeamEscalationPolicyTypeSlackChannel          UpdateTeamEscalationPolicyType = "SlackChannel"
	UpdateTeamEscalationPolicyTypeMicrosoftTeamsChannel UpdateTeamEscalationPolicyType = "MicrosoftTeamsChannel"
	UpdateTeamEscalationPolicyTypeEntireTeam            UpdateTeamEscalationPolicyType = "EntireTeam"
	UpdateTeamEscalationPolicyTypeWebhook               UpdateTeamEscalationPolicyType = "Webhook"
)

func (UpdateTeamEscalationPolicyType) ToPointer ¶

func (*UpdateTeamEscalationPolicyType) UnmarshalJSON ¶

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

type UpdateTeamMembership ¶

type UpdateTeamMembership struct {
	// The ID of a user to add to the team. This parameter is mutually exclusive with schedule_id and signals_on_call_schedule_id.
	UserID *string `json:"user_id,omitempty"`
	// The ID of a third-party on-call schedule to add to the team, allowing you to specify that whoever is on call for this schedule when the team is assigned to an incident gets added to the incident and optionally assigned to the configured incident role. This parameter is mutually exclusive with user_id and signals_on_call_schedule_id.
	ScheduleID *string `json:"schedule_id,omitempty"`
	// The ID of a Signals on-call schedule to add to the team, allowing you to specify that whoever is on call for this schedule when the team is assigned to an incident gets added to the incident and optionally assigned to the configured incident role.. This parameter is mutually exclusive with user_id and schedule_id.
	SignalsOnCallScheduleID *string `json:"signals_on_call_schedule_id,omitempty"`
	// An incident role ID that this user will automatically assigned if this team is assigned to an incident
	IncidentRoleID *string `json:"incident_role_id,omitempty"`
}

func (*UpdateTeamMembership) GetIncidentRoleID ¶

func (u *UpdateTeamMembership) GetIncidentRoleID() *string

func (*UpdateTeamMembership) GetScheduleID ¶

func (u *UpdateTeamMembership) GetScheduleID() *string

func (*UpdateTeamMembership) GetSignalsOnCallScheduleID ¶

func (u *UpdateTeamMembership) GetSignalsOnCallScheduleID() *string

func (*UpdateTeamMembership) GetUserID ¶

func (u *UpdateTeamMembership) GetUserID() *string

type UpdateTeamMsTeamsChannel ¶

type UpdateTeamMsTeamsChannel struct {
	ChannelID string `json:"channel_id"`
	MsTeamID  string `json:"ms_team_id"`
}

UpdateTeamMsTeamsChannel - MS Teams channel identity for channel associated with this team

func (*UpdateTeamMsTeamsChannel) GetChannelID ¶

func (u *UpdateTeamMsTeamsChannel) GetChannelID() string

func (*UpdateTeamMsTeamsChannel) GetMsTeamID ¶

func (u *UpdateTeamMsTeamsChannel) GetMsTeamID() string

type UpdateTeamOnCallSchedule ¶

type UpdateTeamOnCallSchedule struct {
	// A new name for the on-call schedule.
	Name *string `json:"name,omitempty"`
	// A new, detailed description for the on-call schedule.
	Description *string `json:"description,omitempty"`
	// A new name for the schedule's rotation.
	RotationName *string `json:"rotation_name,omitempty"`
	// A new, detailed description for the schedule's rotation.
	RotationDescription *string `json:"rotation_description,omitempty"`
	// A hex color code that will be used to represent the schedule's rotation in FireHydrant's UI.
	Color *string `json:"color,omitempty"`
	// The time zone in which the on-call schedule's rotation will operate. This value must be a valid IANA time zone name.
	TimeZone *string `json:"time_zone,omitempty"`
	// The ID of a Slack user group to sync the rotation's on-call members to.
	SlackUserGroupID *string `json:"slack_user_group_id,omitempty"`
	// An ordered list of objects that specify members of the schedule's rotation.
	Members []UpdateTeamOnCallScheduleMember `json:"members,omitempty"`
	// An object that specifies how the rotation's on-call shifts should be generated.
	Strategy *UpdateTeamOnCallScheduleStrategy `json:"strategy,omitempty"`
	// A list of objects that restrict the schedule's rotation to specific on-call periods.
	Restrictions []UpdateTeamOnCallScheduleRestriction `json:"restrictions,omitempty"`
	// An ISO8601 time string specifying when the updated schedule should take effect. This
	// value must be provided if editing an attribute that would affect how the schedule's
	// shifts are generated, such as the time zone, members, strategy, or restrictions.
	//
	EffectiveAt *string `json:"effective_at,omitempty"`
	// This parameter is deprecated; use `members` instead.
	MemberIds []string `json:"member_ids,omitempty"`
}

UpdateTeamOnCallSchedule - Update a Signals on-call schedule by ID. For backwards compatibility, all parameters except for `name` and `description` will be ignored if the schedule has more than one rotation. If the schedule has only one rotation, you can continue to update that rotation using the rotation-specific parameters.

func (*UpdateTeamOnCallSchedule) GetColor ¶

func (u *UpdateTeamOnCallSchedule) GetColor() *string

func (*UpdateTeamOnCallSchedule) GetDescription ¶

func (u *UpdateTeamOnCallSchedule) GetDescription() *string

func (*UpdateTeamOnCallSchedule) GetEffectiveAt ¶

func (u *UpdateTeamOnCallSchedule) GetEffectiveAt() *string

func (*UpdateTeamOnCallSchedule) GetMemberIds ¶

func (u *UpdateTeamOnCallSchedule) GetMemberIds() []string

func (*UpdateTeamOnCallSchedule) GetMembers ¶

func (*UpdateTeamOnCallSchedule) GetName ¶

func (u *UpdateTeamOnCallSchedule) GetName() *string

func (*UpdateTeamOnCallSchedule) GetRestrictions ¶

func (*UpdateTeamOnCallSchedule) GetRotationDescription ¶

func (u *UpdateTeamOnCallSchedule) GetRotationDescription() *string

func (*UpdateTeamOnCallSchedule) GetRotationName ¶

func (u *UpdateTeamOnCallSchedule) GetRotationName() *string

func (*UpdateTeamOnCallSchedule) GetSlackUserGroupID ¶

func (u *UpdateTeamOnCallSchedule) GetSlackUserGroupID() *string

func (*UpdateTeamOnCallSchedule) GetStrategy ¶

func (*UpdateTeamOnCallSchedule) GetTimeZone ¶

func (u *UpdateTeamOnCallSchedule) GetTimeZone() *string

type UpdateTeamOnCallScheduleEndDay ¶

type UpdateTeamOnCallScheduleEndDay string

UpdateTeamOnCallScheduleEndDay - The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	UpdateTeamOnCallScheduleEndDayMonday    UpdateTeamOnCallScheduleEndDay = "monday"
	UpdateTeamOnCallScheduleEndDayTuesday   UpdateTeamOnCallScheduleEndDay = "tuesday"
	UpdateTeamOnCallScheduleEndDayWednesday UpdateTeamOnCallScheduleEndDay = "wednesday"
	UpdateTeamOnCallScheduleEndDayThursday  UpdateTeamOnCallScheduleEndDay = "thursday"
	UpdateTeamOnCallScheduleEndDayFriday    UpdateTeamOnCallScheduleEndDay = "friday"
	UpdateTeamOnCallScheduleEndDaySaturday  UpdateTeamOnCallScheduleEndDay = "saturday"
	UpdateTeamOnCallScheduleEndDaySunday    UpdateTeamOnCallScheduleEndDay = "sunday"
)

func (UpdateTeamOnCallScheduleEndDay) ToPointer ¶

func (*UpdateTeamOnCallScheduleEndDay) UnmarshalJSON ¶

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

type UpdateTeamOnCallScheduleHandoffDay ¶

type UpdateTeamOnCallScheduleHandoffDay string

UpdateTeamOnCallScheduleHandoffDay - The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".

const (
	UpdateTeamOnCallScheduleHandoffDayMonday    UpdateTeamOnCallScheduleHandoffDay = "monday"
	UpdateTeamOnCallScheduleHandoffDayTuesday   UpdateTeamOnCallScheduleHandoffDay = "tuesday"
	UpdateTeamOnCallScheduleHandoffDayWednesday UpdateTeamOnCallScheduleHandoffDay = "wednesday"
	UpdateTeamOnCallScheduleHandoffDayThursday  UpdateTeamOnCallScheduleHandoffDay = "thursday"
	UpdateTeamOnCallScheduleHandoffDayFriday    UpdateTeamOnCallScheduleHandoffDay = "friday"
	UpdateTeamOnCallScheduleHandoffDaySaturday  UpdateTeamOnCallScheduleHandoffDay = "saturday"
	UpdateTeamOnCallScheduleHandoffDaySunday    UpdateTeamOnCallScheduleHandoffDay = "sunday"
)

func (UpdateTeamOnCallScheduleHandoffDay) ToPointer ¶

func (*UpdateTeamOnCallScheduleHandoffDay) UnmarshalJSON ¶

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

type UpdateTeamOnCallScheduleMember ¶

type UpdateTeamOnCallScheduleMember struct {
	// The ID of a user who should be added to the schedule's rotation. You can add a user to the rotation
	// multiple times to construct more complex rotations, and you can specify a `null` user ID to create
	// unassigned slots in the rotation.
	//
	UserID *string `json:"user_id,omitempty"`
}

func (*UpdateTeamOnCallScheduleMember) GetUserID ¶

func (u *UpdateTeamOnCallScheduleMember) GetUserID() *string

type UpdateTeamOnCallScheduleRestriction ¶

type UpdateTeamOnCallScheduleRestriction struct {
	// The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).
	StartDay UpdateTeamOnCallScheduleStartDay `json:"start_day"`
	// An ISO8601 time string specifying when the restriction should start.
	StartTime string `json:"start_time"`
	// The day of the week on which the restriction should end, as its long-form name (e.g. "monday", "tuesday", etc).
	EndDay UpdateTeamOnCallScheduleEndDay `json:"end_day"`
	// An ISO8601 time string specifying when the restriction should end.
	EndTime string `json:"end_time"`
}

func (*UpdateTeamOnCallScheduleRestriction) GetEndDay ¶

func (*UpdateTeamOnCallScheduleRestriction) GetEndTime ¶

func (*UpdateTeamOnCallScheduleRestriction) GetStartDay ¶

func (*UpdateTeamOnCallScheduleRestriction) GetStartTime ¶

func (u *UpdateTeamOnCallScheduleRestriction) GetStartTime() string

type UpdateTeamOnCallScheduleStartDay ¶

type UpdateTeamOnCallScheduleStartDay string

UpdateTeamOnCallScheduleStartDay - The day of the week on which the restriction should start, as its long-form name (e.g. "monday", "tuesday", etc).

const (
	UpdateTeamOnCallScheduleStartDayMonday    UpdateTeamOnCallScheduleStartDay = "monday"
	UpdateTeamOnCallScheduleStartDayTuesday   UpdateTeamOnCallScheduleStartDay = "tuesday"
	UpdateTeamOnCallScheduleStartDayWednesday UpdateTeamOnCallScheduleStartDay = "wednesday"
	UpdateTeamOnCallScheduleStartDayThursday  UpdateTeamOnCallScheduleStartDay = "thursday"
	UpdateTeamOnCallScheduleStartDayFriday    UpdateTeamOnCallScheduleStartDay = "friday"
	UpdateTeamOnCallScheduleStartDaySaturday  UpdateTeamOnCallScheduleStartDay = "saturday"
	UpdateTeamOnCallScheduleStartDaySunday    UpdateTeamOnCallScheduleStartDay = "sunday"
)

func (UpdateTeamOnCallScheduleStartDay) ToPointer ¶

func (*UpdateTeamOnCallScheduleStartDay) UnmarshalJSON ¶

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

type UpdateTeamOnCallScheduleStrategy ¶

type UpdateTeamOnCallScheduleStrategy struct {
	// The type of strategy. Must be one of "daily", "weekly", or "custom".
	Type UpdateTeamOnCallScheduleType `json:"type"`
	// An ISO8601 time string specifying when on-call shifts should hand off. This value is only used if the strategy type is "daily" or "weekly".
	HandoffTime *string `json:"handoff_time,omitempty"`
	// The day of the week on which on-call shifts should hand off, as its long-form name (e.g. "monday", "tuesday", etc). This value is only used if the strategy type is "weekly".
	HandoffDay *UpdateTeamOnCallScheduleHandoffDay `json:"handoff_day,omitempty"`
	// An ISO8601 duration string specifying how long each shift should last. This value is only used if the strategy type is "custom".
	ShiftDuration *string `json:"shift_duration,omitempty"`
}

UpdateTeamOnCallScheduleStrategy - An object that specifies how the rotation's on-call shifts should be generated.

func (*UpdateTeamOnCallScheduleStrategy) GetHandoffDay ¶

func (*UpdateTeamOnCallScheduleStrategy) GetHandoffTime ¶

func (u *UpdateTeamOnCallScheduleStrategy) GetHandoffTime() *string

func (*UpdateTeamOnCallScheduleStrategy) GetShiftDuration ¶

func (u *UpdateTeamOnCallScheduleStrategy) GetShiftDuration() *string

func (*UpdateTeamOnCallScheduleStrategy) GetType ¶

type UpdateTeamOnCallScheduleType ¶

type UpdateTeamOnCallScheduleType string

UpdateTeamOnCallScheduleType - The type of strategy. Must be one of "daily", "weekly", or "custom".

const (
	UpdateTeamOnCallScheduleTypeDaily  UpdateTeamOnCallScheduleType = "daily"
	UpdateTeamOnCallScheduleTypeWeekly UpdateTeamOnCallScheduleType = "weekly"
	UpdateTeamOnCallScheduleTypeCustom UpdateTeamOnCallScheduleType = "custom"
)

func (UpdateTeamOnCallScheduleType) ToPointer ¶

func (*UpdateTeamOnCallScheduleType) UnmarshalJSON ¶

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

type UpdateTeamSignalRule ¶

type UpdateTeamSignalRule struct {
	// The rule's name.
	Name *string `json:"name,omitempty"`
	// The CEL expression that defines the rule.
	Expression *string `json:"expression,omitempty"`
	// The type of target that the rule will notify when matched.
	TargetType *UpdateTeamSignalRuleTargetType `json:"target_type,omitempty"`
	// The ID of the target that the rule will notify when matched.
	TargetID *string `json:"target_id,omitempty"`
	// The ID of an incident type that should be used when an alert is promoted to an incident
	IncidentTypeID *string `json:"incident_type_id,omitempty"`
	// A notification priority that will be set on the resulting alert (default: HIGH)
	NotificationPriorityOverride *UpdateTeamSignalRuleNotificationPriorityOverride `json:"notification_priority_override,omitempty"`
	// Determines when an incident should be created when this rule is matched
	CreateIncidentConditionWhen *UpdateTeamSignalRuleCreateIncidentConditionWhen `json:"create_incident_condition_when,omitempty"`
	// The amount of time alerts created from this rule will be deduplicated
	DeduplicationExpiry *string `json:"deduplication_expiry,omitempty"`
}

UpdateTeamSignalRule - Update a Signals rule by ID

func (*UpdateTeamSignalRule) GetCreateIncidentConditionWhen ¶

func (u *UpdateTeamSignalRule) GetCreateIncidentConditionWhen() *UpdateTeamSignalRuleCreateIncidentConditionWhen

func (*UpdateTeamSignalRule) GetDeduplicationExpiry ¶

func (u *UpdateTeamSignalRule) GetDeduplicationExpiry() *string

func (*UpdateTeamSignalRule) GetExpression ¶

func (u *UpdateTeamSignalRule) GetExpression() *string

func (*UpdateTeamSignalRule) GetIncidentTypeID ¶

func (u *UpdateTeamSignalRule) GetIncidentTypeID() *string

func (*UpdateTeamSignalRule) GetName ¶

func (u *UpdateTeamSignalRule) GetName() *string

func (*UpdateTeamSignalRule) GetNotificationPriorityOverride ¶

func (u *UpdateTeamSignalRule) GetNotificationPriorityOverride() *UpdateTeamSignalRuleNotificationPriorityOverride

func (*UpdateTeamSignalRule) GetTargetID ¶

func (u *UpdateTeamSignalRule) GetTargetID() *string

func (*UpdateTeamSignalRule) GetTargetType ¶

type UpdateTeamSignalRuleCreateIncidentConditionWhen ¶

type UpdateTeamSignalRuleCreateIncidentConditionWhen string

UpdateTeamSignalRuleCreateIncidentConditionWhen - Determines when an incident should be created when this rule is matched

const (
	UpdateTeamSignalRuleCreateIncidentConditionWhenWhenUnspecified UpdateTeamSignalRuleCreateIncidentConditionWhen = "WHEN_UNSPECIFIED"
	UpdateTeamSignalRuleCreateIncidentConditionWhenWhenAlways      UpdateTeamSignalRuleCreateIncidentConditionWhen = "WHEN_ALWAYS"
)

func (UpdateTeamSignalRuleCreateIncidentConditionWhen) ToPointer ¶

func (*UpdateTeamSignalRuleCreateIncidentConditionWhen) UnmarshalJSON ¶

type UpdateTeamSignalRuleNotificationPriorityOverride ¶

type UpdateTeamSignalRuleNotificationPriorityOverride string

UpdateTeamSignalRuleNotificationPriorityOverride - A notification priority that will be set on the resulting alert (default: HIGH)

const (
	UpdateTeamSignalRuleNotificationPriorityOverrideHigh    UpdateTeamSignalRuleNotificationPriorityOverride = "HIGH"
	UpdateTeamSignalRuleNotificationPriorityOverrideMedium  UpdateTeamSignalRuleNotificationPriorityOverride = "MEDIUM"
	UpdateTeamSignalRuleNotificationPriorityOverrideLow     UpdateTeamSignalRuleNotificationPriorityOverride = "LOW"
	UpdateTeamSignalRuleNotificationPriorityOverrideUnknown UpdateTeamSignalRuleNotificationPriorityOverride = ""
)

func (UpdateTeamSignalRuleNotificationPriorityOverride) ToPointer ¶

func (*UpdateTeamSignalRuleNotificationPriorityOverride) UnmarshalJSON ¶

type UpdateTeamSignalRuleTargetType ¶

type UpdateTeamSignalRuleTargetType string

UpdateTeamSignalRuleTargetType - The type of target that the rule will notify when matched.

const (
	UpdateTeamSignalRuleTargetTypeEscalationPolicy      UpdateTeamSignalRuleTargetType = "EscalationPolicy"
	UpdateTeamSignalRuleTargetTypeOnCallSchedule        UpdateTeamSignalRuleTargetType = "OnCallSchedule"
	UpdateTeamSignalRuleTargetTypeUser                  UpdateTeamSignalRuleTargetType = "User"
	UpdateTeamSignalRuleTargetTypeWebhook               UpdateTeamSignalRuleTargetType = "Webhook"
	UpdateTeamSignalRuleTargetTypeSlackChannel          UpdateTeamSignalRuleTargetType = "SlackChannel"
	UpdateTeamSignalRuleTargetTypeMicrosoftTeamsChannel UpdateTeamSignalRuleTargetType = "MicrosoftTeamsChannel"
)

func (UpdateTeamSignalRuleTargetType) ToPointer ¶

func (*UpdateTeamSignalRuleTargetType) UnmarshalJSON ¶

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

type UpdateTicket ¶

type UpdateTicket struct {
	Summary     *string `json:"summary,omitempty"`
	Description *string `json:"description,omitempty"`
	State       *string `json:"state,omitempty"`
	Type        *string `json:"type,omitempty"`
	PriorityID  *string `json:"priority_id,omitempty"`
	// List of tags for the ticket
	TagList []string `json:"tag_list,omitempty"`
}

UpdateTicket - Update a ticket's attributes

func (*UpdateTicket) GetDescription ¶

func (u *UpdateTicket) GetDescription() *string

func (*UpdateTicket) GetPriorityID ¶

func (u *UpdateTicket) GetPriorityID() *string

func (*UpdateTicket) GetState ¶

func (u *UpdateTicket) GetState() *string

func (*UpdateTicket) GetSummary ¶

func (u *UpdateTicket) GetSummary() *string

func (*UpdateTicket) GetTagList ¶

func (u *UpdateTicket) GetTagList() []string

func (*UpdateTicket) GetType ¶

func (u *UpdateTicket) GetType() *string

type UpdateTicketingPriority ¶

type UpdateTicketingPriority struct {
	Name *string `json:"name,omitempty"`
	// The position that this priority should take in your list of priorities. Priorities should be ordered from highest to lowest, with the highest priority at 0. If a position isn't specified, the new priority will be added to the end of the list; if another priority already exists at the specified position, this priority will shift that priority and all priorities down the list.
	Position *int `json:"position,omitempty"`
}

UpdateTicketingPriority - Update a single ticketing priority's attributes

func (*UpdateTicketingPriority) GetName ¶

func (u *UpdateTicketingPriority) GetName() *string

func (*UpdateTicketingPriority) GetPosition ¶

func (u *UpdateTicketingPriority) GetPosition() *int

type UpdateVote ¶

type UpdateVote struct {
	// The direction you would like to vote, or if you dig it
	Direction Direction `json:"direction"`
}

UpdateVote - Upvote or downvote an object

func (*UpdateVote) GetDirection ¶

func (u *UpdateVote) GetDirection() Direction

type UpdateWebhook ¶

type UpdateWebhook struct {
	URL   *string             `json:"url,omitempty"`
	State *UpdateWebhookState `json:"state,omitempty"`
}

UpdateWebhook - Update a specific webhook

func (*UpdateWebhook) GetState ¶

func (u *UpdateWebhook) GetState() *UpdateWebhookState

func (*UpdateWebhook) GetURL ¶

func (u *UpdateWebhook) GetURL() *string

type UpdateWebhookState ¶

type UpdateWebhookState string
const (
	UpdateWebhookStateActive   UpdateWebhookState = "active"
	UpdateWebhookStateInactive UpdateWebhookState = "inactive"
)

func (UpdateWebhookState) ToPointer ¶

func (e UpdateWebhookState) ToPointer() *UpdateWebhookState

func (*UpdateWebhookState) UnmarshalJSON ¶

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

type UserData ¶

type UserData struct {
}

type UserEntity ¶

type UserEntity struct {
	ID                                  *string                                            `json:"id,omitempty"`
	Name                                *string                                            `json:"name,omitempty"`
	Email                               *string                                            `json:"email,omitempty"`
	SlackUserID                         *string                                            `json:"slack_user_id,omitempty"`
	SlackLinked                         *bool                                              `json:"slack_linked?,omitempty"`
	CreatedAt                           *time.Time                                         `json:"created_at,omitempty"`
	UpdatedAt                           *time.Time                                         `json:"updated_at,omitempty"`
	SignalsEnabledNotificationTypes     []string                                           `json:"signals_enabled_notification_types,omitempty"`
	SignalsNotificationPolicyCompliance []SignalsAPINotificationPolicyItemComplianceEntity `json:"signals_notification_policy_compliance,omitempty"`
}

UserEntity model

func (*UserEntity) GetCreatedAt ¶

func (u *UserEntity) GetCreatedAt() *time.Time

func (*UserEntity) GetEmail ¶

func (u *UserEntity) GetEmail() *string

func (*UserEntity) GetID ¶

func (u *UserEntity) GetID() *string

func (*UserEntity) GetName ¶

func (u *UserEntity) GetName() *string

func (*UserEntity) GetSignalsEnabledNotificationTypes ¶

func (u *UserEntity) GetSignalsEnabledNotificationTypes() []string

func (*UserEntity) GetSignalsNotificationPolicyCompliance ¶

func (u *UserEntity) GetSignalsNotificationPolicyCompliance() []SignalsAPINotificationPolicyItemComplianceEntity

func (*UserEntity) GetSlackLinked ¶

func (u *UserEntity) GetSlackLinked() *bool

func (*UserEntity) GetSlackUserID ¶

func (u *UserEntity) GetSlackUserID() *string

func (*UserEntity) GetUpdatedAt ¶

func (u *UserEntity) GetUpdatedAt() *time.Time

func (UserEntity) MarshalJSON ¶

func (u UserEntity) MarshalJSON() ([]byte, error)

func (*UserEntity) UnmarshalJSON ¶

func (u *UserEntity) UnmarshalJSON(data []byte) error

type UserEntityPaginated ¶

type UserEntityPaginated struct {
	Data       []UserEntity              `json:"data,omitempty"`
	Pagination *NullablePaginationEntity `json:"pagination,omitempty"`
}

UserEntityPaginated model

func (*UserEntityPaginated) GetData ¶

func (u *UserEntityPaginated) GetData() []UserEntity

func (*UserEntityPaginated) GetPagination ¶

func (u *UserEntityPaginated) GetPagination() *NullablePaginationEntity

type Versions ¶

type Versions struct {
}

Versions - An object with keys that designate a specific version or size of the attachment

type VersionsUrls ¶

type VersionsUrls struct {
}

VersionsUrls - An object with keys that can have different versions of an image

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

type VotesEntity ¶

type VotesEntity struct {
	// Whether or not the current actor has voted
	Voted *bool `json:"voted,omitempty"`
	// Whether or not the current actor has voted positively
	Liked *bool `json:"liked,omitempty"`
	// Whether or not the current actor has voted negatively
	Disliked *bool `json:"disliked,omitempty"`
	Likes    *int  `json:"likes,omitempty"`
	Dislikes *int  `json:"dislikes,omitempty"`
}

VotesEntity model

func (*VotesEntity) GetDisliked ¶

func (v *VotesEntity) GetDisliked() *bool

func (*VotesEntity) GetDislikes ¶

func (v *VotesEntity) GetDislikes() *int

func (*VotesEntity) GetLiked ¶

func (v *VotesEntity) GetLiked() *bool

func (*VotesEntity) GetLikes ¶

func (v *VotesEntity) GetLikes() *int

func (*VotesEntity) GetVoted ¶

func (v *VotesEntity) GetVoted() *bool

type WebhooksEntitiesWebhookEntity ¶

type WebhooksEntitiesWebhookEntity struct {
	ID            *string               `json:"id,omitempty"`
	URL           *string               `json:"url,omitempty"`
	State         *string               `json:"state,omitempty"`
	CreatedBy     *NullableAuthorEntity `json:"created_by,omitempty"`
	CreatedAt     *time.Time            `json:"created_at,omitempty"`
	UpdatedAt     *time.Time            `json:"updated_at,omitempty"`
	Subscriptions *string               `json:"subscriptions,omitempty"`
}

WebhooksEntitiesWebhookEntity - Webhooks_Entities_WebhookEntity model

func (*WebhooksEntitiesWebhookEntity) GetCreatedAt ¶

func (w *WebhooksEntitiesWebhookEntity) GetCreatedAt() *time.Time

func (*WebhooksEntitiesWebhookEntity) GetCreatedBy ¶

func (*WebhooksEntitiesWebhookEntity) GetID ¶

func (*WebhooksEntitiesWebhookEntity) GetState ¶

func (w *WebhooksEntitiesWebhookEntity) GetState() *string

func (*WebhooksEntitiesWebhookEntity) GetSubscriptions ¶

func (w *WebhooksEntitiesWebhookEntity) GetSubscriptions() *string

func (*WebhooksEntitiesWebhookEntity) GetURL ¶

func (*WebhooksEntitiesWebhookEntity) GetUpdatedAt ¶

func (w *WebhooksEntitiesWebhookEntity) GetUpdatedAt() *time.Time

func (WebhooksEntitiesWebhookEntity) MarshalJSON ¶

func (w WebhooksEntitiesWebhookEntity) MarshalJSON() ([]byte, error)

func (*WebhooksEntitiesWebhookEntity) UnmarshalJSON ¶

func (w *WebhooksEntitiesWebhookEntity) UnmarshalJSON(data []byte) error

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL