Documentation
¶
Overview ¶
Package rootly provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.11.0 DO NOT EDIT.
Package rootly provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.11.0 DO NOT EDIT.
Index ¶
- Constants
- func NewAddSubscribersToIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAttachAlertRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCancelIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAlertRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCauseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCustomFieldOptionRequestWithBody(server string, customFieldId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCustomFieldRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDashboardPanelRequestWithBody(server string, dashboardId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDashboardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFormFieldOptionRequestWithBody(server string, formFieldId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFormFieldPositionRequestWithBody(server string, formFieldId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFormFieldRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFunctionalityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentActionItemRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentCustomFieldSelectionRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentEventFunctionalityRequestWithBody(server string, incidentEventId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentEventRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentEventServiceRequestWithBody(server string, incidentEventId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentFeedbackRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentFormFieldSelectionRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentRoleTaskRequestWithBody(server string, incidentRoleId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentStatusPageRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIncidentTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePlaybookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePlaybookTaskRequestWithBody(server string, playbookId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePostmortemTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePulseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRetrospectiveStepRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSecretRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSeverityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStatusPageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStatusPageTemplateRequestWithBody(server string, statusPageId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTeamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWebhooksEndpointRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowCustomFieldSelectionRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowFormFieldConditionRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowRunRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowTaskRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCauseRequest(server string, id string) (*http.Request, error)
- func NewDeleteCustomFieldOptionRequest(server string, id string) (*http.Request, error)
- func NewDeleteCustomFieldRequest(server string, id string) (*http.Request, error)
- func NewDeleteDashboardPanelRequest(server string, id string) (*http.Request, error)
- func NewDeleteDashboardRequest(server string, id string) (*http.Request, error)
- func NewDeleteEnvironmentRequest(server string, id string) (*http.Request, error)
- func NewDeleteFormFieldOptionRequest(server string, id string) (*http.Request, error)
- func NewDeleteFormFieldPositionRequest(server string, id string) (*http.Request, error)
- func NewDeleteFormFieldRequest(server string, id string) (*http.Request, error)
- func NewDeleteFunctionalityRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentActionItemRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentCustomFieldSelectionRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentEventFunctionalityRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentEventRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentEventServiceRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentFormFieldSelectionRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentRoleRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentRoleTaskRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentStatusPageRequest(server string, id string) (*http.Request, error)
- func NewDeleteIncidentTypeRequest(server string, id string) (*http.Request, error)
- func NewDeletePlaybookRequest(server string, id string) (*http.Request, error)
- func NewDeletePlaybookTaskRequest(server string, id string) (*http.Request, error)
- func NewDeletePostmortemTemplateRequest(server string, id string) (*http.Request, error)
- func NewDeleteRetrospectiveStepRequest(server string, id string) (*http.Request, error)
- func NewDeleteSecretRequest(server string, id string) (*http.Request, error)
- func NewDeleteServiceRequest(server string, id string) (*http.Request, error)
- func NewDeleteSeverityRequest(server string, id string) (*http.Request, error)
- func NewDeleteStatusPageRequest(server string, id string) (*http.Request, error)
- func NewDeleteStatusPageTemplateRequest(server string, id string) (*http.Request, error)
- func NewDeleteTeamRequest(server string, id string) (*http.Request, error)
- func NewDeleteUserRequest(server string, id string) (*http.Request, error)
- func NewDeleteWebhooksEndpointRequest(server string, id string) (*http.Request, error)
- func NewDeleteWorkflowCustomFieldSelectionRequest(server string, id string) (*http.Request, error)
- func NewDeleteWorkflowFormFieldConditionRequest(server string, id string) (*http.Request, error)
- func NewDeleteWorkflowGroupRequest(server string, id string) (*http.Request, error)
- func NewDeleteWorkflowRequest(server string, id string) (*http.Request, error)
- func NewDeleteWorkflowTaskRequest(server string, id string) (*http.Request, error)
- func NewDeliverWebhooksDeliveryRequest(server string, id string) (*http.Request, error)
- func NewDuplicateDashboardPanelRequest(server string, id string) (*http.Request, error)
- func NewDuplicateDashboardRequest(server string, id string) (*http.Request, error)
- func NewGetAlertRequest(server string, id string) (*http.Request, error)
- func NewGetCauseRequest(server string, id string) (*http.Request, error)
- func NewGetCurrentUserRequest(server string) (*http.Request, error)
- func NewGetCustomFieldOptionRequest(server string, id string) (*http.Request, error)
- func NewGetCustomFieldRequest(server string, id string) (*http.Request, error)
- func NewGetDashboardPanelRequest(server string, id string, params *GetDashboardPanelParams) (*http.Request, error)
- func NewGetDashboardRequest(server string, id string) (*http.Request, error)
- func NewGetEnvironmentRequest(server string, id string) (*http.Request, error)
- func NewGetFormFieldOptionRequest(server string, id string) (*http.Request, error)
- func NewGetFormFieldPositionRequest(server string, id string) (*http.Request, error)
- func NewGetFormFieldRequest(server string, id string) (*http.Request, error)
- func NewGetFunctionalityIncidentsChartRequest(server string, id string, params *GetFunctionalityIncidentsChartParams) (*http.Request, error)
- func NewGetFunctionalityRequest(server string, id string) (*http.Request, error)
- func NewGetFunctionalityUptimeChartRequest(server string, id string, params *GetFunctionalityUptimeChartParams) (*http.Request, error)
- func NewGetIncidentActionItemsRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentCustomFieldSelectionRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentEventFunctionalitiesRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentEventServicesRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentEventsRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentFeedbacksRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentFormFieldSelectionRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentRoleRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentRoleTaskRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentStatusPagesRequest(server string, id string) (*http.Request, error)
- func NewGetIncidentTypeRequest(server string, id string) (*http.Request, error)
- func NewGetIpRangesRequest(server string) (*http.Request, error)
- func NewGetPlaybookRequest(server string, id string) (*http.Request, error)
- func NewGetPlaybookTaskRequest(server string, id string) (*http.Request, error)
- func NewGetPostmortemTemplateRequest(server string, id string) (*http.Request, error)
- func NewGetPulseRequest(server string, id string) (*http.Request, error)
- func NewGetRetrospectiveStepRequest(server string, id string) (*http.Request, error)
- func NewGetSecretRequest(server string, id string) (*http.Request, error)
- func NewGetServiceIncidentsChartRequest(server string, id string, params *GetServiceIncidentsChartParams) (*http.Request, error)
- func NewGetServiceRequest(server string, id string) (*http.Request, error)
- func NewGetServiceUptimeChartRequest(server string, id string, params *GetServiceUptimeChartParams) (*http.Request, error)
- func NewGetSeverityRequest(server string, id string) (*http.Request, error)
- func NewGetStatusPageRequest(server string, id string) (*http.Request, error)
- func NewGetStatusPageTemplateRequest(server string, id string) (*http.Request, error)
- func NewGetTeamRequest(server string, id string) (*http.Request, error)
- func NewGetUserRequest(server string, id string) (*http.Request, error)
- func NewGetWebhooksDeliveryRequest(server string, id string) (*http.Request, error)
- func NewGetWebhooksEndpointRequest(server string, id string) (*http.Request, error)
- func NewGetWorkflowCustomFieldSelectionRequest(server string, id string) (*http.Request, error)
- func NewGetWorkflowFormFieldConditionRequest(server string, id string) (*http.Request, error)
- func NewGetWorkflowGroupRequest(server string, id string) (*http.Request, error)
- func NewGetWorkflowRequest(server string, id string) (*http.Request, error)
- func NewGetWorkflowTaskRequest(server string, id string) (*http.Request, error)
- func NewListAlertsRequest(server string, params *ListAlertsParams) (*http.Request, error)
- func NewListAllIncidentActionItemsRequest(server string, params *ListAllIncidentActionItemsParams) (*http.Request, error)
- func NewListAuditsRequest(server string, params *ListAuditsParams) (*http.Request, error)
- func NewListCausesRequest(server string, params *ListCausesParams) (*http.Request, error)
- func NewListCustomFieldOptionsRequest(server string, customFieldId string, params *ListCustomFieldOptionsParams) (*http.Request, error)
- func NewListCustomFieldsRequest(server string, params *ListCustomFieldsParams) (*http.Request, error)
- func NewListDashboardPanelsRequest(server string, dashboardId string, params *ListDashboardPanelsParams) (*http.Request, error)
- func NewListDashboardsRequest(server string, params *ListDashboardsParams) (*http.Request, error)
- func NewListEnvironmentsRequest(server string, params *ListEnvironmentsParams) (*http.Request, error)
- func NewListFormFieldOptionsRequest(server string, formFieldId string, params *ListFormFieldOptionsParams) (*http.Request, error)
- func NewListFormFieldPositionsRequest(server string, formFieldId string, params *ListFormFieldPositionsParams) (*http.Request, error)
- func NewListFormFieldsRequest(server string, params *ListFormFieldsParams) (*http.Request, error)
- func NewListFunctionalitiesRequest(server string, params *ListFunctionalitiesParams) (*http.Request, error)
- func NewListIncidentActionItemsRequest(server string, incidentId string, params *ListIncidentActionItemsParams) (*http.Request, error)
- func NewListIncidentAlertsRequest(server string, incidentId string, params *ListIncidentAlertsParams) (*http.Request, error)
- func NewListIncidentCustomFieldSelectionsRequest(server string, incidentId string, ...) (*http.Request, error)
- func NewListIncidentEventFunctionalitiesRequest(server string, incidentEventId string, ...) (*http.Request, error)
- func NewListIncidentEventServicesRequest(server string, incidentEventId string, params *ListIncidentEventServicesParams) (*http.Request, error)
- func NewListIncidentEventsRequest(server string, incidentId string, params *ListIncidentEventsParams) (*http.Request, error)
- func NewListIncidentFeedbacksRequest(server string, incidentId string, params *ListIncidentFeedbacksParams) (*http.Request, error)
- func NewListIncidentFormFieldSelectionsRequest(server string, incidentId string, ...) (*http.Request, error)
- func NewListIncidentPostMortemsRequest(server string, params *ListIncidentPostMortemsParams) (*http.Request, error)
- func NewListIncidentPostmortemRequest(server string, id string) (*http.Request, error)
- func NewListIncidentRoleTasksRequest(server string, incidentRoleId string, params *ListIncidentRoleTasksParams) (*http.Request, error)
- func NewListIncidentRolesRequest(server string, params *ListIncidentRolesParams) (*http.Request, error)
- func NewListIncidentStatusPagesRequest(server string, incidentId string, params *ListIncidentStatusPagesParams) (*http.Request, error)
- func NewListIncidentTypesRequest(server string, params *ListIncidentTypesParams) (*http.Request, error)
- func NewListIncidentsRequest(server string, params *ListIncidentsParams) (*http.Request, error)
- func NewListPlaybookTasksRequest(server string, playbookId string, params *ListPlaybookTasksParams) (*http.Request, error)
- func NewListPlaybooksRequest(server string, params *ListPlaybooksParams) (*http.Request, error)
- func NewListPostmortemTemplatesRequest(server string, params *ListPostmortemTemplatesParams) (*http.Request, error)
- func NewListPulsesRequest(server string, params *ListPulsesParams) (*http.Request, error)
- func NewListRetrospectiveStepsRequest(server string, params *ListRetrospectiveStepsParams) (*http.Request, error)
- func NewListSecretsRequest(server string, params *ListSecretsParams) (*http.Request, error)
- func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
- func NewListSeveritiesRequest(server string, params *ListSeveritiesParams) (*http.Request, error)
- func NewListStatusPageTemplatesRequest(server string, statusPageId string, params *ListStatusPageTemplatesParams) (*http.Request, error)
- func NewListStatusPagesRequest(server string, params *ListStatusPagesParams) (*http.Request, error)
- func NewListTeamsRequest(server string, params *ListTeamsParams) (*http.Request, error)
- func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)
- func NewListWebhooksDeliveriesRequest(server string, endpointId string, params *ListWebhooksDeliveriesParams) (*http.Request, error)
- func NewListWebhooksEndpointsRequest(server string, params *ListWebhooksEndpointsParams) (*http.Request, error)
- func NewListWorkflowCustomFieldSelectionsRequest(server string, workflowId string, ...) (*http.Request, error)
- func NewListWorkflowFormFieldConditionsRequest(server string, workflowId string, ...) (*http.Request, error)
- func NewListWorkflowGroupsRequest(server string, params *ListWorkflowGroupsParams) (*http.Request, error)
- func NewListWorkflowRunsRequest(server string, workflowId string, params *ListWorkflowRunsParams) (*http.Request, error)
- func NewListWorkflowTasksRequest(server string, workflowId string, params *ListWorkflowTasksParams) (*http.Request, error)
- func NewListWorkflowsRequest(server string, params *ListWorkflowsParams) (*http.Request, error)
- func NewMarkAsDuplicateIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewMitigateIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveSubscribersToIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewResolveIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewRestartIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetDefaultDashboardRequest(server string, id string) (*http.Request, error)
- func NewTriageIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCauseRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCustomFieldOptionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCustomFieldRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDashboardPanelRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDashboardRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEnvironmentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFormFieldOptionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFormFieldPositionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFormFieldRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFunctionalityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentActionItemRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentCustomFieldSelectionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentEventFunctionalityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentEventRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentEventServiceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentFeedbackRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentFormFieldSelectionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentPostmortemRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentRoleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentRoleTaskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentStatusPageRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIncidentTypeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePlaybookRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePlaybookTaskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePostmortemTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePulseRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateRetrospectiveStepRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSecretRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateServiceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSeverityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateStatusPageRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateStatusPageTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateTeamRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWebhooksEndpointRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkflowCustomFieldSelectionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkflowFormFieldConditionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkflowGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkflowRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkflowTaskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- type ActionItemTriggerParams
- type ActionItemTriggerParamsIncidentActionItemCondition
- type ActionItemTriggerParamsIncidentActionItemConditionGroup
- type ActionItemTriggerParamsIncidentActionItemConditionKind
- type ActionItemTriggerParamsIncidentActionItemConditionPriority
- type ActionItemTriggerParamsIncidentActionItemConditionStatus
- type ActionItemTriggerParamsIncidentActionItemKinds
- type ActionItemTriggerParamsIncidentActionItemPriorities
- type ActionItemTriggerParamsIncidentActionItemStatuses
- type ActionItemTriggerParamsIncidentCondition
- type ActionItemTriggerParamsIncidentConditionEnvironment
- type ActionItemTriggerParamsIncidentConditionFunctionality
- type ActionItemTriggerParamsIncidentConditionGroup
- type ActionItemTriggerParamsIncidentConditionIncidentRoles
- type ActionItemTriggerParamsIncidentConditionIncidentType
- type ActionItemTriggerParamsIncidentConditionKind
- type ActionItemTriggerParamsIncidentConditionService
- type ActionItemTriggerParamsIncidentConditionSeverity
- type ActionItemTriggerParamsIncidentConditionStatus
- type ActionItemTriggerParamsIncidentConditionVisibility
- type ActionItemTriggerParamsIncidentKinds
- type ActionItemTriggerParamsIncidentStatuses
- type ActionItemTriggerParamsTriggerType
- type AddActionItemTaskParams
- type AddActionItemTaskParamsPriority
- type AddActionItemTaskParamsStatus
- type AddActionItemTaskParamsTaskType
- type AddRoleTaskParams
- type AddRoleTaskParamsTaskType
- type AddSlackBookmarkTaskParams
- type AddSlackBookmarkTaskParamsTaskType
- type AddSubscribers
- type AddSubscribersDataType
- type AddSubscribersToIncidentResponse
- type AddTeamTaskParams
- type AddTeamTaskParamsTaskType
- type AddToTimelineTaskParams
- type AddToTimelineTaskParamsTaskType
- type Alert
- type AlertList
- type AlertListDataAttributesServicesStatus
- type AlertListDataType
- type AlertResponse
- type AlertResponseDataAttributesServicesStatus
- type AlertResponseDataType
- type AlertServicesStatus
- type AlertTriggerParams
- type AlertTriggerParamsAlertCondition
- type AlertTriggerParamsAlertConditionLabel
- type AlertTriggerParamsAlertConditionPayload
- type AlertTriggerParamsAlertConditionSource
- type AlertTriggerParamsTriggerType
- type AlertTriggerParamsTriggers
- type ArchiveSlackChannelsTaskParams
- type ArchiveSlackChannelsTaskParamsTaskType
- type AttachAlertResponse
- type AttachDatadogDashboardsTaskParams
- type AttachDatadogDashboardsTaskParamsTaskType
- type Audit
- type AuditItemType
- type AuditsList
- type AuditsListDataAttributesItemType
- type AuditsListDataType
- type AutoAssignRoleOpsgenieTaskParams
- type AutoAssignRoleOpsgenieTaskParamsTaskType
- type AutoAssignRolePagerdutyTaskParams
- type AutoAssignRolePagerdutyTaskParamsTaskType
- type AutoAssignRoleVictorOpsTaskParams
- type AutoAssignRoleVictorOpsTaskParamsTaskType
- type CallPeopleTaskParams
- type CallPeopleTaskParamsTaskType
- type CancelIncident
- type CancelIncidentDataType
- type CancelIncidentResponse
- type Cause
- type CauseList
- type CauseListDataType
- type CauseResponse
- type CauseResponseDataType
- type Client
- func (c *Client) AddSubscribersToIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AttachAlertWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CancelIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAlertWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCauseWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCustomFieldOptionWithBody(ctx context.Context, customFieldId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCustomFieldWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDashboardPanelWithBody(ctx context.Context, dashboardId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDashboardWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFormFieldOptionWithBody(ctx context.Context, formFieldId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFormFieldPositionWithBody(ctx context.Context, formFieldId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFormFieldWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFunctionalityWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentActionItemWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentCustomFieldSelectionWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentEventFunctionalityWithBody(ctx context.Context, incidentEventId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateIncidentEventServiceWithBody(ctx context.Context, incidentEventId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateIncidentEventWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentFeedbackWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentFormFieldSelectionWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentRoleTaskWithBody(ctx context.Context, incidentRoleId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentRoleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentStatusPageWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentTypeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIncidentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePlaybookTaskWithBody(ctx context.Context, playbookId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePlaybookWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePostmortemTemplateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePulseWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRetrospectiveStepWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSecretWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateServiceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSeverityWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageTemplateWithBody(ctx context.Context, statusPageId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTeamWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWebhooksEndpointWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowCustomFieldSelectionWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowFormFieldConditionWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowRunWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowTaskWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteCause(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDashboardPanel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFormField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFormFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFormFieldPosition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFunctionality(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncident(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentActionItem(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentEvent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentEventFunctionality(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentEventService(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentFormFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentRoleTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentStatusPage(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIncidentType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePlaybook(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePlaybookTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePostmortemTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteRetrospectiveStep(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSecret(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteService(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSeverity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStatusPage(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStatusPageTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTeam(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWebhooksEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkflow(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkflowCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkflowFormFieldCondition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkflowGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkflowTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeliverWebhooksDelivery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DuplicateDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DuplicateDashboardPanel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAlert(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCause(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDashboardPanel(ctx context.Context, id string, params *GetDashboardPanelParams, ...) (*http.Response, error)
- func (c *Client) GetEnvironment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFormField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFormFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFormFieldPosition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunctionality(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunctionalityIncidentsChart(ctx context.Context, id string, params *GetFunctionalityIncidentsChartParams, ...) (*http.Response, error)
- func (c *Client) GetFunctionalityUptimeChart(ctx context.Context, id string, params *GetFunctionalityUptimeChartParams, ...) (*http.Response, error)
- func (c *Client) GetIncident(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentActionItems(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentEventFunctionalities(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentEventServices(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentEvents(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentFeedbacks(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentFormFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentRoleTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentStatusPages(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIpRanges(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPlaybook(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPlaybookTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPostmortemTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPulse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRetrospectiveStep(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecret(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetService(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetServiceIncidentsChart(ctx context.Context, id string, params *GetServiceIncidentsChartParams, ...) (*http.Response, error)
- func (c *Client) GetServiceUptimeChart(ctx context.Context, id string, params *GetServiceUptimeChartParams, ...) (*http.Response, error)
- func (c *Client) GetSeverity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStatusPage(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStatusPageTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeam(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWebhooksDelivery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWebhooksEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflow(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowFormFieldCondition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAlerts(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAllIncidentActionItems(ctx context.Context, params *ListAllIncidentActionItemsParams, ...) (*http.Response, error)
- func (c *Client) ListAudits(ctx context.Context, params *ListAuditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCauses(ctx context.Context, params *ListCausesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCustomFieldOptions(ctx context.Context, customFieldId string, ...) (*http.Response, error)
- func (c *Client) ListCustomFields(ctx context.Context, params *ListCustomFieldsParams, ...) (*http.Response, error)
- func (c *Client) ListDashboardPanels(ctx context.Context, dashboardId string, params *ListDashboardPanelsParams, ...) (*http.Response, error)
- func (c *Client) ListDashboards(ctx context.Context, params *ListDashboardsParams, ...) (*http.Response, error)
- func (c *Client) ListEnvironments(ctx context.Context, params *ListEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) ListFormFieldOptions(ctx context.Context, formFieldId string, params *ListFormFieldOptionsParams, ...) (*http.Response, error)
- func (c *Client) ListFormFieldPositions(ctx context.Context, formFieldId string, params *ListFormFieldPositionsParams, ...) (*http.Response, error)
- func (c *Client) ListFormFields(ctx context.Context, params *ListFormFieldsParams, ...) (*http.Response, error)
- func (c *Client) ListFunctionalities(ctx context.Context, params *ListFunctionalitiesParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentActionItems(ctx context.Context, incidentId string, params *ListIncidentActionItemsParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentAlerts(ctx context.Context, incidentId string, params *ListIncidentAlertsParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentCustomFieldSelections(ctx context.Context, incidentId string, ...) (*http.Response, error)
- func (c *Client) ListIncidentEventFunctionalities(ctx context.Context, incidentEventId string, ...) (*http.Response, error)
- func (c *Client) ListIncidentEventServices(ctx context.Context, incidentEventId string, ...) (*http.Response, error)
- func (c *Client) ListIncidentEvents(ctx context.Context, incidentId string, params *ListIncidentEventsParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentFeedbacks(ctx context.Context, incidentId string, params *ListIncidentFeedbacksParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentFormFieldSelections(ctx context.Context, incidentId string, ...) (*http.Response, error)
- func (c *Client) ListIncidentPostMortems(ctx context.Context, params *ListIncidentPostMortemsParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentPostmortem(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListIncidentRoleTasks(ctx context.Context, incidentRoleId string, ...) (*http.Response, error)
- func (c *Client) ListIncidentRoles(ctx context.Context, params *ListIncidentRolesParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentStatusPages(ctx context.Context, incidentId string, params *ListIncidentStatusPagesParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentTypes(ctx context.Context, params *ListIncidentTypesParams, ...) (*http.Response, error)
- func (c *Client) ListIncidents(ctx context.Context, params *ListIncidentsParams, ...) (*http.Response, error)
- func (c *Client) ListPlaybookTasks(ctx context.Context, playbookId string, params *ListPlaybookTasksParams, ...) (*http.Response, error)
- func (c *Client) ListPlaybooks(ctx context.Context, params *ListPlaybooksParams, ...) (*http.Response, error)
- func (c *Client) ListPostmortemTemplates(ctx context.Context, params *ListPostmortemTemplatesParams, ...) (*http.Response, error)
- func (c *Client) ListPulses(ctx context.Context, params *ListPulsesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRetrospectiveSteps(ctx context.Context, params *ListRetrospectiveStepsParams, ...) (*http.Response, error)
- func (c *Client) ListSecrets(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSeverities(ctx context.Context, params *ListSeveritiesParams, ...) (*http.Response, error)
- func (c *Client) ListStatusPageTemplates(ctx context.Context, statusPageId string, ...) (*http.Response, error)
- func (c *Client) ListStatusPages(ctx context.Context, params *ListStatusPagesParams, ...) (*http.Response, error)
- func (c *Client) ListTeams(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListWebhooksDeliveries(ctx context.Context, endpointId string, params *ListWebhooksDeliveriesParams, ...) (*http.Response, error)
- func (c *Client) ListWebhooksEndpoints(ctx context.Context, params *ListWebhooksEndpointsParams, ...) (*http.Response, error)
- func (c *Client) ListWorkflowCustomFieldSelections(ctx context.Context, workflowId string, ...) (*http.Response, error)
- func (c *Client) ListWorkflowFormFieldConditions(ctx context.Context, workflowId string, ...) (*http.Response, error)
- func (c *Client) ListWorkflowGroups(ctx context.Context, params *ListWorkflowGroupsParams, ...) (*http.Response, error)
- func (c *Client) ListWorkflowRuns(ctx context.Context, workflowId string, params *ListWorkflowRunsParams, ...) (*http.Response, error)
- func (c *Client) ListWorkflowTasks(ctx context.Context, workflowId string, params *ListWorkflowTasksParams, ...) (*http.Response, error)
- func (c *Client) ListWorkflows(ctx context.Context, params *ListWorkflowsParams, ...) (*http.Response, error)
- func (c *Client) MarkAsDuplicateIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MitigateIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveSubscribersToIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResolveIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RestartIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetDefaultDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TriageIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCauseWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCustomFieldOptionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCustomFieldWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateDashboardPanelWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateDashboardWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFormFieldOptionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFormFieldPositionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFormFieldWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionalityWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentActionItemWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentCustomFieldSelectionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentEventFunctionalityWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentEventServiceWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentEventWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentFeedbackWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentFormFieldSelectionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentPostmortemWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentRoleTaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentRoleWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentStatusPageWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePlaybookTaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePlaybookWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePostmortemTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePulseWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateRetrospectiveStepWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSecretWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateServiceWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSeverityWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateTeamWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWebhooksEndpointWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowCustomFieldSelectionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowFormFieldConditionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowTaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddSubscribersToIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AddSubscribersToIncidentResponse, error)
- func (c *ClientWithResponses) AttachAlertWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*AttachAlertResponse, error)
- func (c *ClientWithResponses) CancelIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CancelIncidentResponse, error)
- func (c *ClientWithResponses) CreateAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAlertResponse, error)
- func (c *ClientWithResponses) CreateCauseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCauseResponse, error)
- func (c *ClientWithResponses) CreateCustomFieldOptionWithBodyWithResponse(ctx context.Context, customFieldId string, contentType string, body io.Reader, ...) (*CreateCustomFieldOptionResponse, error)
- func (c *ClientWithResponses) CreateCustomFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCustomFieldResponse, error)
- func (c *ClientWithResponses) CreateDashboardPanelWithBodyWithResponse(ctx context.Context, dashboardId string, contentType string, body io.Reader, ...) (*CreateDashboardPanelResponse, error)
- func (c *ClientWithResponses) CreateDashboardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDashboardResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEnvironmentResponse, error)
- func (c *ClientWithResponses) CreateFormFieldOptionWithBodyWithResponse(ctx context.Context, formFieldId string, contentType string, body io.Reader, ...) (*CreateFormFieldOptionResponse, error)
- func (c *ClientWithResponses) CreateFormFieldPositionWithBodyWithResponse(ctx context.Context, formFieldId string, contentType string, body io.Reader, ...) (*CreateFormFieldPositionResponse, error)
- func (c *ClientWithResponses) CreateFormFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateFormFieldResponse, error)
- func (c *ClientWithResponses) CreateFunctionalityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateFunctionalityResponse, error)
- func (c *ClientWithResponses) CreateIncidentActionItemWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*CreateIncidentActionItemResponse, error)
- func (c *ClientWithResponses) CreateIncidentCustomFieldSelectionWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*CreateIncidentCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) CreateIncidentEventFunctionalityWithBodyWithResponse(ctx context.Context, incidentEventId string, contentType string, ...) (*CreateIncidentEventFunctionalityResponse, error)
- func (c *ClientWithResponses) CreateIncidentEventServiceWithBodyWithResponse(ctx context.Context, incidentEventId string, contentType string, ...) (*CreateIncidentEventServiceResponse, error)
- func (c *ClientWithResponses) CreateIncidentEventWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*CreateIncidentEventResponse, error)
- func (c *ClientWithResponses) CreateIncidentFeedbackWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*CreateIncidentFeedbackResponse, error)
- func (c *ClientWithResponses) CreateIncidentFormFieldSelectionWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*CreateIncidentFormFieldSelectionResponse, error)
- func (c *ClientWithResponses) CreateIncidentRoleTaskWithBodyWithResponse(ctx context.Context, incidentRoleId string, contentType string, body io.Reader, ...) (*CreateIncidentRoleTaskResponse, error)
- func (c *ClientWithResponses) CreateIncidentRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateIncidentRoleResponse, error)
- func (c *ClientWithResponses) CreateIncidentStatusPageWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, ...) (*CreateIncidentStatusPageResponse, error)
- func (c *ClientWithResponses) CreateIncidentTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateIncidentTypeResponse, error)
- func (c *ClientWithResponses) CreateIncidentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateIncidentResponse, error)
- func (c *ClientWithResponses) CreatePlaybookTaskWithBodyWithResponse(ctx context.Context, playbookId string, contentType string, body io.Reader, ...) (*CreatePlaybookTaskResponse, error)
- func (c *ClientWithResponses) CreatePlaybookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePlaybookResponse, error)
- func (c *ClientWithResponses) CreatePostmortemTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePostmortemTemplateResponse, error)
- func (c *ClientWithResponses) CreatePulseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePulseResponse, error)
- func (c *ClientWithResponses) CreateRetrospectiveStepWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRetrospectiveStepResponse, error)
- func (c *ClientWithResponses) CreateSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSecretResponse, error)
- func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateServiceResponse, error)
- func (c *ClientWithResponses) CreateSeverityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSeverityResponse, error)
- func (c *ClientWithResponses) CreateStatusPageTemplateWithBodyWithResponse(ctx context.Context, statusPageId string, contentType string, body io.Reader, ...) (*CreateStatusPageTemplateResponse, error)
- func (c *ClientWithResponses) CreateStatusPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateStatusPageResponse, error)
- func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTeamResponse, error)
- func (c *ClientWithResponses) CreateWebhooksEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWebhooksEndpointResponse, error)
- func (c *ClientWithResponses) CreateWorkflowCustomFieldSelectionWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*CreateWorkflowCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) CreateWorkflowFormFieldConditionWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*CreateWorkflowFormFieldConditionResponse, error)
- func (c *ClientWithResponses) CreateWorkflowGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWorkflowGroupResponse, error)
- func (c *ClientWithResponses) CreateWorkflowRunWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*CreateWorkflowRunResponse, error)
- func (c *ClientWithResponses) CreateWorkflowTaskWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, ...) (*CreateWorkflowTaskResponse, error)
- func (c *ClientWithResponses) CreateWorkflowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWorkflowResponse, error)
- func (c *ClientWithResponses) DeleteCauseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCauseResponse, error)
- func (c *ClientWithResponses) DeleteCustomFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldOptionResponse, error)
- func (c *ClientWithResponses) DeleteCustomFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
- func (c *ClientWithResponses) DeleteDashboardPanelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardPanelResponse, error)
- func (c *ClientWithResponses) DeleteDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardResponse, error)
- func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
- func (c *ClientWithResponses) DeleteFormFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldOptionResponse, error)
- func (c *ClientWithResponses) DeleteFormFieldPositionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldPositionResponse, error)
- func (c *ClientWithResponses) DeleteFormFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldResponse, error)
- func (c *ClientWithResponses) DeleteFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFunctionalityResponse, error)
- func (c *ClientWithResponses) DeleteIncidentActionItemWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentActionItemResponse, error)
- func (c *ClientWithResponses) DeleteIncidentCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) DeleteIncidentEventFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventFunctionalityResponse, error)
- func (c *ClientWithResponses) DeleteIncidentEventServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventServiceResponse, error)
- func (c *ClientWithResponses) DeleteIncidentEventWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventResponse, error)
- func (c *ClientWithResponses) DeleteIncidentFormFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentFormFieldSelectionResponse, error)
- func (c *ClientWithResponses) DeleteIncidentRoleTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentRoleTaskResponse, error)
- func (c *ClientWithResponses) DeleteIncidentRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentRoleResponse, error)
- func (c *ClientWithResponses) DeleteIncidentStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentStatusPageResponse, error)
- func (c *ClientWithResponses) DeleteIncidentTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentTypeResponse, error)
- func (c *ClientWithResponses) DeleteIncidentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentResponse, error)
- func (c *ClientWithResponses) DeletePlaybookTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlaybookTaskResponse, error)
- func (c *ClientWithResponses) DeletePlaybookWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlaybookResponse, error)
- func (c *ClientWithResponses) DeletePostmortemTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePostmortemTemplateResponse, error)
- func (c *ClientWithResponses) DeleteRetrospectiveStepWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteRetrospectiveStepResponse, error)
- func (c *ClientWithResponses) DeleteSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecretResponse, error)
- func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
- func (c *ClientWithResponses) DeleteSeverityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSeverityResponse, error)
- func (c *ClientWithResponses) DeleteStatusPageTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStatusPageTemplateResponse, error)
- func (c *ClientWithResponses) DeleteStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStatusPageResponse, error)
- func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
- func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
- func (c *ClientWithResponses) DeleteWebhooksEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWebhooksEndpointResponse, error)
- func (c *ClientWithResponses) DeleteWorkflowCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) DeleteWorkflowFormFieldConditionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowFormFieldConditionResponse, error)
- func (c *ClientWithResponses) DeleteWorkflowGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowGroupResponse, error)
- func (c *ClientWithResponses) DeleteWorkflowTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowTaskResponse, error)
- func (c *ClientWithResponses) DeleteWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)
- func (c *ClientWithResponses) DeliverWebhooksDeliveryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeliverWebhooksDeliveryResponse, error)
- func (c *ClientWithResponses) DuplicateDashboardPanelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DuplicateDashboardPanelResponse, error)
- func (c *ClientWithResponses) DuplicateDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DuplicateDashboardResponse, error)
- func (c *ClientWithResponses) GetAlertWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAlertResponse, error)
- func (c *ClientWithResponses) GetCauseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCauseResponse, error)
- func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
- func (c *ClientWithResponses) GetCustomFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionResponse, error)
- func (c *ClientWithResponses) GetCustomFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCustomFieldResponse, error)
- func (c *ClientWithResponses) GetDashboardPanelWithResponse(ctx context.Context, id string, params *GetDashboardPanelParams, ...) (*GetDashboardPanelResponse, error)
- func (c *ClientWithResponses) GetDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDashboardResponse, error)
- func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
- func (c *ClientWithResponses) GetFormFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldOptionResponse, error)
- func (c *ClientWithResponses) GetFormFieldPositionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldPositionResponse, error)
- func (c *ClientWithResponses) GetFormFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldResponse, error)
- func (c *ClientWithResponses) GetFunctionalityIncidentsChartWithResponse(ctx context.Context, id string, params *GetFunctionalityIncidentsChartParams, ...) (*GetFunctionalityIncidentsChartResponse, error)
- func (c *ClientWithResponses) GetFunctionalityUptimeChartWithResponse(ctx context.Context, id string, params *GetFunctionalityUptimeChartParams, ...) (*GetFunctionalityUptimeChartResponse, error)
- func (c *ClientWithResponses) GetFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFunctionalityResponse, error)
- func (c *ClientWithResponses) GetIncidentActionItemsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentActionItemsResponse, error)
- func (c *ClientWithResponses) GetIncidentCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) GetIncidentEventFunctionalitiesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventFunctionalitiesResponse, error)
- func (c *ClientWithResponses) GetIncidentEventServicesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventServicesResponse, error)
- func (c *ClientWithResponses) GetIncidentEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventsResponse, error)
- func (c *ClientWithResponses) GetIncidentFeedbacksWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentFeedbacksResponse, error)
- func (c *ClientWithResponses) GetIncidentFormFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentFormFieldSelectionResponse, error)
- func (c *ClientWithResponses) GetIncidentRoleTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentRoleTaskResponse, error)
- func (c *ClientWithResponses) GetIncidentRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentRoleResponse, error)
- func (c *ClientWithResponses) GetIncidentStatusPagesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentStatusPagesResponse, error)
- func (c *ClientWithResponses) GetIncidentTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentTypeResponse, error)
- func (c *ClientWithResponses) GetIncidentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentResponse, error)
- func (c *ClientWithResponses) GetIpRangesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIpRangesResponse, error)
- func (c *ClientWithResponses) GetPlaybookTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlaybookTaskResponse, error)
- func (c *ClientWithResponses) GetPlaybookWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlaybookResponse, error)
- func (c *ClientWithResponses) GetPostmortemTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPostmortemTemplateResponse, error)
- func (c *ClientWithResponses) GetPulseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPulseResponse, error)
- func (c *ClientWithResponses) GetRetrospectiveStepWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRetrospectiveStepResponse, error)
- func (c *ClientWithResponses) GetSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecretResponse, error)
- func (c *ClientWithResponses) GetServiceIncidentsChartWithResponse(ctx context.Context, id string, params *GetServiceIncidentsChartParams, ...) (*GetServiceIncidentsChartResponse, error)
- func (c *ClientWithResponses) GetServiceUptimeChartWithResponse(ctx context.Context, id string, params *GetServiceUptimeChartParams, ...) (*GetServiceUptimeChartResponse, error)
- func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
- func (c *ClientWithResponses) GetSeverityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSeverityResponse, error)
- func (c *ClientWithResponses) GetStatusPageTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStatusPageTemplateResponse, error)
- func (c *ClientWithResponses) GetStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStatusPageResponse, error)
- func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
- func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
- func (c *ClientWithResponses) GetWebhooksDeliveryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWebhooksDeliveryResponse, error)
- func (c *ClientWithResponses) GetWebhooksEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWebhooksEndpointResponse, error)
- func (c *ClientWithResponses) GetWorkflowCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) GetWorkflowFormFieldConditionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowFormFieldConditionResponse, error)
- func (c *ClientWithResponses) GetWorkflowGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowGroupResponse, error)
- func (c *ClientWithResponses) GetWorkflowTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowTaskResponse, error)
- func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
- func (c *ClientWithResponses) ListAlertsWithResponse(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*ListAlertsResponse, error)
- func (c *ClientWithResponses) ListAllIncidentActionItemsWithResponse(ctx context.Context, params *ListAllIncidentActionItemsParams, ...) (*ListAllIncidentActionItemsResponse, error)
- func (c *ClientWithResponses) ListAuditsWithResponse(ctx context.Context, params *ListAuditsParams, reqEditors ...RequestEditorFn) (*ListAuditsResponse, error)
- func (c *ClientWithResponses) ListCausesWithResponse(ctx context.Context, params *ListCausesParams, reqEditors ...RequestEditorFn) (*ListCausesResponse, error)
- func (c *ClientWithResponses) ListCustomFieldOptionsWithResponse(ctx context.Context, customFieldId string, ...) (*ListCustomFieldOptionsResponse, error)
- func (c *ClientWithResponses) ListCustomFieldsWithResponse(ctx context.Context, params *ListCustomFieldsParams, ...) (*ListCustomFieldsResponse, error)
- func (c *ClientWithResponses) ListDashboardPanelsWithResponse(ctx context.Context, dashboardId string, params *ListDashboardPanelsParams, ...) (*ListDashboardPanelsResponse, error)
- func (c *ClientWithResponses) ListDashboardsWithResponse(ctx context.Context, params *ListDashboardsParams, ...) (*ListDashboardsResponse, error)
- func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, params *ListEnvironmentsParams, ...) (*ListEnvironmentsResponse, error)
- func (c *ClientWithResponses) ListFormFieldOptionsWithResponse(ctx context.Context, formFieldId string, params *ListFormFieldOptionsParams, ...) (*ListFormFieldOptionsResponse, error)
- func (c *ClientWithResponses) ListFormFieldPositionsWithResponse(ctx context.Context, formFieldId string, params *ListFormFieldPositionsParams, ...) (*ListFormFieldPositionsResponse, error)
- func (c *ClientWithResponses) ListFormFieldsWithResponse(ctx context.Context, params *ListFormFieldsParams, ...) (*ListFormFieldsResponse, error)
- func (c *ClientWithResponses) ListFunctionalitiesWithResponse(ctx context.Context, params *ListFunctionalitiesParams, ...) (*ListFunctionalitiesResponse, error)
- func (c *ClientWithResponses) ListIncidentActionItemsWithResponse(ctx context.Context, incidentId string, params *ListIncidentActionItemsParams, ...) (*ListIncidentActionItemsResponse, error)
- func (c *ClientWithResponses) ListIncidentAlertsWithResponse(ctx context.Context, incidentId string, params *ListIncidentAlertsParams, ...) (*ListIncidentAlertsResponse, error)
- func (c *ClientWithResponses) ListIncidentCustomFieldSelectionsWithResponse(ctx context.Context, incidentId string, ...) (*ListIncidentCustomFieldSelectionsResponse, error)
- func (c *ClientWithResponses) ListIncidentEventFunctionalitiesWithResponse(ctx context.Context, incidentEventId string, ...) (*ListIncidentEventFunctionalitiesResponse, error)
- func (c *ClientWithResponses) ListIncidentEventServicesWithResponse(ctx context.Context, incidentEventId string, ...) (*ListIncidentEventServicesResponse, error)
- func (c *ClientWithResponses) ListIncidentEventsWithResponse(ctx context.Context, incidentId string, params *ListIncidentEventsParams, ...) (*ListIncidentEventsResponse, error)
- func (c *ClientWithResponses) ListIncidentFeedbacksWithResponse(ctx context.Context, incidentId string, params *ListIncidentFeedbacksParams, ...) (*ListIncidentFeedbacksResponse, error)
- func (c *ClientWithResponses) ListIncidentFormFieldSelectionsWithResponse(ctx context.Context, incidentId string, ...) (*ListIncidentFormFieldSelectionsResponse, error)
- func (c *ClientWithResponses) ListIncidentPostMortemsWithResponse(ctx context.Context, params *ListIncidentPostMortemsParams, ...) (*ListIncidentPostMortemsResponse, error)
- func (c *ClientWithResponses) ListIncidentPostmortemWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListIncidentPostmortemResponse, error)
- func (c *ClientWithResponses) ListIncidentRoleTasksWithResponse(ctx context.Context, incidentRoleId string, ...) (*ListIncidentRoleTasksResponse, error)
- func (c *ClientWithResponses) ListIncidentRolesWithResponse(ctx context.Context, params *ListIncidentRolesParams, ...) (*ListIncidentRolesResponse, error)
- func (c *ClientWithResponses) ListIncidentStatusPagesWithResponse(ctx context.Context, incidentId string, params *ListIncidentStatusPagesParams, ...) (*ListIncidentStatusPagesResponse, error)
- func (c *ClientWithResponses) ListIncidentTypesWithResponse(ctx context.Context, params *ListIncidentTypesParams, ...) (*ListIncidentTypesResponse, error)
- func (c *ClientWithResponses) ListIncidentsWithResponse(ctx context.Context, params *ListIncidentsParams, ...) (*ListIncidentsResponse, error)
- func (c *ClientWithResponses) ListPlaybookTasksWithResponse(ctx context.Context, playbookId string, params *ListPlaybookTasksParams, ...) (*ListPlaybookTasksResponse, error)
- func (c *ClientWithResponses) ListPlaybooksWithResponse(ctx context.Context, params *ListPlaybooksParams, ...) (*ListPlaybooksResponse, error)
- func (c *ClientWithResponses) ListPostmortemTemplatesWithResponse(ctx context.Context, params *ListPostmortemTemplatesParams, ...) (*ListPostmortemTemplatesResponse, error)
- func (c *ClientWithResponses) ListPulsesWithResponse(ctx context.Context, params *ListPulsesParams, reqEditors ...RequestEditorFn) (*ListPulsesResponse, error)
- func (c *ClientWithResponses) ListRetrospectiveStepsWithResponse(ctx context.Context, params *ListRetrospectiveStepsParams, ...) (*ListRetrospectiveStepsResponse, error)
- func (c *ClientWithResponses) ListSecretsWithResponse(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*ListSecretsResponse, error)
- func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
- func (c *ClientWithResponses) ListSeveritiesWithResponse(ctx context.Context, params *ListSeveritiesParams, ...) (*ListSeveritiesResponse, error)
- func (c *ClientWithResponses) ListStatusPageTemplatesWithResponse(ctx context.Context, statusPageId string, ...) (*ListStatusPageTemplatesResponse, error)
- func (c *ClientWithResponses) ListStatusPagesWithResponse(ctx context.Context, params *ListStatusPagesParams, ...) (*ListStatusPagesResponse, error)
- func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
- func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
- func (c *ClientWithResponses) ListWebhooksDeliveriesWithResponse(ctx context.Context, endpointId string, params *ListWebhooksDeliveriesParams, ...) (*ListWebhooksDeliveriesResponse, error)
- func (c *ClientWithResponses) ListWebhooksEndpointsWithResponse(ctx context.Context, params *ListWebhooksEndpointsParams, ...) (*ListWebhooksEndpointsResponse, error)
- func (c *ClientWithResponses) ListWorkflowCustomFieldSelectionsWithResponse(ctx context.Context, workflowId string, ...) (*ListWorkflowCustomFieldSelectionsResponse, error)
- func (c *ClientWithResponses) ListWorkflowFormFieldConditionsWithResponse(ctx context.Context, workflowId string, ...) (*ListWorkflowFormFieldConditionsResponse, error)
- func (c *ClientWithResponses) ListWorkflowGroupsWithResponse(ctx context.Context, params *ListWorkflowGroupsParams, ...) (*ListWorkflowGroupsResponse, error)
- func (c *ClientWithResponses) ListWorkflowRunsWithResponse(ctx context.Context, workflowId string, params *ListWorkflowRunsParams, ...) (*ListWorkflowRunsResponse, error)
- func (c *ClientWithResponses) ListWorkflowTasksWithResponse(ctx context.Context, workflowId string, params *ListWorkflowTasksParams, ...) (*ListWorkflowTasksResponse, error)
- func (c *ClientWithResponses) ListWorkflowsWithResponse(ctx context.Context, params *ListWorkflowsParams, ...) (*ListWorkflowsResponse, error)
- func (c *ClientWithResponses) MarkAsDuplicateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*MarkAsDuplicateIncidentResponse, error)
- func (c *ClientWithResponses) MitigateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*MitigateIncidentResponse, error)
- func (c *ClientWithResponses) RemoveSubscribersToIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*RemoveSubscribersToIncidentResponse, error)
- func (c *ClientWithResponses) ResolveIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ResolveIncidentResponse, error)
- func (c *ClientWithResponses) RestartIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*RestartIncidentResponse, error)
- func (c *ClientWithResponses) SetDefaultDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SetDefaultDashboardResponse, error)
- func (c *ClientWithResponses) TriageIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*TriageIncidentResponse, error)
- func (c *ClientWithResponses) UpdateCauseWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateCauseResponse, error)
- func (c *ClientWithResponses) UpdateCustomFieldOptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateCustomFieldOptionResponse, error)
- func (c *ClientWithResponses) UpdateCustomFieldWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateCustomFieldResponse, error)
- func (c *ClientWithResponses) UpdateDashboardPanelWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateDashboardPanelResponse, error)
- func (c *ClientWithResponses) UpdateDashboardWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateDashboardResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateEnvironmentResponse, error)
- func (c *ClientWithResponses) UpdateFormFieldOptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateFormFieldOptionResponse, error)
- func (c *ClientWithResponses) UpdateFormFieldPositionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateFormFieldPositionResponse, error)
- func (c *ClientWithResponses) UpdateFormFieldWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateFormFieldResponse, error)
- func (c *ClientWithResponses) UpdateFunctionalityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateFunctionalityResponse, error)
- func (c *ClientWithResponses) UpdateIncidentActionItemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentActionItemResponse, error)
- func (c *ClientWithResponses) UpdateIncidentCustomFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) UpdateIncidentEventFunctionalityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentEventFunctionalityResponse, error)
- func (c *ClientWithResponses) UpdateIncidentEventServiceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentEventServiceResponse, error)
- func (c *ClientWithResponses) UpdateIncidentEventWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentEventResponse, error)
- func (c *ClientWithResponses) UpdateIncidentFeedbackWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentFeedbackResponse, error)
- func (c *ClientWithResponses) UpdateIncidentFormFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentFormFieldSelectionResponse, error)
- func (c *ClientWithResponses) UpdateIncidentPostmortemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentPostmortemResponse, error)
- func (c *ClientWithResponses) UpdateIncidentRoleTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentRoleTaskResponse, error)
- func (c *ClientWithResponses) UpdateIncidentRoleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentRoleResponse, error)
- func (c *ClientWithResponses) UpdateIncidentStatusPageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentStatusPageResponse, error)
- func (c *ClientWithResponses) UpdateIncidentTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentTypeResponse, error)
- func (c *ClientWithResponses) UpdateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateIncidentResponse, error)
- func (c *ClientWithResponses) UpdatePlaybookTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdatePlaybookTaskResponse, error)
- func (c *ClientWithResponses) UpdatePlaybookWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdatePlaybookResponse, error)
- func (c *ClientWithResponses) UpdatePostmortemTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdatePostmortemTemplateResponse, error)
- func (c *ClientWithResponses) UpdatePulseWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdatePulseResponse, error)
- func (c *ClientWithResponses) UpdateRetrospectiveStepWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateRetrospectiveStepResponse, error)
- func (c *ClientWithResponses) UpdateSecretWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateSecretResponse, error)
- func (c *ClientWithResponses) UpdateServiceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateServiceResponse, error)
- func (c *ClientWithResponses) UpdateSeverityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateSeverityResponse, error)
- func (c *ClientWithResponses) UpdateStatusPageTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateStatusPageTemplateResponse, error)
- func (c *ClientWithResponses) UpdateStatusPageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateStatusPageResponse, error)
- func (c *ClientWithResponses) UpdateTeamWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateTeamResponse, error)
- func (c *ClientWithResponses) UpdateWebhooksEndpointWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWebhooksEndpointResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowCustomFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWorkflowCustomFieldSelectionResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowFormFieldConditionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWorkflowFormFieldConditionResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWorkflowGroupResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWorkflowTaskResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWorkflowResponse, error)
- type ClientWithResponsesInterface
- type CreateAirtableTableRecordTaskParams
- type CreateAirtableTableRecordTaskParamsTaskType
- type CreateAlertResponse
- type CreateAsanaSubtaskTaskParams
- type CreateAsanaSubtaskTaskParamsDependencyDirection
- type CreateAsanaSubtaskTaskParamsTaskType
- type CreateAsanaTaskTaskParams
- type CreateAsanaTaskTaskParamsDependencyDirection
- type CreateAsanaTaskTaskParamsTaskType
- type CreateCauseResponse
- type CreateClickupTaskTaskParams
- type CreateClickupTaskTaskParamsTaskType
- type CreateConfluencePageTaskParams
- type CreateConfluencePageTaskParamsTaskType
- type CreateCustomFieldOptionResponse
- type CreateCustomFieldResponse
- type CreateDashboardPanelResponse
- type CreateDashboardResponse
- type CreateDatadogNotebookTaskParams
- type CreateDatadogNotebookTaskParamsKind
- type CreateDatadogNotebookTaskParamsTaskType
- type CreateDropboxPaperPageTaskParams
- type CreateDropboxPaperPageTaskParamsTaskType
- type CreateEnvironmentResponse
- type CreateFormFieldOptionResponse
- type CreateFormFieldPositionResponse
- type CreateFormFieldResponse
- type CreateFunctionalityResponse
- type CreateGithubIssueTaskParams
- type CreateGithubIssueTaskParamsTaskType
- type CreateGoToMeetingTaskParams
- type CreateGoToMeetingTaskParamsConferenceCallInfo
- type CreateGoToMeetingTaskParamsTaskType
- type CreateGoogleCalendarEventTaskParams
- type CreateGoogleCalendarEventTaskParamsConferenceSolutionKey
- type CreateGoogleCalendarEventTaskParamsTaskType
- type CreateGoogleCalendarEventTaskParamsTimeZone
- type CreateGoogleDocsPageTaskParams
- type CreateGoogleDocsPageTaskParamsTaskType
- type CreateGoogleDocsPermissionsTaskParams
- type CreateGoogleDocsPermissionsTaskParamsTaskType
- type CreateGoogleMeetingTaskParams
- type CreateGoogleMeetingTaskParamsConferenceSolutionKey
- type CreateGoogleMeetingTaskParamsTaskType
- type CreateIncidentActionItemResponse
- type CreateIncidentCustomFieldSelectionResponse
- type CreateIncidentEventFunctionalityResponse
- type CreateIncidentEventResponse
- type CreateIncidentEventServiceResponse
- type CreateIncidentFeedbackResponse
- type CreateIncidentFormFieldSelectionResponse
- type CreateIncidentPostmortemTaskParams
- type CreateIncidentPostmortemTaskParamsTaskType
- type CreateIncidentResponse
- type CreateIncidentRoleResponse
- type CreateIncidentRoleTaskResponse
- type CreateIncidentStatusPageResponse
- type CreateIncidentTaskParams
- type CreateIncidentTaskParamsTaskType
- type CreateIncidentTypeResponse
- type CreateJiraIssueTaskParams
- type CreateJiraIssueTaskParamsTaskType
- type CreateJiraSubtaskTaskParams
- type CreateJiraSubtaskTaskParamsTaskType
- type CreateLinearIssueCommentTaskParams
- type CreateLinearIssueCommentTaskParamsTaskType
- type CreateLinearIssueTaskParams
- type CreateLinearIssueTaskParamsTaskType
- type CreateLinearSubtaskIssueTaskParams
- type CreateLinearSubtaskIssueTaskParamsTaskType
- type CreateMicrosoftTeamsMeetingTaskParams
- type CreateMicrosoftTeamsMeetingTaskParamsTaskType
- type CreateNotionPageTaskParams
- type CreateNotionPageTaskParamsTaskType
- type CreateOpsgenieAlertTaskParams
- type CreateOpsgenieAlertTaskParamsPriority
- type CreateOpsgenieAlertTaskParamsTaskType
- type CreatePagerdutyStatusUpdateParams
- type CreatePagerdutyStatusUpdateParamsTaskType
- type CreatePagertreeAlertTaskParams
- type CreatePagertreeAlertTaskParamsSeverity
- type CreatePagertreeAlertTaskParamsTaskType
- type CreatePagertreeAlertTaskParamsUrgency
- type CreatePlaybookResponse
- type CreatePlaybookTaskResponse
- type CreatePostmortemTemplateResponse
- type CreatePulseResponse
- type CreateQuipPageTaskParams
- type CreateQuipPageTaskParamsTaskType
- type CreateRetrospectiveStepResponse
- type CreateSecretResponse
- type CreateServiceNowIncidentTaskParams
- type CreateServiceNowIncidentTaskParamsTaskType
- type CreateServiceResponse
- type CreateSeverityResponse
- type CreateShortcutStoryTaskParams
- type CreateShortcutStoryTaskParamsKind
- type CreateShortcutStoryTaskParamsTaskType
- type CreateShortcutTaskTaskParams
- type CreateShortcutTaskTaskParamsTaskType
- type CreateSlackChannelTaskParams
- type CreateSlackChannelTaskParamsPrivate
- type CreateSlackChannelTaskParamsTaskType
- type CreateStatusPageResponse
- type CreateStatusPageTemplateResponse
- type CreateTeamResponse
- type CreateTrelloCardTaskParams
- type CreateTrelloCardTaskParamsTaskType
- type CreateWebexMeetingTaskParams
- type CreateWebexMeetingTaskParamsTaskType
- type CreateWebhooksEndpointResponse
- type CreateWorkflowCustomFieldSelectionResponse
- type CreateWorkflowFormFieldConditionResponse
- type CreateWorkflowGroupResponse
- type CreateWorkflowResponse
- type CreateWorkflowRunResponse
- type CreateWorkflowTaskResponse
- type CreateZendeskTicketTaskParams
- type CreateZendeskTicketTaskParamsKind
- type CreateZendeskTicketTaskParamsTaskType
- type CreateZoomMeetingTaskParams
- type CreateZoomMeetingTaskParamsAutoRecording
- type CreateZoomMeetingTaskParamsTaskType
- type CustomField
- type CustomFieldList
- type CustomFieldListDataAttributesRequired
- type CustomFieldListDataAttributesShown
- type CustomFieldListDataType
- type CustomFieldOption
- type CustomFieldOptionList
- type CustomFieldOptionListDataType
- type CustomFieldOptionResponse
- type CustomFieldOptionResponseDataType
- type CustomFieldRequired
- type CustomFieldResponse
- type CustomFieldResponseDataAttributesRequired
- type CustomFieldResponseDataAttributesShown
- type CustomFieldResponseDataType
- type CustomFieldShown
- type Dashboard
- type DashboardColor
- type DashboardList
- type DashboardListDataAttributesColor
- type DashboardListDataAttributesOwner
- type DashboardListDataType
- type DashboardOwner
- type DashboardPanel
- type DashboardPanelList
- type DashboardPanelListDataAttributesParamsDatasetsAggregateOperation
- type DashboardPanelListDataAttributesParamsDatasetsCollection
- type DashboardPanelListDataAttributesParamsDatasetsFilterOperation
- type DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation
- type DashboardPanelListDataAttributesParamsDisplay
- type DashboardPanelListDataType
- type DashboardPanelParamsDatasetsAggregateOperation
- type DashboardPanelParamsDatasetsCollection
- type DashboardPanelParamsDatasetsFilterOperation
- type DashboardPanelParamsDatasetsFilterRulesOperation
- type DashboardPanelParamsDisplay
- type DashboardPanelResponse
- type DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation
- type DashboardPanelResponseDataAttributesParamsDatasetsCollection
- type DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation
- type DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperation
- type DashboardPanelResponseDataAttributesParamsDisplay
- type DashboardPanelResponseDataType
- type DashboardResponse
- type DashboardResponseDataAttributesColor
- type DashboardResponseDataAttributesOwner
- type DashboardResponseDataType
- type DeleteCauseResponse
- type DeleteCustomFieldOptionResponse
- type DeleteCustomFieldResponse
- type DeleteDashboardPanelResponse
- type DeleteDashboardResponse
- type DeleteEnvironmentResponse
- type DeleteFormFieldOptionResponse
- type DeleteFormFieldPositionResponse
- type DeleteFormFieldResponse
- type DeleteFunctionalityResponse
- type DeleteIncidentActionItemResponse
- type DeleteIncidentCustomFieldSelectionResponse
- type DeleteIncidentEventFunctionalityResponse
- type DeleteIncidentEventResponse
- type DeleteIncidentEventServiceResponse
- type DeleteIncidentFormFieldSelectionResponse
- type DeleteIncidentResponse
- type DeleteIncidentRoleResponse
- type DeleteIncidentRoleTaskResponse
- type DeleteIncidentStatusPageResponse
- type DeleteIncidentTypeResponse
- type DeletePlaybookResponse
- type DeletePlaybookTaskResponse
- type DeletePostmortemTemplateResponse
- type DeleteRetrospectiveStepResponse
- type DeleteSecretResponse
- type DeleteServiceResponse
- type DeleteSeverityResponse
- type DeleteStatusPageResponse
- type DeleteStatusPageTemplateResponse
- type DeleteTeamResponse
- type DeleteUserResponse
- type DeleteWebhooksEndpointResponse
- type DeleteWorkflowCustomFieldSelectionResponse
- type DeleteWorkflowFormFieldConditionResponse
- type DeleteWorkflowGroupResponse
- type DeleteWorkflowResponse
- type DeleteWorkflowTaskResponse
- type DeliverWebhooksDeliveryResponse
- type DuplicateDashboardPanelResponse
- type DuplicateDashboardResponse
- type Environment
- type EnvironmentList
- type EnvironmentListDataType
- type EnvironmentResponse
- type EnvironmentResponseDataType
- type ErrorsList
- type FormField
- type FormFieldInputKind
- type FormFieldKind
- type FormFieldList
- type FormFieldListDataAttributesInputKind
- type FormFieldListDataAttributesKind
- type FormFieldListDataAttributesRequired
- type FormFieldListDataAttributesShown
- type FormFieldListDataType
- type FormFieldOption
- type FormFieldOptionList
- type FormFieldOptionListDataType
- type FormFieldOptionResponse
- type FormFieldOptionResponseDataType
- type FormFieldPosition
- type FormFieldPositionForm
- type FormFieldPositionList
- type FormFieldPositionListDataAttributesForm
- type FormFieldPositionListDataType
- type FormFieldPositionResponse
- type FormFieldPositionResponseDataAttributesForm
- type FormFieldPositionResponseDataType
- type FormFieldRequired
- type FormFieldResponse
- type FormFieldResponseDataAttributesInputKind
- type FormFieldResponseDataAttributesKind
- type FormFieldResponseDataAttributesRequired
- type FormFieldResponseDataAttributesShown
- type FormFieldResponseDataType
- type FormFieldShown
- type Functionality
- type FunctionalityList
- type FunctionalityListDataAttributesStatus
- type FunctionalityListDataType
- type FunctionalityResponse
- type FunctionalityResponseDataAttributesStatus
- type FunctionalityResponseDataType
- type FunctionalityStatus
- type GetAlertResponse
- type GetAlertsTaskParams
- type GetAlertsTaskParamsTaskType
- type GetCauseResponse
- type GetCurrentUserResponse
- type GetCustomFieldOptionResponse
- type GetCustomFieldResponse
- type GetDashboardPanelParams
- type GetDashboardPanelResponse
- type GetDashboardResponse
- type GetEnvironmentResponse
- type GetFormFieldOptionResponse
- type GetFormFieldPositionResponse
- type GetFormFieldResponse
- type GetFunctionalityIncidentsChartParams
- type GetFunctionalityIncidentsChartResponse
- type GetFunctionalityResponse
- type GetFunctionalityUptimeChartParams
- type GetFunctionalityUptimeChartResponse
- type GetGithubCommitsTaskParams
- type GetGithubCommitsTaskParamsTaskType
- type GetGitlabCommitsTaskParams
- type GetGitlabCommitsTaskParamsTaskType
- type GetIncidentActionItemsResponse
- type GetIncidentCustomFieldSelectionResponse
- type GetIncidentEventFunctionalitiesResponse
- type GetIncidentEventServicesResponse
- type GetIncidentEventsResponse
- type GetIncidentFeedbacksResponse
- type GetIncidentFormFieldSelectionResponse
- type GetIncidentResponse
- type GetIncidentRoleResponse
- type GetIncidentRoleTaskResponse
- type GetIncidentStatusPagesResponse
- type GetIncidentTypeResponse
- type GetIpRangesResponse
- type GetPlaybookResponse
- type GetPlaybookTaskResponse
- type GetPostmortemTemplateResponse
- type GetPulseResponse
- type GetPulsesTaskParams
- type GetPulsesTaskParamsTaskType
- type GetRetrospectiveStepResponse
- type GetSecretResponse
- type GetServiceIncidentsChartParams
- type GetServiceIncidentsChartResponse
- type GetServiceResponse
- type GetServiceUptimeChartParams
- type GetServiceUptimeChartResponse
- type GetSeverityResponse
- type GetStatusPageResponse
- type GetStatusPageTemplateResponse
- type GetTeamResponse
- type GetUserResponse
- type GetWebhooksDeliveryResponse
- type GetWebhooksEndpointResponse
- type GetWorkflowCustomFieldSelectionResponse
- type GetWorkflowFormFieldConditionResponse
- type GetWorkflowGroupResponse
- type GetWorkflowResponse
- type GetWorkflowTaskResponse
- type HttpClientTaskParams
- type HttpClientTaskParamsMethod
- type HttpClientTaskParamsTaskType
- type HttpRequestDoer
- type InTriageIncident
- type InTriageIncidentDataType
- type Incident
- type IncidentActionItem
- type IncidentActionItemKind
- type IncidentActionItemList
- type IncidentActionItemListDataAttributesKind
- type IncidentActionItemListDataAttributesPriority
- type IncidentActionItemListDataAttributesStatus
- type IncidentActionItemListDataType
- type IncidentActionItemPriority
- type IncidentActionItemResponse
- type IncidentActionItemResponseDataAttributesKind
- type IncidentActionItemResponseDataAttributesPriority
- type IncidentActionItemResponseDataAttributesStatus
- type IncidentActionItemResponseDataType
- type IncidentActionItemStatus
- type IncidentCustomFieldSelection
- type IncidentCustomFieldSelectionList
- type IncidentCustomFieldSelectionListDataType
- type IncidentCustomFieldSelectionResponse
- type IncidentCustomFieldSelectionResponseDataType
- type IncidentEnvironmentsDataType
- type IncidentEvent
- type IncidentEventFunctionality
- type IncidentEventFunctionalityList
- type IncidentEventFunctionalityListDataAttributesStatus
- type IncidentEventFunctionalityListDataType
- type IncidentEventFunctionalityResponse
- type IncidentEventFunctionalityResponseDataAttributesStatus
- type IncidentEventFunctionalityResponseDataType
- type IncidentEventFunctionalityStatus
- type IncidentEventList
- type IncidentEventListDataAttributesVisibility
- type IncidentEventListDataType
- type IncidentEventResponse
- type IncidentEventResponseDataAttributesVisibility
- type IncidentEventResponseDataType
- type IncidentEventService
- type IncidentEventServiceList
- type IncidentEventServiceListDataAttributesStatus
- type IncidentEventServiceListDataType
- type IncidentEventServiceResponse
- type IncidentEventServiceResponseDataAttributesStatus
- type IncidentEventServiceResponseDataType
- type IncidentEventServiceStatus
- type IncidentEventVisibility
- type IncidentFeedback
- type IncidentFeedbackList
- type IncidentFeedbackListDataAttributesRating
- type IncidentFeedbackListDataType
- type IncidentFeedbackRating
- type IncidentFeedbackResponse
- type IncidentFeedbackResponseDataAttributesRating
- type IncidentFeedbackResponseDataType
- type IncidentFormFieldSelection
- type IncidentFormFieldSelectionList
- type IncidentFormFieldSelectionListDataType
- type IncidentFormFieldSelectionResponse
- type IncidentFormFieldSelectionResponseDataType
- type IncidentFunctionalitiesDataAttributesStatus
- type IncidentFunctionalitiesDataType
- type IncidentGroupsDataType
- type IncidentIncidentTypesDataType
- type IncidentList
- type IncidentListDataAttributesEnvironmentsDataType
- type IncidentListDataAttributesFunctionalitiesDataAttributesStatus
- type IncidentListDataAttributesFunctionalitiesDataType
- type IncidentListDataAttributesGroupsDataType
- type IncidentListDataAttributesIncidentTypesDataType
- type IncidentListDataAttributesServicesDataAttributesStatus
- type IncidentListDataAttributesServicesDataType
- type IncidentListDataAttributesSeverityDataAttributesSeverity
- type IncidentListDataAttributesSeverityDataType
- type IncidentListDataType
- type IncidentPostMortem
- type IncidentPostMortemList
- type IncidentPostMortemListDataAttributesShowTimelineOrder
- type IncidentPostMortemListDataAttributesStatus
- type IncidentPostMortemListDataType
- type IncidentPostMortemResponse
- type IncidentPostMortemResponseDataAttributesShowTimelineOrder
- type IncidentPostMortemResponseDataAttributesStatus
- type IncidentPostMortemResponseDataType
- type IncidentPostMortemShowTimelineOrder
- type IncidentPostMortemStatus
- type IncidentResponse
- type IncidentResponseDataAttributesEnvironmentsDataType
- type IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus
- type IncidentResponseDataAttributesFunctionalitiesDataType
- type IncidentResponseDataAttributesGroupsDataType
- type IncidentResponseDataAttributesIncidentTypesDataType
- type IncidentResponseDataAttributesServicesDataAttributesStatus
- type IncidentResponseDataAttributesServicesDataType
- type IncidentResponseDataAttributesSeverityDataAttributesSeverity
- type IncidentResponseDataAttributesSeverityDataType
- type IncidentResponseDataType
- type IncidentRole
- type IncidentRoleList
- type IncidentRoleListDataType
- type IncidentRoleResponse
- type IncidentRoleResponseDataType
- type IncidentRoleTask
- type IncidentRoleTaskList
- type IncidentRoleTaskListDataAttributesPriority
- type IncidentRoleTaskListDataType
- type IncidentRoleTaskPriority
- type IncidentRoleTaskResponse
- type IncidentRoleTaskResponseDataAttributesPriority
- type IncidentRoleTaskResponseDataType
- type IncidentServicesDataAttributesStatus
- type IncidentServicesDataType
- type IncidentSeverityDataAttributesSeverity
- type IncidentSeverityDataType
- type IncidentStatusPageEvent
- type IncidentStatusPageEventList
- type IncidentStatusPageEventListDataAttributesStatus
- type IncidentStatusPageEventListDataType
- type IncidentStatusPageEventResponse
- type IncidentStatusPageEventResponseDataAttributesStatus
- type IncidentStatusPageEventResponseDataType
- type IncidentStatusPageEventStatus
- type IncidentTriggerParams
- type IncidentTriggerParamsIncidentCondition
- type IncidentTriggerParamsIncidentConditionEnvironment
- type IncidentTriggerParamsIncidentConditionFunctionality
- type IncidentTriggerParamsIncidentConditionGroup
- type IncidentTriggerParamsIncidentConditionIncidentRoles
- type IncidentTriggerParamsIncidentConditionIncidentType
- type IncidentTriggerParamsIncidentConditionKind
- type IncidentTriggerParamsIncidentConditionService
- type IncidentTriggerParamsIncidentConditionSeverity
- type IncidentTriggerParamsIncidentConditionStatus
- type IncidentTriggerParamsIncidentConditionVisibility
- type IncidentTriggerParamsIncidentKinds
- type IncidentTriggerParamsIncidentStatuses
- type IncidentTriggerParamsTriggerType
- type IncidentType
- type IncidentTypeList
- type IncidentTypeListDataType
- type IncidentTypeResponse
- type IncidentTypeResponseDataType
- type IncidentsChartResponse
- type InviteToSlackChannelOpsgenieTaskParams
- type InviteToSlackChannelOpsgenieTaskParamsTaskType
- type InviteToSlackChannelPagerdutyTaskParams
- type InviteToSlackChannelPagerdutyTaskParamsTaskType
- type InviteToSlackChannelTaskParams
- type InviteToSlackChannelTaskParamsTaskType
- type InviteToSlackChannelVictorOpsTaskParams
- type InviteToSlackChannelVictorOpsTaskParamsTaskType
- type IpRanges
- type IpRangesResponse
- type IpRangesResponseDataType
- type Links
- type ListAlertsParams
- type ListAlertsResponse
- type ListAllIncidentActionItemsParams
- type ListAllIncidentActionItemsResponse
- type ListAuditsParams
- type ListAuditsResponse
- type ListCausesParams
- type ListCausesResponse
- type ListCustomFieldOptionsParams
- type ListCustomFieldOptionsResponse
- type ListCustomFieldsParams
- type ListCustomFieldsResponse
- type ListDashboardPanelsParams
- type ListDashboardPanelsResponse
- type ListDashboardsParams
- type ListDashboardsResponse
- type ListEnvironmentsParams
- type ListEnvironmentsResponse
- type ListFormFieldOptionsParams
- type ListFormFieldOptionsResponse
- type ListFormFieldPositionsParams
- type ListFormFieldPositionsResponse
- type ListFormFieldsParams
- type ListFormFieldsResponse
- type ListFunctionalitiesParams
- type ListFunctionalitiesResponse
- type ListIncidentActionItemsParams
- type ListIncidentActionItemsResponse
- type ListIncidentAlertsParams
- type ListIncidentAlertsResponse
- type ListIncidentCustomFieldSelectionsParams
- type ListIncidentCustomFieldSelectionsResponse
- type ListIncidentEventFunctionalitiesParams
- type ListIncidentEventFunctionalitiesResponse
- type ListIncidentEventServicesParams
- type ListIncidentEventServicesResponse
- type ListIncidentEventsParams
- type ListIncidentEventsResponse
- type ListIncidentFeedbacksParams
- type ListIncidentFeedbacksResponse
- type ListIncidentFormFieldSelectionsParams
- type ListIncidentFormFieldSelectionsResponse
- type ListIncidentPostMortemsParams
- type ListIncidentPostMortemsResponse
- type ListIncidentPostmortemResponse
- type ListIncidentRoleTasksParams
- type ListIncidentRoleTasksResponse
- type ListIncidentRolesParams
- type ListIncidentRolesResponse
- type ListIncidentStatusPagesParams
- type ListIncidentStatusPagesResponse
- type ListIncidentTypesParams
- type ListIncidentTypesResponse
- type ListIncidentsParams
- type ListIncidentsResponse
- type ListPlaybookTasksParams
- type ListPlaybookTasksResponse
- type ListPlaybooksParams
- type ListPlaybooksResponse
- type ListPostmortemTemplatesParams
- type ListPostmortemTemplatesResponse
- type ListPulsesParams
- type ListPulsesResponse
- type ListRetrospectiveStepsParams
- type ListRetrospectiveStepsResponse
- type ListSecretsParams
- type ListSecretsResponse
- type ListServicesParams
- type ListServicesResponse
- type ListSeveritiesParams
- type ListSeveritiesResponse
- type ListStatusPageTemplatesParams
- type ListStatusPageTemplatesResponse
- type ListStatusPagesParams
- type ListStatusPagesResponse
- type ListTeamsParams
- type ListTeamsResponse
- type ListUsersParams
- type ListUsersResponse
- type ListWebhooksDeliveriesParams
- type ListWebhooksDeliveriesResponse
- type ListWebhooksEndpointsParams
- type ListWebhooksEndpointsResponse
- type ListWorkflowCustomFieldSelectionsParams
- type ListWorkflowCustomFieldSelectionsResponse
- type ListWorkflowFormFieldConditionsParams
- type ListWorkflowFormFieldConditionsResponse
- type ListWorkflowGroupsParams
- type ListWorkflowGroupsResponse
- type ListWorkflowRunsParams
- type ListWorkflowRunsResponse
- type ListWorkflowTasksParams
- type ListWorkflowTasksResponse
- type ListWorkflowsParams
- type ListWorkflowsResponse
- type MarkAsDuplicateIncidentResponse
- type MitigateIncident
- type MitigateIncidentDataType
- type MitigateIncidentResponse
- type NewAlert
- type NewAlertDataType
- type NewCause
- type NewCauseDataType
- type NewCustomField
- type NewCustomFieldDataAttributesRequired
- type NewCustomFieldDataAttributesShown
- type NewCustomFieldDataType
- type NewCustomFieldOption
- type NewCustomFieldOptionDataType
- type NewDashboard
- type NewDashboardDataAttributesColor
- type NewDashboardDataAttributesOwner
- type NewDashboardDataAttributesPeriod
- type NewDashboardDataType
- type NewDashboardPanel
- type NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation
- type NewDashboardPanelDataAttributesParamsDatasetsCollection
- type NewDashboardPanelDataAttributesParamsDatasetsFilterOperation
- type NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation
- type NewDashboardPanelDataAttributesParamsDisplay
- type NewDashboardPanelDataType
- type NewEnvironment
- type NewEnvironmentDataType
- type NewFormField
- type NewFormFieldDataAttributesInputKind
- type NewFormFieldDataAttributesKind
- type NewFormFieldDataAttributesRequired
- type NewFormFieldDataAttributesShown
- type NewFormFieldDataType
- type NewFormFieldOption
- type NewFormFieldOptionDataType
- type NewFormFieldPosition
- type NewFormFieldPositionDataAttributesForm
- type NewFormFieldPositionDataType
- type NewFunctionality
- type NewFunctionalityDataAttributesShowUptimeLastDays
- type NewFunctionalityDataAttributesStatus
- type NewFunctionalityDataType
- type NewIncident
- type NewIncidentActionItem
- type NewIncidentActionItemDataAttributesKind
- type NewIncidentActionItemDataAttributesPriority
- type NewIncidentActionItemDataAttributesStatus
- type NewIncidentActionItemDataType
- type NewIncidentCustomFieldSelection
- type NewIncidentCustomFieldSelectionDataType
- type NewIncidentDataAttributesKind
- type NewIncidentDataAttributesStatus
- type NewIncidentDataType
- type NewIncidentEvent
- type NewIncidentEventDataAttributesVisibility
- type NewIncidentEventDataType
- type NewIncidentEventFunctionality
- type NewIncidentEventFunctionalityDataAttributesStatus
- type NewIncidentEventFunctionalityDataType
- type NewIncidentEventService
- type NewIncidentEventServiceDataAttributesStatus
- type NewIncidentEventServiceDataType
- type NewIncidentFeedback
- type NewIncidentFeedbackDataAttributesRating
- type NewIncidentFeedbackDataType
- type NewIncidentFormFieldSelection
- type NewIncidentFormFieldSelectionDataType
- type NewIncidentRole
- type NewIncidentRoleDataType
- type NewIncidentRoleTask
- type NewIncidentRoleTaskDataAttributesPriority
- type NewIncidentRoleTaskDataType
- type NewIncidentStatusPageEvent
- type NewIncidentStatusPageEventDataAttributesStatus
- type NewIncidentStatusPageEventDataType
- type NewIncidentType
- type NewIncidentTypeDataType
- type NewPlaybook
- type NewPlaybookDataType
- type NewPlaybookTask
- type NewPlaybookTaskDataType
- type NewPostMortemTemplate
- type NewPostMortemTemplateDataAttributesFormat
- type NewPostMortemTemplateDataType
- type NewPulse
- type NewPulseDataType
- type NewRetrospectiveStep
- type NewRetrospectiveStepDataType
- type NewSecret
- type NewSecretDataAttributesKind
- type NewSecretDataType
- type NewService
- type NewServiceDataAttributesShowUptimeLastDays
- type NewServiceDataAttributesStatus
- type NewServiceDataType
- type NewSeverity
- type NewSeverityDataAttributesSeverity
- type NewSeverityDataType
- type NewStatusPage
- type NewStatusPageDataAttributesShowUptimeLastDays
- type NewStatusPageDataAttributesTimeZone
- type NewStatusPageDataType
- type NewTeam
- type NewTeamDataType
- type NewWebhooksEndpoint
- type NewWebhooksEndpointDataAttributesEventTypes
- type NewWebhooksEndpointDataType
- type NewWorkflow
- type NewWorkflowCustomFieldSelection
- type NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition
- type NewWorkflowCustomFieldSelectionDataType
- type NewWorkflowDataAttributesPriority
- type NewWorkflowDataAttributesRepeatOn
- type NewWorkflowDataType
- type NewWorkflowFormFieldCondition
- type NewWorkflowFormFieldConditionDataAttributesIncidentCondition
- type NewWorkflowFormFieldConditionDataType
- type NewWorkflowGroup
- type NewWorkflowGroupDataAttributesKind
- type NewWorkflowGroupDataType
- type NewWorkflowRun
- type NewWorkflowRunDataType
- type NewWorkflowTask
- type NewWorkflowTaskDataType
- type PageOpsgenieOnCallRespondersTaskParams
- type PageOpsgenieOnCallRespondersTaskParamsPriority
- type PageOpsgenieOnCallRespondersTaskParamsTaskType
- type PagePagerdutyOnCallRespondersTaskParams
- type PagePagerdutyOnCallRespondersTaskParamsTaskType
- type PagePagerdutyOnCallRespondersTaskParamsUrgency
- type PageVictorOpsOnCallRespondersTaskParams
- type PageVictorOpsOnCallRespondersTaskParamsTaskType
- type Playbook
- type PlaybookList
- type PlaybookListDataType
- type PlaybookResponse
- type PlaybookResponseDataType
- type PlaybookTask
- type PlaybookTaskList
- type PlaybookTaskListDataType
- type PlaybookTaskResponse
- type PlaybookTaskResponseDataType
- type PostMortemTemplate
- type PostMortemTemplateFormat
- type PostMortemTemplateList
- type PostMortemTemplateListDataAttributesFormat
- type PostMortemTemplateListDataType
- type PostMortemTemplateResponse
- type PostMortemTemplateResponseDataAttributesFormat
- type PostMortemTemplateResponseDataType
- type PrintTaskParams
- type PrintTaskParamsTaskType
- type PublishIncidentTaskParams
- type PublishIncidentTaskParamsStatus
- type PublishIncidentTaskParamsTaskType
- type Pulse
- type PulseList
- type PulseListDataAttributesServicesStatus
- type PulseListDataType
- type PulseResponse
- type PulseResponseDataAttributesServicesStatus
- type PulseResponseDataType
- type PulseServicesStatus
- type PulseTriggerParams
- type PulseTriggerParamsPulseCondition
- type PulseTriggerParamsPulseConditionLabel
- type PulseTriggerParamsPulseConditionPayload
- type PulseTriggerParamsPulseConditionSource
- type PulseTriggerParamsTriggerType
- type PulseTriggerParamsTriggers
- type RedisClientTaskParams
- type RedisClientTaskParamsTaskType
- type RemoveGoogleDocsPermissionsTaskParams
- type RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy
- type RemoveGoogleDocsPermissionsTaskParamsTaskType
- type RemoveSubscribers
- type RemoveSubscribersDataType
- type RemoveSubscribersToIncidentResponse
- type RenameSlackChannelTaskParams
- type RenameSlackChannelTaskParamsTaskType
- type RequestEditorFn
- type ResolveIncident
- type ResolveIncidentDataType
- type ResolveIncidentResponse
- type RestartIncident
- type RestartIncidentDataType
- type RestartIncidentResponse
- type RetrospectiveStep
- type RetrospectiveStepList
- type RetrospectiveStepListDataType
- type RetrospectiveStepResponse
- type RetrospectiveStepResponseDataType
- type RunCommandHerokuTaskParams
- type RunCommandHerokuTaskParamsSize
- type RunCommandHerokuTaskParamsTaskType
- type Secret
- type SecretList
- type SecretListDataType
- type SecretResponse
- type SecretResponseDataType
- type SendDashboardReportTaskParams
- type SendDashboardReportTaskParamsTaskType
- type SendEmailTaskParams
- type SendEmailTaskParamsTaskType
- type SendSlackBlocksTaskParams
- type SendSlackBlocksTaskParamsTaskType
- type SendSlackMessageTaskParams
- type SendSlackMessageTaskParamsActionables
- type SendSlackMessageTaskParamsTaskType
- type SendSmsTaskParams
- type SendSmsTaskParamsTaskType
- type SendWhatsappMessageTaskParams
- type SendWhatsappMessageTaskParamsTaskType
- type Service
- type ServiceList
- type ServiceListDataAttributesStatus
- type ServiceListDataType
- type ServiceResponse
- type ServiceResponseDataAttributesStatus
- type ServiceResponseDataType
- type ServiceStatus
- type SetDefaultDashboardResponse
- type Severity
- type SeverityList
- type SeverityListDataAttributesSeverity
- type SeverityListDataType
- type SeverityResponse
- type SeverityResponseDataAttributesSeverity
- type SeverityResponseDataType
- type SeveritySeverity
- type SimpleTriggerParams
- type SimpleTriggerParamsTriggerType
- type SimpleTriggerParamsTriggers
- type SnapshotDatadogGraphTaskParams
- type SnapshotDatadogGraphTaskParamsTaskType
- type SnapshotGrafanaDashboardTaskParams
- type SnapshotGrafanaDashboardTaskParamsTaskType
- type SnapshotLookerLookTaskParams
- type SnapshotLookerLookTaskParamsTaskType
- type SnapshotNewRelicGraphTaskParams
- type SnapshotNewRelicGraphTaskParamsMetricType
- type SnapshotNewRelicGraphTaskParamsTaskType
- type StatusPage
- type StatusPageList
- type StatusPageListDataAttributesShowUptimeLastDays
- type StatusPageListDataAttributesTimeZone
- type StatusPageListDataType
- type StatusPageResponse
- type StatusPageResponseDataAttributesShowUptimeLastDays
- type StatusPageResponseDataAttributesTimeZone
- type StatusPageResponseDataType
- type StatusPageShowUptimeLastDays
- type StatusPageTemplate
- type StatusPageTemplateList
- type StatusPageTemplateListDataType
- type StatusPageTemplateResponse
- type StatusPageTemplateResponseDataType
- type StatusPageTimeZone
- type Team
- type TeamList
- type TeamListDataType
- type TeamResponse
- type TeamResponseDataType
- type TriageIncidentResponse
- type TriggerWorkflowTaskParams
- type TriggerWorkflowTaskParamsKind
- type TriggerWorkflowTaskParamsTaskType
- type TweetTwitterMessageTaskParams
- type TweetTwitterMessageTaskParamsTaskType
- type UpdateActionItemTaskParams
- type UpdateActionItemTaskParamsAttributeToQueryBy
- type UpdateActionItemTaskParamsPriority
- type UpdateActionItemTaskParamsStatus
- type UpdateActionItemTaskParamsTaskType
- type UpdateAirtableTableRecordTaskParams
- type UpdateAirtableTableRecordTaskParamsTaskType
- type UpdateAsanaTaskTaskParams
- type UpdateAsanaTaskTaskParamsDependencyDirection
- type UpdateAsanaTaskTaskParamsTaskType
- type UpdateCause
- type UpdateCauseDataType
- type UpdateCauseResponse
- type UpdateClickupTaskTaskParams
- type UpdateClickupTaskTaskParamsTaskType
- type UpdateCustomField
- type UpdateCustomFieldDataAttributesRequired
- type UpdateCustomFieldDataAttributesShown
- type UpdateCustomFieldDataType
- type UpdateCustomFieldOption
- type UpdateCustomFieldOptionDataType
- type UpdateCustomFieldOptionResponse
- type UpdateCustomFieldResponse
- type UpdateDashboard
- type UpdateDashboardDataAttributesColor
- type UpdateDashboardDataAttributesOwner
- type UpdateDashboardDataAttributesPeriod
- type UpdateDashboardDataType
- type UpdateDashboardPanel
- type UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation
- type UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperation
- type UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation
- type UpdateDashboardPanelDataAttributesParamsDisplay
- type UpdateDashboardPanelDataType
- type UpdateDashboardPanelResponse
- type UpdateDashboardResponse
- type UpdateEnvironment
- type UpdateEnvironmentDataType
- type UpdateEnvironmentResponse
- type UpdateFormField
- type UpdateFormFieldDataAttributesInputKind
- type UpdateFormFieldDataAttributesKind
- type UpdateFormFieldDataAttributesRequired
- type UpdateFormFieldDataAttributesShown
- type UpdateFormFieldDataType
- type UpdateFormFieldOption
- type UpdateFormFieldOptionDataType
- type UpdateFormFieldOptionResponse
- type UpdateFormFieldPosition
- type UpdateFormFieldPositionDataAttributesForm
- type UpdateFormFieldPositionDataType
- type UpdateFormFieldPositionResponse
- type UpdateFormFieldResponse
- type UpdateFunctionality
- type UpdateFunctionalityDataAttributesStatus
- type UpdateFunctionalityDataType
- type UpdateFunctionalityResponse
- type UpdateGithubIssueTaskParams
- type UpdateGithubIssueTaskParamsTaskType
- type UpdateGoogleCalendarEventTaskParams
- type UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey
- type UpdateGoogleCalendarEventTaskParamsTaskType
- type UpdateGoogleDocsPageTaskParams
- type UpdateGoogleDocsPageTaskParamsTaskType
- type UpdateIncident
- type UpdateIncidentActionItem
- type UpdateIncidentActionItemDataAttributesKind
- type UpdateIncidentActionItemDataAttributesPriority
- type UpdateIncidentActionItemDataAttributesStatus
- type UpdateIncidentActionItemDataType
- type UpdateIncidentActionItemResponse
- type UpdateIncidentCustomFieldSelection
- type UpdateIncidentCustomFieldSelectionDataType
- type UpdateIncidentCustomFieldSelectionResponse
- type UpdateIncidentDataAttributesKind
- type UpdateIncidentDataType
- type UpdateIncidentEvent
- type UpdateIncidentEventDataAttributesVisibility
- type UpdateIncidentEventDataType
- type UpdateIncidentEventFunctionality
- type UpdateIncidentEventFunctionalityDataAttributesStatus
- type UpdateIncidentEventFunctionalityDataType
- type UpdateIncidentEventFunctionalityResponse
- type UpdateIncidentEventResponse
- type UpdateIncidentEventService
- type UpdateIncidentEventServiceDataAttributesStatus
- type UpdateIncidentEventServiceDataType
- type UpdateIncidentEventServiceResponse
- type UpdateIncidentFeedback
- type UpdateIncidentFeedbackDataAttributesRating
- type UpdateIncidentFeedbackDataType
- type UpdateIncidentFeedbackResponse
- type UpdateIncidentFormFieldSelection
- type UpdateIncidentFormFieldSelectionDataType
- type UpdateIncidentFormFieldSelectionResponse
- type UpdateIncidentPostMortem
- type UpdateIncidentPostMortemDataAttributesStatus
- type UpdateIncidentPostMortemDataType
- type UpdateIncidentPostmortemResponse
- type UpdateIncidentPostmortemTaskParams
- type UpdateIncidentPostmortemTaskParamsTaskType
- type UpdateIncidentResponse
- type UpdateIncidentRole
- type UpdateIncidentRoleDataType
- type UpdateIncidentRoleResponse
- type UpdateIncidentRoleTask
- type UpdateIncidentRoleTaskDataAttributesPriority
- type UpdateIncidentRoleTaskDataType
- type UpdateIncidentRoleTaskResponse
- type UpdateIncidentStatusPageEvent
- type UpdateIncidentStatusPageEventDataAttributesStatus
- type UpdateIncidentStatusPageEventDataType
- type UpdateIncidentStatusPageResponse
- type UpdateIncidentTaskParams
- type UpdateIncidentTaskParamsAttributeToQueryBy
- type UpdateIncidentTaskParamsTaskType
- type UpdateIncidentType
- type UpdateIncidentTypeDataType
- type UpdateIncidentTypeResponse
- type UpdateJiraIssueTaskParams
- type UpdateJiraIssueTaskParamsTaskType
- type UpdateLinearIssueTaskParams
- type UpdateLinearIssueTaskParamsTaskType
- type UpdateNotionPageTaskParams
- type UpdateNotionPageTaskParamsTaskType
- type UpdateOpsgenieAlertTaskParams
- type UpdateOpsgenieAlertTaskParamsPriority
- type UpdateOpsgenieAlertTaskParamsTaskType
- type UpdateOpsgenieIncidentTaskParams
- type UpdateOpsgenieIncidentTaskParamsPriority
- type UpdateOpsgenieIncidentTaskParamsStatus
- type UpdateOpsgenieIncidentTaskParamsTaskType
- type UpdatePagerdutyIncidentTaskParams
- type UpdatePagerdutyIncidentTaskParamsStatus
- type UpdatePagerdutyIncidentTaskParamsTaskType
- type UpdatePagerdutyIncidentTaskParamsUrgency
- type UpdatePagertreeAlertTaskParams
- type UpdatePagertreeAlertTaskParamsSeverity
- type UpdatePagertreeAlertTaskParamsTaskType
- type UpdatePagertreeAlertTaskParamsUrgency
- type UpdatePlaybook
- type UpdatePlaybookDataType
- type UpdatePlaybookResponse
- type UpdatePlaybookTask
- type UpdatePlaybookTaskDataType
- type UpdatePlaybookTaskResponse
- type UpdatePostMortemTemplate
- type UpdatePostMortemTemplateDataAttributesFormat
- type UpdatePostMortemTemplateDataType
- type UpdatePostmortemTemplateResponse
- type UpdatePulse
- type UpdatePulseDataType
- type UpdatePulseResponse
- type UpdateRetrospectiveStep
- type UpdateRetrospectiveStepDataType
- type UpdateRetrospectiveStepResponse
- type UpdateSecret
- type UpdateSecretDataType
- type UpdateSecretResponse
- type UpdateService
- type UpdateServiceDataAttributesStatus
- type UpdateServiceDataType
- type UpdateServiceNowIncidentTaskParams
- type UpdateServiceNowIncidentTaskParamsTaskType
- type UpdateServiceResponse
- type UpdateSeverity
- type UpdateSeverityDataAttributesSeverity
- type UpdateSeverityDataType
- type UpdateSeverityResponse
- type UpdateShortcutStoryTaskParams
- type UpdateShortcutStoryTaskParamsTaskType
- type UpdateShortcutTaskTaskParams
- type UpdateShortcutTaskTaskParamsTaskType
- type UpdateSlackChannelTopicTaskParams
- type UpdateSlackChannelTopicTaskParamsTaskType
- type UpdateStatusPage
- type UpdateStatusPageDataAttributesShowUptimeLastDays
- type UpdateStatusPageDataAttributesTimeZone
- type UpdateStatusPageDataType
- type UpdateStatusPageResponse
- type UpdateStatusPageTemplateResponse
- type UpdateStatusTaskParams
- type UpdateStatusTaskParamsStatus
- type UpdateStatusTaskParamsTaskType
- type UpdateTeam
- type UpdateTeamDataType
- type UpdateTeamResponse
- type UpdateTrelloCardTaskParams
- type UpdateTrelloCardTaskParamsTaskType
- type UpdateVictorOpsIncidentTaskParams
- type UpdateVictorOpsIncidentTaskParamsStatus
- type UpdateVictorOpsIncidentTaskParamsTaskType
- type UpdateWebhooksEndpoint
- type UpdateWebhooksEndpointDataAttributesEventTypes
- type UpdateWebhooksEndpointDataType
- type UpdateWebhooksEndpointResponse
- type UpdateWorkflow
- type UpdateWorkflowCustomFieldSelection
- type UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition
- type UpdateWorkflowCustomFieldSelectionDataType
- type UpdateWorkflowCustomFieldSelectionResponse
- type UpdateWorkflowDataType
- type UpdateWorkflowFormFieldCondition
- type UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition
- type UpdateWorkflowFormFieldConditionDataType
- type UpdateWorkflowFormFieldConditionResponse
- type UpdateWorkflowGroup
- type UpdateWorkflowGroupDataAttributesKind
- type UpdateWorkflowGroupDataType
- type UpdateWorkflowGroupResponse
- type UpdateWorkflowResponse
- type UpdateWorkflowTask
- type UpdateWorkflowTaskDataType
- type UpdateWorkflowTaskResponse
- type UpdateZendeskTicketTaskParams
- type UpdateZendeskTicketTaskParamsTaskType
- type UptimeChartResponse
- type User
- type UserList
- type UserListDataType
- type UserResponse
- type UserResponseDataType
- type WebhooksDelivery
- type WebhooksDeliveryList
- type WebhooksDeliveryListDataType
- type WebhooksDeliveryResponse
- type WebhooksDeliveryResponseDataType
- type WebhooksEndpoint
- type WebhooksEndpointEventTypes
- type WebhooksEndpointList
- type WebhooksEndpointListDataAttributesEventTypes
- type WebhooksEndpointListDataType
- type WebhooksEndpointResponse
- type WebhooksEndpointResponseDataAttributesEventTypes
- type WebhooksEndpointResponseDataType
- type Workflow
- type WorkflowCustomFieldSelection
- type WorkflowCustomFieldSelectionIncidentCondition
- type WorkflowCustomFieldSelectionList
- type WorkflowCustomFieldSelectionListDataAttributesIncidentCondition
- type WorkflowCustomFieldSelectionListDataType
- type WorkflowCustomFieldSelectionResponse
- type WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition
- type WorkflowCustomFieldSelectionResponseDataType
- type WorkflowFormFieldCondition
- type WorkflowFormFieldConditionIncidentCondition
- type WorkflowFormFieldConditionList
- type WorkflowFormFieldConditionListDataAttributesIncidentCondition
- type WorkflowFormFieldConditionListDataType
- type WorkflowFormFieldConditionResponse
- type WorkflowFormFieldConditionResponseDataAttributesIncidentCondition
- type WorkflowFormFieldConditionResponseDataType
- type WorkflowGroup
- type WorkflowGroupKind
- type WorkflowGroupList
- type WorkflowGroupListDataAttributesKind
- type WorkflowGroupListDataType
- type WorkflowGroupResponse
- type WorkflowGroupResponseDataAttributesKind
- type WorkflowGroupResponseDataType
- type WorkflowList
- type WorkflowListDataAttributesRepeatOn
- type WorkflowListDataType
- type WorkflowRepeatOn
- type WorkflowResponse
- type WorkflowResponseDataAttributesRepeatOn
- type WorkflowResponseDataType
- type WorkflowRun
- type WorkflowRunResponse
- type WorkflowRunResponseDataAttributesStatus
- type WorkflowRunResponseDataAttributesTriggeredBy
- type WorkflowRunResponseDataType
- type WorkflowRunStatus
- type WorkflowRunTriggeredBy
- type WorkflowRunsList
- type WorkflowRunsListDataAttributesStatus
- type WorkflowRunsListDataAttributesTriggeredBy
- type WorkflowRunsListDataType
- type WorkflowTask
- type WorkflowTaskList
- type WorkflowTaskListDataType
- type WorkflowTaskResponse
- type WorkflowTaskResponseDataType
Constants ¶
const ( DashboardPanelParamsDatasetsFilterRulesCondition string = "!=" DashboardPanelParamsDatasetsFilterRulesConditionContains string = "contains" DashboardPanelParamsDatasetsFilterRulesConditionEqual string = "=" DashboardPanelParamsDatasetsFilterRulesConditionExists string = "exists" DashboardPanelParamsDatasetsFilterRulesConditionN1 string = ">=" DashboardPanelParamsDatasetsFilterRulesConditionN2 string = "<=" DashboardPanelParamsDatasetsFilterRulesConditionNotContains string = "not_contains" DashboardPanelParamsDatasetsFilterRulesConditionNotExists string = "not_exists" )
Defines values for DashboardPanelParamsDatasetsFilterRulesCondition.
const ( DashboardPanelListDataAttributesParamsDatasetsFilterRulesCondition string = "!=" DashboardPanelListDataAttributesParamsDatasetsFilterRulesConditionContains string = "contains" DashboardPanelListDataAttributesParamsDatasetsFilterRulesConditionEqual string = "=" DashboardPanelListDataAttributesParamsDatasetsFilterRulesConditionExists string = "exists" DashboardPanelListDataAttributesParamsDatasetsFilterRulesConditionN1 string = ">=" DashboardPanelListDataAttributesParamsDatasetsFilterRulesConditionN2 string = "<=" DashboardPanelListDataAttributesParamsDatasetsFilterRulesConditionNotContains string = "not_contains" DashboardPanelListDataAttributesParamsDatasetsFilterRulesConditionNotExists string = "not_exists" )
Defines values for DashboardPanelListDataAttributesParamsDatasetsFilterRulesCondition.
const ( DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesCondition string = "!=" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesConditionContains string = "contains" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesConditionEqual string = "=" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesConditionExists string = "exists" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesConditionN1 string = ">=" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesConditionN2 string = "<=" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesConditionNotContains string = "not_contains" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesConditionNotExists string = "not_exists" )
Defines values for DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesCondition.
const ( NewDashboardPanelDataAttributesParamsDatasetsFilterRulesCondition string = "!=" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesConditionContains string = "contains" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesConditionEqual string = "=" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesConditionExists string = "exists" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesConditionN1 string = ">=" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesConditionN2 string = "<=" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesConditionNotContains string = "not_contains" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesConditionNotExists string = "not_exists" )
Defines values for NewDashboardPanelDataAttributesParamsDatasetsFilterRulesCondition.
const (
Bearer_authScopes = "bearer_auth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAddSubscribersToIncidentRequestWithBody ¶ added in v0.1.85
func NewAddSubscribersToIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAddSubscribersToIncidentRequestWithBody generates requests for AddSubscribersToIncident with any type of body
func NewAttachAlertRequestWithBody ¶
func NewAttachAlertRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
NewAttachAlertRequestWithBody generates requests for AttachAlert with any type of body
func NewCancelIncidentRequestWithBody ¶
func NewCancelIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCancelIncidentRequestWithBody generates requests for CancelIncident with any type of body
func NewCreateAlertRequestWithBody ¶
func NewCreateAlertRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAlertRequestWithBody generates requests for CreateAlert with any type of body
func NewCreateCauseRequestWithBody ¶
func NewCreateCauseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCauseRequestWithBody generates requests for CreateCause with any type of body
func NewCreateCustomFieldOptionRequestWithBody ¶
func NewCreateCustomFieldOptionRequestWithBody(server string, customFieldId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCustomFieldOptionRequestWithBody generates requests for CreateCustomFieldOption with any type of body
func NewCreateCustomFieldRequestWithBody ¶
func NewCreateCustomFieldRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCustomFieldRequestWithBody generates requests for CreateCustomField with any type of body
func NewCreateDashboardPanelRequestWithBody ¶
func NewCreateDashboardPanelRequestWithBody(server string, dashboardId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDashboardPanelRequestWithBody generates requests for CreateDashboardPanel with any type of body
func NewCreateDashboardRequestWithBody ¶
func NewCreateDashboardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDashboardRequestWithBody generates requests for CreateDashboard with any type of body
func NewCreateEnvironmentRequestWithBody ¶
func NewCreateEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEnvironmentRequestWithBody generates requests for CreateEnvironment with any type of body
func NewCreateFormFieldOptionRequestWithBody ¶ added in v0.1.48
func NewCreateFormFieldOptionRequestWithBody(server string, formFieldId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFormFieldOptionRequestWithBody generates requests for CreateFormFieldOption with any type of body
func NewCreateFormFieldPositionRequestWithBody ¶ added in v0.1.48
func NewCreateFormFieldPositionRequestWithBody(server string, formFieldId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFormFieldPositionRequestWithBody generates requests for CreateFormFieldPosition with any type of body
func NewCreateFormFieldRequestWithBody ¶ added in v0.1.48
func NewCreateFormFieldRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFormFieldRequestWithBody generates requests for CreateFormField with any type of body
func NewCreateFunctionalityRequestWithBody ¶
func NewCreateFunctionalityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFunctionalityRequestWithBody generates requests for CreateFunctionality with any type of body
func NewCreateIncidentActionItemRequestWithBody ¶
func NewCreateIncidentActionItemRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentActionItemRequestWithBody generates requests for CreateIncidentActionItem with any type of body
func NewCreateIncidentCustomFieldSelectionRequestWithBody ¶
func NewCreateIncidentCustomFieldSelectionRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentCustomFieldSelectionRequestWithBody generates requests for CreateIncidentCustomFieldSelection with any type of body
func NewCreateIncidentEventFunctionalityRequestWithBody ¶ added in v0.1.70
func NewCreateIncidentEventFunctionalityRequestWithBody(server string, incidentEventId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentEventFunctionalityRequestWithBody generates requests for CreateIncidentEventFunctionality with any type of body
func NewCreateIncidentEventRequestWithBody ¶
func NewCreateIncidentEventRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentEventRequestWithBody generates requests for CreateIncidentEvent with any type of body
func NewCreateIncidentEventServiceRequestWithBody ¶ added in v0.1.70
func NewCreateIncidentEventServiceRequestWithBody(server string, incidentEventId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentEventServiceRequestWithBody generates requests for CreateIncidentEventService with any type of body
func NewCreateIncidentFeedbackRequestWithBody ¶
func NewCreateIncidentFeedbackRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentFeedbackRequestWithBody generates requests for CreateIncidentFeedback with any type of body
func NewCreateIncidentFormFieldSelectionRequestWithBody ¶ added in v0.1.48
func NewCreateIncidentFormFieldSelectionRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentFormFieldSelectionRequestWithBody generates requests for CreateIncidentFormFieldSelection with any type of body
func NewCreateIncidentRequestWithBody ¶
func NewCreateIncidentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentRequestWithBody generates requests for CreateIncident with any type of body
func NewCreateIncidentRoleRequestWithBody ¶
func NewCreateIncidentRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentRoleRequestWithBody generates requests for CreateIncidentRole with any type of body
func NewCreateIncidentRoleTaskRequestWithBody ¶
func NewCreateIncidentRoleTaskRequestWithBody(server string, incidentRoleId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentRoleTaskRequestWithBody generates requests for CreateIncidentRoleTask with any type of body
func NewCreateIncidentStatusPageRequestWithBody ¶
func NewCreateIncidentStatusPageRequestWithBody(server string, incidentId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentStatusPageRequestWithBody generates requests for CreateIncidentStatusPage with any type of body
func NewCreateIncidentTypeRequestWithBody ¶
func NewCreateIncidentTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIncidentTypeRequestWithBody generates requests for CreateIncidentType with any type of body
func NewCreatePlaybookRequestWithBody ¶
func NewCreatePlaybookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePlaybookRequestWithBody generates requests for CreatePlaybook with any type of body
func NewCreatePlaybookTaskRequestWithBody ¶
func NewCreatePlaybookTaskRequestWithBody(server string, playbookId string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePlaybookTaskRequestWithBody generates requests for CreatePlaybookTask with any type of body
func NewCreatePostmortemTemplateRequestWithBody ¶
func NewCreatePostmortemTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePostmortemTemplateRequestWithBody generates requests for CreatePostmortemTemplate with any type of body
func NewCreatePulseRequestWithBody ¶
func NewCreatePulseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePulseRequestWithBody generates requests for CreatePulse with any type of body
func NewCreateRetrospectiveStepRequestWithBody ¶ added in v1.1.7
func NewCreateRetrospectiveStepRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRetrospectiveStepRequestWithBody generates requests for CreateRetrospectiveStep with any type of body
func NewCreateSecretRequestWithBody ¶ added in v0.1.58
func NewCreateSecretRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecretRequestWithBody generates requests for CreateSecret with any type of body
func NewCreateServiceRequestWithBody ¶
func NewCreateServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceRequestWithBody generates requests for CreateService with any type of body
func NewCreateSeverityRequestWithBody ¶
func NewCreateSeverityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSeverityRequestWithBody generates requests for CreateSeverity with any type of body
func NewCreateStatusPageRequestWithBody ¶
func NewCreateStatusPageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageRequestWithBody generates requests for CreateStatusPage with any type of body
func NewCreateStatusPageTemplateRequestWithBody ¶ added in v0.1.18
func NewCreateStatusPageTemplateRequestWithBody(server string, statusPageId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageTemplateRequestWithBody generates requests for CreateStatusPageTemplate with any type of body
func NewCreateTeamRequestWithBody ¶
func NewCreateTeamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTeamRequestWithBody generates requests for CreateTeam with any type of body
func NewCreateWebhooksEndpointRequestWithBody ¶ added in v0.1.54
func NewCreateWebhooksEndpointRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWebhooksEndpointRequestWithBody generates requests for CreateWebhooksEndpoint with any type of body
func NewCreateWorkflowCustomFieldSelectionRequestWithBody ¶
func NewCreateWorkflowCustomFieldSelectionRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowCustomFieldSelectionRequestWithBody generates requests for CreateWorkflowCustomFieldSelection with any type of body
func NewCreateWorkflowFormFieldConditionRequestWithBody ¶ added in v0.1.48
func NewCreateWorkflowFormFieldConditionRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowFormFieldConditionRequestWithBody generates requests for CreateWorkflowFormFieldCondition with any type of body
func NewCreateWorkflowGroupRequestWithBody ¶ added in v0.1.12
func NewCreateWorkflowGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowGroupRequestWithBody generates requests for CreateWorkflowGroup with any type of body
func NewCreateWorkflowRequestWithBody ¶
func NewCreateWorkflowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowRequestWithBody generates requests for CreateWorkflow with any type of body
func NewCreateWorkflowRunRequestWithBody ¶ added in v0.1.20
func NewCreateWorkflowRunRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowRunRequestWithBody generates requests for CreateWorkflowRun with any type of body
func NewCreateWorkflowTaskRequestWithBody ¶
func NewCreateWorkflowTaskRequestWithBody(server string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowTaskRequestWithBody generates requests for CreateWorkflowTask with any type of body
func NewDeleteCauseRequest ¶
NewDeleteCauseRequest generates requests for DeleteCause
func NewDeleteCustomFieldOptionRequest ¶
NewDeleteCustomFieldOptionRequest generates requests for DeleteCustomFieldOption
func NewDeleteCustomFieldRequest ¶
NewDeleteCustomFieldRequest generates requests for DeleteCustomField
func NewDeleteDashboardPanelRequest ¶
NewDeleteDashboardPanelRequest generates requests for DeleteDashboardPanel
func NewDeleteDashboardRequest ¶
NewDeleteDashboardRequest generates requests for DeleteDashboard
func NewDeleteEnvironmentRequest ¶
NewDeleteEnvironmentRequest generates requests for DeleteEnvironment
func NewDeleteFormFieldOptionRequest ¶ added in v0.1.48
NewDeleteFormFieldOptionRequest generates requests for DeleteFormFieldOption
func NewDeleteFormFieldPositionRequest ¶ added in v0.1.48
NewDeleteFormFieldPositionRequest generates requests for DeleteFormFieldPosition
func NewDeleteFormFieldRequest ¶ added in v0.1.48
NewDeleteFormFieldRequest generates requests for DeleteFormField
func NewDeleteFunctionalityRequest ¶
NewDeleteFunctionalityRequest generates requests for DeleteFunctionality
func NewDeleteIncidentActionItemRequest ¶
NewDeleteIncidentActionItemRequest generates requests for DeleteIncidentActionItem
func NewDeleteIncidentCustomFieldSelectionRequest ¶
NewDeleteIncidentCustomFieldSelectionRequest generates requests for DeleteIncidentCustomFieldSelection
func NewDeleteIncidentEventFunctionalityRequest ¶ added in v0.1.70
NewDeleteIncidentEventFunctionalityRequest generates requests for DeleteIncidentEventFunctionality
func NewDeleteIncidentEventRequest ¶
NewDeleteIncidentEventRequest generates requests for DeleteIncidentEvent
func NewDeleteIncidentEventServiceRequest ¶ added in v0.1.70
NewDeleteIncidentEventServiceRequest generates requests for DeleteIncidentEventService
func NewDeleteIncidentFormFieldSelectionRequest ¶ added in v0.1.48
NewDeleteIncidentFormFieldSelectionRequest generates requests for DeleteIncidentFormFieldSelection
func NewDeleteIncidentRequest ¶
NewDeleteIncidentRequest generates requests for DeleteIncident
func NewDeleteIncidentRoleRequest ¶
NewDeleteIncidentRoleRequest generates requests for DeleteIncidentRole
func NewDeleteIncidentRoleTaskRequest ¶
NewDeleteIncidentRoleTaskRequest generates requests for DeleteIncidentRoleTask
func NewDeleteIncidentStatusPageRequest ¶
NewDeleteIncidentStatusPageRequest generates requests for DeleteIncidentStatusPage
func NewDeleteIncidentTypeRequest ¶
NewDeleteIncidentTypeRequest generates requests for DeleteIncidentType
func NewDeletePlaybookRequest ¶
NewDeletePlaybookRequest generates requests for DeletePlaybook
func NewDeletePlaybookTaskRequest ¶
NewDeletePlaybookTaskRequest generates requests for DeletePlaybookTask
func NewDeletePostmortemTemplateRequest ¶
NewDeletePostmortemTemplateRequest generates requests for DeletePostmortemTemplate
func NewDeleteRetrospectiveStepRequest ¶ added in v1.1.7
NewDeleteRetrospectiveStepRequest generates requests for DeleteRetrospectiveStep
func NewDeleteSecretRequest ¶ added in v0.1.58
NewDeleteSecretRequest generates requests for DeleteSecret
func NewDeleteServiceRequest ¶
NewDeleteServiceRequest generates requests for DeleteService
func NewDeleteSeverityRequest ¶
NewDeleteSeverityRequest generates requests for DeleteSeverity
func NewDeleteStatusPageRequest ¶
NewDeleteStatusPageRequest generates requests for DeleteStatusPage
func NewDeleteStatusPageTemplateRequest ¶ added in v0.1.18
NewDeleteStatusPageTemplateRequest generates requests for DeleteStatusPageTemplate
func NewDeleteTeamRequest ¶
NewDeleteTeamRequest generates requests for DeleteTeam
func NewDeleteUserRequest ¶ added in v0.1.81
NewDeleteUserRequest generates requests for DeleteUser
func NewDeleteWebhooksEndpointRequest ¶ added in v0.1.54
NewDeleteWebhooksEndpointRequest generates requests for DeleteWebhooksEndpoint
func NewDeleteWorkflowCustomFieldSelectionRequest ¶
NewDeleteWorkflowCustomFieldSelectionRequest generates requests for DeleteWorkflowCustomFieldSelection
func NewDeleteWorkflowFormFieldConditionRequest ¶ added in v0.1.48
NewDeleteWorkflowFormFieldConditionRequest generates requests for DeleteWorkflowFormFieldCondition
func NewDeleteWorkflowGroupRequest ¶ added in v0.1.12
NewDeleteWorkflowGroupRequest generates requests for DeleteWorkflowGroup
func NewDeleteWorkflowRequest ¶
NewDeleteWorkflowRequest generates requests for DeleteWorkflow
func NewDeleteWorkflowTaskRequest ¶
NewDeleteWorkflowTaskRequest generates requests for DeleteWorkflowTask
func NewDeliverWebhooksDeliveryRequest ¶ added in v0.1.54
NewDeliverWebhooksDeliveryRequest generates requests for DeliverWebhooksDelivery
func NewDuplicateDashboardPanelRequest ¶
NewDuplicateDashboardPanelRequest generates requests for DuplicateDashboardPanel
func NewDuplicateDashboardRequest ¶
NewDuplicateDashboardRequest generates requests for DuplicateDashboard
func NewGetAlertRequest ¶
NewGetAlertRequest generates requests for GetAlert
func NewGetCauseRequest ¶
NewGetCauseRequest generates requests for GetCause
func NewGetCurrentUserRequest ¶ added in v0.1.12
NewGetCurrentUserRequest generates requests for GetCurrentUser
func NewGetCustomFieldOptionRequest ¶
NewGetCustomFieldOptionRequest generates requests for GetCustomFieldOption
func NewGetCustomFieldRequest ¶
NewGetCustomFieldRequest generates requests for GetCustomField
func NewGetDashboardPanelRequest ¶
func NewGetDashboardPanelRequest(server string, id string, params *GetDashboardPanelParams) (*http.Request, error)
NewGetDashboardPanelRequest generates requests for GetDashboardPanel
func NewGetDashboardRequest ¶
NewGetDashboardRequest generates requests for GetDashboard
func NewGetEnvironmentRequest ¶
NewGetEnvironmentRequest generates requests for GetEnvironment
func NewGetFormFieldOptionRequest ¶ added in v0.1.48
NewGetFormFieldOptionRequest generates requests for GetFormFieldOption
func NewGetFormFieldPositionRequest ¶ added in v0.1.48
NewGetFormFieldPositionRequest generates requests for GetFormFieldPosition
func NewGetFormFieldRequest ¶ added in v0.1.48
NewGetFormFieldRequest generates requests for GetFormField
func NewGetFunctionalityIncidentsChartRequest ¶
func NewGetFunctionalityIncidentsChartRequest(server string, id string, params *GetFunctionalityIncidentsChartParams) (*http.Request, error)
NewGetFunctionalityIncidentsChartRequest generates requests for GetFunctionalityIncidentsChart
func NewGetFunctionalityRequest ¶
NewGetFunctionalityRequest generates requests for GetFunctionality
func NewGetFunctionalityUptimeChartRequest ¶
func NewGetFunctionalityUptimeChartRequest(server string, id string, params *GetFunctionalityUptimeChartParams) (*http.Request, error)
NewGetFunctionalityUptimeChartRequest generates requests for GetFunctionalityUptimeChart
func NewGetIncidentActionItemsRequest ¶
NewGetIncidentActionItemsRequest generates requests for GetIncidentActionItems
func NewGetIncidentCustomFieldSelectionRequest ¶
NewGetIncidentCustomFieldSelectionRequest generates requests for GetIncidentCustomFieldSelection
func NewGetIncidentEventFunctionalitiesRequest ¶ added in v0.1.70
NewGetIncidentEventFunctionalitiesRequest generates requests for GetIncidentEventFunctionalities
func NewGetIncidentEventServicesRequest ¶ added in v0.1.70
NewGetIncidentEventServicesRequest generates requests for GetIncidentEventServices
func NewGetIncidentEventsRequest ¶
NewGetIncidentEventsRequest generates requests for GetIncidentEvents
func NewGetIncidentFeedbacksRequest ¶
NewGetIncidentFeedbacksRequest generates requests for GetIncidentFeedbacks
func NewGetIncidentFormFieldSelectionRequest ¶ added in v0.1.48
NewGetIncidentFormFieldSelectionRequest generates requests for GetIncidentFormFieldSelection
func NewGetIncidentRequest ¶
NewGetIncidentRequest generates requests for GetIncident
func NewGetIncidentRoleRequest ¶
NewGetIncidentRoleRequest generates requests for GetIncidentRole
func NewGetIncidentRoleTaskRequest ¶ added in v0.1.33
NewGetIncidentRoleTaskRequest generates requests for GetIncidentRoleTask
func NewGetIncidentStatusPagesRequest ¶
NewGetIncidentStatusPagesRequest generates requests for GetIncidentStatusPages
func NewGetIncidentTypeRequest ¶
NewGetIncidentTypeRequest generates requests for GetIncidentType
func NewGetIpRangesRequest ¶ added in v1.1.8
NewGetIpRangesRequest generates requests for GetIpRanges
func NewGetPlaybookRequest ¶
NewGetPlaybookRequest generates requests for GetPlaybook
func NewGetPlaybookTaskRequest ¶ added in v0.1.62
NewGetPlaybookTaskRequest generates requests for GetPlaybookTask
func NewGetPostmortemTemplateRequest ¶
NewGetPostmortemTemplateRequest generates requests for GetPostmortemTemplate
func NewGetPulseRequest ¶
NewGetPulseRequest generates requests for GetPulse
func NewGetRetrospectiveStepRequest ¶ added in v1.1.7
NewGetRetrospectiveStepRequest generates requests for GetRetrospectiveStep
func NewGetSecretRequest ¶ added in v0.1.58
NewGetSecretRequest generates requests for GetSecret
func NewGetServiceIncidentsChartRequest ¶
func NewGetServiceIncidentsChartRequest(server string, id string, params *GetServiceIncidentsChartParams) (*http.Request, error)
NewGetServiceIncidentsChartRequest generates requests for GetServiceIncidentsChart
func NewGetServiceRequest ¶
NewGetServiceRequest generates requests for GetService
func NewGetServiceUptimeChartRequest ¶
func NewGetServiceUptimeChartRequest(server string, id string, params *GetServiceUptimeChartParams) (*http.Request, error)
NewGetServiceUptimeChartRequest generates requests for GetServiceUptimeChart
func NewGetSeverityRequest ¶
NewGetSeverityRequest generates requests for GetSeverity
func NewGetStatusPageRequest ¶
NewGetStatusPageRequest generates requests for GetStatusPage
func NewGetStatusPageTemplateRequest ¶ added in v0.1.18
NewGetStatusPageTemplateRequest generates requests for GetStatusPageTemplate
func NewGetTeamRequest ¶
NewGetTeamRequest generates requests for GetTeam
func NewGetUserRequest ¶ added in v0.1.81
NewGetUserRequest generates requests for GetUser
func NewGetWebhooksDeliveryRequest ¶ added in v0.1.54
NewGetWebhooksDeliveryRequest generates requests for GetWebhooksDelivery
func NewGetWebhooksEndpointRequest ¶ added in v0.1.54
NewGetWebhooksEndpointRequest generates requests for GetWebhooksEndpoint
func NewGetWorkflowCustomFieldSelectionRequest ¶
NewGetWorkflowCustomFieldSelectionRequest generates requests for GetWorkflowCustomFieldSelection
func NewGetWorkflowFormFieldConditionRequest ¶ added in v0.1.48
NewGetWorkflowFormFieldConditionRequest generates requests for GetWorkflowFormFieldCondition
func NewGetWorkflowGroupRequest ¶ added in v0.1.12
NewGetWorkflowGroupRequest generates requests for GetWorkflowGroup
func NewGetWorkflowRequest ¶
NewGetWorkflowRequest generates requests for GetWorkflow
func NewGetWorkflowTaskRequest ¶
NewGetWorkflowTaskRequest generates requests for GetWorkflowTask
func NewListAlertsRequest ¶
func NewListAlertsRequest(server string, params *ListAlertsParams) (*http.Request, error)
NewListAlertsRequest generates requests for ListAlerts
func NewListAllIncidentActionItemsRequest ¶ added in v0.1.91
func NewListAllIncidentActionItemsRequest(server string, params *ListAllIncidentActionItemsParams) (*http.Request, error)
NewListAllIncidentActionItemsRequest generates requests for ListAllIncidentActionItems
func NewListAuditsRequest ¶ added in v0.1.70
func NewListAuditsRequest(server string, params *ListAuditsParams) (*http.Request, error)
NewListAuditsRequest generates requests for ListAudits
func NewListCausesRequest ¶
func NewListCausesRequest(server string, params *ListCausesParams) (*http.Request, error)
NewListCausesRequest generates requests for ListCauses
func NewListCustomFieldOptionsRequest ¶
func NewListCustomFieldOptionsRequest(server string, customFieldId string, params *ListCustomFieldOptionsParams) (*http.Request, error)
NewListCustomFieldOptionsRequest generates requests for ListCustomFieldOptions
func NewListCustomFieldsRequest ¶
func NewListCustomFieldsRequest(server string, params *ListCustomFieldsParams) (*http.Request, error)
NewListCustomFieldsRequest generates requests for ListCustomFields
func NewListDashboardPanelsRequest ¶
func NewListDashboardPanelsRequest(server string, dashboardId string, params *ListDashboardPanelsParams) (*http.Request, error)
NewListDashboardPanelsRequest generates requests for ListDashboardPanels
func NewListDashboardsRequest ¶
func NewListDashboardsRequest(server string, params *ListDashboardsParams) (*http.Request, error)
NewListDashboardsRequest generates requests for ListDashboards
func NewListEnvironmentsRequest ¶
func NewListEnvironmentsRequest(server string, params *ListEnvironmentsParams) (*http.Request, error)
NewListEnvironmentsRequest generates requests for ListEnvironments
func NewListFormFieldOptionsRequest ¶ added in v0.1.48
func NewListFormFieldOptionsRequest(server string, formFieldId string, params *ListFormFieldOptionsParams) (*http.Request, error)
NewListFormFieldOptionsRequest generates requests for ListFormFieldOptions
func NewListFormFieldPositionsRequest ¶ added in v0.1.48
func NewListFormFieldPositionsRequest(server string, formFieldId string, params *ListFormFieldPositionsParams) (*http.Request, error)
NewListFormFieldPositionsRequest generates requests for ListFormFieldPositions
func NewListFormFieldsRequest ¶ added in v0.1.48
func NewListFormFieldsRequest(server string, params *ListFormFieldsParams) (*http.Request, error)
NewListFormFieldsRequest generates requests for ListFormFields
func NewListFunctionalitiesRequest ¶
func NewListFunctionalitiesRequest(server string, params *ListFunctionalitiesParams) (*http.Request, error)
NewListFunctionalitiesRequest generates requests for ListFunctionalities
func NewListIncidentActionItemsRequest ¶
func NewListIncidentActionItemsRequest(server string, incidentId string, params *ListIncidentActionItemsParams) (*http.Request, error)
NewListIncidentActionItemsRequest generates requests for ListIncidentActionItems
func NewListIncidentAlertsRequest ¶ added in v1.0.0
func NewListIncidentAlertsRequest(server string, incidentId string, params *ListIncidentAlertsParams) (*http.Request, error)
NewListIncidentAlertsRequest generates requests for ListIncidentAlerts
func NewListIncidentCustomFieldSelectionsRequest ¶
func NewListIncidentCustomFieldSelectionsRequest(server string, incidentId string, params *ListIncidentCustomFieldSelectionsParams) (*http.Request, error)
NewListIncidentCustomFieldSelectionsRequest generates requests for ListIncidentCustomFieldSelections
func NewListIncidentEventFunctionalitiesRequest ¶ added in v0.1.70
func NewListIncidentEventFunctionalitiesRequest(server string, incidentEventId string, params *ListIncidentEventFunctionalitiesParams) (*http.Request, error)
NewListIncidentEventFunctionalitiesRequest generates requests for ListIncidentEventFunctionalities
func NewListIncidentEventServicesRequest ¶ added in v0.1.70
func NewListIncidentEventServicesRequest(server string, incidentEventId string, params *ListIncidentEventServicesParams) (*http.Request, error)
NewListIncidentEventServicesRequest generates requests for ListIncidentEventServices
func NewListIncidentEventsRequest ¶
func NewListIncidentEventsRequest(server string, incidentId string, params *ListIncidentEventsParams) (*http.Request, error)
NewListIncidentEventsRequest generates requests for ListIncidentEvents
func NewListIncidentFeedbacksRequest ¶
func NewListIncidentFeedbacksRequest(server string, incidentId string, params *ListIncidentFeedbacksParams) (*http.Request, error)
NewListIncidentFeedbacksRequest generates requests for ListIncidentFeedbacks
func NewListIncidentFormFieldSelectionsRequest ¶ added in v0.1.48
func NewListIncidentFormFieldSelectionsRequest(server string, incidentId string, params *ListIncidentFormFieldSelectionsParams) (*http.Request, error)
NewListIncidentFormFieldSelectionsRequest generates requests for ListIncidentFormFieldSelections
func NewListIncidentPostMortemsRequest ¶
func NewListIncidentPostMortemsRequest(server string, params *ListIncidentPostMortemsParams) (*http.Request, error)
NewListIncidentPostMortemsRequest generates requests for ListIncidentPostMortems
func NewListIncidentPostmortemRequest ¶
NewListIncidentPostmortemRequest generates requests for ListIncidentPostmortem
func NewListIncidentRoleTasksRequest ¶
func NewListIncidentRoleTasksRequest(server string, incidentRoleId string, params *ListIncidentRoleTasksParams) (*http.Request, error)
NewListIncidentRoleTasksRequest generates requests for ListIncidentRoleTasks
func NewListIncidentRolesRequest ¶
func NewListIncidentRolesRequest(server string, params *ListIncidentRolesParams) (*http.Request, error)
NewListIncidentRolesRequest generates requests for ListIncidentRoles
func NewListIncidentStatusPagesRequest ¶
func NewListIncidentStatusPagesRequest(server string, incidentId string, params *ListIncidentStatusPagesParams) (*http.Request, error)
NewListIncidentStatusPagesRequest generates requests for ListIncidentStatusPages
func NewListIncidentTypesRequest ¶
func NewListIncidentTypesRequest(server string, params *ListIncidentTypesParams) (*http.Request, error)
NewListIncidentTypesRequest generates requests for ListIncidentTypes
func NewListIncidentsRequest ¶
func NewListIncidentsRequest(server string, params *ListIncidentsParams) (*http.Request, error)
NewListIncidentsRequest generates requests for ListIncidents
func NewListPlaybookTasksRequest ¶
func NewListPlaybookTasksRequest(server string, playbookId string, params *ListPlaybookTasksParams) (*http.Request, error)
NewListPlaybookTasksRequest generates requests for ListPlaybookTasks
func NewListPlaybooksRequest ¶
func NewListPlaybooksRequest(server string, params *ListPlaybooksParams) (*http.Request, error)
NewListPlaybooksRequest generates requests for ListPlaybooks
func NewListPostmortemTemplatesRequest ¶
func NewListPostmortemTemplatesRequest(server string, params *ListPostmortemTemplatesParams) (*http.Request, error)
NewListPostmortemTemplatesRequest generates requests for ListPostmortemTemplates
func NewListPulsesRequest ¶
func NewListPulsesRequest(server string, params *ListPulsesParams) (*http.Request, error)
NewListPulsesRequest generates requests for ListPulses
func NewListRetrospectiveStepsRequest ¶ added in v1.1.7
func NewListRetrospectiveStepsRequest(server string, params *ListRetrospectiveStepsParams) (*http.Request, error)
NewListRetrospectiveStepsRequest generates requests for ListRetrospectiveSteps
func NewListSecretsRequest ¶ added in v0.1.58
func NewListSecretsRequest(server string, params *ListSecretsParams) (*http.Request, error)
NewListSecretsRequest generates requests for ListSecrets
func NewListServicesRequest ¶
func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
NewListServicesRequest generates requests for ListServices
func NewListSeveritiesRequest ¶
func NewListSeveritiesRequest(server string, params *ListSeveritiesParams) (*http.Request, error)
NewListSeveritiesRequest generates requests for ListSeverities
func NewListStatusPageTemplatesRequest ¶ added in v0.1.18
func NewListStatusPageTemplatesRequest(server string, statusPageId string, params *ListStatusPageTemplatesParams) (*http.Request, error)
NewListStatusPageTemplatesRequest generates requests for ListStatusPageTemplates
func NewListStatusPagesRequest ¶
func NewListStatusPagesRequest(server string, params *ListStatusPagesParams) (*http.Request, error)
NewListStatusPagesRequest generates requests for ListStatusPages
func NewListTeamsRequest ¶
func NewListTeamsRequest(server string, params *ListTeamsParams) (*http.Request, error)
NewListTeamsRequest generates requests for ListTeams
func NewListUsersRequest ¶ added in v0.1.91
func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)
NewListUsersRequest generates requests for ListUsers
func NewListWebhooksDeliveriesRequest ¶ added in v0.1.54
func NewListWebhooksDeliveriesRequest(server string, endpointId string, params *ListWebhooksDeliveriesParams) (*http.Request, error)
NewListWebhooksDeliveriesRequest generates requests for ListWebhooksDeliveries
func NewListWebhooksEndpointsRequest ¶ added in v0.1.54
func NewListWebhooksEndpointsRequest(server string, params *ListWebhooksEndpointsParams) (*http.Request, error)
NewListWebhooksEndpointsRequest generates requests for ListWebhooksEndpoints
func NewListWorkflowCustomFieldSelectionsRequest ¶
func NewListWorkflowCustomFieldSelectionsRequest(server string, workflowId string, params *ListWorkflowCustomFieldSelectionsParams) (*http.Request, error)
NewListWorkflowCustomFieldSelectionsRequest generates requests for ListWorkflowCustomFieldSelections
func NewListWorkflowFormFieldConditionsRequest ¶ added in v0.1.48
func NewListWorkflowFormFieldConditionsRequest(server string, workflowId string, params *ListWorkflowFormFieldConditionsParams) (*http.Request, error)
NewListWorkflowFormFieldConditionsRequest generates requests for ListWorkflowFormFieldConditions
func NewListWorkflowGroupsRequest ¶ added in v0.1.12
func NewListWorkflowGroupsRequest(server string, params *ListWorkflowGroupsParams) (*http.Request, error)
NewListWorkflowGroupsRequest generates requests for ListWorkflowGroups
func NewListWorkflowRunsRequest ¶ added in v0.1.23
func NewListWorkflowRunsRequest(server string, workflowId string, params *ListWorkflowRunsParams) (*http.Request, error)
NewListWorkflowRunsRequest generates requests for ListWorkflowRuns
func NewListWorkflowTasksRequest ¶
func NewListWorkflowTasksRequest(server string, workflowId string, params *ListWorkflowTasksParams) (*http.Request, error)
NewListWorkflowTasksRequest generates requests for ListWorkflowTasks
func NewListWorkflowsRequest ¶
func NewListWorkflowsRequest(server string, params *ListWorkflowsParams) (*http.Request, error)
NewListWorkflowsRequest generates requests for ListWorkflows
func NewMarkAsDuplicateIncidentRequestWithBody ¶ added in v0.1.68
func NewMarkAsDuplicateIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewMarkAsDuplicateIncidentRequestWithBody generates requests for MarkAsDuplicateIncident with any type of body
func NewMitigateIncidentRequestWithBody ¶
func NewMitigateIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewMitigateIncidentRequestWithBody generates requests for MitigateIncident with any type of body
func NewRemoveSubscribersToIncidentRequestWithBody ¶ added in v0.1.85
func NewRemoveSubscribersToIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewRemoveSubscribersToIncidentRequestWithBody generates requests for RemoveSubscribersToIncident with any type of body
func NewResolveIncidentRequestWithBody ¶
func NewResolveIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewResolveIncidentRequestWithBody generates requests for ResolveIncident with any type of body
func NewRestartIncidentRequestWithBody ¶ added in v0.1.58
func NewRestartIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewRestartIncidentRequestWithBody generates requests for RestartIncident with any type of body
func NewSetDefaultDashboardRequest ¶
NewSetDefaultDashboardRequest generates requests for SetDefaultDashboard
func NewTriageIncidentRequestWithBody ¶ added in v1.0.3
func NewTriageIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewTriageIncidentRequestWithBody generates requests for TriageIncident with any type of body
func NewUpdateCauseRequestWithBody ¶
func NewUpdateCauseRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCauseRequestWithBody generates requests for UpdateCause with any type of body
func NewUpdateCustomFieldOptionRequestWithBody ¶
func NewUpdateCustomFieldOptionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCustomFieldOptionRequestWithBody generates requests for UpdateCustomFieldOption with any type of body
func NewUpdateCustomFieldRequestWithBody ¶
func NewUpdateCustomFieldRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCustomFieldRequestWithBody generates requests for UpdateCustomField with any type of body
func NewUpdateDashboardPanelRequestWithBody ¶
func NewUpdateDashboardPanelRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDashboardPanelRequestWithBody generates requests for UpdateDashboardPanel with any type of body
func NewUpdateDashboardRequestWithBody ¶
func NewUpdateDashboardRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDashboardRequestWithBody generates requests for UpdateDashboard with any type of body
func NewUpdateEnvironmentRequestWithBody ¶
func NewUpdateEnvironmentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEnvironmentRequestWithBody generates requests for UpdateEnvironment with any type of body
func NewUpdateFormFieldOptionRequestWithBody ¶ added in v0.1.48
func NewUpdateFormFieldOptionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFormFieldOptionRequestWithBody generates requests for UpdateFormFieldOption with any type of body
func NewUpdateFormFieldPositionRequestWithBody ¶ added in v0.1.48
func NewUpdateFormFieldPositionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFormFieldPositionRequestWithBody generates requests for UpdateFormFieldPosition with any type of body
func NewUpdateFormFieldRequestWithBody ¶ added in v0.1.48
func NewUpdateFormFieldRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFormFieldRequestWithBody generates requests for UpdateFormField with any type of body
func NewUpdateFunctionalityRequestWithBody ¶
func NewUpdateFunctionalityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFunctionalityRequestWithBody generates requests for UpdateFunctionality with any type of body
func NewUpdateIncidentActionItemRequestWithBody ¶
func NewUpdateIncidentActionItemRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentActionItemRequestWithBody generates requests for UpdateIncidentActionItem with any type of body
func NewUpdateIncidentCustomFieldSelectionRequestWithBody ¶
func NewUpdateIncidentCustomFieldSelectionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentCustomFieldSelectionRequestWithBody generates requests for UpdateIncidentCustomFieldSelection with any type of body
func NewUpdateIncidentEventFunctionalityRequestWithBody ¶ added in v0.1.70
func NewUpdateIncidentEventFunctionalityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentEventFunctionalityRequestWithBody generates requests for UpdateIncidentEventFunctionality with any type of body
func NewUpdateIncidentEventRequestWithBody ¶
func NewUpdateIncidentEventRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentEventRequestWithBody generates requests for UpdateIncidentEvent with any type of body
func NewUpdateIncidentEventServiceRequestWithBody ¶ added in v0.1.70
func NewUpdateIncidentEventServiceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentEventServiceRequestWithBody generates requests for UpdateIncidentEventService with any type of body
func NewUpdateIncidentFeedbackRequestWithBody ¶
func NewUpdateIncidentFeedbackRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentFeedbackRequestWithBody generates requests for UpdateIncidentFeedback with any type of body
func NewUpdateIncidentFormFieldSelectionRequestWithBody ¶ added in v0.1.48
func NewUpdateIncidentFormFieldSelectionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentFormFieldSelectionRequestWithBody generates requests for UpdateIncidentFormFieldSelection with any type of body
func NewUpdateIncidentPostmortemRequestWithBody ¶
func NewUpdateIncidentPostmortemRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentPostmortemRequestWithBody generates requests for UpdateIncidentPostmortem with any type of body
func NewUpdateIncidentRequestWithBody ¶
func NewUpdateIncidentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentRequestWithBody generates requests for UpdateIncident with any type of body
func NewUpdateIncidentRoleRequestWithBody ¶
func NewUpdateIncidentRoleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentRoleRequestWithBody generates requests for UpdateIncidentRole with any type of body
func NewUpdateIncidentRoleTaskRequestWithBody ¶
func NewUpdateIncidentRoleTaskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentRoleTaskRequestWithBody generates requests for UpdateIncidentRoleTask with any type of body
func NewUpdateIncidentStatusPageRequestWithBody ¶
func NewUpdateIncidentStatusPageRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentStatusPageRequestWithBody generates requests for UpdateIncidentStatusPage with any type of body
func NewUpdateIncidentTypeRequestWithBody ¶
func NewUpdateIncidentTypeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIncidentTypeRequestWithBody generates requests for UpdateIncidentType with any type of body
func NewUpdatePlaybookRequestWithBody ¶
func NewUpdatePlaybookRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePlaybookRequestWithBody generates requests for UpdatePlaybook with any type of body
func NewUpdatePlaybookTaskRequestWithBody ¶
func NewUpdatePlaybookTaskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePlaybookTaskRequestWithBody generates requests for UpdatePlaybookTask with any type of body
func NewUpdatePostmortemTemplateRequestWithBody ¶
func NewUpdatePostmortemTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePostmortemTemplateRequestWithBody generates requests for UpdatePostmortemTemplate with any type of body
func NewUpdatePulseRequestWithBody ¶
func NewUpdatePulseRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePulseRequestWithBody generates requests for UpdatePulse with any type of body
func NewUpdateRetrospectiveStepRequestWithBody ¶ added in v1.1.7
func NewUpdateRetrospectiveStepRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRetrospectiveStepRequestWithBody generates requests for UpdateRetrospectiveStep with any type of body
func NewUpdateSecretRequestWithBody ¶ added in v0.1.58
func NewUpdateSecretRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSecretRequestWithBody generates requests for UpdateSecret with any type of body
func NewUpdateServiceRequestWithBody ¶
func NewUpdateServiceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateServiceRequestWithBody generates requests for UpdateService with any type of body
func NewUpdateSeverityRequestWithBody ¶
func NewUpdateSeverityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSeverityRequestWithBody generates requests for UpdateSeverity with any type of body
func NewUpdateStatusPageRequestWithBody ¶
func NewUpdateStatusPageRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusPageRequestWithBody generates requests for UpdateStatusPage with any type of body
func NewUpdateStatusPageTemplateRequestWithBody ¶ added in v0.1.18
func NewUpdateStatusPageTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusPageTemplateRequestWithBody generates requests for UpdateStatusPageTemplate with any type of body
func NewUpdateTeamRequestWithBody ¶
func NewUpdateTeamRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateTeamRequestWithBody generates requests for UpdateTeam with any type of body
func NewUpdateWebhooksEndpointRequestWithBody ¶ added in v0.1.54
func NewUpdateWebhooksEndpointRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWebhooksEndpointRequestWithBody generates requests for UpdateWebhooksEndpoint with any type of body
func NewUpdateWorkflowCustomFieldSelectionRequestWithBody ¶
func NewUpdateWorkflowCustomFieldSelectionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkflowCustomFieldSelectionRequestWithBody generates requests for UpdateWorkflowCustomFieldSelection with any type of body
func NewUpdateWorkflowFormFieldConditionRequestWithBody ¶ added in v0.1.48
func NewUpdateWorkflowFormFieldConditionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkflowFormFieldConditionRequestWithBody generates requests for UpdateWorkflowFormFieldCondition with any type of body
func NewUpdateWorkflowGroupRequestWithBody ¶ added in v0.1.12
func NewUpdateWorkflowGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkflowGroupRequestWithBody generates requests for UpdateWorkflowGroup with any type of body
Types ¶
type ActionItemTriggerParams ¶
type ActionItemTriggerParams struct {
IncidentActionItemCondition *ActionItemTriggerParamsIncidentActionItemCondition `json:"incident_action_item_condition,omitempty"`
IncidentActionItemConditionGroup *ActionItemTriggerParamsIncidentActionItemConditionGroup `json:"incident_action_item_condition_group,omitempty"`
IncidentActionItemConditionKind *ActionItemTriggerParamsIncidentActionItemConditionKind `json:"incident_action_item_condition_kind,omitempty"`
IncidentActionItemConditionPriority *ActionItemTriggerParamsIncidentActionItemConditionPriority `json:"incident_action_item_condition_priority,omitempty"`
IncidentActionItemConditionStatus *ActionItemTriggerParamsIncidentActionItemConditionStatus `json:"incident_action_item_condition_status,omitempty"`
IncidentActionItemGroupIds *[]string `json:"incident_action_item_group_ids,omitempty"`
IncidentActionItemKinds *[]ActionItemTriggerParamsIncidentActionItemKinds `json:"incident_action_item_kinds,omitempty"`
IncidentActionItemPriorities *[]ActionItemTriggerParamsIncidentActionItemPriorities `json:"incident_action_item_priorities,omitempty"`
IncidentActionItemStatuses *[]ActionItemTriggerParamsIncidentActionItemStatuses `json:"incident_action_item_statuses,omitempty"`
IncidentCondition *ActionItemTriggerParamsIncidentCondition `json:"incident_condition,omitempty"`
IncidentConditionAcknowledgedAt *interface{} `json:"incident_condition_acknowledged_at,omitempty"`
IncidentConditionDetectedAt *interface{} `json:"incident_condition_detected_at,omitempty"`
IncidentConditionEnvironment *ActionItemTriggerParamsIncidentConditionEnvironment `json:"incident_condition_environment,omitempty"`
IncidentConditionFunctionality *ActionItemTriggerParamsIncidentConditionFunctionality `json:"incident_condition_functionality,omitempty"`
IncidentConditionGroup *ActionItemTriggerParamsIncidentConditionGroup `json:"incident_condition_group,omitempty"`
IncidentConditionIncidentRoles *ActionItemTriggerParamsIncidentConditionIncidentRoles `json:"incident_condition_incident_roles,omitempty"`
IncidentConditionIncidentType *ActionItemTriggerParamsIncidentConditionIncidentType `json:"incident_condition_incident_type,omitempty"`
IncidentConditionKind *ActionItemTriggerParamsIncidentConditionKind `json:"incident_condition_kind,omitempty"`
IncidentConditionMitigatedAt *interface{} `json:"incident_condition_mitigated_at,omitempty"`
IncidentConditionResolvedAt *interface{} `json:"incident_condition_resolved_at,omitempty"`
IncidentConditionService *ActionItemTriggerParamsIncidentConditionService `json:"incident_condition_service,omitempty"`
IncidentConditionSeverity *ActionItemTriggerParamsIncidentConditionSeverity `json:"incident_condition_severity,omitempty"`
IncidentConditionStartedAt *interface{} `json:"incident_condition_started_at,omitempty"`
IncidentConditionStatus *ActionItemTriggerParamsIncidentConditionStatus `json:"incident_condition_status,omitempty"`
IncidentConditionSummary *interface{} `json:"incident_condition_summary,omitempty"`
IncidentConditionVisibility *ActionItemTriggerParamsIncidentConditionVisibility `json:"incident_condition_visibility,omitempty"`
IncidentConditionalInactivity *interface{} `json:"incident_conditional_inactivity,omitempty"`
IncidentInactivityDuration *interface{} `json:"incident_inactivity_duration,omitempty"`
IncidentKinds *[]ActionItemTriggerParamsIncidentKinds `json:"incident_kinds,omitempty"`
IncidentStatuses *[]ActionItemTriggerParamsIncidentStatuses `json:"incident_statuses,omitempty"`
IncidentVisibilities *[]bool `json:"incident_visibilities,omitempty"`
TriggerType ActionItemTriggerParamsTriggerType `json:"trigger_type"`
Triggers *[]string `json:"triggers,omitempty"`
}
ActionItemTriggerParams defines model for action_item_trigger_params.
type ActionItemTriggerParamsIncidentActionItemCondition ¶
type ActionItemTriggerParamsIncidentActionItemCondition string
ActionItemTriggerParamsIncidentActionItemCondition defines model for ActionItemTriggerParams.IncidentActionItemCondition.
const ( ActionItemTriggerParamsIncidentActionItemConditionALL ActionItemTriggerParamsIncidentActionItemCondition = "ALL" ActionItemTriggerParamsIncidentActionItemConditionANY ActionItemTriggerParamsIncidentActionItemCondition = "ANY" ActionItemTriggerParamsIncidentActionItemConditionNONE ActionItemTriggerParamsIncidentActionItemCondition = "NONE" )
Defines values for ActionItemTriggerParamsIncidentActionItemCondition.
type ActionItemTriggerParamsIncidentActionItemConditionGroup ¶
type ActionItemTriggerParamsIncidentActionItemConditionGroup string
ActionItemTriggerParamsIncidentActionItemConditionGroup defines model for ActionItemTriggerParams.IncidentActionItemConditionGroup.
const ( ActionItemTriggerParamsIncidentActionItemConditionGroupANY ActionItemTriggerParamsIncidentActionItemConditionGroup = "ANY" ActionItemTriggerParamsIncidentActionItemConditionGroupCONTAINS ActionItemTriggerParamsIncidentActionItemConditionGroup = "CONTAINS" ActionItemTriggerParamsIncidentActionItemConditionGroupCONTAINSALL ActionItemTriggerParamsIncidentActionItemConditionGroup = "CONTAINS_ALL" ActionItemTriggerParamsIncidentActionItemConditionGroupCONTAINSNONE ActionItemTriggerParamsIncidentActionItemConditionGroup = "CONTAINS_NONE" ActionItemTriggerParamsIncidentActionItemConditionGroupIS ActionItemTriggerParamsIncidentActionItemConditionGroup = "IS" ActionItemTriggerParamsIncidentActionItemConditionGroupNONE ActionItemTriggerParamsIncidentActionItemConditionGroup = "NONE" ActionItemTriggerParamsIncidentActionItemConditionGroupSET ActionItemTriggerParamsIncidentActionItemConditionGroup = "SET" ActionItemTriggerParamsIncidentActionItemConditionGroupUNSET ActionItemTriggerParamsIncidentActionItemConditionGroup = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentActionItemConditionGroup.
type ActionItemTriggerParamsIncidentActionItemConditionKind ¶
type ActionItemTriggerParamsIncidentActionItemConditionKind string
ActionItemTriggerParamsIncidentActionItemConditionKind defines model for ActionItemTriggerParams.IncidentActionItemConditionKind.
const ( ActionItemTriggerParamsIncidentActionItemConditionKindANY ActionItemTriggerParamsIncidentActionItemConditionKind = "ANY" ActionItemTriggerParamsIncidentActionItemConditionKindCONTAINS ActionItemTriggerParamsIncidentActionItemConditionKind = "CONTAINS" ActionItemTriggerParamsIncidentActionItemConditionKindCONTAINSALL ActionItemTriggerParamsIncidentActionItemConditionKind = "CONTAINS_ALL" ActionItemTriggerParamsIncidentActionItemConditionKindCONTAINSNONE ActionItemTriggerParamsIncidentActionItemConditionKind = "CONTAINS_NONE" ActionItemTriggerParamsIncidentActionItemConditionKindIS ActionItemTriggerParamsIncidentActionItemConditionKind = "IS" ActionItemTriggerParamsIncidentActionItemConditionKindNONE ActionItemTriggerParamsIncidentActionItemConditionKind = "NONE" ActionItemTriggerParamsIncidentActionItemConditionKindSET ActionItemTriggerParamsIncidentActionItemConditionKind = "SET" ActionItemTriggerParamsIncidentActionItemConditionKindUNSET ActionItemTriggerParamsIncidentActionItemConditionKind = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentActionItemConditionKind.
type ActionItemTriggerParamsIncidentActionItemConditionPriority ¶
type ActionItemTriggerParamsIncidentActionItemConditionPriority string
ActionItemTriggerParamsIncidentActionItemConditionPriority defines model for ActionItemTriggerParams.IncidentActionItemConditionPriority.
const ( ActionItemTriggerParamsIncidentActionItemConditionPriorityANY ActionItemTriggerParamsIncidentActionItemConditionPriority = "ANY" ActionItemTriggerParamsIncidentActionItemConditionPriorityCONTAINS ActionItemTriggerParamsIncidentActionItemConditionPriority = "CONTAINS" ActionItemTriggerParamsIncidentActionItemConditionPriorityCONTAINSALL ActionItemTriggerParamsIncidentActionItemConditionPriority = "CONTAINS_ALL" ActionItemTriggerParamsIncidentActionItemConditionPriorityCONTAINSNONE ActionItemTriggerParamsIncidentActionItemConditionPriority = "CONTAINS_NONE" ActionItemTriggerParamsIncidentActionItemConditionPriorityIS ActionItemTriggerParamsIncidentActionItemConditionPriority = "IS" ActionItemTriggerParamsIncidentActionItemConditionPriorityNONE ActionItemTriggerParamsIncidentActionItemConditionPriority = "NONE" ActionItemTriggerParamsIncidentActionItemConditionPrioritySET ActionItemTriggerParamsIncidentActionItemConditionPriority = "SET" ActionItemTriggerParamsIncidentActionItemConditionPriorityUNSET ActionItemTriggerParamsIncidentActionItemConditionPriority = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentActionItemConditionPriority.
type ActionItemTriggerParamsIncidentActionItemConditionStatus ¶
type ActionItemTriggerParamsIncidentActionItemConditionStatus string
ActionItemTriggerParamsIncidentActionItemConditionStatus defines model for ActionItemTriggerParams.IncidentActionItemConditionStatus.
const ( ActionItemTriggerParamsIncidentActionItemConditionStatusANY ActionItemTriggerParamsIncidentActionItemConditionStatus = "ANY" ActionItemTriggerParamsIncidentActionItemConditionStatusCONTAINS ActionItemTriggerParamsIncidentActionItemConditionStatus = "CONTAINS" ActionItemTriggerParamsIncidentActionItemConditionStatusCONTAINSALL ActionItemTriggerParamsIncidentActionItemConditionStatus = "CONTAINS_ALL" ActionItemTriggerParamsIncidentActionItemConditionStatusCONTAINSNONE ActionItemTriggerParamsIncidentActionItemConditionStatus = "CONTAINS_NONE" ActionItemTriggerParamsIncidentActionItemConditionStatusIS ActionItemTriggerParamsIncidentActionItemConditionStatus = "IS" ActionItemTriggerParamsIncidentActionItemConditionStatusNONE ActionItemTriggerParamsIncidentActionItemConditionStatus = "NONE" ActionItemTriggerParamsIncidentActionItemConditionStatusSET ActionItemTriggerParamsIncidentActionItemConditionStatus = "SET" ActionItemTriggerParamsIncidentActionItemConditionStatusUNSET ActionItemTriggerParamsIncidentActionItemConditionStatus = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentActionItemConditionStatus.
type ActionItemTriggerParamsIncidentActionItemKinds ¶
type ActionItemTriggerParamsIncidentActionItemKinds string
ActionItemTriggerParamsIncidentActionItemKinds defines model for ActionItemTriggerParams.IncidentActionItemKinds.
const ( ActionItemTriggerParamsIncidentActionItemKindsFollowUp ActionItemTriggerParamsIncidentActionItemKinds = "follow_up" ActionItemTriggerParamsIncidentActionItemKindsTask ActionItemTriggerParamsIncidentActionItemKinds = "task" )
Defines values for ActionItemTriggerParamsIncidentActionItemKinds.
type ActionItemTriggerParamsIncidentActionItemPriorities ¶
type ActionItemTriggerParamsIncidentActionItemPriorities string
ActionItemTriggerParamsIncidentActionItemPriorities defines model for ActionItemTriggerParams.IncidentActionItemPriorities.
const ( ActionItemTriggerParamsIncidentActionItemPrioritiesHigh ActionItemTriggerParamsIncidentActionItemPriorities = "high" ActionItemTriggerParamsIncidentActionItemPrioritiesLow ActionItemTriggerParamsIncidentActionItemPriorities = "low" ActionItemTriggerParamsIncidentActionItemPrioritiesMedium ActionItemTriggerParamsIncidentActionItemPriorities = "medium" )
Defines values for ActionItemTriggerParamsIncidentActionItemPriorities.
type ActionItemTriggerParamsIncidentActionItemStatuses ¶
type ActionItemTriggerParamsIncidentActionItemStatuses string
ActionItemTriggerParamsIncidentActionItemStatuses defines model for ActionItemTriggerParams.IncidentActionItemStatuses.
const ( ActionItemTriggerParamsIncidentActionItemStatusesCancelled ActionItemTriggerParamsIncidentActionItemStatuses = "cancelled" ActionItemTriggerParamsIncidentActionItemStatusesDone ActionItemTriggerParamsIncidentActionItemStatuses = "done" ActionItemTriggerParamsIncidentActionItemStatusesInProgress ActionItemTriggerParamsIncidentActionItemStatuses = "in_progress" ActionItemTriggerParamsIncidentActionItemStatusesOpen ActionItemTriggerParamsIncidentActionItemStatuses = "open" )
Defines values for ActionItemTriggerParamsIncidentActionItemStatuses.
type ActionItemTriggerParamsIncidentCondition ¶
type ActionItemTriggerParamsIncidentCondition string
ActionItemTriggerParamsIncidentCondition defines model for ActionItemTriggerParams.IncidentCondition.
const ( ActionItemTriggerParamsIncidentConditionALL ActionItemTriggerParamsIncidentCondition = "ALL" ActionItemTriggerParamsIncidentConditionANY ActionItemTriggerParamsIncidentCondition = "ANY" ActionItemTriggerParamsIncidentConditionNONE ActionItemTriggerParamsIncidentCondition = "NONE" )
Defines values for ActionItemTriggerParamsIncidentCondition.
type ActionItemTriggerParamsIncidentConditionEnvironment ¶
type ActionItemTriggerParamsIncidentConditionEnvironment string
ActionItemTriggerParamsIncidentConditionEnvironment defines model for ActionItemTriggerParams.IncidentConditionEnvironment.
const ( ActionItemTriggerParamsIncidentConditionEnvironmentANY ActionItemTriggerParamsIncidentConditionEnvironment = "ANY" ActionItemTriggerParamsIncidentConditionEnvironmentCONTAINS ActionItemTriggerParamsIncidentConditionEnvironment = "CONTAINS" ActionItemTriggerParamsIncidentConditionEnvironmentCONTAINSALL ActionItemTriggerParamsIncidentConditionEnvironment = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionEnvironmentCONTAINSNONE ActionItemTriggerParamsIncidentConditionEnvironment = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionEnvironmentIS ActionItemTriggerParamsIncidentConditionEnvironment = "IS" ActionItemTriggerParamsIncidentConditionEnvironmentNONE ActionItemTriggerParamsIncidentConditionEnvironment = "NONE" ActionItemTriggerParamsIncidentConditionEnvironmentSET ActionItemTriggerParamsIncidentConditionEnvironment = "SET" ActionItemTriggerParamsIncidentConditionEnvironmentUNSET ActionItemTriggerParamsIncidentConditionEnvironment = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionEnvironment.
type ActionItemTriggerParamsIncidentConditionFunctionality ¶
type ActionItemTriggerParamsIncidentConditionFunctionality string
ActionItemTriggerParamsIncidentConditionFunctionality defines model for ActionItemTriggerParams.IncidentConditionFunctionality.
const ( ActionItemTriggerParamsIncidentConditionFunctionalityANY ActionItemTriggerParamsIncidentConditionFunctionality = "ANY" ActionItemTriggerParamsIncidentConditionFunctionalityCONTAINS ActionItemTriggerParamsIncidentConditionFunctionality = "CONTAINS" ActionItemTriggerParamsIncidentConditionFunctionalityCONTAINSALL ActionItemTriggerParamsIncidentConditionFunctionality = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionFunctionalityCONTAINSNONE ActionItemTriggerParamsIncidentConditionFunctionality = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionFunctionalityIS ActionItemTriggerParamsIncidentConditionFunctionality = "IS" ActionItemTriggerParamsIncidentConditionFunctionalityNONE ActionItemTriggerParamsIncidentConditionFunctionality = "NONE" ActionItemTriggerParamsIncidentConditionFunctionalitySET ActionItemTriggerParamsIncidentConditionFunctionality = "SET" ActionItemTriggerParamsIncidentConditionFunctionalityUNSET ActionItemTriggerParamsIncidentConditionFunctionality = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionFunctionality.
type ActionItemTriggerParamsIncidentConditionGroup ¶
type ActionItemTriggerParamsIncidentConditionGroup string
ActionItemTriggerParamsIncidentConditionGroup defines model for ActionItemTriggerParams.IncidentConditionGroup.
const ( ActionItemTriggerParamsIncidentConditionGroupANY ActionItemTriggerParamsIncidentConditionGroup = "ANY" ActionItemTriggerParamsIncidentConditionGroupCONTAINS ActionItemTriggerParamsIncidentConditionGroup = "CONTAINS" ActionItemTriggerParamsIncidentConditionGroupCONTAINSALL ActionItemTriggerParamsIncidentConditionGroup = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionGroupCONTAINSNONE ActionItemTriggerParamsIncidentConditionGroup = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionGroupIS ActionItemTriggerParamsIncidentConditionGroup = "IS" ActionItemTriggerParamsIncidentConditionGroupNONE ActionItemTriggerParamsIncidentConditionGroup = "NONE" ActionItemTriggerParamsIncidentConditionGroupSET ActionItemTriggerParamsIncidentConditionGroup = "SET" ActionItemTriggerParamsIncidentConditionGroupUNSET ActionItemTriggerParamsIncidentConditionGroup = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionGroup.
type ActionItemTriggerParamsIncidentConditionIncidentRoles ¶ added in v0.1.76
type ActionItemTriggerParamsIncidentConditionIncidentRoles string
ActionItemTriggerParamsIncidentConditionIncidentRoles defines model for ActionItemTriggerParams.IncidentConditionIncidentRoles.
const ( ActionItemTriggerParamsIncidentConditionIncidentRolesANY ActionItemTriggerParamsIncidentConditionIncidentRoles = "ANY" ActionItemTriggerParamsIncidentConditionIncidentRolesCONTAINS ActionItemTriggerParamsIncidentConditionIncidentRoles = "CONTAINS" ActionItemTriggerParamsIncidentConditionIncidentRolesCONTAINSALL ActionItemTriggerParamsIncidentConditionIncidentRoles = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionIncidentRolesCONTAINSNONE ActionItemTriggerParamsIncidentConditionIncidentRoles = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionIncidentRolesIS ActionItemTriggerParamsIncidentConditionIncidentRoles = "IS" ActionItemTriggerParamsIncidentConditionIncidentRolesNONE ActionItemTriggerParamsIncidentConditionIncidentRoles = "NONE" ActionItemTriggerParamsIncidentConditionIncidentRolesSET ActionItemTriggerParamsIncidentConditionIncidentRoles = "SET" ActionItemTriggerParamsIncidentConditionIncidentRolesUNSET ActionItemTriggerParamsIncidentConditionIncidentRoles = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionIncidentRoles.
type ActionItemTriggerParamsIncidentConditionIncidentType ¶
type ActionItemTriggerParamsIncidentConditionIncidentType string
ActionItemTriggerParamsIncidentConditionIncidentType defines model for ActionItemTriggerParams.IncidentConditionIncidentType.
const ( ActionItemTriggerParamsIncidentConditionIncidentTypeANY ActionItemTriggerParamsIncidentConditionIncidentType = "ANY" ActionItemTriggerParamsIncidentConditionIncidentTypeCONTAINS ActionItemTriggerParamsIncidentConditionIncidentType = "CONTAINS" ActionItemTriggerParamsIncidentConditionIncidentTypeCONTAINSALL ActionItemTriggerParamsIncidentConditionIncidentType = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionIncidentTypeCONTAINSNONE ActionItemTriggerParamsIncidentConditionIncidentType = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionIncidentTypeIS ActionItemTriggerParamsIncidentConditionIncidentType = "IS" ActionItemTriggerParamsIncidentConditionIncidentTypeNONE ActionItemTriggerParamsIncidentConditionIncidentType = "NONE" ActionItemTriggerParamsIncidentConditionIncidentTypeSET ActionItemTriggerParamsIncidentConditionIncidentType = "SET" ActionItemTriggerParamsIncidentConditionIncidentTypeUNSET ActionItemTriggerParamsIncidentConditionIncidentType = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionIncidentType.
type ActionItemTriggerParamsIncidentConditionKind ¶
type ActionItemTriggerParamsIncidentConditionKind string
ActionItemTriggerParamsIncidentConditionKind defines model for ActionItemTriggerParams.IncidentConditionKind.
const ( ActionItemTriggerParamsIncidentConditionKindANY ActionItemTriggerParamsIncidentConditionKind = "ANY" ActionItemTriggerParamsIncidentConditionKindCONTAINS ActionItemTriggerParamsIncidentConditionKind = "CONTAINS" ActionItemTriggerParamsIncidentConditionKindCONTAINSALL ActionItemTriggerParamsIncidentConditionKind = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionKindCONTAINSNONE ActionItemTriggerParamsIncidentConditionKind = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionKindIS ActionItemTriggerParamsIncidentConditionKind = "IS" ActionItemTriggerParamsIncidentConditionKindNONE ActionItemTriggerParamsIncidentConditionKind = "NONE" ActionItemTriggerParamsIncidentConditionKindSET ActionItemTriggerParamsIncidentConditionKind = "SET" ActionItemTriggerParamsIncidentConditionKindUNSET ActionItemTriggerParamsIncidentConditionKind = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionKind.
type ActionItemTriggerParamsIncidentConditionService ¶
type ActionItemTriggerParamsIncidentConditionService string
ActionItemTriggerParamsIncidentConditionService defines model for ActionItemTriggerParams.IncidentConditionService.
const ( ActionItemTriggerParamsIncidentConditionServiceANY ActionItemTriggerParamsIncidentConditionService = "ANY" ActionItemTriggerParamsIncidentConditionServiceCONTAINS ActionItemTriggerParamsIncidentConditionService = "CONTAINS" ActionItemTriggerParamsIncidentConditionServiceCONTAINSALL ActionItemTriggerParamsIncidentConditionService = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionServiceCONTAINSNONE ActionItemTriggerParamsIncidentConditionService = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionServiceIS ActionItemTriggerParamsIncidentConditionService = "IS" ActionItemTriggerParamsIncidentConditionServiceNONE ActionItemTriggerParamsIncidentConditionService = "NONE" ActionItemTriggerParamsIncidentConditionServiceSET ActionItemTriggerParamsIncidentConditionService = "SET" ActionItemTriggerParamsIncidentConditionServiceUNSET ActionItemTriggerParamsIncidentConditionService = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionService.
type ActionItemTriggerParamsIncidentConditionSeverity ¶
type ActionItemTriggerParamsIncidentConditionSeverity string
ActionItemTriggerParamsIncidentConditionSeverity defines model for ActionItemTriggerParams.IncidentConditionSeverity.
const ( ActionItemTriggerParamsIncidentConditionSeverityANY ActionItemTriggerParamsIncidentConditionSeverity = "ANY" ActionItemTriggerParamsIncidentConditionSeverityCONTAINS ActionItemTriggerParamsIncidentConditionSeverity = "CONTAINS" ActionItemTriggerParamsIncidentConditionSeverityCONTAINSALL ActionItemTriggerParamsIncidentConditionSeverity = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionSeverityCONTAINSNONE ActionItemTriggerParamsIncidentConditionSeverity = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionSeverityIS ActionItemTriggerParamsIncidentConditionSeverity = "IS" ActionItemTriggerParamsIncidentConditionSeverityNONE ActionItemTriggerParamsIncidentConditionSeverity = "NONE" ActionItemTriggerParamsIncidentConditionSeveritySET ActionItemTriggerParamsIncidentConditionSeverity = "SET" ActionItemTriggerParamsIncidentConditionSeverityUNSET ActionItemTriggerParamsIncidentConditionSeverity = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionSeverity.
type ActionItemTriggerParamsIncidentConditionStatus ¶
type ActionItemTriggerParamsIncidentConditionStatus string
ActionItemTriggerParamsIncidentConditionStatus defines model for ActionItemTriggerParams.IncidentConditionStatus.
const ( ActionItemTriggerParamsIncidentConditionStatusANY ActionItemTriggerParamsIncidentConditionStatus = "ANY" ActionItemTriggerParamsIncidentConditionStatusCONTAINS ActionItemTriggerParamsIncidentConditionStatus = "CONTAINS" ActionItemTriggerParamsIncidentConditionStatusCONTAINSALL ActionItemTriggerParamsIncidentConditionStatus = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionStatusCONTAINSNONE ActionItemTriggerParamsIncidentConditionStatus = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionStatusIS ActionItemTriggerParamsIncidentConditionStatus = "IS" ActionItemTriggerParamsIncidentConditionStatusNONE ActionItemTriggerParamsIncidentConditionStatus = "NONE" ActionItemTriggerParamsIncidentConditionStatusSET ActionItemTriggerParamsIncidentConditionStatus = "SET" ActionItemTriggerParamsIncidentConditionStatusUNSET ActionItemTriggerParamsIncidentConditionStatus = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionStatus.
type ActionItemTriggerParamsIncidentConditionVisibility ¶
type ActionItemTriggerParamsIncidentConditionVisibility string
ActionItemTriggerParamsIncidentConditionVisibility defines model for ActionItemTriggerParams.IncidentConditionVisibility.
const ( ActionItemTriggerParamsIncidentConditionVisibilityANY ActionItemTriggerParamsIncidentConditionVisibility = "ANY" ActionItemTriggerParamsIncidentConditionVisibilityCONTAINS ActionItemTriggerParamsIncidentConditionVisibility = "CONTAINS" ActionItemTriggerParamsIncidentConditionVisibilityCONTAINSALL ActionItemTriggerParamsIncidentConditionVisibility = "CONTAINS_ALL" ActionItemTriggerParamsIncidentConditionVisibilityCONTAINSNONE ActionItemTriggerParamsIncidentConditionVisibility = "CONTAINS_NONE" ActionItemTriggerParamsIncidentConditionVisibilityIS ActionItemTriggerParamsIncidentConditionVisibility = "IS" ActionItemTriggerParamsIncidentConditionVisibilityNONE ActionItemTriggerParamsIncidentConditionVisibility = "NONE" ActionItemTriggerParamsIncidentConditionVisibilitySET ActionItemTriggerParamsIncidentConditionVisibility = "SET" ActionItemTriggerParamsIncidentConditionVisibilityUNSET ActionItemTriggerParamsIncidentConditionVisibility = "UNSET" )
Defines values for ActionItemTriggerParamsIncidentConditionVisibility.
type ActionItemTriggerParamsIncidentKinds ¶
type ActionItemTriggerParamsIncidentKinds string
ActionItemTriggerParamsIncidentKinds defines model for ActionItemTriggerParams.IncidentKinds.
const ( ActionItemTriggerParamsIncidentKindsBackfilled ActionItemTriggerParamsIncidentKinds = "backfilled" ActionItemTriggerParamsIncidentKindsExample ActionItemTriggerParamsIncidentKinds = "example" ActionItemTriggerParamsIncidentKindsExampleSub ActionItemTriggerParamsIncidentKinds = "example_sub" ActionItemTriggerParamsIncidentKindsNormal ActionItemTriggerParamsIncidentKinds = "normal" ActionItemTriggerParamsIncidentKindsNormalSub ActionItemTriggerParamsIncidentKinds = "normal_sub" ActionItemTriggerParamsIncidentKindsScheduled ActionItemTriggerParamsIncidentKinds = "scheduled" ActionItemTriggerParamsIncidentKindsTest ActionItemTriggerParamsIncidentKinds = "test" ActionItemTriggerParamsIncidentKindsTestSub ActionItemTriggerParamsIncidentKinds = "test_sub" )
Defines values for ActionItemTriggerParamsIncidentKinds.
type ActionItemTriggerParamsIncidentStatuses ¶
type ActionItemTriggerParamsIncidentStatuses string
ActionItemTriggerParamsIncidentStatuses defines model for ActionItemTriggerParams.IncidentStatuses.
const ( ActionItemTriggerParamsIncidentStatusesAcknowledged ActionItemTriggerParamsIncidentStatuses = "acknowledged" ActionItemTriggerParamsIncidentStatusesCancelled ActionItemTriggerParamsIncidentStatuses = "cancelled" ActionItemTriggerParamsIncidentStatusesCompleted ActionItemTriggerParamsIncidentStatuses = "completed" ActionItemTriggerParamsIncidentStatusesDetected ActionItemTriggerParamsIncidentStatuses = "detected" ActionItemTriggerParamsIncidentStatusesInProgress ActionItemTriggerParamsIncidentStatuses = "in_progress" ActionItemTriggerParamsIncidentStatusesInTriage ActionItemTriggerParamsIncidentStatuses = "in_triage" ActionItemTriggerParamsIncidentStatusesMitigated ActionItemTriggerParamsIncidentStatuses = "mitigated" ActionItemTriggerParamsIncidentStatusesResolved ActionItemTriggerParamsIncidentStatuses = "resolved" ActionItemTriggerParamsIncidentStatusesScheduled ActionItemTriggerParamsIncidentStatuses = "scheduled" ActionItemTriggerParamsIncidentStatusesStarted ActionItemTriggerParamsIncidentStatuses = "started" )
Defines values for ActionItemTriggerParamsIncidentStatuses.
type ActionItemTriggerParamsTriggerType ¶
type ActionItemTriggerParamsTriggerType string
ActionItemTriggerParamsTriggerType defines model for ActionItemTriggerParams.TriggerType.
const (
ActionItemTriggerParamsTriggerTypeActionItem ActionItemTriggerParamsTriggerType = "action_item"
)
Defines values for ActionItemTriggerParamsTriggerType.
type AddActionItemTaskParams ¶
type AddActionItemTaskParams struct {
// The user this action item is assigned to
AssignedToUser *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"assigned_to_user,omitempty"`
// [DEPRECATED] Use assigned_to_user attribute instead. The user id this action item is assigned to
AssignedToUserId *string `json:"assigned_to_user_id,omitempty"`
// The action item description
Description *string `json:"description,omitempty"`
// The role id this action item is associated with
IncidentRoleId *string `json:"incident_role_id,omitempty"`
// The action item kind
Kind *string `json:"kind,omitempty"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
// The action item priority
Priority AddActionItemTaskParamsPriority `json:"priority"`
// The action item status
Status AddActionItemTaskParamsStatus `json:"status"`
// The action item summary
Summary string `json:"summary"`
TaskType *AddActionItemTaskParamsTaskType `json:"task_type,omitempty"`
}
AddActionItemTaskParams defines model for add_action_item_task_params.
type AddActionItemTaskParamsPriority ¶
type AddActionItemTaskParamsPriority string
The action item priority
const ( AddActionItemTaskParamsPriorityHigh AddActionItemTaskParamsPriority = "high" AddActionItemTaskParamsPriorityLow AddActionItemTaskParamsPriority = "low" AddActionItemTaskParamsPriorityMedium AddActionItemTaskParamsPriority = "medium" )
Defines values for AddActionItemTaskParamsPriority.
type AddActionItemTaskParamsStatus ¶
type AddActionItemTaskParamsStatus string
The action item status
const ( AddActionItemTaskParamsStatusCancelled AddActionItemTaskParamsStatus = "cancelled" AddActionItemTaskParamsStatusDone AddActionItemTaskParamsStatus = "done" AddActionItemTaskParamsStatusInProgress AddActionItemTaskParamsStatus = "in_progress" AddActionItemTaskParamsStatusOpen AddActionItemTaskParamsStatus = "open" )
Defines values for AddActionItemTaskParamsStatus.
type AddActionItemTaskParamsTaskType ¶
type AddActionItemTaskParamsTaskType string
AddActionItemTaskParamsTaskType defines model for AddActionItemTaskParams.TaskType.
const (
AddActionItemTaskParamsTaskTypeAddActionItem AddActionItemTaskParamsTaskType = "add_action_item"
)
Defines values for AddActionItemTaskParamsTaskType.
type AddRoleTaskParams ¶
type AddRoleTaskParams struct {
// The user this role is assigned to
AssignedToUser *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"assigned_to_user,omitempty"`
// [DEPRECATED] Use assigned_to_user attribute instead. The user id this role is assigned to
AssignedToUserId *string `json:"assigned_to_user_id,omitempty"`
// The role id to add to the incident
IncidentRoleId string `json:"incident_role_id"`
TaskType *AddRoleTaskParamsTaskType `json:"task_type,omitempty"`
}
AddRoleTaskParams defines model for add_role_task_params.
type AddRoleTaskParamsTaskType ¶
type AddRoleTaskParamsTaskType string
AddRoleTaskParamsTaskType defines model for AddRoleTaskParams.TaskType.
const (
AddRole AddRoleTaskParamsTaskType = "add_role"
)
Defines values for AddRoleTaskParamsTaskType.
type AddSlackBookmarkTaskParams ¶
type AddSlackBookmarkTaskParams struct {
Channel struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channel"`
// The bookmark emoji
Emoji *string `json:"emoji,omitempty"`
// The bookmark link. Required if not a playbook bookmark
Link *string `json:"link"`
// The playbook id if bookmark is of an incident playbook
PlaybookId *string `json:"playbook_id,omitempty"`
TaskType *AddSlackBookmarkTaskParamsTaskType `json:"task_type,omitempty"`
// The bookmark title. Required if not a playbook bookmark
Title *string `json:"title"`
}
AddSlackBookmarkTaskParams defines model for add_slack_bookmark_task_params.
type AddSlackBookmarkTaskParamsTaskType ¶ added in v0.1.39
type AddSlackBookmarkTaskParamsTaskType string
AddSlackBookmarkTaskParamsTaskType defines model for AddSlackBookmarkTaskParams.TaskType.
const (
AddSlackBookmark AddSlackBookmarkTaskParamsTaskType = "add_slack_bookmark"
)
Defines values for AddSlackBookmarkTaskParamsTaskType.
type AddSubscribers ¶ added in v0.1.85
type AddSubscribers struct {
Data struct {
Attributes struct {
// Users without read permissions for private incidents will be removed from the subscriber list of this incident
RemoveUsersWithNoPrivateIncidentAccess *bool `json:"remove_users_with_no_private_incident_access"`
// IDs of users you wish to add to list of subscribers for this incident
UserIds *[]string `json:"user_ids"`
} `json:"attributes"`
Type AddSubscribersDataType `json:"type"`
} `json:"data"`
}
AddSubscribers defines model for add_subscribers.
type AddSubscribersDataType ¶ added in v0.1.85
type AddSubscribersDataType string
AddSubscribersDataType defines model for AddSubscribers.Data.Type.
const (
AddSubscribersDataTypeIncidents AddSubscribersDataType = "incidents"
)
Defines values for AddSubscribersDataType.
type AddSubscribersToIncidentResponse ¶ added in v0.1.85
func ParseAddSubscribersToIncidentResponse ¶ added in v0.1.85
func ParseAddSubscribersToIncidentResponse(rsp *http.Response) (*AddSubscribersToIncidentResponse, error)
ParseAddSubscribersToIncidentResponse parses an HTTP response from a AddSubscribersToIncidentWithResponse call
func (AddSubscribersToIncidentResponse) Status ¶ added in v0.1.85
func (r AddSubscribersToIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (AddSubscribersToIncidentResponse) StatusCode ¶ added in v0.1.85
func (r AddSubscribersToIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddTeamTaskParams ¶
type AddTeamTaskParams struct {
// The team id
GroupId string `json:"group_id"`
TaskType *AddTeamTaskParamsTaskType `json:"task_type,omitempty"`
}
AddTeamTaskParams defines model for add_team_task_params.
type AddTeamTaskParamsTaskType ¶
type AddTeamTaskParamsTaskType string
AddTeamTaskParamsTaskType defines model for AddTeamTaskParams.TaskType.
const (
AddTeam AddTeamTaskParamsTaskType = "add_team"
)
Defines values for AddTeamTaskParamsTaskType.
type AddToTimelineTaskParams ¶
type AddToTimelineTaskParams struct {
// The timeline event description
Event string `json:"event"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *AddToTimelineTaskParamsTaskType `json:"task_type,omitempty"`
// A URL for the timeline event
Url *string `json:"url,omitempty"`
}
AddToTimelineTaskParams defines model for add_to_timeline_task_params.
type AddToTimelineTaskParamsTaskType ¶
type AddToTimelineTaskParamsTaskType string
AddToTimelineTaskParamsTaskType defines model for AddToTimelineTaskParams.TaskType.
const (
AddToTimeline AddToTimelineTaskParamsTaskType = "add_to_timeline"
)
Defines values for AddToTimelineTaskParamsTaskType.
type Alert ¶
type Alert struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Additional data
Data *map[string]interface{} `json:"data"`
// Environments attached to the alert
Environments *[]struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"environments,omitempty"`
// External ID
ExternalId *string `json:"external_id"`
// External Url
ExternalUrl *string `json:"external_url"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
// Services attached to the alert
Services *[]struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *AlertServicesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"services,omitempty"`
// The source of the alert (eg: zendesk)
Source string `json:"source"`
// The summary of the alert
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Alert defines model for alert.
type AlertList ¶
type AlertList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Additional data
Data *map[string]interface{} `json:"data"`
// Environments attached to the alert
Environments *[]struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"environments,omitempty"`
// External ID
ExternalId *string `json:"external_id"`
// External Url
ExternalUrl *string `json:"external_url"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
// Services attached to the alert
Services *[]struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *AlertListDataAttributesServicesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"services,omitempty"`
// The source of the alert (eg: zendesk)
Source string `json:"source"`
// The summary of the alert
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the alert
Id string `json:"id"`
// The source of the alert (eg: zendesk)
Source *string `json:"source,omitempty"`
Type AlertListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
AlertList defines model for alert_list.
type AlertListDataAttributesServicesStatus ¶ added in v0.1.83
type AlertListDataAttributesServicesStatus string
The status of the service
const ( AlertListDataAttributesServicesStatusImpacted AlertListDataAttributesServicesStatus = "impacted" AlertListDataAttributesServicesStatusMajorOutage AlertListDataAttributesServicesStatus = "major_outage" AlertListDataAttributesServicesStatusOperational AlertListDataAttributesServicesStatus = "operational" AlertListDataAttributesServicesStatusOutage AlertListDataAttributesServicesStatus = "outage" AlertListDataAttributesServicesStatusPartialOutage AlertListDataAttributesServicesStatus = "partial_outage" )
Defines values for AlertListDataAttributesServicesStatus.
type AlertListDataType ¶
type AlertListDataType string
AlertListDataType defines model for AlertList.Data.Type.
const (
AlertListDataTypeAlerts AlertListDataType = "alerts"
)
Defines values for AlertListDataType.
type AlertResponse ¶
type AlertResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Additional data
Data *map[string]interface{} `json:"data"`
// Environments attached to the alert
Environments *[]struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"environments,omitempty"`
// External ID
ExternalId *string `json:"external_id"`
// External Url
ExternalUrl *string `json:"external_url"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
// Services attached to the alert
Services *[]struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *AlertResponseDataAttributesServicesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"services,omitempty"`
// The source of the alert (eg: zendesk)
Source string `json:"source"`
// The summary of the alert
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the alert
Id string `json:"id"`
// The source of the alert (eg: zendesk)
Source *string `json:"source,omitempty"`
Type AlertResponseDataType `json:"type"`
} `json:"data"`
}
AlertResponse defines model for alert_response.
type AlertResponseDataAttributesServicesStatus ¶ added in v0.1.83
type AlertResponseDataAttributesServicesStatus string
The status of the service
const ( AlertResponseDataAttributesServicesStatusImpacted AlertResponseDataAttributesServicesStatus = "impacted" AlertResponseDataAttributesServicesStatusMajorOutage AlertResponseDataAttributesServicesStatus = "major_outage" AlertResponseDataAttributesServicesStatusOperational AlertResponseDataAttributesServicesStatus = "operational" AlertResponseDataAttributesServicesStatusOutage AlertResponseDataAttributesServicesStatus = "outage" AlertResponseDataAttributesServicesStatusPartialOutage AlertResponseDataAttributesServicesStatus = "partial_outage" )
Defines values for AlertResponseDataAttributesServicesStatus.
type AlertResponseDataType ¶
type AlertResponseDataType string
AlertResponseDataType defines model for AlertResponse.Data.Type.
const (
AlertResponseDataTypeAlerts AlertResponseDataType = "alerts"
)
Defines values for AlertResponseDataType.
type AlertServicesStatus ¶ added in v0.1.83
type AlertServicesStatus string
The status of the service
const ( AlertServicesStatusImpacted AlertServicesStatus = "impacted" AlertServicesStatusMajorOutage AlertServicesStatus = "major_outage" AlertServicesStatusOperational AlertServicesStatus = "operational" AlertServicesStatusOutage AlertServicesStatus = "outage" AlertServicesStatusPartialOutage AlertServicesStatus = "partial_outage" )
Defines values for AlertServicesStatus.
type AlertTriggerParams ¶
type AlertTriggerParams struct {
AlertCondition *AlertTriggerParamsAlertCondition `json:"alert_condition,omitempty"`
AlertConditionLabel *AlertTriggerParamsAlertConditionLabel `json:"alert_condition_label,omitempty"`
AlertConditionLabelUseRegexp *bool `json:"alert_condition_label_use_regexp,omitempty"`
AlertConditionPayload *AlertTriggerParamsAlertConditionPayload `json:"alert_condition_payload,omitempty"`
AlertConditionPayloadUseRegexp *bool `json:"alert_condition_payload_use_regexp,omitempty"`
AlertConditionSource *AlertTriggerParamsAlertConditionSource `json:"alert_condition_source,omitempty"`
AlertConditionSourceUseRegexp *bool `json:"alert_condition_source_use_regexp,omitempty"`
AlertLabels *[]string `json:"alert_labels,omitempty"`
AlertPayload *[]string `json:"alert_payload,omitempty"`
// You can use jsonpath syntax. eg: $.incident.teams[*]
AlertQueryPayload *string `json:"alert_query_payload"`
AlertSources *[]string `json:"alert_sources,omitempty"`
TriggerType AlertTriggerParamsTriggerType `json:"trigger_type"`
Triggers *[]AlertTriggerParamsTriggers `json:"triggers,omitempty"`
}
AlertTriggerParams defines model for alert_trigger_params.
type AlertTriggerParamsAlertCondition ¶
type AlertTriggerParamsAlertCondition string
AlertTriggerParamsAlertCondition defines model for AlertTriggerParams.AlertCondition.
const ( AlertTriggerParamsAlertConditionALL AlertTriggerParamsAlertCondition = "ALL" AlertTriggerParamsAlertConditionANY AlertTriggerParamsAlertCondition = "ANY" AlertTriggerParamsAlertConditionNONE AlertTriggerParamsAlertCondition = "NONE" )
Defines values for AlertTriggerParamsAlertCondition.
type AlertTriggerParamsAlertConditionLabel ¶
type AlertTriggerParamsAlertConditionLabel string
AlertTriggerParamsAlertConditionLabel defines model for AlertTriggerParams.AlertConditionLabel.
const ( AlertTriggerParamsAlertConditionLabelANY AlertTriggerParamsAlertConditionLabel = "ANY" AlertTriggerParamsAlertConditionLabelCONTAINS AlertTriggerParamsAlertConditionLabel = "CONTAINS" AlertTriggerParamsAlertConditionLabelCONTAINSALL AlertTriggerParamsAlertConditionLabel = "CONTAINS_ALL" AlertTriggerParamsAlertConditionLabelCONTAINSNONE AlertTriggerParamsAlertConditionLabel = "CONTAINS_NONE" AlertTriggerParamsAlertConditionLabelIS AlertTriggerParamsAlertConditionLabel = "IS" AlertTriggerParamsAlertConditionLabelNONE AlertTriggerParamsAlertConditionLabel = "NONE" AlertTriggerParamsAlertConditionLabelSET AlertTriggerParamsAlertConditionLabel = "SET" AlertTriggerParamsAlertConditionLabelUNSET AlertTriggerParamsAlertConditionLabel = "UNSET" )
Defines values for AlertTriggerParamsAlertConditionLabel.
type AlertTriggerParamsAlertConditionPayload ¶
type AlertTriggerParamsAlertConditionPayload string
AlertTriggerParamsAlertConditionPayload defines model for AlertTriggerParams.AlertConditionPayload.
const ( AlertTriggerParamsAlertConditionPayloadANY AlertTriggerParamsAlertConditionPayload = "ANY" AlertTriggerParamsAlertConditionPayloadCONTAINS AlertTriggerParamsAlertConditionPayload = "CONTAINS" AlertTriggerParamsAlertConditionPayloadCONTAINSALL AlertTriggerParamsAlertConditionPayload = "CONTAINS_ALL" AlertTriggerParamsAlertConditionPayloadCONTAINSNONE AlertTriggerParamsAlertConditionPayload = "CONTAINS_NONE" AlertTriggerParamsAlertConditionPayloadIS AlertTriggerParamsAlertConditionPayload = "IS" AlertTriggerParamsAlertConditionPayloadNONE AlertTriggerParamsAlertConditionPayload = "NONE" AlertTriggerParamsAlertConditionPayloadSET AlertTriggerParamsAlertConditionPayload = "SET" AlertTriggerParamsAlertConditionPayloadUNSET AlertTriggerParamsAlertConditionPayload = "UNSET" )
Defines values for AlertTriggerParamsAlertConditionPayload.
type AlertTriggerParamsAlertConditionSource ¶
type AlertTriggerParamsAlertConditionSource string
AlertTriggerParamsAlertConditionSource defines model for AlertTriggerParams.AlertConditionSource.
const ( AlertTriggerParamsAlertConditionSourceANY AlertTriggerParamsAlertConditionSource = "ANY" AlertTriggerParamsAlertConditionSourceCONTAINS AlertTriggerParamsAlertConditionSource = "CONTAINS" AlertTriggerParamsAlertConditionSourceCONTAINSALL AlertTriggerParamsAlertConditionSource = "CONTAINS_ALL" AlertTriggerParamsAlertConditionSourceCONTAINSNONE AlertTriggerParamsAlertConditionSource = "CONTAINS_NONE" AlertTriggerParamsAlertConditionSourceIS AlertTriggerParamsAlertConditionSource = "IS" AlertTriggerParamsAlertConditionSourceNONE AlertTriggerParamsAlertConditionSource = "NONE" AlertTriggerParamsAlertConditionSourceSET AlertTriggerParamsAlertConditionSource = "SET" AlertTriggerParamsAlertConditionSourceUNSET AlertTriggerParamsAlertConditionSource = "UNSET" )
Defines values for AlertTriggerParamsAlertConditionSource.
type AlertTriggerParamsTriggerType ¶
type AlertTriggerParamsTriggerType string
AlertTriggerParamsTriggerType defines model for AlertTriggerParams.TriggerType.
const (
AlertTriggerParamsTriggerTypeAlert AlertTriggerParamsTriggerType = "alert"
)
Defines values for AlertTriggerParamsTriggerType.
type AlertTriggerParamsTriggers ¶
type AlertTriggerParamsTriggers string
Actions that trigger the workflow
const (
AlertTriggerParamsTriggersAlertCreated AlertTriggerParamsTriggers = "alert_created"
)
Defines values for AlertTriggerParamsTriggers.
type ArchiveSlackChannelsTaskParams ¶
type ArchiveSlackChannelsTaskParams struct {
Channels []struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channels"`
TaskType *ArchiveSlackChannelsTaskParamsTaskType `json:"task_type,omitempty"`
}
ArchiveSlackChannelsTaskParams defines model for archive_slack_channels_task_params.
type ArchiveSlackChannelsTaskParamsTaskType ¶
type ArchiveSlackChannelsTaskParamsTaskType string
ArchiveSlackChannelsTaskParamsTaskType defines model for ArchiveSlackChannelsTaskParams.TaskType.
const (
ArchiveSlackChannels ArchiveSlackChannelsTaskParamsTaskType = "archive_slack_channels"
)
Defines values for ArchiveSlackChannelsTaskParamsTaskType.
type AttachAlertResponse ¶
func ParseAttachAlertResponse ¶
func ParseAttachAlertResponse(rsp *http.Response) (*AttachAlertResponse, error)
ParseAttachAlertResponse parses an HTTP response from a AttachAlertWithResponse call
func (AttachAlertResponse) Status ¶
func (r AttachAlertResponse) Status() string
Status returns HTTPResponse.Status
func (AttachAlertResponse) StatusCode ¶
func (r AttachAlertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachDatadogDashboardsTaskParams ¶
type AttachDatadogDashboardsTaskParams struct {
Dashboards []struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"dashboards"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *AttachDatadogDashboardsTaskParamsTaskType `json:"task_type,omitempty"`
}
AttachDatadogDashboardsTaskParams defines model for attach_datadog_dashboards_task_params.
type AttachDatadogDashboardsTaskParamsTaskType ¶
type AttachDatadogDashboardsTaskParamsTaskType string
AttachDatadogDashboardsTaskParamsTaskType defines model for AttachDatadogDashboardsTaskParams.TaskType.
const (
AttachDatadogDashboards AttachDatadogDashboardsTaskParamsTaskType = "attach_datadog_dashboards"
)
Defines values for AttachDatadogDashboardsTaskParamsTaskType.
type Audit ¶ added in v0.1.70
type Audit struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Describes the action that was taken.
Event string `json:"event"`
// ID of audit
Id *float32 `json:"id"`
// ID of the affected object
ItemId *string `json:"item_id"`
// Describes the object in which the action was taken on
ItemType *AuditItemType `json:"item_type"`
// The object in which the action was taken on
Object *map[string]interface{} `json:"object"`
// The changes that occurred on the object
ObjectChanges *map[string]interface{} `json:"object_changes"`
// The ID of who took action on the object. Together with whodunnit_type can be used to find the user
UserId *float32 `json:"user_id"`
}
Audit defines model for audit.
type AuditItemType ¶ added in v0.1.70
type AuditItemType string
Describes the object in which the action was taken on
const ( AuditItemTypeCause AuditItemType = "Cause" AuditItemTypeCustomField AuditItemType = "CustomField" AuditItemTypeCustomFieldOption AuditItemType = "CustomFieldOption" AuditItemTypeCustomForm AuditItemType = "CustomForm" AuditItemTypeDashboard AuditItemType = "Dashboard" AuditItemTypeEnvironment AuditItemType = "Environment" AuditItemTypeExportJob AuditItemType = "ExportJob" AuditItemTypeFormField AuditItemType = "FormField" AuditItemTypeFunctionality AuditItemType = "Functionality" AuditItemTypeGeniusWorkflow AuditItemType = "GeniusWorkflow" AuditItemTypeGeniusWorkflowFolder AuditItemType = "GeniusWorkflowFolder" AuditItemTypeGeniusWorkflowGroup AuditItemType = "GeniusWorkflowGroup" AuditItemTypeGeniusWorkflowRun AuditItemType = "GeniusWorkflowRun" AuditItemTypeGroup AuditItemType = "Group" AuditItemTypeIncident AuditItemType = "Incident" AuditItemTypeIncidentActionItem AuditItemType = "IncidentActionItem" AuditItemTypeIncidentEvent AuditItemType = "IncidentEvent" AuditItemTypeIncidentFormFieldSelection AuditItemType = "IncidentFormFieldSelection" AuditItemTypeIncidentFormFieldSelectionUser AuditItemType = "IncidentFormFieldSelectionUser" AuditItemTypeIncidentPostMortem AuditItemType = "IncidentPostMortem" AuditItemTypeIncidentRoleAssignment AuditItemType = "IncidentRoleAssignment" AuditItemTypeIncidentRoleTask AuditItemType = "IncidentRoleTask" AuditItemTypeIncidentStatusPageEvent AuditItemType = "IncidentStatusPageEvent" AuditItemTypeIncidentTask AuditItemType = "IncidentTask" AuditItemTypeIncidentType AuditItemType = "IncidentType" AuditItemTypePlaybook AuditItemType = "Playbook" AuditItemTypePlaybookTask AuditItemType = "PlaybookTask" AuditItemTypeRole AuditItemType = "Role" AuditItemTypeService AuditItemType = "Service" AuditItemTypeSeverity AuditItemType = "Severity" AuditItemTypeStatusPage AuditItemType = "StatusPage" )
Defines values for AuditItemType.
type AuditsList ¶ added in v0.1.70
type AuditsList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Describes the action that was taken.
Event string `json:"event"`
// ID of audit
Id *float32 `json:"id"`
// ID of the affected object
ItemId *string `json:"item_id"`
// Describes the object in which the action was taken on
ItemType *AuditsListDataAttributesItemType `json:"item_type"`
// The object in which the action was taken on
Object *map[string]interface{} `json:"object"`
// The changes that occurred on the object
ObjectChanges *map[string]interface{} `json:"object_changes"`
// The ID of who took action on the object. Together with whodunnit_type can be used to find the user
UserId *float32 `json:"user_id"`
} `json:"attributes"`
// Unique ID of the audit log item
Id string `json:"id"`
Type AuditsListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
AuditsList defines model for audits_list.
type AuditsListDataAttributesItemType ¶ added in v0.1.70
type AuditsListDataAttributesItemType string
Describes the object in which the action was taken on
const ( AuditsListDataAttributesItemTypeCause AuditsListDataAttributesItemType = "Cause" AuditsListDataAttributesItemTypeCustomField AuditsListDataAttributesItemType = "CustomField" AuditsListDataAttributesItemTypeCustomFieldOption AuditsListDataAttributesItemType = "CustomFieldOption" AuditsListDataAttributesItemTypeCustomForm AuditsListDataAttributesItemType = "CustomForm" AuditsListDataAttributesItemTypeDashboard AuditsListDataAttributesItemType = "Dashboard" AuditsListDataAttributesItemTypeEnvironment AuditsListDataAttributesItemType = "Environment" AuditsListDataAttributesItemTypeExportJob AuditsListDataAttributesItemType = "ExportJob" AuditsListDataAttributesItemTypeFormField AuditsListDataAttributesItemType = "FormField" AuditsListDataAttributesItemTypeFunctionality AuditsListDataAttributesItemType = "Functionality" AuditsListDataAttributesItemTypeGeniusWorkflow AuditsListDataAttributesItemType = "GeniusWorkflow" AuditsListDataAttributesItemTypeGeniusWorkflowFolder AuditsListDataAttributesItemType = "GeniusWorkflowFolder" AuditsListDataAttributesItemTypeGeniusWorkflowGroup AuditsListDataAttributesItemType = "GeniusWorkflowGroup" AuditsListDataAttributesItemTypeGeniusWorkflowRun AuditsListDataAttributesItemType = "GeniusWorkflowRun" AuditsListDataAttributesItemTypeGroup AuditsListDataAttributesItemType = "Group" AuditsListDataAttributesItemTypeIncident AuditsListDataAttributesItemType = "Incident" AuditsListDataAttributesItemTypeIncidentActionItem AuditsListDataAttributesItemType = "IncidentActionItem" AuditsListDataAttributesItemTypeIncidentEvent AuditsListDataAttributesItemType = "IncidentEvent" AuditsListDataAttributesItemTypeIncidentFormFieldSelection AuditsListDataAttributesItemType = "IncidentFormFieldSelection" AuditsListDataAttributesItemTypeIncidentFormFieldSelectionUser AuditsListDataAttributesItemType = "IncidentFormFieldSelectionUser" AuditsListDataAttributesItemTypeIncidentPostMortem AuditsListDataAttributesItemType = "IncidentPostMortem" AuditsListDataAttributesItemTypeIncidentRoleAssignment AuditsListDataAttributesItemType = "IncidentRoleAssignment" AuditsListDataAttributesItemTypeIncidentRoleTask AuditsListDataAttributesItemType = "IncidentRoleTask" AuditsListDataAttributesItemTypeIncidentStatusPageEvent AuditsListDataAttributesItemType = "IncidentStatusPageEvent" AuditsListDataAttributesItemTypeIncidentTask AuditsListDataAttributesItemType = "IncidentTask" AuditsListDataAttributesItemTypeIncidentType AuditsListDataAttributesItemType = "IncidentType" AuditsListDataAttributesItemTypePlaybook AuditsListDataAttributesItemType = "Playbook" AuditsListDataAttributesItemTypePlaybookTask AuditsListDataAttributesItemType = "PlaybookTask" AuditsListDataAttributesItemTypeRole AuditsListDataAttributesItemType = "Role" AuditsListDataAttributesItemTypeService AuditsListDataAttributesItemType = "Service" AuditsListDataAttributesItemTypeSeverity AuditsListDataAttributesItemType = "Severity" AuditsListDataAttributesItemTypeStatusPage AuditsListDataAttributesItemType = "StatusPage" )
Defines values for AuditsListDataAttributesItemType.
type AuditsListDataType ¶ added in v0.1.70
type AuditsListDataType string
AuditsListDataType defines model for AuditsList.Data.Type.
const (
Audits AuditsListDataType = "audits"
)
Defines values for AuditsListDataType.
type AutoAssignRoleOpsgenieTaskParams ¶
type AutoAssignRoleOpsgenieTaskParams struct {
// The role id
IncidentRoleId string `json:"incident_role_id"`
Schedule struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"schedule"`
TaskType *AutoAssignRoleOpsgenieTaskParamsTaskType `json:"task_type,omitempty"`
}
AutoAssignRoleOpsgenieTaskParams defines model for auto_assign_role_opsgenie_task_params.
type AutoAssignRoleOpsgenieTaskParamsTaskType ¶
type AutoAssignRoleOpsgenieTaskParamsTaskType string
AutoAssignRoleOpsgenieTaskParamsTaskType defines model for AutoAssignRoleOpsgenieTaskParams.TaskType.
const (
AutoAssignRoleOpsgenie AutoAssignRoleOpsgenieTaskParamsTaskType = "auto_assign_role_opsgenie"
)
Defines values for AutoAssignRoleOpsgenieTaskParamsTaskType.
type AutoAssignRolePagerdutyTaskParams ¶
type AutoAssignRolePagerdutyTaskParams struct {
EscalationPolicy *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"escalation_policy,omitempty"`
// The role id
IncidentRoleId string `json:"incident_role_id"`
Schedule *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"schedule,omitempty"`
Service *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"service,omitempty"`
TaskType *AutoAssignRolePagerdutyTaskParamsTaskType `json:"task_type,omitempty"`
}
AutoAssignRolePagerdutyTaskParams defines model for auto_assign_role_pagerduty_task_params.
type AutoAssignRolePagerdutyTaskParamsTaskType ¶ added in v0.1.39
type AutoAssignRolePagerdutyTaskParamsTaskType string
AutoAssignRolePagerdutyTaskParamsTaskType defines model for AutoAssignRolePagerdutyTaskParams.TaskType.
const (
AutoAssignRolePagerduty AutoAssignRolePagerdutyTaskParamsTaskType = "auto_assign_role_pagerduty"
)
Defines values for AutoAssignRolePagerdutyTaskParamsTaskType.
type AutoAssignRoleVictorOpsTaskParams ¶
type AutoAssignRoleVictorOpsTaskParams struct {
// The role id
IncidentRoleId string `json:"incident_role_id"`
TaskType *AutoAssignRoleVictorOpsTaskParamsTaskType `json:"task_type,omitempty"`
Team struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"team"`
}
AutoAssignRoleVictorOpsTaskParams defines model for auto_assign_role_victor_ops_task_params.
type AutoAssignRoleVictorOpsTaskParamsTaskType ¶
type AutoAssignRoleVictorOpsTaskParamsTaskType string
AutoAssignRoleVictorOpsTaskParamsTaskType defines model for AutoAssignRoleVictorOpsTaskParams.TaskType.
const (
AutoAssignRoleVictorOps AutoAssignRoleVictorOpsTaskParamsTaskType = "auto_assign_role_victor_ops"
)
Defines values for AutoAssignRoleVictorOpsTaskParamsTaskType.
type CallPeopleTaskParams ¶
type CallPeopleTaskParams struct {
// The message to be read by text-to-voice
Content string `json:"content"`
// The name
Name string `json:"name"`
PhoneNumbers []string `json:"phone_numbers"`
TaskType *CallPeopleTaskParamsTaskType `json:"task_type,omitempty"`
}
CallPeopleTaskParams defines model for call_people_task_params.
type CallPeopleTaskParamsTaskType ¶
type CallPeopleTaskParamsTaskType string
CallPeopleTaskParamsTaskType defines model for CallPeopleTaskParams.TaskType.
const (
CallPeople CallPeopleTaskParamsTaskType = "call_people"
)
Defines values for CallPeopleTaskParamsTaskType.
type CancelIncident ¶
type CancelIncident struct {
Data struct {
Attributes struct {
// Why was the incident cancelled?
CancellationMessage *string `json:"cancellation_message"`
} `json:"attributes"`
Type CancelIncidentDataType `json:"type"`
} `json:"data"`
}
CancelIncident defines model for cancel_incident.
type CancelIncidentDataType ¶
type CancelIncidentDataType string
CancelIncidentDataType defines model for CancelIncident.Data.Type.
const (
CancelIncidentDataTypeIncidents CancelIncidentDataType = "incidents"
)
Defines values for CancelIncidentDataType.
type CancelIncidentResponse ¶
func ParseCancelIncidentResponse ¶
func ParseCancelIncidentResponse(rsp *http.Response) (*CancelIncidentResponse, error)
ParseCancelIncidentResponse parses an HTTP response from a CancelIncidentWithResponse call
func (CancelIncidentResponse) Status ¶
func (r CancelIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (CancelIncidentResponse) StatusCode ¶
func (r CancelIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Cause ¶
type Cause struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the cause
Description *string `json:"description"`
// The name of the cause
Name string `json:"name"`
// Position of the cause
Position *int `json:"position"`
// The slug of the cause
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Cause defines model for cause.
type CauseList ¶
type CauseList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the cause
Description *string `json:"description"`
// The name of the cause
Name string `json:"name"`
// Position of the cause
Position *int `json:"position"`
// The slug of the cause
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the cause
Id string `json:"id"`
Type CauseListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
CauseList defines model for cause_list.
type CauseListDataType ¶
type CauseListDataType string
CauseListDataType defines model for CauseList.Data.Type.
const (
CauseListDataTypeCauses CauseListDataType = "causes"
)
Defines values for CauseListDataType.
type CauseResponse ¶
type CauseResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the cause
Description *string `json:"description"`
// The name of the cause
Name string `json:"name"`
// Position of the cause
Position *int `json:"position"`
// The slug of the cause
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the cause
Id string `json:"id"`
Type CauseResponseDataType `json:"type"`
} `json:"data"`
}
CauseResponse defines model for cause_response.
type CauseResponseDataType ¶
type CauseResponseDataType string
CauseResponseDataType defines model for CauseResponse.Data.Type.
const (
CauseResponseDataTypeCauses CauseResponseDataType = "causes"
)
Defines values for CauseResponseDataType.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddSubscribersToIncidentWithBody ¶ added in v0.1.85
func (*Client) AttachAlertWithBody ¶
func (*Client) CancelIncidentWithBody ¶
func (*Client) CreateAlertWithBody ¶
func (*Client) CreateCauseWithBody ¶
func (*Client) CreateCustomFieldOptionWithBody ¶
func (*Client) CreateCustomFieldWithBody ¶
func (*Client) CreateDashboardPanelWithBody ¶
func (*Client) CreateDashboardWithBody ¶
func (*Client) CreateEnvironmentWithBody ¶
func (*Client) CreateFormFieldOptionWithBody ¶ added in v0.1.48
func (*Client) CreateFormFieldPositionWithBody ¶ added in v0.1.48
func (*Client) CreateFormFieldWithBody ¶ added in v0.1.48
func (*Client) CreateFunctionalityWithBody ¶
func (*Client) CreateIncidentActionItemWithBody ¶
func (*Client) CreateIncidentCustomFieldSelectionWithBody ¶
func (*Client) CreateIncidentEventFunctionalityWithBody ¶ added in v0.1.70
func (*Client) CreateIncidentEventServiceWithBody ¶ added in v0.1.70
func (*Client) CreateIncidentEventWithBody ¶
func (*Client) CreateIncidentFeedbackWithBody ¶
func (*Client) CreateIncidentFormFieldSelectionWithBody ¶ added in v0.1.48
func (*Client) CreateIncidentRoleTaskWithBody ¶
func (*Client) CreateIncidentRoleWithBody ¶
func (*Client) CreateIncidentStatusPageWithBody ¶
func (*Client) CreateIncidentTypeWithBody ¶
func (*Client) CreateIncidentWithBody ¶
func (*Client) CreatePlaybookTaskWithBody ¶
func (*Client) CreatePlaybookWithBody ¶
func (*Client) CreatePostmortemTemplateWithBody ¶
func (*Client) CreatePulseWithBody ¶
func (*Client) CreateRetrospectiveStepWithBody ¶ added in v1.1.7
func (*Client) CreateSecretWithBody ¶ added in v0.1.58
func (*Client) CreateServiceWithBody ¶
func (*Client) CreateSeverityWithBody ¶
func (*Client) CreateStatusPageTemplateWithBody ¶ added in v0.1.18
func (*Client) CreateStatusPageWithBody ¶
func (*Client) CreateTeamWithBody ¶
func (*Client) CreateWebhooksEndpointWithBody ¶ added in v0.1.54
func (*Client) CreateWorkflowCustomFieldSelectionWithBody ¶
func (*Client) CreateWorkflowFormFieldConditionWithBody ¶ added in v0.1.48
func (*Client) CreateWorkflowGroupWithBody ¶ added in v0.1.12
func (*Client) CreateWorkflowRunWithBody ¶ added in v0.1.20
func (*Client) CreateWorkflowTaskWithBody ¶
func (*Client) CreateWorkflowWithBody ¶
func (*Client) DeleteCause ¶
func (*Client) DeleteCustomField ¶
func (*Client) DeleteCustomFieldOption ¶
func (*Client) DeleteDashboard ¶
func (*Client) DeleteDashboardPanel ¶
func (*Client) DeleteEnvironment ¶
func (*Client) DeleteFormField ¶ added in v0.1.48
func (*Client) DeleteFormFieldOption ¶ added in v0.1.48
func (*Client) DeleteFormFieldPosition ¶ added in v0.1.48
func (*Client) DeleteFunctionality ¶
func (*Client) DeleteIncident ¶
func (*Client) DeleteIncidentActionItem ¶
func (*Client) DeleteIncidentCustomFieldSelection ¶
func (*Client) DeleteIncidentEvent ¶
func (*Client) DeleteIncidentEventFunctionality ¶ added in v0.1.70
func (*Client) DeleteIncidentEventService ¶ added in v0.1.70
func (*Client) DeleteIncidentFormFieldSelection ¶ added in v0.1.48
func (*Client) DeleteIncidentRole ¶
func (*Client) DeleteIncidentRoleTask ¶
func (*Client) DeleteIncidentStatusPage ¶
func (*Client) DeleteIncidentType ¶
func (*Client) DeletePlaybook ¶
func (*Client) DeletePlaybookTask ¶
func (*Client) DeletePostmortemTemplate ¶
func (*Client) DeleteRetrospectiveStep ¶ added in v1.1.7
func (*Client) DeleteSecret ¶ added in v0.1.58
func (*Client) DeleteService ¶
func (*Client) DeleteSeverity ¶
func (*Client) DeleteStatusPage ¶
func (*Client) DeleteStatusPageTemplate ¶ added in v0.1.18
func (*Client) DeleteTeam ¶
func (*Client) DeleteUser ¶ added in v0.1.81
func (*Client) DeleteWebhooksEndpoint ¶ added in v0.1.54
func (*Client) DeleteWorkflow ¶
func (*Client) DeleteWorkflowCustomFieldSelection ¶
func (*Client) DeleteWorkflowFormFieldCondition ¶ added in v0.1.48
func (*Client) DeleteWorkflowGroup ¶ added in v0.1.12
func (*Client) DeleteWorkflowTask ¶
func (*Client) DeliverWebhooksDelivery ¶ added in v0.1.54
func (*Client) DuplicateDashboard ¶
func (*Client) DuplicateDashboardPanel ¶
func (*Client) GetCurrentUser ¶ added in v0.1.12
func (*Client) GetCustomField ¶
func (*Client) GetCustomFieldOption ¶
func (*Client) GetDashboard ¶
func (*Client) GetDashboardPanel ¶
func (c *Client) GetDashboardPanel(ctx context.Context, id string, params *GetDashboardPanelParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEnvironment ¶
func (*Client) GetFormField ¶ added in v0.1.48
func (*Client) GetFormFieldOption ¶ added in v0.1.48
func (*Client) GetFormFieldPosition ¶ added in v0.1.48
func (*Client) GetFunctionality ¶
func (*Client) GetFunctionalityIncidentsChart ¶
func (c *Client) GetFunctionalityIncidentsChart(ctx context.Context, id string, params *GetFunctionalityIncidentsChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionalityUptimeChart ¶
func (c *Client) GetFunctionalityUptimeChart(ctx context.Context, id string, params *GetFunctionalityUptimeChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIncident ¶
func (*Client) GetIncidentActionItems ¶
func (*Client) GetIncidentCustomFieldSelection ¶
func (*Client) GetIncidentEventFunctionalities ¶ added in v0.1.70
func (*Client) GetIncidentEventServices ¶ added in v0.1.70
func (*Client) GetIncidentEvents ¶
func (*Client) GetIncidentFeedbacks ¶
func (*Client) GetIncidentFormFieldSelection ¶ added in v0.1.48
func (*Client) GetIncidentRole ¶
func (*Client) GetIncidentRoleTask ¶ added in v0.1.33
func (*Client) GetIncidentStatusPages ¶
func (*Client) GetIncidentType ¶
func (*Client) GetIpRanges ¶ added in v1.1.8
func (*Client) GetPlaybook ¶
func (*Client) GetPlaybookTask ¶ added in v0.1.62
func (*Client) GetPostmortemTemplate ¶
func (*Client) GetRetrospectiveStep ¶ added in v1.1.7
func (*Client) GetService ¶
func (*Client) GetServiceIncidentsChart ¶
func (c *Client) GetServiceIncidentsChart(ctx context.Context, id string, params *GetServiceIncidentsChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetServiceUptimeChart ¶
func (c *Client) GetServiceUptimeChart(ctx context.Context, id string, params *GetServiceUptimeChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSeverity ¶
func (*Client) GetStatusPage ¶
func (*Client) GetStatusPageTemplate ¶ added in v0.1.18
func (*Client) GetWebhooksDelivery ¶ added in v0.1.54
func (*Client) GetWebhooksEndpoint ¶ added in v0.1.54
func (*Client) GetWorkflow ¶
func (*Client) GetWorkflowCustomFieldSelection ¶
func (*Client) GetWorkflowFormFieldCondition ¶ added in v0.1.48
func (*Client) GetWorkflowGroup ¶ added in v0.1.12
func (*Client) GetWorkflowTask ¶
func (*Client) ListAlerts ¶
func (c *Client) ListAlerts(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAllIncidentActionItems ¶ added in v0.1.91
func (c *Client) ListAllIncidentActionItems(ctx context.Context, params *ListAllIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAudits ¶ added in v0.1.70
func (c *Client) ListAudits(ctx context.Context, params *ListAuditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCauses ¶
func (c *Client) ListCauses(ctx context.Context, params *ListCausesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCustomFieldOptions ¶
func (c *Client) ListCustomFieldOptions(ctx context.Context, customFieldId string, params *ListCustomFieldOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCustomFields ¶
func (c *Client) ListCustomFields(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDashboardPanels ¶
func (c *Client) ListDashboardPanels(ctx context.Context, dashboardId string, params *ListDashboardPanelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDashboards ¶
func (c *Client) ListDashboards(ctx context.Context, params *ListDashboardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListEnvironments ¶
func (c *Client) ListEnvironments(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFormFieldOptions ¶ added in v0.1.48
func (c *Client) ListFormFieldOptions(ctx context.Context, formFieldId string, params *ListFormFieldOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFormFieldPositions ¶ added in v0.1.48
func (c *Client) ListFormFieldPositions(ctx context.Context, formFieldId string, params *ListFormFieldPositionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFormFields ¶ added in v0.1.48
func (c *Client) ListFormFields(ctx context.Context, params *ListFormFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionalities ¶
func (c *Client) ListFunctionalities(ctx context.Context, params *ListFunctionalitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentActionItems ¶
func (c *Client) ListIncidentActionItems(ctx context.Context, incidentId string, params *ListIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentAlerts ¶ added in v1.0.0
func (c *Client) ListIncidentAlerts(ctx context.Context, incidentId string, params *ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentCustomFieldSelections ¶
func (c *Client) ListIncidentCustomFieldSelections(ctx context.Context, incidentId string, params *ListIncidentCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentEventFunctionalities ¶ added in v0.1.70
func (c *Client) ListIncidentEventFunctionalities(ctx context.Context, incidentEventId string, params *ListIncidentEventFunctionalitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentEventServices ¶ added in v0.1.70
func (c *Client) ListIncidentEventServices(ctx context.Context, incidentEventId string, params *ListIncidentEventServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentEvents ¶
func (c *Client) ListIncidentEvents(ctx context.Context, incidentId string, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentFeedbacks ¶
func (c *Client) ListIncidentFeedbacks(ctx context.Context, incidentId string, params *ListIncidentFeedbacksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentFormFieldSelections ¶ added in v0.1.48
func (c *Client) ListIncidentFormFieldSelections(ctx context.Context, incidentId string, params *ListIncidentFormFieldSelectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentPostMortems ¶
func (c *Client) ListIncidentPostMortems(ctx context.Context, params *ListIncidentPostMortemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentPostmortem ¶
func (*Client) ListIncidentRoleTasks ¶
func (c *Client) ListIncidentRoleTasks(ctx context.Context, incidentRoleId string, params *ListIncidentRoleTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentRoles ¶
func (c *Client) ListIncidentRoles(ctx context.Context, params *ListIncidentRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentStatusPages ¶
func (c *Client) ListIncidentStatusPages(ctx context.Context, incidentId string, params *ListIncidentStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidentTypes ¶
func (c *Client) ListIncidentTypes(ctx context.Context, params *ListIncidentTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidents ¶
func (c *Client) ListIncidents(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPlaybookTasks ¶
func (c *Client) ListPlaybookTasks(ctx context.Context, playbookId string, params *ListPlaybookTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPlaybooks ¶
func (c *Client) ListPlaybooks(ctx context.Context, params *ListPlaybooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPostmortemTemplates ¶
func (c *Client) ListPostmortemTemplates(ctx context.Context, params *ListPostmortemTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPulses ¶
func (c *Client) ListPulses(ctx context.Context, params *ListPulsesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRetrospectiveSteps ¶ added in v1.1.7
func (c *Client) ListRetrospectiveSteps(ctx context.Context, params *ListRetrospectiveStepsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSecrets ¶ added in v0.1.58
func (c *Client) ListSecrets(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListServices ¶
func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSeverities ¶
func (c *Client) ListSeverities(ctx context.Context, params *ListSeveritiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListStatusPageTemplates ¶ added in v0.1.18
func (c *Client) ListStatusPageTemplates(ctx context.Context, statusPageId string, params *ListStatusPageTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListStatusPages ¶
func (c *Client) ListStatusPages(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListTeams ¶
func (c *Client) ListTeams(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListUsers ¶ added in v0.1.91
func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWebhooksDeliveries ¶ added in v0.1.54
func (c *Client) ListWebhooksDeliveries(ctx context.Context, endpointId string, params *ListWebhooksDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWebhooksEndpoints ¶ added in v0.1.54
func (c *Client) ListWebhooksEndpoints(ctx context.Context, params *ListWebhooksEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkflowCustomFieldSelections ¶
func (c *Client) ListWorkflowCustomFieldSelections(ctx context.Context, workflowId string, params *ListWorkflowCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkflowFormFieldConditions ¶ added in v0.1.48
func (c *Client) ListWorkflowFormFieldConditions(ctx context.Context, workflowId string, params *ListWorkflowFormFieldConditionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkflowGroups ¶ added in v0.1.12
func (c *Client) ListWorkflowGroups(ctx context.Context, params *ListWorkflowGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkflowRuns ¶ added in v0.1.23
func (c *Client) ListWorkflowRuns(ctx context.Context, workflowId string, params *ListWorkflowRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkflowTasks ¶
func (c *Client) ListWorkflowTasks(ctx context.Context, workflowId string, params *ListWorkflowTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkflows ¶
func (c *Client) ListWorkflows(ctx context.Context, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MarkAsDuplicateIncidentWithBody ¶ added in v0.1.68
func (*Client) MitigateIncidentWithBody ¶
func (*Client) RemoveSubscribersToIncidentWithBody ¶ added in v0.1.85
func (*Client) ResolveIncidentWithBody ¶
func (*Client) RestartIncidentWithBody ¶ added in v0.1.58
func (*Client) SetDefaultDashboard ¶
func (*Client) TriageIncidentWithBody ¶ added in v1.0.3
func (*Client) UpdateCauseWithBody ¶
func (*Client) UpdateCustomFieldOptionWithBody ¶
func (*Client) UpdateCustomFieldWithBody ¶
func (*Client) UpdateDashboardPanelWithBody ¶
func (*Client) UpdateDashboardWithBody ¶
func (*Client) UpdateEnvironmentWithBody ¶
func (*Client) UpdateFormFieldOptionWithBody ¶ added in v0.1.48
func (*Client) UpdateFormFieldPositionWithBody ¶ added in v0.1.48
func (*Client) UpdateFormFieldWithBody ¶ added in v0.1.48
func (*Client) UpdateFunctionalityWithBody ¶
func (*Client) UpdateIncidentActionItemWithBody ¶
func (*Client) UpdateIncidentCustomFieldSelectionWithBody ¶
func (*Client) UpdateIncidentEventFunctionalityWithBody ¶ added in v0.1.70
func (*Client) UpdateIncidentEventServiceWithBody ¶ added in v0.1.70
func (*Client) UpdateIncidentEventWithBody ¶
func (*Client) UpdateIncidentFeedbackWithBody ¶
func (*Client) UpdateIncidentFormFieldSelectionWithBody ¶ added in v0.1.48
func (*Client) UpdateIncidentPostmortemWithBody ¶
func (*Client) UpdateIncidentRoleTaskWithBody ¶
func (*Client) UpdateIncidentRoleWithBody ¶
func (*Client) UpdateIncidentStatusPageWithBody ¶
func (*Client) UpdateIncidentTypeWithBody ¶
func (*Client) UpdateIncidentWithBody ¶
func (*Client) UpdatePlaybookTaskWithBody ¶
func (*Client) UpdatePlaybookWithBody ¶
func (*Client) UpdatePostmortemTemplateWithBody ¶
func (*Client) UpdatePulseWithBody ¶
func (*Client) UpdateRetrospectiveStepWithBody ¶ added in v1.1.7
func (*Client) UpdateSecretWithBody ¶ added in v0.1.58
func (*Client) UpdateServiceWithBody ¶
func (*Client) UpdateSeverityWithBody ¶
func (*Client) UpdateStatusPageTemplateWithBody ¶ added in v0.1.18
func (*Client) UpdateStatusPageWithBody ¶
func (*Client) UpdateTeamWithBody ¶
func (*Client) UpdateWebhooksEndpointWithBody ¶ added in v0.1.54
func (*Client) UpdateWorkflowCustomFieldSelectionWithBody ¶
func (*Client) UpdateWorkflowFormFieldConditionWithBody ¶ added in v0.1.48
func (*Client) UpdateWorkflowGroupWithBody ¶ added in v0.1.12
func (*Client) UpdateWorkflowTaskWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// ListAllIncidentActionItems request
ListAllIncidentActionItems(ctx context.Context, params *ListAllIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentActionItem request
DeleteIncidentActionItem(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentActionItems request
GetIncidentActionItems(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentActionItem request with any body
UpdateIncidentActionItemWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAlerts request
ListAlerts(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAlert request with any body
CreateAlertWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAlert request
GetAlert(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAudits request
ListAudits(ctx context.Context, params *ListAuditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCauses request
ListCauses(ctx context.Context, params *ListCausesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCause request with any body
CreateCauseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCause request
DeleteCause(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCause request
GetCause(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCause request with any body
UpdateCauseWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCustomFieldOption request
DeleteCustomFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCustomFieldOption request
GetCustomFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCustomFieldOption request with any body
UpdateCustomFieldOptionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCustomFields request
ListCustomFields(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCustomField request with any body
CreateCustomFieldWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCustomFieldOptions request
ListCustomFieldOptions(ctx context.Context, customFieldId string, params *ListCustomFieldOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCustomFieldOption request with any body
CreateCustomFieldOptionWithBody(ctx context.Context, customFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCustomField request
DeleteCustomField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCustomField request
GetCustomField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCustomField request with any body
UpdateCustomFieldWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDashboardPanel request
DeleteDashboardPanel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDashboardPanel request
GetDashboardPanel(ctx context.Context, id string, params *GetDashboardPanelParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDashboardPanel request with any body
UpdateDashboardPanelWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DuplicateDashboardPanel request
DuplicateDashboardPanel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDashboards request
ListDashboards(ctx context.Context, params *ListDashboardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDashboard request with any body
CreateDashboardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDashboardPanels request
ListDashboardPanels(ctx context.Context, dashboardId string, params *ListDashboardPanelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDashboardPanel request with any body
CreateDashboardPanelWithBody(ctx context.Context, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDashboard request
DeleteDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDashboard request
GetDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDashboard request with any body
UpdateDashboardWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DuplicateDashboard request
DuplicateDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDefaultDashboard request
SetDefaultDashboard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEnvironments request
ListEnvironments(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEnvironment request with any body
CreateEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvironment request
DeleteEnvironment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironment request
GetEnvironment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironment request with any body
UpdateEnvironmentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentEvent request
DeleteIncidentEvent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentEvents request
GetIncidentEvents(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentEvent request with any body
UpdateIncidentEventWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentEventFunctionalities request
ListIncidentEventFunctionalities(ctx context.Context, incidentEventId string, params *ListIncidentEventFunctionalitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentEventFunctionality request with any body
CreateIncidentEventFunctionalityWithBody(ctx context.Context, incidentEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentEventServices request
ListIncidentEventServices(ctx context.Context, incidentEventId string, params *ListIncidentEventServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentEventService request with any body
CreateIncidentEventServiceWithBody(ctx context.Context, incidentEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentFeedbacks request
GetIncidentFeedbacks(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentFeedback request with any body
UpdateIncidentFeedbackWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFormFieldOption request
DeleteFormFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFormFieldOption request
GetFormFieldOption(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFormFieldOption request with any body
UpdateFormFieldOptionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFormFieldPosition request
DeleteFormFieldPosition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFormFieldPosition request
GetFormFieldPosition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFormFieldPosition request with any body
UpdateFormFieldPositionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFormFields request
ListFormFields(ctx context.Context, params *ListFormFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFormField request with any body
CreateFormFieldWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFormFieldOptions request
ListFormFieldOptions(ctx context.Context, formFieldId string, params *ListFormFieldOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFormFieldOption request with any body
CreateFormFieldOptionWithBody(ctx context.Context, formFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFormFieldPositions request
ListFormFieldPositions(ctx context.Context, formFieldId string, params *ListFormFieldPositionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFormFieldPosition request with any body
CreateFormFieldPositionWithBody(ctx context.Context, formFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFormField request
DeleteFormField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFormField request
GetFormField(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFormField request with any body
UpdateFormFieldWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionalities request
ListFunctionalities(ctx context.Context, params *ListFunctionalitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFunctionality request with any body
CreateFunctionalityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFunctionality request
DeleteFunctionality(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionality request
GetFunctionality(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFunctionality request with any body
UpdateFunctionalityWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionalityIncidentsChart request
GetFunctionalityIncidentsChart(ctx context.Context, id string, params *GetFunctionalityIncidentsChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionalityUptimeChart request
GetFunctionalityUptimeChart(ctx context.Context, id string, params *GetFunctionalityUptimeChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentCustomFieldSelection request
DeleteIncidentCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentCustomFieldSelection request
GetIncidentCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentCustomFieldSelection request with any body
UpdateIncidentCustomFieldSelectionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentEventFunctionality request
DeleteIncidentEventFunctionality(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentEventFunctionalities request
GetIncidentEventFunctionalities(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentEventFunctionality request with any body
UpdateIncidentEventFunctionalityWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentEventService request
DeleteIncidentEventService(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentEventServices request
GetIncidentEventServices(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentEventService request with any body
UpdateIncidentEventServiceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentFormFieldSelection request
DeleteIncidentFormFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentFormFieldSelection request
GetIncidentFormFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentFormFieldSelection request with any body
UpdateIncidentFormFieldSelectionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentRoleTask request
DeleteIncidentRoleTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentRoleTask request
GetIncidentRoleTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentRoleTask request with any body
UpdateIncidentRoleTaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentRoles request
ListIncidentRoles(ctx context.Context, params *ListIncidentRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentRole request with any body
CreateIncidentRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentRole request
DeleteIncidentRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentRole request
GetIncidentRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentRole request with any body
UpdateIncidentRoleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentRoleTasks request
ListIncidentRoleTasks(ctx context.Context, incidentRoleId string, params *ListIncidentRoleTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentRoleTask request with any body
CreateIncidentRoleTaskWithBody(ctx context.Context, incidentRoleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentTypes request
ListIncidentTypes(ctx context.Context, params *ListIncidentTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentType request with any body
CreateIncidentTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentType request
DeleteIncidentType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentType request
GetIncidentType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentType request with any body
UpdateIncidentTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidents request
ListIncidents(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncident request with any body
CreateIncidentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncident request
DeleteIncident(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncident request
GetIncident(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncident request with any body
UpdateIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddSubscribersToIncident request with any body
AddSubscribersToIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelIncident request with any body
CancelIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkAsDuplicateIncident request with any body
MarkAsDuplicateIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TriageIncident request with any body
TriageIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitigateIncident request with any body
MitigateIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveSubscribersToIncident request with any body
RemoveSubscribersToIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveIncident request with any body
ResolveIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestartIncident request with any body
RestartIncidentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentActionItems request
ListIncidentActionItems(ctx context.Context, incidentId string, params *ListIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentActionItem request with any body
CreateIncidentActionItemWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentAlerts request
ListIncidentAlerts(ctx context.Context, incidentId string, params *ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachAlert request with any body
AttachAlertWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentCustomFieldSelections request
ListIncidentCustomFieldSelections(ctx context.Context, incidentId string, params *ListIncidentCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentCustomFieldSelection request with any body
CreateIncidentCustomFieldSelectionWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentEvents request
ListIncidentEvents(ctx context.Context, incidentId string, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentEvent request with any body
CreateIncidentEventWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentFeedbacks request
ListIncidentFeedbacks(ctx context.Context, incidentId string, params *ListIncidentFeedbacksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentFeedback request with any body
CreateIncidentFeedbackWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentFormFieldSelections request
ListIncidentFormFieldSelections(ctx context.Context, incidentId string, params *ListIncidentFormFieldSelectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentFormFieldSelection request with any body
CreateIncidentFormFieldSelectionWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentStatusPages request
ListIncidentStatusPages(ctx context.Context, incidentId string, params *ListIncidentStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIncidentStatusPage request with any body
CreateIncidentStatusPageWithBody(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIpRanges request
GetIpRanges(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePlaybookTask request
DeletePlaybookTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlaybookTask request
GetPlaybookTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePlaybookTask request with any body
UpdatePlaybookTaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPlaybooks request
ListPlaybooks(ctx context.Context, params *ListPlaybooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePlaybook request with any body
CreatePlaybookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePlaybook request
DeletePlaybook(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlaybook request
GetPlaybook(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePlaybook request with any body
UpdatePlaybookWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPlaybookTasks request
ListPlaybookTasks(ctx context.Context, playbookId string, params *ListPlaybookTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePlaybookTask request with any body
CreatePlaybookTaskWithBody(ctx context.Context, playbookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPostmortemTemplates request
ListPostmortemTemplates(ctx context.Context, params *ListPostmortemTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePostmortemTemplate request with any body
CreatePostmortemTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePostmortemTemplate request
DeletePostmortemTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPostmortemTemplate request
GetPostmortemTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePostmortemTemplate request with any body
UpdatePostmortemTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentPostMortems request
ListIncidentPostMortems(ctx context.Context, params *ListIncidentPostMortemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentPostmortem request
ListIncidentPostmortem(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentPostmortem request with any body
UpdateIncidentPostmortemWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPulses request
ListPulses(ctx context.Context, params *ListPulsesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePulse request with any body
CreatePulseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPulse request
GetPulse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePulse request with any body
UpdatePulseWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRetrospectiveSteps request
ListRetrospectiveSteps(ctx context.Context, params *ListRetrospectiveStepsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRetrospectiveStep request with any body
CreateRetrospectiveStepWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRetrospectiveStep request
DeleteRetrospectiveStep(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRetrospectiveStep request
GetRetrospectiveStep(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRetrospectiveStep request with any body
UpdateRetrospectiveStepWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSecrets request
ListSecrets(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSecret request with any body
CreateSecretWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSecret request
DeleteSecret(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecret request
GetSecret(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSecret request with any body
UpdateSecretWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServices request
ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateService request with any body
CreateServiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteService request
DeleteService(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetService request
GetService(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateService request with any body
UpdateServiceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceIncidentsChart request
GetServiceIncidentsChart(ctx context.Context, id string, params *GetServiceIncidentsChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceUptimeChart request
GetServiceUptimeChart(ctx context.Context, id string, params *GetServiceUptimeChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSeverities request
ListSeverities(ctx context.Context, params *ListSeveritiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSeverity request with any body
CreateSeverityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSeverity request
DeleteSeverity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeverity request
GetSeverity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSeverity request with any body
UpdateSeverityWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIncidentStatusPage request
DeleteIncidentStatusPage(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentStatusPages request
GetIncidentStatusPages(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIncidentStatusPage request with any body
UpdateIncidentStatusPageWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPages request
ListStatusPages(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPage request with any body
CreateStatusPageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPage request
DeleteStatusPage(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPage request
GetStatusPage(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPage request with any body
UpdateStatusPageWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPageTemplates request
ListStatusPageTemplates(ctx context.Context, statusPageId string, params *ListStatusPageTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageTemplate request with any body
CreateStatusPageTemplateWithBody(ctx context.Context, statusPageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTeams request
ListTeams(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTeam request with any body
CreateTeamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTeam request
DeleteTeam(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeam request
GetTeam(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTeam request with any body
UpdateTeamWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPageTemplate request
DeleteStatusPageTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageTemplate request
GetStatusPageTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageTemplate request with any body
UpdateStatusPageTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsers request
ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentUser request
GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUser request
DeleteUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUser request
GetUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhooksDelivery request
GetWebhooksDelivery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeliverWebhooksDelivery request
DeliverWebhooksDelivery(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWebhooksEndpoints request
ListWebhooksEndpoints(ctx context.Context, params *ListWebhooksEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWebhooksEndpoint request with any body
CreateWebhooksEndpointWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWebhooksDeliveries request
ListWebhooksDeliveries(ctx context.Context, endpointId string, params *ListWebhooksDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWebhooksEndpoint request
DeleteWebhooksEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhooksEndpoint request
GetWebhooksEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWebhooksEndpoint request with any body
UpdateWebhooksEndpointWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkflowCustomFieldSelection request
DeleteWorkflowCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowCustomFieldSelection request
GetWorkflowCustomFieldSelection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowCustomFieldSelection request with any body
UpdateWorkflowCustomFieldSelectionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkflowFormFieldCondition request
DeleteWorkflowFormFieldCondition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowFormFieldCondition request
GetWorkflowFormFieldCondition(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowFormFieldCondition request with any body
UpdateWorkflowFormFieldConditionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowGroups request
ListWorkflowGroups(ctx context.Context, params *ListWorkflowGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflowGroup request with any body
CreateWorkflowGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkflowGroup request
DeleteWorkflowGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowGroup request
GetWorkflowGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowGroup request with any body
UpdateWorkflowGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkflowTask request
DeleteWorkflowTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowTask request
GetWorkflowTask(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowTask request with any body
UpdateWorkflowTaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflows request
ListWorkflows(ctx context.Context, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflow request with any body
CreateWorkflowWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkflow request
DeleteWorkflow(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflow request
GetWorkflow(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflow request with any body
UpdateWorkflowWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowCustomFieldSelections request
ListWorkflowCustomFieldSelections(ctx context.Context, workflowId string, params *ListWorkflowCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflowCustomFieldSelection request with any body
CreateWorkflowCustomFieldSelectionWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowFormFieldConditions request
ListWorkflowFormFieldConditions(ctx context.Context, workflowId string, params *ListWorkflowFormFieldConditionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflowFormFieldCondition request with any body
CreateWorkflowFormFieldConditionWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowRuns request
ListWorkflowRuns(ctx context.Context, workflowId string, params *ListWorkflowRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflowRun request with any body
CreateWorkflowRunWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowTasks request
ListWorkflowTasks(ctx context.Context, workflowId string, params *ListWorkflowTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflowTask request with any body
CreateWorkflowTaskWithBody(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddSubscribersToIncidentWithBodyWithResponse ¶ added in v0.1.85
func (c *ClientWithResponses) AddSubscribersToIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddSubscribersToIncidentResponse, error)
AddSubscribersToIncidentWithBodyWithResponse request with arbitrary body returning *AddSubscribersToIncidentResponse
func (*ClientWithResponses) AttachAlertWithBodyWithResponse ¶
func (c *ClientWithResponses) AttachAlertWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachAlertResponse, error)
AttachAlertWithBodyWithResponse request with arbitrary body returning *AttachAlertResponse
func (*ClientWithResponses) CancelIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) CancelIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelIncidentResponse, error)
CancelIncidentWithBodyWithResponse request with arbitrary body returning *CancelIncidentResponse
func (*ClientWithResponses) CreateAlertWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertResponse, error)
CreateAlertWithBodyWithResponse request with arbitrary body returning *CreateAlertResponse
func (*ClientWithResponses) CreateCauseWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCauseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCauseResponse, error)
CreateCauseWithBodyWithResponse request with arbitrary body returning *CreateCauseResponse
func (*ClientWithResponses) CreateCustomFieldOptionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCustomFieldOptionWithBodyWithResponse(ctx context.Context, customFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldOptionResponse, error)
CreateCustomFieldOptionWithBodyWithResponse request with arbitrary body returning *CreateCustomFieldOptionResponse
func (*ClientWithResponses) CreateCustomFieldWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCustomFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
CreateCustomFieldWithBodyWithResponse request with arbitrary body returning *CreateCustomFieldResponse
func (*ClientWithResponses) CreateDashboardPanelWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDashboardPanelWithBodyWithResponse(ctx context.Context, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardPanelResponse, error)
CreateDashboardPanelWithBodyWithResponse request with arbitrary body returning *CreateDashboardPanelResponse
func (*ClientWithResponses) CreateDashboardWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDashboardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardResponse, error)
CreateDashboardWithBodyWithResponse request with arbitrary body returning *CreateDashboardResponse
func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResponse
func (*ClientWithResponses) CreateFormFieldOptionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) CreateFormFieldOptionWithBodyWithResponse(ctx context.Context, formFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFormFieldOptionResponse, error)
CreateFormFieldOptionWithBodyWithResponse request with arbitrary body returning *CreateFormFieldOptionResponse
func (*ClientWithResponses) CreateFormFieldPositionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) CreateFormFieldPositionWithBodyWithResponse(ctx context.Context, formFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFormFieldPositionResponse, error)
CreateFormFieldPositionWithBodyWithResponse request with arbitrary body returning *CreateFormFieldPositionResponse
func (*ClientWithResponses) CreateFormFieldWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) CreateFormFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFormFieldResponse, error)
CreateFormFieldWithBodyWithResponse request with arbitrary body returning *CreateFormFieldResponse
func (*ClientWithResponses) CreateFunctionalityWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateFunctionalityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionalityResponse, error)
CreateFunctionalityWithBodyWithResponse request with arbitrary body returning *CreateFunctionalityResponse
func (*ClientWithResponses) CreateIncidentActionItemWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentActionItemWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentActionItemResponse, error)
CreateIncidentActionItemWithBodyWithResponse request with arbitrary body returning *CreateIncidentActionItemResponse
func (*ClientWithResponses) CreateIncidentCustomFieldSelectionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentCustomFieldSelectionWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentCustomFieldSelectionResponse, error)
CreateIncidentCustomFieldSelectionWithBodyWithResponse request with arbitrary body returning *CreateIncidentCustomFieldSelectionResponse
func (*ClientWithResponses) CreateIncidentEventFunctionalityWithBodyWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) CreateIncidentEventFunctionalityWithBodyWithResponse(ctx context.Context, incidentEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentEventFunctionalityResponse, error)
CreateIncidentEventFunctionalityWithBodyWithResponse request with arbitrary body returning *CreateIncidentEventFunctionalityResponse
func (*ClientWithResponses) CreateIncidentEventServiceWithBodyWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) CreateIncidentEventServiceWithBodyWithResponse(ctx context.Context, incidentEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentEventServiceResponse, error)
CreateIncidentEventServiceWithBodyWithResponse request with arbitrary body returning *CreateIncidentEventServiceResponse
func (*ClientWithResponses) CreateIncidentEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentEventWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentEventResponse, error)
CreateIncidentEventWithBodyWithResponse request with arbitrary body returning *CreateIncidentEventResponse
func (*ClientWithResponses) CreateIncidentFeedbackWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentFeedbackWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentFeedbackResponse, error)
CreateIncidentFeedbackWithBodyWithResponse request with arbitrary body returning *CreateIncidentFeedbackResponse
func (*ClientWithResponses) CreateIncidentFormFieldSelectionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) CreateIncidentFormFieldSelectionWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentFormFieldSelectionResponse, error)
CreateIncidentFormFieldSelectionWithBodyWithResponse request with arbitrary body returning *CreateIncidentFormFieldSelectionResponse
func (*ClientWithResponses) CreateIncidentRoleTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentRoleTaskWithBodyWithResponse(ctx context.Context, incidentRoleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentRoleTaskResponse, error)
CreateIncidentRoleTaskWithBodyWithResponse request with arbitrary body returning *CreateIncidentRoleTaskResponse
func (*ClientWithResponses) CreateIncidentRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentRoleResponse, error)
CreateIncidentRoleWithBodyWithResponse request with arbitrary body returning *CreateIncidentRoleResponse
func (*ClientWithResponses) CreateIncidentStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentStatusPageWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentStatusPageResponse, error)
CreateIncidentStatusPageWithBodyWithResponse request with arbitrary body returning *CreateIncidentStatusPageResponse
func (*ClientWithResponses) CreateIncidentTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentTypeResponse, error)
CreateIncidentTypeWithBodyWithResponse request with arbitrary body returning *CreateIncidentTypeResponse
func (*ClientWithResponses) CreateIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIncidentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentResponse, error)
CreateIncidentWithBodyWithResponse request with arbitrary body returning *CreateIncidentResponse
func (*ClientWithResponses) CreatePlaybookTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePlaybookTaskWithBodyWithResponse(ctx context.Context, playbookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlaybookTaskResponse, error)
CreatePlaybookTaskWithBodyWithResponse request with arbitrary body returning *CreatePlaybookTaskResponse
func (*ClientWithResponses) CreatePlaybookWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePlaybookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlaybookResponse, error)
CreatePlaybookWithBodyWithResponse request with arbitrary body returning *CreatePlaybookResponse
func (*ClientWithResponses) CreatePostmortemTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePostmortemTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePostmortemTemplateResponse, error)
CreatePostmortemTemplateWithBodyWithResponse request with arbitrary body returning *CreatePostmortemTemplateResponse
func (*ClientWithResponses) CreatePulseWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePulseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePulseResponse, error)
CreatePulseWithBodyWithResponse request with arbitrary body returning *CreatePulseResponse
func (*ClientWithResponses) CreateRetrospectiveStepWithBodyWithResponse ¶ added in v1.1.7
func (c *ClientWithResponses) CreateRetrospectiveStepWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRetrospectiveStepResponse, error)
CreateRetrospectiveStepWithBodyWithResponse request with arbitrary body returning *CreateRetrospectiveStepResponse
func (*ClientWithResponses) CreateSecretWithBodyWithResponse ¶ added in v0.1.58
func (c *ClientWithResponses) CreateSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretResponse, error)
CreateSecretWithBodyWithResponse request with arbitrary body returning *CreateSecretResponse
func (*ClientWithResponses) CreateServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
CreateServiceWithBodyWithResponse request with arbitrary body returning *CreateServiceResponse
func (*ClientWithResponses) CreateSeverityWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSeverityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSeverityResponse, error)
CreateSeverityWithBodyWithResponse request with arbitrary body returning *CreateSeverityResponse
func (*ClientWithResponses) CreateStatusPageTemplateWithBodyWithResponse ¶ added in v0.1.18
func (c *ClientWithResponses) CreateStatusPageTemplateWithBodyWithResponse(ctx context.Context, statusPageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageTemplateResponse, error)
CreateStatusPageTemplateWithBodyWithResponse request with arbitrary body returning *CreateStatusPageTemplateResponse
func (*ClientWithResponses) CreateStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResponse, error)
CreateStatusPageWithBodyWithResponse request with arbitrary body returning *CreateStatusPageResponse
func (*ClientWithResponses) CreateTeamWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)
CreateTeamWithBodyWithResponse request with arbitrary body returning *CreateTeamResponse
func (*ClientWithResponses) CreateWebhooksEndpointWithBodyWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) CreateWebhooksEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhooksEndpointResponse, error)
CreateWebhooksEndpointWithBodyWithResponse request with arbitrary body returning *CreateWebhooksEndpointResponse
func (*ClientWithResponses) CreateWorkflowCustomFieldSelectionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWorkflowCustomFieldSelectionWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowCustomFieldSelectionResponse, error)
CreateWorkflowCustomFieldSelectionWithBodyWithResponse request with arbitrary body returning *CreateWorkflowCustomFieldSelectionResponse
func (*ClientWithResponses) CreateWorkflowFormFieldConditionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) CreateWorkflowFormFieldConditionWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowFormFieldConditionResponse, error)
CreateWorkflowFormFieldConditionWithBodyWithResponse request with arbitrary body returning *CreateWorkflowFormFieldConditionResponse
func (*ClientWithResponses) CreateWorkflowGroupWithBodyWithResponse ¶ added in v0.1.12
func (c *ClientWithResponses) CreateWorkflowGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowGroupResponse, error)
CreateWorkflowGroupWithBodyWithResponse request with arbitrary body returning *CreateWorkflowGroupResponse
func (*ClientWithResponses) CreateWorkflowRunWithBodyWithResponse ¶ added in v0.1.20
func (c *ClientWithResponses) CreateWorkflowRunWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowRunResponse, error)
CreateWorkflowRunWithBodyWithResponse request with arbitrary body returning *CreateWorkflowRunResponse
func (*ClientWithResponses) CreateWorkflowTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWorkflowTaskWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowTaskResponse, error)
CreateWorkflowTaskWithBodyWithResponse request with arbitrary body returning *CreateWorkflowTaskResponse
func (*ClientWithResponses) CreateWorkflowWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWorkflowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowResponse, error)
CreateWorkflowWithBodyWithResponse request with arbitrary body returning *CreateWorkflowResponse
func (*ClientWithResponses) DeleteCauseWithResponse ¶
func (c *ClientWithResponses) DeleteCauseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCauseResponse, error)
DeleteCauseWithResponse request returning *DeleteCauseResponse
func (*ClientWithResponses) DeleteCustomFieldOptionWithResponse ¶
func (c *ClientWithResponses) DeleteCustomFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldOptionResponse, error)
DeleteCustomFieldOptionWithResponse request returning *DeleteCustomFieldOptionResponse
func (*ClientWithResponses) DeleteCustomFieldWithResponse ¶
func (c *ClientWithResponses) DeleteCustomFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
DeleteCustomFieldWithResponse request returning *DeleteCustomFieldResponse
func (*ClientWithResponses) DeleteDashboardPanelWithResponse ¶
func (c *ClientWithResponses) DeleteDashboardPanelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardPanelResponse, error)
DeleteDashboardPanelWithResponse request returning *DeleteDashboardPanelResponse
func (*ClientWithResponses) DeleteDashboardWithResponse ¶
func (c *ClientWithResponses) DeleteDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardResponse, error)
DeleteDashboardWithResponse request returning *DeleteDashboardResponse
func (*ClientWithResponses) DeleteEnvironmentWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
DeleteEnvironmentWithResponse request returning *DeleteEnvironmentResponse
func (*ClientWithResponses) DeleteFormFieldOptionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) DeleteFormFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldOptionResponse, error)
DeleteFormFieldOptionWithResponse request returning *DeleteFormFieldOptionResponse
func (*ClientWithResponses) DeleteFormFieldPositionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) DeleteFormFieldPositionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldPositionResponse, error)
DeleteFormFieldPositionWithResponse request returning *DeleteFormFieldPositionResponse
func (*ClientWithResponses) DeleteFormFieldWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) DeleteFormFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldResponse, error)
DeleteFormFieldWithResponse request returning *DeleteFormFieldResponse
func (*ClientWithResponses) DeleteFunctionalityWithResponse ¶
func (c *ClientWithResponses) DeleteFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFunctionalityResponse, error)
DeleteFunctionalityWithResponse request returning *DeleteFunctionalityResponse
func (*ClientWithResponses) DeleteIncidentActionItemWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentActionItemWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentActionItemResponse, error)
DeleteIncidentActionItemWithResponse request returning *DeleteIncidentActionItemResponse
func (*ClientWithResponses) DeleteIncidentCustomFieldSelectionWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentCustomFieldSelectionResponse, error)
DeleteIncidentCustomFieldSelectionWithResponse request returning *DeleteIncidentCustomFieldSelectionResponse
func (*ClientWithResponses) DeleteIncidentEventFunctionalityWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) DeleteIncidentEventFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventFunctionalityResponse, error)
DeleteIncidentEventFunctionalityWithResponse request returning *DeleteIncidentEventFunctionalityResponse
func (*ClientWithResponses) DeleteIncidentEventServiceWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) DeleteIncidentEventServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventServiceResponse, error)
DeleteIncidentEventServiceWithResponse request returning *DeleteIncidentEventServiceResponse
func (*ClientWithResponses) DeleteIncidentEventWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentEventWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventResponse, error)
DeleteIncidentEventWithResponse request returning *DeleteIncidentEventResponse
func (*ClientWithResponses) DeleteIncidentFormFieldSelectionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) DeleteIncidentFormFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentFormFieldSelectionResponse, error)
DeleteIncidentFormFieldSelectionWithResponse request returning *DeleteIncidentFormFieldSelectionResponse
func (*ClientWithResponses) DeleteIncidentRoleTaskWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentRoleTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentRoleTaskResponse, error)
DeleteIncidentRoleTaskWithResponse request returning *DeleteIncidentRoleTaskResponse
func (*ClientWithResponses) DeleteIncidentRoleWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentRoleResponse, error)
DeleteIncidentRoleWithResponse request returning *DeleteIncidentRoleResponse
func (*ClientWithResponses) DeleteIncidentStatusPageWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentStatusPageResponse, error)
DeleteIncidentStatusPageWithResponse request returning *DeleteIncidentStatusPageResponse
func (*ClientWithResponses) DeleteIncidentTypeWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentTypeResponse, error)
DeleteIncidentTypeWithResponse request returning *DeleteIncidentTypeResponse
func (*ClientWithResponses) DeleteIncidentWithResponse ¶
func (c *ClientWithResponses) DeleteIncidentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentResponse, error)
DeleteIncidentWithResponse request returning *DeleteIncidentResponse
func (*ClientWithResponses) DeletePlaybookTaskWithResponse ¶
func (c *ClientWithResponses) DeletePlaybookTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlaybookTaskResponse, error)
DeletePlaybookTaskWithResponse request returning *DeletePlaybookTaskResponse
func (*ClientWithResponses) DeletePlaybookWithResponse ¶
func (c *ClientWithResponses) DeletePlaybookWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlaybookResponse, error)
DeletePlaybookWithResponse request returning *DeletePlaybookResponse
func (*ClientWithResponses) DeletePostmortemTemplateWithResponse ¶
func (c *ClientWithResponses) DeletePostmortemTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePostmortemTemplateResponse, error)
DeletePostmortemTemplateWithResponse request returning *DeletePostmortemTemplateResponse
func (*ClientWithResponses) DeleteRetrospectiveStepWithResponse ¶ added in v1.1.7
func (c *ClientWithResponses) DeleteRetrospectiveStepWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteRetrospectiveStepResponse, error)
DeleteRetrospectiveStepWithResponse request returning *DeleteRetrospectiveStepResponse
func (*ClientWithResponses) DeleteSecretWithResponse ¶ added in v0.1.58
func (c *ClientWithResponses) DeleteSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecretResponse, error)
DeleteSecretWithResponse request returning *DeleteSecretResponse
func (*ClientWithResponses) DeleteServiceWithResponse ¶
func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
DeleteServiceWithResponse request returning *DeleteServiceResponse
func (*ClientWithResponses) DeleteSeverityWithResponse ¶
func (c *ClientWithResponses) DeleteSeverityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSeverityResponse, error)
DeleteSeverityWithResponse request returning *DeleteSeverityResponse
func (*ClientWithResponses) DeleteStatusPageTemplateWithResponse ¶ added in v0.1.18
func (c *ClientWithResponses) DeleteStatusPageTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStatusPageTemplateResponse, error)
DeleteStatusPageTemplateWithResponse request returning *DeleteStatusPageTemplateResponse
func (*ClientWithResponses) DeleteStatusPageWithResponse ¶
func (c *ClientWithResponses) DeleteStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStatusPageResponse, error)
DeleteStatusPageWithResponse request returning *DeleteStatusPageResponse
func (*ClientWithResponses) DeleteTeamWithResponse ¶
func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
DeleteTeamWithResponse request returning *DeleteTeamResponse
func (*ClientWithResponses) DeleteUserWithResponse ¶ added in v0.1.81
func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
DeleteUserWithResponse request returning *DeleteUserResponse
func (*ClientWithResponses) DeleteWebhooksEndpointWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) DeleteWebhooksEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWebhooksEndpointResponse, error)
DeleteWebhooksEndpointWithResponse request returning *DeleteWebhooksEndpointResponse
func (*ClientWithResponses) DeleteWorkflowCustomFieldSelectionWithResponse ¶
func (c *ClientWithResponses) DeleteWorkflowCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowCustomFieldSelectionResponse, error)
DeleteWorkflowCustomFieldSelectionWithResponse request returning *DeleteWorkflowCustomFieldSelectionResponse
func (*ClientWithResponses) DeleteWorkflowFormFieldConditionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) DeleteWorkflowFormFieldConditionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowFormFieldConditionResponse, error)
DeleteWorkflowFormFieldConditionWithResponse request returning *DeleteWorkflowFormFieldConditionResponse
func (*ClientWithResponses) DeleteWorkflowGroupWithResponse ¶ added in v0.1.12
func (c *ClientWithResponses) DeleteWorkflowGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowGroupResponse, error)
DeleteWorkflowGroupWithResponse request returning *DeleteWorkflowGroupResponse
func (*ClientWithResponses) DeleteWorkflowTaskWithResponse ¶
func (c *ClientWithResponses) DeleteWorkflowTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowTaskResponse, error)
DeleteWorkflowTaskWithResponse request returning *DeleteWorkflowTaskResponse
func (*ClientWithResponses) DeleteWorkflowWithResponse ¶
func (c *ClientWithResponses) DeleteWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)
DeleteWorkflowWithResponse request returning *DeleteWorkflowResponse
func (*ClientWithResponses) DeliverWebhooksDeliveryWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) DeliverWebhooksDeliveryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeliverWebhooksDeliveryResponse, error)
DeliverWebhooksDeliveryWithResponse request returning *DeliverWebhooksDeliveryResponse
func (*ClientWithResponses) DuplicateDashboardPanelWithResponse ¶
func (c *ClientWithResponses) DuplicateDashboardPanelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DuplicateDashboardPanelResponse, error)
DuplicateDashboardPanelWithResponse request returning *DuplicateDashboardPanelResponse
func (*ClientWithResponses) DuplicateDashboardWithResponse ¶
func (c *ClientWithResponses) DuplicateDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DuplicateDashboardResponse, error)
DuplicateDashboardWithResponse request returning *DuplicateDashboardResponse
func (*ClientWithResponses) GetAlertWithResponse ¶
func (c *ClientWithResponses) GetAlertWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAlertResponse, error)
GetAlertWithResponse request returning *GetAlertResponse
func (*ClientWithResponses) GetCauseWithResponse ¶
func (c *ClientWithResponses) GetCauseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCauseResponse, error)
GetCauseWithResponse request returning *GetCauseResponse
func (*ClientWithResponses) GetCurrentUserWithResponse ¶ added in v0.1.12
func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
GetCurrentUserWithResponse request returning *GetCurrentUserResponse
func (*ClientWithResponses) GetCustomFieldOptionWithResponse ¶
func (c *ClientWithResponses) GetCustomFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionResponse, error)
GetCustomFieldOptionWithResponse request returning *GetCustomFieldOptionResponse
func (*ClientWithResponses) GetCustomFieldWithResponse ¶
func (c *ClientWithResponses) GetCustomFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCustomFieldResponse, error)
GetCustomFieldWithResponse request returning *GetCustomFieldResponse
func (*ClientWithResponses) GetDashboardPanelWithResponse ¶
func (c *ClientWithResponses) GetDashboardPanelWithResponse(ctx context.Context, id string, params *GetDashboardPanelParams, reqEditors ...RequestEditorFn) (*GetDashboardPanelResponse, error)
GetDashboardPanelWithResponse request returning *GetDashboardPanelResponse
func (*ClientWithResponses) GetDashboardWithResponse ¶
func (c *ClientWithResponses) GetDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDashboardResponse, error)
GetDashboardWithResponse request returning *GetDashboardResponse
func (*ClientWithResponses) GetEnvironmentWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
GetEnvironmentWithResponse request returning *GetEnvironmentResponse
func (*ClientWithResponses) GetFormFieldOptionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) GetFormFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldOptionResponse, error)
GetFormFieldOptionWithResponse request returning *GetFormFieldOptionResponse
func (*ClientWithResponses) GetFormFieldPositionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) GetFormFieldPositionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldPositionResponse, error)
GetFormFieldPositionWithResponse request returning *GetFormFieldPositionResponse
func (*ClientWithResponses) GetFormFieldWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) GetFormFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldResponse, error)
GetFormFieldWithResponse request returning *GetFormFieldResponse
func (*ClientWithResponses) GetFunctionalityIncidentsChartWithResponse ¶
func (c *ClientWithResponses) GetFunctionalityIncidentsChartWithResponse(ctx context.Context, id string, params *GetFunctionalityIncidentsChartParams, reqEditors ...RequestEditorFn) (*GetFunctionalityIncidentsChartResponse, error)
GetFunctionalityIncidentsChartWithResponse request returning *GetFunctionalityIncidentsChartResponse
func (*ClientWithResponses) GetFunctionalityUptimeChartWithResponse ¶
func (c *ClientWithResponses) GetFunctionalityUptimeChartWithResponse(ctx context.Context, id string, params *GetFunctionalityUptimeChartParams, reqEditors ...RequestEditorFn) (*GetFunctionalityUptimeChartResponse, error)
GetFunctionalityUptimeChartWithResponse request returning *GetFunctionalityUptimeChartResponse
func (*ClientWithResponses) GetFunctionalityWithResponse ¶
func (c *ClientWithResponses) GetFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFunctionalityResponse, error)
GetFunctionalityWithResponse request returning *GetFunctionalityResponse
func (*ClientWithResponses) GetIncidentActionItemsWithResponse ¶
func (c *ClientWithResponses) GetIncidentActionItemsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentActionItemsResponse, error)
GetIncidentActionItemsWithResponse request returning *GetIncidentActionItemsResponse
func (*ClientWithResponses) GetIncidentCustomFieldSelectionWithResponse ¶
func (c *ClientWithResponses) GetIncidentCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentCustomFieldSelectionResponse, error)
GetIncidentCustomFieldSelectionWithResponse request returning *GetIncidentCustomFieldSelectionResponse
func (*ClientWithResponses) GetIncidentEventFunctionalitiesWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) GetIncidentEventFunctionalitiesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventFunctionalitiesResponse, error)
GetIncidentEventFunctionalitiesWithResponse request returning *GetIncidentEventFunctionalitiesResponse
func (*ClientWithResponses) GetIncidentEventServicesWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) GetIncidentEventServicesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventServicesResponse, error)
GetIncidentEventServicesWithResponse request returning *GetIncidentEventServicesResponse
func (*ClientWithResponses) GetIncidentEventsWithResponse ¶
func (c *ClientWithResponses) GetIncidentEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventsResponse, error)
GetIncidentEventsWithResponse request returning *GetIncidentEventsResponse
func (*ClientWithResponses) GetIncidentFeedbacksWithResponse ¶
func (c *ClientWithResponses) GetIncidentFeedbacksWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentFeedbacksResponse, error)
GetIncidentFeedbacksWithResponse request returning *GetIncidentFeedbacksResponse
func (*ClientWithResponses) GetIncidentFormFieldSelectionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) GetIncidentFormFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentFormFieldSelectionResponse, error)
GetIncidentFormFieldSelectionWithResponse request returning *GetIncidentFormFieldSelectionResponse
func (*ClientWithResponses) GetIncidentRoleTaskWithResponse ¶ added in v0.1.33
func (c *ClientWithResponses) GetIncidentRoleTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentRoleTaskResponse, error)
GetIncidentRoleTaskWithResponse request returning *GetIncidentRoleTaskResponse
func (*ClientWithResponses) GetIncidentRoleWithResponse ¶
func (c *ClientWithResponses) GetIncidentRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentRoleResponse, error)
GetIncidentRoleWithResponse request returning *GetIncidentRoleResponse
func (*ClientWithResponses) GetIncidentStatusPagesWithResponse ¶
func (c *ClientWithResponses) GetIncidentStatusPagesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentStatusPagesResponse, error)
GetIncidentStatusPagesWithResponse request returning *GetIncidentStatusPagesResponse
func (*ClientWithResponses) GetIncidentTypeWithResponse ¶
func (c *ClientWithResponses) GetIncidentTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentTypeResponse, error)
GetIncidentTypeWithResponse request returning *GetIncidentTypeResponse
func (*ClientWithResponses) GetIncidentWithResponse ¶
func (c *ClientWithResponses) GetIncidentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentResponse, error)
GetIncidentWithResponse request returning *GetIncidentResponse
func (*ClientWithResponses) GetIpRangesWithResponse ¶ added in v1.1.8
func (c *ClientWithResponses) GetIpRangesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIpRangesResponse, error)
GetIpRangesWithResponse request returning *GetIpRangesResponse
func (*ClientWithResponses) GetPlaybookTaskWithResponse ¶ added in v0.1.62
func (c *ClientWithResponses) GetPlaybookTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlaybookTaskResponse, error)
GetPlaybookTaskWithResponse request returning *GetPlaybookTaskResponse
func (*ClientWithResponses) GetPlaybookWithResponse ¶
func (c *ClientWithResponses) GetPlaybookWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlaybookResponse, error)
GetPlaybookWithResponse request returning *GetPlaybookResponse
func (*ClientWithResponses) GetPostmortemTemplateWithResponse ¶
func (c *ClientWithResponses) GetPostmortemTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPostmortemTemplateResponse, error)
GetPostmortemTemplateWithResponse request returning *GetPostmortemTemplateResponse
func (*ClientWithResponses) GetPulseWithResponse ¶
func (c *ClientWithResponses) GetPulseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPulseResponse, error)
GetPulseWithResponse request returning *GetPulseResponse
func (*ClientWithResponses) GetRetrospectiveStepWithResponse ¶ added in v1.1.7
func (c *ClientWithResponses) GetRetrospectiveStepWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRetrospectiveStepResponse, error)
GetRetrospectiveStepWithResponse request returning *GetRetrospectiveStepResponse
func (*ClientWithResponses) GetSecretWithResponse ¶ added in v0.1.58
func (c *ClientWithResponses) GetSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecretResponse, error)
GetSecretWithResponse request returning *GetSecretResponse
func (*ClientWithResponses) GetServiceIncidentsChartWithResponse ¶
func (c *ClientWithResponses) GetServiceIncidentsChartWithResponse(ctx context.Context, id string, params *GetServiceIncidentsChartParams, reqEditors ...RequestEditorFn) (*GetServiceIncidentsChartResponse, error)
GetServiceIncidentsChartWithResponse request returning *GetServiceIncidentsChartResponse
func (*ClientWithResponses) GetServiceUptimeChartWithResponse ¶
func (c *ClientWithResponses) GetServiceUptimeChartWithResponse(ctx context.Context, id string, params *GetServiceUptimeChartParams, reqEditors ...RequestEditorFn) (*GetServiceUptimeChartResponse, error)
GetServiceUptimeChartWithResponse request returning *GetServiceUptimeChartResponse
func (*ClientWithResponses) GetServiceWithResponse ¶
func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
GetServiceWithResponse request returning *GetServiceResponse
func (*ClientWithResponses) GetSeverityWithResponse ¶
func (c *ClientWithResponses) GetSeverityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSeverityResponse, error)
GetSeverityWithResponse request returning *GetSeverityResponse
func (*ClientWithResponses) GetStatusPageTemplateWithResponse ¶ added in v0.1.18
func (c *ClientWithResponses) GetStatusPageTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStatusPageTemplateResponse, error)
GetStatusPageTemplateWithResponse request returning *GetStatusPageTemplateResponse
func (*ClientWithResponses) GetStatusPageWithResponse ¶
func (c *ClientWithResponses) GetStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStatusPageResponse, error)
GetStatusPageWithResponse request returning *GetStatusPageResponse
func (*ClientWithResponses) GetTeamWithResponse ¶
func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
GetTeamWithResponse request returning *GetTeamResponse
func (*ClientWithResponses) GetUserWithResponse ¶ added in v0.1.81
func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
GetUserWithResponse request returning *GetUserResponse
func (*ClientWithResponses) GetWebhooksDeliveryWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) GetWebhooksDeliveryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWebhooksDeliveryResponse, error)
GetWebhooksDeliveryWithResponse request returning *GetWebhooksDeliveryResponse
func (*ClientWithResponses) GetWebhooksEndpointWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) GetWebhooksEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWebhooksEndpointResponse, error)
GetWebhooksEndpointWithResponse request returning *GetWebhooksEndpointResponse
func (*ClientWithResponses) GetWorkflowCustomFieldSelectionWithResponse ¶
func (c *ClientWithResponses) GetWorkflowCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowCustomFieldSelectionResponse, error)
GetWorkflowCustomFieldSelectionWithResponse request returning *GetWorkflowCustomFieldSelectionResponse
func (*ClientWithResponses) GetWorkflowFormFieldConditionWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) GetWorkflowFormFieldConditionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowFormFieldConditionResponse, error)
GetWorkflowFormFieldConditionWithResponse request returning *GetWorkflowFormFieldConditionResponse
func (*ClientWithResponses) GetWorkflowGroupWithResponse ¶ added in v0.1.12
func (c *ClientWithResponses) GetWorkflowGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowGroupResponse, error)
GetWorkflowGroupWithResponse request returning *GetWorkflowGroupResponse
func (*ClientWithResponses) GetWorkflowTaskWithResponse ¶
func (c *ClientWithResponses) GetWorkflowTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowTaskResponse, error)
GetWorkflowTaskWithResponse request returning *GetWorkflowTaskResponse
func (*ClientWithResponses) GetWorkflowWithResponse ¶
func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
GetWorkflowWithResponse request returning *GetWorkflowResponse
func (*ClientWithResponses) ListAlertsWithResponse ¶
func (c *ClientWithResponses) ListAlertsWithResponse(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*ListAlertsResponse, error)
ListAlertsWithResponse request returning *ListAlertsResponse
func (*ClientWithResponses) ListAllIncidentActionItemsWithResponse ¶ added in v0.1.91
func (c *ClientWithResponses) ListAllIncidentActionItemsWithResponse(ctx context.Context, params *ListAllIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*ListAllIncidentActionItemsResponse, error)
ListAllIncidentActionItemsWithResponse request returning *ListAllIncidentActionItemsResponse
func (*ClientWithResponses) ListAuditsWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) ListAuditsWithResponse(ctx context.Context, params *ListAuditsParams, reqEditors ...RequestEditorFn) (*ListAuditsResponse, error)
ListAuditsWithResponse request returning *ListAuditsResponse
func (*ClientWithResponses) ListCausesWithResponse ¶
func (c *ClientWithResponses) ListCausesWithResponse(ctx context.Context, params *ListCausesParams, reqEditors ...RequestEditorFn) (*ListCausesResponse, error)
ListCausesWithResponse request returning *ListCausesResponse
func (*ClientWithResponses) ListCustomFieldOptionsWithResponse ¶
func (c *ClientWithResponses) ListCustomFieldOptionsWithResponse(ctx context.Context, customFieldId string, params *ListCustomFieldOptionsParams, reqEditors ...RequestEditorFn) (*ListCustomFieldOptionsResponse, error)
ListCustomFieldOptionsWithResponse request returning *ListCustomFieldOptionsResponse
func (*ClientWithResponses) ListCustomFieldsWithResponse ¶
func (c *ClientWithResponses) ListCustomFieldsWithResponse(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*ListCustomFieldsResponse, error)
ListCustomFieldsWithResponse request returning *ListCustomFieldsResponse
func (*ClientWithResponses) ListDashboardPanelsWithResponse ¶
func (c *ClientWithResponses) ListDashboardPanelsWithResponse(ctx context.Context, dashboardId string, params *ListDashboardPanelsParams, reqEditors ...RequestEditorFn) (*ListDashboardPanelsResponse, error)
ListDashboardPanelsWithResponse request returning *ListDashboardPanelsResponse
func (*ClientWithResponses) ListDashboardsWithResponse ¶
func (c *ClientWithResponses) ListDashboardsWithResponse(ctx context.Context, params *ListDashboardsParams, reqEditors ...RequestEditorFn) (*ListDashboardsResponse, error)
ListDashboardsWithResponse request returning *ListDashboardsResponse
func (*ClientWithResponses) ListEnvironmentsWithResponse ¶
func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
ListEnvironmentsWithResponse request returning *ListEnvironmentsResponse
func (*ClientWithResponses) ListFormFieldOptionsWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) ListFormFieldOptionsWithResponse(ctx context.Context, formFieldId string, params *ListFormFieldOptionsParams, reqEditors ...RequestEditorFn) (*ListFormFieldOptionsResponse, error)
ListFormFieldOptionsWithResponse request returning *ListFormFieldOptionsResponse
func (*ClientWithResponses) ListFormFieldPositionsWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) ListFormFieldPositionsWithResponse(ctx context.Context, formFieldId string, params *ListFormFieldPositionsParams, reqEditors ...RequestEditorFn) (*ListFormFieldPositionsResponse, error)
ListFormFieldPositionsWithResponse request returning *ListFormFieldPositionsResponse
func (*ClientWithResponses) ListFormFieldsWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) ListFormFieldsWithResponse(ctx context.Context, params *ListFormFieldsParams, reqEditors ...RequestEditorFn) (*ListFormFieldsResponse, error)
ListFormFieldsWithResponse request returning *ListFormFieldsResponse
func (*ClientWithResponses) ListFunctionalitiesWithResponse ¶
func (c *ClientWithResponses) ListFunctionalitiesWithResponse(ctx context.Context, params *ListFunctionalitiesParams, reqEditors ...RequestEditorFn) (*ListFunctionalitiesResponse, error)
ListFunctionalitiesWithResponse request returning *ListFunctionalitiesResponse
func (*ClientWithResponses) ListIncidentActionItemsWithResponse ¶
func (c *ClientWithResponses) ListIncidentActionItemsWithResponse(ctx context.Context, incidentId string, params *ListIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*ListIncidentActionItemsResponse, error)
ListIncidentActionItemsWithResponse request returning *ListIncidentActionItemsResponse
func (*ClientWithResponses) ListIncidentAlertsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) ListIncidentAlertsWithResponse(ctx context.Context, incidentId string, params *ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*ListIncidentAlertsResponse, error)
ListIncidentAlertsWithResponse request returning *ListIncidentAlertsResponse
func (*ClientWithResponses) ListIncidentCustomFieldSelectionsWithResponse ¶
func (c *ClientWithResponses) ListIncidentCustomFieldSelectionsWithResponse(ctx context.Context, incidentId string, params *ListIncidentCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*ListIncidentCustomFieldSelectionsResponse, error)
ListIncidentCustomFieldSelectionsWithResponse request returning *ListIncidentCustomFieldSelectionsResponse
func (*ClientWithResponses) ListIncidentEventFunctionalitiesWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) ListIncidentEventFunctionalitiesWithResponse(ctx context.Context, incidentEventId string, params *ListIncidentEventFunctionalitiesParams, reqEditors ...RequestEditorFn) (*ListIncidentEventFunctionalitiesResponse, error)
ListIncidentEventFunctionalitiesWithResponse request returning *ListIncidentEventFunctionalitiesResponse
func (*ClientWithResponses) ListIncidentEventServicesWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) ListIncidentEventServicesWithResponse(ctx context.Context, incidentEventId string, params *ListIncidentEventServicesParams, reqEditors ...RequestEditorFn) (*ListIncidentEventServicesResponse, error)
ListIncidentEventServicesWithResponse request returning *ListIncidentEventServicesResponse
func (*ClientWithResponses) ListIncidentEventsWithResponse ¶
func (c *ClientWithResponses) ListIncidentEventsWithResponse(ctx context.Context, incidentId string, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*ListIncidentEventsResponse, error)
ListIncidentEventsWithResponse request returning *ListIncidentEventsResponse
func (*ClientWithResponses) ListIncidentFeedbacksWithResponse ¶
func (c *ClientWithResponses) ListIncidentFeedbacksWithResponse(ctx context.Context, incidentId string, params *ListIncidentFeedbacksParams, reqEditors ...RequestEditorFn) (*ListIncidentFeedbacksResponse, error)
ListIncidentFeedbacksWithResponse request returning *ListIncidentFeedbacksResponse
func (*ClientWithResponses) ListIncidentFormFieldSelectionsWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) ListIncidentFormFieldSelectionsWithResponse(ctx context.Context, incidentId string, params *ListIncidentFormFieldSelectionsParams, reqEditors ...RequestEditorFn) (*ListIncidentFormFieldSelectionsResponse, error)
ListIncidentFormFieldSelectionsWithResponse request returning *ListIncidentFormFieldSelectionsResponse
func (*ClientWithResponses) ListIncidentPostMortemsWithResponse ¶
func (c *ClientWithResponses) ListIncidentPostMortemsWithResponse(ctx context.Context, params *ListIncidentPostMortemsParams, reqEditors ...RequestEditorFn) (*ListIncidentPostMortemsResponse, error)
ListIncidentPostMortemsWithResponse request returning *ListIncidentPostMortemsResponse
func (*ClientWithResponses) ListIncidentPostmortemWithResponse ¶
func (c *ClientWithResponses) ListIncidentPostmortemWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListIncidentPostmortemResponse, error)
ListIncidentPostmortemWithResponse request returning *ListIncidentPostmortemResponse
func (*ClientWithResponses) ListIncidentRoleTasksWithResponse ¶
func (c *ClientWithResponses) ListIncidentRoleTasksWithResponse(ctx context.Context, incidentRoleId string, params *ListIncidentRoleTasksParams, reqEditors ...RequestEditorFn) (*ListIncidentRoleTasksResponse, error)
ListIncidentRoleTasksWithResponse request returning *ListIncidentRoleTasksResponse
func (*ClientWithResponses) ListIncidentRolesWithResponse ¶
func (c *ClientWithResponses) ListIncidentRolesWithResponse(ctx context.Context, params *ListIncidentRolesParams, reqEditors ...RequestEditorFn) (*ListIncidentRolesResponse, error)
ListIncidentRolesWithResponse request returning *ListIncidentRolesResponse
func (*ClientWithResponses) ListIncidentStatusPagesWithResponse ¶
func (c *ClientWithResponses) ListIncidentStatusPagesWithResponse(ctx context.Context, incidentId string, params *ListIncidentStatusPagesParams, reqEditors ...RequestEditorFn) (*ListIncidentStatusPagesResponse, error)
ListIncidentStatusPagesWithResponse request returning *ListIncidentStatusPagesResponse
func (*ClientWithResponses) ListIncidentTypesWithResponse ¶
func (c *ClientWithResponses) ListIncidentTypesWithResponse(ctx context.Context, params *ListIncidentTypesParams, reqEditors ...RequestEditorFn) (*ListIncidentTypesResponse, error)
ListIncidentTypesWithResponse request returning *ListIncidentTypesResponse
func (*ClientWithResponses) ListIncidentsWithResponse ¶
func (c *ClientWithResponses) ListIncidentsWithResponse(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*ListIncidentsResponse, error)
ListIncidentsWithResponse request returning *ListIncidentsResponse
func (*ClientWithResponses) ListPlaybookTasksWithResponse ¶
func (c *ClientWithResponses) ListPlaybookTasksWithResponse(ctx context.Context, playbookId string, params *ListPlaybookTasksParams, reqEditors ...RequestEditorFn) (*ListPlaybookTasksResponse, error)
ListPlaybookTasksWithResponse request returning *ListPlaybookTasksResponse
func (*ClientWithResponses) ListPlaybooksWithResponse ¶
func (c *ClientWithResponses) ListPlaybooksWithResponse(ctx context.Context, params *ListPlaybooksParams, reqEditors ...RequestEditorFn) (*ListPlaybooksResponse, error)
ListPlaybooksWithResponse request returning *ListPlaybooksResponse
func (*ClientWithResponses) ListPostmortemTemplatesWithResponse ¶
func (c *ClientWithResponses) ListPostmortemTemplatesWithResponse(ctx context.Context, params *ListPostmortemTemplatesParams, reqEditors ...RequestEditorFn) (*ListPostmortemTemplatesResponse, error)
ListPostmortemTemplatesWithResponse request returning *ListPostmortemTemplatesResponse
func (*ClientWithResponses) ListPulsesWithResponse ¶
func (c *ClientWithResponses) ListPulsesWithResponse(ctx context.Context, params *ListPulsesParams, reqEditors ...RequestEditorFn) (*ListPulsesResponse, error)
ListPulsesWithResponse request returning *ListPulsesResponse
func (*ClientWithResponses) ListRetrospectiveStepsWithResponse ¶ added in v1.1.7
func (c *ClientWithResponses) ListRetrospectiveStepsWithResponse(ctx context.Context, params *ListRetrospectiveStepsParams, reqEditors ...RequestEditorFn) (*ListRetrospectiveStepsResponse, error)
ListRetrospectiveStepsWithResponse request returning *ListRetrospectiveStepsResponse
func (*ClientWithResponses) ListSecretsWithResponse ¶ added in v0.1.58
func (c *ClientWithResponses) ListSecretsWithResponse(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*ListSecretsResponse, error)
ListSecretsWithResponse request returning *ListSecretsResponse
func (*ClientWithResponses) ListServicesWithResponse ¶
func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
ListServicesWithResponse request returning *ListServicesResponse
func (*ClientWithResponses) ListSeveritiesWithResponse ¶
func (c *ClientWithResponses) ListSeveritiesWithResponse(ctx context.Context, params *ListSeveritiesParams, reqEditors ...RequestEditorFn) (*ListSeveritiesResponse, error)
ListSeveritiesWithResponse request returning *ListSeveritiesResponse
func (*ClientWithResponses) ListStatusPageTemplatesWithResponse ¶ added in v0.1.18
func (c *ClientWithResponses) ListStatusPageTemplatesWithResponse(ctx context.Context, statusPageId string, params *ListStatusPageTemplatesParams, reqEditors ...RequestEditorFn) (*ListStatusPageTemplatesResponse, error)
ListStatusPageTemplatesWithResponse request returning *ListStatusPageTemplatesResponse
func (*ClientWithResponses) ListStatusPagesWithResponse ¶
func (c *ClientWithResponses) ListStatusPagesWithResponse(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*ListStatusPagesResponse, error)
ListStatusPagesWithResponse request returning *ListStatusPagesResponse
func (*ClientWithResponses) ListTeamsWithResponse ¶
func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
ListTeamsWithResponse request returning *ListTeamsResponse
func (*ClientWithResponses) ListUsersWithResponse ¶ added in v0.1.91
func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
ListUsersWithResponse request returning *ListUsersResponse
func (*ClientWithResponses) ListWebhooksDeliveriesWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) ListWebhooksDeliveriesWithResponse(ctx context.Context, endpointId string, params *ListWebhooksDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhooksDeliveriesResponse, error)
ListWebhooksDeliveriesWithResponse request returning *ListWebhooksDeliveriesResponse
func (*ClientWithResponses) ListWebhooksEndpointsWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) ListWebhooksEndpointsWithResponse(ctx context.Context, params *ListWebhooksEndpointsParams, reqEditors ...RequestEditorFn) (*ListWebhooksEndpointsResponse, error)
ListWebhooksEndpointsWithResponse request returning *ListWebhooksEndpointsResponse
func (*ClientWithResponses) ListWorkflowCustomFieldSelectionsWithResponse ¶
func (c *ClientWithResponses) ListWorkflowCustomFieldSelectionsWithResponse(ctx context.Context, workflowId string, params *ListWorkflowCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*ListWorkflowCustomFieldSelectionsResponse, error)
ListWorkflowCustomFieldSelectionsWithResponse request returning *ListWorkflowCustomFieldSelectionsResponse
func (*ClientWithResponses) ListWorkflowFormFieldConditionsWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) ListWorkflowFormFieldConditionsWithResponse(ctx context.Context, workflowId string, params *ListWorkflowFormFieldConditionsParams, reqEditors ...RequestEditorFn) (*ListWorkflowFormFieldConditionsResponse, error)
ListWorkflowFormFieldConditionsWithResponse request returning *ListWorkflowFormFieldConditionsResponse
func (*ClientWithResponses) ListWorkflowGroupsWithResponse ¶ added in v0.1.12
func (c *ClientWithResponses) ListWorkflowGroupsWithResponse(ctx context.Context, params *ListWorkflowGroupsParams, reqEditors ...RequestEditorFn) (*ListWorkflowGroupsResponse, error)
ListWorkflowGroupsWithResponse request returning *ListWorkflowGroupsResponse
func (*ClientWithResponses) ListWorkflowRunsWithResponse ¶ added in v0.1.23
func (c *ClientWithResponses) ListWorkflowRunsWithResponse(ctx context.Context, workflowId string, params *ListWorkflowRunsParams, reqEditors ...RequestEditorFn) (*ListWorkflowRunsResponse, error)
ListWorkflowRunsWithResponse request returning *ListWorkflowRunsResponse
func (*ClientWithResponses) ListWorkflowTasksWithResponse ¶
func (c *ClientWithResponses) ListWorkflowTasksWithResponse(ctx context.Context, workflowId string, params *ListWorkflowTasksParams, reqEditors ...RequestEditorFn) (*ListWorkflowTasksResponse, error)
ListWorkflowTasksWithResponse request returning *ListWorkflowTasksResponse
func (*ClientWithResponses) ListWorkflowsWithResponse ¶
func (c *ClientWithResponses) ListWorkflowsWithResponse(ctx context.Context, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)
ListWorkflowsWithResponse request returning *ListWorkflowsResponse
func (*ClientWithResponses) MarkAsDuplicateIncidentWithBodyWithResponse ¶ added in v0.1.68
func (c *ClientWithResponses) MarkAsDuplicateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkAsDuplicateIncidentResponse, error)
MarkAsDuplicateIncidentWithBodyWithResponse request with arbitrary body returning *MarkAsDuplicateIncidentResponse
func (*ClientWithResponses) MitigateIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) MitigateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MitigateIncidentResponse, error)
MitigateIncidentWithBodyWithResponse request with arbitrary body returning *MitigateIncidentResponse
func (*ClientWithResponses) RemoveSubscribersToIncidentWithBodyWithResponse ¶ added in v0.1.85
func (c *ClientWithResponses) RemoveSubscribersToIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveSubscribersToIncidentResponse, error)
RemoveSubscribersToIncidentWithBodyWithResponse request with arbitrary body returning *RemoveSubscribersToIncidentResponse
func (*ClientWithResponses) ResolveIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) ResolveIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveIncidentResponse, error)
ResolveIncidentWithBodyWithResponse request with arbitrary body returning *ResolveIncidentResponse
func (*ClientWithResponses) RestartIncidentWithBodyWithResponse ¶ added in v0.1.58
func (c *ClientWithResponses) RestartIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestartIncidentResponse, error)
RestartIncidentWithBodyWithResponse request with arbitrary body returning *RestartIncidentResponse
func (*ClientWithResponses) SetDefaultDashboardWithResponse ¶
func (c *ClientWithResponses) SetDefaultDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SetDefaultDashboardResponse, error)
SetDefaultDashboardWithResponse request returning *SetDefaultDashboardResponse
func (*ClientWithResponses) TriageIncidentWithBodyWithResponse ¶ added in v1.0.3
func (c *ClientWithResponses) TriageIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TriageIncidentResponse, error)
TriageIncidentWithBodyWithResponse request with arbitrary body returning *TriageIncidentResponse
func (*ClientWithResponses) UpdateCauseWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCauseWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCauseResponse, error)
UpdateCauseWithBodyWithResponse request with arbitrary body returning *UpdateCauseResponse
func (*ClientWithResponses) UpdateCustomFieldOptionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCustomFieldOptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomFieldOptionResponse, error)
UpdateCustomFieldOptionWithBodyWithResponse request with arbitrary body returning *UpdateCustomFieldOptionResponse
func (*ClientWithResponses) UpdateCustomFieldWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCustomFieldWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomFieldResponse, error)
UpdateCustomFieldWithBodyWithResponse request with arbitrary body returning *UpdateCustomFieldResponse
func (*ClientWithResponses) UpdateDashboardPanelWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDashboardPanelWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDashboardPanelResponse, error)
UpdateDashboardPanelWithBodyWithResponse request with arbitrary body returning *UpdateDashboardPanelResponse
func (*ClientWithResponses) UpdateDashboardWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDashboardWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDashboardResponse, error)
UpdateDashboardWithBodyWithResponse request with arbitrary body returning *UpdateDashboardResponse
func (*ClientWithResponses) UpdateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
UpdateEnvironmentWithBodyWithResponse request with arbitrary body returning *UpdateEnvironmentResponse
func (*ClientWithResponses) UpdateFormFieldOptionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) UpdateFormFieldOptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFormFieldOptionResponse, error)
UpdateFormFieldOptionWithBodyWithResponse request with arbitrary body returning *UpdateFormFieldOptionResponse
func (*ClientWithResponses) UpdateFormFieldPositionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) UpdateFormFieldPositionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFormFieldPositionResponse, error)
UpdateFormFieldPositionWithBodyWithResponse request with arbitrary body returning *UpdateFormFieldPositionResponse
func (*ClientWithResponses) UpdateFormFieldWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) UpdateFormFieldWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFormFieldResponse, error)
UpdateFormFieldWithBodyWithResponse request with arbitrary body returning *UpdateFormFieldResponse
func (*ClientWithResponses) UpdateFunctionalityWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateFunctionalityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionalityResponse, error)
UpdateFunctionalityWithBodyWithResponse request with arbitrary body returning *UpdateFunctionalityResponse
func (*ClientWithResponses) UpdateIncidentActionItemWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentActionItemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentActionItemResponse, error)
UpdateIncidentActionItemWithBodyWithResponse request with arbitrary body returning *UpdateIncidentActionItemResponse
func (*ClientWithResponses) UpdateIncidentCustomFieldSelectionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentCustomFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentCustomFieldSelectionResponse, error)
UpdateIncidentCustomFieldSelectionWithBodyWithResponse request with arbitrary body returning *UpdateIncidentCustomFieldSelectionResponse
func (*ClientWithResponses) UpdateIncidentEventFunctionalityWithBodyWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) UpdateIncidentEventFunctionalityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentEventFunctionalityResponse, error)
UpdateIncidentEventFunctionalityWithBodyWithResponse request with arbitrary body returning *UpdateIncidentEventFunctionalityResponse
func (*ClientWithResponses) UpdateIncidentEventServiceWithBodyWithResponse ¶ added in v0.1.70
func (c *ClientWithResponses) UpdateIncidentEventServiceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentEventServiceResponse, error)
UpdateIncidentEventServiceWithBodyWithResponse request with arbitrary body returning *UpdateIncidentEventServiceResponse
func (*ClientWithResponses) UpdateIncidentEventWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentEventWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentEventResponse, error)
UpdateIncidentEventWithBodyWithResponse request with arbitrary body returning *UpdateIncidentEventResponse
func (*ClientWithResponses) UpdateIncidentFeedbackWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentFeedbackWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentFeedbackResponse, error)
UpdateIncidentFeedbackWithBodyWithResponse request with arbitrary body returning *UpdateIncidentFeedbackResponse
func (*ClientWithResponses) UpdateIncidentFormFieldSelectionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) UpdateIncidentFormFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentFormFieldSelectionResponse, error)
UpdateIncidentFormFieldSelectionWithBodyWithResponse request with arbitrary body returning *UpdateIncidentFormFieldSelectionResponse
func (*ClientWithResponses) UpdateIncidentPostmortemWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentPostmortemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentPostmortemResponse, error)
UpdateIncidentPostmortemWithBodyWithResponse request with arbitrary body returning *UpdateIncidentPostmortemResponse
func (*ClientWithResponses) UpdateIncidentRoleTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentRoleTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentRoleTaskResponse, error)
UpdateIncidentRoleTaskWithBodyWithResponse request with arbitrary body returning *UpdateIncidentRoleTaskResponse
func (*ClientWithResponses) UpdateIncidentRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentRoleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentRoleResponse, error)
UpdateIncidentRoleWithBodyWithResponse request with arbitrary body returning *UpdateIncidentRoleResponse
func (*ClientWithResponses) UpdateIncidentStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentStatusPageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentStatusPageResponse, error)
UpdateIncidentStatusPageWithBodyWithResponse request with arbitrary body returning *UpdateIncidentStatusPageResponse
func (*ClientWithResponses) UpdateIncidentTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentTypeResponse, error)
UpdateIncidentTypeWithBodyWithResponse request with arbitrary body returning *UpdateIncidentTypeResponse
func (*ClientWithResponses) UpdateIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentResponse, error)
UpdateIncidentWithBodyWithResponse request with arbitrary body returning *UpdateIncidentResponse
func (*ClientWithResponses) UpdatePlaybookTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePlaybookTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlaybookTaskResponse, error)
UpdatePlaybookTaskWithBodyWithResponse request with arbitrary body returning *UpdatePlaybookTaskResponse
func (*ClientWithResponses) UpdatePlaybookWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePlaybookWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlaybookResponse, error)
UpdatePlaybookWithBodyWithResponse request with arbitrary body returning *UpdatePlaybookResponse
func (*ClientWithResponses) UpdatePostmortemTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePostmortemTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostmortemTemplateResponse, error)
UpdatePostmortemTemplateWithBodyWithResponse request with arbitrary body returning *UpdatePostmortemTemplateResponse
func (*ClientWithResponses) UpdatePulseWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePulseWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePulseResponse, error)
UpdatePulseWithBodyWithResponse request with arbitrary body returning *UpdatePulseResponse
func (*ClientWithResponses) UpdateRetrospectiveStepWithBodyWithResponse ¶ added in v1.1.7
func (c *ClientWithResponses) UpdateRetrospectiveStepWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRetrospectiveStepResponse, error)
UpdateRetrospectiveStepWithBodyWithResponse request with arbitrary body returning *UpdateRetrospectiveStepResponse
func (*ClientWithResponses) UpdateSecretWithBodyWithResponse ¶ added in v0.1.58
func (c *ClientWithResponses) UpdateSecretWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretResponse, error)
UpdateSecretWithBodyWithResponse request with arbitrary body returning *UpdateSecretResponse
func (*ClientWithResponses) UpdateServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateServiceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
UpdateServiceWithBodyWithResponse request with arbitrary body returning *UpdateServiceResponse
func (*ClientWithResponses) UpdateSeverityWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSeverityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSeverityResponse, error)
UpdateSeverityWithBodyWithResponse request with arbitrary body returning *UpdateSeverityResponse
func (*ClientWithResponses) UpdateStatusPageTemplateWithBodyWithResponse ¶ added in v0.1.18
func (c *ClientWithResponses) UpdateStatusPageTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageTemplateResponse, error)
UpdateStatusPageTemplateWithBodyWithResponse request with arbitrary body returning *UpdateStatusPageTemplateResponse
func (*ClientWithResponses) UpdateStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResponse, error)
UpdateStatusPageWithBodyWithResponse request with arbitrary body returning *UpdateStatusPageResponse
func (*ClientWithResponses) UpdateTeamWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateTeamWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)
UpdateTeamWithBodyWithResponse request with arbitrary body returning *UpdateTeamResponse
func (*ClientWithResponses) UpdateWebhooksEndpointWithBodyWithResponse ¶ added in v0.1.54
func (c *ClientWithResponses) UpdateWebhooksEndpointWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhooksEndpointResponse, error)
UpdateWebhooksEndpointWithBodyWithResponse request with arbitrary body returning *UpdateWebhooksEndpointResponse
func (*ClientWithResponses) UpdateWorkflowCustomFieldSelectionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWorkflowCustomFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowCustomFieldSelectionResponse, error)
UpdateWorkflowCustomFieldSelectionWithBodyWithResponse request with arbitrary body returning *UpdateWorkflowCustomFieldSelectionResponse
func (*ClientWithResponses) UpdateWorkflowFormFieldConditionWithBodyWithResponse ¶ added in v0.1.48
func (c *ClientWithResponses) UpdateWorkflowFormFieldConditionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowFormFieldConditionResponse, error)
UpdateWorkflowFormFieldConditionWithBodyWithResponse request with arbitrary body returning *UpdateWorkflowFormFieldConditionResponse
func (*ClientWithResponses) UpdateWorkflowGroupWithBodyWithResponse ¶ added in v0.1.12
func (c *ClientWithResponses) UpdateWorkflowGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowGroupResponse, error)
UpdateWorkflowGroupWithBodyWithResponse request with arbitrary body returning *UpdateWorkflowGroupResponse
func (*ClientWithResponses) UpdateWorkflowTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWorkflowTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowTaskResponse, error)
UpdateWorkflowTaskWithBodyWithResponse request with arbitrary body returning *UpdateWorkflowTaskResponse
func (*ClientWithResponses) UpdateWorkflowWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWorkflowWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowResponse, error)
UpdateWorkflowWithBodyWithResponse request with arbitrary body returning *UpdateWorkflowResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAllIncidentActionItems request
ListAllIncidentActionItemsWithResponse(ctx context.Context, params *ListAllIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*ListAllIncidentActionItemsResponse, error)
// DeleteIncidentActionItem request
DeleteIncidentActionItemWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentActionItemResponse, error)
// GetIncidentActionItems request
GetIncidentActionItemsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentActionItemsResponse, error)
// UpdateIncidentActionItem request with any body
UpdateIncidentActionItemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentActionItemResponse, error)
// ListAlerts request
ListAlertsWithResponse(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*ListAlertsResponse, error)
// CreateAlert request with any body
CreateAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertResponse, error)
// GetAlert request
GetAlertWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAlertResponse, error)
// ListAudits request
ListAuditsWithResponse(ctx context.Context, params *ListAuditsParams, reqEditors ...RequestEditorFn) (*ListAuditsResponse, error)
// ListCauses request
ListCausesWithResponse(ctx context.Context, params *ListCausesParams, reqEditors ...RequestEditorFn) (*ListCausesResponse, error)
// CreateCause request with any body
CreateCauseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCauseResponse, error)
// DeleteCause request
DeleteCauseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCauseResponse, error)
// GetCause request
GetCauseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCauseResponse, error)
// UpdateCause request with any body
UpdateCauseWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCauseResponse, error)
// DeleteCustomFieldOption request
DeleteCustomFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldOptionResponse, error)
// GetCustomFieldOption request
GetCustomFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCustomFieldOptionResponse, error)
// UpdateCustomFieldOption request with any body
UpdateCustomFieldOptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomFieldOptionResponse, error)
// ListCustomFields request
ListCustomFieldsWithResponse(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*ListCustomFieldsResponse, error)
// CreateCustomField request with any body
CreateCustomFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
// ListCustomFieldOptions request
ListCustomFieldOptionsWithResponse(ctx context.Context, customFieldId string, params *ListCustomFieldOptionsParams, reqEditors ...RequestEditorFn) (*ListCustomFieldOptionsResponse, error)
// CreateCustomFieldOption request with any body
CreateCustomFieldOptionWithBodyWithResponse(ctx context.Context, customFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldOptionResponse, error)
// DeleteCustomField request
DeleteCustomFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
// GetCustomField request
GetCustomFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCustomFieldResponse, error)
// UpdateCustomField request with any body
UpdateCustomFieldWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomFieldResponse, error)
// DeleteDashboardPanel request
DeleteDashboardPanelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardPanelResponse, error)
// GetDashboardPanel request
GetDashboardPanelWithResponse(ctx context.Context, id string, params *GetDashboardPanelParams, reqEditors ...RequestEditorFn) (*GetDashboardPanelResponse, error)
// UpdateDashboardPanel request with any body
UpdateDashboardPanelWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDashboardPanelResponse, error)
// DuplicateDashboardPanel request
DuplicateDashboardPanelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DuplicateDashboardPanelResponse, error)
// ListDashboards request
ListDashboardsWithResponse(ctx context.Context, params *ListDashboardsParams, reqEditors ...RequestEditorFn) (*ListDashboardsResponse, error)
// CreateDashboard request with any body
CreateDashboardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardResponse, error)
// ListDashboardPanels request
ListDashboardPanelsWithResponse(ctx context.Context, dashboardId string, params *ListDashboardPanelsParams, reqEditors ...RequestEditorFn) (*ListDashboardPanelsResponse, error)
// CreateDashboardPanel request with any body
CreateDashboardPanelWithBodyWithResponse(ctx context.Context, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardPanelResponse, error)
// DeleteDashboard request
DeleteDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardResponse, error)
// GetDashboard request
GetDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDashboardResponse, error)
// UpdateDashboard request with any body
UpdateDashboardWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDashboardResponse, error)
// DuplicateDashboard request
DuplicateDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DuplicateDashboardResponse, error)
// SetDefaultDashboard request
SetDefaultDashboardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SetDefaultDashboardResponse, error)
// ListEnvironments request
ListEnvironmentsWithResponse(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
// CreateEnvironment request with any body
CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
// DeleteEnvironment request
DeleteEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
// GetEnvironment request
GetEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
// UpdateEnvironment request with any body
UpdateEnvironmentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
// DeleteIncidentEvent request
DeleteIncidentEventWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventResponse, error)
// GetIncidentEvents request
GetIncidentEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventsResponse, error)
// UpdateIncidentEvent request with any body
UpdateIncidentEventWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentEventResponse, error)
// ListIncidentEventFunctionalities request
ListIncidentEventFunctionalitiesWithResponse(ctx context.Context, incidentEventId string, params *ListIncidentEventFunctionalitiesParams, reqEditors ...RequestEditorFn) (*ListIncidentEventFunctionalitiesResponse, error)
// CreateIncidentEventFunctionality request with any body
CreateIncidentEventFunctionalityWithBodyWithResponse(ctx context.Context, incidentEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentEventFunctionalityResponse, error)
// ListIncidentEventServices request
ListIncidentEventServicesWithResponse(ctx context.Context, incidentEventId string, params *ListIncidentEventServicesParams, reqEditors ...RequestEditorFn) (*ListIncidentEventServicesResponse, error)
// CreateIncidentEventService request with any body
CreateIncidentEventServiceWithBodyWithResponse(ctx context.Context, incidentEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentEventServiceResponse, error)
// GetIncidentFeedbacks request
GetIncidentFeedbacksWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentFeedbacksResponse, error)
// UpdateIncidentFeedback request with any body
UpdateIncidentFeedbackWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentFeedbackResponse, error)
// DeleteFormFieldOption request
DeleteFormFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldOptionResponse, error)
// GetFormFieldOption request
GetFormFieldOptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldOptionResponse, error)
// UpdateFormFieldOption request with any body
UpdateFormFieldOptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFormFieldOptionResponse, error)
// DeleteFormFieldPosition request
DeleteFormFieldPositionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldPositionResponse, error)
// GetFormFieldPosition request
GetFormFieldPositionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldPositionResponse, error)
// UpdateFormFieldPosition request with any body
UpdateFormFieldPositionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFormFieldPositionResponse, error)
// ListFormFields request
ListFormFieldsWithResponse(ctx context.Context, params *ListFormFieldsParams, reqEditors ...RequestEditorFn) (*ListFormFieldsResponse, error)
// CreateFormField request with any body
CreateFormFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFormFieldResponse, error)
// ListFormFieldOptions request
ListFormFieldOptionsWithResponse(ctx context.Context, formFieldId string, params *ListFormFieldOptionsParams, reqEditors ...RequestEditorFn) (*ListFormFieldOptionsResponse, error)
// CreateFormFieldOption request with any body
CreateFormFieldOptionWithBodyWithResponse(ctx context.Context, formFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFormFieldOptionResponse, error)
// ListFormFieldPositions request
ListFormFieldPositionsWithResponse(ctx context.Context, formFieldId string, params *ListFormFieldPositionsParams, reqEditors ...RequestEditorFn) (*ListFormFieldPositionsResponse, error)
// CreateFormFieldPosition request with any body
CreateFormFieldPositionWithBodyWithResponse(ctx context.Context, formFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFormFieldPositionResponse, error)
// DeleteFormField request
DeleteFormFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFormFieldResponse, error)
// GetFormField request
GetFormFieldWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFormFieldResponse, error)
// UpdateFormField request with any body
UpdateFormFieldWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFormFieldResponse, error)
// ListFunctionalities request
ListFunctionalitiesWithResponse(ctx context.Context, params *ListFunctionalitiesParams, reqEditors ...RequestEditorFn) (*ListFunctionalitiesResponse, error)
// CreateFunctionality request with any body
CreateFunctionalityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionalityResponse, error)
// DeleteFunctionality request
DeleteFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteFunctionalityResponse, error)
// GetFunctionality request
GetFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetFunctionalityResponse, error)
// UpdateFunctionality request with any body
UpdateFunctionalityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionalityResponse, error)
// GetFunctionalityIncidentsChart request
GetFunctionalityIncidentsChartWithResponse(ctx context.Context, id string, params *GetFunctionalityIncidentsChartParams, reqEditors ...RequestEditorFn) (*GetFunctionalityIncidentsChartResponse, error)
// GetFunctionalityUptimeChart request
GetFunctionalityUptimeChartWithResponse(ctx context.Context, id string, params *GetFunctionalityUptimeChartParams, reqEditors ...RequestEditorFn) (*GetFunctionalityUptimeChartResponse, error)
// DeleteIncidentCustomFieldSelection request
DeleteIncidentCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentCustomFieldSelectionResponse, error)
// GetIncidentCustomFieldSelection request
GetIncidentCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentCustomFieldSelectionResponse, error)
// UpdateIncidentCustomFieldSelection request with any body
UpdateIncidentCustomFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentCustomFieldSelectionResponse, error)
// DeleteIncidentEventFunctionality request
DeleteIncidentEventFunctionalityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventFunctionalityResponse, error)
// GetIncidentEventFunctionalities request
GetIncidentEventFunctionalitiesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventFunctionalitiesResponse, error)
// UpdateIncidentEventFunctionality request with any body
UpdateIncidentEventFunctionalityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentEventFunctionalityResponse, error)
// DeleteIncidentEventService request
DeleteIncidentEventServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentEventServiceResponse, error)
// GetIncidentEventServices request
GetIncidentEventServicesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentEventServicesResponse, error)
// UpdateIncidentEventService request with any body
UpdateIncidentEventServiceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentEventServiceResponse, error)
// DeleteIncidentFormFieldSelection request
DeleteIncidentFormFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentFormFieldSelectionResponse, error)
// GetIncidentFormFieldSelection request
GetIncidentFormFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentFormFieldSelectionResponse, error)
// UpdateIncidentFormFieldSelection request with any body
UpdateIncidentFormFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentFormFieldSelectionResponse, error)
// DeleteIncidentRoleTask request
DeleteIncidentRoleTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentRoleTaskResponse, error)
// GetIncidentRoleTask request
GetIncidentRoleTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentRoleTaskResponse, error)
// UpdateIncidentRoleTask request with any body
UpdateIncidentRoleTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentRoleTaskResponse, error)
// ListIncidentRoles request
ListIncidentRolesWithResponse(ctx context.Context, params *ListIncidentRolesParams, reqEditors ...RequestEditorFn) (*ListIncidentRolesResponse, error)
// CreateIncidentRole request with any body
CreateIncidentRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentRoleResponse, error)
// DeleteIncidentRole request
DeleteIncidentRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentRoleResponse, error)
// GetIncidentRole request
GetIncidentRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentRoleResponse, error)
// UpdateIncidentRole request with any body
UpdateIncidentRoleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentRoleResponse, error)
// ListIncidentRoleTasks request
ListIncidentRoleTasksWithResponse(ctx context.Context, incidentRoleId string, params *ListIncidentRoleTasksParams, reqEditors ...RequestEditorFn) (*ListIncidentRoleTasksResponse, error)
// CreateIncidentRoleTask request with any body
CreateIncidentRoleTaskWithBodyWithResponse(ctx context.Context, incidentRoleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentRoleTaskResponse, error)
// ListIncidentTypes request
ListIncidentTypesWithResponse(ctx context.Context, params *ListIncidentTypesParams, reqEditors ...RequestEditorFn) (*ListIncidentTypesResponse, error)
// CreateIncidentType request with any body
CreateIncidentTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentTypeResponse, error)
// DeleteIncidentType request
DeleteIncidentTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentTypeResponse, error)
// GetIncidentType request
GetIncidentTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentTypeResponse, error)
// UpdateIncidentType request with any body
UpdateIncidentTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentTypeResponse, error)
// ListIncidents request
ListIncidentsWithResponse(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*ListIncidentsResponse, error)
// CreateIncident request with any body
CreateIncidentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentResponse, error)
// DeleteIncident request
DeleteIncidentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentResponse, error)
// GetIncident request
GetIncidentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentResponse, error)
// UpdateIncident request with any body
UpdateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentResponse, error)
// AddSubscribersToIncident request with any body
AddSubscribersToIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddSubscribersToIncidentResponse, error)
// CancelIncident request with any body
CancelIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelIncidentResponse, error)
// MarkAsDuplicateIncident request with any body
MarkAsDuplicateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkAsDuplicateIncidentResponse, error)
// TriageIncident request with any body
TriageIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TriageIncidentResponse, error)
// MitigateIncident request with any body
MitigateIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MitigateIncidentResponse, error)
// RemoveSubscribersToIncident request with any body
RemoveSubscribersToIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveSubscribersToIncidentResponse, error)
// ResolveIncident request with any body
ResolveIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveIncidentResponse, error)
// RestartIncident request with any body
RestartIncidentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestartIncidentResponse, error)
// ListIncidentActionItems request
ListIncidentActionItemsWithResponse(ctx context.Context, incidentId string, params *ListIncidentActionItemsParams, reqEditors ...RequestEditorFn) (*ListIncidentActionItemsResponse, error)
// CreateIncidentActionItem request with any body
CreateIncidentActionItemWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentActionItemResponse, error)
// ListIncidentAlerts request
ListIncidentAlertsWithResponse(ctx context.Context, incidentId string, params *ListIncidentAlertsParams, reqEditors ...RequestEditorFn) (*ListIncidentAlertsResponse, error)
// AttachAlert request with any body
AttachAlertWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachAlertResponse, error)
// ListIncidentCustomFieldSelections request
ListIncidentCustomFieldSelectionsWithResponse(ctx context.Context, incidentId string, params *ListIncidentCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*ListIncidentCustomFieldSelectionsResponse, error)
// CreateIncidentCustomFieldSelection request with any body
CreateIncidentCustomFieldSelectionWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentCustomFieldSelectionResponse, error)
// ListIncidentEvents request
ListIncidentEventsWithResponse(ctx context.Context, incidentId string, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*ListIncidentEventsResponse, error)
// CreateIncidentEvent request with any body
CreateIncidentEventWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentEventResponse, error)
// ListIncidentFeedbacks request
ListIncidentFeedbacksWithResponse(ctx context.Context, incidentId string, params *ListIncidentFeedbacksParams, reqEditors ...RequestEditorFn) (*ListIncidentFeedbacksResponse, error)
// CreateIncidentFeedback request with any body
CreateIncidentFeedbackWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentFeedbackResponse, error)
// ListIncidentFormFieldSelections request
ListIncidentFormFieldSelectionsWithResponse(ctx context.Context, incidentId string, params *ListIncidentFormFieldSelectionsParams, reqEditors ...RequestEditorFn) (*ListIncidentFormFieldSelectionsResponse, error)
// CreateIncidentFormFieldSelection request with any body
CreateIncidentFormFieldSelectionWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentFormFieldSelectionResponse, error)
// ListIncidentStatusPages request
ListIncidentStatusPagesWithResponse(ctx context.Context, incidentId string, params *ListIncidentStatusPagesParams, reqEditors ...RequestEditorFn) (*ListIncidentStatusPagesResponse, error)
// CreateIncidentStatusPage request with any body
CreateIncidentStatusPageWithBodyWithResponse(ctx context.Context, incidentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIncidentStatusPageResponse, error)
// GetIpRanges request
GetIpRangesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIpRangesResponse, error)
// DeletePlaybookTask request
DeletePlaybookTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlaybookTaskResponse, error)
// GetPlaybookTask request
GetPlaybookTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlaybookTaskResponse, error)
// UpdatePlaybookTask request with any body
UpdatePlaybookTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlaybookTaskResponse, error)
// ListPlaybooks request
ListPlaybooksWithResponse(ctx context.Context, params *ListPlaybooksParams, reqEditors ...RequestEditorFn) (*ListPlaybooksResponse, error)
// CreatePlaybook request with any body
CreatePlaybookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlaybookResponse, error)
// DeletePlaybook request
DeletePlaybookWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlaybookResponse, error)
// GetPlaybook request
GetPlaybookWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlaybookResponse, error)
// UpdatePlaybook request with any body
UpdatePlaybookWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlaybookResponse, error)
// ListPlaybookTasks request
ListPlaybookTasksWithResponse(ctx context.Context, playbookId string, params *ListPlaybookTasksParams, reqEditors ...RequestEditorFn) (*ListPlaybookTasksResponse, error)
// CreatePlaybookTask request with any body
CreatePlaybookTaskWithBodyWithResponse(ctx context.Context, playbookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlaybookTaskResponse, error)
// ListPostmortemTemplates request
ListPostmortemTemplatesWithResponse(ctx context.Context, params *ListPostmortemTemplatesParams, reqEditors ...RequestEditorFn) (*ListPostmortemTemplatesResponse, error)
// CreatePostmortemTemplate request with any body
CreatePostmortemTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePostmortemTemplateResponse, error)
// DeletePostmortemTemplate request
DeletePostmortemTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePostmortemTemplateResponse, error)
// GetPostmortemTemplate request
GetPostmortemTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPostmortemTemplateResponse, error)
// UpdatePostmortemTemplate request with any body
UpdatePostmortemTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostmortemTemplateResponse, error)
// ListIncidentPostMortems request
ListIncidentPostMortemsWithResponse(ctx context.Context, params *ListIncidentPostMortemsParams, reqEditors ...RequestEditorFn) (*ListIncidentPostMortemsResponse, error)
// ListIncidentPostmortem request
ListIncidentPostmortemWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListIncidentPostmortemResponse, error)
// UpdateIncidentPostmortem request with any body
UpdateIncidentPostmortemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentPostmortemResponse, error)
// ListPulses request
ListPulsesWithResponse(ctx context.Context, params *ListPulsesParams, reqEditors ...RequestEditorFn) (*ListPulsesResponse, error)
// CreatePulse request with any body
CreatePulseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePulseResponse, error)
// GetPulse request
GetPulseWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPulseResponse, error)
// UpdatePulse request with any body
UpdatePulseWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePulseResponse, error)
// ListRetrospectiveSteps request
ListRetrospectiveStepsWithResponse(ctx context.Context, params *ListRetrospectiveStepsParams, reqEditors ...RequestEditorFn) (*ListRetrospectiveStepsResponse, error)
// CreateRetrospectiveStep request with any body
CreateRetrospectiveStepWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRetrospectiveStepResponse, error)
// DeleteRetrospectiveStep request
DeleteRetrospectiveStepWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteRetrospectiveStepResponse, error)
// GetRetrospectiveStep request
GetRetrospectiveStepWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRetrospectiveStepResponse, error)
// UpdateRetrospectiveStep request with any body
UpdateRetrospectiveStepWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRetrospectiveStepResponse, error)
// ListSecrets request
ListSecretsWithResponse(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*ListSecretsResponse, error)
// CreateSecret request with any body
CreateSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretResponse, error)
// DeleteSecret request
DeleteSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecretResponse, error)
// GetSecret request
GetSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecretResponse, error)
// UpdateSecret request with any body
UpdateSecretWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretResponse, error)
// ListServices request
ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
// CreateService request with any body
CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
// DeleteService request
DeleteServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
// GetService request
GetServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
// UpdateService request with any body
UpdateServiceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
// GetServiceIncidentsChart request
GetServiceIncidentsChartWithResponse(ctx context.Context, id string, params *GetServiceIncidentsChartParams, reqEditors ...RequestEditorFn) (*GetServiceIncidentsChartResponse, error)
// GetServiceUptimeChart request
GetServiceUptimeChartWithResponse(ctx context.Context, id string, params *GetServiceUptimeChartParams, reqEditors ...RequestEditorFn) (*GetServiceUptimeChartResponse, error)
// ListSeverities request
ListSeveritiesWithResponse(ctx context.Context, params *ListSeveritiesParams, reqEditors ...RequestEditorFn) (*ListSeveritiesResponse, error)
// CreateSeverity request with any body
CreateSeverityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSeverityResponse, error)
// DeleteSeverity request
DeleteSeverityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSeverityResponse, error)
// GetSeverity request
GetSeverityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSeverityResponse, error)
// UpdateSeverity request with any body
UpdateSeverityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSeverityResponse, error)
// DeleteIncidentStatusPage request
DeleteIncidentStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIncidentStatusPageResponse, error)
// GetIncidentStatusPages request
GetIncidentStatusPagesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIncidentStatusPagesResponse, error)
// UpdateIncidentStatusPage request with any body
UpdateIncidentStatusPageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIncidentStatusPageResponse, error)
// ListStatusPages request
ListStatusPagesWithResponse(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*ListStatusPagesResponse, error)
// CreateStatusPage request with any body
CreateStatusPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResponse, error)
// DeleteStatusPage request
DeleteStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStatusPageResponse, error)
// GetStatusPage request
GetStatusPageWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStatusPageResponse, error)
// UpdateStatusPage request with any body
UpdateStatusPageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResponse, error)
// ListStatusPageTemplates request
ListStatusPageTemplatesWithResponse(ctx context.Context, statusPageId string, params *ListStatusPageTemplatesParams, reqEditors ...RequestEditorFn) (*ListStatusPageTemplatesResponse, error)
// CreateStatusPageTemplate request with any body
CreateStatusPageTemplateWithBodyWithResponse(ctx context.Context, statusPageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageTemplateResponse, error)
// ListTeams request
ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
// CreateTeam request with any body
CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)
// DeleteTeam request
DeleteTeamWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
// GetTeam request
GetTeamWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
// UpdateTeam request with any body
UpdateTeamWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)
// DeleteStatusPageTemplate request
DeleteStatusPageTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStatusPageTemplateResponse, error)
// GetStatusPageTemplate request
GetStatusPageTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStatusPageTemplateResponse, error)
// UpdateStatusPageTemplate request with any body
UpdateStatusPageTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageTemplateResponse, error)
// ListUsers request
ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
// GetCurrentUser request
GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
// DeleteUser request
DeleteUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
// GetUser request
GetUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
// GetWebhooksDelivery request
GetWebhooksDeliveryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWebhooksDeliveryResponse, error)
// DeliverWebhooksDelivery request
DeliverWebhooksDeliveryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeliverWebhooksDeliveryResponse, error)
// ListWebhooksEndpoints request
ListWebhooksEndpointsWithResponse(ctx context.Context, params *ListWebhooksEndpointsParams, reqEditors ...RequestEditorFn) (*ListWebhooksEndpointsResponse, error)
// CreateWebhooksEndpoint request with any body
CreateWebhooksEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhooksEndpointResponse, error)
// ListWebhooksDeliveries request
ListWebhooksDeliveriesWithResponse(ctx context.Context, endpointId string, params *ListWebhooksDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhooksDeliveriesResponse, error)
// DeleteWebhooksEndpoint request
DeleteWebhooksEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWebhooksEndpointResponse, error)
// GetWebhooksEndpoint request
GetWebhooksEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWebhooksEndpointResponse, error)
// UpdateWebhooksEndpoint request with any body
UpdateWebhooksEndpointWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhooksEndpointResponse, error)
// DeleteWorkflowCustomFieldSelection request
DeleteWorkflowCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowCustomFieldSelectionResponse, error)
// GetWorkflowCustomFieldSelection request
GetWorkflowCustomFieldSelectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowCustomFieldSelectionResponse, error)
// UpdateWorkflowCustomFieldSelection request with any body
UpdateWorkflowCustomFieldSelectionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowCustomFieldSelectionResponse, error)
// DeleteWorkflowFormFieldCondition request
DeleteWorkflowFormFieldConditionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowFormFieldConditionResponse, error)
// GetWorkflowFormFieldCondition request
GetWorkflowFormFieldConditionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowFormFieldConditionResponse, error)
// UpdateWorkflowFormFieldCondition request with any body
UpdateWorkflowFormFieldConditionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowFormFieldConditionResponse, error)
// ListWorkflowGroups request
ListWorkflowGroupsWithResponse(ctx context.Context, params *ListWorkflowGroupsParams, reqEditors ...RequestEditorFn) (*ListWorkflowGroupsResponse, error)
// CreateWorkflowGroup request with any body
CreateWorkflowGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowGroupResponse, error)
// DeleteWorkflowGroup request
DeleteWorkflowGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowGroupResponse, error)
// GetWorkflowGroup request
GetWorkflowGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowGroupResponse, error)
// UpdateWorkflowGroup request with any body
UpdateWorkflowGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowGroupResponse, error)
// DeleteWorkflowTask request
DeleteWorkflowTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowTaskResponse, error)
// GetWorkflowTask request
GetWorkflowTaskWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowTaskResponse, error)
// UpdateWorkflowTask request with any body
UpdateWorkflowTaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowTaskResponse, error)
// ListWorkflows request
ListWorkflowsWithResponse(ctx context.Context, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)
// CreateWorkflow request with any body
CreateWorkflowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowResponse, error)
// DeleteWorkflow request
DeleteWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)
// GetWorkflow request
GetWorkflowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
// UpdateWorkflow request with any body
UpdateWorkflowWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowResponse, error)
// ListWorkflowCustomFieldSelections request
ListWorkflowCustomFieldSelectionsWithResponse(ctx context.Context, workflowId string, params *ListWorkflowCustomFieldSelectionsParams, reqEditors ...RequestEditorFn) (*ListWorkflowCustomFieldSelectionsResponse, error)
// CreateWorkflowCustomFieldSelection request with any body
CreateWorkflowCustomFieldSelectionWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowCustomFieldSelectionResponse, error)
// ListWorkflowFormFieldConditions request
ListWorkflowFormFieldConditionsWithResponse(ctx context.Context, workflowId string, params *ListWorkflowFormFieldConditionsParams, reqEditors ...RequestEditorFn) (*ListWorkflowFormFieldConditionsResponse, error)
// CreateWorkflowFormFieldCondition request with any body
CreateWorkflowFormFieldConditionWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowFormFieldConditionResponse, error)
// ListWorkflowRuns request
ListWorkflowRunsWithResponse(ctx context.Context, workflowId string, params *ListWorkflowRunsParams, reqEditors ...RequestEditorFn) (*ListWorkflowRunsResponse, error)
// CreateWorkflowRun request with any body
CreateWorkflowRunWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowRunResponse, error)
// ListWorkflowTasks request
ListWorkflowTasksWithResponse(ctx context.Context, workflowId string, params *ListWorkflowTasksParams, reqEditors ...RequestEditorFn) (*ListWorkflowTasksResponse, error)
// CreateWorkflowTask request with any body
CreateWorkflowTaskWithBodyWithResponse(ctx context.Context, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowTaskResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateAirtableTableRecordTaskParams ¶
type CreateAirtableTableRecordTaskParams struct {
Base struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"base"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
Table struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"table"`
TaskType *CreateAirtableTableRecordTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateAirtableTableRecordTaskParams defines model for create_airtable_table_record_task_params.
type CreateAirtableTableRecordTaskParamsTaskType ¶
type CreateAirtableTableRecordTaskParamsTaskType string
CreateAirtableTableRecordTaskParamsTaskType defines model for CreateAirtableTableRecordTaskParams.TaskType.
const (
CreateAirtableTableRecord CreateAirtableTableRecordTaskParamsTaskType = "create_airtable_table_record"
)
Defines values for CreateAirtableTableRecordTaskParamsTaskType.
type CreateAlertResponse ¶
func ParseCreateAlertResponse ¶
func ParseCreateAlertResponse(rsp *http.Response) (*CreateAlertResponse, error)
ParseCreateAlertResponse parses an HTTP response from a CreateAlertWithResponse call
func (CreateAlertResponse) Status ¶
func (r CreateAlertResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAlertResponse) StatusCode ¶
func (r CreateAlertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAsanaSubtaskTaskParams ¶
type CreateAsanaSubtaskTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
Completion struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
DependencyDirection *CreateAsanaSubtaskTaskParamsDependencyDirection `json:"dependency_direction,omitempty"`
// Dependent task ids. Supports liquid syntax
DependentTaskIds *[]string `json:"dependent_task_ids"`
Notes *string `json:"notes,omitempty"`
// The parent task id
ParentTaskId string `json:"parent_task_id"`
TaskType *CreateAsanaSubtaskTaskParamsTaskType `json:"task_type,omitempty"`
// The subtask title
Title string `json:"title"`
}
CreateAsanaSubtaskTaskParams defines model for create_asana_subtask_task_params.
type CreateAsanaSubtaskTaskParamsDependencyDirection ¶ added in v0.1.80
type CreateAsanaSubtaskTaskParamsDependencyDirection string
CreateAsanaSubtaskTaskParamsDependencyDirection defines model for CreateAsanaSubtaskTaskParams.DependencyDirection.
const ( CreateAsanaSubtaskTaskParamsDependencyDirectionBlockedBy CreateAsanaSubtaskTaskParamsDependencyDirection = "blocked_by" CreateAsanaSubtaskTaskParamsDependencyDirectionBlocking CreateAsanaSubtaskTaskParamsDependencyDirection = "blocking" )
Defines values for CreateAsanaSubtaskTaskParamsDependencyDirection.
type CreateAsanaSubtaskTaskParamsTaskType ¶
type CreateAsanaSubtaskTaskParamsTaskType string
CreateAsanaSubtaskTaskParamsTaskType defines model for CreateAsanaSubtaskTaskParams.TaskType.
const (
CreateAsanaSubtask CreateAsanaSubtaskTaskParamsTaskType = "create_asana_subtask"
)
Defines values for CreateAsanaSubtaskTaskParamsTaskType.
type CreateAsanaTaskTaskParams ¶
type CreateAsanaTaskTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
Completion struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
DependencyDirection *CreateAsanaTaskTaskParamsDependencyDirection `json:"dependency_direction,omitempty"`
// Dependent task ids. Supports liquid syntax
DependentTaskIds *[]string `json:"dependent_task_ids"`
Notes *string `json:"notes,omitempty"`
Projects []struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"projects"`
TaskType *CreateAsanaTaskTaskParamsTaskType `json:"task_type,omitempty"`
// The task title
Title string `json:"title"`
Workspace struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"workspace"`
}
CreateAsanaTaskTaskParams defines model for create_asana_task_task_params.
type CreateAsanaTaskTaskParamsDependencyDirection ¶ added in v0.1.80
type CreateAsanaTaskTaskParamsDependencyDirection string
CreateAsanaTaskTaskParamsDependencyDirection defines model for CreateAsanaTaskTaskParams.DependencyDirection.
const ( CreateAsanaTaskTaskParamsDependencyDirectionBlockedBy CreateAsanaTaskTaskParamsDependencyDirection = "blocked_by" CreateAsanaTaskTaskParamsDependencyDirectionBlocking CreateAsanaTaskTaskParamsDependencyDirection = "blocking" )
Defines values for CreateAsanaTaskTaskParamsDependencyDirection.
type CreateAsanaTaskTaskParamsTaskType ¶
type CreateAsanaTaskTaskParamsTaskType string
CreateAsanaTaskTaskParamsTaskType defines model for CreateAsanaTaskTaskParams.TaskType.
const (
CreateAsanaTask CreateAsanaTaskTaskParamsTaskType = "create_asana_task"
)
Defines values for CreateAsanaTaskTaskParamsTaskType.
type CreateCauseResponse ¶
func ParseCreateCauseResponse ¶
func ParseCreateCauseResponse(rsp *http.Response) (*CreateCauseResponse, error)
ParseCreateCauseResponse parses an HTTP response from a CreateCauseWithResponse call
func (CreateCauseResponse) Status ¶
func (r CreateCauseResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCauseResponse) StatusCode ¶
func (r CreateCauseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateClickupTaskTaskParams ¶ added in v1.1.7
type CreateClickupTaskTaskParams struct {
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The task description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The task tags
Tags *string `json:"tags,omitempty"`
// Additional ClickUp task attributes. Will be merged into whatever was specified in this tasks current parameters. Can contain liquid markup and need to be valid JSON
TaskPayload *string `json:"task_payload"`
TaskType *CreateClickupTaskTaskParamsTaskType `json:"task_type,omitempty"`
// The task title
Title string `json:"title"`
}
CreateClickupTaskTaskParams defines model for create_clickup_task_task_params.
type CreateClickupTaskTaskParamsTaskType ¶ added in v1.1.7
type CreateClickupTaskTaskParamsTaskType string
CreateClickupTaskTaskParamsTaskType defines model for CreateClickupTaskTaskParams.TaskType.
const (
CreateClickupTask CreateClickupTaskTaskParamsTaskType = "create_clickup_task"
)
Defines values for CreateClickupTaskTaskParamsTaskType.
type CreateConfluencePageTaskParams ¶
type CreateConfluencePageTaskParams struct {
Ancestor *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"ancestor,omitempty"`
// The page content
Content *string `json:"content,omitempty"`
// Specify integration id if you have more than one Confluence instance
Integration *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"integration,omitempty"`
MarkPostMortemAsPublished *bool `json:"mark_post_mortem_as_published,omitempty"`
// The Retrospective template to use
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
Space struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"space"`
TaskType *CreateConfluencePageTaskParamsTaskType `json:"task_type,omitempty"`
Template *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"template,omitempty"`
// The page title
Title string `json:"title"`
}
CreateConfluencePageTaskParams defines model for create_confluence_page_task_params.
type CreateConfluencePageTaskParamsTaskType ¶
type CreateConfluencePageTaskParamsTaskType string
CreateConfluencePageTaskParamsTaskType defines model for CreateConfluencePageTaskParams.TaskType.
const (
CreateConfluencePage CreateConfluencePageTaskParamsTaskType = "create_confluence_page"
)
Defines values for CreateConfluencePageTaskParamsTaskType.
type CreateCustomFieldOptionResponse ¶
func ParseCreateCustomFieldOptionResponse ¶
func ParseCreateCustomFieldOptionResponse(rsp *http.Response) (*CreateCustomFieldOptionResponse, error)
ParseCreateCustomFieldOptionResponse parses an HTTP response from a CreateCustomFieldOptionWithResponse call
func (CreateCustomFieldOptionResponse) Status ¶
func (r CreateCustomFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCustomFieldOptionResponse) StatusCode ¶
func (r CreateCustomFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCustomFieldResponse ¶
func ParseCreateCustomFieldResponse ¶
func ParseCreateCustomFieldResponse(rsp *http.Response) (*CreateCustomFieldResponse, error)
ParseCreateCustomFieldResponse parses an HTTP response from a CreateCustomFieldWithResponse call
func (CreateCustomFieldResponse) Status ¶
func (r CreateCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCustomFieldResponse) StatusCode ¶
func (r CreateCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDashboardPanelResponse ¶
func ParseCreateDashboardPanelResponse ¶
func ParseCreateDashboardPanelResponse(rsp *http.Response) (*CreateDashboardPanelResponse, error)
ParseCreateDashboardPanelResponse parses an HTTP response from a CreateDashboardPanelWithResponse call
func (CreateDashboardPanelResponse) Status ¶
func (r CreateDashboardPanelResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDashboardPanelResponse) StatusCode ¶
func (r CreateDashboardPanelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDashboardResponse ¶
func ParseCreateDashboardResponse ¶
func ParseCreateDashboardResponse(rsp *http.Response) (*CreateDashboardResponse, error)
ParseCreateDashboardResponse parses an HTTP response from a CreateDashboardWithResponse call
func (CreateDashboardResponse) Status ¶
func (r CreateDashboardResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDashboardResponse) StatusCode ¶
func (r CreateDashboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatadogNotebookTaskParams ¶
type CreateDatadogNotebookTaskParams struct {
// The notebook content
Content *string `json:"content,omitempty"`
// The notebook kind
Kind CreateDatadogNotebookTaskParamsKind `json:"kind"`
MarkPostMortemAsPublished *bool `json:"mark_post_mortem_as_published,omitempty"`
// Retrospective template to use when creating notebook, if desired
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
TaskType *CreateDatadogNotebookTaskParamsTaskType `json:"task_type,omitempty"`
Template *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"template,omitempty"`
// The notebook title
Title string `json:"title"`
}
CreateDatadogNotebookTaskParams defines model for create_datadog_notebook_task_params.
type CreateDatadogNotebookTaskParamsKind ¶
type CreateDatadogNotebookTaskParamsKind string
The notebook kind
const ( Documentation CreateDatadogNotebookTaskParamsKind = "documentation" Investigation CreateDatadogNotebookTaskParamsKind = "investigation" Postmortem CreateDatadogNotebookTaskParamsKind = "postmortem" Report CreateDatadogNotebookTaskParamsKind = "report" Runbook CreateDatadogNotebookTaskParamsKind = "runbook" )
Defines values for CreateDatadogNotebookTaskParamsKind.
type CreateDatadogNotebookTaskParamsTaskType ¶
type CreateDatadogNotebookTaskParamsTaskType string
CreateDatadogNotebookTaskParamsTaskType defines model for CreateDatadogNotebookTaskParams.TaskType.
const (
CreateDatadogNotebook CreateDatadogNotebookTaskParamsTaskType = "create_datadog_notebook"
)
Defines values for CreateDatadogNotebookTaskParamsTaskType.
type CreateDropboxPaperPageTaskParams ¶
type CreateDropboxPaperPageTaskParams struct {
// The page content
Content *string `json:"content,omitempty"`
MarkPostMortemAsPublished *bool `json:"mark_post_mortem_as_published,omitempty"`
Namespace *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"namespace,omitempty"`
ParentFolder *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"parent_folder,omitempty"`
// Retrospective template to use when creating page task, if desired
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
TaskType *CreateDropboxPaperPageTaskParamsTaskType `json:"task_type,omitempty"`
// The page task title
Title string `json:"title"`
}
CreateDropboxPaperPageTaskParams defines model for create_dropbox_paper_page_task_params.
type CreateDropboxPaperPageTaskParamsTaskType ¶
type CreateDropboxPaperPageTaskParamsTaskType string
CreateDropboxPaperPageTaskParamsTaskType defines model for CreateDropboxPaperPageTaskParams.TaskType.
const (
CreateDropboxPaperPage CreateDropboxPaperPageTaskParamsTaskType = "create_dropbox_paper_page"
)
Defines values for CreateDropboxPaperPageTaskParamsTaskType.
type CreateEnvironmentResponse ¶
func ParseCreateEnvironmentResponse ¶
func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error)
ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call
func (CreateEnvironmentResponse) Status ¶
func (r CreateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEnvironmentResponse) StatusCode ¶
func (r CreateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFormFieldOptionResponse ¶ added in v0.1.48
func ParseCreateFormFieldOptionResponse ¶ added in v0.1.48
func ParseCreateFormFieldOptionResponse(rsp *http.Response) (*CreateFormFieldOptionResponse, error)
ParseCreateFormFieldOptionResponse parses an HTTP response from a CreateFormFieldOptionWithResponse call
func (CreateFormFieldOptionResponse) Status ¶ added in v0.1.48
func (r CreateFormFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFormFieldOptionResponse) StatusCode ¶ added in v0.1.48
func (r CreateFormFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFormFieldPositionResponse ¶ added in v0.1.48
func ParseCreateFormFieldPositionResponse ¶ added in v0.1.48
func ParseCreateFormFieldPositionResponse(rsp *http.Response) (*CreateFormFieldPositionResponse, error)
ParseCreateFormFieldPositionResponse parses an HTTP response from a CreateFormFieldPositionWithResponse call
func (CreateFormFieldPositionResponse) Status ¶ added in v0.1.48
func (r CreateFormFieldPositionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFormFieldPositionResponse) StatusCode ¶ added in v0.1.48
func (r CreateFormFieldPositionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFormFieldResponse ¶ added in v0.1.48
func ParseCreateFormFieldResponse ¶ added in v0.1.48
func ParseCreateFormFieldResponse(rsp *http.Response) (*CreateFormFieldResponse, error)
ParseCreateFormFieldResponse parses an HTTP response from a CreateFormFieldWithResponse call
func (CreateFormFieldResponse) Status ¶ added in v0.1.48
func (r CreateFormFieldResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFormFieldResponse) StatusCode ¶ added in v0.1.48
func (r CreateFormFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionalityResponse ¶
func ParseCreateFunctionalityResponse ¶
func ParseCreateFunctionalityResponse(rsp *http.Response) (*CreateFunctionalityResponse, error)
ParseCreateFunctionalityResponse parses an HTTP response from a CreateFunctionalityWithResponse call
func (CreateFunctionalityResponse) Status ¶
func (r CreateFunctionalityResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFunctionalityResponse) StatusCode ¶
func (r CreateFunctionalityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGithubIssueTaskParams ¶
type CreateGithubIssueTaskParams struct {
// The issue body
Body *string `json:"body,omitempty"`
Repository struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"repository"`
TaskType *CreateGithubIssueTaskParamsTaskType `json:"task_type,omitempty"`
// The issue title
Title string `json:"title"`
}
CreateGithubIssueTaskParams defines model for create_github_issue_task_params.
type CreateGithubIssueTaskParamsTaskType ¶
type CreateGithubIssueTaskParamsTaskType string
CreateGithubIssueTaskParamsTaskType defines model for CreateGithubIssueTaskParams.TaskType.
const (
CreateGithubIssue CreateGithubIssueTaskParamsTaskType = "create_github_issue"
)
Defines values for CreateGithubIssueTaskParamsTaskType.
type CreateGoToMeetingTaskParams ¶ added in v0.1.12
type CreateGoToMeetingTaskParams struct {
ConferenceCallInfo *CreateGoToMeetingTaskParamsConferenceCallInfo `json:"conference_call_info"`
PasswordRequired *bool `json:"password_required"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
// The meeting subject
Subject string `json:"subject"`
TaskType *CreateGoToMeetingTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateGoToMeetingTaskParams defines model for create_go_to_meeting_task_params.
type CreateGoToMeetingTaskParamsConferenceCallInfo ¶ added in v0.1.12
type CreateGoToMeetingTaskParamsConferenceCallInfo string
CreateGoToMeetingTaskParamsConferenceCallInfo defines model for CreateGoToMeetingTaskParams.ConferenceCallInfo.
const ( Free CreateGoToMeetingTaskParamsConferenceCallInfo = "free" Hyrid CreateGoToMeetingTaskParamsConferenceCallInfo = "hyrid" Ptsn CreateGoToMeetingTaskParamsConferenceCallInfo = "ptsn" Voip CreateGoToMeetingTaskParamsConferenceCallInfo = "voip" )
Defines values for CreateGoToMeetingTaskParamsConferenceCallInfo.
type CreateGoToMeetingTaskParamsTaskType ¶ added in v0.1.12
type CreateGoToMeetingTaskParamsTaskType string
CreateGoToMeetingTaskParamsTaskType defines model for CreateGoToMeetingTaskParams.TaskType.
const (
CreateGoToMeetingTask CreateGoToMeetingTaskParamsTaskType = "create_go_to_meeting_task"
)
Defines values for CreateGoToMeetingTaskParamsTaskType.
type CreateGoogleCalendarEventTaskParams ¶
type CreateGoogleCalendarEventTaskParams struct {
// Emails of attendees
Attendees []string `json:"attendees"`
CanGuestsInviteOthers *bool `json:"can_guests_invite_others,omitempty"`
CanGuestsModifyEvent *bool `json:"can_guests_modify_event,omitempty"`
CanGuestsSeeOtherGuests *bool `json:"can_guests_see_other_guests,omitempty"`
// Sets the video conference type attached to the meeting
ConferenceSolutionKey *CreateGoogleCalendarEventTaskParamsConferenceSolutionKey `json:"conference_solution_key"`
// The days until meeting
DaysUntilMeeting float32 `json:"days_until_meeting"`
// The event description
Description string `json:"description"`
ExcludeWeekends *bool `json:"exclude_weekends,omitempty"`
// Meeting duration in format like '1 hour', '30 minutes'
MeetingDuration string `json:"meeting_duration"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
// Send an email to the attendees notifying them of the event
SendUpdates *bool `json:"send_updates,omitempty"`
// The event summary
Summary string `json:"summary"`
TaskType *CreateGoogleCalendarEventTaskParamsTaskType `json:"task_type,omitempty"`
// Time of meeting in format HH:MM
TimeOfMeeting string `json:"time_of_meeting"`
TimeZone *CreateGoogleCalendarEventTaskParamsTimeZone `json:"time_zone"`
}
CreateGoogleCalendarEventTaskParams defines model for create_google_calendar_event_task_params.
type CreateGoogleCalendarEventTaskParamsConferenceSolutionKey ¶ added in v0.1.20
type CreateGoogleCalendarEventTaskParamsConferenceSolutionKey string
Sets the video conference type attached to the meeting
const ( CreateGoogleCalendarEventTaskParamsConferenceSolutionKeyAddOn CreateGoogleCalendarEventTaskParamsConferenceSolutionKey = "addOn" CreateGoogleCalendarEventTaskParamsConferenceSolutionKeyEventHangout CreateGoogleCalendarEventTaskParamsConferenceSolutionKey = "eventHangout" CreateGoogleCalendarEventTaskParamsConferenceSolutionKeyEventNamedHangout CreateGoogleCalendarEventTaskParamsConferenceSolutionKey = "eventNamedHangout" CreateGoogleCalendarEventTaskParamsConferenceSolutionKeyHangoutsMeet CreateGoogleCalendarEventTaskParamsConferenceSolutionKey = "hangoutsMeet" )
Defines values for CreateGoogleCalendarEventTaskParamsConferenceSolutionKey.
type CreateGoogleCalendarEventTaskParamsTaskType ¶
type CreateGoogleCalendarEventTaskParamsTaskType string
CreateGoogleCalendarEventTaskParamsTaskType defines model for CreateGoogleCalendarEventTaskParams.TaskType.
const (
CreateGoogleCalendarEventTaskParamsTaskTypeCreateGoogleCalendarEvent CreateGoogleCalendarEventTaskParamsTaskType = "create_google_calendar_event"
)
Defines values for CreateGoogleCalendarEventTaskParamsTaskType.
type CreateGoogleCalendarEventTaskParamsTimeZone ¶ added in v0.1.12
type CreateGoogleCalendarEventTaskParamsTimeZone string
CreateGoogleCalendarEventTaskParamsTimeZone defines model for CreateGoogleCalendarEventTaskParams.TimeZone.
const ( CreateGoogleCalendarEventTaskParamsTimeZoneAbuDhabi CreateGoogleCalendarEventTaskParamsTimeZone = "Abu Dhabi" CreateGoogleCalendarEventTaskParamsTimeZoneAdelaide CreateGoogleCalendarEventTaskParamsTimeZone = "Adelaide" CreateGoogleCalendarEventTaskParamsTimeZoneAlaska CreateGoogleCalendarEventTaskParamsTimeZone = "Alaska" CreateGoogleCalendarEventTaskParamsTimeZoneAlmaty CreateGoogleCalendarEventTaskParamsTimeZone = "Almaty" CreateGoogleCalendarEventTaskParamsTimeZoneAmericanSamoa CreateGoogleCalendarEventTaskParamsTimeZone = "American Samoa" CreateGoogleCalendarEventTaskParamsTimeZoneAmsterdam CreateGoogleCalendarEventTaskParamsTimeZone = "Amsterdam" CreateGoogleCalendarEventTaskParamsTimeZoneArizona CreateGoogleCalendarEventTaskParamsTimeZone = "Arizona" CreateGoogleCalendarEventTaskParamsTimeZoneAstana CreateGoogleCalendarEventTaskParamsTimeZone = "Astana" CreateGoogleCalendarEventTaskParamsTimeZoneAthens CreateGoogleCalendarEventTaskParamsTimeZone = "Athens" CreateGoogleCalendarEventTaskParamsTimeZoneAtlanticTimeCanada CreateGoogleCalendarEventTaskParamsTimeZone = "Atlantic Time (Canada)" CreateGoogleCalendarEventTaskParamsTimeZoneAuckland CreateGoogleCalendarEventTaskParamsTimeZone = "Auckland" CreateGoogleCalendarEventTaskParamsTimeZoneAzores CreateGoogleCalendarEventTaskParamsTimeZone = "Azores" CreateGoogleCalendarEventTaskParamsTimeZoneBaghdad CreateGoogleCalendarEventTaskParamsTimeZone = "Baghdad" CreateGoogleCalendarEventTaskParamsTimeZoneBaku CreateGoogleCalendarEventTaskParamsTimeZone = "Baku" CreateGoogleCalendarEventTaskParamsTimeZoneBangkok CreateGoogleCalendarEventTaskParamsTimeZone = "Bangkok" CreateGoogleCalendarEventTaskParamsTimeZoneBeijing CreateGoogleCalendarEventTaskParamsTimeZone = "Beijing" CreateGoogleCalendarEventTaskParamsTimeZoneBelgrade CreateGoogleCalendarEventTaskParamsTimeZone = "Belgrade" CreateGoogleCalendarEventTaskParamsTimeZoneBerlin CreateGoogleCalendarEventTaskParamsTimeZone = "Berlin" CreateGoogleCalendarEventTaskParamsTimeZoneBern CreateGoogleCalendarEventTaskParamsTimeZone = "Bern" CreateGoogleCalendarEventTaskParamsTimeZoneBogota CreateGoogleCalendarEventTaskParamsTimeZone = "Bogota" CreateGoogleCalendarEventTaskParamsTimeZoneBrasilia CreateGoogleCalendarEventTaskParamsTimeZone = "Brasilia" CreateGoogleCalendarEventTaskParamsTimeZoneBratislava CreateGoogleCalendarEventTaskParamsTimeZone = "Bratislava" CreateGoogleCalendarEventTaskParamsTimeZoneBrisbane CreateGoogleCalendarEventTaskParamsTimeZone = "Brisbane" CreateGoogleCalendarEventTaskParamsTimeZoneBrussels CreateGoogleCalendarEventTaskParamsTimeZone = "Brussels" CreateGoogleCalendarEventTaskParamsTimeZoneBucharest CreateGoogleCalendarEventTaskParamsTimeZone = "Bucharest" CreateGoogleCalendarEventTaskParamsTimeZoneBudapest CreateGoogleCalendarEventTaskParamsTimeZone = "Budapest" CreateGoogleCalendarEventTaskParamsTimeZoneBuenosAires CreateGoogleCalendarEventTaskParamsTimeZone = "Buenos Aires" CreateGoogleCalendarEventTaskParamsTimeZoneCairo CreateGoogleCalendarEventTaskParamsTimeZone = "Cairo" CreateGoogleCalendarEventTaskParamsTimeZoneCanberra CreateGoogleCalendarEventTaskParamsTimeZone = "Canberra" CreateGoogleCalendarEventTaskParamsTimeZoneCapeVerdeIs CreateGoogleCalendarEventTaskParamsTimeZone = "Cape Verde Is." CreateGoogleCalendarEventTaskParamsTimeZoneCaracas CreateGoogleCalendarEventTaskParamsTimeZone = "Caracas" CreateGoogleCalendarEventTaskParamsTimeZoneCasablanca CreateGoogleCalendarEventTaskParamsTimeZone = "Casablanca" CreateGoogleCalendarEventTaskParamsTimeZoneCentralAmerica CreateGoogleCalendarEventTaskParamsTimeZone = "Central America" CreateGoogleCalendarEventTaskParamsTimeZoneCentralTimeUSCanada CreateGoogleCalendarEventTaskParamsTimeZone = "Central Time (US & Canada)" CreateGoogleCalendarEventTaskParamsTimeZoneChathamIs CreateGoogleCalendarEventTaskParamsTimeZone = "Chatham Is." CreateGoogleCalendarEventTaskParamsTimeZoneChennai CreateGoogleCalendarEventTaskParamsTimeZone = "Chennai" CreateGoogleCalendarEventTaskParamsTimeZoneChihuahua CreateGoogleCalendarEventTaskParamsTimeZone = "Chihuahua" CreateGoogleCalendarEventTaskParamsTimeZoneChongqing CreateGoogleCalendarEventTaskParamsTimeZone = "Chongqing" CreateGoogleCalendarEventTaskParamsTimeZoneCopenhagen CreateGoogleCalendarEventTaskParamsTimeZone = "Copenhagen" CreateGoogleCalendarEventTaskParamsTimeZoneDarwin CreateGoogleCalendarEventTaskParamsTimeZone = "Darwin" CreateGoogleCalendarEventTaskParamsTimeZoneDhaka CreateGoogleCalendarEventTaskParamsTimeZone = "Dhaka" CreateGoogleCalendarEventTaskParamsTimeZoneDublin CreateGoogleCalendarEventTaskParamsTimeZone = "Dublin" CreateGoogleCalendarEventTaskParamsTimeZoneEasternTimeUSCanada CreateGoogleCalendarEventTaskParamsTimeZone = "Eastern Time (US & Canada)" CreateGoogleCalendarEventTaskParamsTimeZoneEdinburgh CreateGoogleCalendarEventTaskParamsTimeZone = "Edinburgh" CreateGoogleCalendarEventTaskParamsTimeZoneEkaterinburg CreateGoogleCalendarEventTaskParamsTimeZone = "Ekaterinburg" CreateGoogleCalendarEventTaskParamsTimeZoneFiji CreateGoogleCalendarEventTaskParamsTimeZone = "Fiji" CreateGoogleCalendarEventTaskParamsTimeZoneGeorgetown CreateGoogleCalendarEventTaskParamsTimeZone = "Georgetown" CreateGoogleCalendarEventTaskParamsTimeZoneGreenland CreateGoogleCalendarEventTaskParamsTimeZone = "Greenland" CreateGoogleCalendarEventTaskParamsTimeZoneGuadalajara CreateGoogleCalendarEventTaskParamsTimeZone = "Guadalajara" CreateGoogleCalendarEventTaskParamsTimeZoneGuam CreateGoogleCalendarEventTaskParamsTimeZone = "Guam" CreateGoogleCalendarEventTaskParamsTimeZoneHanoi CreateGoogleCalendarEventTaskParamsTimeZone = "Hanoi" CreateGoogleCalendarEventTaskParamsTimeZoneHarare CreateGoogleCalendarEventTaskParamsTimeZone = "Harare" CreateGoogleCalendarEventTaskParamsTimeZoneHawaii CreateGoogleCalendarEventTaskParamsTimeZone = "Hawaii" CreateGoogleCalendarEventTaskParamsTimeZoneHelsinki CreateGoogleCalendarEventTaskParamsTimeZone = "Helsinki" CreateGoogleCalendarEventTaskParamsTimeZoneHobart CreateGoogleCalendarEventTaskParamsTimeZone = "Hobart" CreateGoogleCalendarEventTaskParamsTimeZoneHongKong CreateGoogleCalendarEventTaskParamsTimeZone = "Hong Kong" CreateGoogleCalendarEventTaskParamsTimeZoneIndianaEast CreateGoogleCalendarEventTaskParamsTimeZone = "Indiana (East)" CreateGoogleCalendarEventTaskParamsTimeZoneInternationalDateLineWest CreateGoogleCalendarEventTaskParamsTimeZone = "International Date Line West" CreateGoogleCalendarEventTaskParamsTimeZoneIrkutsk CreateGoogleCalendarEventTaskParamsTimeZone = "Irkutsk" CreateGoogleCalendarEventTaskParamsTimeZoneIslamabad CreateGoogleCalendarEventTaskParamsTimeZone = "Islamabad" CreateGoogleCalendarEventTaskParamsTimeZoneIstanbul CreateGoogleCalendarEventTaskParamsTimeZone = "Istanbul" CreateGoogleCalendarEventTaskParamsTimeZoneJakarta CreateGoogleCalendarEventTaskParamsTimeZone = "Jakarta" CreateGoogleCalendarEventTaskParamsTimeZoneJerusalem CreateGoogleCalendarEventTaskParamsTimeZone = "Jerusalem" CreateGoogleCalendarEventTaskParamsTimeZoneKabul CreateGoogleCalendarEventTaskParamsTimeZone = "Kabul" CreateGoogleCalendarEventTaskParamsTimeZoneKaliningrad CreateGoogleCalendarEventTaskParamsTimeZone = "Kaliningrad" CreateGoogleCalendarEventTaskParamsTimeZoneKamchatka CreateGoogleCalendarEventTaskParamsTimeZone = "Kamchatka" CreateGoogleCalendarEventTaskParamsTimeZoneKarachi CreateGoogleCalendarEventTaskParamsTimeZone = "Karachi" CreateGoogleCalendarEventTaskParamsTimeZoneKathmandu CreateGoogleCalendarEventTaskParamsTimeZone = "Kathmandu" CreateGoogleCalendarEventTaskParamsTimeZoneKolkata CreateGoogleCalendarEventTaskParamsTimeZone = "Kolkata" CreateGoogleCalendarEventTaskParamsTimeZoneKrasnoyarsk CreateGoogleCalendarEventTaskParamsTimeZone = "Krasnoyarsk" CreateGoogleCalendarEventTaskParamsTimeZoneKualaLumpur CreateGoogleCalendarEventTaskParamsTimeZone = "Kuala Lumpur" CreateGoogleCalendarEventTaskParamsTimeZoneKuwait CreateGoogleCalendarEventTaskParamsTimeZone = "Kuwait" CreateGoogleCalendarEventTaskParamsTimeZoneKyiv CreateGoogleCalendarEventTaskParamsTimeZone = "Kyiv" CreateGoogleCalendarEventTaskParamsTimeZoneLaPaz CreateGoogleCalendarEventTaskParamsTimeZone = "La Paz" CreateGoogleCalendarEventTaskParamsTimeZoneLima CreateGoogleCalendarEventTaskParamsTimeZone = "Lima" CreateGoogleCalendarEventTaskParamsTimeZoneLisbon CreateGoogleCalendarEventTaskParamsTimeZone = "Lisbon" CreateGoogleCalendarEventTaskParamsTimeZoneLjubljana CreateGoogleCalendarEventTaskParamsTimeZone = "Ljubljana" CreateGoogleCalendarEventTaskParamsTimeZoneLondon CreateGoogleCalendarEventTaskParamsTimeZone = "London" CreateGoogleCalendarEventTaskParamsTimeZoneMadrid CreateGoogleCalendarEventTaskParamsTimeZone = "Madrid" CreateGoogleCalendarEventTaskParamsTimeZoneMagadan CreateGoogleCalendarEventTaskParamsTimeZone = "Magadan" CreateGoogleCalendarEventTaskParamsTimeZoneMarshallIs CreateGoogleCalendarEventTaskParamsTimeZone = "Marshall Is." CreateGoogleCalendarEventTaskParamsTimeZoneMazatlan CreateGoogleCalendarEventTaskParamsTimeZone = "Mazatlan" CreateGoogleCalendarEventTaskParamsTimeZoneMelbourne CreateGoogleCalendarEventTaskParamsTimeZone = "Melbourne" CreateGoogleCalendarEventTaskParamsTimeZoneMexicoCity CreateGoogleCalendarEventTaskParamsTimeZone = "Mexico City" CreateGoogleCalendarEventTaskParamsTimeZoneMidAtlantic CreateGoogleCalendarEventTaskParamsTimeZone = "Mid-Atlantic" CreateGoogleCalendarEventTaskParamsTimeZoneMidwayIsland CreateGoogleCalendarEventTaskParamsTimeZone = "Midway Island" CreateGoogleCalendarEventTaskParamsTimeZoneMinsk CreateGoogleCalendarEventTaskParamsTimeZone = "Minsk" CreateGoogleCalendarEventTaskParamsTimeZoneMonrovia CreateGoogleCalendarEventTaskParamsTimeZone = "Monrovia" CreateGoogleCalendarEventTaskParamsTimeZoneMonterrey CreateGoogleCalendarEventTaskParamsTimeZone = "Monterrey" CreateGoogleCalendarEventTaskParamsTimeZoneMontevideo CreateGoogleCalendarEventTaskParamsTimeZone = "Montevideo" CreateGoogleCalendarEventTaskParamsTimeZoneMoscow CreateGoogleCalendarEventTaskParamsTimeZone = "Moscow" CreateGoogleCalendarEventTaskParamsTimeZoneMountainTimeUSCanada CreateGoogleCalendarEventTaskParamsTimeZone = "Mountain Time (US & Canada)" CreateGoogleCalendarEventTaskParamsTimeZoneMumbai CreateGoogleCalendarEventTaskParamsTimeZone = "Mumbai" CreateGoogleCalendarEventTaskParamsTimeZoneMuscat CreateGoogleCalendarEventTaskParamsTimeZone = "Muscat" CreateGoogleCalendarEventTaskParamsTimeZoneNairobi CreateGoogleCalendarEventTaskParamsTimeZone = "Nairobi" CreateGoogleCalendarEventTaskParamsTimeZoneNewCaledonia CreateGoogleCalendarEventTaskParamsTimeZone = "New Caledonia" CreateGoogleCalendarEventTaskParamsTimeZoneNewDelhi CreateGoogleCalendarEventTaskParamsTimeZone = "New Delhi" CreateGoogleCalendarEventTaskParamsTimeZoneNewfoundland CreateGoogleCalendarEventTaskParamsTimeZone = "Newfoundland" CreateGoogleCalendarEventTaskParamsTimeZoneNovosibirsk CreateGoogleCalendarEventTaskParamsTimeZone = "Novosibirsk" CreateGoogleCalendarEventTaskParamsTimeZoneNukualofa CreateGoogleCalendarEventTaskParamsTimeZone = "Nuku'alofa" CreateGoogleCalendarEventTaskParamsTimeZoneOsaka CreateGoogleCalendarEventTaskParamsTimeZone = "Osaka" CreateGoogleCalendarEventTaskParamsTimeZonePacificTimeUSCanada CreateGoogleCalendarEventTaskParamsTimeZone = "Pacific Time (US & Canada)" CreateGoogleCalendarEventTaskParamsTimeZoneParis CreateGoogleCalendarEventTaskParamsTimeZone = "Paris" CreateGoogleCalendarEventTaskParamsTimeZonePerth CreateGoogleCalendarEventTaskParamsTimeZone = "Perth" CreateGoogleCalendarEventTaskParamsTimeZonePortMoresby CreateGoogleCalendarEventTaskParamsTimeZone = "Port Moresby" CreateGoogleCalendarEventTaskParamsTimeZonePrague CreateGoogleCalendarEventTaskParamsTimeZone = "Prague" CreateGoogleCalendarEventTaskParamsTimeZonePretoria CreateGoogleCalendarEventTaskParamsTimeZone = "Pretoria" CreateGoogleCalendarEventTaskParamsTimeZonePuertoRico CreateGoogleCalendarEventTaskParamsTimeZone = "Puerto Rico" CreateGoogleCalendarEventTaskParamsTimeZoneQuito CreateGoogleCalendarEventTaskParamsTimeZone = "Quito" CreateGoogleCalendarEventTaskParamsTimeZoneRangoon CreateGoogleCalendarEventTaskParamsTimeZone = "Rangoon" CreateGoogleCalendarEventTaskParamsTimeZoneRiga CreateGoogleCalendarEventTaskParamsTimeZone = "Riga" CreateGoogleCalendarEventTaskParamsTimeZoneRiyadh CreateGoogleCalendarEventTaskParamsTimeZone = "Riyadh" CreateGoogleCalendarEventTaskParamsTimeZoneRome CreateGoogleCalendarEventTaskParamsTimeZone = "Rome" CreateGoogleCalendarEventTaskParamsTimeZoneSamara CreateGoogleCalendarEventTaskParamsTimeZone = "Samara" CreateGoogleCalendarEventTaskParamsTimeZoneSamoa CreateGoogleCalendarEventTaskParamsTimeZone = "Samoa" CreateGoogleCalendarEventTaskParamsTimeZoneSantiago CreateGoogleCalendarEventTaskParamsTimeZone = "Santiago" CreateGoogleCalendarEventTaskParamsTimeZoneSapporo CreateGoogleCalendarEventTaskParamsTimeZone = "Sapporo" CreateGoogleCalendarEventTaskParamsTimeZoneSarajevo CreateGoogleCalendarEventTaskParamsTimeZone = "Sarajevo" CreateGoogleCalendarEventTaskParamsTimeZoneSaskatchewan CreateGoogleCalendarEventTaskParamsTimeZone = "Saskatchewan" CreateGoogleCalendarEventTaskParamsTimeZoneSeoul CreateGoogleCalendarEventTaskParamsTimeZone = "Seoul" CreateGoogleCalendarEventTaskParamsTimeZoneSingapore CreateGoogleCalendarEventTaskParamsTimeZone = "Singapore" CreateGoogleCalendarEventTaskParamsTimeZoneSkopje CreateGoogleCalendarEventTaskParamsTimeZone = "Skopje" CreateGoogleCalendarEventTaskParamsTimeZoneSofia CreateGoogleCalendarEventTaskParamsTimeZone = "Sofia" CreateGoogleCalendarEventTaskParamsTimeZoneSolomonIs CreateGoogleCalendarEventTaskParamsTimeZone = "Solomon Is." CreateGoogleCalendarEventTaskParamsTimeZoneSrednekolymsk CreateGoogleCalendarEventTaskParamsTimeZone = "Srednekolymsk" CreateGoogleCalendarEventTaskParamsTimeZoneSriJayawardenepura CreateGoogleCalendarEventTaskParamsTimeZone = "Sri Jayawardenepura" CreateGoogleCalendarEventTaskParamsTimeZoneStPetersburg CreateGoogleCalendarEventTaskParamsTimeZone = "St. Petersburg" CreateGoogleCalendarEventTaskParamsTimeZoneStockholm CreateGoogleCalendarEventTaskParamsTimeZone = "Stockholm" CreateGoogleCalendarEventTaskParamsTimeZoneSydney CreateGoogleCalendarEventTaskParamsTimeZone = "Sydney" CreateGoogleCalendarEventTaskParamsTimeZoneTaipei CreateGoogleCalendarEventTaskParamsTimeZone = "Taipei" CreateGoogleCalendarEventTaskParamsTimeZoneTallinn CreateGoogleCalendarEventTaskParamsTimeZone = "Tallinn" CreateGoogleCalendarEventTaskParamsTimeZoneTashkent CreateGoogleCalendarEventTaskParamsTimeZone = "Tashkent" CreateGoogleCalendarEventTaskParamsTimeZoneTbilisi CreateGoogleCalendarEventTaskParamsTimeZone = "Tbilisi" CreateGoogleCalendarEventTaskParamsTimeZoneTehran CreateGoogleCalendarEventTaskParamsTimeZone = "Tehran" CreateGoogleCalendarEventTaskParamsTimeZoneTijuana CreateGoogleCalendarEventTaskParamsTimeZone = "Tijuana" CreateGoogleCalendarEventTaskParamsTimeZoneTokelauIs CreateGoogleCalendarEventTaskParamsTimeZone = "Tokelau Is." CreateGoogleCalendarEventTaskParamsTimeZoneTokyo CreateGoogleCalendarEventTaskParamsTimeZone = "Tokyo" CreateGoogleCalendarEventTaskParamsTimeZoneUTC CreateGoogleCalendarEventTaskParamsTimeZone = "UTC" CreateGoogleCalendarEventTaskParamsTimeZoneUlaanbaatar CreateGoogleCalendarEventTaskParamsTimeZone = "Ulaanbaatar" CreateGoogleCalendarEventTaskParamsTimeZoneUrumqi CreateGoogleCalendarEventTaskParamsTimeZone = "Urumqi" CreateGoogleCalendarEventTaskParamsTimeZoneVienna CreateGoogleCalendarEventTaskParamsTimeZone = "Vienna" CreateGoogleCalendarEventTaskParamsTimeZoneVilnius CreateGoogleCalendarEventTaskParamsTimeZone = "Vilnius" CreateGoogleCalendarEventTaskParamsTimeZoneVladivostok CreateGoogleCalendarEventTaskParamsTimeZone = "Vladivostok" CreateGoogleCalendarEventTaskParamsTimeZoneVolgograd CreateGoogleCalendarEventTaskParamsTimeZone = "Volgograd" CreateGoogleCalendarEventTaskParamsTimeZoneWarsaw CreateGoogleCalendarEventTaskParamsTimeZone = "Warsaw" CreateGoogleCalendarEventTaskParamsTimeZoneWellington CreateGoogleCalendarEventTaskParamsTimeZone = "Wellington" CreateGoogleCalendarEventTaskParamsTimeZoneWestCentralAfrica CreateGoogleCalendarEventTaskParamsTimeZone = "West Central Africa" CreateGoogleCalendarEventTaskParamsTimeZoneYakutsk CreateGoogleCalendarEventTaskParamsTimeZone = "Yakutsk" CreateGoogleCalendarEventTaskParamsTimeZoneYerevan CreateGoogleCalendarEventTaskParamsTimeZone = "Yerevan" CreateGoogleCalendarEventTaskParamsTimeZoneZagreb CreateGoogleCalendarEventTaskParamsTimeZone = "Zagreb" CreateGoogleCalendarEventTaskParamsTimeZoneZurich CreateGoogleCalendarEventTaskParamsTimeZone = "Zurich" )
Defines values for CreateGoogleCalendarEventTaskParamsTimeZone.
type CreateGoogleDocsPageTaskParams ¶
type CreateGoogleDocsPageTaskParams struct {
// The page content
Content *string `json:"content,omitempty"`
Drive *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"drive,omitempty"`
MarkPostMortemAsPublished *bool `json:"mark_post_mortem_as_published,omitempty"`
ParentFolder *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"parent_folder,omitempty"`
// Page permissions JSON
Permissions *string `json:"permissions,omitempty"`
// Retrospective template to use when creating page, if desired
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
TaskType *CreateGoogleDocsPageTaskParamsTaskType `json:"task_type,omitempty"`
// The Google Doc file ID to use as a template
TemplateId *string `json:"template_id,omitempty"`
// The page title
Title string `json:"title"`
}
CreateGoogleDocsPageTaskParams defines model for create_google_docs_page_task_params.
type CreateGoogleDocsPageTaskParamsTaskType ¶
type CreateGoogleDocsPageTaskParamsTaskType string
CreateGoogleDocsPageTaskParamsTaskType defines model for CreateGoogleDocsPageTaskParams.TaskType.
const (
CreateGoogleDocsPageTaskParamsTaskTypeCreateGoogleDocsPage CreateGoogleDocsPageTaskParamsTaskType = "create_google_docs_page"
)
Defines values for CreateGoogleDocsPageTaskParamsTaskType.
type CreateGoogleDocsPermissionsTaskParams ¶ added in v0.1.86
type CreateGoogleDocsPermissionsTaskParams struct {
// Email message notification
EmailMessage *string `json:"email_message"`
// The Google Doc file ID
FileId string `json:"file_id"`
// Page permissions JSON
Permissions string `json:"permissions"`
SendNotificationEmail *bool `json:"send_notification_email,omitempty"`
TaskType *CreateGoogleDocsPermissionsTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateGoogleDocsPermissionsTaskParams defines model for create_google_docs_permissions_task_params.
type CreateGoogleDocsPermissionsTaskParamsTaskType ¶ added in v0.1.86
type CreateGoogleDocsPermissionsTaskParamsTaskType string
CreateGoogleDocsPermissionsTaskParamsTaskType defines model for CreateGoogleDocsPermissionsTaskParams.TaskType.
const (
CreateGoogleDocsPermissions CreateGoogleDocsPermissionsTaskParamsTaskType = "create_google_docs_permissions"
)
Defines values for CreateGoogleDocsPermissionsTaskParamsTaskType.
type CreateGoogleMeetingTaskParams ¶
type CreateGoogleMeetingTaskParams struct {
// Sets the video conference type attached to the meeting
ConferenceSolutionKey *CreateGoogleMeetingTaskParamsConferenceSolutionKey `json:"conference_solution_key,omitempty"`
// The meeting description
Description string `json:"description"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
// The meeting summary
Summary string `json:"summary"`
TaskType *CreateGoogleMeetingTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateGoogleMeetingTaskParams defines model for create_google_meeting_task_params.
type CreateGoogleMeetingTaskParamsConferenceSolutionKey ¶ added in v0.1.30
type CreateGoogleMeetingTaskParamsConferenceSolutionKey string
Sets the video conference type attached to the meeting
const ( CreateGoogleMeetingTaskParamsConferenceSolutionKeyAddOn CreateGoogleMeetingTaskParamsConferenceSolutionKey = "addOn" CreateGoogleMeetingTaskParamsConferenceSolutionKeyEventHangout CreateGoogleMeetingTaskParamsConferenceSolutionKey = "eventHangout" CreateGoogleMeetingTaskParamsConferenceSolutionKeyEventNamedHangout CreateGoogleMeetingTaskParamsConferenceSolutionKey = "eventNamedHangout" CreateGoogleMeetingTaskParamsConferenceSolutionKeyHangoutsMeet CreateGoogleMeetingTaskParamsConferenceSolutionKey = "hangoutsMeet" )
Defines values for CreateGoogleMeetingTaskParamsConferenceSolutionKey.
type CreateGoogleMeetingTaskParamsTaskType ¶
type CreateGoogleMeetingTaskParamsTaskType string
CreateGoogleMeetingTaskParamsTaskType defines model for CreateGoogleMeetingTaskParams.TaskType.
const (
CreateGoogleMeeting CreateGoogleMeetingTaskParamsTaskType = "create_google_meeting"
)
Defines values for CreateGoogleMeetingTaskParamsTaskType.
type CreateIncidentActionItemResponse ¶
func ParseCreateIncidentActionItemResponse ¶
func ParseCreateIncidentActionItemResponse(rsp *http.Response) (*CreateIncidentActionItemResponse, error)
ParseCreateIncidentActionItemResponse parses an HTTP response from a CreateIncidentActionItemWithResponse call
func (CreateIncidentActionItemResponse) Status ¶
func (r CreateIncidentActionItemResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentActionItemResponse) StatusCode ¶
func (r CreateIncidentActionItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentCustomFieldSelectionResponse ¶
func ParseCreateIncidentCustomFieldSelectionResponse ¶
func ParseCreateIncidentCustomFieldSelectionResponse(rsp *http.Response) (*CreateIncidentCustomFieldSelectionResponse, error)
ParseCreateIncidentCustomFieldSelectionResponse parses an HTTP response from a CreateIncidentCustomFieldSelectionWithResponse call
func (CreateIncidentCustomFieldSelectionResponse) Status ¶
func (r CreateIncidentCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentCustomFieldSelectionResponse) StatusCode ¶
func (r CreateIncidentCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentEventFunctionalityResponse ¶ added in v0.1.70
func ParseCreateIncidentEventFunctionalityResponse ¶ added in v0.1.70
func ParseCreateIncidentEventFunctionalityResponse(rsp *http.Response) (*CreateIncidentEventFunctionalityResponse, error)
ParseCreateIncidentEventFunctionalityResponse parses an HTTP response from a CreateIncidentEventFunctionalityWithResponse call
func (CreateIncidentEventFunctionalityResponse) Status ¶ added in v0.1.70
func (r CreateIncidentEventFunctionalityResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentEventFunctionalityResponse) StatusCode ¶ added in v0.1.70
func (r CreateIncidentEventFunctionalityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentEventResponse ¶
func ParseCreateIncidentEventResponse ¶
func ParseCreateIncidentEventResponse(rsp *http.Response) (*CreateIncidentEventResponse, error)
ParseCreateIncidentEventResponse parses an HTTP response from a CreateIncidentEventWithResponse call
func (CreateIncidentEventResponse) Status ¶
func (r CreateIncidentEventResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentEventResponse) StatusCode ¶
func (r CreateIncidentEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentEventServiceResponse ¶ added in v0.1.70
func ParseCreateIncidentEventServiceResponse ¶ added in v0.1.70
func ParseCreateIncidentEventServiceResponse(rsp *http.Response) (*CreateIncidentEventServiceResponse, error)
ParseCreateIncidentEventServiceResponse parses an HTTP response from a CreateIncidentEventServiceWithResponse call
func (CreateIncidentEventServiceResponse) Status ¶ added in v0.1.70
func (r CreateIncidentEventServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentEventServiceResponse) StatusCode ¶ added in v0.1.70
func (r CreateIncidentEventServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentFeedbackResponse ¶
func ParseCreateIncidentFeedbackResponse ¶
func ParseCreateIncidentFeedbackResponse(rsp *http.Response) (*CreateIncidentFeedbackResponse, error)
ParseCreateIncidentFeedbackResponse parses an HTTP response from a CreateIncidentFeedbackWithResponse call
func (CreateIncidentFeedbackResponse) Status ¶
func (r CreateIncidentFeedbackResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentFeedbackResponse) StatusCode ¶
func (r CreateIncidentFeedbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseCreateIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseCreateIncidentFormFieldSelectionResponse(rsp *http.Response) (*CreateIncidentFormFieldSelectionResponse, error)
ParseCreateIncidentFormFieldSelectionResponse parses an HTTP response from a CreateIncidentFormFieldSelectionWithResponse call
func (CreateIncidentFormFieldSelectionResponse) Status ¶ added in v0.1.48
func (r CreateIncidentFormFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentFormFieldSelectionResponse) StatusCode ¶ added in v0.1.48
func (r CreateIncidentFormFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentPostmortemTaskParams ¶ added in v1.1.0
type CreateIncidentPostmortemTaskParams struct {
// UUID of the incident that needs a retrospective
IncidentId string `json:"incident_id"`
Status *string `json:"status"`
TaskType *CreateIncidentPostmortemTaskParamsTaskType `json:"task_type,omitempty"`
// Retrospective template to use
Template *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"template"`
// The retrospective title
Title string `json:"title"`
}
CreateIncidentPostmortemTaskParams defines model for create_incident_postmortem_task_params.
type CreateIncidentPostmortemTaskParamsTaskType ¶ added in v1.1.0
type CreateIncidentPostmortemTaskParamsTaskType string
CreateIncidentPostmortemTaskParamsTaskType defines model for CreateIncidentPostmortemTaskParams.TaskType.
const (
CreateIncidentPostmortem CreateIncidentPostmortemTaskParamsTaskType = "create_incident_postmortem"
)
Defines values for CreateIncidentPostmortemTaskParamsTaskType.
type CreateIncidentResponse ¶
func ParseCreateIncidentResponse ¶
func ParseCreateIncidentResponse(rsp *http.Response) (*CreateIncidentResponse, error)
ParseCreateIncidentResponse parses an HTTP response from a CreateIncidentWithResponse call
func (CreateIncidentResponse) Status ¶
func (r CreateIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentResponse) StatusCode ¶
func (r CreateIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentRoleResponse ¶
func ParseCreateIncidentRoleResponse ¶
func ParseCreateIncidentRoleResponse(rsp *http.Response) (*CreateIncidentRoleResponse, error)
ParseCreateIncidentRoleResponse parses an HTTP response from a CreateIncidentRoleWithResponse call
func (CreateIncidentRoleResponse) Status ¶
func (r CreateIncidentRoleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentRoleResponse) StatusCode ¶
func (r CreateIncidentRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentRoleTaskResponse ¶
func ParseCreateIncidentRoleTaskResponse ¶
func ParseCreateIncidentRoleTaskResponse(rsp *http.Response) (*CreateIncidentRoleTaskResponse, error)
ParseCreateIncidentRoleTaskResponse parses an HTTP response from a CreateIncidentRoleTaskWithResponse call
func (CreateIncidentRoleTaskResponse) Status ¶
func (r CreateIncidentRoleTaskResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentRoleTaskResponse) StatusCode ¶
func (r CreateIncidentRoleTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentStatusPageResponse ¶
func ParseCreateIncidentStatusPageResponse ¶
func ParseCreateIncidentStatusPageResponse(rsp *http.Response) (*CreateIncidentStatusPageResponse, error)
ParseCreateIncidentStatusPageResponse parses an HTTP response from a CreateIncidentStatusPageWithResponse call
func (CreateIncidentStatusPageResponse) Status ¶
func (r CreateIncidentStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentStatusPageResponse) StatusCode ¶
func (r CreateIncidentStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentTaskParams ¶
type CreateIncidentTaskParams struct {
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
GroupIds *[]string `json:"group_ids,omitempty"`
IncidentTypeIds *[]string `json:"incident_type_ids,omitempty"`
Private *bool `json:"private,omitempty"`
ServiceIds *[]string `json:"service_ids,omitempty"`
SeverityId *string `json:"severity_id,omitempty"`
// The incident summary
Summary *string `json:"summary,omitempty"`
TaskType *CreateIncidentTaskParamsTaskType `json:"task_type,omitempty"`
// The incident title
Title string `json:"title"`
}
CreateIncidentTaskParams defines model for create_incident_task_params.
type CreateIncidentTaskParamsTaskType ¶
type CreateIncidentTaskParamsTaskType string
CreateIncidentTaskParamsTaskType defines model for CreateIncidentTaskParams.TaskType.
const (
CreateIncident CreateIncidentTaskParamsTaskType = "create_incident"
)
Defines values for CreateIncidentTaskParamsTaskType.
type CreateIncidentTypeResponse ¶
func ParseCreateIncidentTypeResponse ¶
func ParseCreateIncidentTypeResponse(rsp *http.Response) (*CreateIncidentTypeResponse, error)
ParseCreateIncidentTypeResponse parses an HTTP response from a CreateIncidentTypeWithResponse call
func (CreateIncidentTypeResponse) Status ¶
func (r CreateIncidentTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIncidentTypeResponse) StatusCode ¶
func (r CreateIncidentTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateJiraIssueTaskParams ¶
type CreateJiraIssueTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The issue description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
// Specify integration id if you have more than one Jira instance
Integration *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"integration,omitempty"`
// The issue type id and display name
IssueType struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"issue_type"`
// The issue labels
Labels *string `json:"labels,omitempty"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The project key
ProjectKey string `json:"project_key"`
// The reporter user's email
ReporterUserEmail *string `json:"reporter_user_email,omitempty"`
// The status id and display name
Status *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"status,omitempty"`
TaskType *CreateJiraIssueTaskParamsTaskType `json:"task_type,omitempty"`
// The issue title
Title string `json:"title"`
// Update payload. Can contain liquid markup and need to be valid JSON
UpdatePayload *string `json:"update_payload"`
}
CreateJiraIssueTaskParams defines model for create_jira_issue_task_params.
type CreateJiraIssueTaskParamsTaskType ¶
type CreateJiraIssueTaskParamsTaskType string
CreateJiraIssueTaskParamsTaskType defines model for CreateJiraIssueTaskParams.TaskType.
const (
CreateJiraIssue CreateJiraIssueTaskParamsTaskType = "create_jira_issue"
)
Defines values for CreateJiraIssueTaskParamsTaskType.
type CreateJiraSubtaskTaskParams ¶
type CreateJiraSubtaskTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The issue description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
// Specify integration id if you have more than one Jira instance
Integration *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"integration,omitempty"`
// The issue labels
Labels *string `json:"labels,omitempty"`
// The parent issue
ParentIssueId string `json:"parent_issue_id"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The project key
ProjectKey string `json:"project_key"`
// The reporter user's email
ReporterUserEmail *string `json:"reporter_user_email,omitempty"`
// The status id and display name
Status *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"status,omitempty"`
// The issue type id and display name
SubtaskIssueType struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"subtask_issue_type"`
TaskType *CreateJiraSubtaskTaskParamsTaskType `json:"task_type,omitempty"`
// The issue title
Title string `json:"title"`
// Update payload. Can contain liquid markup and need to be valid JSON
UpdatePayload *string `json:"update_payload"`
}
CreateJiraSubtaskTaskParams defines model for create_jira_subtask_task_params.
type CreateJiraSubtaskTaskParamsTaskType ¶
type CreateJiraSubtaskTaskParamsTaskType string
CreateJiraSubtaskTaskParamsTaskType defines model for CreateJiraSubtaskTaskParams.TaskType.
const (
CreateJiraSubtask CreateJiraSubtaskTaskParamsTaskType = "create_jira_subtask"
)
Defines values for CreateJiraSubtaskTaskParamsTaskType.
type CreateLinearIssueCommentTaskParams ¶ added in v0.1.30
type CreateLinearIssueCommentTaskParams struct {
// The issue description
Body string `json:"body"`
// The issue id
IssueId string `json:"issue_id"`
TaskType *CreateLinearIssueCommentTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateLinearIssueCommentTaskParams defines model for create_linear_issue_comment_task_params.
type CreateLinearIssueCommentTaskParamsTaskType ¶ added in v0.1.30
type CreateLinearIssueCommentTaskParamsTaskType string
CreateLinearIssueCommentTaskParamsTaskType defines model for CreateLinearIssueCommentTaskParams.TaskType.
const (
CreateLinearIssueComment CreateLinearIssueCommentTaskParamsTaskType = "create_linear_issue_comment"
)
Defines values for CreateLinearIssueCommentTaskParamsTaskType.
type CreateLinearIssueTaskParams ¶
type CreateLinearIssueTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
// The issue description
Description *string `json:"description,omitempty"`
Labels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"labels,omitempty"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The project id and display name
Project *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"project,omitempty"`
// The state id and display name
State struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"state"`
TaskType *CreateLinearIssueTaskParamsTaskType `json:"task_type,omitempty"`
// The team id and display name
Team struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"team"`
// The issue title
Title string `json:"title"`
}
CreateLinearIssueTaskParams defines model for create_linear_issue_task_params.
type CreateLinearIssueTaskParamsTaskType ¶
type CreateLinearIssueTaskParamsTaskType string
CreateLinearIssueTaskParamsTaskType defines model for CreateLinearIssueTaskParams.TaskType.
const (
CreateLinearIssue CreateLinearIssueTaskParamsTaskType = "create_linear_issue"
)
Defines values for CreateLinearIssueTaskParamsTaskType.
type CreateLinearSubtaskIssueTaskParams ¶
type CreateLinearSubtaskIssueTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
// The issue description
Description *string `json:"description,omitempty"`
// The parent issue
ParentIssueId string `json:"parent_issue_id"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The state id and display name
State struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"state"`
TaskType *CreateLinearSubtaskIssueTaskParamsTaskType `json:"task_type,omitempty"`
// The issue title
Title string `json:"title"`
}
CreateLinearSubtaskIssueTaskParams defines model for create_linear_subtask_issue_task_params.
type CreateLinearSubtaskIssueTaskParamsTaskType ¶
type CreateLinearSubtaskIssueTaskParamsTaskType string
CreateLinearSubtaskIssueTaskParamsTaskType defines model for CreateLinearSubtaskIssueTaskParams.TaskType.
const (
CreateLinearSubtaskIssue CreateLinearSubtaskIssueTaskParamsTaskType = "create_linear_subtask_issue"
)
Defines values for CreateLinearSubtaskIssueTaskParamsTaskType.
type CreateMicrosoftTeamsMeetingTaskParams ¶
type CreateMicrosoftTeamsMeetingTaskParams struct {
// The meeting name
Name string `json:"name"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
// The meeting subject
Subject string `json:"subject"`
TaskType *CreateMicrosoftTeamsMeetingTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateMicrosoftTeamsMeetingTaskParams defines model for create_microsoft_teams_meeting_task_params.
type CreateMicrosoftTeamsMeetingTaskParamsTaskType ¶
type CreateMicrosoftTeamsMeetingTaskParamsTaskType string
CreateMicrosoftTeamsMeetingTaskParamsTaskType defines model for CreateMicrosoftTeamsMeetingTaskParams.TaskType.
const (
CreateMicrosoftTeamsMeeting CreateMicrosoftTeamsMeetingTaskParamsTaskType = "create_microsoft_teams_meeting"
)
Defines values for CreateMicrosoftTeamsMeetingTaskParamsTaskType.
type CreateNotionPageTaskParams ¶
type CreateNotionPageTaskParams struct {
MarkPostMortemAsPublished *bool `json:"mark_post_mortem_as_published,omitempty"`
// The parent page id and display name
ParentPage struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"parent_page"`
// Retrospective template to use when creating page task, if desired
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
ShowActionItemsAsTable *bool `json:"show_action_items_as_table,omitempty"`
ShowTimelineAsTable *bool `json:"show_timeline_as_table,omitempty"`
TaskType *CreateNotionPageTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateNotionPageTaskParams defines model for create_notion_page_task_params.
type CreateNotionPageTaskParamsTaskType ¶
type CreateNotionPageTaskParamsTaskType string
CreateNotionPageTaskParamsTaskType defines model for CreateNotionPageTaskParams.TaskType.
const (
CreateNotionPage CreateNotionPageTaskParamsTaskType = "create_notion_page"
)
Defines values for CreateNotionPageTaskParamsTaskType.
type CreateOpsgenieAlertTaskParams ¶ added in v0.1.29
type CreateOpsgenieAlertTaskParams struct {
// Description field of the alert that is generally used to provide a detailed information about the alert
Description *string `json:"description,omitempty"`
Escalations *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"escalations,omitempty"`
// Message of the alert
Message string `json:"message"`
Priority *CreateOpsgenieAlertTaskParamsPriority `json:"priority,omitempty"`
Schedules *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"schedules,omitempty"`
TaskType *CreateOpsgenieAlertTaskParamsTaskType `json:"task_type,omitempty"`
Teams *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"teams,omitempty"`
Users *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"users,omitempty"`
}
CreateOpsgenieAlertTaskParams defines model for create_opsgenie_alert_task_params.
type CreateOpsgenieAlertTaskParamsPriority ¶ added in v0.1.29
type CreateOpsgenieAlertTaskParamsPriority string
CreateOpsgenieAlertTaskParamsPriority defines model for CreateOpsgenieAlertTaskParams.Priority.
const ( CreateOpsgenieAlertTaskParamsPriorityAuto CreateOpsgenieAlertTaskParamsPriority = "auto" CreateOpsgenieAlertTaskParamsPriorityP1 CreateOpsgenieAlertTaskParamsPriority = "P1" CreateOpsgenieAlertTaskParamsPriorityP2 CreateOpsgenieAlertTaskParamsPriority = "P2" CreateOpsgenieAlertTaskParamsPriorityP3 CreateOpsgenieAlertTaskParamsPriority = "P3" CreateOpsgenieAlertTaskParamsPriorityP4 CreateOpsgenieAlertTaskParamsPriority = "P4" )
Defines values for CreateOpsgenieAlertTaskParamsPriority.
type CreateOpsgenieAlertTaskParamsTaskType ¶ added in v0.1.29
type CreateOpsgenieAlertTaskParamsTaskType string
CreateOpsgenieAlertTaskParamsTaskType defines model for CreateOpsgenieAlertTaskParams.TaskType.
const (
CreateOpsgenieAlert CreateOpsgenieAlertTaskParamsTaskType = "create_opsgenie_alert"
)
Defines values for CreateOpsgenieAlertTaskParamsTaskType.
type CreatePagerdutyStatusUpdateParams ¶ added in v0.1.18
type CreatePagerdutyStatusUpdateParams struct {
// A message outlining the incident's resolution in Pagerduty
Message string `json:"message"`
// Pagerduty incident id
PagerdutyIncidentId string `json:"pagerduty_incident_id"`
TaskType *CreatePagerdutyStatusUpdateParamsTaskType `json:"task_type,omitempty"`
}
CreatePagerdutyStatusUpdateParams defines model for create_pagerduty_status_update_params.
type CreatePagerdutyStatusUpdateParamsTaskType ¶ added in v0.1.18
type CreatePagerdutyStatusUpdateParamsTaskType string
CreatePagerdutyStatusUpdateParamsTaskType defines model for CreatePagerdutyStatusUpdateParams.TaskType.
const (
CreatePagerdutyStatusUpdate CreatePagerdutyStatusUpdateParamsTaskType = "create_pagerduty_status_update"
)
Defines values for CreatePagerdutyStatusUpdateParamsTaskType.
type CreatePagertreeAlertTaskParams ¶ added in v0.1.58
type CreatePagertreeAlertTaskParams struct {
// Description of alert as text
Description *string `json:"description,omitempty"`
// Setting to true makes an alert a Pagertree incident
Incident *bool `json:"incident,omitempty"`
Severity *CreatePagertreeAlertTaskParamsSeverity `json:"severity,omitempty"`
TaskType *CreatePagertreeAlertTaskParamsTaskType `json:"task_type,omitempty"`
Teams *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"teams,omitempty"`
// Title of alert as text
Title *string `json:"title,omitempty"`
Urgency *CreatePagertreeAlertTaskParamsUrgency `json:"urgency,omitempty"`
Users *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"users,omitempty"`
}
CreatePagertreeAlertTaskParams defines model for create_pagertree_alert_task_params.
type CreatePagertreeAlertTaskParamsSeverity ¶ added in v0.1.58
type CreatePagertreeAlertTaskParamsSeverity string
CreatePagertreeAlertTaskParamsSeverity defines model for CreatePagertreeAlertTaskParams.Severity.
const ( CreatePagertreeAlertTaskParamsSeverityAuto CreatePagertreeAlertTaskParamsSeverity = "auto" CreatePagertreeAlertTaskParamsSeveritySEV1 CreatePagertreeAlertTaskParamsSeverity = "SEV-1" CreatePagertreeAlertTaskParamsSeveritySEV2 CreatePagertreeAlertTaskParamsSeverity = "SEV-2" CreatePagertreeAlertTaskParamsSeveritySEV3 CreatePagertreeAlertTaskParamsSeverity = "SEV-3" CreatePagertreeAlertTaskParamsSeveritySEV4 CreatePagertreeAlertTaskParamsSeverity = "SEV-4" )
Defines values for CreatePagertreeAlertTaskParamsSeverity.
type CreatePagertreeAlertTaskParamsTaskType ¶ added in v0.1.58
type CreatePagertreeAlertTaskParamsTaskType string
CreatePagertreeAlertTaskParamsTaskType defines model for CreatePagertreeAlertTaskParams.TaskType.
const (
CreatePagertreeAlert CreatePagertreeAlertTaskParamsTaskType = "create_pagertree_alert"
)
Defines values for CreatePagertreeAlertTaskParamsTaskType.
type CreatePagertreeAlertTaskParamsUrgency ¶ added in v0.1.58
type CreatePagertreeAlertTaskParamsUrgency string
CreatePagertreeAlertTaskParamsUrgency defines model for CreatePagertreeAlertTaskParams.Urgency.
const ( CreatePagertreeAlertTaskParamsUrgencyAuto CreatePagertreeAlertTaskParamsUrgency = "auto" CreatePagertreeAlertTaskParamsUrgencyCritical CreatePagertreeAlertTaskParamsUrgency = "critical" CreatePagertreeAlertTaskParamsUrgencyHigh CreatePagertreeAlertTaskParamsUrgency = "high" CreatePagertreeAlertTaskParamsUrgencyLow CreatePagertreeAlertTaskParamsUrgency = "low" CreatePagertreeAlertTaskParamsUrgencyMedium CreatePagertreeAlertTaskParamsUrgency = "medium" )
Defines values for CreatePagertreeAlertTaskParamsUrgency.
type CreatePlaybookResponse ¶
func ParseCreatePlaybookResponse ¶
func ParseCreatePlaybookResponse(rsp *http.Response) (*CreatePlaybookResponse, error)
ParseCreatePlaybookResponse parses an HTTP response from a CreatePlaybookWithResponse call
func (CreatePlaybookResponse) Status ¶
func (r CreatePlaybookResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePlaybookResponse) StatusCode ¶
func (r CreatePlaybookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePlaybookTaskResponse ¶
func ParseCreatePlaybookTaskResponse ¶
func ParseCreatePlaybookTaskResponse(rsp *http.Response) (*CreatePlaybookTaskResponse, error)
ParseCreatePlaybookTaskResponse parses an HTTP response from a CreatePlaybookTaskWithResponse call
func (CreatePlaybookTaskResponse) Status ¶
func (r CreatePlaybookTaskResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePlaybookTaskResponse) StatusCode ¶
func (r CreatePlaybookTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePostmortemTemplateResponse ¶
func ParseCreatePostmortemTemplateResponse ¶
func ParseCreatePostmortemTemplateResponse(rsp *http.Response) (*CreatePostmortemTemplateResponse, error)
ParseCreatePostmortemTemplateResponse parses an HTTP response from a CreatePostmortemTemplateWithResponse call
func (CreatePostmortemTemplateResponse) Status ¶
func (r CreatePostmortemTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePostmortemTemplateResponse) StatusCode ¶
func (r CreatePostmortemTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePulseResponse ¶
func ParseCreatePulseResponse ¶
func ParseCreatePulseResponse(rsp *http.Response) (*CreatePulseResponse, error)
ParseCreatePulseResponse parses an HTTP response from a CreatePulseWithResponse call
func (CreatePulseResponse) Status ¶
func (r CreatePulseResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePulseResponse) StatusCode ¶
func (r CreatePulseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateQuipPageTaskParams ¶ added in v0.1.51
type CreateQuipPageTaskParams struct {
// The page content
Content *string `json:"content,omitempty"`
MarkPostMortemAsPublished *bool `json:"mark_post_mortem_as_published,omitempty"`
// The parent folder id
ParentFolderId *string `json:"parent_folder_id,omitempty"`
// Retrospective template to use when creating page, if desired
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
TaskType *CreateQuipPageTaskParamsTaskType `json:"task_type,omitempty"`
// The Quip file ID to use as a template
TemplateId *string `json:"template_id,omitempty"`
// The page title
Title string `json:"title"`
}
CreateQuipPageTaskParams defines model for create_quip_page_task_params.
type CreateQuipPageTaskParamsTaskType ¶ added in v0.1.51
type CreateQuipPageTaskParamsTaskType string
CreateQuipPageTaskParamsTaskType defines model for CreateQuipPageTaskParams.TaskType.
const (
CreateQuipPageTaskParamsTaskTypeCreateGoogleDocsPage CreateQuipPageTaskParamsTaskType = "create_google_docs_page"
)
Defines values for CreateQuipPageTaskParamsTaskType.
type CreateRetrospectiveStepResponse ¶ added in v1.1.7
func ParseCreateRetrospectiveStepResponse ¶ added in v1.1.7
func ParseCreateRetrospectiveStepResponse(rsp *http.Response) (*CreateRetrospectiveStepResponse, error)
ParseCreateRetrospectiveStepResponse parses an HTTP response from a CreateRetrospectiveStepWithResponse call
func (CreateRetrospectiveStepResponse) Status ¶ added in v1.1.7
func (r CreateRetrospectiveStepResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRetrospectiveStepResponse) StatusCode ¶ added in v1.1.7
func (r CreateRetrospectiveStepResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecretResponse ¶ added in v0.1.58
func ParseCreateSecretResponse ¶ added in v0.1.58
func ParseCreateSecretResponse(rsp *http.Response) (*CreateSecretResponse, error)
ParseCreateSecretResponse parses an HTTP response from a CreateSecretWithResponse call
func (CreateSecretResponse) Status ¶ added in v0.1.58
func (r CreateSecretResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecretResponse) StatusCode ¶ added in v0.1.58
func (r CreateSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceNowIncidentTaskParams ¶
type CreateServiceNowIncidentTaskParams struct {
// The completion id and display name
Completion *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The incident description
Description *string `json:"description,omitempty"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
TaskType *CreateServiceNowIncidentTaskParamsTaskType `json:"task_type,omitempty"`
// The incident title
Title string `json:"title"`
}
CreateServiceNowIncidentTaskParams defines model for create_service_now_incident_task_params.
type CreateServiceNowIncidentTaskParamsTaskType ¶
type CreateServiceNowIncidentTaskParamsTaskType string
CreateServiceNowIncidentTaskParamsTaskType defines model for CreateServiceNowIncidentTaskParams.TaskType.
const (
CreateServiceNowIncident CreateServiceNowIncidentTaskParamsTaskType = "create_service_now_incident"
)
Defines values for CreateServiceNowIncidentTaskParamsTaskType.
type CreateServiceResponse ¶
func ParseCreateServiceResponse ¶
func ParseCreateServiceResponse(rsp *http.Response) (*CreateServiceResponse, error)
ParseCreateServiceResponse parses an HTTP response from a CreateServiceWithResponse call
func (CreateServiceResponse) Status ¶
func (r CreateServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceResponse) StatusCode ¶
func (r CreateServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSeverityResponse ¶
func ParseCreateSeverityResponse ¶
func ParseCreateSeverityResponse(rsp *http.Response) (*CreateSeverityResponse, error)
ParseCreateSeverityResponse parses an HTTP response from a CreateSeverityWithResponse call
func (CreateSeverityResponse) Status ¶
func (r CreateSeverityResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSeverityResponse) StatusCode ¶
func (r CreateSeverityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateShortcutStoryTaskParams ¶
type CreateShortcutStoryTaskParams struct {
// The archivation id and display name
Archivation struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"archivation"`
// The incident description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
Kind CreateShortcutStoryTaskParamsKind `json:"kind"`
// The story labels
Labels *string `json:"labels,omitempty"`
// The project id and display name
Project struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"project"`
TaskType *CreateShortcutStoryTaskParamsTaskType `json:"task_type,omitempty"`
// The incident title
Title string `json:"title"`
}
CreateShortcutStoryTaskParams defines model for create_shortcut_story_task_params.
type CreateShortcutStoryTaskParamsKind ¶
type CreateShortcutStoryTaskParamsKind string
CreateShortcutStoryTaskParamsKind defines model for CreateShortcutStoryTaskParams.Kind.
const ( Bug CreateShortcutStoryTaskParamsKind = "bug" Chore CreateShortcutStoryTaskParamsKind = "chore" Feature CreateShortcutStoryTaskParamsKind = "feature" )
Defines values for CreateShortcutStoryTaskParamsKind.
type CreateShortcutStoryTaskParamsTaskType ¶
type CreateShortcutStoryTaskParamsTaskType string
CreateShortcutStoryTaskParamsTaskType defines model for CreateShortcutStoryTaskParams.TaskType.
const (
CreateShortcutStory CreateShortcutStoryTaskParamsTaskType = "create_shortcut_story"
)
Defines values for CreateShortcutStoryTaskParamsTaskType.
type CreateShortcutTaskTaskParams ¶
type CreateShortcutTaskTaskParams struct {
// The completion id and display name
Completion struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion"`
// The task description
Description string `json:"description"`
// The parent story
ParentStoryId string `json:"parent_story_id"`
TaskType *CreateShortcutTaskTaskParamsTaskType `json:"task_type,omitempty"`
}
CreateShortcutTaskTaskParams defines model for create_shortcut_task_task_params.
type CreateShortcutTaskTaskParamsTaskType ¶
type CreateShortcutTaskTaskParamsTaskType string
CreateShortcutTaskTaskParamsTaskType defines model for CreateShortcutTaskTaskParams.TaskType.
const (
CreateShortcutTask CreateShortcutTaskTaskParamsTaskType = "create_shortcut_task"
)
Defines values for CreateShortcutTaskTaskParamsTaskType.
type CreateSlackChannelTaskParams ¶ added in v0.1.31
type CreateSlackChannelTaskParams struct {
Private *CreateSlackChannelTaskParamsPrivate `json:"private,omitempty"`
TaskType *CreateSlackChannelTaskParamsTaskType `json:"task_type,omitempty"`
// Slack channel title
Title string `json:"title"`
Workspace struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"workspace"`
}
CreateSlackChannelTaskParams defines model for create_slack_channel_task_params.
type CreateSlackChannelTaskParamsPrivate ¶ added in v0.1.40
type CreateSlackChannelTaskParamsPrivate string
CreateSlackChannelTaskParamsPrivate defines model for CreateSlackChannelTaskParams.Private.
const ( CreateSlackChannelTaskParamsPrivateAuto CreateSlackChannelTaskParamsPrivate = "auto" CreateSlackChannelTaskParamsPrivateFalse CreateSlackChannelTaskParamsPrivate = "false" CreateSlackChannelTaskParamsPrivateTrue CreateSlackChannelTaskParamsPrivate = "true" )
Defines values for CreateSlackChannelTaskParamsPrivate.
type CreateSlackChannelTaskParamsTaskType ¶ added in v0.1.31
type CreateSlackChannelTaskParamsTaskType string
CreateSlackChannelTaskParamsTaskType defines model for CreateSlackChannelTaskParams.TaskType.
const (
CreateSlackChannel CreateSlackChannelTaskParamsTaskType = "create_slack_channel"
)
Defines values for CreateSlackChannelTaskParamsTaskType.
type CreateStatusPageResponse ¶
func ParseCreateStatusPageResponse ¶
func ParseCreateStatusPageResponse(rsp *http.Response) (*CreateStatusPageResponse, error)
ParseCreateStatusPageResponse parses an HTTP response from a CreateStatusPageWithResponse call
func (CreateStatusPageResponse) Status ¶
func (r CreateStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageResponse) StatusCode ¶
func (r CreateStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageTemplateResponse ¶ added in v0.1.18
func ParseCreateStatusPageTemplateResponse ¶ added in v0.1.18
func ParseCreateStatusPageTemplateResponse(rsp *http.Response) (*CreateStatusPageTemplateResponse, error)
ParseCreateStatusPageTemplateResponse parses an HTTP response from a CreateStatusPageTemplateWithResponse call
func (CreateStatusPageTemplateResponse) Status ¶ added in v0.1.18
func (r CreateStatusPageTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageTemplateResponse) StatusCode ¶ added in v0.1.18
func (r CreateStatusPageTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTeamResponse ¶
func ParseCreateTeamResponse ¶
func ParseCreateTeamResponse(rsp *http.Response) (*CreateTeamResponse, error)
ParseCreateTeamResponse parses an HTTP response from a CreateTeamWithResponse call
func (CreateTeamResponse) Status ¶
func (r CreateTeamResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTeamResponse) StatusCode ¶
func (r CreateTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTrelloCardTaskParams ¶
type CreateTrelloCardTaskParams struct {
// The archivation id and display name
Archivation *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"archivation,omitempty"`
// The board id and display name
Board struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"board"`
// The card description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
Labels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"labels,omitempty"`
// The list id and display name
List struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"list"`
TaskType *CreateTrelloCardTaskParamsTaskType `json:"task_type,omitempty"`
// The card title
Title string `json:"title"`
}
CreateTrelloCardTaskParams defines model for create_trello_card_task_params.
type CreateTrelloCardTaskParamsTaskType ¶
type CreateTrelloCardTaskParamsTaskType string
CreateTrelloCardTaskParamsTaskType defines model for CreateTrelloCardTaskParams.TaskType.
const (
CreateTrelloCard CreateTrelloCardTaskParamsTaskType = "create_trello_card"
)
Defines values for CreateTrelloCardTaskParamsTaskType.
type CreateWebexMeetingTaskParams ¶
type CreateWebexMeetingTaskParams struct {
// The meeting password
Password *string `json:"password,omitempty"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *CreateWebexMeetingTaskParamsTaskType `json:"task_type,omitempty"`
// The meeting topic
Topic string `json:"topic"`
}
CreateWebexMeetingTaskParams defines model for create_webex_meeting_task_params.
type CreateWebexMeetingTaskParamsTaskType ¶
type CreateWebexMeetingTaskParamsTaskType string
CreateWebexMeetingTaskParamsTaskType defines model for CreateWebexMeetingTaskParams.TaskType.
const (
CreateWebexMeeting CreateWebexMeetingTaskParamsTaskType = "create_webex_meeting"
)
Defines values for CreateWebexMeetingTaskParamsTaskType.
type CreateWebhooksEndpointResponse ¶ added in v0.1.54
func ParseCreateWebhooksEndpointResponse ¶ added in v0.1.54
func ParseCreateWebhooksEndpointResponse(rsp *http.Response) (*CreateWebhooksEndpointResponse, error)
ParseCreateWebhooksEndpointResponse parses an HTTP response from a CreateWebhooksEndpointWithResponse call
func (CreateWebhooksEndpointResponse) Status ¶ added in v0.1.54
func (r CreateWebhooksEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWebhooksEndpointResponse) StatusCode ¶ added in v0.1.54
func (r CreateWebhooksEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkflowCustomFieldSelectionResponse ¶
func ParseCreateWorkflowCustomFieldSelectionResponse ¶
func ParseCreateWorkflowCustomFieldSelectionResponse(rsp *http.Response) (*CreateWorkflowCustomFieldSelectionResponse, error)
ParseCreateWorkflowCustomFieldSelectionResponse parses an HTTP response from a CreateWorkflowCustomFieldSelectionWithResponse call
func (CreateWorkflowCustomFieldSelectionResponse) Status ¶
func (r CreateWorkflowCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowCustomFieldSelectionResponse) StatusCode ¶
func (r CreateWorkflowCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseCreateWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseCreateWorkflowFormFieldConditionResponse(rsp *http.Response) (*CreateWorkflowFormFieldConditionResponse, error)
ParseCreateWorkflowFormFieldConditionResponse parses an HTTP response from a CreateWorkflowFormFieldConditionWithResponse call
func (CreateWorkflowFormFieldConditionResponse) Status ¶ added in v0.1.48
func (r CreateWorkflowFormFieldConditionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowFormFieldConditionResponse) StatusCode ¶ added in v0.1.48
func (r CreateWorkflowFormFieldConditionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkflowGroupResponse ¶ added in v0.1.12
func ParseCreateWorkflowGroupResponse ¶ added in v0.1.12
func ParseCreateWorkflowGroupResponse(rsp *http.Response) (*CreateWorkflowGroupResponse, error)
ParseCreateWorkflowGroupResponse parses an HTTP response from a CreateWorkflowGroupWithResponse call
func (CreateWorkflowGroupResponse) Status ¶ added in v0.1.12
func (r CreateWorkflowGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowGroupResponse) StatusCode ¶ added in v0.1.12
func (r CreateWorkflowGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkflowResponse ¶
func ParseCreateWorkflowResponse ¶
func ParseCreateWorkflowResponse(rsp *http.Response) (*CreateWorkflowResponse, error)
ParseCreateWorkflowResponse parses an HTTP response from a CreateWorkflowWithResponse call
func (CreateWorkflowResponse) Status ¶
func (r CreateWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowResponse) StatusCode ¶
func (r CreateWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkflowRunResponse ¶ added in v0.1.20
func ParseCreateWorkflowRunResponse ¶ added in v0.1.20
func ParseCreateWorkflowRunResponse(rsp *http.Response) (*CreateWorkflowRunResponse, error)
ParseCreateWorkflowRunResponse parses an HTTP response from a CreateWorkflowRunWithResponse call
func (CreateWorkflowRunResponse) Status ¶ added in v0.1.20
func (r CreateWorkflowRunResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowRunResponse) StatusCode ¶ added in v0.1.20
func (r CreateWorkflowRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkflowTaskResponse ¶
func ParseCreateWorkflowTaskResponse ¶
func ParseCreateWorkflowTaskResponse(rsp *http.Response) (*CreateWorkflowTaskResponse, error)
ParseCreateWorkflowTaskResponse parses an HTTP response from a CreateWorkflowTaskWithResponse call
func (CreateWorkflowTaskResponse) Status ¶
func (r CreateWorkflowTaskResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowTaskResponse) StatusCode ¶
func (r CreateWorkflowTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateZendeskTicketTaskParams ¶
type CreateZendeskTicketTaskParams struct {
// The ticket comment
Comment *string `json:"comment,omitempty"`
// The completion id and display name
Completion *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
Kind CreateZendeskTicketTaskParamsKind `json:"kind"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The ticket subject
Subject string `json:"subject"`
// The ticket tags
Tags *string `json:"tags,omitempty"`
TaskType *CreateZendeskTicketTaskParamsTaskType `json:"task_type,omitempty"`
// Additional Zendesk ticket attributes. Will be merged into whatever was specified in this tasks current parameters. Can contain liquid markup and need to be valid JSON
TicketPayload *string `json:"ticket_payload"`
}
CreateZendeskTicketTaskParams defines model for create_zendesk_ticket_task_params.
type CreateZendeskTicketTaskParamsKind ¶
type CreateZendeskTicketTaskParamsKind string
CreateZendeskTicketTaskParamsKind defines model for CreateZendeskTicketTaskParams.Kind.
const ( CreateZendeskTicketTaskParamsKindIncident CreateZendeskTicketTaskParamsKind = "incident" CreateZendeskTicketTaskParamsKindProblem CreateZendeskTicketTaskParamsKind = "problem" CreateZendeskTicketTaskParamsKindQuestion CreateZendeskTicketTaskParamsKind = "question" CreateZendeskTicketTaskParamsKindTask CreateZendeskTicketTaskParamsKind = "task" )
Defines values for CreateZendeskTicketTaskParamsKind.
type CreateZendeskTicketTaskParamsTaskType ¶
type CreateZendeskTicketTaskParamsTaskType string
CreateZendeskTicketTaskParamsTaskType defines model for CreateZendeskTicketTaskParams.TaskType.
const (
CreateZendeskTicket CreateZendeskTicketTaskParamsTaskType = "create_zendesk_ticket"
)
Defines values for CreateZendeskTicketTaskParamsTaskType.
type CreateZoomMeetingTaskParams ¶
type CreateZoomMeetingTaskParams struct {
AlternativeHosts *[]string `json:"alternative_hosts,omitempty"`
AutoRecording *CreateZoomMeetingTaskParamsAutoRecording `json:"auto_recording,omitempty"`
// The email to use if creating as email
CreateAsEmail *string `json:"create_as_email,omitempty"`
// The meeting password
Password *string `json:"password,omitempty"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *CreateZoomMeetingTaskParamsTaskType `json:"task_type,omitempty"`
// The meeting topic
Topic string `json:"topic"`
}
CreateZoomMeetingTaskParams defines model for create_zoom_meeting_task_params.
type CreateZoomMeetingTaskParamsAutoRecording ¶
type CreateZoomMeetingTaskParamsAutoRecording string
CreateZoomMeetingTaskParamsAutoRecording defines model for CreateZoomMeetingTaskParams.AutoRecording.
const ( Cloud CreateZoomMeetingTaskParamsAutoRecording = "cloud" Local CreateZoomMeetingTaskParamsAutoRecording = "local" None CreateZoomMeetingTaskParamsAutoRecording = "none" )
Defines values for CreateZoomMeetingTaskParamsAutoRecording.
type CreateZoomMeetingTaskParamsTaskType ¶
type CreateZoomMeetingTaskParamsTaskType string
CreateZoomMeetingTaskParamsTaskType defines model for CreateZoomMeetingTaskParams.TaskType.
const (
CreateZoomMeeting CreateZoomMeetingTaskParamsTaskType = "create_zoom_meeting"
)
Defines values for CreateZoomMeetingTaskParamsTaskType.
type CustomField ¶
type CustomField struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The default value for text field kinds
Default *string `json:"default"`
// The description of the custom_field
Description *string `json:"description"`
// Whether the custom_field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The kind of the custom_field
Kind *string `json:"kind,omitempty"`
// The name of the custom_field
Label string `json:"label"`
// The position of the custom_field
Position float32 `json:"position"`
Required *[]CustomFieldRequired `json:"required"`
Shown []CustomFieldShown `json:"shown"`
// The slug of the custom_field
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
CustomField defines model for custom_field.
type CustomFieldList ¶
type CustomFieldList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The default value for text field kinds
Default *string `json:"default"`
// The description of the custom_field
Description *string `json:"description"`
// Whether the custom_field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The kind of the custom_field
Kind *string `json:"kind,omitempty"`
// The name of the custom_field
Label string `json:"label"`
// The position of the custom_field
Position float32 `json:"position"`
Required *[]CustomFieldListDataAttributesRequired `json:"required"`
Shown []CustomFieldListDataAttributesShown `json:"shown"`
// The slug of the custom_field
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the custom_field
Id string `json:"id"`
Type CustomFieldListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
CustomFieldList defines model for custom_field_list.
type CustomFieldListDataAttributesRequired ¶ added in v0.1.12
type CustomFieldListDataAttributesRequired string
Where the custom_field is required
const ( CustomFieldListDataAttributesRequiredIncidentForm CustomFieldListDataAttributesRequired = "incident_form" CustomFieldListDataAttributesRequiredIncidentMitigationForm CustomFieldListDataAttributesRequired = "incident_mitigation_form" CustomFieldListDataAttributesRequiredIncidentMitigationSlackForm CustomFieldListDataAttributesRequired = "incident_mitigation_slack_form" CustomFieldListDataAttributesRequiredIncidentPostMortemForm CustomFieldListDataAttributesRequired = "incident_post_mortem_form" CustomFieldListDataAttributesRequiredIncidentResolutionForm CustomFieldListDataAttributesRequired = "incident_resolution_form" CustomFieldListDataAttributesRequiredIncidentResolutionSlackForm CustomFieldListDataAttributesRequired = "incident_resolution_slack_form" CustomFieldListDataAttributesRequiredIncidentSlackForm CustomFieldListDataAttributesRequired = "incident_slack_form" )
Defines values for CustomFieldListDataAttributesRequired.
type CustomFieldListDataAttributesShown ¶ added in v0.1.12
type CustomFieldListDataAttributesShown string
Where the custom_field is shown
const ( CustomFieldListDataAttributesShownIncidentForm CustomFieldListDataAttributesShown = "incident_form" CustomFieldListDataAttributesShownIncidentMitigationForm CustomFieldListDataAttributesShown = "incident_mitigation_form" CustomFieldListDataAttributesShownIncidentMitigationSlackForm CustomFieldListDataAttributesShown = "incident_mitigation_slack_form" CustomFieldListDataAttributesShownIncidentPostMortem CustomFieldListDataAttributesShown = "incident_post_mortem" CustomFieldListDataAttributesShownIncidentPostMortemForm CustomFieldListDataAttributesShown = "incident_post_mortem_form" CustomFieldListDataAttributesShownIncidentResolutionForm CustomFieldListDataAttributesShown = "incident_resolution_form" CustomFieldListDataAttributesShownIncidentResolutionSlackForm CustomFieldListDataAttributesShown = "incident_resolution_slack_form" CustomFieldListDataAttributesShownIncidentSlackForm CustomFieldListDataAttributesShown = "incident_slack_form" )
Defines values for CustomFieldListDataAttributesShown.
type CustomFieldListDataType ¶
type CustomFieldListDataType string
CustomFieldListDataType defines model for CustomFieldList.Data.Type.
const (
CustomFieldListDataTypeCustomFields CustomFieldListDataType = "custom_fields"
)
Defines values for CustomFieldListDataType.
type CustomFieldOption ¶
type CustomFieldOption struct {
// The hex color of the custom_field_option
Color string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The ID of the parent custom field
CustomFieldId *float32 `json:"custom_field_id,omitempty"`
Default *bool `json:"default,omitempty"`
// The position of the custom_field_option
Position float32 `json:"position"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The value of the custom_field_option
Value string `json:"value"`
}
CustomFieldOption defines model for custom_field_option.
type CustomFieldOptionList ¶
type CustomFieldOptionList struct {
Data []struct {
Attributes struct {
// The hex color of the custom_field_option
Color string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The ID of the parent custom field
CustomFieldId *float32 `json:"custom_field_id,omitempty"`
Default *bool `json:"default,omitempty"`
// The position of the custom_field_option
Position float32 `json:"position"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The value of the custom_field_option
Value string `json:"value"`
} `json:"attributes"`
// Unique ID of the custom_field_option
Id string `json:"id"`
Type CustomFieldOptionListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
CustomFieldOptionList defines model for custom_field_option_list.
type CustomFieldOptionListDataType ¶
type CustomFieldOptionListDataType string
CustomFieldOptionListDataType defines model for CustomFieldOptionList.Data.Type.
const (
CustomFieldOptionListDataTypeCustomFieldOptions CustomFieldOptionListDataType = "custom_field_options"
)
Defines values for CustomFieldOptionListDataType.
type CustomFieldOptionResponse ¶
type CustomFieldOptionResponse struct {
Data struct {
Attributes struct {
// The hex color of the custom_field_option
Color string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The ID of the parent custom field
CustomFieldId *float32 `json:"custom_field_id,omitempty"`
Default *bool `json:"default,omitempty"`
// The position of the custom_field_option
Position float32 `json:"position"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The value of the custom_field_option
Value string `json:"value"`
} `json:"attributes"`
// Unique ID of the custom_field_option
Id string `json:"id"`
Type CustomFieldOptionResponseDataType `json:"type"`
} `json:"data"`
}
CustomFieldOptionResponse defines model for custom_field_option_response.
type CustomFieldOptionResponseDataType ¶
type CustomFieldOptionResponseDataType string
CustomFieldOptionResponseDataType defines model for CustomFieldOptionResponse.Data.Type.
const (
CustomFieldOptionResponseDataTypeCustomFieldOptions CustomFieldOptionResponseDataType = "custom_field_options"
)
Defines values for CustomFieldOptionResponseDataType.
type CustomFieldRequired ¶
type CustomFieldRequired string
Where the custom_field is required
const ( CustomFieldRequiredIncidentForm CustomFieldRequired = "incident_form" CustomFieldRequiredIncidentMitigationForm CustomFieldRequired = "incident_mitigation_form" CustomFieldRequiredIncidentMitigationSlackForm CustomFieldRequired = "incident_mitigation_slack_form" CustomFieldRequiredIncidentPostMortemForm CustomFieldRequired = "incident_post_mortem_form" CustomFieldRequiredIncidentResolutionForm CustomFieldRequired = "incident_resolution_form" CustomFieldRequiredIncidentResolutionSlackForm CustomFieldRequired = "incident_resolution_slack_form" CustomFieldRequiredIncidentSlackForm CustomFieldRequired = "incident_slack_form" )
Defines values for CustomFieldRequired.
type CustomFieldResponse ¶
type CustomFieldResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The default value for text field kinds
Default *string `json:"default"`
// The description of the custom_field
Description *string `json:"description"`
// Whether the custom_field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The kind of the custom_field
Kind *string `json:"kind,omitempty"`
// The name of the custom_field
Label string `json:"label"`
// The position of the custom_field
Position float32 `json:"position"`
Required *[]CustomFieldResponseDataAttributesRequired `json:"required"`
Shown []CustomFieldResponseDataAttributesShown `json:"shown"`
// The slug of the custom_field
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the custom_field
Id string `json:"id"`
Type CustomFieldResponseDataType `json:"type"`
} `json:"data"`
}
CustomFieldResponse defines model for custom_field_response.
type CustomFieldResponseDataAttributesRequired ¶ added in v0.1.12
type CustomFieldResponseDataAttributesRequired string
Where the custom_field is required
const ( CustomFieldResponseDataAttributesRequiredIncidentForm CustomFieldResponseDataAttributesRequired = "incident_form" CustomFieldResponseDataAttributesRequiredIncidentMitigationForm CustomFieldResponseDataAttributesRequired = "incident_mitigation_form" CustomFieldResponseDataAttributesRequiredIncidentMitigationSlackForm CustomFieldResponseDataAttributesRequired = "incident_mitigation_slack_form" CustomFieldResponseDataAttributesRequiredIncidentPostMortemForm CustomFieldResponseDataAttributesRequired = "incident_post_mortem_form" CustomFieldResponseDataAttributesRequiredIncidentResolutionForm CustomFieldResponseDataAttributesRequired = "incident_resolution_form" CustomFieldResponseDataAttributesRequiredIncidentResolutionSlackForm CustomFieldResponseDataAttributesRequired = "incident_resolution_slack_form" CustomFieldResponseDataAttributesRequiredIncidentSlackForm CustomFieldResponseDataAttributesRequired = "incident_slack_form" )
Defines values for CustomFieldResponseDataAttributesRequired.
type CustomFieldResponseDataAttributesShown ¶ added in v0.1.12
type CustomFieldResponseDataAttributesShown string
Where the custom_field is shown
const ( CustomFieldResponseDataAttributesShownIncidentForm CustomFieldResponseDataAttributesShown = "incident_form" CustomFieldResponseDataAttributesShownIncidentMitigationForm CustomFieldResponseDataAttributesShown = "incident_mitigation_form" CustomFieldResponseDataAttributesShownIncidentMitigationSlackForm CustomFieldResponseDataAttributesShown = "incident_mitigation_slack_form" CustomFieldResponseDataAttributesShownIncidentPostMortem CustomFieldResponseDataAttributesShown = "incident_post_mortem" CustomFieldResponseDataAttributesShownIncidentPostMortemForm CustomFieldResponseDataAttributesShown = "incident_post_mortem_form" CustomFieldResponseDataAttributesShownIncidentResolutionForm CustomFieldResponseDataAttributesShown = "incident_resolution_form" CustomFieldResponseDataAttributesShownIncidentResolutionSlackForm CustomFieldResponseDataAttributesShown = "incident_resolution_slack_form" CustomFieldResponseDataAttributesShownIncidentSlackForm CustomFieldResponseDataAttributesShown = "incident_slack_form" )
Defines values for CustomFieldResponseDataAttributesShown.
type CustomFieldResponseDataType ¶
type CustomFieldResponseDataType string
CustomFieldResponseDataType defines model for CustomFieldResponse.Data.Type.
const (
CustomFieldResponseDataTypeCustomFields CustomFieldResponseDataType = "custom_fields"
)
Defines values for CustomFieldResponseDataType.
type CustomFieldShown ¶
type CustomFieldShown string
Where the custom_field is shown
const ( CustomFieldShownIncidentForm CustomFieldShown = "incident_form" CustomFieldShownIncidentMitigationForm CustomFieldShown = "incident_mitigation_form" CustomFieldShownIncidentMitigationSlackForm CustomFieldShown = "incident_mitigation_slack_form" CustomFieldShownIncidentPostMortem CustomFieldShown = "incident_post_mortem" CustomFieldShownIncidentPostMortemForm CustomFieldShown = "incident_post_mortem_form" CustomFieldShownIncidentResolutionForm CustomFieldShown = "incident_resolution_form" CustomFieldShownIncidentResolutionSlackForm CustomFieldShown = "incident_resolution_slack_form" CustomFieldShownIncidentSlackForm CustomFieldShown = "incident_slack_form" )
Defines values for CustomFieldShown.
type Dashboard ¶
type Dashboard struct {
// Whether the dashboard auto-updates the UI with new data.
AutoRefresh *bool `json:"auto_refresh,omitempty"`
// The hex color of the dashboard
Color *DashboardColor `json:"color"`
// Date of creation
CreatedAt *string `json:"created_at,omitempty"`
// The description of the dashboard
Description *string `json:"description"`
// The emoji icon of the dashboard
Icon *string `json:"icon,omitempty"`
// The name of the dashboard
Name string `json:"name"`
// The owner type of the dashboard
Owner DashboardOwner `json:"owner"`
// The grouping period for dashboard panel data
Period *string `json:"period"`
// Whether the dashboard is public
Public bool `json:"public"`
// The date range for dashboard panel data
Range *string `json:"range"`
// The dashboard team
TeamId *float32 `json:"team_id,omitempty"`
// Date of last update
UpdatedAt *string `json:"updated_at,omitempty"`
// The dashboard user owner if owner is of type user
UserId *float32 `json:"user_id"`
}
Dashboard defines model for dashboard.
type DashboardColor ¶ added in v1.1.4
type DashboardColor string
The hex color of the dashboard
const ( DashboardColorHashD7F5E1 DashboardColor = "#D7F5E1" DashboardColorHashE9E2FF DashboardColor = "#E9E2FF" DashboardColorHashFAE6E8 DashboardColor = "#FAE6E8" DashboardColorHashFAEEE6 DashboardColor = "#FAEEE6" DashboardColorHashFCF2CF DashboardColor = "#FCF2CF" )
Defines values for DashboardColor.
type DashboardList ¶
type DashboardList struct {
Data []struct {
Attributes struct {
// Whether the dashboard auto-updates the UI with new data.
AutoRefresh *bool `json:"auto_refresh,omitempty"`
// The hex color of the dashboard
Color *DashboardListDataAttributesColor `json:"color"`
// Date of creation
CreatedAt *string `json:"created_at,omitempty"`
// The description of the dashboard
Description *string `json:"description"`
// The emoji icon of the dashboard
Icon *string `json:"icon,omitempty"`
// The name of the dashboard
Name string `json:"name"`
// The owner type of the dashboard
Owner DashboardListDataAttributesOwner `json:"owner"`
// The grouping period for dashboard panel data
Period *string `json:"period"`
// Whether the dashboard is public
Public bool `json:"public"`
// The date range for dashboard panel data
Range *string `json:"range"`
// The dashboard team
TeamId *float32 `json:"team_id,omitempty"`
// Date of last update
UpdatedAt *string `json:"updated_at,omitempty"`
// The dashboard user owner if owner is of type user
UserId *float32 `json:"user_id"`
} `json:"attributes"`
// Unique ID of the dashboard
Id string `json:"id"`
Type DashboardListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
DashboardList defines model for dashboard_list.
type DashboardListDataAttributesColor ¶ added in v1.1.4
type DashboardListDataAttributesColor string
The hex color of the dashboard
const ( DashboardListDataAttributesColorHashD7F5E1 DashboardListDataAttributesColor = "#D7F5E1" DashboardListDataAttributesColorHashE9E2FF DashboardListDataAttributesColor = "#E9E2FF" DashboardListDataAttributesColorHashFAE6E8 DashboardListDataAttributesColor = "#FAE6E8" DashboardListDataAttributesColorHashFAEEE6 DashboardListDataAttributesColor = "#FAEEE6" DashboardListDataAttributesColorHashFCF2CF DashboardListDataAttributesColor = "#FCF2CF" )
Defines values for DashboardListDataAttributesColor.
type DashboardListDataAttributesOwner ¶ added in v0.1.12
type DashboardListDataAttributesOwner string
The owner type of the dashboard
const ( DashboardListDataAttributesOwnerTeam DashboardListDataAttributesOwner = "team" DashboardListDataAttributesOwnerUser DashboardListDataAttributesOwner = "user" )
Defines values for DashboardListDataAttributesOwner.
type DashboardListDataType ¶
type DashboardListDataType string
DashboardListDataType defines model for DashboardList.Data.Type.
const (
DashboardListDataTypeDashboards DashboardListDataType = "dashboards"
)
Defines values for DashboardListDataType.
type DashboardOwner ¶
type DashboardOwner string
The owner type of the dashboard
const ( DashboardOwnerTeam DashboardOwner = "team" DashboardOwnerUser DashboardOwner = "user" )
Defines values for DashboardOwner.
type DashboardPanel ¶
type DashboardPanel struct {
// The panel dashboard
DashboardId *string `json:"dashboard_id,omitempty"`
Data *[]map[string]interface{} `json:"data,omitempty"`
// The name of the dashboard_panel
Name *string `json:"name"`
Params struct {
Datasets *[]struct {
Aggregate *struct {
Cumulative *bool `json:"cumulative"`
Key *string `json:"key"`
Operation *DashboardPanelParamsDatasetsAggregateOperation `json:"operation,omitempty"`
} `json:"aggregate"`
Collection *DashboardPanelParamsDatasetsCollection `json:"collection,omitempty"`
Filter *[]struct {
Operation *DashboardPanelParamsDatasetsFilterOperation `json:"operation,omitempty"`
Rules *[]struct {
Condition *string `json:"condition,omitempty"`
Key *string `json:"key,omitempty"`
Operation *DashboardPanelParamsDatasetsFilterRulesOperation `json:"operation,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"rules,omitempty"`
} `json:"filter,omitempty"`
GroupBy *string `json:"group_by"`
Name *string `json:"name"`
} `json:"datasets,omitempty"`
Display *DashboardPanelParamsDisplay `json:"display,omitempty"`
} `json:"params"`
Position *struct {
H float32 `json:"h"`
W float32 `json:"w"`
X float32 `json:"x"`
Y float32 `json:"y"`
} `json:"position"`
}
DashboardPanel defines model for dashboard_panel.
type DashboardPanelList ¶
type DashboardPanelList struct {
Data []struct {
Attributes struct {
// The panel dashboard
DashboardId *string `json:"dashboard_id,omitempty"`
Data *[]map[string]interface{} `json:"data,omitempty"`
// The name of the dashboard_panel
Name *string `json:"name"`
Params struct {
Datasets *[]struct {
Aggregate *struct {
Cumulative *bool `json:"cumulative"`
Key *string `json:"key"`
Operation *DashboardPanelListDataAttributesParamsDatasetsAggregateOperation `json:"operation,omitempty"`
} `json:"aggregate"`
Collection *DashboardPanelListDataAttributesParamsDatasetsCollection `json:"collection,omitempty"`
Filter *[]struct {
Operation *DashboardPanelListDataAttributesParamsDatasetsFilterOperation `json:"operation,omitempty"`
Rules *[]struct {
Condition *string `json:"condition,omitempty"`
Key *string `json:"key,omitempty"`
Operation *DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation `json:"operation,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"rules,omitempty"`
} `json:"filter,omitempty"`
GroupBy *string `json:"group_by"`
Name *string `json:"name"`
} `json:"datasets,omitempty"`
Display *DashboardPanelListDataAttributesParamsDisplay `json:"display,omitempty"`
} `json:"params"`
Position *struct {
H float32 `json:"h"`
W float32 `json:"w"`
X float32 `json:"x"`
Y float32 `json:"y"`
} `json:"position"`
} `json:"attributes"`
// Unique ID of the dashboard_panel
Id string `json:"id"`
Type DashboardPanelListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
DashboardPanelList defines model for dashboard_panel_list.
type DashboardPanelListDataAttributesParamsDatasetsAggregateOperation ¶ added in v0.1.15
type DashboardPanelListDataAttributesParamsDatasetsAggregateOperation string
DashboardPanelListDataAttributesParamsDatasetsAggregateOperation defines model for DashboardPanelList.Data.Attributes.Params.Datasets.Aggregate.Operation.
const ( DashboardPanelListDataAttributesParamsDatasetsAggregateOperationAverage DashboardPanelListDataAttributesParamsDatasetsAggregateOperation = "average" DashboardPanelListDataAttributesParamsDatasetsAggregateOperationCount DashboardPanelListDataAttributesParamsDatasetsAggregateOperation = "count" DashboardPanelListDataAttributesParamsDatasetsAggregateOperationSum DashboardPanelListDataAttributesParamsDatasetsAggregateOperation = "sum" )
Defines values for DashboardPanelListDataAttributesParamsDatasetsAggregateOperation.
type DashboardPanelListDataAttributesParamsDatasetsCollection ¶ added in v0.1.15
type DashboardPanelListDataAttributesParamsDatasetsCollection string
DashboardPanelListDataAttributesParamsDatasetsCollection defines model for DashboardPanelList.Data.Attributes.Params.Datasets.Collection.
const ( DashboardPanelListDataAttributesParamsDatasetsCollectionIncidentActionItems DashboardPanelListDataAttributesParamsDatasetsCollection = "incident_action_items" DashboardPanelListDataAttributesParamsDatasetsCollectionIncidentPostMortems DashboardPanelListDataAttributesParamsDatasetsCollection = "incident_post_mortems" DashboardPanelListDataAttributesParamsDatasetsCollectionIncidents DashboardPanelListDataAttributesParamsDatasetsCollection = "incidents" )
Defines values for DashboardPanelListDataAttributesParamsDatasetsCollection.
type DashboardPanelListDataAttributesParamsDatasetsFilterOperation ¶ added in v0.1.15
type DashboardPanelListDataAttributesParamsDatasetsFilterOperation string
DashboardPanelListDataAttributesParamsDatasetsFilterOperation defines model for DashboardPanelList.Data.Attributes.Params.Datasets.Filter.Operation.
const ( DashboardPanelListDataAttributesParamsDatasetsFilterOperationAnd DashboardPanelListDataAttributesParamsDatasetsFilterOperation = "and" DashboardPanelListDataAttributesParamsDatasetsFilterOperationOr DashboardPanelListDataAttributesParamsDatasetsFilterOperation = "or" )
Defines values for DashboardPanelListDataAttributesParamsDatasetsFilterOperation.
type DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation ¶ added in v0.1.15
type DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation string
DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation defines model for DashboardPanelList.Data.Attributes.Params.Datasets.Filter.Rules.Operation.
const ( DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperationAnd DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation = "and" DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperationOr DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation = "or" )
Defines values for DashboardPanelListDataAttributesParamsDatasetsFilterRulesOperation.
type DashboardPanelListDataAttributesParamsDisplay ¶ added in v0.1.15
type DashboardPanelListDataAttributesParamsDisplay string
DashboardPanelListDataAttributesParamsDisplay defines model for DashboardPanelList.Data.Attributes.Params.Display.
const ( DashboardPanelListDataAttributesParamsDisplayAggregateValue DashboardPanelListDataAttributesParamsDisplay = "aggregate_value" DashboardPanelListDataAttributesParamsDisplayColumnChart DashboardPanelListDataAttributesParamsDisplay = "column_chart" DashboardPanelListDataAttributesParamsDisplayLineChart DashboardPanelListDataAttributesParamsDisplay = "line_chart" DashboardPanelListDataAttributesParamsDisplayLineSteppedChart DashboardPanelListDataAttributesParamsDisplay = "line_stepped_chart" DashboardPanelListDataAttributesParamsDisplayPieChart DashboardPanelListDataAttributesParamsDisplay = "pie_chart" DashboardPanelListDataAttributesParamsDisplayStackedColumnChart DashboardPanelListDataAttributesParamsDisplay = "stacked_column_chart" DashboardPanelListDataAttributesParamsDisplayTable DashboardPanelListDataAttributesParamsDisplay = "table" )
Defines values for DashboardPanelListDataAttributesParamsDisplay.
type DashboardPanelListDataType ¶
type DashboardPanelListDataType string
DashboardPanelListDataType defines model for DashboardPanelList.Data.Type.
const (
DashboardPanelListDataTypeDashboardPanels DashboardPanelListDataType = "dashboard_panels"
)
Defines values for DashboardPanelListDataType.
type DashboardPanelParamsDatasetsAggregateOperation ¶
type DashboardPanelParamsDatasetsAggregateOperation string
DashboardPanelParamsDatasetsAggregateOperation defines model for DashboardPanel.Params.Datasets.Aggregate.Operation.
const ( DashboardPanelParamsDatasetsAggregateOperationAverage DashboardPanelParamsDatasetsAggregateOperation = "average" DashboardPanelParamsDatasetsAggregateOperationCount DashboardPanelParamsDatasetsAggregateOperation = "count" DashboardPanelParamsDatasetsAggregateOperationSum DashboardPanelParamsDatasetsAggregateOperation = "sum" )
Defines values for DashboardPanelParamsDatasetsAggregateOperation.
type DashboardPanelParamsDatasetsCollection ¶
type DashboardPanelParamsDatasetsCollection string
DashboardPanelParamsDatasetsCollection defines model for DashboardPanel.Params.Datasets.Collection.
const ( DashboardPanelParamsDatasetsCollectionIncidentActionItems DashboardPanelParamsDatasetsCollection = "incident_action_items" DashboardPanelParamsDatasetsCollectionIncidentPostMortems DashboardPanelParamsDatasetsCollection = "incident_post_mortems" DashboardPanelParamsDatasetsCollectionIncidents DashboardPanelParamsDatasetsCollection = "incidents" )
Defines values for DashboardPanelParamsDatasetsCollection.
type DashboardPanelParamsDatasetsFilterOperation ¶
type DashboardPanelParamsDatasetsFilterOperation string
DashboardPanelParamsDatasetsFilterOperation defines model for DashboardPanel.Params.Datasets.Filter.Operation.
const ( DashboardPanelParamsDatasetsFilterOperationAnd DashboardPanelParamsDatasetsFilterOperation = "and" DashboardPanelParamsDatasetsFilterOperationOr DashboardPanelParamsDatasetsFilterOperation = "or" )
Defines values for DashboardPanelParamsDatasetsFilterOperation.
type DashboardPanelParamsDatasetsFilterRulesOperation ¶
type DashboardPanelParamsDatasetsFilterRulesOperation string
DashboardPanelParamsDatasetsFilterRulesOperation defines model for DashboardPanel.Params.Datasets.Filter.Rules.Operation.
const ( DashboardPanelParamsDatasetsFilterRulesOperationAnd DashboardPanelParamsDatasetsFilterRulesOperation = "and" DashboardPanelParamsDatasetsFilterRulesOperationOr DashboardPanelParamsDatasetsFilterRulesOperation = "or" )
Defines values for DashboardPanelParamsDatasetsFilterRulesOperation.
type DashboardPanelParamsDisplay ¶
type DashboardPanelParamsDisplay string
DashboardPanelParamsDisplay defines model for DashboardPanel.Params.Display.
const ( DashboardPanelParamsDisplayAggregateValue DashboardPanelParamsDisplay = "aggregate_value" DashboardPanelParamsDisplayColumnChart DashboardPanelParamsDisplay = "column_chart" DashboardPanelParamsDisplayLineChart DashboardPanelParamsDisplay = "line_chart" DashboardPanelParamsDisplayLineSteppedChart DashboardPanelParamsDisplay = "line_stepped_chart" DashboardPanelParamsDisplayPieChart DashboardPanelParamsDisplay = "pie_chart" DashboardPanelParamsDisplayStackedColumnChart DashboardPanelParamsDisplay = "stacked_column_chart" DashboardPanelParamsDisplayTable DashboardPanelParamsDisplay = "table" )
Defines values for DashboardPanelParamsDisplay.
type DashboardPanelResponse ¶
type DashboardPanelResponse struct {
Data struct {
Attributes struct {
// The panel dashboard
DashboardId *string `json:"dashboard_id,omitempty"`
Data *[]map[string]interface{} `json:"data,omitempty"`
// The name of the dashboard_panel
Name *string `json:"name"`
Params struct {
Datasets *[]struct {
Aggregate *struct {
Cumulative *bool `json:"cumulative"`
Key *string `json:"key"`
Operation *DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation `json:"operation,omitempty"`
} `json:"aggregate"`
Collection *DashboardPanelResponseDataAttributesParamsDatasetsCollection `json:"collection,omitempty"`
Filter *[]struct {
Operation *DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation `json:"operation,omitempty"`
Rules *[]struct {
Condition *string `json:"condition,omitempty"`
Key *string `json:"key,omitempty"`
Operation *string `json:"operation,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"rules,omitempty"`
} `json:"filter,omitempty"`
GroupBy *string `json:"group_by"`
Name *string `json:"name"`
} `json:"datasets,omitempty"`
Display *DashboardPanelResponseDataAttributesParamsDisplay `json:"display,omitempty"`
} `json:"params"`
Position *struct {
H float32 `json:"h"`
W float32 `json:"w"`
X float32 `json:"x"`
Y float32 `json:"y"`
} `json:"position"`
} `json:"attributes"`
// Unique ID of the dashboard_panel
Id string `json:"id"`
Type DashboardPanelResponseDataType `json:"type"`
} `json:"data"`
}
DashboardPanelResponse defines model for dashboard_panel_response.
type DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation ¶ added in v0.1.15
type DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation string
DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation defines model for DashboardPanelResponse.Data.Attributes.Params.Datasets.Aggregate.Operation.
const ( DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperationAverage DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation = "average" DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperationCount DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation = "count" DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperationSum DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation = "sum" )
Defines values for DashboardPanelResponseDataAttributesParamsDatasetsAggregateOperation.
type DashboardPanelResponseDataAttributesParamsDatasetsCollection ¶ added in v0.1.15
type DashboardPanelResponseDataAttributesParamsDatasetsCollection string
DashboardPanelResponseDataAttributesParamsDatasetsCollection defines model for DashboardPanelResponse.Data.Attributes.Params.Datasets.Collection.
const ( DashboardPanelResponseDataAttributesParamsDatasetsCollectionIncidentActionItems DashboardPanelResponseDataAttributesParamsDatasetsCollection = "incident_action_items" DashboardPanelResponseDataAttributesParamsDatasetsCollectionIncidentPostMortems DashboardPanelResponseDataAttributesParamsDatasetsCollection = "incident_post_mortems" DashboardPanelResponseDataAttributesParamsDatasetsCollectionIncidents DashboardPanelResponseDataAttributesParamsDatasetsCollection = "incidents" )
Defines values for DashboardPanelResponseDataAttributesParamsDatasetsCollection.
type DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation ¶ added in v0.1.15
type DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation string
DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation defines model for DashboardPanelResponse.Data.Attributes.Params.Datasets.Filter.Operation.
const ( DashboardPanelResponseDataAttributesParamsDatasetsFilterOperationAnd DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation = "and" DashboardPanelResponseDataAttributesParamsDatasetsFilterOperationOr DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation = "or" )
Defines values for DashboardPanelResponseDataAttributesParamsDatasetsFilterOperation.
type DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperation ¶ added in v0.1.15
type DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperation string
DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperation defines model for DashboardPanelResponse.Data.Attributes.Params.Datasets.Filter.Rules.Operation.
const ( DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperationAnd DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperation = "and" DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperationOr DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperation = "or" )
Defines values for DashboardPanelResponseDataAttributesParamsDatasetsFilterRulesOperation.
type DashboardPanelResponseDataAttributesParamsDisplay ¶ added in v0.1.15
type DashboardPanelResponseDataAttributesParamsDisplay string
DashboardPanelResponseDataAttributesParamsDisplay defines model for DashboardPanelResponse.Data.Attributes.Params.Display.
const ( DashboardPanelResponseDataAttributesParamsDisplayAggregateValue DashboardPanelResponseDataAttributesParamsDisplay = "aggregate_value" DashboardPanelResponseDataAttributesParamsDisplayColumnChart DashboardPanelResponseDataAttributesParamsDisplay = "column_chart" DashboardPanelResponseDataAttributesParamsDisplayLineChart DashboardPanelResponseDataAttributesParamsDisplay = "line_chart" DashboardPanelResponseDataAttributesParamsDisplayLineSteppedChart DashboardPanelResponseDataAttributesParamsDisplay = "line_stepped_chart" DashboardPanelResponseDataAttributesParamsDisplayPieChart DashboardPanelResponseDataAttributesParamsDisplay = "pie_chart" DashboardPanelResponseDataAttributesParamsDisplayStackedColumnChart DashboardPanelResponseDataAttributesParamsDisplay = "stacked_column_chart" DashboardPanelResponseDataAttributesParamsDisplayTable DashboardPanelResponseDataAttributesParamsDisplay = "table" )
Defines values for DashboardPanelResponseDataAttributesParamsDisplay.
type DashboardPanelResponseDataType ¶
type DashboardPanelResponseDataType string
DashboardPanelResponseDataType defines model for DashboardPanelResponse.Data.Type.
const (
DashboardPanelResponseDataTypeDashboardPanels DashboardPanelResponseDataType = "dashboard_panels"
)
Defines values for DashboardPanelResponseDataType.
type DashboardResponse ¶
type DashboardResponse struct {
Data struct {
Attributes struct {
// Whether the dashboard auto-updates the UI with new data.
AutoRefresh *bool `json:"auto_refresh,omitempty"`
// The hex color of the dashboard
Color *DashboardResponseDataAttributesColor `json:"color"`
// Date of creation
CreatedAt *string `json:"created_at,omitempty"`
// The description of the dashboard
Description *string `json:"description"`
// The emoji icon of the dashboard
Icon *string `json:"icon,omitempty"`
// The name of the dashboard
Name string `json:"name"`
// The owner type of the dashboard
Owner DashboardResponseDataAttributesOwner `json:"owner"`
// The grouping period for dashboard panel data
Period *string `json:"period"`
// Whether the dashboard is public
Public bool `json:"public"`
// The date range for dashboard panel data
Range *string `json:"range"`
// The dashboard team
TeamId *float32 `json:"team_id,omitempty"`
// Date of last update
UpdatedAt *string `json:"updated_at,omitempty"`
// The dashboard user owner if owner is of type user
UserId *float32 `json:"user_id"`
} `json:"attributes"`
// Unique ID of the dashboard
Id string `json:"id"`
Type DashboardResponseDataType `json:"type"`
} `json:"data"`
}
DashboardResponse defines model for dashboard_response.
type DashboardResponseDataAttributesColor ¶ added in v1.1.4
type DashboardResponseDataAttributesColor string
The hex color of the dashboard
const ( DashboardResponseDataAttributesColorHashD7F5E1 DashboardResponseDataAttributesColor = "#D7F5E1" DashboardResponseDataAttributesColorHashE9E2FF DashboardResponseDataAttributesColor = "#E9E2FF" DashboardResponseDataAttributesColorHashFAE6E8 DashboardResponseDataAttributesColor = "#FAE6E8" DashboardResponseDataAttributesColorHashFAEEE6 DashboardResponseDataAttributesColor = "#FAEEE6" DashboardResponseDataAttributesColorHashFCF2CF DashboardResponseDataAttributesColor = "#FCF2CF" )
Defines values for DashboardResponseDataAttributesColor.
type DashboardResponseDataAttributesOwner ¶ added in v0.1.12
type DashboardResponseDataAttributesOwner string
The owner type of the dashboard
const ( DashboardResponseDataAttributesOwnerTeam DashboardResponseDataAttributesOwner = "team" DashboardResponseDataAttributesOwnerUser DashboardResponseDataAttributesOwner = "user" )
Defines values for DashboardResponseDataAttributesOwner.
type DashboardResponseDataType ¶
type DashboardResponseDataType string
DashboardResponseDataType defines model for DashboardResponse.Data.Type.
const (
DashboardResponseDataTypeDashboards DashboardResponseDataType = "dashboards"
)
Defines values for DashboardResponseDataType.
type DeleteCauseResponse ¶
func ParseDeleteCauseResponse ¶
func ParseDeleteCauseResponse(rsp *http.Response) (*DeleteCauseResponse, error)
ParseDeleteCauseResponse parses an HTTP response from a DeleteCauseWithResponse call
func (DeleteCauseResponse) Status ¶
func (r DeleteCauseResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCauseResponse) StatusCode ¶
func (r DeleteCauseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomFieldOptionResponse ¶
func ParseDeleteCustomFieldOptionResponse ¶
func ParseDeleteCustomFieldOptionResponse(rsp *http.Response) (*DeleteCustomFieldOptionResponse, error)
ParseDeleteCustomFieldOptionResponse parses an HTTP response from a DeleteCustomFieldOptionWithResponse call
func (DeleteCustomFieldOptionResponse) Status ¶
func (r DeleteCustomFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomFieldOptionResponse) StatusCode ¶
func (r DeleteCustomFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomFieldResponse ¶
func ParseDeleteCustomFieldResponse ¶
func ParseDeleteCustomFieldResponse(rsp *http.Response) (*DeleteCustomFieldResponse, error)
ParseDeleteCustomFieldResponse parses an HTTP response from a DeleteCustomFieldWithResponse call
func (DeleteCustomFieldResponse) Status ¶
func (r DeleteCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomFieldResponse) StatusCode ¶
func (r DeleteCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDashboardPanelResponse ¶
func ParseDeleteDashboardPanelResponse ¶
func ParseDeleteDashboardPanelResponse(rsp *http.Response) (*DeleteDashboardPanelResponse, error)
ParseDeleteDashboardPanelResponse parses an HTTP response from a DeleteDashboardPanelWithResponse call
func (DeleteDashboardPanelResponse) Status ¶
func (r DeleteDashboardPanelResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDashboardPanelResponse) StatusCode ¶
func (r DeleteDashboardPanelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDashboardResponse ¶
func ParseDeleteDashboardResponse ¶
func ParseDeleteDashboardResponse(rsp *http.Response) (*DeleteDashboardResponse, error)
ParseDeleteDashboardResponse parses an HTTP response from a DeleteDashboardWithResponse call
func (DeleteDashboardResponse) Status ¶
func (r DeleteDashboardResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDashboardResponse) StatusCode ¶
func (r DeleteDashboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvironmentResponse ¶
func ParseDeleteEnvironmentResponse ¶
func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error)
ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call
func (DeleteEnvironmentResponse) Status ¶
func (r DeleteEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvironmentResponse) StatusCode ¶
func (r DeleteEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFormFieldOptionResponse ¶ added in v0.1.48
func ParseDeleteFormFieldOptionResponse ¶ added in v0.1.48
func ParseDeleteFormFieldOptionResponse(rsp *http.Response) (*DeleteFormFieldOptionResponse, error)
ParseDeleteFormFieldOptionResponse parses an HTTP response from a DeleteFormFieldOptionWithResponse call
func (DeleteFormFieldOptionResponse) Status ¶ added in v0.1.48
func (r DeleteFormFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFormFieldOptionResponse) StatusCode ¶ added in v0.1.48
func (r DeleteFormFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFormFieldPositionResponse ¶ added in v0.1.48
func ParseDeleteFormFieldPositionResponse ¶ added in v0.1.48
func ParseDeleteFormFieldPositionResponse(rsp *http.Response) (*DeleteFormFieldPositionResponse, error)
ParseDeleteFormFieldPositionResponse parses an HTTP response from a DeleteFormFieldPositionWithResponse call
func (DeleteFormFieldPositionResponse) Status ¶ added in v0.1.48
func (r DeleteFormFieldPositionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFormFieldPositionResponse) StatusCode ¶ added in v0.1.48
func (r DeleteFormFieldPositionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFormFieldResponse ¶ added in v0.1.48
func ParseDeleteFormFieldResponse ¶ added in v0.1.48
func ParseDeleteFormFieldResponse(rsp *http.Response) (*DeleteFormFieldResponse, error)
ParseDeleteFormFieldResponse parses an HTTP response from a DeleteFormFieldWithResponse call
func (DeleteFormFieldResponse) Status ¶ added in v0.1.48
func (r DeleteFormFieldResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFormFieldResponse) StatusCode ¶ added in v0.1.48
func (r DeleteFormFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFunctionalityResponse ¶
func ParseDeleteFunctionalityResponse ¶
func ParseDeleteFunctionalityResponse(rsp *http.Response) (*DeleteFunctionalityResponse, error)
ParseDeleteFunctionalityResponse parses an HTTP response from a DeleteFunctionalityWithResponse call
func (DeleteFunctionalityResponse) Status ¶
func (r DeleteFunctionalityResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFunctionalityResponse) StatusCode ¶
func (r DeleteFunctionalityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentActionItemResponse ¶
func ParseDeleteIncidentActionItemResponse ¶
func ParseDeleteIncidentActionItemResponse(rsp *http.Response) (*DeleteIncidentActionItemResponse, error)
ParseDeleteIncidentActionItemResponse parses an HTTP response from a DeleteIncidentActionItemWithResponse call
func (DeleteIncidentActionItemResponse) Status ¶
func (r DeleteIncidentActionItemResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentActionItemResponse) StatusCode ¶
func (r DeleteIncidentActionItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentCustomFieldSelectionResponse ¶
func ParseDeleteIncidentCustomFieldSelectionResponse ¶
func ParseDeleteIncidentCustomFieldSelectionResponse(rsp *http.Response) (*DeleteIncidentCustomFieldSelectionResponse, error)
ParseDeleteIncidentCustomFieldSelectionResponse parses an HTTP response from a DeleteIncidentCustomFieldSelectionWithResponse call
func (DeleteIncidentCustomFieldSelectionResponse) Status ¶
func (r DeleteIncidentCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentCustomFieldSelectionResponse) StatusCode ¶
func (r DeleteIncidentCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentEventFunctionalityResponse ¶ added in v0.1.70
func ParseDeleteIncidentEventFunctionalityResponse ¶ added in v0.1.70
func ParseDeleteIncidentEventFunctionalityResponse(rsp *http.Response) (*DeleteIncidentEventFunctionalityResponse, error)
ParseDeleteIncidentEventFunctionalityResponse parses an HTTP response from a DeleteIncidentEventFunctionalityWithResponse call
func (DeleteIncidentEventFunctionalityResponse) Status ¶ added in v0.1.70
func (r DeleteIncidentEventFunctionalityResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentEventFunctionalityResponse) StatusCode ¶ added in v0.1.70
func (r DeleteIncidentEventFunctionalityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentEventResponse ¶
func ParseDeleteIncidentEventResponse ¶
func ParseDeleteIncidentEventResponse(rsp *http.Response) (*DeleteIncidentEventResponse, error)
ParseDeleteIncidentEventResponse parses an HTTP response from a DeleteIncidentEventWithResponse call
func (DeleteIncidentEventResponse) Status ¶
func (r DeleteIncidentEventResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentEventResponse) StatusCode ¶
func (r DeleteIncidentEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentEventServiceResponse ¶ added in v0.1.70
func ParseDeleteIncidentEventServiceResponse ¶ added in v0.1.70
func ParseDeleteIncidentEventServiceResponse(rsp *http.Response) (*DeleteIncidentEventServiceResponse, error)
ParseDeleteIncidentEventServiceResponse parses an HTTP response from a DeleteIncidentEventServiceWithResponse call
func (DeleteIncidentEventServiceResponse) Status ¶ added in v0.1.70
func (r DeleteIncidentEventServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentEventServiceResponse) StatusCode ¶ added in v0.1.70
func (r DeleteIncidentEventServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseDeleteIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseDeleteIncidentFormFieldSelectionResponse(rsp *http.Response) (*DeleteIncidentFormFieldSelectionResponse, error)
ParseDeleteIncidentFormFieldSelectionResponse parses an HTTP response from a DeleteIncidentFormFieldSelectionWithResponse call
func (DeleteIncidentFormFieldSelectionResponse) Status ¶ added in v0.1.48
func (r DeleteIncidentFormFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentFormFieldSelectionResponse) StatusCode ¶ added in v0.1.48
func (r DeleteIncidentFormFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentResponse ¶
func ParseDeleteIncidentResponse ¶
func ParseDeleteIncidentResponse(rsp *http.Response) (*DeleteIncidentResponse, error)
ParseDeleteIncidentResponse parses an HTTP response from a DeleteIncidentWithResponse call
func (DeleteIncidentResponse) Status ¶
func (r DeleteIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentResponse) StatusCode ¶
func (r DeleteIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentRoleResponse ¶
func ParseDeleteIncidentRoleResponse ¶
func ParseDeleteIncidentRoleResponse(rsp *http.Response) (*DeleteIncidentRoleResponse, error)
ParseDeleteIncidentRoleResponse parses an HTTP response from a DeleteIncidentRoleWithResponse call
func (DeleteIncidentRoleResponse) Status ¶
func (r DeleteIncidentRoleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentRoleResponse) StatusCode ¶
func (r DeleteIncidentRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentRoleTaskResponse ¶
func ParseDeleteIncidentRoleTaskResponse ¶
func ParseDeleteIncidentRoleTaskResponse(rsp *http.Response) (*DeleteIncidentRoleTaskResponse, error)
ParseDeleteIncidentRoleTaskResponse parses an HTTP response from a DeleteIncidentRoleTaskWithResponse call
func (DeleteIncidentRoleTaskResponse) Status ¶
func (r DeleteIncidentRoleTaskResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentRoleTaskResponse) StatusCode ¶
func (r DeleteIncidentRoleTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentStatusPageResponse ¶
func ParseDeleteIncidentStatusPageResponse ¶
func ParseDeleteIncidentStatusPageResponse(rsp *http.Response) (*DeleteIncidentStatusPageResponse, error)
ParseDeleteIncidentStatusPageResponse parses an HTTP response from a DeleteIncidentStatusPageWithResponse call
func (DeleteIncidentStatusPageResponse) Status ¶
func (r DeleteIncidentStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentStatusPageResponse) StatusCode ¶
func (r DeleteIncidentStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIncidentTypeResponse ¶
func ParseDeleteIncidentTypeResponse ¶
func ParseDeleteIncidentTypeResponse(rsp *http.Response) (*DeleteIncidentTypeResponse, error)
ParseDeleteIncidentTypeResponse parses an HTTP response from a DeleteIncidentTypeWithResponse call
func (DeleteIncidentTypeResponse) Status ¶
func (r DeleteIncidentTypeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIncidentTypeResponse) StatusCode ¶
func (r DeleteIncidentTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePlaybookResponse ¶
func ParseDeletePlaybookResponse ¶
func ParseDeletePlaybookResponse(rsp *http.Response) (*DeletePlaybookResponse, error)
ParseDeletePlaybookResponse parses an HTTP response from a DeletePlaybookWithResponse call
func (DeletePlaybookResponse) Status ¶
func (r DeletePlaybookResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePlaybookResponse) StatusCode ¶
func (r DeletePlaybookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePlaybookTaskResponse ¶
func ParseDeletePlaybookTaskResponse ¶
func ParseDeletePlaybookTaskResponse(rsp *http.Response) (*DeletePlaybookTaskResponse, error)
ParseDeletePlaybookTaskResponse parses an HTTP response from a DeletePlaybookTaskWithResponse call
func (DeletePlaybookTaskResponse) Status ¶
func (r DeletePlaybookTaskResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePlaybookTaskResponse) StatusCode ¶
func (r DeletePlaybookTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePostmortemTemplateResponse ¶
func ParseDeletePostmortemTemplateResponse ¶
func ParseDeletePostmortemTemplateResponse(rsp *http.Response) (*DeletePostmortemTemplateResponse, error)
ParseDeletePostmortemTemplateResponse parses an HTTP response from a DeletePostmortemTemplateWithResponse call
func (DeletePostmortemTemplateResponse) Status ¶
func (r DeletePostmortemTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePostmortemTemplateResponse) StatusCode ¶
func (r DeletePostmortemTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRetrospectiveStepResponse ¶ added in v1.1.7
func ParseDeleteRetrospectiveStepResponse ¶ added in v1.1.7
func ParseDeleteRetrospectiveStepResponse(rsp *http.Response) (*DeleteRetrospectiveStepResponse, error)
ParseDeleteRetrospectiveStepResponse parses an HTTP response from a DeleteRetrospectiveStepWithResponse call
func (DeleteRetrospectiveStepResponse) Status ¶ added in v1.1.7
func (r DeleteRetrospectiveStepResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRetrospectiveStepResponse) StatusCode ¶ added in v1.1.7
func (r DeleteRetrospectiveStepResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecretResponse ¶ added in v0.1.58
func ParseDeleteSecretResponse ¶ added in v0.1.58
func ParseDeleteSecretResponse(rsp *http.Response) (*DeleteSecretResponse, error)
ParseDeleteSecretResponse parses an HTTP response from a DeleteSecretWithResponse call
func (DeleteSecretResponse) Status ¶ added in v0.1.58
func (r DeleteSecretResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecretResponse) StatusCode ¶ added in v0.1.58
func (r DeleteSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteServiceResponse ¶
func ParseDeleteServiceResponse ¶
func ParseDeleteServiceResponse(rsp *http.Response) (*DeleteServiceResponse, error)
ParseDeleteServiceResponse parses an HTTP response from a DeleteServiceWithResponse call
func (DeleteServiceResponse) Status ¶
func (r DeleteServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteServiceResponse) StatusCode ¶
func (r DeleteServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSeverityResponse ¶
func ParseDeleteSeverityResponse ¶
func ParseDeleteSeverityResponse(rsp *http.Response) (*DeleteSeverityResponse, error)
ParseDeleteSeverityResponse parses an HTTP response from a DeleteSeverityWithResponse call
func (DeleteSeverityResponse) Status ¶
func (r DeleteSeverityResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSeverityResponse) StatusCode ¶
func (r DeleteSeverityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageResponse ¶
func ParseDeleteStatusPageResponse ¶
func ParseDeleteStatusPageResponse(rsp *http.Response) (*DeleteStatusPageResponse, error)
ParseDeleteStatusPageResponse parses an HTTP response from a DeleteStatusPageWithResponse call
func (DeleteStatusPageResponse) Status ¶
func (r DeleteStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageResponse) StatusCode ¶
func (r DeleteStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageTemplateResponse ¶ added in v0.1.18
func ParseDeleteStatusPageTemplateResponse ¶ added in v0.1.18
func ParseDeleteStatusPageTemplateResponse(rsp *http.Response) (*DeleteStatusPageTemplateResponse, error)
ParseDeleteStatusPageTemplateResponse parses an HTTP response from a DeleteStatusPageTemplateWithResponse call
func (DeleteStatusPageTemplateResponse) Status ¶ added in v0.1.18
func (r DeleteStatusPageTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageTemplateResponse) StatusCode ¶ added in v0.1.18
func (r DeleteStatusPageTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTeamResponse ¶
func ParseDeleteTeamResponse ¶
func ParseDeleteTeamResponse(rsp *http.Response) (*DeleteTeamResponse, error)
ParseDeleteTeamResponse parses an HTTP response from a DeleteTeamWithResponse call
func (DeleteTeamResponse) Status ¶
func (r DeleteTeamResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTeamResponse) StatusCode ¶
func (r DeleteTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUserResponse ¶ added in v0.1.81
func ParseDeleteUserResponse ¶ added in v0.1.81
func ParseDeleteUserResponse(rsp *http.Response) (*DeleteUserResponse, error)
ParseDeleteUserResponse parses an HTTP response from a DeleteUserWithResponse call
func (DeleteUserResponse) Status ¶ added in v0.1.81
func (r DeleteUserResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUserResponse) StatusCode ¶ added in v0.1.81
func (r DeleteUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWebhooksEndpointResponse ¶ added in v0.1.54
func ParseDeleteWebhooksEndpointResponse ¶ added in v0.1.54
func ParseDeleteWebhooksEndpointResponse(rsp *http.Response) (*DeleteWebhooksEndpointResponse, error)
ParseDeleteWebhooksEndpointResponse parses an HTTP response from a DeleteWebhooksEndpointWithResponse call
func (DeleteWebhooksEndpointResponse) Status ¶ added in v0.1.54
func (r DeleteWebhooksEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWebhooksEndpointResponse) StatusCode ¶ added in v0.1.54
func (r DeleteWebhooksEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkflowCustomFieldSelectionResponse ¶
func ParseDeleteWorkflowCustomFieldSelectionResponse ¶
func ParseDeleteWorkflowCustomFieldSelectionResponse(rsp *http.Response) (*DeleteWorkflowCustomFieldSelectionResponse, error)
ParseDeleteWorkflowCustomFieldSelectionResponse parses an HTTP response from a DeleteWorkflowCustomFieldSelectionWithResponse call
func (DeleteWorkflowCustomFieldSelectionResponse) Status ¶
func (r DeleteWorkflowCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkflowCustomFieldSelectionResponse) StatusCode ¶
func (r DeleteWorkflowCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseDeleteWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseDeleteWorkflowFormFieldConditionResponse(rsp *http.Response) (*DeleteWorkflowFormFieldConditionResponse, error)
ParseDeleteWorkflowFormFieldConditionResponse parses an HTTP response from a DeleteWorkflowFormFieldConditionWithResponse call
func (DeleteWorkflowFormFieldConditionResponse) Status ¶ added in v0.1.48
func (r DeleteWorkflowFormFieldConditionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkflowFormFieldConditionResponse) StatusCode ¶ added in v0.1.48
func (r DeleteWorkflowFormFieldConditionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkflowGroupResponse ¶ added in v0.1.12
func ParseDeleteWorkflowGroupResponse ¶ added in v0.1.12
func ParseDeleteWorkflowGroupResponse(rsp *http.Response) (*DeleteWorkflowGroupResponse, error)
ParseDeleteWorkflowGroupResponse parses an HTTP response from a DeleteWorkflowGroupWithResponse call
func (DeleteWorkflowGroupResponse) Status ¶ added in v0.1.12
func (r DeleteWorkflowGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkflowGroupResponse) StatusCode ¶ added in v0.1.12
func (r DeleteWorkflowGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkflowResponse ¶
func ParseDeleteWorkflowResponse ¶
func ParseDeleteWorkflowResponse(rsp *http.Response) (*DeleteWorkflowResponse, error)
ParseDeleteWorkflowResponse parses an HTTP response from a DeleteWorkflowWithResponse call
func (DeleteWorkflowResponse) Status ¶
func (r DeleteWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkflowResponse) StatusCode ¶
func (r DeleteWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkflowTaskResponse ¶
func ParseDeleteWorkflowTaskResponse ¶
func ParseDeleteWorkflowTaskResponse(rsp *http.Response) (*DeleteWorkflowTaskResponse, error)
ParseDeleteWorkflowTaskResponse parses an HTTP response from a DeleteWorkflowTaskWithResponse call
func (DeleteWorkflowTaskResponse) Status ¶
func (r DeleteWorkflowTaskResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkflowTaskResponse) StatusCode ¶
func (r DeleteWorkflowTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeliverWebhooksDeliveryResponse ¶ added in v0.1.54
func ParseDeliverWebhooksDeliveryResponse ¶ added in v0.1.54
func ParseDeliverWebhooksDeliveryResponse(rsp *http.Response) (*DeliverWebhooksDeliveryResponse, error)
ParseDeliverWebhooksDeliveryResponse parses an HTTP response from a DeliverWebhooksDeliveryWithResponse call
func (DeliverWebhooksDeliveryResponse) Status ¶ added in v0.1.54
func (r DeliverWebhooksDeliveryResponse) Status() string
Status returns HTTPResponse.Status
func (DeliverWebhooksDeliveryResponse) StatusCode ¶ added in v0.1.54
func (r DeliverWebhooksDeliveryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DuplicateDashboardPanelResponse ¶
func ParseDuplicateDashboardPanelResponse ¶
func ParseDuplicateDashboardPanelResponse(rsp *http.Response) (*DuplicateDashboardPanelResponse, error)
ParseDuplicateDashboardPanelResponse parses an HTTP response from a DuplicateDashboardPanelWithResponse call
func (DuplicateDashboardPanelResponse) Status ¶
func (r DuplicateDashboardPanelResponse) Status() string
Status returns HTTPResponse.Status
func (DuplicateDashboardPanelResponse) StatusCode ¶
func (r DuplicateDashboardPanelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DuplicateDashboardResponse ¶
func ParseDuplicateDashboardResponse ¶
func ParseDuplicateDashboardResponse(rsp *http.Response) (*DuplicateDashboardResponse, error)
ParseDuplicateDashboardResponse parses an HTTP response from a DuplicateDashboardWithResponse call
func (DuplicateDashboardResponse) Status ¶
func (r DuplicateDashboardResponse) Status() string
Status returns HTTPResponse.Status
func (DuplicateDashboardResponse) StatusCode ¶
func (r DuplicateDashboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Environment ¶
type Environment struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Environment defines model for environment.
type EnvironmentList ¶
type EnvironmentList struct {
Data []struct {
Attributes struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the environment
Id string `json:"id"`
Type EnvironmentListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
EnvironmentList defines model for environment_list.
type EnvironmentListDataType ¶
type EnvironmentListDataType string
EnvironmentListDataType defines model for EnvironmentList.Data.Type.
const (
EnvironmentListDataTypeEnvironments EnvironmentListDataType = "environments"
)
Defines values for EnvironmentListDataType.
type EnvironmentResponse ¶
type EnvironmentResponse struct {
Data struct {
Attributes struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the environment
Id string `json:"id"`
Type EnvironmentResponseDataType `json:"type"`
} `json:"data"`
}
EnvironmentResponse defines model for environment_response.
type EnvironmentResponseDataType ¶
type EnvironmentResponseDataType string
EnvironmentResponseDataType defines model for EnvironmentResponse.Data.Type.
const (
EnvironmentResponseDataTypeEnvironments EnvironmentResponseDataType = "environments"
)
Defines values for EnvironmentResponseDataType.
type ErrorsList ¶
type ErrorsList struct {
Errors *[]struct {
Code *string `json:"code"`
Detail *string `json:"detail"`
Status string `json:"status"`
Title string `json:"title"`
} `json:"errors,omitempty"`
}
ErrorsList defines model for errors_list.
type FormField ¶ added in v0.1.48
type FormField struct {
// Date of creation
CreatedAt string `json:"created_at"`
DefaultValues []string `json:"default_values"`
// The description of the form field
Description *string `json:"description"`
// Whether the form field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The input kind of the form field
InputKind FormFieldInputKind `json:"input_kind"`
// The kind of the form field
Kind FormFieldKind `json:"kind"`
// The name of the form field
Name string `json:"name"`
Required []FormFieldRequired `json:"required"`
Shown []FormFieldShown `json:"shown"`
// The slug of the form field
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
FormField defines model for form_field.
type FormFieldInputKind ¶ added in v0.1.48
type FormFieldInputKind string
The input kind of the form field
const ( FormFieldInputKindCheckbox FormFieldInputKind = "checkbox" FormFieldInputKindDate FormFieldInputKind = "date" FormFieldInputKindDatetime FormFieldInputKind = "datetime" FormFieldInputKindMultiSelect FormFieldInputKind = "multi_select" FormFieldInputKindNumber FormFieldInputKind = "number" FormFieldInputKindSelect FormFieldInputKind = "select" FormFieldInputKindTags FormFieldInputKind = "tags" FormFieldInputKindText FormFieldInputKind = "text" FormFieldInputKindTextarea FormFieldInputKind = "textarea" FormFieldInputKindUsers FormFieldInputKind = "users" )
Defines values for FormFieldInputKind.
type FormFieldKind ¶ added in v0.1.48
type FormFieldKind string
The kind of the form field
const ( FormFieldKindAttachAlerts FormFieldKind = "attach_alerts" FormFieldKindCustom FormFieldKind = "custom" FormFieldKindEnvironments FormFieldKind = "environments" FormFieldKindFunctionalities FormFieldKind = "functionalities" FormFieldKindLabels FormFieldKind = "labels" FormFieldKindManualStartingDatetimeField FormFieldKind = "manual_starting_datetime_field" FormFieldKindMarkAsBackfilled FormFieldKind = "mark_as_backfilled" FormFieldKindMarkAsInTriage FormFieldKind = "mark_as_in_triage" FormFieldKindMarkAsTest FormFieldKind = "mark_as_test" FormFieldKindNotifyEmails FormFieldKind = "notify_emails" FormFieldKindServices FormFieldKind = "services" FormFieldKindSeverity FormFieldKind = "severity" FormFieldKindShowOngoingIncidents FormFieldKind = "show_ongoing_incidents" FormFieldKindSummary FormFieldKind = "summary" FormFieldKindTeams FormFieldKind = "teams" FormFieldKindTitle FormFieldKind = "title" FormFieldKindTriggerManualWorkflows FormFieldKind = "trigger_manual_workflows" FormFieldKindTypes FormFieldKind = "types" FormFieldKindVisibility FormFieldKind = "visibility" )
Defines values for FormFieldKind.
type FormFieldList ¶ added in v0.1.48
type FormFieldList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
DefaultValues []string `json:"default_values"`
// The description of the form field
Description *string `json:"description"`
// Whether the form field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The input kind of the form field
InputKind FormFieldListDataAttributesInputKind `json:"input_kind"`
// The kind of the form field
Kind FormFieldListDataAttributesKind `json:"kind"`
// The name of the form field
Name string `json:"name"`
Required []FormFieldListDataAttributesRequired `json:"required"`
Shown []FormFieldListDataAttributesShown `json:"shown"`
// The slug of the form field
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the form field
Id string `json:"id"`
Type FormFieldListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
FormFieldList defines model for form_field_list.
type FormFieldListDataAttributesInputKind ¶ added in v0.1.48
type FormFieldListDataAttributesInputKind string
The input kind of the form field
const ( FormFieldListDataAttributesInputKindCheckbox FormFieldListDataAttributesInputKind = "checkbox" FormFieldListDataAttributesInputKindDate FormFieldListDataAttributesInputKind = "date" FormFieldListDataAttributesInputKindDatetime FormFieldListDataAttributesInputKind = "datetime" FormFieldListDataAttributesInputKindMultiSelect FormFieldListDataAttributesInputKind = "multi_select" FormFieldListDataAttributesInputKindNumber FormFieldListDataAttributesInputKind = "number" FormFieldListDataAttributesInputKindSelect FormFieldListDataAttributesInputKind = "select" FormFieldListDataAttributesInputKindTags FormFieldListDataAttributesInputKind = "tags" FormFieldListDataAttributesInputKindText FormFieldListDataAttributesInputKind = "text" FormFieldListDataAttributesInputKindTextarea FormFieldListDataAttributesInputKind = "textarea" FormFieldListDataAttributesInputKindUsers FormFieldListDataAttributesInputKind = "users" )
Defines values for FormFieldListDataAttributesInputKind.
type FormFieldListDataAttributesKind ¶ added in v0.1.48
type FormFieldListDataAttributesKind string
The kind of the form field
const ( FormFieldListDataAttributesKindAttachAlerts FormFieldListDataAttributesKind = "attach_alerts" FormFieldListDataAttributesKindCustom FormFieldListDataAttributesKind = "custom" FormFieldListDataAttributesKindEnvironments FormFieldListDataAttributesKind = "environments" FormFieldListDataAttributesKindFunctionalities FormFieldListDataAttributesKind = "functionalities" FormFieldListDataAttributesKindLabels FormFieldListDataAttributesKind = "labels" FormFieldListDataAttributesKindManualStartingDatetimeField FormFieldListDataAttributesKind = "manual_starting_datetime_field" FormFieldListDataAttributesKindMarkAsBackfilled FormFieldListDataAttributesKind = "mark_as_backfilled" FormFieldListDataAttributesKindMarkAsInTriage FormFieldListDataAttributesKind = "mark_as_in_triage" FormFieldListDataAttributesKindMarkAsTest FormFieldListDataAttributesKind = "mark_as_test" FormFieldListDataAttributesKindNotifyEmails FormFieldListDataAttributesKind = "notify_emails" FormFieldListDataAttributesKindServices FormFieldListDataAttributesKind = "services" FormFieldListDataAttributesKindSeverity FormFieldListDataAttributesKind = "severity" FormFieldListDataAttributesKindShowOngoingIncidents FormFieldListDataAttributesKind = "show_ongoing_incidents" FormFieldListDataAttributesKindSummary FormFieldListDataAttributesKind = "summary" FormFieldListDataAttributesKindTeams FormFieldListDataAttributesKind = "teams" FormFieldListDataAttributesKindTitle FormFieldListDataAttributesKind = "title" FormFieldListDataAttributesKindTriggerManualWorkflows FormFieldListDataAttributesKind = "trigger_manual_workflows" FormFieldListDataAttributesKindTypes FormFieldListDataAttributesKind = "types" FormFieldListDataAttributesKindVisibility FormFieldListDataAttributesKind = "visibility" )
Defines values for FormFieldListDataAttributesKind.
type FormFieldListDataAttributesRequired ¶ added in v0.1.48
type FormFieldListDataAttributesRequired string
Where the form field is required
const ( FormFieldListDataAttributesRequiredSlackIncidentMitigationForm FormFieldListDataAttributesRequired = "slack_incident_mitigation_form" FormFieldListDataAttributesRequiredSlackIncidentResolutionForm FormFieldListDataAttributesRequired = "slack_incident_resolution_form" FormFieldListDataAttributesRequiredSlackNewIncidentForm FormFieldListDataAttributesRequired = "slack_new_incident_form" FormFieldListDataAttributesRequiredSlackScheduledIncidentForm FormFieldListDataAttributesRequired = "slack_scheduled_incident_form" FormFieldListDataAttributesRequiredSlackUpdateIncidentForm FormFieldListDataAttributesRequired = "slack_update_incident_form" FormFieldListDataAttributesRequiredSlackUpdateIncidentStatusForm FormFieldListDataAttributesRequired = "slack_update_incident_status_form" FormFieldListDataAttributesRequiredSlackUpdateScheduledIncidentForm FormFieldListDataAttributesRequired = "slack_update_scheduled_incident_form" FormFieldListDataAttributesRequiredWebIncidentMitigationForm FormFieldListDataAttributesRequired = "web_incident_mitigation_form" FormFieldListDataAttributesRequiredWebIncidentPostMortemForm FormFieldListDataAttributesRequired = "web_incident_post_mortem_form" FormFieldListDataAttributesRequiredWebIncidentResolutionForm FormFieldListDataAttributesRequired = "web_incident_resolution_form" FormFieldListDataAttributesRequiredWebNewIncidentForm FormFieldListDataAttributesRequired = "web_new_incident_form" FormFieldListDataAttributesRequiredWebScheduledIncidentForm FormFieldListDataAttributesRequired = "web_scheduled_incident_form" FormFieldListDataAttributesRequiredWebUpdateIncidentForm FormFieldListDataAttributesRequired = "web_update_incident_form" FormFieldListDataAttributesRequiredWebUpdateScheduledIncidentForm FormFieldListDataAttributesRequired = "web_update_scheduled_incident_form" )
Defines values for FormFieldListDataAttributesRequired.
type FormFieldListDataAttributesShown ¶ added in v0.1.48
type FormFieldListDataAttributesShown string
Where the form field is shown
const ( FormFieldListDataAttributesShownIncidentPostMortem FormFieldListDataAttributesShown = "incident_post_mortem" FormFieldListDataAttributesShownSlackIncidentMitigationForm FormFieldListDataAttributesShown = "slack_incident_mitigation_form" FormFieldListDataAttributesShownSlackIncidentResolutionForm FormFieldListDataAttributesShown = "slack_incident_resolution_form" FormFieldListDataAttributesShownSlackNewIncidentForm FormFieldListDataAttributesShown = "slack_new_incident_form" FormFieldListDataAttributesShownSlackScheduledIncidentForm FormFieldListDataAttributesShown = "slack_scheduled_incident_form" FormFieldListDataAttributesShownSlackUpdateIncidentForm FormFieldListDataAttributesShown = "slack_update_incident_form" FormFieldListDataAttributesShownSlackUpdateIncidentStatusForm FormFieldListDataAttributesShown = "slack_update_incident_status_form" FormFieldListDataAttributesShownSlackUpdateScheduledIncidentForm FormFieldListDataAttributesShown = "slack_update_scheduled_incident_form" FormFieldListDataAttributesShownWebIncidentMitigationForm FormFieldListDataAttributesShown = "web_incident_mitigation_form" FormFieldListDataAttributesShownWebIncidentPostMortemForm FormFieldListDataAttributesShown = "web_incident_post_mortem_form" FormFieldListDataAttributesShownWebIncidentResolutionForm FormFieldListDataAttributesShown = "web_incident_resolution_form" FormFieldListDataAttributesShownWebNewIncidentForm FormFieldListDataAttributesShown = "web_new_incident_form" FormFieldListDataAttributesShownWebScheduledIncidentForm FormFieldListDataAttributesShown = "web_scheduled_incident_form" FormFieldListDataAttributesShownWebUpdateIncidentForm FormFieldListDataAttributesShown = "web_update_incident_form" FormFieldListDataAttributesShownWebUpdateScheduledIncidentForm FormFieldListDataAttributesShown = "web_update_scheduled_incident_form" )
Defines values for FormFieldListDataAttributesShown.
type FormFieldListDataType ¶ added in v0.1.48
type FormFieldListDataType string
FormFieldListDataType defines model for FormFieldList.Data.Type.
const (
FormFieldListDataTypeFormFields FormFieldListDataType = "form_fields"
)
Defines values for FormFieldListDataType.
type FormFieldOption ¶ added in v0.1.48
type FormFieldOption struct {
// The hex color of the form_field_option
Color string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
Default *bool `json:"default,omitempty"`
// The ID of the parent custom field
FormFieldId *string `json:"form_field_id,omitempty"`
// The position of the form_field_option
Position float32 `json:"position"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The value of the form_field_option
Value string `json:"value"`
}
FormFieldOption defines model for form_field_option.
type FormFieldOptionList ¶ added in v0.1.48
type FormFieldOptionList struct {
Data []struct {
Attributes struct {
// The hex color of the form_field_option
Color string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
Default *bool `json:"default,omitempty"`
// The ID of the parent custom field
FormFieldId *string `json:"form_field_id,omitempty"`
// The position of the form_field_option
Position float32 `json:"position"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The value of the form_field_option
Value string `json:"value"`
} `json:"attributes"`
// Unique ID of the form_field_option
Id string `json:"id"`
Type FormFieldOptionListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
FormFieldOptionList defines model for form_field_option_list.
type FormFieldOptionListDataType ¶ added in v0.1.48
type FormFieldOptionListDataType string
FormFieldOptionListDataType defines model for FormFieldOptionList.Data.Type.
const (
FormFieldOptionListDataTypeFormFieldOptions FormFieldOptionListDataType = "form_field_options"
)
Defines values for FormFieldOptionListDataType.
type FormFieldOptionResponse ¶ added in v0.1.48
type FormFieldOptionResponse struct {
Data struct {
Attributes struct {
// The hex color of the form_field_option
Color string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
Default *bool `json:"default,omitempty"`
// The ID of the parent custom field
FormFieldId *string `json:"form_field_id,omitempty"`
// The position of the form_field_option
Position float32 `json:"position"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The value of the form_field_option
Value string `json:"value"`
} `json:"attributes"`
// Unique ID of the form_field_option
Id string `json:"id"`
Type FormFieldOptionResponseDataType `json:"type"`
} `json:"data"`
}
FormFieldOptionResponse defines model for form_field_option_response.
type FormFieldOptionResponseDataType ¶ added in v0.1.48
type FormFieldOptionResponseDataType string
FormFieldOptionResponseDataType defines model for FormFieldOptionResponse.Data.Type.
const (
FormFieldOptionResponseDataTypeFormFieldOptions FormFieldOptionResponseDataType = "form_field_options"
)
Defines values for FormFieldOptionResponseDataType.
type FormFieldPosition ¶ added in v0.1.48
type FormFieldPosition struct {
// The form for the position
Form FormFieldPositionForm `json:"form"`
// The ID of the form field.
FormFieldId string `json:"form_field_id"`
// The position of the form_field_position
Position float32 `json:"position"`
}
FormFieldPosition defines model for form_field_position.
type FormFieldPositionForm ¶ added in v0.1.48
type FormFieldPositionForm string
The form for the position
const ( FormFieldPositionFormIncidentPostMortem FormFieldPositionForm = "incident_post_mortem" FormFieldPositionFormSlackIncidentMitigationForm FormFieldPositionForm = "slack_incident_mitigation_form" FormFieldPositionFormSlackIncidentResolutionForm FormFieldPositionForm = "slack_incident_resolution_form" FormFieldPositionFormSlackNewIncidentForm FormFieldPositionForm = "slack_new_incident_form" FormFieldPositionFormSlackScheduledIncidentForm FormFieldPositionForm = "slack_scheduled_incident_form" FormFieldPositionFormSlackUpdateIncidentForm FormFieldPositionForm = "slack_update_incident_form" FormFieldPositionFormSlackUpdateIncidentStatusForm FormFieldPositionForm = "slack_update_incident_status_form" FormFieldPositionFormSlackUpdateScheduledIncidentForm FormFieldPositionForm = "slack_update_scheduled_incident_form" FormFieldPositionFormWebIncidentMitigationForm FormFieldPositionForm = "web_incident_mitigation_form" FormFieldPositionFormWebIncidentPostMortemForm FormFieldPositionForm = "web_incident_post_mortem_form" FormFieldPositionFormWebIncidentResolutionForm FormFieldPositionForm = "web_incident_resolution_form" FormFieldPositionFormWebNewIncidentForm FormFieldPositionForm = "web_new_incident_form" FormFieldPositionFormWebScheduledIncidentForm FormFieldPositionForm = "web_scheduled_incident_form" FormFieldPositionFormWebUpdateIncidentForm FormFieldPositionForm = "web_update_incident_form" FormFieldPositionFormWebUpdateScheduledIncidentForm FormFieldPositionForm = "web_update_scheduled_incident_form" )
Defines values for FormFieldPositionForm.
type FormFieldPositionList ¶ added in v0.1.48
type FormFieldPositionList struct {
Data []struct {
Attributes struct {
// The form for the position
Form FormFieldPositionListDataAttributesForm `json:"form"`
// The ID of the form field.
FormFieldId string `json:"form_field_id"`
// The position of the form_field_position
Position float32 `json:"position"`
} `json:"attributes"`
// Unique ID of the form_field_position
Id string `json:"id"`
Type FormFieldPositionListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
FormFieldPositionList defines model for form_field_position_list.
type FormFieldPositionListDataAttributesForm ¶ added in v0.1.48
type FormFieldPositionListDataAttributesForm string
The form for the position
const ( FormFieldPositionListDataAttributesFormIncidentPostMortem FormFieldPositionListDataAttributesForm = "incident_post_mortem" FormFieldPositionListDataAttributesFormSlackIncidentMitigationForm FormFieldPositionListDataAttributesForm = "slack_incident_mitigation_form" FormFieldPositionListDataAttributesFormSlackIncidentResolutionForm FormFieldPositionListDataAttributesForm = "slack_incident_resolution_form" FormFieldPositionListDataAttributesFormSlackNewIncidentForm FormFieldPositionListDataAttributesForm = "slack_new_incident_form" FormFieldPositionListDataAttributesFormSlackScheduledIncidentForm FormFieldPositionListDataAttributesForm = "slack_scheduled_incident_form" FormFieldPositionListDataAttributesFormSlackUpdateIncidentForm FormFieldPositionListDataAttributesForm = "slack_update_incident_form" FormFieldPositionListDataAttributesFormSlackUpdateIncidentStatusForm FormFieldPositionListDataAttributesForm = "slack_update_incident_status_form" FormFieldPositionListDataAttributesFormSlackUpdateScheduledIncidentForm FormFieldPositionListDataAttributesForm = "slack_update_scheduled_incident_form" FormFieldPositionListDataAttributesFormWebIncidentMitigationForm FormFieldPositionListDataAttributesForm = "web_incident_mitigation_form" FormFieldPositionListDataAttributesFormWebIncidentPostMortemForm FormFieldPositionListDataAttributesForm = "web_incident_post_mortem_form" FormFieldPositionListDataAttributesFormWebIncidentResolutionForm FormFieldPositionListDataAttributesForm = "web_incident_resolution_form" FormFieldPositionListDataAttributesFormWebNewIncidentForm FormFieldPositionListDataAttributesForm = "web_new_incident_form" FormFieldPositionListDataAttributesFormWebScheduledIncidentForm FormFieldPositionListDataAttributesForm = "web_scheduled_incident_form" FormFieldPositionListDataAttributesFormWebUpdateIncidentForm FormFieldPositionListDataAttributesForm = "web_update_incident_form" FormFieldPositionListDataAttributesFormWebUpdateScheduledIncidentForm FormFieldPositionListDataAttributesForm = "web_update_scheduled_incident_form" )
Defines values for FormFieldPositionListDataAttributesForm.
type FormFieldPositionListDataType ¶ added in v0.1.48
type FormFieldPositionListDataType string
FormFieldPositionListDataType defines model for FormFieldPositionList.Data.Type.
const (
FormFieldPositionListDataTypeFormFieldPositions FormFieldPositionListDataType = "form_field_positions"
)
Defines values for FormFieldPositionListDataType.
type FormFieldPositionResponse ¶ added in v0.1.48
type FormFieldPositionResponse struct {
Data struct {
Attributes struct {
// The form for the position
Form FormFieldPositionResponseDataAttributesForm `json:"form"`
// The ID of the form field.
FormFieldId string `json:"form_field_id"`
// The position of the form_field_position
Position float32 `json:"position"`
} `json:"attributes"`
// Unique ID of the form_field_position
Id string `json:"id"`
Type FormFieldPositionResponseDataType `json:"type"`
} `json:"data"`
}
FormFieldPositionResponse defines model for form_field_position_response.
type FormFieldPositionResponseDataAttributesForm ¶ added in v0.1.48
type FormFieldPositionResponseDataAttributesForm string
The form for the position
const ( FormFieldPositionResponseDataAttributesFormIncidentPostMortem FormFieldPositionResponseDataAttributesForm = "incident_post_mortem" FormFieldPositionResponseDataAttributesFormSlackIncidentMitigationForm FormFieldPositionResponseDataAttributesForm = "slack_incident_mitigation_form" FormFieldPositionResponseDataAttributesFormSlackIncidentResolutionForm FormFieldPositionResponseDataAttributesForm = "slack_incident_resolution_form" FormFieldPositionResponseDataAttributesFormSlackNewIncidentForm FormFieldPositionResponseDataAttributesForm = "slack_new_incident_form" FormFieldPositionResponseDataAttributesFormSlackScheduledIncidentForm FormFieldPositionResponseDataAttributesForm = "slack_scheduled_incident_form" FormFieldPositionResponseDataAttributesFormSlackUpdateIncidentForm FormFieldPositionResponseDataAttributesForm = "slack_update_incident_form" FormFieldPositionResponseDataAttributesFormSlackUpdateIncidentStatusForm FormFieldPositionResponseDataAttributesForm = "slack_update_incident_status_form" FormFieldPositionResponseDataAttributesFormSlackUpdateScheduledIncidentForm FormFieldPositionResponseDataAttributesForm = "slack_update_scheduled_incident_form" FormFieldPositionResponseDataAttributesFormWebIncidentMitigationForm FormFieldPositionResponseDataAttributesForm = "web_incident_mitigation_form" FormFieldPositionResponseDataAttributesFormWebIncidentPostMortemForm FormFieldPositionResponseDataAttributesForm = "web_incident_post_mortem_form" FormFieldPositionResponseDataAttributesFormWebIncidentResolutionForm FormFieldPositionResponseDataAttributesForm = "web_incident_resolution_form" FormFieldPositionResponseDataAttributesFormWebNewIncidentForm FormFieldPositionResponseDataAttributesForm = "web_new_incident_form" FormFieldPositionResponseDataAttributesFormWebScheduledIncidentForm FormFieldPositionResponseDataAttributesForm = "web_scheduled_incident_form" FormFieldPositionResponseDataAttributesFormWebUpdateIncidentForm FormFieldPositionResponseDataAttributesForm = "web_update_incident_form" FormFieldPositionResponseDataAttributesFormWebUpdateScheduledIncidentForm FormFieldPositionResponseDataAttributesForm = "web_update_scheduled_incident_form" )
Defines values for FormFieldPositionResponseDataAttributesForm.
type FormFieldPositionResponseDataType ¶ added in v0.1.48
type FormFieldPositionResponseDataType string
FormFieldPositionResponseDataType defines model for FormFieldPositionResponse.Data.Type.
const (
FormFieldPositionResponseDataTypeFormFieldPositions FormFieldPositionResponseDataType = "form_field_positions"
)
Defines values for FormFieldPositionResponseDataType.
type FormFieldRequired ¶ added in v0.1.48
type FormFieldRequired string
Where the form field is required
const ( FormFieldRequiredSlackIncidentMitigationForm FormFieldRequired = "slack_incident_mitigation_form" FormFieldRequiredSlackIncidentResolutionForm FormFieldRequired = "slack_incident_resolution_form" FormFieldRequiredSlackNewIncidentForm FormFieldRequired = "slack_new_incident_form" FormFieldRequiredSlackScheduledIncidentForm FormFieldRequired = "slack_scheduled_incident_form" FormFieldRequiredSlackUpdateIncidentForm FormFieldRequired = "slack_update_incident_form" FormFieldRequiredSlackUpdateIncidentStatusForm FormFieldRequired = "slack_update_incident_status_form" FormFieldRequiredSlackUpdateScheduledIncidentForm FormFieldRequired = "slack_update_scheduled_incident_form" FormFieldRequiredWebIncidentMitigationForm FormFieldRequired = "web_incident_mitigation_form" FormFieldRequiredWebIncidentPostMortemForm FormFieldRequired = "web_incident_post_mortem_form" FormFieldRequiredWebIncidentResolutionForm FormFieldRequired = "web_incident_resolution_form" FormFieldRequiredWebNewIncidentForm FormFieldRequired = "web_new_incident_form" FormFieldRequiredWebScheduledIncidentForm FormFieldRequired = "web_scheduled_incident_form" FormFieldRequiredWebUpdateIncidentForm FormFieldRequired = "web_update_incident_form" FormFieldRequiredWebUpdateScheduledIncidentForm FormFieldRequired = "web_update_scheduled_incident_form" )
Defines values for FormFieldRequired.
type FormFieldResponse ¶ added in v0.1.48
type FormFieldResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
DefaultValues []string `json:"default_values"`
// The description of the form field
Description *string `json:"description"`
// Whether the form field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The input kind of the form field
InputKind FormFieldResponseDataAttributesInputKind `json:"input_kind"`
// The kind of the form field
Kind FormFieldResponseDataAttributesKind `json:"kind"`
// The name of the form field
Name string `json:"name"`
Required []FormFieldResponseDataAttributesRequired `json:"required"`
Shown []FormFieldResponseDataAttributesShown `json:"shown"`
// The slug of the form field
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the form field
Id string `json:"id"`
Type FormFieldResponseDataType `json:"type"`
} `json:"data"`
}
FormFieldResponse defines model for form_field_response.
type FormFieldResponseDataAttributesInputKind ¶ added in v0.1.48
type FormFieldResponseDataAttributesInputKind string
The input kind of the form field
const ( FormFieldResponseDataAttributesInputKindCheckbox FormFieldResponseDataAttributesInputKind = "checkbox" FormFieldResponseDataAttributesInputKindDate FormFieldResponseDataAttributesInputKind = "date" FormFieldResponseDataAttributesInputKindDatetime FormFieldResponseDataAttributesInputKind = "datetime" FormFieldResponseDataAttributesInputKindMultiSelect FormFieldResponseDataAttributesInputKind = "multi_select" FormFieldResponseDataAttributesInputKindNumber FormFieldResponseDataAttributesInputKind = "number" FormFieldResponseDataAttributesInputKindSelect FormFieldResponseDataAttributesInputKind = "select" FormFieldResponseDataAttributesInputKindTags FormFieldResponseDataAttributesInputKind = "tags" FormFieldResponseDataAttributesInputKindText FormFieldResponseDataAttributesInputKind = "text" FormFieldResponseDataAttributesInputKindTextarea FormFieldResponseDataAttributesInputKind = "textarea" FormFieldResponseDataAttributesInputKindUsers FormFieldResponseDataAttributesInputKind = "users" )
Defines values for FormFieldResponseDataAttributesInputKind.
type FormFieldResponseDataAttributesKind ¶ added in v0.1.48
type FormFieldResponseDataAttributesKind string
The kind of the form field
const ( FormFieldResponseDataAttributesKindAttachAlerts FormFieldResponseDataAttributesKind = "attach_alerts" FormFieldResponseDataAttributesKindCustom FormFieldResponseDataAttributesKind = "custom" FormFieldResponseDataAttributesKindEnvironments FormFieldResponseDataAttributesKind = "environments" FormFieldResponseDataAttributesKindFunctionalities FormFieldResponseDataAttributesKind = "functionalities" FormFieldResponseDataAttributesKindLabels FormFieldResponseDataAttributesKind = "labels" FormFieldResponseDataAttributesKindManualStartingDatetimeField FormFieldResponseDataAttributesKind = "manual_starting_datetime_field" FormFieldResponseDataAttributesKindMarkAsBackfilled FormFieldResponseDataAttributesKind = "mark_as_backfilled" FormFieldResponseDataAttributesKindMarkAsInTriage FormFieldResponseDataAttributesKind = "mark_as_in_triage" FormFieldResponseDataAttributesKindMarkAsTest FormFieldResponseDataAttributesKind = "mark_as_test" FormFieldResponseDataAttributesKindNotifyEmails FormFieldResponseDataAttributesKind = "notify_emails" FormFieldResponseDataAttributesKindServices FormFieldResponseDataAttributesKind = "services" FormFieldResponseDataAttributesKindSeverity FormFieldResponseDataAttributesKind = "severity" FormFieldResponseDataAttributesKindShowOngoingIncidents FormFieldResponseDataAttributesKind = "show_ongoing_incidents" FormFieldResponseDataAttributesKindSummary FormFieldResponseDataAttributesKind = "summary" FormFieldResponseDataAttributesKindTeams FormFieldResponseDataAttributesKind = "teams" FormFieldResponseDataAttributesKindTitle FormFieldResponseDataAttributesKind = "title" FormFieldResponseDataAttributesKindTriggerManualWorkflows FormFieldResponseDataAttributesKind = "trigger_manual_workflows" FormFieldResponseDataAttributesKindTypes FormFieldResponseDataAttributesKind = "types" FormFieldResponseDataAttributesKindVisibility FormFieldResponseDataAttributesKind = "visibility" )
Defines values for FormFieldResponseDataAttributesKind.
type FormFieldResponseDataAttributesRequired ¶ added in v0.1.48
type FormFieldResponseDataAttributesRequired string
Where the form field is required
const ( FormFieldResponseDataAttributesRequiredSlackIncidentMitigationForm FormFieldResponseDataAttributesRequired = "slack_incident_mitigation_form" FormFieldResponseDataAttributesRequiredSlackIncidentResolutionForm FormFieldResponseDataAttributesRequired = "slack_incident_resolution_form" FormFieldResponseDataAttributesRequiredSlackNewIncidentForm FormFieldResponseDataAttributesRequired = "slack_new_incident_form" FormFieldResponseDataAttributesRequiredSlackScheduledIncidentForm FormFieldResponseDataAttributesRequired = "slack_scheduled_incident_form" FormFieldResponseDataAttributesRequiredSlackUpdateIncidentForm FormFieldResponseDataAttributesRequired = "slack_update_incident_form" FormFieldResponseDataAttributesRequiredSlackUpdateIncidentStatusForm FormFieldResponseDataAttributesRequired = "slack_update_incident_status_form" FormFieldResponseDataAttributesRequiredSlackUpdateScheduledIncidentForm FormFieldResponseDataAttributesRequired = "slack_update_scheduled_incident_form" FormFieldResponseDataAttributesRequiredWebIncidentMitigationForm FormFieldResponseDataAttributesRequired = "web_incident_mitigation_form" FormFieldResponseDataAttributesRequiredWebIncidentPostMortemForm FormFieldResponseDataAttributesRequired = "web_incident_post_mortem_form" FormFieldResponseDataAttributesRequiredWebIncidentResolutionForm FormFieldResponseDataAttributesRequired = "web_incident_resolution_form" FormFieldResponseDataAttributesRequiredWebNewIncidentForm FormFieldResponseDataAttributesRequired = "web_new_incident_form" FormFieldResponseDataAttributesRequiredWebScheduledIncidentForm FormFieldResponseDataAttributesRequired = "web_scheduled_incident_form" FormFieldResponseDataAttributesRequiredWebUpdateIncidentForm FormFieldResponseDataAttributesRequired = "web_update_incident_form" FormFieldResponseDataAttributesRequiredWebUpdateScheduledIncidentForm FormFieldResponseDataAttributesRequired = "web_update_scheduled_incident_form" )
Defines values for FormFieldResponseDataAttributesRequired.
type FormFieldResponseDataAttributesShown ¶ added in v0.1.48
type FormFieldResponseDataAttributesShown string
Where the form field is shown
const ( FormFieldResponseDataAttributesShownIncidentPostMortem FormFieldResponseDataAttributesShown = "incident_post_mortem" FormFieldResponseDataAttributesShownSlackIncidentMitigationForm FormFieldResponseDataAttributesShown = "slack_incident_mitigation_form" FormFieldResponseDataAttributesShownSlackIncidentResolutionForm FormFieldResponseDataAttributesShown = "slack_incident_resolution_form" FormFieldResponseDataAttributesShownSlackNewIncidentForm FormFieldResponseDataAttributesShown = "slack_new_incident_form" FormFieldResponseDataAttributesShownSlackScheduledIncidentForm FormFieldResponseDataAttributesShown = "slack_scheduled_incident_form" FormFieldResponseDataAttributesShownSlackUpdateIncidentForm FormFieldResponseDataAttributesShown = "slack_update_incident_form" FormFieldResponseDataAttributesShownSlackUpdateIncidentStatusForm FormFieldResponseDataAttributesShown = "slack_update_incident_status_form" FormFieldResponseDataAttributesShownSlackUpdateScheduledIncidentForm FormFieldResponseDataAttributesShown = "slack_update_scheduled_incident_form" FormFieldResponseDataAttributesShownWebIncidentMitigationForm FormFieldResponseDataAttributesShown = "web_incident_mitigation_form" FormFieldResponseDataAttributesShownWebIncidentPostMortemForm FormFieldResponseDataAttributesShown = "web_incident_post_mortem_form" FormFieldResponseDataAttributesShownWebIncidentResolutionForm FormFieldResponseDataAttributesShown = "web_incident_resolution_form" FormFieldResponseDataAttributesShownWebNewIncidentForm FormFieldResponseDataAttributesShown = "web_new_incident_form" FormFieldResponseDataAttributesShownWebScheduledIncidentForm FormFieldResponseDataAttributesShown = "web_scheduled_incident_form" FormFieldResponseDataAttributesShownWebUpdateIncidentForm FormFieldResponseDataAttributesShown = "web_update_incident_form" FormFieldResponseDataAttributesShownWebUpdateScheduledIncidentForm FormFieldResponseDataAttributesShown = "web_update_scheduled_incident_form" )
Defines values for FormFieldResponseDataAttributesShown.
type FormFieldResponseDataType ¶ added in v0.1.48
type FormFieldResponseDataType string
FormFieldResponseDataType defines model for FormFieldResponse.Data.Type.
const (
FormFieldResponseDataTypeFormFields FormFieldResponseDataType = "form_fields"
)
Defines values for FormFieldResponseDataType.
type FormFieldShown ¶ added in v0.1.48
type FormFieldShown string
Where the form field is shown
const ( FormFieldShownIncidentPostMortem FormFieldShown = "incident_post_mortem" FormFieldShownSlackIncidentMitigationForm FormFieldShown = "slack_incident_mitigation_form" FormFieldShownSlackIncidentResolutionForm FormFieldShown = "slack_incident_resolution_form" FormFieldShownSlackNewIncidentForm FormFieldShown = "slack_new_incident_form" FormFieldShownSlackScheduledIncidentForm FormFieldShown = "slack_scheduled_incident_form" FormFieldShownSlackUpdateIncidentForm FormFieldShown = "slack_update_incident_form" FormFieldShownSlackUpdateIncidentStatusForm FormFieldShown = "slack_update_incident_status_form" FormFieldShownSlackUpdateScheduledIncidentForm FormFieldShown = "slack_update_scheduled_incident_form" FormFieldShownWebIncidentMitigationForm FormFieldShown = "web_incident_mitigation_form" FormFieldShownWebIncidentPostMortemForm FormFieldShown = "web_incident_post_mortem_form" FormFieldShownWebIncidentResolutionForm FormFieldShown = "web_incident_resolution_form" FormFieldShownWebNewIncidentForm FormFieldShown = "web_new_incident_form" FormFieldShownWebScheduledIncidentForm FormFieldShown = "web_scheduled_incident_form" FormFieldShownWebUpdateIncidentForm FormFieldShown = "web_update_incident_form" FormFieldShownWebUpdateScheduledIncidentForm FormFieldShown = "web_update_scheduled_incident_form" )
Defines values for FormFieldShown.
type Functionality ¶
type Functionality struct {
// The hex color of the functionality
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name string `json:"name"`
// Emails attached to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the functionality
Slug *string `json:"slug,omitempty"`
// The status of the functionality
Status *FunctionalityStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Functionality defines model for functionality.
type FunctionalityList ¶
type FunctionalityList struct {
Data []struct {
Attributes struct {
// The hex color of the functionality
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name string `json:"name"`
// Emails attached to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the functionality
Slug *string `json:"slug,omitempty"`
// The status of the functionality
Status *FunctionalityListDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the functionality
Id string `json:"id"`
Type FunctionalityListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
FunctionalityList defines model for functionality_list.
type FunctionalityListDataAttributesStatus ¶ added in v0.1.83
type FunctionalityListDataAttributesStatus string
The status of the functionality
const ( FunctionalityListDataAttributesStatusImpacted FunctionalityListDataAttributesStatus = "impacted" FunctionalityListDataAttributesStatusMajorOutage FunctionalityListDataAttributesStatus = "major_outage" FunctionalityListDataAttributesStatusOperational FunctionalityListDataAttributesStatus = "operational" FunctionalityListDataAttributesStatusOutage FunctionalityListDataAttributesStatus = "outage" FunctionalityListDataAttributesStatusPartialOutage FunctionalityListDataAttributesStatus = "partial_outage" )
Defines values for FunctionalityListDataAttributesStatus.
type FunctionalityListDataType ¶
type FunctionalityListDataType string
FunctionalityListDataType defines model for FunctionalityList.Data.Type.
const (
FunctionalityListDataTypeFunctionalities FunctionalityListDataType = "functionalities"
)
Defines values for FunctionalityListDataType.
type FunctionalityResponse ¶
type FunctionalityResponse struct {
Data struct {
Attributes struct {
// The hex color of the functionality
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name string `json:"name"`
// Emails attached to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the functionality
Slug *string `json:"slug,omitempty"`
// The status of the functionality
Status *FunctionalityResponseDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the functionality
Id string `json:"id"`
Type FunctionalityResponseDataType `json:"type"`
} `json:"data"`
}
FunctionalityResponse defines model for functionality_response.
type FunctionalityResponseDataAttributesStatus ¶ added in v0.1.83
type FunctionalityResponseDataAttributesStatus string
The status of the functionality
const ( FunctionalityResponseDataAttributesStatusImpacted FunctionalityResponseDataAttributesStatus = "impacted" FunctionalityResponseDataAttributesStatusMajorOutage FunctionalityResponseDataAttributesStatus = "major_outage" FunctionalityResponseDataAttributesStatusOperational FunctionalityResponseDataAttributesStatus = "operational" FunctionalityResponseDataAttributesStatusOutage FunctionalityResponseDataAttributesStatus = "outage" FunctionalityResponseDataAttributesStatusPartialOutage FunctionalityResponseDataAttributesStatus = "partial_outage" )
Defines values for FunctionalityResponseDataAttributesStatus.
type FunctionalityResponseDataType ¶
type FunctionalityResponseDataType string
FunctionalityResponseDataType defines model for FunctionalityResponse.Data.Type.
const (
FunctionalityResponseDataTypeFunctionalities FunctionalityResponseDataType = "functionalities"
)
Defines values for FunctionalityResponseDataType.
type FunctionalityStatus ¶ added in v0.1.83
type FunctionalityStatus string
The status of the functionality
const ( FunctionalityStatusImpacted FunctionalityStatus = "impacted" FunctionalityStatusMajorOutage FunctionalityStatus = "major_outage" FunctionalityStatusOperational FunctionalityStatus = "operational" FunctionalityStatusOutage FunctionalityStatus = "outage" FunctionalityStatusPartialOutage FunctionalityStatus = "partial_outage" )
Defines values for FunctionalityStatus.
type GetAlertResponse ¶
func ParseGetAlertResponse ¶
func ParseGetAlertResponse(rsp *http.Response) (*GetAlertResponse, error)
ParseGetAlertResponse parses an HTTP response from a GetAlertWithResponse call
func (GetAlertResponse) Status ¶
func (r GetAlertResponse) Status() string
Status returns HTTPResponse.Status
func (GetAlertResponse) StatusCode ¶
func (r GetAlertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAlertsTaskParams ¶ added in v0.1.12
type GetAlertsTaskParams struct {
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
Labels *[]string `json:"labels,omitempty"`
// How far back to fetch commits (in format '1 minute', '30 days', '3 months', etc.)
PastDuration string `json:"past_duration"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
ServiceIds *[]string `json:"service_ids,omitempty"`
Sources *[]string `json:"sources,omitempty"`
TaskType *GetAlertsTaskParamsTaskType `json:"task_type,omitempty"`
}
GetAlertsTaskParams defines model for get_alerts_task_params.
type GetAlertsTaskParamsTaskType ¶ added in v0.1.12
type GetAlertsTaskParamsTaskType string
GetAlertsTaskParamsTaskType defines model for GetAlertsTaskParams.TaskType.
const (
GetAlerts GetAlertsTaskParamsTaskType = "get_alerts"
)
Defines values for GetAlertsTaskParamsTaskType.
type GetCauseResponse ¶
func ParseGetCauseResponse ¶
func ParseGetCauseResponse(rsp *http.Response) (*GetCauseResponse, error)
ParseGetCauseResponse parses an HTTP response from a GetCauseWithResponse call
func (GetCauseResponse) Status ¶
func (r GetCauseResponse) Status() string
Status returns HTTPResponse.Status
func (GetCauseResponse) StatusCode ¶
func (r GetCauseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentUserResponse ¶ added in v0.1.12
func ParseGetCurrentUserResponse ¶ added in v0.1.12
func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)
ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call
func (GetCurrentUserResponse) Status ¶ added in v0.1.12
func (r GetCurrentUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentUserResponse) StatusCode ¶ added in v0.1.12
func (r GetCurrentUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomFieldOptionResponse ¶
func ParseGetCustomFieldOptionResponse ¶
func ParseGetCustomFieldOptionResponse(rsp *http.Response) (*GetCustomFieldOptionResponse, error)
ParseGetCustomFieldOptionResponse parses an HTTP response from a GetCustomFieldOptionWithResponse call
func (GetCustomFieldOptionResponse) Status ¶
func (r GetCustomFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomFieldOptionResponse) StatusCode ¶
func (r GetCustomFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomFieldResponse ¶
func ParseGetCustomFieldResponse ¶
func ParseGetCustomFieldResponse(rsp *http.Response) (*GetCustomFieldResponse, error)
ParseGetCustomFieldResponse parses an HTTP response from a GetCustomFieldWithResponse call
func (GetCustomFieldResponse) Status ¶
func (r GetCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomFieldResponse) StatusCode ¶
func (r GetCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDashboardPanelParams ¶
type GetDashboardPanelParams struct {
// Date range for panel data, ISO8601 timestamps separated by the word 'to'. Ex: '2022-06-19T11:28:46.029Z to 2022-07-18T21:58:46.029Z'.
Range *string `form:"range,omitempty" json:"range,omitempty"`
// The time period to group data by. Accepts 'day', 'week', and 'month'
Period *string `form:"period,omitempty" json:"period,omitempty"`
// The time zone to use for period
TimeZone *string `form:"time_zone,omitempty" json:"time_zone,omitempty"`
}
GetDashboardPanelParams defines parameters for GetDashboardPanel.
type GetDashboardPanelResponse ¶
func ParseGetDashboardPanelResponse ¶
func ParseGetDashboardPanelResponse(rsp *http.Response) (*GetDashboardPanelResponse, error)
ParseGetDashboardPanelResponse parses an HTTP response from a GetDashboardPanelWithResponse call
func (GetDashboardPanelResponse) Status ¶
func (r GetDashboardPanelResponse) Status() string
Status returns HTTPResponse.Status
func (GetDashboardPanelResponse) StatusCode ¶
func (r GetDashboardPanelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDashboardResponse ¶
func ParseGetDashboardResponse ¶
func ParseGetDashboardResponse(rsp *http.Response) (*GetDashboardResponse, error)
ParseGetDashboardResponse parses an HTTP response from a GetDashboardWithResponse call
func (GetDashboardResponse) Status ¶
func (r GetDashboardResponse) Status() string
Status returns HTTPResponse.Status
func (GetDashboardResponse) StatusCode ¶
func (r GetDashboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentResponse ¶
func ParseGetEnvironmentResponse ¶
func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)
ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call
func (GetEnvironmentResponse) Status ¶
func (r GetEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentResponse) StatusCode ¶
func (r GetEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFormFieldOptionResponse ¶ added in v0.1.48
func ParseGetFormFieldOptionResponse ¶ added in v0.1.48
func ParseGetFormFieldOptionResponse(rsp *http.Response) (*GetFormFieldOptionResponse, error)
ParseGetFormFieldOptionResponse parses an HTTP response from a GetFormFieldOptionWithResponse call
func (GetFormFieldOptionResponse) Status ¶ added in v0.1.48
func (r GetFormFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (GetFormFieldOptionResponse) StatusCode ¶ added in v0.1.48
func (r GetFormFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFormFieldPositionResponse ¶ added in v0.1.48
func ParseGetFormFieldPositionResponse ¶ added in v0.1.48
func ParseGetFormFieldPositionResponse(rsp *http.Response) (*GetFormFieldPositionResponse, error)
ParseGetFormFieldPositionResponse parses an HTTP response from a GetFormFieldPositionWithResponse call
func (GetFormFieldPositionResponse) Status ¶ added in v0.1.48
func (r GetFormFieldPositionResponse) Status() string
Status returns HTTPResponse.Status
func (GetFormFieldPositionResponse) StatusCode ¶ added in v0.1.48
func (r GetFormFieldPositionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFormFieldResponse ¶ added in v0.1.48
func ParseGetFormFieldResponse ¶ added in v0.1.48
func ParseGetFormFieldResponse(rsp *http.Response) (*GetFormFieldResponse, error)
ParseGetFormFieldResponse parses an HTTP response from a GetFormFieldWithResponse call
func (GetFormFieldResponse) Status ¶ added in v0.1.48
func (r GetFormFieldResponse) Status() string
Status returns HTTPResponse.Status
func (GetFormFieldResponse) StatusCode ¶ added in v0.1.48
func (r GetFormFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionalityIncidentsChartParams ¶
type GetFunctionalityIncidentsChartParams struct {
Period string `form:"period" json:"period"`
}
GetFunctionalityIncidentsChartParams defines parameters for GetFunctionalityIncidentsChart.
type GetFunctionalityIncidentsChartResponse ¶
func ParseGetFunctionalityIncidentsChartResponse ¶
func ParseGetFunctionalityIncidentsChartResponse(rsp *http.Response) (*GetFunctionalityIncidentsChartResponse, error)
ParseGetFunctionalityIncidentsChartResponse parses an HTTP response from a GetFunctionalityIncidentsChartWithResponse call
func (GetFunctionalityIncidentsChartResponse) Status ¶
func (r GetFunctionalityIncidentsChartResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionalityIncidentsChartResponse) StatusCode ¶
func (r GetFunctionalityIncidentsChartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionalityResponse ¶
func ParseGetFunctionalityResponse ¶
func ParseGetFunctionalityResponse(rsp *http.Response) (*GetFunctionalityResponse, error)
ParseGetFunctionalityResponse parses an HTTP response from a GetFunctionalityWithResponse call
func (GetFunctionalityResponse) Status ¶
func (r GetFunctionalityResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionalityResponse) StatusCode ¶
func (r GetFunctionalityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionalityUptimeChartParams ¶
type GetFunctionalityUptimeChartParams struct {
Period *string `form:"period,omitempty" json:"period,omitempty"`
}
GetFunctionalityUptimeChartParams defines parameters for GetFunctionalityUptimeChart.
type GetFunctionalityUptimeChartResponse ¶
func ParseGetFunctionalityUptimeChartResponse ¶
func ParseGetFunctionalityUptimeChartResponse(rsp *http.Response) (*GetFunctionalityUptimeChartResponse, error)
ParseGetFunctionalityUptimeChartResponse parses an HTTP response from a GetFunctionalityUptimeChartWithResponse call
func (GetFunctionalityUptimeChartResponse) Status ¶
func (r GetFunctionalityUptimeChartResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionalityUptimeChartResponse) StatusCode ¶
func (r GetFunctionalityUptimeChartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGithubCommitsTaskParams ¶
type GetGithubCommitsTaskParams struct {
// The branch
Branch string `json:"branch"`
GithubRepositoryNames *[]string `json:"github_repository_names,omitempty"`
// How far back to fetch commits (in format '1 minute', '30 days', '3 months', etc.)
PastDuration string `json:"past_duration"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
ServiceIds *[]string `json:"service_ids,omitempty"`
TaskType *GetGithubCommitsTaskParamsTaskType `json:"task_type,omitempty"`
}
GetGithubCommitsTaskParams defines model for get_github_commits_task_params.
type GetGithubCommitsTaskParamsTaskType ¶ added in v0.1.39
type GetGithubCommitsTaskParamsTaskType string
GetGithubCommitsTaskParamsTaskType defines model for GetGithubCommitsTaskParams.TaskType.
const (
GetGithubCommits GetGithubCommitsTaskParamsTaskType = "get_github_commits"
)
Defines values for GetGithubCommitsTaskParamsTaskType.
type GetGitlabCommitsTaskParams ¶
type GetGitlabCommitsTaskParams struct {
// The branch
Branch string `json:"branch"`
GitlabRepositoryNames *[]string `json:"gitlab_repository_names,omitempty"`
// How far back to fetch commits (in format '1 minute', '30 days', '3 months', etc.)
PastDuration string `json:"past_duration"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
ServiceIds *[]string `json:"service_ids,omitempty"`
TaskType *GetGitlabCommitsTaskParamsTaskType `json:"task_type,omitempty"`
}
GetGitlabCommitsTaskParams defines model for get_gitlab_commits_task_params.
type GetGitlabCommitsTaskParamsTaskType ¶ added in v0.1.39
type GetGitlabCommitsTaskParamsTaskType string
GetGitlabCommitsTaskParamsTaskType defines model for GetGitlabCommitsTaskParams.TaskType.
const (
GetGitlabCommits GetGitlabCommitsTaskParamsTaskType = "get_gitlab_commits"
)
Defines values for GetGitlabCommitsTaskParamsTaskType.
type GetIncidentActionItemsResponse ¶
func ParseGetIncidentActionItemsResponse ¶
func ParseGetIncidentActionItemsResponse(rsp *http.Response) (*GetIncidentActionItemsResponse, error)
ParseGetIncidentActionItemsResponse parses an HTTP response from a GetIncidentActionItemsWithResponse call
func (GetIncidentActionItemsResponse) Status ¶
func (r GetIncidentActionItemsResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentActionItemsResponse) StatusCode ¶
func (r GetIncidentActionItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentCustomFieldSelectionResponse ¶
func ParseGetIncidentCustomFieldSelectionResponse ¶
func ParseGetIncidentCustomFieldSelectionResponse(rsp *http.Response) (*GetIncidentCustomFieldSelectionResponse, error)
ParseGetIncidentCustomFieldSelectionResponse parses an HTTP response from a GetIncidentCustomFieldSelectionWithResponse call
func (GetIncidentCustomFieldSelectionResponse) Status ¶
func (r GetIncidentCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentCustomFieldSelectionResponse) StatusCode ¶
func (r GetIncidentCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentEventFunctionalitiesResponse ¶ added in v0.1.70
func ParseGetIncidentEventFunctionalitiesResponse ¶ added in v0.1.70
func ParseGetIncidentEventFunctionalitiesResponse(rsp *http.Response) (*GetIncidentEventFunctionalitiesResponse, error)
ParseGetIncidentEventFunctionalitiesResponse parses an HTTP response from a GetIncidentEventFunctionalitiesWithResponse call
func (GetIncidentEventFunctionalitiesResponse) Status ¶ added in v0.1.70
func (r GetIncidentEventFunctionalitiesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentEventFunctionalitiesResponse) StatusCode ¶ added in v0.1.70
func (r GetIncidentEventFunctionalitiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentEventServicesResponse ¶ added in v0.1.70
func ParseGetIncidentEventServicesResponse ¶ added in v0.1.70
func ParseGetIncidentEventServicesResponse(rsp *http.Response) (*GetIncidentEventServicesResponse, error)
ParseGetIncidentEventServicesResponse parses an HTTP response from a GetIncidentEventServicesWithResponse call
func (GetIncidentEventServicesResponse) Status ¶ added in v0.1.70
func (r GetIncidentEventServicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentEventServicesResponse) StatusCode ¶ added in v0.1.70
func (r GetIncidentEventServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentEventsResponse ¶
func ParseGetIncidentEventsResponse ¶
func ParseGetIncidentEventsResponse(rsp *http.Response) (*GetIncidentEventsResponse, error)
ParseGetIncidentEventsResponse parses an HTTP response from a GetIncidentEventsWithResponse call
func (GetIncidentEventsResponse) Status ¶
func (r GetIncidentEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentEventsResponse) StatusCode ¶
func (r GetIncidentEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentFeedbacksResponse ¶
func ParseGetIncidentFeedbacksResponse ¶
func ParseGetIncidentFeedbacksResponse(rsp *http.Response) (*GetIncidentFeedbacksResponse, error)
ParseGetIncidentFeedbacksResponse parses an HTTP response from a GetIncidentFeedbacksWithResponse call
func (GetIncidentFeedbacksResponse) Status ¶
func (r GetIncidentFeedbacksResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentFeedbacksResponse) StatusCode ¶
func (r GetIncidentFeedbacksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseGetIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseGetIncidentFormFieldSelectionResponse(rsp *http.Response) (*GetIncidentFormFieldSelectionResponse, error)
ParseGetIncidentFormFieldSelectionResponse parses an HTTP response from a GetIncidentFormFieldSelectionWithResponse call
func (GetIncidentFormFieldSelectionResponse) Status ¶ added in v0.1.48
func (r GetIncidentFormFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentFormFieldSelectionResponse) StatusCode ¶ added in v0.1.48
func (r GetIncidentFormFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentResponse ¶
func ParseGetIncidentResponse ¶
func ParseGetIncidentResponse(rsp *http.Response) (*GetIncidentResponse, error)
ParseGetIncidentResponse parses an HTTP response from a GetIncidentWithResponse call
func (GetIncidentResponse) Status ¶
func (r GetIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentResponse) StatusCode ¶
func (r GetIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentRoleResponse ¶
func ParseGetIncidentRoleResponse ¶
func ParseGetIncidentRoleResponse(rsp *http.Response) (*GetIncidentRoleResponse, error)
ParseGetIncidentRoleResponse parses an HTTP response from a GetIncidentRoleWithResponse call
func (GetIncidentRoleResponse) Status ¶
func (r GetIncidentRoleResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentRoleResponse) StatusCode ¶
func (r GetIncidentRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentRoleTaskResponse ¶ added in v0.1.33
func ParseGetIncidentRoleTaskResponse ¶ added in v0.1.33
func ParseGetIncidentRoleTaskResponse(rsp *http.Response) (*GetIncidentRoleTaskResponse, error)
ParseGetIncidentRoleTaskResponse parses an HTTP response from a GetIncidentRoleTaskWithResponse call
func (GetIncidentRoleTaskResponse) Status ¶ added in v0.1.33
func (r GetIncidentRoleTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentRoleTaskResponse) StatusCode ¶ added in v0.1.33
func (r GetIncidentRoleTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentStatusPagesResponse ¶
func ParseGetIncidentStatusPagesResponse ¶
func ParseGetIncidentStatusPagesResponse(rsp *http.Response) (*GetIncidentStatusPagesResponse, error)
ParseGetIncidentStatusPagesResponse parses an HTTP response from a GetIncidentStatusPagesWithResponse call
func (GetIncidentStatusPagesResponse) Status ¶
func (r GetIncidentStatusPagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentStatusPagesResponse) StatusCode ¶
func (r GetIncidentStatusPagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentTypeResponse ¶
func ParseGetIncidentTypeResponse ¶
func ParseGetIncidentTypeResponse(rsp *http.Response) (*GetIncidentTypeResponse, error)
ParseGetIncidentTypeResponse parses an HTTP response from a GetIncidentTypeWithResponse call
func (GetIncidentTypeResponse) Status ¶
func (r GetIncidentTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentTypeResponse) StatusCode ¶
func (r GetIncidentTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIpRangesResponse ¶ added in v1.1.8
func ParseGetIpRangesResponse ¶ added in v1.1.8
func ParseGetIpRangesResponse(rsp *http.Response) (*GetIpRangesResponse, error)
ParseGetIpRangesResponse parses an HTTP response from a GetIpRangesWithResponse call
func (GetIpRangesResponse) Status ¶ added in v1.1.8
func (r GetIpRangesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIpRangesResponse) StatusCode ¶ added in v1.1.8
func (r GetIpRangesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlaybookResponse ¶
func ParseGetPlaybookResponse ¶
func ParseGetPlaybookResponse(rsp *http.Response) (*GetPlaybookResponse, error)
ParseGetPlaybookResponse parses an HTTP response from a GetPlaybookWithResponse call
func (GetPlaybookResponse) Status ¶
func (r GetPlaybookResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlaybookResponse) StatusCode ¶
func (r GetPlaybookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlaybookTaskResponse ¶ added in v0.1.62
func ParseGetPlaybookTaskResponse ¶ added in v0.1.62
func ParseGetPlaybookTaskResponse(rsp *http.Response) (*GetPlaybookTaskResponse, error)
ParseGetPlaybookTaskResponse parses an HTTP response from a GetPlaybookTaskWithResponse call
func (GetPlaybookTaskResponse) Status ¶ added in v0.1.62
func (r GetPlaybookTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlaybookTaskResponse) StatusCode ¶ added in v0.1.62
func (r GetPlaybookTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPostmortemTemplateResponse ¶
func ParseGetPostmortemTemplateResponse ¶
func ParseGetPostmortemTemplateResponse(rsp *http.Response) (*GetPostmortemTemplateResponse, error)
ParseGetPostmortemTemplateResponse parses an HTTP response from a GetPostmortemTemplateWithResponse call
func (GetPostmortemTemplateResponse) Status ¶
func (r GetPostmortemTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetPostmortemTemplateResponse) StatusCode ¶
func (r GetPostmortemTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPulseResponse ¶
func ParseGetPulseResponse ¶
func ParseGetPulseResponse(rsp *http.Response) (*GetPulseResponse, error)
ParseGetPulseResponse parses an HTTP response from a GetPulseWithResponse call
func (GetPulseResponse) Status ¶
func (r GetPulseResponse) Status() string
Status returns HTTPResponse.Status
func (GetPulseResponse) StatusCode ¶
func (r GetPulseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPulsesTaskParams ¶
type GetPulsesTaskParams struct {
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
Labels *[]string `json:"labels,omitempty"`
// How far back to fetch commits (in format '1 minute', '30 days', '3 months', etc.)
PastDuration string `json:"past_duration"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
Refs *[]string `json:"refs,omitempty"`
ServiceIds *[]string `json:"service_ids,omitempty"`
Sources *[]string `json:"sources,omitempty"`
TaskType *GetPulsesTaskParamsTaskType `json:"task_type,omitempty"`
}
GetPulsesTaskParams defines model for get_pulses_task_params.
type GetPulsesTaskParamsTaskType ¶
type GetPulsesTaskParamsTaskType string
GetPulsesTaskParamsTaskType defines model for GetPulsesTaskParams.TaskType.
const (
GetPulses GetPulsesTaskParamsTaskType = "get_pulses"
)
Defines values for GetPulsesTaskParamsTaskType.
type GetRetrospectiveStepResponse ¶ added in v1.1.7
func ParseGetRetrospectiveStepResponse ¶ added in v1.1.7
func ParseGetRetrospectiveStepResponse(rsp *http.Response) (*GetRetrospectiveStepResponse, error)
ParseGetRetrospectiveStepResponse parses an HTTP response from a GetRetrospectiveStepWithResponse call
func (GetRetrospectiveStepResponse) Status ¶ added in v1.1.7
func (r GetRetrospectiveStepResponse) Status() string
Status returns HTTPResponse.Status
func (GetRetrospectiveStepResponse) StatusCode ¶ added in v1.1.7
func (r GetRetrospectiveStepResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecretResponse ¶ added in v0.1.58
func ParseGetSecretResponse ¶ added in v0.1.58
func ParseGetSecretResponse(rsp *http.Response) (*GetSecretResponse, error)
ParseGetSecretResponse parses an HTTP response from a GetSecretWithResponse call
func (GetSecretResponse) Status ¶ added in v0.1.58
func (r GetSecretResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecretResponse) StatusCode ¶ added in v0.1.58
func (r GetSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceIncidentsChartParams ¶
type GetServiceIncidentsChartParams struct {
Period string `form:"period" json:"period"`
}
GetServiceIncidentsChartParams defines parameters for GetServiceIncidentsChart.
type GetServiceIncidentsChartResponse ¶
func ParseGetServiceIncidentsChartResponse ¶
func ParseGetServiceIncidentsChartResponse(rsp *http.Response) (*GetServiceIncidentsChartResponse, error)
ParseGetServiceIncidentsChartResponse parses an HTTP response from a GetServiceIncidentsChartWithResponse call
func (GetServiceIncidentsChartResponse) Status ¶
func (r GetServiceIncidentsChartResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceIncidentsChartResponse) StatusCode ¶
func (r GetServiceIncidentsChartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceResponse ¶
func ParseGetServiceResponse ¶
func ParseGetServiceResponse(rsp *http.Response) (*GetServiceResponse, error)
ParseGetServiceResponse parses an HTTP response from a GetServiceWithResponse call
func (GetServiceResponse) Status ¶
func (r GetServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceResponse) StatusCode ¶
func (r GetServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceUptimeChartParams ¶
type GetServiceUptimeChartParams struct {
Period *string `form:"period,omitempty" json:"period,omitempty"`
}
GetServiceUptimeChartParams defines parameters for GetServiceUptimeChart.
type GetServiceUptimeChartResponse ¶
func ParseGetServiceUptimeChartResponse ¶
func ParseGetServiceUptimeChartResponse(rsp *http.Response) (*GetServiceUptimeChartResponse, error)
ParseGetServiceUptimeChartResponse parses an HTTP response from a GetServiceUptimeChartWithResponse call
func (GetServiceUptimeChartResponse) Status ¶
func (r GetServiceUptimeChartResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceUptimeChartResponse) StatusCode ¶
func (r GetServiceUptimeChartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeverityResponse ¶
func ParseGetSeverityResponse ¶
func ParseGetSeverityResponse(rsp *http.Response) (*GetSeverityResponse, error)
ParseGetSeverityResponse parses an HTTP response from a GetSeverityWithResponse call
func (GetSeverityResponse) Status ¶
func (r GetSeverityResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeverityResponse) StatusCode ¶
func (r GetSeverityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageResponse ¶
func ParseGetStatusPageResponse ¶
func ParseGetStatusPageResponse(rsp *http.Response) (*GetStatusPageResponse, error)
ParseGetStatusPageResponse parses an HTTP response from a GetStatusPageWithResponse call
func (GetStatusPageResponse) Status ¶
func (r GetStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageResponse) StatusCode ¶
func (r GetStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageTemplateResponse ¶ added in v0.1.18
func ParseGetStatusPageTemplateResponse ¶ added in v0.1.18
func ParseGetStatusPageTemplateResponse(rsp *http.Response) (*GetStatusPageTemplateResponse, error)
ParseGetStatusPageTemplateResponse parses an HTTP response from a GetStatusPageTemplateWithResponse call
func (GetStatusPageTemplateResponse) Status ¶ added in v0.1.18
func (r GetStatusPageTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageTemplateResponse) StatusCode ¶ added in v0.1.18
func (r GetStatusPageTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamResponse ¶
func ParseGetTeamResponse ¶
func ParseGetTeamResponse(rsp *http.Response) (*GetTeamResponse, error)
ParseGetTeamResponse parses an HTTP response from a GetTeamWithResponse call
func (GetTeamResponse) Status ¶
func (r GetTeamResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamResponse) StatusCode ¶
func (r GetTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserResponse ¶ added in v0.1.81
func ParseGetUserResponse ¶ added in v0.1.81
func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call
func (GetUserResponse) Status ¶ added in v0.1.81
func (r GetUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserResponse) StatusCode ¶ added in v0.1.81
func (r GetUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhooksDeliveryResponse ¶ added in v0.1.54
func ParseGetWebhooksDeliveryResponse ¶ added in v0.1.54
func ParseGetWebhooksDeliveryResponse(rsp *http.Response) (*GetWebhooksDeliveryResponse, error)
ParseGetWebhooksDeliveryResponse parses an HTTP response from a GetWebhooksDeliveryWithResponse call
func (GetWebhooksDeliveryResponse) Status ¶ added in v0.1.54
func (r GetWebhooksDeliveryResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhooksDeliveryResponse) StatusCode ¶ added in v0.1.54
func (r GetWebhooksDeliveryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhooksEndpointResponse ¶ added in v0.1.54
func ParseGetWebhooksEndpointResponse ¶ added in v0.1.54
func ParseGetWebhooksEndpointResponse(rsp *http.Response) (*GetWebhooksEndpointResponse, error)
ParseGetWebhooksEndpointResponse parses an HTTP response from a GetWebhooksEndpointWithResponse call
func (GetWebhooksEndpointResponse) Status ¶ added in v0.1.54
func (r GetWebhooksEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhooksEndpointResponse) StatusCode ¶ added in v0.1.54
func (r GetWebhooksEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowCustomFieldSelectionResponse ¶
func ParseGetWorkflowCustomFieldSelectionResponse ¶
func ParseGetWorkflowCustomFieldSelectionResponse(rsp *http.Response) (*GetWorkflowCustomFieldSelectionResponse, error)
ParseGetWorkflowCustomFieldSelectionResponse parses an HTTP response from a GetWorkflowCustomFieldSelectionWithResponse call
func (GetWorkflowCustomFieldSelectionResponse) Status ¶
func (r GetWorkflowCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowCustomFieldSelectionResponse) StatusCode ¶
func (r GetWorkflowCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseGetWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseGetWorkflowFormFieldConditionResponse(rsp *http.Response) (*GetWorkflowFormFieldConditionResponse, error)
ParseGetWorkflowFormFieldConditionResponse parses an HTTP response from a GetWorkflowFormFieldConditionWithResponse call
func (GetWorkflowFormFieldConditionResponse) Status ¶ added in v0.1.48
func (r GetWorkflowFormFieldConditionResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowFormFieldConditionResponse) StatusCode ¶ added in v0.1.48
func (r GetWorkflowFormFieldConditionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowGroupResponse ¶ added in v0.1.12
func ParseGetWorkflowGroupResponse ¶ added in v0.1.12
func ParseGetWorkflowGroupResponse(rsp *http.Response) (*GetWorkflowGroupResponse, error)
ParseGetWorkflowGroupResponse parses an HTTP response from a GetWorkflowGroupWithResponse call
func (GetWorkflowGroupResponse) Status ¶ added in v0.1.12
func (r GetWorkflowGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowGroupResponse) StatusCode ¶ added in v0.1.12
func (r GetWorkflowGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowResponse ¶
func ParseGetWorkflowResponse ¶
func ParseGetWorkflowResponse(rsp *http.Response) (*GetWorkflowResponse, error)
ParseGetWorkflowResponse parses an HTTP response from a GetWorkflowWithResponse call
func (GetWorkflowResponse) Status ¶
func (r GetWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowResponse) StatusCode ¶
func (r GetWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowTaskResponse ¶
func ParseGetWorkflowTaskResponse ¶
func ParseGetWorkflowTaskResponse(rsp *http.Response) (*GetWorkflowTaskResponse, error)
ParseGetWorkflowTaskResponse parses an HTTP response from a GetWorkflowTaskWithResponse call
func (GetWorkflowTaskResponse) Status ¶
func (r GetWorkflowTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowTaskResponse) StatusCode ¶
func (r GetWorkflowTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpClientTaskParams ¶
type HttpClientTaskParams struct {
// HTTP body
Body *string `json:"body,omitempty"`
EventMessage *string `json:"event_message,omitempty"`
EventUrl *string `json:"event_url,omitempty"`
// JSON map of HTTP headers
Headers *string `json:"headers,omitempty"`
// HTTP method
Method *HttpClientTaskParamsMethod `json:"method,omitempty"`
// JSON map of HTTP query parameters
Params *string `json:"params,omitempty"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
// HTTP status code expected. Can be a regular expression. Eg: 200, 200|203, 20[0-3]
SucceedOnStatus string `json:"succeed_on_status"`
TaskType *HttpClientTaskParamsTaskType `json:"task_type,omitempty"`
// URL endpoint
Url string `json:"url"`
}
HttpClientTaskParams defines model for http_client_task_params.
type HttpClientTaskParamsMethod ¶
type HttpClientTaskParamsMethod string
HTTP method
const ( DELETE HttpClientTaskParamsMethod = "DELETE" GET HttpClientTaskParamsMethod = "GET" OPTIONS HttpClientTaskParamsMethod = "OPTIONS" POST HttpClientTaskParamsMethod = "POST" PUT HttpClientTaskParamsMethod = "PUT" )
Defines values for HttpClientTaskParamsMethod.
type HttpClientTaskParamsTaskType ¶
type HttpClientTaskParamsTaskType string
HttpClientTaskParamsTaskType defines model for HttpClientTaskParams.TaskType.
const (
HttpClient HttpClientTaskParamsTaskType = "http_client"
)
Defines values for HttpClientTaskParamsTaskType.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InTriageIncident ¶ added in v1.0.3
type InTriageIncident struct {
Data struct {
Type InTriageIncidentDataType `json:"type"`
} `json:"data"`
}
InTriageIncident defines model for in_triage_incident.
type InTriageIncidentDataType ¶ added in v1.0.3
type InTriageIncidentDataType string
InTriageIncidentDataType defines model for InTriageIncident.Data.Type.
const (
InTriageIncidentDataTypeIncidents InTriageIncidentDataType = "incidents"
)
Defines values for InTriageIncidentDataType.
type Incident ¶
type Incident struct {
// Date of acknowledgment
AcknowledgedAt *string `json:"acknowledged_at"`
// Why was the incident cancelled?
CancellationMessage *string `json:"cancellation_message"`
// Date of cancellation
CancelledAt *string `json:"cancelled_at"`
// Date of creation
CreatedAt string `json:"created_at"`
// Date of detection
DetectedAt *string `json:"detected_at"`
// The Environments of the incident
Environments *[]struct {
Data struct {
Attributes struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the environment
Id string `json:"id"`
Type IncidentEnvironmentsDataType `json:"type"`
} `json:"data"`
} `json:"environments"`
// The Functionalities of the incident
Functionalities *[]struct {
Data struct {
Attributes struct {
// The hex color of the functionality
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name string `json:"name"`
// Emails attached to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the functionality
Slug *string `json:"slug,omitempty"`
// The status of the functionality
Status *IncidentFunctionalitiesDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the functionality
Id string `json:"id"`
Type IncidentFunctionalitiesDataType `json:"type"`
} `json:"data"`
} `json:"functionalities"`
// The Teams of to the incident
Groups *[]struct {
Data struct {
Attributes struct {
// The hex color of the team
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name string `json:"name"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
} `json:"attributes"`
// Unique ID of the team
Id string `json:"id"`
Type IncidentGroupsDataType `json:"type"`
} `json:"data"`
} `json:"groups"`
// Date of triage
InTriageAt *string `json:"in_triage_at"`
// The Incident Types of the incident
IncidentTypes *[]struct {
Data struct {
Attributes struct {
// The hex color of the incident type
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name string `json:"name"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the incident type
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident type
Id string `json:"id"`
Type IncidentIncidentTypesDataType `json:"type"`
} `json:"data"`
} `json:"incident_types"`
// The kind of the incident
Kind *string `json:"kind,omitempty"`
// Labels to attach to the incidents. eg: {"platform":"osx", "version": "1.29"}
Labels *map[string]interface{} `json:"labels"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// How was the incident mitigated?
MitigationMessage *string `json:"mitigation_message"`
// ID of parent incident
ParentIncidentId *string `json:"parent_incident_id"`
// Create an incident as private
Private *bool `json:"private"`
// How was the incident resolved?
ResolutionMessage *string `json:"resolution_message"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Date of when the maintenance begins
ScheduledFor *string `json:"scheduled_for"`
// Date of when the maintenance ends
ScheduledUntil *string `json:"scheduled_until"`
// The Services of the incident
Services *[]struct {
Data struct {
Attributes struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *IncidentServicesDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the service
Id string `json:"id"`
Type IncidentServicesDataType `json:"type"`
} `json:"data"`
} `json:"services"`
// The Severity of the incident
Severity *struct {
Data struct {
Attributes struct {
// The hex color of the severity
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name string `json:"name"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *IncidentSeverityDataAttributesSeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the severity
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the severity
Id string `json:"id"`
Type IncidentSeverityDataType `json:"type"`
} `json:"data"`
} `json:"severity"`
// Slack channel id
SlackChannelId *string `json:"slack_channel_id"`
// Slack channel name
SlackChannelName *string `json:"slack_channel_name"`
// Slack channel url
SlackChannelUrl *string `json:"slack_channel_url"`
// The slug of the incident
Slug string `json:"slug"`
// Date of start
StartedAt *string `json:"started_at"`
// The summary of the incident
Summary *string `json:"summary"`
// The title of the incident
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Incident defines model for incident.
type IncidentActionItem ¶
type IncidentActionItem struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident action item
Description *string `json:"description"`
// The due date of the action item
DueDate *string `json:"due_date"`
// The kind of the action item
Kind *IncidentActionItemKind `json:"kind,omitempty"`
// The priority of the action item
Priority *IncidentActionItemPriority `json:"priority,omitempty"`
// The status of the action item
Status *IncidentActionItemStatus `json:"status,omitempty"`
// The summary of the action item
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
IncidentActionItem defines model for incident_action_item.
type IncidentActionItemKind ¶
type IncidentActionItemKind string
The kind of the action item
const ( IncidentActionItemKindFollowUp IncidentActionItemKind = "follow_up" IncidentActionItemKindTask IncidentActionItemKind = "task" )
Defines values for IncidentActionItemKind.
type IncidentActionItemList ¶
type IncidentActionItemList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident action item
Description *string `json:"description"`
// The due date of the action item
DueDate *string `json:"due_date"`
// The kind of the action item
Kind *IncidentActionItemListDataAttributesKind `json:"kind,omitempty"`
// The priority of the action item
Priority *IncidentActionItemListDataAttributesPriority `json:"priority,omitempty"`
// The status of the action item
Status *IncidentActionItemListDataAttributesStatus `json:"status,omitempty"`
// The summary of the action item
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the action item
Id string `json:"id"`
Type IncidentActionItemListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentActionItemList defines model for incident_action_item_list.
type IncidentActionItemListDataAttributesKind ¶ added in v0.1.12
type IncidentActionItemListDataAttributesKind string
The kind of the action item
const ( IncidentActionItemListDataAttributesKindFollowUp IncidentActionItemListDataAttributesKind = "follow_up" IncidentActionItemListDataAttributesKindTask IncidentActionItemListDataAttributesKind = "task" )
Defines values for IncidentActionItemListDataAttributesKind.
type IncidentActionItemListDataAttributesPriority ¶ added in v0.1.12
type IncidentActionItemListDataAttributesPriority string
The priority of the action item
const ( IncidentActionItemListDataAttributesPriorityHigh IncidentActionItemListDataAttributesPriority = "high" IncidentActionItemListDataAttributesPriorityLow IncidentActionItemListDataAttributesPriority = "low" IncidentActionItemListDataAttributesPriorityMedium IncidentActionItemListDataAttributesPriority = "medium" )
Defines values for IncidentActionItemListDataAttributesPriority.
type IncidentActionItemListDataAttributesStatus ¶ added in v0.1.12
type IncidentActionItemListDataAttributesStatus string
The status of the action item
const ( IncidentActionItemListDataAttributesStatusCancelled IncidentActionItemListDataAttributesStatus = "cancelled" IncidentActionItemListDataAttributesStatusDone IncidentActionItemListDataAttributesStatus = "done" IncidentActionItemListDataAttributesStatusInProgress IncidentActionItemListDataAttributesStatus = "in_progress" IncidentActionItemListDataAttributesStatusOpen IncidentActionItemListDataAttributesStatus = "open" )
Defines values for IncidentActionItemListDataAttributesStatus.
type IncidentActionItemListDataType ¶
type IncidentActionItemListDataType string
IncidentActionItemListDataType defines model for IncidentActionItemList.Data.Type.
const (
IncidentActionItemListDataTypeIncidentActionItems IncidentActionItemListDataType = "incident_action_items"
)
Defines values for IncidentActionItemListDataType.
type IncidentActionItemPriority ¶
type IncidentActionItemPriority string
The priority of the action item
const ( IncidentActionItemPriorityHigh IncidentActionItemPriority = "high" IncidentActionItemPriorityLow IncidentActionItemPriority = "low" IncidentActionItemPriorityMedium IncidentActionItemPriority = "medium" )
Defines values for IncidentActionItemPriority.
type IncidentActionItemResponse ¶
type IncidentActionItemResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident action item
Description *string `json:"description"`
// The due date of the action item
DueDate *string `json:"due_date"`
// The kind of the action item
Kind *IncidentActionItemResponseDataAttributesKind `json:"kind,omitempty"`
// The priority of the action item
Priority *IncidentActionItemResponseDataAttributesPriority `json:"priority,omitempty"`
// The status of the action item
Status *IncidentActionItemResponseDataAttributesStatus `json:"status,omitempty"`
// The summary of the action item
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the action item
Id string `json:"id"`
Type IncidentActionItemResponseDataType `json:"type"`
} `json:"data"`
}
IncidentActionItemResponse defines model for incident_action_item_response.
type IncidentActionItemResponseDataAttributesKind ¶ added in v0.1.12
type IncidentActionItemResponseDataAttributesKind string
The kind of the action item
const ( IncidentActionItemResponseDataAttributesKindFollowUp IncidentActionItemResponseDataAttributesKind = "follow_up" IncidentActionItemResponseDataAttributesKindTask IncidentActionItemResponseDataAttributesKind = "task" )
Defines values for IncidentActionItemResponseDataAttributesKind.
type IncidentActionItemResponseDataAttributesPriority ¶ added in v0.1.12
type IncidentActionItemResponseDataAttributesPriority string
The priority of the action item
const ( IncidentActionItemResponseDataAttributesPriorityHigh IncidentActionItemResponseDataAttributesPriority = "high" IncidentActionItemResponseDataAttributesPriorityLow IncidentActionItemResponseDataAttributesPriority = "low" IncidentActionItemResponseDataAttributesPriorityMedium IncidentActionItemResponseDataAttributesPriority = "medium" )
Defines values for IncidentActionItemResponseDataAttributesPriority.
type IncidentActionItemResponseDataAttributesStatus ¶ added in v0.1.12
type IncidentActionItemResponseDataAttributesStatus string
The status of the action item
const ( IncidentActionItemResponseDataAttributesStatusCancelled IncidentActionItemResponseDataAttributesStatus = "cancelled" IncidentActionItemResponseDataAttributesStatusDone IncidentActionItemResponseDataAttributesStatus = "done" IncidentActionItemResponseDataAttributesStatusInProgress IncidentActionItemResponseDataAttributesStatus = "in_progress" IncidentActionItemResponseDataAttributesStatusOpen IncidentActionItemResponseDataAttributesStatus = "open" )
Defines values for IncidentActionItemResponseDataAttributesStatus.
type IncidentActionItemResponseDataType ¶
type IncidentActionItemResponseDataType string
IncidentActionItemResponseDataType defines model for IncidentActionItemResponse.Data.Type.
const (
IncidentActionItemResponseDataTypeIncidentActionItems IncidentActionItemResponseDataType = "incident_action_items"
)
Defines values for IncidentActionItemResponseDataType.
type IncidentActionItemStatus ¶
type IncidentActionItemStatus string
The status of the action item
const ( IncidentActionItemStatusCancelled IncidentActionItemStatus = "cancelled" IncidentActionItemStatusDone IncidentActionItemStatus = "done" IncidentActionItemStatusInProgress IncidentActionItemStatus = "in_progress" IncidentActionItemStatusOpen IncidentActionItemStatus = "open" )
Defines values for IncidentActionItemStatus.
type IncidentCustomFieldSelection ¶
type IncidentCustomFieldSelection struct {
CustomFieldId *float32 `json:"custom_field_id,omitempty"`
IncidentId *string `json:"incident_id,omitempty"`
SelectedOptionIds []float32 `json:"selected_option_ids"`
// The value of the incident_custom_field_selection
Value *string `json:"value"`
}
IncidentCustomFieldSelection defines model for incident_custom_field_selection.
type IncidentCustomFieldSelectionList ¶
type IncidentCustomFieldSelectionList struct {
Data []struct {
Attributes struct {
CustomFieldId *float32 `json:"custom_field_id,omitempty"`
IncidentId *string `json:"incident_id,omitempty"`
SelectedOptionIds []float32 `json:"selected_option_ids"`
// The value of the incident_custom_field_selection
Value *string `json:"value"`
} `json:"attributes"`
// Unique ID of the incident_custom_field_selection
Id string `json:"id"`
Type IncidentCustomFieldSelectionListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentCustomFieldSelectionList defines model for incident_custom_field_selection_list.
type IncidentCustomFieldSelectionListDataType ¶
type IncidentCustomFieldSelectionListDataType string
IncidentCustomFieldSelectionListDataType defines model for IncidentCustomFieldSelectionList.Data.Type.
const (
IncidentCustomFieldSelectionListDataTypeIncidentCustomFieldSelections IncidentCustomFieldSelectionListDataType = "incident_custom_field_selections"
)
Defines values for IncidentCustomFieldSelectionListDataType.
type IncidentCustomFieldSelectionResponse ¶
type IncidentCustomFieldSelectionResponse struct {
Data struct {
Attributes struct {
CustomFieldId *float32 `json:"custom_field_id,omitempty"`
IncidentId *string `json:"incident_id,omitempty"`
SelectedOptionIds []float32 `json:"selected_option_ids"`
// The value of the incident_custom_field_selection
Value *string `json:"value"`
} `json:"attributes"`
// Unique ID of the incident_custom_field_selection
Id string `json:"id"`
Type IncidentCustomFieldSelectionResponseDataType `json:"type"`
} `json:"data"`
}
IncidentCustomFieldSelectionResponse defines model for incident_custom_field_selection_response.
type IncidentCustomFieldSelectionResponseDataType ¶
type IncidentCustomFieldSelectionResponseDataType string
IncidentCustomFieldSelectionResponseDataType defines model for IncidentCustomFieldSelectionResponse.Data.Type.
const (
IncidentCustomFieldSelectionResponseDataTypeIncidentCustomFieldSelections IncidentCustomFieldSelectionResponseDataType = "incident_custom_field_selections"
)
Defines values for IncidentCustomFieldSelectionResponseDataType.
type IncidentEnvironmentsDataType ¶ added in v0.1.81
type IncidentEnvironmentsDataType string
IncidentEnvironmentsDataType defines model for Incident.Environments.Data.Type.
const (
IncidentEnvironmentsDataTypeEnvironments IncidentEnvironmentsDataType = "environments"
)
Defines values for IncidentEnvironmentsDataType.
type IncidentEvent ¶
type IncidentEvent struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The summary of the incident event
Event string `json:"event"`
// Date of occurence
OccurredAt string `json:"occurred_at"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The visibility of the incident action item
Visibility *IncidentEventVisibility `json:"visibility,omitempty"`
}
IncidentEvent defines model for incident_event.
type IncidentEventFunctionality ¶ added in v0.1.70
type IncidentEventFunctionality struct {
// The ID of the functionality.
FunctionalityId string `json:"functionality_id"`
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The status of the affected functionality
Status IncidentEventFunctionalityStatus `json:"status"`
}
IncidentEventFunctionality defines model for incident_event_functionality.
type IncidentEventFunctionalityList ¶ added in v0.1.70
type IncidentEventFunctionalityList struct {
Data []struct {
Attributes struct {
// The ID of the functionality.
FunctionalityId string `json:"functionality_id"`
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The status of the affected functionality
Status IncidentEventFunctionalityListDataAttributesStatus `json:"status"`
} `json:"attributes"`
// Unique ID of the incident event functionality
Id string `json:"id"`
Type IncidentEventFunctionalityListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentEventFunctionalityList defines model for incident_event_functionality_list.
type IncidentEventFunctionalityListDataAttributesStatus ¶ added in v0.1.70
type IncidentEventFunctionalityListDataAttributesStatus string
The status of the affected functionality
const ( IncidentEventFunctionalityListDataAttributesStatusMajorOutage IncidentEventFunctionalityListDataAttributesStatus = "major_outage" IncidentEventFunctionalityListDataAttributesStatusOperational IncidentEventFunctionalityListDataAttributesStatus = "operational" IncidentEventFunctionalityListDataAttributesStatusPartialOutage IncidentEventFunctionalityListDataAttributesStatus = "partial_outage" )
Defines values for IncidentEventFunctionalityListDataAttributesStatus.
type IncidentEventFunctionalityListDataType ¶ added in v0.1.70
type IncidentEventFunctionalityListDataType string
IncidentEventFunctionalityListDataType defines model for IncidentEventFunctionalityList.Data.Type.
const (
IncidentEventFunctionalityListDataTypeIncidentEventFunctionalities IncidentEventFunctionalityListDataType = "incident_event_functionalities"
)
Defines values for IncidentEventFunctionalityListDataType.
type IncidentEventFunctionalityResponse ¶ added in v0.1.70
type IncidentEventFunctionalityResponse struct {
Data struct {
Attributes struct {
// The ID of the functionality.
FunctionalityId string `json:"functionality_id"`
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The status of the affected functionality
Status IncidentEventFunctionalityResponseDataAttributesStatus `json:"status"`
} `json:"attributes"`
// Unique ID of the incident event functionality
Id string `json:"id"`
Type IncidentEventFunctionalityResponseDataType `json:"type"`
} `json:"data"`
}
IncidentEventFunctionalityResponse defines model for incident_event_functionality_response.
type IncidentEventFunctionalityResponseDataAttributesStatus ¶ added in v0.1.70
type IncidentEventFunctionalityResponseDataAttributesStatus string
The status of the affected functionality
const ( IncidentEventFunctionalityResponseDataAttributesStatusMajorOutage IncidentEventFunctionalityResponseDataAttributesStatus = "major_outage" IncidentEventFunctionalityResponseDataAttributesStatusOperational IncidentEventFunctionalityResponseDataAttributesStatus = "operational" IncidentEventFunctionalityResponseDataAttributesStatusPartialOutage IncidentEventFunctionalityResponseDataAttributesStatus = "partial_outage" )
Defines values for IncidentEventFunctionalityResponseDataAttributesStatus.
type IncidentEventFunctionalityResponseDataType ¶ added in v0.1.70
type IncidentEventFunctionalityResponseDataType string
IncidentEventFunctionalityResponseDataType defines model for IncidentEventFunctionalityResponse.Data.Type.
const (
IncidentEventFunctionalityResponseDataTypeIncidentEventFunctionalities IncidentEventFunctionalityResponseDataType = "incident_event_functionalities"
)
Defines values for IncidentEventFunctionalityResponseDataType.
type IncidentEventFunctionalityStatus ¶ added in v0.1.70
type IncidentEventFunctionalityStatus string
The status of the affected functionality
const ( IncidentEventFunctionalityStatusMajorOutage IncidentEventFunctionalityStatus = "major_outage" IncidentEventFunctionalityStatusOperational IncidentEventFunctionalityStatus = "operational" IncidentEventFunctionalityStatusPartialOutage IncidentEventFunctionalityStatus = "partial_outage" )
Defines values for IncidentEventFunctionalityStatus.
type IncidentEventList ¶
type IncidentEventList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The summary of the incident event
Event string `json:"event"`
// Date of occurence
OccurredAt string `json:"occurred_at"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The visibility of the incident action item
Visibility *IncidentEventListDataAttributesVisibility `json:"visibility,omitempty"`
} `json:"attributes"`
// Unique ID of the incident event
Id string `json:"id"`
Type IncidentEventListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentEventList defines model for incident_event_list.
type IncidentEventListDataAttributesVisibility ¶ added in v0.1.12
type IncidentEventListDataAttributesVisibility string
The visibility of the incident action item
const ( IncidentEventListDataAttributesVisibilityExternal IncidentEventListDataAttributesVisibility = "external" IncidentEventListDataAttributesVisibilityInternal IncidentEventListDataAttributesVisibility = "internal" )
Defines values for IncidentEventListDataAttributesVisibility.
type IncidentEventListDataType ¶
type IncidentEventListDataType string
IncidentEventListDataType defines model for IncidentEventList.Data.Type.
const (
IncidentEventListDataTypeIncidentEvents IncidentEventListDataType = "incident_events"
)
Defines values for IncidentEventListDataType.
type IncidentEventResponse ¶
type IncidentEventResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The summary of the incident event
Event string `json:"event"`
// Date of occurence
OccurredAt string `json:"occurred_at"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The visibility of the incident action item
Visibility *IncidentEventResponseDataAttributesVisibility `json:"visibility,omitempty"`
} `json:"attributes"`
// Unique ID of the incident event
Id string `json:"id"`
Type IncidentEventResponseDataType `json:"type"`
} `json:"data"`
}
IncidentEventResponse defines model for incident_event_response.
type IncidentEventResponseDataAttributesVisibility ¶ added in v0.1.12
type IncidentEventResponseDataAttributesVisibility string
The visibility of the incident action item
const ( IncidentEventResponseDataAttributesVisibilityExternal IncidentEventResponseDataAttributesVisibility = "external" IncidentEventResponseDataAttributesVisibilityInternal IncidentEventResponseDataAttributesVisibility = "internal" )
Defines values for IncidentEventResponseDataAttributesVisibility.
type IncidentEventResponseDataType ¶
type IncidentEventResponseDataType string
IncidentEventResponseDataType defines model for IncidentEventResponse.Data.Type.
const (
IncidentEventResponseDataTypeIncidentEvents IncidentEventResponseDataType = "incident_events"
)
Defines values for IncidentEventResponseDataType.
type IncidentEventService ¶ added in v0.1.70
type IncidentEventService struct {
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The ID of the service.
ServiceId string `json:"service_id"`
// The status of the affected service
Status IncidentEventServiceStatus `json:"status"`
}
IncidentEventService defines model for incident_event_service.
type IncidentEventServiceList ¶ added in v0.1.70
type IncidentEventServiceList struct {
Data []struct {
Attributes struct {
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The ID of the service.
ServiceId string `json:"service_id"`
// The status of the affected service
Status IncidentEventServiceListDataAttributesStatus `json:"status"`
} `json:"attributes"`
// Unique ID of the incident event service
Id string `json:"id"`
Type IncidentEventServiceListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentEventServiceList defines model for incident_event_service_list.
type IncidentEventServiceListDataAttributesStatus ¶ added in v0.1.70
type IncidentEventServiceListDataAttributesStatus string
The status of the affected service
const ( IncidentEventServiceListDataAttributesStatusMajorOutage IncidentEventServiceListDataAttributesStatus = "major_outage" IncidentEventServiceListDataAttributesStatusOperational IncidentEventServiceListDataAttributesStatus = "operational" IncidentEventServiceListDataAttributesStatusPartialOutage IncidentEventServiceListDataAttributesStatus = "partial_outage" )
Defines values for IncidentEventServiceListDataAttributesStatus.
type IncidentEventServiceListDataType ¶ added in v0.1.70
type IncidentEventServiceListDataType string
IncidentEventServiceListDataType defines model for IncidentEventServiceList.Data.Type.
const (
IncidentEventServiceListDataTypeIncidentEventServices IncidentEventServiceListDataType = "incident_event_services"
)
Defines values for IncidentEventServiceListDataType.
type IncidentEventServiceResponse ¶ added in v0.1.70
type IncidentEventServiceResponse struct {
Data struct {
Attributes struct {
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The ID of the service.
ServiceId string `json:"service_id"`
// The status of the affected service
Status IncidentEventServiceResponseDataAttributesStatus `json:"status"`
} `json:"attributes"`
// Unique ID of the incident event service
Id string `json:"id"`
Type IncidentEventServiceResponseDataType `json:"type"`
} `json:"data"`
}
IncidentEventServiceResponse defines model for incident_event_service_response.
type IncidentEventServiceResponseDataAttributesStatus ¶ added in v0.1.70
type IncidentEventServiceResponseDataAttributesStatus string
The status of the affected service
const ( IncidentEventServiceResponseDataAttributesStatusMajorOutage IncidentEventServiceResponseDataAttributesStatus = "major_outage" IncidentEventServiceResponseDataAttributesStatusOperational IncidentEventServiceResponseDataAttributesStatus = "operational" IncidentEventServiceResponseDataAttributesStatusPartialOutage IncidentEventServiceResponseDataAttributesStatus = "partial_outage" )
Defines values for IncidentEventServiceResponseDataAttributesStatus.
type IncidentEventServiceResponseDataType ¶ added in v0.1.70
type IncidentEventServiceResponseDataType string
IncidentEventServiceResponseDataType defines model for IncidentEventServiceResponse.Data.Type.
const (
IncidentEventServiceResponseDataTypeIncidentEventServices IncidentEventServiceResponseDataType = "incident_event_services"
)
Defines values for IncidentEventServiceResponseDataType.
type IncidentEventServiceStatus ¶ added in v0.1.70
type IncidentEventServiceStatus string
The status of the affected service
const ( IncidentEventServiceStatusMajorOutage IncidentEventServiceStatus = "major_outage" IncidentEventServiceStatusOperational IncidentEventServiceStatus = "operational" IncidentEventServiceStatusPartialOutage IncidentEventServiceStatus = "partial_outage" )
Defines values for IncidentEventServiceStatus.
type IncidentEventVisibility ¶
type IncidentEventVisibility string
The visibility of the incident action item
const ( IncidentEventVisibilityExternal IncidentEventVisibility = "external" IncidentEventVisibilityInternal IncidentEventVisibility = "internal" )
Defines values for IncidentEventVisibility.
type IncidentFeedback ¶
type IncidentFeedback struct {
// Is the feedback anonymous?
Anonymous bool `json:"anonymous"`
// Date of creation
CreatedAt string `json:"created_at"`
// The feedback of the incident feedback
Feedback string `json:"feedback"`
// The rating of the incident feedback
Rating IncidentFeedbackRating `json:"rating"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
IncidentFeedback defines model for incident_feedback.
type IncidentFeedbackList ¶
type IncidentFeedbackList struct {
Data []struct {
Attributes struct {
// Is the feedback anonymous?
Anonymous bool `json:"anonymous"`
// Date of creation
CreatedAt string `json:"created_at"`
// The feedback of the incident feedback
Feedback string `json:"feedback"`
// The rating of the incident feedback
Rating IncidentFeedbackListDataAttributesRating `json:"rating"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident feedback
Id string `json:"id"`
Type IncidentFeedbackListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentFeedbackList defines model for incident_feedback_list.
type IncidentFeedbackListDataAttributesRating ¶ added in v0.1.12
type IncidentFeedbackListDataAttributesRating int
The rating of the incident feedback
const ( IncidentFeedbackListDataAttributesRatingN0 IncidentFeedbackListDataAttributesRating = 0 IncidentFeedbackListDataAttributesRatingN1 IncidentFeedbackListDataAttributesRating = 1 IncidentFeedbackListDataAttributesRatingN2 IncidentFeedbackListDataAttributesRating = 2 IncidentFeedbackListDataAttributesRatingN3 IncidentFeedbackListDataAttributesRating = 3 IncidentFeedbackListDataAttributesRatingN4 IncidentFeedbackListDataAttributesRating = 4 )
Defines values for IncidentFeedbackListDataAttributesRating.
type IncidentFeedbackListDataType ¶
type IncidentFeedbackListDataType string
IncidentFeedbackListDataType defines model for IncidentFeedbackList.Data.Type.
const (
IncidentFeedbackListDataTypeIncidentFeedbacks IncidentFeedbackListDataType = "incident_feedbacks"
)
Defines values for IncidentFeedbackListDataType.
type IncidentFeedbackRating ¶
type IncidentFeedbackRating int
The rating of the incident feedback
const ( IncidentFeedbackRatingN0 IncidentFeedbackRating = 0 IncidentFeedbackRatingN1 IncidentFeedbackRating = 1 IncidentFeedbackRatingN2 IncidentFeedbackRating = 2 IncidentFeedbackRatingN3 IncidentFeedbackRating = 3 IncidentFeedbackRatingN4 IncidentFeedbackRating = 4 )
Defines values for IncidentFeedbackRating.
type IncidentFeedbackResponse ¶
type IncidentFeedbackResponse struct {
Data struct {
Attributes struct {
// Is the feedback anonymous?
Anonymous bool `json:"anonymous"`
// Date of creation
CreatedAt string `json:"created_at"`
// The feedback of the incident feedback
Feedback string `json:"feedback"`
// The rating of the incident feedback
Rating IncidentFeedbackResponseDataAttributesRating `json:"rating"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident feedback
Id string `json:"id"`
Type IncidentFeedbackResponseDataType `json:"type"`
} `json:"data"`
}
IncidentFeedbackResponse defines model for incident_feedback_response.
type IncidentFeedbackResponseDataAttributesRating ¶ added in v0.1.12
type IncidentFeedbackResponseDataAttributesRating int
The rating of the incident feedback
const ( IncidentFeedbackResponseDataAttributesRatingN0 IncidentFeedbackResponseDataAttributesRating = 0 IncidentFeedbackResponseDataAttributesRatingN1 IncidentFeedbackResponseDataAttributesRating = 1 IncidentFeedbackResponseDataAttributesRatingN2 IncidentFeedbackResponseDataAttributesRating = 2 IncidentFeedbackResponseDataAttributesRatingN3 IncidentFeedbackResponseDataAttributesRating = 3 IncidentFeedbackResponseDataAttributesRatingN4 IncidentFeedbackResponseDataAttributesRating = 4 )
Defines values for IncidentFeedbackResponseDataAttributesRating.
type IncidentFeedbackResponseDataType ¶
type IncidentFeedbackResponseDataType string
IncidentFeedbackResponseDataType defines model for IncidentFeedbackResponse.Data.Type.
const (
IncidentFeedbackResponseDataTypeIncidentFeedbacks IncidentFeedbackResponseDataType = "incident_feedbacks"
)
Defines values for IncidentFeedbackResponseDataType.
type IncidentFormFieldSelection ¶ added in v0.1.48
type IncidentFormFieldSelection struct {
// The custom field for this selection
FormFieldId string `json:"form_field_id"`
IncidentId string `json:"incident_id"`
SelectedOptionIds *[]string `json:"selected_option_ids,omitempty"`
SelectedUserIds *[]float32 `json:"selected_user_ids,omitempty"`
// The selected value for text kind custom fields
Value *string `json:"value"`
}
IncidentFormFieldSelection defines model for incident_form_field_selection.
type IncidentFormFieldSelectionList ¶ added in v0.1.48
type IncidentFormFieldSelectionList struct {
Data []struct {
Attributes struct {
// The custom field for this selection
FormFieldId string `json:"form_field_id"`
IncidentId string `json:"incident_id"`
SelectedOptionIds *[]string `json:"selected_option_ids,omitempty"`
SelectedUserIds *[]float32 `json:"selected_user_ids,omitempty"`
// The selected value for text kind custom fields
Value *string `json:"value"`
} `json:"attributes"`
// Unique ID of the incident_form_field_selection
Id string `json:"id"`
Type IncidentFormFieldSelectionListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentFormFieldSelectionList defines model for incident_form_field_selection_list.
type IncidentFormFieldSelectionListDataType ¶ added in v0.1.48
type IncidentFormFieldSelectionListDataType string
IncidentFormFieldSelectionListDataType defines model for IncidentFormFieldSelectionList.Data.Type.
const (
IncidentFormFieldSelectionListDataTypeIncidentFormFieldSelections IncidentFormFieldSelectionListDataType = "incident_form_field_selections"
)
Defines values for IncidentFormFieldSelectionListDataType.
type IncidentFormFieldSelectionResponse ¶ added in v0.1.48
type IncidentFormFieldSelectionResponse struct {
Data struct {
Attributes struct {
// The custom field for this selection
FormFieldId string `json:"form_field_id"`
IncidentId string `json:"incident_id"`
SelectedOptionIds *[]string `json:"selected_option_ids,omitempty"`
SelectedUserIds *[]float32 `json:"selected_user_ids,omitempty"`
// The selected value for text kind custom fields
Value *string `json:"value"`
} `json:"attributes"`
// Unique ID of the incident_form_field_selection
Id string `json:"id"`
Type IncidentFormFieldSelectionResponseDataType `json:"type"`
} `json:"data"`
}
IncidentFormFieldSelectionResponse defines model for incident_form_field_selection_response.
type IncidentFormFieldSelectionResponseDataType ¶ added in v0.1.48
type IncidentFormFieldSelectionResponseDataType string
IncidentFormFieldSelectionResponseDataType defines model for IncidentFormFieldSelectionResponse.Data.Type.
const (
IncidentFormFieldSelectionResponseDataTypeIncidentFormFieldSelections IncidentFormFieldSelectionResponseDataType = "incident_form_field_selections"
)
Defines values for IncidentFormFieldSelectionResponseDataType.
type IncidentFunctionalitiesDataAttributesStatus ¶ added in v0.1.83
type IncidentFunctionalitiesDataAttributesStatus string
The status of the functionality
const ( IncidentFunctionalitiesDataAttributesStatusImpacted IncidentFunctionalitiesDataAttributesStatus = "impacted" IncidentFunctionalitiesDataAttributesStatusMajorOutage IncidentFunctionalitiesDataAttributesStatus = "major_outage" IncidentFunctionalitiesDataAttributesStatusOperational IncidentFunctionalitiesDataAttributesStatus = "operational" IncidentFunctionalitiesDataAttributesStatusOutage IncidentFunctionalitiesDataAttributesStatus = "outage" IncidentFunctionalitiesDataAttributesStatusPartialOutage IncidentFunctionalitiesDataAttributesStatus = "partial_outage" )
Defines values for IncidentFunctionalitiesDataAttributesStatus.
type IncidentFunctionalitiesDataType ¶ added in v0.1.81
type IncidentFunctionalitiesDataType string
IncidentFunctionalitiesDataType defines model for Incident.Functionalities.Data.Type.
const (
IncidentFunctionalitiesDataTypeFunctionalities IncidentFunctionalitiesDataType = "functionalities"
)
Defines values for IncidentFunctionalitiesDataType.
type IncidentGroupsDataType ¶ added in v0.1.81
type IncidentGroupsDataType string
IncidentGroupsDataType defines model for Incident.Groups.Data.Type.
const (
IncidentGroupsDataTypeGroups IncidentGroupsDataType = "groups"
)
Defines values for IncidentGroupsDataType.
type IncidentIncidentTypesDataType ¶ added in v0.1.81
type IncidentIncidentTypesDataType string
IncidentIncidentTypesDataType defines model for Incident.IncidentTypes.Data.Type.
const (
IncidentIncidentTypesDataTypeIncidentTypes IncidentIncidentTypesDataType = "incident_types"
)
Defines values for IncidentIncidentTypesDataType.
type IncidentList ¶
type IncidentList struct {
Data []struct {
Attributes struct {
// Date of acknowledgment
AcknowledgedAt *string `json:"acknowledged_at"`
// Why was the incident cancelled?
CancellationMessage *string `json:"cancellation_message"`
// Date of cancellation
CancelledAt *string `json:"cancelled_at"`
// Date of creation
CreatedAt string `json:"created_at"`
// Date of detection
DetectedAt *string `json:"detected_at"`
// The Environments of the incident
Environments *[]struct {
Data struct {
Attributes struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the environment
Id string `json:"id"`
Type IncidentListDataAttributesEnvironmentsDataType `json:"type"`
} `json:"data"`
} `json:"environments"`
// The Functionalities of the incident
Functionalities *[]struct {
Data struct {
Attributes struct {
// The hex color of the functionality
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name string `json:"name"`
// Emails attached to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the functionality
Slug *string `json:"slug,omitempty"`
// The status of the functionality
Status *IncidentListDataAttributesFunctionalitiesDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the functionality
Id string `json:"id"`
Type IncidentListDataAttributesFunctionalitiesDataType `json:"type"`
} `json:"data"`
} `json:"functionalities"`
// The Teams of to the incident
Groups *[]struct {
Data struct {
Attributes struct {
// The hex color of the team
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name string `json:"name"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
} `json:"attributes"`
// Unique ID of the team
Id string `json:"id"`
Type IncidentListDataAttributesGroupsDataType `json:"type"`
} `json:"data"`
} `json:"groups"`
// Date of triage
InTriageAt *string `json:"in_triage_at"`
// The Incident Types of the incident
IncidentTypes *[]struct {
Data struct {
Attributes struct {
// The hex color of the incident type
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name string `json:"name"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the incident type
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident type
Id string `json:"id"`
Type IncidentListDataAttributesIncidentTypesDataType `json:"type"`
} `json:"data"`
} `json:"incident_types"`
// The kind of the incident
Kind *string `json:"kind,omitempty"`
// Labels to attach to the incidents. eg: {"platform":"osx", "version": "1.29"}
Labels *map[string]interface{} `json:"labels"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// How was the incident mitigated?
MitigationMessage *string `json:"mitigation_message"`
// ID of parent incident
ParentIncidentId *string `json:"parent_incident_id"`
// Create an incident as private
Private *bool `json:"private"`
// How was the incident resolved?
ResolutionMessage *string `json:"resolution_message"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Date of when the maintenance begins
ScheduledFor *string `json:"scheduled_for"`
// Date of when the maintenance ends
ScheduledUntil *string `json:"scheduled_until"`
// The Services of the incident
Services *[]struct {
Data struct {
Attributes struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *IncidentListDataAttributesServicesDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the service
Id string `json:"id"`
Type IncidentListDataAttributesServicesDataType `json:"type"`
} `json:"data"`
} `json:"services"`
// The Severity of the incident
Severity *struct {
Data struct {
Attributes struct {
// The hex color of the severity
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name string `json:"name"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *IncidentListDataAttributesSeverityDataAttributesSeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the severity
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the severity
Id string `json:"id"`
Type IncidentListDataAttributesSeverityDataType `json:"type"`
} `json:"data"`
} `json:"severity"`
// Slack channel id
SlackChannelId *string `json:"slack_channel_id"`
// Slack channel name
SlackChannelName *string `json:"slack_channel_name"`
// Slack channel url
SlackChannelUrl *string `json:"slack_channel_url"`
// The slug of the incident
Slug string `json:"slug"`
// Date of start
StartedAt *string `json:"started_at"`
// The summary of the incident
Summary *string `json:"summary"`
// The title of the incident
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident
Id string `json:"id"`
Type IncidentListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentList defines model for incident_list.
type IncidentListDataAttributesEnvironmentsDataType ¶ added in v0.1.81
type IncidentListDataAttributesEnvironmentsDataType string
IncidentListDataAttributesEnvironmentsDataType defines model for IncidentList.Data.Attributes.Environments.Data.Type.
const (
IncidentListDataAttributesEnvironmentsDataTypeEnvironments IncidentListDataAttributesEnvironmentsDataType = "environments"
)
Defines values for IncidentListDataAttributesEnvironmentsDataType.
type IncidentListDataAttributesFunctionalitiesDataAttributesStatus ¶ added in v0.1.83
type IncidentListDataAttributesFunctionalitiesDataAttributesStatus string
The status of the functionality
const ( IncidentListDataAttributesFunctionalitiesDataAttributesStatusImpacted IncidentListDataAttributesFunctionalitiesDataAttributesStatus = "impacted" IncidentListDataAttributesFunctionalitiesDataAttributesStatusMajorOutage IncidentListDataAttributesFunctionalitiesDataAttributesStatus = "major_outage" IncidentListDataAttributesFunctionalitiesDataAttributesStatusOperational IncidentListDataAttributesFunctionalitiesDataAttributesStatus = "operational" IncidentListDataAttributesFunctionalitiesDataAttributesStatusOutage IncidentListDataAttributesFunctionalitiesDataAttributesStatus = "outage" IncidentListDataAttributesFunctionalitiesDataAttributesStatusPartialOutage IncidentListDataAttributesFunctionalitiesDataAttributesStatus = "partial_outage" )
Defines values for IncidentListDataAttributesFunctionalitiesDataAttributesStatus.
type IncidentListDataAttributesFunctionalitiesDataType ¶ added in v0.1.81
type IncidentListDataAttributesFunctionalitiesDataType string
IncidentListDataAttributesFunctionalitiesDataType defines model for IncidentList.Data.Attributes.Functionalities.Data.Type.
const (
IncidentListDataAttributesFunctionalitiesDataTypeFunctionalities IncidentListDataAttributesFunctionalitiesDataType = "functionalities"
)
Defines values for IncidentListDataAttributesFunctionalitiesDataType.
type IncidentListDataAttributesGroupsDataType ¶ added in v0.1.81
type IncidentListDataAttributesGroupsDataType string
IncidentListDataAttributesGroupsDataType defines model for IncidentList.Data.Attributes.Groups.Data.Type.
const (
IncidentListDataAttributesGroupsDataTypeGroups IncidentListDataAttributesGroupsDataType = "groups"
)
Defines values for IncidentListDataAttributesGroupsDataType.
type IncidentListDataAttributesIncidentTypesDataType ¶ added in v0.1.81
type IncidentListDataAttributesIncidentTypesDataType string
IncidentListDataAttributesIncidentTypesDataType defines model for IncidentList.Data.Attributes.IncidentTypes.Data.Type.
const (
IncidentListDataAttributesIncidentTypesDataTypeIncidentTypes IncidentListDataAttributesIncidentTypesDataType = "incident_types"
)
Defines values for IncidentListDataAttributesIncidentTypesDataType.
type IncidentListDataAttributesServicesDataAttributesStatus ¶ added in v0.1.83
type IncidentListDataAttributesServicesDataAttributesStatus string
The status of the service
const ( IncidentListDataAttributesServicesDataAttributesStatusImpacted IncidentListDataAttributesServicesDataAttributesStatus = "impacted" IncidentListDataAttributesServicesDataAttributesStatusMajorOutage IncidentListDataAttributesServicesDataAttributesStatus = "major_outage" IncidentListDataAttributesServicesDataAttributesStatusOperational IncidentListDataAttributesServicesDataAttributesStatus = "operational" IncidentListDataAttributesServicesDataAttributesStatusOutage IncidentListDataAttributesServicesDataAttributesStatus = "outage" IncidentListDataAttributesServicesDataAttributesStatusPartialOutage IncidentListDataAttributesServicesDataAttributesStatus = "partial_outage" )
Defines values for IncidentListDataAttributesServicesDataAttributesStatus.
type IncidentListDataAttributesServicesDataType ¶ added in v0.1.81
type IncidentListDataAttributesServicesDataType string
IncidentListDataAttributesServicesDataType defines model for IncidentList.Data.Attributes.Services.Data.Type.
const (
IncidentListDataAttributesServicesDataTypeServices IncidentListDataAttributesServicesDataType = "services"
)
Defines values for IncidentListDataAttributesServicesDataType.
type IncidentListDataAttributesSeverityDataAttributesSeverity ¶ added in v0.1.81
type IncidentListDataAttributesSeverityDataAttributesSeverity string
The severity of the severity
const ( IncidentListDataAttributesSeverityDataAttributesSeverityCritical IncidentListDataAttributesSeverityDataAttributesSeverity = "critical" IncidentListDataAttributesSeverityDataAttributesSeverityHigh IncidentListDataAttributesSeverityDataAttributesSeverity = "high" IncidentListDataAttributesSeverityDataAttributesSeverityLow IncidentListDataAttributesSeverityDataAttributesSeverity = "low" IncidentListDataAttributesSeverityDataAttributesSeverityMedium IncidentListDataAttributesSeverityDataAttributesSeverity = "medium" )
Defines values for IncidentListDataAttributesSeverityDataAttributesSeverity.
type IncidentListDataAttributesSeverityDataType ¶ added in v0.1.81
type IncidentListDataAttributesSeverityDataType string
IncidentListDataAttributesSeverityDataType defines model for IncidentList.Data.Attributes.Severity.Data.Type.
const (
IncidentListDataAttributesSeverityDataTypeSeverities IncidentListDataAttributesSeverityDataType = "severities"
)
Defines values for IncidentListDataAttributesSeverityDataType.
type IncidentListDataType ¶
type IncidentListDataType string
IncidentListDataType defines model for IncidentList.Data.Type.
const (
IncidentListDataTypeIncidents IncidentListDataType = "incidents"
)
Defines values for IncidentListDataType.
type IncidentPostMortem ¶
type IncidentPostMortem struct {
// The content of the incident retrospective (Only if internal)
Content *string `json:"content"`
// Date of creation
CreatedAt string `json:"created_at"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Show alerts attached to the incident
ShowAlertsAttached *bool `json:"show_alerts_attached,omitempty"`
// Show services impacted of the incident retrospective
ShowFunctionalitiesImpacted *bool `json:"show_functionalities_impacted,omitempty"`
// Show groups impacted of the incident retrospective
ShowGroupsImpacted *bool `json:"show_groups_impacted,omitempty"`
// Show functionalities impacted of the incident retrospective
ShowServicesImpacted *bool `json:"show_services_impacted,omitempty"`
// Show events timeline of the incident retrospective
ShowTimeline *bool `json:"show_timeline,omitempty"`
// Show action items in the timeline of the incident retrospective
ShowTimelineActionItems *bool `json:"show_timeline_action_items,omitempty"`
// Show workflow events in the timeline of the incident retrospective
ShowTimelineGenius *bool `json:"show_timeline_genius,omitempty"`
// The order of the incident retrospective timeline
ShowTimelineOrder *IncidentPostMortemShowTimelineOrder `json:"show_timeline_order,omitempty"`
// Show tasks in the timeline of the incident retrospective
ShowTimelineTasks *bool `json:"show_timeline_tasks,omitempty"`
// Show trail events in the timeline of the incident retrospective
ShowTimelineTrail *bool `json:"show_timeline_trail,omitempty"`
// Date of started at
StartedAt *string `json:"started_at"`
// The status of the incident retrospective
Status *IncidentPostMortemStatus `json:"status,omitempty"`
// The title of the incident retrospective
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The url to the incident retrospective
Url *string `json:"url,omitempty"`
}
IncidentPostMortem defines model for incident_post_mortem.
type IncidentPostMortemList ¶
type IncidentPostMortemList struct {
Data []struct {
Attributes struct {
// The content of the incident retrospective (Only if internal)
Content *string `json:"content"`
// Date of creation
CreatedAt string `json:"created_at"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Show alerts attached to the incident
ShowAlertsAttached *bool `json:"show_alerts_attached,omitempty"`
// Show services impacted of the incident retrospective
ShowFunctionalitiesImpacted *bool `json:"show_functionalities_impacted,omitempty"`
// Show groups impacted of the incident retrospective
ShowGroupsImpacted *bool `json:"show_groups_impacted,omitempty"`
// Show functionalities impacted of the incident retrospective
ShowServicesImpacted *bool `json:"show_services_impacted,omitempty"`
// Show events timeline of the incident retrospective
ShowTimeline *bool `json:"show_timeline,omitempty"`
// Show action items in the timeline of the incident retrospective
ShowTimelineActionItems *bool `json:"show_timeline_action_items,omitempty"`
// Show workflow events in the timeline of the incident retrospective
ShowTimelineGenius *bool `json:"show_timeline_genius,omitempty"`
// The order of the incident retrospective timeline
ShowTimelineOrder *IncidentPostMortemListDataAttributesShowTimelineOrder `json:"show_timeline_order,omitempty"`
// Show tasks in the timeline of the incident retrospective
ShowTimelineTasks *bool `json:"show_timeline_tasks,omitempty"`
// Show trail events in the timeline of the incident retrospective
ShowTimelineTrail *bool `json:"show_timeline_trail,omitempty"`
// Date of started at
StartedAt *string `json:"started_at"`
// The status of the incident retrospective
Status *IncidentPostMortemListDataAttributesStatus `json:"status,omitempty"`
// The title of the incident retrospective
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The url to the incident retrospective
Url *string `json:"url,omitempty"`
} `json:"attributes"`
// Unique ID of the incident retrospective
Id string `json:"id"`
Type IncidentPostMortemListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentPostMortemList defines model for incident_post_mortem_list.
type IncidentPostMortemListDataAttributesShowTimelineOrder ¶ added in v0.1.58
type IncidentPostMortemListDataAttributesShowTimelineOrder string
The order of the incident retrospective timeline
const ( IncidentPostMortemListDataAttributesShowTimelineOrderAsc IncidentPostMortemListDataAttributesShowTimelineOrder = "asc" IncidentPostMortemListDataAttributesShowTimelineOrderDesc IncidentPostMortemListDataAttributesShowTimelineOrder = "desc" )
Defines values for IncidentPostMortemListDataAttributesShowTimelineOrder.
type IncidentPostMortemListDataAttributesStatus ¶ added in v0.1.12
type IncidentPostMortemListDataAttributesStatus string
The status of the incident retrospective
const ( IncidentPostMortemListDataAttributesStatusDraft IncidentPostMortemListDataAttributesStatus = "draft" IncidentPostMortemListDataAttributesStatusPublished IncidentPostMortemListDataAttributesStatus = "published" )
Defines values for IncidentPostMortemListDataAttributesStatus.
type IncidentPostMortemListDataType ¶
type IncidentPostMortemListDataType string
IncidentPostMortemListDataType defines model for IncidentPostMortemList.Data.Type.
const (
IncidentPostMortemListDataTypeIncidentPostMortems IncidentPostMortemListDataType = "incident_post_mortems"
)
Defines values for IncidentPostMortemListDataType.
type IncidentPostMortemResponse ¶
type IncidentPostMortemResponse struct {
Data struct {
Attributes struct {
// The content of the incident retrospective (Only if internal)
Content *string `json:"content"`
// Date of creation
CreatedAt string `json:"created_at"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Show alerts attached to the incident
ShowAlertsAttached *bool `json:"show_alerts_attached,omitempty"`
// Show services impacted of the incident retrospective
ShowFunctionalitiesImpacted *bool `json:"show_functionalities_impacted,omitempty"`
// Show groups impacted of the incident retrospective
ShowGroupsImpacted *bool `json:"show_groups_impacted,omitempty"`
// Show functionalities impacted of the incident retrospective
ShowServicesImpacted *bool `json:"show_services_impacted,omitempty"`
// Show events timeline of the incident retrospective
ShowTimeline *bool `json:"show_timeline,omitempty"`
// Show action items in the timeline of the incident retrospective
ShowTimelineActionItems *bool `json:"show_timeline_action_items,omitempty"`
// Show workflow events in the timeline of the incident retrospective
ShowTimelineGenius *bool `json:"show_timeline_genius,omitempty"`
// The order of the incident retrospective timeline
ShowTimelineOrder *IncidentPostMortemResponseDataAttributesShowTimelineOrder `json:"show_timeline_order,omitempty"`
// Show tasks in the timeline of the incident retrospective
ShowTimelineTasks *bool `json:"show_timeline_tasks,omitempty"`
// Show trail events in the timeline of the incident retrospective
ShowTimelineTrail *bool `json:"show_timeline_trail,omitempty"`
// Date of started at
StartedAt *string `json:"started_at"`
// The status of the incident retrospective
Status *IncidentPostMortemResponseDataAttributesStatus `json:"status,omitempty"`
// The title of the incident retrospective
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The url to the incident retrospective
Url *string `json:"url,omitempty"`
} `json:"attributes"`
// Unique ID of the incident retrospective
Id string `json:"id"`
Type IncidentPostMortemResponseDataType `json:"type"`
} `json:"data"`
}
IncidentPostMortemResponse defines model for incident_post_mortem_response.
type IncidentPostMortemResponseDataAttributesShowTimelineOrder ¶ added in v0.1.58
type IncidentPostMortemResponseDataAttributesShowTimelineOrder string
The order of the incident retrospective timeline
const ( Asc IncidentPostMortemResponseDataAttributesShowTimelineOrder = "asc" Desc IncidentPostMortemResponseDataAttributesShowTimelineOrder = "desc" )
Defines values for IncidentPostMortemResponseDataAttributesShowTimelineOrder.
type IncidentPostMortemResponseDataAttributesStatus ¶ added in v0.1.12
type IncidentPostMortemResponseDataAttributesStatus string
The status of the incident retrospective
const ( IncidentPostMortemResponseDataAttributesStatusDraft IncidentPostMortemResponseDataAttributesStatus = "draft" IncidentPostMortemResponseDataAttributesStatusPublished IncidentPostMortemResponseDataAttributesStatus = "published" )
Defines values for IncidentPostMortemResponseDataAttributesStatus.
type IncidentPostMortemResponseDataType ¶
type IncidentPostMortemResponseDataType string
IncidentPostMortemResponseDataType defines model for IncidentPostMortemResponse.Data.Type.
const (
IncidentPostMortemResponseDataTypeIncidentPostMortems IncidentPostMortemResponseDataType = "incident_post_mortems"
)
Defines values for IncidentPostMortemResponseDataType.
type IncidentPostMortemShowTimelineOrder ¶ added in v0.1.58
type IncidentPostMortemShowTimelineOrder string
The order of the incident retrospective timeline
const ( IncidentPostMortemShowTimelineOrderAsc IncidentPostMortemShowTimelineOrder = "asc" IncidentPostMortemShowTimelineOrderDesc IncidentPostMortemShowTimelineOrder = "desc" )
Defines values for IncidentPostMortemShowTimelineOrder.
type IncidentPostMortemStatus ¶
type IncidentPostMortemStatus string
The status of the incident retrospective
const ( IncidentPostMortemStatusDraft IncidentPostMortemStatus = "draft" IncidentPostMortemStatusPublished IncidentPostMortemStatus = "published" )
Defines values for IncidentPostMortemStatus.
type IncidentResponse ¶
type IncidentResponse struct {
Data struct {
Attributes struct {
// Date of acknowledgment
AcknowledgedAt *string `json:"acknowledged_at"`
// Why was the incident cancelled?
CancellationMessage *string `json:"cancellation_message"`
// Date of cancellation
CancelledAt *string `json:"cancelled_at"`
// Date of creation
CreatedAt string `json:"created_at"`
// Date of detection
DetectedAt *string `json:"detected_at"`
// The Environments of the incident
Environments *[]struct {
Data struct {
Attributes struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the environment
Id string `json:"id"`
Type IncidentResponseDataAttributesEnvironmentsDataType `json:"type"`
} `json:"data"`
} `json:"environments"`
// The Functionalities of the incident
Functionalities *[]struct {
Data struct {
Attributes struct {
// The hex color of the functionality
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name string `json:"name"`
// Emails attached to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the functionality
Slug *string `json:"slug,omitempty"`
// The status of the functionality
Status *IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the functionality
Id string `json:"id"`
Type IncidentResponseDataAttributesFunctionalitiesDataType `json:"type"`
} `json:"data"`
} `json:"functionalities"`
// The Teams of to the incident
Groups *[]struct {
Data struct {
Attributes struct {
// The hex color of the team
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name string `json:"name"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
} `json:"attributes"`
// Unique ID of the team
Id string `json:"id"`
Type IncidentResponseDataAttributesGroupsDataType `json:"type"`
} `json:"data"`
} `json:"groups"`
// Date of triage
InTriageAt *string `json:"in_triage_at"`
// The Incident Types of the incident
IncidentTypes *[]struct {
Data struct {
Attributes struct {
// The hex color of the incident type
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name string `json:"name"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the incident type
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident type
Id string `json:"id"`
Type IncidentResponseDataAttributesIncidentTypesDataType `json:"type"`
} `json:"data"`
} `json:"incident_types"`
// The kind of the incident
Kind *string `json:"kind,omitempty"`
// Labels to attach to the incidents. eg: {"platform":"osx", "version": "1.29"}
Labels *map[string]interface{} `json:"labels"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// How was the incident mitigated?
MitigationMessage *string `json:"mitigation_message"`
// ID of parent incident
ParentIncidentId *string `json:"parent_incident_id"`
// Create an incident as private
Private *bool `json:"private"`
// How was the incident resolved?
ResolutionMessage *string `json:"resolution_message"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Date of when the maintenance begins
ScheduledFor *string `json:"scheduled_for"`
// Date of when the maintenance ends
ScheduledUntil *string `json:"scheduled_until"`
// The Services of the incident
Services *[]struct {
Data struct {
Attributes struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *IncidentResponseDataAttributesServicesDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the service
Id string `json:"id"`
Type IncidentResponseDataAttributesServicesDataType `json:"type"`
} `json:"data"`
} `json:"services"`
// The Severity of the incident
Severity *struct {
Data struct {
Attributes struct {
// The hex color of the severity
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name string `json:"name"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *IncidentResponseDataAttributesSeverityDataAttributesSeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the severity
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the severity
Id string `json:"id"`
Type IncidentResponseDataAttributesSeverityDataType `json:"type"`
} `json:"data"`
} `json:"severity"`
// Slack channel id
SlackChannelId *string `json:"slack_channel_id"`
// Slack channel name
SlackChannelName *string `json:"slack_channel_name"`
// Slack channel url
SlackChannelUrl *string `json:"slack_channel_url"`
// The slug of the incident
Slug string `json:"slug"`
// Date of start
StartedAt *string `json:"started_at"`
// The summary of the incident
Summary *string `json:"summary"`
// The title of the incident
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident
Id string `json:"id"`
Type IncidentResponseDataType `json:"type"`
} `json:"data"`
}
IncidentResponse defines model for incident_response.
type IncidentResponseDataAttributesEnvironmentsDataType ¶ added in v0.1.81
type IncidentResponseDataAttributesEnvironmentsDataType string
IncidentResponseDataAttributesEnvironmentsDataType defines model for IncidentResponse.Data.Attributes.Environments.Data.Type.
const (
IncidentResponseDataAttributesEnvironmentsDataTypeEnvironments IncidentResponseDataAttributesEnvironmentsDataType = "environments"
)
Defines values for IncidentResponseDataAttributesEnvironmentsDataType.
type IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus ¶ added in v0.1.83
type IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus string
The status of the functionality
const ( IncidentResponseDataAttributesFunctionalitiesDataAttributesStatusImpacted IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus = "impacted" IncidentResponseDataAttributesFunctionalitiesDataAttributesStatusMajorOutage IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus = "major_outage" IncidentResponseDataAttributesFunctionalitiesDataAttributesStatusOperational IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus = "operational" IncidentResponseDataAttributesFunctionalitiesDataAttributesStatusOutage IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus = "outage" IncidentResponseDataAttributesFunctionalitiesDataAttributesStatusPartialOutage IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus = "partial_outage" )
Defines values for IncidentResponseDataAttributesFunctionalitiesDataAttributesStatus.
type IncidentResponseDataAttributesFunctionalitiesDataType ¶ added in v0.1.81
type IncidentResponseDataAttributesFunctionalitiesDataType string
IncidentResponseDataAttributesFunctionalitiesDataType defines model for IncidentResponse.Data.Attributes.Functionalities.Data.Type.
const (
IncidentResponseDataAttributesFunctionalitiesDataTypeFunctionalities IncidentResponseDataAttributesFunctionalitiesDataType = "functionalities"
)
Defines values for IncidentResponseDataAttributesFunctionalitiesDataType.
type IncidentResponseDataAttributesGroupsDataType ¶ added in v0.1.81
type IncidentResponseDataAttributesGroupsDataType string
IncidentResponseDataAttributesGroupsDataType defines model for IncidentResponse.Data.Attributes.Groups.Data.Type.
const (
IncidentResponseDataAttributesGroupsDataTypeGroups IncidentResponseDataAttributesGroupsDataType = "groups"
)
Defines values for IncidentResponseDataAttributesGroupsDataType.
type IncidentResponseDataAttributesIncidentTypesDataType ¶ added in v0.1.81
type IncidentResponseDataAttributesIncidentTypesDataType string
IncidentResponseDataAttributesIncidentTypesDataType defines model for IncidentResponse.Data.Attributes.IncidentTypes.Data.Type.
const (
IncidentResponseDataAttributesIncidentTypesDataTypeIncidentTypes IncidentResponseDataAttributesIncidentTypesDataType = "incident_types"
)
Defines values for IncidentResponseDataAttributesIncidentTypesDataType.
type IncidentResponseDataAttributesServicesDataAttributesStatus ¶ added in v0.1.83
type IncidentResponseDataAttributesServicesDataAttributesStatus string
The status of the service
const ( IncidentResponseDataAttributesServicesDataAttributesStatusImpacted IncidentResponseDataAttributesServicesDataAttributesStatus = "impacted" IncidentResponseDataAttributesServicesDataAttributesStatusMajorOutage IncidentResponseDataAttributesServicesDataAttributesStatus = "major_outage" IncidentResponseDataAttributesServicesDataAttributesStatusOperational IncidentResponseDataAttributesServicesDataAttributesStatus = "operational" IncidentResponseDataAttributesServicesDataAttributesStatusOutage IncidentResponseDataAttributesServicesDataAttributesStatus = "outage" IncidentResponseDataAttributesServicesDataAttributesStatusPartialOutage IncidentResponseDataAttributesServicesDataAttributesStatus = "partial_outage" )
Defines values for IncidentResponseDataAttributesServicesDataAttributesStatus.
type IncidentResponseDataAttributesServicesDataType ¶ added in v0.1.81
type IncidentResponseDataAttributesServicesDataType string
IncidentResponseDataAttributesServicesDataType defines model for IncidentResponse.Data.Attributes.Services.Data.Type.
const (
IncidentResponseDataAttributesServicesDataTypeServices IncidentResponseDataAttributesServicesDataType = "services"
)
Defines values for IncidentResponseDataAttributesServicesDataType.
type IncidentResponseDataAttributesSeverityDataAttributesSeverity ¶ added in v0.1.81
type IncidentResponseDataAttributesSeverityDataAttributesSeverity string
The severity of the severity
const ( IncidentResponseDataAttributesSeverityDataAttributesSeverityCritical IncidentResponseDataAttributesSeverityDataAttributesSeverity = "critical" IncidentResponseDataAttributesSeverityDataAttributesSeverityHigh IncidentResponseDataAttributesSeverityDataAttributesSeverity = "high" IncidentResponseDataAttributesSeverityDataAttributesSeverityLow IncidentResponseDataAttributesSeverityDataAttributesSeverity = "low" IncidentResponseDataAttributesSeverityDataAttributesSeverityMedium IncidentResponseDataAttributesSeverityDataAttributesSeverity = "medium" )
Defines values for IncidentResponseDataAttributesSeverityDataAttributesSeverity.
type IncidentResponseDataAttributesSeverityDataType ¶ added in v0.1.81
type IncidentResponseDataAttributesSeverityDataType string
IncidentResponseDataAttributesSeverityDataType defines model for IncidentResponse.Data.Attributes.Severity.Data.Type.
const (
IncidentResponseDataAttributesSeverityDataTypeSeverities IncidentResponseDataAttributesSeverityDataType = "severities"
)
Defines values for IncidentResponseDataAttributesSeverityDataType.
type IncidentResponseDataType ¶
type IncidentResponseDataType string
IncidentResponseDataType defines model for IncidentResponse.Data.Type.
const (
IncidentResponseDataTypeIncidents IncidentResponseDataType = "incidents"
)
Defines values for IncidentResponseDataType.
type IncidentRole ¶
type IncidentRole struct {
AllowMultiUserAssignment *bool `json:"allow_multi_user_assignment,omitempty"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident role
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
// The name of the incident role
Name string `json:"name"`
Optional *bool `json:"optional,omitempty"`
// Position of the incident role
Position *int `json:"position"`
// The slug of the incident role
Slug *string `json:"slug,omitempty"`
// The summary of the incident role
Summary *string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
IncidentRole defines model for incident_role.
type IncidentRoleList ¶
type IncidentRoleList struct {
Data []struct {
Attributes struct {
AllowMultiUserAssignment *bool `json:"allow_multi_user_assignment,omitempty"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident role
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
// The name of the incident role
Name string `json:"name"`
Optional *bool `json:"optional,omitempty"`
// Position of the incident role
Position *int `json:"position"`
// The slug of the incident role
Slug *string `json:"slug,omitempty"`
// The summary of the incident role
Summary *string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident role
Id string `json:"id"`
Type IncidentRoleListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentRoleList defines model for incident_role_list.
type IncidentRoleListDataType ¶
type IncidentRoleListDataType string
IncidentRoleListDataType defines model for IncidentRoleList.Data.Type.
const (
IncidentRoleListDataTypeIncidentRoles IncidentRoleListDataType = "incident_roles"
)
Defines values for IncidentRoleListDataType.
type IncidentRoleResponse ¶
type IncidentRoleResponse struct {
Data struct {
Attributes struct {
AllowMultiUserAssignment *bool `json:"allow_multi_user_assignment,omitempty"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident role
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
// The name of the incident role
Name string `json:"name"`
Optional *bool `json:"optional,omitempty"`
// Position of the incident role
Position *int `json:"position"`
// The slug of the incident role
Slug *string `json:"slug,omitempty"`
// The summary of the incident role
Summary *string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident role
Id string `json:"id"`
Type IncidentRoleResponseDataType `json:"type"`
} `json:"data"`
}
IncidentRoleResponse defines model for incident_role_response.
type IncidentRoleResponseDataType ¶
type IncidentRoleResponseDataType string
IncidentRoleResponseDataType defines model for IncidentRoleResponse.Data.Type.
const (
IncidentRoleResponseDataTypeIncidentRoles IncidentRoleResponseDataType = "incident_roles"
)
Defines values for IncidentRoleResponseDataType.
type IncidentRoleTask ¶
type IncidentRoleTask struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident task
Description *string `json:"description"`
IncidentRoleId *string `json:"incident_role_id,omitempty"`
// The priority of the incident task
Priority *IncidentRoleTaskPriority `json:"priority,omitempty"`
// The task of the incident task
Task string `json:"task"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
IncidentRoleTask defines model for incident_role_task.
type IncidentRoleTaskList ¶
type IncidentRoleTaskList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident task
Description *string `json:"description"`
IncidentRoleId *string `json:"incident_role_id,omitempty"`
// The priority of the incident task
Priority *IncidentRoleTaskListDataAttributesPriority `json:"priority,omitempty"`
// The task of the incident task
Task string `json:"task"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident task
Id string `json:"id"`
Type IncidentRoleTaskListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentRoleTaskList defines model for incident_role_task_list.
type IncidentRoleTaskListDataAttributesPriority ¶ added in v0.1.12
type IncidentRoleTaskListDataAttributesPriority string
The priority of the incident task
const ( IncidentRoleTaskListDataAttributesPriorityHigh IncidentRoleTaskListDataAttributesPriority = "high" IncidentRoleTaskListDataAttributesPriorityLow IncidentRoleTaskListDataAttributesPriority = "low" IncidentRoleTaskListDataAttributesPriorityMedium IncidentRoleTaskListDataAttributesPriority = "medium" )
Defines values for IncidentRoleTaskListDataAttributesPriority.
type IncidentRoleTaskListDataType ¶
type IncidentRoleTaskListDataType string
IncidentRoleTaskListDataType defines model for IncidentRoleTaskList.Data.Type.
const (
IncidentRoleTaskListDataTypeIncidentRoleTasks IncidentRoleTaskListDataType = "incident_role_tasks"
)
Defines values for IncidentRoleTaskListDataType.
type IncidentRoleTaskPriority ¶
type IncidentRoleTaskPriority string
The priority of the incident task
const ( IncidentRoleTaskPriorityHigh IncidentRoleTaskPriority = "high" IncidentRoleTaskPriorityLow IncidentRoleTaskPriority = "low" IncidentRoleTaskPriorityMedium IncidentRoleTaskPriority = "medium" )
Defines values for IncidentRoleTaskPriority.
type IncidentRoleTaskResponse ¶
type IncidentRoleTaskResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident task
Description *string `json:"description"`
IncidentRoleId *string `json:"incident_role_id,omitempty"`
// The priority of the incident task
Priority *IncidentRoleTaskResponseDataAttributesPriority `json:"priority,omitempty"`
// The task of the incident task
Task string `json:"task"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident task
Id string `json:"id"`
Type IncidentRoleTaskResponseDataType `json:"type"`
} `json:"data"`
}
IncidentRoleTaskResponse defines model for incident_role_task_response.
type IncidentRoleTaskResponseDataAttributesPriority ¶ added in v0.1.12
type IncidentRoleTaskResponseDataAttributesPriority string
The priority of the incident task
const ( IncidentRoleTaskResponseDataAttributesPriorityHigh IncidentRoleTaskResponseDataAttributesPriority = "high" IncidentRoleTaskResponseDataAttributesPriorityLow IncidentRoleTaskResponseDataAttributesPriority = "low" IncidentRoleTaskResponseDataAttributesPriorityMedium IncidentRoleTaskResponseDataAttributesPriority = "medium" )
Defines values for IncidentRoleTaskResponseDataAttributesPriority.
type IncidentRoleTaskResponseDataType ¶
type IncidentRoleTaskResponseDataType string
IncidentRoleTaskResponseDataType defines model for IncidentRoleTaskResponse.Data.Type.
const (
IncidentRoleTaskResponseDataTypeIncidentRoleTasks IncidentRoleTaskResponseDataType = "incident_role_tasks"
)
Defines values for IncidentRoleTaskResponseDataType.
type IncidentServicesDataAttributesStatus ¶ added in v0.1.83
type IncidentServicesDataAttributesStatus string
The status of the service
const ( IncidentServicesDataAttributesStatusImpacted IncidentServicesDataAttributesStatus = "impacted" IncidentServicesDataAttributesStatusMajorOutage IncidentServicesDataAttributesStatus = "major_outage" IncidentServicesDataAttributesStatusOperational IncidentServicesDataAttributesStatus = "operational" IncidentServicesDataAttributesStatusOutage IncidentServicesDataAttributesStatus = "outage" IncidentServicesDataAttributesStatusPartialOutage IncidentServicesDataAttributesStatus = "partial_outage" )
Defines values for IncidentServicesDataAttributesStatus.
type IncidentServicesDataType ¶ added in v0.1.81
type IncidentServicesDataType string
IncidentServicesDataType defines model for Incident.Services.Data.Type.
const (
IncidentServicesDataTypeServices IncidentServicesDataType = "services"
)
Defines values for IncidentServicesDataType.
type IncidentSeverityDataAttributesSeverity ¶ added in v0.1.81
type IncidentSeverityDataAttributesSeverity string
The severity of the severity
const ( IncidentSeverityDataAttributesSeverityCritical IncidentSeverityDataAttributesSeverity = "critical" IncidentSeverityDataAttributesSeverityHigh IncidentSeverityDataAttributesSeverity = "high" IncidentSeverityDataAttributesSeverityLow IncidentSeverityDataAttributesSeverity = "low" IncidentSeverityDataAttributesSeverityMedium IncidentSeverityDataAttributesSeverity = "medium" )
Defines values for IncidentSeverityDataAttributesSeverity.
type IncidentSeverityDataType ¶ added in v0.1.81
type IncidentSeverityDataType string
IncidentSeverityDataType defines model for Incident.Severity.Data.Type.
const (
IncidentSeverityDataTypeSeverities IncidentSeverityDataType = "severities"
)
Defines values for IncidentSeverityDataType.
type IncidentStatusPageEvent ¶
type IncidentStatusPageEvent struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The summary of the incident event
Event string `json:"event"`
// Notify all status pages subscribers
NotifySubscribers *bool `json:"notify_subscribers,omitempty"`
// For StatusPage.io integrated pages auto publishes a tweet for your update
ShouldTweet *bool `json:"should_tweet,omitempty"`
// Date of start
StartedAt string `json:"started_at"`
// The status of the incident event
Status *IncidentStatusPageEventStatus `json:"status,omitempty"`
// Unique ID of the status page you wish to post the event to
StatusPageId *string `json:"status_page_id,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
IncidentStatusPageEvent defines model for incident_status_page_event.
type IncidentStatusPageEventList ¶
type IncidentStatusPageEventList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The summary of the incident event
Event string `json:"event"`
// Notify all status pages subscribers
NotifySubscribers *bool `json:"notify_subscribers,omitempty"`
// For StatusPage.io integrated pages auto publishes a tweet for your update
ShouldTweet *bool `json:"should_tweet,omitempty"`
// Date of start
StartedAt string `json:"started_at"`
// The status of the incident event
Status *IncidentStatusPageEventListDataAttributesStatus `json:"status,omitempty"`
// Unique ID of the status page you wish to post the event to
StatusPageId *string `json:"status_page_id,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident event
Id string `json:"id"`
Type IncidentStatusPageEventListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentStatusPageEventList defines model for incident_status_page_event_list.
type IncidentStatusPageEventListDataAttributesStatus ¶ added in v0.1.12
type IncidentStatusPageEventListDataAttributesStatus string
The status of the incident event
const ( IncidentStatusPageEventListDataAttributesStatusCompleted IncidentStatusPageEventListDataAttributesStatus = "completed" IncidentStatusPageEventListDataAttributesStatusIdentified IncidentStatusPageEventListDataAttributesStatus = "identified" IncidentStatusPageEventListDataAttributesStatusInProgress IncidentStatusPageEventListDataAttributesStatus = "in_progress" IncidentStatusPageEventListDataAttributesStatusInvestigating IncidentStatusPageEventListDataAttributesStatus = "investigating" IncidentStatusPageEventListDataAttributesStatusMonitoring IncidentStatusPageEventListDataAttributesStatus = "monitoring" IncidentStatusPageEventListDataAttributesStatusResolved IncidentStatusPageEventListDataAttributesStatus = "resolved" IncidentStatusPageEventListDataAttributesStatusScheduled IncidentStatusPageEventListDataAttributesStatus = "scheduled" IncidentStatusPageEventListDataAttributesStatusVerifying IncidentStatusPageEventListDataAttributesStatus = "verifying" )
Defines values for IncidentStatusPageEventListDataAttributesStatus.
type IncidentStatusPageEventListDataType ¶
type IncidentStatusPageEventListDataType string
IncidentStatusPageEventListDataType defines model for IncidentStatusPageEventList.Data.Type.
const (
IncidentStatusPageEventListDataTypeIncidentStatusPageEvents IncidentStatusPageEventListDataType = "incident_status_page_events"
)
Defines values for IncidentStatusPageEventListDataType.
type IncidentStatusPageEventResponse ¶
type IncidentStatusPageEventResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The summary of the incident event
Event string `json:"event"`
// Notify all status pages subscribers
NotifySubscribers *bool `json:"notify_subscribers,omitempty"`
// For StatusPage.io integrated pages auto publishes a tweet for your update
ShouldTweet *bool `json:"should_tweet,omitempty"`
// Date of start
StartedAt string `json:"started_at"`
// The status of the incident event
Status *IncidentStatusPageEventResponseDataAttributesStatus `json:"status,omitempty"`
// Unique ID of the status page you wish to post the event to
StatusPageId *string `json:"status_page_id,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident event
Id string `json:"id"`
Type IncidentStatusPageEventResponseDataType `json:"type"`
} `json:"data"`
}
IncidentStatusPageEventResponse defines model for incident_status_page_event_response.
type IncidentStatusPageEventResponseDataAttributesStatus ¶ added in v0.1.12
type IncidentStatusPageEventResponseDataAttributesStatus string
The status of the incident event
const ( IncidentStatusPageEventResponseDataAttributesStatusCompleted IncidentStatusPageEventResponseDataAttributesStatus = "completed" IncidentStatusPageEventResponseDataAttributesStatusIdentified IncidentStatusPageEventResponseDataAttributesStatus = "identified" IncidentStatusPageEventResponseDataAttributesStatusInProgress IncidentStatusPageEventResponseDataAttributesStatus = "in_progress" IncidentStatusPageEventResponseDataAttributesStatusInvestigating IncidentStatusPageEventResponseDataAttributesStatus = "investigating" IncidentStatusPageEventResponseDataAttributesStatusMonitoring IncidentStatusPageEventResponseDataAttributesStatus = "monitoring" IncidentStatusPageEventResponseDataAttributesStatusResolved IncidentStatusPageEventResponseDataAttributesStatus = "resolved" IncidentStatusPageEventResponseDataAttributesStatusScheduled IncidentStatusPageEventResponseDataAttributesStatus = "scheduled" IncidentStatusPageEventResponseDataAttributesStatusVerifying IncidentStatusPageEventResponseDataAttributesStatus = "verifying" )
Defines values for IncidentStatusPageEventResponseDataAttributesStatus.
type IncidentStatusPageEventResponseDataType ¶
type IncidentStatusPageEventResponseDataType string
IncidentStatusPageEventResponseDataType defines model for IncidentStatusPageEventResponse.Data.Type.
const (
IncidentStatusPageEventResponseDataTypeIncidentStatusPageEvents IncidentStatusPageEventResponseDataType = "incident_status_page_events"
)
Defines values for IncidentStatusPageEventResponseDataType.
type IncidentStatusPageEventStatus ¶
type IncidentStatusPageEventStatus string
The status of the incident event
const ( IncidentStatusPageEventStatusCompleted IncidentStatusPageEventStatus = "completed" IncidentStatusPageEventStatusIdentified IncidentStatusPageEventStatus = "identified" IncidentStatusPageEventStatusInProgress IncidentStatusPageEventStatus = "in_progress" IncidentStatusPageEventStatusInvestigating IncidentStatusPageEventStatus = "investigating" IncidentStatusPageEventStatusMonitoring IncidentStatusPageEventStatus = "monitoring" IncidentStatusPageEventStatusResolved IncidentStatusPageEventStatus = "resolved" IncidentStatusPageEventStatusScheduled IncidentStatusPageEventStatus = "scheduled" IncidentStatusPageEventStatusVerifying IncidentStatusPageEventStatus = "verifying" )
Defines values for IncidentStatusPageEventStatus.
type IncidentTriggerParams ¶
type IncidentTriggerParams struct {
IncidentCondition *IncidentTriggerParamsIncidentCondition `json:"incident_condition,omitempty"`
IncidentConditionAcknowledgedAt *interface{} `json:"incident_condition_acknowledged_at,omitempty"`
IncidentConditionDetectedAt *interface{} `json:"incident_condition_detected_at,omitempty"`
IncidentConditionEnvironment *IncidentTriggerParamsIncidentConditionEnvironment `json:"incident_condition_environment,omitempty"`
IncidentConditionFunctionality *IncidentTriggerParamsIncidentConditionFunctionality `json:"incident_condition_functionality,omitempty"`
IncidentConditionGroup *IncidentTriggerParamsIncidentConditionGroup `json:"incident_condition_group,omitempty"`
IncidentConditionIncidentRoles *IncidentTriggerParamsIncidentConditionIncidentRoles `json:"incident_condition_incident_roles,omitempty"`
IncidentConditionIncidentType *IncidentTriggerParamsIncidentConditionIncidentType `json:"incident_condition_incident_type,omitempty"`
IncidentConditionKind *IncidentTriggerParamsIncidentConditionKind `json:"incident_condition_kind,omitempty"`
IncidentConditionMitigatedAt *interface{} `json:"incident_condition_mitigated_at,omitempty"`
IncidentConditionResolvedAt *interface{} `json:"incident_condition_resolved_at,omitempty"`
IncidentConditionService *IncidentTriggerParamsIncidentConditionService `json:"incident_condition_service,omitempty"`
IncidentConditionSeverity *IncidentTriggerParamsIncidentConditionSeverity `json:"incident_condition_severity,omitempty"`
IncidentConditionStartedAt *interface{} `json:"incident_condition_started_at,omitempty"`
IncidentConditionStatus *IncidentTriggerParamsIncidentConditionStatus `json:"incident_condition_status,omitempty"`
IncidentConditionSummary *interface{} `json:"incident_condition_summary,omitempty"`
IncidentConditionVisibility *IncidentTriggerParamsIncidentConditionVisibility `json:"incident_condition_visibility,omitempty"`
IncidentConditionalInactivity *interface{} `json:"incident_conditional_inactivity,omitempty"`
IncidentInactivityDuration *interface{} `json:"incident_inactivity_duration,omitempty"`
IncidentKinds *[]IncidentTriggerParamsIncidentKinds `json:"incident_kinds,omitempty"`
IncidentStatuses *[]IncidentTriggerParamsIncidentStatuses `json:"incident_statuses,omitempty"`
IncidentVisibilities *[]bool `json:"incident_visibilities,omitempty"`
TriggerType IncidentTriggerParamsTriggerType `json:"trigger_type"`
Triggers *[]string `json:"triggers,omitempty"`
}
IncidentTriggerParams defines model for incident_trigger_params.
type IncidentTriggerParamsIncidentCondition ¶
type IncidentTriggerParamsIncidentCondition string
IncidentTriggerParamsIncidentCondition defines model for IncidentTriggerParams.IncidentCondition.
const ( IncidentTriggerParamsIncidentConditionALL IncidentTriggerParamsIncidentCondition = "ALL" IncidentTriggerParamsIncidentConditionANY IncidentTriggerParamsIncidentCondition = "ANY" IncidentTriggerParamsIncidentConditionNONE IncidentTriggerParamsIncidentCondition = "NONE" )
Defines values for IncidentTriggerParamsIncidentCondition.
type IncidentTriggerParamsIncidentConditionEnvironment ¶
type IncidentTriggerParamsIncidentConditionEnvironment string
IncidentTriggerParamsIncidentConditionEnvironment defines model for IncidentTriggerParams.IncidentConditionEnvironment.
const ( IncidentTriggerParamsIncidentConditionEnvironmentANY IncidentTriggerParamsIncidentConditionEnvironment = "ANY" IncidentTriggerParamsIncidentConditionEnvironmentCONTAINS IncidentTriggerParamsIncidentConditionEnvironment = "CONTAINS" IncidentTriggerParamsIncidentConditionEnvironmentCONTAINSALL IncidentTriggerParamsIncidentConditionEnvironment = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionEnvironmentCONTAINSNONE IncidentTriggerParamsIncidentConditionEnvironment = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionEnvironmentIS IncidentTriggerParamsIncidentConditionEnvironment = "IS" IncidentTriggerParamsIncidentConditionEnvironmentNONE IncidentTriggerParamsIncidentConditionEnvironment = "NONE" IncidentTriggerParamsIncidentConditionEnvironmentSET IncidentTriggerParamsIncidentConditionEnvironment = "SET" IncidentTriggerParamsIncidentConditionEnvironmentUNSET IncidentTriggerParamsIncidentConditionEnvironment = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionEnvironment.
type IncidentTriggerParamsIncidentConditionFunctionality ¶
type IncidentTriggerParamsIncidentConditionFunctionality string
IncidentTriggerParamsIncidentConditionFunctionality defines model for IncidentTriggerParams.IncidentConditionFunctionality.
const ( IncidentTriggerParamsIncidentConditionFunctionalityANY IncidentTriggerParamsIncidentConditionFunctionality = "ANY" IncidentTriggerParamsIncidentConditionFunctionalityCONTAINS IncidentTriggerParamsIncidentConditionFunctionality = "CONTAINS" IncidentTriggerParamsIncidentConditionFunctionalityCONTAINSALL IncidentTriggerParamsIncidentConditionFunctionality = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionFunctionalityCONTAINSNONE IncidentTriggerParamsIncidentConditionFunctionality = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionFunctionalityIS IncidentTriggerParamsIncidentConditionFunctionality = "IS" IncidentTriggerParamsIncidentConditionFunctionalityNONE IncidentTriggerParamsIncidentConditionFunctionality = "NONE" IncidentTriggerParamsIncidentConditionFunctionalitySET IncidentTriggerParamsIncidentConditionFunctionality = "SET" IncidentTriggerParamsIncidentConditionFunctionalityUNSET IncidentTriggerParamsIncidentConditionFunctionality = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionFunctionality.
type IncidentTriggerParamsIncidentConditionGroup ¶
type IncidentTriggerParamsIncidentConditionGroup string
IncidentTriggerParamsIncidentConditionGroup defines model for IncidentTriggerParams.IncidentConditionGroup.
const ( IncidentTriggerParamsIncidentConditionGroupANY IncidentTriggerParamsIncidentConditionGroup = "ANY" IncidentTriggerParamsIncidentConditionGroupCONTAINS IncidentTriggerParamsIncidentConditionGroup = "CONTAINS" IncidentTriggerParamsIncidentConditionGroupCONTAINSALL IncidentTriggerParamsIncidentConditionGroup = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionGroupCONTAINSNONE IncidentTriggerParamsIncidentConditionGroup = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionGroupIS IncidentTriggerParamsIncidentConditionGroup = "IS" IncidentTriggerParamsIncidentConditionGroupNONE IncidentTriggerParamsIncidentConditionGroup = "NONE" IncidentTriggerParamsIncidentConditionGroupSET IncidentTriggerParamsIncidentConditionGroup = "SET" IncidentTriggerParamsIncidentConditionGroupUNSET IncidentTriggerParamsIncidentConditionGroup = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionGroup.
type IncidentTriggerParamsIncidentConditionIncidentRoles ¶ added in v0.1.76
type IncidentTriggerParamsIncidentConditionIncidentRoles string
IncidentTriggerParamsIncidentConditionIncidentRoles defines model for IncidentTriggerParams.IncidentConditionIncidentRoles.
const ( IncidentTriggerParamsIncidentConditionIncidentRolesANY IncidentTriggerParamsIncidentConditionIncidentRoles = "ANY" IncidentTriggerParamsIncidentConditionIncidentRolesCONTAINS IncidentTriggerParamsIncidentConditionIncidentRoles = "CONTAINS" IncidentTriggerParamsIncidentConditionIncidentRolesCONTAINSALL IncidentTriggerParamsIncidentConditionIncidentRoles = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionIncidentRolesCONTAINSNONE IncidentTriggerParamsIncidentConditionIncidentRoles = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionIncidentRolesIS IncidentTriggerParamsIncidentConditionIncidentRoles = "IS" IncidentTriggerParamsIncidentConditionIncidentRolesNONE IncidentTriggerParamsIncidentConditionIncidentRoles = "NONE" IncidentTriggerParamsIncidentConditionIncidentRolesSET IncidentTriggerParamsIncidentConditionIncidentRoles = "SET" IncidentTriggerParamsIncidentConditionIncidentRolesUNSET IncidentTriggerParamsIncidentConditionIncidentRoles = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionIncidentRoles.
type IncidentTriggerParamsIncidentConditionIncidentType ¶
type IncidentTriggerParamsIncidentConditionIncidentType string
IncidentTriggerParamsIncidentConditionIncidentType defines model for IncidentTriggerParams.IncidentConditionIncidentType.
const ( IncidentTriggerParamsIncidentConditionIncidentTypeANY IncidentTriggerParamsIncidentConditionIncidentType = "ANY" IncidentTriggerParamsIncidentConditionIncidentTypeCONTAINS IncidentTriggerParamsIncidentConditionIncidentType = "CONTAINS" IncidentTriggerParamsIncidentConditionIncidentTypeCONTAINSALL IncidentTriggerParamsIncidentConditionIncidentType = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionIncidentTypeCONTAINSNONE IncidentTriggerParamsIncidentConditionIncidentType = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionIncidentTypeIS IncidentTriggerParamsIncidentConditionIncidentType = "IS" IncidentTriggerParamsIncidentConditionIncidentTypeNONE IncidentTriggerParamsIncidentConditionIncidentType = "NONE" IncidentTriggerParamsIncidentConditionIncidentTypeSET IncidentTriggerParamsIncidentConditionIncidentType = "SET" IncidentTriggerParamsIncidentConditionIncidentTypeUNSET IncidentTriggerParamsIncidentConditionIncidentType = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionIncidentType.
type IncidentTriggerParamsIncidentConditionKind ¶
type IncidentTriggerParamsIncidentConditionKind string
IncidentTriggerParamsIncidentConditionKind defines model for IncidentTriggerParams.IncidentConditionKind.
const ( IncidentTriggerParamsIncidentConditionKindANY IncidentTriggerParamsIncidentConditionKind = "ANY" IncidentTriggerParamsIncidentConditionKindCONTAINS IncidentTriggerParamsIncidentConditionKind = "CONTAINS" IncidentTriggerParamsIncidentConditionKindCONTAINSALL IncidentTriggerParamsIncidentConditionKind = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionKindCONTAINSNONE IncidentTriggerParamsIncidentConditionKind = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionKindIS IncidentTriggerParamsIncidentConditionKind = "IS" IncidentTriggerParamsIncidentConditionKindNONE IncidentTriggerParamsIncidentConditionKind = "NONE" IncidentTriggerParamsIncidentConditionKindSET IncidentTriggerParamsIncidentConditionKind = "SET" IncidentTriggerParamsIncidentConditionKindUNSET IncidentTriggerParamsIncidentConditionKind = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionKind.
type IncidentTriggerParamsIncidentConditionService ¶
type IncidentTriggerParamsIncidentConditionService string
IncidentTriggerParamsIncidentConditionService defines model for IncidentTriggerParams.IncidentConditionService.
const ( IncidentTriggerParamsIncidentConditionServiceANY IncidentTriggerParamsIncidentConditionService = "ANY" IncidentTriggerParamsIncidentConditionServiceCONTAINS IncidentTriggerParamsIncidentConditionService = "CONTAINS" IncidentTriggerParamsIncidentConditionServiceCONTAINSALL IncidentTriggerParamsIncidentConditionService = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionServiceCONTAINSNONE IncidentTriggerParamsIncidentConditionService = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionServiceIS IncidentTriggerParamsIncidentConditionService = "IS" IncidentTriggerParamsIncidentConditionServiceNONE IncidentTriggerParamsIncidentConditionService = "NONE" IncidentTriggerParamsIncidentConditionServiceSET IncidentTriggerParamsIncidentConditionService = "SET" IncidentTriggerParamsIncidentConditionServiceUNSET IncidentTriggerParamsIncidentConditionService = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionService.
type IncidentTriggerParamsIncidentConditionSeverity ¶
type IncidentTriggerParamsIncidentConditionSeverity string
IncidentTriggerParamsIncidentConditionSeverity defines model for IncidentTriggerParams.IncidentConditionSeverity.
const ( IncidentTriggerParamsIncidentConditionSeverityANY IncidentTriggerParamsIncidentConditionSeverity = "ANY" IncidentTriggerParamsIncidentConditionSeverityCONTAINS IncidentTriggerParamsIncidentConditionSeverity = "CONTAINS" IncidentTriggerParamsIncidentConditionSeverityCONTAINSALL IncidentTriggerParamsIncidentConditionSeverity = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionSeverityCONTAINSNONE IncidentTriggerParamsIncidentConditionSeverity = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionSeverityIS IncidentTriggerParamsIncidentConditionSeverity = "IS" IncidentTriggerParamsIncidentConditionSeverityNONE IncidentTriggerParamsIncidentConditionSeverity = "NONE" IncidentTriggerParamsIncidentConditionSeveritySET IncidentTriggerParamsIncidentConditionSeverity = "SET" IncidentTriggerParamsIncidentConditionSeverityUNSET IncidentTriggerParamsIncidentConditionSeverity = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionSeverity.
type IncidentTriggerParamsIncidentConditionStatus ¶
type IncidentTriggerParamsIncidentConditionStatus string
IncidentTriggerParamsIncidentConditionStatus defines model for IncidentTriggerParams.IncidentConditionStatus.
const ( IncidentTriggerParamsIncidentConditionStatusANY IncidentTriggerParamsIncidentConditionStatus = "ANY" IncidentTriggerParamsIncidentConditionStatusCONTAINS IncidentTriggerParamsIncidentConditionStatus = "CONTAINS" IncidentTriggerParamsIncidentConditionStatusCONTAINSALL IncidentTriggerParamsIncidentConditionStatus = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionStatusCONTAINSNONE IncidentTriggerParamsIncidentConditionStatus = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionStatusIS IncidentTriggerParamsIncidentConditionStatus = "IS" IncidentTriggerParamsIncidentConditionStatusNONE IncidentTriggerParamsIncidentConditionStatus = "NONE" IncidentTriggerParamsIncidentConditionStatusSET IncidentTriggerParamsIncidentConditionStatus = "SET" IncidentTriggerParamsIncidentConditionStatusUNSET IncidentTriggerParamsIncidentConditionStatus = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionStatus.
type IncidentTriggerParamsIncidentConditionVisibility ¶
type IncidentTriggerParamsIncidentConditionVisibility string
IncidentTriggerParamsIncidentConditionVisibility defines model for IncidentTriggerParams.IncidentConditionVisibility.
const ( IncidentTriggerParamsIncidentConditionVisibilityANY IncidentTriggerParamsIncidentConditionVisibility = "ANY" IncidentTriggerParamsIncidentConditionVisibilityCONTAINS IncidentTriggerParamsIncidentConditionVisibility = "CONTAINS" IncidentTriggerParamsIncidentConditionVisibilityCONTAINSALL IncidentTriggerParamsIncidentConditionVisibility = "CONTAINS_ALL" IncidentTriggerParamsIncidentConditionVisibilityCONTAINSNONE IncidentTriggerParamsIncidentConditionVisibility = "CONTAINS_NONE" IncidentTriggerParamsIncidentConditionVisibilityIS IncidentTriggerParamsIncidentConditionVisibility = "IS" IncidentTriggerParamsIncidentConditionVisibilityNONE IncidentTriggerParamsIncidentConditionVisibility = "NONE" IncidentTriggerParamsIncidentConditionVisibilitySET IncidentTriggerParamsIncidentConditionVisibility = "SET" IncidentTriggerParamsIncidentConditionVisibilityUNSET IncidentTriggerParamsIncidentConditionVisibility = "UNSET" )
Defines values for IncidentTriggerParamsIncidentConditionVisibility.
type IncidentTriggerParamsIncidentKinds ¶
type IncidentTriggerParamsIncidentKinds string
IncidentTriggerParamsIncidentKinds defines model for IncidentTriggerParams.IncidentKinds.
const ( IncidentTriggerParamsIncidentKindsBackfilled IncidentTriggerParamsIncidentKinds = "backfilled" IncidentTriggerParamsIncidentKindsExample IncidentTriggerParamsIncidentKinds = "example" IncidentTriggerParamsIncidentKindsExampleSub IncidentTriggerParamsIncidentKinds = "example_sub" IncidentTriggerParamsIncidentKindsNormal IncidentTriggerParamsIncidentKinds = "normal" IncidentTriggerParamsIncidentKindsNormalSub IncidentTriggerParamsIncidentKinds = "normal_sub" IncidentTriggerParamsIncidentKindsScheduled IncidentTriggerParamsIncidentKinds = "scheduled" IncidentTriggerParamsIncidentKindsTest IncidentTriggerParamsIncidentKinds = "test" IncidentTriggerParamsIncidentKindsTestSub IncidentTriggerParamsIncidentKinds = "test_sub" )
Defines values for IncidentTriggerParamsIncidentKinds.
type IncidentTriggerParamsIncidentStatuses ¶
type IncidentTriggerParamsIncidentStatuses string
IncidentTriggerParamsIncidentStatuses defines model for IncidentTriggerParams.IncidentStatuses.
const ( IncidentTriggerParamsIncidentStatusesAcknowledged IncidentTriggerParamsIncidentStatuses = "acknowledged" IncidentTriggerParamsIncidentStatusesCancelled IncidentTriggerParamsIncidentStatuses = "cancelled" IncidentTriggerParamsIncidentStatusesCompleted IncidentTriggerParamsIncidentStatuses = "completed" IncidentTriggerParamsIncidentStatusesDetected IncidentTriggerParamsIncidentStatuses = "detected" IncidentTriggerParamsIncidentStatusesInProgress IncidentTriggerParamsIncidentStatuses = "in_progress" IncidentTriggerParamsIncidentStatusesInTriage IncidentTriggerParamsIncidentStatuses = "in_triage" IncidentTriggerParamsIncidentStatusesMitigated IncidentTriggerParamsIncidentStatuses = "mitigated" IncidentTriggerParamsIncidentStatusesResolved IncidentTriggerParamsIncidentStatuses = "resolved" IncidentTriggerParamsIncidentStatusesScheduled IncidentTriggerParamsIncidentStatuses = "scheduled" IncidentTriggerParamsIncidentStatusesStarted IncidentTriggerParamsIncidentStatuses = "started" )
Defines values for IncidentTriggerParamsIncidentStatuses.
type IncidentTriggerParamsTriggerType ¶
type IncidentTriggerParamsTriggerType string
IncidentTriggerParamsTriggerType defines model for IncidentTriggerParams.TriggerType.
const (
IncidentTriggerParamsTriggerTypeIncident IncidentTriggerParamsTriggerType = "incident"
)
Defines values for IncidentTriggerParamsTriggerType.
type IncidentType ¶
type IncidentType struct {
// The hex color of the incident type
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name string `json:"name"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the incident type
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
IncidentType defines model for incident_type.
type IncidentTypeList ¶
type IncidentTypeList struct {
Data []struct {
Attributes struct {
// The hex color of the incident type
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name string `json:"name"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the incident type
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident type
Id string `json:"id"`
Type IncidentTypeListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
IncidentTypeList defines model for incident_type_list.
type IncidentTypeListDataType ¶
type IncidentTypeListDataType string
IncidentTypeListDataType defines model for IncidentTypeList.Data.Type.
const (
IncidentTypeListDataTypeIncidentTypes IncidentTypeListDataType = "incident_types"
)
Defines values for IncidentTypeListDataType.
type IncidentTypeResponse ¶
type IncidentTypeResponse struct {
Data struct {
Attributes struct {
// The hex color of the incident type
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name string `json:"name"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the incident type
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident type
Id string `json:"id"`
Type IncidentTypeResponseDataType `json:"type"`
} `json:"data"`
}
IncidentTypeResponse defines model for incident_type_response.
type IncidentTypeResponseDataType ¶
type IncidentTypeResponseDataType string
IncidentTypeResponseDataType defines model for IncidentTypeResponse.Data.Type.
const (
IncidentTypeResponseDataTypeIncidentTypes IncidentTypeResponseDataType = "incident_types"
)
Defines values for IncidentTypeResponseDataType.
type IncidentsChartResponse ¶
type IncidentsChartResponse = map[string]interface{}
IncidentsChartResponse defines model for incidents_chart_response.
type InviteToSlackChannelOpsgenieTaskParams ¶
type InviteToSlackChannelOpsgenieTaskParams struct {
Channels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channels,omitempty"`
Schedule struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"schedule"`
TaskType *InviteToSlackChannelOpsgenieTaskParamsTaskType `json:"task_type,omitempty"`
}
InviteToSlackChannelOpsgenieTaskParams defines model for invite_to_slack_channel_opsgenie_task_params.
type InviteToSlackChannelOpsgenieTaskParamsTaskType ¶
type InviteToSlackChannelOpsgenieTaskParamsTaskType string
InviteToSlackChannelOpsgenieTaskParamsTaskType defines model for InviteToSlackChannelOpsgenieTaskParams.TaskType.
const (
InviteToSlackChannelOpsgenie InviteToSlackChannelOpsgenieTaskParamsTaskType = "invite_to_slack_channel_opsgenie"
)
Defines values for InviteToSlackChannelOpsgenieTaskParamsTaskType.
type InviteToSlackChannelPagerdutyTaskParams ¶
type InviteToSlackChannelPagerdutyTaskParams struct {
Channels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channels,omitempty"`
EscalationPolicy *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"escalation_policy,omitempty"`
Schedule *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"schedule,omitempty"`
Service *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"service,omitempty"`
TaskType *InviteToSlackChannelPagerdutyTaskParamsTaskType `json:"task_type,omitempty"`
}
InviteToSlackChannelPagerdutyTaskParams defines model for invite_to_slack_channel_pagerduty_task_params.
type InviteToSlackChannelPagerdutyTaskParamsTaskType ¶ added in v0.1.39
type InviteToSlackChannelPagerdutyTaskParamsTaskType string
InviteToSlackChannelPagerdutyTaskParamsTaskType defines model for InviteToSlackChannelPagerdutyTaskParams.TaskType.
const (
InviteToSlackChannelPagerduty InviteToSlackChannelPagerdutyTaskParamsTaskType = "invite_to_slack_channel_pagerduty"
)
Defines values for InviteToSlackChannelPagerdutyTaskParamsTaskType.
type InviteToSlackChannelTaskParams ¶
type InviteToSlackChannelTaskParams struct {
Channel struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channel"`
SlackUserGroups *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"slack_user_groups,omitempty"`
SlackUsers *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"slack_users,omitempty"`
TaskType *InviteToSlackChannelTaskParamsTaskType `json:"task_type,omitempty"`
}
InviteToSlackChannelTaskParams defines model for invite_to_slack_channel_task_params.
type InviteToSlackChannelTaskParamsTaskType ¶ added in v0.1.39
type InviteToSlackChannelTaskParamsTaskType string
InviteToSlackChannelTaskParamsTaskType defines model for InviteToSlackChannelTaskParams.TaskType.
const (
InviteToSlackChannel InviteToSlackChannelTaskParamsTaskType = "invite_to_slack_channel"
)
Defines values for InviteToSlackChannelTaskParamsTaskType.
type InviteToSlackChannelVictorOpsTaskParams ¶
type InviteToSlackChannelVictorOpsTaskParams struct {
Channels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channels,omitempty"`
TaskType *InviteToSlackChannelVictorOpsTaskParamsTaskType `json:"task_type,omitempty"`
Team struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"team"`
}
InviteToSlackChannelVictorOpsTaskParams defines model for invite_to_slack_channel_victor_ops_task_params.
type InviteToSlackChannelVictorOpsTaskParamsTaskType ¶
type InviteToSlackChannelVictorOpsTaskParamsTaskType string
InviteToSlackChannelVictorOpsTaskParamsTaskType defines model for InviteToSlackChannelVictorOpsTaskParams.TaskType.
const (
InviteToSlackChannelVictorOps InviteToSlackChannelVictorOpsTaskParamsTaskType = "invite_to_slack_channel_victor_ops"
)
Defines values for InviteToSlackChannelVictorOpsTaskParamsTaskType.
type IpRanges ¶ added in v1.1.8
type IpRanges struct {
// IPv4 addresses associated with Rootly integrations.
IntegrationsIpv4 []string `json:"integrations_ipv4"`
// IPv6 addresses associated with Rootly integrations.
IntegrationsIpv6 []string `json:"integrations_ipv6"`
// IPv4 addresses associated with Rootly webhooks.
WebhooksIpv4 []string `json:"webhooks_ipv4"`
// IPv6 addresses associated with Rootly webhooks.
WebhooksIpv6 []string `json:"webhooks_ipv6"`
}
IpRanges defines model for ip_ranges.
type IpRangesResponse ¶ added in v1.1.8
type IpRangesResponse struct {
Data struct {
Attributes struct {
// IPv4 addresses associated with Rootly integrations.
IntegrationsIpv4 []string `json:"integrations_ipv4"`
// IPv6 addresses associated with Rootly integrations.
IntegrationsIpv6 []string `json:"integrations_ipv6"`
// IPv4 addresses associated with Rootly webhooks.
WebhooksIpv4 []string `json:"webhooks_ipv4"`
// IPv6 addresses associated with Rootly webhooks.
WebhooksIpv6 []string `json:"webhooks_ipv6"`
} `json:"attributes"`
// Unique ID of the ip_ranges
Id string `json:"id"`
Type IpRangesResponseDataType `json:"type"`
} `json:"data"`
}
IpRangesResponse defines model for ip_ranges_response.
type IpRangesResponseDataType ¶ added in v1.1.8
type IpRangesResponseDataType string
IpRangesResponseDataType defines model for IpRangesResponse.Data.Type.
const (
IpRangesResponseDataTypeIpRanges IpRangesResponseDataType = "ip_ranges"
)
Defines values for IpRangesResponseDataType.
type Links ¶
type Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
}
Links defines model for links.
type ListAlertsParams ¶
type ListAlertsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListAlertsParams defines parameters for ListAlerts.
type ListAlertsResponse ¶
func ParseListAlertsResponse ¶
func ParseListAlertsResponse(rsp *http.Response) (*ListAlertsResponse, error)
ParseListAlertsResponse parses an HTTP response from a ListAlertsWithResponse call
func (ListAlertsResponse) Status ¶
func (r ListAlertsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAlertsResponse) StatusCode ¶
func (r ListAlertsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAllIncidentActionItemsParams ¶ added in v0.1.91
type ListAllIncidentActionItemsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterKind *string `form:"filter[kind],omitempty" json:"filter[kind],omitempty"`
FilterPriority *string `form:"filter[priority],omitempty" json:"filter[priority],omitempty"`
FilterStatus *string `form:"filter[status],omitempty" json:"filter[status],omitempty"`
FilterIncidentStatus *string `form:"filter[incident_status],omitempty" json:"filter[incident_status],omitempty"`
FilterIncidentCreatedAtGt *string `form:"filter[incident_created_at][gt],omitempty" json:"filter[incident_created_at][gt],omitempty"`
FilterIncidentCreatedAtGte *string `form:"filter[incident_created_at][gte],omitempty" json:"filter[incident_created_at][gte],omitempty"`
FilterIncidentCreatedAtLt *string `form:"filter[incident_created_at][lt],omitempty" json:"filter[incident_created_at][lt],omitempty"`
FilterIncidentCreatedAtLte *string `form:"filter[incident_created_at][lte],omitempty" json:"filter[incident_created_at][lte],omitempty"`
FilterDueDateGt *string `form:"filter[due_date][gt],omitempty" json:"filter[due_date][gt],omitempty"`
FilterDueDateGte *string `form:"filter[due_date][gte],omitempty" json:"filter[due_date][gte],omitempty"`
FilterDueDateLt *string `form:"filter[due_date][lt],omitempty" json:"filter[due_date][lt],omitempty"`
FilterDueDateLte *string `form:"filter[due_date][lte],omitempty" json:"filter[due_date][lte],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListAllIncidentActionItemsParams defines parameters for ListAllIncidentActionItems.
type ListAllIncidentActionItemsResponse ¶ added in v0.1.91
func ParseListAllIncidentActionItemsResponse ¶ added in v0.1.91
func ParseListAllIncidentActionItemsResponse(rsp *http.Response) (*ListAllIncidentActionItemsResponse, error)
ParseListAllIncidentActionItemsResponse parses an HTTP response from a ListAllIncidentActionItemsWithResponse call
func (ListAllIncidentActionItemsResponse) Status ¶ added in v0.1.91
func (r ListAllIncidentActionItemsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAllIncidentActionItemsResponse) StatusCode ¶ added in v0.1.91
func (r ListAllIncidentActionItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAuditsParams ¶ added in v0.1.70
type ListAuditsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
FilterUserId *string `form:"filter[user_id],omitempty" json:"filter[user_id],omitempty"`
FilterItemType *string `form:"filter[item_type],omitempty" json:"filter[item_type],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListAuditsParams defines parameters for ListAudits.
type ListAuditsResponse ¶ added in v0.1.70
func ParseListAuditsResponse ¶ added in v0.1.70
func ParseListAuditsResponse(rsp *http.Response) (*ListAuditsResponse, error)
ParseListAuditsResponse parses an HTTP response from a ListAuditsWithResponse call
func (ListAuditsResponse) Status ¶ added in v0.1.70
func (r ListAuditsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAuditsResponse) StatusCode ¶ added in v0.1.70
func (r ListAuditsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCausesParams ¶
type ListCausesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
}
ListCausesParams defines parameters for ListCauses.
type ListCausesResponse ¶
func ParseListCausesResponse ¶
func ParseListCausesResponse(rsp *http.Response) (*ListCausesResponse, error)
ParseListCausesResponse parses an HTTP response from a ListCausesWithResponse call
func (ListCausesResponse) Status ¶
func (r ListCausesResponse) Status() string
Status returns HTTPResponse.Status
func (ListCausesResponse) StatusCode ¶
func (r ListCausesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCustomFieldOptionsParams ¶
type ListCustomFieldOptionsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterValue *string `form:"filter[value],omitempty" json:"filter[value],omitempty"`
FilterColor *string `form:"filter[color],omitempty" json:"filter[color],omitempty"`
}
ListCustomFieldOptionsParams defines parameters for ListCustomFieldOptions.
type ListCustomFieldOptionsResponse ¶
func ParseListCustomFieldOptionsResponse ¶
func ParseListCustomFieldOptionsResponse(rsp *http.Response) (*ListCustomFieldOptionsResponse, error)
ParseListCustomFieldOptionsResponse parses an HTTP response from a ListCustomFieldOptionsWithResponse call
func (ListCustomFieldOptionsResponse) Status ¶
func (r ListCustomFieldOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCustomFieldOptionsResponse) StatusCode ¶
func (r ListCustomFieldOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCustomFieldsParams ¶
type ListCustomFieldsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterLabel *string `form:"filter[label],omitempty" json:"filter[label],omitempty"`
FilterKind *string `form:"filter[kind],omitempty" json:"filter[kind],omitempty"`
FilterEnabled *bool `form:"filter[enabled],omitempty" json:"filter[enabled],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
}
ListCustomFieldsParams defines parameters for ListCustomFields.
type ListCustomFieldsResponse ¶
func ParseListCustomFieldsResponse ¶
func ParseListCustomFieldsResponse(rsp *http.Response) (*ListCustomFieldsResponse, error)
ParseListCustomFieldsResponse parses an HTTP response from a ListCustomFieldsWithResponse call
func (ListCustomFieldsResponse) Status ¶
func (r ListCustomFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCustomFieldsResponse) StatusCode ¶
func (r ListCustomFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDashboardPanelsParams ¶
type ListDashboardPanelsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListDashboardPanelsParams defines parameters for ListDashboardPanels.
type ListDashboardPanelsResponse ¶
func ParseListDashboardPanelsResponse ¶
func ParseListDashboardPanelsResponse(rsp *http.Response) (*ListDashboardPanelsResponse, error)
ParseListDashboardPanelsResponse parses an HTTP response from a ListDashboardPanelsWithResponse call
func (ListDashboardPanelsResponse) Status ¶
func (r ListDashboardPanelsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDashboardPanelsResponse) StatusCode ¶
func (r ListDashboardPanelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDashboardsParams ¶
type ListDashboardsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListDashboardsParams defines parameters for ListDashboards.
type ListDashboardsResponse ¶
func ParseListDashboardsResponse ¶
func ParseListDashboardsResponse(rsp *http.Response) (*ListDashboardsResponse, error)
ParseListDashboardsResponse parses an HTTP response from a ListDashboardsWithResponse call
func (ListDashboardsResponse) Status ¶
func (r ListDashboardsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDashboardsResponse) StatusCode ¶
func (r ListDashboardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEnvironmentsParams ¶
type ListEnvironmentsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterColor *string `form:"filter[color],omitempty" json:"filter[color],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListEnvironmentsParams defines parameters for ListEnvironments.
type ListEnvironmentsResponse ¶
func ParseListEnvironmentsResponse ¶
func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error)
ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call
func (ListEnvironmentsResponse) Status ¶
func (r ListEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEnvironmentsResponse) StatusCode ¶
func (r ListEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFormFieldOptionsParams ¶ added in v0.1.48
type ListFormFieldOptionsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterValue *string `form:"filter[value],omitempty" json:"filter[value],omitempty"`
FilterColor *string `form:"filter[color],omitempty" json:"filter[color],omitempty"`
}
ListFormFieldOptionsParams defines parameters for ListFormFieldOptions.
type ListFormFieldOptionsResponse ¶ added in v0.1.48
func ParseListFormFieldOptionsResponse ¶ added in v0.1.48
func ParseListFormFieldOptionsResponse(rsp *http.Response) (*ListFormFieldOptionsResponse, error)
ParseListFormFieldOptionsResponse parses an HTTP response from a ListFormFieldOptionsWithResponse call
func (ListFormFieldOptionsResponse) Status ¶ added in v0.1.48
func (r ListFormFieldOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFormFieldOptionsResponse) StatusCode ¶ added in v0.1.48
func (r ListFormFieldOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFormFieldPositionsParams ¶ added in v0.1.48
type ListFormFieldPositionsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterForm *string `form:"filter[form],omitempty" json:"filter[form],omitempty"`
}
ListFormFieldPositionsParams defines parameters for ListFormFieldPositions.
type ListFormFieldPositionsResponse ¶ added in v0.1.48
func ParseListFormFieldPositionsResponse ¶ added in v0.1.48
func ParseListFormFieldPositionsResponse(rsp *http.Response) (*ListFormFieldPositionsResponse, error)
ParseListFormFieldPositionsResponse parses an HTTP response from a ListFormFieldPositionsWithResponse call
func (ListFormFieldPositionsResponse) Status ¶ added in v0.1.48
func (r ListFormFieldPositionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFormFieldPositionsResponse) StatusCode ¶ added in v0.1.48
func (r ListFormFieldPositionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFormFieldsParams ¶ added in v0.1.48
type ListFormFieldsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterKind *string `form:"filter[kind],omitempty" json:"filter[kind],omitempty"`
FilterEnabled *bool `form:"filter[enabled],omitempty" json:"filter[enabled],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
}
ListFormFieldsParams defines parameters for ListFormFields.
type ListFormFieldsResponse ¶ added in v0.1.48
func ParseListFormFieldsResponse ¶ added in v0.1.48
func ParseListFormFieldsResponse(rsp *http.Response) (*ListFormFieldsResponse, error)
ParseListFormFieldsResponse parses an HTTP response from a ListFormFieldsWithResponse call
func (ListFormFieldsResponse) Status ¶ added in v0.1.48
func (r ListFormFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFormFieldsResponse) StatusCode ¶ added in v0.1.48
func (r ListFormFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionalitiesParams ¶
type ListFunctionalitiesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListFunctionalitiesParams defines parameters for ListFunctionalities.
type ListFunctionalitiesResponse ¶
func ParseListFunctionalitiesResponse ¶
func ParseListFunctionalitiesResponse(rsp *http.Response) (*ListFunctionalitiesResponse, error)
ParseListFunctionalitiesResponse parses an HTTP response from a ListFunctionalitiesWithResponse call
func (ListFunctionalitiesResponse) Status ¶
func (r ListFunctionalitiesResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionalitiesResponse) StatusCode ¶
func (r ListFunctionalitiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentActionItemsParams ¶
type ListIncidentActionItemsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentActionItemsParams defines parameters for ListIncidentActionItems.
type ListIncidentActionItemsResponse ¶
func ParseListIncidentActionItemsResponse ¶
func ParseListIncidentActionItemsResponse(rsp *http.Response) (*ListIncidentActionItemsResponse, error)
ParseListIncidentActionItemsResponse parses an HTTP response from a ListIncidentActionItemsWithResponse call
func (ListIncidentActionItemsResponse) Status ¶
func (r ListIncidentActionItemsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentActionItemsResponse) StatusCode ¶
func (r ListIncidentActionItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentAlertsParams ¶ added in v1.0.0
type ListIncidentAlertsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
FilterSource *string `form:"filter[source],omitempty" json:"filter[source],omitempty"`
FilterServices *string `form:"filter[services],omitempty" json:"filter[services],omitempty"`
FilterEnvironments *string `form:"filter[environments],omitempty" json:"filter[environments],omitempty"`
FilterLabels *string `form:"filter[labels],omitempty" json:"filter[labels],omitempty"`
FilterStartedAtGt *string `form:"filter[started_at][gt],omitempty" json:"filter[started_at][gt],omitempty"`
FilterStartedAtGte *string `form:"filter[started_at][gte],omitempty" json:"filter[started_at][gte],omitempty"`
FilterStartedAtLt *string `form:"filter[started_at][lt],omitempty" json:"filter[started_at][lt],omitempty"`
FilterStartedAtLte *string `form:"filter[started_at][lte],omitempty" json:"filter[started_at][lte],omitempty"`
FilterEndedAtGt *string `form:"filter[ended_at][gt],omitempty" json:"filter[ended_at][gt],omitempty"`
FilterEndedAtGte *string `form:"filter[ended_at][gte],omitempty" json:"filter[ended_at][gte],omitempty"`
FilterEndedAtLt *string `form:"filter[ended_at][lt],omitempty" json:"filter[ended_at][lt],omitempty"`
FilterEndedAtLte *string `form:"filter[ended_at][lte],omitempty" json:"filter[ended_at][lte],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentAlertsParams defines parameters for ListIncidentAlerts.
type ListIncidentAlertsResponse ¶ added in v1.0.0
func ParseListIncidentAlertsResponse ¶ added in v1.0.0
func ParseListIncidentAlertsResponse(rsp *http.Response) (*ListIncidentAlertsResponse, error)
ParseListIncidentAlertsResponse parses an HTTP response from a ListIncidentAlertsWithResponse call
func (ListIncidentAlertsResponse) Status ¶ added in v1.0.0
func (r ListIncidentAlertsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentAlertsResponse) StatusCode ¶ added in v1.0.0
func (r ListIncidentAlertsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentCustomFieldSelectionsParams ¶
type ListIncidentCustomFieldSelectionsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentCustomFieldSelectionsParams defines parameters for ListIncidentCustomFieldSelections.
type ListIncidentCustomFieldSelectionsResponse ¶
func ParseListIncidentCustomFieldSelectionsResponse ¶
func ParseListIncidentCustomFieldSelectionsResponse(rsp *http.Response) (*ListIncidentCustomFieldSelectionsResponse, error)
ParseListIncidentCustomFieldSelectionsResponse parses an HTTP response from a ListIncidentCustomFieldSelectionsWithResponse call
func (ListIncidentCustomFieldSelectionsResponse) Status ¶
func (r ListIncidentCustomFieldSelectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentCustomFieldSelectionsResponse) StatusCode ¶
func (r ListIncidentCustomFieldSelectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentEventFunctionalitiesParams ¶ added in v0.1.70
type ListIncidentEventFunctionalitiesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentEventFunctionalitiesParams defines parameters for ListIncidentEventFunctionalities.
type ListIncidentEventFunctionalitiesResponse ¶ added in v0.1.70
func ParseListIncidentEventFunctionalitiesResponse ¶ added in v0.1.70
func ParseListIncidentEventFunctionalitiesResponse(rsp *http.Response) (*ListIncidentEventFunctionalitiesResponse, error)
ParseListIncidentEventFunctionalitiesResponse parses an HTTP response from a ListIncidentEventFunctionalitiesWithResponse call
func (ListIncidentEventFunctionalitiesResponse) Status ¶ added in v0.1.70
func (r ListIncidentEventFunctionalitiesResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentEventFunctionalitiesResponse) StatusCode ¶ added in v0.1.70
func (r ListIncidentEventFunctionalitiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentEventServicesParams ¶ added in v0.1.70
type ListIncidentEventServicesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentEventServicesParams defines parameters for ListIncidentEventServices.
type ListIncidentEventServicesResponse ¶ added in v0.1.70
func ParseListIncidentEventServicesResponse ¶ added in v0.1.70
func ParseListIncidentEventServicesResponse(rsp *http.Response) (*ListIncidentEventServicesResponse, error)
ParseListIncidentEventServicesResponse parses an HTTP response from a ListIncidentEventServicesWithResponse call
func (ListIncidentEventServicesResponse) Status ¶ added in v0.1.70
func (r ListIncidentEventServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentEventServicesResponse) StatusCode ¶ added in v0.1.70
func (r ListIncidentEventServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentEventsParams ¶
type ListIncidentEventsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentEventsParams defines parameters for ListIncidentEvents.
type ListIncidentEventsResponse ¶
func ParseListIncidentEventsResponse ¶
func ParseListIncidentEventsResponse(rsp *http.Response) (*ListIncidentEventsResponse, error)
ParseListIncidentEventsResponse parses an HTTP response from a ListIncidentEventsWithResponse call
func (ListIncidentEventsResponse) Status ¶
func (r ListIncidentEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentEventsResponse) StatusCode ¶
func (r ListIncidentEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentFeedbacksParams ¶
type ListIncidentFeedbacksParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentFeedbacksParams defines parameters for ListIncidentFeedbacks.
type ListIncidentFeedbacksResponse ¶
func ParseListIncidentFeedbacksResponse ¶
func ParseListIncidentFeedbacksResponse(rsp *http.Response) (*ListIncidentFeedbacksResponse, error)
ParseListIncidentFeedbacksResponse parses an HTTP response from a ListIncidentFeedbacksWithResponse call
func (ListIncidentFeedbacksResponse) Status ¶
func (r ListIncidentFeedbacksResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentFeedbacksResponse) StatusCode ¶
func (r ListIncidentFeedbacksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentFormFieldSelectionsParams ¶ added in v0.1.48
type ListIncidentFormFieldSelectionsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentFormFieldSelectionsParams defines parameters for ListIncidentFormFieldSelections.
type ListIncidentFormFieldSelectionsResponse ¶ added in v0.1.48
func ParseListIncidentFormFieldSelectionsResponse ¶ added in v0.1.48
func ParseListIncidentFormFieldSelectionsResponse(rsp *http.Response) (*ListIncidentFormFieldSelectionsResponse, error)
ParseListIncidentFormFieldSelectionsResponse parses an HTTP response from a ListIncidentFormFieldSelectionsWithResponse call
func (ListIncidentFormFieldSelectionsResponse) Status ¶ added in v0.1.48
func (r ListIncidentFormFieldSelectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentFormFieldSelectionsResponse) StatusCode ¶ added in v0.1.48
func (r ListIncidentFormFieldSelectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentPostMortemsParams ¶
type ListIncidentPostMortemsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterStatus *string `form:"filter[status],omitempty" json:"filter[status],omitempty"`
FilterSeverity *string `form:"filter[severity],omitempty" json:"filter[severity],omitempty"`
FilterType *string `form:"filter[type],omitempty" json:"filter[type],omitempty"`
FilterUserId *int `form:"filter[user_id],omitempty" json:"filter[user_id],omitempty"`
FilterEnvironments *string `form:"filter[environments],omitempty" json:"filter[environments],omitempty"`
FilterFunctionalities *string `form:"filter[functionalities],omitempty" json:"filter[functionalities],omitempty"`
FilterServices *string `form:"filter[services],omitempty" json:"filter[services],omitempty"`
FilterTeams *string `form:"filter[teams],omitempty" json:"filter[teams],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
FilterStartedAtGt *string `form:"filter[started_at][gt],omitempty" json:"filter[started_at][gt],omitempty"`
FilterStartedAtGte *string `form:"filter[started_at][gte],omitempty" json:"filter[started_at][gte],omitempty"`
FilterStartedAtLt *string `form:"filter[started_at][lt],omitempty" json:"filter[started_at][lt],omitempty"`
FilterStartedAtLte *string `form:"filter[started_at][lte],omitempty" json:"filter[started_at][lte],omitempty"`
FilterMitigatedAtGt *string `form:"filter[mitigated_at][gt],omitempty" json:"filter[mitigated_at][gt],omitempty"`
FilterMitigatedAtGte *string `form:"filter[mitigated_at][gte],omitempty" json:"filter[mitigated_at][gte],omitempty"`
FilterMitigatedAtLt *string `form:"filter[mitigated_at][lt],omitempty" json:"filter[mitigated_at][lt],omitempty"`
FilterMitigatedAtLte *string `form:"filter[mitigated_at][lte],omitempty" json:"filter[mitigated_at][lte],omitempty"`
FilterResolvedAtGt *string `form:"filter[resolved_at][gt],omitempty" json:"filter[resolved_at][gt],omitempty"`
FilterResolvedAtGte *string `form:"filter[resolved_at][gte],omitempty" json:"filter[resolved_at][gte],omitempty"`
FilterResolvedAtLt *string `form:"filter[resolved_at][lt],omitempty" json:"filter[resolved_at][lt],omitempty"`
FilterResolvedAtLte *string `form:"filter[resolved_at][lte],omitempty" json:"filter[resolved_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListIncidentPostMortemsParams defines parameters for ListIncidentPostMortems.
type ListIncidentPostMortemsResponse ¶
func ParseListIncidentPostMortemsResponse ¶
func ParseListIncidentPostMortemsResponse(rsp *http.Response) (*ListIncidentPostMortemsResponse, error)
ParseListIncidentPostMortemsResponse parses an HTTP response from a ListIncidentPostMortemsWithResponse call
func (ListIncidentPostMortemsResponse) Status ¶
func (r ListIncidentPostMortemsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentPostMortemsResponse) StatusCode ¶
func (r ListIncidentPostMortemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentPostmortemResponse ¶
func ParseListIncidentPostmortemResponse ¶
func ParseListIncidentPostmortemResponse(rsp *http.Response) (*ListIncidentPostmortemResponse, error)
ParseListIncidentPostmortemResponse parses an HTTP response from a ListIncidentPostmortemWithResponse call
func (ListIncidentPostmortemResponse) Status ¶
func (r ListIncidentPostmortemResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentPostmortemResponse) StatusCode ¶
func (r ListIncidentPostmortemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentRoleTasksParams ¶
type ListIncidentRoleTasksParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentRoleTasksParams defines parameters for ListIncidentRoleTasks.
type ListIncidentRoleTasksResponse ¶
func ParseListIncidentRoleTasksResponse ¶
func ParseListIncidentRoleTasksResponse(rsp *http.Response) (*ListIncidentRoleTasksResponse, error)
ParseListIncidentRoleTasksResponse parses an HTTP response from a ListIncidentRoleTasksWithResponse call
func (ListIncidentRoleTasksResponse) Status ¶
func (r ListIncidentRoleTasksResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentRoleTasksResponse) StatusCode ¶
func (r ListIncidentRoleTasksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentRolesParams ¶
type ListIncidentRolesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterEnabled *bool `form:"filter[enabled],omitempty" json:"filter[enabled],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListIncidentRolesParams defines parameters for ListIncidentRoles.
type ListIncidentRolesResponse ¶
func ParseListIncidentRolesResponse ¶
func ParseListIncidentRolesResponse(rsp *http.Response) (*ListIncidentRolesResponse, error)
ParseListIncidentRolesResponse parses an HTTP response from a ListIncidentRolesWithResponse call
func (ListIncidentRolesResponse) Status ¶
func (r ListIncidentRolesResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentRolesResponse) StatusCode ¶
func (r ListIncidentRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentStatusPagesParams ¶
type ListIncidentStatusPagesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListIncidentStatusPagesParams defines parameters for ListIncidentStatusPages.
type ListIncidentStatusPagesResponse ¶
func ParseListIncidentStatusPagesResponse ¶
func ParseListIncidentStatusPagesResponse(rsp *http.Response) (*ListIncidentStatusPagesResponse, error)
ParseListIncidentStatusPagesResponse parses an HTTP response from a ListIncidentStatusPagesWithResponse call
func (ListIncidentStatusPagesResponse) Status ¶
func (r ListIncidentStatusPagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentStatusPagesResponse) StatusCode ¶
func (r ListIncidentStatusPagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentTypesParams ¶
type ListIncidentTypesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterColor *string `form:"filter[color],omitempty" json:"filter[color],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListIncidentTypesParams defines parameters for ListIncidentTypes.
type ListIncidentTypesResponse ¶
func ParseListIncidentTypesResponse ¶
func ParseListIncidentTypesResponse(rsp *http.Response) (*ListIncidentTypesResponse, error)
ParseListIncidentTypesResponse parses an HTTP response from a ListIncidentTypesWithResponse call
func (ListIncidentTypesResponse) Status ¶
func (r ListIncidentTypesResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentTypesResponse) StatusCode ¶
func (r ListIncidentTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentsParams ¶
type ListIncidentsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterKind *string `form:"filter[kind],omitempty" json:"filter[kind],omitempty"`
FilterStatus *string `form:"filter[status],omitempty" json:"filter[status],omitempty"`
FilterUserId *int `form:"filter[user_id],omitempty" json:"filter[user_id],omitempty"`
FilterSeverity *string `form:"filter[severity],omitempty" json:"filter[severity],omitempty"`
FilterSeverityId *string `form:"filter[severity_id],omitempty" json:"filter[severity_id],omitempty"`
FilterTypes *string `form:"filter[types],omitempty" json:"filter[types],omitempty"`
FilterTypeIds *string `form:"filter[type_ids],omitempty" json:"filter[type_ids],omitempty"`
FilterEnvironments *string `form:"filter[environments],omitempty" json:"filter[environments],omitempty"`
FilterEnvironmentIds *string `form:"filter[environment_ids],omitempty" json:"filter[environment_ids],omitempty"`
FilterFunctionalities *string `form:"filter[functionalities],omitempty" json:"filter[functionalities],omitempty"`
FilterFunctionalityIds *string `form:"filter[functionality_ids],omitempty" json:"filter[functionality_ids],omitempty"`
FilterServices *string `form:"filter[services],omitempty" json:"filter[services],omitempty"`
FilterServiceIds *string `form:"filter[service_ids],omitempty" json:"filter[service_ids],omitempty"`
FilterTeams *string `form:"filter[teams],omitempty" json:"filter[teams],omitempty"`
FilterTeamIds *string `form:"filter[team_ids],omitempty" json:"filter[team_ids],omitempty"`
FilterCustomFieldSelectedOptionIds *string `form:"filter[custom_field_selected_option_ids],omitempty" json:"filter[custom_field_selected_option_ids],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
FilterUpdatedAtGt *string `form:"filter[updated_at][gt],omitempty" json:"filter[updated_at][gt],omitempty"`
FilterUpdatedAtGte *string `form:"filter[updated_at][gte],omitempty" json:"filter[updated_at][gte],omitempty"`
FilterUpdatedAtLt *string `form:"filter[updated_at][lt],omitempty" json:"filter[updated_at][lt],omitempty"`
FilterUpdatedAtLte *string `form:"filter[updated_at][lte],omitempty" json:"filter[updated_at][lte],omitempty"`
FilterStartedAtGt *string `form:"filter[started_at][gt],omitempty" json:"filter[started_at][gt],omitempty"`
FilterStartedAtGte *string `form:"filter[started_at][gte],omitempty" json:"filter[started_at][gte],omitempty"`
FilterStartedAtLt *string `form:"filter[started_at][lt],omitempty" json:"filter[started_at][lt],omitempty"`
FilterStartedAtLte *string `form:"filter[started_at][lte],omitempty" json:"filter[started_at][lte],omitempty"`
FilterDetectedAtGt *string `form:"filter[detected_at][gt],omitempty" json:"filter[detected_at][gt],omitempty"`
FilterDetectedAtGte *string `form:"filter[detected_at][gte],omitempty" json:"filter[detected_at][gte],omitempty"`
FilterDetectedAtLt *string `form:"filter[detected_at][lt],omitempty" json:"filter[detected_at][lt],omitempty"`
FilterDetectedAtLte *string `form:"filter[detected_at][lte],omitempty" json:"filter[detected_at][lte],omitempty"`
FilterAcknowledgedAtGt *string `form:"filter[acknowledged_at][gt],omitempty" json:"filter[acknowledged_at][gt],omitempty"`
FilterAcknowledgedAtGte *string `form:"filter[acknowledged_at][gte],omitempty" json:"filter[acknowledged_at][gte],omitempty"`
FilterAcknowledgedAtLt *string `form:"filter[acknowledged_at][lt],omitempty" json:"filter[acknowledged_at][lt],omitempty"`
FilterAcknowledgedAtLte *string `form:"filter[acknowledged_at][lte],omitempty" json:"filter[acknowledged_at][lte],omitempty"`
FilterMitigatedAtGt *string `form:"filter[mitigated_at][gt],omitempty" json:"filter[mitigated_at][gt],omitempty"`
FilterMitigatedAtGte *string `form:"filter[mitigated_at][gte],omitempty" json:"filter[mitigated_at][gte],omitempty"`
FilterMitigatedAtLt *string `form:"filter[mitigated_at][lt],omitempty" json:"filter[mitigated_at][lt],omitempty"`
FilterMitigatedAtLte *string `form:"filter[mitigated_at][lte],omitempty" json:"filter[mitigated_at][lte],omitempty"`
FilterResolvedAtGt *string `form:"filter[resolved_at][gt],omitempty" json:"filter[resolved_at][gt],omitempty"`
FilterResolvedAtGte *string `form:"filter[resolved_at][gte],omitempty" json:"filter[resolved_at][gte],omitempty"`
FilterResolvedAtLt *string `form:"filter[resolved_at][lt],omitempty" json:"filter[resolved_at][lt],omitempty"`
FilterResolvedAtLte *string `form:"filter[resolved_at][lte],omitempty" json:"filter[resolved_at][lte],omitempty"`
FilterInTriageAtGt *string `form:"filter[in_triage_at][gt],omitempty" json:"filter[in_triage_at][gt],omitempty"`
FilterInTriageAtGte *string `form:"filter[in_triage_at][gte],omitempty" json:"filter[in_triage_at][gte],omitempty"`
FilterInTriageAtLt *string `form:"filter[in_triage_at][lt],omitempty" json:"filter[in_triage_at][lt],omitempty"`
FilterInTriageAtLte *string `form:"filter[in_triage_at][lte],omitempty" json:"filter[in_triage_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListIncidentsParams defines parameters for ListIncidents.
type ListIncidentsResponse ¶
func ParseListIncidentsResponse ¶
func ParseListIncidentsResponse(rsp *http.Response) (*ListIncidentsResponse, error)
ParseListIncidentsResponse parses an HTTP response from a ListIncidentsWithResponse call
func (ListIncidentsResponse) Status ¶
func (r ListIncidentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentsResponse) StatusCode ¶
func (r ListIncidentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPlaybookTasksParams ¶
type ListPlaybookTasksParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListPlaybookTasksParams defines parameters for ListPlaybookTasks.
type ListPlaybookTasksResponse ¶
func ParseListPlaybookTasksResponse ¶
func ParseListPlaybookTasksResponse(rsp *http.Response) (*ListPlaybookTasksResponse, error)
ParseListPlaybookTasksResponse parses an HTTP response from a ListPlaybookTasksWithResponse call
func (ListPlaybookTasksResponse) Status ¶
func (r ListPlaybookTasksResponse) Status() string
Status returns HTTPResponse.Status
func (ListPlaybookTasksResponse) StatusCode ¶
func (r ListPlaybookTasksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPlaybooksParams ¶
type ListPlaybooksParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListPlaybooksParams defines parameters for ListPlaybooks.
type ListPlaybooksResponse ¶
func ParseListPlaybooksResponse ¶
func ParseListPlaybooksResponse(rsp *http.Response) (*ListPlaybooksResponse, error)
ParseListPlaybooksResponse parses an HTTP response from a ListPlaybooksWithResponse call
func (ListPlaybooksResponse) Status ¶
func (r ListPlaybooksResponse) Status() string
Status returns HTTPResponse.Status
func (ListPlaybooksResponse) StatusCode ¶
func (r ListPlaybooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPostmortemTemplatesParams ¶
type ListPostmortemTemplatesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListPostmortemTemplatesParams defines parameters for ListPostmortemTemplates.
type ListPostmortemTemplatesResponse ¶
func ParseListPostmortemTemplatesResponse ¶
func ParseListPostmortemTemplatesResponse(rsp *http.Response) (*ListPostmortemTemplatesResponse, error)
ParseListPostmortemTemplatesResponse parses an HTTP response from a ListPostmortemTemplatesWithResponse call
func (ListPostmortemTemplatesResponse) Status ¶
func (r ListPostmortemTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListPostmortemTemplatesResponse) StatusCode ¶
func (r ListPostmortemTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPulsesParams ¶
type ListPulsesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
FilterSource *string `form:"filter[source],omitempty" json:"filter[source],omitempty"`
FilterServices *string `form:"filter[services],omitempty" json:"filter[services],omitempty"`
FilterEnvironments *string `form:"filter[environments],omitempty" json:"filter[environments],omitempty"`
FilterLabels *string `form:"filter[labels],omitempty" json:"filter[labels],omitempty"`
FilterRefs *string `form:"filter[refs],omitempty" json:"filter[refs],omitempty"`
FilterStartedAtGt *string `form:"filter[started_at][gt],omitempty" json:"filter[started_at][gt],omitempty"`
FilterStartedAtGte *string `form:"filter[started_at][gte],omitempty" json:"filter[started_at][gte],omitempty"`
FilterStartedAtLt *string `form:"filter[started_at][lt],omitempty" json:"filter[started_at][lt],omitempty"`
FilterStartedAtLte *string `form:"filter[started_at][lte],omitempty" json:"filter[started_at][lte],omitempty"`
FilterEndedAtGt *string `form:"filter[ended_at][gt],omitempty" json:"filter[ended_at][gt],omitempty"`
FilterEndedAtGte *string `form:"filter[ended_at][gte],omitempty" json:"filter[ended_at][gte],omitempty"`
FilterEndedAtLt *string `form:"filter[ended_at][lt],omitempty" json:"filter[ended_at][lt],omitempty"`
FilterEndedAtLte *string `form:"filter[ended_at][lte],omitempty" json:"filter[ended_at][lte],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListPulsesParams defines parameters for ListPulses.
type ListPulsesResponse ¶
func ParseListPulsesResponse ¶
func ParseListPulsesResponse(rsp *http.Response) (*ListPulsesResponse, error)
ParseListPulsesResponse parses an HTTP response from a ListPulsesWithResponse call
func (ListPulsesResponse) Status ¶
func (r ListPulsesResponse) Status() string
Status returns HTTPResponse.Status
func (ListPulsesResponse) StatusCode ¶
func (r ListPulsesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRetrospectiveStepsParams ¶ added in v1.1.7
type ListRetrospectiveStepsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListRetrospectiveStepsParams defines parameters for ListRetrospectiveSteps.
type ListRetrospectiveStepsResponse ¶ added in v1.1.7
func ParseListRetrospectiveStepsResponse ¶ added in v1.1.7
func ParseListRetrospectiveStepsResponse(rsp *http.Response) (*ListRetrospectiveStepsResponse, error)
ParseListRetrospectiveStepsResponse parses an HTTP response from a ListRetrospectiveStepsWithResponse call
func (ListRetrospectiveStepsResponse) Status ¶ added in v1.1.7
func (r ListRetrospectiveStepsResponse) Status() string
Status returns HTTPResponse.Status
func (ListRetrospectiveStepsResponse) StatusCode ¶ added in v1.1.7
func (r ListRetrospectiveStepsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecretsParams ¶ added in v0.1.58
type ListSecretsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListSecretsParams defines parameters for ListSecrets.
type ListSecretsResponse ¶ added in v0.1.58
func ParseListSecretsResponse ¶ added in v0.1.58
func ParseListSecretsResponse(rsp *http.Response) (*ListSecretsResponse, error)
ParseListSecretsResponse parses an HTTP response from a ListSecretsWithResponse call
func (ListSecretsResponse) Status ¶ added in v0.1.58
func (r ListSecretsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSecretsResponse) StatusCode ¶ added in v0.1.58
func (r ListSecretsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServicesParams ¶
type ListServicesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterBackstageId *string `form:"filter[backstage_id],omitempty" json:"filter[backstage_id],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListServicesParams defines parameters for ListServices.
type ListServicesResponse ¶
func ParseListServicesResponse ¶
func ParseListServicesResponse(rsp *http.Response) (*ListServicesResponse, error)
ParseListServicesResponse parses an HTTP response from a ListServicesWithResponse call
func (ListServicesResponse) Status ¶
func (r ListServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListServicesResponse) StatusCode ¶
func (r ListServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSeveritiesParams ¶
type ListSeveritiesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterSeverity *string `form:"filter[severity],omitempty" json:"filter[severity],omitempty"`
FilterColor *string `form:"filter[color],omitempty" json:"filter[color],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListSeveritiesParams defines parameters for ListSeverities.
type ListSeveritiesResponse ¶
func ParseListSeveritiesResponse ¶
func ParseListSeveritiesResponse(rsp *http.Response) (*ListSeveritiesResponse, error)
ParseListSeveritiesResponse parses an HTTP response from a ListSeveritiesWithResponse call
func (ListSeveritiesResponse) Status ¶
func (r ListSeveritiesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSeveritiesResponse) StatusCode ¶
func (r ListSeveritiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPageTemplatesParams ¶ added in v0.1.18
type ListStatusPageTemplatesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListStatusPageTemplatesParams defines parameters for ListStatusPageTemplates.
type ListStatusPageTemplatesResponse ¶ added in v0.1.18
func ParseListStatusPageTemplatesResponse ¶ added in v0.1.18
func ParseListStatusPageTemplatesResponse(rsp *http.Response) (*ListStatusPageTemplatesResponse, error)
ParseListStatusPageTemplatesResponse parses an HTTP response from a ListStatusPageTemplatesWithResponse call
func (ListStatusPageTemplatesResponse) Status ¶ added in v0.1.18
func (r ListStatusPageTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListStatusPageTemplatesResponse) StatusCode ¶ added in v0.1.18
func (r ListStatusPageTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPagesParams ¶
type ListStatusPagesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListStatusPagesParams defines parameters for ListStatusPages.
type ListStatusPagesResponse ¶
func ParseListStatusPagesResponse ¶
func ParseListStatusPagesResponse(rsp *http.Response) (*ListStatusPagesResponse, error)
ParseListStatusPagesResponse parses an HTTP response from a ListStatusPagesWithResponse call
func (ListStatusPagesResponse) Status ¶
func (r ListStatusPagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListStatusPagesResponse) StatusCode ¶
func (r ListStatusPagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTeamsParams ¶
type ListTeamsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterColor *string `form:"filter[color],omitempty" json:"filter[color],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListTeamsParams defines parameters for ListTeams.
type ListTeamsResponse ¶
func ParseListTeamsResponse ¶
func ParseListTeamsResponse(rsp *http.Response) (*ListTeamsResponse, error)
ParseListTeamsResponse parses an HTTP response from a ListTeamsWithResponse call
func (ListTeamsResponse) Status ¶
func (r ListTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (ListTeamsResponse) StatusCode ¶
func (r ListTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsersParams ¶ added in v0.1.91
type ListUsersParams struct {
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterEmail *string `form:"filter[email],omitempty" json:"filter[email],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
ListUsersParams defines parameters for ListUsers.
type ListUsersResponse ¶ added in v0.1.91
func ParseListUsersResponse ¶ added in v0.1.91
func ParseListUsersResponse(rsp *http.Response) (*ListUsersResponse, error)
ParseListUsersResponse parses an HTTP response from a ListUsersWithResponse call
func (ListUsersResponse) Status ¶ added in v0.1.91
func (r ListUsersResponse) Status() string
Status returns HTTPResponse.Status
func (ListUsersResponse) StatusCode ¶ added in v0.1.91
func (r ListUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWebhooksDeliveriesParams ¶ added in v0.1.54
type ListWebhooksDeliveriesParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListWebhooksDeliveriesParams defines parameters for ListWebhooksDeliveries.
type ListWebhooksDeliveriesResponse ¶ added in v0.1.54
func ParseListWebhooksDeliveriesResponse ¶ added in v0.1.54
func ParseListWebhooksDeliveriesResponse(rsp *http.Response) (*ListWebhooksDeliveriesResponse, error)
ParseListWebhooksDeliveriesResponse parses an HTTP response from a ListWebhooksDeliveriesWithResponse call
func (ListWebhooksDeliveriesResponse) Status ¶ added in v0.1.54
func (r ListWebhooksDeliveriesResponse) Status() string
Status returns HTTPResponse.Status
func (ListWebhooksDeliveriesResponse) StatusCode ¶ added in v0.1.54
func (r ListWebhooksDeliveriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWebhooksEndpointsParams ¶ added in v0.1.54
type ListWebhooksEndpointsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
}
ListWebhooksEndpointsParams defines parameters for ListWebhooksEndpoints.
type ListWebhooksEndpointsResponse ¶ added in v0.1.54
func ParseListWebhooksEndpointsResponse ¶ added in v0.1.54
func ParseListWebhooksEndpointsResponse(rsp *http.Response) (*ListWebhooksEndpointsResponse, error)
ParseListWebhooksEndpointsResponse parses an HTTP response from a ListWebhooksEndpointsWithResponse call
func (ListWebhooksEndpointsResponse) Status ¶ added in v0.1.54
func (r ListWebhooksEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWebhooksEndpointsResponse) StatusCode ¶ added in v0.1.54
func (r ListWebhooksEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowCustomFieldSelectionsParams ¶
type ListWorkflowCustomFieldSelectionsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListWorkflowCustomFieldSelectionsParams defines parameters for ListWorkflowCustomFieldSelections.
type ListWorkflowCustomFieldSelectionsResponse ¶
func ParseListWorkflowCustomFieldSelectionsResponse ¶
func ParseListWorkflowCustomFieldSelectionsResponse(rsp *http.Response) (*ListWorkflowCustomFieldSelectionsResponse, error)
ParseListWorkflowCustomFieldSelectionsResponse parses an HTTP response from a ListWorkflowCustomFieldSelectionsWithResponse call
func (ListWorkflowCustomFieldSelectionsResponse) Status ¶
func (r ListWorkflowCustomFieldSelectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowCustomFieldSelectionsResponse) StatusCode ¶
func (r ListWorkflowCustomFieldSelectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowFormFieldConditionsParams ¶ added in v0.1.48
type ListWorkflowFormFieldConditionsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListWorkflowFormFieldConditionsParams defines parameters for ListWorkflowFormFieldConditions.
type ListWorkflowFormFieldConditionsResponse ¶ added in v0.1.48
func ParseListWorkflowFormFieldConditionsResponse ¶ added in v0.1.48
func ParseListWorkflowFormFieldConditionsResponse(rsp *http.Response) (*ListWorkflowFormFieldConditionsResponse, error)
ParseListWorkflowFormFieldConditionsResponse parses an HTTP response from a ListWorkflowFormFieldConditionsWithResponse call
func (ListWorkflowFormFieldConditionsResponse) Status ¶ added in v0.1.48
func (r ListWorkflowFormFieldConditionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowFormFieldConditionsResponse) StatusCode ¶ added in v0.1.48
func (r ListWorkflowFormFieldConditionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowGroupsParams ¶ added in v0.1.12
type ListWorkflowGroupsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterKind *string `form:"filter[kind],omitempty" json:"filter[kind],omitempty"`
FilterExpanded *bool `form:"filter[expanded],omitempty" json:"filter[expanded],omitempty"`
FilterPosition *int `form:"filter[position],omitempty" json:"filter[position],omitempty"`
}
ListWorkflowGroupsParams defines parameters for ListWorkflowGroups.
type ListWorkflowGroupsResponse ¶ added in v0.1.12
func ParseListWorkflowGroupsResponse ¶ added in v0.1.12
func ParseListWorkflowGroupsResponse(rsp *http.Response) (*ListWorkflowGroupsResponse, error)
ParseListWorkflowGroupsResponse parses an HTTP response from a ListWorkflowGroupsWithResponse call
func (ListWorkflowGroupsResponse) Status ¶ added in v0.1.12
func (r ListWorkflowGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowGroupsResponse) StatusCode ¶ added in v0.1.12
func (r ListWorkflowGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowRunsParams ¶ added in v0.1.23
type ListWorkflowRunsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
}
ListWorkflowRunsParams defines parameters for ListWorkflowRuns.
type ListWorkflowRunsResponse ¶ added in v0.1.23
func ParseListWorkflowRunsResponse ¶ added in v0.1.23
func ParseListWorkflowRunsResponse(rsp *http.Response) (*ListWorkflowRunsResponse, error)
ParseListWorkflowRunsResponse parses an HTTP response from a ListWorkflowRunsWithResponse call
func (ListWorkflowRunsResponse) Status ¶ added in v0.1.23
func (r ListWorkflowRunsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowRunsResponse) StatusCode ¶ added in v0.1.23
func (r ListWorkflowRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowTasksParams ¶
type ListWorkflowTasksParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
}
ListWorkflowTasksParams defines parameters for ListWorkflowTasks.
type ListWorkflowTasksResponse ¶
func ParseListWorkflowTasksResponse ¶
func ParseListWorkflowTasksResponse(rsp *http.Response) (*ListWorkflowTasksResponse, error)
ParseListWorkflowTasksResponse parses an HTTP response from a ListWorkflowTasksWithResponse call
func (ListWorkflowTasksResponse) Status ¶
func (r ListWorkflowTasksResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowTasksResponse) StatusCode ¶
func (r ListWorkflowTasksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowsParams ¶
type ListWorkflowsParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`
PageSize *int `form:"page[size],omitempty" json:"page[size],omitempty"`
FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`
FilterName *string `form:"filter[name],omitempty" json:"filter[name],omitempty"`
FilterSlug *string `form:"filter[slug],omitempty" json:"filter[slug],omitempty"`
FilterCreatedAtGt *string `form:"filter[created_at][gt],omitempty" json:"filter[created_at][gt],omitempty"`
FilterCreatedAtGte *string `form:"filter[created_at][gte],omitempty" json:"filter[created_at][gte],omitempty"`
FilterCreatedAtLt *string `form:"filter[created_at][lt],omitempty" json:"filter[created_at][lt],omitempty"`
FilterCreatedAtLte *string `form:"filter[created_at][lte],omitempty" json:"filter[created_at][lte],omitempty"`
}
ListWorkflowsParams defines parameters for ListWorkflows.
type ListWorkflowsResponse ¶
func ParseListWorkflowsResponse ¶
func ParseListWorkflowsResponse(rsp *http.Response) (*ListWorkflowsResponse, error)
ParseListWorkflowsResponse parses an HTTP response from a ListWorkflowsWithResponse call
func (ListWorkflowsResponse) Status ¶
func (r ListWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowsResponse) StatusCode ¶
func (r ListWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkAsDuplicateIncidentResponse ¶ added in v0.1.68
func ParseMarkAsDuplicateIncidentResponse ¶ added in v0.1.68
func ParseMarkAsDuplicateIncidentResponse(rsp *http.Response) (*MarkAsDuplicateIncidentResponse, error)
ParseMarkAsDuplicateIncidentResponse parses an HTTP response from a MarkAsDuplicateIncidentWithResponse call
func (MarkAsDuplicateIncidentResponse) Status ¶ added in v0.1.68
func (r MarkAsDuplicateIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (MarkAsDuplicateIncidentResponse) StatusCode ¶ added in v0.1.68
func (r MarkAsDuplicateIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitigateIncident ¶
type MitigateIncident struct {
Data struct {
Attributes struct {
// How was the incident mitigated?
MitigationMessage *string `json:"mitigation_message"`
} `json:"attributes"`
Type MitigateIncidentDataType `json:"type"`
} `json:"data"`
}
MitigateIncident defines model for mitigate_incident.
type MitigateIncidentDataType ¶
type MitigateIncidentDataType string
MitigateIncidentDataType defines model for MitigateIncident.Data.Type.
const (
MitigateIncidentDataTypeIncidents MitigateIncidentDataType = "incidents"
)
Defines values for MitigateIncidentDataType.
type MitigateIncidentResponse ¶
func ParseMitigateIncidentResponse ¶
func ParseMitigateIncidentResponse(rsp *http.Response) (*MitigateIncidentResponse, error)
ParseMitigateIncidentResponse parses an HTTP response from a MitigateIncidentWithResponse call
func (MitigateIncidentResponse) Status ¶
func (r MitigateIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (MitigateIncidentResponse) StatusCode ¶
func (r MitigateIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NewAlert ¶
type NewAlert struct {
Data struct {
Attributes struct {
// Additional data
Data *map[string]interface{} `json:"data"`
// Alert end datetime
EndedAt *time.Time `json:"ended_at"`
// The Environment ID's to attach to the alert
EnvironmentIds *[]string `json:"environment_ids"`
// External ID
ExternalId *string `json:"external_id"`
// External Url
ExternalUrl *string `json:"external_url"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
// The Service ID's to attach to the alert
ServiceIds *[]string `json:"service_ids"`
// The source of the alert (eg: zendesk)
Source string `json:"source"`
// Alert start datetime
StartedAt *time.Time `json:"started_at"`
// The summary of the alert
Summary string `json:"summary"`
} `json:"attributes"`
Type NewAlertDataType `json:"type"`
} `json:"data"`
}
NewAlert defines model for new_alert.
type NewAlertDataType ¶
type NewAlertDataType string
NewAlertDataType defines model for NewAlert.Data.Type.
const (
Alerts NewAlertDataType = "alerts"
)
Defines values for NewAlertDataType.
type NewCause ¶
type NewCause struct {
Data struct {
Attributes struct {
// The description of the cause
Description *string `json:"description"`
// The name of the cause
Name string `json:"name"`
// Position of the cause
Position *int `json:"position"`
} `json:"attributes"`
Type NewCauseDataType `json:"type"`
} `json:"data"`
}
NewCause defines model for new_cause.
type NewCauseDataType ¶
type NewCauseDataType string
NewCauseDataType defines model for NewCause.Data.Type.
const (
NewCauseDataTypeCauses NewCauseDataType = "causes"
)
Defines values for NewCauseDataType.
type NewCustomField ¶
type NewCustomField struct {
Data struct {
Attributes struct {
// The default value for text field kinds
Default *string `json:"default"`
// The description of the custom_field
Description *string `json:"description"`
// The name of the custom_field
Label string `json:"label"`
// The position of the custom_field
Position *float32 `json:"position,omitempty"`
Required *[]NewCustomFieldDataAttributesRequired `json:"required"`
Shown *[]NewCustomFieldDataAttributesShown `json:"shown,omitempty"`
} `json:"attributes"`
Type NewCustomFieldDataType `json:"type"`
} `json:"data"`
}
NewCustomField defines model for new_custom_field.
type NewCustomFieldDataAttributesRequired ¶
type NewCustomFieldDataAttributesRequired string
Where the custom_field is required
const ( NewCustomFieldDataAttributesRequiredIncidentForm NewCustomFieldDataAttributesRequired = "incident_form" NewCustomFieldDataAttributesRequiredIncidentMitigationForm NewCustomFieldDataAttributesRequired = "incident_mitigation_form" NewCustomFieldDataAttributesRequiredIncidentMitigationSlackForm NewCustomFieldDataAttributesRequired = "incident_mitigation_slack_form" NewCustomFieldDataAttributesRequiredIncidentPostMortemForm NewCustomFieldDataAttributesRequired = "incident_post_mortem_form" NewCustomFieldDataAttributesRequiredIncidentResolutionForm NewCustomFieldDataAttributesRequired = "incident_resolution_form" NewCustomFieldDataAttributesRequiredIncidentResolutionSlackForm NewCustomFieldDataAttributesRequired = "incident_resolution_slack_form" NewCustomFieldDataAttributesRequiredIncidentSlackForm NewCustomFieldDataAttributesRequired = "incident_slack_form" )
Defines values for NewCustomFieldDataAttributesRequired.
type NewCustomFieldDataAttributesShown ¶
type NewCustomFieldDataAttributesShown string
Where the custom_field is shown
const ( NewCustomFieldDataAttributesShownIncidentForm NewCustomFieldDataAttributesShown = "incident_form" NewCustomFieldDataAttributesShownIncidentMitigationForm NewCustomFieldDataAttributesShown = "incident_mitigation_form" NewCustomFieldDataAttributesShownIncidentMitigationSlackForm NewCustomFieldDataAttributesShown = "incident_mitigation_slack_form" NewCustomFieldDataAttributesShownIncidentPostMortem NewCustomFieldDataAttributesShown = "incident_post_mortem" NewCustomFieldDataAttributesShownIncidentPostMortemForm NewCustomFieldDataAttributesShown = "incident_post_mortem_form" NewCustomFieldDataAttributesShownIncidentResolutionForm NewCustomFieldDataAttributesShown = "incident_resolution_form" NewCustomFieldDataAttributesShownIncidentResolutionSlackForm NewCustomFieldDataAttributesShown = "incident_resolution_slack_form" NewCustomFieldDataAttributesShownIncidentSlackForm NewCustomFieldDataAttributesShown = "incident_slack_form" )
Defines values for NewCustomFieldDataAttributesShown.
type NewCustomFieldDataType ¶
type NewCustomFieldDataType string
NewCustomFieldDataType defines model for NewCustomField.Data.Type.
const (
NewCustomFieldDataTypeCustomFields NewCustomFieldDataType = "custom_fields"
)
Defines values for NewCustomFieldDataType.
type NewCustomFieldOption ¶
type NewCustomFieldOption struct {
Data struct {
Attributes struct {
// The hex color of the custom_field_option
Color *string `json:"color,omitempty"`
Default *bool `json:"default,omitempty"`
// The position of the custom_field_option
Position *float32 `json:"position,omitempty"`
// The value of the custom_field_option
Value string `json:"value"`
} `json:"attributes"`
Type NewCustomFieldOptionDataType `json:"type"`
} `json:"data"`
}
NewCustomFieldOption defines model for new_custom_field_option.
type NewCustomFieldOptionDataType ¶
type NewCustomFieldOptionDataType string
NewCustomFieldOptionDataType defines model for NewCustomFieldOption.Data.Type.
const (
NewCustomFieldOptionDataTypeCustomFieldOptions NewCustomFieldOptionDataType = "custom_field_options"
)
Defines values for NewCustomFieldOptionDataType.
type NewDashboard ¶
type NewDashboard struct {
Data struct {
Attributes struct {
// Whether the dashboard auto-updates the UI with new data.
AutoRefresh *bool `json:"auto_refresh,omitempty"`
// The hex color of the dashboard
Color *NewDashboardDataAttributesColor `json:"color"`
// The description of the dashboard
Description *string `json:"description"`
// The emoji icon of the dashboard
Icon *string `json:"icon,omitempty"`
// The name of the dashboard
Name string `json:"name"`
// The owner type of the dashboard
Owner NewDashboardDataAttributesOwner `json:"owner"`
// The grouping period for dashboard panel data
Period *NewDashboardDataAttributesPeriod `json:"period"`
// Whether the dashboard is public
Public *bool `json:"public,omitempty"`
// The date range for dashboard panel data
Range *string `json:"range"`
} `json:"attributes"`
Type NewDashboardDataType `json:"type"`
} `json:"data"`
}
NewDashboard defines model for new_dashboard.
type NewDashboardDataAttributesColor ¶ added in v1.1.4
type NewDashboardDataAttributesColor string
The hex color of the dashboard
const ( NewDashboardDataAttributesColorHashD7F5E1 NewDashboardDataAttributesColor = "#D7F5E1" NewDashboardDataAttributesColorHashE9E2FF NewDashboardDataAttributesColor = "#E9E2FF" NewDashboardDataAttributesColorHashFAE6E8 NewDashboardDataAttributesColor = "#FAE6E8" NewDashboardDataAttributesColorHashFAEEE6 NewDashboardDataAttributesColor = "#FAEEE6" NewDashboardDataAttributesColorHashFCF2CF NewDashboardDataAttributesColor = "#FCF2CF" )
Defines values for NewDashboardDataAttributesColor.
type NewDashboardDataAttributesOwner ¶
type NewDashboardDataAttributesOwner string
The owner type of the dashboard
const ( NewDashboardDataAttributesOwnerTeam NewDashboardDataAttributesOwner = "team" NewDashboardDataAttributesOwnerUser NewDashboardDataAttributesOwner = "user" )
Defines values for NewDashboardDataAttributesOwner.
type NewDashboardDataAttributesPeriod ¶
type NewDashboardDataAttributesPeriod string
The grouping period for dashboard panel data
const ( NewDashboardDataAttributesPeriodDay NewDashboardDataAttributesPeriod = "day" NewDashboardDataAttributesPeriodMonth NewDashboardDataAttributesPeriod = "month" NewDashboardDataAttributesPeriodWeek NewDashboardDataAttributesPeriod = "week" )
Defines values for NewDashboardDataAttributesPeriod.
type NewDashboardDataType ¶
type NewDashboardDataType string
NewDashboardDataType defines model for NewDashboard.Data.Type.
const (
NewDashboardDataTypeDashboards NewDashboardDataType = "dashboards"
)
Defines values for NewDashboardDataType.
type NewDashboardPanel ¶
type NewDashboardPanel struct {
Data struct {
Attributes struct {
// The name of the dashboard_panel
Name *string `json:"name"`
Params struct {
Datasets *[]struct {
Aggregate *struct {
Cumulative *bool `json:"cumulative"`
Key *string `json:"key"`
Operation *NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation `json:"operation,omitempty"`
} `json:"aggregate"`
Collection *NewDashboardPanelDataAttributesParamsDatasetsCollection `json:"collection,omitempty"`
Filter *[]struct {
Operation *NewDashboardPanelDataAttributesParamsDatasetsFilterOperation `json:"operation,omitempty"`
Rules *[]struct {
Condition *string `json:"condition,omitempty"`
Key *string `json:"key,omitempty"`
Operation *string `json:"operation,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"rules,omitempty"`
} `json:"filter,omitempty"`
GroupBy *string `json:"group_by"`
Name *string `json:"name"`
} `json:"datasets,omitempty"`
Display *NewDashboardPanelDataAttributesParamsDisplay `json:"display,omitempty"`
} `json:"params"`
Position *struct {
H float32 `json:"h"`
W float32 `json:"w"`
X float32 `json:"x"`
Y float32 `json:"y"`
} `json:"position"`
} `json:"attributes"`
Type NewDashboardPanelDataType `json:"type"`
} `json:"data"`
}
NewDashboardPanel defines model for new_dashboard_panel.
type NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation ¶
type NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation string
NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation defines model for NewDashboardPanel.Data.Attributes.Params.Datasets.Aggregate.Operation.
const ( NewDashboardPanelDataAttributesParamsDatasetsAggregateOperationAverage NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation = "average" NewDashboardPanelDataAttributesParamsDatasetsAggregateOperationCount NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation = "count" NewDashboardPanelDataAttributesParamsDatasetsAggregateOperationSum NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation = "sum" )
Defines values for NewDashboardPanelDataAttributesParamsDatasetsAggregateOperation.
type NewDashboardPanelDataAttributesParamsDatasetsCollection ¶
type NewDashboardPanelDataAttributesParamsDatasetsCollection string
NewDashboardPanelDataAttributesParamsDatasetsCollection defines model for NewDashboardPanel.Data.Attributes.Params.Datasets.Collection.
const ( NewDashboardPanelDataAttributesParamsDatasetsCollectionIncidentActionItems NewDashboardPanelDataAttributesParamsDatasetsCollection = "incident_action_items" NewDashboardPanelDataAttributesParamsDatasetsCollectionIncidentPostMortems NewDashboardPanelDataAttributesParamsDatasetsCollection = "incident_post_mortems" NewDashboardPanelDataAttributesParamsDatasetsCollectionIncidents NewDashboardPanelDataAttributesParamsDatasetsCollection = "incidents" )
Defines values for NewDashboardPanelDataAttributesParamsDatasetsCollection.
type NewDashboardPanelDataAttributesParamsDatasetsFilterOperation ¶
type NewDashboardPanelDataAttributesParamsDatasetsFilterOperation string
NewDashboardPanelDataAttributesParamsDatasetsFilterOperation defines model for NewDashboardPanel.Data.Attributes.Params.Datasets.Filter.Operation.
const ( NewDashboardPanelDataAttributesParamsDatasetsFilterOperationAnd NewDashboardPanelDataAttributesParamsDatasetsFilterOperation = "and" NewDashboardPanelDataAttributesParamsDatasetsFilterOperationOr NewDashboardPanelDataAttributesParamsDatasetsFilterOperation = "or" )
Defines values for NewDashboardPanelDataAttributesParamsDatasetsFilterOperation.
type NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation ¶
type NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation string
NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation defines model for NewDashboardPanel.Data.Attributes.Params.Datasets.Filter.Rules.Operation.
const ( NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperationAnd NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation = "and" NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperationOr NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation = "or" )
Defines values for NewDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation.
type NewDashboardPanelDataAttributesParamsDisplay ¶
type NewDashboardPanelDataAttributesParamsDisplay string
NewDashboardPanelDataAttributesParamsDisplay defines model for NewDashboardPanel.Data.Attributes.Params.Display.
const ( NewDashboardPanelDataAttributesParamsDisplayAggregateValue NewDashboardPanelDataAttributesParamsDisplay = "aggregate_value" NewDashboardPanelDataAttributesParamsDisplayColumnChart NewDashboardPanelDataAttributesParamsDisplay = "column_chart" NewDashboardPanelDataAttributesParamsDisplayLineChart NewDashboardPanelDataAttributesParamsDisplay = "line_chart" NewDashboardPanelDataAttributesParamsDisplayLineSteppedChart NewDashboardPanelDataAttributesParamsDisplay = "line_stepped_chart" NewDashboardPanelDataAttributesParamsDisplayPieChart NewDashboardPanelDataAttributesParamsDisplay = "pie_chart" NewDashboardPanelDataAttributesParamsDisplayStackedColumnChart NewDashboardPanelDataAttributesParamsDisplay = "stacked_column_chart" NewDashboardPanelDataAttributesParamsDisplayTable NewDashboardPanelDataAttributesParamsDisplay = "table" )
Defines values for NewDashboardPanelDataAttributesParamsDisplay.
type NewDashboardPanelDataType ¶
type NewDashboardPanelDataType string
NewDashboardPanelDataType defines model for NewDashboardPanel.Data.Type.
const (
NewDashboardPanelDataTypeDashboardPanels NewDashboardPanelDataType = "dashboard_panels"
)
Defines values for NewDashboardPanelDataType.
type NewEnvironment ¶
type NewEnvironment struct {
Data struct {
Attributes struct {
// The hex color of the environment
Color *string `json:"color"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails to attach to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
} `json:"attributes"`
Type NewEnvironmentDataType `json:"type"`
} `json:"data"`
}
NewEnvironment defines model for new_environment.
type NewEnvironmentDataType ¶
type NewEnvironmentDataType string
NewEnvironmentDataType defines model for NewEnvironment.Data.Type.
const (
NewEnvironmentDataTypeEnvironments NewEnvironmentDataType = "environments"
)
Defines values for NewEnvironmentDataType.
type NewFormField ¶ added in v0.1.48
type NewFormField struct {
Data struct {
Attributes struct {
DefaultValues *[]string `json:"default_values,omitempty"`
// The description of the form field
Description *string `json:"description"`
// Whether the form field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The input kind of the form field
InputKind *NewFormFieldDataAttributesInputKind `json:"input_kind,omitempty"`
// The kind of the form field
Kind NewFormFieldDataAttributesKind `json:"kind"`
// The name of the form field
Name string `json:"name"`
Required *[]NewFormFieldDataAttributesRequired `json:"required,omitempty"`
// Whether the form field is shown on the incident details panel
ShowOnIncidentDetails *bool `json:"show_on_incident_details,omitempty"`
Shown *[]NewFormFieldDataAttributesShown `json:"shown,omitempty"`
} `json:"attributes"`
Type NewFormFieldDataType `json:"type"`
} `json:"data"`
}
NewFormField defines model for new_form_field.
type NewFormFieldDataAttributesInputKind ¶ added in v0.1.48
type NewFormFieldDataAttributesInputKind string
The input kind of the form field
const ( NewFormFieldDataAttributesInputKindCheckbox NewFormFieldDataAttributesInputKind = "checkbox" NewFormFieldDataAttributesInputKindDate NewFormFieldDataAttributesInputKind = "date" NewFormFieldDataAttributesInputKindDatetime NewFormFieldDataAttributesInputKind = "datetime" NewFormFieldDataAttributesInputKindMultiSelect NewFormFieldDataAttributesInputKind = "multi_select" NewFormFieldDataAttributesInputKindNumber NewFormFieldDataAttributesInputKind = "number" NewFormFieldDataAttributesInputKindSelect NewFormFieldDataAttributesInputKind = "select" NewFormFieldDataAttributesInputKindTags NewFormFieldDataAttributesInputKind = "tags" NewFormFieldDataAttributesInputKindText NewFormFieldDataAttributesInputKind = "text" NewFormFieldDataAttributesInputKindTextarea NewFormFieldDataAttributesInputKind = "textarea" NewFormFieldDataAttributesInputKindUsers NewFormFieldDataAttributesInputKind = "users" )
Defines values for NewFormFieldDataAttributesInputKind.
type NewFormFieldDataAttributesKind ¶ added in v0.1.48
type NewFormFieldDataAttributesKind string
The kind of the form field
const ( NewFormFieldDataAttributesKindAttachAlerts NewFormFieldDataAttributesKind = "attach_alerts" NewFormFieldDataAttributesKindCustom NewFormFieldDataAttributesKind = "custom" NewFormFieldDataAttributesKindEnvironments NewFormFieldDataAttributesKind = "environments" NewFormFieldDataAttributesKindFunctionalities NewFormFieldDataAttributesKind = "functionalities" NewFormFieldDataAttributesKindLabels NewFormFieldDataAttributesKind = "labels" NewFormFieldDataAttributesKindManualStartingDatetimeField NewFormFieldDataAttributesKind = "manual_starting_datetime_field" NewFormFieldDataAttributesKindMarkAsBackfilled NewFormFieldDataAttributesKind = "mark_as_backfilled" NewFormFieldDataAttributesKindMarkAsInTriage NewFormFieldDataAttributesKind = "mark_as_in_triage" NewFormFieldDataAttributesKindMarkAsTest NewFormFieldDataAttributesKind = "mark_as_test" NewFormFieldDataAttributesKindNotifyEmails NewFormFieldDataAttributesKind = "notify_emails" NewFormFieldDataAttributesKindServices NewFormFieldDataAttributesKind = "services" NewFormFieldDataAttributesKindSeverity NewFormFieldDataAttributesKind = "severity" NewFormFieldDataAttributesKindShowOngoingIncidents NewFormFieldDataAttributesKind = "show_ongoing_incidents" NewFormFieldDataAttributesKindSummary NewFormFieldDataAttributesKind = "summary" NewFormFieldDataAttributesKindTeams NewFormFieldDataAttributesKind = "teams" NewFormFieldDataAttributesKindTitle NewFormFieldDataAttributesKind = "title" NewFormFieldDataAttributesKindTriggerManualWorkflows NewFormFieldDataAttributesKind = "trigger_manual_workflows" NewFormFieldDataAttributesKindTypes NewFormFieldDataAttributesKind = "types" NewFormFieldDataAttributesKindVisibility NewFormFieldDataAttributesKind = "visibility" )
Defines values for NewFormFieldDataAttributesKind.
type NewFormFieldDataAttributesRequired ¶ added in v0.1.48
type NewFormFieldDataAttributesRequired string
Where the form field is required
const ( NewFormFieldDataAttributesRequiredSlackIncidentMitigationForm NewFormFieldDataAttributesRequired = "slack_incident_mitigation_form" NewFormFieldDataAttributesRequiredSlackIncidentResolutionForm NewFormFieldDataAttributesRequired = "slack_incident_resolution_form" NewFormFieldDataAttributesRequiredSlackNewIncidentForm NewFormFieldDataAttributesRequired = "slack_new_incident_form" NewFormFieldDataAttributesRequiredSlackScheduledIncidentForm NewFormFieldDataAttributesRequired = "slack_scheduled_incident_form" NewFormFieldDataAttributesRequiredSlackUpdateIncidentForm NewFormFieldDataAttributesRequired = "slack_update_incident_form" NewFormFieldDataAttributesRequiredSlackUpdateIncidentStatusForm NewFormFieldDataAttributesRequired = "slack_update_incident_status_form" NewFormFieldDataAttributesRequiredSlackUpdateScheduledIncidentForm NewFormFieldDataAttributesRequired = "slack_update_scheduled_incident_form" NewFormFieldDataAttributesRequiredWebIncidentMitigationForm NewFormFieldDataAttributesRequired = "web_incident_mitigation_form" NewFormFieldDataAttributesRequiredWebIncidentPostMortemForm NewFormFieldDataAttributesRequired = "web_incident_post_mortem_form" NewFormFieldDataAttributesRequiredWebIncidentResolutionForm NewFormFieldDataAttributesRequired = "web_incident_resolution_form" NewFormFieldDataAttributesRequiredWebNewIncidentForm NewFormFieldDataAttributesRequired = "web_new_incident_form" NewFormFieldDataAttributesRequiredWebScheduledIncidentForm NewFormFieldDataAttributesRequired = "web_scheduled_incident_form" NewFormFieldDataAttributesRequiredWebUpdateIncidentForm NewFormFieldDataAttributesRequired = "web_update_incident_form" NewFormFieldDataAttributesRequiredWebUpdateScheduledIncidentForm NewFormFieldDataAttributesRequired = "web_update_scheduled_incident_form" )
Defines values for NewFormFieldDataAttributesRequired.
type NewFormFieldDataAttributesShown ¶ added in v0.1.48
type NewFormFieldDataAttributesShown string
Where the form field is shown
const ( NewFormFieldDataAttributesShownIncidentPostMortem NewFormFieldDataAttributesShown = "incident_post_mortem" NewFormFieldDataAttributesShownSlackIncidentMitigationForm NewFormFieldDataAttributesShown = "slack_incident_mitigation_form" NewFormFieldDataAttributesShownSlackIncidentResolutionForm NewFormFieldDataAttributesShown = "slack_incident_resolution_form" NewFormFieldDataAttributesShownSlackNewIncidentForm NewFormFieldDataAttributesShown = "slack_new_incident_form" NewFormFieldDataAttributesShownSlackScheduledIncidentForm NewFormFieldDataAttributesShown = "slack_scheduled_incident_form" NewFormFieldDataAttributesShownSlackUpdateIncidentForm NewFormFieldDataAttributesShown = "slack_update_incident_form" NewFormFieldDataAttributesShownSlackUpdateIncidentStatusForm NewFormFieldDataAttributesShown = "slack_update_incident_status_form" NewFormFieldDataAttributesShownSlackUpdateScheduledIncidentForm NewFormFieldDataAttributesShown = "slack_update_scheduled_incident_form" NewFormFieldDataAttributesShownWebIncidentMitigationForm NewFormFieldDataAttributesShown = "web_incident_mitigation_form" NewFormFieldDataAttributesShownWebIncidentPostMortemForm NewFormFieldDataAttributesShown = "web_incident_post_mortem_form" NewFormFieldDataAttributesShownWebIncidentResolutionForm NewFormFieldDataAttributesShown = "web_incident_resolution_form" NewFormFieldDataAttributesShownWebNewIncidentForm NewFormFieldDataAttributesShown = "web_new_incident_form" NewFormFieldDataAttributesShownWebScheduledIncidentForm NewFormFieldDataAttributesShown = "web_scheduled_incident_form" NewFormFieldDataAttributesShownWebUpdateIncidentForm NewFormFieldDataAttributesShown = "web_update_incident_form" NewFormFieldDataAttributesShownWebUpdateScheduledIncidentForm NewFormFieldDataAttributesShown = "web_update_scheduled_incident_form" )
Defines values for NewFormFieldDataAttributesShown.
type NewFormFieldDataType ¶ added in v0.1.48
type NewFormFieldDataType string
NewFormFieldDataType defines model for NewFormField.Data.Type.
const (
NewFormFieldDataTypeFormFields NewFormFieldDataType = "form_fields"
)
Defines values for NewFormFieldDataType.
type NewFormFieldOption ¶ added in v0.1.48
type NewFormFieldOption struct {
Data struct {
Attributes struct {
// The hex color of the form_field_option
Color *string `json:"color,omitempty"`
Default *bool `json:"default,omitempty"`
// The ID of the form field
FormFieldId string `json:"form_field_id"`
// The position of the form_field_option
Position *float32 `json:"position,omitempty"`
// The value of the form_field_option
Value string `json:"value"`
} `json:"attributes"`
Type NewFormFieldOptionDataType `json:"type"`
} `json:"data"`
}
NewFormFieldOption defines model for new_form_field_option.
type NewFormFieldOptionDataType ¶ added in v0.1.48
type NewFormFieldOptionDataType string
NewFormFieldOptionDataType defines model for NewFormFieldOption.Data.Type.
const (
NewFormFieldOptionDataTypeFormFieldOptions NewFormFieldOptionDataType = "form_field_options"
)
Defines values for NewFormFieldOptionDataType.
type NewFormFieldPosition ¶ added in v0.1.48
type NewFormFieldPosition struct {
Data struct {
Attributes struct {
// The form for the position
Form NewFormFieldPositionDataAttributesForm `json:"form"`
// The ID of the form field.
FormFieldId string `json:"form_field_id"`
// The position of the form_field_position
Position float32 `json:"position"`
} `json:"attributes"`
Type NewFormFieldPositionDataType `json:"type"`
} `json:"data"`
}
NewFormFieldPosition defines model for new_form_field_position.
type NewFormFieldPositionDataAttributesForm ¶ added in v0.1.48
type NewFormFieldPositionDataAttributesForm string
The form for the position
const ( NewFormFieldPositionDataAttributesFormIncidentPostMortem NewFormFieldPositionDataAttributesForm = "incident_post_mortem" NewFormFieldPositionDataAttributesFormSlackIncidentMitigationForm NewFormFieldPositionDataAttributesForm = "slack_incident_mitigation_form" NewFormFieldPositionDataAttributesFormSlackIncidentResolutionForm NewFormFieldPositionDataAttributesForm = "slack_incident_resolution_form" NewFormFieldPositionDataAttributesFormSlackNewIncidentForm NewFormFieldPositionDataAttributesForm = "slack_new_incident_form" NewFormFieldPositionDataAttributesFormSlackScheduledIncidentForm NewFormFieldPositionDataAttributesForm = "slack_scheduled_incident_form" NewFormFieldPositionDataAttributesFormSlackUpdateIncidentForm NewFormFieldPositionDataAttributesForm = "slack_update_incident_form" NewFormFieldPositionDataAttributesFormSlackUpdateIncidentStatusForm NewFormFieldPositionDataAttributesForm = "slack_update_incident_status_form" NewFormFieldPositionDataAttributesFormSlackUpdateScheduledIncidentForm NewFormFieldPositionDataAttributesForm = "slack_update_scheduled_incident_form" NewFormFieldPositionDataAttributesFormWebIncidentMitigationForm NewFormFieldPositionDataAttributesForm = "web_incident_mitigation_form" NewFormFieldPositionDataAttributesFormWebIncidentPostMortemForm NewFormFieldPositionDataAttributesForm = "web_incident_post_mortem_form" NewFormFieldPositionDataAttributesFormWebIncidentResolutionForm NewFormFieldPositionDataAttributesForm = "web_incident_resolution_form" NewFormFieldPositionDataAttributesFormWebNewIncidentForm NewFormFieldPositionDataAttributesForm = "web_new_incident_form" NewFormFieldPositionDataAttributesFormWebScheduledIncidentForm NewFormFieldPositionDataAttributesForm = "web_scheduled_incident_form" NewFormFieldPositionDataAttributesFormWebUpdateIncidentForm NewFormFieldPositionDataAttributesForm = "web_update_incident_form" NewFormFieldPositionDataAttributesFormWebUpdateScheduledIncidentForm NewFormFieldPositionDataAttributesForm = "web_update_scheduled_incident_form" )
Defines values for NewFormFieldPositionDataAttributesForm.
type NewFormFieldPositionDataType ¶ added in v0.1.48
type NewFormFieldPositionDataType string
NewFormFieldPositionDataType defines model for NewFormFieldPosition.Data.Type.
const (
NewFormFieldPositionDataTypeFormFieldPositions NewFormFieldPositionDataType = "form_field_positions"
)
Defines values for NewFormFieldPositionDataType.
type NewFunctionality ¶
type NewFunctionality struct {
Data struct {
Attributes struct {
// The hex color of the functionality
Color *string `json:"color"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name string `json:"name"`
// Emails to attach to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Show uptime
ShowUptime *bool `json:"show_uptime"`
// Show uptime over x days
ShowUptimeLastDays *NewFunctionalityDataAttributesShowUptimeLastDays `json:"show_uptime_last_days"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The status of the functionality
Status *NewFunctionalityDataAttributesStatus `json:"status,omitempty"`
} `json:"attributes"`
Type NewFunctionalityDataType `json:"type"`
} `json:"data"`
}
NewFunctionality defines model for new_functionality.
type NewFunctionalityDataAttributesShowUptimeLastDays ¶ added in v0.1.56
type NewFunctionalityDataAttributesShowUptimeLastDays int
Show uptime over x days
const ( NewFunctionalityDataAttributesShowUptimeLastDaysN30 NewFunctionalityDataAttributesShowUptimeLastDays = 30 NewFunctionalityDataAttributesShowUptimeLastDaysN60 NewFunctionalityDataAttributesShowUptimeLastDays = 60 NewFunctionalityDataAttributesShowUptimeLastDaysN90 NewFunctionalityDataAttributesShowUptimeLastDays = 90 )
Defines values for NewFunctionalityDataAttributesShowUptimeLastDays.
type NewFunctionalityDataAttributesStatus ¶ added in v0.1.83
type NewFunctionalityDataAttributesStatus string
The status of the functionality
const ( NewFunctionalityDataAttributesStatusImpacted NewFunctionalityDataAttributesStatus = "impacted" NewFunctionalityDataAttributesStatusMajorOutage NewFunctionalityDataAttributesStatus = "major_outage" NewFunctionalityDataAttributesStatusOperational NewFunctionalityDataAttributesStatus = "operational" NewFunctionalityDataAttributesStatusOutage NewFunctionalityDataAttributesStatus = "outage" NewFunctionalityDataAttributesStatusPartialOutage NewFunctionalityDataAttributesStatus = "partial_outage" )
Defines values for NewFunctionalityDataAttributesStatus.
type NewFunctionalityDataType ¶
type NewFunctionalityDataType string
NewFunctionalityDataType defines model for NewFunctionality.Data.Type.
const (
NewFunctionalityDataTypeFunctionalities NewFunctionalityDataType = "functionalities"
)
Defines values for NewFunctionalityDataType.
type NewIncident ¶
type NewIncident struct {
Data struct {
Attributes struct {
// Date of acknowledgment
AcknowledgedAt *string `json:"acknowledged_at"`
// Date of cancellation
CancelledAt *string `json:"cancelled_at"`
// Date of detection
DetectedAt *string `json:"detected_at"`
// The Environment ID's to attach to the incident
EnvironmentIds *[]string `json:"environment_ids"`
// The Functionality ID's to attach to the incident
FunctionalityIds *[]string `json:"functionality_ids"`
// The Team ID's to attach to the incident
GroupIds *[]string `json:"group_ids"`
// Date of triage
InTriageAt *string `json:"in_triage_at"`
// The Incident Type ID's to attach to the incident
IncidentTypeIds *[]string `json:"incident_type_ids"`
// The kind of the incident
Kind *NewIncidentDataAttributesKind `json:"kind"`
// Labels to attach to the incidents. eg: {"platform":"osx", "version": "1.29"}
Labels *map[string]interface{} `json:"labels"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// Emails you want to notify
NotifyEmails *[]string `json:"notify_emails"`
// ID of parent incident
ParentIncidentId *string `json:"parent_incident_id"`
// Create an incident as private. Once an incident is made as private it cannot be undone
Private *bool `json:"private"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Date of when the maintenance begins
ScheduledFor *string `json:"scheduled_for"`
// Date of when the maintenance ends
ScheduledUntil *string `json:"scheduled_until"`
// The Service ID's to attach to the incident
ServiceIds *[]string `json:"service_ids"`
// The Severity ID to attach to the incident
SeverityId *string `json:"severity_id"`
// Slack channel name
SlackChannelName *string `json:"slack_channel_name"`
// Date of start
StartedAt *string `json:"started_at"`
// The status of the incident event
Status *NewIncidentDataAttributesStatus `json:"status,omitempty"`
// The summary of the incident
Summary *string `json:"summary"`
// The title of the incident. We will autogenerate one if null
Title *string `json:"title"`
// The url to the incident
Url *string `json:"url,omitempty"`
// User ID of the creator of the incident. Default to the user attached to the Api Key
UserId *string `json:"user_id"`
} `json:"attributes"`
Type NewIncidentDataType `json:"type"`
} `json:"data"`
}
NewIncident defines model for new_incident.
type NewIncidentActionItem ¶
type NewIncidentActionItem struct {
Data struct {
Attributes struct {
// The description of the action item
Description *string `json:"description"`
// The due date of the action item
DueDate *string `json:"due_date"`
// The kind of the action item
Kind *NewIncidentActionItemDataAttributesKind `json:"kind,omitempty"`
// The priority of the action item
Priority *NewIncidentActionItemDataAttributesPriority `json:"priority,omitempty"`
// The status of the action item
Status *NewIncidentActionItemDataAttributesStatus `json:"status,omitempty"`
// The summary of the action item
Summary string `json:"summary"`
} `json:"attributes"`
Type NewIncidentActionItemDataType `json:"type"`
} `json:"data"`
}
NewIncidentActionItem defines model for new_incident_action_item.
type NewIncidentActionItemDataAttributesKind ¶
type NewIncidentActionItemDataAttributesKind string
The kind of the action item
const ( NewIncidentActionItemDataAttributesKindFollowUp NewIncidentActionItemDataAttributesKind = "follow_up" NewIncidentActionItemDataAttributesKindTask NewIncidentActionItemDataAttributesKind = "task" )
Defines values for NewIncidentActionItemDataAttributesKind.
type NewIncidentActionItemDataAttributesPriority ¶
type NewIncidentActionItemDataAttributesPriority string
The priority of the action item
const ( NewIncidentActionItemDataAttributesPriorityHigh NewIncidentActionItemDataAttributesPriority = "high" NewIncidentActionItemDataAttributesPriorityLow NewIncidentActionItemDataAttributesPriority = "low" NewIncidentActionItemDataAttributesPriorityMedium NewIncidentActionItemDataAttributesPriority = "medium" )
Defines values for NewIncidentActionItemDataAttributesPriority.
type NewIncidentActionItemDataAttributesStatus ¶
type NewIncidentActionItemDataAttributesStatus string
The status of the action item
const ( NewIncidentActionItemDataAttributesStatusCancelled NewIncidentActionItemDataAttributesStatus = "cancelled" NewIncidentActionItemDataAttributesStatusDone NewIncidentActionItemDataAttributesStatus = "done" NewIncidentActionItemDataAttributesStatusInProgress NewIncidentActionItemDataAttributesStatus = "in_progress" NewIncidentActionItemDataAttributesStatusOpen NewIncidentActionItemDataAttributesStatus = "open" )
Defines values for NewIncidentActionItemDataAttributesStatus.
type NewIncidentActionItemDataType ¶
type NewIncidentActionItemDataType string
NewIncidentActionItemDataType defines model for NewIncidentActionItem.Data.Type.
const (
NewIncidentActionItemDataTypeIncidentActionItems NewIncidentActionItemDataType = "incident_action_items"
)
Defines values for NewIncidentActionItemDataType.
type NewIncidentCustomFieldSelection ¶
type NewIncidentCustomFieldSelection struct {
Data struct {
Attributes struct {
// The custom field for this selection
CustomFieldId float32 `json:"custom_field_id"`
SelectedOptionIds *[]float32 `json:"selected_option_ids,omitempty"`
// The selected value for text kind custom fields
Value *string `json:"value"`
} `json:"attributes"`
Type NewIncidentCustomFieldSelectionDataType `json:"type"`
} `json:"data"`
}
NewIncidentCustomFieldSelection defines model for new_incident_custom_field_selection.
type NewIncidentCustomFieldSelectionDataType ¶
type NewIncidentCustomFieldSelectionDataType string
NewIncidentCustomFieldSelectionDataType defines model for NewIncidentCustomFieldSelection.Data.Type.
const (
NewIncidentCustomFieldSelectionDataTypeIncidentCustomFieldSelections NewIncidentCustomFieldSelectionDataType = "incident_custom_field_selections"
)
Defines values for NewIncidentCustomFieldSelectionDataType.
type NewIncidentDataAttributesKind ¶
type NewIncidentDataAttributesKind string
The kind of the incident
const ( NewIncidentDataAttributesKindBackfilled NewIncidentDataAttributesKind = "backfilled" NewIncidentDataAttributesKindExample NewIncidentDataAttributesKind = "example" NewIncidentDataAttributesKindExampleSub NewIncidentDataAttributesKind = "example_sub" NewIncidentDataAttributesKindNormal NewIncidentDataAttributesKind = "normal" NewIncidentDataAttributesKindNormalSub NewIncidentDataAttributesKind = "normal_sub" NewIncidentDataAttributesKindScheduled NewIncidentDataAttributesKind = "scheduled" NewIncidentDataAttributesKindTest NewIncidentDataAttributesKind = "test" NewIncidentDataAttributesKindTestSub NewIncidentDataAttributesKind = "test_sub" )
Defines values for NewIncidentDataAttributesKind.
type NewIncidentDataAttributesStatus ¶
type NewIncidentDataAttributesStatus string
The status of the incident event
const ( NewIncidentDataAttributesStatusAcknowledged NewIncidentDataAttributesStatus = "acknowledged" NewIncidentDataAttributesStatusCancelled NewIncidentDataAttributesStatus = "cancelled" NewIncidentDataAttributesStatusCompleted NewIncidentDataAttributesStatus = "completed" NewIncidentDataAttributesStatusDetected NewIncidentDataAttributesStatus = "detected" NewIncidentDataAttributesStatusInProgress NewIncidentDataAttributesStatus = "in_progress" NewIncidentDataAttributesStatusInTriage NewIncidentDataAttributesStatus = "in_triage" NewIncidentDataAttributesStatusMitigated NewIncidentDataAttributesStatus = "mitigated" NewIncidentDataAttributesStatusResolved NewIncidentDataAttributesStatus = "resolved" NewIncidentDataAttributesStatusScheduled NewIncidentDataAttributesStatus = "scheduled" NewIncidentDataAttributesStatusStarted NewIncidentDataAttributesStatus = "started" )
Defines values for NewIncidentDataAttributesStatus.
type NewIncidentDataType ¶
type NewIncidentDataType string
NewIncidentDataType defines model for NewIncident.Data.Type.
const (
NewIncidentDataTypeIncidents NewIncidentDataType = "incidents"
)
Defines values for NewIncidentDataType.
type NewIncidentEvent ¶
type NewIncidentEvent struct {
Data struct {
Attributes struct {
// The summary of the incident event
Event string `json:"event"`
// The visibility of the incident action item
Visibility *NewIncidentEventDataAttributesVisibility `json:"visibility,omitempty"`
} `json:"attributes"`
Type NewIncidentEventDataType `json:"type"`
} `json:"data"`
}
NewIncidentEvent defines model for new_incident_event.
type NewIncidentEventDataAttributesVisibility ¶
type NewIncidentEventDataAttributesVisibility string
The visibility of the incident action item
const ( NewIncidentEventDataAttributesVisibilityExternal NewIncidentEventDataAttributesVisibility = "external" NewIncidentEventDataAttributesVisibilityInternal NewIncidentEventDataAttributesVisibility = "internal" )
Defines values for NewIncidentEventDataAttributesVisibility.
type NewIncidentEventDataType ¶
type NewIncidentEventDataType string
NewIncidentEventDataType defines model for NewIncidentEvent.Data.Type.
const (
NewIncidentEventDataTypeIncidentEvents NewIncidentEventDataType = "incident_events"
)
Defines values for NewIncidentEventDataType.
type NewIncidentEventFunctionality ¶ added in v0.1.70
type NewIncidentEventFunctionality struct {
Data struct {
Attributes struct {
// The ID of the functionality.
FunctionalityId string `json:"functionality_id"`
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The status of the affected functionality
Status NewIncidentEventFunctionalityDataAttributesStatus `json:"status"`
} `json:"attributes"`
Type NewIncidentEventFunctionalityDataType `json:"type"`
} `json:"data"`
}
NewIncidentEventFunctionality defines model for new_incident_event_functionality.
type NewIncidentEventFunctionalityDataAttributesStatus ¶ added in v0.1.70
type NewIncidentEventFunctionalityDataAttributesStatus string
The status of the affected functionality
const ( NewIncidentEventFunctionalityDataAttributesStatusMajorOutage NewIncidentEventFunctionalityDataAttributesStatus = "major_outage" NewIncidentEventFunctionalityDataAttributesStatusOperational NewIncidentEventFunctionalityDataAttributesStatus = "operational" NewIncidentEventFunctionalityDataAttributesStatusPartialOutage NewIncidentEventFunctionalityDataAttributesStatus = "partial_outage" )
Defines values for NewIncidentEventFunctionalityDataAttributesStatus.
type NewIncidentEventFunctionalityDataType ¶ added in v0.1.70
type NewIncidentEventFunctionalityDataType string
NewIncidentEventFunctionalityDataType defines model for NewIncidentEventFunctionality.Data.Type.
const (
NewIncidentEventFunctionalityDataTypeIncidentEventFunctionalities NewIncidentEventFunctionalityDataType = "incident_event_functionalities"
)
Defines values for NewIncidentEventFunctionalityDataType.
type NewIncidentEventService ¶ added in v0.1.70
type NewIncidentEventService struct {
Data struct {
Attributes struct {
// The ID of the incident event.
IncidentEventId string `json:"incident_event_id"`
// The ID of the service.
ServiceId string `json:"service_id"`
// The status of the affected service
Status NewIncidentEventServiceDataAttributesStatus `json:"status"`
} `json:"attributes"`
Type NewIncidentEventServiceDataType `json:"type"`
} `json:"data"`
}
NewIncidentEventService defines model for new_incident_event_service.
type NewIncidentEventServiceDataAttributesStatus ¶ added in v0.1.70
type NewIncidentEventServiceDataAttributesStatus string
The status of the affected service
const ( NewIncidentEventServiceDataAttributesStatusMajorOutage NewIncidentEventServiceDataAttributesStatus = "major_outage" NewIncidentEventServiceDataAttributesStatusOperational NewIncidentEventServiceDataAttributesStatus = "operational" NewIncidentEventServiceDataAttributesStatusPartialOutage NewIncidentEventServiceDataAttributesStatus = "partial_outage" )
Defines values for NewIncidentEventServiceDataAttributesStatus.
type NewIncidentEventServiceDataType ¶ added in v0.1.70
type NewIncidentEventServiceDataType string
NewIncidentEventServiceDataType defines model for NewIncidentEventService.Data.Type.
const (
NewIncidentEventServiceDataTypeIncidentEventServices NewIncidentEventServiceDataType = "incident_event_services"
)
Defines values for NewIncidentEventServiceDataType.
type NewIncidentFeedback ¶
type NewIncidentFeedback struct {
Data struct {
Attributes struct {
// Is the feedback anonymous?
Anonymous *bool `json:"anonymous,omitempty"`
// The feedback of the incident feedback
Feedback string `json:"feedback"`
// The rating of the incident feedback
Rating NewIncidentFeedbackDataAttributesRating `json:"rating"`
} `json:"attributes"`
Type NewIncidentFeedbackDataType `json:"type"`
} `json:"data"`
}
NewIncidentFeedback defines model for new_incident_feedback.
type NewIncidentFeedbackDataAttributesRating ¶
type NewIncidentFeedbackDataAttributesRating int
The rating of the incident feedback
const ( NewIncidentFeedbackDataAttributesRatingN0 NewIncidentFeedbackDataAttributesRating = 0 NewIncidentFeedbackDataAttributesRatingN1 NewIncidentFeedbackDataAttributesRating = 1 NewIncidentFeedbackDataAttributesRatingN2 NewIncidentFeedbackDataAttributesRating = 2 NewIncidentFeedbackDataAttributesRatingN3 NewIncidentFeedbackDataAttributesRating = 3 NewIncidentFeedbackDataAttributesRatingN4 NewIncidentFeedbackDataAttributesRating = 4 )
Defines values for NewIncidentFeedbackDataAttributesRating.
type NewIncidentFeedbackDataType ¶
type NewIncidentFeedbackDataType string
NewIncidentFeedbackDataType defines model for NewIncidentFeedback.Data.Type.
const (
NewIncidentFeedbackDataTypeIncidentFeedbacks NewIncidentFeedbackDataType = "incident_feedbacks"
)
Defines values for NewIncidentFeedbackDataType.
type NewIncidentFormFieldSelection ¶ added in v0.1.48
type NewIncidentFormFieldSelection struct {
Data struct {
Attributes struct {
// The custom field for this selection
FormFieldId string `json:"form_field_id"`
IncidentId string `json:"incident_id"`
SelectedOptionIds *[]string `json:"selected_option_ids,omitempty"`
SelectedUserIds *[]float32 `json:"selected_user_ids,omitempty"`
// The selected value for text kind custom fields
Value *string `json:"value"`
} `json:"attributes"`
Type NewIncidentFormFieldSelectionDataType `json:"type"`
} `json:"data"`
}
NewIncidentFormFieldSelection defines model for new_incident_form_field_selection.
type NewIncidentFormFieldSelectionDataType ¶ added in v0.1.48
type NewIncidentFormFieldSelectionDataType string
NewIncidentFormFieldSelectionDataType defines model for NewIncidentFormFieldSelection.Data.Type.
const (
NewIncidentFormFieldSelectionDataTypeIncidentFormFieldSelections NewIncidentFormFieldSelectionDataType = "incident_form_field_selections"
)
Defines values for NewIncidentFormFieldSelectionDataType.
type NewIncidentRole ¶
type NewIncidentRole struct {
Data struct {
Attributes struct {
AllowMultiUserAssignment *bool `json:"allow_multi_user_assignment,omitempty"`
// The description of the incident role
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
// The name of the incident role
Name string `json:"name"`
Optional *bool `json:"optional,omitempty"`
// Position of the incident role
Position *int `json:"position"`
// The summary of the incident role
Summary *string `json:"summary"`
} `json:"attributes"`
Type NewIncidentRoleDataType `json:"type"`
} `json:"data"`
}
NewIncidentRole defines model for new_incident_role.
type NewIncidentRoleDataType ¶
type NewIncidentRoleDataType string
NewIncidentRoleDataType defines model for NewIncidentRole.Data.Type.
const (
NewIncidentRoleDataTypeIncidentRoles NewIncidentRoleDataType = "incident_roles"
)
Defines values for NewIncidentRoleDataType.
type NewIncidentRoleTask ¶
type NewIncidentRoleTask struct {
Data struct {
Attributes struct {
// The description of the incident task
Description *string `json:"description"`
IncidentRoleId *string `json:"incident_role_id,omitempty"`
// The priority of the incident task
Priority *NewIncidentRoleTaskDataAttributesPriority `json:"priority,omitempty"`
// The task of the incident task
Task string `json:"task"`
} `json:"attributes"`
Type NewIncidentRoleTaskDataType `json:"type"`
} `json:"data"`
}
NewIncidentRoleTask defines model for new_incident_role_task.
type NewIncidentRoleTaskDataAttributesPriority ¶
type NewIncidentRoleTaskDataAttributesPriority string
The priority of the incident task
const ( NewIncidentRoleTaskDataAttributesPriorityHigh NewIncidentRoleTaskDataAttributesPriority = "high" NewIncidentRoleTaskDataAttributesPriorityLow NewIncidentRoleTaskDataAttributesPriority = "low" NewIncidentRoleTaskDataAttributesPriorityMedium NewIncidentRoleTaskDataAttributesPriority = "medium" )
Defines values for NewIncidentRoleTaskDataAttributesPriority.
type NewIncidentRoleTaskDataType ¶
type NewIncidentRoleTaskDataType string
NewIncidentRoleTaskDataType defines model for NewIncidentRoleTask.Data.Type.
const (
NewIncidentRoleTaskDataTypeIncidentRoleTasks NewIncidentRoleTaskDataType = "incident_role_tasks"
)
Defines values for NewIncidentRoleTaskDataType.
type NewIncidentStatusPageEvent ¶
type NewIncidentStatusPageEvent struct {
Data struct {
Attributes struct {
// The summary of the incident event
Event string `json:"event"`
// Notify all status pages subscribers
NotifySubscribers *bool `json:"notify_subscribers"`
// For StatusPage.io integrated pages auto publishes a tweet for your update
ShouldTweet *bool `json:"should_tweet"`
// The status of the incident event
Status *NewIncidentStatusPageEventDataAttributesStatus `json:"status,omitempty"`
// Unique ID of the status page you wish to post the event to
StatusPageId *string `json:"status_page_id,omitempty"`
} `json:"attributes"`
Type NewIncidentStatusPageEventDataType `json:"type"`
} `json:"data"`
}
NewIncidentStatusPageEvent defines model for new_incident_status_page_event.
type NewIncidentStatusPageEventDataAttributesStatus ¶
type NewIncidentStatusPageEventDataAttributesStatus string
The status of the incident event
const ( NewIncidentStatusPageEventDataAttributesStatusCompleted NewIncidentStatusPageEventDataAttributesStatus = "completed" NewIncidentStatusPageEventDataAttributesStatusIdentified NewIncidentStatusPageEventDataAttributesStatus = "identified" NewIncidentStatusPageEventDataAttributesStatusInProgress NewIncidentStatusPageEventDataAttributesStatus = "in_progress" NewIncidentStatusPageEventDataAttributesStatusInvestigating NewIncidentStatusPageEventDataAttributesStatus = "investigating" NewIncidentStatusPageEventDataAttributesStatusMonitoring NewIncidentStatusPageEventDataAttributesStatus = "monitoring" NewIncidentStatusPageEventDataAttributesStatusResolved NewIncidentStatusPageEventDataAttributesStatus = "resolved" NewIncidentStatusPageEventDataAttributesStatusScheduled NewIncidentStatusPageEventDataAttributesStatus = "scheduled" NewIncidentStatusPageEventDataAttributesStatusVerifying NewIncidentStatusPageEventDataAttributesStatus = "verifying" )
Defines values for NewIncidentStatusPageEventDataAttributesStatus.
type NewIncidentStatusPageEventDataType ¶
type NewIncidentStatusPageEventDataType string
NewIncidentStatusPageEventDataType defines model for NewIncidentStatusPageEvent.Data.Type.
const (
NewIncidentStatusPageEventDataTypeIncidentStatusPageEvents NewIncidentStatusPageEventDataType = "incident_status_page_events"
)
Defines values for NewIncidentStatusPageEventDataType.
type NewIncidentType ¶
type NewIncidentType struct {
Data struct {
Attributes struct {
// The hex color of the incident type
Color *string `json:"color"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name string `json:"name"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
} `json:"attributes"`
Type NewIncidentTypeDataType `json:"type"`
} `json:"data"`
}
NewIncidentType defines model for new_incident_type.
type NewIncidentTypeDataType ¶
type NewIncidentTypeDataType string
NewIncidentTypeDataType defines model for NewIncidentType.Data.Type.
const (
NewIncidentTypeDataTypeIncidentTypes NewIncidentTypeDataType = "incident_types"
)
Defines values for NewIncidentTypeDataType.
type NewPlaybook ¶
type NewPlaybook struct {
Data struct {
Attributes struct {
// The Environment ID's to attach to the incident
EnvironmentIds *[]string `json:"environment_ids"`
// The external url of the playbook
ExternalUrl *string `json:"external_url"`
// The Functionality ID's to attach to the incident
FunctionalityIds *[]string `json:"functionality_ids"`
// The Team ID's to attach to the incident
GroupIds *[]string `json:"group_ids"`
// The Incident Type ID's to attach to the incident
IncidentTypeIds *[]string `json:"incident_type_ids"`
// The Service ID's to attach to the incident
ServiceIds *[]string `json:"service_ids"`
// The Severity ID's to attach to the incident
SeverityIds *[]string `json:"severity_ids"`
// The summary of the playbook
Summary *string `json:"summary"`
// The title of the playbook
Title string `json:"title"`
} `json:"attributes"`
Type NewPlaybookDataType `json:"type"`
} `json:"data"`
}
NewPlaybook defines model for new_playbook.
type NewPlaybookDataType ¶
type NewPlaybookDataType string
NewPlaybookDataType defines model for NewPlaybook.Data.Type.
const (
NewPlaybookDataTypePlaybooks NewPlaybookDataType = "playbooks"
)
Defines values for NewPlaybookDataType.
type NewPlaybookTask ¶
type NewPlaybookTask struct {
Data struct {
Attributes struct {
// The description of the incident task
Description *string `json:"description"`
// The task of the incident task
Task string `json:"task"`
} `json:"attributes"`
Type NewPlaybookTaskDataType `json:"type"`
} `json:"data"`
}
NewPlaybookTask defines model for new_playbook_task.
type NewPlaybookTaskDataType ¶
type NewPlaybookTaskDataType string
NewPlaybookTaskDataType defines model for NewPlaybookTask.Data.Type.
const (
NewPlaybookTaskDataTypePlaybookTasks NewPlaybookTaskDataType = "playbook_tasks"
)
Defines values for NewPlaybookTaskDataType.
type NewPostMortemTemplate ¶
type NewPostMortemTemplate struct {
Data struct {
Attributes struct {
// The postmortem template. Liquid syntax is supported
Content string `json:"content"`
// Default selected template when editing a postmortem
Default *bool `json:"default"`
// The format of the input
Format *NewPostMortemTemplateDataAttributesFormat `json:"format"`
// The name of the postmortem template
Name string `json:"name"`
} `json:"attributes"`
Type NewPostMortemTemplateDataType `json:"type"`
} `json:"data"`
}
NewPostMortemTemplate defines model for new_post_mortem_template.
type NewPostMortemTemplateDataAttributesFormat ¶ added in v0.1.71
type NewPostMortemTemplateDataAttributesFormat string
The format of the input
const ( NewPostMortemTemplateDataAttributesFormatHtml NewPostMortemTemplateDataAttributesFormat = "html" NewPostMortemTemplateDataAttributesFormatMarkdown NewPostMortemTemplateDataAttributesFormat = "markdown" )
Defines values for NewPostMortemTemplateDataAttributesFormat.
type NewPostMortemTemplateDataType ¶
type NewPostMortemTemplateDataType string
NewPostMortemTemplateDataType defines model for NewPostMortemTemplate.Data.Type.
const (
NewPostMortemTemplateDataTypePostMortemTemplates NewPostMortemTemplateDataType = "post_mortem_templates"
)
Defines values for NewPostMortemTemplateDataType.
type NewPulse ¶
type NewPulse struct {
Data struct {
Attributes struct {
// Additional data
Data *map[string]interface{} `json:"data"`
// Pulse end datetime
EndedAt *time.Time `json:"ended_at"`
// The Environment ID's to attach to the pulse
EnvironmentIds *[]string `json:"environment_ids"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
Refs *[]struct {
// Key of the ref
Key string `json:"key"`
// Value of the ref
Value string `json:"value"`
} `json:"refs,omitempty"`
// The Service ID's to attach to the pulse
ServiceIds *[]string `json:"service_ids"`
// The source of the pulse (eg: k8s)
Source *string `json:"source"`
// Pulse start datetime
StartedAt *time.Time `json:"started_at"`
// The summary of the pulse
Summary string `json:"summary"`
} `json:"attributes"`
Type NewPulseDataType `json:"type"`
} `json:"data"`
}
NewPulse defines model for new_pulse.
type NewPulseDataType ¶
type NewPulseDataType string
NewPulseDataType defines model for NewPulse.Data.Type.
const (
NewPulseDataTypePulses NewPulseDataType = "pulses"
)
Defines values for NewPulseDataType.
type NewRetrospectiveStep ¶ added in v1.1.7
type NewRetrospectiveStep struct {
Data struct {
Attributes struct {
// The description of the step
Description *string `json:"description"`
// Due date in days
DueAfterDays *int `json:"due_after_days"`
// Users assigned to the selected incident role will be the default owners for this step
IncidentRoleId *string `json:"incident_role_id"`
// Position of the step
Position *int `json:"position"`
// Is the step skippable?
Skippable *bool `json:"skippable,omitempty"`
// The name of the step
Title string `json:"title"`
} `json:"attributes"`
Type NewRetrospectiveStepDataType `json:"type"`
} `json:"data"`
}
NewRetrospectiveStep defines model for new_retrospective_step.
type NewRetrospectiveStepDataType ¶ added in v1.1.7
type NewRetrospectiveStepDataType string
NewRetrospectiveStepDataType defines model for NewRetrospectiveStep.Data.Type.
const (
NewRetrospectiveStepDataTypeRetrospectiveSteps NewRetrospectiveStepDataType = "retrospective_steps"
)
Defines values for NewRetrospectiveStepDataType.
type NewSecret ¶ added in v0.1.58
type NewSecret struct {
Data struct {
Attributes struct {
// The HashiCorp Vault secret mount path
HashicorpVaultMount *string `json:"hashicorp_vault_mount"`
// The HashiCorp Vault secret path
HashicorpVaultPath *string `json:"hashicorp_vault_path"`
// The HashiCorp Vault secret version
HashicorpVaultVersion *string `json:"hashicorp_vault_version"`
// The kind of the secret
Kind *NewSecretDataAttributesKind `json:"kind,omitempty"`
// The name of the secret
Name string `json:"name"`
// The secret
Secret string `json:"secret"`
} `json:"attributes"`
Type NewSecretDataType `json:"type"`
} `json:"data"`
}
NewSecret defines model for new_secret.
type NewSecretDataAttributesKind ¶ added in v0.1.82
type NewSecretDataAttributesKind string
The kind of the secret
const ( BuiltIn NewSecretDataAttributesKind = "built_in" HashicorpVault NewSecretDataAttributesKind = "hashicorp_vault" )
Defines values for NewSecretDataAttributesKind.
type NewSecretDataType ¶ added in v0.1.58
type NewSecretDataType string
NewSecretDataType defines model for NewSecret.Data.Type.
const (
NewSecretDataTypeSecrets NewSecretDataType = "secrets"
)
Defines values for NewSecretDataType.
type NewService ¶
type NewService struct {
Data struct {
Attributes struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails to attach to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Show uptime
ShowUptime *bool `json:"show_uptime"`
// Show uptime over x days
ShowUptimeLastDays *NewServiceDataAttributesShowUptimeLastDays `json:"show_uptime_last_days"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The status of the service
Status *NewServiceDataAttributesStatus `json:"status,omitempty"`
} `json:"attributes"`
Type NewServiceDataType `json:"type"`
} `json:"data"`
}
NewService defines model for new_service.
type NewServiceDataAttributesShowUptimeLastDays ¶ added in v0.1.56
type NewServiceDataAttributesShowUptimeLastDays int
Show uptime over x days
const ( NewServiceDataAttributesShowUptimeLastDaysN30 NewServiceDataAttributesShowUptimeLastDays = 30 NewServiceDataAttributesShowUptimeLastDaysN60 NewServiceDataAttributesShowUptimeLastDays = 60 NewServiceDataAttributesShowUptimeLastDaysN90 NewServiceDataAttributesShowUptimeLastDays = 90 )
Defines values for NewServiceDataAttributesShowUptimeLastDays.
type NewServiceDataAttributesStatus ¶ added in v0.1.83
type NewServiceDataAttributesStatus string
The status of the service
const ( NewServiceDataAttributesStatusImpacted NewServiceDataAttributesStatus = "impacted" NewServiceDataAttributesStatusMajorOutage NewServiceDataAttributesStatus = "major_outage" NewServiceDataAttributesStatusOperational NewServiceDataAttributesStatus = "operational" NewServiceDataAttributesStatusOutage NewServiceDataAttributesStatus = "outage" NewServiceDataAttributesStatusPartialOutage NewServiceDataAttributesStatus = "partial_outage" )
Defines values for NewServiceDataAttributesStatus.
type NewServiceDataType ¶
type NewServiceDataType string
NewServiceDataType defines model for NewService.Data.Type.
const (
NewServiceDataTypeServices NewServiceDataType = "services"
)
Defines values for NewServiceDataType.
type NewSeverity ¶
type NewSeverity struct {
Data struct {
Attributes struct {
// The hex color of the severity
Color *string `json:"color"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name string `json:"name"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *NewSeverityDataAttributesSeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
} `json:"attributes"`
Type NewSeverityDataType `json:"type"`
} `json:"data"`
}
NewSeverity defines model for new_severity.
type NewSeverityDataAttributesSeverity ¶
type NewSeverityDataAttributesSeverity string
The severity of the severity
const ( NewSeverityDataAttributesSeverityCritical NewSeverityDataAttributesSeverity = "critical" NewSeverityDataAttributesSeverityHigh NewSeverityDataAttributesSeverity = "high" NewSeverityDataAttributesSeverityLow NewSeverityDataAttributesSeverity = "low" NewSeverityDataAttributesSeverityMedium NewSeverityDataAttributesSeverity = "medium" )
Defines values for NewSeverityDataAttributesSeverity.
type NewSeverityDataType ¶
type NewSeverityDataType string
NewSeverityDataType defines model for NewSeverity.Data.Type.
const (
NewSeverityDataTypeSeverities NewSeverityDataType = "severities"
)
Defines values for NewSeverityDataType.
type NewStatusPage ¶
type NewStatusPage struct {
Data struct {
Attributes struct {
// Allow search engines to include your public status page in search results
AllowSearchEngineIndex *bool `json:"allow_search_engine_index"`
// Enable authentication
AuthenticationEnabled *bool `json:"authentication_enabled"`
// Authentication password
AuthenticationPassword *string `json:"authentication_password"`
// The description of the status page
Description *string `json:"description"`
// Enabled / Disable the status page
Enabled *bool `json:"enabled"`
// Message showing when at least one component is not operational
FailureMessage *string `json:"failure_message"`
// The color of the footer. Eg. "#1F2F41"
FooterColor *string `json:"footer_color"`
// Functionalities attached to the status page
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
// Google Analytics tracking ID
GaTrackingId *string `json:"ga_tracking_id"`
// The color of the header. Eg. "#0061F2"
HeaderColor *string `json:"header_color"`
// Make the status page accessible to the public
Public *bool `json:"public"`
// The public title of the status page
PublicTitle *string `json:"public_title,omitempty"`
// Services attached to the status page
ServiceIds *[]string `json:"service_ids,omitempty"`
// Show uptime
ShowUptime *bool `json:"show_uptime"`
// Show uptime over x days
ShowUptimeLastDays *NewStatusPageDataAttributesShowUptimeLastDays `json:"show_uptime_last_days"`
// Message showing when all components are operational
SuccessMessage *string `json:"success_message"`
// Status Page Timezone
TimeZone *NewStatusPageDataAttributesTimeZone `json:"time_zone"`
// The title of the status page
Title string `json:"title"`
// Website Privacy URL
WebsitePrivacyUrl *string `json:"website_privacy_url"`
// Website Support URL
WebsiteSupportUrl *string `json:"website_support_url"`
// Website URL
WebsiteUrl *string `json:"website_url"`
} `json:"attributes"`
Type NewStatusPageDataType `json:"type"`
} `json:"data"`
}
NewStatusPage defines model for new_status_page.
type NewStatusPageDataAttributesShowUptimeLastDays ¶
type NewStatusPageDataAttributesShowUptimeLastDays int
Show uptime over x days
const ( NewStatusPageDataAttributesShowUptimeLastDaysN180 NewStatusPageDataAttributesShowUptimeLastDays = 180 NewStatusPageDataAttributesShowUptimeLastDaysN30 NewStatusPageDataAttributesShowUptimeLastDays = 30 NewStatusPageDataAttributesShowUptimeLastDaysN360 NewStatusPageDataAttributesShowUptimeLastDays = 360 NewStatusPageDataAttributesShowUptimeLastDaysN60 NewStatusPageDataAttributesShowUptimeLastDays = 60 NewStatusPageDataAttributesShowUptimeLastDaysN90 NewStatusPageDataAttributesShowUptimeLastDays = 90 )
Defines values for NewStatusPageDataAttributesShowUptimeLastDays.
type NewStatusPageDataAttributesTimeZone ¶ added in v0.1.96
type NewStatusPageDataAttributesTimeZone string
Status Page Timezone
const ( NewStatusPageDataAttributesTimeZoneAbuDhabi NewStatusPageDataAttributesTimeZone = "Abu Dhabi" NewStatusPageDataAttributesTimeZoneAdelaide NewStatusPageDataAttributesTimeZone = "Adelaide" NewStatusPageDataAttributesTimeZoneAlaska NewStatusPageDataAttributesTimeZone = "Alaska" NewStatusPageDataAttributesTimeZoneAlmaty NewStatusPageDataAttributesTimeZone = "Almaty" NewStatusPageDataAttributesTimeZoneAmericanSamoa NewStatusPageDataAttributesTimeZone = "American Samoa" NewStatusPageDataAttributesTimeZoneAmsterdam NewStatusPageDataAttributesTimeZone = "Amsterdam" NewStatusPageDataAttributesTimeZoneArizona NewStatusPageDataAttributesTimeZone = "Arizona" NewStatusPageDataAttributesTimeZoneAstana NewStatusPageDataAttributesTimeZone = "Astana" NewStatusPageDataAttributesTimeZoneAthens NewStatusPageDataAttributesTimeZone = "Athens" NewStatusPageDataAttributesTimeZoneAtlanticTimeCanada NewStatusPageDataAttributesTimeZone = "Atlantic Time (Canada)" NewStatusPageDataAttributesTimeZoneAuckland NewStatusPageDataAttributesTimeZone = "Auckland" NewStatusPageDataAttributesTimeZoneAzores NewStatusPageDataAttributesTimeZone = "Azores" NewStatusPageDataAttributesTimeZoneBaghdad NewStatusPageDataAttributesTimeZone = "Baghdad" NewStatusPageDataAttributesTimeZoneBaku NewStatusPageDataAttributesTimeZone = "Baku" NewStatusPageDataAttributesTimeZoneBangkok NewStatusPageDataAttributesTimeZone = "Bangkok" NewStatusPageDataAttributesTimeZoneBeijing NewStatusPageDataAttributesTimeZone = "Beijing" NewStatusPageDataAttributesTimeZoneBelgrade NewStatusPageDataAttributesTimeZone = "Belgrade" NewStatusPageDataAttributesTimeZoneBerlin NewStatusPageDataAttributesTimeZone = "Berlin" NewStatusPageDataAttributesTimeZoneBern NewStatusPageDataAttributesTimeZone = "Bern" NewStatusPageDataAttributesTimeZoneBogota NewStatusPageDataAttributesTimeZone = "Bogota" NewStatusPageDataAttributesTimeZoneBrasilia NewStatusPageDataAttributesTimeZone = "Brasilia" NewStatusPageDataAttributesTimeZoneBratislava NewStatusPageDataAttributesTimeZone = "Bratislava" NewStatusPageDataAttributesTimeZoneBrisbane NewStatusPageDataAttributesTimeZone = "Brisbane" NewStatusPageDataAttributesTimeZoneBrussels NewStatusPageDataAttributesTimeZone = "Brussels" NewStatusPageDataAttributesTimeZoneBucharest NewStatusPageDataAttributesTimeZone = "Bucharest" NewStatusPageDataAttributesTimeZoneBudapest NewStatusPageDataAttributesTimeZone = "Budapest" NewStatusPageDataAttributesTimeZoneBuenosAires NewStatusPageDataAttributesTimeZone = "Buenos Aires" NewStatusPageDataAttributesTimeZoneCairo NewStatusPageDataAttributesTimeZone = "Cairo" NewStatusPageDataAttributesTimeZoneCanberra NewStatusPageDataAttributesTimeZone = "Canberra" NewStatusPageDataAttributesTimeZoneCapeVerdeIs NewStatusPageDataAttributesTimeZone = "Cape Verde Is." NewStatusPageDataAttributesTimeZoneCaracas NewStatusPageDataAttributesTimeZone = "Caracas" NewStatusPageDataAttributesTimeZoneCasablanca NewStatusPageDataAttributesTimeZone = "Casablanca" NewStatusPageDataAttributesTimeZoneCentralAmerica NewStatusPageDataAttributesTimeZone = "Central America" NewStatusPageDataAttributesTimeZoneCentralTimeUSCanada NewStatusPageDataAttributesTimeZone = "Central Time (US & Canada)" NewStatusPageDataAttributesTimeZoneChathamIs NewStatusPageDataAttributesTimeZone = "Chatham Is." NewStatusPageDataAttributesTimeZoneChennai NewStatusPageDataAttributesTimeZone = "Chennai" NewStatusPageDataAttributesTimeZoneChihuahua NewStatusPageDataAttributesTimeZone = "Chihuahua" NewStatusPageDataAttributesTimeZoneChongqing NewStatusPageDataAttributesTimeZone = "Chongqing" NewStatusPageDataAttributesTimeZoneCopenhagen NewStatusPageDataAttributesTimeZone = "Copenhagen" NewStatusPageDataAttributesTimeZoneDarwin NewStatusPageDataAttributesTimeZone = "Darwin" NewStatusPageDataAttributesTimeZoneDhaka NewStatusPageDataAttributesTimeZone = "Dhaka" NewStatusPageDataAttributesTimeZoneDublin NewStatusPageDataAttributesTimeZone = "Dublin" NewStatusPageDataAttributesTimeZoneEasternTimeUSCanada NewStatusPageDataAttributesTimeZone = "Eastern Time (US & Canada)" NewStatusPageDataAttributesTimeZoneEdinburgh NewStatusPageDataAttributesTimeZone = "Edinburgh" NewStatusPageDataAttributesTimeZoneEkaterinburg NewStatusPageDataAttributesTimeZone = "Ekaterinburg" NewStatusPageDataAttributesTimeZoneFiji NewStatusPageDataAttributesTimeZone = "Fiji" NewStatusPageDataAttributesTimeZoneGeorgetown NewStatusPageDataAttributesTimeZone = "Georgetown" NewStatusPageDataAttributesTimeZoneGreenland NewStatusPageDataAttributesTimeZone = "Greenland" NewStatusPageDataAttributesTimeZoneGuadalajara NewStatusPageDataAttributesTimeZone = "Guadalajara" NewStatusPageDataAttributesTimeZoneGuam NewStatusPageDataAttributesTimeZone = "Guam" NewStatusPageDataAttributesTimeZoneHanoi NewStatusPageDataAttributesTimeZone = "Hanoi" NewStatusPageDataAttributesTimeZoneHarare NewStatusPageDataAttributesTimeZone = "Harare" NewStatusPageDataAttributesTimeZoneHawaii NewStatusPageDataAttributesTimeZone = "Hawaii" NewStatusPageDataAttributesTimeZoneHelsinki NewStatusPageDataAttributesTimeZone = "Helsinki" NewStatusPageDataAttributesTimeZoneHobart NewStatusPageDataAttributesTimeZone = "Hobart" NewStatusPageDataAttributesTimeZoneHongKong NewStatusPageDataAttributesTimeZone = "Hong Kong" NewStatusPageDataAttributesTimeZoneIndianaEast NewStatusPageDataAttributesTimeZone = "Indiana (East)" NewStatusPageDataAttributesTimeZoneInternationalDateLineWest NewStatusPageDataAttributesTimeZone = "International Date Line West" NewStatusPageDataAttributesTimeZoneIrkutsk NewStatusPageDataAttributesTimeZone = "Irkutsk" NewStatusPageDataAttributesTimeZoneIslamabad NewStatusPageDataAttributesTimeZone = "Islamabad" NewStatusPageDataAttributesTimeZoneIstanbul NewStatusPageDataAttributesTimeZone = "Istanbul" NewStatusPageDataAttributesTimeZoneJakarta NewStatusPageDataAttributesTimeZone = "Jakarta" NewStatusPageDataAttributesTimeZoneJerusalem NewStatusPageDataAttributesTimeZone = "Jerusalem" NewStatusPageDataAttributesTimeZoneKabul NewStatusPageDataAttributesTimeZone = "Kabul" NewStatusPageDataAttributesTimeZoneKaliningrad NewStatusPageDataAttributesTimeZone = "Kaliningrad" NewStatusPageDataAttributesTimeZoneKamchatka NewStatusPageDataAttributesTimeZone = "Kamchatka" NewStatusPageDataAttributesTimeZoneKarachi NewStatusPageDataAttributesTimeZone = "Karachi" NewStatusPageDataAttributesTimeZoneKathmandu NewStatusPageDataAttributesTimeZone = "Kathmandu" NewStatusPageDataAttributesTimeZoneKolkata NewStatusPageDataAttributesTimeZone = "Kolkata" NewStatusPageDataAttributesTimeZoneKrasnoyarsk NewStatusPageDataAttributesTimeZone = "Krasnoyarsk" NewStatusPageDataAttributesTimeZoneKualaLumpur NewStatusPageDataAttributesTimeZone = "Kuala Lumpur" NewStatusPageDataAttributesTimeZoneKuwait NewStatusPageDataAttributesTimeZone = "Kuwait" NewStatusPageDataAttributesTimeZoneKyiv NewStatusPageDataAttributesTimeZone = "Kyiv" NewStatusPageDataAttributesTimeZoneLaPaz NewStatusPageDataAttributesTimeZone = "La Paz" NewStatusPageDataAttributesTimeZoneLima NewStatusPageDataAttributesTimeZone = "Lima" NewStatusPageDataAttributesTimeZoneLisbon NewStatusPageDataAttributesTimeZone = "Lisbon" NewStatusPageDataAttributesTimeZoneLjubljana NewStatusPageDataAttributesTimeZone = "Ljubljana" NewStatusPageDataAttributesTimeZoneLondon NewStatusPageDataAttributesTimeZone = "London" NewStatusPageDataAttributesTimeZoneMadrid NewStatusPageDataAttributesTimeZone = "Madrid" NewStatusPageDataAttributesTimeZoneMagadan NewStatusPageDataAttributesTimeZone = "Magadan" NewStatusPageDataAttributesTimeZoneMarshallIs NewStatusPageDataAttributesTimeZone = "Marshall Is." NewStatusPageDataAttributesTimeZoneMazatlan NewStatusPageDataAttributesTimeZone = "Mazatlan" NewStatusPageDataAttributesTimeZoneMelbourne NewStatusPageDataAttributesTimeZone = "Melbourne" NewStatusPageDataAttributesTimeZoneMexicoCity NewStatusPageDataAttributesTimeZone = "Mexico City" NewStatusPageDataAttributesTimeZoneMidAtlantic NewStatusPageDataAttributesTimeZone = "Mid-Atlantic" NewStatusPageDataAttributesTimeZoneMidwayIsland NewStatusPageDataAttributesTimeZone = "Midway Island" NewStatusPageDataAttributesTimeZoneMinsk NewStatusPageDataAttributesTimeZone = "Minsk" NewStatusPageDataAttributesTimeZoneMonrovia NewStatusPageDataAttributesTimeZone = "Monrovia" NewStatusPageDataAttributesTimeZoneMonterrey NewStatusPageDataAttributesTimeZone = "Monterrey" NewStatusPageDataAttributesTimeZoneMontevideo NewStatusPageDataAttributesTimeZone = "Montevideo" NewStatusPageDataAttributesTimeZoneMoscow NewStatusPageDataAttributesTimeZone = "Moscow" NewStatusPageDataAttributesTimeZoneMountainTimeUSCanada NewStatusPageDataAttributesTimeZone = "Mountain Time (US & Canada)" NewStatusPageDataAttributesTimeZoneMumbai NewStatusPageDataAttributesTimeZone = "Mumbai" NewStatusPageDataAttributesTimeZoneMuscat NewStatusPageDataAttributesTimeZone = "Muscat" NewStatusPageDataAttributesTimeZoneNairobi NewStatusPageDataAttributesTimeZone = "Nairobi" NewStatusPageDataAttributesTimeZoneNewCaledonia NewStatusPageDataAttributesTimeZone = "New Caledonia" NewStatusPageDataAttributesTimeZoneNewDelhi NewStatusPageDataAttributesTimeZone = "New Delhi" NewStatusPageDataAttributesTimeZoneNewfoundland NewStatusPageDataAttributesTimeZone = "Newfoundland" NewStatusPageDataAttributesTimeZoneNovosibirsk NewStatusPageDataAttributesTimeZone = "Novosibirsk" NewStatusPageDataAttributesTimeZoneNukualofa NewStatusPageDataAttributesTimeZone = "Nuku'alofa" NewStatusPageDataAttributesTimeZoneOsaka NewStatusPageDataAttributesTimeZone = "Osaka" NewStatusPageDataAttributesTimeZonePacificTimeUSCanada NewStatusPageDataAttributesTimeZone = "Pacific Time (US & Canada)" NewStatusPageDataAttributesTimeZoneParis NewStatusPageDataAttributesTimeZone = "Paris" NewStatusPageDataAttributesTimeZonePerth NewStatusPageDataAttributesTimeZone = "Perth" NewStatusPageDataAttributesTimeZonePortMoresby NewStatusPageDataAttributesTimeZone = "Port Moresby" NewStatusPageDataAttributesTimeZonePrague NewStatusPageDataAttributesTimeZone = "Prague" NewStatusPageDataAttributesTimeZonePretoria NewStatusPageDataAttributesTimeZone = "Pretoria" NewStatusPageDataAttributesTimeZonePuertoRico NewStatusPageDataAttributesTimeZone = "Puerto Rico" NewStatusPageDataAttributesTimeZoneQuito NewStatusPageDataAttributesTimeZone = "Quito" NewStatusPageDataAttributesTimeZoneRangoon NewStatusPageDataAttributesTimeZone = "Rangoon" NewStatusPageDataAttributesTimeZoneRiga NewStatusPageDataAttributesTimeZone = "Riga" NewStatusPageDataAttributesTimeZoneRiyadh NewStatusPageDataAttributesTimeZone = "Riyadh" NewStatusPageDataAttributesTimeZoneRome NewStatusPageDataAttributesTimeZone = "Rome" NewStatusPageDataAttributesTimeZoneSamara NewStatusPageDataAttributesTimeZone = "Samara" NewStatusPageDataAttributesTimeZoneSamoa NewStatusPageDataAttributesTimeZone = "Samoa" NewStatusPageDataAttributesTimeZoneSantiago NewStatusPageDataAttributesTimeZone = "Santiago" NewStatusPageDataAttributesTimeZoneSapporo NewStatusPageDataAttributesTimeZone = "Sapporo" NewStatusPageDataAttributesTimeZoneSarajevo NewStatusPageDataAttributesTimeZone = "Sarajevo" NewStatusPageDataAttributesTimeZoneSaskatchewan NewStatusPageDataAttributesTimeZone = "Saskatchewan" NewStatusPageDataAttributesTimeZoneSeoul NewStatusPageDataAttributesTimeZone = "Seoul" NewStatusPageDataAttributesTimeZoneSingapore NewStatusPageDataAttributesTimeZone = "Singapore" NewStatusPageDataAttributesTimeZoneSkopje NewStatusPageDataAttributesTimeZone = "Skopje" NewStatusPageDataAttributesTimeZoneSofia NewStatusPageDataAttributesTimeZone = "Sofia" NewStatusPageDataAttributesTimeZoneSolomonIs NewStatusPageDataAttributesTimeZone = "Solomon Is." NewStatusPageDataAttributesTimeZoneSrednekolymsk NewStatusPageDataAttributesTimeZone = "Srednekolymsk" NewStatusPageDataAttributesTimeZoneSriJayawardenepura NewStatusPageDataAttributesTimeZone = "Sri Jayawardenepura" NewStatusPageDataAttributesTimeZoneStPetersburg NewStatusPageDataAttributesTimeZone = "St. Petersburg" NewStatusPageDataAttributesTimeZoneStockholm NewStatusPageDataAttributesTimeZone = "Stockholm" NewStatusPageDataAttributesTimeZoneSydney NewStatusPageDataAttributesTimeZone = "Sydney" NewStatusPageDataAttributesTimeZoneTaipei NewStatusPageDataAttributesTimeZone = "Taipei" NewStatusPageDataAttributesTimeZoneTallinn NewStatusPageDataAttributesTimeZone = "Tallinn" NewStatusPageDataAttributesTimeZoneTashkent NewStatusPageDataAttributesTimeZone = "Tashkent" NewStatusPageDataAttributesTimeZoneTbilisi NewStatusPageDataAttributesTimeZone = "Tbilisi" NewStatusPageDataAttributesTimeZoneTehran NewStatusPageDataAttributesTimeZone = "Tehran" NewStatusPageDataAttributesTimeZoneTijuana NewStatusPageDataAttributesTimeZone = "Tijuana" NewStatusPageDataAttributesTimeZoneTokelauIs NewStatusPageDataAttributesTimeZone = "Tokelau Is." NewStatusPageDataAttributesTimeZoneTokyo NewStatusPageDataAttributesTimeZone = "Tokyo" NewStatusPageDataAttributesTimeZoneUTC NewStatusPageDataAttributesTimeZone = "UTC" NewStatusPageDataAttributesTimeZoneUlaanbaatar NewStatusPageDataAttributesTimeZone = "Ulaanbaatar" NewStatusPageDataAttributesTimeZoneUrumqi NewStatusPageDataAttributesTimeZone = "Urumqi" NewStatusPageDataAttributesTimeZoneVienna NewStatusPageDataAttributesTimeZone = "Vienna" NewStatusPageDataAttributesTimeZoneVilnius NewStatusPageDataAttributesTimeZone = "Vilnius" NewStatusPageDataAttributesTimeZoneVladivostok NewStatusPageDataAttributesTimeZone = "Vladivostok" NewStatusPageDataAttributesTimeZoneVolgograd NewStatusPageDataAttributesTimeZone = "Volgograd" NewStatusPageDataAttributesTimeZoneWarsaw NewStatusPageDataAttributesTimeZone = "Warsaw" NewStatusPageDataAttributesTimeZoneWellington NewStatusPageDataAttributesTimeZone = "Wellington" NewStatusPageDataAttributesTimeZoneWestCentralAfrica NewStatusPageDataAttributesTimeZone = "West Central Africa" NewStatusPageDataAttributesTimeZoneYakutsk NewStatusPageDataAttributesTimeZone = "Yakutsk" NewStatusPageDataAttributesTimeZoneYerevan NewStatusPageDataAttributesTimeZone = "Yerevan" NewStatusPageDataAttributesTimeZoneZagreb NewStatusPageDataAttributesTimeZone = "Zagreb" NewStatusPageDataAttributesTimeZoneZurich NewStatusPageDataAttributesTimeZone = "Zurich" )
Defines values for NewStatusPageDataAttributesTimeZone.
type NewStatusPageDataType ¶
type NewStatusPageDataType string
NewStatusPageDataType defines model for NewStatusPage.Data.Type.
const (
NewStatusPageDataTypeStatusPages NewStatusPageDataType = "status_pages"
)
Defines values for NewStatusPageDataType.
type NewTeam ¶
type NewTeam struct {
Data struct {
Attributes struct {
// The hex color of the team
Color *string `json:"color"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name string `json:"name"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
} `json:"attributes"`
Type NewTeamDataType `json:"type"`
} `json:"data"`
}
NewTeam defines model for new_team.
type NewTeamDataType ¶
type NewTeamDataType string
NewTeamDataType defines model for NewTeam.Data.Type.
const (
NewTeamDataTypeGroups NewTeamDataType = "groups"
)
Defines values for NewTeamDataType.
type NewWebhooksEndpoint ¶ added in v0.1.54
type NewWebhooksEndpoint struct {
Data struct {
Attributes struct {
Enabled *bool `json:"enabled,omitempty"`
EventTypes *[]NewWebhooksEndpointDataAttributesEventTypes `json:"event_types,omitempty"`
// The name of the endpoint
Name string `json:"name"`
// The webhook signing secret used to verify webhook requests.
Secret *string `json:"secret,omitempty"`
// The URL of the endpoint.
Url string `json:"url"`
} `json:"attributes"`
Type NewWebhooksEndpointDataType `json:"type"`
} `json:"data"`
}
NewWebhooksEndpoint defines model for new_webhooks_endpoint.
type NewWebhooksEndpointDataAttributesEventTypes ¶ added in v0.1.54
type NewWebhooksEndpointDataAttributesEventTypes string
NewWebhooksEndpointDataAttributesEventTypes defines model for NewWebhooksEndpoint.Data.Attributes.EventTypes.
const ( NewWebhooksEndpointDataAttributesEventTypesAlertCreated NewWebhooksEndpointDataAttributesEventTypes = "alert.created" NewWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunCanceled NewWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.canceled" NewWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunCompleted NewWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.completed" NewWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunFailed NewWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.failed" NewWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunQueued NewWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.queued" NewWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunStarted NewWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.started" NewWebhooksEndpointDataAttributesEventTypesIncidentCancelled NewWebhooksEndpointDataAttributesEventTypes = "incident.cancelled" NewWebhooksEndpointDataAttributesEventTypesIncidentCreated NewWebhooksEndpointDataAttributesEventTypes = "incident.created" NewWebhooksEndpointDataAttributesEventTypesIncidentDeleted NewWebhooksEndpointDataAttributesEventTypes = "incident.deleted" NewWebhooksEndpointDataAttributesEventTypesIncidentInTriage NewWebhooksEndpointDataAttributesEventTypes = "incident.in_triage" NewWebhooksEndpointDataAttributesEventTypesIncidentMitigated NewWebhooksEndpointDataAttributesEventTypes = "incident.mitigated" NewWebhooksEndpointDataAttributesEventTypesIncidentPostMortemCreated NewWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.created" NewWebhooksEndpointDataAttributesEventTypesIncidentPostMortemDeleted NewWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.deleted" NewWebhooksEndpointDataAttributesEventTypesIncidentPostMortemPublished NewWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.published" NewWebhooksEndpointDataAttributesEventTypesIncidentPostMortemUpdated NewWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.updated" NewWebhooksEndpointDataAttributesEventTypesIncidentResolved NewWebhooksEndpointDataAttributesEventTypes = "incident.resolved" NewWebhooksEndpointDataAttributesEventTypesIncidentScheduledCompleted NewWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.completed" NewWebhooksEndpointDataAttributesEventTypesIncidentScheduledCreated NewWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.created" NewWebhooksEndpointDataAttributesEventTypesIncidentScheduledDeleted NewWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.deleted" NewWebhooksEndpointDataAttributesEventTypesIncidentScheduledInProgress NewWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.in_progress" NewWebhooksEndpointDataAttributesEventTypesIncidentScheduledUpdated NewWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.updated" NewWebhooksEndpointDataAttributesEventTypesIncidentUpdated NewWebhooksEndpointDataAttributesEventTypes = "incident.updated" NewWebhooksEndpointDataAttributesEventTypesPulseCreated NewWebhooksEndpointDataAttributesEventTypes = "pulse.created" )
Defines values for NewWebhooksEndpointDataAttributesEventTypes.
type NewWebhooksEndpointDataType ¶ added in v0.1.54
type NewWebhooksEndpointDataType string
NewWebhooksEndpointDataType defines model for NewWebhooksEndpoint.Data.Type.
const (
NewWebhooksEndpointDataTypeWebhooksEndpoints NewWebhooksEndpointDataType = "webhooks_endpoints"
)
Defines values for NewWebhooksEndpointDataType.
type NewWorkflow ¶
type NewWorkflow struct {
Data struct {
Attributes struct {
// Workflow command
Command *string `json:"command"`
// This will notify you back when the workflow is starting
CommandFeedbackEnabled *bool `json:"command_feedback_enabled"`
// The description of the workflow
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
GroupIds *[]string `json:"group_ids,omitempty"`
IncidentRoleIds *[]string `json:"incident_role_ids,omitempty"`
IncidentTypeIds *[]string `json:"incident_type_ids,omitempty"`
// The title of the workflow
Name string `json:"name"`
// The order which the workflow should run with other workflows.
Position *float32 `json:"position,omitempty"`
// Priority
Priority *NewWorkflowDataAttributesPriority `json:"priority"`
// Repeat workflow every duration
RepeatEveryDuration *string `json:"repeat_every_duration"`
RepeatOn *[]NewWorkflowDataAttributesRepeatOn `json:"repeat_on,omitempty"`
ServiceIds *[]string `json:"service_ids,omitempty"`
SeverityIds *[]string `json:"severity_ids,omitempty"`
// The slug of the workflow
Slug *string `json:"slug,omitempty"`
TriggerParams *interface{} `json:"trigger_params,omitempty"`
// Wait this duration before executing
Wait *string `json:"wait"`
// The group this workflow belongs to.
WorkflowGroupId *string `json:"workflow_group_id,omitempty"`
} `json:"attributes"`
Type NewWorkflowDataType `json:"type"`
} `json:"data"`
}
NewWorkflow defines model for new_workflow.
type NewWorkflowCustomFieldSelection ¶
type NewWorkflowCustomFieldSelection struct {
Data struct {
Attributes struct {
// The custom field for this selection
CustomFieldId float32 `json:"custom_field_id"`
// The trigger condition
IncidentCondition NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition `json:"incident_condition"`
SelectedOptionIds *[]float32 `json:"selected_option_ids,omitempty"`
Values *[]string `json:"values,omitempty"`
// The workflow for this selection
WorkflowId *string `json:"workflow_id,omitempty"`
} `json:"attributes"`
Type NewWorkflowCustomFieldSelectionDataType `json:"type"`
} `json:"data"`
}
NewWorkflowCustomFieldSelection defines model for new_workflow_custom_field_selection.
type NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition ¶
type NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition string
The trigger condition
const ( NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionANY NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "ANY" NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionCONTAINS NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "CONTAINS" NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionCONTAINSALL NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "CONTAINS_ALL" NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionCONTAINSNONE NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "CONTAINS_NONE" NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionIS NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "IS" NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionNONE NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "NONE" NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionSET NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "SET" NewWorkflowCustomFieldSelectionDataAttributesIncidentConditionUNSET NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "UNSET" )
Defines values for NewWorkflowCustomFieldSelectionDataAttributesIncidentCondition.
type NewWorkflowCustomFieldSelectionDataType ¶
type NewWorkflowCustomFieldSelectionDataType string
NewWorkflowCustomFieldSelectionDataType defines model for NewWorkflowCustomFieldSelection.Data.Type.
const (
NewWorkflowCustomFieldSelectionDataTypeWorkflowCustomFieldSelections NewWorkflowCustomFieldSelectionDataType = "workflow_custom_field_selections"
)
Defines values for NewWorkflowCustomFieldSelectionDataType.
type NewWorkflowDataAttributesPriority ¶ added in v0.1.32
type NewWorkflowDataAttributesPriority string
Priority
const ( NewWorkflowDataAttributesPriorityHigh NewWorkflowDataAttributesPriority = "high" NewWorkflowDataAttributesPriorityLow NewWorkflowDataAttributesPriority = "low" NewWorkflowDataAttributesPriorityNormal NewWorkflowDataAttributesPriority = "normal" )
Defines values for NewWorkflowDataAttributesPriority.
type NewWorkflowDataAttributesRepeatOn ¶
type NewWorkflowDataAttributesRepeatOn string
Repeat on weekdays
const ( NewWorkflowDataAttributesRepeatOnF NewWorkflowDataAttributesRepeatOn = "F" NewWorkflowDataAttributesRepeatOnM NewWorkflowDataAttributesRepeatOn = "M" NewWorkflowDataAttributesRepeatOnR NewWorkflowDataAttributesRepeatOn = "R" NewWorkflowDataAttributesRepeatOnS NewWorkflowDataAttributesRepeatOn = "S" NewWorkflowDataAttributesRepeatOnT NewWorkflowDataAttributesRepeatOn = "T" NewWorkflowDataAttributesRepeatOnU NewWorkflowDataAttributesRepeatOn = "U" NewWorkflowDataAttributesRepeatOnW NewWorkflowDataAttributesRepeatOn = "W" )
Defines values for NewWorkflowDataAttributesRepeatOn.
type NewWorkflowDataType ¶
type NewWorkflowDataType string
NewWorkflowDataType defines model for NewWorkflow.Data.Type.
const (
NewWorkflowDataTypeWorkflows NewWorkflowDataType = "workflows"
)
Defines values for NewWorkflowDataType.
type NewWorkflowFormFieldCondition ¶ added in v0.1.48
type NewWorkflowFormFieldCondition struct {
Data struct {
Attributes struct {
// The custom field for this condition
FormFieldId string `json:"form_field_id"`
// The trigger condition
IncidentCondition NewWorkflowFormFieldConditionDataAttributesIncidentCondition `json:"incident_condition"`
SelectedOptionIds *[]string `json:"selected_option_ids,omitempty"`
SelectedUserIds *[]float32 `json:"selected_user_ids,omitempty"`
Values *[]string `json:"values,omitempty"`
// The workflow for this condition
WorkflowId *string `json:"workflow_id,omitempty"`
} `json:"attributes"`
Type NewWorkflowFormFieldConditionDataType `json:"type"`
} `json:"data"`
}
NewWorkflowFormFieldCondition defines model for new_workflow_form_field_condition.
type NewWorkflowFormFieldConditionDataAttributesIncidentCondition ¶ added in v0.1.48
type NewWorkflowFormFieldConditionDataAttributesIncidentCondition string
The trigger condition
const ( NewWorkflowFormFieldConditionDataAttributesIncidentConditionANY NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "ANY" NewWorkflowFormFieldConditionDataAttributesIncidentConditionCONTAINS NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "CONTAINS" NewWorkflowFormFieldConditionDataAttributesIncidentConditionCONTAINSALL NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "CONTAINS_ALL" NewWorkflowFormFieldConditionDataAttributesIncidentConditionCONTAINSNONE NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "CONTAINS_NONE" NewWorkflowFormFieldConditionDataAttributesIncidentConditionIS NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "IS" NewWorkflowFormFieldConditionDataAttributesIncidentConditionNONE NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "NONE" NewWorkflowFormFieldConditionDataAttributesIncidentConditionSET NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "SET" NewWorkflowFormFieldConditionDataAttributesIncidentConditionUNSET NewWorkflowFormFieldConditionDataAttributesIncidentCondition = "UNSET" )
Defines values for NewWorkflowFormFieldConditionDataAttributesIncidentCondition.
type NewWorkflowFormFieldConditionDataType ¶ added in v0.1.48
type NewWorkflowFormFieldConditionDataType string
NewWorkflowFormFieldConditionDataType defines model for NewWorkflowFormFieldCondition.Data.Type.
const (
NewWorkflowFormFieldConditionDataTypeWorkflowFormFieldConditions NewWorkflowFormFieldConditionDataType = "workflow_form_field_conditions"
)
Defines values for NewWorkflowFormFieldConditionDataType.
type NewWorkflowGroup ¶ added in v0.1.12
type NewWorkflowGroup struct {
Data struct {
Attributes struct {
// Whether the group is expanded or collapsed.
Expanded *bool `json:"expanded,omitempty"`
// The kind of the workflow group
Kind NewWorkflowGroupDataAttributesKind `json:"kind"`
// The name of the workflow group.
Name string `json:"name"`
// The position of the workflow group
Position *float32 `json:"position,omitempty"`
} `json:"attributes"`
Type NewWorkflowGroupDataType `json:"type"`
} `json:"data"`
}
NewWorkflowGroup defines model for new_workflow_group.
type NewWorkflowGroupDataAttributesKind ¶ added in v0.1.12
type NewWorkflowGroupDataAttributesKind string
The kind of the workflow group
const ( NewWorkflowGroupDataAttributesKindActionItem NewWorkflowGroupDataAttributesKind = "action_item" NewWorkflowGroupDataAttributesKindAlert NewWorkflowGroupDataAttributesKind = "alert" NewWorkflowGroupDataAttributesKindIncident NewWorkflowGroupDataAttributesKind = "incident" NewWorkflowGroupDataAttributesKindPostMortem NewWorkflowGroupDataAttributesKind = "post_mortem" NewWorkflowGroupDataAttributesKindPulse NewWorkflowGroupDataAttributesKind = "pulse" NewWorkflowGroupDataAttributesKindSimple NewWorkflowGroupDataAttributesKind = "simple" )
Defines values for NewWorkflowGroupDataAttributesKind.
type NewWorkflowGroupDataType ¶ added in v0.1.12
type NewWorkflowGroupDataType string
NewWorkflowGroupDataType defines model for NewWorkflowGroup.Data.Type.
const (
NewWorkflowGroupDataTypeWorkflowGroups NewWorkflowGroupDataType = "workflow_groups"
)
Defines values for NewWorkflowGroupDataType.
type NewWorkflowRun ¶ added in v0.1.20
type NewWorkflowRun struct {
Data struct {
Attributes interface{} `json:"attributes"`
Type NewWorkflowRunDataType `json:"type"`
} `json:"data"`
}
NewWorkflowRun defines model for new_workflow_run.
type NewWorkflowRunDataType ¶ added in v0.1.20
type NewWorkflowRunDataType string
NewWorkflowRunDataType defines model for NewWorkflowRun.Data.Type.
const (
NewWorkflowRunDataTypeWorkflowRuns NewWorkflowRunDataType = "workflow_runs"
)
Defines values for NewWorkflowRunDataType.
type NewWorkflowTask ¶
type NewWorkflowTask struct {
Data struct {
Attributes struct {
// Enable/disable workflow task
Enabled *bool `json:"enabled,omitempty"`
// Name of the workflow task
Name *string `json:"name,omitempty"`
// The position of the workflow task
Position *float32 `json:"position,omitempty"`
// Skip workflow task if any failures
SkipOnFailure *bool `json:"skip_on_failure,omitempty"`
TaskParams interface{} `json:"task_params"`
} `json:"attributes"`
Type NewWorkflowTaskDataType `json:"type"`
} `json:"data"`
}
NewWorkflowTask defines model for new_workflow_task.
type NewWorkflowTaskDataType ¶
type NewWorkflowTaskDataType string
NewWorkflowTaskDataType defines model for NewWorkflowTask.Data.Type.
const (
NewWorkflowTaskDataTypeWorkflowTasks NewWorkflowTaskDataType = "workflow_tasks"
)
Defines values for NewWorkflowTaskDataType.
type PageOpsgenieOnCallRespondersTaskParams ¶
type PageOpsgenieOnCallRespondersTaskParams struct {
Priority *PageOpsgenieOnCallRespondersTaskParamsPriority `json:"priority,omitempty"`
TaskType *PageOpsgenieOnCallRespondersTaskParamsTaskType `json:"task_type,omitempty"`
Teams *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"teams,omitempty"`
Users *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"users,omitempty"`
}
PageOpsgenieOnCallRespondersTaskParams defines model for page_opsgenie_on_call_responders_task_params.
type PageOpsgenieOnCallRespondersTaskParamsPriority ¶
type PageOpsgenieOnCallRespondersTaskParamsPriority string
PageOpsgenieOnCallRespondersTaskParamsPriority defines model for PageOpsgenieOnCallRespondersTaskParams.Priority.
const ( PageOpsgenieOnCallRespondersTaskParamsPriorityAuto PageOpsgenieOnCallRespondersTaskParamsPriority = "auto" PageOpsgenieOnCallRespondersTaskParamsPriorityP1 PageOpsgenieOnCallRespondersTaskParamsPriority = "P1" PageOpsgenieOnCallRespondersTaskParamsPriorityP2 PageOpsgenieOnCallRespondersTaskParamsPriority = "P2" PageOpsgenieOnCallRespondersTaskParamsPriorityP3 PageOpsgenieOnCallRespondersTaskParamsPriority = "P3" PageOpsgenieOnCallRespondersTaskParamsPriorityP4 PageOpsgenieOnCallRespondersTaskParamsPriority = "P4" )
Defines values for PageOpsgenieOnCallRespondersTaskParamsPriority.
type PageOpsgenieOnCallRespondersTaskParamsTaskType ¶
type PageOpsgenieOnCallRespondersTaskParamsTaskType string
PageOpsgenieOnCallRespondersTaskParamsTaskType defines model for PageOpsgenieOnCallRespondersTaskParams.TaskType.
const (
PageOpsgenieOnCallResponders PageOpsgenieOnCallRespondersTaskParamsTaskType = "page_opsgenie_on_call_responders"
)
Defines values for PageOpsgenieOnCallRespondersTaskParamsTaskType.
type PagePagerdutyOnCallRespondersTaskParams ¶
type PagePagerdutyOnCallRespondersTaskParams struct {
// Rootly only supports linking to a single Pagerduty incident. If this feature is disabled Rootly will add responders from any additional pages to the existing Pagerduty incident that is linked to the Rootly incident. If enabled, Rootly will create a new Pagerduty incident that is not linked to any Rootly incidents
CreateNewIncidentOnConflict *bool `json:"create_new_incident_on_conflict,omitempty"`
EscalationPolicies *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"escalation_policies,omitempty"`
Message *string `json:"message,omitempty"`
Service struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"service"`
TaskType *PagePagerdutyOnCallRespondersTaskParamsTaskType `json:"task_type,omitempty"`
Urgency *PagePagerdutyOnCallRespondersTaskParamsUrgency `json:"urgency,omitempty"`
Users *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"users,omitempty"`
}
PagePagerdutyOnCallRespondersTaskParams defines model for page_pagerduty_on_call_responders_task_params.
type PagePagerdutyOnCallRespondersTaskParamsTaskType ¶
type PagePagerdutyOnCallRespondersTaskParamsTaskType string
PagePagerdutyOnCallRespondersTaskParamsTaskType defines model for PagePagerdutyOnCallRespondersTaskParams.TaskType.
const (
PagePagerdutyOnCallResponders PagePagerdutyOnCallRespondersTaskParamsTaskType = "page_pagerduty_on_call_responders"
)
Defines values for PagePagerdutyOnCallRespondersTaskParamsTaskType.
type PagePagerdutyOnCallRespondersTaskParamsUrgency ¶
type PagePagerdutyOnCallRespondersTaskParamsUrgency string
PagePagerdutyOnCallRespondersTaskParamsUrgency defines model for PagePagerdutyOnCallRespondersTaskParams.Urgency.
const ( PagePagerdutyOnCallRespondersTaskParamsUrgencyAuto PagePagerdutyOnCallRespondersTaskParamsUrgency = "auto" PagePagerdutyOnCallRespondersTaskParamsUrgencyHigh PagePagerdutyOnCallRespondersTaskParamsUrgency = "high" PagePagerdutyOnCallRespondersTaskParamsUrgencyLow PagePagerdutyOnCallRespondersTaskParamsUrgency = "low" )
Defines values for PagePagerdutyOnCallRespondersTaskParamsUrgency.
type PageVictorOpsOnCallRespondersTaskParams ¶
type PageVictorOpsOnCallRespondersTaskParams struct {
EscalationPolicies *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"escalation_policies,omitempty"`
TaskType *PageVictorOpsOnCallRespondersTaskParamsTaskType `json:"task_type,omitempty"`
Users *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"users,omitempty"`
}
PageVictorOpsOnCallRespondersTaskParams defines model for page_victor_ops_on_call_responders_task_params.
type PageVictorOpsOnCallRespondersTaskParamsTaskType ¶ added in v0.1.39
type PageVictorOpsOnCallRespondersTaskParamsTaskType string
PageVictorOpsOnCallRespondersTaskParamsTaskType defines model for PageVictorOpsOnCallRespondersTaskParams.TaskType.
const (
PageVictorOpsOnCallResponders PageVictorOpsOnCallRespondersTaskParamsTaskType = "page_victor_ops_on_call_responders"
)
Defines values for PageVictorOpsOnCallRespondersTaskParamsTaskType.
type Playbook ¶
type Playbook struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The Environment ID's to attach to the incident
EnvironmentIds *[]string `json:"environment_ids"`
// The external url of the playbook
ExternalUrl *string `json:"external_url"`
// The Functionality ID's to attach to the incident
FunctionalityIds *[]string `json:"functionality_ids"`
// The Team ID's to attach to the incident
GroupIds *[]string `json:"group_ids"`
// The Incident Type ID's to attach to the incident
IncidentTypeIds *[]string `json:"incident_type_ids"`
// The Service ID's to attach to the incident
ServiceIds *[]string `json:"service_ids"`
// The Severity ID's to attach to the incident
SeverityIds *[]string `json:"severity_ids"`
// The summary of the playbook
Summary *string `json:"summary"`
// The title of the playbook
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Playbook defines model for playbook.
type PlaybookList ¶
type PlaybookList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The Environment ID's to attach to the incident
EnvironmentIds *[]string `json:"environment_ids"`
// The external url of the playbook
ExternalUrl *string `json:"external_url"`
// The Functionality ID's to attach to the incident
FunctionalityIds *[]string `json:"functionality_ids"`
// The Team ID's to attach to the incident
GroupIds *[]string `json:"group_ids"`
// The Incident Type ID's to attach to the incident
IncidentTypeIds *[]string `json:"incident_type_ids"`
// The Service ID's to attach to the incident
ServiceIds *[]string `json:"service_ids"`
// The Severity ID's to attach to the incident
SeverityIds *[]string `json:"severity_ids"`
// The summary of the playbook
Summary *string `json:"summary"`
// The title of the playbook
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the playbook
Id string `json:"id"`
Type PlaybookListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
PlaybookList defines model for playbook_list.
type PlaybookListDataType ¶
type PlaybookListDataType string
PlaybookListDataType defines model for PlaybookList.Data.Type.
const (
PlaybookListDataTypePlaybooks PlaybookListDataType = "playbooks"
)
Defines values for PlaybookListDataType.
type PlaybookResponse ¶
type PlaybookResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The Environment ID's to attach to the incident
EnvironmentIds *[]string `json:"environment_ids"`
// The external url of the playbook
ExternalUrl *string `json:"external_url"`
// The Functionality ID's to attach to the incident
FunctionalityIds *[]string `json:"functionality_ids"`
// The Team ID's to attach to the incident
GroupIds *[]string `json:"group_ids"`
// The Incident Type ID's to attach to the incident
IncidentTypeIds *[]string `json:"incident_type_ids"`
// The Service ID's to attach to the incident
ServiceIds *[]string `json:"service_ids"`
// The Severity ID's to attach to the incident
SeverityIds *[]string `json:"severity_ids"`
// The summary of the playbook
Summary *string `json:"summary"`
// The title of the playbook
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the playbook
Id string `json:"id"`
Type PlaybookResponseDataType `json:"type"`
} `json:"data"`
}
PlaybookResponse defines model for playbook_response.
type PlaybookResponseDataType ¶
type PlaybookResponseDataType string
PlaybookResponseDataType defines model for PlaybookResponse.Data.Type.
const (
PlaybookResponseDataTypePlaybooks PlaybookResponseDataType = "playbooks"
)
Defines values for PlaybookResponseDataType.
type PlaybookTask ¶
type PlaybookTask struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident task
Description *string `json:"description"`
PlaybookId *string `json:"playbook_id,omitempty"`
// The task of the incident task
Task string `json:"task"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
PlaybookTask defines model for playbook_task.
type PlaybookTaskList ¶
type PlaybookTaskList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident task
Description *string `json:"description"`
PlaybookId *string `json:"playbook_id,omitempty"`
// The task of the incident task
Task string `json:"task"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident task
Id string `json:"id"`
Type PlaybookTaskListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
PlaybookTaskList defines model for playbook_task_list.
type PlaybookTaskListDataType ¶
type PlaybookTaskListDataType string
PlaybookTaskListDataType defines model for PlaybookTaskList.Data.Type.
const (
PlaybookTaskListDataTypePlaybookTasks PlaybookTaskListDataType = "playbook_tasks"
)
Defines values for PlaybookTaskListDataType.
type PlaybookTaskResponse ¶
type PlaybookTaskResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of incident task
Description *string `json:"description"`
PlaybookId *string `json:"playbook_id,omitempty"`
// The task of the incident task
Task string `json:"task"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the incident task
Id string `json:"id"`
Type PlaybookTaskResponseDataType `json:"type"`
} `json:"data"`
}
PlaybookTaskResponse defines model for playbook_task_response.
type PlaybookTaskResponseDataType ¶
type PlaybookTaskResponseDataType string
PlaybookTaskResponseDataType defines model for PlaybookTaskResponse.Data.Type.
const (
PlaybookTaskResponseDataTypePlaybookTasks PlaybookTaskResponseDataType = "playbook_tasks"
)
Defines values for PlaybookTaskResponseDataType.
type PostMortemTemplate ¶
type PostMortemTemplate struct {
// The postmortem template. Liquid syntax and markdown are supported
Content *string `json:"content,omitempty"`
// Date of creation
CreatedAt string `json:"created_at"`
// Default selected template when editing a postmortem
Default *bool `json:"default"`
// The format of the input
Format *PostMortemTemplateFormat `json:"format,omitempty"`
// The name of the postmortem template
Name string `json:"name"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
PostMortemTemplate defines model for post_mortem_template.
type PostMortemTemplateFormat ¶ added in v0.1.72
type PostMortemTemplateFormat string
The format of the input
const ( PostMortemTemplateFormatHtml PostMortemTemplateFormat = "html" PostMortemTemplateFormatMarkdown PostMortemTemplateFormat = "markdown" )
Defines values for PostMortemTemplateFormat.
type PostMortemTemplateList ¶
type PostMortemTemplateList struct {
Data []struct {
Attributes struct {
// The postmortem template. Liquid syntax and markdown are supported
Content *string `json:"content,omitempty"`
// Date of creation
CreatedAt string `json:"created_at"`
// Default selected template when editing a postmortem
Default *bool `json:"default"`
// The format of the input
Format *PostMortemTemplateListDataAttributesFormat `json:"format,omitempty"`
// The name of the postmortem template
Name string `json:"name"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the post_mortem_template
Id string `json:"id"`
Type PostMortemTemplateListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
PostMortemTemplateList defines model for post_mortem_template_list.
type PostMortemTemplateListDataAttributesFormat ¶ added in v0.1.72
type PostMortemTemplateListDataAttributesFormat string
The format of the input
const ( PostMortemTemplateListDataAttributesFormatHtml PostMortemTemplateListDataAttributesFormat = "html" PostMortemTemplateListDataAttributesFormatMarkdown PostMortemTemplateListDataAttributesFormat = "markdown" )
Defines values for PostMortemTemplateListDataAttributesFormat.
type PostMortemTemplateListDataType ¶
type PostMortemTemplateListDataType string
PostMortemTemplateListDataType defines model for PostMortemTemplateList.Data.Type.
const (
PostMortemTemplateListDataTypePostMortemTemplates PostMortemTemplateListDataType = "post_mortem_templates"
)
Defines values for PostMortemTemplateListDataType.
type PostMortemTemplateResponse ¶
type PostMortemTemplateResponse struct {
Data struct {
Attributes struct {
// The postmortem template. Liquid syntax and markdown are supported
Content *string `json:"content,omitempty"`
// Date of creation
CreatedAt string `json:"created_at"`
// Default selected template when editing a postmortem
Default *bool `json:"default"`
// The format of the input
Format *PostMortemTemplateResponseDataAttributesFormat `json:"format,omitempty"`
// The name of the postmortem template
Name string `json:"name"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the post_mortem_template
Id string `json:"id"`
Type PostMortemTemplateResponseDataType `json:"type"`
} `json:"data"`
}
PostMortemTemplateResponse defines model for post_mortem_template_response.
type PostMortemTemplateResponseDataAttributesFormat ¶ added in v0.1.72
type PostMortemTemplateResponseDataAttributesFormat string
The format of the input
const ( PostMortemTemplateResponseDataAttributesFormatHtml PostMortemTemplateResponseDataAttributesFormat = "html" PostMortemTemplateResponseDataAttributesFormatMarkdown PostMortemTemplateResponseDataAttributesFormat = "markdown" )
Defines values for PostMortemTemplateResponseDataAttributesFormat.
type PostMortemTemplateResponseDataType ¶
type PostMortemTemplateResponseDataType string
PostMortemTemplateResponseDataType defines model for PostMortemTemplateResponse.Data.Type.
const (
PostMortemTemplateResponseDataTypePostMortemTemplates PostMortemTemplateResponseDataType = "post_mortem_templates"
)
Defines values for PostMortemTemplateResponseDataType.
type PrintTaskParams ¶
type PrintTaskParams struct {
// The message to print
Message string `json:"message"`
TaskType *PrintTaskParamsTaskType `json:"task_type,omitempty"`
}
PrintTaskParams defines model for print_task_params.
type PrintTaskParamsTaskType ¶
type PrintTaskParamsTaskType string
PrintTaskParamsTaskType defines model for PrintTaskParams.TaskType.
const (
Print PrintTaskParamsTaskType = "print"
)
Defines values for PrintTaskParamsTaskType.
type PublishIncidentTaskParams ¶
type PublishIncidentTaskParams struct {
// Incident event description
Event *string `json:"event,omitempty"`
Incident struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"incident"`
// Additional API Payload you can pass to statuspage.io for example. Can contain liquid markup and need to be valid JSON
IntegrationPayload *string `json:"integration_payload"`
// When true notifies subscribers of the status page by email/text
NotifySubscribers *bool `json:"notify_subscribers,omitempty"`
PublicTitle string `json:"public_title"`
// For StatusPage.io integrated pages auto publishes a tweet for your update
ShouldTweet *bool `json:"should_tweet,omitempty"`
Status PublishIncidentTaskParamsStatus `json:"status"`
StatusPageId string `json:"status_page_id"`
StatusPageTemplate *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"status_page_template,omitempty"`
TaskType *PublishIncidentTaskParamsTaskType `json:"task_type,omitempty"`
}
PublishIncidentTaskParams defines model for publish_incident_task_params.
type PublishIncidentTaskParamsStatus ¶
type PublishIncidentTaskParamsStatus string
PublishIncidentTaskParamsStatus defines model for PublishIncidentTaskParams.Status.
const ( PublishIncidentTaskParamsStatusCompleted PublishIncidentTaskParamsStatus = "completed" PublishIncidentTaskParamsStatusIdentified PublishIncidentTaskParamsStatus = "identified" PublishIncidentTaskParamsStatusInProgress PublishIncidentTaskParamsStatus = "in_progress" PublishIncidentTaskParamsStatusInvestigating PublishIncidentTaskParamsStatus = "investigating" PublishIncidentTaskParamsStatusMonitoring PublishIncidentTaskParamsStatus = "monitoring" PublishIncidentTaskParamsStatusResolved PublishIncidentTaskParamsStatus = "resolved" PublishIncidentTaskParamsStatusScheduled PublishIncidentTaskParamsStatus = "scheduled" PublishIncidentTaskParamsStatusVerifying PublishIncidentTaskParamsStatus = "verifying" )
Defines values for PublishIncidentTaskParamsStatus.
type PublishIncidentTaskParamsTaskType ¶
type PublishIncidentTaskParamsTaskType string
PublishIncidentTaskParamsTaskType defines model for PublishIncidentTaskParams.TaskType.
const (
PublishIncident PublishIncidentTaskParamsTaskType = "publish_incident"
)
Defines values for PublishIncidentTaskParamsTaskType.
type Pulse ¶
type Pulse struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Additional data
Data *map[string]interface{} `json:"data"`
// Environments attached to the pulse
Environments *[]struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"environments,omitempty"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
Refs *[]struct {
// Key of the ref
Key string `json:"key"`
// Value of the ref
Value string `json:"value"`
} `json:"refs,omitempty"`
// Services attached to the pulse
Services *[]struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *PulseServicesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"services,omitempty"`
// The source of the pulse (eg: k8s)
Source *string `json:"source"`
// The summary of the pulse
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Pulse defines model for pulse.
type PulseList ¶
type PulseList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Additional data
Data *map[string]interface{} `json:"data"`
// Environments attached to the pulse
Environments *[]struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"environments,omitempty"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
Refs *[]struct {
// Key of the ref
Key string `json:"key"`
// Value of the ref
Value string `json:"value"`
} `json:"refs,omitempty"`
// Services attached to the pulse
Services *[]struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *PulseListDataAttributesServicesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"services,omitempty"`
// The source of the pulse (eg: k8s)
Source *string `json:"source"`
// The summary of the pulse
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the pulse
Id string `json:"id"`
Type PulseListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
PulseList defines model for pulse_list.
type PulseListDataAttributesServicesStatus ¶ added in v0.1.83
type PulseListDataAttributesServicesStatus string
The status of the service
const ( PulseListDataAttributesServicesStatusImpacted PulseListDataAttributesServicesStatus = "impacted" PulseListDataAttributesServicesStatusMajorOutage PulseListDataAttributesServicesStatus = "major_outage" PulseListDataAttributesServicesStatusOperational PulseListDataAttributesServicesStatus = "operational" PulseListDataAttributesServicesStatusOutage PulseListDataAttributesServicesStatus = "outage" PulseListDataAttributesServicesStatusPartialOutage PulseListDataAttributesServicesStatus = "partial_outage" )
Defines values for PulseListDataAttributesServicesStatus.
type PulseListDataType ¶
type PulseListDataType string
PulseListDataType defines model for PulseList.Data.Type.
const (
PulseListDataTypePulses PulseListDataType = "pulses"
)
Defines values for PulseListDataType.
type PulseResponse ¶
type PulseResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Additional data
Data *map[string]interface{} `json:"data"`
// Environments attached to the pulse
Environments *[]struct {
// The hex color of the environment
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name string `json:"name"`
// Emails attached to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the environment
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"environments,omitempty"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
Refs *[]struct {
// Key of the ref
Key string `json:"key"`
// Value of the ref
Value string `json:"value"`
} `json:"refs,omitempty"`
// Services attached to the pulse
Services *[]struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *PulseResponseDataAttributesServicesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"services,omitempty"`
// The source of the pulse (eg: k8s)
Source *string `json:"source"`
// The summary of the pulse
Summary string `json:"summary"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the pulse
Id string `json:"id"`
Type PulseResponseDataType `json:"type"`
} `json:"data"`
}
PulseResponse defines model for pulse_response.
type PulseResponseDataAttributesServicesStatus ¶ added in v0.1.83
type PulseResponseDataAttributesServicesStatus string
The status of the service
const ( PulseResponseDataAttributesServicesStatusImpacted PulseResponseDataAttributesServicesStatus = "impacted" PulseResponseDataAttributesServicesStatusMajorOutage PulseResponseDataAttributesServicesStatus = "major_outage" PulseResponseDataAttributesServicesStatusOperational PulseResponseDataAttributesServicesStatus = "operational" PulseResponseDataAttributesServicesStatusOutage PulseResponseDataAttributesServicesStatus = "outage" PulseResponseDataAttributesServicesStatusPartialOutage PulseResponseDataAttributesServicesStatus = "partial_outage" )
Defines values for PulseResponseDataAttributesServicesStatus.
type PulseResponseDataType ¶
type PulseResponseDataType string
PulseResponseDataType defines model for PulseResponse.Data.Type.
const (
PulseResponseDataTypePulses PulseResponseDataType = "pulses"
)
Defines values for PulseResponseDataType.
type PulseServicesStatus ¶ added in v0.1.83
type PulseServicesStatus string
The status of the service
const ( PulseServicesStatusImpacted PulseServicesStatus = "impacted" PulseServicesStatusMajorOutage PulseServicesStatus = "major_outage" PulseServicesStatusOperational PulseServicesStatus = "operational" PulseServicesStatusOutage PulseServicesStatus = "outage" PulseServicesStatusPartialOutage PulseServicesStatus = "partial_outage" )
Defines values for PulseServicesStatus.
type PulseTriggerParams ¶
type PulseTriggerParams struct {
PulseCondition *PulseTriggerParamsPulseCondition `json:"pulse_condition,omitempty"`
PulseConditionLabel *PulseTriggerParamsPulseConditionLabel `json:"pulse_condition_label,omitempty"`
PulseConditionLabelUseRegexp *bool `json:"pulse_condition_label_use_regexp,omitempty"`
PulseConditionPayload *PulseTriggerParamsPulseConditionPayload `json:"pulse_condition_payload,omitempty"`
PulseConditionPayloadUseRegexp *bool `json:"pulse_condition_payload_use_regexp,omitempty"`
PulseConditionSource *PulseTriggerParamsPulseConditionSource `json:"pulse_condition_source,omitempty"`
PulseConditionSourceUseRegexp *bool `json:"pulse_condition_source_use_regexp,omitempty"`
PulseLabels *[]string `json:"pulse_labels,omitempty"`
PulsePayload *[]string `json:"pulse_payload,omitempty"`
// You can use jsonpath syntax. eg: $.incident.teams[*]
PulseQueryPayload *string `json:"pulse_query_payload"`
PulseSources *[]string `json:"pulse_sources,omitempty"`
TriggerType PulseTriggerParamsTriggerType `json:"trigger_type"`
Triggers *[]PulseTriggerParamsTriggers `json:"triggers,omitempty"`
}
PulseTriggerParams defines model for pulse_trigger_params.
type PulseTriggerParamsPulseCondition ¶
type PulseTriggerParamsPulseCondition string
PulseTriggerParamsPulseCondition defines model for PulseTriggerParams.PulseCondition.
const ( PulseTriggerParamsPulseConditionALL PulseTriggerParamsPulseCondition = "ALL" PulseTriggerParamsPulseConditionANY PulseTriggerParamsPulseCondition = "ANY" PulseTriggerParamsPulseConditionNONE PulseTriggerParamsPulseCondition = "NONE" )
Defines values for PulseTriggerParamsPulseCondition.
type PulseTriggerParamsPulseConditionLabel ¶
type PulseTriggerParamsPulseConditionLabel string
PulseTriggerParamsPulseConditionLabel defines model for PulseTriggerParams.PulseConditionLabel.
const ( PulseTriggerParamsPulseConditionLabelANY PulseTriggerParamsPulseConditionLabel = "ANY" PulseTriggerParamsPulseConditionLabelCONTAINS PulseTriggerParamsPulseConditionLabel = "CONTAINS" PulseTriggerParamsPulseConditionLabelCONTAINSALL PulseTriggerParamsPulseConditionLabel = "CONTAINS_ALL" PulseTriggerParamsPulseConditionLabelCONTAINSNONE PulseTriggerParamsPulseConditionLabel = "CONTAINS_NONE" PulseTriggerParamsPulseConditionLabelIS PulseTriggerParamsPulseConditionLabel = "IS" PulseTriggerParamsPulseConditionLabelNONE PulseTriggerParamsPulseConditionLabel = "NONE" PulseTriggerParamsPulseConditionLabelSET PulseTriggerParamsPulseConditionLabel = "SET" PulseTriggerParamsPulseConditionLabelUNSET PulseTriggerParamsPulseConditionLabel = "UNSET" )
Defines values for PulseTriggerParamsPulseConditionLabel.
type PulseTriggerParamsPulseConditionPayload ¶
type PulseTriggerParamsPulseConditionPayload string
PulseTriggerParamsPulseConditionPayload defines model for PulseTriggerParams.PulseConditionPayload.
const ( PulseTriggerParamsPulseConditionPayloadANY PulseTriggerParamsPulseConditionPayload = "ANY" PulseTriggerParamsPulseConditionPayloadCONTAINS PulseTriggerParamsPulseConditionPayload = "CONTAINS" PulseTriggerParamsPulseConditionPayloadCONTAINSALL PulseTriggerParamsPulseConditionPayload = "CONTAINS_ALL" PulseTriggerParamsPulseConditionPayloadCONTAINSNONE PulseTriggerParamsPulseConditionPayload = "CONTAINS_NONE" PulseTriggerParamsPulseConditionPayloadIS PulseTriggerParamsPulseConditionPayload = "IS" PulseTriggerParamsPulseConditionPayloadNONE PulseTriggerParamsPulseConditionPayload = "NONE" PulseTriggerParamsPulseConditionPayloadSET PulseTriggerParamsPulseConditionPayload = "SET" PulseTriggerParamsPulseConditionPayloadUNSET PulseTriggerParamsPulseConditionPayload = "UNSET" )
Defines values for PulseTriggerParamsPulseConditionPayload.
type PulseTriggerParamsPulseConditionSource ¶
type PulseTriggerParamsPulseConditionSource string
PulseTriggerParamsPulseConditionSource defines model for PulseTriggerParams.PulseConditionSource.
const ( PulseTriggerParamsPulseConditionSourceANY PulseTriggerParamsPulseConditionSource = "ANY" PulseTriggerParamsPulseConditionSourceCONTAINS PulseTriggerParamsPulseConditionSource = "CONTAINS" PulseTriggerParamsPulseConditionSourceCONTAINSALL PulseTriggerParamsPulseConditionSource = "CONTAINS_ALL" PulseTriggerParamsPulseConditionSourceCONTAINSNONE PulseTriggerParamsPulseConditionSource = "CONTAINS_NONE" PulseTriggerParamsPulseConditionSourceIS PulseTriggerParamsPulseConditionSource = "IS" PulseTriggerParamsPulseConditionSourceNONE PulseTriggerParamsPulseConditionSource = "NONE" PulseTriggerParamsPulseConditionSourceSET PulseTriggerParamsPulseConditionSource = "SET" PulseTriggerParamsPulseConditionSourceUNSET PulseTriggerParamsPulseConditionSource = "UNSET" )
Defines values for PulseTriggerParamsPulseConditionSource.
type PulseTriggerParamsTriggerType ¶
type PulseTriggerParamsTriggerType string
PulseTriggerParamsTriggerType defines model for PulseTriggerParams.TriggerType.
const (
PulseTriggerParamsTriggerTypePulse PulseTriggerParamsTriggerType = "pulse"
)
Defines values for PulseTriggerParamsTriggerType.
type PulseTriggerParamsTriggers ¶
type PulseTriggerParamsTriggers string
Actions that trigger the workflow
const (
PulseTriggerParamsTriggersPulseCreated PulseTriggerParamsTriggers = "pulse_created"
)
Defines values for PulseTriggerParamsTriggers.
type RedisClientTaskParams ¶
type RedisClientTaskParams struct {
Commands string `json:"commands"`
EventMessage *string `json:"event_message,omitempty"`
EventUrl *string `json:"event_url,omitempty"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *RedisClientTaskParamsTaskType `json:"task_type,omitempty"`
Url string `json:"url"`
}
RedisClientTaskParams defines model for redis_client_task_params.
type RedisClientTaskParamsTaskType ¶
type RedisClientTaskParamsTaskType string
RedisClientTaskParamsTaskType defines model for RedisClientTaskParams.TaskType.
const (
RedisClient RedisClientTaskParamsTaskType = "redis_client"
)
Defines values for RedisClientTaskParamsTaskType.
type RemoveGoogleDocsPermissionsTaskParams ¶ added in v0.1.86
type RemoveGoogleDocsPermissionsTaskParams struct {
AttributeToQueryBy RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy `json:"attribute_to_query_by"`
// The Google Doc file ID
FileId string `json:"file_id"`
TaskType *RemoveGoogleDocsPermissionsTaskParamsTaskType `json:"task_type,omitempty"`
Value string `json:"value"`
}
RemoveGoogleDocsPermissionsTaskParams defines model for remove_google_docs_permissions_task_params.
type RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy ¶ added in v0.1.86
type RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy string
RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy defines model for RemoveGoogleDocsPermissionsTaskParams.AttributeToQueryBy.
const ( EmailAddress RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy = "email_address" Role RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy = "role" Type RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy = "type" )
Defines values for RemoveGoogleDocsPermissionsTaskParamsAttributeToQueryBy.
type RemoveGoogleDocsPermissionsTaskParamsTaskType ¶ added in v0.1.86
type RemoveGoogleDocsPermissionsTaskParamsTaskType string
RemoveGoogleDocsPermissionsTaskParamsTaskType defines model for RemoveGoogleDocsPermissionsTaskParams.TaskType.
const (
RemoveGoogleDocsPermissions RemoveGoogleDocsPermissionsTaskParamsTaskType = "remove_google_docs_permissions"
)
Defines values for RemoveGoogleDocsPermissionsTaskParamsTaskType.
type RemoveSubscribers ¶ added in v0.1.85
type RemoveSubscribers struct {
Data struct {
Attributes struct {
// Users without read permissions for private incidents will be removed from the subscriber list of this incident
RemoveUsersWithNoPrivateIncidentAccess *bool `json:"remove_users_with_no_private_incident_access"`
// IDs of users you wish to remove from the list of subscribers for this incident
UserIds *[]string `json:"user_ids"`
} `json:"attributes"`
Type RemoveSubscribersDataType `json:"type"`
} `json:"data"`
}
RemoveSubscribers defines model for remove_subscribers.
type RemoveSubscribersDataType ¶ added in v0.1.85
type RemoveSubscribersDataType string
RemoveSubscribersDataType defines model for RemoveSubscribers.Data.Type.
const (
RemoveSubscribersDataTypeIncidents RemoveSubscribersDataType = "incidents"
)
Defines values for RemoveSubscribersDataType.
type RemoveSubscribersToIncidentResponse ¶ added in v0.1.85
func ParseRemoveSubscribersToIncidentResponse ¶ added in v0.1.85
func ParseRemoveSubscribersToIncidentResponse(rsp *http.Response) (*RemoveSubscribersToIncidentResponse, error)
ParseRemoveSubscribersToIncidentResponse parses an HTTP response from a RemoveSubscribersToIncidentWithResponse call
func (RemoveSubscribersToIncidentResponse) Status ¶ added in v0.1.85
func (r RemoveSubscribersToIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveSubscribersToIncidentResponse) StatusCode ¶ added in v0.1.85
func (r RemoveSubscribersToIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameSlackChannelTaskParams ¶
type RenameSlackChannelTaskParams struct {
Channel struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channel"`
TaskType *RenameSlackChannelTaskParamsTaskType `json:"task_type,omitempty"`
Title string `json:"title"`
}
RenameSlackChannelTaskParams defines model for rename_slack_channel_task_params.
type RenameSlackChannelTaskParamsTaskType ¶
type RenameSlackChannelTaskParamsTaskType string
RenameSlackChannelTaskParamsTaskType defines model for RenameSlackChannelTaskParams.TaskType.
const (
RenameSlackChannel RenameSlackChannelTaskParamsTaskType = "rename_slack_channel"
)
Defines values for RenameSlackChannelTaskParamsTaskType.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResolveIncident ¶
type ResolveIncident struct {
Data struct {
Attributes struct {
// How was the incident resolved?
ResolutionMessage *string `json:"resolution_message"`
} `json:"attributes"`
Type ResolveIncidentDataType `json:"type"`
} `json:"data"`
}
ResolveIncident defines model for resolve_incident.
type ResolveIncidentDataType ¶
type ResolveIncidentDataType string
ResolveIncidentDataType defines model for ResolveIncident.Data.Type.
const (
ResolveIncidentDataTypeIncidents ResolveIncidentDataType = "incidents"
)
Defines values for ResolveIncidentDataType.
type ResolveIncidentResponse ¶
func ParseResolveIncidentResponse ¶
func ParseResolveIncidentResponse(rsp *http.Response) (*ResolveIncidentResponse, error)
ParseResolveIncidentResponse parses an HTTP response from a ResolveIncidentWithResponse call
func (ResolveIncidentResponse) Status ¶
func (r ResolveIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (ResolveIncidentResponse) StatusCode ¶
func (r ResolveIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestartIncident ¶ added in v0.1.58
type RestartIncident struct {
Data struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
Type RestartIncidentDataType `json:"type"`
} `json:"data"`
}
RestartIncident defines model for restart_incident.
type RestartIncidentDataType ¶ added in v0.1.58
type RestartIncidentDataType string
RestartIncidentDataType defines model for RestartIncident.Data.Type.
const (
RestartIncidentDataTypeIncidents RestartIncidentDataType = "incidents"
)
Defines values for RestartIncidentDataType.
type RestartIncidentResponse ¶ added in v0.1.58
func ParseRestartIncidentResponse ¶ added in v0.1.58
func ParseRestartIncidentResponse(rsp *http.Response) (*RestartIncidentResponse, error)
ParseRestartIncidentResponse parses an HTTP response from a RestartIncidentWithResponse call
func (RestartIncidentResponse) Status ¶ added in v0.1.58
func (r RestartIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (RestartIncidentResponse) StatusCode ¶ added in v0.1.58
func (r RestartIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetrospectiveStep ¶ added in v1.1.7
type RetrospectiveStep struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the step
Description *string `json:"description"`
// Due date in days
DueAfterDays *int `json:"due_after_days"`
// Users assigned to the selected incident role will be the default owners for this step
IncidentRoleId *string `json:"incident_role_id"`
// Position of the step
Position *int `json:"position,omitempty"`
// Is the step skippable?
Skippable *bool `json:"skippable,omitempty"`
// The slug of the step
Slug *string `json:"slug,omitempty"`
// The name of the step
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
RetrospectiveStep defines model for retrospective_step.
type RetrospectiveStepList ¶ added in v1.1.7
type RetrospectiveStepList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the step
Description *string `json:"description"`
// Due date in days
DueAfterDays *int `json:"due_after_days"`
// Users assigned to the selected incident role will be the default owners for this step
IncidentRoleId *string `json:"incident_role_id"`
// Position of the step
Position *int `json:"position,omitempty"`
// Is the step skippable?
Skippable *bool `json:"skippable,omitempty"`
// The slug of the step
Slug *string `json:"slug,omitempty"`
// The name of the step
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the step
Id string `json:"id"`
Type RetrospectiveStepListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
RetrospectiveStepList defines model for retrospective_step_list.
type RetrospectiveStepListDataType ¶ added in v1.1.7
type RetrospectiveStepListDataType string
RetrospectiveStepListDataType defines model for RetrospectiveStepList.Data.Type.
const (
RetrospectiveStepListDataTypeRetrospectiveSteps RetrospectiveStepListDataType = "retrospective_steps"
)
Defines values for RetrospectiveStepListDataType.
type RetrospectiveStepResponse ¶ added in v1.1.7
type RetrospectiveStepResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the step
Description *string `json:"description"`
// Due date in days
DueAfterDays *int `json:"due_after_days"`
// Users assigned to the selected incident role will be the default owners for this step
IncidentRoleId *string `json:"incident_role_id"`
// Position of the step
Position *int `json:"position,omitempty"`
// Is the step skippable?
Skippable *bool `json:"skippable,omitempty"`
// The slug of the step
Slug *string `json:"slug,omitempty"`
// The name of the step
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the step
Id string `json:"id"`
Type RetrospectiveStepResponseDataType `json:"type"`
} `json:"data"`
}
RetrospectiveStepResponse defines model for retrospective_step_response.
type RetrospectiveStepResponseDataType ¶ added in v1.1.7
type RetrospectiveStepResponseDataType string
RetrospectiveStepResponseDataType defines model for RetrospectiveStepResponse.Data.Type.
const (
RetrospectiveStepResponseDataTypeRetrospectiveSteps RetrospectiveStepResponseDataType = "retrospective_steps"
)
Defines values for RetrospectiveStepResponseDataType.
type RunCommandHerokuTaskParams ¶
type RunCommandHerokuTaskParams struct {
AppName string `json:"app_name"`
Command string `json:"command"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
Size RunCommandHerokuTaskParamsSize `json:"size"`
TaskType *RunCommandHerokuTaskParamsTaskType `json:"task_type,omitempty"`
}
RunCommandHerokuTaskParams defines model for run_command_heroku_task_params.
type RunCommandHerokuTaskParamsSize ¶
type RunCommandHerokuTaskParamsSize string
RunCommandHerokuTaskParamsSize defines model for RunCommandHerokuTaskParams.Size.
const ( Standard1X RunCommandHerokuTaskParamsSize = "standard-1X" Standard2X RunCommandHerokuTaskParamsSize = "standard-2X" )
Defines values for RunCommandHerokuTaskParamsSize.
type RunCommandHerokuTaskParamsTaskType ¶
type RunCommandHerokuTaskParamsTaskType string
RunCommandHerokuTaskParamsTaskType defines model for RunCommandHerokuTaskParams.TaskType.
const (
RunCommandHeroku RunCommandHerokuTaskParamsTaskType = "run_command_heroku"
)
Defines values for RunCommandHerokuTaskParamsTaskType.
type Secret ¶ added in v0.1.58
type Secret struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The HashiCorp Vault secret mount path
HashicorpVaultMount *string `json:"hashicorp_vault_mount,omitempty"`
// The HashiCorp Vault secret path
HashicorpVaultPath *string `json:"hashicorp_vault_path"`
// The HashiCorp Vault secret version
HashicorpVaultVersion *int `json:"hashicorp_vault_version,omitempty"`
// The name of the secret
Name string `json:"name"`
// The redacted secret
Secret *string `json:"secret,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Secret defines model for secret.
type SecretList ¶ added in v0.1.58
type SecretList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The HashiCorp Vault secret mount path
HashicorpVaultMount *string `json:"hashicorp_vault_mount,omitempty"`
// The HashiCorp Vault secret path
HashicorpVaultPath *string `json:"hashicorp_vault_path"`
// The HashiCorp Vault secret version
HashicorpVaultVersion *int `json:"hashicorp_vault_version,omitempty"`
// The name of the secret
Name string `json:"name"`
// The redacted secret
Secret *string `json:"secret,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the secret
Id string `json:"id"`
Type SecretListDataType `json:"type"`
} `json:"data"`
Links *struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links,omitempty"`
}
SecretList defines model for secret_list.
type SecretListDataType ¶ added in v0.1.58
type SecretListDataType string
SecretListDataType defines model for SecretList.Data.Type.
const (
SecretListDataTypeSecrets SecretListDataType = "secrets"
)
Defines values for SecretListDataType.
type SecretResponse ¶ added in v0.1.58
type SecretResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The HashiCorp Vault secret mount path
HashicorpVaultMount *string `json:"hashicorp_vault_mount,omitempty"`
// The HashiCorp Vault secret path
HashicorpVaultPath *string `json:"hashicorp_vault_path"`
// The HashiCorp Vault secret version
HashicorpVaultVersion *int `json:"hashicorp_vault_version,omitempty"`
// The name of the secret
Name string `json:"name"`
// The redacted secret
Secret *string `json:"secret,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the secret
Id string `json:"id"`
Type SecretResponseDataType `json:"type"`
} `json:"data"`
}
SecretResponse defines model for secret_response.
type SecretResponseDataType ¶ added in v0.1.58
type SecretResponseDataType string
SecretResponseDataType defines model for SecretResponse.Data.Type.
const (
SecretResponseDataTypeSecrets SecretResponseDataType = "secrets"
)
Defines values for SecretResponseDataType.
type SendDashboardReportTaskParams ¶ added in v0.1.32
type SendDashboardReportTaskParams struct {
// The email body
Body *string `json:"body"`
DashboardIds []string `json:"dashboard_ids"`
// The from email address. Need to use SMTP integration if different than rootly.com
From *string `json:"from,omitempty"`
// The preheader
Preheader *string `json:"preheader"`
// The subject
Subject string `json:"subject"`
TaskType *SendDashboardReportTaskParamsTaskType `json:"task_type,omitempty"`
To []string `json:"to"`
}
SendDashboardReportTaskParams defines model for send_dashboard_report_task_params.
type SendDashboardReportTaskParamsTaskType ¶ added in v0.1.32
type SendDashboardReportTaskParamsTaskType string
SendDashboardReportTaskParamsTaskType defines model for SendDashboardReportTaskParams.TaskType.
const (
SendDashboardReport SendDashboardReportTaskParamsTaskType = "send_dashboard_report"
)
Defines values for SendDashboardReportTaskParamsTaskType.
type SendEmailTaskParams ¶
type SendEmailTaskParams struct {
Bcc *[]string `json:"bcc,omitempty"`
// The email body
Body *string `json:"body"`
Cc *[]string `json:"cc,omitempty"`
// URL to your custom email logo
CustomLogoUrl *string `json:"custom_logo_url"`
// The from email address. Need to use SMTP integration if different than rootly.com
From *string `json:"from,omitempty"`
IncludeHeader *bool `json:"include_header,omitempty"`
// The preheader
Preheader *string `json:"preheader"`
// The subject
Subject string `json:"subject"`
TaskType *SendEmailTaskParamsTaskType `json:"task_type,omitempty"`
To []string `json:"to"`
}
SendEmailTaskParams defines model for send_email_task_params.
type SendEmailTaskParamsTaskType ¶
type SendEmailTaskParamsTaskType string
SendEmailTaskParamsTaskType defines model for SendEmailTaskParams.TaskType.
const (
SendEmail SendEmailTaskParamsTaskType = "send_email"
)
Defines values for SendEmailTaskParamsTaskType.
type SendSlackBlocksTaskParams ¶ added in v0.1.33
type SendSlackBlocksTaskParams struct {
// Support liquid markup. Needs to be a valid JSON string after liquid is parsed
Attachments *string `json:"attachments,omitempty"`
// Support liquid markup. Needs to be a valid JSON string after liquid is parsed
Blocks string `json:"blocks"`
BroadcastThreadReplyToChannel *bool `json:"broadcast_thread_reply_to_channel,omitempty"`
Channels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channels,omitempty"`
Message *string `json:"message,omitempty"`
// A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
ParentMessageThreadTask *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"parent_message_thread_task,omitempty"`
PinToChannel *bool `json:"pin_to_channel,omitempty"`
SendAsEphemeral *bool `json:"send_as_ephemeral,omitempty"`
SlackUserGroups *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"slack_user_groups,omitempty"`
SlackUsers *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"slack_users,omitempty"`
TaskType *SendSlackBlocksTaskParamsTaskType `json:"task_type,omitempty"`
UpdateParentMessage *bool `json:"update_parent_message,omitempty"`
}
SendSlackBlocksTaskParams defines model for send_slack_blocks_task_params.
type SendSlackBlocksTaskParamsTaskType ¶ added in v0.1.33
type SendSlackBlocksTaskParamsTaskType string
SendSlackBlocksTaskParamsTaskType defines model for SendSlackBlocksTaskParams.TaskType.
const (
SendSlackBlocks SendSlackBlocksTaskParamsTaskType = "send_slack_blocks"
)
Defines values for SendSlackBlocksTaskParamsTaskType.
type SendSlackMessageTaskParams ¶
type SendSlackMessageTaskParams struct {
Actionables *[]SendSlackMessageTaskParamsActionables `json:"actionables,omitempty"`
BroadcastThreadReplyToChannel *bool `json:"broadcast_thread_reply_to_channel,omitempty"`
Channels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channels,omitempty"`
// A hex color ex. #FFFFFF
Color *string `json:"color,omitempty"`
// A hash where [id] is the task id of the parent task that sent a message, and [name] is the name of the parent task
ParentMessageThreadTask *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"parent_message_thread_task,omitempty"`
PinToChannel *bool `json:"pin_to_channel,omitempty"`
SendAsEphemeral *bool `json:"send_as_ephemeral,omitempty"`
SlackUserGroups *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"slack_user_groups,omitempty"`
SlackUsers *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"slack_users,omitempty"`
TaskType *SendSlackMessageTaskParamsTaskType `json:"task_type,omitempty"`
// The message text
Text string `json:"text"`
UpdateParentMessage *bool `json:"update_parent_message,omitempty"`
}
SendSlackMessageTaskParams defines model for send_slack_message_task_params.
type SendSlackMessageTaskParamsActionables ¶ added in v0.1.43
type SendSlackMessageTaskParamsActionables string
SendSlackMessageTaskParamsActionables defines model for SendSlackMessageTaskParams.Actionables.
const ( SendSlackMessageTaskParamsActionablesAddOpsgenieResponders SendSlackMessageTaskParamsActionables = "add_opsgenie_responders" SendSlackMessageTaskParamsActionablesAddPagerdutyResponders SendSlackMessageTaskParamsActionables = "add_pagerduty_responders" SendSlackMessageTaskParamsActionablesAddVictorOpsResponders SendSlackMessageTaskParamsActionables = "add_victor_ops_responders" SendSlackMessageTaskParamsActionablesAllCommands SendSlackMessageTaskParamsActionables = "all_commands" SendSlackMessageTaskParamsActionablesArchiveChannel SendSlackMessageTaskParamsActionables = "archive_channel" SendSlackMessageTaskParamsActionablesLeaveFeedback SendSlackMessageTaskParamsActionables = "leave_feedback" SendSlackMessageTaskParamsActionablesManageActionItems SendSlackMessageTaskParamsActionables = "manage_action_items" SendSlackMessageTaskParamsActionablesManageFormFields SendSlackMessageTaskParamsActionables = "manage_form_fields" SendSlackMessageTaskParamsActionablesManageIncidentRoles SendSlackMessageTaskParamsActionables = "manage_incident_roles" SendSlackMessageTaskParamsActionablesPauseReminder SendSlackMessageTaskParamsActionables = "pause_reminder" SendSlackMessageTaskParamsActionablesRestartReminder SendSlackMessageTaskParamsActionables = "restart_reminder" SendSlackMessageTaskParamsActionablesSnoozeReminder SendSlackMessageTaskParamsActionables = "snooze_reminder" SendSlackMessageTaskParamsActionablesUpdateIncident SendSlackMessageTaskParamsActionables = "update_incident" SendSlackMessageTaskParamsActionablesUpdateStatus SendSlackMessageTaskParamsActionables = "update_status" SendSlackMessageTaskParamsActionablesUpdateStatusPage SendSlackMessageTaskParamsActionables = "update_status_page" SendSlackMessageTaskParamsActionablesUpdateSummary SendSlackMessageTaskParamsActionables = "update_summary" SendSlackMessageTaskParamsActionablesViewTasks SendSlackMessageTaskParamsActionables = "view_tasks" )
Defines values for SendSlackMessageTaskParamsActionables.
type SendSlackMessageTaskParamsTaskType ¶ added in v0.1.39
type SendSlackMessageTaskParamsTaskType string
SendSlackMessageTaskParamsTaskType defines model for SendSlackMessageTaskParams.TaskType.
const (
SendSlackMessage SendSlackMessageTaskParamsTaskType = "send_slack_message"
)
Defines values for SendSlackMessageTaskParamsTaskType.
type SendSmsTaskParams ¶
type SendSmsTaskParams struct {
// The SMS message
Content string `json:"content"`
// The name
Name string `json:"name"`
PhoneNumbers []string `json:"phone_numbers"`
TaskType *SendSmsTaskParamsTaskType `json:"task_type,omitempty"`
}
SendSmsTaskParams defines model for send_sms_task_params.
type SendSmsTaskParamsTaskType ¶
type SendSmsTaskParamsTaskType string
SendSmsTaskParamsTaskType defines model for SendSmsTaskParams.TaskType.
const (
SendSms SendSmsTaskParamsTaskType = "send_sms"
)
Defines values for SendSmsTaskParamsTaskType.
type SendWhatsappMessageTaskParams ¶ added in v1.0.7
type SendWhatsappMessageTaskParams struct {
// The WhatsApp message
Content string `json:"content"`
// The name
Name string `json:"name"`
PhoneNumbers []string `json:"phone_numbers"`
TaskType *SendWhatsappMessageTaskParamsTaskType `json:"task_type,omitempty"`
}
SendWhatsappMessageTaskParams defines model for send_whatsapp_message_task_params.
type SendWhatsappMessageTaskParamsTaskType ¶ added in v1.0.7
type SendWhatsappMessageTaskParamsTaskType string
SendWhatsappMessageTaskParamsTaskType defines model for SendWhatsappMessageTaskParams.TaskType.
const (
SendWhatsappMessage SendWhatsappMessageTaskParamsTaskType = "send_whatsapp_message"
)
Defines values for SendWhatsappMessageTaskParamsTaskType.
type Service ¶
type Service struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *ServiceStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Service defines model for service.
type ServiceList ¶
type ServiceList struct {
Data []struct {
Attributes struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *ServiceListDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the service
Id string `json:"id"`
Type ServiceListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
ServiceList defines model for service_list.
type ServiceListDataAttributesStatus ¶ added in v0.1.83
type ServiceListDataAttributesStatus string
The status of the service
const ( ServiceListDataAttributesStatusImpacted ServiceListDataAttributesStatus = "impacted" ServiceListDataAttributesStatusMajorOutage ServiceListDataAttributesStatus = "major_outage" ServiceListDataAttributesStatusOperational ServiceListDataAttributesStatus = "operational" ServiceListDataAttributesStatusOutage ServiceListDataAttributesStatus = "outage" ServiceListDataAttributesStatusPartialOutage ServiceListDataAttributesStatus = "partial_outage" )
Defines values for ServiceListDataAttributesStatus.
type ServiceListDataType ¶
type ServiceListDataType string
ServiceListDataType defines model for ServiceList.Data.Type.
const (
ServiceListDataTypeServices ServiceListDataType = "services"
)
Defines values for ServiceListDataType.
type ServiceResponse ¶
type ServiceResponse struct {
Data struct {
Attributes struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name string `json:"name"`
// Emails attached to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the service
Slug *string `json:"slug,omitempty"`
// The status of the service
Status *ServiceResponseDataAttributesStatus `json:"status,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the service
Id string `json:"id"`
Type ServiceResponseDataType `json:"type"`
} `json:"data"`
}
ServiceResponse defines model for service_response.
type ServiceResponseDataAttributesStatus ¶ added in v0.1.83
type ServiceResponseDataAttributesStatus string
The status of the service
const ( ServiceResponseDataAttributesStatusImpacted ServiceResponseDataAttributesStatus = "impacted" ServiceResponseDataAttributesStatusMajorOutage ServiceResponseDataAttributesStatus = "major_outage" ServiceResponseDataAttributesStatusOperational ServiceResponseDataAttributesStatus = "operational" ServiceResponseDataAttributesStatusOutage ServiceResponseDataAttributesStatus = "outage" ServiceResponseDataAttributesStatusPartialOutage ServiceResponseDataAttributesStatus = "partial_outage" )
Defines values for ServiceResponseDataAttributesStatus.
type ServiceResponseDataType ¶
type ServiceResponseDataType string
ServiceResponseDataType defines model for ServiceResponse.Data.Type.
const (
ServiceResponseDataTypeServices ServiceResponseDataType = "services"
)
Defines values for ServiceResponseDataType.
type ServiceStatus ¶ added in v0.1.83
type ServiceStatus string
The status of the service
const ( ServiceStatusImpacted ServiceStatus = "impacted" ServiceStatusMajorOutage ServiceStatus = "major_outage" ServiceStatusOperational ServiceStatus = "operational" ServiceStatusOutage ServiceStatus = "outage" ServiceStatusPartialOutage ServiceStatus = "partial_outage" )
Defines values for ServiceStatus.
type SetDefaultDashboardResponse ¶
func ParseSetDefaultDashboardResponse ¶
func ParseSetDefaultDashboardResponse(rsp *http.Response) (*SetDefaultDashboardResponse, error)
ParseSetDefaultDashboardResponse parses an HTTP response from a SetDefaultDashboardWithResponse call
func (SetDefaultDashboardResponse) Status ¶
func (r SetDefaultDashboardResponse) Status() string
Status returns HTTPResponse.Status
func (SetDefaultDashboardResponse) StatusCode ¶
func (r SetDefaultDashboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Severity ¶
type Severity struct {
// The hex color of the severity
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name string `json:"name"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *SeveritySeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the severity
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
Severity defines model for severity.
type SeverityList ¶
type SeverityList struct {
Data []struct {
Attributes struct {
// The hex color of the severity
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name string `json:"name"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *SeverityListDataAttributesSeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the severity
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the severity
Id string `json:"id"`
Type SeverityListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
SeverityList defines model for severity_list.
type SeverityListDataAttributesSeverity ¶ added in v0.1.12
type SeverityListDataAttributesSeverity string
The severity of the severity
const ( SeverityListDataAttributesSeverityCritical SeverityListDataAttributesSeverity = "critical" SeverityListDataAttributesSeverityHigh SeverityListDataAttributesSeverity = "high" SeverityListDataAttributesSeverityLow SeverityListDataAttributesSeverity = "low" SeverityListDataAttributesSeverityMedium SeverityListDataAttributesSeverity = "medium" )
Defines values for SeverityListDataAttributesSeverity.
type SeverityListDataType ¶
type SeverityListDataType string
SeverityListDataType defines model for SeverityList.Data.Type.
const (
SeverityListDataTypeSeverities SeverityListDataType = "severities"
)
Defines values for SeverityListDataType.
type SeverityResponse ¶
type SeverityResponse struct {
Data struct {
Attributes struct {
// The hex color of the severity
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name string `json:"name"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *SeverityResponseDataAttributesSeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The slug of the severity
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the severity
Id string `json:"id"`
Type SeverityResponseDataType `json:"type"`
} `json:"data"`
}
SeverityResponse defines model for severity_response.
type SeverityResponseDataAttributesSeverity ¶ added in v0.1.12
type SeverityResponseDataAttributesSeverity string
The severity of the severity
const ( SeverityResponseDataAttributesSeverityCritical SeverityResponseDataAttributesSeverity = "critical" SeverityResponseDataAttributesSeverityHigh SeverityResponseDataAttributesSeverity = "high" SeverityResponseDataAttributesSeverityLow SeverityResponseDataAttributesSeverity = "low" SeverityResponseDataAttributesSeverityMedium SeverityResponseDataAttributesSeverity = "medium" )
Defines values for SeverityResponseDataAttributesSeverity.
type SeverityResponseDataType ¶
type SeverityResponseDataType string
SeverityResponseDataType defines model for SeverityResponse.Data.Type.
const (
SeverityResponseDataTypeSeverities SeverityResponseDataType = "severities"
)
Defines values for SeverityResponseDataType.
type SeveritySeverity ¶
type SeveritySeverity string
The severity of the severity
const ( SeveritySeverityCritical SeveritySeverity = "critical" SeveritySeverityHigh SeveritySeverity = "high" SeveritySeverityLow SeveritySeverity = "low" SeveritySeverityMedium SeveritySeverity = "medium" )
Defines values for SeveritySeverity.
type SimpleTriggerParams ¶ added in v0.1.55
type SimpleTriggerParams struct {
TriggerType SimpleTriggerParamsTriggerType `json:"trigger_type"`
Triggers *[]SimpleTriggerParamsTriggers `json:"triggers,omitempty"`
}
SimpleTriggerParams defines model for simple_trigger_params.
type SimpleTriggerParamsTriggerType ¶ added in v0.1.55
type SimpleTriggerParamsTriggerType string
SimpleTriggerParamsTriggerType defines model for SimpleTriggerParams.TriggerType.
const (
SimpleTriggerParamsTriggerTypeSimple SimpleTriggerParamsTriggerType = "simple"
)
Defines values for SimpleTriggerParamsTriggerType.
type SimpleTriggerParamsTriggers ¶ added in v0.1.55
type SimpleTriggerParamsTriggers string
Actions that trigger the workflow
const (
SlackCommand SimpleTriggerParamsTriggers = "slack_command"
)
Defines values for SimpleTriggerParamsTriggers.
type SnapshotDatadogGraphTaskParams ¶
type SnapshotDatadogGraphTaskParams struct {
Dashboards *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"dashboards,omitempty"`
MetricQueries *[]string `json:"metric_queries,omitempty"`
// in format '1 minute', '30 days', '3 months', etc
PastDuration string `json:"past_duration"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *SnapshotDatadogGraphTaskParamsTaskType `json:"task_type,omitempty"`
}
SnapshotDatadogGraphTaskParams defines model for snapshot_datadog_graph_task_params.
type SnapshotDatadogGraphTaskParamsTaskType ¶
type SnapshotDatadogGraphTaskParamsTaskType string
SnapshotDatadogGraphTaskParamsTaskType defines model for SnapshotDatadogGraphTaskParams.TaskType.
const (
SnapshotDatadogGraph SnapshotDatadogGraphTaskParamsTaskType = "snapshot_datadog_graph"
)
Defines values for SnapshotDatadogGraphTaskParamsTaskType.
type SnapshotGrafanaDashboardTaskParams ¶
type SnapshotGrafanaDashboardTaskParams struct {
Dashboards []struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"dashboards"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *SnapshotGrafanaDashboardTaskParamsTaskType `json:"task_type,omitempty"`
}
SnapshotGrafanaDashboardTaskParams defines model for snapshot_grafana_dashboard_task_params.
type SnapshotGrafanaDashboardTaskParamsTaskType ¶
type SnapshotGrafanaDashboardTaskParamsTaskType string
SnapshotGrafanaDashboardTaskParamsTaskType defines model for SnapshotGrafanaDashboardTaskParams.TaskType.
const (
SnapshotGrafanaDashboard SnapshotGrafanaDashboardTaskParamsTaskType = "snapshot_grafana_dashboard"
)
Defines values for SnapshotGrafanaDashboardTaskParamsTaskType.
type SnapshotLookerLookTaskParams ¶
type SnapshotLookerLookTaskParams struct {
Dashboards []struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"dashboards"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *SnapshotLookerLookTaskParamsTaskType `json:"task_type,omitempty"`
}
SnapshotLookerLookTaskParams defines model for snapshot_looker_look_task_params.
type SnapshotLookerLookTaskParamsTaskType ¶
type SnapshotLookerLookTaskParamsTaskType string
SnapshotLookerLookTaskParamsTaskType defines model for SnapshotLookerLookTaskParams.TaskType.
const (
SnapshotLookerLook SnapshotLookerLookTaskParamsTaskType = "snapshot_looker_look"
)
Defines values for SnapshotLookerLookTaskParamsTaskType.
type SnapshotNewRelicGraphTaskParams ¶
type SnapshotNewRelicGraphTaskParams struct {
MetricQuery string `json:"metric_query"`
MetricType SnapshotNewRelicGraphTaskParamsMetricType `json:"metric_type"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
TaskType *SnapshotNewRelicGraphTaskParamsTaskType `json:"task_type,omitempty"`
}
SnapshotNewRelicGraphTaskParams defines model for snapshot_new_relic_graph_task_params.
type SnapshotNewRelicGraphTaskParamsMetricType ¶
type SnapshotNewRelicGraphTaskParamsMetricType string
SnapshotNewRelicGraphTaskParamsMetricType defines model for SnapshotNewRelicGraphTaskParams.MetricType.
const ( APDEX SnapshotNewRelicGraphTaskParamsMetricType = "APDEX" AREA SnapshotNewRelicGraphTaskParamsMetricType = "AREA" BAR SnapshotNewRelicGraphTaskParamsMetricType = "BAR" BASELINE SnapshotNewRelicGraphTaskParamsMetricType = "BASELINE" BILLBOARD SnapshotNewRelicGraphTaskParamsMetricType = "BILLBOARD" BULLET SnapshotNewRelicGraphTaskParamsMetricType = "BULLET" EVENTFEED SnapshotNewRelicGraphTaskParamsMetricType = "EVENT_FEED" FUNNEL SnapshotNewRelicGraphTaskParamsMetricType = "FUNNEL" HEATMAP SnapshotNewRelicGraphTaskParamsMetricType = "HEATMAP" HISTOGRAM SnapshotNewRelicGraphTaskParamsMetricType = "HISTOGRAM" LINE SnapshotNewRelicGraphTaskParamsMetricType = "LINE" PIE SnapshotNewRelicGraphTaskParamsMetricType = "PIE" SCATTER SnapshotNewRelicGraphTaskParamsMetricType = "SCATTER" STACKEDHORIZONTALBAR SnapshotNewRelicGraphTaskParamsMetricType = "STACKED_HORIZONTAL_BAR" TABLE SnapshotNewRelicGraphTaskParamsMetricType = "TABLE" VERTICALBAR SnapshotNewRelicGraphTaskParamsMetricType = "VERTICAL_BAR" )
Defines values for SnapshotNewRelicGraphTaskParamsMetricType.
type SnapshotNewRelicGraphTaskParamsTaskType ¶
type SnapshotNewRelicGraphTaskParamsTaskType string
SnapshotNewRelicGraphTaskParamsTaskType defines model for SnapshotNewRelicGraphTaskParams.TaskType.
const (
SnapshotLookerGraph SnapshotNewRelicGraphTaskParamsTaskType = "snapshot_looker_graph"
)
Defines values for SnapshotNewRelicGraphTaskParamsTaskType.
type StatusPage ¶
type StatusPage struct {
// Allow search engines to include your public status page in search results
AllowSearchEngineIndex *bool `json:"allow_search_engine_index"`
// Enable authentication
AuthenticationEnabled *bool `json:"authentication_enabled"`
// Authentication password
AuthenticationPassword *string `json:"authentication_password"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the status page
Description *string `json:"description"`
// Enabled / Disable the status page
Enabled *bool `json:"enabled"`
// Message showing when at least one component is not operational
FailureMessage *string `json:"failure_message"`
FooterColor *string `json:"footer_color"`
// Functionalities attached to the status page
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
// Google Analytics tracking ID
GaTrackingId *string `json:"ga_tracking_id"`
// The color of the header. Eg. "#0061F2"
HeaderColor *string `json:"header_color"`
// Make the status page accessible to the public
Public *bool `json:"public"`
// Services attached to the status page
ServiceIds *[]string `json:"service_ids,omitempty"`
// Show uptime
ShowUptime *bool `json:"show_uptime"`
// Show uptime over x days
ShowUptimeLastDays *StatusPageShowUptimeLastDays `json:"show_uptime_last_days"`
// Message showing when all components are operational
SuccessMessage *string `json:"success_message"`
// Status Page Timezone
TimeZone *StatusPageTimeZone `json:"time_zone"`
// The title of the status page
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// Website Privacy URL
WebsitePrivacyUrl *string `json:"website_privacy_url"`
// Website Support URL
WebsiteSupportUrl *string `json:"website_support_url"`
// Website URL
WebsiteUrl *string `json:"website_url"`
}
StatusPage defines model for status_page.
type StatusPageList ¶
type StatusPageList struct {
Data []struct {
Attributes struct {
// Allow search engines to include your public status page in search results
AllowSearchEngineIndex *bool `json:"allow_search_engine_index"`
// Enable authentication
AuthenticationEnabled *bool `json:"authentication_enabled"`
// Authentication password
AuthenticationPassword *string `json:"authentication_password"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the status page
Description *string `json:"description"`
// Enabled / Disable the status page
Enabled *bool `json:"enabled"`
// Message showing when at least one component is not operational
FailureMessage *string `json:"failure_message"`
// The color of the footer. Eg. "#1F2F41"
FooterColor *string `json:"footer_color"`
// Functionalities attached to the status page
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
// Google Analytics tracking ID
GaTrackingId *string `json:"ga_tracking_id"`
// The color of the header. Eg. "#0061F2"
HeaderColor *string `json:"header_color"`
// Make the status page accessible to the public
Public *bool `json:"public"`
// Services attached to the status page
ServiceIds *[]string `json:"service_ids,omitempty"`
// Show uptime
ShowUptime *bool `json:"show_uptime"`
// Show uptime over x days
ShowUptimeLastDays *StatusPageListDataAttributesShowUptimeLastDays `json:"show_uptime_last_days"`
// Message showing when all components are operational
SuccessMessage *string `json:"success_message"`
// Status Page Timezone
TimeZone *StatusPageListDataAttributesTimeZone `json:"time_zone"`
// The title of the status page
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// Website Privacy URL
WebsitePrivacyUrl *string `json:"website_privacy_url"`
// Website Support URL
WebsiteSupportUrl *string `json:"website_support_url"`
// Website URL
WebsiteUrl *string `json:"website_url"`
} `json:"attributes"`
// Unique ID of the status page
Id string `json:"id"`
Type StatusPageListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
StatusPageList defines model for status_page_list.
type StatusPageListDataAttributesShowUptimeLastDays ¶ added in v0.1.12
type StatusPageListDataAttributesShowUptimeLastDays int
Show uptime over x days
const ( StatusPageListDataAttributesShowUptimeLastDaysN180 StatusPageListDataAttributesShowUptimeLastDays = 180 StatusPageListDataAttributesShowUptimeLastDaysN30 StatusPageListDataAttributesShowUptimeLastDays = 30 StatusPageListDataAttributesShowUptimeLastDaysN360 StatusPageListDataAttributesShowUptimeLastDays = 360 StatusPageListDataAttributesShowUptimeLastDaysN60 StatusPageListDataAttributesShowUptimeLastDays = 60 StatusPageListDataAttributesShowUptimeLastDaysN90 StatusPageListDataAttributesShowUptimeLastDays = 90 )
Defines values for StatusPageListDataAttributesShowUptimeLastDays.
type StatusPageListDataAttributesTimeZone ¶ added in v0.1.96
type StatusPageListDataAttributesTimeZone string
Status Page Timezone
const ( StatusPageListDataAttributesTimeZoneAbuDhabi StatusPageListDataAttributesTimeZone = "Abu Dhabi" StatusPageListDataAttributesTimeZoneAdelaide StatusPageListDataAttributesTimeZone = "Adelaide" StatusPageListDataAttributesTimeZoneAlaska StatusPageListDataAttributesTimeZone = "Alaska" StatusPageListDataAttributesTimeZoneAlmaty StatusPageListDataAttributesTimeZone = "Almaty" StatusPageListDataAttributesTimeZoneAmericanSamoa StatusPageListDataAttributesTimeZone = "American Samoa" StatusPageListDataAttributesTimeZoneAmsterdam StatusPageListDataAttributesTimeZone = "Amsterdam" StatusPageListDataAttributesTimeZoneArizona StatusPageListDataAttributesTimeZone = "Arizona" StatusPageListDataAttributesTimeZoneAstana StatusPageListDataAttributesTimeZone = "Astana" StatusPageListDataAttributesTimeZoneAthens StatusPageListDataAttributesTimeZone = "Athens" StatusPageListDataAttributesTimeZoneAtlanticTimeCanada StatusPageListDataAttributesTimeZone = "Atlantic Time (Canada)" StatusPageListDataAttributesTimeZoneAuckland StatusPageListDataAttributesTimeZone = "Auckland" StatusPageListDataAttributesTimeZoneAzores StatusPageListDataAttributesTimeZone = "Azores" StatusPageListDataAttributesTimeZoneBaghdad StatusPageListDataAttributesTimeZone = "Baghdad" StatusPageListDataAttributesTimeZoneBaku StatusPageListDataAttributesTimeZone = "Baku" StatusPageListDataAttributesTimeZoneBangkok StatusPageListDataAttributesTimeZone = "Bangkok" StatusPageListDataAttributesTimeZoneBeijing StatusPageListDataAttributesTimeZone = "Beijing" StatusPageListDataAttributesTimeZoneBelgrade StatusPageListDataAttributesTimeZone = "Belgrade" StatusPageListDataAttributesTimeZoneBerlin StatusPageListDataAttributesTimeZone = "Berlin" StatusPageListDataAttributesTimeZoneBern StatusPageListDataAttributesTimeZone = "Bern" StatusPageListDataAttributesTimeZoneBogota StatusPageListDataAttributesTimeZone = "Bogota" StatusPageListDataAttributesTimeZoneBrasilia StatusPageListDataAttributesTimeZone = "Brasilia" StatusPageListDataAttributesTimeZoneBratislava StatusPageListDataAttributesTimeZone = "Bratislava" StatusPageListDataAttributesTimeZoneBrisbane StatusPageListDataAttributesTimeZone = "Brisbane" StatusPageListDataAttributesTimeZoneBrussels StatusPageListDataAttributesTimeZone = "Brussels" StatusPageListDataAttributesTimeZoneBucharest StatusPageListDataAttributesTimeZone = "Bucharest" StatusPageListDataAttributesTimeZoneBudapest StatusPageListDataAttributesTimeZone = "Budapest" StatusPageListDataAttributesTimeZoneBuenosAires StatusPageListDataAttributesTimeZone = "Buenos Aires" StatusPageListDataAttributesTimeZoneCairo StatusPageListDataAttributesTimeZone = "Cairo" StatusPageListDataAttributesTimeZoneCanberra StatusPageListDataAttributesTimeZone = "Canberra" StatusPageListDataAttributesTimeZoneCapeVerdeIs StatusPageListDataAttributesTimeZone = "Cape Verde Is." StatusPageListDataAttributesTimeZoneCaracas StatusPageListDataAttributesTimeZone = "Caracas" StatusPageListDataAttributesTimeZoneCasablanca StatusPageListDataAttributesTimeZone = "Casablanca" StatusPageListDataAttributesTimeZoneCentralAmerica StatusPageListDataAttributesTimeZone = "Central America" StatusPageListDataAttributesTimeZoneCentralTimeUSCanada StatusPageListDataAttributesTimeZone = "Central Time (US & Canada)" StatusPageListDataAttributesTimeZoneChathamIs StatusPageListDataAttributesTimeZone = "Chatham Is." StatusPageListDataAttributesTimeZoneChennai StatusPageListDataAttributesTimeZone = "Chennai" StatusPageListDataAttributesTimeZoneChihuahua StatusPageListDataAttributesTimeZone = "Chihuahua" StatusPageListDataAttributesTimeZoneChongqing StatusPageListDataAttributesTimeZone = "Chongqing" StatusPageListDataAttributesTimeZoneCopenhagen StatusPageListDataAttributesTimeZone = "Copenhagen" StatusPageListDataAttributesTimeZoneDarwin StatusPageListDataAttributesTimeZone = "Darwin" StatusPageListDataAttributesTimeZoneDhaka StatusPageListDataAttributesTimeZone = "Dhaka" StatusPageListDataAttributesTimeZoneDublin StatusPageListDataAttributesTimeZone = "Dublin" StatusPageListDataAttributesTimeZoneEasternTimeUSCanada StatusPageListDataAttributesTimeZone = "Eastern Time (US & Canada)" StatusPageListDataAttributesTimeZoneEdinburgh StatusPageListDataAttributesTimeZone = "Edinburgh" StatusPageListDataAttributesTimeZoneEkaterinburg StatusPageListDataAttributesTimeZone = "Ekaterinburg" StatusPageListDataAttributesTimeZoneFiji StatusPageListDataAttributesTimeZone = "Fiji" StatusPageListDataAttributesTimeZoneGeorgetown StatusPageListDataAttributesTimeZone = "Georgetown" StatusPageListDataAttributesTimeZoneGreenland StatusPageListDataAttributesTimeZone = "Greenland" StatusPageListDataAttributesTimeZoneGuadalajara StatusPageListDataAttributesTimeZone = "Guadalajara" StatusPageListDataAttributesTimeZoneGuam StatusPageListDataAttributesTimeZone = "Guam" StatusPageListDataAttributesTimeZoneHanoi StatusPageListDataAttributesTimeZone = "Hanoi" StatusPageListDataAttributesTimeZoneHarare StatusPageListDataAttributesTimeZone = "Harare" StatusPageListDataAttributesTimeZoneHawaii StatusPageListDataAttributesTimeZone = "Hawaii" StatusPageListDataAttributesTimeZoneHelsinki StatusPageListDataAttributesTimeZone = "Helsinki" StatusPageListDataAttributesTimeZoneHobart StatusPageListDataAttributesTimeZone = "Hobart" StatusPageListDataAttributesTimeZoneHongKong StatusPageListDataAttributesTimeZone = "Hong Kong" StatusPageListDataAttributesTimeZoneIndianaEast StatusPageListDataAttributesTimeZone = "Indiana (East)" StatusPageListDataAttributesTimeZoneInternationalDateLineWest StatusPageListDataAttributesTimeZone = "International Date Line West" StatusPageListDataAttributesTimeZoneIrkutsk StatusPageListDataAttributesTimeZone = "Irkutsk" StatusPageListDataAttributesTimeZoneIslamabad StatusPageListDataAttributesTimeZone = "Islamabad" StatusPageListDataAttributesTimeZoneIstanbul StatusPageListDataAttributesTimeZone = "Istanbul" StatusPageListDataAttributesTimeZoneJakarta StatusPageListDataAttributesTimeZone = "Jakarta" StatusPageListDataAttributesTimeZoneJerusalem StatusPageListDataAttributesTimeZone = "Jerusalem" StatusPageListDataAttributesTimeZoneKabul StatusPageListDataAttributesTimeZone = "Kabul" StatusPageListDataAttributesTimeZoneKaliningrad StatusPageListDataAttributesTimeZone = "Kaliningrad" StatusPageListDataAttributesTimeZoneKamchatka StatusPageListDataAttributesTimeZone = "Kamchatka" StatusPageListDataAttributesTimeZoneKarachi StatusPageListDataAttributesTimeZone = "Karachi" StatusPageListDataAttributesTimeZoneKathmandu StatusPageListDataAttributesTimeZone = "Kathmandu" StatusPageListDataAttributesTimeZoneKolkata StatusPageListDataAttributesTimeZone = "Kolkata" StatusPageListDataAttributesTimeZoneKrasnoyarsk StatusPageListDataAttributesTimeZone = "Krasnoyarsk" StatusPageListDataAttributesTimeZoneKualaLumpur StatusPageListDataAttributesTimeZone = "Kuala Lumpur" StatusPageListDataAttributesTimeZoneKuwait StatusPageListDataAttributesTimeZone = "Kuwait" StatusPageListDataAttributesTimeZoneKyiv StatusPageListDataAttributesTimeZone = "Kyiv" StatusPageListDataAttributesTimeZoneLaPaz StatusPageListDataAttributesTimeZone = "La Paz" StatusPageListDataAttributesTimeZoneLima StatusPageListDataAttributesTimeZone = "Lima" StatusPageListDataAttributesTimeZoneLisbon StatusPageListDataAttributesTimeZone = "Lisbon" StatusPageListDataAttributesTimeZoneLjubljana StatusPageListDataAttributesTimeZone = "Ljubljana" StatusPageListDataAttributesTimeZoneLondon StatusPageListDataAttributesTimeZone = "London" StatusPageListDataAttributesTimeZoneMadrid StatusPageListDataAttributesTimeZone = "Madrid" StatusPageListDataAttributesTimeZoneMagadan StatusPageListDataAttributesTimeZone = "Magadan" StatusPageListDataAttributesTimeZoneMarshallIs StatusPageListDataAttributesTimeZone = "Marshall Is." StatusPageListDataAttributesTimeZoneMazatlan StatusPageListDataAttributesTimeZone = "Mazatlan" StatusPageListDataAttributesTimeZoneMelbourne StatusPageListDataAttributesTimeZone = "Melbourne" StatusPageListDataAttributesTimeZoneMexicoCity StatusPageListDataAttributesTimeZone = "Mexico City" StatusPageListDataAttributesTimeZoneMidAtlantic StatusPageListDataAttributesTimeZone = "Mid-Atlantic" StatusPageListDataAttributesTimeZoneMidwayIsland StatusPageListDataAttributesTimeZone = "Midway Island" StatusPageListDataAttributesTimeZoneMinsk StatusPageListDataAttributesTimeZone = "Minsk" StatusPageListDataAttributesTimeZoneMonrovia StatusPageListDataAttributesTimeZone = "Monrovia" StatusPageListDataAttributesTimeZoneMonterrey StatusPageListDataAttributesTimeZone = "Monterrey" StatusPageListDataAttributesTimeZoneMontevideo StatusPageListDataAttributesTimeZone = "Montevideo" StatusPageListDataAttributesTimeZoneMoscow StatusPageListDataAttributesTimeZone = "Moscow" StatusPageListDataAttributesTimeZoneMountainTimeUSCanada StatusPageListDataAttributesTimeZone = "Mountain Time (US & Canada)" StatusPageListDataAttributesTimeZoneMumbai StatusPageListDataAttributesTimeZone = "Mumbai" StatusPageListDataAttributesTimeZoneMuscat StatusPageListDataAttributesTimeZone = "Muscat" StatusPageListDataAttributesTimeZoneNairobi StatusPageListDataAttributesTimeZone = "Nairobi" StatusPageListDataAttributesTimeZoneNewCaledonia StatusPageListDataAttributesTimeZone = "New Caledonia" StatusPageListDataAttributesTimeZoneNewDelhi StatusPageListDataAttributesTimeZone = "New Delhi" StatusPageListDataAttributesTimeZoneNewfoundland StatusPageListDataAttributesTimeZone = "Newfoundland" StatusPageListDataAttributesTimeZoneNovosibirsk StatusPageListDataAttributesTimeZone = "Novosibirsk" StatusPageListDataAttributesTimeZoneNukualofa StatusPageListDataAttributesTimeZone = "Nuku'alofa" StatusPageListDataAttributesTimeZoneOsaka StatusPageListDataAttributesTimeZone = "Osaka" StatusPageListDataAttributesTimeZonePacificTimeUSCanada StatusPageListDataAttributesTimeZone = "Pacific Time (US & Canada)" StatusPageListDataAttributesTimeZoneParis StatusPageListDataAttributesTimeZone = "Paris" StatusPageListDataAttributesTimeZonePerth StatusPageListDataAttributesTimeZone = "Perth" StatusPageListDataAttributesTimeZonePortMoresby StatusPageListDataAttributesTimeZone = "Port Moresby" StatusPageListDataAttributesTimeZonePrague StatusPageListDataAttributesTimeZone = "Prague" StatusPageListDataAttributesTimeZonePretoria StatusPageListDataAttributesTimeZone = "Pretoria" StatusPageListDataAttributesTimeZonePuertoRico StatusPageListDataAttributesTimeZone = "Puerto Rico" StatusPageListDataAttributesTimeZoneQuito StatusPageListDataAttributesTimeZone = "Quito" StatusPageListDataAttributesTimeZoneRangoon StatusPageListDataAttributesTimeZone = "Rangoon" StatusPageListDataAttributesTimeZoneRiga StatusPageListDataAttributesTimeZone = "Riga" StatusPageListDataAttributesTimeZoneRiyadh StatusPageListDataAttributesTimeZone = "Riyadh" StatusPageListDataAttributesTimeZoneRome StatusPageListDataAttributesTimeZone = "Rome" StatusPageListDataAttributesTimeZoneSamara StatusPageListDataAttributesTimeZone = "Samara" StatusPageListDataAttributesTimeZoneSamoa StatusPageListDataAttributesTimeZone = "Samoa" StatusPageListDataAttributesTimeZoneSantiago StatusPageListDataAttributesTimeZone = "Santiago" StatusPageListDataAttributesTimeZoneSapporo StatusPageListDataAttributesTimeZone = "Sapporo" StatusPageListDataAttributesTimeZoneSarajevo StatusPageListDataAttributesTimeZone = "Sarajevo" StatusPageListDataAttributesTimeZoneSaskatchewan StatusPageListDataAttributesTimeZone = "Saskatchewan" StatusPageListDataAttributesTimeZoneSeoul StatusPageListDataAttributesTimeZone = "Seoul" StatusPageListDataAttributesTimeZoneSingapore StatusPageListDataAttributesTimeZone = "Singapore" StatusPageListDataAttributesTimeZoneSkopje StatusPageListDataAttributesTimeZone = "Skopje" StatusPageListDataAttributesTimeZoneSofia StatusPageListDataAttributesTimeZone = "Sofia" StatusPageListDataAttributesTimeZoneSolomonIs StatusPageListDataAttributesTimeZone = "Solomon Is." StatusPageListDataAttributesTimeZoneSrednekolymsk StatusPageListDataAttributesTimeZone = "Srednekolymsk" StatusPageListDataAttributesTimeZoneSriJayawardenepura StatusPageListDataAttributesTimeZone = "Sri Jayawardenepura" StatusPageListDataAttributesTimeZoneStPetersburg StatusPageListDataAttributesTimeZone = "St. Petersburg" StatusPageListDataAttributesTimeZoneStockholm StatusPageListDataAttributesTimeZone = "Stockholm" StatusPageListDataAttributesTimeZoneSydney StatusPageListDataAttributesTimeZone = "Sydney" StatusPageListDataAttributesTimeZoneTaipei StatusPageListDataAttributesTimeZone = "Taipei" StatusPageListDataAttributesTimeZoneTallinn StatusPageListDataAttributesTimeZone = "Tallinn" StatusPageListDataAttributesTimeZoneTashkent StatusPageListDataAttributesTimeZone = "Tashkent" StatusPageListDataAttributesTimeZoneTbilisi StatusPageListDataAttributesTimeZone = "Tbilisi" StatusPageListDataAttributesTimeZoneTehran StatusPageListDataAttributesTimeZone = "Tehran" StatusPageListDataAttributesTimeZoneTijuana StatusPageListDataAttributesTimeZone = "Tijuana" StatusPageListDataAttributesTimeZoneTokelauIs StatusPageListDataAttributesTimeZone = "Tokelau Is." StatusPageListDataAttributesTimeZoneTokyo StatusPageListDataAttributesTimeZone = "Tokyo" StatusPageListDataAttributesTimeZoneUTC StatusPageListDataAttributesTimeZone = "UTC" StatusPageListDataAttributesTimeZoneUlaanbaatar StatusPageListDataAttributesTimeZone = "Ulaanbaatar" StatusPageListDataAttributesTimeZoneUrumqi StatusPageListDataAttributesTimeZone = "Urumqi" StatusPageListDataAttributesTimeZoneVienna StatusPageListDataAttributesTimeZone = "Vienna" StatusPageListDataAttributesTimeZoneVilnius StatusPageListDataAttributesTimeZone = "Vilnius" StatusPageListDataAttributesTimeZoneVladivostok StatusPageListDataAttributesTimeZone = "Vladivostok" StatusPageListDataAttributesTimeZoneVolgograd StatusPageListDataAttributesTimeZone = "Volgograd" StatusPageListDataAttributesTimeZoneWarsaw StatusPageListDataAttributesTimeZone = "Warsaw" StatusPageListDataAttributesTimeZoneWellington StatusPageListDataAttributesTimeZone = "Wellington" StatusPageListDataAttributesTimeZoneWestCentralAfrica StatusPageListDataAttributesTimeZone = "West Central Africa" StatusPageListDataAttributesTimeZoneYakutsk StatusPageListDataAttributesTimeZone = "Yakutsk" StatusPageListDataAttributesTimeZoneYerevan StatusPageListDataAttributesTimeZone = "Yerevan" StatusPageListDataAttributesTimeZoneZagreb StatusPageListDataAttributesTimeZone = "Zagreb" StatusPageListDataAttributesTimeZoneZurich StatusPageListDataAttributesTimeZone = "Zurich" )
Defines values for StatusPageListDataAttributesTimeZone.
type StatusPageListDataType ¶
type StatusPageListDataType string
StatusPageListDataType defines model for StatusPageList.Data.Type.
const (
StatusPageListDataTypeStatusPages StatusPageListDataType = "status_pages"
)
Defines values for StatusPageListDataType.
type StatusPageResponse ¶
type StatusPageResponse struct {
Data struct {
Attributes struct {
// Allow search engines to include your public status page in search results
AllowSearchEngineIndex *bool `json:"allow_search_engine_index"`
// Enable authentication
AuthenticationEnabled *bool `json:"authentication_enabled"`
// Authentication password
AuthenticationPassword *string `json:"authentication_password"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the status page
Description *string `json:"description"`
// Enabled / Disable the status page
Enabled *bool `json:"enabled"`
// Message showing when at least one component is not operational
FailureMessage *string `json:"failure_message"`
// The color of the footer. Eg. "#1F2F41"
FooterColor *string `json:"footer_color"`
// Functionalities attached to the status page
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
// Google Analytics tracking ID
GaTrackingId *string `json:"ga_tracking_id"`
// The color of the header. Eg. "#0061F2"
HeaderColor *string `json:"header_color"`
// Make the status page accessible to the public
Public *bool `json:"public"`
// Services attached to the status page
ServiceIds *[]string `json:"service_ids,omitempty"`
// Show uptime
ShowUptime *bool `json:"show_uptime"`
// Show uptime over x days
ShowUptimeLastDays *StatusPageResponseDataAttributesShowUptimeLastDays `json:"show_uptime_last_days"`
// Message showing when all components are operational
SuccessMessage *string `json:"success_message"`
// Status Page Timezone
TimeZone *StatusPageResponseDataAttributesTimeZone `json:"time_zone"`
// The title of the status page
Title string `json:"title"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// Website Privacy URL
WebsitePrivacyUrl *string `json:"website_privacy_url"`
// Website Support URL
WebsiteSupportUrl *string `json:"website_support_url"`
// Website URL
WebsiteUrl *string `json:"website_url"`
} `json:"attributes"`
// Unique ID of the status page
Id string `json:"id"`
Type StatusPageResponseDataType `json:"type"`
} `json:"data"`
}
StatusPageResponse defines model for status_page_response.
type StatusPageResponseDataAttributesShowUptimeLastDays ¶ added in v0.1.12
type StatusPageResponseDataAttributesShowUptimeLastDays int
Show uptime over x days
const ( StatusPageResponseDataAttributesShowUptimeLastDaysN180 StatusPageResponseDataAttributesShowUptimeLastDays = 180 StatusPageResponseDataAttributesShowUptimeLastDaysN30 StatusPageResponseDataAttributesShowUptimeLastDays = 30 StatusPageResponseDataAttributesShowUptimeLastDaysN360 StatusPageResponseDataAttributesShowUptimeLastDays = 360 StatusPageResponseDataAttributesShowUptimeLastDaysN60 StatusPageResponseDataAttributesShowUptimeLastDays = 60 StatusPageResponseDataAttributesShowUptimeLastDaysN90 StatusPageResponseDataAttributesShowUptimeLastDays = 90 )
Defines values for StatusPageResponseDataAttributesShowUptimeLastDays.
type StatusPageResponseDataAttributesTimeZone ¶ added in v0.1.96
type StatusPageResponseDataAttributesTimeZone string
Status Page Timezone
const ( StatusPageResponseDataAttributesTimeZoneAbuDhabi StatusPageResponseDataAttributesTimeZone = "Abu Dhabi" StatusPageResponseDataAttributesTimeZoneAdelaide StatusPageResponseDataAttributesTimeZone = "Adelaide" StatusPageResponseDataAttributesTimeZoneAlaska StatusPageResponseDataAttributesTimeZone = "Alaska" StatusPageResponseDataAttributesTimeZoneAlmaty StatusPageResponseDataAttributesTimeZone = "Almaty" StatusPageResponseDataAttributesTimeZoneAmericanSamoa StatusPageResponseDataAttributesTimeZone = "American Samoa" StatusPageResponseDataAttributesTimeZoneAmsterdam StatusPageResponseDataAttributesTimeZone = "Amsterdam" StatusPageResponseDataAttributesTimeZoneArizona StatusPageResponseDataAttributesTimeZone = "Arizona" StatusPageResponseDataAttributesTimeZoneAstana StatusPageResponseDataAttributesTimeZone = "Astana" StatusPageResponseDataAttributesTimeZoneAthens StatusPageResponseDataAttributesTimeZone = "Athens" StatusPageResponseDataAttributesTimeZoneAtlanticTimeCanada StatusPageResponseDataAttributesTimeZone = "Atlantic Time (Canada)" StatusPageResponseDataAttributesTimeZoneAuckland StatusPageResponseDataAttributesTimeZone = "Auckland" StatusPageResponseDataAttributesTimeZoneAzores StatusPageResponseDataAttributesTimeZone = "Azores" StatusPageResponseDataAttributesTimeZoneBaghdad StatusPageResponseDataAttributesTimeZone = "Baghdad" StatusPageResponseDataAttributesTimeZoneBaku StatusPageResponseDataAttributesTimeZone = "Baku" StatusPageResponseDataAttributesTimeZoneBangkok StatusPageResponseDataAttributesTimeZone = "Bangkok" StatusPageResponseDataAttributesTimeZoneBeijing StatusPageResponseDataAttributesTimeZone = "Beijing" StatusPageResponseDataAttributesTimeZoneBelgrade StatusPageResponseDataAttributesTimeZone = "Belgrade" StatusPageResponseDataAttributesTimeZoneBerlin StatusPageResponseDataAttributesTimeZone = "Berlin" StatusPageResponseDataAttributesTimeZoneBern StatusPageResponseDataAttributesTimeZone = "Bern" StatusPageResponseDataAttributesTimeZoneBogota StatusPageResponseDataAttributesTimeZone = "Bogota" StatusPageResponseDataAttributesTimeZoneBrasilia StatusPageResponseDataAttributesTimeZone = "Brasilia" StatusPageResponseDataAttributesTimeZoneBratislava StatusPageResponseDataAttributesTimeZone = "Bratislava" StatusPageResponseDataAttributesTimeZoneBrisbane StatusPageResponseDataAttributesTimeZone = "Brisbane" StatusPageResponseDataAttributesTimeZoneBrussels StatusPageResponseDataAttributesTimeZone = "Brussels" StatusPageResponseDataAttributesTimeZoneBucharest StatusPageResponseDataAttributesTimeZone = "Bucharest" StatusPageResponseDataAttributesTimeZoneBudapest StatusPageResponseDataAttributesTimeZone = "Budapest" StatusPageResponseDataAttributesTimeZoneBuenosAires StatusPageResponseDataAttributesTimeZone = "Buenos Aires" StatusPageResponseDataAttributesTimeZoneCairo StatusPageResponseDataAttributesTimeZone = "Cairo" StatusPageResponseDataAttributesTimeZoneCanberra StatusPageResponseDataAttributesTimeZone = "Canberra" StatusPageResponseDataAttributesTimeZoneCapeVerdeIs StatusPageResponseDataAttributesTimeZone = "Cape Verde Is." StatusPageResponseDataAttributesTimeZoneCaracas StatusPageResponseDataAttributesTimeZone = "Caracas" StatusPageResponseDataAttributesTimeZoneCasablanca StatusPageResponseDataAttributesTimeZone = "Casablanca" StatusPageResponseDataAttributesTimeZoneCentralAmerica StatusPageResponseDataAttributesTimeZone = "Central America" StatusPageResponseDataAttributesTimeZoneCentralTimeUSCanada StatusPageResponseDataAttributesTimeZone = "Central Time (US & Canada)" StatusPageResponseDataAttributesTimeZoneChathamIs StatusPageResponseDataAttributesTimeZone = "Chatham Is." StatusPageResponseDataAttributesTimeZoneChennai StatusPageResponseDataAttributesTimeZone = "Chennai" StatusPageResponseDataAttributesTimeZoneChihuahua StatusPageResponseDataAttributesTimeZone = "Chihuahua" StatusPageResponseDataAttributesTimeZoneChongqing StatusPageResponseDataAttributesTimeZone = "Chongqing" StatusPageResponseDataAttributesTimeZoneCopenhagen StatusPageResponseDataAttributesTimeZone = "Copenhagen" StatusPageResponseDataAttributesTimeZoneDarwin StatusPageResponseDataAttributesTimeZone = "Darwin" StatusPageResponseDataAttributesTimeZoneDhaka StatusPageResponseDataAttributesTimeZone = "Dhaka" StatusPageResponseDataAttributesTimeZoneDublin StatusPageResponseDataAttributesTimeZone = "Dublin" StatusPageResponseDataAttributesTimeZoneEasternTimeUSCanada StatusPageResponseDataAttributesTimeZone = "Eastern Time (US & Canada)" StatusPageResponseDataAttributesTimeZoneEdinburgh StatusPageResponseDataAttributesTimeZone = "Edinburgh" StatusPageResponseDataAttributesTimeZoneEkaterinburg StatusPageResponseDataAttributesTimeZone = "Ekaterinburg" StatusPageResponseDataAttributesTimeZoneFiji StatusPageResponseDataAttributesTimeZone = "Fiji" StatusPageResponseDataAttributesTimeZoneGeorgetown StatusPageResponseDataAttributesTimeZone = "Georgetown" StatusPageResponseDataAttributesTimeZoneGreenland StatusPageResponseDataAttributesTimeZone = "Greenland" StatusPageResponseDataAttributesTimeZoneGuadalajara StatusPageResponseDataAttributesTimeZone = "Guadalajara" StatusPageResponseDataAttributesTimeZoneGuam StatusPageResponseDataAttributesTimeZone = "Guam" StatusPageResponseDataAttributesTimeZoneHanoi StatusPageResponseDataAttributesTimeZone = "Hanoi" StatusPageResponseDataAttributesTimeZoneHarare StatusPageResponseDataAttributesTimeZone = "Harare" StatusPageResponseDataAttributesTimeZoneHawaii StatusPageResponseDataAttributesTimeZone = "Hawaii" StatusPageResponseDataAttributesTimeZoneHelsinki StatusPageResponseDataAttributesTimeZone = "Helsinki" StatusPageResponseDataAttributesTimeZoneHobart StatusPageResponseDataAttributesTimeZone = "Hobart" StatusPageResponseDataAttributesTimeZoneHongKong StatusPageResponseDataAttributesTimeZone = "Hong Kong" StatusPageResponseDataAttributesTimeZoneIndianaEast StatusPageResponseDataAttributesTimeZone = "Indiana (East)" StatusPageResponseDataAttributesTimeZoneInternationalDateLineWest StatusPageResponseDataAttributesTimeZone = "International Date Line West" StatusPageResponseDataAttributesTimeZoneIrkutsk StatusPageResponseDataAttributesTimeZone = "Irkutsk" StatusPageResponseDataAttributesTimeZoneIslamabad StatusPageResponseDataAttributesTimeZone = "Islamabad" StatusPageResponseDataAttributesTimeZoneIstanbul StatusPageResponseDataAttributesTimeZone = "Istanbul" StatusPageResponseDataAttributesTimeZoneJakarta StatusPageResponseDataAttributesTimeZone = "Jakarta" StatusPageResponseDataAttributesTimeZoneJerusalem StatusPageResponseDataAttributesTimeZone = "Jerusalem" StatusPageResponseDataAttributesTimeZoneKabul StatusPageResponseDataAttributesTimeZone = "Kabul" StatusPageResponseDataAttributesTimeZoneKaliningrad StatusPageResponseDataAttributesTimeZone = "Kaliningrad" StatusPageResponseDataAttributesTimeZoneKamchatka StatusPageResponseDataAttributesTimeZone = "Kamchatka" StatusPageResponseDataAttributesTimeZoneKarachi StatusPageResponseDataAttributesTimeZone = "Karachi" StatusPageResponseDataAttributesTimeZoneKathmandu StatusPageResponseDataAttributesTimeZone = "Kathmandu" StatusPageResponseDataAttributesTimeZoneKolkata StatusPageResponseDataAttributesTimeZone = "Kolkata" StatusPageResponseDataAttributesTimeZoneKrasnoyarsk StatusPageResponseDataAttributesTimeZone = "Krasnoyarsk" StatusPageResponseDataAttributesTimeZoneKualaLumpur StatusPageResponseDataAttributesTimeZone = "Kuala Lumpur" StatusPageResponseDataAttributesTimeZoneKuwait StatusPageResponseDataAttributesTimeZone = "Kuwait" StatusPageResponseDataAttributesTimeZoneKyiv StatusPageResponseDataAttributesTimeZone = "Kyiv" StatusPageResponseDataAttributesTimeZoneLaPaz StatusPageResponseDataAttributesTimeZone = "La Paz" StatusPageResponseDataAttributesTimeZoneLima StatusPageResponseDataAttributesTimeZone = "Lima" StatusPageResponseDataAttributesTimeZoneLisbon StatusPageResponseDataAttributesTimeZone = "Lisbon" StatusPageResponseDataAttributesTimeZoneLjubljana StatusPageResponseDataAttributesTimeZone = "Ljubljana" StatusPageResponseDataAttributesTimeZoneLondon StatusPageResponseDataAttributesTimeZone = "London" StatusPageResponseDataAttributesTimeZoneMadrid StatusPageResponseDataAttributesTimeZone = "Madrid" StatusPageResponseDataAttributesTimeZoneMagadan StatusPageResponseDataAttributesTimeZone = "Magadan" StatusPageResponseDataAttributesTimeZoneMarshallIs StatusPageResponseDataAttributesTimeZone = "Marshall Is." StatusPageResponseDataAttributesTimeZoneMazatlan StatusPageResponseDataAttributesTimeZone = "Mazatlan" StatusPageResponseDataAttributesTimeZoneMelbourne StatusPageResponseDataAttributesTimeZone = "Melbourne" StatusPageResponseDataAttributesTimeZoneMexicoCity StatusPageResponseDataAttributesTimeZone = "Mexico City" StatusPageResponseDataAttributesTimeZoneMidAtlantic StatusPageResponseDataAttributesTimeZone = "Mid-Atlantic" StatusPageResponseDataAttributesTimeZoneMidwayIsland StatusPageResponseDataAttributesTimeZone = "Midway Island" StatusPageResponseDataAttributesTimeZoneMinsk StatusPageResponseDataAttributesTimeZone = "Minsk" StatusPageResponseDataAttributesTimeZoneMonrovia StatusPageResponseDataAttributesTimeZone = "Monrovia" StatusPageResponseDataAttributesTimeZoneMonterrey StatusPageResponseDataAttributesTimeZone = "Monterrey" StatusPageResponseDataAttributesTimeZoneMontevideo StatusPageResponseDataAttributesTimeZone = "Montevideo" StatusPageResponseDataAttributesTimeZoneMoscow StatusPageResponseDataAttributesTimeZone = "Moscow" StatusPageResponseDataAttributesTimeZoneMountainTimeUSCanada StatusPageResponseDataAttributesTimeZone = "Mountain Time (US & Canada)" StatusPageResponseDataAttributesTimeZoneMumbai StatusPageResponseDataAttributesTimeZone = "Mumbai" StatusPageResponseDataAttributesTimeZoneMuscat StatusPageResponseDataAttributesTimeZone = "Muscat" StatusPageResponseDataAttributesTimeZoneNairobi StatusPageResponseDataAttributesTimeZone = "Nairobi" StatusPageResponseDataAttributesTimeZoneNewCaledonia StatusPageResponseDataAttributesTimeZone = "New Caledonia" StatusPageResponseDataAttributesTimeZoneNewDelhi StatusPageResponseDataAttributesTimeZone = "New Delhi" StatusPageResponseDataAttributesTimeZoneNewfoundland StatusPageResponseDataAttributesTimeZone = "Newfoundland" StatusPageResponseDataAttributesTimeZoneNovosibirsk StatusPageResponseDataAttributesTimeZone = "Novosibirsk" StatusPageResponseDataAttributesTimeZoneNukualofa StatusPageResponseDataAttributesTimeZone = "Nuku'alofa" StatusPageResponseDataAttributesTimeZoneOsaka StatusPageResponseDataAttributesTimeZone = "Osaka" StatusPageResponseDataAttributesTimeZonePacificTimeUSCanada StatusPageResponseDataAttributesTimeZone = "Pacific Time (US & Canada)" StatusPageResponseDataAttributesTimeZoneParis StatusPageResponseDataAttributesTimeZone = "Paris" StatusPageResponseDataAttributesTimeZonePerth StatusPageResponseDataAttributesTimeZone = "Perth" StatusPageResponseDataAttributesTimeZonePortMoresby StatusPageResponseDataAttributesTimeZone = "Port Moresby" StatusPageResponseDataAttributesTimeZonePrague StatusPageResponseDataAttributesTimeZone = "Prague" StatusPageResponseDataAttributesTimeZonePretoria StatusPageResponseDataAttributesTimeZone = "Pretoria" StatusPageResponseDataAttributesTimeZonePuertoRico StatusPageResponseDataAttributesTimeZone = "Puerto Rico" StatusPageResponseDataAttributesTimeZoneQuito StatusPageResponseDataAttributesTimeZone = "Quito" StatusPageResponseDataAttributesTimeZoneRangoon StatusPageResponseDataAttributesTimeZone = "Rangoon" StatusPageResponseDataAttributesTimeZoneRiga StatusPageResponseDataAttributesTimeZone = "Riga" StatusPageResponseDataAttributesTimeZoneRiyadh StatusPageResponseDataAttributesTimeZone = "Riyadh" StatusPageResponseDataAttributesTimeZoneRome StatusPageResponseDataAttributesTimeZone = "Rome" StatusPageResponseDataAttributesTimeZoneSamara StatusPageResponseDataAttributesTimeZone = "Samara" StatusPageResponseDataAttributesTimeZoneSamoa StatusPageResponseDataAttributesTimeZone = "Samoa" StatusPageResponseDataAttributesTimeZoneSantiago StatusPageResponseDataAttributesTimeZone = "Santiago" StatusPageResponseDataAttributesTimeZoneSapporo StatusPageResponseDataAttributesTimeZone = "Sapporo" StatusPageResponseDataAttributesTimeZoneSarajevo StatusPageResponseDataAttributesTimeZone = "Sarajevo" StatusPageResponseDataAttributesTimeZoneSaskatchewan StatusPageResponseDataAttributesTimeZone = "Saskatchewan" StatusPageResponseDataAttributesTimeZoneSeoul StatusPageResponseDataAttributesTimeZone = "Seoul" StatusPageResponseDataAttributesTimeZoneSingapore StatusPageResponseDataAttributesTimeZone = "Singapore" StatusPageResponseDataAttributesTimeZoneSkopje StatusPageResponseDataAttributesTimeZone = "Skopje" StatusPageResponseDataAttributesTimeZoneSofia StatusPageResponseDataAttributesTimeZone = "Sofia" StatusPageResponseDataAttributesTimeZoneSolomonIs StatusPageResponseDataAttributesTimeZone = "Solomon Is." StatusPageResponseDataAttributesTimeZoneSrednekolymsk StatusPageResponseDataAttributesTimeZone = "Srednekolymsk" StatusPageResponseDataAttributesTimeZoneSriJayawardenepura StatusPageResponseDataAttributesTimeZone = "Sri Jayawardenepura" StatusPageResponseDataAttributesTimeZoneStPetersburg StatusPageResponseDataAttributesTimeZone = "St. Petersburg" StatusPageResponseDataAttributesTimeZoneStockholm StatusPageResponseDataAttributesTimeZone = "Stockholm" StatusPageResponseDataAttributesTimeZoneSydney StatusPageResponseDataAttributesTimeZone = "Sydney" StatusPageResponseDataAttributesTimeZoneTaipei StatusPageResponseDataAttributesTimeZone = "Taipei" StatusPageResponseDataAttributesTimeZoneTallinn StatusPageResponseDataAttributesTimeZone = "Tallinn" StatusPageResponseDataAttributesTimeZoneTashkent StatusPageResponseDataAttributesTimeZone = "Tashkent" StatusPageResponseDataAttributesTimeZoneTbilisi StatusPageResponseDataAttributesTimeZone = "Tbilisi" StatusPageResponseDataAttributesTimeZoneTehran StatusPageResponseDataAttributesTimeZone = "Tehran" StatusPageResponseDataAttributesTimeZoneTijuana StatusPageResponseDataAttributesTimeZone = "Tijuana" StatusPageResponseDataAttributesTimeZoneTokelauIs StatusPageResponseDataAttributesTimeZone = "Tokelau Is." StatusPageResponseDataAttributesTimeZoneTokyo StatusPageResponseDataAttributesTimeZone = "Tokyo" StatusPageResponseDataAttributesTimeZoneUTC StatusPageResponseDataAttributesTimeZone = "UTC" StatusPageResponseDataAttributesTimeZoneUlaanbaatar StatusPageResponseDataAttributesTimeZone = "Ulaanbaatar" StatusPageResponseDataAttributesTimeZoneUrumqi StatusPageResponseDataAttributesTimeZone = "Urumqi" StatusPageResponseDataAttributesTimeZoneVienna StatusPageResponseDataAttributesTimeZone = "Vienna" StatusPageResponseDataAttributesTimeZoneVilnius StatusPageResponseDataAttributesTimeZone = "Vilnius" StatusPageResponseDataAttributesTimeZoneVladivostok StatusPageResponseDataAttributesTimeZone = "Vladivostok" StatusPageResponseDataAttributesTimeZoneVolgograd StatusPageResponseDataAttributesTimeZone = "Volgograd" StatusPageResponseDataAttributesTimeZoneWarsaw StatusPageResponseDataAttributesTimeZone = "Warsaw" StatusPageResponseDataAttributesTimeZoneWellington StatusPageResponseDataAttributesTimeZone = "Wellington" StatusPageResponseDataAttributesTimeZoneWestCentralAfrica StatusPageResponseDataAttributesTimeZone = "West Central Africa" StatusPageResponseDataAttributesTimeZoneYakutsk StatusPageResponseDataAttributesTimeZone = "Yakutsk" StatusPageResponseDataAttributesTimeZoneYerevan StatusPageResponseDataAttributesTimeZone = "Yerevan" StatusPageResponseDataAttributesTimeZoneZagreb StatusPageResponseDataAttributesTimeZone = "Zagreb" StatusPageResponseDataAttributesTimeZoneZurich StatusPageResponseDataAttributesTimeZone = "Zurich" )
Defines values for StatusPageResponseDataAttributesTimeZone.
type StatusPageResponseDataType ¶
type StatusPageResponseDataType string
StatusPageResponseDataType defines model for StatusPageResponse.Data.Type.
const (
StatusPageResponseDataTypeStatusPages StatusPageResponseDataType = "status_pages"
)
Defines values for StatusPageResponseDataType.
type StatusPageShowUptimeLastDays ¶
type StatusPageShowUptimeLastDays int
Show uptime over x days
const ( StatusPageShowUptimeLastDaysN180 StatusPageShowUptimeLastDays = 180 StatusPageShowUptimeLastDaysN30 StatusPageShowUptimeLastDays = 30 StatusPageShowUptimeLastDaysN360 StatusPageShowUptimeLastDays = 360 StatusPageShowUptimeLastDaysN60 StatusPageShowUptimeLastDays = 60 StatusPageShowUptimeLastDaysN90 StatusPageShowUptimeLastDays = 90 )
Defines values for StatusPageShowUptimeLastDays.
type StatusPageTemplate ¶ added in v0.1.18
type StatusPageTemplate struct {
// Description of the event the template will populate
Body string `json:"body"`
// Date of creation
CreatedAt string `json:"created_at"`
// Enable / Disable the status page template
Enabled *bool `json:"enabled"`
// Position of the workflow task
Position *float32 `json:"position,omitempty"`
// Controls if incident subscribers should be notified
ShouldNotifySubscribers *bool `json:"should_notify_subscribers"`
StatusPageId string `json:"status_page_id"`
// Title of the template
Title string `json:"title"`
// Status of the event the template will populate
UpdateStatus *string `json:"update_status"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
StatusPageTemplate defines model for status_page_template.
type StatusPageTemplateList ¶ added in v0.1.18
type StatusPageTemplateList struct {
Data []struct {
Attributes struct {
// Description of the event the template will populate
Body string `json:"body"`
// Date of creation
CreatedAt string `json:"created_at"`
// Enable / Disable the status page template
Enabled *bool `json:"enabled"`
// Position of the workflow task
Position *float32 `json:"position,omitempty"`
// Controls if incident subscribers should be notified
ShouldNotifySubscribers *bool `json:"should_notify_subscribers"`
StatusPageId string `json:"status_page_id"`
// Title of the template
Title string `json:"title"`
// Status of the event the template will populate
UpdateStatus *string `json:"update_status"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the template
Id string `json:"id"`
Type StatusPageTemplateListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
StatusPageTemplateList defines model for status_page_template_list.
type StatusPageTemplateListDataType ¶ added in v0.1.18
type StatusPageTemplateListDataType string
StatusPageTemplateListDataType defines model for StatusPageTemplateList.Data.Type.
const (
StatusPageTemplateListDataTypeStatusPageTemplates StatusPageTemplateListDataType = "status_page_templates"
)
Defines values for StatusPageTemplateListDataType.
type StatusPageTemplateResponse ¶ added in v0.1.18
type StatusPageTemplateResponse struct {
Data struct {
Attributes struct {
// Description of the event the template will populate
Body string `json:"body"`
// Date of creation
CreatedAt string `json:"created_at"`
// Enable / Disable the status page template
Enabled *bool `json:"enabled"`
// Position of the workflow task
Position *float32 `json:"position,omitempty"`
// Controls if incident subscribers should be notified
ShouldNotifySubscribers *bool `json:"should_notify_subscribers"`
StatusPageId string `json:"status_page_id"`
// Title of the template
Title string `json:"title"`
// Status of the event the template will populate
UpdateStatus *string `json:"update_status"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the status page template
Id string `json:"id"`
Type StatusPageTemplateResponseDataType `json:"type"`
} `json:"data"`
}
StatusPageTemplateResponse defines model for status_page_template_response.
type StatusPageTemplateResponseDataType ¶ added in v0.1.18
type StatusPageTemplateResponseDataType string
StatusPageTemplateResponseDataType defines model for StatusPageTemplateResponse.Data.Type.
const (
StatusPageTemplateResponseDataTypeStatusPageTemplates StatusPageTemplateResponseDataType = "status_page_templates"
)
Defines values for StatusPageTemplateResponseDataType.
type StatusPageTimeZone ¶ added in v0.1.96
type StatusPageTimeZone string
Status Page Timezone
const ( StatusPageTimeZoneAbuDhabi StatusPageTimeZone = "Abu Dhabi" StatusPageTimeZoneAdelaide StatusPageTimeZone = "Adelaide" StatusPageTimeZoneAlaska StatusPageTimeZone = "Alaska" StatusPageTimeZoneAlmaty StatusPageTimeZone = "Almaty" StatusPageTimeZoneAmericanSamoa StatusPageTimeZone = "American Samoa" StatusPageTimeZoneAmsterdam StatusPageTimeZone = "Amsterdam" StatusPageTimeZoneArizona StatusPageTimeZone = "Arizona" StatusPageTimeZoneAstana StatusPageTimeZone = "Astana" StatusPageTimeZoneAthens StatusPageTimeZone = "Athens" StatusPageTimeZoneAtlanticTimeCanada StatusPageTimeZone = "Atlantic Time (Canada)" StatusPageTimeZoneAuckland StatusPageTimeZone = "Auckland" StatusPageTimeZoneAzores StatusPageTimeZone = "Azores" StatusPageTimeZoneBaghdad StatusPageTimeZone = "Baghdad" StatusPageTimeZoneBaku StatusPageTimeZone = "Baku" StatusPageTimeZoneBangkok StatusPageTimeZone = "Bangkok" StatusPageTimeZoneBeijing StatusPageTimeZone = "Beijing" StatusPageTimeZoneBelgrade StatusPageTimeZone = "Belgrade" StatusPageTimeZoneBerlin StatusPageTimeZone = "Berlin" StatusPageTimeZoneBern StatusPageTimeZone = "Bern" StatusPageTimeZoneBogota StatusPageTimeZone = "Bogota" StatusPageTimeZoneBrasilia StatusPageTimeZone = "Brasilia" StatusPageTimeZoneBratislava StatusPageTimeZone = "Bratislava" StatusPageTimeZoneBrisbane StatusPageTimeZone = "Brisbane" StatusPageTimeZoneBrussels StatusPageTimeZone = "Brussels" StatusPageTimeZoneBucharest StatusPageTimeZone = "Bucharest" StatusPageTimeZoneBudapest StatusPageTimeZone = "Budapest" StatusPageTimeZoneBuenosAires StatusPageTimeZone = "Buenos Aires" StatusPageTimeZoneCairo StatusPageTimeZone = "Cairo" StatusPageTimeZoneCanberra StatusPageTimeZone = "Canberra" StatusPageTimeZoneCapeVerdeIs StatusPageTimeZone = "Cape Verde Is." StatusPageTimeZoneCaracas StatusPageTimeZone = "Caracas" StatusPageTimeZoneCasablanca StatusPageTimeZone = "Casablanca" StatusPageTimeZoneCentralAmerica StatusPageTimeZone = "Central America" StatusPageTimeZoneCentralTimeUSCanada StatusPageTimeZone = "Central Time (US & Canada)" StatusPageTimeZoneChathamIs StatusPageTimeZone = "Chatham Is." StatusPageTimeZoneChennai StatusPageTimeZone = "Chennai" StatusPageTimeZoneChihuahua StatusPageTimeZone = "Chihuahua" StatusPageTimeZoneChongqing StatusPageTimeZone = "Chongqing" StatusPageTimeZoneCopenhagen StatusPageTimeZone = "Copenhagen" StatusPageTimeZoneDarwin StatusPageTimeZone = "Darwin" StatusPageTimeZoneDhaka StatusPageTimeZone = "Dhaka" StatusPageTimeZoneDublin StatusPageTimeZone = "Dublin" StatusPageTimeZoneEasternTimeUSCanada StatusPageTimeZone = "Eastern Time (US & Canada)" StatusPageTimeZoneEdinburgh StatusPageTimeZone = "Edinburgh" StatusPageTimeZoneEkaterinburg StatusPageTimeZone = "Ekaterinburg" StatusPageTimeZoneFiji StatusPageTimeZone = "Fiji" StatusPageTimeZoneGeorgetown StatusPageTimeZone = "Georgetown" StatusPageTimeZoneGreenland StatusPageTimeZone = "Greenland" StatusPageTimeZoneGuadalajara StatusPageTimeZone = "Guadalajara" StatusPageTimeZoneGuam StatusPageTimeZone = "Guam" StatusPageTimeZoneHanoi StatusPageTimeZone = "Hanoi" StatusPageTimeZoneHarare StatusPageTimeZone = "Harare" StatusPageTimeZoneHawaii StatusPageTimeZone = "Hawaii" StatusPageTimeZoneHelsinki StatusPageTimeZone = "Helsinki" StatusPageTimeZoneHobart StatusPageTimeZone = "Hobart" StatusPageTimeZoneHongKong StatusPageTimeZone = "Hong Kong" StatusPageTimeZoneIndianaEast StatusPageTimeZone = "Indiana (East)" StatusPageTimeZoneInternationalDateLineWest StatusPageTimeZone = "International Date Line West" StatusPageTimeZoneIrkutsk StatusPageTimeZone = "Irkutsk" StatusPageTimeZoneIslamabad StatusPageTimeZone = "Islamabad" StatusPageTimeZoneIstanbul StatusPageTimeZone = "Istanbul" StatusPageTimeZoneJakarta StatusPageTimeZone = "Jakarta" StatusPageTimeZoneJerusalem StatusPageTimeZone = "Jerusalem" StatusPageTimeZoneKabul StatusPageTimeZone = "Kabul" StatusPageTimeZoneKaliningrad StatusPageTimeZone = "Kaliningrad" StatusPageTimeZoneKamchatka StatusPageTimeZone = "Kamchatka" StatusPageTimeZoneKarachi StatusPageTimeZone = "Karachi" StatusPageTimeZoneKathmandu StatusPageTimeZone = "Kathmandu" StatusPageTimeZoneKolkata StatusPageTimeZone = "Kolkata" StatusPageTimeZoneKrasnoyarsk StatusPageTimeZone = "Krasnoyarsk" StatusPageTimeZoneKualaLumpur StatusPageTimeZone = "Kuala Lumpur" StatusPageTimeZoneKuwait StatusPageTimeZone = "Kuwait" StatusPageTimeZoneKyiv StatusPageTimeZone = "Kyiv" StatusPageTimeZoneLaPaz StatusPageTimeZone = "La Paz" StatusPageTimeZoneLima StatusPageTimeZone = "Lima" StatusPageTimeZoneLisbon StatusPageTimeZone = "Lisbon" StatusPageTimeZoneLjubljana StatusPageTimeZone = "Ljubljana" StatusPageTimeZoneLondon StatusPageTimeZone = "London" StatusPageTimeZoneMadrid StatusPageTimeZone = "Madrid" StatusPageTimeZoneMagadan StatusPageTimeZone = "Magadan" StatusPageTimeZoneMarshallIs StatusPageTimeZone = "Marshall Is." StatusPageTimeZoneMazatlan StatusPageTimeZone = "Mazatlan" StatusPageTimeZoneMelbourne StatusPageTimeZone = "Melbourne" StatusPageTimeZoneMexicoCity StatusPageTimeZone = "Mexico City" StatusPageTimeZoneMidAtlantic StatusPageTimeZone = "Mid-Atlantic" StatusPageTimeZoneMidwayIsland StatusPageTimeZone = "Midway Island" StatusPageTimeZoneMinsk StatusPageTimeZone = "Minsk" StatusPageTimeZoneMonrovia StatusPageTimeZone = "Monrovia" StatusPageTimeZoneMonterrey StatusPageTimeZone = "Monterrey" StatusPageTimeZoneMontevideo StatusPageTimeZone = "Montevideo" StatusPageTimeZoneMoscow StatusPageTimeZone = "Moscow" StatusPageTimeZoneMountainTimeUSCanada StatusPageTimeZone = "Mountain Time (US & Canada)" StatusPageTimeZoneMumbai StatusPageTimeZone = "Mumbai" StatusPageTimeZoneMuscat StatusPageTimeZone = "Muscat" StatusPageTimeZoneNairobi StatusPageTimeZone = "Nairobi" StatusPageTimeZoneNewCaledonia StatusPageTimeZone = "New Caledonia" StatusPageTimeZoneNewDelhi StatusPageTimeZone = "New Delhi" StatusPageTimeZoneNewfoundland StatusPageTimeZone = "Newfoundland" StatusPageTimeZoneNovosibirsk StatusPageTimeZone = "Novosibirsk" StatusPageTimeZoneNukualofa StatusPageTimeZone = "Nuku'alofa" StatusPageTimeZoneOsaka StatusPageTimeZone = "Osaka" StatusPageTimeZonePacificTimeUSCanada StatusPageTimeZone = "Pacific Time (US & Canada)" StatusPageTimeZoneParis StatusPageTimeZone = "Paris" StatusPageTimeZonePerth StatusPageTimeZone = "Perth" StatusPageTimeZonePortMoresby StatusPageTimeZone = "Port Moresby" StatusPageTimeZonePrague StatusPageTimeZone = "Prague" StatusPageTimeZonePretoria StatusPageTimeZone = "Pretoria" StatusPageTimeZonePuertoRico StatusPageTimeZone = "Puerto Rico" StatusPageTimeZoneQuito StatusPageTimeZone = "Quito" StatusPageTimeZoneRangoon StatusPageTimeZone = "Rangoon" StatusPageTimeZoneRiga StatusPageTimeZone = "Riga" StatusPageTimeZoneRiyadh StatusPageTimeZone = "Riyadh" StatusPageTimeZoneRome StatusPageTimeZone = "Rome" StatusPageTimeZoneSamara StatusPageTimeZone = "Samara" StatusPageTimeZoneSamoa StatusPageTimeZone = "Samoa" StatusPageTimeZoneSantiago StatusPageTimeZone = "Santiago" StatusPageTimeZoneSapporo StatusPageTimeZone = "Sapporo" StatusPageTimeZoneSarajevo StatusPageTimeZone = "Sarajevo" StatusPageTimeZoneSaskatchewan StatusPageTimeZone = "Saskatchewan" StatusPageTimeZoneSeoul StatusPageTimeZone = "Seoul" StatusPageTimeZoneSingapore StatusPageTimeZone = "Singapore" StatusPageTimeZoneSkopje StatusPageTimeZone = "Skopje" StatusPageTimeZoneSofia StatusPageTimeZone = "Sofia" StatusPageTimeZoneSolomonIs StatusPageTimeZone = "Solomon Is." StatusPageTimeZoneSrednekolymsk StatusPageTimeZone = "Srednekolymsk" StatusPageTimeZoneSriJayawardenepura StatusPageTimeZone = "Sri Jayawardenepura" StatusPageTimeZoneStPetersburg StatusPageTimeZone = "St. Petersburg" StatusPageTimeZoneStockholm StatusPageTimeZone = "Stockholm" StatusPageTimeZoneSydney StatusPageTimeZone = "Sydney" StatusPageTimeZoneTaipei StatusPageTimeZone = "Taipei" StatusPageTimeZoneTallinn StatusPageTimeZone = "Tallinn" StatusPageTimeZoneTashkent StatusPageTimeZone = "Tashkent" StatusPageTimeZoneTbilisi StatusPageTimeZone = "Tbilisi" StatusPageTimeZoneTehran StatusPageTimeZone = "Tehran" StatusPageTimeZoneTijuana StatusPageTimeZone = "Tijuana" StatusPageTimeZoneTokelauIs StatusPageTimeZone = "Tokelau Is." StatusPageTimeZoneTokyo StatusPageTimeZone = "Tokyo" StatusPageTimeZoneUTC StatusPageTimeZone = "UTC" StatusPageTimeZoneUlaanbaatar StatusPageTimeZone = "Ulaanbaatar" StatusPageTimeZoneUrumqi StatusPageTimeZone = "Urumqi" StatusPageTimeZoneVienna StatusPageTimeZone = "Vienna" StatusPageTimeZoneVilnius StatusPageTimeZone = "Vilnius" StatusPageTimeZoneVladivostok StatusPageTimeZone = "Vladivostok" StatusPageTimeZoneVolgograd StatusPageTimeZone = "Volgograd" StatusPageTimeZoneWarsaw StatusPageTimeZone = "Warsaw" StatusPageTimeZoneWellington StatusPageTimeZone = "Wellington" StatusPageTimeZoneWestCentralAfrica StatusPageTimeZone = "West Central Africa" StatusPageTimeZoneYakutsk StatusPageTimeZone = "Yakutsk" StatusPageTimeZoneYerevan StatusPageTimeZone = "Yerevan" StatusPageTimeZoneZagreb StatusPageTimeZone = "Zagreb" StatusPageTimeZoneZurich StatusPageTimeZone = "Zurich" )
Defines values for StatusPageTimeZone.
type Team ¶
type Team struct {
// The hex color of the team
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name string `json:"name"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
}
Team defines model for team.
type TeamList ¶
type TeamList struct {
Data []struct {
Attributes struct {
// The hex color of the team
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name string `json:"name"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
} `json:"attributes"`
// Unique ID of the team
Id string `json:"id"`
Type TeamListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
TeamList defines model for team_list.
type TeamListDataType ¶
type TeamListDataType string
TeamListDataType defines model for TeamList.Data.Type.
const (
TeamListDataTypeGroups TeamListDataType = "groups"
)
Defines values for TeamListDataType.
type TeamResponse ¶
type TeamResponse struct {
Data struct {
Attributes struct {
// The hex color of the team
Color *string `json:"color"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name string `json:"name"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
Slug *string `json:"slug,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
} `json:"attributes"`
// Unique ID of the team
Id string `json:"id"`
Type TeamResponseDataType `json:"type"`
} `json:"data"`
}
TeamResponse defines model for team_response.
type TeamResponseDataType ¶
type TeamResponseDataType string
TeamResponseDataType defines model for TeamResponse.Data.Type.
const (
TeamResponseDataTypeGroups TeamResponseDataType = "groups"
)
Defines values for TeamResponseDataType.
type TriageIncidentResponse ¶ added in v1.0.3
func ParseTriageIncidentResponse ¶ added in v1.0.3
func ParseTriageIncidentResponse(rsp *http.Response) (*TriageIncidentResponse, error)
ParseTriageIncidentResponse parses an HTTP response from a TriageIncidentWithResponse call
func (TriageIncidentResponse) Status ¶ added in v1.0.3
func (r TriageIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (TriageIncidentResponse) StatusCode ¶ added in v1.0.3
func (r TriageIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TriggerWorkflowTaskParams ¶ added in v0.1.28
type TriggerWorkflowTaskParams struct {
CheckWorkflowConditions *bool `json:"check_workflow_conditions,omitempty"`
Kind TriggerWorkflowTaskParamsKind `json:"kind"`
Resource struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"resource"`
TaskType *TriggerWorkflowTaskParamsTaskType `json:"task_type,omitempty"`
Workflow struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"workflow"`
}
TriggerWorkflowTaskParams defines model for trigger_workflow_task_params.
type TriggerWorkflowTaskParamsKind ¶ added in v0.1.28
type TriggerWorkflowTaskParamsKind string
TriggerWorkflowTaskParamsKind defines model for TriggerWorkflowTaskParams.Kind.
const ( TriggerWorkflowTaskParamsKindActionItem TriggerWorkflowTaskParamsKind = "action_item" TriggerWorkflowTaskParamsKindAlert TriggerWorkflowTaskParamsKind = "alert" TriggerWorkflowTaskParamsKindIncident TriggerWorkflowTaskParamsKind = "incident" TriggerWorkflowTaskParamsKindPostMortem TriggerWorkflowTaskParamsKind = "post_mortem" TriggerWorkflowTaskParamsKindPulse TriggerWorkflowTaskParamsKind = "pulse" TriggerWorkflowTaskParamsKindSimple TriggerWorkflowTaskParamsKind = "simple" )
Defines values for TriggerWorkflowTaskParamsKind.
type TriggerWorkflowTaskParamsTaskType ¶ added in v0.1.28
type TriggerWorkflowTaskParamsTaskType string
TriggerWorkflowTaskParamsTaskType defines model for TriggerWorkflowTaskParams.TaskType.
const (
TriggerWorkflow TriggerWorkflowTaskParamsTaskType = "trigger_workflow"
)
Defines values for TriggerWorkflowTaskParamsTaskType.
type TweetTwitterMessageTaskParams ¶
type TweetTwitterMessageTaskParams struct {
Message string `json:"message"`
TaskType *TweetTwitterMessageTaskParamsTaskType `json:"task_type,omitempty"`
}
TweetTwitterMessageTaskParams defines model for tweet_twitter_message_task_params.
type TweetTwitterMessageTaskParamsTaskType ¶
type TweetTwitterMessageTaskParamsTaskType string
TweetTwitterMessageTaskParamsTaskType defines model for TweetTwitterMessageTaskParams.TaskType.
const (
TweetTwitterMessage TweetTwitterMessageTaskParamsTaskType = "tweet_twitter_message"
)
Defines values for TweetTwitterMessageTaskParamsTaskType.
type UpdateActionItemTaskParams ¶ added in v0.1.85
type UpdateActionItemTaskParams struct {
// The user this action item is assigned to
AssignedToUser *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"assigned_to_user,omitempty"`
// [DEPRECATED] Use assigned_to_user attribute instead. The user id this action item is assigned to
AssignedToUserId *string `json:"assigned_to_user_id,omitempty"`
// Attribute of the action item to match against
AttributeToQueryBy UpdateActionItemTaskParamsAttributeToQueryBy `json:"attribute_to_query_by"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The action item description
Description *string `json:"description,omitempty"`
GroupIds *[]string `json:"group_ids"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
// The action item priority
Priority *UpdateActionItemTaskParamsPriority `json:"priority,omitempty"`
// Value that attribute_to_query_by to uses to match against
QueryValue string `json:"query_value"`
// The action item status
Status *UpdateActionItemTaskParamsStatus `json:"status,omitempty"`
// Brief description of the action item
Summary *string `json:"summary,omitempty"`
TaskType *UpdateActionItemTaskParamsTaskType `json:"task_type,omitempty"`
}
UpdateActionItemTaskParams defines model for update_action_item_task_params.
type UpdateActionItemTaskParamsAttributeToQueryBy ¶ added in v0.1.85
type UpdateActionItemTaskParamsAttributeToQueryBy string
Attribute of the action item to match against
const ( UpdateActionItemTaskParamsAttributeToQueryByAirtableRecordId UpdateActionItemTaskParamsAttributeToQueryBy = "airtable_record_id" UpdateActionItemTaskParamsAttributeToQueryByAsanaTaskId UpdateActionItemTaskParamsAttributeToQueryBy = "asana_task_id" UpdateActionItemTaskParamsAttributeToQueryByClickupTaskId UpdateActionItemTaskParamsAttributeToQueryBy = "clickup_task_id" UpdateActionItemTaskParamsAttributeToQueryByFreshserviceTaskId UpdateActionItemTaskParamsAttributeToQueryBy = "freshservice_task_id" UpdateActionItemTaskParamsAttributeToQueryByFreshserviceTicketId UpdateActionItemTaskParamsAttributeToQueryBy = "freshservice_ticket_id" UpdateActionItemTaskParamsAttributeToQueryByGithubIssueId UpdateActionItemTaskParamsAttributeToQueryBy = "github_issue_id" UpdateActionItemTaskParamsAttributeToQueryById UpdateActionItemTaskParamsAttributeToQueryBy = "id" UpdateActionItemTaskParamsAttributeToQueryByJiraIssueId UpdateActionItemTaskParamsAttributeToQueryBy = "jira_issue_id" UpdateActionItemTaskParamsAttributeToQueryByLinearIssueId UpdateActionItemTaskParamsAttributeToQueryBy = "linear_issue_id" UpdateActionItemTaskParamsAttributeToQueryByShortcutStoryId UpdateActionItemTaskParamsAttributeToQueryBy = "shortcut_story_id" UpdateActionItemTaskParamsAttributeToQueryByShortcutTaskId UpdateActionItemTaskParamsAttributeToQueryBy = "shortcut_task_id" UpdateActionItemTaskParamsAttributeToQueryByTrelloCardId UpdateActionItemTaskParamsAttributeToQueryBy = "trello_card_id" UpdateActionItemTaskParamsAttributeToQueryByZendeskTicketId UpdateActionItemTaskParamsAttributeToQueryBy = "zendesk_ticket_id" )
Defines values for UpdateActionItemTaskParamsAttributeToQueryBy.
type UpdateActionItemTaskParamsPriority ¶ added in v1.1.1
type UpdateActionItemTaskParamsPriority string
The action item priority
const ( UpdateActionItemTaskParamsPriorityHigh UpdateActionItemTaskParamsPriority = "high" UpdateActionItemTaskParamsPriorityLow UpdateActionItemTaskParamsPriority = "low" UpdateActionItemTaskParamsPriorityMedium UpdateActionItemTaskParamsPriority = "medium" )
Defines values for UpdateActionItemTaskParamsPriority.
type UpdateActionItemTaskParamsStatus ¶ added in v0.1.85
type UpdateActionItemTaskParamsStatus string
The action item status
const ( UpdateActionItemTaskParamsStatusCancelled UpdateActionItemTaskParamsStatus = "cancelled" UpdateActionItemTaskParamsStatusDone UpdateActionItemTaskParamsStatus = "done" UpdateActionItemTaskParamsStatusInProgress UpdateActionItemTaskParamsStatus = "in_progress" UpdateActionItemTaskParamsStatusOpen UpdateActionItemTaskParamsStatus = "open" )
Defines values for UpdateActionItemTaskParamsStatus.
type UpdateActionItemTaskParamsTaskType ¶ added in v0.1.85
type UpdateActionItemTaskParamsTaskType string
UpdateActionItemTaskParamsTaskType defines model for UpdateActionItemTaskParams.TaskType.
const (
UpdateActionItemTaskParamsTaskTypeAddActionItem UpdateActionItemTaskParamsTaskType = "add_action_item"
)
Defines values for UpdateActionItemTaskParamsTaskType.
type UpdateAirtableTableRecordTaskParams ¶
type UpdateAirtableTableRecordTaskParams struct {
// The base key
BaseKey string `json:"base_key"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The record id
RecordId string `json:"record_id"`
// The table name
TableName string `json:"table_name"`
TaskType *UpdateAirtableTableRecordTaskParamsTaskType `json:"task_type,omitempty"`
}
UpdateAirtableTableRecordTaskParams defines model for update_airtable_table_record_task_params.
type UpdateAirtableTableRecordTaskParamsTaskType ¶
type UpdateAirtableTableRecordTaskParamsTaskType string
UpdateAirtableTableRecordTaskParamsTaskType defines model for UpdateAirtableTableRecordTaskParams.TaskType.
const (
UpdateAirtableTableRecord UpdateAirtableTableRecordTaskParamsTaskType = "update_airtable_table_record"
)
Defines values for UpdateAirtableTableRecordTaskParamsTaskType.
type UpdateAsanaTaskTaskParams ¶
type UpdateAsanaTaskTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
Completion struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
DependencyDirection *UpdateAsanaTaskTaskParamsDependencyDirection `json:"dependency_direction,omitempty"`
// Dependent task ids. Supports liquid syntax
DependentTaskIds *[]string `json:"dependent_task_ids"`
Notes *string `json:"notes,omitempty"`
// The task id
TaskId string `json:"task_id"`
TaskType *UpdateAsanaTaskTaskParamsTaskType `json:"task_type,omitempty"`
// The task title
Title *string `json:"title,omitempty"`
}
UpdateAsanaTaskTaskParams defines model for update_asana_task_task_params.
type UpdateAsanaTaskTaskParamsDependencyDirection ¶ added in v0.1.80
type UpdateAsanaTaskTaskParamsDependencyDirection string
UpdateAsanaTaskTaskParamsDependencyDirection defines model for UpdateAsanaTaskTaskParams.DependencyDirection.
const ( BlockedBy UpdateAsanaTaskTaskParamsDependencyDirection = "blocked_by" Blocking UpdateAsanaTaskTaskParamsDependencyDirection = "blocking" )
Defines values for UpdateAsanaTaskTaskParamsDependencyDirection.
type UpdateAsanaTaskTaskParamsTaskType ¶
type UpdateAsanaTaskTaskParamsTaskType string
UpdateAsanaTaskTaskParamsTaskType defines model for UpdateAsanaTaskTaskParams.TaskType.
const (
UpdateAsanaTask UpdateAsanaTaskTaskParamsTaskType = "update_asana_task"
)
Defines values for UpdateAsanaTaskTaskParamsTaskType.
type UpdateCause ¶
type UpdateCause struct {
Data struct {
Attributes struct {
// The description of the cause
Description *string `json:"description"`
// The name of the cause
Name *string `json:"name,omitempty"`
// Position of the cause
Position *int `json:"position"`
} `json:"attributes"`
Type UpdateCauseDataType `json:"type"`
} `json:"data"`
}
UpdateCause defines model for update_cause.
type UpdateCauseDataType ¶
type UpdateCauseDataType string
UpdateCauseDataType defines model for UpdateCause.Data.Type.
const (
UpdateCauseDataTypeCauses UpdateCauseDataType = "causes"
)
Defines values for UpdateCauseDataType.
type UpdateCauseResponse ¶
func ParseUpdateCauseResponse ¶
func ParseUpdateCauseResponse(rsp *http.Response) (*UpdateCauseResponse, error)
ParseUpdateCauseResponse parses an HTTP response from a UpdateCauseWithResponse call
func (UpdateCauseResponse) Status ¶
func (r UpdateCauseResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCauseResponse) StatusCode ¶
func (r UpdateCauseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateClickupTaskTaskParams ¶ added in v1.1.7
type UpdateClickupTaskTaskParams struct {
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The task description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
// The parent task id
ParentTaskId *string `json:"parent_task_id,omitempty"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The task tags
Tags *string `json:"tags,omitempty"`
// The task id
TaskId string `json:"task_id"`
// Additional ClickUp task attributes. Will be merged into whatever was specified in this tasks current parameters. Can contain liquid markup and need to be valid JSON
TaskPayload *string `json:"task_payload"`
TaskType *UpdateClickupTaskTaskParamsTaskType `json:"task_type,omitempty"`
// The task title
Title *string `json:"title,omitempty"`
}
UpdateClickupTaskTaskParams defines model for update_clickup_task_task_params.
type UpdateClickupTaskTaskParamsTaskType ¶ added in v1.1.7
type UpdateClickupTaskTaskParamsTaskType string
UpdateClickupTaskTaskParamsTaskType defines model for UpdateClickupTaskTaskParams.TaskType.
const (
UpdateClickupTask UpdateClickupTaskTaskParamsTaskType = "update_clickup_task"
)
Defines values for UpdateClickupTaskTaskParamsTaskType.
type UpdateCustomField ¶
type UpdateCustomField struct {
Data struct {
Attributes struct {
// The default value for text field kinds
Default *string `json:"default"`
// The description of the custom_field
Description *string `json:"description"`
// The name of the custom_field
Label *string `json:"label,omitempty"`
// The position of the custom_field
Position *float32 `json:"position,omitempty"`
Required *[]UpdateCustomFieldDataAttributesRequired `json:"required"`
Shown *[]UpdateCustomFieldDataAttributesShown `json:"shown,omitempty"`
// The slug of the custom_field
Slug *string `json:"slug,omitempty"`
} `json:"attributes"`
Type UpdateCustomFieldDataType `json:"type"`
} `json:"data"`
}
UpdateCustomField defines model for update_custom_field.
type UpdateCustomFieldDataAttributesRequired ¶
type UpdateCustomFieldDataAttributesRequired string
Where the custom_field is required
const ( UpdateCustomFieldDataAttributesRequiredIncidentForm UpdateCustomFieldDataAttributesRequired = "incident_form" UpdateCustomFieldDataAttributesRequiredIncidentMitigationForm UpdateCustomFieldDataAttributesRequired = "incident_mitigation_form" UpdateCustomFieldDataAttributesRequiredIncidentMitigationSlackForm UpdateCustomFieldDataAttributesRequired = "incident_mitigation_slack_form" UpdateCustomFieldDataAttributesRequiredIncidentPostMortemForm UpdateCustomFieldDataAttributesRequired = "incident_post_mortem_form" UpdateCustomFieldDataAttributesRequiredIncidentResolutionForm UpdateCustomFieldDataAttributesRequired = "incident_resolution_form" UpdateCustomFieldDataAttributesRequiredIncidentResolutionSlackForm UpdateCustomFieldDataAttributesRequired = "incident_resolution_slack_form" UpdateCustomFieldDataAttributesRequiredIncidentSlackForm UpdateCustomFieldDataAttributesRequired = "incident_slack_form" )
Defines values for UpdateCustomFieldDataAttributesRequired.
type UpdateCustomFieldDataAttributesShown ¶
type UpdateCustomFieldDataAttributesShown string
Where the custom_field is shown
const ( UpdateCustomFieldDataAttributesShownIncidentForm UpdateCustomFieldDataAttributesShown = "incident_form" UpdateCustomFieldDataAttributesShownIncidentMitigationForm UpdateCustomFieldDataAttributesShown = "incident_mitigation_form" UpdateCustomFieldDataAttributesShownIncidentMitigationSlackForm UpdateCustomFieldDataAttributesShown = "incident_mitigation_slack_form" UpdateCustomFieldDataAttributesShownIncidentPostMortem UpdateCustomFieldDataAttributesShown = "incident_post_mortem" UpdateCustomFieldDataAttributesShownIncidentPostMortemForm UpdateCustomFieldDataAttributesShown = "incident_post_mortem_form" UpdateCustomFieldDataAttributesShownIncidentResolutionForm UpdateCustomFieldDataAttributesShown = "incident_resolution_form" UpdateCustomFieldDataAttributesShownIncidentResolutionSlackForm UpdateCustomFieldDataAttributesShown = "incident_resolution_slack_form" UpdateCustomFieldDataAttributesShownIncidentSlackForm UpdateCustomFieldDataAttributesShown = "incident_slack_form" )
Defines values for UpdateCustomFieldDataAttributesShown.
type UpdateCustomFieldDataType ¶
type UpdateCustomFieldDataType string
UpdateCustomFieldDataType defines model for UpdateCustomField.Data.Type.
const (
UpdateCustomFieldDataTypeCustomFields UpdateCustomFieldDataType = "custom_fields"
)
Defines values for UpdateCustomFieldDataType.
type UpdateCustomFieldOption ¶
type UpdateCustomFieldOption struct {
Data struct {
Attributes struct {
// The hex color of the custom_field_option
Color *string `json:"color,omitempty"`
Default *bool `json:"default,omitempty"`
// The position of the custom_field_option
Position *float32 `json:"position,omitempty"`
// The value of the custom_field_option
Value *string `json:"value,omitempty"`
} `json:"attributes"`
Type UpdateCustomFieldOptionDataType `json:"type"`
} `json:"data"`
}
UpdateCustomFieldOption defines model for update_custom_field_option.
type UpdateCustomFieldOptionDataType ¶
type UpdateCustomFieldOptionDataType string
UpdateCustomFieldOptionDataType defines model for UpdateCustomFieldOption.Data.Type.
const (
UpdateCustomFieldOptionDataTypeCustomFieldOptions UpdateCustomFieldOptionDataType = "custom_field_options"
)
Defines values for UpdateCustomFieldOptionDataType.
type UpdateCustomFieldOptionResponse ¶
func ParseUpdateCustomFieldOptionResponse ¶
func ParseUpdateCustomFieldOptionResponse(rsp *http.Response) (*UpdateCustomFieldOptionResponse, error)
ParseUpdateCustomFieldOptionResponse parses an HTTP response from a UpdateCustomFieldOptionWithResponse call
func (UpdateCustomFieldOptionResponse) Status ¶
func (r UpdateCustomFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCustomFieldOptionResponse) StatusCode ¶
func (r UpdateCustomFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCustomFieldResponse ¶
func ParseUpdateCustomFieldResponse ¶
func ParseUpdateCustomFieldResponse(rsp *http.Response) (*UpdateCustomFieldResponse, error)
ParseUpdateCustomFieldResponse parses an HTTP response from a UpdateCustomFieldWithResponse call
func (UpdateCustomFieldResponse) Status ¶
func (r UpdateCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCustomFieldResponse) StatusCode ¶
func (r UpdateCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDashboard ¶
type UpdateDashboard struct {
Data struct {
Attributes *struct {
// Whether the dashboard auto-updates the UI with new data.
AutoRefresh *bool `json:"auto_refresh,omitempty"`
// The hex color of the dashboard
Color *UpdateDashboardDataAttributesColor `json:"color"`
// The description of the dashboard
Description *string `json:"description"`
// The emoji icon of the dashboard
Icon *string `json:"icon,omitempty"`
// The name of the dashboard
Name *string `json:"name,omitempty"`
// The owner type of the dashboard
Owner *UpdateDashboardDataAttributesOwner `json:"owner,omitempty"`
// The grouping period for dashboard panel data
Period *UpdateDashboardDataAttributesPeriod `json:"period"`
// Whether the dashboard is public
Public *bool `json:"public,omitempty"`
// The date range for dashboard panel data
Range *string `json:"range"`
} `json:"attributes,omitempty"`
Type *UpdateDashboardDataType `json:"type,omitempty"`
} `json:"data"`
}
UpdateDashboard defines model for update_dashboard.
type UpdateDashboardDataAttributesColor ¶ added in v1.1.4
type UpdateDashboardDataAttributesColor string
The hex color of the dashboard
const ( HashD7F5E1 UpdateDashboardDataAttributesColor = "#D7F5E1" HashE9E2FF UpdateDashboardDataAttributesColor = "#E9E2FF" HashFAE6E8 UpdateDashboardDataAttributesColor = "#FAE6E8" HashFAEEE6 UpdateDashboardDataAttributesColor = "#FAEEE6" HashFCF2CF UpdateDashboardDataAttributesColor = "#FCF2CF" )
Defines values for UpdateDashboardDataAttributesColor.
type UpdateDashboardDataAttributesOwner ¶
type UpdateDashboardDataAttributesOwner string
The owner type of the dashboard
const ( UpdateDashboardDataAttributesOwnerTeam UpdateDashboardDataAttributesOwner = "team" UpdateDashboardDataAttributesOwnerUser UpdateDashboardDataAttributesOwner = "user" )
Defines values for UpdateDashboardDataAttributesOwner.
type UpdateDashboardDataAttributesPeriod ¶
type UpdateDashboardDataAttributesPeriod string
The grouping period for dashboard panel data
const ( UpdateDashboardDataAttributesPeriodDay UpdateDashboardDataAttributesPeriod = "day" UpdateDashboardDataAttributesPeriodMonth UpdateDashboardDataAttributesPeriod = "month" UpdateDashboardDataAttributesPeriodWeek UpdateDashboardDataAttributesPeriod = "week" )
Defines values for UpdateDashboardDataAttributesPeriod.
type UpdateDashboardDataType ¶
type UpdateDashboardDataType string
UpdateDashboardDataType defines model for UpdateDashboard.Data.Type.
const (
UpdateDashboardDataTypeDashboards UpdateDashboardDataType = "dashboards"
)
Defines values for UpdateDashboardDataType.
type UpdateDashboardPanel ¶
type UpdateDashboardPanel struct {
Data struct {
Attributes *struct {
// The name of the dashboard_panel
Name *string `json:"name"`
Params *struct {
Datasets *[]struct {
Aggregate *struct {
Cumulative *bool `json:"cumulative"`
Key *string `json:"key"`
Operation *UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation `json:"operation,omitempty"`
} `json:"aggregate"`
Collection *string `json:"collection,omitempty"`
Filter *[]struct {
Operation *string `json:"operation,omitempty"`
Rules *[]struct {
Condition *string `json:"condition,omitempty"`
Key *string `json:"key,omitempty"`
Operation *string `json:"operation,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"rules,omitempty"`
} `json:"filter,omitempty"`
GroupBy *string `json:"group_by"`
Name *string `json:"name"`
} `json:"datasets,omitempty"`
Display *UpdateDashboardPanelDataAttributesParamsDisplay `json:"display,omitempty"`
} `json:"params,omitempty"`
Position *struct {
H float32 `json:"h"`
W float32 `json:"w"`
X float32 `json:"x"`
Y float32 `json:"y"`
} `json:"position"`
} `json:"attributes,omitempty"`
Type *UpdateDashboardPanelDataType `json:"type,omitempty"`
} `json:"data"`
}
UpdateDashboardPanel defines model for update_dashboard_panel.
type UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation ¶
type UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation string
UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation defines model for UpdateDashboardPanel.Data.Attributes.Params.Datasets.Aggregate.Operation.
const ( Average UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation = "average" Count UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation = "count" Sum UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation = "sum" )
Defines values for UpdateDashboardPanelDataAttributesParamsDatasetsAggregateOperation.
type UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperation ¶
type UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperation string
UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperation defines model for UpdateDashboardPanel.Data.Attributes.Params.Datasets.Filter.Operation.
const ( UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperationAnd UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperation = "and" UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperationOr UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperation = "or" )
Defines values for UpdateDashboardPanelDataAttributesParamsDatasetsFilterOperation.
type UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation ¶
type UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation string
UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation defines model for UpdateDashboardPanel.Data.Attributes.Params.Datasets.Filter.Rules.Operation.
const ( UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperationAnd UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation = "and" UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperationOr UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation = "or" )
Defines values for UpdateDashboardPanelDataAttributesParamsDatasetsFilterRulesOperation.
type UpdateDashboardPanelDataAttributesParamsDisplay ¶
type UpdateDashboardPanelDataAttributesParamsDisplay string
UpdateDashboardPanelDataAttributesParamsDisplay defines model for UpdateDashboardPanel.Data.Attributes.Params.Display.
const ( AggregateValue UpdateDashboardPanelDataAttributesParamsDisplay = "aggregate_value" ColumnChart UpdateDashboardPanelDataAttributesParamsDisplay = "column_chart" LineChart UpdateDashboardPanelDataAttributesParamsDisplay = "line_chart" LineSteppedChart UpdateDashboardPanelDataAttributesParamsDisplay = "line_stepped_chart" PieChart UpdateDashboardPanelDataAttributesParamsDisplay = "pie_chart" StackedColumnChart UpdateDashboardPanelDataAttributesParamsDisplay = "stacked_column_chart" Table UpdateDashboardPanelDataAttributesParamsDisplay = "table" )
Defines values for UpdateDashboardPanelDataAttributesParamsDisplay.
type UpdateDashboardPanelDataType ¶
type UpdateDashboardPanelDataType string
UpdateDashboardPanelDataType defines model for UpdateDashboardPanel.Data.Type.
const (
UpdateDashboardPanelDataTypeDashboardPanels UpdateDashboardPanelDataType = "dashboard_panels"
)
Defines values for UpdateDashboardPanelDataType.
type UpdateDashboardPanelResponse ¶
func ParseUpdateDashboardPanelResponse ¶
func ParseUpdateDashboardPanelResponse(rsp *http.Response) (*UpdateDashboardPanelResponse, error)
ParseUpdateDashboardPanelResponse parses an HTTP response from a UpdateDashboardPanelWithResponse call
func (UpdateDashboardPanelResponse) Status ¶
func (r UpdateDashboardPanelResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDashboardPanelResponse) StatusCode ¶
func (r UpdateDashboardPanelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDashboardResponse ¶
func ParseUpdateDashboardResponse ¶
func ParseUpdateDashboardResponse(rsp *http.Response) (*UpdateDashboardResponse, error)
ParseUpdateDashboardResponse parses an HTTP response from a UpdateDashboardWithResponse call
func (UpdateDashboardResponse) Status ¶
func (r UpdateDashboardResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDashboardResponse) StatusCode ¶
func (r UpdateDashboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEnvironment ¶
type UpdateEnvironment struct {
Data struct {
Attributes struct {
// The hex color of the environment
Color *string `json:"color"`
// The description of the environment
Description *string `json:"description"`
// The name of the environment
Name *string `json:"name,omitempty"`
// Emails to attach to the environment
NotifyEmails *[]string `json:"notify_emails"`
// Position of the environment
Position *int `json:"position"`
// Slack Aliases associated with this environment
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this environment
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
} `json:"attributes"`
Type UpdateEnvironmentDataType `json:"type"`
} `json:"data"`
}
UpdateEnvironment defines model for update_environment.
type UpdateEnvironmentDataType ¶
type UpdateEnvironmentDataType string
UpdateEnvironmentDataType defines model for UpdateEnvironment.Data.Type.
const (
Environments UpdateEnvironmentDataType = "environments"
)
Defines values for UpdateEnvironmentDataType.
type UpdateEnvironmentResponse ¶
func ParseUpdateEnvironmentResponse ¶
func ParseUpdateEnvironmentResponse(rsp *http.Response) (*UpdateEnvironmentResponse, error)
ParseUpdateEnvironmentResponse parses an HTTP response from a UpdateEnvironmentWithResponse call
func (UpdateEnvironmentResponse) Status ¶
func (r UpdateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEnvironmentResponse) StatusCode ¶
func (r UpdateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFormField ¶ added in v0.1.48
type UpdateFormField struct {
Data struct {
Attributes struct {
DefaultValues *[]string `json:"default_values,omitempty"`
// The description of the form field
Description *string `json:"description"`
// Whether the form field is enabled
Enabled *bool `json:"enabled,omitempty"`
// The input kind of the form field
InputKind *UpdateFormFieldDataAttributesInputKind `json:"input_kind,omitempty"`
// The kind of the form field
Kind *UpdateFormFieldDataAttributesKind `json:"kind,omitempty"`
// The name of the form field
Name *string `json:"name,omitempty"`
Required *[]UpdateFormFieldDataAttributesRequired `json:"required,omitempty"`
// Whether the form field is shown on the incident details panel
ShowOnIncidentDetails *bool `json:"show_on_incident_details,omitempty"`
Shown *[]UpdateFormFieldDataAttributesShown `json:"shown,omitempty"`
} `json:"attributes"`
Type UpdateFormFieldDataType `json:"type"`
} `json:"data"`
}
UpdateFormField defines model for update_form_field.
type UpdateFormFieldDataAttributesInputKind ¶ added in v0.1.48
type UpdateFormFieldDataAttributesInputKind string
The input kind of the form field
const ( UpdateFormFieldDataAttributesInputKindCheckbox UpdateFormFieldDataAttributesInputKind = "checkbox" UpdateFormFieldDataAttributesInputKindDate UpdateFormFieldDataAttributesInputKind = "date" UpdateFormFieldDataAttributesInputKindDatetime UpdateFormFieldDataAttributesInputKind = "datetime" UpdateFormFieldDataAttributesInputKindMultiSelect UpdateFormFieldDataAttributesInputKind = "multi_select" UpdateFormFieldDataAttributesInputKindNumber UpdateFormFieldDataAttributesInputKind = "number" UpdateFormFieldDataAttributesInputKindSelect UpdateFormFieldDataAttributesInputKind = "select" UpdateFormFieldDataAttributesInputKindTags UpdateFormFieldDataAttributesInputKind = "tags" UpdateFormFieldDataAttributesInputKindText UpdateFormFieldDataAttributesInputKind = "text" UpdateFormFieldDataAttributesInputKindTextarea UpdateFormFieldDataAttributesInputKind = "textarea" UpdateFormFieldDataAttributesInputKindUsers UpdateFormFieldDataAttributesInputKind = "users" )
Defines values for UpdateFormFieldDataAttributesInputKind.
type UpdateFormFieldDataAttributesKind ¶ added in v0.1.48
type UpdateFormFieldDataAttributesKind string
The kind of the form field
const ( UpdateFormFieldDataAttributesKindAttachAlerts UpdateFormFieldDataAttributesKind = "attach_alerts" UpdateFormFieldDataAttributesKindCustom UpdateFormFieldDataAttributesKind = "custom" UpdateFormFieldDataAttributesKindEnvironments UpdateFormFieldDataAttributesKind = "environments" UpdateFormFieldDataAttributesKindFunctionalities UpdateFormFieldDataAttributesKind = "functionalities" UpdateFormFieldDataAttributesKindLabels UpdateFormFieldDataAttributesKind = "labels" UpdateFormFieldDataAttributesKindManualStartingDatetimeField UpdateFormFieldDataAttributesKind = "manual_starting_datetime_field" UpdateFormFieldDataAttributesKindMarkAsBackfilled UpdateFormFieldDataAttributesKind = "mark_as_backfilled" UpdateFormFieldDataAttributesKindMarkAsInTriage UpdateFormFieldDataAttributesKind = "mark_as_in_triage" UpdateFormFieldDataAttributesKindMarkAsTest UpdateFormFieldDataAttributesKind = "mark_as_test" UpdateFormFieldDataAttributesKindNotifyEmails UpdateFormFieldDataAttributesKind = "notify_emails" UpdateFormFieldDataAttributesKindServices UpdateFormFieldDataAttributesKind = "services" UpdateFormFieldDataAttributesKindSeverity UpdateFormFieldDataAttributesKind = "severity" UpdateFormFieldDataAttributesKindShowOngoingIncidents UpdateFormFieldDataAttributesKind = "show_ongoing_incidents" UpdateFormFieldDataAttributesKindSummary UpdateFormFieldDataAttributesKind = "summary" UpdateFormFieldDataAttributesKindTeams UpdateFormFieldDataAttributesKind = "teams" UpdateFormFieldDataAttributesKindTitle UpdateFormFieldDataAttributesKind = "title" UpdateFormFieldDataAttributesKindTriggerManualWorkflows UpdateFormFieldDataAttributesKind = "trigger_manual_workflows" UpdateFormFieldDataAttributesKindTypes UpdateFormFieldDataAttributesKind = "types" UpdateFormFieldDataAttributesKindVisibility UpdateFormFieldDataAttributesKind = "visibility" )
Defines values for UpdateFormFieldDataAttributesKind.
type UpdateFormFieldDataAttributesRequired ¶ added in v0.1.48
type UpdateFormFieldDataAttributesRequired string
Where the form field is required
const ( UpdateFormFieldDataAttributesRequiredSlackIncidentMitigationForm UpdateFormFieldDataAttributesRequired = "slack_incident_mitigation_form" UpdateFormFieldDataAttributesRequiredSlackIncidentResolutionForm UpdateFormFieldDataAttributesRequired = "slack_incident_resolution_form" UpdateFormFieldDataAttributesRequiredSlackNewIncidentForm UpdateFormFieldDataAttributesRequired = "slack_new_incident_form" UpdateFormFieldDataAttributesRequiredSlackScheduledIncidentForm UpdateFormFieldDataAttributesRequired = "slack_scheduled_incident_form" UpdateFormFieldDataAttributesRequiredSlackUpdateIncidentForm UpdateFormFieldDataAttributesRequired = "slack_update_incident_form" UpdateFormFieldDataAttributesRequiredSlackUpdateIncidentStatusForm UpdateFormFieldDataAttributesRequired = "slack_update_incident_status_form" UpdateFormFieldDataAttributesRequiredSlackUpdateScheduledIncidentForm UpdateFormFieldDataAttributesRequired = "slack_update_scheduled_incident_form" UpdateFormFieldDataAttributesRequiredWebIncidentMitigationForm UpdateFormFieldDataAttributesRequired = "web_incident_mitigation_form" UpdateFormFieldDataAttributesRequiredWebIncidentPostMortemForm UpdateFormFieldDataAttributesRequired = "web_incident_post_mortem_form" UpdateFormFieldDataAttributesRequiredWebIncidentResolutionForm UpdateFormFieldDataAttributesRequired = "web_incident_resolution_form" UpdateFormFieldDataAttributesRequiredWebNewIncidentForm UpdateFormFieldDataAttributesRequired = "web_new_incident_form" UpdateFormFieldDataAttributesRequiredWebScheduledIncidentForm UpdateFormFieldDataAttributesRequired = "web_scheduled_incident_form" UpdateFormFieldDataAttributesRequiredWebUpdateIncidentForm UpdateFormFieldDataAttributesRequired = "web_update_incident_form" UpdateFormFieldDataAttributesRequiredWebUpdateScheduledIncidentForm UpdateFormFieldDataAttributesRequired = "web_update_scheduled_incident_form" )
Defines values for UpdateFormFieldDataAttributesRequired.
type UpdateFormFieldDataAttributesShown ¶ added in v0.1.48
type UpdateFormFieldDataAttributesShown string
Where the form field is shown
const ( UpdateFormFieldDataAttributesShownIncidentPostMortem UpdateFormFieldDataAttributesShown = "incident_post_mortem" UpdateFormFieldDataAttributesShownSlackIncidentMitigationForm UpdateFormFieldDataAttributesShown = "slack_incident_mitigation_form" UpdateFormFieldDataAttributesShownSlackIncidentResolutionForm UpdateFormFieldDataAttributesShown = "slack_incident_resolution_form" UpdateFormFieldDataAttributesShownSlackNewIncidentForm UpdateFormFieldDataAttributesShown = "slack_new_incident_form" UpdateFormFieldDataAttributesShownSlackScheduledIncidentForm UpdateFormFieldDataAttributesShown = "slack_scheduled_incident_form" UpdateFormFieldDataAttributesShownSlackUpdateIncidentForm UpdateFormFieldDataAttributesShown = "slack_update_incident_form" UpdateFormFieldDataAttributesShownSlackUpdateIncidentStatusForm UpdateFormFieldDataAttributesShown = "slack_update_incident_status_form" UpdateFormFieldDataAttributesShownSlackUpdateScheduledIncidentForm UpdateFormFieldDataAttributesShown = "slack_update_scheduled_incident_form" UpdateFormFieldDataAttributesShownWebIncidentMitigationForm UpdateFormFieldDataAttributesShown = "web_incident_mitigation_form" UpdateFormFieldDataAttributesShownWebIncidentPostMortemForm UpdateFormFieldDataAttributesShown = "web_incident_post_mortem_form" UpdateFormFieldDataAttributesShownWebIncidentResolutionForm UpdateFormFieldDataAttributesShown = "web_incident_resolution_form" UpdateFormFieldDataAttributesShownWebNewIncidentForm UpdateFormFieldDataAttributesShown = "web_new_incident_form" UpdateFormFieldDataAttributesShownWebScheduledIncidentForm UpdateFormFieldDataAttributesShown = "web_scheduled_incident_form" UpdateFormFieldDataAttributesShownWebUpdateIncidentForm UpdateFormFieldDataAttributesShown = "web_update_incident_form" UpdateFormFieldDataAttributesShownWebUpdateScheduledIncidentForm UpdateFormFieldDataAttributesShown = "web_update_scheduled_incident_form" )
Defines values for UpdateFormFieldDataAttributesShown.
type UpdateFormFieldDataType ¶ added in v0.1.48
type UpdateFormFieldDataType string
UpdateFormFieldDataType defines model for UpdateFormField.Data.Type.
const (
UpdateFormFieldDataTypeFormFields UpdateFormFieldDataType = "form_fields"
)
Defines values for UpdateFormFieldDataType.
type UpdateFormFieldOption ¶ added in v0.1.48
type UpdateFormFieldOption struct {
Data struct {
Attributes struct {
// The hex color of the form_field_option
Color *string `json:"color,omitempty"`
Default *bool `json:"default,omitempty"`
// The position of the form_field_option
Position *float32 `json:"position,omitempty"`
// The value of the form_field_option
Value *string `json:"value,omitempty"`
} `json:"attributes"`
Type UpdateFormFieldOptionDataType `json:"type"`
} `json:"data"`
}
UpdateFormFieldOption defines model for update_form_field_option.
type UpdateFormFieldOptionDataType ¶ added in v0.1.48
type UpdateFormFieldOptionDataType string
UpdateFormFieldOptionDataType defines model for UpdateFormFieldOption.Data.Type.
const (
UpdateFormFieldOptionDataTypeFormFieldOptions UpdateFormFieldOptionDataType = "form_field_options"
)
Defines values for UpdateFormFieldOptionDataType.
type UpdateFormFieldOptionResponse ¶ added in v0.1.48
func ParseUpdateFormFieldOptionResponse ¶ added in v0.1.48
func ParseUpdateFormFieldOptionResponse(rsp *http.Response) (*UpdateFormFieldOptionResponse, error)
ParseUpdateFormFieldOptionResponse parses an HTTP response from a UpdateFormFieldOptionWithResponse call
func (UpdateFormFieldOptionResponse) Status ¶ added in v0.1.48
func (r UpdateFormFieldOptionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFormFieldOptionResponse) StatusCode ¶ added in v0.1.48
func (r UpdateFormFieldOptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFormFieldPosition ¶ added in v0.1.48
type UpdateFormFieldPosition struct {
Data struct {
Attributes struct {
// The form for the position
Form *UpdateFormFieldPositionDataAttributesForm `json:"form,omitempty"`
// The ID of the form field.
FormFieldId *string `json:"form_field_id,omitempty"`
// The position of the form_field_position
Position *float32 `json:"position,omitempty"`
} `json:"attributes"`
Type UpdateFormFieldPositionDataType `json:"type"`
} `json:"data"`
}
UpdateFormFieldPosition defines model for update_form_field_position.
type UpdateFormFieldPositionDataAttributesForm ¶ added in v0.1.48
type UpdateFormFieldPositionDataAttributesForm string
The form for the position
const ( UpdateFormFieldPositionDataAttributesFormIncidentPostMortem UpdateFormFieldPositionDataAttributesForm = "incident_post_mortem" UpdateFormFieldPositionDataAttributesFormSlackIncidentMitigationForm UpdateFormFieldPositionDataAttributesForm = "slack_incident_mitigation_form" UpdateFormFieldPositionDataAttributesFormSlackIncidentResolutionForm UpdateFormFieldPositionDataAttributesForm = "slack_incident_resolution_form" UpdateFormFieldPositionDataAttributesFormSlackNewIncidentForm UpdateFormFieldPositionDataAttributesForm = "slack_new_incident_form" UpdateFormFieldPositionDataAttributesFormSlackScheduledIncidentForm UpdateFormFieldPositionDataAttributesForm = "slack_scheduled_incident_form" UpdateFormFieldPositionDataAttributesFormSlackUpdateIncidentForm UpdateFormFieldPositionDataAttributesForm = "slack_update_incident_form" UpdateFormFieldPositionDataAttributesFormSlackUpdateIncidentStatusForm UpdateFormFieldPositionDataAttributesForm = "slack_update_incident_status_form" UpdateFormFieldPositionDataAttributesFormSlackUpdateScheduledIncidentForm UpdateFormFieldPositionDataAttributesForm = "slack_update_scheduled_incident_form" UpdateFormFieldPositionDataAttributesFormWebIncidentMitigationForm UpdateFormFieldPositionDataAttributesForm = "web_incident_mitigation_form" UpdateFormFieldPositionDataAttributesFormWebIncidentPostMortemForm UpdateFormFieldPositionDataAttributesForm = "web_incident_post_mortem_form" UpdateFormFieldPositionDataAttributesFormWebIncidentResolutionForm UpdateFormFieldPositionDataAttributesForm = "web_incident_resolution_form" UpdateFormFieldPositionDataAttributesFormWebNewIncidentForm UpdateFormFieldPositionDataAttributesForm = "web_new_incident_form" UpdateFormFieldPositionDataAttributesFormWebScheduledIncidentForm UpdateFormFieldPositionDataAttributesForm = "web_scheduled_incident_form" UpdateFormFieldPositionDataAttributesFormWebUpdateIncidentForm UpdateFormFieldPositionDataAttributesForm = "web_update_incident_form" UpdateFormFieldPositionDataAttributesFormWebUpdateScheduledIncidentForm UpdateFormFieldPositionDataAttributesForm = "web_update_scheduled_incident_form" )
Defines values for UpdateFormFieldPositionDataAttributesForm.
type UpdateFormFieldPositionDataType ¶ added in v0.1.48
type UpdateFormFieldPositionDataType string
UpdateFormFieldPositionDataType defines model for UpdateFormFieldPosition.Data.Type.
const (
UpdateFormFieldPositionDataTypeFormFieldPositions UpdateFormFieldPositionDataType = "form_field_positions"
)
Defines values for UpdateFormFieldPositionDataType.
type UpdateFormFieldPositionResponse ¶ added in v0.1.48
func ParseUpdateFormFieldPositionResponse ¶ added in v0.1.48
func ParseUpdateFormFieldPositionResponse(rsp *http.Response) (*UpdateFormFieldPositionResponse, error)
ParseUpdateFormFieldPositionResponse parses an HTTP response from a UpdateFormFieldPositionWithResponse call
func (UpdateFormFieldPositionResponse) Status ¶ added in v0.1.48
func (r UpdateFormFieldPositionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFormFieldPositionResponse) StatusCode ¶ added in v0.1.48
func (r UpdateFormFieldPositionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFormFieldResponse ¶ added in v0.1.48
func ParseUpdateFormFieldResponse ¶ added in v0.1.48
func ParseUpdateFormFieldResponse(rsp *http.Response) (*UpdateFormFieldResponse, error)
ParseUpdateFormFieldResponse parses an HTTP response from a UpdateFormFieldWithResponse call
func (UpdateFormFieldResponse) Status ¶ added in v0.1.48
func (r UpdateFormFieldResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFormFieldResponse) StatusCode ¶ added in v0.1.48
func (r UpdateFormFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFunctionality ¶
type UpdateFunctionality struct {
Data struct {
Attributes struct {
// The hex color of the functionality
Color *string `json:"color"`
// The description of the functionality
Description *string `json:"description"`
// Environments associated with this functionality
EnvironmentIds *[]string `json:"environment_ids"`
// The name of the functionality
Name *string `json:"name,omitempty"`
// Emails to attach to the functionality
NotifyEmails *[]string `json:"notify_emails"`
// Owner Teams associated with this functionality
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// Position of the functionality
Position *int `json:"position"`
// The public description of the functionality
PublicDescription *string `json:"public_description"`
// Services associated with this functionality
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The status of the functionality
Status *UpdateFunctionalityDataAttributesStatus `json:"status,omitempty"`
} `json:"attributes"`
Type UpdateFunctionalityDataType `json:"type"`
} `json:"data"`
}
UpdateFunctionality defines model for update_functionality.
type UpdateFunctionalityDataAttributesStatus ¶ added in v0.1.83
type UpdateFunctionalityDataAttributesStatus string
The status of the functionality
const ( UpdateFunctionalityDataAttributesStatusImpacted UpdateFunctionalityDataAttributesStatus = "impacted" UpdateFunctionalityDataAttributesStatusMajorOutage UpdateFunctionalityDataAttributesStatus = "major_outage" UpdateFunctionalityDataAttributesStatusOperational UpdateFunctionalityDataAttributesStatus = "operational" UpdateFunctionalityDataAttributesStatusOutage UpdateFunctionalityDataAttributesStatus = "outage" UpdateFunctionalityDataAttributesStatusPartialOutage UpdateFunctionalityDataAttributesStatus = "partial_outage" )
Defines values for UpdateFunctionalityDataAttributesStatus.
type UpdateFunctionalityDataType ¶
type UpdateFunctionalityDataType string
UpdateFunctionalityDataType defines model for UpdateFunctionality.Data.Type.
const (
Functionalities UpdateFunctionalityDataType = "functionalities"
)
Defines values for UpdateFunctionalityDataType.
type UpdateFunctionalityResponse ¶
func ParseUpdateFunctionalityResponse ¶
func ParseUpdateFunctionalityResponse(rsp *http.Response) (*UpdateFunctionalityResponse, error)
ParseUpdateFunctionalityResponse parses an HTTP response from a UpdateFunctionalityWithResponse call
func (UpdateFunctionalityResponse) Status ¶
func (r UpdateFunctionalityResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFunctionalityResponse) StatusCode ¶
func (r UpdateFunctionalityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGithubIssueTaskParams ¶
type UpdateGithubIssueTaskParams struct {
// The issue body
Body *string `json:"body,omitempty"`
Completion struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion"`
// The issue id
IssueId string `json:"issue_id"`
TaskType *UpdateGithubIssueTaskParamsTaskType `json:"task_type,omitempty"`
// The issue title
Title *string `json:"title,omitempty"`
}
UpdateGithubIssueTaskParams defines model for update_github_issue_task_params.
type UpdateGithubIssueTaskParamsTaskType ¶
type UpdateGithubIssueTaskParamsTaskType string
UpdateGithubIssueTaskParamsTaskType defines model for UpdateGithubIssueTaskParams.TaskType.
const (
UpdateGithubIssue UpdateGithubIssueTaskParamsTaskType = "update_github_issue"
)
Defines values for UpdateGithubIssueTaskParamsTaskType.
type UpdateGoogleCalendarEventTaskParams ¶
type UpdateGoogleCalendarEventTaskParams struct {
// Days to adjust meeting by
AdjustmentDays *float32 `json:"adjustment_days,omitempty"`
// Emails of attendees
Attendees *[]string `json:"attendees,omitempty"`
CanGuestsInviteOthers *bool `json:"can_guests_invite_others,omitempty"`
CanGuestsModifyEvent *bool `json:"can_guests_modify_event,omitempty"`
CanGuestsSeeOtherGuests *bool `json:"can_guests_see_other_guests,omitempty"`
// Sets the video conference type attached to the meeting
ConferenceSolutionKey *UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey `json:"conference_solution_key"`
// The event description
Description *string `json:"description,omitempty"`
// The event ID
EventId string `json:"event_id"`
// Meeting duration in format like '1 hour', '30 minutes'
MeetingDuration *string `json:"meeting_duration,omitempty"`
PostToIncidentTimeline *bool `json:"post_to_incident_timeline,omitempty"`
PostToSlackChannels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"post_to_slack_channels,omitempty"`
ReplaceAttendees *bool `json:"replace_attendees,omitempty"`
// Send an email to the attendees notifying them of the event
SendUpdates *bool `json:"send_updates,omitempty"`
// The event summary
Summary *string `json:"summary,omitempty"`
TaskType *UpdateGoogleCalendarEventTaskParamsTaskType `json:"task_type,omitempty"`
// Time of meeting in format HH:MM
TimeOfMeeting *string `json:"time_of_meeting,omitempty"`
}
UpdateGoogleCalendarEventTaskParams defines model for update_google_calendar_event_task_params.
type UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey ¶ added in v0.1.20
type UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey string
Sets the video conference type attached to the meeting
const ( AddOn UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey = "addOn" EventHangout UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey = "eventHangout" EventNamedHangout UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey = "eventNamedHangout" HangoutsMeet UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey = "hangoutsMeet" )
Defines values for UpdateGoogleCalendarEventTaskParamsConferenceSolutionKey.
type UpdateGoogleCalendarEventTaskParamsTaskType ¶
type UpdateGoogleCalendarEventTaskParamsTaskType string
UpdateGoogleCalendarEventTaskParamsTaskType defines model for UpdateGoogleCalendarEventTaskParams.TaskType.
const (
UpdateGoogleCalendarEventTaskParamsTaskTypeCreateGoogleCalendarEvent UpdateGoogleCalendarEventTaskParamsTaskType = "create_google_calendar_event"
)
Defines values for UpdateGoogleCalendarEventTaskParamsTaskType.
type UpdateGoogleDocsPageTaskParams ¶ added in v0.1.86
type UpdateGoogleDocsPageTaskParams struct {
// The Google Doc content
Content *string `json:"content,omitempty"`
// The Google Doc file ID
FileId string `json:"file_id"`
// Retrospective template to use when updating page, if desired
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
TaskType *UpdateGoogleDocsPageTaskParamsTaskType `json:"task_type,omitempty"`
// The Google Doc file ID to use as a template.
TemplateId *string `json:"template_id,omitempty"`
// The Google Doc title
Title *string `json:"title,omitempty"`
}
UpdateGoogleDocsPageTaskParams defines model for update_google_docs_page_task_params.
type UpdateGoogleDocsPageTaskParamsTaskType ¶ added in v0.1.86
type UpdateGoogleDocsPageTaskParamsTaskType string
UpdateGoogleDocsPageTaskParamsTaskType defines model for UpdateGoogleDocsPageTaskParams.TaskType.
const (
UpdateGoogleDocsPage UpdateGoogleDocsPageTaskParamsTaskType = "update_google_docs_page"
)
Defines values for UpdateGoogleDocsPageTaskParamsTaskType.
type UpdateIncident ¶
type UpdateIncident struct {
Data struct {
Attributes struct {
// Date of acknowledgment
AcknowledgedAt *string `json:"acknowledged_at"`
// Date of cancellation
CancelledAt *string `json:"cancelled_at"`
// Date of detection
DetectedAt *string `json:"detected_at"`
// The Environment ID's to attach to the incident
EnvironmentIds *[]string `json:"environment_ids"`
// The Functionality ID's to attach to the incident
FunctionalityIds *[]string `json:"functionality_ids"`
// The Team ID's to attach to the incident
GroupIds *[]string `json:"group_ids"`
// Date of triage
InTriageAt *string `json:"in_triage_at"`
// The Incident Type ID's to attach to the incident
IncidentTypeIds *[]string `json:"incident_type_ids"`
// The kind of the incident
Kind *UpdateIncidentDataAttributesKind `json:"kind"`
// Labels to attach to the incidents. eg: {"platform":"osx", "version": "1.29"}
Labels *map[string]interface{} `json:"labels"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// ID of parent incident
ParentIncidentId *string `json:"parent_incident_id"`
// Convert the incident as private. Once an incident is updated as private it cannot be undone
Private *bool `json:"private"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Date of when the maintenance begins
ScheduledFor *string `json:"scheduled_for"`
// Date of when the maintenance ends
ScheduledUntil *string `json:"scheduled_until"`
// The Service ID's to attach to the incident
ServiceIds *[]string `json:"service_ids"`
// The Severity ID to attach to the incident
SeverityId *string `json:"severity_id"`
// Slack channel id
SlackChannelId *string `json:"slack_channel_id"`
// Slack channel name
SlackChannelName *string `json:"slack_channel_name"`
// Slack channel url
SlackChannelUrl *string `json:"slack_channel_url"`
// Date of start
StartedAt *string `json:"started_at"`
// The summary of the incident
Summary *string `json:"summary"`
// The title of the incident
Title *string `json:"title"`
} `json:"attributes"`
Type UpdateIncidentDataType `json:"type"`
} `json:"data"`
}
UpdateIncident defines model for update_incident.
type UpdateIncidentActionItem ¶
type UpdateIncidentActionItem struct {
Data struct {
Attributes struct {
// The description of the action item
Description *string `json:"description"`
// The due date of the action item
DueDate *string `json:"due_date"`
// The kind of the action item
Kind *UpdateIncidentActionItemDataAttributesKind `json:"kind,omitempty"`
// The priority of the action item
Priority *UpdateIncidentActionItemDataAttributesPriority `json:"priority,omitempty"`
// The status of the action item
Status *UpdateIncidentActionItemDataAttributesStatus `json:"status,omitempty"`
// The summary of the action item
Summary *string `json:"summary,omitempty"`
} `json:"attributes"`
Type UpdateIncidentActionItemDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentActionItem defines model for update_incident_action_item.
type UpdateIncidentActionItemDataAttributesKind ¶
type UpdateIncidentActionItemDataAttributesKind string
The kind of the action item
const ( FollowUp UpdateIncidentActionItemDataAttributesKind = "follow_up" Task UpdateIncidentActionItemDataAttributesKind = "task" )
Defines values for UpdateIncidentActionItemDataAttributesKind.
type UpdateIncidentActionItemDataAttributesPriority ¶
type UpdateIncidentActionItemDataAttributesPriority string
The priority of the action item
const ( UpdateIncidentActionItemDataAttributesPriorityHigh UpdateIncidentActionItemDataAttributesPriority = "high" UpdateIncidentActionItemDataAttributesPriorityLow UpdateIncidentActionItemDataAttributesPriority = "low" UpdateIncidentActionItemDataAttributesPriorityMedium UpdateIncidentActionItemDataAttributesPriority = "medium" )
Defines values for UpdateIncidentActionItemDataAttributesPriority.
type UpdateIncidentActionItemDataAttributesStatus ¶
type UpdateIncidentActionItemDataAttributesStatus string
The status of the action item
const ( UpdateIncidentActionItemDataAttributesStatusCancelled UpdateIncidentActionItemDataAttributesStatus = "cancelled" UpdateIncidentActionItemDataAttributesStatusDone UpdateIncidentActionItemDataAttributesStatus = "done" UpdateIncidentActionItemDataAttributesStatusInProgress UpdateIncidentActionItemDataAttributesStatus = "in_progress" UpdateIncidentActionItemDataAttributesStatusOpen UpdateIncidentActionItemDataAttributesStatus = "open" )
Defines values for UpdateIncidentActionItemDataAttributesStatus.
type UpdateIncidentActionItemDataType ¶
type UpdateIncidentActionItemDataType string
UpdateIncidentActionItemDataType defines model for UpdateIncidentActionItem.Data.Type.
const (
UpdateIncidentActionItemDataTypeIncidentActionItems UpdateIncidentActionItemDataType = "incident_action_items"
)
Defines values for UpdateIncidentActionItemDataType.
type UpdateIncidentActionItemResponse ¶
func ParseUpdateIncidentActionItemResponse ¶
func ParseUpdateIncidentActionItemResponse(rsp *http.Response) (*UpdateIncidentActionItemResponse, error)
ParseUpdateIncidentActionItemResponse parses an HTTP response from a UpdateIncidentActionItemWithResponse call
func (UpdateIncidentActionItemResponse) Status ¶
func (r UpdateIncidentActionItemResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentActionItemResponse) StatusCode ¶
func (r UpdateIncidentActionItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentCustomFieldSelection ¶
type UpdateIncidentCustomFieldSelection struct {
Data struct {
Attributes struct {
SelectedOptionIds *[]float32 `json:"selected_option_ids,omitempty"`
// The selected value for text kind custom fields
Value *string `json:"value"`
} `json:"attributes"`
Type UpdateIncidentCustomFieldSelectionDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentCustomFieldSelection defines model for update_incident_custom_field_selection.
type UpdateIncidentCustomFieldSelectionDataType ¶
type UpdateIncidentCustomFieldSelectionDataType string
UpdateIncidentCustomFieldSelectionDataType defines model for UpdateIncidentCustomFieldSelection.Data.Type.
const (
UpdateIncidentCustomFieldSelectionDataTypeIncidentCustomFieldSelections UpdateIncidentCustomFieldSelectionDataType = "incident_custom_field_selections"
)
Defines values for UpdateIncidentCustomFieldSelectionDataType.
type UpdateIncidentCustomFieldSelectionResponse ¶
func ParseUpdateIncidentCustomFieldSelectionResponse ¶
func ParseUpdateIncidentCustomFieldSelectionResponse(rsp *http.Response) (*UpdateIncidentCustomFieldSelectionResponse, error)
ParseUpdateIncidentCustomFieldSelectionResponse parses an HTTP response from a UpdateIncidentCustomFieldSelectionWithResponse call
func (UpdateIncidentCustomFieldSelectionResponse) Status ¶
func (r UpdateIncidentCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentCustomFieldSelectionResponse) StatusCode ¶
func (r UpdateIncidentCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentDataAttributesKind ¶ added in v0.1.71
type UpdateIncidentDataAttributesKind string
The kind of the incident
const ( UpdateIncidentDataAttributesKindBackfilled UpdateIncidentDataAttributesKind = "backfilled" UpdateIncidentDataAttributesKindExample UpdateIncidentDataAttributesKind = "example" UpdateIncidentDataAttributesKindExampleSub UpdateIncidentDataAttributesKind = "example_sub" UpdateIncidentDataAttributesKindNormal UpdateIncidentDataAttributesKind = "normal" UpdateIncidentDataAttributesKindNormalSub UpdateIncidentDataAttributesKind = "normal_sub" UpdateIncidentDataAttributesKindScheduled UpdateIncidentDataAttributesKind = "scheduled" UpdateIncidentDataAttributesKindTest UpdateIncidentDataAttributesKind = "test" UpdateIncidentDataAttributesKindTestSub UpdateIncidentDataAttributesKind = "test_sub" )
Defines values for UpdateIncidentDataAttributesKind.
type UpdateIncidentDataType ¶
type UpdateIncidentDataType string
UpdateIncidentDataType defines model for UpdateIncident.Data.Type.
const (
Incidents UpdateIncidentDataType = "incidents"
)
Defines values for UpdateIncidentDataType.
type UpdateIncidentEvent ¶
type UpdateIncidentEvent struct {
Data struct {
Attributes struct {
// The summary of the incident event
Event *string `json:"event,omitempty"`
// The visibility of the incident action item
Visibility *UpdateIncidentEventDataAttributesVisibility `json:"visibility,omitempty"`
} `json:"attributes"`
Type UpdateIncidentEventDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentEvent defines model for update_incident_event.
type UpdateIncidentEventDataAttributesVisibility ¶
type UpdateIncidentEventDataAttributesVisibility string
The visibility of the incident action item
const ( External UpdateIncidentEventDataAttributesVisibility = "external" Internal UpdateIncidentEventDataAttributesVisibility = "internal" )
Defines values for UpdateIncidentEventDataAttributesVisibility.
type UpdateIncidentEventDataType ¶
type UpdateIncidentEventDataType string
UpdateIncidentEventDataType defines model for UpdateIncidentEvent.Data.Type.
const (
UpdateIncidentEventDataTypeIncidentEvents UpdateIncidentEventDataType = "incident_events"
)
Defines values for UpdateIncidentEventDataType.
type UpdateIncidentEventFunctionality ¶ added in v0.1.70
type UpdateIncidentEventFunctionality struct {
Data struct {
Attributes struct {
// The status of the affected functionality
Status UpdateIncidentEventFunctionalityDataAttributesStatus `json:"status"`
} `json:"attributes"`
Type UpdateIncidentEventFunctionalityDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentEventFunctionality defines model for update_incident_event_functionality.
type UpdateIncidentEventFunctionalityDataAttributesStatus ¶ added in v0.1.70
type UpdateIncidentEventFunctionalityDataAttributesStatus string
The status of the affected functionality
const ( UpdateIncidentEventFunctionalityDataAttributesStatusMajorOutage UpdateIncidentEventFunctionalityDataAttributesStatus = "major_outage" UpdateIncidentEventFunctionalityDataAttributesStatusOperational UpdateIncidentEventFunctionalityDataAttributesStatus = "operational" UpdateIncidentEventFunctionalityDataAttributesStatusPartialOutage UpdateIncidentEventFunctionalityDataAttributesStatus = "partial_outage" )
Defines values for UpdateIncidentEventFunctionalityDataAttributesStatus.
type UpdateIncidentEventFunctionalityDataType ¶ added in v0.1.70
type UpdateIncidentEventFunctionalityDataType string
UpdateIncidentEventFunctionalityDataType defines model for UpdateIncidentEventFunctionality.Data.Type.
const (
UpdateIncidentEventFunctionalityDataTypeIncidentEventFunctionalities UpdateIncidentEventFunctionalityDataType = "incident_event_functionalities"
)
Defines values for UpdateIncidentEventFunctionalityDataType.
type UpdateIncidentEventFunctionalityResponse ¶ added in v0.1.70
func ParseUpdateIncidentEventFunctionalityResponse ¶ added in v0.1.70
func ParseUpdateIncidentEventFunctionalityResponse(rsp *http.Response) (*UpdateIncidentEventFunctionalityResponse, error)
ParseUpdateIncidentEventFunctionalityResponse parses an HTTP response from a UpdateIncidentEventFunctionalityWithResponse call
func (UpdateIncidentEventFunctionalityResponse) Status ¶ added in v0.1.70
func (r UpdateIncidentEventFunctionalityResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentEventFunctionalityResponse) StatusCode ¶ added in v0.1.70
func (r UpdateIncidentEventFunctionalityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentEventResponse ¶
func ParseUpdateIncidentEventResponse ¶
func ParseUpdateIncidentEventResponse(rsp *http.Response) (*UpdateIncidentEventResponse, error)
ParseUpdateIncidentEventResponse parses an HTTP response from a UpdateIncidentEventWithResponse call
func (UpdateIncidentEventResponse) Status ¶
func (r UpdateIncidentEventResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentEventResponse) StatusCode ¶
func (r UpdateIncidentEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentEventService ¶ added in v0.1.70
type UpdateIncidentEventService struct {
Data struct {
Attributes struct {
// The status of the affected service
Status UpdateIncidentEventServiceDataAttributesStatus `json:"status"`
} `json:"attributes"`
Type UpdateIncidentEventServiceDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentEventService defines model for update_incident_event_service.
type UpdateIncidentEventServiceDataAttributesStatus ¶ added in v0.1.70
type UpdateIncidentEventServiceDataAttributesStatus string
The status of the affected service
const ( UpdateIncidentEventServiceDataAttributesStatusMajorOutage UpdateIncidentEventServiceDataAttributesStatus = "major_outage" UpdateIncidentEventServiceDataAttributesStatusOperational UpdateIncidentEventServiceDataAttributesStatus = "operational" UpdateIncidentEventServiceDataAttributesStatusPartialOutage UpdateIncidentEventServiceDataAttributesStatus = "partial_outage" )
Defines values for UpdateIncidentEventServiceDataAttributesStatus.
type UpdateIncidentEventServiceDataType ¶ added in v0.1.70
type UpdateIncidentEventServiceDataType string
UpdateIncidentEventServiceDataType defines model for UpdateIncidentEventService.Data.Type.
const (
UpdateIncidentEventServiceDataTypeIncidentEventServices UpdateIncidentEventServiceDataType = "incident_event_services"
)
Defines values for UpdateIncidentEventServiceDataType.
type UpdateIncidentEventServiceResponse ¶ added in v0.1.70
func ParseUpdateIncidentEventServiceResponse ¶ added in v0.1.70
func ParseUpdateIncidentEventServiceResponse(rsp *http.Response) (*UpdateIncidentEventServiceResponse, error)
ParseUpdateIncidentEventServiceResponse parses an HTTP response from a UpdateIncidentEventServiceWithResponse call
func (UpdateIncidentEventServiceResponse) Status ¶ added in v0.1.70
func (r UpdateIncidentEventServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentEventServiceResponse) StatusCode ¶ added in v0.1.70
func (r UpdateIncidentEventServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentFeedback ¶
type UpdateIncidentFeedback struct {
Data struct {
Attributes struct {
// Is the feedback anonymous?
Anonymous *bool `json:"anonymous,omitempty"`
// The feedback of the incident feedback
Feedback *string `json:"feedback,omitempty"`
// The rating of the incident feedback
Rating *UpdateIncidentFeedbackDataAttributesRating `json:"rating,omitempty"`
} `json:"attributes"`
Type UpdateIncidentFeedbackDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentFeedback defines model for update_incident_feedback.
type UpdateIncidentFeedbackDataAttributesRating ¶
type UpdateIncidentFeedbackDataAttributesRating int
The rating of the incident feedback
const ( N0 UpdateIncidentFeedbackDataAttributesRating = 0 N1 UpdateIncidentFeedbackDataAttributesRating = 1 N2 UpdateIncidentFeedbackDataAttributesRating = 2 N3 UpdateIncidentFeedbackDataAttributesRating = 3 N4 UpdateIncidentFeedbackDataAttributesRating = 4 )
Defines values for UpdateIncidentFeedbackDataAttributesRating.
type UpdateIncidentFeedbackDataType ¶
type UpdateIncidentFeedbackDataType string
UpdateIncidentFeedbackDataType defines model for UpdateIncidentFeedback.Data.Type.
const (
UpdateIncidentFeedbackDataTypeIncidentFeedbacks UpdateIncidentFeedbackDataType = "incident_feedbacks"
)
Defines values for UpdateIncidentFeedbackDataType.
type UpdateIncidentFeedbackResponse ¶
func ParseUpdateIncidentFeedbackResponse ¶
func ParseUpdateIncidentFeedbackResponse(rsp *http.Response) (*UpdateIncidentFeedbackResponse, error)
ParseUpdateIncidentFeedbackResponse parses an HTTP response from a UpdateIncidentFeedbackWithResponse call
func (UpdateIncidentFeedbackResponse) Status ¶
func (r UpdateIncidentFeedbackResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentFeedbackResponse) StatusCode ¶
func (r UpdateIncidentFeedbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentFormFieldSelection ¶ added in v0.1.48
type UpdateIncidentFormFieldSelection struct {
Data struct {
Attributes struct {
SelectedOptionIds *[]string `json:"selected_option_ids,omitempty"`
SelectedUserIds *[]float32 `json:"selected_user_ids,omitempty"`
// The selected value for text kind custom fields
Value *string `json:"value"`
} `json:"attributes"`
Type UpdateIncidentFormFieldSelectionDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentFormFieldSelection defines model for update_incident_form_field_selection.
type UpdateIncidentFormFieldSelectionDataType ¶ added in v0.1.48
type UpdateIncidentFormFieldSelectionDataType string
UpdateIncidentFormFieldSelectionDataType defines model for UpdateIncidentFormFieldSelection.Data.Type.
const (
UpdateIncidentFormFieldSelectionDataTypeIncidentFormFieldSelections UpdateIncidentFormFieldSelectionDataType = "incident_form_field_selections"
)
Defines values for UpdateIncidentFormFieldSelectionDataType.
type UpdateIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseUpdateIncidentFormFieldSelectionResponse ¶ added in v0.1.48
func ParseUpdateIncidentFormFieldSelectionResponse(rsp *http.Response) (*UpdateIncidentFormFieldSelectionResponse, error)
ParseUpdateIncidentFormFieldSelectionResponse parses an HTTP response from a UpdateIncidentFormFieldSelectionWithResponse call
func (UpdateIncidentFormFieldSelectionResponse) Status ¶ added in v0.1.48
func (r UpdateIncidentFormFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentFormFieldSelectionResponse) StatusCode ¶ added in v0.1.48
func (r UpdateIncidentFormFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentPostMortem ¶
type UpdateIncidentPostMortem struct {
Data struct {
Attributes struct {
// The Cause ID's to attach to the incident retrospective
CauseIds *[]string `json:"cause_ids"`
// Date of mitigation
MitigatedAt *string `json:"mitigated_at"`
// Date of resolution
ResolvedAt *string `json:"resolved_at"`
// Show action items (follow-ups) in the incident retrospective
ShowActionItems *bool `json:"show_action_items,omitempty"`
// Show alerts attached to the incident
ShowAlertsAttached *bool `json:"show_alerts_attached,omitempty"`
// Show services impacted of the incident retrospective
ShowFunctionalitiesImpacted *bool `json:"show_functionalities_impacted,omitempty"`
// Show groups impacted of the incident retrospective
ShowGroupsImpacted *bool `json:"show_groups_impacted,omitempty"`
// Show functionalities impacted of the incident retrospective
ShowServicesImpacted *bool `json:"show_services_impacted,omitempty"`
// Show events timeline of the incident retrospective
ShowTimeline *bool `json:"show_timeline,omitempty"`
// Show action items in the timeline of the incident retrospective
ShowTimelineActionItems *bool `json:"show_timeline_action_items,omitempty"`
// Show workflow events in the timeline of the incident retrospective
ShowTimelineGenius *bool `json:"show_timeline_genius,omitempty"`
// Show tasks in the timeline of the incident retrospective
ShowTimelineTasks *bool `json:"show_timeline_tasks,omitempty"`
// Show trail events in the timeline of the incident retrospective
ShowTimelineTrail *bool `json:"show_timeline_trail,omitempty"`
// Date of started at
StartedAt *string `json:"started_at"`
// The status of the incident retrospective
Status *UpdateIncidentPostMortemDataAttributesStatus `json:"status,omitempty"`
// The title of the incident retrospective
Title *string `json:"title,omitempty"`
} `json:"attributes"`
Type UpdateIncidentPostMortemDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentPostMortem defines model for update_incident_post_mortem.
type UpdateIncidentPostMortemDataAttributesStatus ¶
type UpdateIncidentPostMortemDataAttributesStatus string
The status of the incident retrospective
const ( UpdateIncidentPostMortemDataAttributesStatusDraft UpdateIncidentPostMortemDataAttributesStatus = "draft" UpdateIncidentPostMortemDataAttributesStatusPublished UpdateIncidentPostMortemDataAttributesStatus = "published" )
Defines values for UpdateIncidentPostMortemDataAttributesStatus.
type UpdateIncidentPostMortemDataType ¶
type UpdateIncidentPostMortemDataType string
UpdateIncidentPostMortemDataType defines model for UpdateIncidentPostMortem.Data.Type.
const (
IncidentPostMortems UpdateIncidentPostMortemDataType = "incident_post_mortems"
)
Defines values for UpdateIncidentPostMortemDataType.
type UpdateIncidentPostmortemResponse ¶
func ParseUpdateIncidentPostmortemResponse ¶
func ParseUpdateIncidentPostmortemResponse(rsp *http.Response) (*UpdateIncidentPostmortemResponse, error)
ParseUpdateIncidentPostmortemResponse parses an HTTP response from a UpdateIncidentPostmortemWithResponse call
func (UpdateIncidentPostmortemResponse) Status ¶
func (r UpdateIncidentPostmortemResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentPostmortemResponse) StatusCode ¶
func (r UpdateIncidentPostmortemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentPostmortemTaskParams ¶
type UpdateIncidentPostmortemTaskParams struct {
// UUID of the retrospective that needs to be updated
PostmortemId string `json:"postmortem_id"`
Status *string `json:"status"`
TaskType *UpdateIncidentPostmortemTaskParamsTaskType `json:"task_type,omitempty"`
// The incident title
Title *string `json:"title"`
}
UpdateIncidentPostmortemTaskParams defines model for update_incident_postmortem_task_params.
type UpdateIncidentPostmortemTaskParamsTaskType ¶
type UpdateIncidentPostmortemTaskParamsTaskType string
UpdateIncidentPostmortemTaskParamsTaskType defines model for UpdateIncidentPostmortemTaskParams.TaskType.
const (
UpdateIncidentPostmortem UpdateIncidentPostmortemTaskParamsTaskType = "update_incident_postmortem"
)
Defines values for UpdateIncidentPostmortemTaskParamsTaskType.
type UpdateIncidentResponse ¶
func ParseUpdateIncidentResponse ¶
func ParseUpdateIncidentResponse(rsp *http.Response) (*UpdateIncidentResponse, error)
ParseUpdateIncidentResponse parses an HTTP response from a UpdateIncidentWithResponse call
func (UpdateIncidentResponse) Status ¶
func (r UpdateIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentResponse) StatusCode ¶
func (r UpdateIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentRole ¶
type UpdateIncidentRole struct {
Data struct {
Attributes struct {
AllowMultiUserAssignment *bool `json:"allow_multi_user_assignment,omitempty"`
// The description of the incident role
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
// The name of the incident role
Name *string `json:"name,omitempty"`
Optional *bool `json:"optional,omitempty"`
// Position of the incident role
Position *int `json:"position"`
// The summary of the incident role
Summary *string `json:"summary"`
} `json:"attributes"`
Type UpdateIncidentRoleDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentRole defines model for update_incident_role.
type UpdateIncidentRoleDataType ¶
type UpdateIncidentRoleDataType string
UpdateIncidentRoleDataType defines model for UpdateIncidentRole.Data.Type.
const (
UpdateIncidentRoleDataTypeIncidentRoles UpdateIncidentRoleDataType = "incident_roles"
)
Defines values for UpdateIncidentRoleDataType.
type UpdateIncidentRoleResponse ¶
func ParseUpdateIncidentRoleResponse ¶
func ParseUpdateIncidentRoleResponse(rsp *http.Response) (*UpdateIncidentRoleResponse, error)
ParseUpdateIncidentRoleResponse parses an HTTP response from a UpdateIncidentRoleWithResponse call
func (UpdateIncidentRoleResponse) Status ¶
func (r UpdateIncidentRoleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentRoleResponse) StatusCode ¶
func (r UpdateIncidentRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentRoleTask ¶
type UpdateIncidentRoleTask struct {
Data struct {
Attributes struct {
// The description of the incident task
Description *string `json:"description"`
// The priority of the incident task
Priority *UpdateIncidentRoleTaskDataAttributesPriority `json:"priority,omitempty"`
// The task of the incident task
Task *string `json:"task,omitempty"`
} `json:"attributes"`
Type UpdateIncidentRoleTaskDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentRoleTask defines model for update_incident_role_task.
type UpdateIncidentRoleTaskDataAttributesPriority ¶
type UpdateIncidentRoleTaskDataAttributesPriority string
The priority of the incident task
const ( UpdateIncidentRoleTaskDataAttributesPriorityHigh UpdateIncidentRoleTaskDataAttributesPriority = "high" UpdateIncidentRoleTaskDataAttributesPriorityLow UpdateIncidentRoleTaskDataAttributesPriority = "low" UpdateIncidentRoleTaskDataAttributesPriorityMedium UpdateIncidentRoleTaskDataAttributesPriority = "medium" )
Defines values for UpdateIncidentRoleTaskDataAttributesPriority.
type UpdateIncidentRoleTaskDataType ¶
type UpdateIncidentRoleTaskDataType string
UpdateIncidentRoleTaskDataType defines model for UpdateIncidentRoleTask.Data.Type.
const (
UpdateIncidentRoleTaskDataTypeIncidentRoleTasks UpdateIncidentRoleTaskDataType = "incident_role_tasks"
)
Defines values for UpdateIncidentRoleTaskDataType.
type UpdateIncidentRoleTaskResponse ¶
func ParseUpdateIncidentRoleTaskResponse ¶
func ParseUpdateIncidentRoleTaskResponse(rsp *http.Response) (*UpdateIncidentRoleTaskResponse, error)
ParseUpdateIncidentRoleTaskResponse parses an HTTP response from a UpdateIncidentRoleTaskWithResponse call
func (UpdateIncidentRoleTaskResponse) Status ¶
func (r UpdateIncidentRoleTaskResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentRoleTaskResponse) StatusCode ¶
func (r UpdateIncidentRoleTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentStatusPageEvent ¶
type UpdateIncidentStatusPageEvent struct {
Data struct {
Attributes struct {
// The summary of the incident event
Event *string `json:"event,omitempty"`
// Notify all status pages subscribers
NotifySubscribers *bool `json:"notify_subscribers"`
// For StatusPage.io integrated pages auto publishes a tweet for your update
ShouldTweet *bool `json:"should_tweet"`
// The status of the incident event
Status *UpdateIncidentStatusPageEventDataAttributesStatus `json:"status,omitempty"`
// Unique ID of the status page you wish to post the event to
StatusPageId *string `json:"status_page_id,omitempty"`
} `json:"attributes"`
Type UpdateIncidentStatusPageEventDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentStatusPageEvent defines model for update_incident_status_page_event.
type UpdateIncidentStatusPageEventDataAttributesStatus ¶
type UpdateIncidentStatusPageEventDataAttributesStatus string
The status of the incident event
const ( UpdateIncidentStatusPageEventDataAttributesStatusCompleted UpdateIncidentStatusPageEventDataAttributesStatus = "completed" UpdateIncidentStatusPageEventDataAttributesStatusIdentified UpdateIncidentStatusPageEventDataAttributesStatus = "identified" UpdateIncidentStatusPageEventDataAttributesStatusInProgress UpdateIncidentStatusPageEventDataAttributesStatus = "in_progress" UpdateIncidentStatusPageEventDataAttributesStatusInvestigating UpdateIncidentStatusPageEventDataAttributesStatus = "investigating" UpdateIncidentStatusPageEventDataAttributesStatusMonitoring UpdateIncidentStatusPageEventDataAttributesStatus = "monitoring" UpdateIncidentStatusPageEventDataAttributesStatusResolved UpdateIncidentStatusPageEventDataAttributesStatus = "resolved" UpdateIncidentStatusPageEventDataAttributesStatusScheduled UpdateIncidentStatusPageEventDataAttributesStatus = "scheduled" UpdateIncidentStatusPageEventDataAttributesStatusVerifying UpdateIncidentStatusPageEventDataAttributesStatus = "verifying" )
Defines values for UpdateIncidentStatusPageEventDataAttributesStatus.
type UpdateIncidentStatusPageEventDataType ¶
type UpdateIncidentStatusPageEventDataType string
UpdateIncidentStatusPageEventDataType defines model for UpdateIncidentStatusPageEvent.Data.Type.
const (
UpdateIncidentStatusPageEventDataTypeIncidentStatusPageEvents UpdateIncidentStatusPageEventDataType = "incident_status_page_events"
)
Defines values for UpdateIncidentStatusPageEventDataType.
type UpdateIncidentStatusPageResponse ¶
func ParseUpdateIncidentStatusPageResponse ¶
func ParseUpdateIncidentStatusPageResponse(rsp *http.Response) (*UpdateIncidentStatusPageResponse, error)
ParseUpdateIncidentStatusPageResponse parses an HTTP response from a UpdateIncidentStatusPageWithResponse call
func (UpdateIncidentStatusPageResponse) Status ¶
func (r UpdateIncidentStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentStatusPageResponse) StatusCode ¶
func (r UpdateIncidentStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentTaskParams ¶
type UpdateIncidentTaskParams struct {
AcknowledgedAt *string `json:"acknowledged_at"`
AttributeToQueryBy *UpdateIncidentTaskParamsAttributeToQueryBy `json:"attribute_to_query_by,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
DetectedAt *string `json:"detected_at"`
EnvironmentIds *[]string `json:"environment_ids"`
FunctionalityIds *[]string `json:"functionality_ids"`
GroupIds *[]string `json:"group_ids"`
// The incident id to update or id of any attribute on the incident
IncidentId string `json:"incident_id"`
IncidentTypeIds *[]string `json:"incident_type_ids"`
MitigatedAt *string `json:"mitigated_at"`
Private *bool `json:"private,omitempty"`
ResolvedAt *string `json:"resolved_at"`
ServiceIds *[]string `json:"service_ids"`
SeverityId *string `json:"severity_id"`
StartedAt *string `json:"started_at"`
Status *string `json:"status"`
// The incident summary
Summary *string `json:"summary"`
TaskType *UpdateIncidentTaskParamsTaskType `json:"task_type,omitempty"`
// The incident title
Title *string `json:"title"`
}
UpdateIncidentTaskParams defines model for update_incident_task_params.
type UpdateIncidentTaskParamsAttributeToQueryBy ¶ added in v0.1.45
type UpdateIncidentTaskParamsAttributeToQueryBy string
UpdateIncidentTaskParamsAttributeToQueryBy defines model for UpdateIncidentTaskParams.AttributeToQueryBy.
const ( UpdateIncidentTaskParamsAttributeToQueryByAirtableRecordId UpdateIncidentTaskParamsAttributeToQueryBy = "airtable_record_id" UpdateIncidentTaskParamsAttributeToQueryByAsanaTaskId UpdateIncidentTaskParamsAttributeToQueryBy = "asana_task_id" UpdateIncidentTaskParamsAttributeToQueryByClickupTaskId UpdateIncidentTaskParamsAttributeToQueryBy = "clickup_task_id" UpdateIncidentTaskParamsAttributeToQueryByFreshserviceTaskId UpdateIncidentTaskParamsAttributeToQueryBy = "freshservice_task_id" UpdateIncidentTaskParamsAttributeToQueryByFreshserviceTicketId UpdateIncidentTaskParamsAttributeToQueryBy = "freshservice_ticket_id" UpdateIncidentTaskParamsAttributeToQueryByGithubIssueId UpdateIncidentTaskParamsAttributeToQueryBy = "github_issue_id" UpdateIncidentTaskParamsAttributeToQueryById UpdateIncidentTaskParamsAttributeToQueryBy = "id" UpdateIncidentTaskParamsAttributeToQueryByJiraIssueId UpdateIncidentTaskParamsAttributeToQueryBy = "jira_issue_id" UpdateIncidentTaskParamsAttributeToQueryByLinearIssueId UpdateIncidentTaskParamsAttributeToQueryBy = "linear_issue_id" UpdateIncidentTaskParamsAttributeToQueryByOpsgenieIncidentId UpdateIncidentTaskParamsAttributeToQueryBy = "opsgenie_incident_id" UpdateIncidentTaskParamsAttributeToQueryByPagerdutyIncidentId UpdateIncidentTaskParamsAttributeToQueryBy = "pagerduty_incident_id" UpdateIncidentTaskParamsAttributeToQueryBySequentialId UpdateIncidentTaskParamsAttributeToQueryBy = "sequential_id" UpdateIncidentTaskParamsAttributeToQueryByShortcutStoryId UpdateIncidentTaskParamsAttributeToQueryBy = "shortcut_story_id" UpdateIncidentTaskParamsAttributeToQueryByShortcutTaskId UpdateIncidentTaskParamsAttributeToQueryBy = "shortcut_task_id" UpdateIncidentTaskParamsAttributeToQueryBySlug UpdateIncidentTaskParamsAttributeToQueryBy = "slug" UpdateIncidentTaskParamsAttributeToQueryByTrelloCardId UpdateIncidentTaskParamsAttributeToQueryBy = "trello_card_id" UpdateIncidentTaskParamsAttributeToQueryByVictorOpsIncidentId UpdateIncidentTaskParamsAttributeToQueryBy = "victor_ops_incident_id" UpdateIncidentTaskParamsAttributeToQueryByZendeskTicketId UpdateIncidentTaskParamsAttributeToQueryBy = "zendesk_ticket_id" )
Defines values for UpdateIncidentTaskParamsAttributeToQueryBy.
type UpdateIncidentTaskParamsTaskType ¶
type UpdateIncidentTaskParamsTaskType string
UpdateIncidentTaskParamsTaskType defines model for UpdateIncidentTaskParams.TaskType.
const (
UpdateIncidentTaskParamsTaskTypeUpdateIncident UpdateIncidentTaskParamsTaskType = "update_incident"
)
Defines values for UpdateIncidentTaskParamsTaskType.
type UpdateIncidentType ¶
type UpdateIncidentType struct {
Data struct {
Attributes struct {
// The hex color of the incident type
Color *string `json:"color"`
// The description of the incident type
Description *string `json:"description"`
// The name of the incident type
Name *string `json:"name,omitempty"`
// Emails to attach to the incident type
NotifyEmails *[]string `json:"notify_emails"`
// Position of the incident type
Position *int `json:"position"`
// Slack Aliases associated with this incident type
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this incident type
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
} `json:"attributes"`
Type UpdateIncidentTypeDataType `json:"type"`
} `json:"data"`
}
UpdateIncidentType defines model for update_incident_type.
type UpdateIncidentTypeDataType ¶
type UpdateIncidentTypeDataType string
UpdateIncidentTypeDataType defines model for UpdateIncidentType.Data.Type.
const (
IncidentTypes UpdateIncidentTypeDataType = "incident_types"
)
Defines values for UpdateIncidentTypeDataType.
type UpdateIncidentTypeResponse ¶
func ParseUpdateIncidentTypeResponse ¶
func ParseUpdateIncidentTypeResponse(rsp *http.Response) (*UpdateIncidentTypeResponse, error)
ParseUpdateIncidentTypeResponse parses an HTTP response from a UpdateIncidentTypeWithResponse call
func (UpdateIncidentTypeResponse) Status ¶
func (r UpdateIncidentTypeResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIncidentTypeResponse) StatusCode ¶
func (r UpdateIncidentTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateJiraIssueTaskParams ¶
type UpdateJiraIssueTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The issue description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
// The issue id
IssueId string `json:"issue_id"`
// The issue labels
Labels *string `json:"labels,omitempty"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The project key
ProjectKey string `json:"project_key"`
// The reporter user's email
ReporterUserEmail *string `json:"reporter_user_email,omitempty"`
// The status id and display name
Status *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"status,omitempty"`
TaskType *UpdateJiraIssueTaskParamsTaskType `json:"task_type,omitempty"`
// The issue title
Title *string `json:"title,omitempty"`
// Update payload. Can contain liquid markup and need to be valid JSON
UpdatePayload *string `json:"update_payload"`
}
UpdateJiraIssueTaskParams defines model for update_jira_issue_task_params.
type UpdateJiraIssueTaskParamsTaskType ¶
type UpdateJiraIssueTaskParamsTaskType string
UpdateJiraIssueTaskParamsTaskType defines model for UpdateJiraIssueTaskParams.TaskType.
const (
UpdateJiraIssue UpdateJiraIssueTaskParamsTaskType = "update_jira_issue"
)
Defines values for UpdateJiraIssueTaskParamsTaskType.
type UpdateLinearIssueTaskParams ¶
type UpdateLinearIssueTaskParams struct {
// The assigned user's email
AssignUserEmail *string `json:"assign_user_email,omitempty"`
// The issue description
Description *string `json:"description,omitempty"`
// The issue id
IssueId string `json:"issue_id"`
Labels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"labels,omitempty"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The project id and display name
Project *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"project,omitempty"`
// The state id and display name
State *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"state,omitempty"`
TaskType *UpdateLinearIssueTaskParamsTaskType `json:"task_type,omitempty"`
// The issue title
Title *string `json:"title,omitempty"`
}
UpdateLinearIssueTaskParams defines model for update_linear_issue_task_params.
type UpdateLinearIssueTaskParamsTaskType ¶
type UpdateLinearIssueTaskParamsTaskType string
UpdateLinearIssueTaskParamsTaskType defines model for UpdateLinearIssueTaskParams.TaskType.
const (
UpdateLinearIssue UpdateLinearIssueTaskParamsTaskType = "update_linear_issue"
)
Defines values for UpdateLinearIssueTaskParamsTaskType.
type UpdateNotionPageTaskParams ¶ added in v1.0.2
type UpdateNotionPageTaskParams struct {
// The Notion page ID
FileId string `json:"file_id"`
// Retrospective template to use when creating page task, if desired
PostMortemTemplateId *string `json:"post_mortem_template_id,omitempty"`
ShowActionItemsAsTable *bool `json:"show_action_items_as_table,omitempty"`
ShowTimelineAsTable *bool `json:"show_timeline_as_table,omitempty"`
TaskType *UpdateNotionPageTaskParamsTaskType `json:"task_type,omitempty"`
}
UpdateNotionPageTaskParams defines model for update_notion_page_task_params.
type UpdateNotionPageTaskParamsTaskType ¶ added in v1.0.2
type UpdateNotionPageTaskParamsTaskType string
UpdateNotionPageTaskParamsTaskType defines model for UpdateNotionPageTaskParams.TaskType.
const (
UpdateNotionPage UpdateNotionPageTaskParamsTaskType = "update_notion_page"
)
Defines values for UpdateNotionPageTaskParamsTaskType.
type UpdateOpsgenieAlertTaskParams ¶ added in v0.1.31
type UpdateOpsgenieAlertTaskParams struct {
// Opsgenie Alert ID
AlertId string `json:"alert_id"`
Completion struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion"`
// Description field of the alert that is generally used to provide a detailed information about the alert
Description *string `json:"description,omitempty"`
// Message of the alert
Message *string `json:"message,omitempty"`
Priority UpdateOpsgenieAlertTaskParamsPriority `json:"priority"`
TaskType *UpdateOpsgenieAlertTaskParamsTaskType `json:"task_type,omitempty"`
}
UpdateOpsgenieAlertTaskParams defines model for update_opsgenie_alert_task_params.
type UpdateOpsgenieAlertTaskParamsPriority ¶ added in v0.1.31
type UpdateOpsgenieAlertTaskParamsPriority string
UpdateOpsgenieAlertTaskParamsPriority defines model for UpdateOpsgenieAlertTaskParams.Priority.
const ( UpdateOpsgenieAlertTaskParamsPriorityAuto UpdateOpsgenieAlertTaskParamsPriority = "auto" UpdateOpsgenieAlertTaskParamsPriorityP1 UpdateOpsgenieAlertTaskParamsPriority = "P1" UpdateOpsgenieAlertTaskParamsPriorityP2 UpdateOpsgenieAlertTaskParamsPriority = "P2" UpdateOpsgenieAlertTaskParamsPriorityP3 UpdateOpsgenieAlertTaskParamsPriority = "P3" UpdateOpsgenieAlertTaskParamsPriorityP4 UpdateOpsgenieAlertTaskParamsPriority = "P4" )
Defines values for UpdateOpsgenieAlertTaskParamsPriority.
type UpdateOpsgenieAlertTaskParamsTaskType ¶ added in v0.1.31
type UpdateOpsgenieAlertTaskParamsTaskType string
UpdateOpsgenieAlertTaskParamsTaskType defines model for UpdateOpsgenieAlertTaskParams.TaskType.
const (
UpdateOpsgenieAlert UpdateOpsgenieAlertTaskParamsTaskType = "update_opsgenie_alert"
)
Defines values for UpdateOpsgenieAlertTaskParamsTaskType.
type UpdateOpsgenieIncidentTaskParams ¶ added in v0.1.48
type UpdateOpsgenieIncidentTaskParams struct {
// Description field of the alert that is generally used to provide a detailed information about the alert
Description *string `json:"description,omitempty"`
// Message of the alert
Message *string `json:"message,omitempty"`
// The Opsgenie incident ID, this can also be a Rootly incident variable ex. {{ incident.opsgenie_incident_id }}
OpsgenieIncidentId string `json:"opsgenie_incident_id"`
Priority *UpdateOpsgenieIncidentTaskParamsPriority `json:"priority,omitempty"`
Status *UpdateOpsgenieIncidentTaskParamsStatus `json:"status,omitempty"`
TaskType *UpdateOpsgenieIncidentTaskParamsTaskType `json:"task_type,omitempty"`
}
UpdateOpsgenieIncidentTaskParams defines model for update_opsgenie_incident_task_params.
type UpdateOpsgenieIncidentTaskParamsPriority ¶ added in v0.1.48
type UpdateOpsgenieIncidentTaskParamsPriority string
UpdateOpsgenieIncidentTaskParamsPriority defines model for UpdateOpsgenieIncidentTaskParams.Priority.
const ( UpdateOpsgenieIncidentTaskParamsPriorityAuto UpdateOpsgenieIncidentTaskParamsPriority = "auto" UpdateOpsgenieIncidentTaskParamsPriorityP1 UpdateOpsgenieIncidentTaskParamsPriority = "P1" UpdateOpsgenieIncidentTaskParamsPriorityP2 UpdateOpsgenieIncidentTaskParamsPriority = "P2" UpdateOpsgenieIncidentTaskParamsPriorityP3 UpdateOpsgenieIncidentTaskParamsPriority = "P3" UpdateOpsgenieIncidentTaskParamsPriorityP4 UpdateOpsgenieIncidentTaskParamsPriority = "P4" )
Defines values for UpdateOpsgenieIncidentTaskParamsPriority.
type UpdateOpsgenieIncidentTaskParamsStatus ¶ added in v0.1.48
type UpdateOpsgenieIncidentTaskParamsStatus string
UpdateOpsgenieIncidentTaskParamsStatus defines model for UpdateOpsgenieIncidentTaskParams.Status.
const ( UpdateOpsgenieIncidentTaskParamsStatusAuto UpdateOpsgenieIncidentTaskParamsStatus = "auto" UpdateOpsgenieIncidentTaskParamsStatusClose UpdateOpsgenieIncidentTaskParamsStatus = "close" UpdateOpsgenieIncidentTaskParamsStatusOpen UpdateOpsgenieIncidentTaskParamsStatus = "open" UpdateOpsgenieIncidentTaskParamsStatusResolve UpdateOpsgenieIncidentTaskParamsStatus = "resolve" )
Defines values for UpdateOpsgenieIncidentTaskParamsStatus.
type UpdateOpsgenieIncidentTaskParamsTaskType ¶ added in v0.1.48
type UpdateOpsgenieIncidentTaskParamsTaskType string
UpdateOpsgenieIncidentTaskParamsTaskType defines model for UpdateOpsgenieIncidentTaskParams.TaskType.
const (
UpdateOpsgenieIncident UpdateOpsgenieIncidentTaskParamsTaskType = "update_opsgenie_incident"
)
Defines values for UpdateOpsgenieIncidentTaskParamsTaskType.
type UpdatePagerdutyIncidentTaskParams ¶ added in v0.1.18
type UpdatePagerdutyIncidentTaskParams struct {
// Escalation level of policy attached to incident
EscalationLevel *float32 `json:"escalation_level,omitempty"`
// Pagerduty incident id
PagerdutyIncidentId string `json:"pagerduty_incident_id"`
// A message outlining the incident's resolution in Pagerduty
Resolution *string `json:"resolution,omitempty"`
Status *UpdatePagerdutyIncidentTaskParamsStatus `json:"status,omitempty"`
TaskType *UpdatePagerdutyIncidentTaskParamsTaskType `json:"task_type,omitempty"`
// Title to update to
Title *string `json:"title,omitempty"`
// Pagerduty incident urgency, selecting auto will let Rootly auto map our incident severity
Urgency *UpdatePagerdutyIncidentTaskParamsUrgency `json:"urgency,omitempty"`
}
UpdatePagerdutyIncidentTaskParams defines model for update_pagerduty_incident_task_params.
type UpdatePagerdutyIncidentTaskParamsStatus ¶ added in v0.1.18
type UpdatePagerdutyIncidentTaskParamsStatus string
UpdatePagerdutyIncidentTaskParamsStatus defines model for UpdatePagerdutyIncidentTaskParams.Status.
const ( UpdatePagerdutyIncidentTaskParamsStatusAcknowledged UpdatePagerdutyIncidentTaskParamsStatus = "acknowledged" UpdatePagerdutyIncidentTaskParamsStatusAuto UpdatePagerdutyIncidentTaskParamsStatus = "auto" UpdatePagerdutyIncidentTaskParamsStatusResolved UpdatePagerdutyIncidentTaskParamsStatus = "resolved" )
Defines values for UpdatePagerdutyIncidentTaskParamsStatus.
type UpdatePagerdutyIncidentTaskParamsTaskType ¶ added in v0.1.18
type UpdatePagerdutyIncidentTaskParamsTaskType string
UpdatePagerdutyIncidentTaskParamsTaskType defines model for UpdatePagerdutyIncidentTaskParams.TaskType.
const (
UpdatePagerdutyIncident UpdatePagerdutyIncidentTaskParamsTaskType = "update_pagerduty_incident"
)
Defines values for UpdatePagerdutyIncidentTaskParamsTaskType.
type UpdatePagerdutyIncidentTaskParamsUrgency ¶ added in v0.1.18
type UpdatePagerdutyIncidentTaskParamsUrgency string
Pagerduty incident urgency, selecting auto will let Rootly auto map our incident severity
const ( UpdatePagerdutyIncidentTaskParamsUrgencyAuto UpdatePagerdutyIncidentTaskParamsUrgency = "auto" UpdatePagerdutyIncidentTaskParamsUrgencyHigh UpdatePagerdutyIncidentTaskParamsUrgency = "high" UpdatePagerdutyIncidentTaskParamsUrgencyLow UpdatePagerdutyIncidentTaskParamsUrgency = "low" )
Defines values for UpdatePagerdutyIncidentTaskParamsUrgency.
type UpdatePagertreeAlertTaskParams ¶ added in v0.1.58
type UpdatePagertreeAlertTaskParams struct {
// Description of alert as text
Description *string `json:"description,omitempty"`
// Setting to true makes an alert a Pagertree incident
Incident *bool `json:"incident,omitempty"`
// The prefix ID of the Pagertree alert
PagertreeAlertId *string `json:"pagertree_alert_id,omitempty"`
Severity *UpdatePagertreeAlertTaskParamsSeverity `json:"severity,omitempty"`
TaskType *UpdatePagertreeAlertTaskParamsTaskType `json:"task_type,omitempty"`
Teams *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"teams,omitempty"`
// Title of alert as text
Title *string `json:"title,omitempty"`
Urgency *UpdatePagertreeAlertTaskParamsUrgency `json:"urgency,omitempty"`
Users *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"users,omitempty"`
}
UpdatePagertreeAlertTaskParams defines model for update_pagertree_alert_task_params.
type UpdatePagertreeAlertTaskParamsSeverity ¶ added in v0.1.58
type UpdatePagertreeAlertTaskParamsSeverity string
UpdatePagertreeAlertTaskParamsSeverity defines model for UpdatePagertreeAlertTaskParams.Severity.
const ( UpdatePagertreeAlertTaskParamsSeverityAuto UpdatePagertreeAlertTaskParamsSeverity = "auto" UpdatePagertreeAlertTaskParamsSeveritySEV1 UpdatePagertreeAlertTaskParamsSeverity = "SEV-1" UpdatePagertreeAlertTaskParamsSeveritySEV2 UpdatePagertreeAlertTaskParamsSeverity = "SEV-2" UpdatePagertreeAlertTaskParamsSeveritySEV3 UpdatePagertreeAlertTaskParamsSeverity = "SEV-3" UpdatePagertreeAlertTaskParamsSeveritySEV4 UpdatePagertreeAlertTaskParamsSeverity = "SEV-4" )
Defines values for UpdatePagertreeAlertTaskParamsSeverity.
type UpdatePagertreeAlertTaskParamsTaskType ¶ added in v0.1.58
type UpdatePagertreeAlertTaskParamsTaskType string
UpdatePagertreeAlertTaskParamsTaskType defines model for UpdatePagertreeAlertTaskParams.TaskType.
const (
UpdatePagertreeAlert UpdatePagertreeAlertTaskParamsTaskType = "update_pagertree_alert"
)
Defines values for UpdatePagertreeAlertTaskParamsTaskType.
type UpdatePagertreeAlertTaskParamsUrgency ¶ added in v0.1.58
type UpdatePagertreeAlertTaskParamsUrgency string
UpdatePagertreeAlertTaskParamsUrgency defines model for UpdatePagertreeAlertTaskParams.Urgency.
const ( UpdatePagertreeAlertTaskParamsUrgencyAuto UpdatePagertreeAlertTaskParamsUrgency = "auto" UpdatePagertreeAlertTaskParamsUrgencyCritical UpdatePagertreeAlertTaskParamsUrgency = "critical" UpdatePagertreeAlertTaskParamsUrgencyHigh UpdatePagertreeAlertTaskParamsUrgency = "high" UpdatePagertreeAlertTaskParamsUrgencyLow UpdatePagertreeAlertTaskParamsUrgency = "low" UpdatePagertreeAlertTaskParamsUrgencyMedium UpdatePagertreeAlertTaskParamsUrgency = "medium" )
Defines values for UpdatePagertreeAlertTaskParamsUrgency.
type UpdatePlaybook ¶
type UpdatePlaybook struct {
Data struct {
Attributes struct {
// The Environment ID's to attach to the incident
EnvironmentIds *[]string `json:"environment_ids"`
// The external url of the playbook
ExternalUrl *string `json:"external_url"`
// The Functionality ID's to attach to the incident
FunctionalityIds *[]string `json:"functionality_ids"`
// The Team ID's to attach to the incident
GroupIds *[]string `json:"group_ids"`
// The Incident Type ID's to attach to the incident
IncidentTypeIds *[]string `json:"incident_type_ids"`
// The Service ID's to attach to the incident
ServiceIds *[]string `json:"service_ids"`
// The Severity ID's to attach to the incident
SeverityIds *[]string `json:"severity_ids"`
// The summary of the playbook
Summary *string `json:"summary"`
// The title of the playbook
Title *string `json:"title,omitempty"`
} `json:"attributes"`
Type UpdatePlaybookDataType `json:"type"`
} `json:"data"`
}
UpdatePlaybook defines model for update_playbook.
type UpdatePlaybookDataType ¶
type UpdatePlaybookDataType string
UpdatePlaybookDataType defines model for UpdatePlaybook.Data.Type.
const (
UpdatePlaybookDataTypePlaybooks UpdatePlaybookDataType = "playbooks"
)
Defines values for UpdatePlaybookDataType.
type UpdatePlaybookResponse ¶
func ParseUpdatePlaybookResponse ¶
func ParseUpdatePlaybookResponse(rsp *http.Response) (*UpdatePlaybookResponse, error)
ParseUpdatePlaybookResponse parses an HTTP response from a UpdatePlaybookWithResponse call
func (UpdatePlaybookResponse) Status ¶
func (r UpdatePlaybookResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePlaybookResponse) StatusCode ¶
func (r UpdatePlaybookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePlaybookTask ¶
type UpdatePlaybookTask struct {
Data struct {
Attributes struct {
// The description of the incident task
Description *string `json:"description"`
// The task of the incident task
Task *string `json:"task,omitempty"`
} `json:"attributes"`
Type UpdatePlaybookTaskDataType `json:"type"`
} `json:"data"`
}
UpdatePlaybookTask defines model for update_playbook_task.
type UpdatePlaybookTaskDataType ¶
type UpdatePlaybookTaskDataType string
UpdatePlaybookTaskDataType defines model for UpdatePlaybookTask.Data.Type.
const (
UpdatePlaybookTaskDataTypePlaybookTasks UpdatePlaybookTaskDataType = "playbook_tasks"
)
Defines values for UpdatePlaybookTaskDataType.
type UpdatePlaybookTaskResponse ¶
func ParseUpdatePlaybookTaskResponse ¶
func ParseUpdatePlaybookTaskResponse(rsp *http.Response) (*UpdatePlaybookTaskResponse, error)
ParseUpdatePlaybookTaskResponse parses an HTTP response from a UpdatePlaybookTaskWithResponse call
func (UpdatePlaybookTaskResponse) Status ¶
func (r UpdatePlaybookTaskResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePlaybookTaskResponse) StatusCode ¶
func (r UpdatePlaybookTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePostMortemTemplate ¶
type UpdatePostMortemTemplate struct {
Data struct {
Attributes struct {
// The postmortem template. Liquid syntax is supported
Content *string `json:"content,omitempty"`
// Default selected template when editing a postmortem
Default *bool `json:"default"`
// The format of the input
Format *UpdatePostMortemTemplateDataAttributesFormat `json:"format"`
// The name of the postmortem template
Name *string `json:"name,omitempty"`
} `json:"attributes"`
Type UpdatePostMortemTemplateDataType `json:"type"`
} `json:"data"`
}
UpdatePostMortemTemplate defines model for update_post_mortem_template.
type UpdatePostMortemTemplateDataAttributesFormat ¶ added in v0.1.71
type UpdatePostMortemTemplateDataAttributesFormat string
The format of the input
const ( Html UpdatePostMortemTemplateDataAttributesFormat = "html" Markdown UpdatePostMortemTemplateDataAttributesFormat = "markdown" )
Defines values for UpdatePostMortemTemplateDataAttributesFormat.
type UpdatePostMortemTemplateDataType ¶
type UpdatePostMortemTemplateDataType string
UpdatePostMortemTemplateDataType defines model for UpdatePostMortemTemplate.Data.Type.
const (
UpdatePostMortemTemplateDataTypePostMortemTemplates UpdatePostMortemTemplateDataType = "post_mortem_templates"
)
Defines values for UpdatePostMortemTemplateDataType.
type UpdatePostmortemTemplateResponse ¶
func ParseUpdatePostmortemTemplateResponse ¶
func ParseUpdatePostmortemTemplateResponse(rsp *http.Response) (*UpdatePostmortemTemplateResponse, error)
ParseUpdatePostmortemTemplateResponse parses an HTTP response from a UpdatePostmortemTemplateWithResponse call
func (UpdatePostmortemTemplateResponse) Status ¶
func (r UpdatePostmortemTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePostmortemTemplateResponse) StatusCode ¶
func (r UpdatePostmortemTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePulse ¶
type UpdatePulse struct {
Data struct {
Attributes struct {
// Additional data
Data *map[string]interface{} `json:"data"`
// Pulse end datetime
EndedAt *time.Time `json:"ended_at"`
// The Environment ID's to attach to the pulse
EnvironmentIds *[]string `json:"environment_ids"`
Labels *[]struct {
// Key of the tag
Key string `json:"key"`
// Value of the tag
Value string `json:"value"`
} `json:"labels,omitempty"`
Refs *[]struct {
// Key of the ref
Key string `json:"key"`
// Value of the ref
Value string `json:"value"`
} `json:"refs,omitempty"`
// The Service ID's to attach to the pulse
ServiceIds *[]string `json:"service_ids"`
// The source of the pulse (eg: k8s)
Source *string `json:"source"`
// Pulse start datetime
StartedAt *time.Time `json:"started_at"`
// The summary of the pulse
Summary *string `json:"summary,omitempty"`
} `json:"attributes"`
Type *UpdatePulseDataType `json:"type,omitempty"`
} `json:"data"`
}
UpdatePulse defines model for update_pulse.
type UpdatePulseDataType ¶
type UpdatePulseDataType string
UpdatePulseDataType defines model for UpdatePulse.Data.Type.
const (
UpdatePulseDataTypePulses UpdatePulseDataType = "pulses"
)
Defines values for UpdatePulseDataType.
type UpdatePulseResponse ¶
func ParseUpdatePulseResponse ¶
func ParseUpdatePulseResponse(rsp *http.Response) (*UpdatePulseResponse, error)
ParseUpdatePulseResponse parses an HTTP response from a UpdatePulseWithResponse call
func (UpdatePulseResponse) Status ¶
func (r UpdatePulseResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePulseResponse) StatusCode ¶
func (r UpdatePulseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRetrospectiveStep ¶ added in v1.1.7
type UpdateRetrospectiveStep struct {
Data struct {
Attributes struct {
// The description of the step
Description *string `json:"description"`
// Due date in days
DueAfterDays *int `json:"due_after_days"`
// Users assigned to the selected incident role will be the default owners for this step
IncidentRoleId *string `json:"incident_role_id"`
// Position of the step
Position *int `json:"position"`
// Is the step skippable?
Skippable *bool `json:"skippable,omitempty"`
// The name of the step
Title *string `json:"title,omitempty"`
} `json:"attributes"`
Type UpdateRetrospectiveStepDataType `json:"type"`
} `json:"data"`
}
UpdateRetrospectiveStep defines model for update_retrospective_step.
type UpdateRetrospectiveStepDataType ¶ added in v1.1.7
type UpdateRetrospectiveStepDataType string
UpdateRetrospectiveStepDataType defines model for UpdateRetrospectiveStep.Data.Type.
const (
UpdateRetrospectiveStepDataTypeRetrospectiveSteps UpdateRetrospectiveStepDataType = "retrospective_steps"
)
Defines values for UpdateRetrospectiveStepDataType.
type UpdateRetrospectiveStepResponse ¶ added in v1.1.7
func ParseUpdateRetrospectiveStepResponse ¶ added in v1.1.7
func ParseUpdateRetrospectiveStepResponse(rsp *http.Response) (*UpdateRetrospectiveStepResponse, error)
ParseUpdateRetrospectiveStepResponse parses an HTTP response from a UpdateRetrospectiveStepWithResponse call
func (UpdateRetrospectiveStepResponse) Status ¶ added in v1.1.7
func (r UpdateRetrospectiveStepResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRetrospectiveStepResponse) StatusCode ¶ added in v1.1.7
func (r UpdateRetrospectiveStepResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSecret ¶ added in v0.1.58
type UpdateSecret struct {
Data struct {
Attributes struct {
// The HashiCorp Vault secret mount path
HashicorpVaultMount *string `json:"hashicorp_vault_mount"`
// The HashiCorp Vault secret path
HashicorpVaultPath *string `json:"hashicorp_vault_path"`
// The HashiCorp Vault secret version
HashicorpVaultVersion *int `json:"hashicorp_vault_version"`
// The name of the secret
Name string `json:"name"`
// The secret
Secret *string `json:"secret,omitempty"`
} `json:"attributes"`
Type UpdateSecretDataType `json:"type"`
} `json:"data"`
}
UpdateSecret defines model for update_secret.
type UpdateSecretDataType ¶ added in v0.1.58
type UpdateSecretDataType string
UpdateSecretDataType defines model for UpdateSecret.Data.Type.
const (
UpdateSecretDataTypeSecrets UpdateSecretDataType = "secrets"
)
Defines values for UpdateSecretDataType.
type UpdateSecretResponse ¶ added in v0.1.58
func ParseUpdateSecretResponse ¶ added in v0.1.58
func ParseUpdateSecretResponse(rsp *http.Response) (*UpdateSecretResponse, error)
ParseUpdateSecretResponse parses an HTTP response from a UpdateSecretWithResponse call
func (UpdateSecretResponse) Status ¶ added in v0.1.58
func (r UpdateSecretResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSecretResponse) StatusCode ¶ added in v0.1.58
func (r UpdateSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateService ¶
type UpdateService struct {
Data struct {
Attributes struct {
// The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
BackstageId *string `json:"backstage_id"`
// The hex color of the service
Color *string `json:"color"`
// The description of the service
Description *string `json:"description"`
// Environments associated with this service
EnvironmentIds *[]string `json:"environment_ids"`
// The GitHub repository branch associated to this service. eg: main
GithubRepositoryBranch *string `json:"github_repository_branch"`
// The GitHub repository name associated to this service. eg: rootlyhq/my-service
GithubRepositoryName *string `json:"github_repository_name"`
// The Gitlab repository branch associated to this service. eg: main
GitlabRepositoryBranch *string `json:"gitlab_repository_branch"`
// The Gitlab repository name associated to this service. eg: rootlyhq/my-service
GitlabRepositoryName *string `json:"gitlab_repository_name"`
// The name of the service
Name *string `json:"name,omitempty"`
// Emails to attach to the service
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie service id associated to this service
OpsgenieId *string `json:"opsgenie_id"`
// Owner Teams associated with this service
OwnersGroupIds *[]string `json:"owners_group_ids"`
// Owner Users associated with this service
OwnersUserIds *[]int `json:"owners_user_ids"`
// The PagerDuty service id associated to this service
PagerdutyId *string `json:"pagerduty_id"`
// Position of the service
Position *int `json:"position"`
// The public description of the service
PublicDescription *string `json:"public_description"`
// Services dependent on this service
ServiceIds *[]string `json:"service_ids"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The status of the service
Status *UpdateServiceDataAttributesStatus `json:"status,omitempty"`
} `json:"attributes"`
Type UpdateServiceDataType `json:"type"`
} `json:"data"`
}
UpdateService defines model for update_service.
type UpdateServiceDataAttributesStatus ¶ added in v0.1.83
type UpdateServiceDataAttributesStatus string
The status of the service
const ( UpdateServiceDataAttributesStatusImpacted UpdateServiceDataAttributesStatus = "impacted" UpdateServiceDataAttributesStatusMajorOutage UpdateServiceDataAttributesStatus = "major_outage" UpdateServiceDataAttributesStatusOperational UpdateServiceDataAttributesStatus = "operational" UpdateServiceDataAttributesStatusOutage UpdateServiceDataAttributesStatus = "outage" UpdateServiceDataAttributesStatusPartialOutage UpdateServiceDataAttributesStatus = "partial_outage" )
Defines values for UpdateServiceDataAttributesStatus.
type UpdateServiceDataType ¶
type UpdateServiceDataType string
UpdateServiceDataType defines model for UpdateService.Data.Type.
const (
UpdateServiceDataTypeServices UpdateServiceDataType = "services"
)
Defines values for UpdateServiceDataType.
type UpdateServiceNowIncidentTaskParams ¶
type UpdateServiceNowIncidentTaskParams struct {
// The completion id and display name
Completion *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The incident description
Description *string `json:"description,omitempty"`
// The incident id
IncidentId string `json:"incident_id"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
TaskType *UpdateServiceNowIncidentTaskParamsTaskType `json:"task_type,omitempty"`
// The incident title
Title *string `json:"title,omitempty"`
}
UpdateServiceNowIncidentTaskParams defines model for update_service_now_incident_task_params.
type UpdateServiceNowIncidentTaskParamsTaskType ¶
type UpdateServiceNowIncidentTaskParamsTaskType string
UpdateServiceNowIncidentTaskParamsTaskType defines model for UpdateServiceNowIncidentTaskParams.TaskType.
const (
UpdateServiceNowIncident UpdateServiceNowIncidentTaskParamsTaskType = "update_service_now_incident"
)
Defines values for UpdateServiceNowIncidentTaskParamsTaskType.
type UpdateServiceResponse ¶
func ParseUpdateServiceResponse ¶
func ParseUpdateServiceResponse(rsp *http.Response) (*UpdateServiceResponse, error)
ParseUpdateServiceResponse parses an HTTP response from a UpdateServiceWithResponse call
func (UpdateServiceResponse) Status ¶
func (r UpdateServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateServiceResponse) StatusCode ¶
func (r UpdateServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSeverity ¶
type UpdateSeverity struct {
Data struct {
Attributes struct {
// The hex color of the severity
Color *string `json:"color"`
// The description of the severity
Description *string `json:"description"`
// The name of the severity
Name *string `json:"name,omitempty"`
// Emails to attach to the severity
NotifyEmails *[]string `json:"notify_emails"`
// Position of the severity
Position *int `json:"position"`
// The severity of the severity
Severity *UpdateSeverityDataAttributesSeverity `json:"severity,omitempty"`
// Slack Aliases associated with this severity
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this severity
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
} `json:"attributes"`
Type UpdateSeverityDataType `json:"type"`
} `json:"data"`
}
UpdateSeverity defines model for update_severity.
type UpdateSeverityDataAttributesSeverity ¶
type UpdateSeverityDataAttributesSeverity string
The severity of the severity
const ( UpdateSeverityDataAttributesSeverityCritical UpdateSeverityDataAttributesSeverity = "critical" UpdateSeverityDataAttributesSeverityHigh UpdateSeverityDataAttributesSeverity = "high" UpdateSeverityDataAttributesSeverityLow UpdateSeverityDataAttributesSeverity = "low" UpdateSeverityDataAttributesSeverityMedium UpdateSeverityDataAttributesSeverity = "medium" )
Defines values for UpdateSeverityDataAttributesSeverity.
type UpdateSeverityDataType ¶
type UpdateSeverityDataType string
UpdateSeverityDataType defines model for UpdateSeverity.Data.Type.
const (
Severities UpdateSeverityDataType = "severities"
)
Defines values for UpdateSeverityDataType.
type UpdateSeverityResponse ¶
func ParseUpdateSeverityResponse ¶
func ParseUpdateSeverityResponse(rsp *http.Response) (*UpdateSeverityResponse, error)
ParseUpdateSeverityResponse parses an HTTP response from a UpdateSeverityWithResponse call
func (UpdateSeverityResponse) Status ¶
func (r UpdateSeverityResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSeverityResponse) StatusCode ¶
func (r UpdateSeverityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateShortcutStoryTaskParams ¶
type UpdateShortcutStoryTaskParams struct {
// The archivation id and display name
Archivation struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"archivation"`
// The incident description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
// The story labels
Labels *string `json:"labels,omitempty"`
// The story id
StoryId string `json:"story_id"`
TaskType *UpdateShortcutStoryTaskParamsTaskType `json:"task_type,omitempty"`
// The incident title
Title *string `json:"title,omitempty"`
}
UpdateShortcutStoryTaskParams defines model for update_shortcut_story_task_params.
type UpdateShortcutStoryTaskParamsTaskType ¶
type UpdateShortcutStoryTaskParamsTaskType string
UpdateShortcutStoryTaskParamsTaskType defines model for UpdateShortcutStoryTaskParams.TaskType.
const (
UpdateShortcutStory UpdateShortcutStoryTaskParamsTaskType = "update_shortcut_story"
)
Defines values for UpdateShortcutStoryTaskParamsTaskType.
type UpdateShortcutTaskTaskParams ¶
type UpdateShortcutTaskTaskParams struct {
// The completion id and display name
Completion struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion"`
// The task description
Description *string `json:"description,omitempty"`
// The parent story
ParentStoryId string `json:"parent_story_id"`
// The task id
TaskId string `json:"task_id"`
TaskType *UpdateShortcutTaskTaskParamsTaskType `json:"task_type,omitempty"`
}
UpdateShortcutTaskTaskParams defines model for update_shortcut_task_task_params.
type UpdateShortcutTaskTaskParamsTaskType ¶
type UpdateShortcutTaskTaskParamsTaskType string
UpdateShortcutTaskTaskParamsTaskType defines model for UpdateShortcutTaskTaskParams.TaskType.
const (
UpdateShortcutTask UpdateShortcutTaskTaskParamsTaskType = "update_shortcut_task"
)
Defines values for UpdateShortcutTaskTaskParamsTaskType.
type UpdateSlackChannelTopicTaskParams ¶
type UpdateSlackChannelTopicTaskParams struct {
Channel struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"channel"`
TaskType *UpdateSlackChannelTopicTaskParamsTaskType `json:"task_type,omitempty"`
Topic string `json:"topic"`
}
UpdateSlackChannelTopicTaskParams defines model for update_slack_channel_topic_task_params.
type UpdateSlackChannelTopicTaskParamsTaskType ¶
type UpdateSlackChannelTopicTaskParamsTaskType string
UpdateSlackChannelTopicTaskParamsTaskType defines model for UpdateSlackChannelTopicTaskParams.TaskType.
const (
UpdateSlackChannelTopic UpdateSlackChannelTopicTaskParamsTaskType = "update_slack_channel_topic"
)
Defines values for UpdateSlackChannelTopicTaskParamsTaskType.
type UpdateStatusPage ¶
type UpdateStatusPage struct {
Data struct {
Attributes struct {
// Allow search engines to include your public status page in search results
AllowSearchEngineIndex *bool `json:"allow_search_engine_index"`
// Enable authentication
AuthenticationEnabled *bool `json:"authentication_enabled"`
// Authentication password
AuthenticationPassword *string `json:"authentication_password"`
// The description of the status page
Description *string `json:"description"`
// Enabled / Disable the status page
Enabled *bool `json:"enabled"`
// Message showing when at least one component is not operational
FailureMessage *string `json:"failure_message"`
// The color of the footer. Eg. "#1F2F41"
FooterColor *string `json:"footer_color"`
// Functionalities attached to the status page
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
// Google Analytics tracking ID
GaTrackingId *string `json:"ga_tracking_id"`
// The color of the header. Eg. "#0061F2"
HeaderColor *string `json:"header_color"`
// Make the status page accessible to the public
Public *bool `json:"public"`
// Services attached to the status page
ServiceIds *[]string `json:"service_ids,omitempty"`
// Show uptime
ShowUptime *bool `json:"show_uptime"`
// Show uptime over x days
ShowUptimeLastDays *UpdateStatusPageDataAttributesShowUptimeLastDays `json:"show_uptime_last_days"`
// Message showing when all components are operational
SuccessMessage *string `json:"success_message"`
// Status Page Timezone
TimeZone *UpdateStatusPageDataAttributesTimeZone `json:"time_zone"`
// The title of the status page
Title *string `json:"title,omitempty"`
// Website Privacy URL
WebsitePrivacyUrl *string `json:"website_privacy_url"`
// Website Support URL
WebsiteSupportUrl *string `json:"website_support_url"`
// Website URL
WebsiteUrl *string `json:"website_url"`
} `json:"attributes"`
Type UpdateStatusPageDataType `json:"type"`
} `json:"data"`
}
UpdateStatusPage defines model for update_status_page.
type UpdateStatusPageDataAttributesShowUptimeLastDays ¶
type UpdateStatusPageDataAttributesShowUptimeLastDays int
Show uptime over x days
const ( N180 UpdateStatusPageDataAttributesShowUptimeLastDays = 180 N30 UpdateStatusPageDataAttributesShowUptimeLastDays = 30 N360 UpdateStatusPageDataAttributesShowUptimeLastDays = 360 N60 UpdateStatusPageDataAttributesShowUptimeLastDays = 60 N90 UpdateStatusPageDataAttributesShowUptimeLastDays = 90 )
Defines values for UpdateStatusPageDataAttributesShowUptimeLastDays.
type UpdateStatusPageDataAttributesTimeZone ¶ added in v0.1.96
type UpdateStatusPageDataAttributesTimeZone string
Status Page Timezone
const ( UpdateStatusPageDataAttributesTimeZoneAbuDhabi UpdateStatusPageDataAttributesTimeZone = "Abu Dhabi" UpdateStatusPageDataAttributesTimeZoneAdelaide UpdateStatusPageDataAttributesTimeZone = "Adelaide" UpdateStatusPageDataAttributesTimeZoneAlaska UpdateStatusPageDataAttributesTimeZone = "Alaska" UpdateStatusPageDataAttributesTimeZoneAlmaty UpdateStatusPageDataAttributesTimeZone = "Almaty" UpdateStatusPageDataAttributesTimeZoneAmericanSamoa UpdateStatusPageDataAttributesTimeZone = "American Samoa" UpdateStatusPageDataAttributesTimeZoneAmsterdam UpdateStatusPageDataAttributesTimeZone = "Amsterdam" UpdateStatusPageDataAttributesTimeZoneArizona UpdateStatusPageDataAttributesTimeZone = "Arizona" UpdateStatusPageDataAttributesTimeZoneAstana UpdateStatusPageDataAttributesTimeZone = "Astana" UpdateStatusPageDataAttributesTimeZoneAthens UpdateStatusPageDataAttributesTimeZone = "Athens" UpdateStatusPageDataAttributesTimeZoneAtlanticTimeCanada UpdateStatusPageDataAttributesTimeZone = "Atlantic Time (Canada)" UpdateStatusPageDataAttributesTimeZoneAuckland UpdateStatusPageDataAttributesTimeZone = "Auckland" UpdateStatusPageDataAttributesTimeZoneAzores UpdateStatusPageDataAttributesTimeZone = "Azores" UpdateStatusPageDataAttributesTimeZoneBaghdad UpdateStatusPageDataAttributesTimeZone = "Baghdad" UpdateStatusPageDataAttributesTimeZoneBaku UpdateStatusPageDataAttributesTimeZone = "Baku" UpdateStatusPageDataAttributesTimeZoneBangkok UpdateStatusPageDataAttributesTimeZone = "Bangkok" UpdateStatusPageDataAttributesTimeZoneBeijing UpdateStatusPageDataAttributesTimeZone = "Beijing" UpdateStatusPageDataAttributesTimeZoneBelgrade UpdateStatusPageDataAttributesTimeZone = "Belgrade" UpdateStatusPageDataAttributesTimeZoneBerlin UpdateStatusPageDataAttributesTimeZone = "Berlin" UpdateStatusPageDataAttributesTimeZoneBern UpdateStatusPageDataAttributesTimeZone = "Bern" UpdateStatusPageDataAttributesTimeZoneBogota UpdateStatusPageDataAttributesTimeZone = "Bogota" UpdateStatusPageDataAttributesTimeZoneBrasilia UpdateStatusPageDataAttributesTimeZone = "Brasilia" UpdateStatusPageDataAttributesTimeZoneBratislava UpdateStatusPageDataAttributesTimeZone = "Bratislava" UpdateStatusPageDataAttributesTimeZoneBrisbane UpdateStatusPageDataAttributesTimeZone = "Brisbane" UpdateStatusPageDataAttributesTimeZoneBrussels UpdateStatusPageDataAttributesTimeZone = "Brussels" UpdateStatusPageDataAttributesTimeZoneBucharest UpdateStatusPageDataAttributesTimeZone = "Bucharest" UpdateStatusPageDataAttributesTimeZoneBudapest UpdateStatusPageDataAttributesTimeZone = "Budapest" UpdateStatusPageDataAttributesTimeZoneBuenosAires UpdateStatusPageDataAttributesTimeZone = "Buenos Aires" UpdateStatusPageDataAttributesTimeZoneCairo UpdateStatusPageDataAttributesTimeZone = "Cairo" UpdateStatusPageDataAttributesTimeZoneCanberra UpdateStatusPageDataAttributesTimeZone = "Canberra" UpdateStatusPageDataAttributesTimeZoneCapeVerdeIs UpdateStatusPageDataAttributesTimeZone = "Cape Verde Is." UpdateStatusPageDataAttributesTimeZoneCaracas UpdateStatusPageDataAttributesTimeZone = "Caracas" UpdateStatusPageDataAttributesTimeZoneCasablanca UpdateStatusPageDataAttributesTimeZone = "Casablanca" UpdateStatusPageDataAttributesTimeZoneCentralAmerica UpdateStatusPageDataAttributesTimeZone = "Central America" UpdateStatusPageDataAttributesTimeZoneCentralTimeUSCanada UpdateStatusPageDataAttributesTimeZone = "Central Time (US & Canada)" UpdateStatusPageDataAttributesTimeZoneChathamIs UpdateStatusPageDataAttributesTimeZone = "Chatham Is." UpdateStatusPageDataAttributesTimeZoneChennai UpdateStatusPageDataAttributesTimeZone = "Chennai" UpdateStatusPageDataAttributesTimeZoneChihuahua UpdateStatusPageDataAttributesTimeZone = "Chihuahua" UpdateStatusPageDataAttributesTimeZoneChongqing UpdateStatusPageDataAttributesTimeZone = "Chongqing" UpdateStatusPageDataAttributesTimeZoneCopenhagen UpdateStatusPageDataAttributesTimeZone = "Copenhagen" UpdateStatusPageDataAttributesTimeZoneDarwin UpdateStatusPageDataAttributesTimeZone = "Darwin" UpdateStatusPageDataAttributesTimeZoneDhaka UpdateStatusPageDataAttributesTimeZone = "Dhaka" UpdateStatusPageDataAttributesTimeZoneDublin UpdateStatusPageDataAttributesTimeZone = "Dublin" UpdateStatusPageDataAttributesTimeZoneEasternTimeUSCanada UpdateStatusPageDataAttributesTimeZone = "Eastern Time (US & Canada)" UpdateStatusPageDataAttributesTimeZoneEdinburgh UpdateStatusPageDataAttributesTimeZone = "Edinburgh" UpdateStatusPageDataAttributesTimeZoneEkaterinburg UpdateStatusPageDataAttributesTimeZone = "Ekaterinburg" UpdateStatusPageDataAttributesTimeZoneFiji UpdateStatusPageDataAttributesTimeZone = "Fiji" UpdateStatusPageDataAttributesTimeZoneGeorgetown UpdateStatusPageDataAttributesTimeZone = "Georgetown" UpdateStatusPageDataAttributesTimeZoneGreenland UpdateStatusPageDataAttributesTimeZone = "Greenland" UpdateStatusPageDataAttributesTimeZoneGuadalajara UpdateStatusPageDataAttributesTimeZone = "Guadalajara" UpdateStatusPageDataAttributesTimeZoneGuam UpdateStatusPageDataAttributesTimeZone = "Guam" UpdateStatusPageDataAttributesTimeZoneHanoi UpdateStatusPageDataAttributesTimeZone = "Hanoi" UpdateStatusPageDataAttributesTimeZoneHarare UpdateStatusPageDataAttributesTimeZone = "Harare" UpdateStatusPageDataAttributesTimeZoneHawaii UpdateStatusPageDataAttributesTimeZone = "Hawaii" UpdateStatusPageDataAttributesTimeZoneHelsinki UpdateStatusPageDataAttributesTimeZone = "Helsinki" UpdateStatusPageDataAttributesTimeZoneHobart UpdateStatusPageDataAttributesTimeZone = "Hobart" UpdateStatusPageDataAttributesTimeZoneHongKong UpdateStatusPageDataAttributesTimeZone = "Hong Kong" UpdateStatusPageDataAttributesTimeZoneIndianaEast UpdateStatusPageDataAttributesTimeZone = "Indiana (East)" UpdateStatusPageDataAttributesTimeZoneInternationalDateLineWest UpdateStatusPageDataAttributesTimeZone = "International Date Line West" UpdateStatusPageDataAttributesTimeZoneIrkutsk UpdateStatusPageDataAttributesTimeZone = "Irkutsk" UpdateStatusPageDataAttributesTimeZoneIslamabad UpdateStatusPageDataAttributesTimeZone = "Islamabad" UpdateStatusPageDataAttributesTimeZoneIstanbul UpdateStatusPageDataAttributesTimeZone = "Istanbul" UpdateStatusPageDataAttributesTimeZoneJakarta UpdateStatusPageDataAttributesTimeZone = "Jakarta" UpdateStatusPageDataAttributesTimeZoneJerusalem UpdateStatusPageDataAttributesTimeZone = "Jerusalem" UpdateStatusPageDataAttributesTimeZoneKabul UpdateStatusPageDataAttributesTimeZone = "Kabul" UpdateStatusPageDataAttributesTimeZoneKaliningrad UpdateStatusPageDataAttributesTimeZone = "Kaliningrad" UpdateStatusPageDataAttributesTimeZoneKamchatka UpdateStatusPageDataAttributesTimeZone = "Kamchatka" UpdateStatusPageDataAttributesTimeZoneKarachi UpdateStatusPageDataAttributesTimeZone = "Karachi" UpdateStatusPageDataAttributesTimeZoneKathmandu UpdateStatusPageDataAttributesTimeZone = "Kathmandu" UpdateStatusPageDataAttributesTimeZoneKolkata UpdateStatusPageDataAttributesTimeZone = "Kolkata" UpdateStatusPageDataAttributesTimeZoneKrasnoyarsk UpdateStatusPageDataAttributesTimeZone = "Krasnoyarsk" UpdateStatusPageDataAttributesTimeZoneKualaLumpur UpdateStatusPageDataAttributesTimeZone = "Kuala Lumpur" UpdateStatusPageDataAttributesTimeZoneKuwait UpdateStatusPageDataAttributesTimeZone = "Kuwait" UpdateStatusPageDataAttributesTimeZoneKyiv UpdateStatusPageDataAttributesTimeZone = "Kyiv" UpdateStatusPageDataAttributesTimeZoneLaPaz UpdateStatusPageDataAttributesTimeZone = "La Paz" UpdateStatusPageDataAttributesTimeZoneLima UpdateStatusPageDataAttributesTimeZone = "Lima" UpdateStatusPageDataAttributesTimeZoneLisbon UpdateStatusPageDataAttributesTimeZone = "Lisbon" UpdateStatusPageDataAttributesTimeZoneLjubljana UpdateStatusPageDataAttributesTimeZone = "Ljubljana" UpdateStatusPageDataAttributesTimeZoneLondon UpdateStatusPageDataAttributesTimeZone = "London" UpdateStatusPageDataAttributesTimeZoneMadrid UpdateStatusPageDataAttributesTimeZone = "Madrid" UpdateStatusPageDataAttributesTimeZoneMagadan UpdateStatusPageDataAttributesTimeZone = "Magadan" UpdateStatusPageDataAttributesTimeZoneMarshallIs UpdateStatusPageDataAttributesTimeZone = "Marshall Is." UpdateStatusPageDataAttributesTimeZoneMazatlan UpdateStatusPageDataAttributesTimeZone = "Mazatlan" UpdateStatusPageDataAttributesTimeZoneMelbourne UpdateStatusPageDataAttributesTimeZone = "Melbourne" UpdateStatusPageDataAttributesTimeZoneMexicoCity UpdateStatusPageDataAttributesTimeZone = "Mexico City" UpdateStatusPageDataAttributesTimeZoneMidAtlantic UpdateStatusPageDataAttributesTimeZone = "Mid-Atlantic" UpdateStatusPageDataAttributesTimeZoneMidwayIsland UpdateStatusPageDataAttributesTimeZone = "Midway Island" UpdateStatusPageDataAttributesTimeZoneMinsk UpdateStatusPageDataAttributesTimeZone = "Minsk" UpdateStatusPageDataAttributesTimeZoneMonrovia UpdateStatusPageDataAttributesTimeZone = "Monrovia" UpdateStatusPageDataAttributesTimeZoneMonterrey UpdateStatusPageDataAttributesTimeZone = "Monterrey" UpdateStatusPageDataAttributesTimeZoneMontevideo UpdateStatusPageDataAttributesTimeZone = "Montevideo" UpdateStatusPageDataAttributesTimeZoneMoscow UpdateStatusPageDataAttributesTimeZone = "Moscow" UpdateStatusPageDataAttributesTimeZoneMountainTimeUSCanada UpdateStatusPageDataAttributesTimeZone = "Mountain Time (US & Canada)" UpdateStatusPageDataAttributesTimeZoneMumbai UpdateStatusPageDataAttributesTimeZone = "Mumbai" UpdateStatusPageDataAttributesTimeZoneMuscat UpdateStatusPageDataAttributesTimeZone = "Muscat" UpdateStatusPageDataAttributesTimeZoneNairobi UpdateStatusPageDataAttributesTimeZone = "Nairobi" UpdateStatusPageDataAttributesTimeZoneNewCaledonia UpdateStatusPageDataAttributesTimeZone = "New Caledonia" UpdateStatusPageDataAttributesTimeZoneNewDelhi UpdateStatusPageDataAttributesTimeZone = "New Delhi" UpdateStatusPageDataAttributesTimeZoneNewfoundland UpdateStatusPageDataAttributesTimeZone = "Newfoundland" UpdateStatusPageDataAttributesTimeZoneNovosibirsk UpdateStatusPageDataAttributesTimeZone = "Novosibirsk" UpdateStatusPageDataAttributesTimeZoneNukualofa UpdateStatusPageDataAttributesTimeZone = "Nuku'alofa" UpdateStatusPageDataAttributesTimeZoneOsaka UpdateStatusPageDataAttributesTimeZone = "Osaka" UpdateStatusPageDataAttributesTimeZonePacificTimeUSCanada UpdateStatusPageDataAttributesTimeZone = "Pacific Time (US & Canada)" UpdateStatusPageDataAttributesTimeZoneParis UpdateStatusPageDataAttributesTimeZone = "Paris" UpdateStatusPageDataAttributesTimeZonePerth UpdateStatusPageDataAttributesTimeZone = "Perth" UpdateStatusPageDataAttributesTimeZonePortMoresby UpdateStatusPageDataAttributesTimeZone = "Port Moresby" UpdateStatusPageDataAttributesTimeZonePrague UpdateStatusPageDataAttributesTimeZone = "Prague" UpdateStatusPageDataAttributesTimeZonePretoria UpdateStatusPageDataAttributesTimeZone = "Pretoria" UpdateStatusPageDataAttributesTimeZonePuertoRico UpdateStatusPageDataAttributesTimeZone = "Puerto Rico" UpdateStatusPageDataAttributesTimeZoneQuito UpdateStatusPageDataAttributesTimeZone = "Quito" UpdateStatusPageDataAttributesTimeZoneRangoon UpdateStatusPageDataAttributesTimeZone = "Rangoon" UpdateStatusPageDataAttributesTimeZoneRiga UpdateStatusPageDataAttributesTimeZone = "Riga" UpdateStatusPageDataAttributesTimeZoneRiyadh UpdateStatusPageDataAttributesTimeZone = "Riyadh" UpdateStatusPageDataAttributesTimeZoneRome UpdateStatusPageDataAttributesTimeZone = "Rome" UpdateStatusPageDataAttributesTimeZoneSamara UpdateStatusPageDataAttributesTimeZone = "Samara" UpdateStatusPageDataAttributesTimeZoneSamoa UpdateStatusPageDataAttributesTimeZone = "Samoa" UpdateStatusPageDataAttributesTimeZoneSantiago UpdateStatusPageDataAttributesTimeZone = "Santiago" UpdateStatusPageDataAttributesTimeZoneSapporo UpdateStatusPageDataAttributesTimeZone = "Sapporo" UpdateStatusPageDataAttributesTimeZoneSarajevo UpdateStatusPageDataAttributesTimeZone = "Sarajevo" UpdateStatusPageDataAttributesTimeZoneSaskatchewan UpdateStatusPageDataAttributesTimeZone = "Saskatchewan" UpdateStatusPageDataAttributesTimeZoneSeoul UpdateStatusPageDataAttributesTimeZone = "Seoul" UpdateStatusPageDataAttributesTimeZoneSingapore UpdateStatusPageDataAttributesTimeZone = "Singapore" UpdateStatusPageDataAttributesTimeZoneSkopje UpdateStatusPageDataAttributesTimeZone = "Skopje" UpdateStatusPageDataAttributesTimeZoneSofia UpdateStatusPageDataAttributesTimeZone = "Sofia" UpdateStatusPageDataAttributesTimeZoneSolomonIs UpdateStatusPageDataAttributesTimeZone = "Solomon Is." UpdateStatusPageDataAttributesTimeZoneSrednekolymsk UpdateStatusPageDataAttributesTimeZone = "Srednekolymsk" UpdateStatusPageDataAttributesTimeZoneSriJayawardenepura UpdateStatusPageDataAttributesTimeZone = "Sri Jayawardenepura" UpdateStatusPageDataAttributesTimeZoneStPetersburg UpdateStatusPageDataAttributesTimeZone = "St. Petersburg" UpdateStatusPageDataAttributesTimeZoneStockholm UpdateStatusPageDataAttributesTimeZone = "Stockholm" UpdateStatusPageDataAttributesTimeZoneSydney UpdateStatusPageDataAttributesTimeZone = "Sydney" UpdateStatusPageDataAttributesTimeZoneTaipei UpdateStatusPageDataAttributesTimeZone = "Taipei" UpdateStatusPageDataAttributesTimeZoneTallinn UpdateStatusPageDataAttributesTimeZone = "Tallinn" UpdateStatusPageDataAttributesTimeZoneTashkent UpdateStatusPageDataAttributesTimeZone = "Tashkent" UpdateStatusPageDataAttributesTimeZoneTbilisi UpdateStatusPageDataAttributesTimeZone = "Tbilisi" UpdateStatusPageDataAttributesTimeZoneTehran UpdateStatusPageDataAttributesTimeZone = "Tehran" UpdateStatusPageDataAttributesTimeZoneTijuana UpdateStatusPageDataAttributesTimeZone = "Tijuana" UpdateStatusPageDataAttributesTimeZoneTokelauIs UpdateStatusPageDataAttributesTimeZone = "Tokelau Is." UpdateStatusPageDataAttributesTimeZoneTokyo UpdateStatusPageDataAttributesTimeZone = "Tokyo" UpdateStatusPageDataAttributesTimeZoneUTC UpdateStatusPageDataAttributesTimeZone = "UTC" UpdateStatusPageDataAttributesTimeZoneUlaanbaatar UpdateStatusPageDataAttributesTimeZone = "Ulaanbaatar" UpdateStatusPageDataAttributesTimeZoneUrumqi UpdateStatusPageDataAttributesTimeZone = "Urumqi" UpdateStatusPageDataAttributesTimeZoneVienna UpdateStatusPageDataAttributesTimeZone = "Vienna" UpdateStatusPageDataAttributesTimeZoneVilnius UpdateStatusPageDataAttributesTimeZone = "Vilnius" UpdateStatusPageDataAttributesTimeZoneVladivostok UpdateStatusPageDataAttributesTimeZone = "Vladivostok" UpdateStatusPageDataAttributesTimeZoneVolgograd UpdateStatusPageDataAttributesTimeZone = "Volgograd" UpdateStatusPageDataAttributesTimeZoneWarsaw UpdateStatusPageDataAttributesTimeZone = "Warsaw" UpdateStatusPageDataAttributesTimeZoneWellington UpdateStatusPageDataAttributesTimeZone = "Wellington" UpdateStatusPageDataAttributesTimeZoneWestCentralAfrica UpdateStatusPageDataAttributesTimeZone = "West Central Africa" UpdateStatusPageDataAttributesTimeZoneYakutsk UpdateStatusPageDataAttributesTimeZone = "Yakutsk" UpdateStatusPageDataAttributesTimeZoneYerevan UpdateStatusPageDataAttributesTimeZone = "Yerevan" UpdateStatusPageDataAttributesTimeZoneZagreb UpdateStatusPageDataAttributesTimeZone = "Zagreb" UpdateStatusPageDataAttributesTimeZoneZurich UpdateStatusPageDataAttributesTimeZone = "Zurich" )
Defines values for UpdateStatusPageDataAttributesTimeZone.
type UpdateStatusPageDataType ¶
type UpdateStatusPageDataType string
UpdateStatusPageDataType defines model for UpdateStatusPage.Data.Type.
const (
UpdateStatusPageDataTypeStatusPages UpdateStatusPageDataType = "status_pages"
)
Defines values for UpdateStatusPageDataType.
type UpdateStatusPageResponse ¶
func ParseUpdateStatusPageResponse ¶
func ParseUpdateStatusPageResponse(rsp *http.Response) (*UpdateStatusPageResponse, error)
ParseUpdateStatusPageResponse parses an HTTP response from a UpdateStatusPageWithResponse call
func (UpdateStatusPageResponse) Status ¶
func (r UpdateStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageResponse) StatusCode ¶
func (r UpdateStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusPageTemplateResponse ¶ added in v0.1.18
func ParseUpdateStatusPageTemplateResponse ¶ added in v0.1.18
func ParseUpdateStatusPageTemplateResponse(rsp *http.Response) (*UpdateStatusPageTemplateResponse, error)
ParseUpdateStatusPageTemplateResponse parses an HTTP response from a UpdateStatusPageTemplateWithResponse call
func (UpdateStatusPageTemplateResponse) Status ¶ added in v0.1.18
func (r UpdateStatusPageTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageTemplateResponse) StatusCode ¶ added in v0.1.18
func (r UpdateStatusPageTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusTaskParams ¶
type UpdateStatusTaskParams struct {
// In format '1 hour', '1 day', etc
InactivityTimeout *string `json:"inactivity_timeout,omitempty"`
Status UpdateStatusTaskParamsStatus `json:"status"`
TaskType *UpdateStatusTaskParamsTaskType `json:"task_type,omitempty"`
}
UpdateStatusTaskParams defines model for update_status_task_params.
type UpdateStatusTaskParamsStatus ¶
type UpdateStatusTaskParamsStatus string
UpdateStatusTaskParamsStatus defines model for UpdateStatusTaskParams.Status.
const ( UpdateStatusTaskParamsStatusCancelled UpdateStatusTaskParamsStatus = "cancelled" UpdateStatusTaskParamsStatusInTriage UpdateStatusTaskParamsStatus = "in_triage" UpdateStatusTaskParamsStatusMitigated UpdateStatusTaskParamsStatus = "mitigated" UpdateStatusTaskParamsStatusResolved UpdateStatusTaskParamsStatus = "resolved" UpdateStatusTaskParamsStatusStarted UpdateStatusTaskParamsStatus = "started" )
Defines values for UpdateStatusTaskParamsStatus.
type UpdateStatusTaskParamsTaskType ¶
type UpdateStatusTaskParamsTaskType string
UpdateStatusTaskParamsTaskType defines model for UpdateStatusTaskParams.TaskType.
const (
UpdateStatus UpdateStatusTaskParamsTaskType = "update_status"
)
Defines values for UpdateStatusTaskParamsTaskType.
type UpdateTeam ¶
type UpdateTeam struct {
Data struct {
Attributes struct {
// The hex color of the team
Color *string `json:"color"`
// The description of the team
Description *string `json:"description"`
// The name of the team
Name *string `json:"name,omitempty"`
// Emails to attach to the team
NotifyEmails *[]string `json:"notify_emails"`
// The Opsgenie group id associated to this team
OpsgenieId *string `json:"opsgenie_id"`
// The PagerDuty group id associated to this team
PagerdutyId *string `json:"pagerduty_id"`
// The PagerTree group id associated to this team
PagertreeId *string `json:"pagertree_id"`
// Position of the team
Position *int `json:"position"`
// Slack Aliases associated with this service
SlackAliases *[]struct {
// Slack alias ID
Id string `json:"id"`
// Slack alias name
Name string `json:"name"`
} `json:"slack_aliases"`
// Slack Channels associated with this service
SlackChannels *[]struct {
// Slack channel ID
Id string `json:"id"`
// Slack channel name
Name string `json:"name"`
} `json:"slack_channels"`
// The VictorOps group id associated to this team
VictorOpsId *string `json:"victor_ops_id"`
} `json:"attributes"`
Type UpdateTeamDataType `json:"type"`
} `json:"data"`
}
UpdateTeam defines model for update_team.
type UpdateTeamDataType ¶
type UpdateTeamDataType string
UpdateTeamDataType defines model for UpdateTeam.Data.Type.
const (
Groups UpdateTeamDataType = "groups"
)
Defines values for UpdateTeamDataType.
type UpdateTeamResponse ¶
func ParseUpdateTeamResponse ¶
func ParseUpdateTeamResponse(rsp *http.Response) (*UpdateTeamResponse, error)
ParseUpdateTeamResponse parses an HTTP response from a UpdateTeamWithResponse call
func (UpdateTeamResponse) Status ¶
func (r UpdateTeamResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateTeamResponse) StatusCode ¶
func (r UpdateTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateTrelloCardTaskParams ¶
type UpdateTrelloCardTaskParams struct {
// The archivation id and display name
Archivation struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"archivation"`
// The board id and display name
Board *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"board,omitempty"`
// The card id
CardId string `json:"card_id"`
// The card description
Description *string `json:"description,omitempty"`
// The due date
DueDate *string `json:"due_date,omitempty"`
Labels *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"labels,omitempty"`
// The list id and display name
List *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"list,omitempty"`
TaskType *UpdateTrelloCardTaskParamsTaskType `json:"task_type,omitempty"`
// The card title
Title *string `json:"title,omitempty"`
}
UpdateTrelloCardTaskParams defines model for update_trello_card_task_params.
type UpdateTrelloCardTaskParamsTaskType ¶
type UpdateTrelloCardTaskParamsTaskType string
UpdateTrelloCardTaskParamsTaskType defines model for UpdateTrelloCardTaskParams.TaskType.
const (
UpdateTrelloCard UpdateTrelloCardTaskParamsTaskType = "update_trello_card"
)
Defines values for UpdateTrelloCardTaskParamsTaskType.
type UpdateVictorOpsIncidentTaskParams ¶ added in v0.1.48
type UpdateVictorOpsIncidentTaskParams struct {
// Resolution message
ResolutionMessage *string `json:"resolution_message,omitempty"`
Status UpdateVictorOpsIncidentTaskParamsStatus `json:"status"`
TaskType *UpdateVictorOpsIncidentTaskParamsTaskType `json:"task_type,omitempty"`
// The victor_ops incident ID, this can also be a Rootly incident variable ex. {{ incident.victor_ops_incident_id }}
VictorOpsIncidentId string `json:"victor_ops_incident_id"`
}
UpdateVictorOpsIncidentTaskParams defines model for update_victor_ops_incident_task_params.
type UpdateVictorOpsIncidentTaskParamsStatus ¶ added in v0.1.48
type UpdateVictorOpsIncidentTaskParamsStatus string
UpdateVictorOpsIncidentTaskParamsStatus defines model for UpdateVictorOpsIncidentTaskParams.Status.
const ( Ack UpdateVictorOpsIncidentTaskParamsStatus = "ack" Auto UpdateVictorOpsIncidentTaskParamsStatus = "auto" Resolve UpdateVictorOpsIncidentTaskParamsStatus = "resolve" )
Defines values for UpdateVictorOpsIncidentTaskParamsStatus.
type UpdateVictorOpsIncidentTaskParamsTaskType ¶ added in v0.1.48
type UpdateVictorOpsIncidentTaskParamsTaskType string
UpdateVictorOpsIncidentTaskParamsTaskType defines model for UpdateVictorOpsIncidentTaskParams.TaskType.
const (
UpdateVictorOpsIncident UpdateVictorOpsIncidentTaskParamsTaskType = "update_victor_ops_incident"
)
Defines values for UpdateVictorOpsIncidentTaskParamsTaskType.
type UpdateWebhooksEndpoint ¶ added in v0.1.54
type UpdateWebhooksEndpoint struct {
Data struct {
Attributes struct {
Enabled *bool `json:"enabled,omitempty"`
EventTypes *[]UpdateWebhooksEndpointDataAttributesEventTypes `json:"event_types,omitempty"`
// The name of the endpoint
Name *string `json:"name,omitempty"`
} `json:"attributes"`
Type UpdateWebhooksEndpointDataType `json:"type"`
} `json:"data"`
}
UpdateWebhooksEndpoint defines model for update_webhooks_endpoint.
type UpdateWebhooksEndpointDataAttributesEventTypes ¶ added in v0.1.54
type UpdateWebhooksEndpointDataAttributesEventTypes string
UpdateWebhooksEndpointDataAttributesEventTypes defines model for UpdateWebhooksEndpoint.Data.Attributes.EventTypes.
const ( UpdateWebhooksEndpointDataAttributesEventTypesAlertCreated UpdateWebhooksEndpointDataAttributesEventTypes = "alert.created" UpdateWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunCanceled UpdateWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.canceled" UpdateWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunCompleted UpdateWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.completed" UpdateWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunFailed UpdateWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.failed" UpdateWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunQueued UpdateWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.queued" UpdateWebhooksEndpointDataAttributesEventTypesGeniusWorkflowRunStarted UpdateWebhooksEndpointDataAttributesEventTypes = "genius_workflow_run.started" UpdateWebhooksEndpointDataAttributesEventTypesIncidentCancelled UpdateWebhooksEndpointDataAttributesEventTypes = "incident.cancelled" UpdateWebhooksEndpointDataAttributesEventTypesIncidentCreated UpdateWebhooksEndpointDataAttributesEventTypes = "incident.created" UpdateWebhooksEndpointDataAttributesEventTypesIncidentDeleted UpdateWebhooksEndpointDataAttributesEventTypes = "incident.deleted" UpdateWebhooksEndpointDataAttributesEventTypesIncidentInTriage UpdateWebhooksEndpointDataAttributesEventTypes = "incident.in_triage" UpdateWebhooksEndpointDataAttributesEventTypesIncidentMitigated UpdateWebhooksEndpointDataAttributesEventTypes = "incident.mitigated" UpdateWebhooksEndpointDataAttributesEventTypesIncidentPostMortemCreated UpdateWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.created" UpdateWebhooksEndpointDataAttributesEventTypesIncidentPostMortemDeleted UpdateWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.deleted" UpdateWebhooksEndpointDataAttributesEventTypesIncidentPostMortemPublished UpdateWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.published" UpdateWebhooksEndpointDataAttributesEventTypesIncidentPostMortemUpdated UpdateWebhooksEndpointDataAttributesEventTypes = "incident_post_mortem.updated" UpdateWebhooksEndpointDataAttributesEventTypesIncidentResolved UpdateWebhooksEndpointDataAttributesEventTypes = "incident.resolved" UpdateWebhooksEndpointDataAttributesEventTypesIncidentScheduledCompleted UpdateWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.completed" UpdateWebhooksEndpointDataAttributesEventTypesIncidentScheduledCreated UpdateWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.created" UpdateWebhooksEndpointDataAttributesEventTypesIncidentScheduledDeleted UpdateWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.deleted" UpdateWebhooksEndpointDataAttributesEventTypesIncidentScheduledInProgress UpdateWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.in_progress" UpdateWebhooksEndpointDataAttributesEventTypesIncidentScheduledUpdated UpdateWebhooksEndpointDataAttributesEventTypes = "incident.scheduled.updated" UpdateWebhooksEndpointDataAttributesEventTypesIncidentUpdated UpdateWebhooksEndpointDataAttributesEventTypes = "incident.updated" UpdateWebhooksEndpointDataAttributesEventTypesPulseCreated UpdateWebhooksEndpointDataAttributesEventTypes = "pulse.created" )
Defines values for UpdateWebhooksEndpointDataAttributesEventTypes.
type UpdateWebhooksEndpointDataType ¶ added in v0.1.54
type UpdateWebhooksEndpointDataType string
UpdateWebhooksEndpointDataType defines model for UpdateWebhooksEndpoint.Data.Type.
const (
UpdateWebhooksEndpointDataTypeWebhooksEndpoints UpdateWebhooksEndpointDataType = "webhooks_endpoints"
)
Defines values for UpdateWebhooksEndpointDataType.
type UpdateWebhooksEndpointResponse ¶ added in v0.1.54
func ParseUpdateWebhooksEndpointResponse ¶ added in v0.1.54
func ParseUpdateWebhooksEndpointResponse(rsp *http.Response) (*UpdateWebhooksEndpointResponse, error)
ParseUpdateWebhooksEndpointResponse parses an HTTP response from a UpdateWebhooksEndpointWithResponse call
func (UpdateWebhooksEndpointResponse) Status ¶ added in v0.1.54
func (r UpdateWebhooksEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWebhooksEndpointResponse) StatusCode ¶ added in v0.1.54
func (r UpdateWebhooksEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflow ¶
type UpdateWorkflow struct {
Data struct {
Attributes struct {
// Workflow command
Command *string `json:"command"`
// This will notify you back when the workflow is starting
CommandFeedbackEnabled *bool `json:"command_feedback_enabled"`
// The description of the workflow
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
GroupIds *[]string `json:"group_ids,omitempty"`
IncidentRoleIds *[]string `json:"incident_role_ids,omitempty"`
IncidentTypeIds *[]string `json:"incident_type_ids,omitempty"`
// The title of the workflow
Name *string `json:"name,omitempty"`
// The order which the workflow should run with other workflows.
Position *float32 `json:"position,omitempty"`
// Repeat workflow every duration
RepeatEveryDuration *string `json:"repeat_every_duration"`
ServiceIds *[]string `json:"service_ids,omitempty"`
SeverityIds *[]string `json:"severity_ids,omitempty"`
// The slug of the workflow
Slug *string `json:"slug,omitempty"`
TriggerParams *interface{} `json:"trigger_params,omitempty"`
// Wait this duration before executing
Wait *string `json:"wait"`
// The group this workflow belongs to.
WorkflowGroupId *string `json:"workflow_group_id,omitempty"`
} `json:"attributes"`
Type UpdateWorkflowDataType `json:"type"`
} `json:"data"`
}
UpdateWorkflow defines model for update_workflow.
type UpdateWorkflowCustomFieldSelection ¶
type UpdateWorkflowCustomFieldSelection struct {
Data struct {
Attributes struct {
// The trigger condition
IncidentCondition *UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition `json:"incident_condition,omitempty"`
SelectedOptionIds *[]float32 `json:"selected_option_ids,omitempty"`
Values *[]string `json:"values,omitempty"`
} `json:"attributes"`
Type UpdateWorkflowCustomFieldSelectionDataType `json:"type"`
} `json:"data"`
}
UpdateWorkflowCustomFieldSelection defines model for update_workflow_custom_field_selection.
type UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition ¶
type UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition string
The trigger condition
const ( UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionANY UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "ANY" UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionCONTAINS UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "CONTAINS" UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionCONTAINSALL UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "CONTAINS_ALL" UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionCONTAINSNONE UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "CONTAINS_NONE" UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionIS UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "IS" UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionNONE UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "NONE" UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionSET UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "SET" UpdateWorkflowCustomFieldSelectionDataAttributesIncidentConditionUNSET UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition = "UNSET" )
Defines values for UpdateWorkflowCustomFieldSelectionDataAttributesIncidentCondition.
type UpdateWorkflowCustomFieldSelectionDataType ¶
type UpdateWorkflowCustomFieldSelectionDataType string
UpdateWorkflowCustomFieldSelectionDataType defines model for UpdateWorkflowCustomFieldSelection.Data.Type.
const (
UpdateWorkflowCustomFieldSelectionDataTypeWorkflowCustomFieldSelections UpdateWorkflowCustomFieldSelectionDataType = "workflow_custom_field_selections"
)
Defines values for UpdateWorkflowCustomFieldSelectionDataType.
type UpdateWorkflowCustomFieldSelectionResponse ¶
func ParseUpdateWorkflowCustomFieldSelectionResponse ¶
func ParseUpdateWorkflowCustomFieldSelectionResponse(rsp *http.Response) (*UpdateWorkflowCustomFieldSelectionResponse, error)
ParseUpdateWorkflowCustomFieldSelectionResponse parses an HTTP response from a UpdateWorkflowCustomFieldSelectionWithResponse call
func (UpdateWorkflowCustomFieldSelectionResponse) Status ¶
func (r UpdateWorkflowCustomFieldSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkflowCustomFieldSelectionResponse) StatusCode ¶
func (r UpdateWorkflowCustomFieldSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflowDataType ¶
type UpdateWorkflowDataType string
UpdateWorkflowDataType defines model for UpdateWorkflow.Data.Type.
const (
UpdateWorkflowDataTypeWorkflows UpdateWorkflowDataType = "workflows"
)
Defines values for UpdateWorkflowDataType.
type UpdateWorkflowFormFieldCondition ¶ added in v0.1.48
type UpdateWorkflowFormFieldCondition struct {
Data struct {
Attributes struct {
// The trigger condition
IncidentCondition *UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition `json:"incident_condition,omitempty"`
SelectedOptionIds *[]string `json:"selected_option_ids,omitempty"`
SelectedUserIds *[]float32 `json:"selected_user_ids,omitempty"`
Values *[]string `json:"values,omitempty"`
} `json:"attributes"`
Type UpdateWorkflowFormFieldConditionDataType `json:"type"`
} `json:"data"`
}
UpdateWorkflowFormFieldCondition defines model for update_workflow_form_field_condition.
type UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition ¶ added in v0.1.48
type UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition string
The trigger condition
const ( UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionANY UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "ANY" UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionCONTAINS UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "CONTAINS" UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionCONTAINSALL UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "CONTAINS_ALL" UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionCONTAINSNONE UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "CONTAINS_NONE" UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionIS UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "IS" UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionNONE UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "NONE" UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionSET UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "SET" UpdateWorkflowFormFieldConditionDataAttributesIncidentConditionUNSET UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition = "UNSET" )
Defines values for UpdateWorkflowFormFieldConditionDataAttributesIncidentCondition.
type UpdateWorkflowFormFieldConditionDataType ¶ added in v0.1.48
type UpdateWorkflowFormFieldConditionDataType string
UpdateWorkflowFormFieldConditionDataType defines model for UpdateWorkflowFormFieldCondition.Data.Type.
const (
UpdateWorkflowFormFieldConditionDataTypeWorkflowFormFieldConditions UpdateWorkflowFormFieldConditionDataType = "workflow_form_field_conditions"
)
Defines values for UpdateWorkflowFormFieldConditionDataType.
type UpdateWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseUpdateWorkflowFormFieldConditionResponse ¶ added in v0.1.48
func ParseUpdateWorkflowFormFieldConditionResponse(rsp *http.Response) (*UpdateWorkflowFormFieldConditionResponse, error)
ParseUpdateWorkflowFormFieldConditionResponse parses an HTTP response from a UpdateWorkflowFormFieldConditionWithResponse call
func (UpdateWorkflowFormFieldConditionResponse) Status ¶ added in v0.1.48
func (r UpdateWorkflowFormFieldConditionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkflowFormFieldConditionResponse) StatusCode ¶ added in v0.1.48
func (r UpdateWorkflowFormFieldConditionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflowGroup ¶ added in v0.1.12
type UpdateWorkflowGroup struct {
Data struct {
Attributes struct {
// Whether the group is expanded or collapsed.
Expanded *bool `json:"expanded,omitempty"`
// The kind of the workflow group
Kind *UpdateWorkflowGroupDataAttributesKind `json:"kind,omitempty"`
// The name of the workflow group.
Name *string `json:"name,omitempty"`
// The position of the workflow group
Position *float32 `json:"position,omitempty"`
} `json:"attributes"`
Type UpdateWorkflowGroupDataType `json:"type"`
} `json:"data"`
}
UpdateWorkflowGroup defines model for update_workflow_group.
type UpdateWorkflowGroupDataAttributesKind ¶ added in v0.1.12
type UpdateWorkflowGroupDataAttributesKind string
The kind of the workflow group
const ( UpdateWorkflowGroupDataAttributesKindActionItem UpdateWorkflowGroupDataAttributesKind = "action_item" UpdateWorkflowGroupDataAttributesKindAlert UpdateWorkflowGroupDataAttributesKind = "alert" UpdateWorkflowGroupDataAttributesKindIncident UpdateWorkflowGroupDataAttributesKind = "incident" UpdateWorkflowGroupDataAttributesKindPostMortem UpdateWorkflowGroupDataAttributesKind = "post_mortem" UpdateWorkflowGroupDataAttributesKindPulse UpdateWorkflowGroupDataAttributesKind = "pulse" UpdateWorkflowGroupDataAttributesKindSimple UpdateWorkflowGroupDataAttributesKind = "simple" )
Defines values for UpdateWorkflowGroupDataAttributesKind.
type UpdateWorkflowGroupDataType ¶ added in v0.1.12
type UpdateWorkflowGroupDataType string
UpdateWorkflowGroupDataType defines model for UpdateWorkflowGroup.Data.Type.
const (
UpdateWorkflowGroupDataTypeWorkflowGroups UpdateWorkflowGroupDataType = "workflow_groups"
)
Defines values for UpdateWorkflowGroupDataType.
type UpdateWorkflowGroupResponse ¶ added in v0.1.12
func ParseUpdateWorkflowGroupResponse ¶ added in v0.1.12
func ParseUpdateWorkflowGroupResponse(rsp *http.Response) (*UpdateWorkflowGroupResponse, error)
ParseUpdateWorkflowGroupResponse parses an HTTP response from a UpdateWorkflowGroupWithResponse call
func (UpdateWorkflowGroupResponse) Status ¶ added in v0.1.12
func (r UpdateWorkflowGroupResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkflowGroupResponse) StatusCode ¶ added in v0.1.12
func (r UpdateWorkflowGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflowResponse ¶
func ParseUpdateWorkflowResponse ¶
func ParseUpdateWorkflowResponse(rsp *http.Response) (*UpdateWorkflowResponse, error)
ParseUpdateWorkflowResponse parses an HTTP response from a UpdateWorkflowWithResponse call
func (UpdateWorkflowResponse) Status ¶
func (r UpdateWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkflowResponse) StatusCode ¶
func (r UpdateWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflowTask ¶
type UpdateWorkflowTask struct {
Data struct {
Attributes struct {
// Enable/disable workflow task
Enabled *bool `json:"enabled,omitempty"`
// Name of the workflow task
Name *string `json:"name,omitempty"`
// The position of the workflow task
Position *float32 `json:"position,omitempty"`
// Skip workflow task if any failures
SkipOnFailure *bool `json:"skip_on_failure,omitempty"`
TaskParams *interface{} `json:"task_params,omitempty"`
} `json:"attributes"`
Type UpdateWorkflowTaskDataType `json:"type"`
} `json:"data"`
}
UpdateWorkflowTask defines model for update_workflow_task.
type UpdateWorkflowTaskDataType ¶
type UpdateWorkflowTaskDataType string
UpdateWorkflowTaskDataType defines model for UpdateWorkflowTask.Data.Type.
const (
UpdateWorkflowTaskDataTypeWorkflowTasks UpdateWorkflowTaskDataType = "workflow_tasks"
)
Defines values for UpdateWorkflowTaskDataType.
type UpdateWorkflowTaskResponse ¶
func ParseUpdateWorkflowTaskResponse ¶
func ParseUpdateWorkflowTaskResponse(rsp *http.Response) (*UpdateWorkflowTaskResponse, error)
ParseUpdateWorkflowTaskResponse parses an HTTP response from a UpdateWorkflowTaskWithResponse call
func (UpdateWorkflowTaskResponse) Status ¶
func (r UpdateWorkflowTaskResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkflowTaskResponse) StatusCode ¶
func (r UpdateWorkflowTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateZendeskTicketTaskParams ¶
type UpdateZendeskTicketTaskParams struct {
// The completion id and display name
Completion *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"completion,omitempty"`
// Custom field mappings. Can contain liquid markup and need to be valid JSON
CustomFieldsMapping *string `json:"custom_fields_mapping"`
// The priority id and display name
Priority *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"priority,omitempty"`
// The ticket subject
Subject *string `json:"subject,omitempty"`
// The ticket tags
Tags *string `json:"tags,omitempty"`
TaskType *UpdateZendeskTicketTaskParamsTaskType `json:"task_type,omitempty"`
// The ticket id
TicketId string `json:"ticket_id"`
// Additional Zendesk ticket attributes. Will be merged into whatever was specified in this tasks current parameters. Can contain liquid markup and need to be valid JSON
TicketPayload *string `json:"ticket_payload"`
}
UpdateZendeskTicketTaskParams defines model for update_zendesk_ticket_task_params.
type UpdateZendeskTicketTaskParamsTaskType ¶
type UpdateZendeskTicketTaskParamsTaskType string
UpdateZendeskTicketTaskParamsTaskType defines model for UpdateZendeskTicketTaskParams.TaskType.
const (
UpdateZendeskTicket UpdateZendeskTicketTaskParamsTaskType = "update_zendesk_ticket"
)
Defines values for UpdateZendeskTicketTaskParamsTaskType.
type UptimeChartResponse ¶
type UptimeChartResponse = map[string]interface{}
UptimeChartResponse defines model for uptime_chart_response.
type User ¶ added in v0.1.12
type User struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The email of the user
Email string `json:"email"`
// The full name of the user
FullName *string `json:"full_name"`
// The full name with team of the user
FullNameWithTeam *string `json:"full_name_with_team"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
User defines model for user.
type UserList ¶ added in v0.1.60
type UserList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The email of the user
Email string `json:"email"`
// The full name of the user
FullName *string `json:"full_name"`
// The full name with team of the user
FullNameWithTeam *string `json:"full_name_with_team"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the user
Id string `json:"id"`
Type UserListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
UserList defines model for user_list.
type UserListDataType ¶ added in v0.1.60
type UserListDataType string
UserListDataType defines model for UserList.Data.Type.
const (
UserListDataTypeUsers UserListDataType = "users"
)
Defines values for UserListDataType.
type UserResponse ¶ added in v0.1.12
type UserResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// The email of the user
Email string `json:"email"`
// The full name of the user
FullName *string `json:"full_name"`
// The full name with team of the user
FullNameWithTeam *string `json:"full_name_with_team"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the user
Id string `json:"id"`
Type UserResponseDataType `json:"type"`
} `json:"data"`
}
UserResponse defines model for user_response.
type UserResponseDataType ¶ added in v0.1.12
type UserResponseDataType string
UserResponseDataType defines model for UserResponse.Data.Type.
const (
Users UserResponseDataType = "users"
)
Defines values for UserResponseDataType.
type WebhooksDelivery ¶ added in v0.1.54
type WebhooksDelivery struct {
// Date of creation
CreatedAt string `json:"created_at"`
DeliveredAt *string `json:"delivered_at"`
EndpointId string `json:"endpoint_id"`
Payload string `json:"payload"`
// Date of last update
UpdatedAt string `json:"updated_at"`
}
WebhooksDelivery defines model for webhooks_delivery.
type WebhooksDeliveryList ¶ added in v0.1.54
type WebhooksDeliveryList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
DeliveredAt *string `json:"delivered_at"`
EndpointId string `json:"endpoint_id"`
Payload string `json:"payload"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the webhooks_delivery
Id string `json:"id"`
Type WebhooksDeliveryListDataType `json:"type"`
} `json:"data"`
Links *struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links,omitempty"`
}
WebhooksDeliveryList defines model for webhooks_delivery_list.
type WebhooksDeliveryListDataType ¶ added in v0.1.54
type WebhooksDeliveryListDataType string
WebhooksDeliveryListDataType defines model for WebhooksDeliveryList.Data.Type.
const (
WebhooksDeliveryListDataTypeWebhooksDeliveries WebhooksDeliveryListDataType = "webhooks_deliveries"
)
Defines values for WebhooksDeliveryListDataType.
type WebhooksDeliveryResponse ¶ added in v0.1.54
type WebhooksDeliveryResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
DeliveredAt *string `json:"delivered_at"`
EndpointId string `json:"endpoint_id"`
Payload string `json:"payload"`
// Date of last update
UpdatedAt string `json:"updated_at"`
} `json:"attributes"`
// Unique ID of the webhooks_delivery
Id string `json:"id"`
Type WebhooksDeliveryResponseDataType `json:"type"`
} `json:"data"`
}
WebhooksDeliveryResponse defines model for webhooks_delivery_response.
type WebhooksDeliveryResponseDataType ¶ added in v0.1.54
type WebhooksDeliveryResponseDataType string
WebhooksDeliveryResponseDataType defines model for WebhooksDeliveryResponse.Data.Type.
const (
WebhooksDeliveryResponseDataTypeWebhooksDeliveries WebhooksDeliveryResponseDataType = "webhooks_deliveries"
)
Defines values for WebhooksDeliveryResponseDataType.
type WebhooksEndpoint ¶ added in v0.1.54
type WebhooksEndpoint struct {
// Date of creation
CreatedAt string `json:"created_at"`
Enabled bool `json:"enabled"`
EventTypes []WebhooksEndpointEventTypes `json:"event_types"`
// The name of the endpoint
Name string `json:"name"`
// The webhook signing secret used to verify webhook requests.
Secret string `json:"secret"`
// The slug of the endpoint
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The URL of the endpoint.
Url string `json:"url"`
}
WebhooksEndpoint defines model for webhooks_endpoint.
type WebhooksEndpointEventTypes ¶ added in v0.1.54
type WebhooksEndpointEventTypes string
WebhooksEndpointEventTypes defines model for WebhooksEndpoint.EventTypes.
const ( WebhooksEndpointEventTypesAlertCreated WebhooksEndpointEventTypes = "alert.created" WebhooksEndpointEventTypesGeniusWorkflowRunCanceled WebhooksEndpointEventTypes = "genius_workflow_run.canceled" WebhooksEndpointEventTypesGeniusWorkflowRunCompleted WebhooksEndpointEventTypes = "genius_workflow_run.completed" WebhooksEndpointEventTypesGeniusWorkflowRunFailed WebhooksEndpointEventTypes = "genius_workflow_run.failed" WebhooksEndpointEventTypesGeniusWorkflowRunQueued WebhooksEndpointEventTypes = "genius_workflow_run.queued" WebhooksEndpointEventTypesGeniusWorkflowRunStarted WebhooksEndpointEventTypes = "genius_workflow_run.started" WebhooksEndpointEventTypesIncidentCancelled WebhooksEndpointEventTypes = "incident.cancelled" WebhooksEndpointEventTypesIncidentCreated WebhooksEndpointEventTypes = "incident.created" WebhooksEndpointEventTypesIncidentDeleted WebhooksEndpointEventTypes = "incident.deleted" WebhooksEndpointEventTypesIncidentInTriage WebhooksEndpointEventTypes = "incident.in_triage" WebhooksEndpointEventTypesIncidentMitigated WebhooksEndpointEventTypes = "incident.mitigated" WebhooksEndpointEventTypesIncidentPostMortemCreated WebhooksEndpointEventTypes = "incident_post_mortem.created" WebhooksEndpointEventTypesIncidentPostMortemDeleted WebhooksEndpointEventTypes = "incident_post_mortem.deleted" WebhooksEndpointEventTypesIncidentPostMortemPublished WebhooksEndpointEventTypes = "incident_post_mortem.published" WebhooksEndpointEventTypesIncidentPostMortemUpdated WebhooksEndpointEventTypes = "incident_post_mortem.updated" WebhooksEndpointEventTypesIncidentResolved WebhooksEndpointEventTypes = "incident.resolved" WebhooksEndpointEventTypesIncidentScheduledCompleted WebhooksEndpointEventTypes = "incident.scheduled.completed" WebhooksEndpointEventTypesIncidentScheduledCreated WebhooksEndpointEventTypes = "incident.scheduled.created" WebhooksEndpointEventTypesIncidentScheduledDeleted WebhooksEndpointEventTypes = "incident.scheduled.deleted" WebhooksEndpointEventTypesIncidentScheduledInProgress WebhooksEndpointEventTypes = "incident.scheduled.in_progress" WebhooksEndpointEventTypesIncidentScheduledUpdated WebhooksEndpointEventTypes = "incident.scheduled.updated" WebhooksEndpointEventTypesIncidentUpdated WebhooksEndpointEventTypes = "incident.updated" WebhooksEndpointEventTypesPulseCreated WebhooksEndpointEventTypes = "pulse.created" )
Defines values for WebhooksEndpointEventTypes.
type WebhooksEndpointList ¶ added in v0.1.54
type WebhooksEndpointList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
Enabled bool `json:"enabled"`
EventTypes []WebhooksEndpointListDataAttributesEventTypes `json:"event_types"`
// The name of the endpoint
Name string `json:"name"`
// The webhook signing secret used to verify webhook requests.
Secret string `json:"secret"`
// The slug of the endpoint
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The URL of the endpoint.
Url string `json:"url"`
} `json:"attributes"`
// Unique ID of the webhooks_endpoint
Id string `json:"id"`
Type WebhooksEndpointListDataType `json:"type"`
} `json:"data"`
Links *struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links,omitempty"`
}
WebhooksEndpointList defines model for webhooks_endpoint_list.
type WebhooksEndpointListDataAttributesEventTypes ¶ added in v0.1.54
type WebhooksEndpointListDataAttributesEventTypes string
WebhooksEndpointListDataAttributesEventTypes defines model for WebhooksEndpointList.Data.Attributes.EventTypes.
const ( WebhooksEndpointListDataAttributesEventTypesAlertCreated WebhooksEndpointListDataAttributesEventTypes = "alert.created" WebhooksEndpointListDataAttributesEventTypesGeniusWorkflowRunCanceled WebhooksEndpointListDataAttributesEventTypes = "genius_workflow_run.canceled" WebhooksEndpointListDataAttributesEventTypesGeniusWorkflowRunCompleted WebhooksEndpointListDataAttributesEventTypes = "genius_workflow_run.completed" WebhooksEndpointListDataAttributesEventTypesGeniusWorkflowRunFailed WebhooksEndpointListDataAttributesEventTypes = "genius_workflow_run.failed" WebhooksEndpointListDataAttributesEventTypesGeniusWorkflowRunQueued WebhooksEndpointListDataAttributesEventTypes = "genius_workflow_run.queued" WebhooksEndpointListDataAttributesEventTypesGeniusWorkflowRunStarted WebhooksEndpointListDataAttributesEventTypes = "genius_workflow_run.started" WebhooksEndpointListDataAttributesEventTypesIncidentCancelled WebhooksEndpointListDataAttributesEventTypes = "incident.cancelled" WebhooksEndpointListDataAttributesEventTypesIncidentCreated WebhooksEndpointListDataAttributesEventTypes = "incident.created" WebhooksEndpointListDataAttributesEventTypesIncidentDeleted WebhooksEndpointListDataAttributesEventTypes = "incident.deleted" WebhooksEndpointListDataAttributesEventTypesIncidentInTriage WebhooksEndpointListDataAttributesEventTypes = "incident.in_triage" WebhooksEndpointListDataAttributesEventTypesIncidentMitigated WebhooksEndpointListDataAttributesEventTypes = "incident.mitigated" WebhooksEndpointListDataAttributesEventTypesIncidentPostMortemCreated WebhooksEndpointListDataAttributesEventTypes = "incident_post_mortem.created" WebhooksEndpointListDataAttributesEventTypesIncidentPostMortemDeleted WebhooksEndpointListDataAttributesEventTypes = "incident_post_mortem.deleted" WebhooksEndpointListDataAttributesEventTypesIncidentPostMortemPublished WebhooksEndpointListDataAttributesEventTypes = "incident_post_mortem.published" WebhooksEndpointListDataAttributesEventTypesIncidentPostMortemUpdated WebhooksEndpointListDataAttributesEventTypes = "incident_post_mortem.updated" WebhooksEndpointListDataAttributesEventTypesIncidentResolved WebhooksEndpointListDataAttributesEventTypes = "incident.resolved" WebhooksEndpointListDataAttributesEventTypesIncidentScheduledCompleted WebhooksEndpointListDataAttributesEventTypes = "incident.scheduled.completed" WebhooksEndpointListDataAttributesEventTypesIncidentScheduledCreated WebhooksEndpointListDataAttributesEventTypes = "incident.scheduled.created" WebhooksEndpointListDataAttributesEventTypesIncidentScheduledDeleted WebhooksEndpointListDataAttributesEventTypes = "incident.scheduled.deleted" WebhooksEndpointListDataAttributesEventTypesIncidentScheduledInProgress WebhooksEndpointListDataAttributesEventTypes = "incident.scheduled.in_progress" WebhooksEndpointListDataAttributesEventTypesIncidentScheduledUpdated WebhooksEndpointListDataAttributesEventTypes = "incident.scheduled.updated" WebhooksEndpointListDataAttributesEventTypesIncidentUpdated WebhooksEndpointListDataAttributesEventTypes = "incident.updated" WebhooksEndpointListDataAttributesEventTypesPulseCreated WebhooksEndpointListDataAttributesEventTypes = "pulse.created" )
Defines values for WebhooksEndpointListDataAttributesEventTypes.
type WebhooksEndpointListDataType ¶ added in v0.1.54
type WebhooksEndpointListDataType string
WebhooksEndpointListDataType defines model for WebhooksEndpointList.Data.Type.
const (
WebhooksEndpointListDataTypeWebhooksEndpoints WebhooksEndpointListDataType = "webhooks_endpoints"
)
Defines values for WebhooksEndpointListDataType.
type WebhooksEndpointResponse ¶ added in v0.1.54
type WebhooksEndpointResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
Enabled bool `json:"enabled"`
EventTypes []WebhooksEndpointResponseDataAttributesEventTypes `json:"event_types"`
// The name of the endpoint
Name string `json:"name"`
// The webhook signing secret used to verify webhook requests.
Secret string `json:"secret"`
// The slug of the endpoint
Slug string `json:"slug"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The URL of the endpoint.
Url string `json:"url"`
} `json:"attributes"`
// Unique ID of the webhooks_endpoint
Id string `json:"id"`
Type WebhooksEndpointResponseDataType `json:"type"`
} `json:"data"`
}
WebhooksEndpointResponse defines model for webhooks_endpoint_response.
type WebhooksEndpointResponseDataAttributesEventTypes ¶ added in v0.1.54
type WebhooksEndpointResponseDataAttributesEventTypes string
WebhooksEndpointResponseDataAttributesEventTypes defines model for WebhooksEndpointResponse.Data.Attributes.EventTypes.
const ( AlertCreated WebhooksEndpointResponseDataAttributesEventTypes = "alert.created" GeniusWorkflowRunCanceled WebhooksEndpointResponseDataAttributesEventTypes = "genius_workflow_run.canceled" GeniusWorkflowRunCompleted WebhooksEndpointResponseDataAttributesEventTypes = "genius_workflow_run.completed" GeniusWorkflowRunFailed WebhooksEndpointResponseDataAttributesEventTypes = "genius_workflow_run.failed" GeniusWorkflowRunQueued WebhooksEndpointResponseDataAttributesEventTypes = "genius_workflow_run.queued" GeniusWorkflowRunStarted WebhooksEndpointResponseDataAttributesEventTypes = "genius_workflow_run.started" IncidentCancelled WebhooksEndpointResponseDataAttributesEventTypes = "incident.cancelled" IncidentCreated WebhooksEndpointResponseDataAttributesEventTypes = "incident.created" IncidentDeleted WebhooksEndpointResponseDataAttributesEventTypes = "incident.deleted" IncidentInTriage WebhooksEndpointResponseDataAttributesEventTypes = "incident.in_triage" IncidentMitigated WebhooksEndpointResponseDataAttributesEventTypes = "incident.mitigated" IncidentPostMortemCreated WebhooksEndpointResponseDataAttributesEventTypes = "incident_post_mortem.created" IncidentPostMortemDeleted WebhooksEndpointResponseDataAttributesEventTypes = "incident_post_mortem.deleted" IncidentPostMortemPublished WebhooksEndpointResponseDataAttributesEventTypes = "incident_post_mortem.published" IncidentPostMortemUpdated WebhooksEndpointResponseDataAttributesEventTypes = "incident_post_mortem.updated" IncidentResolved WebhooksEndpointResponseDataAttributesEventTypes = "incident.resolved" IncidentScheduledCompleted WebhooksEndpointResponseDataAttributesEventTypes = "incident.scheduled.completed" IncidentScheduledCreated WebhooksEndpointResponseDataAttributesEventTypes = "incident.scheduled.created" IncidentScheduledDeleted WebhooksEndpointResponseDataAttributesEventTypes = "incident.scheduled.deleted" IncidentScheduledInProgress WebhooksEndpointResponseDataAttributesEventTypes = "incident.scheduled.in_progress" IncidentScheduledUpdated WebhooksEndpointResponseDataAttributesEventTypes = "incident.scheduled.updated" IncidentUpdated WebhooksEndpointResponseDataAttributesEventTypes = "incident.updated" PulseCreated WebhooksEndpointResponseDataAttributesEventTypes = "pulse.created" )
Defines values for WebhooksEndpointResponseDataAttributesEventTypes.
type WebhooksEndpointResponseDataType ¶ added in v0.1.54
type WebhooksEndpointResponseDataType string
WebhooksEndpointResponseDataType defines model for WebhooksEndpointResponse.Data.Type.
const (
WebhooksEndpointResponseDataTypeWebhooksEndpoints WebhooksEndpointResponseDataType = "webhooks_endpoints"
)
Defines values for WebhooksEndpointResponseDataType.
type Workflow ¶
type Workflow struct {
// Workflow command
Command *string `json:"command"`
// This will notify you back when the workflow is starting
CommandFeedbackEnabled *bool `json:"command_feedback_enabled"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the workflow
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
GroupIds *[]string `json:"group_ids,omitempty"`
IncidentRoleIds *[]string `json:"incident_role_ids,omitempty"`
IncidentTypeIds *[]string `json:"incident_type_ids,omitempty"`
// The title of the workflow
Name string `json:"name"`
// The order which the workflow should run with other workflows.
Position *float32 `json:"position,omitempty"`
// Repeat workflow every duration
RepeatEveryDuration *string `json:"repeat_every_duration"`
RepeatOn *[]WorkflowRepeatOn `json:"repeat_on"`
ServiceIds *[]string `json:"service_ids,omitempty"`
SeverityIds *[]string `json:"severity_ids,omitempty"`
// The slug of the workflow
Slug *string `json:"slug,omitempty"`
TriggerParams *interface{} `json:"trigger_params,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// Wait this duration before executing
Wait *string `json:"wait"`
// The group this workflow belongs to.
WorkflowGroupId *string `json:"workflow_group_id,omitempty"`
}
Workflow defines model for workflow.
type WorkflowCustomFieldSelection ¶
type WorkflowCustomFieldSelection struct {
// The custom field for this selection
CustomFieldId float32 `json:"custom_field_id"`
// The trigger condition
IncidentCondition WorkflowCustomFieldSelectionIncidentCondition `json:"incident_condition"`
SelectedOptionIds []float32 `json:"selected_option_ids"`
Values *[]string `json:"values,omitempty"`
// The workflow for this selection
WorkflowId string `json:"workflow_id"`
}
WorkflowCustomFieldSelection defines model for workflow_custom_field_selection.
type WorkflowCustomFieldSelectionIncidentCondition ¶
type WorkflowCustomFieldSelectionIncidentCondition string
The trigger condition
const ( WorkflowCustomFieldSelectionIncidentConditionANY WorkflowCustomFieldSelectionIncidentCondition = "ANY" WorkflowCustomFieldSelectionIncidentConditionCONTAINS WorkflowCustomFieldSelectionIncidentCondition = "CONTAINS" WorkflowCustomFieldSelectionIncidentConditionCONTAINSALL WorkflowCustomFieldSelectionIncidentCondition = "CONTAINS_ALL" WorkflowCustomFieldSelectionIncidentConditionCONTAINSNONE WorkflowCustomFieldSelectionIncidentCondition = "CONTAINS_NONE" WorkflowCustomFieldSelectionIncidentConditionIS WorkflowCustomFieldSelectionIncidentCondition = "IS" WorkflowCustomFieldSelectionIncidentConditionNONE WorkflowCustomFieldSelectionIncidentCondition = "NONE" WorkflowCustomFieldSelectionIncidentConditionSET WorkflowCustomFieldSelectionIncidentCondition = "SET" WorkflowCustomFieldSelectionIncidentConditionUNSET WorkflowCustomFieldSelectionIncidentCondition = "UNSET" )
Defines values for WorkflowCustomFieldSelectionIncidentCondition.
type WorkflowCustomFieldSelectionList ¶
type WorkflowCustomFieldSelectionList struct {
Data []struct {
Attributes struct {
// The custom field for this selection
CustomFieldId float32 `json:"custom_field_id"`
// The trigger condition
IncidentCondition WorkflowCustomFieldSelectionListDataAttributesIncidentCondition `json:"incident_condition"`
SelectedOptionIds []float32 `json:"selected_option_ids"`
Values *[]string `json:"values,omitempty"`
// The workflow for this selection
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow_custom_field_selection
Id string `json:"id"`
Type WorkflowCustomFieldSelectionListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
WorkflowCustomFieldSelectionList defines model for workflow_custom_field_selection_list.
type WorkflowCustomFieldSelectionListDataAttributesIncidentCondition ¶ added in v0.1.12
type WorkflowCustomFieldSelectionListDataAttributesIncidentCondition string
The trigger condition
const ( WorkflowCustomFieldSelectionListDataAttributesIncidentConditionANY WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "ANY" WorkflowCustomFieldSelectionListDataAttributesIncidentConditionCONTAINS WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "CONTAINS" WorkflowCustomFieldSelectionListDataAttributesIncidentConditionCONTAINSALL WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "CONTAINS_ALL" WorkflowCustomFieldSelectionListDataAttributesIncidentConditionCONTAINSNONE WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "CONTAINS_NONE" WorkflowCustomFieldSelectionListDataAttributesIncidentConditionIS WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "IS" WorkflowCustomFieldSelectionListDataAttributesIncidentConditionNONE WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "NONE" WorkflowCustomFieldSelectionListDataAttributesIncidentConditionSET WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "SET" WorkflowCustomFieldSelectionListDataAttributesIncidentConditionUNSET WorkflowCustomFieldSelectionListDataAttributesIncidentCondition = "UNSET" )
Defines values for WorkflowCustomFieldSelectionListDataAttributesIncidentCondition.
type WorkflowCustomFieldSelectionListDataType ¶
type WorkflowCustomFieldSelectionListDataType string
WorkflowCustomFieldSelectionListDataType defines model for WorkflowCustomFieldSelectionList.Data.Type.
const (
WorkflowCustomFieldSelectionListDataTypeWorkflowCustomFieldSelections WorkflowCustomFieldSelectionListDataType = "workflow_custom_field_selections"
)
Defines values for WorkflowCustomFieldSelectionListDataType.
type WorkflowCustomFieldSelectionResponse ¶
type WorkflowCustomFieldSelectionResponse struct {
Data struct {
Attributes struct {
// The custom field for this selection
CustomFieldId float32 `json:"custom_field_id"`
// The trigger condition
IncidentCondition WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition `json:"incident_condition"`
SelectedOptionIds []float32 `json:"selected_option_ids"`
Values *[]string `json:"values,omitempty"`
// The workflow for this selection
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow_custom_field_selection
Id string `json:"id"`
Type WorkflowCustomFieldSelectionResponseDataType `json:"type"`
} `json:"data"`
}
WorkflowCustomFieldSelectionResponse defines model for workflow_custom_field_selection_response.
type WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition ¶ added in v0.1.12
type WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition string
The trigger condition
const ( WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionANY WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "ANY" WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionCONTAINS WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "CONTAINS" WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionCONTAINSALL WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "CONTAINS_ALL" WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionCONTAINSNONE WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "CONTAINS_NONE" WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionIS WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "IS" WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionNONE WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "NONE" WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionSET WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "SET" WorkflowCustomFieldSelectionResponseDataAttributesIncidentConditionUNSET WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition = "UNSET" )
Defines values for WorkflowCustomFieldSelectionResponseDataAttributesIncidentCondition.
type WorkflowCustomFieldSelectionResponseDataType ¶
type WorkflowCustomFieldSelectionResponseDataType string
WorkflowCustomFieldSelectionResponseDataType defines model for WorkflowCustomFieldSelectionResponse.Data.Type.
const (
WorkflowCustomFieldSelectionResponseDataTypeWorkflowCustomFieldSelections WorkflowCustomFieldSelectionResponseDataType = "workflow_custom_field_selections"
)
Defines values for WorkflowCustomFieldSelectionResponseDataType.
type WorkflowFormFieldCondition ¶ added in v0.1.48
type WorkflowFormFieldCondition struct {
// The custom field for this condition
FormFieldId string `json:"form_field_id"`
// The trigger condition
IncidentCondition WorkflowFormFieldConditionIncidentCondition `json:"incident_condition"`
SelectedOptionIds []string `json:"selected_option_ids"`
SelectedUserIds []float32 `json:"selected_user_ids"`
Values *[]string `json:"values,omitempty"`
// The workflow for this condition
WorkflowId string `json:"workflow_id"`
}
WorkflowFormFieldCondition defines model for workflow_form_field_condition.
type WorkflowFormFieldConditionIncidentCondition ¶ added in v0.1.48
type WorkflowFormFieldConditionIncidentCondition string
The trigger condition
const ( WorkflowFormFieldConditionIncidentConditionANY WorkflowFormFieldConditionIncidentCondition = "ANY" WorkflowFormFieldConditionIncidentConditionCONTAINS WorkflowFormFieldConditionIncidentCondition = "CONTAINS" WorkflowFormFieldConditionIncidentConditionCONTAINSALL WorkflowFormFieldConditionIncidentCondition = "CONTAINS_ALL" WorkflowFormFieldConditionIncidentConditionCONTAINSNONE WorkflowFormFieldConditionIncidentCondition = "CONTAINS_NONE" WorkflowFormFieldConditionIncidentConditionIS WorkflowFormFieldConditionIncidentCondition = "IS" WorkflowFormFieldConditionIncidentConditionNONE WorkflowFormFieldConditionIncidentCondition = "NONE" WorkflowFormFieldConditionIncidentConditionSET WorkflowFormFieldConditionIncidentCondition = "SET" WorkflowFormFieldConditionIncidentConditionUNSET WorkflowFormFieldConditionIncidentCondition = "UNSET" )
Defines values for WorkflowFormFieldConditionIncidentCondition.
type WorkflowFormFieldConditionList ¶ added in v0.1.48
type WorkflowFormFieldConditionList struct {
Data []struct {
Attributes struct {
// The custom field for this condition
FormFieldId string `json:"form_field_id"`
// The trigger condition
IncidentCondition WorkflowFormFieldConditionListDataAttributesIncidentCondition `json:"incident_condition"`
SelectedOptionIds []string `json:"selected_option_ids"`
SelectedUserIds []float32 `json:"selected_user_ids"`
Values *[]string `json:"values,omitempty"`
// The workflow for this condition
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow_form_field_condition
Id string `json:"id"`
Type WorkflowFormFieldConditionListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
WorkflowFormFieldConditionList defines model for workflow_form_field_condition_list.
type WorkflowFormFieldConditionListDataAttributesIncidentCondition ¶ added in v0.1.48
type WorkflowFormFieldConditionListDataAttributesIncidentCondition string
The trigger condition
const ( WorkflowFormFieldConditionListDataAttributesIncidentConditionANY WorkflowFormFieldConditionListDataAttributesIncidentCondition = "ANY" WorkflowFormFieldConditionListDataAttributesIncidentConditionCONTAINS WorkflowFormFieldConditionListDataAttributesIncidentCondition = "CONTAINS" WorkflowFormFieldConditionListDataAttributesIncidentConditionCONTAINSALL WorkflowFormFieldConditionListDataAttributesIncidentCondition = "CONTAINS_ALL" WorkflowFormFieldConditionListDataAttributesIncidentConditionCONTAINSNONE WorkflowFormFieldConditionListDataAttributesIncidentCondition = "CONTAINS_NONE" WorkflowFormFieldConditionListDataAttributesIncidentConditionIS WorkflowFormFieldConditionListDataAttributesIncidentCondition = "IS" WorkflowFormFieldConditionListDataAttributesIncidentConditionNONE WorkflowFormFieldConditionListDataAttributesIncidentCondition = "NONE" WorkflowFormFieldConditionListDataAttributesIncidentConditionSET WorkflowFormFieldConditionListDataAttributesIncidentCondition = "SET" WorkflowFormFieldConditionListDataAttributesIncidentConditionUNSET WorkflowFormFieldConditionListDataAttributesIncidentCondition = "UNSET" )
Defines values for WorkflowFormFieldConditionListDataAttributesIncidentCondition.
type WorkflowFormFieldConditionListDataType ¶ added in v0.1.48
type WorkflowFormFieldConditionListDataType string
WorkflowFormFieldConditionListDataType defines model for WorkflowFormFieldConditionList.Data.Type.
const (
WorkflowFormFieldConditionListDataTypeWorkflowFormFieldConditions WorkflowFormFieldConditionListDataType = "workflow_form_field_conditions"
)
Defines values for WorkflowFormFieldConditionListDataType.
type WorkflowFormFieldConditionResponse ¶ added in v0.1.48
type WorkflowFormFieldConditionResponse struct {
Data struct {
Attributes struct {
// The custom field for this condition
FormFieldId string `json:"form_field_id"`
// The trigger condition
IncidentCondition WorkflowFormFieldConditionResponseDataAttributesIncidentCondition `json:"incident_condition"`
SelectedOptionIds []string `json:"selected_option_ids"`
SelectedUserIds []float32 `json:"selected_user_ids"`
Values *[]string `json:"values,omitempty"`
// The workflow for this condition
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow_form_field_condition
Id string `json:"id"`
Type WorkflowFormFieldConditionResponseDataType `json:"type"`
} `json:"data"`
}
WorkflowFormFieldConditionResponse defines model for workflow_form_field_condition_response.
type WorkflowFormFieldConditionResponseDataAttributesIncidentCondition ¶ added in v0.1.48
type WorkflowFormFieldConditionResponseDataAttributesIncidentCondition string
The trigger condition
const ( ANY WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "ANY" CONTAINS WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "CONTAINS" CONTAINSALL WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "CONTAINS_ALL" CONTAINSNONE WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "CONTAINS_NONE" IS WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "IS" NONE WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "NONE" SET WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "SET" UNSET WorkflowFormFieldConditionResponseDataAttributesIncidentCondition = "UNSET" )
Defines values for WorkflowFormFieldConditionResponseDataAttributesIncidentCondition.
type WorkflowFormFieldConditionResponseDataType ¶ added in v0.1.48
type WorkflowFormFieldConditionResponseDataType string
WorkflowFormFieldConditionResponseDataType defines model for WorkflowFormFieldConditionResponse.Data.Type.
const (
WorkflowFormFieldConditionResponseDataTypeWorkflowFormFieldConditions WorkflowFormFieldConditionResponseDataType = "workflow_form_field_conditions"
)
Defines values for WorkflowFormFieldConditionResponseDataType.
type WorkflowGroup ¶ added in v0.1.12
type WorkflowGroup struct {
// Whether the group is expanded or collapsed.
Expanded *bool `json:"expanded,omitempty"`
// The kind of the workflow group
Kind WorkflowGroupKind `json:"kind"`
// The name of the workflow group.
Name string `json:"name"`
// The position of the workflow group
Position float32 `json:"position"`
// The slug of the workflow group.
Slug *string `json:"slug,omitempty"`
}
WorkflowGroup defines model for workflow_group.
type WorkflowGroupKind ¶ added in v0.1.12
type WorkflowGroupKind string
The kind of the workflow group
const ( WorkflowGroupKindActionItem WorkflowGroupKind = "action_item" WorkflowGroupKindAlert WorkflowGroupKind = "alert" WorkflowGroupKindIncident WorkflowGroupKind = "incident" WorkflowGroupKindPostMortem WorkflowGroupKind = "post_mortem" WorkflowGroupKindPulse WorkflowGroupKind = "pulse" WorkflowGroupKindSimple WorkflowGroupKind = "simple" )
Defines values for WorkflowGroupKind.
type WorkflowGroupList ¶ added in v0.1.12
type WorkflowGroupList struct {
Data []struct {
Attributes struct {
// Whether the group is expanded or collapsed.
Expanded *bool `json:"expanded,omitempty"`
// The kind of the workflow group
Kind WorkflowGroupListDataAttributesKind `json:"kind"`
// The name of the workflow group.
Name string `json:"name"`
// The position of the workflow group
Position float32 `json:"position"`
// The slug of the workflow group.
Slug *string `json:"slug,omitempty"`
} `json:"attributes"`
// Unique ID of the workflow group
Id string `json:"id"`
Type WorkflowGroupListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
WorkflowGroupList defines model for workflow_group_list.
type WorkflowGroupListDataAttributesKind ¶ added in v0.1.12
type WorkflowGroupListDataAttributesKind string
The kind of the workflow group
const ( WorkflowGroupListDataAttributesKindActionItem WorkflowGroupListDataAttributesKind = "action_item" WorkflowGroupListDataAttributesKindAlert WorkflowGroupListDataAttributesKind = "alert" WorkflowGroupListDataAttributesKindIncident WorkflowGroupListDataAttributesKind = "incident" WorkflowGroupListDataAttributesKindPostMortem WorkflowGroupListDataAttributesKind = "post_mortem" WorkflowGroupListDataAttributesKindPulse WorkflowGroupListDataAttributesKind = "pulse" WorkflowGroupListDataAttributesKindSimple WorkflowGroupListDataAttributesKind = "simple" )
Defines values for WorkflowGroupListDataAttributesKind.
type WorkflowGroupListDataType ¶ added in v0.1.12
type WorkflowGroupListDataType string
WorkflowGroupListDataType defines model for WorkflowGroupList.Data.Type.
const (
WorkflowGroupListDataTypeWorkflowGroups WorkflowGroupListDataType = "workflow_groups"
)
Defines values for WorkflowGroupListDataType.
type WorkflowGroupResponse ¶ added in v0.1.12
type WorkflowGroupResponse struct {
Data struct {
Attributes struct {
// Whether the group is expanded or collapsed.
Expanded *bool `json:"expanded,omitempty"`
// The kind of the workflow group
Kind WorkflowGroupResponseDataAttributesKind `json:"kind"`
// The name of the workflow group.
Name string `json:"name"`
// The position of the workflow group
Position float32 `json:"position"`
// The slug of the workflow group.
Slug *string `json:"slug,omitempty"`
} `json:"attributes"`
// Unique ID of the workflow group
Id string `json:"id"`
Type WorkflowGroupResponseDataType `json:"type"`
} `json:"data"`
}
WorkflowGroupResponse defines model for workflow_group_response.
type WorkflowGroupResponseDataAttributesKind ¶ added in v0.1.12
type WorkflowGroupResponseDataAttributesKind string
The kind of the workflow group
const ( WorkflowGroupResponseDataAttributesKindActionItem WorkflowGroupResponseDataAttributesKind = "action_item" WorkflowGroupResponseDataAttributesKindAlert WorkflowGroupResponseDataAttributesKind = "alert" WorkflowGroupResponseDataAttributesKindIncident WorkflowGroupResponseDataAttributesKind = "incident" WorkflowGroupResponseDataAttributesKindPostMortem WorkflowGroupResponseDataAttributesKind = "post_mortem" WorkflowGroupResponseDataAttributesKindPulse WorkflowGroupResponseDataAttributesKind = "pulse" WorkflowGroupResponseDataAttributesKindSimple WorkflowGroupResponseDataAttributesKind = "simple" )
Defines values for WorkflowGroupResponseDataAttributesKind.
type WorkflowGroupResponseDataType ¶ added in v0.1.12
type WorkflowGroupResponseDataType string
WorkflowGroupResponseDataType defines model for WorkflowGroupResponse.Data.Type.
const (
WorkflowGroupResponseDataTypeWorkflowGroups WorkflowGroupResponseDataType = "workflow_groups"
)
Defines values for WorkflowGroupResponseDataType.
type WorkflowList ¶
type WorkflowList struct {
Data []struct {
Attributes struct {
// Workflow command
Command *string `json:"command"`
// This will notify you back when the workflow is starting
CommandFeedbackEnabled *bool `json:"command_feedback_enabled"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the workflow
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
GroupIds *[]string `json:"group_ids,omitempty"`
IncidentRoleIds *[]string `json:"incident_role_ids,omitempty"`
IncidentTypeIds *[]string `json:"incident_type_ids,omitempty"`
// The title of the workflow
Name string `json:"name"`
// The order which the workflow should run with other workflows.
Position *float32 `json:"position,omitempty"`
// Repeat workflow every duration
RepeatEveryDuration *string `json:"repeat_every_duration"`
RepeatOn *[]WorkflowListDataAttributesRepeatOn `json:"repeat_on"`
ServiceIds *[]string `json:"service_ids,omitempty"`
SeverityIds *[]string `json:"severity_ids,omitempty"`
// The slug of the workflow
Slug *string `json:"slug,omitempty"`
TriggerParams *interface{} `json:"trigger_params,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// Wait this duration before executing
Wait *string `json:"wait"`
// The group this workflow belongs to.
WorkflowGroupId *string `json:"workflow_group_id,omitempty"`
} `json:"attributes"`
// Unique ID of the workflow
Id string `json:"id"`
Type WorkflowListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
WorkflowList defines model for workflow_list.
type WorkflowListDataAttributesRepeatOn ¶ added in v0.1.12
type WorkflowListDataAttributesRepeatOn string
Repeat on weekdays
const ( WorkflowListDataAttributesRepeatOnF WorkflowListDataAttributesRepeatOn = "F" WorkflowListDataAttributesRepeatOnM WorkflowListDataAttributesRepeatOn = "M" WorkflowListDataAttributesRepeatOnR WorkflowListDataAttributesRepeatOn = "R" WorkflowListDataAttributesRepeatOnS WorkflowListDataAttributesRepeatOn = "S" WorkflowListDataAttributesRepeatOnT WorkflowListDataAttributesRepeatOn = "T" WorkflowListDataAttributesRepeatOnU WorkflowListDataAttributesRepeatOn = "U" WorkflowListDataAttributesRepeatOnW WorkflowListDataAttributesRepeatOn = "W" )
Defines values for WorkflowListDataAttributesRepeatOn.
type WorkflowListDataType ¶
type WorkflowListDataType string
WorkflowListDataType defines model for WorkflowList.Data.Type.
const (
WorkflowListDataTypeWorkflows WorkflowListDataType = "workflows"
)
Defines values for WorkflowListDataType.
type WorkflowRepeatOn ¶
type WorkflowRepeatOn string
Repeat on weekdays
const ( WorkflowRepeatOnF WorkflowRepeatOn = "F" WorkflowRepeatOnM WorkflowRepeatOn = "M" WorkflowRepeatOnR WorkflowRepeatOn = "R" WorkflowRepeatOnS WorkflowRepeatOn = "S" WorkflowRepeatOnT WorkflowRepeatOn = "T" WorkflowRepeatOnU WorkflowRepeatOn = "U" WorkflowRepeatOnW WorkflowRepeatOn = "W" )
Defines values for WorkflowRepeatOn.
type WorkflowResponse ¶
type WorkflowResponse struct {
Data struct {
Attributes struct {
// Workflow command
Command *string `json:"command"`
// This will notify you back when the workflow is starting
CommandFeedbackEnabled *bool `json:"command_feedback_enabled"`
// Date of creation
CreatedAt string `json:"created_at"`
// The description of the workflow
Description *string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
EnvironmentIds *[]string `json:"environment_ids,omitempty"`
FunctionalityIds *[]string `json:"functionality_ids,omitempty"`
GroupIds *[]string `json:"group_ids,omitempty"`
IncidentRoleIds *[]string `json:"incident_role_ids,omitempty"`
IncidentTypeIds *[]string `json:"incident_type_ids,omitempty"`
// The title of the workflow
Name string `json:"name"`
// The order which the workflow should run with other workflows.
Position *float32 `json:"position,omitempty"`
// Repeat workflow every duration
RepeatEveryDuration *string `json:"repeat_every_duration"`
RepeatOn *[]WorkflowResponseDataAttributesRepeatOn `json:"repeat_on"`
ServiceIds *[]string `json:"service_ids,omitempty"`
SeverityIds *[]string `json:"severity_ids,omitempty"`
// The slug of the workflow
Slug *string `json:"slug,omitempty"`
TriggerParams *interface{} `json:"trigger_params,omitempty"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// Wait this duration before executing
Wait *string `json:"wait"`
// The group this workflow belongs to.
WorkflowGroupId *string `json:"workflow_group_id,omitempty"`
} `json:"attributes"`
// Unique ID of the workflow
Id string `json:"id"`
Type WorkflowResponseDataType `json:"type"`
} `json:"data"`
}
WorkflowResponse defines model for workflow_response.
type WorkflowResponseDataAttributesRepeatOn ¶ added in v0.1.12
type WorkflowResponseDataAttributesRepeatOn string
Repeat on weekdays
const ( WorkflowResponseDataAttributesRepeatOnF WorkflowResponseDataAttributesRepeatOn = "F" WorkflowResponseDataAttributesRepeatOnM WorkflowResponseDataAttributesRepeatOn = "M" WorkflowResponseDataAttributesRepeatOnR WorkflowResponseDataAttributesRepeatOn = "R" WorkflowResponseDataAttributesRepeatOnS WorkflowResponseDataAttributesRepeatOn = "S" WorkflowResponseDataAttributesRepeatOnT WorkflowResponseDataAttributesRepeatOn = "T" WorkflowResponseDataAttributesRepeatOnU WorkflowResponseDataAttributesRepeatOn = "U" WorkflowResponseDataAttributesRepeatOnW WorkflowResponseDataAttributesRepeatOn = "W" )
Defines values for WorkflowResponseDataAttributesRepeatOn.
type WorkflowResponseDataType ¶
type WorkflowResponseDataType string
WorkflowResponseDataType defines model for WorkflowResponse.Data.Type.
const (
WorkflowResponseDataTypeWorkflows WorkflowResponseDataType = "workflows"
)
Defines values for WorkflowResponseDataType.
type WorkflowRun ¶ added in v0.1.20
type WorkflowRun struct {
ActionItemId *string `json:"action_item_id"`
AlertId *string `json:"alert_id"`
CanceledAt *string `json:"canceled_at"`
CompletedAt *string `json:"completed_at"`
FailedAt *string `json:"failed_at"`
IncidentId *string `json:"incident_id"`
PostMortemId *string `json:"post_mortem_id"`
PulseId *string `json:"pulse_id"`
StartedAt *string `json:"started_at"`
Status WorkflowRunStatus `json:"status"`
StatusMessage *string `json:"status_message"`
TriggeredBy WorkflowRunTriggeredBy `json:"triggered_by"`
WorkflowId string `json:"workflow_id"`
}
WorkflowRun defines model for workflow_run.
type WorkflowRunResponse ¶ added in v0.1.20
type WorkflowRunResponse struct {
Data struct {
Attributes struct {
ActionItemId *string `json:"action_item_id"`
AlertId *string `json:"alert_id"`
CanceledAt *string `json:"canceled_at"`
CompletedAt *string `json:"completed_at"`
FailedAt *string `json:"failed_at"`
IncidentId *string `json:"incident_id"`
PostMortemId *string `json:"post_mortem_id"`
PulseId *string `json:"pulse_id"`
StartedAt *string `json:"started_at"`
Status WorkflowRunResponseDataAttributesStatus `json:"status"`
StatusMessage *string `json:"status_message"`
TriggeredBy WorkflowRunResponseDataAttributesTriggeredBy `json:"triggered_by"`
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow run
Id string `json:"id"`
Type WorkflowRunResponseDataType `json:"type"`
} `json:"data"`
}
WorkflowRunResponse defines model for workflow_run_response.
type WorkflowRunResponseDataAttributesStatus ¶ added in v0.1.20
type WorkflowRunResponseDataAttributesStatus string
WorkflowRunResponseDataAttributesStatus defines model for WorkflowRunResponse.Data.Attributes.Status.
const ( WorkflowRunResponseDataAttributesStatusCanceled WorkflowRunResponseDataAttributesStatus = "canceled" WorkflowRunResponseDataAttributesStatusCompleted WorkflowRunResponseDataAttributesStatus = "completed" WorkflowRunResponseDataAttributesStatusFailed WorkflowRunResponseDataAttributesStatus = "failed" WorkflowRunResponseDataAttributesStatusQueued WorkflowRunResponseDataAttributesStatus = "queued" WorkflowRunResponseDataAttributesStatusStarted WorkflowRunResponseDataAttributesStatus = "started" )
Defines values for WorkflowRunResponseDataAttributesStatus.
type WorkflowRunResponseDataAttributesTriggeredBy ¶ added in v0.1.20
type WorkflowRunResponseDataAttributesTriggeredBy string
WorkflowRunResponseDataAttributesTriggeredBy defines model for WorkflowRunResponse.Data.Attributes.TriggeredBy.
const ( WorkflowRunResponseDataAttributesTriggeredBySystem WorkflowRunResponseDataAttributesTriggeredBy = "system" WorkflowRunResponseDataAttributesTriggeredByUser WorkflowRunResponseDataAttributesTriggeredBy = "user" )
Defines values for WorkflowRunResponseDataAttributesTriggeredBy.
type WorkflowRunResponseDataType ¶ added in v0.1.20
type WorkflowRunResponseDataType string
WorkflowRunResponseDataType defines model for WorkflowRunResponse.Data.Type.
const (
WorkflowRunResponseDataTypeWorkflowRuns WorkflowRunResponseDataType = "workflow_runs"
)
Defines values for WorkflowRunResponseDataType.
type WorkflowRunStatus ¶ added in v0.1.20
type WorkflowRunStatus string
WorkflowRunStatus defines model for WorkflowRun.Status.
const ( WorkflowRunStatusCanceled WorkflowRunStatus = "canceled" WorkflowRunStatusCompleted WorkflowRunStatus = "completed" WorkflowRunStatusFailed WorkflowRunStatus = "failed" WorkflowRunStatusQueued WorkflowRunStatus = "queued" WorkflowRunStatusStarted WorkflowRunStatus = "started" )
Defines values for WorkflowRunStatus.
type WorkflowRunTriggeredBy ¶ added in v0.1.20
type WorkflowRunTriggeredBy string
WorkflowRunTriggeredBy defines model for WorkflowRun.TriggeredBy.
const ( WorkflowRunTriggeredBySystem WorkflowRunTriggeredBy = "system" WorkflowRunTriggeredByUser WorkflowRunTriggeredBy = "user" )
Defines values for WorkflowRunTriggeredBy.
type WorkflowRunsList ¶ added in v0.1.23
type WorkflowRunsList struct {
Data []struct {
Attributes struct {
ActionItemId *string `json:"action_item_id"`
AlertId *string `json:"alert_id"`
CanceledAt *string `json:"canceled_at"`
CompletedAt *string `json:"completed_at"`
FailedAt *string `json:"failed_at"`
IncidentId *string `json:"incident_id"`
PostMortemId *string `json:"post_mortem_id"`
PulseId *string `json:"pulse_id"`
StartedAt *string `json:"started_at"`
Status WorkflowRunsListDataAttributesStatus `json:"status"`
StatusMessage *string `json:"status_message"`
TriggeredBy WorkflowRunsListDataAttributesTriggeredBy `json:"triggered_by"`
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow run
Id string `json:"id"`
Type WorkflowRunsListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
WorkflowRunsList defines model for workflow_runs_list.
type WorkflowRunsListDataAttributesStatus ¶ added in v0.1.23
type WorkflowRunsListDataAttributesStatus string
WorkflowRunsListDataAttributesStatus defines model for WorkflowRunsList.Data.Attributes.Status.
const ( WorkflowRunsListDataAttributesStatusCanceled WorkflowRunsListDataAttributesStatus = "canceled" WorkflowRunsListDataAttributesStatusCompleted WorkflowRunsListDataAttributesStatus = "completed" WorkflowRunsListDataAttributesStatusFailed WorkflowRunsListDataAttributesStatus = "failed" WorkflowRunsListDataAttributesStatusQueued WorkflowRunsListDataAttributesStatus = "queued" WorkflowRunsListDataAttributesStatusStarted WorkflowRunsListDataAttributesStatus = "started" )
Defines values for WorkflowRunsListDataAttributesStatus.
type WorkflowRunsListDataAttributesTriggeredBy ¶ added in v0.1.23
type WorkflowRunsListDataAttributesTriggeredBy string
WorkflowRunsListDataAttributesTriggeredBy defines model for WorkflowRunsList.Data.Attributes.TriggeredBy.
const ( WorkflowRunsListDataAttributesTriggeredBySystem WorkflowRunsListDataAttributesTriggeredBy = "system" WorkflowRunsListDataAttributesTriggeredByUser WorkflowRunsListDataAttributesTriggeredBy = "user" )
Defines values for WorkflowRunsListDataAttributesTriggeredBy.
type WorkflowRunsListDataType ¶ added in v0.1.23
type WorkflowRunsListDataType string
WorkflowRunsListDataType defines model for WorkflowRunsList.Data.Type.
const (
WorkflowRuns WorkflowRunsListDataType = "workflow_runs"
)
Defines values for WorkflowRunsListDataType.
type WorkflowTask ¶
type WorkflowTask struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Enable/disable workflow task
Enabled bool `json:"enabled"`
// Name of the workflow task
Name *string `json:"name,omitempty"`
// The position of the workflow task
Position float32 `json:"position"`
// Skip workflow task if any failures
SkipOnFailure bool `json:"skip_on_failure"`
TaskParams interface{} `json:"task_params"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The ID of the parent workflow
WorkflowId string `json:"workflow_id"`
}
WorkflowTask defines model for workflow_task.
type WorkflowTaskList ¶
type WorkflowTaskList struct {
Data []struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Enable/disable workflow task
Enabled bool `json:"enabled"`
// Name of the workflow task
Name *string `json:"name,omitempty"`
// The position of the workflow task
Position float32 `json:"position"`
// Skip workflow task if any failures
SkipOnFailure bool `json:"skip_on_failure"`
TaskParams interface{} `json:"task_params"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The ID of the parent workflow
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow task
Id string `json:"id"`
Type WorkflowTaskListDataType `json:"type"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Next *string `json:"next"`
Prev *string `json:"prev"`
Self string `json:"self"`
} `json:"links"`
}
WorkflowTaskList defines model for workflow_task_list.
type WorkflowTaskListDataType ¶
type WorkflowTaskListDataType string
WorkflowTaskListDataType defines model for WorkflowTaskList.Data.Type.
const (
WorkflowTaskListDataTypeWorkflowTasks WorkflowTaskListDataType = "workflow_tasks"
)
Defines values for WorkflowTaskListDataType.
type WorkflowTaskResponse ¶
type WorkflowTaskResponse struct {
Data struct {
Attributes struct {
// Date of creation
CreatedAt string `json:"created_at"`
// Enable/disable workflow task
Enabled bool `json:"enabled"`
// Name of the workflow task
Name *string `json:"name,omitempty"`
// The position of the workflow task
Position float32 `json:"position"`
// Skip workflow task if any failures
SkipOnFailure bool `json:"skip_on_failure"`
TaskParams interface{} `json:"task_params"`
// Date of last update
UpdatedAt string `json:"updated_at"`
// The ID of the parent workflow
WorkflowId string `json:"workflow_id"`
} `json:"attributes"`
// Unique ID of the workflow task
Id string `json:"id"`
Type WorkflowTaskResponseDataType `json:"type"`
} `json:"data"`
}
WorkflowTaskResponse defines model for workflow_task_response.
type WorkflowTaskResponseDataType ¶
type WorkflowTaskResponseDataType string
WorkflowTaskResponseDataType defines model for WorkflowTaskResponse.Data.Type.
const (
WorkflowTaskResponseDataTypeWorkflowTasks WorkflowTaskResponseDataType = "workflow_tasks"
)
Defines values for WorkflowTaskResponseDataType.