Documentation ¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- func NewActionsV1ListRequest(server string, params *ActionsV1ListParams) (*http.Request, error)
- func NewActionsV1ShowRequest(server string, id string) (*http.Request, error)
- func NewActionsV2ListRequest(server string, params *ActionsV2ListParams) (*http.Request, error)
- func NewActionsV2ShowRequest(server string, id string) (*http.Request, error)
- func NewCatalogV2CreateEntryRequest(server string, body CatalogV2CreateEntryJSONRequestBody) (*http.Request, error)
- func NewCatalogV2CreateEntryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCatalogV2CreateTypeRequest(server string, body CatalogV2CreateTypeJSONRequestBody) (*http.Request, error)
- func NewCatalogV2CreateTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCatalogV2DestroyEntryRequest(server string, id string) (*http.Request, error)
- func NewCatalogV2DestroyTypeRequest(server string, id string) (*http.Request, error)
- func NewCatalogV2ListEntriesRequest(server string, params *CatalogV2ListEntriesParams) (*http.Request, error)
- func NewCatalogV2ListResourcesRequest(server string) (*http.Request, error)
- func NewCatalogV2ListTypesRequest(server string) (*http.Request, error)
- func NewCatalogV2ShowEntryRequest(server string, id string) (*http.Request, error)
- func NewCatalogV2ShowTypeRequest(server string, id string) (*http.Request, error)
- func NewCatalogV2UpdateEntryRequest(server string, id string, body CatalogV2UpdateEntryJSONRequestBody) (*http.Request, error)
- func NewCatalogV2UpdateEntryRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCatalogV2UpdateTypeRequest(server string, id string, body CatalogV2UpdateTypeJSONRequestBody) (*http.Request, error)
- func NewCatalogV2UpdateTypeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCatalogV2UpdateTypeSchemaRequest(server string, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody) (*http.Request, error)
- func NewCatalogV2UpdateTypeSchemaRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCustomFieldOptionsV1CreateRequest(server string, body CustomFieldOptionsV1CreateJSONRequestBody) (*http.Request, error)
- func NewCustomFieldOptionsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCustomFieldOptionsV1DeleteRequest(server string, id string) (*http.Request, error)
- func NewCustomFieldOptionsV1ListRequest(server string, params *CustomFieldOptionsV1ListParams) (*http.Request, error)
- func NewCustomFieldOptionsV1ShowRequest(server string, id string) (*http.Request, error)
- func NewCustomFieldOptionsV1UpdateRequest(server string, id string, body CustomFieldOptionsV1UpdateJSONRequestBody) (*http.Request, error)
- func NewCustomFieldOptionsV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCustomFieldsV1CreateRequest(server string, body CustomFieldsV1CreateJSONRequestBody) (*http.Request, error)
- func NewCustomFieldsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCustomFieldsV1DeleteRequest(server string, id string) (*http.Request, error)
- func NewCustomFieldsV1ListRequest(server string) (*http.Request, error)
- func NewCustomFieldsV1ShowRequest(server string, id string) (*http.Request, error)
- func NewCustomFieldsV1UpdateRequest(server string, id string, body CustomFieldsV1UpdateJSONRequestBody) (*http.Request, error)
- func NewCustomFieldsV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCustomFieldsV2CreateRequest(server string, body CustomFieldsV2CreateJSONRequestBody) (*http.Request, error)
- func NewCustomFieldsV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCustomFieldsV2DeleteRequest(server string, id string) (*http.Request, error)
- func NewCustomFieldsV2ListRequest(server string) (*http.Request, error)
- func NewCustomFieldsV2ShowRequest(server string, id string) (*http.Request, error)
- func NewCustomFieldsV2UpdateRequest(server string, id string, body CustomFieldsV2UpdateJSONRequestBody) (*http.Request, error)
- func NewCustomFieldsV2UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewFollowUpsV2ListRequest(server string, params *FollowUpsV2ListParams) (*http.Request, error)
- func NewFollowUpsV2ShowRequest(server string, id string) (*http.Request, error)
- func NewIncidentAttachmentsV1CreateRequest(server string, body IncidentAttachmentsV1CreateJSONRequestBody) (*http.Request, error)
- func NewIncidentAttachmentsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentAttachmentsV1DeleteRequest(server string, id string) (*http.Request, error)
- func NewIncidentAttachmentsV1ListRequest(server string, params *IncidentAttachmentsV1ListParams) (*http.Request, error)
- func NewIncidentMembershipsV1CreateRequest(server string, body IncidentMembershipsV1CreateJSONRequestBody) (*http.Request, error)
- func NewIncidentMembershipsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentMembershipsV1RevokeRequest(server string, body IncidentMembershipsV1RevokeJSONRequestBody) (*http.Request, error)
- func NewIncidentMembershipsV1RevokeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentRolesV1CreateRequest(server string, body IncidentRolesV1CreateJSONRequestBody) (*http.Request, error)
- func NewIncidentRolesV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentRolesV1DeleteRequest(server string, id string) (*http.Request, error)
- func NewIncidentRolesV1ListRequest(server string) (*http.Request, error)
- func NewIncidentRolesV1ShowRequest(server string, id string) (*http.Request, error)
- func NewIncidentRolesV1UpdateRequest(server string, id string, body IncidentRolesV1UpdateJSONRequestBody) (*http.Request, error)
- func NewIncidentRolesV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentRolesV2CreateRequest(server string, body IncidentRolesV2CreateJSONRequestBody) (*http.Request, error)
- func NewIncidentRolesV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentRolesV2DeleteRequest(server string, id string) (*http.Request, error)
- func NewIncidentRolesV2ListRequest(server string) (*http.Request, error)
- func NewIncidentRolesV2ShowRequest(server string, id string) (*http.Request, error)
- func NewIncidentRolesV2UpdateRequest(server string, id string, body IncidentRolesV2UpdateJSONRequestBody) (*http.Request, error)
- func NewIncidentRolesV2UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentStatusesV1CreateRequest(server string, body IncidentStatusesV1CreateJSONRequestBody) (*http.Request, error)
- func NewIncidentStatusesV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentStatusesV1DeleteRequest(server string, id string) (*http.Request, error)
- func NewIncidentStatusesV1ListRequest(server string) (*http.Request, error)
- func NewIncidentStatusesV1ShowRequest(server string, id string) (*http.Request, error)
- func NewIncidentStatusesV1UpdateRequest(server string, id string, body IncidentStatusesV1UpdateJSONRequestBody) (*http.Request, error)
- func NewIncidentStatusesV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentTimestampsV2ListRequest(server string) (*http.Request, error)
- func NewIncidentTimestampsV2ShowRequest(server string, id string) (*http.Request, error)
- func NewIncidentTypesV1ListRequest(server string) (*http.Request, error)
- func NewIncidentTypesV1ShowRequest(server string, id string) (*http.Request, error)
- func NewIncidentUpdatesV2ListRequest(server string, params *IncidentUpdatesV2ListParams) (*http.Request, error)
- func NewIncidentsV1CreateRequest(server string, body IncidentsV1CreateJSONRequestBody) (*http.Request, error)
- func NewIncidentsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentsV1ListRequest(server string, params *IncidentsV1ListParams) (*http.Request, error)
- func NewIncidentsV1ShowRequest(server string, id string) (*http.Request, error)
- func NewIncidentsV2CreateRequest(server string, body IncidentsV2CreateJSONRequestBody) (*http.Request, error)
- func NewIncidentsV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentsV2EditRequest(server string, id string, body IncidentsV2EditJSONRequestBody) (*http.Request, error)
- func NewIncidentsV2EditRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewIncidentsV2ListRequest(server string, params *IncidentsV2ListParams) (*http.Request, error)
- func NewIncidentsV2ShowRequest(server string, id string) (*http.Request, error)
- func NewSeveritiesV1CreateRequest(server string, body SeveritiesV1CreateJSONRequestBody) (*http.Request, error)
- func NewSeveritiesV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSeveritiesV1DeleteRequest(server string, id string) (*http.Request, error)
- func NewSeveritiesV1ListRequest(server string) (*http.Request, error)
- func NewSeveritiesV1ShowRequest(server string, id string) (*http.Request, error)
- func NewSeveritiesV1UpdateRequest(server string, id string, body SeveritiesV1UpdateJSONRequestBody) (*http.Request, error)
- func NewSeveritiesV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUsersV2ListRequest(server string, params *UsersV2ListParams) (*http.Request, error)
- func NewUsersV2ShowRequest(server string, id string) (*http.Request, error)
- func NewUtilitiesV1IdentityRequest(server string) (*http.Request, error)
- func NewUtilitiesV1OpenAPIRequest(server string) (*http.Request, error)
- func Wrap(next http.RoundTripper, ...) http.RoundTripper
- type APIKeyV2
- type ActionV1
- type ActionV1Status
- type ActionV2
- type ActionV2Status
- type ActionsV1ListParams
- type ActionsV1ListParamsIncidentMode
- type ActionsV1ListResponse
- type ActionsV1ShowResponse
- type ActionsV2ListParams
- type ActionsV2ListParamsIncidentMode
- type ActionsV2ListResponse
- type ActionsV2ShowResponse
- type ActorV2
- type CatalogEntryReferenceV2
- type CatalogEntryV2
- type CatalogResourceV2
- type CatalogResourceV2Category
- type CatalogTypeAttributePayloadV2
- type CatalogTypeAttributePayloadV2Mode
- type CatalogTypeAttributeV2
- type CatalogTypeAttributeV2Mode
- type CatalogTypeSchemaV2
- type CatalogTypeV2
- type CatalogTypeV2Color
- type CatalogTypeV2Icon
- type CatalogV2CreateEntryJSONRequestBody
- type CatalogV2CreateEntryResponse
- type CatalogV2CreateTypeJSONRequestBody
- type CatalogV2CreateTypeResponse
- type CatalogV2DestroyEntryResponse
- type CatalogV2DestroyTypeResponse
- type CatalogV2ListEntriesParams
- type CatalogV2ListEntriesResponse
- type CatalogV2ListResourcesResponse
- type CatalogV2ListTypesResponse
- type CatalogV2ShowEntryResponse
- type CatalogV2ShowTypeResponse
- type CatalogV2UpdateEntryJSONRequestBody
- type CatalogV2UpdateEntryResponse
- type CatalogV2UpdateTypeJSONRequestBody
- type CatalogV2UpdateTypeResponse
- type CatalogV2UpdateTypeSchemaJSONRequestBody
- type CatalogV2UpdateTypeSchemaResponse
- type Client
- func (c *Client) ActionsV1List(ctx context.Context, params *ActionsV1ListParams, ...) (*http.Response, error)
- func (c *Client) ActionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ActionsV2List(ctx context.Context, params *ActionsV2ListParams, ...) (*http.Response, error)
- func (c *Client) ActionsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogV2CreateEntry(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CatalogV2CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CatalogV2CreateType(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CatalogV2CreateTypeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CatalogV2DestroyEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogV2DestroyType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogV2ListEntries(ctx context.Context, params *CatalogV2ListEntriesParams, ...) (*http.Response, error)
- func (c *Client) CatalogV2ListResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogV2ListTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogV2ShowEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogV2ShowType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogV2UpdateEntry(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CatalogV2UpdateEntryWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CatalogV2UpdateType(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CatalogV2UpdateTypeSchema(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CatalogV2UpdateTypeSchemaWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CatalogV2UpdateTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CustomFieldOptionsV1Create(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CustomFieldOptionsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CustomFieldOptionsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldOptionsV1List(ctx context.Context, params *CustomFieldOptionsV1ListParams, ...) (*http.Response, error)
- func (c *Client) CustomFieldOptionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldOptionsV1Update(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CustomFieldOptionsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV1Create(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldsV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldsV1Update(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV2Create(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CustomFieldsV2Update(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CustomFieldsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FollowUpsV2List(ctx context.Context, params *FollowUpsV2ListParams, ...) (*http.Response, error)
- func (c *Client) FollowUpsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentAttachmentsV1Create(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentAttachmentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentAttachmentsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentAttachmentsV1List(ctx context.Context, params *IncidentAttachmentsV1ListParams, ...) (*http.Response, error)
- func (c *Client) IncidentMembershipsV1Create(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentMembershipsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentMembershipsV1Revoke(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentMembershipsV1RevokeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV1Create(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentRolesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentRolesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentRolesV1Update(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV2Create(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentRolesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentRolesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentRolesV2Update(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentRolesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentStatusesV1Create(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentStatusesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentStatusesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentStatusesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentStatusesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentStatusesV1Update(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentStatusesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentTimestampsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentTimestampsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentTypesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentTypesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentUpdatesV2List(ctx context.Context, params *IncidentUpdatesV2ListParams, ...) (*http.Response, error)
- func (c *Client) IncidentsV1Create(ctx context.Context, body IncidentsV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentsV1List(ctx context.Context, params *IncidentsV1ListParams, ...) (*http.Response, error)
- func (c *Client) IncidentsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IncidentsV2Create(ctx context.Context, body IncidentsV2CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentsV2Edit(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IncidentsV2EditWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IncidentsV2List(ctx context.Context, params *IncidentsV2ListParams, ...) (*http.Response, error)
- func (c *Client) IncidentsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SeveritiesV1Create(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SeveritiesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SeveritiesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SeveritiesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SeveritiesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SeveritiesV1Update(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SeveritiesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UsersV2List(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UsersV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UtilitiesV1Identity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UtilitiesV1OpenAPI(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActionsV1ListWithResponse(ctx context.Context, params *ActionsV1ListParams, ...) (*ActionsV1ListResponse, error)
- func (c *ClientWithResponses) ActionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV1ShowResponse, error)
- func (c *ClientWithResponses) ActionsV2ListWithResponse(ctx context.Context, params *ActionsV2ListParams, ...) (*ActionsV2ListResponse, error)
- func (c *ClientWithResponses) ActionsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2ShowResponse, error)
- func (c *ClientWithResponses) CatalogV2CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CatalogV2CreateEntryResponse, error)
- func (c *ClientWithResponses) CatalogV2CreateEntryWithResponse(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, ...) (*CatalogV2CreateEntryResponse, error)
- func (c *ClientWithResponses) CatalogV2CreateTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CatalogV2CreateTypeResponse, error)
- func (c *ClientWithResponses) CatalogV2CreateTypeWithResponse(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, ...) (*CatalogV2CreateTypeResponse, error)
- func (c *ClientWithResponses) CatalogV2DestroyEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyEntryResponse, error)
- func (c *ClientWithResponses) CatalogV2DestroyTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyTypeResponse, error)
- func (c *ClientWithResponses) CatalogV2ListEntriesWithResponse(ctx context.Context, params *CatalogV2ListEntriesParams, ...) (*CatalogV2ListEntriesResponse, error)
- func (c *ClientWithResponses) CatalogV2ListResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListResourcesResponse, error)
- func (c *ClientWithResponses) CatalogV2ListTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListTypesResponse, error)
- func (c *ClientWithResponses) CatalogV2ShowEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowEntryResponse, error)
- func (c *ClientWithResponses) CatalogV2ShowTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowTypeResponse, error)
- func (c *ClientWithResponses) CatalogV2UpdateEntryWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CatalogV2UpdateEntryResponse, error)
- func (c *ClientWithResponses) CatalogV2UpdateEntryWithResponse(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, ...) (*CatalogV2UpdateEntryResponse, error)
- func (c *ClientWithResponses) CatalogV2UpdateTypeSchemaWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CatalogV2UpdateTypeSchemaResponse, error)
- func (c *ClientWithResponses) CatalogV2UpdateTypeSchemaWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, ...) (*CatalogV2UpdateTypeSchemaResponse, error)
- func (c *ClientWithResponses) CatalogV2UpdateTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CatalogV2UpdateTypeResponse, error)
- func (c *ClientWithResponses) CatalogV2UpdateTypeWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, ...) (*CatalogV2UpdateTypeResponse, error)
- func (c *ClientWithResponses) CustomFieldOptionsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CustomFieldOptionsV1CreateResponse, error)
- func (c *ClientWithResponses) CustomFieldOptionsV1CreateWithResponse(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, ...) (*CustomFieldOptionsV1CreateResponse, error)
- func (c *ClientWithResponses) CustomFieldOptionsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1DeleteResponse, error)
- func (c *ClientWithResponses) CustomFieldOptionsV1ListWithResponse(ctx context.Context, params *CustomFieldOptionsV1ListParams, ...) (*CustomFieldOptionsV1ListResponse, error)
- func (c *ClientWithResponses) CustomFieldOptionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ShowResponse, error)
- func (c *ClientWithResponses) CustomFieldOptionsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CustomFieldOptionsV1UpdateResponse, error)
- func (c *ClientWithResponses) CustomFieldOptionsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, ...) (*CustomFieldOptionsV1UpdateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CustomFieldsV1CreateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV1CreateWithResponse(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, ...) (*CustomFieldsV1CreateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1DeleteResponse, error)
- func (c *ClientWithResponses) CustomFieldsV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV1ListResponse, error)
- func (c *ClientWithResponses) CustomFieldsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1ShowResponse, error)
- func (c *ClientWithResponses) CustomFieldsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CustomFieldsV1UpdateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, ...) (*CustomFieldsV1UpdateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CustomFieldsV2CreateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV2CreateWithResponse(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, ...) (*CustomFieldsV2CreateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2DeleteResponse, error)
- func (c *ClientWithResponses) CustomFieldsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV2ListResponse, error)
- func (c *ClientWithResponses) CustomFieldsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2ShowResponse, error)
- func (c *ClientWithResponses) CustomFieldsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CustomFieldsV2UpdateResponse, error)
- func (c *ClientWithResponses) CustomFieldsV2UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, ...) (*CustomFieldsV2UpdateResponse, error)
- func (c *ClientWithResponses) FollowUpsV2ListWithResponse(ctx context.Context, params *FollowUpsV2ListParams, ...) (*FollowUpsV2ListResponse, error)
- func (c *ClientWithResponses) FollowUpsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2ShowResponse, error)
- func (c *ClientWithResponses) IncidentAttachmentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentAttachmentsV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentAttachmentsV1CreateWithResponse(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, ...) (*IncidentAttachmentsV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentAttachmentsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1DeleteResponse, error)
- func (c *ClientWithResponses) IncidentAttachmentsV1ListWithResponse(ctx context.Context, params *IncidentAttachmentsV1ListParams, ...) (*IncidentAttachmentsV1ListResponse, error)
- func (c *ClientWithResponses) IncidentMembershipsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentMembershipsV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentMembershipsV1CreateWithResponse(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, ...) (*IncidentMembershipsV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentMembershipsV1RevokeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentMembershipsV1RevokeResponse, error)
- func (c *ClientWithResponses) IncidentMembershipsV1RevokeWithResponse(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, ...) (*IncidentMembershipsV1RevokeResponse, error)
- func (c *ClientWithResponses) IncidentRolesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentRolesV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentRolesV1CreateWithResponse(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, ...) (*IncidentRolesV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentRolesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1DeleteResponse, error)
- func (c *ClientWithResponses) IncidentRolesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV1ListResponse, error)
- func (c *ClientWithResponses) IncidentRolesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1ShowResponse, error)
- func (c *ClientWithResponses) IncidentRolesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*IncidentRolesV1UpdateResponse, error)
- func (c *ClientWithResponses) IncidentRolesV1UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, ...) (*IncidentRolesV1UpdateResponse, error)
- func (c *ClientWithResponses) IncidentRolesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentRolesV2CreateResponse, error)
- func (c *ClientWithResponses) IncidentRolesV2CreateWithResponse(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, ...) (*IncidentRolesV2CreateResponse, error)
- func (c *ClientWithResponses) IncidentRolesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2DeleteResponse, error)
- func (c *ClientWithResponses) IncidentRolesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV2ListResponse, error)
- func (c *ClientWithResponses) IncidentRolesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2ShowResponse, error)
- func (c *ClientWithResponses) IncidentRolesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*IncidentRolesV2UpdateResponse, error)
- func (c *ClientWithResponses) IncidentRolesV2UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, ...) (*IncidentRolesV2UpdateResponse, error)
- func (c *ClientWithResponses) IncidentStatusesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentStatusesV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentStatusesV1CreateWithResponse(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, ...) (*IncidentStatusesV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentStatusesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1DeleteResponse, error)
- func (c *ClientWithResponses) IncidentStatusesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ListResponse, error)
- func (c *ClientWithResponses) IncidentStatusesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ShowResponse, error)
- func (c *ClientWithResponses) IncidentStatusesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*IncidentStatusesV1UpdateResponse, error)
- func (c *ClientWithResponses) IncidentStatusesV1UpdateWithResponse(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, ...) (*IncidentStatusesV1UpdateResponse, error)
- func (c *ClientWithResponses) IncidentTimestampsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ListResponse, error)
- func (c *ClientWithResponses) IncidentTimestampsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ShowResponse, error)
- func (c *ClientWithResponses) IncidentTypesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTypesV1ListResponse, error)
- func (c *ClientWithResponses) IncidentTypesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTypesV1ShowResponse, error)
- func (c *ClientWithResponses) IncidentUpdatesV2ListWithResponse(ctx context.Context, params *IncidentUpdatesV2ListParams, ...) (*IncidentUpdatesV2ListResponse, error)
- func (c *ClientWithResponses) IncidentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentsV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentsV1CreateWithResponse(ctx context.Context, body IncidentsV1CreateJSONRequestBody, ...) (*IncidentsV1CreateResponse, error)
- func (c *ClientWithResponses) IncidentsV1ListWithResponse(ctx context.Context, params *IncidentsV1ListParams, ...) (*IncidentsV1ListResponse, error)
- func (c *ClientWithResponses) IncidentsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV1ShowResponse, error)
- func (c *ClientWithResponses) IncidentsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncidentsV2CreateResponse, error)
- func (c *ClientWithResponses) IncidentsV2CreateWithResponse(ctx context.Context, body IncidentsV2CreateJSONRequestBody, ...) (*IncidentsV2CreateResponse, error)
- func (c *ClientWithResponses) IncidentsV2EditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*IncidentsV2EditResponse, error)
- func (c *ClientWithResponses) IncidentsV2EditWithResponse(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, ...) (*IncidentsV2EditResponse, error)
- func (c *ClientWithResponses) IncidentsV2ListWithResponse(ctx context.Context, params *IncidentsV2ListParams, ...) (*IncidentsV2ListResponse, error)
- func (c *ClientWithResponses) IncidentsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV2ShowResponse, error)
- func (c *ClientWithResponses) SeveritiesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SeveritiesV1CreateResponse, error)
- func (c *ClientWithResponses) SeveritiesV1CreateWithResponse(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, ...) (*SeveritiesV1CreateResponse, error)
- func (c *ClientWithResponses) SeveritiesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1DeleteResponse, error)
- func (c *ClientWithResponses) SeveritiesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SeveritiesV1ListResponse, error)
- func (c *ClientWithResponses) SeveritiesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1ShowResponse, error)
- func (c *ClientWithResponses) SeveritiesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*SeveritiesV1UpdateResponse, error)
- func (c *ClientWithResponses) SeveritiesV1UpdateWithResponse(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, ...) (*SeveritiesV1UpdateResponse, error)
- func (c *ClientWithResponses) UsersV2ListWithResponse(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*UsersV2ListResponse, error)
- func (c *ClientWithResponses) UsersV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersV2ShowResponse, error)
- func (c *ClientWithResponses) UtilitiesV1IdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1IdentityResponse, error)
- func (c *ClientWithResponses) UtilitiesV1OpenAPIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1OpenAPIResponse, error)
- type ClientWithResponsesInterface
- type CreateEntryRequestBody
- type CreateEntryResponseBody
- type CreateRequestBody
- type CreateRequestBody10
- type CreateRequestBody10Mode
- type CreateRequestBody10Visibility
- type CreateRequestBody11
- type CreateRequestBody2
- type CreateRequestBody2FieldType
- type CreateRequestBody2Required
- type CreateRequestBody2RequiredV2
- type CreateRequestBody3
- type CreateRequestBody3FieldType
- type CreateRequestBody4
- type CreateRequestBody4ResourceResourceType
- type CreateRequestBody5
- type CreateRequestBody6
- type CreateRequestBody7
- type CreateRequestBody8
- type CreateRequestBody8Category
- type CreateRequestBody9
- type CreateRequestBody9Mode
- type CreateRequestBody9Status
- type CreateRequestBody9Visibility
- type CreateResponseBody
- type CreateResponseBody2
- type CreateTypeRequestBody
- type CreateTypeRequestBodyColor
- type CreateTypeRequestBodyIcon
- type CreateTypeResponseBody
- type CustomFieldEntryPayloadV1
- type CustomFieldEntryV1
- type CustomFieldOptionV1
- type CustomFieldOptionsV1CreateJSONRequestBody
- type CustomFieldOptionsV1CreateResponse
- type CustomFieldOptionsV1DeleteResponse
- type CustomFieldOptionsV1ListParams
- type CustomFieldOptionsV1ListResponse
- type CustomFieldOptionsV1ShowResponse
- type CustomFieldOptionsV1UpdateJSONRequestBody
- type CustomFieldOptionsV1UpdateResponse
- type CustomFieldTypeInfoV1
- type CustomFieldTypeInfoV1FieldType
- type CustomFieldV1
- type CustomFieldV1FieldType
- type CustomFieldV1Required
- type CustomFieldV1RequiredV2
- type CustomFieldV2
- type CustomFieldV2FieldType
- type CustomFieldValuePayloadV1
- type CustomFieldValueV1
- type CustomFieldsV1CreateJSONRequestBody
- type CustomFieldsV1CreateResponse
- type CustomFieldsV1DeleteResponse
- type CustomFieldsV1ListResponse
- type CustomFieldsV1ShowResponse
- type CustomFieldsV1UpdateJSONRequestBody
- type CustomFieldsV1UpdateResponse
- type CustomFieldsV2CreateJSONRequestBody
- type CustomFieldsV2CreateResponse
- type CustomFieldsV2DeleteResponse
- type CustomFieldsV2ListResponse
- type CustomFieldsV2ShowResponse
- type CustomFieldsV2UpdateJSONRequestBody
- type CustomFieldsV2UpdateResponse
- type EditRequestBody
- type EmbeddedCatalogEntryV1
- type EngineParamBindingPayloadV2
- type EngineParamBindingV2
- type EngineParamBindingValuePayloadV2
- type EngineParamBindingValueV2
- type ExternalIssueReferenceV1
- type ExternalIssueReferenceV1Provider
- type ExternalIssueReferenceV2
- type ExternalIssueReferenceV2Provider
- type ExternalResourceV1
- type ExternalResourceV1ResourceType
- type FollowUpPriorityV2
- type FollowUpV2
- type FollowUpV2Status
- type FollowUpsV2ListParams
- type FollowUpsV2ListParamsIncidentMode
- type FollowUpsV2ListResponse
- type FollowUpsV2ShowResponse
- type HttpRequestDoer
- type IdentityResponseBody
- type IdentityV1
- type IdentityV1Roles
- type IncidentAttachmentV1
- type IncidentAttachmentsV1CreateJSONRequestBody
- type IncidentAttachmentsV1CreateResponse
- type IncidentAttachmentsV1DeleteResponse
- type IncidentAttachmentsV1ListParams
- type IncidentAttachmentsV1ListParamsResourceType
- type IncidentAttachmentsV1ListResponse
- type IncidentEditPayloadV2
- type IncidentMembership
- type IncidentMembershipsV1CreateJSONRequestBody
- type IncidentMembershipsV1CreateResponse
- type IncidentMembershipsV1RevokeJSONRequestBody
- type IncidentMembershipsV1RevokeResponse
- type IncidentRoleAssignmentPayloadV1
- type IncidentRoleAssignmentPayloadV2
- type IncidentRoleAssignmentV1
- type IncidentRoleV1
- type IncidentRoleV1RoleType
- type IncidentRoleV2
- type IncidentRoleV2RoleType
- type IncidentRolesV1CreateJSONRequestBody
- type IncidentRolesV1CreateResponse
- type IncidentRolesV1DeleteResponse
- type IncidentRolesV1ListResponse
- type IncidentRolesV1ShowResponse
- type IncidentRolesV1UpdateJSONRequestBody
- type IncidentRolesV1UpdateResponse
- type IncidentRolesV2CreateJSONRequestBody
- type IncidentRolesV2CreateResponse
- type IncidentRolesV2DeleteResponse
- type IncidentRolesV2ListResponse
- type IncidentRolesV2ShowResponse
- type IncidentRolesV2UpdateJSONRequestBody
- type IncidentRolesV2UpdateResponse
- type IncidentStatusV1
- type IncidentStatusV1Category
- type IncidentStatusesV1CreateJSONRequestBody
- type IncidentStatusesV1CreateResponse
- type IncidentStatusesV1DeleteResponse
- type IncidentStatusesV1ListResponse
- type IncidentStatusesV1ShowResponse
- type IncidentStatusesV1UpdateJSONRequestBody
- type IncidentStatusesV1UpdateResponse
- type IncidentTimestampV1
- type IncidentTimestampV2
- type IncidentTimestampValuePayloadV2
- type IncidentTimestampValueV2
- type IncidentTimestampWithValueV2
- type IncidentTimestampsV2ListResponse
- type IncidentTimestampsV2ShowResponse
- type IncidentTypeV1
- type IncidentTypeV1CreateInTriage
- type IncidentTypesV1ListResponse
- type IncidentTypesV1ShowResponse
- type IncidentUpdateV2
- type IncidentUpdatesV2ListParams
- type IncidentUpdatesV2ListResponse
- type IncidentV1
- type IncidentV1Mode
- type IncidentV1Status
- type IncidentV1Visibility
- type IncidentV2
- type IncidentV2Mode
- type IncidentV2Visibility
- type IncidentsV1CreateJSONRequestBody
- type IncidentsV1CreateResponse
- type IncidentsV1ListParams
- type IncidentsV1ListResponse
- type IncidentsV1ShowResponse
- type IncidentsV2CreateJSONRequestBody
- type IncidentsV2CreateResponse
- type IncidentsV2EditJSONRequestBody
- type IncidentsV2EditResponse
- type IncidentsV2ListParams
- type IncidentsV2ListResponse
- type IncidentsV2ShowResponse
- type ListEntriesResponseBody
- type ListResourcesResponseBody
- type ListResponseBody
- type ListResponseBody10
- type ListResponseBody11
- type ListResponseBody12
- type ListResponseBody13
- type ListResponseBody14
- type ListResponseBody15
- type ListResponseBody16
- type ListResponseBody17
- type ListResponseBody2
- type ListResponseBody3
- type ListResponseBody4
- type ListResponseBody5
- type ListResponseBody6
- type ListResponseBody7
- type ListResponseBody8
- type ListResponseBody9
- type ListTypesResponseBody
- type PaginationMetaResult
- type PaginationMetaResultWithTotal
- type RequestEditorFn
- type RetrospectiveIncidentOptionsV2
- type RoundTripperFunc
- type SeveritiesV1CreateJSONRequestBody
- type SeveritiesV1CreateResponse
- type SeveritiesV1DeleteResponse
- type SeveritiesV1ListResponse
- type SeveritiesV1ShowResponse
- type SeveritiesV1UpdateJSONRequestBody
- type SeveritiesV1UpdateResponse
- type SeverityV2
- type ShowEntryResponseBody
- type ShowResponseBody
- type ShowResponseBody10
- type ShowResponseBody11
- type ShowResponseBody12
- type ShowResponseBody13
- type ShowResponseBody14
- type ShowResponseBody15
- type ShowResponseBody2
- type ShowResponseBody3
- type ShowResponseBody4
- type ShowResponseBody5
- type ShowResponseBody6
- type ShowResponseBody7
- type ShowResponseBody8
- type ShowResponseBody9
- type UpdateEntryRequestBody
- type UpdateRequestBody
- type UpdateRequestBody2
- type UpdateRequestBody2Required
- type UpdateRequestBody2RequiredV2
- type UpdateRequestBody3
- type UpdateRequestBody4
- type UpdateRequestBody5
- type UpdateRequestBody6
- type UpdateTypeRequestBody
- type UpdateTypeRequestBodyColor
- type UpdateTypeRequestBodyIcon
- type UpdateTypeSchemaRequestBody
- type UserReferencePayloadV1
- type UserV1
- type UserV1Role
- type UsersV2ListParams
- type UsersV2ListResponse
- type UsersV2ShowResponse
- type UtilitiesV1IdentityResponse
- type UtilitiesV1OpenAPIResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActionsV1ListRequest ¶
func NewActionsV1ListRequest(server string, params *ActionsV1ListParams) (*http.Request, error)
NewActionsV1ListRequest generates requests for ActionsV1List
func NewActionsV1ShowRequest ¶
NewActionsV1ShowRequest generates requests for ActionsV1Show
func NewActionsV2ListRequest ¶ added in v0.4.0
func NewActionsV2ListRequest(server string, params *ActionsV2ListParams) (*http.Request, error)
NewActionsV2ListRequest generates requests for ActionsV2List
func NewActionsV2ShowRequest ¶ added in v0.4.0
NewActionsV2ShowRequest generates requests for ActionsV2Show
func NewCatalogV2CreateEntryRequest ¶
func NewCatalogV2CreateEntryRequest(server string, body CatalogV2CreateEntryJSONRequestBody) (*http.Request, error)
NewCatalogV2CreateEntryRequest calls the generic CatalogV2CreateEntry builder with application/json body
func NewCatalogV2CreateEntryRequestWithBody ¶
func NewCatalogV2CreateEntryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCatalogV2CreateEntryRequestWithBody generates requests for CatalogV2CreateEntry with any type of body
func NewCatalogV2CreateTypeRequest ¶
func NewCatalogV2CreateTypeRequest(server string, body CatalogV2CreateTypeJSONRequestBody) (*http.Request, error)
NewCatalogV2CreateTypeRequest calls the generic CatalogV2CreateType builder with application/json body
func NewCatalogV2CreateTypeRequestWithBody ¶
func NewCatalogV2CreateTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCatalogV2CreateTypeRequestWithBody generates requests for CatalogV2CreateType with any type of body
func NewCatalogV2DestroyEntryRequest ¶
NewCatalogV2DestroyEntryRequest generates requests for CatalogV2DestroyEntry
func NewCatalogV2DestroyTypeRequest ¶
NewCatalogV2DestroyTypeRequest generates requests for CatalogV2DestroyType
func NewCatalogV2ListEntriesRequest ¶
func NewCatalogV2ListEntriesRequest(server string, params *CatalogV2ListEntriesParams) (*http.Request, error)
NewCatalogV2ListEntriesRequest generates requests for CatalogV2ListEntries
func NewCatalogV2ListResourcesRequest ¶
NewCatalogV2ListResourcesRequest generates requests for CatalogV2ListResources
func NewCatalogV2ListTypesRequest ¶
NewCatalogV2ListTypesRequest generates requests for CatalogV2ListTypes
func NewCatalogV2ShowEntryRequest ¶
NewCatalogV2ShowEntryRequest generates requests for CatalogV2ShowEntry
func NewCatalogV2ShowTypeRequest ¶
NewCatalogV2ShowTypeRequest generates requests for CatalogV2ShowType
func NewCatalogV2UpdateEntryRequest ¶
func NewCatalogV2UpdateEntryRequest(server string, id string, body CatalogV2UpdateEntryJSONRequestBody) (*http.Request, error)
NewCatalogV2UpdateEntryRequest calls the generic CatalogV2UpdateEntry builder with application/json body
func NewCatalogV2UpdateEntryRequestWithBody ¶
func NewCatalogV2UpdateEntryRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCatalogV2UpdateEntryRequestWithBody generates requests for CatalogV2UpdateEntry with any type of body
func NewCatalogV2UpdateTypeRequest ¶
func NewCatalogV2UpdateTypeRequest(server string, id string, body CatalogV2UpdateTypeJSONRequestBody) (*http.Request, error)
NewCatalogV2UpdateTypeRequest calls the generic CatalogV2UpdateType builder with application/json body
func NewCatalogV2UpdateTypeRequestWithBody ¶
func NewCatalogV2UpdateTypeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCatalogV2UpdateTypeRequestWithBody generates requests for CatalogV2UpdateType with any type of body
func NewCatalogV2UpdateTypeSchemaRequest ¶
func NewCatalogV2UpdateTypeSchemaRequest(server string, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody) (*http.Request, error)
NewCatalogV2UpdateTypeSchemaRequest calls the generic CatalogV2UpdateTypeSchema builder with application/json body
func NewCatalogV2UpdateTypeSchemaRequestWithBody ¶
func NewCatalogV2UpdateTypeSchemaRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCatalogV2UpdateTypeSchemaRequestWithBody generates requests for CatalogV2UpdateTypeSchema with any type of body
func NewCustomFieldOptionsV1CreateRequest ¶
func NewCustomFieldOptionsV1CreateRequest(server string, body CustomFieldOptionsV1CreateJSONRequestBody) (*http.Request, error)
NewCustomFieldOptionsV1CreateRequest calls the generic CustomFieldOptionsV1Create builder with application/json body
func NewCustomFieldOptionsV1CreateRequestWithBody ¶
func NewCustomFieldOptionsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCustomFieldOptionsV1CreateRequestWithBody generates requests for CustomFieldOptionsV1Create with any type of body
func NewCustomFieldOptionsV1DeleteRequest ¶
NewCustomFieldOptionsV1DeleteRequest generates requests for CustomFieldOptionsV1Delete
func NewCustomFieldOptionsV1ListRequest ¶
func NewCustomFieldOptionsV1ListRequest(server string, params *CustomFieldOptionsV1ListParams) (*http.Request, error)
NewCustomFieldOptionsV1ListRequest generates requests for CustomFieldOptionsV1List
func NewCustomFieldOptionsV1ShowRequest ¶
NewCustomFieldOptionsV1ShowRequest generates requests for CustomFieldOptionsV1Show
func NewCustomFieldOptionsV1UpdateRequest ¶
func NewCustomFieldOptionsV1UpdateRequest(server string, id string, body CustomFieldOptionsV1UpdateJSONRequestBody) (*http.Request, error)
NewCustomFieldOptionsV1UpdateRequest calls the generic CustomFieldOptionsV1Update builder with application/json body
func NewCustomFieldOptionsV1UpdateRequestWithBody ¶
func NewCustomFieldOptionsV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCustomFieldOptionsV1UpdateRequestWithBody generates requests for CustomFieldOptionsV1Update with any type of body
func NewCustomFieldsV1CreateRequest ¶
func NewCustomFieldsV1CreateRequest(server string, body CustomFieldsV1CreateJSONRequestBody) (*http.Request, error)
NewCustomFieldsV1CreateRequest calls the generic CustomFieldsV1Create builder with application/json body
func NewCustomFieldsV1CreateRequestWithBody ¶
func NewCustomFieldsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCustomFieldsV1CreateRequestWithBody generates requests for CustomFieldsV1Create with any type of body
func NewCustomFieldsV1DeleteRequest ¶
NewCustomFieldsV1DeleteRequest generates requests for CustomFieldsV1Delete
func NewCustomFieldsV1ListRequest ¶
NewCustomFieldsV1ListRequest generates requests for CustomFieldsV1List
func NewCustomFieldsV1ShowRequest ¶
NewCustomFieldsV1ShowRequest generates requests for CustomFieldsV1Show
func NewCustomFieldsV1UpdateRequest ¶
func NewCustomFieldsV1UpdateRequest(server string, id string, body CustomFieldsV1UpdateJSONRequestBody) (*http.Request, error)
NewCustomFieldsV1UpdateRequest calls the generic CustomFieldsV1Update builder with application/json body
func NewCustomFieldsV1UpdateRequestWithBody ¶
func NewCustomFieldsV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCustomFieldsV1UpdateRequestWithBody generates requests for CustomFieldsV1Update with any type of body
func NewCustomFieldsV2CreateRequest ¶ added in v0.4.0
func NewCustomFieldsV2CreateRequest(server string, body CustomFieldsV2CreateJSONRequestBody) (*http.Request, error)
NewCustomFieldsV2CreateRequest calls the generic CustomFieldsV2Create builder with application/json body
func NewCustomFieldsV2CreateRequestWithBody ¶ added in v0.4.0
func NewCustomFieldsV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCustomFieldsV2CreateRequestWithBody generates requests for CustomFieldsV2Create with any type of body
func NewCustomFieldsV2DeleteRequest ¶ added in v0.4.0
NewCustomFieldsV2DeleteRequest generates requests for CustomFieldsV2Delete
func NewCustomFieldsV2ListRequest ¶ added in v0.4.0
NewCustomFieldsV2ListRequest generates requests for CustomFieldsV2List
func NewCustomFieldsV2ShowRequest ¶ added in v0.4.0
NewCustomFieldsV2ShowRequest generates requests for CustomFieldsV2Show
func NewCustomFieldsV2UpdateRequest ¶ added in v0.4.0
func NewCustomFieldsV2UpdateRequest(server string, id string, body CustomFieldsV2UpdateJSONRequestBody) (*http.Request, error)
NewCustomFieldsV2UpdateRequest calls the generic CustomFieldsV2Update builder with application/json body
func NewCustomFieldsV2UpdateRequestWithBody ¶ added in v0.4.0
func NewCustomFieldsV2UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCustomFieldsV2UpdateRequestWithBody generates requests for CustomFieldsV2Update with any type of body
func NewFollowUpsV2ListRequest ¶ added in v0.4.0
func NewFollowUpsV2ListRequest(server string, params *FollowUpsV2ListParams) (*http.Request, error)
NewFollowUpsV2ListRequest generates requests for FollowUpsV2List
func NewFollowUpsV2ShowRequest ¶ added in v0.4.0
NewFollowUpsV2ShowRequest generates requests for FollowUpsV2Show
func NewIncidentAttachmentsV1CreateRequest ¶
func NewIncidentAttachmentsV1CreateRequest(server string, body IncidentAttachmentsV1CreateJSONRequestBody) (*http.Request, error)
NewIncidentAttachmentsV1CreateRequest calls the generic IncidentAttachmentsV1Create builder with application/json body
func NewIncidentAttachmentsV1CreateRequestWithBody ¶
func NewIncidentAttachmentsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentAttachmentsV1CreateRequestWithBody generates requests for IncidentAttachmentsV1Create with any type of body
func NewIncidentAttachmentsV1DeleteRequest ¶
NewIncidentAttachmentsV1DeleteRequest generates requests for IncidentAttachmentsV1Delete
func NewIncidentAttachmentsV1ListRequest ¶
func NewIncidentAttachmentsV1ListRequest(server string, params *IncidentAttachmentsV1ListParams) (*http.Request, error)
NewIncidentAttachmentsV1ListRequest generates requests for IncidentAttachmentsV1List
func NewIncidentMembershipsV1CreateRequest ¶ added in v0.4.0
func NewIncidentMembershipsV1CreateRequest(server string, body IncidentMembershipsV1CreateJSONRequestBody) (*http.Request, error)
NewIncidentMembershipsV1CreateRequest calls the generic IncidentMembershipsV1Create builder with application/json body
func NewIncidentMembershipsV1CreateRequestWithBody ¶ added in v0.4.0
func NewIncidentMembershipsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentMembershipsV1CreateRequestWithBody generates requests for IncidentMembershipsV1Create with any type of body
func NewIncidentMembershipsV1RevokeRequest ¶ added in v0.4.0
func NewIncidentMembershipsV1RevokeRequest(server string, body IncidentMembershipsV1RevokeJSONRequestBody) (*http.Request, error)
NewIncidentMembershipsV1RevokeRequest calls the generic IncidentMembershipsV1Revoke builder with application/json body
func NewIncidentMembershipsV1RevokeRequestWithBody ¶ added in v0.4.0
func NewIncidentMembershipsV1RevokeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentMembershipsV1RevokeRequestWithBody generates requests for IncidentMembershipsV1Revoke with any type of body
func NewIncidentRolesV1CreateRequest ¶
func NewIncidentRolesV1CreateRequest(server string, body IncidentRolesV1CreateJSONRequestBody) (*http.Request, error)
NewIncidentRolesV1CreateRequest calls the generic IncidentRolesV1Create builder with application/json body
func NewIncidentRolesV1CreateRequestWithBody ¶
func NewIncidentRolesV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentRolesV1CreateRequestWithBody generates requests for IncidentRolesV1Create with any type of body
func NewIncidentRolesV1DeleteRequest ¶
NewIncidentRolesV1DeleteRequest generates requests for IncidentRolesV1Delete
func NewIncidentRolesV1ListRequest ¶
NewIncidentRolesV1ListRequest generates requests for IncidentRolesV1List
func NewIncidentRolesV1ShowRequest ¶
NewIncidentRolesV1ShowRequest generates requests for IncidentRolesV1Show
func NewIncidentRolesV1UpdateRequest ¶
func NewIncidentRolesV1UpdateRequest(server string, id string, body IncidentRolesV1UpdateJSONRequestBody) (*http.Request, error)
NewIncidentRolesV1UpdateRequest calls the generic IncidentRolesV1Update builder with application/json body
func NewIncidentRolesV1UpdateRequestWithBody ¶
func NewIncidentRolesV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentRolesV1UpdateRequestWithBody generates requests for IncidentRolesV1Update with any type of body
func NewIncidentRolesV2CreateRequest ¶ added in v0.4.0
func NewIncidentRolesV2CreateRequest(server string, body IncidentRolesV2CreateJSONRequestBody) (*http.Request, error)
NewIncidentRolesV2CreateRequest calls the generic IncidentRolesV2Create builder with application/json body
func NewIncidentRolesV2CreateRequestWithBody ¶ added in v0.4.0
func NewIncidentRolesV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentRolesV2CreateRequestWithBody generates requests for IncidentRolesV2Create with any type of body
func NewIncidentRolesV2DeleteRequest ¶ added in v0.4.0
NewIncidentRolesV2DeleteRequest generates requests for IncidentRolesV2Delete
func NewIncidentRolesV2ListRequest ¶ added in v0.4.0
NewIncidentRolesV2ListRequest generates requests for IncidentRolesV2List
func NewIncidentRolesV2ShowRequest ¶ added in v0.4.0
NewIncidentRolesV2ShowRequest generates requests for IncidentRolesV2Show
func NewIncidentRolesV2UpdateRequest ¶ added in v0.4.0
func NewIncidentRolesV2UpdateRequest(server string, id string, body IncidentRolesV2UpdateJSONRequestBody) (*http.Request, error)
NewIncidentRolesV2UpdateRequest calls the generic IncidentRolesV2Update builder with application/json body
func NewIncidentRolesV2UpdateRequestWithBody ¶ added in v0.4.0
func NewIncidentRolesV2UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentRolesV2UpdateRequestWithBody generates requests for IncidentRolesV2Update with any type of body
func NewIncidentStatusesV1CreateRequest ¶
func NewIncidentStatusesV1CreateRequest(server string, body IncidentStatusesV1CreateJSONRequestBody) (*http.Request, error)
NewIncidentStatusesV1CreateRequest calls the generic IncidentStatusesV1Create builder with application/json body
func NewIncidentStatusesV1CreateRequestWithBody ¶
func NewIncidentStatusesV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentStatusesV1CreateRequestWithBody generates requests for IncidentStatusesV1Create with any type of body
func NewIncidentStatusesV1DeleteRequest ¶
NewIncidentStatusesV1DeleteRequest generates requests for IncidentStatusesV1Delete
func NewIncidentStatusesV1ListRequest ¶
NewIncidentStatusesV1ListRequest generates requests for IncidentStatusesV1List
func NewIncidentStatusesV1ShowRequest ¶
NewIncidentStatusesV1ShowRequest generates requests for IncidentStatusesV1Show
func NewIncidentStatusesV1UpdateRequest ¶
func NewIncidentStatusesV1UpdateRequest(server string, id string, body IncidentStatusesV1UpdateJSONRequestBody) (*http.Request, error)
NewIncidentStatusesV1UpdateRequest calls the generic IncidentStatusesV1Update builder with application/json body
func NewIncidentStatusesV1UpdateRequestWithBody ¶
func NewIncidentStatusesV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentStatusesV1UpdateRequestWithBody generates requests for IncidentStatusesV1Update with any type of body
func NewIncidentTimestampsV2ListRequest ¶
NewIncidentTimestampsV2ListRequest generates requests for IncidentTimestampsV2List
func NewIncidentTimestampsV2ShowRequest ¶
NewIncidentTimestampsV2ShowRequest generates requests for IncidentTimestampsV2Show
func NewIncidentTypesV1ListRequest ¶
NewIncidentTypesV1ListRequest generates requests for IncidentTypesV1List
func NewIncidentTypesV1ShowRequest ¶
NewIncidentTypesV1ShowRequest generates requests for IncidentTypesV1Show
func NewIncidentUpdatesV2ListRequest ¶
func NewIncidentUpdatesV2ListRequest(server string, params *IncidentUpdatesV2ListParams) (*http.Request, error)
NewIncidentUpdatesV2ListRequest generates requests for IncidentUpdatesV2List
func NewIncidentsV1CreateRequest ¶
func NewIncidentsV1CreateRequest(server string, body IncidentsV1CreateJSONRequestBody) (*http.Request, error)
NewIncidentsV1CreateRequest calls the generic IncidentsV1Create builder with application/json body
func NewIncidentsV1CreateRequestWithBody ¶
func NewIncidentsV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentsV1CreateRequestWithBody generates requests for IncidentsV1Create with any type of body
func NewIncidentsV1ListRequest ¶
func NewIncidentsV1ListRequest(server string, params *IncidentsV1ListParams) (*http.Request, error)
NewIncidentsV1ListRequest generates requests for IncidentsV1List
func NewIncidentsV1ShowRequest ¶
NewIncidentsV1ShowRequest generates requests for IncidentsV1Show
func NewIncidentsV2CreateRequest ¶
func NewIncidentsV2CreateRequest(server string, body IncidentsV2CreateJSONRequestBody) (*http.Request, error)
NewIncidentsV2CreateRequest calls the generic IncidentsV2Create builder with application/json body
func NewIncidentsV2CreateRequestWithBody ¶
func NewIncidentsV2CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentsV2CreateRequestWithBody generates requests for IncidentsV2Create with any type of body
func NewIncidentsV2EditRequest ¶
func NewIncidentsV2EditRequest(server string, id string, body IncidentsV2EditJSONRequestBody) (*http.Request, error)
NewIncidentsV2EditRequest calls the generic IncidentsV2Edit builder with application/json body
func NewIncidentsV2EditRequestWithBody ¶
func NewIncidentsV2EditRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewIncidentsV2EditRequestWithBody generates requests for IncidentsV2Edit with any type of body
func NewIncidentsV2ListRequest ¶
func NewIncidentsV2ListRequest(server string, params *IncidentsV2ListParams) (*http.Request, error)
NewIncidentsV2ListRequest generates requests for IncidentsV2List
func NewIncidentsV2ShowRequest ¶
NewIncidentsV2ShowRequest generates requests for IncidentsV2Show
func NewSeveritiesV1CreateRequest ¶
func NewSeveritiesV1CreateRequest(server string, body SeveritiesV1CreateJSONRequestBody) (*http.Request, error)
NewSeveritiesV1CreateRequest calls the generic SeveritiesV1Create builder with application/json body
func NewSeveritiesV1CreateRequestWithBody ¶
func NewSeveritiesV1CreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSeveritiesV1CreateRequestWithBody generates requests for SeveritiesV1Create with any type of body
func NewSeveritiesV1DeleteRequest ¶
NewSeveritiesV1DeleteRequest generates requests for SeveritiesV1Delete
func NewSeveritiesV1ListRequest ¶
NewSeveritiesV1ListRequest generates requests for SeveritiesV1List
func NewSeveritiesV1ShowRequest ¶
NewSeveritiesV1ShowRequest generates requests for SeveritiesV1Show
func NewSeveritiesV1UpdateRequest ¶
func NewSeveritiesV1UpdateRequest(server string, id string, body SeveritiesV1UpdateJSONRequestBody) (*http.Request, error)
NewSeveritiesV1UpdateRequest calls the generic SeveritiesV1Update builder with application/json body
func NewSeveritiesV1UpdateRequestWithBody ¶
func NewSeveritiesV1UpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewSeveritiesV1UpdateRequestWithBody generates requests for SeveritiesV1Update with any type of body
func NewUsersV2ListRequest ¶ added in v0.4.0
func NewUsersV2ListRequest(server string, params *UsersV2ListParams) (*http.Request, error)
NewUsersV2ListRequest generates requests for UsersV2List
func NewUsersV2ShowRequest ¶ added in v0.4.0
NewUsersV2ShowRequest generates requests for UsersV2Show
func NewUtilitiesV1IdentityRequest ¶
NewUtilitiesV1IdentityRequest generates requests for UtilitiesV1Identity
func NewUtilitiesV1OpenAPIRequest ¶
NewUtilitiesV1OpenAPIRequest generates requests for UtilitiesV1OpenAPI
func Wrap ¶
func Wrap(next http.RoundTripper, apply func(req *http.Request, next http.RoundTripper) (*http.Response, error)) http.RoundTripper
Wrap allows easy wrapping of an existing RoundTripper with a function that can optionally call the original, or do its own thing.
Types ¶
type APIKeyV2 ¶
type APIKeyV2 struct { // Id Unique identifier for this API key Id string `json:"id"` // Name The name of the API key, for the user's reference Name string `json:"name"` }
APIKeyV2 defines model for APIKeyV2.
type ActionV1 ¶
type ActionV1 struct { Assignee *UserV1 `json:"assignee,omitempty"` // CompletedAt When the action was completed CompletedAt *time.Time `json:"completed_at,omitempty"` // CreatedAt When the action was created CreatedAt time.Time `json:"created_at"` // Description Description of the action Description *string `json:"description,omitempty"` ExternalIssueReference *ExternalIssueReferenceV1 `json:"external_issue_reference,omitempty"` // FollowUp Whether an action is marked as follow-up FollowUp bool `json:"follow_up"` // Id Unique identifier for the action Id string `json:"id"` // IncidentId Unique identifier of the incident the action belongs to IncidentId string `json:"incident_id"` // Status Status of the action Status ActionV1Status `json:"status"` // UpdatedAt When the action was last updated UpdatedAt time.Time `json:"updated_at"` }
ActionV1 defines model for ActionV1.
type ActionV1Status ¶
type ActionV1Status string
ActionV1Status Status of the action
const ( ActionV1StatusCompleted ActionV1Status = "completed" ActionV1StatusDeleted ActionV1Status = "deleted" ActionV1StatusNotDoing ActionV1Status = "not_doing" ActionV1StatusOutstanding ActionV1Status = "outstanding" )
Defines values for ActionV1Status.
type ActionV2 ¶ added in v0.4.0
type ActionV2 struct { Assignee *UserV1 `json:"assignee,omitempty"` // CompletedAt When the action was completed CompletedAt *time.Time `json:"completed_at,omitempty"` // CreatedAt When the action was created CreatedAt time.Time `json:"created_at"` // Description Description of the action Description string `json:"description"` // Id Unique identifier for the action Id string `json:"id"` // IncidentId Unique identifier of the incident the action belongs to IncidentId string `json:"incident_id"` // Status Status of the action Status ActionV2Status `json:"status"` // UpdatedAt When the action was last updated UpdatedAt time.Time `json:"updated_at"` }
ActionV2 defines model for ActionV2.
type ActionV2Status ¶ added in v0.4.0
type ActionV2Status string
ActionV2Status Status of the action
const ( ActionV2StatusCompleted ActionV2Status = "completed" ActionV2StatusDeleted ActionV2Status = "deleted" ActionV2StatusNotDoing ActionV2Status = "not_doing" ActionV2StatusOutstanding ActionV2Status = "outstanding" )
Defines values for ActionV2Status.
type ActionsV1ListParams ¶
type ActionsV1ListParams struct { // IncidentId Find actions related to this incident IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"` // IsFollowUp Filter to actions marked as being follow up actions IsFollowUp *bool `form:"is_follow_up,omitempty" json:"is_follow_up,omitempty"` // IncidentMode Filter to actions from incidents of the given mode. If not set, only actions from `real` incidents are returned IncidentMode *ActionsV1ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"` }
ActionsV1ListParams defines parameters for ActionsV1List.
type ActionsV1ListParamsIncidentMode ¶
type ActionsV1ListParamsIncidentMode string
ActionsV1ListParamsIncidentMode defines parameters for ActionsV1List.
const ( ActionsV1ListParamsIncidentModeReal ActionsV1ListParamsIncidentMode = "real" ActionsV1ListParamsIncidentModeTest ActionsV1ListParamsIncidentMode = "test" ActionsV1ListParamsIncidentModeTutorial ActionsV1ListParamsIncidentMode = "tutorial" )
Defines values for ActionsV1ListParamsIncidentMode.
type ActionsV1ListResponse ¶
type ActionsV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody }
func ParseActionsV1ListResponse ¶
func ParseActionsV1ListResponse(rsp *http.Response) (*ActionsV1ListResponse, error)
ParseActionsV1ListResponse parses an HTTP response from a ActionsV1ListWithResponse call
func (ActionsV1ListResponse) Status ¶
func (r ActionsV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (ActionsV1ListResponse) StatusCode ¶
func (r ActionsV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActionsV1ShowResponse ¶
type ActionsV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody }
func ParseActionsV1ShowResponse ¶
func ParseActionsV1ShowResponse(rsp *http.Response) (*ActionsV1ShowResponse, error)
ParseActionsV1ShowResponse parses an HTTP response from a ActionsV1ShowWithResponse call
func (ActionsV1ShowResponse) Status ¶
func (r ActionsV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (ActionsV1ShowResponse) StatusCode ¶
func (r ActionsV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActionsV2ListParams ¶ added in v0.4.0
type ActionsV2ListParams struct { // IncidentId Find actions related to this incident IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"` // IncidentMode Filter to actions from incidents of the given mode. If not set, only actions from `standard` and `retrospective` incidents are returned IncidentMode *ActionsV2ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"` }
ActionsV2ListParams defines parameters for ActionsV2List.
type ActionsV2ListParamsIncidentMode ¶ added in v0.4.0
type ActionsV2ListParamsIncidentMode string
ActionsV2ListParamsIncidentMode defines parameters for ActionsV2List.
const ( ActionsV2ListParamsIncidentModeRetrospective ActionsV2ListParamsIncidentMode = "retrospective" ActionsV2ListParamsIncidentModeStandard ActionsV2ListParamsIncidentMode = "standard" ActionsV2ListParamsIncidentModeTest ActionsV2ListParamsIncidentMode = "test" ActionsV2ListParamsIncidentModeTutorial ActionsV2ListParamsIncidentMode = "tutorial" )
Defines values for ActionsV2ListParamsIncidentMode.
type ActionsV2ListResponse ¶ added in v0.4.0
type ActionsV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody2 }
func ParseActionsV2ListResponse ¶ added in v0.4.0
func ParseActionsV2ListResponse(rsp *http.Response) (*ActionsV2ListResponse, error)
ParseActionsV2ListResponse parses an HTTP response from a ActionsV2ListWithResponse call
func (ActionsV2ListResponse) Status ¶ added in v0.4.0
func (r ActionsV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (ActionsV2ListResponse) StatusCode ¶ added in v0.4.0
func (r ActionsV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActionsV2ShowResponse ¶ added in v0.4.0
type ActionsV2ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody2 }
func ParseActionsV2ShowResponse ¶ added in v0.4.0
func ParseActionsV2ShowResponse(rsp *http.Response) (*ActionsV2ShowResponse, error)
ParseActionsV2ShowResponse parses an HTTP response from a ActionsV2ShowWithResponse call
func (ActionsV2ShowResponse) Status ¶ added in v0.4.0
func (r ActionsV2ShowResponse) Status() string
Status returns HTTPResponse.Status
func (ActionsV2ShowResponse) StatusCode ¶ added in v0.4.0
func (r ActionsV2ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActorV2 ¶
type ActorV2 struct { ApiKey *APIKeyV2 `json:"api_key,omitempty"` User *UserV1 `json:"user,omitempty"` }
ActorV2 defines model for ActorV2.
type CatalogEntryReferenceV2 ¶
type CatalogEntryReferenceV2 struct { // CatalogEntryId ID of this catalog entry CatalogEntryId string `json:"catalog_entry_id"` // CatalogEntryName The name of this entry CatalogEntryName string `json:"catalog_entry_name"` // CatalogTypeId ID of this catalog type CatalogTypeId string `json:"catalog_type_id"` }
CatalogEntryReferenceV2 defines model for CatalogEntryReferenceV2.
type CatalogEntryV2 ¶
type CatalogEntryV2 struct { // Aliases Optional aliases that can be used to reference this entry Aliases []string `json:"aliases"` // ArchivedAt When this entry was archived ArchivedAt *time.Time `json:"archived_at,omitempty"` // AttributeValues Values of this entry AttributeValues map[string]EngineParamBindingV2 `json:"attribute_values"` // CatalogTypeId ID of this catalog type CatalogTypeId string `json:"catalog_type_id"` // CreatedAt When this entry was created CreatedAt time.Time `json:"created_at"` // ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type ExternalId *string `json:"external_id,omitempty"` // Id ID of this catalog entry Id string `json:"id"` // Name Name is the human readable name of this entry Name string `json:"name"` // Rank When catalog type is ranked, this is used to help order things Rank int32 `json:"rank"` // UpdatedAt When this entry was last updated UpdatedAt time.Time `json:"updated_at"` }
CatalogEntryV2 defines model for CatalogEntryV2.
type CatalogResourceV2 ¶
type CatalogResourceV2 struct { // Category Which category of resource Category CatalogResourceV2Category `json:"category"` // Description Human readable description for this resource Description string `json:"description"` // Label Label for this catalog resource type Label string `json:"label"` // Type Catalog type name for this resource Type string `json:"type"` // ValueDocstring Documentation for the literal string value of this resource ValueDocstring string `json:"value_docstring"` }
CatalogResourceV2 defines model for CatalogResourceV2.
type CatalogResourceV2Category ¶
type CatalogResourceV2Category string
CatalogResourceV2Category Which category of resource
const ( CatalogResourceV2CategoryCustom CatalogResourceV2Category = "custom" CatalogResourceV2CategoryExternal CatalogResourceV2Category = "external" CatalogResourceV2CategoryPrimitive CatalogResourceV2Category = "primitive" )
Defines values for CatalogResourceV2Category.
type CatalogTypeAttributePayloadV2 ¶
type CatalogTypeAttributePayloadV2 struct { // Array Whether this attribute is an array Array bool `json:"array"` // Id The ID of this attribute Id *string `json:"id,omitempty"` // Mode Controls how this attribute is modified Mode *CatalogTypeAttributePayloadV2Mode `json:"mode,omitempty"` // Name Unique name of this attribute Name string `json:"name"` // Type Catalog type name for this attribute Type string `json:"type"` }
CatalogTypeAttributePayloadV2 defines model for CatalogTypeAttributePayloadV2.
type CatalogTypeAttributePayloadV2Mode ¶ added in v0.4.0
type CatalogTypeAttributePayloadV2Mode string
CatalogTypeAttributePayloadV2Mode Controls how this attribute is modified
const ( CatalogTypeAttributePayloadV2ModeEmpty CatalogTypeAttributePayloadV2Mode = "" CatalogTypeAttributePayloadV2ModeExternal CatalogTypeAttributePayloadV2Mode = "external" CatalogTypeAttributePayloadV2ModeManual CatalogTypeAttributePayloadV2Mode = "manual" )
Defines values for CatalogTypeAttributePayloadV2Mode.
type CatalogTypeAttributeV2 ¶
type CatalogTypeAttributeV2 struct { // Array Whether this attribute is an array Array bool `json:"array"` // Id The ID of this attribute Id string `json:"id"` // Mode Controls how this attribute is modified Mode CatalogTypeAttributeV2Mode `json:"mode"` // Name Unique name of this attribute Name string `json:"name"` // Type Catalog type name for this attribute Type string `json:"type"` }
CatalogTypeAttributeV2 defines model for CatalogTypeAttributeV2.
type CatalogTypeAttributeV2Mode ¶ added in v0.4.0
type CatalogTypeAttributeV2Mode string
CatalogTypeAttributeV2Mode Controls how this attribute is modified
const ( Empty CatalogTypeAttributeV2Mode = "" External CatalogTypeAttributeV2Mode = "external" Manual CatalogTypeAttributeV2Mode = "manual" )
Defines values for CatalogTypeAttributeV2Mode.
type CatalogTypeSchemaV2 ¶
type CatalogTypeSchemaV2 struct { // Attributes Attributes of this catalog type Attributes []CatalogTypeAttributeV2 `json:"attributes"` // Version The version number of this schema Version int64 `json:"version"` }
CatalogTypeSchemaV2 defines model for CatalogTypeSchemaV2.
type CatalogTypeV2 ¶
type CatalogTypeV2 struct { // Annotations Annotations that can track metadata about this type Annotations map[string]string `json:"annotations"` // Color Sets the display color of this type in the dashboard Color CatalogTypeV2Color `json:"color"` // CreatedAt When this type was created CreatedAt time.Time `json:"created_at"` // Description Human readble description of this type Description string `json:"description"` // EstimatedCount If populated, gives an estimated count of entries for this type EstimatedCount *int64 `json:"estimated_count,omitempty"` // ExternalType The external resource this type is synced from, if any ExternalType *string `json:"external_type,omitempty"` // Icon Sets the display icon of this type in the dashboard Icon CatalogTypeV2Icon `json:"icon"` // Id ID of this catalog type Id string `json:"id"` // IsEditable Catalog types that are synced with external resources can't be edited IsEditable bool `json:"is_editable"` // Name Name is the human readable name of this type Name string `json:"name"` // Ranked If this type should be ranked Ranked bool `json:"ranked"` // RequiredIntegrations If populated, the integrations required for this type RequiredIntegrations *[]string `json:"required_integrations,omitempty"` Schema CatalogTypeSchemaV2 `json:"schema"` // SemanticType Semantic type of this resource SemanticType string `json:"semantic_type"` // TypeName The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName "] TypeName string `json:"type_name"` // UpdatedAt When this type was last updated UpdatedAt time.Time `json:"updated_at"` }
CatalogTypeV2 defines model for CatalogTypeV2.
type CatalogTypeV2Color ¶
type CatalogTypeV2Color string
CatalogTypeV2Color Sets the display color of this type in the dashboard
const ( CatalogTypeV2ColorBlue CatalogTypeV2Color = "blue" CatalogTypeV2ColorCyan CatalogTypeV2Color = "cyan" CatalogTypeV2ColorGreen CatalogTypeV2Color = "green" CatalogTypeV2ColorOrange CatalogTypeV2Color = "orange" CatalogTypeV2ColorPink CatalogTypeV2Color = "pink" CatalogTypeV2ColorViolet CatalogTypeV2Color = "violet" CatalogTypeV2ColorYellow CatalogTypeV2Color = "yellow" )
Defines values for CatalogTypeV2Color.
type CatalogTypeV2Icon ¶
type CatalogTypeV2Icon string
CatalogTypeV2Icon Sets the display icon of this type in the dashboard
const ( CatalogTypeV2IconBolt CatalogTypeV2Icon = "bolt" CatalogTypeV2IconBox CatalogTypeV2Icon = "box" CatalogTypeV2IconBriefcase CatalogTypeV2Icon = "briefcase" CatalogTypeV2IconBrowser CatalogTypeV2Icon = "browser" CatalogTypeV2IconBulb CatalogTypeV2Icon = "bulb" CatalogTypeV2IconCalendar CatalogTypeV2Icon = "calendar" CatalogTypeV2IconClock CatalogTypeV2Icon = "clock" CatalogTypeV2IconCog CatalogTypeV2Icon = "cog" CatalogTypeV2IconDatabase CatalogTypeV2Icon = "database" CatalogTypeV2IconDoc CatalogTypeV2Icon = "doc" CatalogTypeV2IconEmail CatalogTypeV2Icon = "email" CatalogTypeV2IconFiles CatalogTypeV2Icon = "files" CatalogTypeV2IconFlag CatalogTypeV2Icon = "flag" CatalogTypeV2IconMoney CatalogTypeV2Icon = "money" CatalogTypeV2IconServer CatalogTypeV2Icon = "server" CatalogTypeV2IconSeverity CatalogTypeV2Icon = "severity" CatalogTypeV2IconStar CatalogTypeV2Icon = "star" CatalogTypeV2IconStore CatalogTypeV2Icon = "store" CatalogTypeV2IconTag CatalogTypeV2Icon = "tag" CatalogTypeV2IconUser CatalogTypeV2Icon = "user" CatalogTypeV2IconUsers CatalogTypeV2Icon = "users" )
Defines values for CatalogTypeV2Icon.
type CatalogV2CreateEntryJSONRequestBody ¶
type CatalogV2CreateEntryJSONRequestBody = CreateEntryRequestBody
CatalogV2CreateEntryJSONRequestBody defines body for CatalogV2CreateEntry for application/json ContentType.
type CatalogV2CreateEntryResponse ¶
type CatalogV2CreateEntryResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CreateEntryResponseBody }
func ParseCatalogV2CreateEntryResponse ¶
func ParseCatalogV2CreateEntryResponse(rsp *http.Response) (*CatalogV2CreateEntryResponse, error)
ParseCatalogV2CreateEntryResponse parses an HTTP response from a CatalogV2CreateEntryWithResponse call
func (CatalogV2CreateEntryResponse) Status ¶
func (r CatalogV2CreateEntryResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2CreateEntryResponse) StatusCode ¶
func (r CatalogV2CreateEntryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2CreateTypeJSONRequestBody ¶
type CatalogV2CreateTypeJSONRequestBody = CreateTypeRequestBody
CatalogV2CreateTypeJSONRequestBody defines body for CatalogV2CreateType for application/json ContentType.
type CatalogV2CreateTypeResponse ¶
type CatalogV2CreateTypeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CreateTypeResponseBody }
func ParseCatalogV2CreateTypeResponse ¶
func ParseCatalogV2CreateTypeResponse(rsp *http.Response) (*CatalogV2CreateTypeResponse, error)
ParseCatalogV2CreateTypeResponse parses an HTTP response from a CatalogV2CreateTypeWithResponse call
func (CatalogV2CreateTypeResponse) Status ¶
func (r CatalogV2CreateTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2CreateTypeResponse) StatusCode ¶
func (r CatalogV2CreateTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2DestroyEntryResponse ¶
func ParseCatalogV2DestroyEntryResponse ¶
func ParseCatalogV2DestroyEntryResponse(rsp *http.Response) (*CatalogV2DestroyEntryResponse, error)
ParseCatalogV2DestroyEntryResponse parses an HTTP response from a CatalogV2DestroyEntryWithResponse call
func (CatalogV2DestroyEntryResponse) Status ¶
func (r CatalogV2DestroyEntryResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2DestroyEntryResponse) StatusCode ¶
func (r CatalogV2DestroyEntryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2DestroyTypeResponse ¶
func ParseCatalogV2DestroyTypeResponse ¶
func ParseCatalogV2DestroyTypeResponse(rsp *http.Response) (*CatalogV2DestroyTypeResponse, error)
ParseCatalogV2DestroyTypeResponse parses an HTTP response from a CatalogV2DestroyTypeWithResponse call
func (CatalogV2DestroyTypeResponse) Status ¶
func (r CatalogV2DestroyTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2DestroyTypeResponse) StatusCode ¶
func (r CatalogV2DestroyTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2ListEntriesParams ¶
type CatalogV2ListEntriesParams struct { // CatalogTypeId ID of this catalog type CatalogTypeId string `form:"catalog_type_id" json:"catalog_type_id"` // PageSize Integer number of records to return PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. After *string `form:"after,omitempty" json:"after,omitempty"` }
CatalogV2ListEntriesParams defines parameters for CatalogV2ListEntries.
type CatalogV2ListEntriesResponse ¶
type CatalogV2ListEntriesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListEntriesResponseBody }
func ParseCatalogV2ListEntriesResponse ¶
func ParseCatalogV2ListEntriesResponse(rsp *http.Response) (*CatalogV2ListEntriesResponse, error)
ParseCatalogV2ListEntriesResponse parses an HTTP response from a CatalogV2ListEntriesWithResponse call
func (CatalogV2ListEntriesResponse) Status ¶
func (r CatalogV2ListEntriesResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2ListEntriesResponse) StatusCode ¶
func (r CatalogV2ListEntriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2ListResourcesResponse ¶
type CatalogV2ListResourcesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResourcesResponseBody }
func ParseCatalogV2ListResourcesResponse ¶
func ParseCatalogV2ListResourcesResponse(rsp *http.Response) (*CatalogV2ListResourcesResponse, error)
ParseCatalogV2ListResourcesResponse parses an HTTP response from a CatalogV2ListResourcesWithResponse call
func (CatalogV2ListResourcesResponse) Status ¶
func (r CatalogV2ListResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2ListResourcesResponse) StatusCode ¶
func (r CatalogV2ListResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2ListTypesResponse ¶
type CatalogV2ListTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListTypesResponseBody }
func ParseCatalogV2ListTypesResponse ¶
func ParseCatalogV2ListTypesResponse(rsp *http.Response) (*CatalogV2ListTypesResponse, error)
ParseCatalogV2ListTypesResponse parses an HTTP response from a CatalogV2ListTypesWithResponse call
func (CatalogV2ListTypesResponse) Status ¶
func (r CatalogV2ListTypesResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2ListTypesResponse) StatusCode ¶
func (r CatalogV2ListTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2ShowEntryResponse ¶
type CatalogV2ShowEntryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowEntryResponseBody }
func ParseCatalogV2ShowEntryResponse ¶
func ParseCatalogV2ShowEntryResponse(rsp *http.Response) (*CatalogV2ShowEntryResponse, error)
ParseCatalogV2ShowEntryResponse parses an HTTP response from a CatalogV2ShowEntryWithResponse call
func (CatalogV2ShowEntryResponse) Status ¶
func (r CatalogV2ShowEntryResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2ShowEntryResponse) StatusCode ¶
func (r CatalogV2ShowEntryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2ShowTypeResponse ¶
type CatalogV2ShowTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateTypeResponseBody }
func ParseCatalogV2ShowTypeResponse ¶
func ParseCatalogV2ShowTypeResponse(rsp *http.Response) (*CatalogV2ShowTypeResponse, error)
ParseCatalogV2ShowTypeResponse parses an HTTP response from a CatalogV2ShowTypeWithResponse call
func (CatalogV2ShowTypeResponse) Status ¶
func (r CatalogV2ShowTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2ShowTypeResponse) StatusCode ¶
func (r CatalogV2ShowTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2UpdateEntryJSONRequestBody ¶
type CatalogV2UpdateEntryJSONRequestBody = UpdateEntryRequestBody
CatalogV2UpdateEntryJSONRequestBody defines body for CatalogV2UpdateEntry for application/json ContentType.
type CatalogV2UpdateEntryResponse ¶
type CatalogV2UpdateEntryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowEntryResponseBody }
func ParseCatalogV2UpdateEntryResponse ¶
func ParseCatalogV2UpdateEntryResponse(rsp *http.Response) (*CatalogV2UpdateEntryResponse, error)
ParseCatalogV2UpdateEntryResponse parses an HTTP response from a CatalogV2UpdateEntryWithResponse call
func (CatalogV2UpdateEntryResponse) Status ¶
func (r CatalogV2UpdateEntryResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2UpdateEntryResponse) StatusCode ¶
func (r CatalogV2UpdateEntryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2UpdateTypeJSONRequestBody ¶
type CatalogV2UpdateTypeJSONRequestBody = UpdateTypeRequestBody
CatalogV2UpdateTypeJSONRequestBody defines body for CatalogV2UpdateType for application/json ContentType.
type CatalogV2UpdateTypeResponse ¶
type CatalogV2UpdateTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateTypeResponseBody }
func ParseCatalogV2UpdateTypeResponse ¶
func ParseCatalogV2UpdateTypeResponse(rsp *http.Response) (*CatalogV2UpdateTypeResponse, error)
ParseCatalogV2UpdateTypeResponse parses an HTTP response from a CatalogV2UpdateTypeWithResponse call
func (CatalogV2UpdateTypeResponse) Status ¶
func (r CatalogV2UpdateTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2UpdateTypeResponse) StatusCode ¶
func (r CatalogV2UpdateTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogV2UpdateTypeSchemaJSONRequestBody ¶
type CatalogV2UpdateTypeSchemaJSONRequestBody = UpdateTypeSchemaRequestBody
CatalogV2UpdateTypeSchemaJSONRequestBody defines body for CatalogV2UpdateTypeSchema for application/json ContentType.
type CatalogV2UpdateTypeSchemaResponse ¶
type CatalogV2UpdateTypeSchemaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateTypeResponseBody }
func ParseCatalogV2UpdateTypeSchemaResponse ¶
func ParseCatalogV2UpdateTypeSchemaResponse(rsp *http.Response) (*CatalogV2UpdateTypeSchemaResponse, error)
ParseCatalogV2UpdateTypeSchemaResponse parses an HTTP response from a CatalogV2UpdateTypeSchemaWithResponse call
func (CatalogV2UpdateTypeSchemaResponse) Status ¶
func (r CatalogV2UpdateTypeSchemaResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogV2UpdateTypeSchemaResponse) StatusCode ¶
func (r CatalogV2UpdateTypeSchemaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) ActionsV1List ¶
func (c *Client) ActionsV1List(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActionsV1Show ¶
func (*Client) ActionsV2List ¶ added in v0.4.0
func (c *Client) ActionsV2List(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActionsV2Show ¶ added in v0.4.0
func (*Client) CatalogV2CreateEntry ¶
func (c *Client) CatalogV2CreateEntry(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CatalogV2CreateEntryWithBody ¶
func (*Client) CatalogV2CreateType ¶
func (c *Client) CatalogV2CreateType(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CatalogV2CreateTypeWithBody ¶
func (*Client) CatalogV2DestroyEntry ¶
func (*Client) CatalogV2DestroyType ¶
func (*Client) CatalogV2ListEntries ¶
func (c *Client) CatalogV2ListEntries(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CatalogV2ListResources ¶
func (*Client) CatalogV2ListTypes ¶
func (*Client) CatalogV2ShowEntry ¶
func (*Client) CatalogV2ShowType ¶
func (*Client) CatalogV2UpdateEntry ¶
func (c *Client) CatalogV2UpdateEntry(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CatalogV2UpdateEntryWithBody ¶
func (*Client) CatalogV2UpdateType ¶
func (c *Client) CatalogV2UpdateType(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CatalogV2UpdateTypeSchema ¶
func (c *Client) CatalogV2UpdateTypeSchema(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CatalogV2UpdateTypeSchemaWithBody ¶
func (*Client) CatalogV2UpdateTypeWithBody ¶
func (*Client) CustomFieldOptionsV1Create ¶
func (c *Client) CustomFieldOptionsV1Create(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CustomFieldOptionsV1CreateWithBody ¶
func (*Client) CustomFieldOptionsV1Delete ¶
func (*Client) CustomFieldOptionsV1List ¶
func (c *Client) CustomFieldOptionsV1List(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CustomFieldOptionsV1Show ¶
func (*Client) CustomFieldOptionsV1Update ¶
func (c *Client) CustomFieldOptionsV1Update(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CustomFieldOptionsV1UpdateWithBody ¶
func (*Client) CustomFieldsV1Create ¶
func (c *Client) CustomFieldsV1Create(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CustomFieldsV1CreateWithBody ¶
func (*Client) CustomFieldsV1Delete ¶
func (*Client) CustomFieldsV1List ¶
func (*Client) CustomFieldsV1Show ¶
func (*Client) CustomFieldsV1Update ¶
func (c *Client) CustomFieldsV1Update(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CustomFieldsV1UpdateWithBody ¶
func (*Client) CustomFieldsV2Create ¶ added in v0.4.0
func (c *Client) CustomFieldsV2Create(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CustomFieldsV2CreateWithBody ¶ added in v0.4.0
func (*Client) CustomFieldsV2Delete ¶ added in v0.4.0
func (*Client) CustomFieldsV2List ¶ added in v0.4.0
func (*Client) CustomFieldsV2Show ¶ added in v0.4.0
func (*Client) CustomFieldsV2Update ¶ added in v0.4.0
func (c *Client) CustomFieldsV2Update(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CustomFieldsV2UpdateWithBody ¶ added in v0.4.0
func (*Client) FollowUpsV2List ¶ added in v0.4.0
func (c *Client) FollowUpsV2List(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FollowUpsV2Show ¶ added in v0.4.0
func (*Client) IncidentAttachmentsV1Create ¶
func (c *Client) IncidentAttachmentsV1Create(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentAttachmentsV1CreateWithBody ¶
func (*Client) IncidentAttachmentsV1Delete ¶
func (*Client) IncidentAttachmentsV1List ¶
func (c *Client) IncidentAttachmentsV1List(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentMembershipsV1Create ¶ added in v0.4.0
func (c *Client) IncidentMembershipsV1Create(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentMembershipsV1CreateWithBody ¶ added in v0.4.0
func (*Client) IncidentMembershipsV1Revoke ¶ added in v0.4.0
func (c *Client) IncidentMembershipsV1Revoke(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentMembershipsV1RevokeWithBody ¶ added in v0.4.0
func (*Client) IncidentRolesV1Create ¶
func (c *Client) IncidentRolesV1Create(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentRolesV1CreateWithBody ¶
func (*Client) IncidentRolesV1Delete ¶
func (*Client) IncidentRolesV1List ¶
func (*Client) IncidentRolesV1Show ¶
func (*Client) IncidentRolesV1Update ¶
func (c *Client) IncidentRolesV1Update(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentRolesV1UpdateWithBody ¶
func (*Client) IncidentRolesV2Create ¶ added in v0.4.0
func (c *Client) IncidentRolesV2Create(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentRolesV2CreateWithBody ¶ added in v0.4.0
func (*Client) IncidentRolesV2Delete ¶ added in v0.4.0
func (*Client) IncidentRolesV2List ¶ added in v0.4.0
func (*Client) IncidentRolesV2Show ¶ added in v0.4.0
func (*Client) IncidentRolesV2Update ¶ added in v0.4.0
func (c *Client) IncidentRolesV2Update(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentRolesV2UpdateWithBody ¶ added in v0.4.0
func (*Client) IncidentStatusesV1Create ¶
func (c *Client) IncidentStatusesV1Create(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentStatusesV1CreateWithBody ¶
func (*Client) IncidentStatusesV1Delete ¶
func (*Client) IncidentStatusesV1List ¶
func (*Client) IncidentStatusesV1Show ¶
func (*Client) IncidentStatusesV1Update ¶
func (c *Client) IncidentStatusesV1Update(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentStatusesV1UpdateWithBody ¶
func (*Client) IncidentTimestampsV2List ¶
func (*Client) IncidentTimestampsV2Show ¶
func (*Client) IncidentTypesV1List ¶
func (*Client) IncidentTypesV1Show ¶
func (*Client) IncidentUpdatesV2List ¶
func (c *Client) IncidentUpdatesV2List(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentsV1Create ¶
func (c *Client) IncidentsV1Create(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentsV1CreateWithBody ¶
func (*Client) IncidentsV1List ¶
func (c *Client) IncidentsV1List(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentsV1Show ¶
func (*Client) IncidentsV2Create ¶
func (c *Client) IncidentsV2Create(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentsV2CreateWithBody ¶
func (*Client) IncidentsV2Edit ¶
func (c *Client) IncidentsV2Edit(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentsV2EditWithBody ¶
func (*Client) IncidentsV2List ¶
func (c *Client) IncidentsV2List(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IncidentsV2Show ¶
func (*Client) SeveritiesV1Create ¶
func (c *Client) SeveritiesV1Create(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SeveritiesV1CreateWithBody ¶
func (*Client) SeveritiesV1Delete ¶
func (*Client) SeveritiesV1List ¶
func (*Client) SeveritiesV1Show ¶
func (*Client) SeveritiesV1Update ¶
func (c *Client) SeveritiesV1Update(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SeveritiesV1UpdateWithBody ¶
func (*Client) UsersV2List ¶ added in v0.4.0
func (c *Client) UsersV2List(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UsersV2Show ¶ added in v0.4.0
func (*Client) UtilitiesV1Identity ¶
func (*Client) UtilitiesV1OpenAPI ¶
type ClientInterface ¶
type ClientInterface interface { // ActionsV1List request ActionsV1List(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ActionsV1Show request ActionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldOptionsV1List request CustomFieldOptionsV1List(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldOptionsV1Create request with any body CustomFieldOptionsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CustomFieldOptionsV1Create(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldOptionsV1Delete request CustomFieldOptionsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldOptionsV1Show request CustomFieldOptionsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldOptionsV1Update request with any body CustomFieldOptionsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CustomFieldOptionsV1Update(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV1List request CustomFieldsV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV1Create request with any body CustomFieldsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CustomFieldsV1Create(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV1Delete request CustomFieldsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV1Show request CustomFieldsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV1Update request with any body CustomFieldsV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CustomFieldsV1Update(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UtilitiesV1Identity request UtilitiesV1Identity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentAttachmentsV1List request IncidentAttachmentsV1List(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentAttachmentsV1Create request with any body IncidentAttachmentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentAttachmentsV1Create(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentAttachmentsV1Delete request IncidentAttachmentsV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentMembershipsV1Create request with any body IncidentMembershipsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentMembershipsV1Create(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentMembershipsV1Revoke request with any body IncidentMembershipsV1RevokeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentMembershipsV1Revoke(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV1List request IncidentRolesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV1Create request with any body IncidentRolesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentRolesV1Create(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV1Delete request IncidentRolesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV1Show request IncidentRolesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV1Update request with any body IncidentRolesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentRolesV1Update(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentStatusesV1List request IncidentStatusesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentStatusesV1Create request with any body IncidentStatusesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentStatusesV1Create(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentStatusesV1Delete request IncidentStatusesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentStatusesV1Show request IncidentStatusesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentStatusesV1Update request with any body IncidentStatusesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentStatusesV1Update(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentTypesV1List request IncidentTypesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentTypesV1Show request IncidentTypesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentsV1List request IncidentsV1List(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentsV1Create request with any body IncidentsV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentsV1Create(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentsV1Show request IncidentsV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UtilitiesV1OpenAPI request UtilitiesV1OpenAPI(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SeveritiesV1List request SeveritiesV1List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SeveritiesV1Create request with any body SeveritiesV1CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SeveritiesV1Create(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SeveritiesV1Delete request SeveritiesV1Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // SeveritiesV1Show request SeveritiesV1Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // SeveritiesV1Update request with any body SeveritiesV1UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SeveritiesV1Update(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ActionsV2List request ActionsV2List(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ActionsV2Show request ActionsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2ListEntries request CatalogV2ListEntries(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2CreateEntry request with any body CatalogV2CreateEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CatalogV2CreateEntry(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2DestroyEntry request CatalogV2DestroyEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2ShowEntry request CatalogV2ShowEntry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2UpdateEntry request with any body CatalogV2UpdateEntryWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CatalogV2UpdateEntry(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2ListResources request CatalogV2ListResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2ListTypes request CatalogV2ListTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2CreateType request with any body CatalogV2CreateTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CatalogV2CreateType(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2DestroyType request CatalogV2DestroyType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2ShowType request CatalogV2ShowType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2UpdateType request with any body CatalogV2UpdateTypeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CatalogV2UpdateType(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CatalogV2UpdateTypeSchema request with any body CatalogV2UpdateTypeSchemaWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CatalogV2UpdateTypeSchema(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV2List request CustomFieldsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV2Create request with any body CustomFieldsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CustomFieldsV2Create(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV2Delete request CustomFieldsV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV2Show request CustomFieldsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CustomFieldsV2Update request with any body CustomFieldsV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CustomFieldsV2Update(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // FollowUpsV2List request FollowUpsV2List(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // FollowUpsV2Show request FollowUpsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV2List request IncidentRolesV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV2Create request with any body IncidentRolesV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentRolesV2Create(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV2Delete request IncidentRolesV2Delete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV2Show request IncidentRolesV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentRolesV2Update request with any body IncidentRolesV2UpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentRolesV2Update(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentTimestampsV2List request IncidentTimestampsV2List(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentTimestampsV2Show request IncidentTimestampsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentUpdatesV2List request IncidentUpdatesV2List(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentsV2List request IncidentsV2List(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentsV2Create request with any body IncidentsV2CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentsV2Create(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentsV2Show request IncidentsV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // IncidentsV2Edit request with any body IncidentsV2EditWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) IncidentsV2Edit(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UsersV2List request UsersV2List(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // UsersV2Show request UsersV2Show(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) }
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 WithReadOnly ¶
func WithReadOnly() ClientOption
WithReadOnly restricts the client to GET requests only, useful when creating a client for the purpose of dry-running.
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 New ¶
func New(ctx context.Context, apiKey, apiEndpoint, version string, opts ...ClientOption) (*ClientWithResponses, error)
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ActionsV1ListWithResponse ¶
func (c *ClientWithResponses) ActionsV1ListWithResponse(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*ActionsV1ListResponse, error)
ActionsV1ListWithResponse request returning *ActionsV1ListResponse
func (*ClientWithResponses) ActionsV1ShowWithResponse ¶
func (c *ClientWithResponses) ActionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV1ShowResponse, error)
ActionsV1ShowWithResponse request returning *ActionsV1ShowResponse
func (*ClientWithResponses) ActionsV2ListWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ActionsV2ListWithResponse(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*ActionsV2ListResponse, error)
ActionsV2ListWithResponse request returning *ActionsV2ListResponse
func (*ClientWithResponses) ActionsV2ShowWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ActionsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2ShowResponse, error)
ActionsV2ShowWithResponse request returning *ActionsV2ShowResponse
func (*ClientWithResponses) CatalogV2CreateEntryWithBodyWithResponse ¶
func (c *ClientWithResponses) CatalogV2CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error)
CatalogV2CreateEntryWithBodyWithResponse request with arbitrary body returning *CatalogV2CreateEntryResponse
func (*ClientWithResponses) CatalogV2CreateEntryWithResponse ¶
func (c *ClientWithResponses) CatalogV2CreateEntryWithResponse(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error)
func (*ClientWithResponses) CatalogV2CreateTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) CatalogV2CreateTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error)
CatalogV2CreateTypeWithBodyWithResponse request with arbitrary body returning *CatalogV2CreateTypeResponse
func (*ClientWithResponses) CatalogV2CreateTypeWithResponse ¶
func (c *ClientWithResponses) CatalogV2CreateTypeWithResponse(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error)
func (*ClientWithResponses) CatalogV2DestroyEntryWithResponse ¶
func (c *ClientWithResponses) CatalogV2DestroyEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyEntryResponse, error)
CatalogV2DestroyEntryWithResponse request returning *CatalogV2DestroyEntryResponse
func (*ClientWithResponses) CatalogV2DestroyTypeWithResponse ¶
func (c *ClientWithResponses) CatalogV2DestroyTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyTypeResponse, error)
CatalogV2DestroyTypeWithResponse request returning *CatalogV2DestroyTypeResponse
func (*ClientWithResponses) CatalogV2ListEntriesWithResponse ¶
func (c *ClientWithResponses) CatalogV2ListEntriesWithResponse(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*CatalogV2ListEntriesResponse, error)
CatalogV2ListEntriesWithResponse request returning *CatalogV2ListEntriesResponse
func (*ClientWithResponses) CatalogV2ListResourcesWithResponse ¶
func (c *ClientWithResponses) CatalogV2ListResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListResourcesResponse, error)
CatalogV2ListResourcesWithResponse request returning *CatalogV2ListResourcesResponse
func (*ClientWithResponses) CatalogV2ListTypesWithResponse ¶
func (c *ClientWithResponses) CatalogV2ListTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListTypesResponse, error)
CatalogV2ListTypesWithResponse request returning *CatalogV2ListTypesResponse
func (*ClientWithResponses) CatalogV2ShowEntryWithResponse ¶
func (c *ClientWithResponses) CatalogV2ShowEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowEntryResponse, error)
CatalogV2ShowEntryWithResponse request returning *CatalogV2ShowEntryResponse
func (*ClientWithResponses) CatalogV2ShowTypeWithResponse ¶
func (c *ClientWithResponses) CatalogV2ShowTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowTypeResponse, error)
CatalogV2ShowTypeWithResponse request returning *CatalogV2ShowTypeResponse
func (*ClientWithResponses) CatalogV2UpdateEntryWithBodyWithResponse ¶
func (c *ClientWithResponses) CatalogV2UpdateEntryWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error)
CatalogV2UpdateEntryWithBodyWithResponse request with arbitrary body returning *CatalogV2UpdateEntryResponse
func (*ClientWithResponses) CatalogV2UpdateEntryWithResponse ¶
func (c *ClientWithResponses) CatalogV2UpdateEntryWithResponse(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error)
func (*ClientWithResponses) CatalogV2UpdateTypeSchemaWithBodyWithResponse ¶
func (c *ClientWithResponses) CatalogV2UpdateTypeSchemaWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error)
CatalogV2UpdateTypeSchemaWithBodyWithResponse request with arbitrary body returning *CatalogV2UpdateTypeSchemaResponse
func (*ClientWithResponses) CatalogV2UpdateTypeSchemaWithResponse ¶
func (c *ClientWithResponses) CatalogV2UpdateTypeSchemaWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error)
func (*ClientWithResponses) CatalogV2UpdateTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) CatalogV2UpdateTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error)
CatalogV2UpdateTypeWithBodyWithResponse request with arbitrary body returning *CatalogV2UpdateTypeResponse
func (*ClientWithResponses) CatalogV2UpdateTypeWithResponse ¶
func (c *ClientWithResponses) CatalogV2UpdateTypeWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error)
func (*ClientWithResponses) CustomFieldOptionsV1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) CustomFieldOptionsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error)
CustomFieldOptionsV1CreateWithBodyWithResponse request with arbitrary body returning *CustomFieldOptionsV1CreateResponse
func (*ClientWithResponses) CustomFieldOptionsV1CreateWithResponse ¶
func (c *ClientWithResponses) CustomFieldOptionsV1CreateWithResponse(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error)
func (*ClientWithResponses) CustomFieldOptionsV1DeleteWithResponse ¶
func (c *ClientWithResponses) CustomFieldOptionsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1DeleteResponse, error)
CustomFieldOptionsV1DeleteWithResponse request returning *CustomFieldOptionsV1DeleteResponse
func (*ClientWithResponses) CustomFieldOptionsV1ListWithResponse ¶
func (c *ClientWithResponses) CustomFieldOptionsV1ListWithResponse(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ListResponse, error)
CustomFieldOptionsV1ListWithResponse request returning *CustomFieldOptionsV1ListResponse
func (*ClientWithResponses) CustomFieldOptionsV1ShowWithResponse ¶
func (c *ClientWithResponses) CustomFieldOptionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ShowResponse, error)
CustomFieldOptionsV1ShowWithResponse request returning *CustomFieldOptionsV1ShowResponse
func (*ClientWithResponses) CustomFieldOptionsV1UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) CustomFieldOptionsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error)
CustomFieldOptionsV1UpdateWithBodyWithResponse request with arbitrary body returning *CustomFieldOptionsV1UpdateResponse
func (*ClientWithResponses) CustomFieldOptionsV1UpdateWithResponse ¶
func (c *ClientWithResponses) CustomFieldOptionsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error)
func (*ClientWithResponses) CustomFieldsV1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) CustomFieldsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error)
CustomFieldsV1CreateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV1CreateResponse
func (*ClientWithResponses) CustomFieldsV1CreateWithResponse ¶
func (c *ClientWithResponses) CustomFieldsV1CreateWithResponse(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error)
func (*ClientWithResponses) CustomFieldsV1DeleteWithResponse ¶
func (c *ClientWithResponses) CustomFieldsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1DeleteResponse, error)
CustomFieldsV1DeleteWithResponse request returning *CustomFieldsV1DeleteResponse
func (*ClientWithResponses) CustomFieldsV1ListWithResponse ¶
func (c *ClientWithResponses) CustomFieldsV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV1ListResponse, error)
CustomFieldsV1ListWithResponse request returning *CustomFieldsV1ListResponse
func (*ClientWithResponses) CustomFieldsV1ShowWithResponse ¶
func (c *ClientWithResponses) CustomFieldsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1ShowResponse, error)
CustomFieldsV1ShowWithResponse request returning *CustomFieldsV1ShowResponse
func (*ClientWithResponses) CustomFieldsV1UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) CustomFieldsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error)
CustomFieldsV1UpdateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV1UpdateResponse
func (*ClientWithResponses) CustomFieldsV1UpdateWithResponse ¶
func (c *ClientWithResponses) CustomFieldsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error)
func (*ClientWithResponses) CustomFieldsV2CreateWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CustomFieldsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error)
CustomFieldsV2CreateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV2CreateResponse
func (*ClientWithResponses) CustomFieldsV2CreateWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CustomFieldsV2CreateWithResponse(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error)
func (*ClientWithResponses) CustomFieldsV2DeleteWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CustomFieldsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2DeleteResponse, error)
CustomFieldsV2DeleteWithResponse request returning *CustomFieldsV2DeleteResponse
func (*ClientWithResponses) CustomFieldsV2ListWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CustomFieldsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV2ListResponse, error)
CustomFieldsV2ListWithResponse request returning *CustomFieldsV2ListResponse
func (*ClientWithResponses) CustomFieldsV2ShowWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CustomFieldsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2ShowResponse, error)
CustomFieldsV2ShowWithResponse request returning *CustomFieldsV2ShowResponse
func (*ClientWithResponses) CustomFieldsV2UpdateWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CustomFieldsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error)
CustomFieldsV2UpdateWithBodyWithResponse request with arbitrary body returning *CustomFieldsV2UpdateResponse
func (*ClientWithResponses) CustomFieldsV2UpdateWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CustomFieldsV2UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error)
func (*ClientWithResponses) FollowUpsV2ListWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) FollowUpsV2ListWithResponse(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*FollowUpsV2ListResponse, error)
FollowUpsV2ListWithResponse request returning *FollowUpsV2ListResponse
func (*ClientWithResponses) FollowUpsV2ShowWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) FollowUpsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2ShowResponse, error)
FollowUpsV2ShowWithResponse request returning *FollowUpsV2ShowResponse
func (*ClientWithResponses) IncidentAttachmentsV1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentAttachmentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error)
IncidentAttachmentsV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentAttachmentsV1CreateResponse
func (*ClientWithResponses) IncidentAttachmentsV1CreateWithResponse ¶
func (c *ClientWithResponses) IncidentAttachmentsV1CreateWithResponse(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error)
func (*ClientWithResponses) IncidentAttachmentsV1DeleteWithResponse ¶
func (c *ClientWithResponses) IncidentAttachmentsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1DeleteResponse, error)
IncidentAttachmentsV1DeleteWithResponse request returning *IncidentAttachmentsV1DeleteResponse
func (*ClientWithResponses) IncidentAttachmentsV1ListWithResponse ¶
func (c *ClientWithResponses) IncidentAttachmentsV1ListWithResponse(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1ListResponse, error)
IncidentAttachmentsV1ListWithResponse request returning *IncidentAttachmentsV1ListResponse
func (*ClientWithResponses) IncidentMembershipsV1CreateWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentMembershipsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error)
IncidentMembershipsV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentMembershipsV1CreateResponse
func (*ClientWithResponses) IncidentMembershipsV1CreateWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentMembershipsV1CreateWithResponse(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error)
func (*ClientWithResponses) IncidentMembershipsV1RevokeWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentMembershipsV1RevokeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error)
IncidentMembershipsV1RevokeWithBodyWithResponse request with arbitrary body returning *IncidentMembershipsV1RevokeResponse
func (*ClientWithResponses) IncidentMembershipsV1RevokeWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentMembershipsV1RevokeWithResponse(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error)
func (*ClientWithResponses) IncidentRolesV1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentRolesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error)
IncidentRolesV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV1CreateResponse
func (*ClientWithResponses) IncidentRolesV1CreateWithResponse ¶
func (c *ClientWithResponses) IncidentRolesV1CreateWithResponse(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error)
func (*ClientWithResponses) IncidentRolesV1DeleteWithResponse ¶
func (c *ClientWithResponses) IncidentRolesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1DeleteResponse, error)
IncidentRolesV1DeleteWithResponse request returning *IncidentRolesV1DeleteResponse
func (*ClientWithResponses) IncidentRolesV1ListWithResponse ¶
func (c *ClientWithResponses) IncidentRolesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV1ListResponse, error)
IncidentRolesV1ListWithResponse request returning *IncidentRolesV1ListResponse
func (*ClientWithResponses) IncidentRolesV1ShowWithResponse ¶
func (c *ClientWithResponses) IncidentRolesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1ShowResponse, error)
IncidentRolesV1ShowWithResponse request returning *IncidentRolesV1ShowResponse
func (*ClientWithResponses) IncidentRolesV1UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentRolesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error)
IncidentRolesV1UpdateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV1UpdateResponse
func (*ClientWithResponses) IncidentRolesV1UpdateWithResponse ¶
func (c *ClientWithResponses) IncidentRolesV1UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error)
func (*ClientWithResponses) IncidentRolesV2CreateWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentRolesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error)
IncidentRolesV2CreateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV2CreateResponse
func (*ClientWithResponses) IncidentRolesV2CreateWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentRolesV2CreateWithResponse(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error)
func (*ClientWithResponses) IncidentRolesV2DeleteWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentRolesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2DeleteResponse, error)
IncidentRolesV2DeleteWithResponse request returning *IncidentRolesV2DeleteResponse
func (*ClientWithResponses) IncidentRolesV2ListWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentRolesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV2ListResponse, error)
IncidentRolesV2ListWithResponse request returning *IncidentRolesV2ListResponse
func (*ClientWithResponses) IncidentRolesV2ShowWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentRolesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2ShowResponse, error)
IncidentRolesV2ShowWithResponse request returning *IncidentRolesV2ShowResponse
func (*ClientWithResponses) IncidentRolesV2UpdateWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentRolesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error)
IncidentRolesV2UpdateWithBodyWithResponse request with arbitrary body returning *IncidentRolesV2UpdateResponse
func (*ClientWithResponses) IncidentRolesV2UpdateWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) IncidentRolesV2UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error)
func (*ClientWithResponses) IncidentStatusesV1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentStatusesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error)
IncidentStatusesV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentStatusesV1CreateResponse
func (*ClientWithResponses) IncidentStatusesV1CreateWithResponse ¶
func (c *ClientWithResponses) IncidentStatusesV1CreateWithResponse(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error)
func (*ClientWithResponses) IncidentStatusesV1DeleteWithResponse ¶
func (c *ClientWithResponses) IncidentStatusesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1DeleteResponse, error)
IncidentStatusesV1DeleteWithResponse request returning *IncidentStatusesV1DeleteResponse
func (*ClientWithResponses) IncidentStatusesV1ListWithResponse ¶
func (c *ClientWithResponses) IncidentStatusesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ListResponse, error)
IncidentStatusesV1ListWithResponse request returning *IncidentStatusesV1ListResponse
func (*ClientWithResponses) IncidentStatusesV1ShowWithResponse ¶
func (c *ClientWithResponses) IncidentStatusesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ShowResponse, error)
IncidentStatusesV1ShowWithResponse request returning *IncidentStatusesV1ShowResponse
func (*ClientWithResponses) IncidentStatusesV1UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentStatusesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error)
IncidentStatusesV1UpdateWithBodyWithResponse request with arbitrary body returning *IncidentStatusesV1UpdateResponse
func (*ClientWithResponses) IncidentStatusesV1UpdateWithResponse ¶
func (c *ClientWithResponses) IncidentStatusesV1UpdateWithResponse(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error)
func (*ClientWithResponses) IncidentTimestampsV2ListWithResponse ¶
func (c *ClientWithResponses) IncidentTimestampsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ListResponse, error)
IncidentTimestampsV2ListWithResponse request returning *IncidentTimestampsV2ListResponse
func (*ClientWithResponses) IncidentTimestampsV2ShowWithResponse ¶
func (c *ClientWithResponses) IncidentTimestampsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ShowResponse, error)
IncidentTimestampsV2ShowWithResponse request returning *IncidentTimestampsV2ShowResponse
func (*ClientWithResponses) IncidentTypesV1ListWithResponse ¶
func (c *ClientWithResponses) IncidentTypesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTypesV1ListResponse, error)
IncidentTypesV1ListWithResponse request returning *IncidentTypesV1ListResponse
func (*ClientWithResponses) IncidentTypesV1ShowWithResponse ¶
func (c *ClientWithResponses) IncidentTypesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTypesV1ShowResponse, error)
IncidentTypesV1ShowWithResponse request returning *IncidentTypesV1ShowResponse
func (*ClientWithResponses) IncidentUpdatesV2ListWithResponse ¶
func (c *ClientWithResponses) IncidentUpdatesV2ListWithResponse(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2ListResponse, error)
IncidentUpdatesV2ListWithResponse request returning *IncidentUpdatesV2ListResponse
func (*ClientWithResponses) IncidentsV1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error)
IncidentsV1CreateWithBodyWithResponse request with arbitrary body returning *IncidentsV1CreateResponse
func (*ClientWithResponses) IncidentsV1CreateWithResponse ¶
func (c *ClientWithResponses) IncidentsV1CreateWithResponse(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error)
func (*ClientWithResponses) IncidentsV1ListWithResponse ¶
func (c *ClientWithResponses) IncidentsV1ListWithResponse(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentsV1ListResponse, error)
IncidentsV1ListWithResponse request returning *IncidentsV1ListResponse
func (*ClientWithResponses) IncidentsV1ShowWithResponse ¶
func (c *ClientWithResponses) IncidentsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV1ShowResponse, error)
IncidentsV1ShowWithResponse request returning *IncidentsV1ShowResponse
func (*ClientWithResponses) IncidentsV2CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error)
IncidentsV2CreateWithBodyWithResponse request with arbitrary body returning *IncidentsV2CreateResponse
func (*ClientWithResponses) IncidentsV2CreateWithResponse ¶
func (c *ClientWithResponses) IncidentsV2CreateWithResponse(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error)
func (*ClientWithResponses) IncidentsV2EditWithBodyWithResponse ¶
func (c *ClientWithResponses) IncidentsV2EditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error)
IncidentsV2EditWithBodyWithResponse request with arbitrary body returning *IncidentsV2EditResponse
func (*ClientWithResponses) IncidentsV2EditWithResponse ¶
func (c *ClientWithResponses) IncidentsV2EditWithResponse(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error)
func (*ClientWithResponses) IncidentsV2ListWithResponse ¶
func (c *ClientWithResponses) IncidentsV2ListWithResponse(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentsV2ListResponse, error)
IncidentsV2ListWithResponse request returning *IncidentsV2ListResponse
func (*ClientWithResponses) IncidentsV2ShowWithResponse ¶
func (c *ClientWithResponses) IncidentsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV2ShowResponse, error)
IncidentsV2ShowWithResponse request returning *IncidentsV2ShowResponse
func (*ClientWithResponses) SeveritiesV1CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) SeveritiesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error)
SeveritiesV1CreateWithBodyWithResponse request with arbitrary body returning *SeveritiesV1CreateResponse
func (*ClientWithResponses) SeveritiesV1CreateWithResponse ¶
func (c *ClientWithResponses) SeveritiesV1CreateWithResponse(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error)
func (*ClientWithResponses) SeveritiesV1DeleteWithResponse ¶
func (c *ClientWithResponses) SeveritiesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1DeleteResponse, error)
SeveritiesV1DeleteWithResponse request returning *SeveritiesV1DeleteResponse
func (*ClientWithResponses) SeveritiesV1ListWithResponse ¶
func (c *ClientWithResponses) SeveritiesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SeveritiesV1ListResponse, error)
SeveritiesV1ListWithResponse request returning *SeveritiesV1ListResponse
func (*ClientWithResponses) SeveritiesV1ShowWithResponse ¶
func (c *ClientWithResponses) SeveritiesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1ShowResponse, error)
SeveritiesV1ShowWithResponse request returning *SeveritiesV1ShowResponse
func (*ClientWithResponses) SeveritiesV1UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) SeveritiesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error)
SeveritiesV1UpdateWithBodyWithResponse request with arbitrary body returning *SeveritiesV1UpdateResponse
func (*ClientWithResponses) SeveritiesV1UpdateWithResponse ¶
func (c *ClientWithResponses) SeveritiesV1UpdateWithResponse(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error)
func (*ClientWithResponses) UsersV2ListWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UsersV2ListWithResponse(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*UsersV2ListResponse, error)
UsersV2ListWithResponse request returning *UsersV2ListResponse
func (*ClientWithResponses) UsersV2ShowWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UsersV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersV2ShowResponse, error)
UsersV2ShowWithResponse request returning *UsersV2ShowResponse
func (*ClientWithResponses) UtilitiesV1IdentityWithResponse ¶
func (c *ClientWithResponses) UtilitiesV1IdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1IdentityResponse, error)
UtilitiesV1IdentityWithResponse request returning *UtilitiesV1IdentityResponse
func (*ClientWithResponses) UtilitiesV1OpenAPIWithResponse ¶
func (c *ClientWithResponses) UtilitiesV1OpenAPIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1OpenAPIResponse, error)
UtilitiesV1OpenAPIWithResponse request returning *UtilitiesV1OpenAPIResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ActionsV1List request ActionsV1ListWithResponse(ctx context.Context, params *ActionsV1ListParams, reqEditors ...RequestEditorFn) (*ActionsV1ListResponse, error) // ActionsV1Show request ActionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV1ShowResponse, error) // CustomFieldOptionsV1List request CustomFieldOptionsV1ListWithResponse(ctx context.Context, params *CustomFieldOptionsV1ListParams, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ListResponse, error) // CustomFieldOptionsV1Create request with any body CustomFieldOptionsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error) CustomFieldOptionsV1CreateWithResponse(ctx context.Context, body CustomFieldOptionsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1CreateResponse, error) // CustomFieldOptionsV1Delete request CustomFieldOptionsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1DeleteResponse, error) // CustomFieldOptionsV1Show request CustomFieldOptionsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1ShowResponse, error) // CustomFieldOptionsV1Update request with any body CustomFieldOptionsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error) CustomFieldOptionsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldOptionsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldOptionsV1UpdateResponse, error) // CustomFieldsV1List request CustomFieldsV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV1ListResponse, error) // CustomFieldsV1Create request with any body CustomFieldsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error) CustomFieldsV1CreateWithResponse(ctx context.Context, body CustomFieldsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1CreateResponse, error) // CustomFieldsV1Delete request CustomFieldsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1DeleteResponse, error) // CustomFieldsV1Show request CustomFieldsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV1ShowResponse, error) // CustomFieldsV1Update request with any body CustomFieldsV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error) CustomFieldsV1UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV1UpdateResponse, error) // UtilitiesV1Identity request UtilitiesV1IdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1IdentityResponse, error) // IncidentAttachmentsV1List request IncidentAttachmentsV1ListWithResponse(ctx context.Context, params *IncidentAttachmentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1ListResponse, error) // IncidentAttachmentsV1Create request with any body IncidentAttachmentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error) IncidentAttachmentsV1CreateWithResponse(ctx context.Context, body IncidentAttachmentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1CreateResponse, error) // IncidentAttachmentsV1Delete request IncidentAttachmentsV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentAttachmentsV1DeleteResponse, error) // IncidentMembershipsV1Create request with any body IncidentMembershipsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error) IncidentMembershipsV1CreateWithResponse(ctx context.Context, body IncidentMembershipsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1CreateResponse, error) // IncidentMembershipsV1Revoke request with any body IncidentMembershipsV1RevokeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error) IncidentMembershipsV1RevokeWithResponse(ctx context.Context, body IncidentMembershipsV1RevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentMembershipsV1RevokeResponse, error) // IncidentRolesV1List request IncidentRolesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV1ListResponse, error) // IncidentRolesV1Create request with any body IncidentRolesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error) IncidentRolesV1CreateWithResponse(ctx context.Context, body IncidentRolesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1CreateResponse, error) // IncidentRolesV1Delete request IncidentRolesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1DeleteResponse, error) // IncidentRolesV1Show request IncidentRolesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV1ShowResponse, error) // IncidentRolesV1Update request with any body IncidentRolesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error) IncidentRolesV1UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV1UpdateResponse, error) // IncidentStatusesV1List request IncidentStatusesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ListResponse, error) // IncidentStatusesV1Create request with any body IncidentStatusesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error) IncidentStatusesV1CreateWithResponse(ctx context.Context, body IncidentStatusesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1CreateResponse, error) // IncidentStatusesV1Delete request IncidentStatusesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1DeleteResponse, error) // IncidentStatusesV1Show request IncidentStatusesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentStatusesV1ShowResponse, error) // IncidentStatusesV1Update request with any body IncidentStatusesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error) IncidentStatusesV1UpdateWithResponse(ctx context.Context, id string, body IncidentStatusesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentStatusesV1UpdateResponse, error) // IncidentTypesV1List request IncidentTypesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTypesV1ListResponse, error) // IncidentTypesV1Show request IncidentTypesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTypesV1ShowResponse, error) // IncidentsV1List request IncidentsV1ListWithResponse(ctx context.Context, params *IncidentsV1ListParams, reqEditors ...RequestEditorFn) (*IncidentsV1ListResponse, error) // IncidentsV1Create request with any body IncidentsV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error) IncidentsV1CreateWithResponse(ctx context.Context, body IncidentsV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV1CreateResponse, error) // IncidentsV1Show request IncidentsV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV1ShowResponse, error) // UtilitiesV1OpenAPI request UtilitiesV1OpenAPIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UtilitiesV1OpenAPIResponse, error) // SeveritiesV1List request SeveritiesV1ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SeveritiesV1ListResponse, error) // SeveritiesV1Create request with any body SeveritiesV1CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error) SeveritiesV1CreateWithResponse(ctx context.Context, body SeveritiesV1CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1CreateResponse, error) // SeveritiesV1Delete request SeveritiesV1DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1DeleteResponse, error) // SeveritiesV1Show request SeveritiesV1ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SeveritiesV1ShowResponse, error) // SeveritiesV1Update request with any body SeveritiesV1UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error) SeveritiesV1UpdateWithResponse(ctx context.Context, id string, body SeveritiesV1UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SeveritiesV1UpdateResponse, error) // ActionsV2List request ActionsV2ListWithResponse(ctx context.Context, params *ActionsV2ListParams, reqEditors ...RequestEditorFn) (*ActionsV2ListResponse, error) // ActionsV2Show request ActionsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ActionsV2ShowResponse, error) // CatalogV2ListEntries request CatalogV2ListEntriesWithResponse(ctx context.Context, params *CatalogV2ListEntriesParams, reqEditors ...RequestEditorFn) (*CatalogV2ListEntriesResponse, error) // CatalogV2CreateEntry request with any body CatalogV2CreateEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error) CatalogV2CreateEntryWithResponse(ctx context.Context, body CatalogV2CreateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateEntryResponse, error) // CatalogV2DestroyEntry request CatalogV2DestroyEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyEntryResponse, error) // CatalogV2ShowEntry request CatalogV2ShowEntryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowEntryResponse, error) // CatalogV2UpdateEntry request with any body CatalogV2UpdateEntryWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error) CatalogV2UpdateEntryWithResponse(ctx context.Context, id string, body CatalogV2UpdateEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateEntryResponse, error) // CatalogV2ListResources request CatalogV2ListResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListResourcesResponse, error) // CatalogV2ListTypes request CatalogV2ListTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogV2ListTypesResponse, error) // CatalogV2CreateType request with any body CatalogV2CreateTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error) CatalogV2CreateTypeWithResponse(ctx context.Context, body CatalogV2CreateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2CreateTypeResponse, error) // CatalogV2DestroyType request CatalogV2DestroyTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2DestroyTypeResponse, error) // CatalogV2ShowType request CatalogV2ShowTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CatalogV2ShowTypeResponse, error) // CatalogV2UpdateType request with any body CatalogV2UpdateTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error) CatalogV2UpdateTypeWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeResponse, error) // CatalogV2UpdateTypeSchema request with any body CatalogV2UpdateTypeSchemaWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error) CatalogV2UpdateTypeSchemaWithResponse(ctx context.Context, id string, body CatalogV2UpdateTypeSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*CatalogV2UpdateTypeSchemaResponse, error) // CustomFieldsV2List request CustomFieldsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CustomFieldsV2ListResponse, error) // CustomFieldsV2Create request with any body CustomFieldsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error) CustomFieldsV2CreateWithResponse(ctx context.Context, body CustomFieldsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2CreateResponse, error) // CustomFieldsV2Delete request CustomFieldsV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2DeleteResponse, error) // CustomFieldsV2Show request CustomFieldsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CustomFieldsV2ShowResponse, error) // CustomFieldsV2Update request with any body CustomFieldsV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error) CustomFieldsV2UpdateWithResponse(ctx context.Context, id string, body CustomFieldsV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomFieldsV2UpdateResponse, error) // FollowUpsV2List request FollowUpsV2ListWithResponse(ctx context.Context, params *FollowUpsV2ListParams, reqEditors ...RequestEditorFn) (*FollowUpsV2ListResponse, error) // FollowUpsV2Show request FollowUpsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FollowUpsV2ShowResponse, error) // IncidentRolesV2List request IncidentRolesV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentRolesV2ListResponse, error) // IncidentRolesV2Create request with any body IncidentRolesV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error) IncidentRolesV2CreateWithResponse(ctx context.Context, body IncidentRolesV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2CreateResponse, error) // IncidentRolesV2Delete request IncidentRolesV2DeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2DeleteResponse, error) // IncidentRolesV2Show request IncidentRolesV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentRolesV2ShowResponse, error) // IncidentRolesV2Update request with any body IncidentRolesV2UpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error) IncidentRolesV2UpdateWithResponse(ctx context.Context, id string, body IncidentRolesV2UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentRolesV2UpdateResponse, error) // IncidentTimestampsV2List request IncidentTimestampsV2ListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ListResponse, error) // IncidentTimestampsV2Show request IncidentTimestampsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentTimestampsV2ShowResponse, error) // IncidentUpdatesV2List request IncidentUpdatesV2ListWithResponse(ctx context.Context, params *IncidentUpdatesV2ListParams, reqEditors ...RequestEditorFn) (*IncidentUpdatesV2ListResponse, error) // IncidentsV2List request IncidentsV2ListWithResponse(ctx context.Context, params *IncidentsV2ListParams, reqEditors ...RequestEditorFn) (*IncidentsV2ListResponse, error) // IncidentsV2Create request with any body IncidentsV2CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error) IncidentsV2CreateWithResponse(ctx context.Context, body IncidentsV2CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2CreateResponse, error) // IncidentsV2Show request IncidentsV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IncidentsV2ShowResponse, error) // IncidentsV2Edit request with any body IncidentsV2EditWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error) IncidentsV2EditWithResponse(ctx context.Context, id string, body IncidentsV2EditJSONRequestBody, reqEditors ...RequestEditorFn) (*IncidentsV2EditResponse, error) // UsersV2List request UsersV2ListWithResponse(ctx context.Context, params *UsersV2ListParams, reqEditors ...RequestEditorFn) (*UsersV2ListResponse, error) // UsersV2Show request UsersV2ShowWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UsersV2ShowResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateEntryRequestBody ¶
type CreateEntryRequestBody struct { // Aliases Optional aliases that can be used to reference this entry Aliases *[]string `json:"aliases,omitempty"` // AttributeValues Values of this entry AttributeValues map[string]EngineParamBindingPayloadV2 `json:"attribute_values"` // CatalogTypeId ID of this catalog type CatalogTypeId string `json:"catalog_type_id"` // ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type ExternalId *string `json:"external_id,omitempty"` // Name Name is the human readable name of this entry Name string `json:"name"` // Rank When catalog type is ranked, this is used to help order things Rank *int32 `json:"rank,omitempty"` }
CreateEntryRequestBody defines model for CreateEntryRequestBody.
type CreateEntryResponseBody ¶
type CreateEntryResponseBody struct {
CatalogEntry CatalogEntryV2 `json:"catalog_entry"`
}
CreateEntryResponseBody defines model for CreateEntryResponseBody.
type CreateRequestBody ¶
type CreateRequestBody struct { // CustomFieldId ID of the custom field this option belongs to CustomFieldId string `json:"custom_field_id"` // SortKey Sort key used to order the custom field options correctly SortKey *int64 `json:"sort_key,omitempty"` // Value Human readable name for the custom field option Value string `json:"value"` }
CreateRequestBody defines model for CreateRequestBody.
type CreateRequestBody10 ¶ added in v0.4.0
type CreateRequestBody10 struct { // CustomFieldEntries Set the incident's custom fields to these values CustomFieldEntries *[]CustomFieldEntryPayloadV1 `json:"custom_field_entries,omitempty"` // Id Unique identifier for the incident Id *string `json:"id,omitempty"` // IdempotencyKey Unique string used to de-duplicate incident create requests IdempotencyKey string `json:"idempotency_key"` // IncidentRoleAssignments Assign incident roles to these people IncidentRoleAssignments *[]IncidentRoleAssignmentPayloadV2 `json:"incident_role_assignments,omitempty"` // IncidentStatusId Incident status to assign to the incident IncidentStatusId *string `json:"incident_status_id,omitempty"` // IncidentTimestampValues Assign the incident's timestamps to these values IncidentTimestampValues *[]IncidentTimestampValuePayloadV2 `json:"incident_timestamp_values,omitempty"` // IncidentTypeId Incident type to create this incident as IncidentTypeId *string `json:"incident_type_id,omitempty"` // Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident Mode *CreateRequestBody10Mode `json:"mode,omitempty"` // Name Explanation of the incident Name *string `json:"name,omitempty"` RetrospectiveIncidentOptions *RetrospectiveIncidentOptionsV2 `json:"retrospective_incident_options,omitempty"` // SeverityId Severity to create incident as SeverityId *string `json:"severity_id,omitempty"` // SlackTeamId Slack Team to create the incident in SlackTeamId *string `json:"slack_team_id,omitempty"` // Summary Detailed description of the incident Summary *string `json:"summary,omitempty"` // Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access). Visibility CreateRequestBody10Visibility `json:"visibility"` }
CreateRequestBody10 defines model for CreateRequestBody10.
type CreateRequestBody10Mode ¶ added in v0.4.0
type CreateRequestBody10Mode string
CreateRequestBody10Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident
const ( CreateRequestBody10ModeRetrospective CreateRequestBody10Mode = "retrospective" CreateRequestBody10ModeStandard CreateRequestBody10Mode = "standard" CreateRequestBody10ModeTest CreateRequestBody10Mode = "test" CreateRequestBody10ModeTutorial CreateRequestBody10Mode = "tutorial" )
Defines values for CreateRequestBody10Mode.
type CreateRequestBody10Visibility ¶ added in v0.4.0
type CreateRequestBody10Visibility string
CreateRequestBody10Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access).
const ( CreateRequestBody10VisibilityPrivate CreateRequestBody10Visibility = "private" CreateRequestBody10VisibilityPublic CreateRequestBody10Visibility = "public" )
Defines values for CreateRequestBody10Visibility.
type CreateRequestBody11 ¶ added in v0.4.0
type CreateRequestBody11 struct { // Description Description of the severity Description string `json:"description"` // Name Human readable name of the severity Name string `json:"name"` // Rank Rank to help sort severities (lower numbers are less severe) Rank *int64 `json:"rank,omitempty"` }
CreateRequestBody11 defines model for CreateRequestBody11.
type CreateRequestBody2 ¶
type CreateRequestBody2 struct { // Description Description of the custom field Description string `json:"description"` // FieldType Type of custom field FieldType CreateRequestBody2FieldType `json:"field_type"` // Name Human readable name for the custom field Name string `json:"name"` // Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead]. Required *CreateRequestBody2Required `json:"required,omitempty"` // RequiredV2 When this custom field must be set during the incident lifecycle. RequiredV2 *CreateRequestBody2RequiredV2 `json:"required_v2,omitempty"` // ShowBeforeClosure Whether a custom field should be shown in the incident resolve modal. If this custom field is required before resolution, but no value has been set for it, the field will be shown in the resolve modal whatever the value of this setting. ShowBeforeClosure bool `json:"show_before_closure"` // ShowBeforeCreation Whether a custom field should be shown in the incident creation modal. This must be true if the field is always required. ShowBeforeCreation bool `json:"show_before_creation"` // ShowBeforeUpdate Whether a custom field should be shown in the incident update modal. ShowBeforeUpdate bool `json:"show_before_update"` // ShowInAnnouncementPost Whether a custom field should be shown in the list of fields as part of the announcement post when set. ShowInAnnouncementPost *bool `json:"show_in_announcement_post,omitempty"` }
CreateRequestBody2 defines model for CreateRequestBody2.
type CreateRequestBody2FieldType ¶
type CreateRequestBody2FieldType string
CreateRequestBody2FieldType Type of custom field
const ( CreateRequestBody2FieldTypeLink CreateRequestBody2FieldType = "link" CreateRequestBody2FieldTypeMultiSelect CreateRequestBody2FieldType = "multi_select" CreateRequestBody2FieldTypeNumeric CreateRequestBody2FieldType = "numeric" CreateRequestBody2FieldTypeSingleSelect CreateRequestBody2FieldType = "single_select" CreateRequestBody2FieldTypeText CreateRequestBody2FieldType = "text" )
Defines values for CreateRequestBody2FieldType.
type CreateRequestBody2Required ¶
type CreateRequestBody2Required string
CreateRequestBody2Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].
const ( CreateRequestBody2RequiredAlways CreateRequestBody2Required = "always" CreateRequestBody2RequiredBeforeClosure CreateRequestBody2Required = "before_closure" CreateRequestBody2RequiredNever CreateRequestBody2Required = "never" )
Defines values for CreateRequestBody2Required.
type CreateRequestBody2RequiredV2 ¶ added in v0.4.0
type CreateRequestBody2RequiredV2 string
CreateRequestBody2RequiredV2 When this custom field must be set during the incident lifecycle.
const ( CreateRequestBody2RequiredV2Always CreateRequestBody2RequiredV2 = "always" CreateRequestBody2RequiredV2BeforeResolution CreateRequestBody2RequiredV2 = "before_resolution" CreateRequestBody2RequiredV2Never CreateRequestBody2RequiredV2 = "never" )
Defines values for CreateRequestBody2RequiredV2.
type CreateRequestBody3 ¶
type CreateRequestBody3 struct { // Description Description of the custom field Description string `json:"description"` // FieldType Type of custom field FieldType CreateRequestBody3FieldType `json:"field_type"` // Name Human readable name for the custom field Name string `json:"name"` }
CreateRequestBody3 defines model for CreateRequestBody3.
type CreateRequestBody3FieldType ¶ added in v0.4.0
type CreateRequestBody3FieldType string
CreateRequestBody3FieldType Type of custom field
const ( CreateRequestBody3FieldTypeLink CreateRequestBody3FieldType = "link" CreateRequestBody3FieldTypeMultiSelect CreateRequestBody3FieldType = "multi_select" CreateRequestBody3FieldTypeNumeric CreateRequestBody3FieldType = "numeric" CreateRequestBody3FieldTypeSingleSelect CreateRequestBody3FieldType = "single_select" CreateRequestBody3FieldTypeText CreateRequestBody3FieldType = "text" )
Defines values for CreateRequestBody3FieldType.
type CreateRequestBody4 ¶
type CreateRequestBody4 struct { // IncidentId ID of the incident to add an attachment to IncidentId string `json:"incident_id"` Resource struct { // ExternalId ID of the resource in the external system ExternalId string `json:"external_id"` // ResourceType E.g. PagerDuty: the external system that holds the resource ResourceType CreateRequestBody4ResourceResourceType `json:"resource_type"` } `json:"resource"` }
CreateRequestBody4 defines model for CreateRequestBody4.
type CreateRequestBody4ResourceResourceType ¶ added in v0.4.0
type CreateRequestBody4ResourceResourceType string
CreateRequestBody4ResourceResourceType E.g. PagerDuty: the external system that holds the resource
const ( CreateRequestBody4ResourceResourceTypeAtlassianStatuspageIncident CreateRequestBody4ResourceResourceType = "atlassian_statuspage_incident" CreateRequestBody4ResourceResourceTypeDatadogMonitorAlert CreateRequestBody4ResourceResourceType = "datadog_monitor_alert" CreateRequestBody4ResourceResourceTypeGithubPullRequest CreateRequestBody4ResourceResourceType = "github_pull_request" CreateRequestBody4ResourceResourceTypeGoogleCalendarEvent CreateRequestBody4ResourceResourceType = "google_calendar_event" CreateRequestBody4ResourceResourceTypeOpsgenieAlert CreateRequestBody4ResourceResourceType = "opsgenie_alert" CreateRequestBody4ResourceResourceTypePagerDutyIncident CreateRequestBody4ResourceResourceType = "pager_duty_incident" CreateRequestBody4ResourceResourceTypeScrubbed CreateRequestBody4ResourceResourceType = "scrubbed" CreateRequestBody4ResourceResourceTypeSentryIssue CreateRequestBody4ResourceResourceType = "sentry_issue" CreateRequestBody4ResourceResourceTypeStatuspageIncident CreateRequestBody4ResourceResourceType = "statuspage_incident" CreateRequestBody4ResourceResourceTypeZendeskTicket CreateRequestBody4ResourceResourceType = "zendesk_ticket" )
Defines values for CreateRequestBody4ResourceResourceType.
type CreateRequestBody5 ¶
type CreateRequestBody5 struct { IncidentId string `json:"incident_id"` UserId string `json:"user_id"` }
CreateRequestBody5 defines model for CreateRequestBody5.
type CreateRequestBody6 ¶
type CreateRequestBody6 struct { // Description Describes the purpose of the role Description string `json:"description"` // Instructions Provided to whoever is nominated for the role Instructions string `json:"instructions"` // Name Human readable name of the incident role Name string `json:"name"` // Required Whether incident require this role to be set Required bool `json:"required"` // Shortform Short human readable name for Slack Shortform string `json:"shortform"` }
CreateRequestBody6 defines model for CreateRequestBody6.
type CreateRequestBody7 ¶
type CreateRequestBody7 struct { // Description Describes the purpose of the role Description string `json:"description"` // Instructions Provided to whoever is nominated for the role Instructions string `json:"instructions"` // Name Human readable name of the incident role Name string `json:"name"` // Shortform Short human readable name for Slack Shortform string `json:"shortform"` }
CreateRequestBody7 defines model for CreateRequestBody7.
type CreateRequestBody8 ¶
type CreateRequestBody8 struct { // Category Whether the status should be considered 'live' or 'closed'. The triage and declined statuses cannot be created or modified. Category CreateRequestBody8Category `json:"category"` // Description Rich text description of the incident status Description string `json:"description"` // Name Unique name of this status Name string `json:"name"` }
CreateRequestBody8 defines model for CreateRequestBody8.
type CreateRequestBody8Category ¶ added in v0.4.0
type CreateRequestBody8Category string
CreateRequestBody8Category Whether the status should be considered 'live' or 'closed'. The triage and declined statuses cannot be created or modified.
const ( CreateRequestBody8CategoryClosed CreateRequestBody8Category = "closed" CreateRequestBody8CategoryLearning CreateRequestBody8Category = "learning" CreateRequestBody8CategoryLive CreateRequestBody8Category = "live" )
Defines values for CreateRequestBody8Category.
type CreateRequestBody9 ¶ added in v0.4.0
type CreateRequestBody9 struct { // CustomFieldEntries Set the incident's custom fields to these values CustomFieldEntries *[]CustomFieldEntryPayloadV1 `json:"custom_field_entries,omitempty"` // IdempotencyKey Unique string used to de-duplicate incident create requests IdempotencyKey string `json:"idempotency_key"` // IncidentRoleAssignments Assign incident roles to these people IncidentRoleAssignments *[]IncidentRoleAssignmentPayloadV1 `json:"incident_role_assignments,omitempty"` // IncidentTypeId Incident type to create this incident as IncidentTypeId *string `json:"incident_type_id,omitempty"` // Mode Whether the incident is real or test Mode *CreateRequestBody9Mode `json:"mode,omitempty"` // Name Explanation of the incident Name *string `json:"name,omitempty"` // SeverityId Severity to create incident as SeverityId *string `json:"severity_id,omitempty"` // SlackTeamId ID of the Slack team / workspace. This is only required if you are using a Slack Enterprise Grid with multiple teams. SlackTeamId *string `json:"slack_team_id,omitempty"` // SourceMessageChannelId Channel ID of the source message, if this incident was created from one SourceMessageChannelId *string `json:"source_message_channel_id,omitempty"` // SourceMessageTimestamp Timestamp of the source message, if this incident was created from one SourceMessageTimestamp *string `json:"source_message_timestamp,omitempty"` // Status Current status of the incident Status *CreateRequestBody9Status `json:"status,omitempty"` // Summary Detailed description of the incident Summary *string `json:"summary,omitempty"` // Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access). Visibility CreateRequestBody9Visibility `json:"visibility"` }
CreateRequestBody9 defines model for CreateRequestBody9.
type CreateRequestBody9Mode ¶ added in v0.4.0
type CreateRequestBody9Mode string
CreateRequestBody9Mode Whether the incident is real or test
const ( CreateRequestBody9ModeReal CreateRequestBody9Mode = "real" CreateRequestBody9ModeTest CreateRequestBody9Mode = "test" )
Defines values for CreateRequestBody9Mode.
type CreateRequestBody9Status ¶ added in v0.4.0
type CreateRequestBody9Status string
CreateRequestBody9Status Current status of the incident
const ( CreateRequestBody9StatusClosed CreateRequestBody9Status = "closed" CreateRequestBody9StatusDeclined CreateRequestBody9Status = "declined" CreateRequestBody9StatusFixing CreateRequestBody9Status = "fixing" CreateRequestBody9StatusInvestigating CreateRequestBody9Status = "investigating" CreateRequestBody9StatusMonitoring CreateRequestBody9Status = "monitoring" CreateRequestBody9StatusTriage CreateRequestBody9Status = "triage" )
Defines values for CreateRequestBody9Status.
type CreateRequestBody9Visibility ¶ added in v0.4.0
type CreateRequestBody9Visibility string
CreateRequestBody9Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access).
const ( CreateRequestBody9VisibilityPrivate CreateRequestBody9Visibility = "private" CreateRequestBody9VisibilityPublic CreateRequestBody9Visibility = "public" )
Defines values for CreateRequestBody9Visibility.
type CreateResponseBody ¶
type CreateResponseBody struct {
IncidentAttachment IncidentAttachmentV1 `json:"incident_attachment"`
}
CreateResponseBody defines model for CreateResponseBody.
type CreateResponseBody2 ¶ added in v0.4.0
type CreateResponseBody2 struct {
IncidentMembership IncidentMembership `json:"incident_membership"`
}
CreateResponseBody2 defines model for CreateResponseBody2.
type CreateTypeRequestBody ¶
type CreateTypeRequestBody struct { // Annotations Annotations that can track metadata about this type Annotations *map[string]string `json:"annotations,omitempty"` // Color Sets the display color of this type in the dashboard Color *CreateTypeRequestBodyColor `json:"color,omitempty"` // Description Human readble description of this type Description string `json:"description"` // Icon Sets the display icon of this type in the dashboard Icon *CreateTypeRequestBodyIcon `json:"icon,omitempty"` // Name Name is the human readable name of this type Name string `json:"name"` // Ranked If this type should be ranked Ranked *bool `json:"ranked,omitempty"` // TypeName The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName "] TypeName *string `json:"type_name,omitempty"` }
CreateTypeRequestBody defines model for CreateTypeRequestBody.
type CreateTypeRequestBodyColor ¶
type CreateTypeRequestBodyColor string
CreateTypeRequestBodyColor Sets the display color of this type in the dashboard
const ( CreateTypeRequestBodyColorBlue CreateTypeRequestBodyColor = "blue" CreateTypeRequestBodyColorCyan CreateTypeRequestBodyColor = "cyan" CreateTypeRequestBodyColorGreen CreateTypeRequestBodyColor = "green" CreateTypeRequestBodyColorOrange CreateTypeRequestBodyColor = "orange" CreateTypeRequestBodyColorPink CreateTypeRequestBodyColor = "pink" CreateTypeRequestBodyColorViolet CreateTypeRequestBodyColor = "violet" CreateTypeRequestBodyColorYellow CreateTypeRequestBodyColor = "yellow" )
Defines values for CreateTypeRequestBodyColor.
type CreateTypeRequestBodyIcon ¶
type CreateTypeRequestBodyIcon string
CreateTypeRequestBodyIcon Sets the display icon of this type in the dashboard
const ( CreateTypeRequestBodyIconBolt CreateTypeRequestBodyIcon = "bolt" CreateTypeRequestBodyIconBox CreateTypeRequestBodyIcon = "box" CreateTypeRequestBodyIconBriefcase CreateTypeRequestBodyIcon = "briefcase" CreateTypeRequestBodyIconBrowser CreateTypeRequestBodyIcon = "browser" CreateTypeRequestBodyIconBulb CreateTypeRequestBodyIcon = "bulb" CreateTypeRequestBodyIconCalendar CreateTypeRequestBodyIcon = "calendar" CreateTypeRequestBodyIconClock CreateTypeRequestBodyIcon = "clock" CreateTypeRequestBodyIconCog CreateTypeRequestBodyIcon = "cog" CreateTypeRequestBodyIconDatabase CreateTypeRequestBodyIcon = "database" CreateTypeRequestBodyIconDoc CreateTypeRequestBodyIcon = "doc" CreateTypeRequestBodyIconEmail CreateTypeRequestBodyIcon = "email" CreateTypeRequestBodyIconFiles CreateTypeRequestBodyIcon = "files" CreateTypeRequestBodyIconFlag CreateTypeRequestBodyIcon = "flag" CreateTypeRequestBodyIconMoney CreateTypeRequestBodyIcon = "money" CreateTypeRequestBodyIconServer CreateTypeRequestBodyIcon = "server" CreateTypeRequestBodyIconSeverity CreateTypeRequestBodyIcon = "severity" CreateTypeRequestBodyIconStar CreateTypeRequestBodyIcon = "star" CreateTypeRequestBodyIconStore CreateTypeRequestBodyIcon = "store" CreateTypeRequestBodyIconTag CreateTypeRequestBodyIcon = "tag" CreateTypeRequestBodyIconUser CreateTypeRequestBodyIcon = "user" CreateTypeRequestBodyIconUsers CreateTypeRequestBodyIcon = "users" )
Defines values for CreateTypeRequestBodyIcon.
type CreateTypeResponseBody ¶
type CreateTypeResponseBody struct {
CatalogType CatalogTypeV2 `json:"catalog_type"`
}
CreateTypeResponseBody defines model for CreateTypeResponseBody.
type CustomFieldEntryPayloadV1 ¶
type CustomFieldEntryPayloadV1 struct { // CustomFieldId ID of the custom field this entry is linked against CustomFieldId string `json:"custom_field_id"` // Values List of values to associate with this entry. Use an empty array to unset the value of the custom field. Values []CustomFieldValuePayloadV1 `json:"values"` }
CustomFieldEntryPayloadV1 defines model for CustomFieldEntryPayloadV1.
type CustomFieldEntryV1 ¶
type CustomFieldEntryV1 struct { CustomField CustomFieldTypeInfoV1 `json:"custom_field"` // Values List of custom field values set on this entry Values []CustomFieldValueV1 `json:"values"` }
CustomFieldEntryV1 defines model for CustomFieldEntryV1.
type CustomFieldOptionV1 ¶
type CustomFieldOptionV1 struct { // CustomFieldId ID of the custom field this option belongs to CustomFieldId string `json:"custom_field_id"` // Id Unique identifier for the custom field option Id string `json:"id"` // SortKey Sort key used to order the custom field options correctly SortKey int64 `json:"sort_key"` // Value Human readable name for the custom field option Value string `json:"value"` }
CustomFieldOptionV1 defines model for CustomFieldOptionV1.
type CustomFieldOptionsV1CreateJSONRequestBody ¶
type CustomFieldOptionsV1CreateJSONRequestBody = CreateRequestBody
CustomFieldOptionsV1CreateJSONRequestBody defines body for CustomFieldOptionsV1Create for application/json ContentType.
type CustomFieldOptionsV1CreateResponse ¶
type CustomFieldOptionsV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ShowResponseBody3 }
func ParseCustomFieldOptionsV1CreateResponse ¶
func ParseCustomFieldOptionsV1CreateResponse(rsp *http.Response) (*CustomFieldOptionsV1CreateResponse, error)
ParseCustomFieldOptionsV1CreateResponse parses an HTTP response from a CustomFieldOptionsV1CreateWithResponse call
func (CustomFieldOptionsV1CreateResponse) Status ¶
func (r CustomFieldOptionsV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldOptionsV1CreateResponse) StatusCode ¶
func (r CustomFieldOptionsV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldOptionsV1DeleteResponse ¶
func ParseCustomFieldOptionsV1DeleteResponse ¶
func ParseCustomFieldOptionsV1DeleteResponse(rsp *http.Response) (*CustomFieldOptionsV1DeleteResponse, error)
ParseCustomFieldOptionsV1DeleteResponse parses an HTTP response from a CustomFieldOptionsV1DeleteWithResponse call
func (CustomFieldOptionsV1DeleteResponse) Status ¶
func (r CustomFieldOptionsV1DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldOptionsV1DeleteResponse) StatusCode ¶
func (r CustomFieldOptionsV1DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldOptionsV1ListParams ¶
type CustomFieldOptionsV1ListParams struct { // PageSize number of records to return PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"` // After A custom field option's ID. This endpoint will return a list of custom field options created after this option. After *string `form:"after,omitempty" json:"after,omitempty"` // CustomFieldId The custom field to list options for. CustomFieldId string `form:"custom_field_id" json:"custom_field_id"` }
CustomFieldOptionsV1ListParams defines parameters for CustomFieldOptionsV1List.
type CustomFieldOptionsV1ListResponse ¶
type CustomFieldOptionsV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody3 }
func ParseCustomFieldOptionsV1ListResponse ¶
func ParseCustomFieldOptionsV1ListResponse(rsp *http.Response) (*CustomFieldOptionsV1ListResponse, error)
ParseCustomFieldOptionsV1ListResponse parses an HTTP response from a CustomFieldOptionsV1ListWithResponse call
func (CustomFieldOptionsV1ListResponse) Status ¶
func (r CustomFieldOptionsV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldOptionsV1ListResponse) StatusCode ¶
func (r CustomFieldOptionsV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldOptionsV1ShowResponse ¶
type CustomFieldOptionsV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody3 }
func ParseCustomFieldOptionsV1ShowResponse ¶
func ParseCustomFieldOptionsV1ShowResponse(rsp *http.Response) (*CustomFieldOptionsV1ShowResponse, error)
ParseCustomFieldOptionsV1ShowResponse parses an HTTP response from a CustomFieldOptionsV1ShowWithResponse call
func (CustomFieldOptionsV1ShowResponse) Status ¶
func (r CustomFieldOptionsV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldOptionsV1ShowResponse) StatusCode ¶
func (r CustomFieldOptionsV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldOptionsV1UpdateJSONRequestBody ¶
type CustomFieldOptionsV1UpdateJSONRequestBody = UpdateRequestBody
CustomFieldOptionsV1UpdateJSONRequestBody defines body for CustomFieldOptionsV1Update for application/json ContentType.
type CustomFieldOptionsV1UpdateResponse ¶
type CustomFieldOptionsV1UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody3 }
func ParseCustomFieldOptionsV1UpdateResponse ¶
func ParseCustomFieldOptionsV1UpdateResponse(rsp *http.Response) (*CustomFieldOptionsV1UpdateResponse, error)
ParseCustomFieldOptionsV1UpdateResponse parses an HTTP response from a CustomFieldOptionsV1UpdateWithResponse call
func (CustomFieldOptionsV1UpdateResponse) Status ¶
func (r CustomFieldOptionsV1UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldOptionsV1UpdateResponse) StatusCode ¶
func (r CustomFieldOptionsV1UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldTypeInfoV1 ¶
type CustomFieldTypeInfoV1 struct { // Description Description of the custom field Description string `json:"description"` // FieldType Type of custom field FieldType CustomFieldTypeInfoV1FieldType `json:"field_type"` // Id Unique identifier for the custom field Id string `json:"id"` // Name Human readable name for the custom field Name string `json:"name"` // Options What options are available for this custom field, if this field has options Options []CustomFieldOptionV1 `json:"options"` }
CustomFieldTypeInfoV1 defines model for CustomFieldTypeInfoV1.
type CustomFieldTypeInfoV1FieldType ¶
type CustomFieldTypeInfoV1FieldType string
CustomFieldTypeInfoV1FieldType Type of custom field
const ( CustomFieldTypeInfoV1FieldTypeLink CustomFieldTypeInfoV1FieldType = "link" CustomFieldTypeInfoV1FieldTypeMultiSelect CustomFieldTypeInfoV1FieldType = "multi_select" CustomFieldTypeInfoV1FieldTypeNumeric CustomFieldTypeInfoV1FieldType = "numeric" CustomFieldTypeInfoV1FieldTypeSingleSelect CustomFieldTypeInfoV1FieldType = "single_select" CustomFieldTypeInfoV1FieldTypeText CustomFieldTypeInfoV1FieldType = "text" )
Defines values for CustomFieldTypeInfoV1FieldType.
type CustomFieldV1 ¶
type CustomFieldV1 struct { // CatalogTypeId For catalog fields, the ID of the associated catalog type CatalogTypeId *string `json:"catalog_type_id,omitempty"` // CreatedAt When the action was created CreatedAt time.Time `json:"created_at"` // Description Description of the custom field Description string `json:"description"` // FieldType Type of custom field FieldType CustomFieldV1FieldType `json:"field_type"` // Id Unique identifier for the custom field Id string `json:"id"` // Name Human readable name for the custom field Name string `json:"name"` // Options What options are available for this custom field, if this field has options Options []CustomFieldOptionV1 `json:"options"` // Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead]. Required *CustomFieldV1Required `json:"required,omitempty"` // RequiredV2 When this custom field must be set during the incident lifecycle. RequiredV2 *CustomFieldV1RequiredV2 `json:"required_v2,omitempty"` // ShowBeforeClosure Whether a custom field should be shown in the incident resolve modal. If this custom field is required before resolution, but no value has been set for it, the field will be shown in the resolve modal whatever the value of this setting. ShowBeforeClosure bool `json:"show_before_closure"` // ShowBeforeCreation Whether a custom field should be shown in the incident creation modal. This must be true if the field is always required. ShowBeforeCreation bool `json:"show_before_creation"` // ShowBeforeUpdate Whether a custom field should be shown in the incident update modal. ShowBeforeUpdate bool `json:"show_before_update"` // ShowInAnnouncementPost Whether a custom field should be shown in the list of fields as part of the announcement post when set. ShowInAnnouncementPost *bool `json:"show_in_announcement_post,omitempty"` // UpdatedAt When the action was last updated UpdatedAt time.Time `json:"updated_at"` }
CustomFieldV1 defines model for CustomFieldV1.
type CustomFieldV1FieldType ¶
type CustomFieldV1FieldType string
CustomFieldV1FieldType Type of custom field
const ( CustomFieldV1FieldTypeLink CustomFieldV1FieldType = "link" CustomFieldV1FieldTypeMultiSelect CustomFieldV1FieldType = "multi_select" CustomFieldV1FieldTypeNumeric CustomFieldV1FieldType = "numeric" CustomFieldV1FieldTypeSingleSelect CustomFieldV1FieldType = "single_select" CustomFieldV1FieldTypeText CustomFieldV1FieldType = "text" )
Defines values for CustomFieldV1FieldType.
type CustomFieldV1Required ¶
type CustomFieldV1Required string
CustomFieldV1Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].
const ( CustomFieldV1RequiredAlways CustomFieldV1Required = "always" CustomFieldV1RequiredBeforeClosure CustomFieldV1Required = "before_closure" CustomFieldV1RequiredNever CustomFieldV1Required = "never" )
Defines values for CustomFieldV1Required.
type CustomFieldV1RequiredV2 ¶ added in v0.4.0
type CustomFieldV1RequiredV2 string
CustomFieldV1RequiredV2 When this custom field must be set during the incident lifecycle.
const ( CustomFieldV1RequiredV2Always CustomFieldV1RequiredV2 = "always" CustomFieldV1RequiredV2BeforeResolution CustomFieldV1RequiredV2 = "before_resolution" CustomFieldV1RequiredV2Never CustomFieldV1RequiredV2 = "never" )
Defines values for CustomFieldV1RequiredV2.
type CustomFieldV2 ¶ added in v0.4.0
type CustomFieldV2 struct { // CatalogTypeId For catalog fields, the ID of the associated catalog type CatalogTypeId *string `json:"catalog_type_id,omitempty"` // CreatedAt When the action was created CreatedAt time.Time `json:"created_at"` // Description Description of the custom field Description string `json:"description"` // FieldType Type of custom field FieldType CustomFieldV2FieldType `json:"field_type"` // Id Unique identifier for the custom field Id string `json:"id"` // Name Human readable name for the custom field Name string `json:"name"` // UpdatedAt When the action was last updated UpdatedAt time.Time `json:"updated_at"` }
CustomFieldV2 defines model for CustomFieldV2.
type CustomFieldV2FieldType ¶ added in v0.4.0
type CustomFieldV2FieldType string
CustomFieldV2FieldType Type of custom field
const ( Link CustomFieldV2FieldType = "link" MultiSelect CustomFieldV2FieldType = "multi_select" Numeric CustomFieldV2FieldType = "numeric" SingleSelect CustomFieldV2FieldType = "single_select" Text CustomFieldV2FieldType = "text" )
Defines values for CustomFieldV2FieldType.
type CustomFieldValuePayloadV1 ¶
type CustomFieldValuePayloadV1 struct { // Id Unique identifier for the custom field value Id *string `json:"id,omitempty"` // ValueCatalogEntryId ID of the catalog entry ValueCatalogEntryId *string `json:"value_catalog_entry_id,omitempty"` // ValueLink If the custom field type is 'link', this will contain the value assigned. ValueLink *string `json:"value_link,omitempty"` // ValueNumeric If the custom field type is 'numeric', this will contain the value assigned. ValueNumeric *string `json:"value_numeric,omitempty"` // ValueOptionId ID of the custom field option ValueOptionId *string `json:"value_option_id,omitempty"` // ValueText If the custom field type is 'text', this will contain the value assigned. ValueText *string `json:"value_text,omitempty"` // ValueTimestamp Deprecated: please use incident timestamp values instead ValueTimestamp *string `json:"value_timestamp,omitempty"` }
CustomFieldValuePayloadV1 defines model for CustomFieldValuePayloadV1.
type CustomFieldValueV1 ¶
type CustomFieldValueV1 struct { ValueCatalogEntry *EmbeddedCatalogEntryV1 `json:"value_catalog_entry,omitempty"` // ValueLink If the custom field type is 'link', this will contain the value assigned. ValueLink *string `json:"value_link,omitempty"` // ValueNumeric If the custom field type is 'numeric', this will contain the value assigned. ValueNumeric *string `json:"value_numeric,omitempty"` ValueOption *CustomFieldOptionV1 `json:"value_option,omitempty"` // ValueText If the custom field type is 'text', this will contain the value assigned. ValueText *string `json:"value_text,omitempty"` }
CustomFieldValueV1 defines model for CustomFieldValueV1.
type CustomFieldsV1CreateJSONRequestBody ¶
type CustomFieldsV1CreateJSONRequestBody = CreateRequestBody2
CustomFieldsV1CreateJSONRequestBody defines body for CustomFieldsV1Create for application/json ContentType.
type CustomFieldsV1CreateResponse ¶
type CustomFieldsV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ShowResponseBody4 }
func ParseCustomFieldsV1CreateResponse ¶
func ParseCustomFieldsV1CreateResponse(rsp *http.Response) (*CustomFieldsV1CreateResponse, error)
ParseCustomFieldsV1CreateResponse parses an HTTP response from a CustomFieldsV1CreateWithResponse call
func (CustomFieldsV1CreateResponse) Status ¶
func (r CustomFieldsV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV1CreateResponse) StatusCode ¶
func (r CustomFieldsV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV1DeleteResponse ¶
func ParseCustomFieldsV1DeleteResponse ¶
func ParseCustomFieldsV1DeleteResponse(rsp *http.Response) (*CustomFieldsV1DeleteResponse, error)
ParseCustomFieldsV1DeleteResponse parses an HTTP response from a CustomFieldsV1DeleteWithResponse call
func (CustomFieldsV1DeleteResponse) Status ¶
func (r CustomFieldsV1DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV1DeleteResponse) StatusCode ¶
func (r CustomFieldsV1DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV1ListResponse ¶
type CustomFieldsV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody4 }
func ParseCustomFieldsV1ListResponse ¶
func ParseCustomFieldsV1ListResponse(rsp *http.Response) (*CustomFieldsV1ListResponse, error)
ParseCustomFieldsV1ListResponse parses an HTTP response from a CustomFieldsV1ListWithResponse call
func (CustomFieldsV1ListResponse) Status ¶
func (r CustomFieldsV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV1ListResponse) StatusCode ¶
func (r CustomFieldsV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV1ShowResponse ¶
type CustomFieldsV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody4 }
func ParseCustomFieldsV1ShowResponse ¶
func ParseCustomFieldsV1ShowResponse(rsp *http.Response) (*CustomFieldsV1ShowResponse, error)
ParseCustomFieldsV1ShowResponse parses an HTTP response from a CustomFieldsV1ShowWithResponse call
func (CustomFieldsV1ShowResponse) Status ¶
func (r CustomFieldsV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV1ShowResponse) StatusCode ¶
func (r CustomFieldsV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV1UpdateJSONRequestBody ¶
type CustomFieldsV1UpdateJSONRequestBody = UpdateRequestBody2
CustomFieldsV1UpdateJSONRequestBody defines body for CustomFieldsV1Update for application/json ContentType.
type CustomFieldsV1UpdateResponse ¶
type CustomFieldsV1UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody4 }
func ParseCustomFieldsV1UpdateResponse ¶
func ParseCustomFieldsV1UpdateResponse(rsp *http.Response) (*CustomFieldsV1UpdateResponse, error)
ParseCustomFieldsV1UpdateResponse parses an HTTP response from a CustomFieldsV1UpdateWithResponse call
func (CustomFieldsV1UpdateResponse) Status ¶
func (r CustomFieldsV1UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV1UpdateResponse) StatusCode ¶
func (r CustomFieldsV1UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV2CreateJSONRequestBody ¶ added in v0.4.0
type CustomFieldsV2CreateJSONRequestBody = CreateRequestBody3
CustomFieldsV2CreateJSONRequestBody defines body for CustomFieldsV2Create for application/json ContentType.
type CustomFieldsV2CreateResponse ¶ added in v0.4.0
type CustomFieldsV2CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ShowResponseBody5 }
func ParseCustomFieldsV2CreateResponse ¶ added in v0.4.0
func ParseCustomFieldsV2CreateResponse(rsp *http.Response) (*CustomFieldsV2CreateResponse, error)
ParseCustomFieldsV2CreateResponse parses an HTTP response from a CustomFieldsV2CreateWithResponse call
func (CustomFieldsV2CreateResponse) Status ¶ added in v0.4.0
func (r CustomFieldsV2CreateResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV2CreateResponse) StatusCode ¶ added in v0.4.0
func (r CustomFieldsV2CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV2DeleteResponse ¶ added in v0.4.0
func ParseCustomFieldsV2DeleteResponse ¶ added in v0.4.0
func ParseCustomFieldsV2DeleteResponse(rsp *http.Response) (*CustomFieldsV2DeleteResponse, error)
ParseCustomFieldsV2DeleteResponse parses an HTTP response from a CustomFieldsV2DeleteWithResponse call
func (CustomFieldsV2DeleteResponse) Status ¶ added in v0.4.0
func (r CustomFieldsV2DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV2DeleteResponse) StatusCode ¶ added in v0.4.0
func (r CustomFieldsV2DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV2ListResponse ¶ added in v0.4.0
type CustomFieldsV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody5 }
func ParseCustomFieldsV2ListResponse ¶ added in v0.4.0
func ParseCustomFieldsV2ListResponse(rsp *http.Response) (*CustomFieldsV2ListResponse, error)
ParseCustomFieldsV2ListResponse parses an HTTP response from a CustomFieldsV2ListWithResponse call
func (CustomFieldsV2ListResponse) Status ¶ added in v0.4.0
func (r CustomFieldsV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV2ListResponse) StatusCode ¶ added in v0.4.0
func (r CustomFieldsV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV2ShowResponse ¶ added in v0.4.0
type CustomFieldsV2ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody5 }
func ParseCustomFieldsV2ShowResponse ¶ added in v0.4.0
func ParseCustomFieldsV2ShowResponse(rsp *http.Response) (*CustomFieldsV2ShowResponse, error)
ParseCustomFieldsV2ShowResponse parses an HTTP response from a CustomFieldsV2ShowWithResponse call
func (CustomFieldsV2ShowResponse) Status ¶ added in v0.4.0
func (r CustomFieldsV2ShowResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV2ShowResponse) StatusCode ¶ added in v0.4.0
func (r CustomFieldsV2ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomFieldsV2UpdateJSONRequestBody ¶ added in v0.4.0
type CustomFieldsV2UpdateJSONRequestBody = UpdateRequestBody3
CustomFieldsV2UpdateJSONRequestBody defines body for CustomFieldsV2Update for application/json ContentType.
type CustomFieldsV2UpdateResponse ¶ added in v0.4.0
type CustomFieldsV2UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody5 }
func ParseCustomFieldsV2UpdateResponse ¶ added in v0.4.0
func ParseCustomFieldsV2UpdateResponse(rsp *http.Response) (*CustomFieldsV2UpdateResponse, error)
ParseCustomFieldsV2UpdateResponse parses an HTTP response from a CustomFieldsV2UpdateWithResponse call
func (CustomFieldsV2UpdateResponse) Status ¶ added in v0.4.0
func (r CustomFieldsV2UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (CustomFieldsV2UpdateResponse) StatusCode ¶ added in v0.4.0
func (r CustomFieldsV2UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditRequestBody ¶
type EditRequestBody struct { Incident IncidentEditPayloadV2 `json:"incident"` // NotifyIncidentChannel Should we send Slack channel notifications to inform responders of this update? Note that this won't work if the Slack channel has already been archived. NotifyIncidentChannel bool `json:"notify_incident_channel"` }
EditRequestBody defines model for EditRequestBody.
type EmbeddedCatalogEntryV1 ¶ added in v0.4.0
type EmbeddedCatalogEntryV1 struct { // Aliases Optional aliases that can be used to reference this entry Aliases *[]string `json:"aliases,omitempty"` // ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type ExternalId *string `json:"external_id,omitempty"` // Id ID of this catalog entry Id string `json:"id"` // Name Name is the human readable name of this entry Name string `json:"name"` }
EmbeddedCatalogEntryV1 defines model for EmbeddedCatalogEntryV1.
type EngineParamBindingPayloadV2 ¶ added in v0.4.0
type EngineParamBindingPayloadV2 struct { // ArrayValue If set, this is the array value of the step parameter ArrayValue *[]EngineParamBindingValuePayloadV2 `json:"array_value,omitempty"` Value *EngineParamBindingValuePayloadV2 `json:"value,omitempty"` }
EngineParamBindingPayloadV2 defines model for EngineParamBindingPayloadV2.
type EngineParamBindingV2 ¶ added in v0.4.0
type EngineParamBindingV2 struct { // ArrayValue If array_value is set, this helps render the values ArrayValue *[]EngineParamBindingValueV2 `json:"array_value,omitempty"` Value *EngineParamBindingValueV2 `json:"value,omitempty"` }
EngineParamBindingV2 defines model for EngineParamBindingV2.
type EngineParamBindingValuePayloadV2 ¶ added in v0.4.0
type EngineParamBindingValuePayloadV2 struct { // Literal If set, this is the literal value of the step parameter Literal *string `json:"literal,omitempty"` // Reference If set, this is the reference into the trigger scope that is the value of this parameter Reference *string `json:"reference,omitempty"` }
EngineParamBindingValuePayloadV2 defines model for EngineParamBindingValuePayloadV2.
type EngineParamBindingValueV2 ¶ added in v0.4.0
type EngineParamBindingValueV2 struct { CatalogEntry *CatalogEntryReferenceV2 `json:"catalog_entry,omitempty"` // Helptext Gives a description of the option to the user Helptext *string `json:"helptext,omitempty"` // ImageUrl If appropriate, URL to an image that can be displayed alongside the option ImageUrl *string `json:"image_url,omitempty"` // IsImageSlackIcon If true, the image_url is a Slack icon and should be displayed as such IsImageSlackIcon *bool `json:"is_image_slack_icon,omitempty"` // Label Human readable label to be displayed for user to select Label string `json:"label"` // Literal If set, this is the literal value of the step parameter Literal *string `json:"literal,omitempty"` // Reference If set, this is the reference into the trigger scope that is the value of this parameter Reference *string `json:"reference,omitempty"` // SortKey Gives an indication of how to sort the options when displayed to the user SortKey string `json:"sort_key"` Unavailable *bool `json:"unavailable,omitempty"` // Value Either the reference or the literal: this field is designed purely to make working with react-select easier Value *string `json:"value,omitempty"` }
EngineParamBindingValueV2 defines model for EngineParamBindingValueV2.
type ExternalIssueReferenceV1 ¶
type ExternalIssueReferenceV1 struct { // IssueName Human readable ID for the issue IssueName *string `json:"issue_name,omitempty"` // IssuePermalink URL linking directly to the action in the issue tracker IssuePermalink *string `json:"issue_permalink,omitempty"` // Provider ID of the issue tracker provider Provider *ExternalIssueReferenceV1Provider `json:"provider,omitempty"` }
ExternalIssueReferenceV1 defines model for ExternalIssueReferenceV1.
type ExternalIssueReferenceV1Provider ¶
type ExternalIssueReferenceV1Provider string
ExternalIssueReferenceV1Provider ID of the issue tracker provider
const ( ExternalIssueReferenceV1ProviderAsana ExternalIssueReferenceV1Provider = "asana" ExternalIssueReferenceV1ProviderClickUp ExternalIssueReferenceV1Provider = "click_up" ExternalIssueReferenceV1ProviderGithub ExternalIssueReferenceV1Provider = "github" ExternalIssueReferenceV1ProviderJira ExternalIssueReferenceV1Provider = "jira" ExternalIssueReferenceV1ProviderJiraServer ExternalIssueReferenceV1Provider = "jira_server" ExternalIssueReferenceV1ProviderLinear ExternalIssueReferenceV1Provider = "linear" ExternalIssueReferenceV1ProviderShortcut ExternalIssueReferenceV1Provider = "shortcut" )
Defines values for ExternalIssueReferenceV1Provider.
type ExternalIssueReferenceV2 ¶
type ExternalIssueReferenceV2 struct { // IssueName Human readable ID for the issue IssueName string `json:"issue_name"` // IssuePermalink URL linking directly to the action in the issue tracker IssuePermalink string `json:"issue_permalink"` // Provider ID of the issue tracker provider Provider ExternalIssueReferenceV2Provider `json:"provider"` }
ExternalIssueReferenceV2 defines model for ExternalIssueReferenceV2.
type ExternalIssueReferenceV2Provider ¶
type ExternalIssueReferenceV2Provider string
ExternalIssueReferenceV2Provider ID of the issue tracker provider
const ( ExternalIssueReferenceV2ProviderAsana ExternalIssueReferenceV2Provider = "asana" ExternalIssueReferenceV2ProviderClickUp ExternalIssueReferenceV2Provider = "click_up" ExternalIssueReferenceV2ProviderGithub ExternalIssueReferenceV2Provider = "github" ExternalIssueReferenceV2ProviderJira ExternalIssueReferenceV2Provider = "jira" ExternalIssueReferenceV2ProviderJiraServer ExternalIssueReferenceV2Provider = "jira_server" ExternalIssueReferenceV2ProviderLinear ExternalIssueReferenceV2Provider = "linear" ExternalIssueReferenceV2ProviderShortcut ExternalIssueReferenceV2Provider = "shortcut" )
Defines values for ExternalIssueReferenceV2Provider.
type ExternalResourceV1 ¶
type ExternalResourceV1 struct { // ExternalId ID of the resource in the external system ExternalId string `json:"external_id"` // Permalink URL of the resource Permalink string `json:"permalink"` // ResourceType E.g. PagerDuty: the external system that holds the resource ResourceType ExternalResourceV1ResourceType `json:"resource_type"` // Title Title of resource Title string `json:"title"` }
ExternalResourceV1 defines model for ExternalResourceV1.
type ExternalResourceV1ResourceType ¶
type ExternalResourceV1ResourceType string
ExternalResourceV1ResourceType E.g. PagerDuty: the external system that holds the resource
const ( ExternalResourceV1ResourceTypeAtlassianStatuspageIncident ExternalResourceV1ResourceType = "atlassian_statuspage_incident" ExternalResourceV1ResourceTypeDatadogMonitorAlert ExternalResourceV1ResourceType = "datadog_monitor_alert" ExternalResourceV1ResourceTypeGithubPullRequest ExternalResourceV1ResourceType = "github_pull_request" ExternalResourceV1ResourceTypeGoogleCalendarEvent ExternalResourceV1ResourceType = "google_calendar_event" ExternalResourceV1ResourceTypeOpsgenieAlert ExternalResourceV1ResourceType = "opsgenie_alert" ExternalResourceV1ResourceTypePagerDutyIncident ExternalResourceV1ResourceType = "pager_duty_incident" ExternalResourceV1ResourceTypeScrubbed ExternalResourceV1ResourceType = "scrubbed" ExternalResourceV1ResourceTypeSentryIssue ExternalResourceV1ResourceType = "sentry_issue" ExternalResourceV1ResourceTypeStatuspageIncident ExternalResourceV1ResourceType = "statuspage_incident" ExternalResourceV1ResourceTypeZendeskTicket ExternalResourceV1ResourceType = "zendesk_ticket" )
Defines values for ExternalResourceV1ResourceType.
type FollowUpPriorityV2 ¶ added in v0.4.0
type FollowUpPriorityV2 struct { // Description Description of the follow-up priority option Description *string `json:"description,omitempty"` // Id Unique identifier for the follow-up priority option Id string `json:"id"` // Name Name of the follow-up priority option Name string `json:"name"` // Rank Rank is used to order the follow-up priority options correctly Rank int64 `json:"rank"` }
FollowUpPriorityV2 defines model for FollowUpPriorityV2.
type FollowUpV2 ¶ added in v0.4.0
type FollowUpV2 struct { Assignee *UserV1 `json:"assignee,omitempty"` // CompletedAt When the follow-up was completed CompletedAt *time.Time `json:"completed_at,omitempty"` // CreatedAt When the follow-up was created CreatedAt time.Time `json:"created_at"` // Description Description of the follow-up Description *string `json:"description,omitempty"` ExternalIssueReference *ExternalIssueReferenceV2 `json:"external_issue_reference,omitempty"` // Id Unique identifier for the follow-up Id string `json:"id"` // IncidentId Unique identifier of the incident the follow-up belongs to IncidentId string `json:"incident_id"` Priority *FollowUpPriorityV2 `json:"priority,omitempty"` // Status Status of the follow-up Status FollowUpV2Status `json:"status"` // Title Title of the follow-up Title string `json:"title"` // UpdatedAt When the follow-up was last updated UpdatedAt time.Time `json:"updated_at"` }
FollowUpV2 defines model for FollowUpV2.
type FollowUpV2Status ¶ added in v0.4.0
type FollowUpV2Status string
FollowUpV2Status Status of the follow-up
const ( Completed FollowUpV2Status = "completed" Deleted FollowUpV2Status = "deleted" NotDoing FollowUpV2Status = "not_doing" Outstanding FollowUpV2Status = "outstanding" )
Defines values for FollowUpV2Status.
type FollowUpsV2ListParams ¶ added in v0.4.0
type FollowUpsV2ListParams struct { // IncidentId Find follow-ups related to this incident IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"` // IncidentMode Filter to follow-ups from incidents of the given mode. If not set, only follow-ups from `standard` and `retrospective` incidents are returned IncidentMode *FollowUpsV2ListParamsIncidentMode `form:"incident_mode,omitempty" json:"incident_mode,omitempty"` }
FollowUpsV2ListParams defines parameters for FollowUpsV2List.
type FollowUpsV2ListParamsIncidentMode ¶ added in v0.4.0
type FollowUpsV2ListParamsIncidentMode string
FollowUpsV2ListParamsIncidentMode defines parameters for FollowUpsV2List.
const ( Retrospective FollowUpsV2ListParamsIncidentMode = "retrospective" Standard FollowUpsV2ListParamsIncidentMode = "standard" Test FollowUpsV2ListParamsIncidentMode = "test" Tutorial FollowUpsV2ListParamsIncidentMode = "tutorial" )
Defines values for FollowUpsV2ListParamsIncidentMode.
type FollowUpsV2ListResponse ¶ added in v0.4.0
type FollowUpsV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody6 }
func ParseFollowUpsV2ListResponse ¶ added in v0.4.0
func ParseFollowUpsV2ListResponse(rsp *http.Response) (*FollowUpsV2ListResponse, error)
ParseFollowUpsV2ListResponse parses an HTTP response from a FollowUpsV2ListWithResponse call
func (FollowUpsV2ListResponse) Status ¶ added in v0.4.0
func (r FollowUpsV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (FollowUpsV2ListResponse) StatusCode ¶ added in v0.4.0
func (r FollowUpsV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FollowUpsV2ShowResponse ¶ added in v0.4.0
type FollowUpsV2ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody6 }
func ParseFollowUpsV2ShowResponse ¶ added in v0.4.0
func ParseFollowUpsV2ShowResponse(rsp *http.Response) (*FollowUpsV2ShowResponse, error)
ParseFollowUpsV2ShowResponse parses an HTTP response from a FollowUpsV2ShowWithResponse call
func (FollowUpsV2ShowResponse) Status ¶ added in v0.4.0
func (r FollowUpsV2ShowResponse) Status() string
Status returns HTTPResponse.Status
func (FollowUpsV2ShowResponse) StatusCode ¶ added in v0.4.0
func (r FollowUpsV2ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IdentityResponseBody ¶
type IdentityResponseBody struct {
Identity IdentityV1 `json:"identity"`
}
IdentityResponseBody defines model for IdentityResponseBody.
type IdentityV1 ¶
type IdentityV1 struct { // Name The name assigned to the current API Key Name string `json:"name"` // Roles Which roles have been enabled for this key Roles []IdentityV1Roles `json:"roles"` }
IdentityV1 defines model for IdentityV1.
type IdentityV1Roles ¶
type IdentityV1Roles string
IdentityV1Roles defines model for IdentityV1.Roles.
const ( IdentityV1RolesCatalogEditor IdentityV1Roles = "catalog_editor" IdentityV1RolesCatalogViewer IdentityV1Roles = "catalog_viewer" IdentityV1RolesGlobalAccess IdentityV1Roles = "global_access" IdentityV1RolesIncidentCreator IdentityV1Roles = "incident_creator" IdentityV1RolesIncidentEditor IdentityV1Roles = "incident_editor" IdentityV1RolesIncidentMembershipsEditor IdentityV1Roles = "incident_memberships_editor" IdentityV1RolesManageSettings IdentityV1Roles = "manage_settings" IdentityV1RolesViewer IdentityV1Roles = "viewer" )
Defines values for IdentityV1Roles.
type IncidentAttachmentV1 ¶
type IncidentAttachmentV1 struct { // Id Unique identifier of this incident membership Id string `json:"id"` // IncidentId Unique identifier of the incident IncidentId string `json:"incident_id"` Resource ExternalResourceV1 `json:"resource"` }
IncidentAttachmentV1 defines model for IncidentAttachmentV1.
type IncidentAttachmentsV1CreateJSONRequestBody ¶
type IncidentAttachmentsV1CreateJSONRequestBody = CreateRequestBody4
IncidentAttachmentsV1CreateJSONRequestBody defines body for IncidentAttachmentsV1Create for application/json ContentType.
type IncidentAttachmentsV1CreateResponse ¶
type IncidentAttachmentsV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CreateResponseBody }
func ParseIncidentAttachmentsV1CreateResponse ¶
func ParseIncidentAttachmentsV1CreateResponse(rsp *http.Response) (*IncidentAttachmentsV1CreateResponse, error)
ParseIncidentAttachmentsV1CreateResponse parses an HTTP response from a IncidentAttachmentsV1CreateWithResponse call
func (IncidentAttachmentsV1CreateResponse) Status ¶
func (r IncidentAttachmentsV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentAttachmentsV1CreateResponse) StatusCode ¶
func (r IncidentAttachmentsV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentAttachmentsV1DeleteResponse ¶
func ParseIncidentAttachmentsV1DeleteResponse ¶
func ParseIncidentAttachmentsV1DeleteResponse(rsp *http.Response) (*IncidentAttachmentsV1DeleteResponse, error)
ParseIncidentAttachmentsV1DeleteResponse parses an HTTP response from a IncidentAttachmentsV1DeleteWithResponse call
func (IncidentAttachmentsV1DeleteResponse) Status ¶
func (r IncidentAttachmentsV1DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentAttachmentsV1DeleteResponse) StatusCode ¶
func (r IncidentAttachmentsV1DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentAttachmentsV1ListParams ¶
type IncidentAttachmentsV1ListParams struct { // IncidentId Incident that this attachment is against IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"` // ExternalId ID of the resource in the external system ExternalId *string `form:"external_id,omitempty" json:"external_id,omitempty"` // ResourceType E.g. PagerDuty: the external system that holds the resource ResourceType *IncidentAttachmentsV1ListParamsResourceType `form:"resource_type,omitempty" json:"resource_type,omitempty"` }
IncidentAttachmentsV1ListParams defines parameters for IncidentAttachmentsV1List.
type IncidentAttachmentsV1ListParamsResourceType ¶
type IncidentAttachmentsV1ListParamsResourceType string
IncidentAttachmentsV1ListParamsResourceType defines parameters for IncidentAttachmentsV1List.
const ( AtlassianStatuspageIncident IncidentAttachmentsV1ListParamsResourceType = "atlassian_statuspage_incident" DatadogMonitorAlert IncidentAttachmentsV1ListParamsResourceType = "datadog_monitor_alert" GithubPullRequest IncidentAttachmentsV1ListParamsResourceType = "github_pull_request" GoogleCalendarEvent IncidentAttachmentsV1ListParamsResourceType = "google_calendar_event" OpsgenieAlert IncidentAttachmentsV1ListParamsResourceType = "opsgenie_alert" PagerDutyIncident IncidentAttachmentsV1ListParamsResourceType = "pager_duty_incident" Scrubbed IncidentAttachmentsV1ListParamsResourceType = "scrubbed" SentryIssue IncidentAttachmentsV1ListParamsResourceType = "sentry_issue" StatuspageIncident IncidentAttachmentsV1ListParamsResourceType = "statuspage_incident" ZendeskTicket IncidentAttachmentsV1ListParamsResourceType = "zendesk_ticket" )
Defines values for IncidentAttachmentsV1ListParamsResourceType.
type IncidentAttachmentsV1ListResponse ¶
type IncidentAttachmentsV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody7 }
func ParseIncidentAttachmentsV1ListResponse ¶
func ParseIncidentAttachmentsV1ListResponse(rsp *http.Response) (*IncidentAttachmentsV1ListResponse, error)
ParseIncidentAttachmentsV1ListResponse parses an HTTP response from a IncidentAttachmentsV1ListWithResponse call
func (IncidentAttachmentsV1ListResponse) Status ¶
func (r IncidentAttachmentsV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentAttachmentsV1ListResponse) StatusCode ¶
func (r IncidentAttachmentsV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentEditPayloadV2 ¶
type IncidentEditPayloadV2 struct { // CallUrl The call URL attached to this incident CallUrl *string `json:"call_url,omitempty"` // CustomFieldEntries Set the incident's custom fields to these values CustomFieldEntries *[]CustomFieldEntryPayloadV1 `json:"custom_field_entries,omitempty"` // IncidentRoleAssignments Assign incident roles to these people IncidentRoleAssignments *[]IncidentRoleAssignmentPayloadV2 `json:"incident_role_assignments,omitempty"` // IncidentTimestampValues Assign the incident's timestamps to these values IncidentTimestampValues *[]IncidentTimestampValuePayloadV2 `json:"incident_timestamp_values,omitempty"` // Name Explanation of the incident Name *string `json:"name,omitempty"` // SeverityId Severity to change incident to SeverityId *string `json:"severity_id,omitempty"` // Summary Detailed description of the incident Summary *string `json:"summary,omitempty"` }
IncidentEditPayloadV2 defines model for IncidentEditPayloadV2.
type IncidentMembership ¶ added in v0.4.0
type IncidentMembership struct { // CreatedAt When the membership was created CreatedAt time.Time `json:"created_at"` // Id Unique identifier of this incident membership Id string `json:"id"` // IncidentId Unique identifier of the incident IncidentId string `json:"incident_id"` // UpdatedAt When the membership was last updated UpdatedAt time.Time `json:"updated_at"` User UserV1 `json:"user"` }
IncidentMembership defines model for IncidentMembership.
type IncidentMembershipsV1CreateJSONRequestBody ¶ added in v0.4.0
type IncidentMembershipsV1CreateJSONRequestBody = CreateRequestBody5
IncidentMembershipsV1CreateJSONRequestBody defines body for IncidentMembershipsV1Create for application/json ContentType.
type IncidentMembershipsV1CreateResponse ¶ added in v0.4.0
type IncidentMembershipsV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CreateResponseBody2 }
func ParseIncidentMembershipsV1CreateResponse ¶ added in v0.4.0
func ParseIncidentMembershipsV1CreateResponse(rsp *http.Response) (*IncidentMembershipsV1CreateResponse, error)
ParseIncidentMembershipsV1CreateResponse parses an HTTP response from a IncidentMembershipsV1CreateWithResponse call
func (IncidentMembershipsV1CreateResponse) Status ¶ added in v0.4.0
func (r IncidentMembershipsV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentMembershipsV1CreateResponse) StatusCode ¶ added in v0.4.0
func (r IncidentMembershipsV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentMembershipsV1RevokeJSONRequestBody ¶ added in v0.4.0
type IncidentMembershipsV1RevokeJSONRequestBody = CreateRequestBody5
IncidentMembershipsV1RevokeJSONRequestBody defines body for IncidentMembershipsV1Revoke for application/json ContentType.
type IncidentMembershipsV1RevokeResponse ¶ added in v0.4.0
func ParseIncidentMembershipsV1RevokeResponse ¶ added in v0.4.0
func ParseIncidentMembershipsV1RevokeResponse(rsp *http.Response) (*IncidentMembershipsV1RevokeResponse, error)
ParseIncidentMembershipsV1RevokeResponse parses an HTTP response from a IncidentMembershipsV1RevokeWithResponse call
func (IncidentMembershipsV1RevokeResponse) Status ¶ added in v0.4.0
func (r IncidentMembershipsV1RevokeResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentMembershipsV1RevokeResponse) StatusCode ¶ added in v0.4.0
func (r IncidentMembershipsV1RevokeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRoleAssignmentPayloadV1 ¶
type IncidentRoleAssignmentPayloadV1 struct { Assignee UserReferencePayloadV1 `json:"assignee"` // IncidentRoleId Unique ID of an incident role IncidentRoleId string `json:"incident_role_id"` }
IncidentRoleAssignmentPayloadV1 defines model for IncidentRoleAssignmentPayloadV1.
type IncidentRoleAssignmentPayloadV2 ¶
type IncidentRoleAssignmentPayloadV2 struct { Assignee *UserReferencePayloadV1 `json:"assignee,omitempty"` // IncidentRoleId Unique ID of an incident role IncidentRoleId string `json:"incident_role_id"` }
IncidentRoleAssignmentPayloadV2 defines model for IncidentRoleAssignmentPayloadV2.
type IncidentRoleAssignmentV1 ¶
type IncidentRoleAssignmentV1 struct { Assignee *UserV1 `json:"assignee,omitempty"` Role IncidentRoleV1 `json:"role"` }
IncidentRoleAssignmentV1 defines model for IncidentRoleAssignmentV1.
type IncidentRoleV1 ¶
type IncidentRoleV1 struct { // CreatedAt When the action was created CreatedAt time.Time `json:"created_at"` // Description Describes the purpose of the role Description string `json:"description"` // Id Unique identifier for the role Id string `json:"id"` // Instructions Provided to whoever is nominated for the role Instructions string `json:"instructions"` // Name Human readable name of the incident role Name string `json:"name"` // Required Whether incident require this role to be set Required bool `json:"required"` // RoleType Type of incident role RoleType IncidentRoleV1RoleType `json:"role_type"` // Shortform Short human readable name for Slack Shortform string `json:"shortform"` // UpdatedAt When the action was last updated UpdatedAt time.Time `json:"updated_at"` }
IncidentRoleV1 defines model for IncidentRoleV1.
type IncidentRoleV1RoleType ¶
type IncidentRoleV1RoleType string
IncidentRoleV1RoleType Type of incident role
const ( IncidentRoleV1RoleTypeCustom IncidentRoleV1RoleType = "custom" IncidentRoleV1RoleTypeLead IncidentRoleV1RoleType = "lead" IncidentRoleV1RoleTypeReporter IncidentRoleV1RoleType = "reporter" )
Defines values for IncidentRoleV1RoleType.
type IncidentRoleV2 ¶ added in v0.4.0
type IncidentRoleV2 struct { // CreatedAt When the action was created CreatedAt time.Time `json:"created_at"` // Description Describes the purpose of the role Description string `json:"description"` // Id Unique identifier for the role Id string `json:"id"` // Instructions Provided to whoever is nominated for the role Instructions string `json:"instructions"` // Name Human readable name of the incident role Name string `json:"name"` // RoleType Type of incident role RoleType IncidentRoleV2RoleType `json:"role_type"` // Shortform Short human readable name for Slack Shortform string `json:"shortform"` // UpdatedAt When the action was last updated UpdatedAt time.Time `json:"updated_at"` }
IncidentRoleV2 defines model for IncidentRoleV2.
type IncidentRoleV2RoleType ¶ added in v0.4.0
type IncidentRoleV2RoleType string
IncidentRoleV2RoleType Type of incident role
const ( IncidentRoleV2RoleTypeCustom IncidentRoleV2RoleType = "custom" IncidentRoleV2RoleTypeLead IncidentRoleV2RoleType = "lead" IncidentRoleV2RoleTypeReporter IncidentRoleV2RoleType = "reporter" )
Defines values for IncidentRoleV2RoleType.
type IncidentRolesV1CreateJSONRequestBody ¶
type IncidentRolesV1CreateJSONRequestBody = CreateRequestBody6
IncidentRolesV1CreateJSONRequestBody defines body for IncidentRolesV1Create for application/json ContentType.
type IncidentRolesV1CreateResponse ¶
type IncidentRolesV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ShowResponseBody7 }
func ParseIncidentRolesV1CreateResponse ¶
func ParseIncidentRolesV1CreateResponse(rsp *http.Response) (*IncidentRolesV1CreateResponse, error)
ParseIncidentRolesV1CreateResponse parses an HTTP response from a IncidentRolesV1CreateWithResponse call
func (IncidentRolesV1CreateResponse) Status ¶
func (r IncidentRolesV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV1CreateResponse) StatusCode ¶
func (r IncidentRolesV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV1DeleteResponse ¶
func ParseIncidentRolesV1DeleteResponse ¶
func ParseIncidentRolesV1DeleteResponse(rsp *http.Response) (*IncidentRolesV1DeleteResponse, error)
ParseIncidentRolesV1DeleteResponse parses an HTTP response from a IncidentRolesV1DeleteWithResponse call
func (IncidentRolesV1DeleteResponse) Status ¶
func (r IncidentRolesV1DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV1DeleteResponse) StatusCode ¶
func (r IncidentRolesV1DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV1ListResponse ¶
type IncidentRolesV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody8 }
func ParseIncidentRolesV1ListResponse ¶
func ParseIncidentRolesV1ListResponse(rsp *http.Response) (*IncidentRolesV1ListResponse, error)
ParseIncidentRolesV1ListResponse parses an HTTP response from a IncidentRolesV1ListWithResponse call
func (IncidentRolesV1ListResponse) Status ¶
func (r IncidentRolesV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV1ListResponse) StatusCode ¶
func (r IncidentRolesV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV1ShowResponse ¶
type IncidentRolesV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody7 }
func ParseIncidentRolesV1ShowResponse ¶
func ParseIncidentRolesV1ShowResponse(rsp *http.Response) (*IncidentRolesV1ShowResponse, error)
ParseIncidentRolesV1ShowResponse parses an HTTP response from a IncidentRolesV1ShowWithResponse call
func (IncidentRolesV1ShowResponse) Status ¶
func (r IncidentRolesV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV1ShowResponse) StatusCode ¶
func (r IncidentRolesV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV1UpdateJSONRequestBody ¶
type IncidentRolesV1UpdateJSONRequestBody = UpdateRequestBody4
IncidentRolesV1UpdateJSONRequestBody defines body for IncidentRolesV1Update for application/json ContentType.
type IncidentRolesV1UpdateResponse ¶
type IncidentRolesV1UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody7 }
func ParseIncidentRolesV1UpdateResponse ¶
func ParseIncidentRolesV1UpdateResponse(rsp *http.Response) (*IncidentRolesV1UpdateResponse, error)
ParseIncidentRolesV1UpdateResponse parses an HTTP response from a IncidentRolesV1UpdateWithResponse call
func (IncidentRolesV1UpdateResponse) Status ¶
func (r IncidentRolesV1UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV1UpdateResponse) StatusCode ¶
func (r IncidentRolesV1UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV2CreateJSONRequestBody ¶ added in v0.4.0
type IncidentRolesV2CreateJSONRequestBody = CreateRequestBody7
IncidentRolesV2CreateJSONRequestBody defines body for IncidentRolesV2Create for application/json ContentType.
type IncidentRolesV2CreateResponse ¶ added in v0.4.0
type IncidentRolesV2CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ShowResponseBody8 }
func ParseIncidentRolesV2CreateResponse ¶ added in v0.4.0
func ParseIncidentRolesV2CreateResponse(rsp *http.Response) (*IncidentRolesV2CreateResponse, error)
ParseIncidentRolesV2CreateResponse parses an HTTP response from a IncidentRolesV2CreateWithResponse call
func (IncidentRolesV2CreateResponse) Status ¶ added in v0.4.0
func (r IncidentRolesV2CreateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV2CreateResponse) StatusCode ¶ added in v0.4.0
func (r IncidentRolesV2CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV2DeleteResponse ¶ added in v0.4.0
func ParseIncidentRolesV2DeleteResponse ¶ added in v0.4.0
func ParseIncidentRolesV2DeleteResponse(rsp *http.Response) (*IncidentRolesV2DeleteResponse, error)
ParseIncidentRolesV2DeleteResponse parses an HTTP response from a IncidentRolesV2DeleteWithResponse call
func (IncidentRolesV2DeleteResponse) Status ¶ added in v0.4.0
func (r IncidentRolesV2DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV2DeleteResponse) StatusCode ¶ added in v0.4.0
func (r IncidentRolesV2DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV2ListResponse ¶ added in v0.4.0
type IncidentRolesV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody9 }
func ParseIncidentRolesV2ListResponse ¶ added in v0.4.0
func ParseIncidentRolesV2ListResponse(rsp *http.Response) (*IncidentRolesV2ListResponse, error)
ParseIncidentRolesV2ListResponse parses an HTTP response from a IncidentRolesV2ListWithResponse call
func (IncidentRolesV2ListResponse) Status ¶ added in v0.4.0
func (r IncidentRolesV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV2ListResponse) StatusCode ¶ added in v0.4.0
func (r IncidentRolesV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV2ShowResponse ¶ added in v0.4.0
type IncidentRolesV2ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody8 }
func ParseIncidentRolesV2ShowResponse ¶ added in v0.4.0
func ParseIncidentRolesV2ShowResponse(rsp *http.Response) (*IncidentRolesV2ShowResponse, error)
ParseIncidentRolesV2ShowResponse parses an HTTP response from a IncidentRolesV2ShowWithResponse call
func (IncidentRolesV2ShowResponse) Status ¶ added in v0.4.0
func (r IncidentRolesV2ShowResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV2ShowResponse) StatusCode ¶ added in v0.4.0
func (r IncidentRolesV2ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentRolesV2UpdateJSONRequestBody ¶ added in v0.4.0
type IncidentRolesV2UpdateJSONRequestBody = UpdateRequestBody5
IncidentRolesV2UpdateJSONRequestBody defines body for IncidentRolesV2Update for application/json ContentType.
type IncidentRolesV2UpdateResponse ¶ added in v0.4.0
type IncidentRolesV2UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody8 }
func ParseIncidentRolesV2UpdateResponse ¶ added in v0.4.0
func ParseIncidentRolesV2UpdateResponse(rsp *http.Response) (*IncidentRolesV2UpdateResponse, error)
ParseIncidentRolesV2UpdateResponse parses an HTTP response from a IncidentRolesV2UpdateWithResponse call
func (IncidentRolesV2UpdateResponse) Status ¶ added in v0.4.0
func (r IncidentRolesV2UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentRolesV2UpdateResponse) StatusCode ¶ added in v0.4.0
func (r IncidentRolesV2UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentStatusV1 ¶
type IncidentStatusV1 struct { // Category Whether this status is a live or closed status. If you have enabled auto-create, there will also be 'triage' and 'declined' statuses, which cannot be modified. Category IncidentStatusV1Category `json:"category"` CreatedAt time.Time `json:"created_at"` // Description Rich text description of the incident status Description string `json:"description"` // Id Unique ID of this incident status Id string `json:"id"` // Name Unique name of this status Name string `json:"name"` // Rank Order of this incident status Rank int64 `json:"rank"` UpdatedAt time.Time `json:"updated_at"` }
IncidentStatusV1 defines model for IncidentStatusV1.
type IncidentStatusV1Category ¶
type IncidentStatusV1Category string
IncidentStatusV1Category Whether this status is a live or closed status. If you have enabled auto-create, there will also be 'triage' and 'declined' statuses, which cannot be modified.
const ( IncidentStatusV1CategoryCanceled IncidentStatusV1Category = "canceled" IncidentStatusV1CategoryClosed IncidentStatusV1Category = "closed" IncidentStatusV1CategoryDeclined IncidentStatusV1Category = "declined" IncidentStatusV1CategoryLearning IncidentStatusV1Category = "learning" IncidentStatusV1CategoryLive IncidentStatusV1Category = "live" IncidentStatusV1CategoryMerged IncidentStatusV1Category = "merged" IncidentStatusV1CategoryTriage IncidentStatusV1Category = "triage" )
Defines values for IncidentStatusV1Category.
type IncidentStatusesV1CreateJSONRequestBody ¶
type IncidentStatusesV1CreateJSONRequestBody = CreateRequestBody8
IncidentStatusesV1CreateJSONRequestBody defines body for IncidentStatusesV1Create for application/json ContentType.
type IncidentStatusesV1CreateResponse ¶
type IncidentStatusesV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ShowResponseBody9 }
func ParseIncidentStatusesV1CreateResponse ¶
func ParseIncidentStatusesV1CreateResponse(rsp *http.Response) (*IncidentStatusesV1CreateResponse, error)
ParseIncidentStatusesV1CreateResponse parses an HTTP response from a IncidentStatusesV1CreateWithResponse call
func (IncidentStatusesV1CreateResponse) Status ¶
func (r IncidentStatusesV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentStatusesV1CreateResponse) StatusCode ¶
func (r IncidentStatusesV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentStatusesV1DeleteResponse ¶
func ParseIncidentStatusesV1DeleteResponse ¶
func ParseIncidentStatusesV1DeleteResponse(rsp *http.Response) (*IncidentStatusesV1DeleteResponse, error)
ParseIncidentStatusesV1DeleteResponse parses an HTTP response from a IncidentStatusesV1DeleteWithResponse call
func (IncidentStatusesV1DeleteResponse) Status ¶
func (r IncidentStatusesV1DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentStatusesV1DeleteResponse) StatusCode ¶
func (r IncidentStatusesV1DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentStatusesV1ListResponse ¶
type IncidentStatusesV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody10 }
func ParseIncidentStatusesV1ListResponse ¶
func ParseIncidentStatusesV1ListResponse(rsp *http.Response) (*IncidentStatusesV1ListResponse, error)
ParseIncidentStatusesV1ListResponse parses an HTTP response from a IncidentStatusesV1ListWithResponse call
func (IncidentStatusesV1ListResponse) Status ¶
func (r IncidentStatusesV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentStatusesV1ListResponse) StatusCode ¶
func (r IncidentStatusesV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentStatusesV1ShowResponse ¶
type IncidentStatusesV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody9 }
func ParseIncidentStatusesV1ShowResponse ¶
func ParseIncidentStatusesV1ShowResponse(rsp *http.Response) (*IncidentStatusesV1ShowResponse, error)
ParseIncidentStatusesV1ShowResponse parses an HTTP response from a IncidentStatusesV1ShowWithResponse call
func (IncidentStatusesV1ShowResponse) Status ¶
func (r IncidentStatusesV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentStatusesV1ShowResponse) StatusCode ¶
func (r IncidentStatusesV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentStatusesV1UpdateJSONRequestBody ¶
type IncidentStatusesV1UpdateJSONRequestBody = UpdateRequestBody6
IncidentStatusesV1UpdateJSONRequestBody defines body for IncidentStatusesV1Update for application/json ContentType.
type IncidentStatusesV1UpdateResponse ¶
type IncidentStatusesV1UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody9 }
func ParseIncidentStatusesV1UpdateResponse ¶
func ParseIncidentStatusesV1UpdateResponse(rsp *http.Response) (*IncidentStatusesV1UpdateResponse, error)
ParseIncidentStatusesV1UpdateResponse parses an HTTP response from a IncidentStatusesV1UpdateWithResponse call
func (IncidentStatusesV1UpdateResponse) Status ¶
func (r IncidentStatusesV1UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentStatusesV1UpdateResponse) StatusCode ¶
func (r IncidentStatusesV1UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentTimestampV1 ¶
type IncidentTimestampV1 struct { // LastOccurredAt When this last occurred, if it did LastOccurredAt *time.Time `json:"last_occurred_at,omitempty"` // Name Name of the lifecycle event Name string `json:"name"` }
IncidentTimestampV1 defines model for IncidentTimestampV1.
type IncidentTimestampV2 ¶
type IncidentTimestampV2 struct { // Id Unique ID of this incident timestamp Id string `json:"id"` // Name Unique name of this timestamp Name string `json:"name"` // Rank Order in which this timestamp should be shown Rank int64 `json:"rank"` }
IncidentTimestampV2 defines model for IncidentTimestampV2.
type IncidentTimestampValuePayloadV2 ¶
type IncidentTimestampValuePayloadV2 struct { // IncidentTimestampId The id of the incident timestamp that this incident timestamp value is associated with. IncidentTimestampId string `json:"incident_timestamp_id"` // Value The current value of this timestamp, for this incident Value *time.Time `json:"value,omitempty"` }
IncidentTimestampValuePayloadV2 defines model for IncidentTimestampValuePayloadV2.
type IncidentTimestampValueV2 ¶
type IncidentTimestampValueV2 struct { // Value The current value of this timestamp, for this incident Value *time.Time `json:"value,omitempty"` }
IncidentTimestampValueV2 defines model for IncidentTimestampValueV2.
type IncidentTimestampWithValueV2 ¶
type IncidentTimestampWithValueV2 struct { IncidentTimestamp IncidentTimestampV2 `json:"incident_timestamp"` Value *IncidentTimestampValueV2 `json:"value,omitempty"` }
IncidentTimestampWithValueV2 defines model for IncidentTimestampWithValueV2.
type IncidentTimestampsV2ListResponse ¶
type IncidentTimestampsV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody11 }
func ParseIncidentTimestampsV2ListResponse ¶
func ParseIncidentTimestampsV2ListResponse(rsp *http.Response) (*IncidentTimestampsV2ListResponse, error)
ParseIncidentTimestampsV2ListResponse parses an HTTP response from a IncidentTimestampsV2ListWithResponse call
func (IncidentTimestampsV2ListResponse) Status ¶
func (r IncidentTimestampsV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentTimestampsV2ListResponse) StatusCode ¶
func (r IncidentTimestampsV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentTimestampsV2ShowResponse ¶
type IncidentTimestampsV2ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody10 }
func ParseIncidentTimestampsV2ShowResponse ¶
func ParseIncidentTimestampsV2ShowResponse(rsp *http.Response) (*IncidentTimestampsV2ShowResponse, error)
ParseIncidentTimestampsV2ShowResponse parses an HTTP response from a IncidentTimestampsV2ShowWithResponse call
func (IncidentTimestampsV2ShowResponse) Status ¶
func (r IncidentTimestampsV2ShowResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentTimestampsV2ShowResponse) StatusCode ¶
func (r IncidentTimestampsV2ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentTypeV1 ¶
type IncidentTypeV1 struct { // CreateInTriage Whether incidents of this must always, or can optionally, be created in triage CreateInTriage IncidentTypeV1CreateInTriage `json:"create_in_triage"` // CreatedAt When this resource was created CreatedAt time.Time `json:"created_at"` // Description What is this incident type for? Description string `json:"description"` // Id Unique identifier for this Incident Type Id string `json:"id"` // IsDefault The default Incident Type is used when no other type is explicitly specified IsDefault bool `json:"is_default"` // Name The name of this Incident Type Name string `json:"name"` // PrivateIncidentsOnly Should all incidents created with this Incident Type be private? PrivateIncidentsOnly bool `json:"private_incidents_only"` // UpdatedAt When this resource was last updated UpdatedAt time.Time `json:"updated_at"` }
IncidentTypeV1 defines model for IncidentTypeV1.
type IncidentTypeV1CreateInTriage ¶
type IncidentTypeV1CreateInTriage string
IncidentTypeV1CreateInTriage Whether incidents of this must always, or can optionally, be created in triage
const ( IncidentTypeV1CreateInTriageAlways IncidentTypeV1CreateInTriage = "always" IncidentTypeV1CreateInTriageOptional IncidentTypeV1CreateInTriage = "optional" )
Defines values for IncidentTypeV1CreateInTriage.
type IncidentTypesV1ListResponse ¶
type IncidentTypesV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody12 }
func ParseIncidentTypesV1ListResponse ¶
func ParseIncidentTypesV1ListResponse(rsp *http.Response) (*IncidentTypesV1ListResponse, error)
ParseIncidentTypesV1ListResponse parses an HTTP response from a IncidentTypesV1ListWithResponse call
func (IncidentTypesV1ListResponse) Status ¶
func (r IncidentTypesV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentTypesV1ListResponse) StatusCode ¶
func (r IncidentTypesV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentTypesV1ShowResponse ¶
type IncidentTypesV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody11 }
func ParseIncidentTypesV1ShowResponse ¶
func ParseIncidentTypesV1ShowResponse(rsp *http.Response) (*IncidentTypesV1ShowResponse, error)
ParseIncidentTypesV1ShowResponse parses an HTTP response from a IncidentTypesV1ShowWithResponse call
func (IncidentTypesV1ShowResponse) Status ¶
func (r IncidentTypesV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentTypesV1ShowResponse) StatusCode ¶
func (r IncidentTypesV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentUpdateV2 ¶
type IncidentUpdateV2 struct { // CreatedAt When the update was created CreatedAt time.Time `json:"created_at"` // Id Unique identifier for this incident update Id string `json:"id"` // IncidentId The incident this update relates to IncidentId string `json:"incident_id"` // Message Message that explains the context behind the update Message *string `json:"message,omitempty"` NewIncidentStatus IncidentStatusV1 `json:"new_incident_status"` NewSeverity *SeverityV2 `json:"new_severity,omitempty"` Updater ActorV2 `json:"updater"` }
IncidentUpdateV2 defines model for IncidentUpdateV2.
type IncidentUpdatesV2ListParams ¶
type IncidentUpdatesV2ListParams struct { // IncidentId Incident whose updates you want to list IncidentId *string `form:"incident_id,omitempty" json:"incident_id,omitempty"` // PageSize Integer number of records to return PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. After *string `form:"after,omitempty" json:"after,omitempty"` }
IncidentUpdatesV2ListParams defines parameters for IncidentUpdatesV2List.
type IncidentUpdatesV2ListResponse ¶
type IncidentUpdatesV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody13 }
func ParseIncidentUpdatesV2ListResponse ¶
func ParseIncidentUpdatesV2ListResponse(rsp *http.Response) (*IncidentUpdatesV2ListResponse, error)
ParseIncidentUpdatesV2ListResponse parses an HTTP response from a IncidentUpdatesV2ListWithResponse call
func (IncidentUpdatesV2ListResponse) Status ¶
func (r IncidentUpdatesV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentUpdatesV2ListResponse) StatusCode ¶
func (r IncidentUpdatesV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentV1 ¶
type IncidentV1 struct { // CallUrl The call URL attached to this incident CallUrl *string `json:"call_url,omitempty"` // CreatedAt When the incident was created CreatedAt time.Time `json:"created_at"` Creator ActorV2 `json:"creator"` // CustomFieldEntries Custom field entries for this incident CustomFieldEntries []CustomFieldEntryV1 `json:"custom_field_entries"` // Id Unique identifier for the incident Id string `json:"id"` // IncidentRoleAssignments A list of who is assigned to each role for this incident IncidentRoleAssignments []IncidentRoleAssignmentV1 `json:"incident_role_assignments"` IncidentType *IncidentTypeV1 `json:"incident_type,omitempty"` // Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident Mode IncidentV1Mode `json:"mode"` // Name Explanation of the incident Name string `json:"name"` // Permalink A permanent link to the homepage for this incident Permalink *string `json:"permalink,omitempty"` // PostmortemDocumentUrl Description of the incident PostmortemDocumentUrl *string `json:"postmortem_document_url,omitempty"` // Reference Reference to this incident, as displayed across the product Reference string `json:"reference"` Severity *SeverityV2 `json:"severity,omitempty"` // SlackChannelId ID of the Slack channel in the organisation Slack workspace SlackChannelId string `json:"slack_channel_id"` // SlackChannelName Name of the slack channel SlackChannelName *string `json:"slack_channel_name,omitempty"` // SlackTeamId ID of the Slack team / workspace. This is only required if you are using a Slack Enterprise Grid with multiple teams. SlackTeamId string `json:"slack_team_id"` // Status Current status of the incident Status IncidentV1Status `json:"status"` // Summary Detailed description of the incident Summary *string `json:"summary,omitempty"` // Timestamps Incident lifecycle events and when they last occurred Timestamps *[]IncidentTimestampV1 `json:"timestamps,omitempty"` // UpdatedAt When the incident was last updated UpdatedAt time.Time `json:"updated_at"` // Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access). Visibility IncidentV1Visibility `json:"visibility"` }
IncidentV1 defines model for IncidentV1.
type IncidentV1Mode ¶
type IncidentV1Mode string
IncidentV1Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident
const ( IncidentV1ModeReal IncidentV1Mode = "real" IncidentV1ModeTest IncidentV1Mode = "test" IncidentV1ModeTutorial IncidentV1Mode = "tutorial" )
Defines values for IncidentV1Mode.
type IncidentV1Status ¶
type IncidentV1Status string
IncidentV1Status Current status of the incident
const ( IncidentV1StatusClosed IncidentV1Status = "closed" IncidentV1StatusDeclined IncidentV1Status = "declined" IncidentV1StatusFixing IncidentV1Status = "fixing" IncidentV1StatusInvestigating IncidentV1Status = "investigating" IncidentV1StatusMonitoring IncidentV1Status = "monitoring" IncidentV1StatusTriage IncidentV1Status = "triage" )
Defines values for IncidentV1Status.
type IncidentV1Visibility ¶
type IncidentV1Visibility string
IncidentV1Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access).
const ( IncidentV1VisibilityPrivate IncidentV1Visibility = "private" IncidentV1VisibilityPublic IncidentV1Visibility = "public" )
Defines values for IncidentV1Visibility.
type IncidentV2 ¶
type IncidentV2 struct { // CallUrl The call URL attached to this incident CallUrl *string `json:"call_url,omitempty"` // CreatedAt When the incident was created CreatedAt time.Time `json:"created_at"` Creator ActorV2 `json:"creator"` // CustomFieldEntries Custom field entries for this incident CustomFieldEntries []CustomFieldEntryV1 `json:"custom_field_entries"` ExternalIssueReference *ExternalIssueReferenceV2 `json:"external_issue_reference,omitempty"` // Id Unique identifier for the incident Id string `json:"id"` // IncidentRoleAssignments A list of who is assigned to each role for this incident IncidentRoleAssignments []IncidentRoleAssignmentV1 `json:"incident_role_assignments"` IncidentStatus IncidentStatusV1 `json:"incident_status"` // IncidentTimestampValues Incident lifecycle events and when they occurred IncidentTimestampValues *[]IncidentTimestampWithValueV2 `json:"incident_timestamp_values,omitempty"` IncidentType *IncidentTypeV1 `json:"incident_type,omitempty"` // Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident Mode IncidentV2Mode `json:"mode"` // Name Explanation of the incident Name string `json:"name"` // Permalink A permanent link to the homepage for this incident Permalink *string `json:"permalink,omitempty"` // PostmortemDocumentUrl Description of the incident PostmortemDocumentUrl *string `json:"postmortem_document_url,omitempty"` // Reference Reference to this incident, as displayed across the product Reference string `json:"reference"` Severity *SeverityV2 `json:"severity,omitempty"` // SlackChannelId ID of the Slack channel in the organisation Slack workspace SlackChannelId string `json:"slack_channel_id"` // SlackChannelName Name of the slack channel SlackChannelName *string `json:"slack_channel_name,omitempty"` // SlackTeamId ID of the Slack team / workspace. This is only required if you are using a Slack Enterprise Grid with multiple teams. SlackTeamId string `json:"slack_team_id"` // Summary Detailed description of the incident Summary *string `json:"summary,omitempty"` // UpdatedAt When the incident was last updated UpdatedAt time.Time `json:"updated_at"` // Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access). Visibility IncidentV2Visibility `json:"visibility"` // WorkloadMinutesLate Amount of time spent on the incident in late hours WorkloadMinutesLate *float64 `json:"workload_minutes_late,omitempty"` // WorkloadMinutesSleeping Amount of time spent on the incident in sleeping hours WorkloadMinutesSleeping *float64 `json:"workload_minutes_sleeping,omitempty"` // WorkloadMinutesTotal Amount of time spent on the incident in total WorkloadMinutesTotal *float64 `json:"workload_minutes_total,omitempty"` // WorkloadMinutesWorking Amount of time spent on the incident in working hours WorkloadMinutesWorking *float64 `json:"workload_minutes_working,omitempty"` }
IncidentV2 defines model for IncidentV2.
type IncidentV2Mode ¶
type IncidentV2Mode string
IncidentV2Mode Whether the incident is real, a test, a tutorial, or importing as a retrospective incident
const ( IncidentV2ModeRetrospective IncidentV2Mode = "retrospective" IncidentV2ModeStandard IncidentV2Mode = "standard" IncidentV2ModeTest IncidentV2Mode = "test" IncidentV2ModeTutorial IncidentV2Mode = "tutorial" )
Defines values for IncidentV2Mode.
type IncidentV2Visibility ¶
type IncidentV2Visibility string
IncidentV2Visibility Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [help centre](https://help.incident.io/en/articles/5947963-can-we-mark-incidents-as-sensitive-and-restrict-access).
const ( IncidentV2VisibilityPrivate IncidentV2Visibility = "private" IncidentV2VisibilityPublic IncidentV2Visibility = "public" )
Defines values for IncidentV2Visibility.
type IncidentsV1CreateJSONRequestBody ¶
type IncidentsV1CreateJSONRequestBody = CreateRequestBody9
IncidentsV1CreateJSONRequestBody defines body for IncidentsV1Create for application/json ContentType.
type IncidentsV1CreateResponse ¶
type IncidentsV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody12 }
func ParseIncidentsV1CreateResponse ¶
func ParseIncidentsV1CreateResponse(rsp *http.Response) (*IncidentsV1CreateResponse, error)
ParseIncidentsV1CreateResponse parses an HTTP response from a IncidentsV1CreateWithResponse call
func (IncidentsV1CreateResponse) Status ¶
func (r IncidentsV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentsV1CreateResponse) StatusCode ¶
func (r IncidentsV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentsV1ListParams ¶
type IncidentsV1ListParams struct { // PageSize Integer number of records to return PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. After *string `form:"after,omitempty" json:"after,omitempty"` // Status Filter for incidents in these statuses Status *[]string `form:"status,omitempty" json:"status,omitempty"` }
IncidentsV1ListParams defines parameters for IncidentsV1List.
type IncidentsV1ListResponse ¶
type IncidentsV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody14 }
func ParseIncidentsV1ListResponse ¶
func ParseIncidentsV1ListResponse(rsp *http.Response) (*IncidentsV1ListResponse, error)
ParseIncidentsV1ListResponse parses an HTTP response from a IncidentsV1ListWithResponse call
func (IncidentsV1ListResponse) Status ¶
func (r IncidentsV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentsV1ListResponse) StatusCode ¶
func (r IncidentsV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentsV1ShowResponse ¶
type IncidentsV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody12 }
func ParseIncidentsV1ShowResponse ¶
func ParseIncidentsV1ShowResponse(rsp *http.Response) (*IncidentsV1ShowResponse, error)
ParseIncidentsV1ShowResponse parses an HTTP response from a IncidentsV1ShowWithResponse call
func (IncidentsV1ShowResponse) Status ¶
func (r IncidentsV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentsV1ShowResponse) StatusCode ¶
func (r IncidentsV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentsV2CreateJSONRequestBody ¶
type IncidentsV2CreateJSONRequestBody = CreateRequestBody10
IncidentsV2CreateJSONRequestBody defines body for IncidentsV2Create for application/json ContentType.
type IncidentsV2CreateResponse ¶
type IncidentsV2CreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody13 }
func ParseIncidentsV2CreateResponse ¶
func ParseIncidentsV2CreateResponse(rsp *http.Response) (*IncidentsV2CreateResponse, error)
ParseIncidentsV2CreateResponse parses an HTTP response from a IncidentsV2CreateWithResponse call
func (IncidentsV2CreateResponse) Status ¶
func (r IncidentsV2CreateResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentsV2CreateResponse) StatusCode ¶
func (r IncidentsV2CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentsV2EditJSONRequestBody ¶
type IncidentsV2EditJSONRequestBody = EditRequestBody
IncidentsV2EditJSONRequestBody defines body for IncidentsV2Edit for application/json ContentType.
type IncidentsV2EditResponse ¶
type IncidentsV2EditResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody13 }
func ParseIncidentsV2EditResponse ¶
func ParseIncidentsV2EditResponse(rsp *http.Response) (*IncidentsV2EditResponse, error)
ParseIncidentsV2EditResponse parses an HTTP response from a IncidentsV2EditWithResponse call
func (IncidentsV2EditResponse) Status ¶
func (r IncidentsV2EditResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentsV2EditResponse) StatusCode ¶
func (r IncidentsV2EditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentsV2ListParams ¶
type IncidentsV2ListParams struct { // PageSize number of records to return PageSize *int64 `form:"page_size,omitempty" json:"page_size,omitempty"` // After An incident's ID. This endpoint will return a list of incidents after this ID in relation to the API response order. After *string `form:"after,omitempty" json:"after,omitempty"` // Status Filter on incident status. The accepted operators are 'one_of', or 'not_in'. Status *map[string][]string `form:"status,omitempty" json:"status,omitempty"` // StatusCategory Filter on the category of the incidents status. The accepted operators are 'one_of', or 'not_in'. StatusCategory *map[string][]string `form:"status_category,omitempty" json:"status_category,omitempty"` // Severity Filter on incident severity. The accepted operators are 'one_of', 'not_in', 'gte', 'lte'. Severity *map[string][]string `form:"severity,omitempty" json:"severity,omitempty"` // IncidentType Filter on incident type. The accepted operator is 'one_of'. IncidentType *map[string][]string `form:"incident_type,omitempty" json:"incident_type,omitempty"` // IncidentRole Filter on an incident role. Role ID should be sent, followed by the operator and values. The accepted operators are 'one_of', 'is_blank'. IncidentRole *map[string]map[string][]string `form:"incident_role,omitempty" json:"incident_role,omitempty"` // CustomField Filter on an incident custom field. Custom field ID should be sent, followed by the operator and values. Accepted operator will depend on the custom field type. CustomField *map[string]map[string][]string `form:"custom_field,omitempty" json:"custom_field,omitempty"` }
IncidentsV2ListParams defines parameters for IncidentsV2List.
type IncidentsV2ListResponse ¶
type IncidentsV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody15 }
func ParseIncidentsV2ListResponse ¶
func ParseIncidentsV2ListResponse(rsp *http.Response) (*IncidentsV2ListResponse, error)
ParseIncidentsV2ListResponse parses an HTTP response from a IncidentsV2ListWithResponse call
func (IncidentsV2ListResponse) Status ¶
func (r IncidentsV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentsV2ListResponse) StatusCode ¶
func (r IncidentsV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IncidentsV2ShowResponse ¶
type IncidentsV2ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody13 }
func ParseIncidentsV2ShowResponse ¶
func ParseIncidentsV2ShowResponse(rsp *http.Response) (*IncidentsV2ShowResponse, error)
ParseIncidentsV2ShowResponse parses an HTTP response from a IncidentsV2ShowWithResponse call
func (IncidentsV2ShowResponse) Status ¶
func (r IncidentsV2ShowResponse) Status() string
Status returns HTTPResponse.Status
func (IncidentsV2ShowResponse) StatusCode ¶
func (r IncidentsV2ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEntriesResponseBody ¶
type ListEntriesResponseBody struct { CatalogEntries []CatalogEntryV2 `json:"catalog_entries"` CatalogType CatalogTypeV2 `json:"catalog_type"` PaginationMeta PaginationMetaResult `json:"pagination_meta"` }
ListEntriesResponseBody defines model for ListEntriesResponseBody.
type ListResourcesResponseBody ¶
type ListResourcesResponseBody struct {
Resources []CatalogResourceV2 `json:"resources"`
}
ListResourcesResponseBody defines model for ListResourcesResponseBody.
type ListResponseBody ¶
type ListResponseBody struct {
Actions []ActionV1 `json:"actions"`
}
ListResponseBody defines model for ListResponseBody.
type ListResponseBody10 ¶
type ListResponseBody10 struct {
IncidentStatuses []IncidentStatusV1 `json:"incident_statuses"`
}
ListResponseBody10 defines model for ListResponseBody10.
type ListResponseBody11 ¶
type ListResponseBody11 struct {
IncidentTimestamps []IncidentTimestampV2 `json:"incident_timestamps"`
}
ListResponseBody11 defines model for ListResponseBody11.
type ListResponseBody12 ¶
type ListResponseBody12 struct {
IncidentTypes []IncidentTypeV1 `json:"incident_types"`
}
ListResponseBody12 defines model for ListResponseBody12.
type ListResponseBody13 ¶ added in v0.4.0
type ListResponseBody13 struct { IncidentUpdates []IncidentUpdateV2 `json:"incident_updates"` PaginationMeta *PaginationMetaResult `json:"pagination_meta,omitempty"` }
ListResponseBody13 defines model for ListResponseBody13.
type ListResponseBody14 ¶ added in v0.4.0
type ListResponseBody14 struct { Incidents []IncidentV1 `json:"incidents"` PaginationMeta *PaginationMetaResultWithTotal `json:"pagination_meta,omitempty"` }
ListResponseBody14 defines model for ListResponseBody14.
type ListResponseBody15 ¶ added in v0.4.0
type ListResponseBody15 struct { Incidents []IncidentV2 `json:"incidents"` PaginationMeta *PaginationMetaResultWithTotal `json:"pagination_meta,omitempty"` }
ListResponseBody15 defines model for ListResponseBody15.
type ListResponseBody16 ¶ added in v0.4.0
type ListResponseBody16 struct {
Severities []SeverityV2 `json:"severities"`
}
ListResponseBody16 defines model for ListResponseBody16.
type ListResponseBody17 ¶ added in v0.4.0
type ListResponseBody17 struct { PaginationMeta PaginationMetaResult `json:"pagination_meta"` Users []UserV1 `json:"users"` }
ListResponseBody17 defines model for ListResponseBody17.
type ListResponseBody2 ¶
type ListResponseBody2 struct {
Actions []ActionV2 `json:"actions"`
}
ListResponseBody2 defines model for ListResponseBody2.
type ListResponseBody3 ¶
type ListResponseBody3 struct { CustomFieldOptions []CustomFieldOptionV1 `json:"custom_field_options"` PaginationMeta PaginationMetaResult `json:"pagination_meta"` }
ListResponseBody3 defines model for ListResponseBody3.
type ListResponseBody4 ¶
type ListResponseBody4 struct {
CustomFields []CustomFieldV1 `json:"custom_fields"`
}
ListResponseBody4 defines model for ListResponseBody4.
type ListResponseBody5 ¶
type ListResponseBody5 struct {
CustomFields []CustomFieldV2 `json:"custom_fields"`
}
ListResponseBody5 defines model for ListResponseBody5.
type ListResponseBody6 ¶
type ListResponseBody6 struct {
FollowUps []FollowUpV2 `json:"follow_ups"`
}
ListResponseBody6 defines model for ListResponseBody6.
type ListResponseBody7 ¶
type ListResponseBody7 struct {
IncidentAttachments []IncidentAttachmentV1 `json:"incident_attachments"`
}
ListResponseBody7 defines model for ListResponseBody7.
type ListResponseBody8 ¶
type ListResponseBody8 struct {
IncidentRoles []IncidentRoleV1 `json:"incident_roles"`
}
ListResponseBody8 defines model for ListResponseBody8.
type ListResponseBody9 ¶
type ListResponseBody9 struct {
IncidentRoles []IncidentRoleV2 `json:"incident_roles"`
}
ListResponseBody9 defines model for ListResponseBody9.
type ListTypesResponseBody ¶
type ListTypesResponseBody struct {
CatalogTypes []CatalogTypeV2 `json:"catalog_types"`
}
ListTypesResponseBody defines model for ListTypesResponseBody.
type PaginationMetaResult ¶
type PaginationMetaResult struct { // After If provided, pass this as the 'after' param to load the next page After *string `json:"after,omitempty"` // PageSize What was the maximum number of results requested PageSize int64 `json:"page_size"` }
PaginationMetaResult defines model for PaginationMetaResult.
type PaginationMetaResultWithTotal ¶
type PaginationMetaResultWithTotal struct { // After If provided, pass this as the 'after' param to load the next page After *string `json:"after,omitempty"` // PageSize What was the maximum number of results requested PageSize int64 `json:"page_size"` // TotalRecordCount How many matching records were there in total, if known TotalRecordCount *int64 `json:"total_record_count,omitempty"` }
PaginationMetaResultWithTotal defines model for PaginationMetaResultWithTotal.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RetrospectiveIncidentOptionsV2 ¶
type RetrospectiveIncidentOptionsV2 struct { // SlackChannelId If the incident mode is 'retrospective', pass the ID of a Slack channel in your workspace to attach the incident to an existing channel, rather than creating a new one SlackChannelId *string `json:"slack_channel_id,omitempty"` }
RetrospectiveIncidentOptionsV2 defines model for RetrospectiveIncidentOptionsV2.
type RoundTripperFunc ¶
RoundTripperFunc wraps a function to implement the RoundTripper interface, allowing easy wrapping of existing round-trippers.
type SeveritiesV1CreateJSONRequestBody ¶
type SeveritiesV1CreateJSONRequestBody = CreateRequestBody11
SeveritiesV1CreateJSONRequestBody defines body for SeveritiesV1Create for application/json ContentType.
type SeveritiesV1CreateResponse ¶
type SeveritiesV1CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ShowResponseBody14 }
func ParseSeveritiesV1CreateResponse ¶
func ParseSeveritiesV1CreateResponse(rsp *http.Response) (*SeveritiesV1CreateResponse, error)
ParseSeveritiesV1CreateResponse parses an HTTP response from a SeveritiesV1CreateWithResponse call
func (SeveritiesV1CreateResponse) Status ¶
func (r SeveritiesV1CreateResponse) Status() string
Status returns HTTPResponse.Status
func (SeveritiesV1CreateResponse) StatusCode ¶
func (r SeveritiesV1CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SeveritiesV1DeleteResponse ¶
func ParseSeveritiesV1DeleteResponse ¶
func ParseSeveritiesV1DeleteResponse(rsp *http.Response) (*SeveritiesV1DeleteResponse, error)
ParseSeveritiesV1DeleteResponse parses an HTTP response from a SeveritiesV1DeleteWithResponse call
func (SeveritiesV1DeleteResponse) Status ¶
func (r SeveritiesV1DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (SeveritiesV1DeleteResponse) StatusCode ¶
func (r SeveritiesV1DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SeveritiesV1ListResponse ¶
type SeveritiesV1ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody16 }
func ParseSeveritiesV1ListResponse ¶
func ParseSeveritiesV1ListResponse(rsp *http.Response) (*SeveritiesV1ListResponse, error)
ParseSeveritiesV1ListResponse parses an HTTP response from a SeveritiesV1ListWithResponse call
func (SeveritiesV1ListResponse) Status ¶
func (r SeveritiesV1ListResponse) Status() string
Status returns HTTPResponse.Status
func (SeveritiesV1ListResponse) StatusCode ¶
func (r SeveritiesV1ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SeveritiesV1ShowResponse ¶
type SeveritiesV1ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody14 }
func ParseSeveritiesV1ShowResponse ¶
func ParseSeveritiesV1ShowResponse(rsp *http.Response) (*SeveritiesV1ShowResponse, error)
ParseSeveritiesV1ShowResponse parses an HTTP response from a SeveritiesV1ShowWithResponse call
func (SeveritiesV1ShowResponse) Status ¶
func (r SeveritiesV1ShowResponse) Status() string
Status returns HTTPResponse.Status
func (SeveritiesV1ShowResponse) StatusCode ¶
func (r SeveritiesV1ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SeveritiesV1UpdateJSONRequestBody ¶
type SeveritiesV1UpdateJSONRequestBody = CreateRequestBody11
SeveritiesV1UpdateJSONRequestBody defines body for SeveritiesV1Update for application/json ContentType.
type SeveritiesV1UpdateResponse ¶
type SeveritiesV1UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody14 }
func ParseSeveritiesV1UpdateResponse ¶
func ParseSeveritiesV1UpdateResponse(rsp *http.Response) (*SeveritiesV1UpdateResponse, error)
ParseSeveritiesV1UpdateResponse parses an HTTP response from a SeveritiesV1UpdateWithResponse call
func (SeveritiesV1UpdateResponse) Status ¶
func (r SeveritiesV1UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (SeveritiesV1UpdateResponse) StatusCode ¶
func (r SeveritiesV1UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SeverityV2 ¶
type SeverityV2 struct { // CreatedAt When the action was created CreatedAt time.Time `json:"created_at"` // Description Description of the severity Description string `json:"description"` // Id Unique identifier of the severity Id string `json:"id"` // Name Human readable name of the severity Name string `json:"name"` // Rank Rank to help sort severities (lower numbers are less severe) Rank int64 `json:"rank"` // UpdatedAt When the action was last updated UpdatedAt time.Time `json:"updated_at"` }
SeverityV2 defines model for SeverityV2.
type ShowEntryResponseBody ¶
type ShowEntryResponseBody struct { CatalogEntry CatalogEntryV2 `json:"catalog_entry"` CatalogType CatalogTypeV2 `json:"catalog_type"` }
ShowEntryResponseBody defines model for ShowEntryResponseBody.
type ShowResponseBody ¶
type ShowResponseBody struct {
Action ActionV1 `json:"action"`
}
ShowResponseBody defines model for ShowResponseBody.
type ShowResponseBody10 ¶
type ShowResponseBody10 struct {
IncidentTimestamp IncidentTimestampV2 `json:"incident_timestamp"`
}
ShowResponseBody10 defines model for ShowResponseBody10.
type ShowResponseBody11 ¶ added in v0.4.0
type ShowResponseBody11 struct {
IncidentType IncidentTypeV1 `json:"incident_type"`
}
ShowResponseBody11 defines model for ShowResponseBody11.
type ShowResponseBody12 ¶ added in v0.4.0
type ShowResponseBody12 struct {
Incident IncidentV1 `json:"incident"`
}
ShowResponseBody12 defines model for ShowResponseBody12.
type ShowResponseBody13 ¶ added in v0.4.0
type ShowResponseBody13 struct {
Incident IncidentV2 `json:"incident"`
}
ShowResponseBody13 defines model for ShowResponseBody13.
type ShowResponseBody14 ¶ added in v0.4.0
type ShowResponseBody14 struct {
Severity SeverityV2 `json:"severity"`
}
ShowResponseBody14 defines model for ShowResponseBody14.
type ShowResponseBody15 ¶ added in v0.4.0
type ShowResponseBody15 struct {
User UserV1 `json:"user"`
}
ShowResponseBody15 defines model for ShowResponseBody15.
type ShowResponseBody2 ¶
type ShowResponseBody2 struct {
Action ActionV2 `json:"action"`
}
ShowResponseBody2 defines model for ShowResponseBody2.
type ShowResponseBody3 ¶
type ShowResponseBody3 struct {
CustomFieldOption CustomFieldOptionV1 `json:"custom_field_option"`
}
ShowResponseBody3 defines model for ShowResponseBody3.
type ShowResponseBody4 ¶
type ShowResponseBody4 struct {
CustomField CustomFieldV1 `json:"custom_field"`
}
ShowResponseBody4 defines model for ShowResponseBody4.
type ShowResponseBody5 ¶
type ShowResponseBody5 struct {
CustomField CustomFieldV2 `json:"custom_field"`
}
ShowResponseBody5 defines model for ShowResponseBody5.
type ShowResponseBody6 ¶
type ShowResponseBody6 struct {
FollowUp FollowUpV2 `json:"follow_up"`
}
ShowResponseBody6 defines model for ShowResponseBody6.
type ShowResponseBody7 ¶
type ShowResponseBody7 struct {
IncidentRole IncidentRoleV1 `json:"incident_role"`
}
ShowResponseBody7 defines model for ShowResponseBody7.
type ShowResponseBody8 ¶
type ShowResponseBody8 struct {
IncidentRole IncidentRoleV2 `json:"incident_role"`
}
ShowResponseBody8 defines model for ShowResponseBody8.
type ShowResponseBody9 ¶
type ShowResponseBody9 struct {
IncidentStatus IncidentStatusV1 `json:"incident_status"`
}
ShowResponseBody9 defines model for ShowResponseBody9.
type UpdateEntryRequestBody ¶
type UpdateEntryRequestBody struct { // Aliases Optional aliases that can be used to reference this entry Aliases *[]string `json:"aliases,omitempty"` // AttributeValues Values of this entry AttributeValues map[string]EngineParamBindingPayloadV2 `json:"attribute_values"` // ExternalId An optional alternative ID for this entry, which is ensured to be unique for the type ExternalId *string `json:"external_id,omitempty"` // Name Name is the human readable name of this entry Name string `json:"name"` // Rank When catalog type is ranked, this is used to help order things Rank *int32 `json:"rank,omitempty"` }
UpdateEntryRequestBody defines model for UpdateEntryRequestBody.
type UpdateRequestBody ¶
type UpdateRequestBody struct { // SortKey Sort key used to order the custom field options correctly SortKey int64 `json:"sort_key"` // Value Human readable name for the custom field option Value string `json:"value"` }
UpdateRequestBody defines model for UpdateRequestBody.
type UpdateRequestBody2 ¶
type UpdateRequestBody2 struct { // Description Description of the custom field Description string `json:"description"` // Name Human readable name for the custom field Name string `json:"name"` // Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead]. Required *UpdateRequestBody2Required `json:"required,omitempty"` // RequiredV2 When this custom field must be set during the incident lifecycle. RequiredV2 *UpdateRequestBody2RequiredV2 `json:"required_v2,omitempty"` // ShowBeforeClosure Whether a custom field should be shown in the incident resolve modal. If this custom field is required before resolution, but no value has been set for it, the field will be shown in the resolve modal whatever the value of this setting. ShowBeforeClosure bool `json:"show_before_closure"` // ShowBeforeCreation Whether a custom field should be shown in the incident creation modal. This must be true if the field is always required. ShowBeforeCreation bool `json:"show_before_creation"` // ShowBeforeUpdate Whether a custom field should be shown in the incident update modal. ShowBeforeUpdate bool `json:"show_before_update"` // ShowInAnnouncementPost Whether a custom field should be shown in the list of fields as part of the announcement post when set. ShowInAnnouncementPost *bool `json:"show_in_announcement_post,omitempty"` }
UpdateRequestBody2 defines model for UpdateRequestBody2.
type UpdateRequestBody2Required ¶
type UpdateRequestBody2Required string
UpdateRequestBody2Required When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].
const ( UpdateRequestBody2RequiredAlways UpdateRequestBody2Required = "always" UpdateRequestBody2RequiredBeforeClosure UpdateRequestBody2Required = "before_closure" UpdateRequestBody2RequiredNever UpdateRequestBody2Required = "never" )
Defines values for UpdateRequestBody2Required.
type UpdateRequestBody2RequiredV2 ¶ added in v0.4.0
type UpdateRequestBody2RequiredV2 string
UpdateRequestBody2RequiredV2 When this custom field must be set during the incident lifecycle.
const ( Always UpdateRequestBody2RequiredV2 = "always" BeforeResolution UpdateRequestBody2RequiredV2 = "before_resolution" Never UpdateRequestBody2RequiredV2 = "never" )
Defines values for UpdateRequestBody2RequiredV2.
type UpdateRequestBody3 ¶
type UpdateRequestBody3 struct { // Description Description of the custom field Description string `json:"description"` // Name Human readable name for the custom field Name string `json:"name"` }
UpdateRequestBody3 defines model for UpdateRequestBody3.
type UpdateRequestBody4 ¶
type UpdateRequestBody4 struct { // Description Describes the purpose of the role Description string `json:"description"` // Instructions Provided to whoever is nominated for the role Instructions string `json:"instructions"` // Name Human readable name of the incident role Name string `json:"name"` // Required Whether incident require this role to be set Required bool `json:"required"` // Shortform Short human readable name for Slack Shortform string `json:"shortform"` }
UpdateRequestBody4 defines model for UpdateRequestBody4.
type UpdateRequestBody5 ¶ added in v0.4.0
type UpdateRequestBody5 struct { // Description Describes the purpose of the role Description string `json:"description"` // Instructions Provided to whoever is nominated for the role Instructions string `json:"instructions"` // Name Human readable name of the incident role Name string `json:"name"` // Shortform Short human readable name for Slack Shortform string `json:"shortform"` }
UpdateRequestBody5 defines model for UpdateRequestBody5.
type UpdateRequestBody6 ¶ added in v0.4.0
type UpdateRequestBody6 struct { // Description Rich text description of the incident status Description string `json:"description"` // Name Unique name of this status Name string `json:"name"` }
UpdateRequestBody6 defines model for UpdateRequestBody6.
type UpdateTypeRequestBody ¶
type UpdateTypeRequestBody struct { // Annotations Annotations that can track metadata about this type Annotations *map[string]string `json:"annotations,omitempty"` // Color Sets the display color of this type in the dashboard Color *UpdateTypeRequestBodyColor `json:"color,omitempty"` // Description Human readble description of this type Description string `json:"description"` // Icon Sets the display icon of this type in the dashboard Icon *UpdateTypeRequestBodyIcon `json:"icon,omitempty"` // Name Name is the human readable name of this type Name string `json:"name"` // Ranked If this type should be ranked Ranked *bool `json:"ranked,omitempty"` }
UpdateTypeRequestBody defines model for UpdateTypeRequestBody.
type UpdateTypeRequestBodyColor ¶
type UpdateTypeRequestBodyColor string
UpdateTypeRequestBodyColor Sets the display color of this type in the dashboard
const ( Blue UpdateTypeRequestBodyColor = "blue" Cyan UpdateTypeRequestBodyColor = "cyan" Green UpdateTypeRequestBodyColor = "green" Orange UpdateTypeRequestBodyColor = "orange" Pink UpdateTypeRequestBodyColor = "pink" Violet UpdateTypeRequestBodyColor = "violet" Yellow UpdateTypeRequestBodyColor = "yellow" )
Defines values for UpdateTypeRequestBodyColor.
type UpdateTypeRequestBodyIcon ¶
type UpdateTypeRequestBodyIcon string
UpdateTypeRequestBodyIcon Sets the display icon of this type in the dashboard
const ( Bolt UpdateTypeRequestBodyIcon = "bolt" Box UpdateTypeRequestBodyIcon = "box" Briefcase UpdateTypeRequestBodyIcon = "briefcase" Browser UpdateTypeRequestBodyIcon = "browser" Bulb UpdateTypeRequestBodyIcon = "bulb" Calendar UpdateTypeRequestBodyIcon = "calendar" Clock UpdateTypeRequestBodyIcon = "clock" Cog UpdateTypeRequestBodyIcon = "cog" Database UpdateTypeRequestBodyIcon = "database" Doc UpdateTypeRequestBodyIcon = "doc" Email UpdateTypeRequestBodyIcon = "email" Files UpdateTypeRequestBodyIcon = "files" Flag UpdateTypeRequestBodyIcon = "flag" Money UpdateTypeRequestBodyIcon = "money" Server UpdateTypeRequestBodyIcon = "server" Severity UpdateTypeRequestBodyIcon = "severity" Star UpdateTypeRequestBodyIcon = "star" Store UpdateTypeRequestBodyIcon = "store" Tag UpdateTypeRequestBodyIcon = "tag" User UpdateTypeRequestBodyIcon = "user" Users UpdateTypeRequestBodyIcon = "users" )
Defines values for UpdateTypeRequestBodyIcon.
type UpdateTypeSchemaRequestBody ¶
type UpdateTypeSchemaRequestBody struct { Attributes []CatalogTypeAttributePayloadV2 `json:"attributes"` Version int64 `json:"version"` }
UpdateTypeSchemaRequestBody defines model for UpdateTypeSchemaRequestBody.
type UserReferencePayloadV1 ¶
type UserReferencePayloadV1 struct { // Email The user's email address, matching the email on their Slack account Email *string `json:"email,omitempty"` // Id The incident.io ID of a user Id *string `json:"id,omitempty"` // SlackUserId The ID of the user's Slack account. SlackUserId *string `json:"slack_user_id,omitempty"` }
UserReferencePayloadV1 defines model for UserReferencePayloadV1.
type UserV1 ¶
type UserV1 struct { // Email Email address of the user. Email *string `json:"email,omitempty"` // Id Unique identifier of the user Id string `json:"id"` // Name Name of the user Name string `json:"name"` // Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated. Role UserV1Role `json:"role"` // SlackUserId Slack ID of the user SlackUserId *string `json:"slack_user_id,omitempty"` }
UserV1 defines model for UserV1.
type UserV1Role ¶
type UserV1Role string
UserV1Role DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.
const ( UserV1RoleAdministrator UserV1Role = "administrator" UserV1RoleOwner UserV1Role = "owner" UserV1RoleResponder UserV1Role = "responder" UserV1RoleUnset UserV1Role = "unset" UserV1RoleViewer UserV1Role = "viewer" )
Defines values for UserV1Role.
type UsersV2ListParams ¶ added in v0.4.0
type UsersV2ListParams struct { // PageSize Integer number of records to return PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // After An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. After *string `form:"after,omitempty" json:"after,omitempty"` }
UsersV2ListParams defines parameters for UsersV2List.
type UsersV2ListResponse ¶ added in v0.4.0
type UsersV2ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListResponseBody17 }
func ParseUsersV2ListResponse ¶ added in v0.4.0
func ParseUsersV2ListResponse(rsp *http.Response) (*UsersV2ListResponse, error)
ParseUsersV2ListResponse parses an HTTP response from a UsersV2ListWithResponse call
func (UsersV2ListResponse) Status ¶ added in v0.4.0
func (r UsersV2ListResponse) Status() string
Status returns HTTPResponse.Status
func (UsersV2ListResponse) StatusCode ¶ added in v0.4.0
func (r UsersV2ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsersV2ShowResponse ¶ added in v0.4.0
type UsersV2ShowResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ShowResponseBody15 }
func ParseUsersV2ShowResponse ¶ added in v0.4.0
func ParseUsersV2ShowResponse(rsp *http.Response) (*UsersV2ShowResponse, error)
ParseUsersV2ShowResponse parses an HTTP response from a UsersV2ShowWithResponse call
func (UsersV2ShowResponse) Status ¶ added in v0.4.0
func (r UsersV2ShowResponse) Status() string
Status returns HTTPResponse.Status
func (UsersV2ShowResponse) StatusCode ¶ added in v0.4.0
func (r UsersV2ShowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UtilitiesV1IdentityResponse ¶
type UtilitiesV1IdentityResponse struct { Body []byte HTTPResponse *http.Response JSON200 *IdentityResponseBody }
func ParseUtilitiesV1IdentityResponse ¶
func ParseUtilitiesV1IdentityResponse(rsp *http.Response) (*UtilitiesV1IdentityResponse, error)
ParseUtilitiesV1IdentityResponse parses an HTTP response from a UtilitiesV1IdentityWithResponse call
func (UtilitiesV1IdentityResponse) Status ¶
func (r UtilitiesV1IdentityResponse) Status() string
Status returns HTTPResponse.Status
func (UtilitiesV1IdentityResponse) StatusCode ¶
func (r UtilitiesV1IdentityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UtilitiesV1OpenAPIResponse ¶
type UtilitiesV1OpenAPIResponse struct { Body []byte HTTPResponse *http.Response JSON200 *openapi_types.File }
func ParseUtilitiesV1OpenAPIResponse ¶
func ParseUtilitiesV1OpenAPIResponse(rsp *http.Response) (*UtilitiesV1OpenAPIResponse, error)
ParseUtilitiesV1OpenAPIResponse parses an HTTP response from a UtilitiesV1OpenAPIWithResponse call
func (UtilitiesV1OpenAPIResponse) Status ¶
func (r UtilitiesV1OpenAPIResponse) Status() string
Status returns HTTPResponse.Status
func (UtilitiesV1OpenAPIResponse) StatusCode ¶
func (r UtilitiesV1OpenAPIResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode