Versions in this module Expand all Collapse all v1 v1.9.0 Jan 12, 2023 Changes in this version + type AnalyticsIncidentResponse struct + Data []AnalyticsRawIncidentData + Filter *AnalyticsFilter + First string + Last string + Limit uint + More bool + Order string + OrderBy string + TimeZone string + type AnalyticsRawIncidentData struct + AssignmentCount uint + BusinessHourInterruptions uint + CreatedAt string + Description string + EngagedSeconds uint + EngagedUserCount uint + EscalationCount uint + ID string + IncidentNumber uint + Major bool + OffHourInterruptions uint + PriorityID string + PriorityName string + PriorityOrder uint + ResolvedAt string + SecondsToEngage uint + SecondsToFirstAck uint + SecondsToMobilize uint + SecondsToResolve uint + ServiceID string + ServiceName string + SleepHourInterruptions uint + SnoozedSeconds uint + TeamID string + TeamName string + Urgency string + UserDefinedEffortsSeconds uint + type AnalyticsRawIncidentsRequest struct + EndingBefore string + Filter *AnalyticsFilter + Limit uint + Order string + OrderBy string + StartingAfter string + TimeZone string type Client + func (c *Client) GetRawIncidentsAnalytics(ctx context.Context, r AnalyticsRawIncidentsRequest) (AnalyticsIncidentResponse, error) v1.8.0 Jan 12, 2023 Changes in this version + const Version + type APIDetails struct + Details string + Type string + type APIError struct + APIError NullAPIErrorObject + StatusCode int + func (a APIError) Error() string + func (a APIError) NotFound() bool + func (a APIError) RateLimited() bool + func (a APIError) Temporary() bool + type APIErrorObject struct + Code int + Errors []string + Message string + type APIListObject struct + Limit uint + More bool + Offset uint + Total uint + type APIObject struct + HTMLURL string + ID string + Self string + Summary string + Type string + type APIReference struct + ID string + Type string + type Acknowledgement struct + Acknowledger APIObject + At string + type ActiveBetween struct + EndTime int + StartTime int + type AddIncidentNotificationSubscribersResponse struct + Subscriptions []IncidentNotificationSubscriptionWithContext + type AddUserToTeamOptions struct + Role TeamUserRole + TeamID string + UserID string + type Addon struct + Name string + Services []APIObject + Src string + type Agent APIObject + type AlertCounts struct + All uint + Resolved uint + Triggered uint + type AlertGroupParamsConfig struct + Aggregate string + Fields []string + Timeout *uint + type AlertGroupingParameters struct + Config *AlertGroupParamsConfig + Type string + type AnalyticsData struct + MeanAssignmentCount int + MeanEngagedSeconds int + MeanEngagedUserCount int + MeanSecondsToEngage int + MeanSecondsToFirstAck int + MeanSecondsToMobilize int + MeanSecondsToResolve int + RangeStart string + ServiceID string + ServiceName string + TeamID string + TeamName string + TotalBusinessHourInterruptions int + TotalEngagedSeconds int + TotalEscalationCount int + TotalIncidentCount int + TotalOffHourInterruptions int + TotalSleepHourInterruptions int + TotalSnoozedSeconds int + UpTimePct float64 + UserDefinedEffortSeconds int + type AnalyticsFilter struct + CreatedAtEnd string + CreatedAtStart string + Major bool + PriorityIDs []string + PriorityNames []string + ServiceIDs []string + TeamIDs []string + Urgency string + type AnalyticsRawIncidentResponse struct + AssignmentCount uint + BusinessHourInterruptions uint + CreatedAt string + Description string + EngagedSeconds uint + EngagedUserCount uint + EscalationCount uint + ID string + IncidentNumber uint + Major bool + OffHourInterruptions uint + PriorityID string + PriorityName string + ResolvedAt string + SecondsToEngage uint + SecondsToFirstAck uint + SecondsToMobilize uint + SecondsToResolve uint + ServiceID string + ServiceName string + SleepHourInterruptions uint + SnoozedSeconds uint + TeamID string + TeamName string + Urgency string + UserDefinedEffortsSeconds uint + type AnalyticsRequest struct + AggregateUnit string + Filters *AnalyticsFilter + TimeZone string + type AnalyticsResponse struct + AggregateUnit string + Data []AnalyticsData + Filters *AnalyticsFilter + TimeZone string + type Assignee struct + Assignee APIObject + type Assignment struct + Assignee APIObject + At string + type AuditRecord struct + Action string + Actors []APIObject + Details Details + ExecutionContext ExecutionContext + ExecutionTime string + ID string + Method Method + RootResource APIObject + Self string + type AutomationAction struct + AutoSend bool + Headers []*OrchestrationHeader + Name string + Parameters []*OrchestrationParameter + URL string + type BusinessService struct + Description string + HTMLUrl string + ID string + Name string + PointOfContact string + Self string + Summary string + Team *BusinessServiceTeam + Type string + type BusinessServicePayload struct + BusinessService *BusinessService + type BusinessServiceTeam struct + ID string + Self string + Type string + type ChangeEvent struct + Links []ChangeEventLink + Payload ChangeEventPayload + RoutingKey string + type ChangeEventLink struct + Href string + Text string + type ChangeEventPayload struct + CustomDetails map[string]interface{} + Source string + Summary string + Timestamp string + type ChangeEventResponse struct + Errors []string + Message string + Status string + type Channel struct + Raw map[string]interface{} + Type string + func (c *Channel) MarshalJSON() ([]byte, error) + func (c *Channel) UnmarshalJSON(b []byte) error + type Client struct + HTTPClient HTTPClient + func NewClient(authToken string, options ...ClientOptions) *Client + func NewOAuthClient(authToken string, options ...ClientOptions) *Client + func (c *Client) AddEscalationPolicyToTeam(teamID, epID string) error + func (c *Client) AddEscalationPolicyToTeamWithContext(ctx context.Context, teamID, epID string) error + func (c *Client) AddIncidentNotificationSubscribersWithContext(ctx context.Context, id string, subscribers []IncidentNotificationSubscriber) (*AddIncidentNotificationSubscribersResponse, error) + func (c *Client) AddUserToTeam(teamID, userID string) error + func (c *Client) AddUserToTeamWithContext(ctx context.Context, o AddUserToTeamOptions) error + func (c *Client) AssignTags(e, eid string, a *TagAssignments) error + func (c *Client) AssignTagsWithContext(ctx context.Context, entityType, entityID string, a *TagAssignments) error + func (c *Client) AssociateServiceDependencies(dependencies *ListServiceDependencies) (*ListServiceDependencies, error) + func (c *Client) AssociateServiceDependenciesWithContext(ctx context.Context, dependencies *ListServiceDependencies) (*ListServiceDependencies, error) + func (c *Client) CreateBusinessService(b *BusinessService) (*BusinessService, error) + func (c *Client) CreateBusinessServiceWithContext(ctx context.Context, b *BusinessService) (*BusinessService, error) + func (c *Client) CreateChangeEvent(e ChangeEvent) (*ChangeEventResponse, error) + func (c *Client) CreateChangeEventWithContext(ctx context.Context, e ChangeEvent) (*ChangeEventResponse, error) + func (c *Client) CreateEscalationPolicy(e EscalationPolicy) (*EscalationPolicy, error) + func (c *Client) CreateEscalationPolicyWithContext(ctx context.Context, e EscalationPolicy) (*EscalationPolicy, error) + func (c *Client) CreateEscalationRule(escID string, e EscalationRule) (*EscalationRule, error) + func (c *Client) CreateEscalationRuleWithContext(ctx context.Context, escID string, e EscalationRule) (*EscalationRule, error) + func (c *Client) CreateExtension(e *Extension) (*Extension, error) + func (c *Client) CreateExtensionWithContext(ctx context.Context, e *Extension) (*Extension, error) + func (c *Client) CreateIncident(from string, o *CreateIncidentOptions) (*Incident, error) + func (c *Client) CreateIncidentNote(id string, note IncidentNote) error + func (c *Client) CreateIncidentNoteWithContext(ctx context.Context, id string, note IncidentNote) (*IncidentNote, error) + func (c *Client) CreateIncidentNoteWithResponse(id string, note IncidentNote) (*IncidentNote, error) + func (c *Client) CreateIncidentStatusUpdate(ctx context.Context, id string, from string, message string) (IncidentStatusUpdate, error) + func (c *Client) CreateIncidentWithContext(ctx context.Context, from string, o *CreateIncidentOptions) (*Incident, error) + func (c *Client) CreateIntegration(id string, i Integration) (*Integration, error) + func (c *Client) CreateIntegrationWithContext(ctx context.Context, id string, i Integration) (*Integration, error) + func (c *Client) CreateMaintenanceWindow(from string, o MaintenanceWindow) (*MaintenanceWindow, error) + func (c *Client) CreateMaintenanceWindowWithContext(ctx context.Context, from string, o MaintenanceWindow) (*MaintenanceWindow, error) + func (c *Client) CreateMaintenanceWindows(o MaintenanceWindow) (*MaintenanceWindow, error) + func (c *Client) CreateOrchestrationWithContext(ctx context.Context, e Orchestration) (*Orchestration, error) + func (c *Client) CreateOverride(id string, o Override) (*Override, error) + func (c *Client) CreateOverrideWithContext(ctx context.Context, id string, o Override) (*Override, error) + func (c *Client) CreateResponsePlay(ctx context.Context, rp ResponsePlay) (ResponsePlay, error) + func (c *Client) CreateRuleset(r *Ruleset) (*Ruleset, error) + func (c *Client) CreateRulesetRule(rulesetID string, rule *RulesetRule) (*RulesetRule, error) + func (c *Client) CreateRulesetRuleWithContext(ctx context.Context, rulesetID string, rule *RulesetRule) (*RulesetRule, error) + func (c *Client) CreateRulesetWithContext(ctx context.Context, r *Ruleset) (*Ruleset, error) + func (c *Client) CreateSchedule(s Schedule) (*Schedule, error) + func (c *Client) CreateScheduleWithContext(ctx context.Context, s Schedule) (*Schedule, error) + func (c *Client) CreateService(s Service) (*Service, error) + func (c *Client) CreateServiceRule(ctx context.Context, serviceID string, rule ServiceRule) (ServiceRule, error) + func (c *Client) CreateServiceWithContext(ctx context.Context, s Service) (*Service, error) + func (c *Client) CreateTag(t *Tag) (*Tag, error) + func (c *Client) CreateTagWithContext(ctx context.Context, t *Tag) (*Tag, error) + func (c *Client) CreateTeam(t *Team) (*Team, error) + func (c *Client) CreateTeamWithContext(ctx context.Context, t *Team) (*Team, error) + func (c *Client) CreateUser(u User) (*User, error) + func (c *Client) CreateUserContactMethod(userID string, cm ContactMethod) (*ContactMethod, error) + func (c *Client) CreateUserContactMethodWithContext(ctx context.Context, userID string, cm ContactMethod) (*ContactMethod, error) + func (c *Client) CreateUserNotificationRule(userID string, rule NotificationRule) (*NotificationRule, error) + func (c *Client) CreateUserNotificationRuleWithContext(ctx context.Context, userID string, rule NotificationRule) (*NotificationRule, error) + func (c *Client) CreateUserWithContext(ctx context.Context, u User) (*User, error) + func (c *Client) DeleteAddon(id string) error + func (c *Client) DeleteAddonWithContext(ctx context.Context, id string) error + func (c *Client) DeleteBusinessService(id string) error + func (c *Client) DeleteBusinessServiceWithContext(ctx context.Context, id string) error + func (c *Client) DeleteEscalationPolicy(id string) error + func (c *Client) DeleteEscalationPolicyWithContext(ctx context.Context, id string) error + func (c *Client) DeleteEscalationRule(escID string, id string) error + func (c *Client) DeleteEscalationRuleWithContext(ctx context.Context, escID string, id string) error + func (c *Client) DeleteExtension(id string) error + func (c *Client) DeleteExtensionWithContext(ctx context.Context, id string) error + func (c *Client) DeleteIntegration(serviceID string, integrationID string) error + func (c *Client) DeleteIntegrationWithContext(ctx context.Context, serviceID string, integrationID string) error + func (c *Client) DeleteMaintenanceWindow(id string) error + func (c *Client) DeleteMaintenanceWindowWithContext(ctx context.Context, id string) error + func (c *Client) DeleteOrchestrationWithContext(ctx context.Context, id string) error + func (c *Client) DeleteOverride(scheduleID, overrideID string) error + func (c *Client) DeleteOverrideWithContext(ctx context.Context, scheduleID, overrideID string) error + func (c *Client) DeleteResponsePlay(ctx context.Context, id string) error + func (c *Client) DeleteRuleset(id string) error + func (c *Client) DeleteRulesetRule(rulesetID, ruleID string) error + func (c *Client) DeleteRulesetRuleWithContext(ctx context.Context, rulesetID, ruleID string) error + func (c *Client) DeleteRulesetWithContext(ctx context.Context, id string) error + func (c *Client) DeleteSchedule(id string) error + func (c *Client) DeleteScheduleWithContext(ctx context.Context, id string) error + func (c *Client) DeleteService(id string) error + func (c *Client) DeleteServiceRule(ctx context.Context, serviceID, ruleID string) error + func (c *Client) DeleteServiceWithContext(ctx context.Context, id string) error + func (c *Client) DeleteTag(id string) error + func (c *Client) DeleteTagWithContext(ctx context.Context, id string) error + func (c *Client) DeleteTeam(id string) error + func (c *Client) DeleteTeamWithContext(ctx context.Context, id string) error + func (c *Client) DeleteUser(id string) error + func (c *Client) DeleteUserContactMethod(userID, contactMethodID string) error + func (c *Client) DeleteUserContactMethodWithContext(ctx context.Context, userID, contactMethodID string) error + func (c *Client) DeleteUserNotificationRule(userID, ruleID string) error + func (c *Client) DeleteUserNotificationRuleWithContext(ctx context.Context, userID, ruleID string) error + func (c *Client) DeleteUserWithContext(ctx context.Context, id string) error + func (c *Client) DisassociateServiceDependencies(dependencies *ListServiceDependencies) (*ListServiceDependencies, error) + func (c *Client) DisassociateServiceDependenciesWithContext(ctx context.Context, dependencies *ListServiceDependencies) (*ListServiceDependencies, error) + func (c *Client) Do(r *http.Request, authRequired bool) (*http.Response, error) + func (c *Client) EnableExtension(ctx context.Context, id string) (*Extension, error) + func (c *Client) GetAddon(id string) (*Addon, error) + func (c *Client) GetAddonWithContext(ctx context.Context, id string) (*Addon, error) + func (c *Client) GetAggregatedIncidentData(ctx context.Context, analytics AnalyticsRequest) (AnalyticsResponse, error) + func (c *Client) GetAggregatedServiceData(ctx context.Context, analytics AnalyticsRequest) (AnalyticsResponse, error) + func (c *Client) GetAggregatedTeamData(ctx context.Context, analytics AnalyticsRequest) (AnalyticsResponse, error) + func (c *Client) GetAnalyticsRawIncidentData(ctx context.Context, incident_id string) (AnalyticsRawIncidentResponse, error) + func (c *Client) GetAnalyticsRawIncidentWithContext(ctx context.Context, incident_id string, endpoint string) (AnalyticsRawIncidentResponse, error) + func (c *Client) GetBusinessService(id string) (*BusinessService, error) + func (c *Client) GetBusinessServiceWithContext(ctx context.Context, id string) (*BusinessService, error) + func (c *Client) GetCurrentUser(o GetCurrentUserOptions) (*User, error) + func (c *Client) GetCurrentUserWithContext(ctx context.Context, o GetCurrentUserOptions) (*User, error) + func (c *Client) GetEscalationPoliciesByTag(tid string) (*ListEPResponse, error) + func (c *Client) GetEscalationPoliciesByTagPaginated(ctx context.Context, tagID string) ([]*APIObject, error) + func (c *Client) GetEscalationPolicy(id string, o *GetEscalationPolicyOptions) (*EscalationPolicy, error) + func (c *Client) GetEscalationPolicyWithContext(ctx context.Context, id string, o *GetEscalationPolicyOptions) (*EscalationPolicy, error) + func (c *Client) GetEscalationRule(escID string, id string, o *GetEscalationRuleOptions) (*EscalationRule, error) + func (c *Client) GetEscalationRuleWithContext(ctx context.Context, escID string, id string, o *GetEscalationRuleOptions) (*EscalationRule, error) + func (c *Client) GetExtension(id string) (*Extension, error) + func (c *Client) GetExtensionSchema(id string) (*ExtensionSchema, error) + func (c *Client) GetExtensionSchemaWithContext(ctx context.Context, id string) (*ExtensionSchema, error) + func (c *Client) GetExtensionWithContext(ctx context.Context, id string) (*Extension, error) + func (c *Client) GetIncident(id string) (*Incident, error) + func (c *Client) GetIncidentAlert(incidentID, alertID string) (*IncidentAlertResponse, error) + func (c *Client) GetIncidentAlertWithContext(ctx context.Context, incidentID, alertID string) (*IncidentAlertResponse, error) + func (c *Client) GetIncidentWithContext(ctx context.Context, id string) (*Incident, error) + func (c *Client) GetIntegration(serviceID, integrationID string, o GetIntegrationOptions) (*Integration, error) + func (c *Client) GetIntegrationWithContext(ctx context.Context, serviceID, integrationID string, o GetIntegrationOptions) (*Integration, error) + func (c *Client) GetLogEntry(id string, o GetLogEntryOptions) (*LogEntry, error) + func (c *Client) GetLogEntryWithContext(ctx context.Context, id string, o GetLogEntryOptions) (*LogEntry, error) + func (c *Client) GetMaintenanceWindow(id string, o GetMaintenanceWindowOptions) (*MaintenanceWindow, error) + func (c *Client) GetMaintenanceWindowWithContext(ctx context.Context, id string, o GetMaintenanceWindowOptions) (*MaintenanceWindow, error) + func (c *Client) GetOrchestrationRouterWithContext(ctx context.Context, id string, o *GetOrchestrationRouterOptions) (*OrchestrationRouter, error) + func (c *Client) GetOrchestrationUnroutedWithContext(ctx context.Context, id string, o *GetOrchestrationUnroutedOptions) (*OrchestrationUnrouted, error) + func (c *Client) GetOrchestrationWithContext(ctx context.Context, id string, o *GetOrchestrationOptions) (*Orchestration, error) + func (c *Client) GetResponsePlay(ctx context.Context, id string) (ResponsePlay, error) + func (c *Client) GetRuleset(id string) (*Ruleset, error) + func (c *Client) GetRulesetRule(rulesetID, ruleID string) (*RulesetRule, error) + func (c *Client) GetRulesetRuleWithContext(ctx context.Context, rulesetID, ruleID string) (*RulesetRule, error) + func (c *Client) GetRulesetWithContext(ctx context.Context, id string) (*Ruleset, error) + func (c *Client) GetSchedule(id string, o GetScheduleOptions) (*Schedule, error) + func (c *Client) GetScheduleWithContext(ctx context.Context, id string, o GetScheduleOptions) (*Schedule, error) + func (c *Client) GetService(id string, o *GetServiceOptions) (*Service, error) + func (c *Client) GetServiceOrchestrationActiveWithContext(ctx context.Context, id string) (*ServiceOrchestrationActive, error) + func (c *Client) GetServiceOrchestrationWithContext(ctx context.Context, id string, o *GetServiceOrchestrationOptions) (*ServiceOrchestration, error) + func (c *Client) GetServiceRule(ctx context.Context, serviceID, ruleID string) (ServiceRule, error) + func (c *Client) GetServiceWithContext(ctx context.Context, id string, o *GetServiceOptions) (*Service, error) + func (c *Client) GetTag(id string) (*Tag, error) + func (c *Client) GetTagWithContext(ctx context.Context, id string) (*Tag, error) + func (c *Client) GetTagsForEntity(entityType, entityID string, o ListTagOptions) (*ListTagResponse, error) + func (c *Client) GetTagsForEntityPaginated(ctx context.Context, entityType, entityID string, o ListTagOptions) ([]*Tag, error) + func (c *Client) GetTeam(id string) (*Team, error) + func (c *Client) GetTeamWithContext(ctx context.Context, id string) (*Team, error) + func (c *Client) GetTeamsByTag(tid string) (*ListTeamsForTagResponse, error) + func (c *Client) GetTeamsByTagPaginated(ctx context.Context, tagID string) ([]*APIObject, error) + func (c *Client) GetUser(id string, o GetUserOptions) (*User, error) + func (c *Client) GetUserContactMethod(userID, contactMethodID string) (*ContactMethod, error) + func (c *Client) GetUserContactMethodWithContext(ctx context.Context, userID, contactMethodID string) (*ContactMethod, error) + func (c *Client) GetUserNotificationRule(userID, ruleID string) (*NotificationRule, error) + func (c *Client) GetUserNotificationRuleWithContext(ctx context.Context, userID, ruleID string) (*NotificationRule, error) + func (c *Client) GetUserWithContext(ctx context.Context, id string, o GetUserOptions) (*User, error) + func (c *Client) GetUsersByTag(tid string) (*ListUserResponse, error) + func (c *Client) GetUsersByTagPaginated(ctx context.Context, tagID string) ([]*APIObject, error) + func (c *Client) GetVendor(id string) (*Vendor, error) + func (c *Client) GetVendorWithContext(ctx context.Context, id string) (*Vendor, error) + func (c *Client) InstallAddon(a Addon) (*Addon, error) + func (c *Client) InstallAddonWithContext(ctx context.Context, a Addon) (*Addon, error) + func (c *Client) LastAPIRequest() (*http.Request, bool) + func (c *Client) LastAPIResponse() (*http.Response, bool) + func (c *Client) ListAbilities() (*ListAbilityResponse, error) + func (c *Client) ListAbilitiesWithContext(ctx context.Context) (*ListAbilityResponse, error) + func (c *Client) ListAddons(o ListAddonOptions) (*ListAddonResponse, error) + func (c *Client) ListAddonsWithContext(ctx context.Context, o ListAddonOptions) (*ListAddonResponse, error) + func (c *Client) ListAllMembers(teamID string) ([]Member, error) + func (c *Client) ListAuditRecords(ctx context.Context, o ListAuditRecordsOptions) (ListAuditRecordsResponse, error) + func (c *Client) ListAuditRecordsPaginated(ctx context.Context, o ListAuditRecordsOptions, include func(AuditRecord) bool) ([]AuditRecord, error) + func (c *Client) ListBusinessServiceDependencies(businessServiceID string) (*ListServiceDependencies, error) + func (c *Client) ListBusinessServiceDependenciesWithContext(ctx context.Context, businessServiceID string) (*ListServiceDependencies, error) + func (c *Client) ListBusinessServices(o ListBusinessServiceOptions) (*ListBusinessServicesResponse, error) + func (c *Client) ListBusinessServicesPaginated(ctx context.Context, o ListBusinessServiceOptions) ([]*BusinessService, error) + func (c *Client) ListEscalationPolicies(o ListEscalationPoliciesOptions) (*ListEscalationPoliciesResponse, error) + func (c *Client) ListEscalationPoliciesWithContext(ctx context.Context, o ListEscalationPoliciesOptions) (*ListEscalationPoliciesResponse, error) + func (c *Client) ListEscalationRules(escID string) (*ListEscalationRulesResponse, error) + func (c *Client) ListEscalationRulesWithContext(ctx context.Context, escID string) (*ListEscalationRulesResponse, error) + func (c *Client) ListExtensionSchemas(o ListExtensionSchemaOptions) (*ListExtensionSchemaResponse, error) + func (c *Client) ListExtensionSchemasWithContext(ctx context.Context, o ListExtensionSchemaOptions) (*ListExtensionSchemaResponse, error) + func (c *Client) ListExtensions(o ListExtensionOptions) (*ListExtensionResponse, error) + func (c *Client) ListExtensionsWithContext(ctx context.Context, o ListExtensionOptions) (*ListExtensionResponse, error) + func (c *Client) ListIncidentAlerts(id string) (*ListAlertsResponse, error) + func (c *Client) ListIncidentAlertsWithContext(ctx context.Context, id string, o ListIncidentAlertsOptions) (*ListAlertsResponse, error) + func (c *Client) ListIncidentAlertsWithOpts(id string, o ListIncidentAlertsOptions) (*ListAlertsResponse, error) + func (c *Client) ListIncidentLogEntries(id string, o ListIncidentLogEntriesOptions) (*ListIncidentLogEntriesResponse, error) + func (c *Client) ListIncidentLogEntriesWithContext(ctx context.Context, id string, o ListIncidentLogEntriesOptions) (*ListIncidentLogEntriesResponse, error) + func (c *Client) ListIncidentNotes(id string) ([]IncidentNote, error) + func (c *Client) ListIncidentNotesWithContext(ctx context.Context, id string) ([]IncidentNote, error) + func (c *Client) ListIncidentNotificationSubscribersWithContext(ctx context.Context, id string) (*ListIncidentNotificationSubscribersResponse, error) + func (c *Client) ListIncidents(o ListIncidentsOptions) (*ListIncidentsResponse, error) + func (c *Client) ListIncidentsWithContext(ctx context.Context, o ListIncidentsOptions) (*ListIncidentsResponse, error) + func (c *Client) ListLogEntries(o ListLogEntriesOptions) (*ListLogEntryResponse, error) + func (c *Client) ListLogEntriesWithContext(ctx context.Context, o ListLogEntriesOptions) (*ListLogEntryResponse, error) + func (c *Client) ListMaintenanceWindows(o ListMaintenanceWindowsOptions) (*ListMaintenanceWindowsResponse, error) + func (c *Client) ListMaintenanceWindowsWithContext(ctx context.Context, o ListMaintenanceWindowsOptions) (*ListMaintenanceWindowsResponse, error) + func (c *Client) ListMembers(teamID string, o ListTeamMembersOptions) (*ListTeamMembersResponse, error) + func (c *Client) ListMembersPaginated(ctx context.Context, teamID string) ([]Member, error) + func (c *Client) ListMembersWithContext(ctx context.Context, teamID string, o ListTeamMembersOptions) (*ListTeamMembersResponse, error) + func (c *Client) ListNotifications(o ListNotificationOptions) (*ListNotificationsResponse, error) + func (c *Client) ListNotificationsWithContext(ctx context.Context, o ListNotificationOptions) (*ListNotificationsResponse, error) + func (c *Client) ListOnCallUsers(id string, o ListOnCallUsersOptions) ([]User, error) + func (c *Client) ListOnCallUsersWithContext(ctx context.Context, id string, o ListOnCallUsersOptions) ([]User, error) + func (c *Client) ListOnCalls(o ListOnCallOptions) (*ListOnCallsResponse, error) + func (c *Client) ListOnCallsWithContext(ctx context.Context, o ListOnCallOptions) (*ListOnCallsResponse, error) + func (c *Client) ListOrchestrationsWithContext(ctx context.Context, o ListOrchestrationsOptions) (*ListOrchestrationsResponse, error) + func (c *Client) ListOverrides(id string, o ListOverridesOptions) (*ListOverridesResponse, error) + func (c *Client) ListOverridesWithContext(ctx context.Context, id string, o ListOverridesOptions) (*ListOverridesResponse, error) + func (c *Client) ListPriorities() (*ListPrioritiesResponse, error) + func (c *Client) ListPrioritiesWithContext(ctx context.Context, o ListPrioritiesOptions) (*ListPrioritiesResponse, error) + func (c *Client) ListResponsePlays(ctx context.Context, o ListResponsePlaysOptions) ([]ResponsePlay, error) + func (c *Client) ListRulesetRules(rulesetID string) (*ListRulesetRulesResponse, error) + func (c *Client) ListRulesetRulesPaginated(ctx context.Context, rulesetID string) ([]*RulesetRule, error) + func (c *Client) ListRulesets() (*ListRulesetsResponse, error) + func (c *Client) ListRulesetsPaginated(ctx context.Context) ([]*Ruleset, error) + func (c *Client) ListSchedules(o ListSchedulesOptions) (*ListSchedulesResponse, error) + func (c *Client) ListSchedulesWithContext(ctx context.Context, o ListSchedulesOptions) (*ListSchedulesResponse, error) + func (c *Client) ListServiceRulesPaginated(ctx context.Context, serviceID string) ([]ServiceRule, error) + func (c *Client) ListServices(o ListServiceOptions) (*ListServiceResponse, error) + func (c *Client) ListServicesPaginated(ctx context.Context, o ListServiceOptions) ([]Service, error) + func (c *Client) ListServicesWithContext(ctx context.Context, o ListServiceOptions) (*ListServiceResponse, error) + func (c *Client) ListTags(o ListTagOptions) (*ListTagResponse, error) + func (c *Client) ListTagsPaginated(ctx context.Context, o ListTagOptions) ([]*Tag, error) + func (c *Client) ListTeamMembers(ctx context.Context, teamID string, o ListTeamMembersOptions) (*ListTeamMembersResponse, error) + func (c *Client) ListTeamMembersPaginated(ctx context.Context, teamID string) ([]Member, error) + func (c *Client) ListTeams(o ListTeamOptions) (*ListTeamResponse, error) + func (c *Client) ListTeamsWithContext(ctx context.Context, o ListTeamOptions) (*ListTeamResponse, error) + func (c *Client) ListTechnicalServiceDependencies(serviceID string) (*ListServiceDependencies, error) + func (c *Client) ListTechnicalServiceDependenciesWithContext(ctx context.Context, serviceID string) (*ListServiceDependencies, error) + func (c *Client) ListUserContactMethods(userID string) (*ListContactMethodsResponse, error) + func (c *Client) ListUserContactMethodsWithContext(ctx context.Context, userID string) (*ListContactMethodsResponse, error) + func (c *Client) ListUserNotificationRules(userID string) (*ListUserNotificationRulesResponse, error) + func (c *Client) ListUserNotificationRulesWithContext(ctx context.Context, userID string) (*ListUserNotificationRulesResponse, error) + func (c *Client) ListUsers(o ListUsersOptions) (*ListUsersResponse, error) + func (c *Client) ListUsersWithContext(ctx context.Context, o ListUsersOptions) (*ListUsersResponse, error) + func (c *Client) ListVendors(o ListVendorOptions) (*ListVendorResponse, error) + func (c *Client) ListVendorsWithContext(ctx context.Context, o ListVendorOptions) (*ListVendorResponse, error) + func (c *Client) ManageEvent(e *V2Event) (*V2EventResponse, error) + func (c *Client) ManageEventWithContext(ctx context.Context, e *V2Event) (*V2EventResponse, error) + func (c *Client) ManageIncidentAlerts(ctx context.Context, incidentID, from string, alerts *IncidentAlertList) (*ListAlertsResponse, error) + func (c *Client) ManageIncidents(from string, incidents []ManageIncidentsOptions) (*ListIncidentsResponse, error) + func (c *Client) ManageIncidentsWithContext(ctx context.Context, from string, incidents []ManageIncidentsOptions) (*ListIncidentsResponse, error) + func (c *Client) MergeIncidents(from string, id string, sourceIncidents []MergeIncidentsOptions) (*Incident, error) + func (c *Client) MergeIncidentsWithContext(ctx context.Context, from, id string, sourceIncidents []MergeIncidentsOptions) (*Incident, error) + func (c *Client) PreviewSchedule(s Schedule, o PreviewScheduleOptions) error + func (c *Client) PreviewScheduleWithContext(ctx context.Context, s Schedule, o PreviewScheduleOptions) error + func (c *Client) RemoveEscalationPolicyFromTeam(teamID, epID string) error + func (c *Client) RemoveEscalationPolicyFromTeamWithContext(ctx context.Context, teamID, epID string) error + func (c *Client) RemoveIncidentNotificationSubscribersWithContext(ctx context.Context, id string, subscribers []IncidentNotificationSubscriber) (*RemoveIncidentNotificationSubscribersResponse, error) + func (c *Client) RemoveUserFromTeam(teamID, userID string) error + func (c *Client) RemoveUserFromTeamWithContext(ctx context.Context, teamID, userID string) error + func (c *Client) ResponderRequest(id string, o ResponderRequestOptions) (*ResponderRequestResponse, error) + func (c *Client) ResponderRequestWithContext(ctx context.Context, id string, o ResponderRequestOptions) (*ResponderRequestResponse, error) + func (c *Client) RunResponsePlay(ctx context.Context, from string, responsePlayID string, incidentID string) error + func (c *Client) SetDebugFlag(flag DebugFlag) + func (c *Client) SnoozeIncident(id string, duration uint) error + func (c *Client) SnoozeIncidentWithContext(ctx context.Context, id string, duration uint) (*Incident, error) + func (c *Client) SnoozeIncidentWithResponse(id string, duration uint) (*Incident, error) + func (c *Client) TestAbility(ability string) error + func (c *Client) TestAbilityWithContext(ctx context.Context, ability string) error + func (c *Client) UpdateAddon(id string, a Addon) (*Addon, error) + func (c *Client) UpdateAddonWithContext(ctx context.Context, id string, a Addon) (*Addon, error) + func (c *Client) UpdateBusinessService(b *BusinessService) (*BusinessService, error) + func (c *Client) UpdateBusinessServiceWithContext(ctx context.Context, b *BusinessService) (*BusinessService, error) + func (c *Client) UpdateEscalationPolicy(id string, e *EscalationPolicy) (*EscalationPolicy, error) + func (c *Client) UpdateEscalationPolicyWithContext(ctx context.Context, id string, e EscalationPolicy) (*EscalationPolicy, error) + func (c *Client) UpdateEscalationRule(escID string, id string, e *EscalationRule) (*EscalationRule, error) + func (c *Client) UpdateEscalationRuleWithContext(ctx context.Context, escID string, id string, e EscalationRule) (*EscalationRule, error) + func (c *Client) UpdateExtension(id string, e *Extension) (*Extension, error) + func (c *Client) UpdateExtensionWithContext(ctx context.Context, id string, e *Extension) (*Extension, error) + func (c *Client) UpdateIntegration(serviceID string, i Integration) (*Integration, error) + func (c *Client) UpdateIntegrationWithContext(ctx context.Context, serviceID string, i Integration) (*Integration, error) + func (c *Client) UpdateMaintenanceWindow(m MaintenanceWindow) (*MaintenanceWindow, error) + func (c *Client) UpdateMaintenanceWindowWithContext(ctx context.Context, m MaintenanceWindow) (*MaintenanceWindow, error) + func (c *Client) UpdateOrchestrationRouterWithContext(ctx context.Context, id string, e OrchestrationRouter) (*OrchestrationRouter, error) + func (c *Client) UpdateOrchestrationUnroutedWithContext(ctx context.Context, id string, e OrchestrationUnrouted) (*OrchestrationUnrouted, error) + func (c *Client) UpdateOrchestrationWithContext(ctx context.Context, id string, e Orchestration) (*Orchestration, error) + func (c *Client) UpdateResponsePlay(ctx context.Context, rp ResponsePlay) (ResponsePlay, error) + func (c *Client) UpdateRuleset(r *Ruleset) (*Ruleset, error) + func (c *Client) UpdateRulesetRule(rulesetID, ruleID string, r *RulesetRule) (*RulesetRule, error) + func (c *Client) UpdateRulesetRuleWithContext(ctx context.Context, rulesetID, ruleID string, r *RulesetRule) (*RulesetRule, error) + func (c *Client) UpdateRulesetWithContext(ctx context.Context, r *Ruleset) (*Ruleset, error) + func (c *Client) UpdateSchedule(id string, s Schedule) (*Schedule, error) + func (c *Client) UpdateScheduleWithContext(ctx context.Context, id string, s Schedule) (*Schedule, error) + func (c *Client) UpdateService(s Service) (*Service, error) + func (c *Client) UpdateServiceOrchestrationActiveWithContext(ctx context.Context, id string, e ServiceOrchestrationActive) (*ServiceOrchestrationActive, error) + func (c *Client) UpdateServiceOrchestrationWithContext(ctx context.Context, id string, e ServiceOrchestration) (*ServiceOrchestration, error) + func (c *Client) UpdateServiceRule(ctx context.Context, serviceID, ruleID string, rule ServiceRule) (ServiceRule, error) + func (c *Client) UpdateServiceWithContext(ctx context.Context, s Service) (*Service, error) + func (c *Client) UpdateTeam(id string, t *Team) (*Team, error) + func (c *Client) UpdateTeamWithContext(ctx context.Context, id string, t *Team) (*Team, error) + func (c *Client) UpdateUser(u User) (*User, error) + func (c *Client) UpdateUserContactMethod(userID string, cm ContactMethod) (*ContactMethod, error) + func (c *Client) UpdateUserContactMethodWthContext(ctx context.Context, userID string, cm ContactMethod) (*ContactMethod, error) + func (c *Client) UpdateUserNotificationRule(userID string, rule NotificationRule) (*NotificationRule, error) + func (c *Client) UpdateUserNotificationRuleWithContext(ctx context.Context, userID string, rule NotificationRule) (*NotificationRule, error) + func (c *Client) UpdateUserWithContext(ctx context.Context, u User) (*User, error) + type ClientOptions func(*Client) + func WithAPIEndpoint(endpoint string) ClientOptions + func WithOAuth() ClientOptions + func WithV2EventsAPIEndpoint(endpoint string) ClientOptions + type CommonLogEntryField struct + AcknowledgementTimeout int + Agent Agent + Assignees []APIObject + Channel Channel + Contexts []Context + CreatedAt string + EventDetails map[string]string + Teams []Team + type ConditionParameter struct + Path string + Value string + type ConferenceBridge struct + ConferenceNumber string + ConferenceURL string + type ContactMethod struct + Address string + Blacklisted bool + CountryCode int + Enabled bool + HTMLURL string + ID string + Label string + Self string + SendHTMLEmail bool + SendShortEmail bool + Summary string + Type string + type Context struct + Alt string + Href string + Src string + Text string + Type string + type CreateIncidentNoteResponse struct + IncidentNote IncidentNote + type CreateIncidentOptions struct + Assignments []Assignee + Body *APIDetails + ConferenceBridge *ConferenceBridge + EscalationPolicy *APIReference + IncidentKey string + Priority *APIReference + Service *APIReference + Title string + Type string + Urgency string + type DebugFlag uint64 + const DebugCaptureLastRequest + const DebugCaptureLastResponse + const DebugDisabled + type Details struct + Fields []Field + References []Reference + Resource APIObject + type EscalationPolicy struct + Description string + EscalationRules []EscalationRule + Name string + NumLoops uint + OnCallHandoffNotifications string + Services []APIObject + Teams []APIReference + type EscalationRule struct + Delay uint + ID string + Targets []APIObject + type Event struct + Client string + ClientURL string + Contexts []interface{} + Description string + Details interface{} + IncidentKey string + ServiceKey string + Type string + type EventResponse struct + HTTPStatus int + IncidentKey string + Message string + Status string + func CreateEvent(e Event) (*EventResponse, error) + func CreateEventWithHTTPClient(e Event, client HTTPClient) (*EventResponse, error) + type EventsAPIV2Error struct + APIError NullEventsAPIV2ErrorObject + StatusCode int + func (e *EventsAPIV2Error) UnmarshalJSON(data []byte) error + func (e EventsAPIV2Error) APITimeout() bool + func (e EventsAPIV2Error) BadRequest() bool + func (e EventsAPIV2Error) Error() string + func (e EventsAPIV2Error) RateLimited() bool + func (e EventsAPIV2Error) Temporary() bool + type EventsAPIV2ErrorObject struct + Errors []string + Message string + Status string + type ExecutionContext struct + RemoteAddress string + RequestID string + type Extension struct + Config interface{} + EndpointURL string + ExtensionObjects []APIObject + ExtensionSchema APIObject + Name string + TemporarilyDisabled bool + type ExtensionSchema struct + Description string + GuideURL string + IconURL string + Key string + Label string + LogoURL string + SendTypes []string + URL string + type Field struct + BeforeValue string + Description string + Name string + Value string + type FirstTriggerLogEntry struct + Incident APIObject + type GetCurrentUserOptions struct + Includes []string + type GetEscalationPolicyOptions struct + Includes []string + type GetEscalationRuleOptions struct + Includes []string + type GetIntegrationOptions struct + Includes []string + type GetLogEntryOptions struct + Includes []string + TimeZone string + type GetMaintenanceWindowOptions struct + Includes []string + type GetOrchestrationOptions struct + type GetOrchestrationRouterOptions struct + type GetOrchestrationUnroutedOptions struct + type GetScheduleOptions struct + Since string + TimeZone string + Until string + type GetServiceOptions struct + Includes []string + type GetServiceOrchestrationOptions struct + type GetUserOptions struct + Includes []string + type HTTPClient interface + Do func(*http.Request) (*http.Response, error) + type Incident struct + Acknowledgements []Acknowledgement + AlertCounts AlertCounts + AssignedVia string + Assignments []Assignment + Body IncidentBody + ConferenceBridge *ConferenceBridge + CreatedAt string + Description string + EscalationPolicy APIObject + FirstTriggerLogEntry FirstTriggerLogEntry + IncidentKey string + IncidentNumber uint + IncidentResponders []IncidentResponders + IsMergeable bool + LastStatusChangeAt string + LastStatusChangeBy APIObject + Occurrence *Occurrence + PendingActions []PendingAction + Priority *Priority + ResolveReason ResolveReason + ResponderRequests []ResponderRequest + Service APIObject + Status string + Teams []APIObject + Title string + Urgency string + type IncidentAlert struct + AlertKey string + Body map[string]interface{} + CreatedAt string + Incident APIReference + Integration APIObject + Service APIObject + Severity string + Status string + Suppressed bool + type IncidentAlertList struct + Alerts []IncidentAlert + type IncidentAlertResponse struct + IncidentAlert *IncidentAlert + type IncidentBody struct + Details string + Type string + type IncidentDetails struct + Acknowledgements []Acknowledgement + AlertCounts AlertCounts + Alerts []IncidentAlert + Assignments []Assignment + CreatedAt time.Time + Description string + EscalationPolicy APIObject + FirstTriggerLogEntry APIObject + IncidentKey *string + IncidentNumber int + LastStatusChangeAt time.Time + LastStatusChangeBy APIObject + Metadata interface{} + PendingActions []PendingAction + Priority Priority + ResolveReason *string + Service Service + Status string + Teams []APIObject + Title string + Urgency string + type IncidentNote struct + Content string + CreatedAt string + ID string + User APIObject + type IncidentNotificationSubscriber struct + SubscriberID string + SubscriberType string + type IncidentNotificationSubscriberVia struct + ID string + Type string + type IncidentNotificationSubscriptionWithContext struct + AccountID string + HasIndirectSubscription bool + Result string + SubscribableID string + SubscribableType string + SubscribedVia []IncidentNotificationSubscriberVia + type IncidentResponders struct + Incident APIObject + Message string + RequestedAt string + Requester APIObject + State string + UpdatedAt string + User APIObject + type IncidentStatusUpdate struct + CreatedAt string + ID string + Message string + Sender APIObject + type IncidentUrgencyRule struct + DuringSupportHours *IncidentUrgencyType + OutsideSupportHours *IncidentUrgencyType + Type string + Urgency string + type IncidentUrgencyType struct + Type string + Urgency string + type InlineModel struct + Name string + Type string + type Integration struct + CreatedAt string + EmailFilterMode IntegrationEmailFilterMode + EmailFilters []IntegrationEmailFilterRule + IntegrationEmail string + IntegrationKey string + Name string + Service *APIObject + Vendor *APIObject + type IntegrationEmailFilterMode uint8 + const EmailFilterModeAll + const EmailFilterModeAnd + const EmailFilterModeInvalid + const EmailFilterModeOr + func (i *IntegrationEmailFilterMode) UnmarshalJSON(b []byte) error + func (i IntegrationEmailFilterMode) MarshalJSON() ([]byte, error) + func (i IntegrationEmailFilterMode) String() string + type IntegrationEmailFilterRule struct + BodyMode IntegrationEmailFilterRuleMode + BodyRegex *string + FromEmailMode IntegrationEmailFilterRuleMode + FromEmailRegex *string + SubjectMode IntegrationEmailFilterRuleMode + SubjectRegex *string + func (i *IntegrationEmailFilterRule) UnmarshalJSON(b []byte) error + type IntegrationEmailFilterRuleMode uint8 + const EmailFilterRuleModeAlways + const EmailFilterRuleModeInvalid + const EmailFilterRuleModeMatch + const EmailFilterRuleModeNoMatch + func (i *IntegrationEmailFilterRuleMode) UnmarshalJSON(b []byte) error + func (i IntegrationEmailFilterRuleMode) MarshalJSON() ([]byte, error) + func (i IntegrationEmailFilterRuleMode) String() string + type ListAbilityResponse struct + Abilities []string + type ListAddonOptions struct + Filter string + Includes []string + Limit uint + Offset uint + ServiceIDs []string + Total bool + type ListAddonResponse struct + Addons []Addon + type ListAlertsResponse struct + Alerts []IncidentAlert + type ListAuditRecordsOptions struct + Actions []string + ActorID string + ActorType string + Cursor string + Limit uint + MethodTruncatedToken string + MethodType string + RootResourcesTypes []string + Since string + Until string + type ListAuditRecordsResponse struct + Limit uint + NextCursor *string + Records []AuditRecord + ResponseMetaData *ResponseMetadata + type ListBusinessServiceOptions struct + Limit uint + Offset uint + Total bool + type ListBusinessServicesResponse struct + BusinessServices []*BusinessService + Limit uint + More bool + Offset uint + Total uint + type ListContactMethodsResponse struct + ContactMethods []ContactMethod + type ListEPResponse struct + EscalationPolicies []*APIObject + type ListEscalationPoliciesOptions struct + Includes []string + Limit uint + Offset uint + Query string + SortBy string + TeamIDs []string + Total bool + UserIDs []string + type ListEscalationPoliciesResponse struct + EscalationPolicies []EscalationPolicy + type ListEscalationRulesResponse struct + EscalationRules []EscalationRule + type ListExtensionOptions struct + ExtensionObjectID string + ExtensionSchemaID string + Limit uint + Offset uint + Query string + Total bool + type ListExtensionResponse struct + Extensions []Extension + type ListExtensionSchemaOptions struct + Limit uint + Offset uint + Total bool + type ListExtensionSchemaResponse struct + ExtensionSchemas []ExtensionSchema + type ListIncidentAlertsOptions struct + Includes []string + Limit uint + Offset uint + SortBy string + Statuses []string + Total bool + type ListIncidentLogEntriesOptions struct + Includes []string + IsOverview bool + Limit uint + Offset uint + Since string + TimeZone string + Total bool + Until string + type ListIncidentLogEntriesResponse struct + LogEntries []LogEntry + type ListIncidentNotificationSubscribersResponse struct + AccountID string + Subscribers []IncidentNotificationSubscriptionWithContext + type ListIncidentsOptions struct + DateRange string + IncidentKey string + Includes []string + Limit uint + Offset uint + ServiceIDs []string + Since string + SortBy string + Statuses []string + TeamIDs []string + TimeZone string + Total bool + Until string + Urgencies []string + UserIDs []string + type ListIncidentsResponse struct + Incidents []Incident + type ListLogEntriesOptions struct + Includes []string + IsOverview bool + Limit uint + Offset uint + Since string + TeamIDs []string + TimeZone string + Total bool + Until string + type ListLogEntryResponse struct + LogEntries []LogEntry + type ListMaintenanceWindowsOptions struct + Filter string + Includes []string + Limit uint + Offset uint + Query string + ServiceIDs []string + TeamIDs []string + Total bool + type ListMaintenanceWindowsResponse struct + MaintenanceWindows []MaintenanceWindow + type ListMembersOptions = ListTeamMembersOptions + type ListMembersResponse = ListTeamMembersResponse + type ListNotificationOptions struct + Filter string + Includes []string + Limit uint + Offset uint + Since string + TimeZone string + Total bool + Until string + type ListNotificationsResponse struct + Notifications []Notification + type ListOnCallOptions struct + Earliest bool + EscalationPolicyIDs []string + Includes []string + Limit uint + Offset uint + ScheduleIDs []string + Since string + TimeZone string + Total bool + Until string + UserIDs []string + type ListOnCallUsersOptions struct + Since string + Until string + type ListOnCallsResponse struct + OnCalls []OnCall + type ListOrchestrationsOptions struct + Limit uint + Offset uint + SortBy string + Total bool + type ListOrchestrationsResponse struct + Orchestrations []Orchestration + type ListOverridesOptions struct + Editable bool + Overflow bool + Since string + Until string + type ListOverridesResponse struct + Overrides []Override + type ListPrioritiesOptions struct + Limit uint + Offset uint + Total bool + type ListPrioritiesResponse struct + Priorities []Priority + type ListResponsePlaysOptions struct + FilterForManualRun bool + Query string + type ListResponsePlaysResponse struct + ResponsePlays []ResponsePlay + type ListRulesetRulesResponse struct + Limit uint + More bool + Offset uint + Rules []*RulesetRule + Total uint + type ListRulesetsResponse struct + Limit uint + More bool + Offset uint + Rulesets []*Ruleset + Total uint + type ListSchedulesOptions struct + Includes []string + Limit uint + Offset uint + Query string + Total bool + type ListSchedulesResponse struct + Schedules []Schedule + type ListServiceDependencies struct + Relationships []*ServiceDependency + type ListServiceOptions struct + Includes []string + Limit uint + Offset uint + Query string + SortBy string + TeamIDs []string + TimeZone string + Total bool + type ListServiceResponse struct + Services []Service + type ListServiceRulesResponse struct + Limit uint + More bool + Offset uint + Rules []ServiceRule + Total uint + type ListTagOptions struct + Limit uint + Offset uint + Query string + Total bool + type ListTagResponse struct + Tags []*Tag + type ListTeamMembersOptions struct + Limit uint + Offset uint + Total bool + type ListTeamMembersResponse struct + Members []Member + type ListTeamOptions struct + Limit uint + Offset uint + Query string + Total bool + type ListTeamResponse struct + Teams []Team + type ListTeamsForTagResponse struct + Teams []*APIObject + type ListUserNotificationRulesResponse struct + NotificationRules []NotificationRule + type ListUserResponse struct + Users []*APIObject + type ListUsersOptions struct + Includes []string + Limit uint + Offset uint + Query string + TeamIDs []string + Total bool + type ListUsersResponse struct + Users []User + type ListVendorOptions struct + Limit uint + Offset uint + Total bool + type ListVendorResponse struct + Vendors []Vendor + type LogEntry struct + Incident Incident + Service APIObject + User APIObject + type MaintenanceWindow struct + CreatedBy *APIObject + Description string + EndTime string + SequenceNumber uint + Services []APIObject + StartTime string + Teams []APIObject + type ManageIncidentsOptions struct + Assignments []Assignee + ConferenceBridge *ConferenceBridge + EscalationLevel uint + EscalationPolicy *APIReference + ID string + Priority *APIReference + Resolution string + Status string + Title string + Type string + type Member struct + Role string + User APIObject + type MergeIncidentsOptions struct + ID string + Type string + type Method struct + Description string + TruncatedToken string + Type string + type Notification struct + Address string + ConferenceAddress string + ID string + StartedAt string + Status string + Type string + User APIObject + type NotificationRule struct + ContactMethod ContactMethod + CreatedAt string + HTMLURL string + ID string + Self string + StartDelayInMinutes uint + Summary string + Type string + Urgency string + type NullAPIErrorObject struct + ErrorObject APIErrorObject + Valid bool + func (n *NullAPIErrorObject) UnmarshalJSON(data []byte) error + type NullEventsAPIV2ErrorObject struct + ErrorObject EventsAPIV2ErrorObject + Valid bool + type Occurrence struct + Category string + Count uint + Frequency uint + Since string + Until string + type OnCall struct + End string + EscalationLevel uint + EscalationPolicy EscalationPolicy + Schedule Schedule + Start string + User User + type Orchestration struct + CreatedAt string + CreatedBy *APIReference + Description string + Integrations []*OrchestrationIntegration + Name string + Routes uint + Team *APIReference + UpdatedAt string + UpdatedBy *APIReference + Version string + type OrchestrationExtraction struct + Regex string + Source string + Target string + Template string + type OrchestrationHeader struct + Key string + Value string + type OrchestrationIntegration struct + ID string + Parameters *OrchestrationIntegrationParameters + type OrchestrationIntegrationParameters struct + RoutingKey string + Type string + type OrchestrationParameter struct + Key string + Value string + type OrchestrationRouter struct + CatchAll *OrchestrationRouterCatchAllRule + CreatedAt string + CreatedBy *APIReference + Parent *APIReference + Sets []*OrchestrationRouterRuleSet + Type string + UpdatedAt string + UpdatedBy *APIReference + Version string + type OrchestrationRouterActions struct + RouteTo string + type OrchestrationRouterCatchAllRule struct + Actions *OrchestrationRouterActions + type OrchestrationRouterRule struct + Actions *OrchestrationRouterActions + Conditions []*OrchestrationRouterRuleCondition + Disabled bool + ID string + Label string + type OrchestrationRouterRuleCondition struct + Expression string + type OrchestrationRouterRuleSet struct + ID string + Rules []*OrchestrationRouterRule + type OrchestrationUnrouted struct + CatchAll *OrchestrationUnroutedCatchAllRule + CreatedAt string + CreatedBy *APIReference + Parent *APIReference + Sets []*ServiceOrchestrationRuleSet + Type string + UpdatedAt string + UpdatedBy *APIReference + Version string + type OrchestrationUnroutedCatchAllRule struct + Actions *OrchestrationUnroutedRuleActions + type OrchestrationUnroutedRule struct + Actions *OrchestrationUnroutedRuleActions + Conditions []*OrchestrationUnroutedRuleCondition + Disabled bool + ID string + Label string + type OrchestrationUnroutedRuleActions struct + EventAction string + Extractions []*OrchestrationExtraction + RouteTo string + Severity string + Variables []*OrchestrationVariable + type OrchestrationUnroutedRuleCondition struct + Expression string + type OrchestrationUnroutedRuleSet struct + ID string + Rules []*OrchestrationUnroutedRule + type OrchestrationVariable struct + Name string + Path string + Type string + Value string + type Override struct + End string + HTMLURL string + ID string + Self string + Start string + Summary string + Type string + User APIObject + type PagerDutyAutomationAction struct + ActionID string + type PendingAction struct + At string + Type string + type PreviewScheduleOptions struct + Overflow bool + Since string + Until string + type Priorities = ListPrioritiesResponse + type Priority struct + Description string + Name string + type PriorityProperty = Priority + type Reference struct + Added []APIObject + Description string + Name string + Removed []APIObject + type RemoveIncidentNotificationSubscribersResponse struct + DeleteCount uint + NonExistentCount uint + UnauthorizedCount uint + type RenderedScheduleEntry struct + End string + Start string + User APIObject + type ResolveReason struct + Incident APIObject + Type string + type ResponderRequest struct + Incident Incident + Message string + RequestedAt string + Requester User + Targets []ResponderRequestTargetWrapper + type ResponderRequestOptions struct + From string + Message string + RequesterID string + Targets []ResponderRequestTargetWrapper + type ResponderRequestResponse struct + ResponderRequest ResponderRequest + type ResponderRequestTarget struct + Responders IncidentResponders + type ResponderRequestTargetWrapper struct + Target ResponderRequestTarget + type ResponseMetadata struct + Messages []string + type ResponsePlay struct + ConferenceNumber *string + ConferenceType *string + ConferenceURL *string + Description string + HTMLURL string + ID string + Name string + Responders []*APIReference + RespondersMessage string + Runnability *string + Self string + Subscribers []*APIReference + SubscribersMessage string + Summary string + Team *APIReference + Type string + type Restriction struct + DurationSeconds uint + StartDayOfWeek uint + StartTimeOfDay string + Type string + type RuleActionExtraction struct + Regex string + Source string + Target string + type RuleActionParameter struct + Value string + type RuleActionSuppress struct + ThresholdTimeAmount int + ThresholdTimeUnit string + ThresholdValue int + Value bool + type RuleActionSuspend struct + Value int + type RuleActions struct + Annotate *RuleActionParameter + EventAction *RuleActionParameter + Extractions []*RuleActionExtraction + Priority *RuleActionParameter + Route *RuleActionParameter + Severity *RuleActionParameter + Suppress *RuleActionSuppress + Suspend *RuleActionSuspend + type RuleConditions struct + Operator string + RuleSubconditions []*RuleSubcondition + type RuleSubcondition struct + Operator string + Parameters *ConditionParameter + type RuleTimeFrame struct + ActiveBetween *ActiveBetween + ScheduledWeekly *ScheduledWeekly + type Ruleset struct + CreatedAt string + Creator *RulesetObject + ID string + Name string + RoutingKeys []string + Self string + Team *RulesetObject + Type string + UpdatedAt string + Updater *RulesetObject + type RulesetObject struct + ID string + Self string + Type string + type RulesetPayload struct + Ruleset *Ruleset + type RulesetRule struct + Actions *RuleActions + CatchAll bool + Conditions *RuleConditions + Disabled bool + ID string + Position *int + Ruleset *APIObject + Self string + TimeFrame *RuleTimeFrame + type RulesetRulePayload struct + Rule *RulesetRule + type Schedule struct + Description string + EscalationPolicies []APIObject + FinalSchedule ScheduleLayer + Name string + OverrideSubschedule ScheduleLayer + ScheduleLayers []ScheduleLayer + Teams []APIObject + TimeZone string + Users []APIObject + type ScheduleLayer struct + End string + Name string + RenderedCoveragePercentage float64 + RenderedScheduleEntries []RenderedScheduleEntry + Restrictions []Restriction + RotationTurnLengthSeconds uint + RotationVirtualStart string + Start string + Users []UserReference + type ScheduledAction struct + At InlineModel + ToUrgency string + Type string + type ScheduledWeekly struct + Duration int + StartTime int + Timezone string + Weekdays []int + type Service struct + AcknowledgementTimeout *uint + Addons []Addon + AlertCreation string + AlertGrouping string + AlertGroupingParameters *AlertGroupingParameters + AlertGroupingTimeout *uint + AutoResolveTimeout *uint + CreateAt string + Description string + EscalationPolicy EscalationPolicy + IncidentUrgencyRule *IncidentUrgencyRule + Integrations []Integration + LastIncidentTimestamp string + Name string + ResponsePlay *APIObject + ScheduledActions []ScheduledAction + Status string + SupportHours *SupportHours + Teams []Team + type ServiceDependency struct + DependentService *ServiceObj + ID string + SupportingService *ServiceObj + Type string + type ServiceObj struct + ID string + Type string + type ServiceOrchestration struct + CatchAll *ServiceOrchestrationCatchAllRule + CreatedAt string + CreatedBy *APIReference + Parent *APIReference + Sets []*ServiceOrchestrationRuleSet + Type string + UpdatedAt string + UpdatedBy *APIReference + Version string + type ServiceOrchestrationActive struct + Active bool + type ServiceOrchestrationCatchAllRule struct + Actions *ServiceOrchestrationRuleActions + type ServiceOrchestrationRule struct + Actions *ServiceOrchestrationRuleActions + Conditions []*ServiceOrchestrationRuleCondition + Disabled bool + ID string + Label string + type ServiceOrchestrationRuleActions struct + Annotate string + AutomationActions []*AutomationAction + EventAction string + Extractions []*OrchestrationExtraction + PagerDutyAutomationActions []*PagerDutyAutomationAction + Priority string + RouteTo string + Severity string + Suppress bool + Suspend uint + Variables []*OrchestrationVariable + type ServiceOrchestrationRuleCondition struct + Expression string + type ServiceOrchestrationRuleSet struct + ID string + Rules []*ServiceOrchestrationRule + type ServiceRule struct + Actions *ServiceRuleActions + Conditions *RuleConditions + Disabled *bool + ID string + Position *int + Self string + TimeFrame *RuleTimeFrame + type ServiceRuleActions struct + Annotate *RuleActionParameter + EventAction *RuleActionParameter + Extractions []RuleActionExtraction + Priority *RuleActionParameter + Severity *RuleActionParameter + Suppress *RuleActionSuppress + Suspend *RuleActionSuspend + type SupportHours struct + DaysOfWeek []uint + EndTime string + StartTime string + Timezone string + Type string + type Tag struct + Label string + type TagAssignment struct + Label string + TagID string + Type string + type TagAssignments struct + Add []*TagAssignment + Remove []*TagAssignment + type Team struct + Description string + Name string + Parent *APIObject + type TeamUserRole string + const TeamUserRoleManager + const TeamUserRoleObserver + const TeamUserRoleResponder + type UpdateScheduleOptions struct + Overflow bool + type User struct + AvatarURL string + Color string + ContactMethods []ContactMethod + Description string + Email string + InvitationSent bool + JobTitle string + Name string + NotificationRules []NotificationRule + Role string + Teams []Team + Timezone string + type UserReference struct + User APIObject + type V2Event struct + Action string + Client string + ClientURL string + DedupKey string + Images []interface{} + Links []interface{} + Payload *V2Payload + RoutingKey string + type V2EventResponse struct + DedupKey string + Errors []string + Message string + Status string + func ManageEvent(e V2Event) (*V2EventResponse, error) + func ManageEventWithContext(ctx context.Context, e V2Event) (*V2EventResponse, error) + type V2Payload struct + Class string + Component string + Details interface{} + Group string + Severity string + Source string + Summary string + Timestamp string + type Vendor struct + AlertCreationDefault string + AlertCreationEditable bool + Connectable bool + Description string + GenericServiceType string + IntegrationGuideURL string + IsPDCEF bool + LogoURL string + LongName string + Name string + ThumbnailURL string + WebsiteURL string + type WebhookPayload struct + CreatedOn time.Time + Event string + ID string + Incident IncidentDetails + LogEntries []LogEntry + type WebhookPayloadMessages struct + Messages []WebhookPayload + func DecodeWebhook(r io.Reader) (*WebhookPayloadMessages, error)