diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 6f6f29cece06..c84d61cfe740 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -27245,7 +27245,11 @@ paths: Results are paginated with a max of 1000 results at a time. **Note:** If the host is an Amazon EC2 instance, `id` is replaced with `aws_id` - in the response.' + in the response. + + **Note**: To enrich the data returned by this endpoint with security scans, + see the new [api/v2/security/scanned-assets-metadata](https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata) + endpoint.' operationId: ListHosts parameters: - description: String to filter search results. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0d0a0d67f3d2..329c0e6965ca 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -200,6 +200,22 @@ components: required: true schema: type: string + CaseCustomAttributeIDPathParameter: + description: Case Custom attribute's UUID + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de505 + in: path + name: custom_attribute_id + required: true + schema: + type: string + CaseCustomAttributeKeyPathParameter: + description: Case Custom attribute's key + example: aws_region + in: path + name: custom_attribute_key + required: true + schema: + type: string CaseIDPathParameter: description: Case's UUID or key example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504 @@ -215,6 +231,22 @@ components: required: false schema: $ref: '#/components/schemas/CaseSortableField' + CaseTypeIDPathParameter: + description: Case type's UUID + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de505 + in: path + name: case_type_id + required: true + schema: + type: string + CellIDPathParameter: + description: Timeline cell's UUID + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504 + in: path + name: cell_id + required: true + schema: + type: string CloudAccountID: description: Cloud Account id. in: path @@ -8464,6 +8496,11 @@ components: format: date-time readOnly: true type: string + custom_attributes: + additionalProperties: + $ref: '#/components/schemas/CustomAttributeValue' + description: Case custom attributes + type: object description: description: Description type: string @@ -8491,6 +8528,39 @@ components: type: string type: $ref: '#/components/schemas/CaseType' + type_id: + description: Case type UUID + example: 3b010bde-09ce-4449-b745-71dd5f861963 + type: string + type: object + CaseComment: + description: Case comment + properties: + attributes: + $ref: '#/components/schemas/CaseCommentAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseCommentAttributes: + description: Case comment attributes + properties: + comment: + description: The `CaseCommentAttributes` `message`. + example: This is my comment ! + type: string + required: + - comment + type: object + CaseCommentRequest: + description: Case comment request + properties: + data: + $ref: '#/components/schemas/CaseComment' + required: + - data type: object CaseCreate: description: Case creation data @@ -8517,11 +8587,13 @@ components: description: Title example: Security breach investigation type: string - type: - $ref: '#/components/schemas/CaseType' + type_id: + description: Case type UUID + example: 3b010bde-09ce-4449-b745-71dd5f861963 + type: string required: - title - - type + - type_id type: object CaseCreateRelationships: description: Relationships formed with the case on creation @@ -8652,6 +8724,7 @@ components: - caseTrigger type: object CaseType: + deprecated: true description: Case type enum: - STANDARD @@ -8659,6 +8732,85 @@ components: type: string x-enum-varnames: - STANDARD + CaseTypeCreate: + description: Case type + properties: + attributes: + $ref: '#/components/schemas/CaseTypeResourceAttributes' + type: + $ref: '#/components/schemas/CaseTypeResourceType' + required: + - attributes + - type + type: object + CaseTypeCreateRequest: + description: Case type create request + properties: + data: + $ref: '#/components/schemas/CaseTypeCreate' + required: + - data + type: object + CaseTypeResource: + description: The definition of `CaseType` object. + properties: + attributes: + $ref: '#/components/schemas/CaseTypeResourceAttributes' + id: + description: Case type's identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: '#/components/schemas/CaseTypeResourceType' + type: object + CaseTypeResourceAttributes: + description: Case Type resource attributes + properties: + deleted_at: + description: Timestamp of when the case type was deleted + format: date-time + nullable: true + readOnly: true + type: string + description: + description: Case type description. + example: Investigations done in case management + type: string + emoji: + description: Case type emoji. + example: "\U0001F575\U0001F3FB\u200D\u2642\uFE0F" + type: string + name: + description: Case type name. + example: Investigation + type: string + required: + - name + type: object + CaseTypeResourceType: + default: case_type + description: Case type resource type + enum: + - case_type + example: case_type + type: string + x-enum-varnames: + - CASE_TYPE + CaseTypeResponse: + description: Case type response + properties: + data: + $ref: '#/components/schemas/CaseTypeResource' + type: object + CaseTypesResponse: + description: Case types response. + properties: + data: + description: List of case types + items: + $ref: '#/components/schemas/CaseTypeResource' + type: array + type: object CaseUpdateAttributes: description: Case update attributes properties: @@ -8686,6 +8838,54 @@ components: required: - data type: object + CaseUpdateCustomAttribute: + description: Case update custom attribute + properties: + attributes: + $ref: '#/components/schemas/CustomAttributeValue' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdateCustomAttributeRequest: + description: Case update custom attribute request + properties: + data: + $ref: '#/components/schemas/CaseUpdateCustomAttribute' + required: + - data + type: object + CaseUpdateDescription: + description: Case update description + properties: + attributes: + $ref: '#/components/schemas/CaseUpdateDescriptionAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdateDescriptionAttributes: + description: Case update description attributes + properties: + description: + description: Case new description + example: Seeing some weird memory increase... We shouldn't ignore this + type: string + required: + - description + type: object + CaseUpdateDescriptionRequest: + description: Case update description request + properties: + data: + $ref: '#/components/schemas/CaseUpdateDescription' + required: + - data + type: object CaseUpdatePriority: description: Case priority status properties: @@ -8740,6 +8940,35 @@ components: required: - data type: object + CaseUpdateTitle: + description: Case update title + properties: + attributes: + $ref: '#/components/schemas/CaseUpdateTitleAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdateTitleAttributes: + description: Case update title attributes + properties: + title: + description: Case new title + example: Memory leak investigation on API + type: string + required: + - title + type: object + CaseUpdateTitleRequest: + description: Case update title request + properties: + data: + $ref: '#/components/schemas/CaseUpdateTitle' + required: + - data + type: object CasesResponse: description: Response with cases properties: @@ -13121,6 +13350,177 @@ components: data: $ref: '#/components/schemas/CsmServerlessCoverageAnalysisData' type: object + CustomAttributeConfig: + description: The definition of `CustomAttributeConfig` object. + properties: + attributes: + $ref: '#/components/schemas/CustomAttributeConfigResourceAttributes' + id: + description: Custom attribute configs identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: '#/components/schemas/CustomAttributeConfigResourceType' + type: object + CustomAttributeConfigAttributesCreate: + description: Custom attribute config resource attributes + properties: + description: + description: Custom attribute description. + example: AWS Region, must be a valid region supported by AWS + type: string + display_name: + description: Custom attribute name. + example: AWS Region + type: string + is_multi: + description: Whether multiple values can be set + example: true + type: boolean + key: + description: Custom attribute key. This will be the value use to search + on this custom attribute + example: aws_region + type: string + type: + $ref: '#/components/schemas/CustomAttributeType' + required: + - display_name + - key + - type + - is_multi + type: object + CustomAttributeConfigCreate: + description: Custom attribute config + properties: + attributes: + $ref: '#/components/schemas/CustomAttributeConfigAttributesCreate' + type: + $ref: '#/components/schemas/CustomAttributeConfigResourceType' + required: + - attributes + - type + type: object + CustomAttributeConfigCreateRequest: + description: Custom attribute config create request + properties: + data: + $ref: '#/components/schemas/CustomAttributeConfigCreate' + required: + - data + type: object + CustomAttributeConfigResourceAttributes: + description: Custom attribute resource attributes + properties: + case_type_id: + description: Custom attribute config identifier. + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + description: + description: Custom attribute description. + example: AWS Region, must be a valid region supported by AWS + type: string + display_name: + description: Custom attribute name. + example: AWS Region + type: string + is_multi: + description: Whether multiple values can be set + example: true + type: boolean + key: + description: Custom attribute key. This will be the value use to search + on this custom attribute + example: aws_region + type: string + type: + $ref: '#/components/schemas/CustomAttributeType' + required: + - case_type_id + - display_name + - key + - type + - is_multi + type: object + CustomAttributeConfigResourceType: + default: custom_attribute + description: Custom attributes config JSON:API resource type + enum: + - custom_attribute + example: custom_attribute + type: string + x-enum-varnames: + - CUSTOM_ATTRIBUTE + CustomAttributeConfigResponse: + description: Custom attribute config response. + properties: + data: + $ref: '#/components/schemas/CustomAttributeConfig' + type: object + CustomAttributeConfigsResponse: + description: Custom attribute configs response. + properties: + data: + description: List of custom attribute configs of case type + items: + $ref: '#/components/schemas/CustomAttributeConfig' + type: array + type: object + CustomAttributeMultiNumberValue: + description: Values of multi NUMBER custom attribute + items: + description: NUMBER value + format: double + type: number + type: array + CustomAttributeMultiStringValue: + description: Value of multi TEXT/URL custom attribute + items: + description: TEXT/URL Value + type: string + type: array + CustomAttributeNumberValue: + description: Value of NUMBER custom attribute + format: double + type: number + CustomAttributeStringValue: + description: Value of TEXT/URL custom attribute + type: string + CustomAttributeType: + description: Custom attributes type + enum: + - URL + - TEXT + - NUMBER + example: NUMBER + type: string + x-enum-varnames: + - URL + - TEXT + - NUMBER + CustomAttributeValue: + description: Custom attribute values + properties: + is_multi: + description: If true, value must be an array + example: false + type: boolean + type: + $ref: '#/components/schemas/CustomAttributeType' + value: + $ref: '#/components/schemas/CustomAttributeValuesUnion' + required: + - type + - is_multi + - value + type: object + CustomAttributeValuesUnion: + description: Union of supported value for a custom attribute + oneOf: + - $ref: '#/components/schemas/CustomAttributeStringValue' + - $ref: '#/components/schemas/CustomAttributeMultiStringValue' + - $ref: '#/components/schemas/CustomAttributeNumberValue' + - $ref: '#/components/schemas/CustomAttributeMultiNumberValue' CustomConnection: description: A custom connection used by an app. properties: @@ -49647,6 +50047,120 @@ components: - time_zone - restrictions type: object + TimelineCell: + description: timeline cell + properties: + author: + $ref: '#/components/schemas/TimelineCellAuthor' + cell_content: + $ref: '#/components/schemas/TimelineCellContent' + created_at: + description: Timestamp of when the cell was created + format: date-time + readOnly: true + type: string + deleted_at: + description: Timestamp of when the cell was deleted + format: date-time + readOnly: true + type: string + modified_at: + description: Timestamp of when the cell was last modified + format: date-time + readOnly: true + type: string + type: + $ref: '#/components/schemas/TimelineCellType' + type: object + TimelineCellAuthor: + description: author of the timeline cell + oneOf: + - $ref: '#/components/schemas/TimelineCellAuthorUser' + TimelineCellAuthorUser: + description: timeline cell user author + properties: + content: + $ref: '#/components/schemas/TimelineCellAuthorUserContent' + type: + $ref: '#/components/schemas/TimelineCellAuthorUserType' + type: object + TimelineCellAuthorUserContent: + description: user author content. + properties: + email: + description: user email + type: string + handle: + description: user handle + type: string + id: + description: user UUID + type: string + name: + description: user name + type: string + type: object + TimelineCellAuthorUserType: + description: user author type. + enum: + - USER + example: USER + type: string + x-enum-varnames: + - USER + TimelineCellContent: + description: timeline cell content + oneOf: + - $ref: '#/components/schemas/TimelineCellContentComment' + TimelineCellContentComment: + description: comment content + properties: + message: + description: comment message + type: string + type: object + TimelineCellResource: + description: Timeline cell JSON:API resource + properties: + attributes: + $ref: '#/components/schemas/TimelineCell' + id: + description: Timeline cell's identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: '#/components/schemas/TimelineCellResourceType' + required: + - id + - type + - attributes + type: object + TimelineCellResourceType: + default: timeline_cell + description: Timeline cell JSON:API resource type + enum: + - timeline_cell + example: timeline_cell + type: string + x-enum-varnames: + - TIMELINE_CELL + TimelineCellType: + description: Timeline cell content type + enum: + - COMMENT + example: COMMENT + type: string + x-enum-varnames: + - COMMENT + TimelineResponse: + description: Timeline response + properties: + data: + description: The `TimelineResponse` `data`. + items: + $ref: '#/components/schemas/TimelineCellResource' + type: array + type: object TimeseriesFormulaQueryRequest: description: A request wrapper around a single timeseries query to be executed. properties: @@ -55864,6 +56378,169 @@ paths: summary: Get the details of a project tags: - Case Management + /api/v2/cases/types: + get: + description: Get all case types + operationId: GetAllCaseTypes + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseTypesResponse' + description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all case types + tags: + - Case Management Type + post: + description: Create a Case Type + operationId: CreateCaseType + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseTypeCreateRequest' + description: Case type payload + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseTypeResponse' + description: CREATED + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Create a case type + tags: + - Case Management Type + /api/v2/cases/types/custom_attributes: + get: + description: Get all custom attributes + operationId: GetAllCustomAttributes + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigsResponse' + description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all custom attributes + tags: + - Case Management Attribute + /api/v2/cases/types/{case_type_id}: + delete: + description: Delete a case type + operationId: DeleteCaseType + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + responses: + '204': + description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete a case type + tags: + - Case Management Type + /api/v2/cases/types/{case_type_id}/custom_attributes: + get: + description: Get all custom attribute config of case type + operationId: GetAllCustomAttributeConfigsByCaseType + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigsResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all custom attributes config of case type + tags: + - Case Management Attribute + post: + description: Create custom attribute config for a case type + operationId: CreateCustomAttributeConfig + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigCreateRequest' + description: Custom attribute config payload + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigResponse' + description: CREATED + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Create custom attribute config for a case type + tags: + - Case Management Attribute + /api/v2/cases/types/{case_type_id}/custom_attributes/{custom_attribute_id}: + delete: + description: Delete custom attribute config + operationId: DeleteCustomAttributeConfig + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + - $ref: '#/components/parameters/CaseCustomAttributeIDPathParameter' + responses: + '204': + description: No Content + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete custom attributes config + tags: + - Case Management Attribute /api/v2/cases/{case_id}: get: description: Get the details of case by `case_id` @@ -56009,6 +56686,168 @@ paths: summary: Update case attributes tags: - Case Management + /api/v2/cases/{case_id}/comment: + post: + description: Comment case + operationId: CommentCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseCommentRequest' + description: Case comment payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TimelineResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Comment case + tags: + - Case Management + /api/v2/cases/{case_id}/comment/{cell_id}: + delete: + description: Delete case comment + operationId: DeleteCaseComment + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + - $ref: '#/components/parameters/CellIDPathParameter' + responses: + '204': + description: No Content + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete case comment + tags: + - Case Management + /api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}: + delete: + description: Delete custom attribute from case + operationId: DeleteCaseCustomAttribute + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + - $ref: '#/components/parameters/CaseCustomAttributeKeyPathParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Delete custom attribute from case + tags: + - Case Management + post: + description: Update case custom attribute + operationId: UpdateCaseCustomAttribute + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + - $ref: '#/components/parameters/CaseCustomAttributeKeyPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdateCustomAttributeRequest' + description: Update case custom attribute payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case custom attribute + tags: + - Case Management + /api/v2/cases/{case_id}/description: + post: + description: Update case description + operationId: UpdateCaseDescription + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdateDescriptionRequest' + description: Case description update payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case description + tags: + - Case Management /api/v2/cases/{case_id}/priority: post: description: Update case priority @@ -56085,6 +56924,44 @@ paths: summary: Update case status tags: - Case Management + /api/v2/cases/{case_id}/title: + post: + description: Update case title + operationId: UpdateCaseTitle + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdateTitleRequest' + description: Case title update payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case title + tags: + - Case Management /api/v2/cases/{case_id}/unarchive: post: description: Unarchive case @@ -57055,7 +57932,11 @@ paths: - security_monitoring_filters_write /api/v2/container_images: get: - description: Get all Container Images for your organization. + description: 'Get all Container Images for your organization. + + **Note**: To enrich the data returned by this endpoint with security scans, + see the new [api/v2/security/scanned-assets-metadata](https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata) + endpoint.' operationId: ListContainerImages parameters: - description: Comma-separated list of tags to filter Container Images by. @@ -78816,6 +79697,14 @@ tags: [Case Management page](https://docs.datadoghq.com/service_management/case_management/) for more information. name: Case Management +- description: View and configure custom attributes within Case Management. See the + [Case Management page](https://docs.datadoghq.com/service_management/case_management/) + for more information. + name: Case Management Attribute +- description: View and configure case types within Case Management. See the [Case + Management page](https://docs.datadoghq.com/service_management/case_management/) + for more information. + name: Case Management Type - description: The Cloud Cost Management API allows you to set up, edit, and delete Cloud Cost Management accounts for AWS, Azure, and Google Cloud. You can query your cost data by using the [Metrics endpoint](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-data-across-multiple-products) diff --git a/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.frozen index 081a252dabaf..586a14bae6e5 100644 --- a/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:40.919Z \ No newline at end of file +2025-10-01T12:46:29.817Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.yml index bec31cc9a385..042cf9c40cad 100644 --- a/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/case_management/Archive-case-returns-Bad-Request-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:40 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:29 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"6706fe66-cabd-4b22-b4c5-dd478bba421a","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:41.25066Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"6706fe66-cabd-4b22-b4c5-dd478bba421a","key":"DDFC-72317","merge_status":"NOT_MERGED","priority":"P4","public_id":"72377","status":"OPEN","title":"My + string: '{"data":{"id":"3601878d-b851-43b6-900f-0deb35e536d7","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:30.261735Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"3601878d-b851-43b6-900f-0deb35e536d7","key":"DDFC-82968","merge_status":"NOT_MERGED","priority":"P4","public_id":"83056","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:40 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:29 GMT request: body: encoding: UTF-8 @@ -33,7 +33,7 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/6706fe66-cabd-4b22-b4c5-dd478bba421a/archive + uri: https://api.datadoghq.com/api/v2/cases/3601878d-b851-43b6-900f-0deb35e536d7/archive response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.frozen index 59cf7189dfa3..df0d34f0c4ef 100644 --- a/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:41.730Z \ No newline at end of file +2025-10-01T12:46:30.876Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.yml index 2a9cf8621db0..506800960ccb 100644 --- a/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Archive-case-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:41 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:30 GMT request: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Archive-case-returns-OK-response.frozen b/cassettes/features/v2/case_management/Archive-case-returns-OK-response.frozen index 57508d485486..122706261155 100644 --- a/cassettes/features/v2/case_management/Archive-case-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Archive-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:42.155Z \ No newline at end of file +2025-10-01T12:46:31.029Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Archive-case-returns-OK-response.yml b/cassettes/features/v2/case_management/Archive-case-returns-OK-response.yml index b9d1d6809465..4abeccd46537 100644 --- a/cassettes/features/v2/case_management/Archive-case-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Archive-case-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:42 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:31 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"b074b409-24f8-42ae-b545-b1486429630d","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:42.51392Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b074b409-24f8-42ae-b545-b1486429630d","key":"DDFC-72318","merge_status":"NOT_MERGED","priority":"P4","public_id":"72378","status":"OPEN","title":"My + string: '{"data":{"id":"b5cf9b44-cb77-4487-a436-0e3ef4e88d49","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:31.456149Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b5cf9b44-cb77-4487-a436-0e3ef4e88d49","key":"DDFC-82969","merge_status":"NOT_MERGED","priority":"P4","public_id":"83057","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:42 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:31 GMT request: body: encoding: UTF-8 @@ -33,11 +33,11 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/b074b409-24f8-42ae-b545-b1486429630d/archive + uri: https://api.datadoghq.com/api/v2/cases/b5cf9b44-cb77-4487-a436-0e3ef4e88d49/archive response: body: encoding: UTF-8 - string: '{"data":{"id":"b074b409-24f8-42ae-b545-b1486429630d","type":"case","attributes":{"archived_at":"2025-07-21T13:52:42.933945716Z","attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:42.51392Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b074b409-24f8-42ae-b545-b1486429630d","key":"DDFC-72318","merge_status":"NOT_MERGED","modified_at":"2025-07-21T13:52:42.933946Z","priority":"P4","public_id":"72378","status":"OPEN","title":"My + string: '{"data":{"id":"b5cf9b44-cb77-4487-a436-0e3ef4e88d49","type":"case","attributes":{"archived_at":"2025-10-01T12:46:31.920596976Z","attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:31.456149Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b5cf9b44-cb77-4487-a436-0e3ef4e88d49","key":"DDFC-82969","merge_status":"NOT_MERGED","modified_at":"2025-10-01T12:46:31.920597Z","priority":"P4","public_id":"83057","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: diff --git a/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.frozen index 7decaaaea4b9..ea5b97b0a6d3 100644 --- a/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:43.015Z \ No newline at end of file +2025-10-01T12:46:31.968Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.yml index 742e7cb72d2a..e83b27bf2d0b 100644 --- a/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/case_management/Assign-case-returns-Bad-Request-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:43 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:31 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"510b0121-1477-43c0-8986-78f011016d48","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:43.335245Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"510b0121-1477-43c0-8986-78f011016d48","key":"DDFC-72319","merge_status":"NOT_MERGED","priority":"P4","public_id":"72379","status":"OPEN","title":"My + string: '{"data":{"id":"1beeecc8-5c4f-4194-a785-e5c60234e263","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:32.453117Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"1beeecc8-5c4f-4194-a785-e5c60234e263","key":"DDFC-82970","merge_status":"NOT_MERGED","priority":"P4","public_id":"83058","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:43 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:31 GMT request: body: encoding: UTF-8 @@ -33,7 +33,7 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/510b0121-1477-43c0-8986-78f011016d48/assign + uri: https://api.datadoghq.com/api/v2/cases/1beeecc8-5c4f-4194-a785-e5c60234e263/assign response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.frozen index 067940f74d7c..db07d6fb575f 100644 --- a/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:43.820Z \ No newline at end of file +2025-10-01T12:46:32.968Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.yml index 12fdbc7a4082..54c72e413896 100644 --- a/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Assign-case-returns-Not-Found-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:43 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:32 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"email":"Test-Assign_case_returns_Not_Found_response-1753105963@datadoghq.com","title":"user + string: '{"data":{"attributes":{"email":"Test-Assign_case_returns_Not_Found_response-1759322792@datadoghq.com","title":"user title"},"type":"users"}}' headers: Accept: @@ -15,7 +15,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"type":"users","id":"fa033cd0-6639-11f0-b658-96290b93dbfc","attributes":{"name":null,"handle":"test-assign_case_returns_not_found_response-1753105963@datadoghq.com","created_at":"2025-07-21T13:52:44.217086+00:00","modified_at":"2025-07-21T13:52:44.217086+00:00","email":"test-assign_case_returns_not_found_response-1753105963@datadoghq.com","icon":"https://secure.gravatar.com/avatar/de9eda912656e39d585005ddc0880775?s=48&d=retro","title":"user + string: '{"data":{"type":"users","id":"a906fadf-9ec4-11f0-8e55-4666095c4509","attributes":{"name":null,"handle":"test-assign_case_returns_not_found_response-1759322792@datadoghq.com","created_at":"2025-10-01T12:46:33.507125+00:00","modified_at":"2025-10-01T12:46:33.507125+00:00","email":"test-assign_case_returns_not_found_response-1759322792@datadoghq.com","icon":"https://secure.gravatar.com/avatar/4d05db0354c1408750042bd62d0f0663?s=48&d=retro","title":"user title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}} ' @@ -25,11 +25,11 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:43 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:32 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"assignee_id":"fa033cd0-6639-11f0-b658-96290b93dbfc"},"type":"case"}}' + string: '{"data":{"attributes":{"assignee_id":"a906fadf-9ec4-11f0-8e55-4666095c4509"},"type":"case"}}' headers: Accept: - application/json @@ -47,14 +47,14 @@ http_interactions: status: code: 404 message: Not Found -- recorded_at: Mon, 21 Jul 2025 13:52:43 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:32 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/users/fa033cd0-6639-11f0-b658-96290b93dbfc + uri: https://api.datadoghq.com/api/v2/users/a906fadf-9ec4-11f0-8e55-4666095c4509 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Assign-case-returns-OK-response.frozen b/cassettes/features/v2/case_management/Assign-case-returns-OK-response.frozen index 4e634aa5c58f..791da7476a09 100644 --- a/cassettes/features/v2/case_management/Assign-case-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Assign-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:45.309Z \ No newline at end of file +2025-10-01T12:46:34.590Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Assign-case-returns-OK-response.yml b/cassettes/features/v2/case_management/Assign-case-returns-OK-response.yml index b736d714c8e5..dc5666bfdf74 100644 --- a/cassettes/features/v2/case_management/Assign-case-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Assign-case-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:45 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:34 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:45.654592Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d","key":"DDFC-72320","merge_status":"NOT_MERGED","priority":"P4","public_id":"72380","status":"OPEN","title":"My + string: '{"data":{"id":"3266bb95-e129-4377-a6a1-16cbd3e07395","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:35.065341Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"3266bb95-e129-4377-a6a1-16cbd3e07395","key":"DDFC-82971","merge_status":"NOT_MERGED","priority":"P4","public_id":"83059","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,11 +22,11 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:45 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:34 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"email":"Test-Assign_case_returns_OK_response-1753105965@datadoghq.com","title":"user + string: '{"data":{"attributes":{"email":"Test-Assign_case_returns_OK_response-1759322794@datadoghq.com","title":"user title"},"type":"users"}}' headers: Accept: @@ -38,7 +38,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"type":"users","id":"fb218c6d-6639-11f0-a2d3-1a819e56f795","attributes":{"name":null,"handle":"test-assign_case_returns_ok_response-1753105965@datadoghq.com","created_at":"2025-07-21T13:52:46.093451+00:00","modified_at":"2025-07-21T13:52:46.093451+00:00","email":"test-assign_case_returns_ok_response-1753105965@datadoghq.com","icon":"https://secure.gravatar.com/avatar/a6015cb53f5ee1693a8a69c8f6904fae?s=48&d=retro","title":"user + string: '{"data":{"type":"users","id":"aa4556b9-9ec4-11f0-8e55-4666095c4509","attributes":{"name":null,"handle":"test-assign_case_returns_ok_response-1759322794@datadoghq.com","created_at":"2025-10-01T12:46:35.593518+00:00","modified_at":"2025-10-01T12:46:35.593518+00:00","email":"test-assign_case_returns_ok_response-1759322794@datadoghq.com","icon":"https://secure.gravatar.com/avatar/0b128b1184e8a9942ff24d7a55b04d84?s=48&d=retro","title":"user title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}} ' @@ -48,37 +48,37 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:45 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:34 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"assignee_id":"fb218c6d-6639-11f0-a2d3-1a819e56f795"},"type":"case"}}' + string: '{"data":{"attributes":{"assignee_id":"aa4556b9-9ec4-11f0-8e55-4666095c4509"},"type":"case"}}' headers: Accept: - application/json Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/fd1228dc-d475-4a0b-8677-7a9ce3b50b3d/assign + uri: https://api.datadoghq.com/api/v2/cases/3266bb95-e129-4377-a6a1-16cbd3e07395/assign response: body: encoding: UTF-8 - string: '{"data":{"id":"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:45.654592Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d","key":"DDFC-72320","merge_status":"NOT_MERGED","modified_at":"2025-07-21T13:52:46.52116Z","priority":"P4","public_id":"72380","status":"OPEN","title":"My - new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"assignee":{"data":{"id":"fb218c6d-6639-11f0-a2d3-1a819e56f795","type":"user"}},"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}},{"id":"fb218c6d-6639-11f0-a2d3-1a819e56f795","type":"user","attributes":{"active":false,"email":"test-assign_case_returns_ok_response-1753105965@datadoghq.com","handle":"test-assign_case_returns_ok_response-1753105965@datadoghq.com","name":""}}]}' + string: '{"data":{"id":"3266bb95-e129-4377-a6a1-16cbd3e07395","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:35.065341Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"3266bb95-e129-4377-a6a1-16cbd3e07395","key":"DDFC-82971","merge_status":"NOT_MERGED","modified_at":"2025-10-01T12:46:36.127269Z","priority":"P4","public_id":"83059","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"assignee":{"data":{"id":"aa4556b9-9ec4-11f0-8e55-4666095c4509","type":"user"}},"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}},{"id":"aa4556b9-9ec4-11f0-8e55-4666095c4509","type":"user","attributes":{"active":false,"email":"test-assign_case_returns_ok_response-1759322794@datadoghq.com","handle":"test-assign_case_returns_ok_response-1759322794@datadoghq.com","name":""}}]}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Mon, 21 Jul 2025 13:52:45 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:34 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/users/fb218c6d-6639-11f0-a2d3-1a819e56f795 + uri: https://api.datadoghq.com/api/v2/users/aa4556b9-9ec4-11f0-8e55-4666095c4509 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Comment-case-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Comment-case-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..bea3893eb21f --- /dev/null +++ b/cassettes/features/v2/case_management/Comment-case-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:36.797Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Comment-case-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Comment-case-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..fd073e3ac6c6 --- /dev/null +++ b/cassettes/features/v2/case_management/Comment-case-returns-Bad-Request-response.yml @@ -0,0 +1,47 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:36 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"5ce18aba-c435-4b23-9818-bf79e97dcc66","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:37.280816Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"5ce18aba-c435-4b23-9818-bf79e97dcc66","key":"DDFC-82972","merge_status":"NOT_MERGED","priority":"P4","public_id":"83060","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:46:36 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"comment":""},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/5ce18aba-c435-4b23-9818-bf79e97dcc66/comment + response: + body: + encoding: UTF-8 + string: '{"errors":[{"status":"400","title":"Bad Request"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 400 + message: Bad Request +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Comment-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Comment-case-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..255f9d3d9c04 --- /dev/null +++ b/cassettes/features/v2/case_management/Comment-case-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:37.749Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Comment-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Comment-case-returns-Not-Found-response.yml new file mode 100644 index 000000000000..cd1d728ef92f --- /dev/null +++ b/cassettes/features/v2/case_management/Comment-case-returns-Not-Found-response.yml @@ -0,0 +1,24 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:37 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"comment":"Hello world !"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/comment + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"case not found"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Comment-case-returns-OK-response.frozen b/cassettes/features/v2/case_management/Comment-case-returns-OK-response.frozen new file mode 100644 index 000000000000..654ac6feecc0 --- /dev/null +++ b/cassettes/features/v2/case_management/Comment-case-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:38.181Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Comment-case-returns-OK-response.yml b/cassettes/features/v2/case_management/Comment-case-returns-OK-response.yml new file mode 100644 index 000000000000..1fb4341890ea --- /dev/null +++ b/cassettes/features/v2/case_management/Comment-case-returns-OK-response.yml @@ -0,0 +1,48 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:38 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"1e943f20-0e96-4833-bc3f-728b8991d32e","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:38.628783Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"1e943f20-0e96-4833-bc3f-728b8991d32e","key":"DDFC-82973","merge_status":"NOT_MERGED","priority":"P4","public_id":"83061","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:46:38 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"comment":"Hello World !"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/1e943f20-0e96-4833-bc3f-728b8991d32e/comment + response: + body: + encoding: UTF-8 + string: '{"data":[{"id":"d18d2a69-215e-40e6-a186-445ac1291dee","type":"timeline_cell","attributes":{"author":{"type":"USER","content":{"ID":"3ad549bf-eba0-11e9-a77a-0705486660d0","name":"frog","email":"frog@datadoghq.com","handle":"frog@datadoghq.com","active":true}},"cell_content":{"message":"Hello + World !"},"content":"{\"message\":\"Hello World !\"}","created_at":"2025-10-01T12:46:39.051704699Z","type":"COMMENT"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.frozen index 4494f306b1b8..bc84c11affb2 100644 --- a/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:47.155Z \ No newline at end of file +2025-10-01T12:46:39.097Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.yml index 7350c8f9a86e..9dd9ba8ed35a 100644 --- a/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/case_management/Create-a-case-returns-Bad-Request-response.yml @@ -1,10 +1,10 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:47 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:39 GMT request: body: encoding: UTF-8 string: '{"data":{"attributes":{"priority":"NOT_DEFINED","title":"Security breach - investigation","type":"STANDARD"},"relationships":{"assignee":{"data":{"id":"00000000-0000-0000-0000-000000000000","type":"userx"}},"project":{"data":{"id":"e555e290-ed65-49bd-ae18-8acbfcf18db7","type":"project"}}},"type":"case"}}' + investigation","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"assignee":{"data":{"id":"e555e290-ed65-49bd-ae18-8acbfcf18db7","type":"userx"}},"project":{"data":{"id":"e555e290-ed65-49bd-ae18-8acbfcf18db7","type":"project"}}},"type":"case"}}' headers: Accept: - application/json diff --git a/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.frozen b/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.frozen index c1e8fb0c3bfb..8fe8003a09d5 100644 --- a/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.frozen +++ b/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:47.527Z \ No newline at end of file +2025-10-01T12:46:39.524Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.yml b/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.yml index f9e88360541e..7b7d23e4f1a3 100644 --- a/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.yml +++ b/cassettes/features/v2/case_management/Create-a-case-returns-CREATED-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:47 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:39 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"email":"Test-Create_a_case_returns_CREATED_response-1753105967@datadoghq.com","title":"user + string: '{"data":{"attributes":{"email":"Test-Create_a_case_returns_CREATED_response-1759322799@datadoghq.com","title":"user title"},"type":"users"}}' headers: Accept: @@ -15,7 +15,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"type":"users","id":"fc35a29f-6639-11f0-8bee-a24ce66fd256","attributes":{"name":null,"handle":"test-create_a_case_returns_created_response-1753105967@datadoghq.com","created_at":"2025-07-21T13:52:47.902815+00:00","modified_at":"2025-07-21T13:52:47.902815+00:00","email":"test-create_a_case_returns_created_response-1753105967@datadoghq.com","icon":"https://secure.gravatar.com/avatar/600ad64c52b4a9b6a9f2a46d8fa9ec0a?s=48&d=retro","title":"user + string: '{"data":{"type":"users","id":"ace4fe48-9ec4-11f0-988b-7627cf2efb1e","attributes":{"name":null,"handle":"test-create_a_case_returns_created_response-1759322799@datadoghq.com","created_at":"2025-10-01T12:46:39.995279+00:00","modified_at":"2025-10-01T12:46:39.995279+00:00","email":"test-create_a_case_returns_created_response-1759322799@datadoghq.com","icon":"https://secure.gravatar.com/avatar/a3dcdca0c5122ad399c31e6815d86aef?s=48&d=retro","title":"user title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}} ' @@ -25,12 +25,12 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:47 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:39 GMT request: body: encoding: UTF-8 string: '{"data":{"attributes":{"priority":"NOT_DEFINED","title":"Security breach - investigation in 20df485fb3942e6f","type":"STANDARD"},"relationships":{"assignee":{"data":{"id":"fc35a29f-6639-11f0-8bee-a24ce66fd256","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + investigation in 6667abc22c9b9dc7","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"assignee":{"data":{"id":"ace4fe48-9ec4-11f0-988b-7627cf2efb1e","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -41,22 +41,22 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"2275ce7b-781b-4539-b0f3-2cc1b2140565","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:48.320633Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"2275ce7b-781b-4539-b0f3-2cc1b2140565","key":"DDFC-72321","merge_status":"NOT_MERGED","priority":"NOT_DEFINED","public_id":"72381","status":"OPEN","title":"Security - breach investigation in 20df485fb3942e6f","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"assignee":{"data":{"id":"fc35a29f-6639-11f0-8bee-a24ce66fd256","type":"user"}},"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}},{"id":"fc35a29f-6639-11f0-8bee-a24ce66fd256","type":"user","attributes":{"active":false,"email":"test-create_a_case_returns_created_response-1753105967@datadoghq.com","handle":"test-create_a_case_returns_created_response-1753105967@datadoghq.com","name":""}}]}' + string: '{"data":{"id":"58b1c40f-26af-4aed-84bf-6008b6f16d91","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:40.526592Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"58b1c40f-26af-4aed-84bf-6008b6f16d91","key":"DDFC-82974","merge_status":"NOT_MERGED","priority":"NOT_DEFINED","public_id":"83062","status":"OPEN","status_name":"Open","title":"Security + breach investigation in 6667abc22c9b9dc7","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"assignee":{"data":{"id":"ace4fe48-9ec4-11f0-988b-7627cf2efb1e","type":"user"}},"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}},{"id":"ace4fe48-9ec4-11f0-988b-7627cf2efb1e","type":"user","attributes":{"active":false,"email":"test-create_a_case_returns_created_response-1759322799@datadoghq.com","handle":"test-create_a_case_returns_created_response-1759322799@datadoghq.com","name":""}}]}' headers: Content-Type: - application/vnd.api+json status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:47 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:39 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/users/fc35a29f-6639-11f0-8bee-a24ce66fd256 + uri: https://api.datadoghq.com/api/v2/users/ace4fe48-9ec4-11f0-988b-7627cf2efb1e response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Create-a-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Create-a-case-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..a89b60caf5ea --- /dev/null +++ b/cassettes/features/v2/case_management/Create-a-case-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:41.174Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Create-a-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Create-a-case-returns-Not-Found-response.yml new file mode 100644 index 000000000000..f227e48b50ba --- /dev/null +++ b/cassettes/features/v2/case_management/Create-a-case-returns-Not-Found-response.yml @@ -0,0 +1,25 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:41 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"NOT_DEFINED","title":"Security breach + investigation","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"assignee":{"data":{"id":"721074c8-63df-4d8f-a43d-ab41dd24ec35","type":"user"}},"project":{"data":{"id":"721074c8-63df-4d8f-a43d-ab41dd24ec35","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"project not found"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Delete-case-comment-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Delete-case-comment-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..f373662bda64 --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-case-comment-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-08-21T12:21:38.654Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Delete-case-comment-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Delete-case-comment-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..d3e902ce81b9 --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-case-comment-returns-Bad-Request-response.yml @@ -0,0 +1,44 @@ +http_interactions: +- recorded_at: Thu, 21 Aug 2025 12:21:38 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"b17ef97a-c38f-4b67-91a6-546a0a3da4d3","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-21T12:21:39.002325Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b17ef97a-c38f-4b67-91a6-546a0a3da4d3","key":"DDFC-77682","merge_status":"NOT_MERGED","priority":"P4","public_id":"77765","status":"OPEN","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:38 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/b17ef97a-c38f-4b67-91a6-546a0a3da4d3/comment/not-an-uuid + response: + body: + encoding: UTF-8 + string: '{"errors":[{"status":"400","title":"Invalid Parameter","detail":"invalid + parameter \"CommentID\" in \"path\"; expected type \"uuid\""}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 400 + message: Bad Request +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Delete-case-comment-returns-No-Content-response.frozen b/cassettes/features/v2/case_management/Delete-case-comment-returns-No-Content-response.frozen new file mode 100644 index 000000000000..72e5af03f17c --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-case-comment-returns-No-Content-response.frozen @@ -0,0 +1 @@ +2025-08-21T12:21:39.426Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Delete-case-comment-returns-No-Content-response.yml b/cassettes/features/v2/case_management/Delete-case-comment-returns-No-Content-response.yml new file mode 100644 index 000000000000..5d95854b7f5a --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-case-comment-returns-No-Content-response.yml @@ -0,0 +1,83 @@ +http_interactions: +- recorded_at: Thu, 21 Aug 2025 12:21:39 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"ba3da7da-9df1-4b1d-82be-e7d3d8ee865f","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-21T12:21:39.790273Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"ba3da7da-9df1-4b1d-82be-e7d3d8ee865f","key":"DDFC-77683","merge_status":"NOT_MERGED","priority":"P4","public_id":"77766","status":"OPEN","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:39 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"comment":"This is my new comment !"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment + response: + body: + encoding: UTF-8 + string: '{"data":[{"id":"bd8ee088-15bc-43a1-bc95-92e365b71459","type":"timeline_cell","attributes":{"author":{"type":"USER","content":{"ID":"3ad549bf-eba0-11e9-a77a-0705486660d0","name":"frog","email":"frog@datadoghq.com","handle":"frog@datadoghq.com","active":true}},"cell_content":{"message":"This + is my new comment !"},"content":"{\"message\":\"This is my new comment !\"}","created_at":"2025-08-21T12:21:40.169700502Z","type":"COMMENT"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +- recorded_at: Thu, 21 Aug 2025 12:21:39 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment/bd8ee088-15bc-43a1-bc95-92e365b71459 + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +- recorded_at: Thu, 21 Aug 2025 12:21:39 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment/bd8ee088-15bc-43a1-bc95-92e365b71459 + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"timeline cell not + found"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Delete-case-comment-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Delete-case-comment-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..e7e401d337b3 --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-case-comment-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:41.670Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Delete-case-comment-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Delete-case-comment-returns-Not-Found-response.yml new file mode 100644 index 000000000000..f4c7608cfd86 --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-case-comment-returns-Not-Found-response.yml @@ -0,0 +1,44 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:41 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"41de4d6f-9ed2-478f-b180-3a383c14dc64","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:42.111632Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"41de4d6f-9ed2-478f-b180-3a383c14dc64","key":"DDFC-82975","merge_status":"NOT_MERGED","priority":"P4","public_id":"83064","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:46:41 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/41de4d6f-9ed2-478f-b180-3a383c14dc64/comment/23fca2aa-4967-4936-bdd7-9157d9e456d7 + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"timeline cell not + found"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..437e011d4468 --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:42.614Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.yml new file mode 100644 index 000000000000..d67d9e5c8c98 --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.yml @@ -0,0 +1,44 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:42 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"16b310dd-5329-48c5-82fe-ccd2b39cb0e5","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:43.066117Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"16b310dd-5329-48c5-82fe-ccd2b39cb0e5","key":"DDFC-82976","merge_status":"NOT_MERGED","priority":"P4","public_id":"83065","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:46:42 GMT + request: + body: null + headers: + Accept: + - application/json + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/16b310dd-5329-48c5-82fe-ccd2b39cb0e5/custom_attributes/invalid_key + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"failed to update case + (command func error): custom attribute configuration not found","meta":{"key":"invalid_key"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.frozen b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.frozen new file mode 100644 index 000000000000..ec2e383177ee --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-08-21T12:21:42.721Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.yml b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.yml new file mode 100644 index 000000000000..f3c4d3c2632e --- /dev/null +++ b/cassettes/features/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.yml @@ -0,0 +1,109 @@ +http_interactions: +- recorded_at: Thu, 21 Aug 2025 12:21:42 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"3dd78296-b989-466d-97ef-428517d851ee\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"name\":\"World\"}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:42 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"And its brand new description","display_name":"Attribute + 17557789-0000-0000-0000-175577890200","is_multi":true,"key":"attribute_08d279361f9bcdbb","type":"TEXT"},"type":"custom_attribute"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types/3dd78296-b989-466d-97ef-428517d851ee/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"c18c3669-9507-4293-ac56-08711b1e16a6","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"3dd78296-b989-466d-97ef-428517d851ee","description":"And + its brand new description","display_name":"Attribute 17557789-0000-0000-0000-175577890200","is_multi":true,"key":"attribute_08d279361f9bcdbb","type":"TEXT"}}}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:42 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"3dd78296-b989-466d-97ef-428517d851ee"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"15f17d2e-4972-44d9-9f31-684f2d19a16c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-21T12:21:43.791404Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"15f17d2e-4972-44d9-9f31-684f2d19a16c","key":"DDFC-77686","merge_status":"NOT_MERGED","priority":"P4","public_id":"77769","status":"OPEN","title":"My + new case","type":"TUNKNOWN","type_id":"3dd78296-b989-466d-97ef-428517d851ee"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:42 GMT + request: + body: null + headers: + Accept: + - application/json + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/15f17d2e-4972-44d9-9f31-684f2d19a16c/custom_attributes/attribute_08d279361f9bcdbb + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"15f17d2e-4972-44d9-9f31-684f2d19a16c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-21T12:21:43.791404Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"15f17d2e-4972-44d9-9f31-684f2d19a16c","key":"DDFC-77686","merge_status":"NOT_MERGED","priority":"P4","public_id":"77769","status":"OPEN","title":"My + new case","type":"TUNKNOWN","type_id":"3dd78296-b989-466d-97ef-428517d851ee"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +- recorded_at: Thu, 21 Aug 2025 12:21:42 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/3dd78296-b989-466d-97ef-428517d851ee + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.frozen index 65a7dda98774..c89518964241 100644 --- a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:48.953Z \ No newline at end of file +2025-10-01T12:46:43.569Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.yml index c1cfd8a8bc41..059a708f78e4 100644 --- a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:48 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:43 GMT request: body: null headers: diff --git a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen index 683f8abed3a5..10a2481a0209 100644 --- a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:49.345Z \ No newline at end of file +2025-10-01T12:46:44.009Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.yml b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.yml index 396cbb0f1872..21b9c3342d02 100644 --- a/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Get-the-details-of-a-case-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:49 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:44 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"5e66536f-3946-41fd-9e0f-183e719d7128","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:49.694835Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"5e66536f-3946-41fd-9e0f-183e719d7128","key":"DDFC-72322","merge_status":"NOT_MERGED","priority":"P4","public_id":"72382","status":"OPEN","title":"My + string: '{"data":{"id":"da266ceb-843c-4af1-9190-9f1ab13fd4f4","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:44.422586Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"da266ceb-843c-4af1-9190-9f1ab13fd4f4","key":"DDFC-82977","merge_status":"NOT_MERGED","priority":"P4","public_id":"83066","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,18 +22,18 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:49 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:44 GMT request: body: null headers: Accept: - application/json method: GET - uri: https://api.datadoghq.com/api/v2/cases/5e66536f-3946-41fd-9e0f-183e719d7128 + uri: https://api.datadoghq.com/api/v2/cases/da266ceb-843c-4af1-9190-9f1ab13fd4f4 response: body: encoding: UTF-8 - string: '{"data":{"id":"5e66536f-3946-41fd-9e0f-183e719d7128","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:49.694835Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"5e66536f-3946-41fd-9e0f-183e719d7128","key":"DDFC-72322","merge_status":"NOT_MERGED","priority":"P4","public_id":"72382","status":"OPEN","title":"My + string: '{"data":{"id":"da266ceb-843c-4af1-9190-9f1ab13fd4f4","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:44.422586Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"da266ceb-843c-4af1-9190-9f1ab13fd4f4","key":"DDFC-82977","merge_status":"NOT_MERGED","priority":"P4","public_id":"83066","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: diff --git a/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen index 22ddf6aec45d..7fe2db8b1d45 100644 --- a/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:50.131Z \ No newline at end of file +2025-10-01T12:46:44.940Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.yml index c6a71d7efe71..1d704c8dffb0 100644 --- a/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/case_management/Unarchive-case-returns-Bad-Request-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:50 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:44 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"5fd92551-50b8-46e9-899d-5846cf3eab9e","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:50.459513Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"5fd92551-50b8-46e9-899d-5846cf3eab9e","key":"DDFC-72323","merge_status":"NOT_MERGED","priority":"P4","public_id":"72383","status":"OPEN","title":"My + string: '{"data":{"id":"add421a8-61e3-416e-85ec-9db7440bc951","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:45.339926Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"add421a8-61e3-416e-85ec-9db7440bc951","key":"DDFC-82978","merge_status":"NOT_MERGED","priority":"P4","public_id":"83067","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:50 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:44 GMT request: body: encoding: UTF-8 @@ -33,7 +33,7 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/5fd92551-50b8-46e9-899d-5846cf3eab9e/unarchive + uri: https://api.datadoghq.com/api/v2/cases/add421a8-61e3-416e-85ec-9db7440bc951/unarchive response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.frozen index 091e5f1693e3..68dbfea67e41 100644 --- a/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:50.895Z \ No newline at end of file +2025-10-01T12:46:45.896Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.yml index f2316fa48682..87a70f46de0d 100644 --- a/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Unarchive-case-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:50 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:45 GMT request: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.frozen b/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.frozen index c118a3ee0031..5a7cef238be2 100644 --- a/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:51.279Z \ No newline at end of file +2025-10-01T12:46:46.650Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.yml b/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.yml index ada8cce2fc3c..2dfd729de07e 100644 --- a/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Unarchive-case-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:51 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:46 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"b6a0f192-9be6-4898-b05b-f4cc308de679","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:51.610535Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b6a0f192-9be6-4898-b05b-f4cc308de679","key":"DDFC-72324","merge_status":"NOT_MERGED","priority":"P4","public_id":"72384","status":"OPEN","title":"My + string: '{"data":{"id":"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:47.573675Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c","key":"DDFC-82979","merge_status":"NOT_MERGED","priority":"P4","public_id":"83068","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:51 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:46 GMT request: body: encoding: UTF-8 @@ -33,11 +33,11 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/b6a0f192-9be6-4898-b05b-f4cc308de679/unarchive + uri: https://api.datadoghq.com/api/v2/cases/6f53ae15-54ca-418d-b3bc-ae2b039dbb5c/unarchive response: body: encoding: UTF-8 - string: '{"data":{"id":"b6a0f192-9be6-4898-b05b-f4cc308de679","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:51.610535Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b6a0f192-9be6-4898-b05b-f4cc308de679","key":"DDFC-72324","merge_status":"NOT_MERGED","priority":"P4","public_id":"72384","status":"OPEN","title":"My + string: '{"data":{"id":"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:47.573675Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c","key":"DDFC-82979","merge_status":"NOT_MERGED","priority":"P4","public_id":"83068","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: diff --git a/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen index 7b3f4dbd149b..0400accbe4b5 100644 --- a/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:52.067Z \ No newline at end of file +2025-10-01T12:46:48.330Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.yml index 0abdcce544c8..fbfb552b4f1d 100644 --- a/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/case_management/Unassign-case-returns-Bad-Request-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:52 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:48 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"6e4af4e8-67fd-461a-9664-adf910673121","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:52.413703Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"6e4af4e8-67fd-461a-9664-adf910673121","key":"DDFC-72325","merge_status":"NOT_MERGED","priority":"P4","public_id":"72385","status":"OPEN","title":"My + string: '{"data":{"id":"976a6c59-d5b2-477a-95e4-00d154bcf447","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:48.896678Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"976a6c59-d5b2-477a-95e4-00d154bcf447","key":"DDFC-82980","merge_status":"NOT_MERGED","priority":"P4","public_id":"83069","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:52 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:48 GMT request: body: encoding: UTF-8 @@ -33,7 +33,7 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/6e4af4e8-67fd-461a-9664-adf910673121/unassign + uri: https://api.datadoghq.com/api/v2/cases/976a6c59-d5b2-477a-95e4-00d154bcf447/unassign response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.frozen index d41e392f87a9..319319a42489 100644 --- a/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:52.854Z \ No newline at end of file +2025-10-01T12:46:49.773Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.yml index 40444903b450..77010ea83acb 100644 --- a/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Unassign-case-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:52 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:49 GMT request: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.frozen b/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.frozen index f5e55d1024ec..9fe15caf9984 100644 --- a/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:53.249Z \ No newline at end of file +2025-10-01T12:46:50.389Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.yml b/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.yml index 77086c344d64..0bb8eb9750ce 100644 --- a/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Unassign-case-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:53 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:50 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"b222e3e7-19fe-434f-ab26-7e0845775ccd","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:53.581415Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b222e3e7-19fe-434f-ab26-7e0845775ccd","key":"DDFC-72326","merge_status":"NOT_MERGED","priority":"P4","public_id":"72386","status":"OPEN","title":"My + string: '{"data":{"id":"83f41574-2062-47de-be0e-b3c2ae43ef5c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:50.896205Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"83f41574-2062-47de-be0e-b3c2ae43ef5c","key":"DDFC-82981","merge_status":"NOT_MERGED","priority":"P4","public_id":"83070","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:53 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:50 GMT request: body: encoding: UTF-8 @@ -33,11 +33,11 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/b222e3e7-19fe-434f-ab26-7e0845775ccd/unassign + uri: https://api.datadoghq.com/api/v2/cases/83f41574-2062-47de-be0e-b3c2ae43ef5c/unassign response: body: encoding: UTF-8 - string: '{"data":{"id":"b222e3e7-19fe-434f-ab26-7e0845775ccd","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:53.581415Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"b222e3e7-19fe-434f-ab26-7e0845775ccd","key":"DDFC-72326","merge_status":"NOT_MERGED","priority":"P4","public_id":"72386","status":"OPEN","title":"My + string: '{"data":{"id":"83f41574-2062-47de-be0e-b3c2ae43ef5c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:50.896205Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"83f41574-2062-47de-be0e-b3c2ae43ef5c","key":"DDFC-82981","merge_status":"NOT_MERGED","priority":"P4","public_id":"83070","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: diff --git a/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.frozen index 9cc9365f1352..737a9c4ddb57 100644 --- a/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T08:23:42.266Z \ No newline at end of file +2025-10-01T12:46:52.080Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.yml index 6e58010a122c..47888e66b4a0 100644 --- a/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Update-case-attributes-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 08:23:42 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:52 GMT request: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.frozen b/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.frozen index d438f1b5b226..9619ed45f875 100644 --- a/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T18:43:31.851Z \ No newline at end of file +2025-10-01T12:46:52.908Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.yml b/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.yml index 760e9511db26..75c659ab773a 100644 --- a/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Update-case-attributes-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 18:43:31 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:52 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"f396c907-777d-4985-9e9d-2a420a0c0515","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T18:42:41.549781Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"f396c907-777d-4985-9e9d-2a420a0c0515","key":"DDFC-72342","merge_status":"NOT_MERGED","priority":"P4","public_id":"72402","status":"OPEN","title":"My + string: '{"data":{"id":"916e1b61-25b1-4da9-b3a3-000150b675f6","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:53.522427Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"916e1b61-25b1-4da9-b3a3-000150b675f6","key":"DDFC-82982","merge_status":"NOT_MERGED","priority":"P4","public_id":"83071","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 18:43:31 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:52 GMT request: body: encoding: UTF-8 @@ -33,11 +33,11 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/f396c907-777d-4985-9e9d-2a420a0c0515/attributes + uri: https://api.datadoghq.com/api/v2/cases/916e1b61-25b1-4da9-b3a3-000150b675f6/attributes response: body: encoding: UTF-8 - string: '{"data":{"id":"f396c907-777d-4985-9e9d-2a420a0c0515","type":"case","attributes":{"attributes":{"env":["test"],"service":["web-store","web-api"],"team":["engineer"]},"comment_count":0,"created_at":"2025-07-21T18:42:41.549781Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"f396c907-777d-4985-9e9d-2a420a0c0515","key":"DDFC-72342","merge_status":"NOT_MERGED","modified_at":"2025-07-21T18:42:41.694883Z","priority":"P4","public_id":"72402","status":"OPEN","title":"My + string: '{"data":{"id":"916e1b61-25b1-4da9-b3a3-000150b675f6","type":"case","attributes":{"attributes":{"env":["test"],"service":["web-store","web-api"],"team":["engineer"]},"comment_count":0,"created_at":"2025-10-01T12:46:53.522427Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"916e1b61-25b1-4da9-b3a3-000150b675f6","key":"DDFC-82982","merge_status":"NOT_MERGED","modified_at":"2025-10-01T12:46:54.057858Z","priority":"P4","public_id":"83071","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: diff --git a/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..2b0f39ba6600 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-08-21T12:21:50.857Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..5d176495c125 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.yml @@ -0,0 +1,112 @@ +http_interactions: +- recorded_at: Thu, 21 Aug 2025 12:21:50 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"name\":\"World\"}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:50 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"And its brand new description","display_name":"Attribute + 17557789-0000-0000-0000-175577891000","is_multi":true,"key":"attribute_1d2a4f8f9b39a284","type":"TEXT"},"type":"custom_attribute"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types/b36e8af6-a952-43bb-b54b-d7b80fc1344e/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"49cb8cff-1ff0-4476-b0c9-042e08935cb9","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"b36e8af6-a952-43bb-b54b-d7b80fc1344e","description":"And + its brand new description","display_name":"Attribute 17557789-0000-0000-0000-175577891000","is_multi":true,"key":"attribute_1d2a4f8f9b39a284","type":"TEXT"}}}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:50 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"b36e8af6-a952-43bb-b54b-d7b80fc1344e"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"5ed64f4d-a8d0-4dc6-879c-9b5f10a25cdb","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-21T12:21:51.92835Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"5ed64f4d-a8d0-4dc6-879c-9b5f10a25cdb","key":"DDFC-77693","merge_status":"NOT_MERGED","priority":"P4","public_id":"77776","status":"OPEN","title":"My + new case","type":"TUNKNOWN","type_id":"b36e8af6-a952-43bb-b54b-d7b80fc1344e"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:50 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"is_multi":true,"type":"FLOAT","value":[1,2.4]},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/5ed64f4d-a8d0-4dc6-879c-9b5f10a25cdb/custom_attributes/attribute_1d2a4f8f9b39a284 + response: + body: + encoding: UTF-8 + string: '{"errors":[{"status":"400","title":"Bad Request"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 400 + message: Bad Request +- recorded_at: Thu, 21 Aug 2025 12:21:50 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/b36e8af6-a952-43bb-b54b-d7b80fc1344e + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..3f6e4336b9cc --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:54.092Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.yml new file mode 100644 index 000000000000..78c49dcd2be7 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.yml @@ -0,0 +1,49 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:54 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"8e87c755-54a9-470a-9118-62a0942ec870","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:54.666096Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"8e87c755-54a9-470a-9118-62a0942ec870","key":"DDFC-82983","merge_status":"NOT_MERGED","priority":"P4","public_id":"83072","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:46:54 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"is_multi":true,"type":"TEXT","value":["Abba","The + Cure"]},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/8e87c755-54a9-470a-9118-62a0942ec870/custom_attributes/invalid_key + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"failed to update case + (command func error): custom attribute configuration not found","meta":{"key":"invalid_key"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-OK-response.frozen b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-OK-response.frozen new file mode 100644 index 000000000000..0df4d79f680d --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-08-21T12:21:53.550Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-OK-response.yml b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-OK-response.yml new file mode 100644 index 000000000000..945ae4fe1b82 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-custom-attribute-returns-OK-response.yml @@ -0,0 +1,115 @@ +http_interactions: +- recorded_at: Thu, 21 Aug 2025 12:21:53 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"name\":\"World\"}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:53 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"And its brand new description","display_name":"Attribute + 17557789-0000-0000-0000-175577891300","is_multi":true,"key":"attribute_661efcf8a00203e4","type":"TEXT"},"type":"custom_attribute"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types/bf109065-175f-4d2f-848d-8f5232dfce1a/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"df10a213-93aa-4406-98a7-f9a7c5dccefd","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"bf109065-175f-4d2f-848d-8f5232dfce1a","description":"And + its brand new description","display_name":"Attribute 17557789-0000-0000-0000-175577891300","is_multi":true,"key":"attribute_661efcf8a00203e4","type":"TEXT"}}}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:53 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"bf109065-175f-4d2f-848d-8f5232dfce1a"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"4e88fd93-7a35-46a1-881e-3ee48185afe4","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-21T12:21:54.635083Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"4e88fd93-7a35-46a1-881e-3ee48185afe4","key":"DDFC-77695","merge_status":"NOT_MERGED","priority":"P4","public_id":"77778","status":"OPEN","title":"My + new case","type":"TUNKNOWN","type_id":"bf109065-175f-4d2f-848d-8f5232dfce1a"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:21:53 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"is_multi":true,"type":"TEXT","value":["Abba","The + Cure"]},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/4e88fd93-7a35-46a1-881e-3ee48185afe4/custom_attributes/attribute_661efcf8a00203e4 + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"4e88fd93-7a35-46a1-881e-3ee48185afe4","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-21T12:21:54.635083Z","creation_source":"MANUAL","custom_attributes":{"attribute_661efcf8a00203e4":{"type":"TEXT","is_multi":true,"value":["Abba","The + Cure"]}},"description":"","insights":[],"internal_id":"4e88fd93-7a35-46a1-881e-3ee48185afe4","key":"DDFC-77695","merge_status":"NOT_MERGED","modified_at":"2025-08-21T12:21:55.036815Z","priority":"P4","public_id":"77778","status":"OPEN","title":"My + new case","type":"TUNKNOWN","type_id":"bf109065-175f-4d2f-848d-8f5232dfce1a"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +- recorded_at: Thu, 21 Aug 2025 12:21:53 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/bf109065-175f-4d2f-848d-8f5232dfce1a + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-description-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Update-case-description-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..cb9d0b8766fb --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-description-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-08-20T11:23:00.312Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-description-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Update-case-description-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..7d1a5d02f809 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-description-returns-Bad-Request-response.yml @@ -0,0 +1,50 @@ +http_interactions: +- recorded_at: Wed, 20 Aug 2025 11:23:00 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"efb715f8-47e6-4035-a8aa-2562ac8d46b1","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-20T11:23:00.725437Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"efb715f8-47e6-4035-a8aa-2562ac8d46b1","key":"DDFC-77120","merge_status":"NOT_MERGED","priority":"P4","public_id":"77187","status":"OPEN","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 20 Aug 2025 11:23:00 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"Seeing some weird memory increase... + We shouldn''t ignore this"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/efb715f8-47e6-4035-a8aa-2562ac8d46b1/description + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"efb715f8-47e6-4035-a8aa-2562ac8d46b1","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-08-20T11:23:00.725437Z","creation_source":"MANUAL","custom_attributes":{},"description":"Seeing + some weird memory increase... We shouldn''t ignore this","insights":[],"internal_id":"efb715f8-47e6-4035-a8aa-2562ac8d46b1","key":"DDFC-77120","merge_status":"NOT_MERGED","modified_at":"2025-08-20T11:23:01.102685Z","priority":"P4","public_id":"77187","status":"OPEN","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-description-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Update-case-description-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..ff73a3396702 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-description-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:55.741Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-description-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Update-case-description-returns-Not-Found-response.yml new file mode 100644 index 000000000000..d50444808df6 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-description-returns-Not-Found-response.yml @@ -0,0 +1,25 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:55 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"Seeing some weird memory increase... + We shouldn''t ignore this"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/0198c6b0-2a0a-7bea-87ff-3876f119aebb/description + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"case not found"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-description-returns-OK-response.frozen b/cassettes/features/v2/case_management/Update-case-description-returns-OK-response.frozen new file mode 100644 index 000000000000..f5684a8e2aad --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-description-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:46:56.936Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-description-returns-OK-response.yml b/cassettes/features/v2/case_management/Update-case-description-returns-OK-response.yml new file mode 100644 index 000000000000..0f6b364fd2ec --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-description-returns-OK-response.yml @@ -0,0 +1,50 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:46:56 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"bb8284e0-959e-43db-9920-adf55f37ed7d","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:57.927663Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"bb8284e0-959e-43db-9920-adf55f37ed7d","key":"DDFC-82984","merge_status":"NOT_MERGED","priority":"P4","public_id":"83073","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:46:56 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"Seeing some weird memory increase... + Updating the description"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/bb8284e0-959e-43db-9920-adf55f37ed7d/description + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"bb8284e0-959e-43db-9920-adf55f37ed7d","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:46:57.927663Z","creation_source":"MANUAL","custom_attributes":{},"description":"Seeing + some weird memory increase... Updating the description","insights":[],"internal_id":"bb8284e0-959e-43db-9920-adf55f37ed7d","key":"DDFC-82984","merge_status":"NOT_MERGED","modified_at":"2025-10-01T12:46:59.32863Z","priority":"P4","public_id":"83073","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen index 34a73d972c26..a4821efc16fc 100644 --- a/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:56.000Z \ No newline at end of file +2025-10-01T12:46:59.356Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.yml index 154bcb0930be..cdad2cafec42 100644 --- a/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/case_management/Update-case-priority-returns-Bad-Request-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:56 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:59 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"57868e9a-2697-4384-b724-8e118b20a7f3","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:56.317328Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"57868e9a-2697-4384-b724-8e118b20a7f3","key":"DDFC-72329","merge_status":"NOT_MERGED","priority":"P4","public_id":"72389","status":"OPEN","title":"My + string: '{"data":{"id":"66eb3131-0b3b-489b-b672-2781600cc1e6","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:00.373489Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"66eb3131-0b3b-489b-b672-2781600cc1e6","key":"DDFC-82985","merge_status":"NOT_MERGED","priority":"P4","public_id":"83074","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:56 GMT +- recorded_at: Wed, 01 Oct 2025 12:46:59 GMT request: body: encoding: UTF-8 @@ -33,12 +33,12 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/57868e9a-2697-4384-b724-8e118b20a7f3/priority + uri: https://api.datadoghq.com/api/v2/cases/66eb3131-0b3b-489b-b672-2781600cc1e6/priority response: body: encoding: UTF-8 string: '{"errors":[{"title":"Generic Error","detail":"invalid priority P1234. - Must be one of P2, P3, P4, P5, NOT_DEFINED, P1"}]}' + Must be one of NOT_DEFINED, P1, P2, P3, P4, P5"}]}' headers: Content-Type: - application/vnd.api+json diff --git a/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.frozen index f6b3d2f6982f..d1d5e408c737 100644 --- a/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:56.765Z \ No newline at end of file +2025-10-01T12:47:00.978Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.yml index a0816d1af9f8..d5284dbf8183 100644 --- a/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Update-case-priority-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:56 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:00 GMT request: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.frozen b/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.frozen index 9b134590a27a..da62d2e6f684 100644 --- a/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:57.162Z \ No newline at end of file +2025-10-01T12:47:01.924Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.yml b/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.yml index 0b578f1c6bb5..00aac783c7b9 100644 --- a/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Update-case-priority-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:57 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:01 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"18014b24-6e64-4ca5-8cac-7ccbdd65258b","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:57.488697Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"18014b24-6e64-4ca5-8cac-7ccbdd65258b","key":"DDFC-72330","merge_status":"NOT_MERGED","priority":"P4","public_id":"72390","status":"OPEN","title":"My + string: '{"data":{"id":"d42afb74-0480-4535-bf4d-af0353d32c1c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:02.764285Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"d42afb74-0480-4535-bf4d-af0353d32c1c","key":"DDFC-82986","merge_status":"NOT_MERGED","priority":"P4","public_id":"83075","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:57 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:01 GMT request: body: encoding: UTF-8 @@ -33,11 +33,11 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/18014b24-6e64-4ca5-8cac-7ccbdd65258b/priority + uri: https://api.datadoghq.com/api/v2/cases/d42afb74-0480-4535-bf4d-af0353d32c1c/priority response: body: encoding: UTF-8 - string: '{"data":{"id":"18014b24-6e64-4ca5-8cac-7ccbdd65258b","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:57.488697Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"18014b24-6e64-4ca5-8cac-7ccbdd65258b","key":"DDFC-72330","merge_status":"NOT_MERGED","modified_at":"2025-07-21T13:52:57.885095Z","priority":"P3","public_id":"72390","status":"OPEN","title":"My + string: '{"data":{"id":"d42afb74-0480-4535-bf4d-af0353d32c1c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:02.764285Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"d42afb74-0480-4535-bf4d-af0353d32c1c","key":"DDFC-82986","merge_status":"NOT_MERGED","modified_at":"2025-10-01T12:47:03.296015Z","priority":"P3","public_id":"83075","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: diff --git a/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen index f149d8dad297..fa70f7c3252a 100644 --- a/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:57.959Z \ No newline at end of file +2025-10-01T12:47:03.345Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.yml index 00f5a0de820d..a924a83bf2d7 100644 --- a/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/case_management/Update-case-status-returns-Bad-Request-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:57 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:03 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"98319575-b53b-43be-96b2-7595a5f1be6c","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:58.293018Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"98319575-b53b-43be-96b2-7595a5f1be6c","key":"DDFC-72331","merge_status":"NOT_MERGED","priority":"P4","public_id":"72391","status":"OPEN","title":"My + string: '{"data":{"id":"53897bb0-8e8b-4652-985b-0b9e2e8c3a30","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:04.237961Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"53897bb0-8e8b-4652-985b-0b9e2e8c3a30","key":"DDFC-82987","merge_status":"NOT_MERGED","priority":"P4","public_id":"83076","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:57 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:03 GMT request: body: encoding: UTF-8 @@ -33,14 +33,14 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/98319575-b53b-43be-96b2-7595a5f1be6c/status + uri: https://api.datadoghq.com/api/v2/cases/53897bb0-8e8b-4652-985b-0b9e2e8c3a30/status response: body: encoding: UTF-8 string: '{"errors":[{"title":"Generic Error","detail":"invalid status OPENED. - Must be one of PENDING_APPROVAL, APPROVED, IMPLEMENTING, CANCELLED, SUNKNOWN, - ACKNOWLEDGED, TRIGGERED, RESOLVED, COMPLETED, DECLINED, OPEN, IN_PROGRESS, - CLOSED"}]}' + Must be one of CANCELLED, DECLINED, NOT_STARTED, SUNKNOWN, IN_PROGRESS, ACKNOWLEDGED, + TRIGGERED, PENDING_APPROVAL, IMPLEMENTING, COMPLETED, OPEN, CLOSED, RESOLVED, + APPROVED"}]}' headers: Content-Type: - application/vnd.api+json diff --git a/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.frozen index ca65b4f9cfee..9c685217ae02 100644 --- a/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:58.721Z \ No newline at end of file +2025-10-01T12:47:04.727Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.yml index 600f612ef1c4..e25334304d81 100644 --- a/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.yml +++ b/cassettes/features/v2/case_management/Update-case-status-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:58 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:04 GMT request: body: encoding: UTF-8 diff --git a/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.frozen b/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.frozen index 086a7bba2e62..447e0043d27e 100644 --- a/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.frozen +++ b/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.frozen @@ -1 +1 @@ -2025-07-21T13:52:59.116Z \ No newline at end of file +2025-10-01T12:47:05.138Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.yml b/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.yml index fc9e4cde5552..8ac794c6092f 100644 --- a/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.yml +++ b/cassettes/features/v2/case_management/Update-case-status-returns-OK-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Mon, 21 Jul 2025 13:52:59 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:05 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type":"STANDARD"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' headers: Accept: - application/json @@ -14,7 +14,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"6d09fb31-6357-4f35-b1af-eaa0047f19f0","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:59.449985Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"6d09fb31-6357-4f35-b1af-eaa0047f19f0","key":"DDFC-72332","merge_status":"NOT_MERGED","priority":"P4","public_id":"72392","status":"OPEN","title":"My + string: '{"data":{"id":"e030702b-1f81-4ff0-94ba-ff9650823cf3","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:05.547127Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"e030702b-1f81-4ff0-94ba-ff9650823cf3","key":"DDFC-82988","merge_status":"NOT_MERGED","priority":"P4","public_id":"83077","status":"OPEN","status_name":"Open","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: @@ -22,7 +22,7 @@ http_interactions: status: code: 201 message: Created -- recorded_at: Mon, 21 Jul 2025 13:52:59 GMT +- recorded_at: Wed, 01 Oct 2025 12:47:05 GMT request: body: encoding: UTF-8 @@ -33,12 +33,12 @@ http_interactions: Content-Type: - application/json method: POST - uri: https://api.datadoghq.com/api/v2/cases/6d09fb31-6357-4f35-b1af-eaa0047f19f0/status + uri: https://api.datadoghq.com/api/v2/cases/e030702b-1f81-4ff0-94ba-ff9650823cf3/status response: body: encoding: UTF-8 - string: '{"data":{"id":"6d09fb31-6357-4f35-b1af-eaa0047f19f0","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-07-21T13:52:59.449985Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"6d09fb31-6357-4f35-b1af-eaa0047f19f0","key":"DDFC-72332","merge_status":"NOT_MERGED","modified_at":"2025-07-21T13:52:59.835103Z","priority":"P4","public_id":"72392","status":"IN_PROGRESS","title":"My - new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + string: '{"data":{"id":"e030702b-1f81-4ff0-94ba-ff9650823cf3","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:05.547127Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"e030702b-1f81-4ff0-94ba-ff9650823cf3","key":"DDFC-82988","merge_status":"NOT_MERGED","modified_at":"2025-10-01T12:47:05.982532Z","priority":"P4","public_id":"83077","status":"IN_PROGRESS","status_name":"In + Progress","title":"My new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' headers: Content-Type: - application/vnd.api+json diff --git a/cassettes/features/v2/case_management/Update-case-title-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management/Update-case-title-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..ca09c6cf32d7 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-title-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:47:06.013Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-title-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management/Update-case-title-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..9a726630192f --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-title-returns-Bad-Request-response.yml @@ -0,0 +1,47 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:47:06 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"de7cd20f-3755-44aa-9f89-846b6ae37124","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:06.439831Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"de7cd20f-3755-44aa-9f89-846b6ae37124","key":"DDFC-82989","merge_status":"NOT_MERGED","priority":"P4","public_id":"83078","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:47:06 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"title":""},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/de7cd20f-3755-44aa-9f89-846b6ae37124/title + response: + body: + encoding: UTF-8 + string: '{"errors":[{"status":"400","title":"Bad Request"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 400 + message: Bad Request +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-title-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management/Update-case-title-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..e6b859cee6af --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-title-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:47:06.918Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-title-returns-Not-Found-response.yml b/cassettes/features/v2/case_management/Update-case-title-returns-Not-Found-response.yml new file mode 100644 index 000000000000..f1ce44ec15be --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-title-returns-Not-Found-response.yml @@ -0,0 +1,24 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:47:06 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"title":"Memory leak investigation on API"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/0198c6b8-b08f-7c08-978a-d95217f2eeac/title + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"case not found"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management/Update-case-title-returns-OK-response.frozen b/cassettes/features/v2/case_management/Update-case-title-returns-OK-response.frozen new file mode 100644 index 000000000000..898a971bbd34 --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-title-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:47:07.351Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management/Update-case-title-returns-OK-response.yml b/cassettes/features/v2/case_management/Update-case-title-returns-OK-response.yml new file mode 100644 index 000000000000..bc3a64482f6b --- /dev/null +++ b/cassettes/features/v2/case_management/Update-case-title-returns-OK-response.yml @@ -0,0 +1,49 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:47:07 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"priority":"P4","title":"My new case","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:07.778878Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2","key":"DDFC-82990","merge_status":"NOT_MERGED","priority":"P4","public_id":"83079","status":"OPEN","status_name":"Open","title":"My + new case","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:47:07 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"title":"[UPDATED] Memory leak investigation + on API"},"type":"case"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2/title + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2","type":"case","attributes":{"attributes":{},"comment_count":0,"created_at":"2025-10-01T12:47:07.778878Z","creation_source":"MANUAL","custom_attributes":{},"description":"","insights":[],"internal_id":"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2","key":"DDFC-82990","merge_status":"NOT_MERGED","modified_at":"2025-10-01T12:47:08.214456Z","priority":"P4","public_id":"83079","status":"OPEN","status_name":"Open","title":"[UPDATED] + Memory leak investigation on API","type":"STANDARD","type_id":"00000000-0000-0000-0000-000000000001"},"relationships":{"created_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"modified_by":{"data":{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user"}},"project":{"data":{"id":"d4bbe1af-f36e-42f1-87c1-493ca35c320e","type":"project"}}}},"included":[{"id":"3ad549bf-eba0-11e9-a77a-0705486660d0","type":"user","attributes":{"active":true,"email":"frog@datadoghq.com","handle":"frog@datadoghq.com","name":"frog"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..2d6e5a6e94bf --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:11.446Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..e5e7f62c4d7d --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.yml @@ -0,0 +1,53 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:11 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"a52ea7e5-7cdf-4414-a585-63e58d3dc7a0\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:50:11 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"display_name":"AWS Region 17593230-0000-0000-0000-175932301100","is_multi":true,"key":"region_4fd8eeb20ad8f927","type":"FLOAT"},"type":"custom_attribute"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types/a52ea7e5-7cdf-4414-a585-63e58d3dc7a0/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"errors":[{"status":"400","title":"Bad Request"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 400 + message: Bad Request +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.frozen b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.frozen new file mode 100644 index 000000000000..af7454d52bae --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:12.380Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.yml b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.yml new file mode 100644 index 000000000000..3354044c512e --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.yml @@ -0,0 +1,54 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:12 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"d6472e40-180e-4f7f-bdc0-9c8a749da7ee\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:50:12 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"display_name":"AWS Region 17593230-0000-0000-0000-175932301200","is_multi":true,"key":"region_34a76e3ae14c4076","type":"NUMBER"},"type":"custom_attribute"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types/d6472e40-180e-4f7f-bdc0-9c8a749da7ee/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"d57aff81-87df-478e-af85-9553e0a5d221","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"d6472e40-180e-4f7f-bdc0-9c8a749da7ee","display_name":"AWS + Region 17593230-0000-0000-0000-175932301200","is_multi":true,"key":"region_34a76e3ae14c4076","type":"NUMBER"}}}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.frozen b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.frozen new file mode 100644 index 000000000000..191d7b314ea2 --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:12.967Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.yml b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.yml new file mode 100644 index 000000000000..037318d768db --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.yml @@ -0,0 +1,24 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:12 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"display_name":"AWS Region 79eef6c4d883c2c5","is_multi":true,"key":"region_79eef6c4d883c2c5","type":"NUMBER"},"type":"custom_attribute"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types/9fd476d7-a955-454a-851d-980c655c02d3/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"errors":[{"code":"resource_not_found","title":"case_type not found"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 404 + message: Not Found +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..cbdeebeb1d63 --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:13.409Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..ad0c00b8a99b --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.yml @@ -0,0 +1,50 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:13 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"3ffd2bc8-e360-40d4-8ed6-60f72161fd89\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:50:13 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/3ffd2bc8-e360-40d4-8ed6-60f72161fd89/custom_attributes/not-an-uuid + response: + body: + encoding: UTF-8 + string: '{"errors":[{"status":"400","title":"Invalid Parameter","detail":"invalid + parameter \"CustomAttributeId\" in \"path\"; expected type \"uuid\""}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 400 + message: Bad Request +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.frozen b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.frozen new file mode 100644 index 000000000000..84a97519aa28 --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.frozen @@ -0,0 +1 @@ +2025-08-21T12:41:46.533Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.yml b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.yml new file mode 100644 index 000000000000..0a49e02880c7 --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.yml @@ -0,0 +1,83 @@ +http_interactions: +- recorded_at: Thu, 21 Aug 2025 12:41:46 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"fdf93265-be3d-4a97-ae0d-540b049f7753\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"name\":\"World\"}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:41:46 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"And its brand new description","display_name":"Attribute + 17557801-0000-0000-0000-175578010600","is_multi":true,"key":"attribute_a058b510f096c932","type":"TEXT"},"type":"custom_attribute"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"data":{"id":"7ce13520-94b7-4391-bb64-c45776011f05","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"fdf93265-be3d-4a97-ae0d-540b049f7753","description":"And + its brand new description","display_name":"Attribute 17557801-0000-0000-0000-175578010600","is_multi":true,"key":"attribute_a058b510f096c932","type":"TEXT"}}}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Thu, 21 Aug 2025 12:41:46 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753/custom_attributes/7ce13520-94b7-4391-bb64-c45776011f05 + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +- recorded_at: Thu, 21 Aug 2025 12:41:46 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753 + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.frozen b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.frozen new file mode 100644 index 000000000000..cf3d363b1b54 --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:14.270Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.yml b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.yml new file mode 100644 index 000000000000..dc59f654a9d6 --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.yml @@ -0,0 +1,49 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:14 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"f91c5f4a-53c4-4f18-a21d-9f82fd7bd3e9\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:50:14 GMT + request: + body: null + headers: + Accept: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/cases/types/f91c5f4a-53c4-4f18-a21d-9f82fd7bd3e9/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"data":[]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.frozen b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.frozen new file mode 100644 index 000000000000..666a0caf4075 --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:15.131Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.yml b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.yml new file mode 100644 index 000000000000..73068c40cbbc --- /dev/null +++ b/cassettes/features/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.yml @@ -0,0 +1,86 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:15 GMT + request: + body: null + headers: + Accept: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/cases/types/custom_attributes + response: + body: + encoding: UTF-8 + string: '{"data":[{"id":"3404866e-32d7-4f50-854c-a06e8f12e39a","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"02323717-20b8-4ecf-8c34-ef7dd1841f46","description":"And + its brand new description","display_name":"Attribute 17556962-0000-0000-0000-175569621700","is_multi":true,"key":"attribute_7d1796807c0cb52e","type":"TEXT"}},{"id":"1458f000-f648-4f8a-910d-faf267187405","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"0295702b-41e6-4a9e-8681-a237d11b5843","description":"And + its brand new description","display_name":"Attribute 17557769-0000-0000-0000-175577695300","is_multi":true,"key":"attribute_fb1043dd816c6a32","type":"TEXT"}},{"id":"a33fb20d-794d-465e-a46c-be7976a3eecc","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"0c16ab5a-ac15-49a0-ad03-aef57d4d42e8","description":"And + its brand new description","display_name":"Attribute 17556952-0000-0000-0000-175569524900","is_multi":true,"key":"attribute_178cc47942e4b613","type":"TEXT"}},{"id":"d489ec89-c7d9-4777-ae78-94327a9761d7","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"1295370d-69c2-43d1-899f-71e9d67e5474","description":"And + its brand new description","display_name":"Attribute 17557756-0000-0000-0000-175577566800","is_multi":true,"key":"attribute_cea115a7c56274af","type":"TEXT"}},{"id":"686b5832-2ea3-49a8-b56c-19209626b503","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"1387ec4d-f40a-4b31-8d0f-bc161326e588","description":"And + its brand new description","display_name":"Attribute 17556956-0000-0000-0000-175569560200","is_multi":true,"key":"attribute_30e2ba5485ed5459","type":"TEXT"}},{"id":"1462324f-dc66-431f-a947-c9388be48a24","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"14b8f6a9-3bd9-4fad-b66e-68dac1bf547a","description":"And + its brand new description","display_name":"Attribute 17556911-0000-0000-0000-175569114600","is_multi":true,"key":"attribute_814788f737a0ef11","type":"TEXT"}},{"id":"812ca37d-f3e8-4f12-9f38-a7f72321b7fc","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"1e036814-3134-4bc5-8e97-1f14ba77fac3","description":"And + its brand new description","display_name":"Attribute 17557777-0000-0000-0000-175577776000","is_multi":true,"key":"attribute_48ad4b2bdda0532c","type":"TEXT"}},{"id":"0dc4a14f-f96b-4a27-893a-72341da7ce1d","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"1fab87e4-341d-4a79-a294-171b4e2c22f8","display_name":"AWS + Region 17569771-0000-0000-0000-175697711500","is_multi":true,"key":"region_eaa423ff52828a39","type":"NUMBER"}},{"id":"a7162904-b251-4be6-9122-7e7063f26cfa","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"21779b8e-c1e1-4886-94e9-1b5b18d21366","description":"And + its brand new description","display_name":"Attribute 17557756-0000-0000-0000-175577565600","is_multi":true,"key":"attribute_da8b014dc613e74e","type":"TEXT"}},{"id":"a8822151-6c4b-45a5-9259-e881b235503f","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"220d930b-828d-4b57-a38f-f09ced11d439","description":"And + its brand new description","display_name":"Attribute 17556965-0000-0000-0000-175569650100","is_multi":true,"key":"attribute_1915854b20a2258d","type":"TEXT"}},{"id":"97ffb8a9-75b7-40cb-a086-2e20954d0b00","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"2402c3fb-d0a2-4460-bd62-da434e3dff7c","description":"And + its brand new description","display_name":"Attribute 17556967-0000-0000-0000-175569674500","is_multi":true,"key":"attribute_5a41c02f06567fd0","type":"TEXT"}},{"id":"b4524398-8030-4efb-8a62-b756bd5a805e","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"2cf3b0ea-aced-42f8-af92-252b294fb478","description":"And + its brand new description","display_name":"Attribute 17556924-0000-0000-0000-175569241100","is_multi":true,"key":"attribute_86c4dfcf527d6e57","type":"TEXT"}},{"id":"48376b02-6ce2-4933-84cb-901f326acb3f","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"37ab3980-5401-4a6f-ae3d-f0f428310448","description":"And + its brand new description","display_name":"Attribute 17556889-0000-0000-0000-175568897800","is_multi":true,"key":"attribute_c34388c70e9fcf0d","type":"TEXT"}},{"id":"cafa5687-2248-4f06-8d99-4afbcaa902c8","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"3879f548-5eec-4c3f-8d7b-b0b2671fd522","description":"And + its brand new description","display_name":"Attribute 17556984-0000-0000-0000-175569844700","is_multi":true,"key":"attribute_af26a7482e81c29e","type":"TEXT"}},{"id":"9a9dfa93-5247-4b9c-8016-e941bf7b90be","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"387f5315-b404-40f6-9005-cccac8ef06fa","description":"And + its brand new description","display_name":"Attribute 17556889-0000-0000-0000-175568897500","is_multi":true,"key":"attribute_9ba0031081800ba4","type":"TEXT"}},{"id":"c18c3669-9507-4293-ac56-08711b1e16a6","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"3dd78296-b989-466d-97ef-428517d851ee","description":"And + its brand new description","display_name":"Attribute 17557789-0000-0000-0000-175577890200","is_multi":true,"key":"attribute_08d279361f9bcdbb","type":"TEXT"}},{"id":"9679710e-1710-4b81-9fdc-a8aefdc5181c","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"54997fa0-0c3f-43cb-9e84-39f5f5ce3f09","description":"And + its brand new description","display_name":"Attribute 17557777-0000-0000-0000-175577775800","is_multi":true,"key":"attribute_f6b3b818b9e7896f","type":"TEXT"}},{"id":"f69cc9b7-d422-4b17-916d-d37702882a43","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"56855740-86fc-42c5-9ed3-82bed933cfa3","description":"And + its brand new description","display_name":"Attribute 17557749-0000-0000-0000-175577496200","is_multi":true,"key":"attribute_11aa72538cbc80b0","type":"TEXT"}},{"id":"a9230c4e-044b-4484-906d-6fa58695a811","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"581c81f2-968c-4f23-bc35-e5a4f76246e6","description":"And + its brand new description","display_name":"Attribute 17556924-0000-0000-0000-175569240200","is_multi":true,"key":"attribute_8859075b7a20193b","type":"TEXT"}},{"id":"481e660d-e54a-4431-9eb6-aa3eafbba793","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"5ee6243b-b005-4bd4-a5f2-fe8c4ff2ddfe","description":"And + its brand new description","display_name":"Attribute 17556955-0000-0000-0000-175569559100","is_multi":true,"key":"attribute_ce39a90e4dbff5b2","type":"TEXT"}},{"id":"93911656-ee55-4269-a8a0-640cd2292eae","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"6010ef55-cf69-4e91-959d-a6f14a6384ee","description":"And + its brand new description","display_name":"Attribute 17557766-0000-0000-0000-175577665200","is_multi":true,"key":"attribute_d97d47c4d1519f5d","type":"TEXT"}},{"id":"1fa53572-5ba9-441c-8280-c0e1421569ea","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"602b0512-58e4-4fa5-a004-dccd954b7ab8","description":"And + its brand new description","display_name":"Attribute 17557769-0000-0000-0000-175577695100","is_multi":true,"key":"attribute_7f2c794a40953354","type":"TEXT"}},{"id":"f72172a1-50c2-404a-81cd-4b79c7dc6cfd","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"615f2510-83f5-46ba-b244-012ced51027a","description":"And + its brand new description","display_name":"Attribute 17557766-0000-0000-0000-175577664900","is_multi":true,"key":"attribute_87f0debab731bcf4","type":"TEXT"}},{"id":"aa4bccbc-7e9b-4b07-8ca2-df7143363aa7","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"644f21a0-a650-410c-a8ec-c7ceadeaa28d","description":"And + its brand new description","display_name":"Attribute 17556904-0000-0000-0000-175569040900","is_multi":true,"key":"attribute_523da46ac3093bf6","type":"TEXT"}},{"id":"3f8875d3-35bb-44ef-9fd0-fbab1df96f12","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"6c66be3b-c6d1-45b0-b1c4-473c04f3dc39","description":"And + its brand new description","display_name":"Attribute 17556911-0000-0000-0000-175569115400","is_multi":true,"key":"attribute_a98069ab218fcfe9","type":"TEXT"}},{"id":"13f4bfa6-aa37-47c1-95c5-187f47944a3b","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"6e04d185-29aa-4770-b14d-fd2741f049cc","description":"And + its brand new description","display_name":"Attribute 17556984-0000-0000-0000-175569845000","is_multi":true,"key":"attribute_988ac85e509c81a6","type":"TEXT"}},{"id":"71559a35-48cf-4bca-bc26-a58227513098","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"6fc2e97b-4d59-48ee-8a00-039b07f147e4","description":"And + its brand new description","display_name":"Attribute 17556889-0000-0000-0000-175568896700","is_multi":true,"key":"attribute_f083308d73cf8fb6","type":"TEXT"}},{"id":"a7a2d485-b59a-48c2-a656-01118748e67a","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"70214597-0ebf-470d-a7c8-6c596d786ba2","display_name":"AWS + Region 17556949-0000-0000-0000-175569494400","is_multi":true,"key":"region_b7851408833202a0","type":"NUMBER"}},{"id":"5c06455e-72c8-422e-9ef8-3c2dcbd74bdb","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"7615e5a7-d95b-41b2-a082-47bf7ac815b9","description":"And + its brand new description","display_name":"Attribute 17556962-0000-0000-0000-175569622800","is_multi":true,"key":"attribute_a4e4d3ba3d31a1ef","type":"TEXT"}},{"id":"ee11612f-2bc5-4d4b-8c6c-6ab3661ae7d6","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"7a256076-d73a-4581-a955-c036ca560fd3","description":"And + its brand new description","display_name":"Attribute 17556964-0000-0000-0000-175569641900","is_multi":true,"key":"attribute_7566d967ae17a843","type":"TEXT"}},{"id":"6fc1b29c-338d-4ab1-bf7e-6a0467a32c76","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"7eb35cdb-4622-4a60-beb1-d292387b0314","description":"And + its brand new description","display_name":"Attribute 17556967-0000-0000-0000-175569673400","is_multi":true,"key":"attribute_6f914c880f7b16f5","type":"TEXT"}},{"id":"d57330bb-2e36-4f85-a181-de5b407c0784","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"7f70d4a0-d06d-49f5-928f-c2ca73aeb862","description":"And + its brand new description","display_name":"Attribute 17556955-0000-0000-0000-175569559900","is_multi":true,"key":"attribute_5028395cf6855c3c","type":"TEXT"}},{"id":"c9a3bb56-eb9e-4b4b-9283-db8f1dc68605","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"895b0b2c-98de-482b-b315-195ca654cfd0","display_name":"AWS + Region 17557048-0000-0000-0000-175570480500","is_multi":true,"key":"region_0bc4f8f70481eb5f","type":"NUMBER"}},{"id":"23ae2400-0dee-4f38-bb01-bef603a5a6ce","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"8ba67013-03d9-47e6-b0fc-746ce6587cef","description":"And + its brand new description","display_name":"Attribute 17556962-0000-0000-0000-175569622600","is_multi":true,"key":"attribute_749357e183774ae6","type":"TEXT"}},{"id":"25e06f7e-2d3e-4ec0-8b27-7b4405a06bcd","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"9b42bc58-728f-4ea3-8ab9-d6194ef6e6a8","description":"And + its brand new description","display_name":"Attribute 17556903-0000-0000-0000-175569039900","is_multi":true,"key":"attribute_8378b7e8181b8c7e","type":"TEXT"}},{"id":"1bdfa747-cf2e-4e0c-8b41-06d8d5d55c04","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"a080a4f4-8f02-47b0-854f-b96d06d137e8","description":"And + its brand new description","display_name":"Attribute 17556964-0000-0000-0000-175569649800","is_multi":true,"key":"attribute_77453b443abcee52","type":"TEXT"}},{"id":"e2b302ff-22de-4c4b-a1e0-6c485e4d5475","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"a8f6af82-7364-4fa2-be63-f9d82d49f126","display_name":"AWS + Region 17556340-0000-0000-0000-175563402000","is_multi":true,"key":"region_0ee45d926ae1e848","type":"NUMBER"}},{"id":"f4a4bf9a-c1e0-4f10-8429-45754b878c21","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"a9a925b3-6198-4ad1-8fb7-1d6e2691ed4f","display_name":"AWS + Region 17557748-0000-0000-0000-175577488500","is_multi":true,"key":"region_8264a16ae84e0888","type":"NUMBER"}},{"id":"c4dbb6c6-5f3a-4d91-a105-58717ae692ba","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"b300e2b4-5084-443b-b8f2-d1d3611be8d6","display_name":"AWS + Region 17556983-0000-0000-0000-175569839300","is_multi":true,"key":"region_fa9fe2cc487703c1","type":"NUMBER"}},{"id":"49cb8cff-1ff0-4476-b0c9-042e08935cb9","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"b36e8af6-a952-43bb-b54b-d7b80fc1344e","description":"And + its brand new description","display_name":"Attribute 17557789-0000-0000-0000-175577891000","is_multi":true,"key":"attribute_1d2a4f8f9b39a284","type":"TEXT"}},{"id":"b8472f11-c928-4600-bf66-57e4ef0ac2ac","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"b7b7e66e-e6a4-451f-95a1-ad427e83da19","description":"And + its brand new description","display_name":"Attribute 17557766-0000-0000-0000-175577664100","is_multi":true,"key":"attribute_b1e51c15e5eb4c95","type":"TEXT"}},{"id":"00011772-5eb7-4ef7-a517-bbb81c349119","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"b93415ca-0644-47d6-9547-f1af159ebe69","description":"And + its brand new description","display_name":"Attribute 17557749-0000-0000-0000-175577495000","is_multi":true,"key":"attribute_84def13b217a3016","type":"TEXT"}},{"id":"79120912-9860-42f0-9ba6-e42ee7aacaaf","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"b9e753b2-d41d-40d6-8c1c-3e8522b9cfd5","description":"And + its brand new description","display_name":"Attribute 17556964-0000-0000-0000-175569640700","is_multi":true,"key":"attribute_e265f65dbcb73e83","type":"TEXT"}},{"id":"9763ab6a-4c89-403d-95d5-3fe4313f0d6b","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"ba86214d-a2f3-4067-b507-77d75ad9db7d","description":"And + its brand new description","display_name":"Attribute 17556964-0000-0000-0000-175569641600","is_multi":true,"key":"attribute_3964549f8b8f9c18","type":"TEXT"}},{"id":"85c0c697-fe36-4118-9d0e-01fa549f42ca","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"bb399fc7-2ae4-4b9c-a645-b46f50b01347","description":"And + its brand new description","display_name":"Attribute 17556967-0000-0000-0000-175569674300","is_multi":true,"key":"attribute_db02e2104de4b2ff","type":"TEXT"}},{"id":"df10a213-93aa-4406-98a7-f9a7c5dccefd","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"bf109065-175f-4d2f-848d-8f5232dfce1a","description":"And + its brand new description","display_name":"Attribute 17557789-0000-0000-0000-175577891300","is_multi":true,"key":"attribute_661efcf8a00203e4","type":"TEXT"}},{"id":"65a48561-437a-4f26-9eab-69de97482927","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"bfa696f1-341e-4216-ba15-81ac431d6419","description":"And + its brand new description","display_name":"Attribute 17557777-0000-0000-0000-175577775000","is_multi":true,"key":"attribute_4b505c18f8fde726","type":"TEXT"}},{"id":"63f3f34c-5ec2-4d90-ba8e-63431a6a7010","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"c19925d5-97c0-4e0e-a49e-fef562db5519","display_name":"AWS + Region 17557801-0000-0000-0000-175578010300","is_multi":true,"key":"region_ba6c2c263864f56d","type":"NUMBER"}},{"id":"688a583a-c76c-466a-97ef-835efb9411d6","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"c351af96-9af2-4847-a0c8-11b201b1ae5f","description":"And + its brand new description","display_name":"Attribute 17556952-0000-0000-0000-175569524700","is_multi":true,"key":"attribute_7d75ff84c4e2bc37","type":"TEXT"}},{"id":"b69de08d-1bf5-40d5-9945-a2156baf85a4","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"c731cc10-0e89-436c-a9aa-4bd8a2e6ca31","display_name":"AWS + Region 17569762-0000-0000-0000-175697622500","is_multi":true,"key":"region_397146208a8593df","type":"NUMBER"}},{"id":"14cc89ac-6ce2-4f75-a761-bf724ef1fc4a","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"c8338d5b-1e0b-4d0e-a404-35ca2f47ff0d","description":"And + its brand new description","display_name":"Attribute 17556984-0000-0000-0000-175569843800","is_multi":true,"key":"attribute_5aa6271564fed657","type":"TEXT"}},{"id":"599f166e-e3cc-4884-8bae-815313734aee","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"ca5baeb1-1abf-4983-8761-922382085818","description":"And + its brand new description","display_name":"Attribute 17556964-0000-0000-0000-175569649000","is_multi":true,"key":"attribute_60c26d0a25bc30d4","type":"TEXT"}},{"id":"61982db9-3df8-4812-bb05-0e0653b9850c","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"cfbe7974-89c8-4198-ab82-8a184607d214","display_name":"AWS + Region 17556946-0000-0000-0000-175569462000","is_multi":true,"key":"region_775cb03d363e3098","type":"NUMBER"}},{"id":"59398b5f-7790-49ee-8788-7ff04cc6a9dc","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"d34c57fb-54a6-4f6c-a86e-3a73de621e2d","display_name":"AWS + Region 17556948-0000-0000-0000-175569483000","is_multi":true,"key":"region_b52c3b58c2bf7600","type":"NUMBER"}},{"id":"1333cfaf-56fd-4be3-83b0-5404920deb21","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"d3f2e924-efb4-4fea-858a-b0a104de58f1","display_name":"AWS + Region 17556346-0000-0000-0000-175563460700","is_multi":true,"key":"region_77c0e57a87ea0c59","type":"NUMBER"}},{"id":"3e191a3a-2ff3-413c-a90f-6209de01d780","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"d3f86d4c-876b-4ebd-9c71-050d5d60aacb","description":"And + its brand new description","display_name":"Attribute 17556904-0000-0000-0000-175569040700","is_multi":true,"key":"attribute_4a060a293658c6f4","type":"TEXT"}},{"id":"d57aff81-87df-478e-af85-9553e0a5d221","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"d6472e40-180e-4f7f-bdc0-9c8a749da7ee","display_name":"AWS + Region 17593230-0000-0000-0000-175932301200","is_multi":true,"key":"region_34a76e3ae14c4076","type":"NUMBER"}},{"id":"bda504ee-c9d9-45d9-bb48-e08f41452e42","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"d9a99e7c-255c-4328-b29c-249bbbce55d5","display_name":"AWS + Region","is_multi":true,"key":"aws_region","type":"NUMBER"}},{"id":"6f9ac272-9f08-47d4-b6d9-e2213a8c67e9","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"dd9805ac-43e8-447d-a521-25bbddf47f8a","description":"And + its brand new description","display_name":"Attribute 17557756-0000-0000-0000-175577566500","is_multi":true,"key":"attribute_7d7558fef3d3f18a","type":"TEXT"}},{"id":"39317cd6-883f-44d6-9bed-5483d0159755","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"e2d429a0-5dc2-4e7d-aafc-07588da368b2","description":"And + its brand new description","display_name":"Attribute 17556924-0000-0000-0000-175569241300","is_multi":true,"key":"attribute_a134bb4fb8e28721","type":"TEXT"}},{"id":"680b2451-2eaa-445e-8a60-73c114e0e10a","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"e4641157-ebc4-4e6d-b785-84fc8f0347f3","description":"And + its brand new description","display_name":"Attribute 17557769-0000-0000-0000-175577694200","is_multi":true,"key":"attribute_f462946738b6f280","type":"TEXT"}},{"id":"18c4708d-2e46-4632-8c3e-39ff21e7d6f4","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"e91f9e49-6352-4a49-89b1-2ecadbe47190","display_name":"AWS + Region 17593228-0000-0000-0000-175932285700","is_multi":true,"key":"region_f9e15fd9e3128078","type":"NUMBER"}},{"id":"72c3cc35-62ef-49e8-b6c6-0e92d379d824","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"e9e97b17-30cf-4068-8c5a-657b509b56bf","description":"And + its brand new description","display_name":"Attribute 17557749-0000-0000-0000-175577495900","is_multi":true,"key":"attribute_58502fb5f71ba03c","type":"TEXT"}},{"id":"52605ddf-9fac-40fe-aed9-0dacb93d9faf","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"eefd1896-506b-4035-9b60-110ac28e1814","description":"And + its brand new description","display_name":"Attribute 17556952-0000-0000-0000-175569523900","is_multi":true,"key":"attribute_5c0b319faa816705","type":"TEXT"}},{"id":"a1d3eb0e-c8c5-4fcc-bb7b-a9e630d9b394","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"f66b10ec-73f2-420c-8c2e-b2264cb5577a","display_name":"AWS + Region 17557050-0000-0000-0000-175570501300","is_multi":true,"key":"region_63d115f6f026a1ba","type":"NUMBER"}},{"id":"b2cd82c7-8be8-4463-8e8d-9401835f7522","type":"custom_attribute","attributes":{"case_type":"TUNKNOWN","case_type_id":"fbd65d3f-0fd5-4898-958d-f1e4ded98164","description":"And + its brand new description","display_name":"Attribute 17556911-0000-0000-0000-175569115700","is_multi":true,"key":"attribute_d46a2098b9ee266f","type":"TEXT"}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.frozen b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..d35cc73198d2 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:35.054Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.yml b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..4296d9a20641 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.yml @@ -0,0 +1,24 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:35 GMT + request: + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"description":"Investigations done in case management","emoji":"notanemoji","name":"Investigation"},"type":"case_type"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: '{"errors":[{"status":"400","title":"Bad Request"}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 400 + message: Bad Request +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_type/Create-a-case-type-returns-CREATED-response.frozen b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-CREATED-response.frozen new file mode 100644 index 000000000000..cc86c25c8c19 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-CREATED-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:35.961Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_type/Create-a-case-type-returns-CREATED-response.yml b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-CREATED-response.yml new file mode 100644 index 000000000000..c8d448729cf0 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Create-a-case-type-returns-CREATED-response.yml @@ -0,0 +1,32 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:35 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Investigations done in\ + \ case management\",\"emoji\":\"\U0001F451\",\"name\":\"Investigation\"},\"\ + type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"e3cb41d0-cd05-4c9d-8158-fc044587487f\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Investigations done in case\ + \ management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"name\":\"Investigation\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.frozen b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.frozen new file mode 100644 index 000000000000..67d3184573cb --- /dev/null +++ b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:36.464Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.yml b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.yml new file mode 100644 index 000000000000..cc9905dd3fc6 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.yml @@ -0,0 +1,47 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:36 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"f580bda9-aed7-49b6-ad70-5707d1c183fa\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Wed, 01 Oct 2025 12:50:36 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/f580bda9-aed7-49b6-ad70-5707d1c183fa + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-OK-response.frozen b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-OK-response.frozen new file mode 100644 index 000000000000..4ca9e03b09e5 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-08-19T18:29:15.696Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-OK-response.yml b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-OK-response.yml new file mode 100644 index 000000000000..07de298f6b00 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Delete-a-case-type-returns-OK-response.yml @@ -0,0 +1,59 @@ +http_interactions: +- recorded_at: Tue, 19 Aug 2025 18:29:15 GMT + request: + body: + encoding: UTF-8 + string: "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"name\":\"World\"},\"type\":\"case_type\"}}" + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":{\"id\":\"08c89b77-5c9d-4f4f-8d0f-fe6d36351539\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"\ + emoji\":\"\U0001F30D\",\"name\":\"World\"}}}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 201 + message: Created +- recorded_at: Tue, 19 Aug 2025 18:29:15 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/08c89b77-5c9d-4f4f-8d0f-fe6d36351539 + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +- recorded_at: Tue, 19 Aug 2025 18:29:15 GMT + request: + body: null + headers: + Accept: + - '*/*' + method: DELETE + uri: https://api.datadoghq.com/api/v2/cases/types/08c89b77-5c9d-4f4f-8d0f-fe6d36351539 + response: + body: + encoding: UTF-8 + string: '' + headers: {} + status: + code: 204 + message: No Content +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/case_management_type/Get-all-case-types-returns-OK-response.frozen b/cassettes/features/v2/case_management_type/Get-all-case-types-returns-OK-response.frozen new file mode 100644 index 000000000000..a9cdebec1ff3 --- /dev/null +++ b/cassettes/features/v2/case_management_type/Get-all-case-types-returns-OK-response.frozen @@ -0,0 +1 @@ +2025-10-01T12:50:38.593Z \ No newline at end of file diff --git a/cassettes/features/v2/case_management_type/Get-all-case-types-returns-OK-response.yml b/cassettes/features/v2/case_management_type/Get-all-case-types-returns-OK-response.yml new file mode 100644 index 000000000000..455c2656c68f --- /dev/null +++ b/cassettes/features/v2/case_management_type/Get-all-case-types-returns-OK-response.yml @@ -0,0 +1,1354 @@ +http_interactions: +- recorded_at: Wed, 01 Oct 2025 12:50:38 GMT + request: + body: null + headers: + Accept: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/cases/types + response: + body: + encoding: UTF-8 + string: "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000001\",\"type\"\ + :\"case_type\",\"attributes\":{\"description\":\"General tasks and investigations\"\ + ,\"emoji\":\"\",\"internal\":true,\"name\":\"Standard\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"00000000-0000-0000-0000-000000000002\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Triage and investigate\ + \ correlated alerts and events\",\"emoji\":\"\",\"internal\":true,\"name\"\ + :\"Event Management\",\"statuses_config\":{\"open\":{\"status_options\":[{\"\ + name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"00000000-0000-0000-0000-000000000003\",\"type\":\"case_type\",\"attributes\"\ + :{\"description\":\"Used By Datadog Security products and for general security\ + \ workflows\",\"emoji\":\"\",\"internal\":true,\"name\":\"Security\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"00000000-0000-0000-0000-000000000004\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Request and track\ + \ approvals\",\"emoji\":\"\",\"internal\":true,\"name\":\"Change Request\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"Pending\ + \ Approval\"},{\"name\":\"Approved\"},{\"name\":\"Implementing\"}],\"default\"\ + :\"Pending Approval\"},\"closed\":{\"status_options\":[{\"name\":\"Completed\"\ + },{\"name\":\"Cancelled\"},{\"name\":\"Declined\"}],\"default\":\"Completed\"\ + }}}},{\"id\":\"00000000-0000-0000-0000-000000000005\",\"type\":\"case_type\"\ + ,\"attributes\":{\"description\":\"Triage and investigate errors\",\"emoji\"\ + :\"\",\"internal\":true,\"name\":\"Error Tracking\",\"statuses_config\":{\"\ + open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"\ + in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"38d28f4f-7ce8-4fbd-ae42-326edf758eb8\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done\ + \ in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"name\"\ + :\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\":[{\"\ + name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"b2304cb7-a65c-4f71-bb17-0800b4badb16\",\"type\":\"case_type\",\"attributes\"\ + :{\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"95802802-1241-4825-835b-1c0322a7ef97\",\"type\":\"case_type\"\ + ,\"attributes\":{\"description\":\"Investigations done in case management\"\ + ,\"emoji\":\"\U0001F451\",\"internal\":false,\"name\":\"Investigation\",\"\ + statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\"\ + :\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1855fd31-e717-4af4-85d0-698c652ea0b6\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done\ + \ in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"name\"\ + :\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\":[{\"\ + name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"0cab85fe-12ee-423e-a86e-2363d0e6f5ac\",\"type\":\"case_type\",\"attributes\"\ + :{\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"5755912a-fb4b-4597-b118-1b0b40f7bb85\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T09:09:06.196109Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"7ab3b17d-a929-465f-80fa-ada92a865000\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done\ + \ in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"name\"\ + :\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\":[{\"\ + name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"7c4b1f31-e48a-49c3-bd41-4646baa16649\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T09:13:20.969149Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"09c05ec2-311a-4c36-a813-f72a4a85ec45\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done\ + \ in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"name\"\ + :\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\":[{\"\ + name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"ecea0a37-7f91-4e88-9b16-6f25cd4bdef3\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T09:15:45.46212Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"5458e2b8-7362-4b38-85b3-1ab1ea73e08f\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done\ + \ in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"name\"\ + :\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\":[{\"\ + name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"9daa0418-d01c-498a-96d2-7cfe1b2158d5\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T09:17:15.497537Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1e2c240d-168c-4b12-aa9b-92376f59f633\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:18:31.367268Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"af272a35-fa50-4619-b3df-1ee540b8586a\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-08-19T09:18:32.54125Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"e7717df7-6d36-4cf0-9e07-e58a5fac1cde\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:22:35.514966Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"c0da0f83-128b-434c-a535-b1414efab20b\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-08-19T09:22:36.72Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"a6029ab5-177f-437c-97cb-764b2dc80cb6\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:24:37.254566Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"933b2876-4617-4674-8ac1-64fa9fa56b87\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-08-19T18:24:38.561424Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"20303a04-10d7-4a67-8afb-cecfb6783004\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:29:15.253583Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"08c89b77-5c9d-4f4f-8d0f-fe6d36351539\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-08-19T18:29:16.570705Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"0aec1cee-fa44-468c-86ff-3afab2292f30\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:34:51.437054Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"dd0ca022-0166-4012-8179-dab74b6e4946\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-08-19T18:34:52.380136Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"581f9946-2777-4ca2-98f5-839a8583507b\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:12:42.070634Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"d9a99e7c-255c-4328-b29c-249bbbce55d5\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:12:43.427514Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"05978c06-ac0e-480b-a7d5-e1a8f8fe8005\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:12:45.680688Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"ce6e2d21-6719-46d8-8639-f8a196f42678\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:25:30.303213Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"3d9d8463-80fa-4434-a9e4-5dc4f3669c4e\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:25:31.642643Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"fa261a4c-91f2-4d06-972f-a35bee0543f3\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:25:33.792069Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1de6d896-26ac-4349-9b00-6acfe4879fda\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:37:44.971336Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"f2578542-b2b9-4180-81cf-2eec21b94af1\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:37:46.300977Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"e3c1d47a-e3ae-43ab-8181-334c3bba197e\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:37:48.496084Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"3d603ba5-4391-425b-b12c-cb6dcecc44d6\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:43:19.932314Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"29174d43-f800-4e6f-8756-bf632cd6de41\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:43:22.335462Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"f997d450-7912-4801-a26b-dde8e5ee077e\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:44:00.498935Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"94df43bd-6d07-4187-9a0a-0b8fdee7d1cc\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:44:02.704517Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"b53a3523-4a91-4a29-8634-7d10457d7922\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:46:02.69294Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"2ce0cf3d-c48e-40a2-a3c1-bd5790617e48\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:46:04.026799Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"f86f0afb-4e9d-4cd3-b72a-c62befbee6f1\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:46:05.838903Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"3d86fef6-9e70-4167-b067-4136058dac19\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:07.463675Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"55be152c-d505-406f-b1b6-e3ea735cbf5b\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:49:08.784736Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"b108c666-e8e9-4c4e-b912-2c12b00f4f32\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:10.569418Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"a706b5ab-f74e-4a11-b3a2-02eb6879241d\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:49:50.869037Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"921b1edd-bbd8-4130-8fb6-417d0be654bd\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:52.205117Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"27f02f54-745d-4398-a1a5-ca77708df7e1\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:49:53.955522Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1e002aff-0037-49f2-b266-4929032860be\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:52:04.296502Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"d9c649e3-92d5-4149-8f1b-e512c466a16d\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:52:05.632924Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"07eb5ad1-bac7-4eab-9341-8edb850f1b74\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:52:07.394803Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"f15cae28-3df0-4c46-ba06-2bd1570a7f68\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:57:00.706851Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"4a252863-46c5-474a-acef-dfd42982ed68\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:57:02.039005Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"9e32b021-edaf-408e-8659-c2b850a1abf3\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:57:03.353195Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"c229eb1e-e333-4f9b-937e-5aeb78d9069f\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:58:47.224259Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"0f4d4aed-e1d3-4fec-88db-f932656653dd\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T19:58:48.558757Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"c5065726-f32f-4554-a819-de0362e5a773\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:58:50.336027Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"e2018774-4cfa-4ad6-8bd0-366479b8de8e\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T20:03:19.632702Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"a46e33f1-d290-4aa8-a192-b4f58e063330\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:03:20.945982Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"e935a49b-d4cf-45f3-a63d-5fc857237fbe\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T20:03:22.683799Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"cb091c10-d4b9-4d93-be90-3b8c1166c4e4\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:05:50.137825Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"12b06e26-8f8f-45d0-be5d-0a3c1046ebb8\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T20:05:51.471366Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"ada38cc4-4191-484d-bfea-604c921839f5\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:05:53.224893Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"ce15011e-b4ea-41e6-8628-4131f2773ae4\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T20:07:00.572959Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"a8f6af82-7364-4fa2-be63-f9d82d49f126\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:07:01.933445Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"2f08290c-c478-4c47-9f00-36973b7b021a\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T20:07:03.713436Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"6bdcc12d-4f8f-4b9f-b33a-645b1c1fac78\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:16:47.195594Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"d3f2e924-efb4-4fea-858a-b0a104de58f1\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-19T20:16:48.531005Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"6e204166-35d3-4150-85c9-2b3f1d6a85c5\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:16:50.266373Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"3024568e-3252-40be-b2c5-ecc1898ad815\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T09:16:27.084779Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"2b8488a4-bdab-482c-8a9c-d2a571da65a9\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T09:17:37.421421Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"f0e8ea33-8b30-47de-b9fe-f77b651381a7\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T09:20:12.422783Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"127dd6ad-3a98-4fc6-9e51-edb38b509385\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T09:20:13.955239Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"e7773938-e80d-4bbc-874f-7c655daadee8\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T10:57:28.035038Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"c8e6f6e7-19e3-433e-bba9-73a013527105\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T10:57:35.415978Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"3feeec2b-a582-42a2-a4a2-b6ea50dc5876\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T10:57:36.981262Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1c08bb63-9e9e-4a0d-bc5a-b90dabe3c95d\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:19:10.000286Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"fe1f962c-99bd-4de2-90c2-0d685a383ce1\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T11:19:17.329016Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"45efdca9-7cde-4363-888c-c6ffc37000fc\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:19:19.242715Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"6fc2e97b-4d59-48ee-8a00-039b07f147e4\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T11:22:49.696501Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"387f5315-b404-40f6-9005-cccac8ef06fa\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:22:57.691398Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"37ab3980-5401-4a6f-ae3d-f0f428310448\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T11:23:00.351616Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"9b42bc58-728f-4ea3-8ab9-d6194ef6e6a8\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:46:41.280003Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"d3f86d4c-876b-4ebd-9c71-050d5d60aacb\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T11:46:49.368221Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"644f21a0-a650-410c-a8ec-c7ceadeaa28d\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:46:51.227809Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"14b8f6a9-3bd9-4fad-b66e-68dac1bf547a\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T11:59:08.635193Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"6c66be3b-c6d1-45b0-b1c4-473c04f3dc39\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:59:16.615113Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"fbd65d3f-0fd5-4898-958d-f1e4ded98164\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T11:59:19.279382Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"581c81f2-968c-4f23-bc35-e5a4f76246e6\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:20:04.568041Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"2cf3b0ea-aced-42f8-af92-252b294fb478\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T12:20:12.864796Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"e2d429a0-5dc2-4e7d-aafc-07588da368b2\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:20:15.558827Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"7a657b5f-8683-451e-a006-57ea6976073f\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T12:57:00.687594Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"cfbe7974-89c8-4198-ab82-8a184607d214\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"6915e7c1-3e5e-40fb-b7c8-6bc23b427d20\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:57:03.107095Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"71f640f9-7639-4531-93a7-de3fb2ca12a0\",\"type\":\"case_type\",\"attributes\"\ + :{\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"96dd3710-e051-49f3-b26a-e8dd9a51f87f\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T12:57:05.538619Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"4d130488-a5f8-4f0a-a738-91dbf1fbf3a6\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:00:30.252878Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"d34c57fb-54a6-4f6c-a86e-3a73de621e2d\",\"type\":\"case_type\",\"attributes\"\ + :{\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"184c9894-a9a3-49cf-a6cc-489e6842a3dd\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:00:32.655453Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"032f775d-3a79-426c-bcb7-6b42d3be7ac7\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"fb17bf17-f0bb-4722-b4e5-32445e7f5527\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:00:35.022904Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"7f184906-a942-4917-a4e0-e8e2fa74b990\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:02:24.873029Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"70214597-0ebf-470d-a7c8-6c596d786ba2\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:02:26.060226Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"e7b57afc-4e28-4c57-9d17-42b1c48eebd9\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:02:27.638116Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"289574f3-de0e-47f0-81c7-06ae80937f31\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:02:29.214104Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"897c1c2e-5f52-46be-9abd-e7a01d3420f4\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:02:30.403304Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"eefd1896-506b-4035-9b60-110ac28e1814\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:07:20.994716Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"c351af96-9af2-4847-a0c8-11b201b1ae5f\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:07:29.127227Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"0c16ab5a-ac15-49a0-ad03-aef57d4d42e8\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:07:31.878967Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"5ee6243b-b005-4bd4-a5f2-fe8c4ff2ddfe\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:13:13.116651Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"7f70d4a0-d06d-49f5-928f-c2ca73aeb862\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:13:21.344841Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"1387ec4d-f40a-4b31-8d0f-bc161326e588\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:13:24.125802Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"02323717-20b8-4ecf-8c34-ef7dd1841f46\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:23:39.707537Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"8ba67013-03d9-47e6-b0fc-746ce6587cef\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:23:48.028828Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"7615e5a7-d95b-41b2-a082-47bf7ac815b9\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:23:50.74861Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"b9e753b2-d41d-40d6-8c1c-3e8522b9cfd5\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:26:49.560438Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"ba86214d-a2f3-4067-b507-77d75ad9db7d\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:26:58.639584Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"7a256076-d73a-4581-a955-c036ca560fd3\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:27:01.335547Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"ca5baeb1-1abf-4983-8761-922382085818\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:28:12.129245Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"a080a4f4-8f02-47b0-854f-b96d06d137e8\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:28:20.260597Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"220d930b-828d-4b57-a38f-f09ced11d439\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:28:23.005866Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"7eb35cdb-4622-4a60-beb1-d292387b0314\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:32:16.836893Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"bb399fc7-2ae4-4b9c-a645-b46f50b01347\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:32:24.852829Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"2402c3fb-d0a2-4460-bd62-da434e3dff7c\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:32:27.626252Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"14c085b7-3e9b-4dfd-9dc0-3adc9e2aaef8\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:31.577893Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"ebfc643b-bf3e-4dab-bff0-8c297d1773f3\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:32.398071Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"dc882f3b-36c2-4488-bb32-60367b473df2\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:53.449498Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"b300e2b4-5084-443b-b8f2-d1d3611be8d6\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:59:54.609448Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"adc74163-422f-4667-a3a6-9c361863333e\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:56.196341Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"25acc483-052f-412f-92a5-00ef2c22fbbb\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T13:59:57.745023Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"ffa14c93-06d0-4cc2-bcce-f41901be46df\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:58.908354Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"c8338d5b-1e0b-4d0e-a404-35ca2f47ff0d\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T14:00:40.051477Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"3879f548-5eec-4c3f-8d7b-b0b2671fd522\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T14:00:49.182953Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"6e04d185-29aa-4770-b14d-fd2741f049cc\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T14:00:52.010409Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"02f6995d-1ce3-4890-b797-e00b3761eafc\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:45.09765Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"895b0b2c-98de-482b-b315-195ca654cfd0\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T15:46:46.298225Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1debd831-4fa0-40af-b9ca-58e1a718ecb3\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:47.832594Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"fe5f13b0-63d5-4a2a-8396-08a2a4e831ab\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T15:46:49.386532Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"34c76089-ee0c-4f48-bf98-6b9d4e792544\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:50.530716Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"a7168617-45a8-4fa1-9657-b6c18f4b4a1b\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T15:47:09.132674Z\",\"description\":\"Investigations\ + \ done in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"\ + name\":\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"b7459998-1c94-4840-a0ab-3d030f5d582b\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T15:47:09.896859Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"9adc531f-1c5f-4140-b833-32f35e8dbee2\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:13.125537Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"f66b10ec-73f2-420c-8c2e-b2264cb5577a\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T15:50:14.31455Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"da768aba-f8c0-473c-bd1c-e4ea9d9f682b\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:15.939157Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"4937b115-31fa-4b14-b03b-774a978cbe86\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-20T15:50:17.533068Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"887f07b4-8b57-4949-880d-12fb460c9b37\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:18.74212Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"559cfd8c-3fb3-4a1c-b0f1-bb36cde9634a\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:14:45.824907Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"a9a925b3-6198-4ad1-8fb7-1d6e2691ed4f\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:14:46.984977Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"e5e19e07-79a9-42d1-b8b7-72d4290648eb\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:14:48.524998Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1ceaf193-152c-481f-8eb0-08e9470f6d8b\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:14:50.414457Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"6cef1f4c-7201-4e60-b7a1-7843a82835d2\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:14:51.834989Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"6d142c7f-6ab3-4d54-8cdf-f600ddb40ea2\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:15:15.232477Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"d6cc97e5-830f-467f-9d7e-d44fe9376cb2\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-08-21T11:15:16.048802Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"b93415ca-0644-47d6-9547-f1af159ebe69\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:15:52.950749Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"e9e97b17-30cf-4068-8c5a-657b509b56bf\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:16:01.620133Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"56855740-86fc-42c5-9ed3-82bed933cfa3\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:16:04.310919Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"21779b8e-c1e1-4886-94e9-1b5b18d21366\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:27:38.520987Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"dd9805ac-43e8-447d-a521-25bbddf47f8a\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:27:47.342964Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"1295370d-69c2-43d1-899f-71e9d67e5474\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:27:50.106242Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"b7b7e66e-e6a4-451f-95a1-ad427e83da19\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:44:03.293497Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"615f2510-83f5-46ba-b244-012ced51027a\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:44:11.483169Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"6010ef55-cf69-4e91-959d-a6f14a6384ee\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:44:14.154381Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"e4641157-ebc4-4e6d-b785-84fc8f0347f3\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:49:04.540305Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"602b0512-58e4-4fa5-a004-dccd954b7ab8\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:49:12.994315Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"0295702b-41e6-4a9e-8681-a237d11b5843\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T11:49:15.713764Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"bfa696f1-341e-4216-ba15-81ac431d6419\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:02:32.063175Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"54997fa0-0c3f-43cb-9e84-39f5f5ce3f09\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T12:02:40.160052Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1e036814-3134-4bc5-8e97-1f14ba77fac3\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:02:42.899008Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"3dd78296-b989-466d-97ef-428517d851ee\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T12:21:44.554387Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:21:52.745427Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"bf109065-175f-4d2f-848d-8f5232dfce1a\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T12:21:55.422802Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"869f4c88-f545-4aa1-a03f-152bb52186bf\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:43.69428Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"c19925d5-97c0-4e0e-a49e-fef562db5519\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T12:41:44.899197Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"1f787bd5-127a-4005-85df-6d24eb8955c1\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:46.505589Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"fdf93265-be3d-4a97-ae0d-540b049f7753\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T12:41:48.1106Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"f69a1398-c8b2-47bf-a624-4374634b4cf6\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:49.337557Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"5ec976bf-2f12-43c4-be20-542518b5906e\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T12:42:17.873694Z\",\"description\":\"Investigations\ + \ done in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"\ + name\":\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"c0bff0de-fe8f-4edd-83c5-b07e1480ca5f\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-08-21T12:42:18.644537Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"cd55412c-1231-4a0f-bc15-ea9b18d3a725\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-09-04T08:57:05.266866Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"c731cc10-0e89-436c-a9aa-4bd8a2e6ca31\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-09-04T08:57:06.551977Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"80c93fe7-a888-4e9d-abb1-abd31f5df031\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-09-04T08:57:08.15913Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"38619645-ccb4-4787-9755-6d3881fa5c3e\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-09-04T08:57:09.311993Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"f1e661ad-1076-4f84-8165-254304c10a2a\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-09-04T08:57:28.016602Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"a2cbb86a-010d-4dae-8d90-f97207c3ce63\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-09-04T08:57:28.845895Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"00000000-0000-0000-0000-000000000007\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Triage and investigate\ + \ logs optimization insights\",\"emoji\":\"\",\"internal\":true,\"name\":\"\ + Logs Optimization Insights\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"658965cb-30af-417a-b83d-4ea61d7ad995\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-09-04T09:04:13.717815Z\",\"description\":\"Investigations\ + \ done in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"\ + name\":\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"baa64ec8-924d-4d8e-bc41-819fe61d6e22\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-09-04T09:04:14.541556Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"b13fcd85-8d58-4539-9100-2b7d811a1fb4\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-09-04T09:05:19.972962Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"3e9ee917-5e9d-405b-a9e7-433092714e91\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-09-04T09:05:20.810533Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"fd1c8062-ecc0-4b79-b466-3ab057b54018\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-09-04T09:10:58.297595Z\"\ + ,\"description\":\"Investigations done in case management\",\"emoji\":\"\U0001F451\ + \",\"internal\":false,\"name\":\"Investigation\",\"statuses_config\":{\"open\"\ + :{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\"\ + :{\"status_options\":[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"\ + },\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"\ + }}}},{\"id\":\"3e4616fc-83a9-4321-a026-a710a71d082b\",\"type\":\"case_type\"\ + ,\"attributes\":{\"deleted_at\":\"2025-09-04T09:10:59.098774Z\",\"description\"\ + :\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\"\ + :\"World\",\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"\ + Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\"\ + :\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"status_options\"\ + :[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"cd95d1a3-d547-4fd6-99ee-af1c7cc5e4c5\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-09-04T09:11:55.879801Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"1fab87e4-341d-4a79-a294-171b4e2c22f8\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-09-04T09:11:57.084868Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"8fa9005a-76e7-4742-ab6c-b68b1b9f036b\"\ + ,\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-09-04T09:11:58.678865Z\"\ + ,\"description\":\"Worldwide case type\",\"emoji\":\"\U0001F30D\",\"internal\"\ + :false,\"name\":\"World\",\"statuses_config\":{\"open\":{\"status_options\"\ + :[{\"name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"cf9dfa09-a302-428a-83c0-cd9a61ca3308\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-09-04T09:11:59.862839Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\":\"be22d02b-fbd1-4bc8-919b-e81873b33f15\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"e91f9e49-6352-4a49-89b1-2ecadbe47190\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"2bb990c4-2d35-412c-9d9f-c66980cbf830\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"416ecaad-9be8-423f-bd23-df5062de555e\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"a52ea7e5-7cdf-4414-a585-63e58d3dc7a0\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"d6472e40-180e-4f7f-bdc0-9c8a749da7ee\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"3ffd2bc8-e360-40d4-8ed6-60f72161fd89\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"f91c5f4a-53c4-4f18-a21d-9f82fd7bd3e9\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\"\ + ,\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\",\"statuses_config\"\ + :{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"default\":\"Open\"\ + },\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"}],\"default\"\ + :\"In Progress\"},\"closed\":{\"status_options\":[{\"name\":\"Closed\"}],\"\ + default\":\"Closed\"}}}},{\"id\":\"e3cb41d0-cd05-4c9d-8158-fc044587487f\"\ + ,\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done\ + \ in case management\",\"emoji\":\"\U0001F451\",\"internal\":false,\"name\"\ + :\"Investigation\",\"statuses_config\":{\"open\":{\"status_options\":[{\"\ + name\":\"Open\"}],\"default\":\"Open\"},\"in_progress\":{\"status_options\"\ + :[{\"name\":\"In Progress\"}],\"default\":\"In Progress\"},\"closed\":{\"\ + status_options\":[{\"name\":\"Closed\"}],\"default\":\"Closed\"}}}},{\"id\"\ + :\"f580bda9-aed7-49b6-ad70-5707d1c183fa\",\"type\":\"case_type\",\"attributes\"\ + :{\"deleted_at\":\"2025-10-01T12:50:38.54792Z\",\"description\":\"Worldwide\ + \ case type\",\"emoji\":\"\U0001F30D\",\"internal\":false,\"name\":\"World\"\ + ,\"statuses_config\":{\"open\":{\"status_options\":[{\"name\":\"Open\"}],\"\ + default\":\"Open\"},\"in_progress\":{\"status_options\":[{\"name\":\"In Progress\"\ + }],\"default\":\"In Progress\"},\"closed\":{\"status_options\":[{\"name\"\ + :\"Closed\"}],\"default\":\"Closed\"}}}}]}" + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/examples/v2/case-management-attribute/CreateCustomAttributeConfig.rb b/examples/v2/case-management-attribute/CreateCustomAttributeConfig.rb new file mode 100644 index 000000000000..4975ffe96da7 --- /dev/null +++ b/examples/v2/case-management-attribute/CreateCustomAttributeConfig.rb @@ -0,0 +1,20 @@ +# Create custom attribute config for a case type returns "CREATED" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAttributeAPI.new + +# there is a valid "case_type" in the system +CASE_TYPE_ID = ENV["CASE_TYPE_ID"] + +body = DatadogAPIClient::V2::CustomAttributeConfigCreateRequest.new({ + data: DatadogAPIClient::V2::CustomAttributeConfigCreate.new({ + attributes: DatadogAPIClient::V2::CustomAttributeConfigAttributesCreate.new({ + display_name: "AWS Region 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", + is_multi: true, + key: "region_d9fe56bc9274fbb6", + type: DatadogAPIClient::V2::CustomAttributeType::NUMBER, + }), + type: DatadogAPIClient::V2::CustomAttributeConfigResourceType::CUSTOM_ATTRIBUTE, + }), +}) +p api_instance.create_custom_attribute_config(CASE_TYPE_ID, body) diff --git a/examples/v2/case-management-attribute/DeleteCustomAttributeConfig.rb b/examples/v2/case-management-attribute/DeleteCustomAttributeConfig.rb new file mode 100644 index 000000000000..82423d5f2a62 --- /dev/null +++ b/examples/v2/case-management-attribute/DeleteCustomAttributeConfig.rb @@ -0,0 +1,11 @@ +# Delete custom attributes config returns "No Content" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAttributeAPI.new + +# there is a valid "case_type" in the system +CASE_TYPE_ID = ENV["CASE_TYPE_ID"] + +# there is a valid "custom_attribute" in the system +CUSTOM_ATTRIBUTE_ID = ENV["CUSTOM_ATTRIBUTE_ID"] +api_instance.delete_custom_attribute_config(CASE_TYPE_ID, CUSTOM_ATTRIBUTE_ID) diff --git a/examples/v2/case-management-attribute/GetAllCustomAttributeConfigsByCaseType.rb b/examples/v2/case-management-attribute/GetAllCustomAttributeConfigsByCaseType.rb new file mode 100644 index 000000000000..7c605142ab55 --- /dev/null +++ b/examples/v2/case-management-attribute/GetAllCustomAttributeConfigsByCaseType.rb @@ -0,0 +1,8 @@ +# Get all custom attributes config of case type returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAttributeAPI.new + +# there is a valid "case_type" in the system +CASE_TYPE_ID = ENV["CASE_TYPE_ID"] +p api_instance.get_all_custom_attribute_configs_by_case_type(CASE_TYPE_ID) diff --git a/examples/v2/case-management-attribute/GetAllCustomAttributes.rb b/examples/v2/case-management-attribute/GetAllCustomAttributes.rb new file mode 100644 index 000000000000..c9e75e8356a0 --- /dev/null +++ b/examples/v2/case-management-attribute/GetAllCustomAttributes.rb @@ -0,0 +1,5 @@ +# Get all custom attributes returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAttributeAPI.new +p api_instance.get_all_custom_attributes() diff --git a/examples/v2/case-management-type/CreateCaseType.rb b/examples/v2/case-management-type/CreateCaseType.rb new file mode 100644 index 000000000000..b92f9e3e0026 --- /dev/null +++ b/examples/v2/case-management-type/CreateCaseType.rb @@ -0,0 +1,16 @@ +# Create a case type returns "CREATED" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementTypeAPI.new + +body = DatadogAPIClient::V2::CaseTypeCreateRequest.new({ + data: DatadogAPIClient::V2::CaseTypeCreate.new({ + attributes: DatadogAPIClient::V2::CaseTypeResourceAttributes.new({ + description: "Investigations done in case management", + emoji: "👑", + name: "Investigation", + }), + type: DatadogAPIClient::V2::CaseTypeResourceType::CASE_TYPE, + }), +}) +p api_instance.create_case_type(body) diff --git a/examples/v2/case-management-type/DeleteCaseType.rb b/examples/v2/case-management-type/DeleteCaseType.rb new file mode 100644 index 000000000000..abb1f477226a --- /dev/null +++ b/examples/v2/case-management-type/DeleteCaseType.rb @@ -0,0 +1,5 @@ +# Delete a case type returns "No Content" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementTypeAPI.new +api_instance.delete_case_type("case_type_id") diff --git a/examples/v2/case-management-type/DeleteCaseType_2790986149.rb b/examples/v2/case-management-type/DeleteCaseType_2790986149.rb new file mode 100644 index 000000000000..957c54246fdc --- /dev/null +++ b/examples/v2/case-management-type/DeleteCaseType_2790986149.rb @@ -0,0 +1,8 @@ +# Delete a case type returns "NotContent" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementTypeAPI.new + +# there is a valid "case_type" in the system +CASE_TYPE_ID = ENV["CASE_TYPE_ID"] +api_instance.delete_case_type(CASE_TYPE_ID) diff --git a/examples/v2/case-management-type/GetAllCaseTypes.rb b/examples/v2/case-management-type/GetAllCaseTypes.rb new file mode 100644 index 000000000000..139f7566b276 --- /dev/null +++ b/examples/v2/case-management-type/GetAllCaseTypes.rb @@ -0,0 +1,5 @@ +# Get all case types returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementTypeAPI.new +p api_instance.get_all_case_types() diff --git a/examples/v2/case-management/CommentCase.rb b/examples/v2/case-management/CommentCase.rb new file mode 100644 index 000000000000..f67926ee2401 --- /dev/null +++ b/examples/v2/case-management/CommentCase.rb @@ -0,0 +1,17 @@ +# Comment case returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAPI.new + +# there is a valid "case" in the system +CASE_ID = ENV["CASE_ID"] + +body = DatadogAPIClient::V2::CaseCommentRequest.new({ + data: DatadogAPIClient::V2::CaseComment.new({ + attributes: DatadogAPIClient::V2::CaseCommentAttributes.new({ + comment: "Hello World !", + }), + type: DatadogAPIClient::V2::CaseResourceType::CASE, + }), +}) +p api_instance.comment_case(CASE_ID, body) diff --git a/examples/v2/case-management/CreateCase.rb b/examples/v2/case-management/CreateCase.rb index 1286db2befc9..4548c66f1a22 100644 --- a/examples/v2/case-management/CreateCase.rb +++ b/examples/v2/case-management/CreateCase.rb @@ -11,7 +11,7 @@ attributes: DatadogAPIClient::V2::CaseCreateAttributes.new({ priority: DatadogAPIClient::V2::CasePriority::NOT_DEFINED, title: "Security breach investigation in 0cfbc5cbc676ee71", - type: DatadogAPIClient::V2::CaseType::STANDARD, + type_id: "00000000-0000-0000-0000-000000000001", }), relationships: DatadogAPIClient::V2::CaseCreateRelationships.new({ assignee: DatadogAPIClient::V2::NullableUserRelationship.new({ diff --git a/examples/v2/case-management/DeleteCaseComment.rb b/examples/v2/case-management/DeleteCaseComment.rb new file mode 100644 index 000000000000..084560a24d04 --- /dev/null +++ b/examples/v2/case-management/DeleteCaseComment.rb @@ -0,0 +1,11 @@ +# Delete case comment returns "No Content" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAPI.new + +# there is a valid "case" in the system +CASE_ID = ENV["CASE_ID"] + +# there is a valid "comment" in the system +COMMENT_ID = ENV["COMMENT_ID"] +api_instance.delete_case_comment(CASE_ID, COMMENT_ID) diff --git a/examples/v2/case-management/DeleteCaseCustomAttribute.rb b/examples/v2/case-management/DeleteCaseCustomAttribute.rb new file mode 100644 index 000000000000..612cc8691841 --- /dev/null +++ b/examples/v2/case-management/DeleteCaseCustomAttribute.rb @@ -0,0 +1,11 @@ +# Delete custom attribute from case returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAPI.new + +# there is a valid "case" with a custom "case_type" in the system +CASE_WITH_TYPE_ID = ENV["CASE_WITH_TYPE_ID"] + +# there is a valid "custom_attribute" in the system +CUSTOM_ATTRIBUTE_ATTRIBUTES_KEY = ENV["CUSTOM_ATTRIBUTE_ATTRIBUTES_KEY"] +p api_instance.delete_case_custom_attribute(CASE_WITH_TYPE_ID, CUSTOM_ATTRIBUTE_ATTRIBUTES_KEY) diff --git a/examples/v2/case-management/UpdateCaseCustomAttribute.rb b/examples/v2/case-management/UpdateCaseCustomAttribute.rb new file mode 100644 index 000000000000..ce3fd41cdf0a --- /dev/null +++ b/examples/v2/case-management/UpdateCaseCustomAttribute.rb @@ -0,0 +1,25 @@ +# Update case custom attribute returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAPI.new + +# there is a valid "case" with a custom "case_type" in the system +CASE_WITH_TYPE_ID = ENV["CASE_WITH_TYPE_ID"] + +# there is a valid "custom_attribute" in the system +CUSTOM_ATTRIBUTE_ATTRIBUTES_KEY = ENV["CUSTOM_ATTRIBUTE_ATTRIBUTES_KEY"] + +body = DatadogAPIClient::V2::CaseUpdateCustomAttributeRequest.new({ + data: DatadogAPIClient::V2::CaseUpdateCustomAttribute.new({ + attributes: DatadogAPIClient::V2::CustomAttributeValue.new({ + type: DatadogAPIClient::V2::CustomAttributeType::TEXT, + is_multi: true, + value: [ + "Abba", + "The Cure", + ], + }), + type: DatadogAPIClient::V2::CaseResourceType::CASE, + }), +}) +p api_instance.update_case_custom_attribute(CASE_WITH_TYPE_ID, CUSTOM_ATTRIBUTE_ATTRIBUTES_KEY, body) diff --git a/examples/v2/case-management/UpdateCaseDescription.rb b/examples/v2/case-management/UpdateCaseDescription.rb new file mode 100644 index 000000000000..69b4c1fb71d6 --- /dev/null +++ b/examples/v2/case-management/UpdateCaseDescription.rb @@ -0,0 +1,17 @@ +# Update case description returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAPI.new + +# there is a valid "case" in the system +CASE_ID = ENV["CASE_ID"] + +body = DatadogAPIClient::V2::CaseUpdateDescriptionRequest.new({ + data: DatadogAPIClient::V2::CaseUpdateDescription.new({ + attributes: DatadogAPIClient::V2::CaseUpdateDescriptionAttributes.new({ + description: "Seeing some weird memory increase... Updating the description", + }), + type: DatadogAPIClient::V2::CaseResourceType::CASE, + }), +}) +p api_instance.update_case_description(CASE_ID, body) diff --git a/examples/v2/case-management/UpdateCaseTitle.rb b/examples/v2/case-management/UpdateCaseTitle.rb new file mode 100644 index 000000000000..855f6de0df1c --- /dev/null +++ b/examples/v2/case-management/UpdateCaseTitle.rb @@ -0,0 +1,17 @@ +# Update case title returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::CaseManagementAPI.new + +# there is a valid "case" in the system +CASE_ID = ENV["CASE_ID"] + +body = DatadogAPIClient::V2::CaseUpdateTitleRequest.new({ + data: DatadogAPIClient::V2::CaseUpdateTitle.new({ + attributes: DatadogAPIClient::V2::CaseUpdateTitleAttributes.new({ + title: "[UPDATED] Memory leak investigation on API", + }), + type: DatadogAPIClient::V2::CaseResourceType::CASE, + }), +}) +p api_instance.update_case_title(CASE_ID, body) diff --git a/features/scenarios_model_mapping.rb b/features/scenarios_model_mapping.rb index b48e5d9630fb..d3995c6ac994 100644 --- a/features/scenarios_model_mapping.rb +++ b/features/scenarios_model_mapping.rb @@ -1163,6 +1163,27 @@ "case_id" => "String", "body" => "CaseUpdateAttributesRequest", }, + "v2.CommentCase" => { + "case_id" => "String", + "body" => "CaseCommentRequest", + }, + "v2.DeleteCaseComment" => { + "case_id" => "String", + "cell_id" => "String", + }, + "v2.DeleteCaseCustomAttribute" => { + "case_id" => "String", + "custom_attribute_key" => "String", + }, + "v2.UpdateCaseCustomAttribute" => { + "case_id" => "String", + "custom_attribute_key" => "String", + "body" => "CaseUpdateCustomAttributeRequest", + }, + "v2.UpdateCaseDescription" => { + "case_id" => "String", + "body" => "CaseUpdateDescriptionRequest", + }, "v2.UpdatePriority" => { "case_id" => "String", "body" => "CaseUpdatePriorityRequest", @@ -1171,6 +1192,10 @@ "case_id" => "String", "body" => "CaseUpdateStatusRequest", }, + "v2.UpdateCaseTitle" => { + "case_id" => "String", + "body" => "CaseUpdateTitleRequest", + }, "v2.UnarchiveCase" => { "case_id" => "String", "body" => "CaseEmptyRequest", @@ -1179,6 +1204,23 @@ "case_id" => "String", "body" => "CaseEmptyRequest", }, + "v2.CreateCaseType" => { + "body" => "CaseTypeCreateRequest", + }, + "v2.DeleteCaseType" => { + "case_type_id" => "String", + }, + "v2.GetAllCustomAttributeConfigsByCaseType" => { + "case_type_id" => "String", + }, + "v2.CreateCustomAttributeConfig" => { + "case_type_id" => "String", + "body" => "CustomAttributeConfigCreateRequest", + }, + "v2.DeleteCustomAttributeConfig" => { + "case_type_id" => "String", + "custom_attribute_id" => "String", + }, "v2.ListCatalogEntity" => { "page_offset" => "Integer", "page_limit" => "Integer", diff --git a/features/v2/case_management.feature b/features/v2/case_management.feature index 58c95f716688..2f239155671f 100644 --- a/features/v2/case_management.feature +++ b/features/v2/case_management.feature @@ -64,10 +64,36 @@ Feature: Case Management When the request is sent Then the response status is 200 OK + @team:DataDog/case-management + Scenario: Comment case returns "Bad Request" response + Given new "CommentCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"comment": ""}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Comment case returns "Not Found" response + Given new "CommentCase" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"attributes": {"comment": "Hello world !"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Comment case returns "OK" response + Given new "CommentCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"comment": "Hello World !"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + @team:DataDog/case-management Scenario: Create a case returns "Bad Request" response Given new "CreateCase" request - And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "userx"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type_id": "00000000-0000-0000-0000-000000000001"}, "relationships": {"assignee": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "userx"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} When the request is sent Then the response status is 400 Bad Request @@ -75,7 +101,7 @@ Feature: Case Management Scenario: Create a case returns "CREATED" response Given new "CreateCase" request And there is a valid "user" in the system - And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation in {{ unique_hash }}", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "{{user.data.id}}", "type": "user"} }, "project": {"data": {"id": "d4bbe1af-f36e-42f1-87c1-493ca35c320e", "type": "project"}}}, "type": "case"}} + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation in {{ unique_hash }}", "type_id": "00000000-0000-0000-0000-000000000001"}, "relationships": {"assignee": {"data": {"id": "{{user.data.id}}", "type": "user"} }, "project": {"data": {"id": "d4bbe1af-f36e-42f1-87c1-493ca35c320e", "type": "project"}}}, "type": "case"}} When the request is sent Then the response status is 201 CREATED And the response "data" has field "id" @@ -83,10 +109,10 @@ Feature: Case Management And the response "data.attributes.type" is equal to "STANDARD" And the response "data.attributes.priority" is equal to "NOT_DEFINED" - @generated @skip @team:DataDog/case-management + @team:DataDog/case-management Scenario: Create a case returns "Not Found" response Given new "CreateCase" request - And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "user"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type_id": "00000000-0000-0000-0000-000000000001"}, "relationships": {"assignee": {"data": {"id": "721074c8-63df-4d8f-a43d-ab41dd24ec35", "type": "user"}}, "project": {"data": {"id": "721074c8-63df-4d8f-a43d-ab41dd24ec35", "type": "project"}}}, "type": "case"}} When the request is sent Then the response status is 404 Not Found @@ -111,6 +137,54 @@ Feature: Case Management When the request is sent Then the response status is 404 Not Found + @skip @team:DataDog/case-management + Scenario: Delete case comment returns "Bad Request" response + Given new "DeleteCaseComment" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "cell_id" parameter with value "not-an-uuid" + When the request is sent + Then the response status is 400 Bad Request + + @skip @team:DataDog/case-management + Scenario: Delete case comment returns "No Content" response + Given new "DeleteCaseComment" request + And there is a valid "case" in the system + And there is a valid "comment" in the system + And request contains "case_id" parameter from "case.id" + And request contains "cell_id" parameter from "comment.id" + When the request is sent + Then the response status is 204 No Content + + @team:DataDog/case-management + Scenario: Delete case comment returns "Not Found" response + Given new "DeleteCaseComment" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "cell_id" parameter with value "23fca2aa-4967-4936-bdd7-9157d9e456d7" + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Delete custom attribute from case returns "Not Found" response + Given new "DeleteCaseCustomAttribute" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "custom_attribute_key" parameter with value "invalid_key" + When the request is sent + Then the response status is 404 Not Found + + @skip @team:DataDog/case-management + Scenario: Delete custom attribute from case returns "OK" response + Given new "DeleteCaseCustomAttribute" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And there is a valid "case" with a custom "case_type" in the system + And request contains "case_id" parameter from "case_with_type.id" + And request contains "custom_attribute_key" parameter from "custom_attribute.attributes.key" + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/case-management Scenario: Get all projects returns "Bad Request" response Given new "GetProjects" request @@ -289,6 +363,66 @@ Feature: Case Management When the request is sent Then the response status is 200 OK + @skip @team:DataDog/case-management + Scenario: Update case custom attribute returns "Bad Request" response + Given new "UpdateCaseCustomAttribute" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And there is a valid "case" with a custom "case_type" in the system + And request contains "case_id" parameter from "case_with_type.id" + And request contains "custom_attribute_key" parameter from "custom_attribute.attributes.key" + And body with value {"data": {"attributes": {"type": "FLOAT", "is_multi": true, "value": [1.0, 2.4]}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case custom attribute returns "Not Found" response + Given new "UpdateCaseCustomAttribute" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "custom_attribute_key" parameter with value "invalid_key" + And body with value {"data": {"attributes": {"type": "TEXT", "is_multi": true, "value": ["Abba", "The Cure"]}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @skip @team:DataDog/case-management + Scenario: Update case custom attribute returns "OK" response + Given new "UpdateCaseCustomAttribute" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And there is a valid "case" with a custom "case_type" in the system + And request contains "case_id" parameter from "case_with_type.id" + And request contains "custom_attribute_key" parameter from "custom_attribute.attributes.key" + And body with value {"data": {"attributes": {"type": "TEXT", "is_multi": true, "value": ["Abba", "The Cure"]}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + + @skip @team:DataDog/case-management + Scenario: Update case description returns "Bad Request" response + Given new "UpdateCaseDescription" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"description": "Seeing some weird memory increase... We shouldn't ignore this"}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case description returns "Not Found" response + Given new "UpdateCaseDescription" request + And request contains "case_id" parameter with value "0198c6b0-2a0a-7bea-87ff-3876f119aebb" + And body with value {"data": {"attributes": {"description": "Seeing some weird memory increase... We shouldn't ignore this"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Update case description returns "OK" response + Given new "UpdateCaseDescription" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"description": "Seeing some weird memory increase... Updating the description"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + @team:DataDog/case-management Scenario: Update case priority returns "Bad Request" response Given new "UpdatePriority" request @@ -342,3 +476,29 @@ Feature: Case Management When the request is sent Then the response status is 200 OK And the response "data.attributes.status" is equal to "IN_PROGRESS" + + @team:DataDog/case-management + Scenario: Update case title returns "Bad Request" response + Given new "UpdateCaseTitle" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"title": ""}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case title returns "Not Found" response + Given new "UpdateCaseTitle" request + And request contains "case_id" parameter with value "0198c6b8-b08f-7c08-978a-d95217f2eeac" + And body with value {"data": {"attributes": {"title": "Memory leak investigation on API"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Update case title returns "OK" response + Given new "UpdateCaseTitle" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"title": "[UPDATED] Memory leak investigation on API"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/case_management_attribute.feature b/features/v2/case_management_attribute.feature new file mode 100644 index 000000000000..3ac06e724b79 --- /dev/null +++ b/features/v2/case_management_attribute.feature @@ -0,0 +1,77 @@ +@endpoint(case-management-attribute) @endpoint(case-management-attribute-v2) +Feature: Case Management Attribute + View and configure custom attributes within Case Management. See the [Case + Management + page](https://docs.datadoghq.com/service_management/case_management/) for + more information. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "CaseManagementAttribute" API + + @team:DataDog/case-management + Scenario: Create custom attribute config for a case type returns "Bad Request" response + Given new "CreateCustomAttributeConfig" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + And body with value {"data": {"attributes": {"display_name": "AWS Region {{uuid}}", "is_multi": true, "key": "region_{{unique_hash}}", "type": "FLOAT"}, "type": "custom_attribute"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Create custom attribute config for a case type returns "CREATED" response + Given new "CreateCustomAttributeConfig" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + And body with value {"data": {"attributes": {"display_name": "AWS Region {{uuid}}", "is_multi": true, "key": "region_{{unique_hash}}", "type": "NUMBER"}, "type": "custom_attribute"}} + When the request is sent + Then the response status is 201 CREATED + + @team:DataDog/case-management + Scenario: Create custom attribute config for a case type returns "Not Found" response + Given new "CreateCustomAttributeConfig" request + And request contains "case_type_id" parameter with value "9fd476d7-a955-454a-851d-980c655c02d3" + And body with value {"data": {"attributes": {"display_name": "AWS Region {{unique_hash}}", "is_multi": true, "key": "region_{{unique_hash}}", "type": "NUMBER"}, "type": "custom_attribute"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Delete custom attributes config returns "Bad Request" response + Given new "DeleteCustomAttributeConfig" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + And request contains "custom_attribute_id" parameter with value "not-an-uuid" + When the request is sent + Then the response status is 400 Bad Request + + @skip @team:DataDog/case-management + Scenario: Delete custom attributes config returns "No Content" response + Given new "DeleteCustomAttributeConfig" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And request contains "case_type_id" parameter from "case_type.id" + And request contains "custom_attribute_id" parameter from "custom_attribute.id" + When the request is sent + Then the response status is 204 No Content + + @skip @team:DataDog/case-management + Scenario: Get all custom attributes config of case type returns "Bad Request" response + Given new "GetAllCustomAttributeConfigsByCaseType" request + And request contains "case_type_id" parameter with value "not-an-uuid" + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Get all custom attributes config of case type returns "OK" response + Given new "GetAllCustomAttributeConfigsByCaseType" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + When the request is sent + Then the response status is 200 OK + + @team:DataDog/case-management + Scenario: Get all custom attributes returns "OK" response + Given new "GetAllCustomAttributes" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/case_management_type.feature b/features/v2/case_management_type.feature new file mode 100644 index 000000000000..0773d7d241b5 --- /dev/null +++ b/features/v2/case_management_type.feature @@ -0,0 +1,46 @@ +@endpoint(case-management-type) @endpoint(case-management-type-v2) +Feature: Case Management Type + View and configure case types within Case Management. See the [Case + Management + page](https://docs.datadoghq.com/service_management/case_management/) for + more information. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "CaseManagementType" API + + @team:DataDog/case-management + Scenario: Create a case type returns "Bad Request" response + Given new "CreateCaseType" request + And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "notanemoji", "name": "Investigation"}, "type": "case_type"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Create a case type returns "CREATED" response + Given new "CreateCaseType" request + And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "👑", "name": "Investigation"}, "type": "case_type"}} + When the request is sent + Then the response status is 201 CREATED + + @generated @skip @team:DataDog/case-management + Scenario: Delete a case type returns "No Content" response + Given new "DeleteCaseType" request + And request contains "case_type_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 204 No Content + + @team:DataDog/case-management + Scenario: Delete a case type returns "NotContent" response + Given new "DeleteCaseType" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + When the request is sent + Then the response status is 204 OK + + @team:DataDog/case-management + Scenario: Get all case types returns "OK" response + Given new "GetAllCaseTypes" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/given.json b/features/v2/given.json index e31a9e2e23db..23b1000e2cdf 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -129,7 +129,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"My new case\",\n \"type\": \"STANDARD\",\n \"priority\": \"P4\"\n },\n \"relationships\": {\n \"project\": {\n \"data\": {\n \"id\": \"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\n \"type\": \"project\"\n }\n }\n },\n \"type\": \"case\"\n }\n}" + "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"My new case\",\n \"type_id\": \"00000000-0000-0000-0000-000000000001\",\n \"priority\": \"P4\"\n },\n \"relationships\": {\n \"project\": {\n \"data\": {\n \"id\": \"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\n \"type\": \"project\"\n }\n }\n },\n \"type\": \"case\"\n }\n}" } ], "source": "data", @@ -138,6 +138,66 @@ "tag": "Case Management", "operationId": "CreateCase" }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"My new case\",\n \"type_id\": \"{{ case_type.id }}\",\n \"priority\": \"P4\"\n },\n \"relationships\": {\n \"project\": {\n \"data\": {\n \"id\": \"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\n \"type\": \"project\"\n }\n }\n },\n \"type\": \"case\"\n }\n}" + } + ], + "source": "data", + "step": "there is a valid \"case\" with a custom \"case_type\" in the system", + "key": "case_with_type", + "tag": "Case Management", + "operationId": "CreateCase" + }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"case_type\",\n \"attributes\": {\n \"description\": \"Worldwide case type\",\n \"emoji\": \"\ud83c\udf0d\",\n \"name\": \"World\"\n }\n }\n}" + } + ], + "source": "data", + "step": "there is a valid \"case_type\" in the system", + "key": "case_type", + "tag": "Case Management Type", + "operationId": "CreateCaseType" + }, + { + "parameters": [ + { + "name": "case_type_id", + "source": "case_type.id" + }, + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"custom_attribute\",\n \"attributes\": {\n \"display_name\":\"Attribute {{uuid}}\",\n \"key\":\"attribute_{{unique_hash}}\",\n \"description\":\"And its brand new description\",\n \"type\":\"TEXT\",\n \"is_multi\":true\n }\n }\n}" + } + ], + "source": "data", + "step": "there is a valid \"custom_attribute\" in the system", + "key": "custom_attribute", + "tag": "Case Management Attribute", + "operationId": "CreateCustomAttributeConfig" + }, + { + "parameters": [ + { + "name": "case_id", + "source": "case.id" + }, + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"case\",\n \"attributes\": {\n \"comment\": \"This is my new comment !\"\n }\n }\n}" + } + ], + "source": "data[0]", + "step": "there is a valid \"comment\" in the system", + "key": "comment", + "tag": "Case Management", + "operationId": "CommentCase" + }, { "parameters": [ { diff --git a/features/v2/undo.json b/features/v2/undo.json index 6e05ad8acd50..f804a3dce1db 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -575,6 +575,48 @@ "type": "safe" } }, + "GetAllCaseTypes": { + "tag": "Case Management Type", + "undo": { + "type": "safe" + } + }, + "CreateCaseType": { + "tag": "Case Management Type", + "undo": { + "type": "safe" + } + }, + "GetAllCustomAttributes": { + "tag": "Case Management Attribute", + "undo": { + "type": "safe" + } + }, + "DeleteCaseType": { + "tag": "Case Management Type", + "undo": { + "type": "idempotent" + } + }, + "GetAllCustomAttributeConfigsByCaseType": { + "tag": "Case Management Attribute", + "undo": { + "type": "safe" + } + }, + "CreateCustomAttributeConfig": { + "tag": "Case Management Attribute", + "undo": { + "type": "safe" + } + }, + "DeleteCustomAttributeConfig": { + "tag": "Case Management Attribute", + "undo": { + "type": "idempotent" + } + }, "GetCase": { "tag": "Case Management", "undo": { @@ -599,6 +641,36 @@ "type": "idempotent" } }, + "CommentCase": { + "tag": "Case Management", + "undo": { + "type": "safe" + } + }, + "DeleteCaseComment": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, + "DeleteCaseCustomAttribute": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, + "UpdateCaseCustomAttribute": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, + "UpdateCaseDescription": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, "UpdatePriority": { "tag": "Case Management", "undo": { @@ -611,6 +683,12 @@ "type": "idempotent" } }, + "UpdateCaseTitle": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, "UnarchiveCase": { "tag": "Case Management", "undo": { diff --git a/lib/datadog_api_client/inflector.rb b/lib/datadog_api_client/inflector.rb index be4b30674768..ae10e695b91a 100644 --- a/lib/datadog_api_client/inflector.rb +++ b/lib/datadog_api_client/inflector.rb @@ -1309,6 +1309,9 @@ def overrides "v2.case_assign_attributes" => "CaseAssignAttributes", "v2.case_assign_request" => "CaseAssignRequest", "v2.case_attributes" => "CaseAttributes", + "v2.case_comment" => "CaseComment", + "v2.case_comment_attributes" => "CaseCommentAttributes", + "v2.case_comment_request" => "CaseCommentRequest", "v2.case_create" => "CaseCreate", "v2.case_create_attributes" => "CaseCreateAttributes", "v2.case_create_relationships" => "CaseCreateRelationships", @@ -1327,15 +1330,30 @@ def overrides "v2.case_trigger" => "CaseTrigger", "v2.case_trigger_wrapper" => "CaseTriggerWrapper", "v2.case_type" => "CaseType", + "v2.case_type_create" => "CaseTypeCreate", + "v2.case_type_create_request" => "CaseTypeCreateRequest", + "v2.case_type_resource" => "CaseTypeResource", + "v2.case_type_resource_attributes" => "CaseTypeResourceAttributes", + "v2.case_type_resource_type" => "CaseTypeResourceType", + "v2.case_type_response" => "CaseTypeResponse", + "v2.case_types_response" => "CaseTypesResponse", "v2.case_update_attributes" => "CaseUpdateAttributes", "v2.case_update_attributes_attributes" => "CaseUpdateAttributesAttributes", "v2.case_update_attributes_request" => "CaseUpdateAttributesRequest", + "v2.case_update_custom_attribute" => "CaseUpdateCustomAttribute", + "v2.case_update_custom_attribute_request" => "CaseUpdateCustomAttributeRequest", + "v2.case_update_description" => "CaseUpdateDescription", + "v2.case_update_description_attributes" => "CaseUpdateDescriptionAttributes", + "v2.case_update_description_request" => "CaseUpdateDescriptionRequest", "v2.case_update_priority" => "CaseUpdatePriority", "v2.case_update_priority_attributes" => "CaseUpdatePriorityAttributes", "v2.case_update_priority_request" => "CaseUpdatePriorityRequest", "v2.case_update_status" => "CaseUpdateStatus", "v2.case_update_status_attributes" => "CaseUpdateStatusAttributes", "v2.case_update_status_request" => "CaseUpdateStatusRequest", + "v2.case_update_title" => "CaseUpdateTitle", + "v2.case_update_title_attributes" => "CaseUpdateTitleAttributes", + "v2.case_update_title_request" => "CaseUpdateTitleRequest", "v2.change_event_attributes" => "ChangeEventAttributes", "v2.change_event_attributes_author" => "ChangeEventAttributesAuthor", "v2.change_event_attributes_author_type" => "ChangeEventAttributesAuthorType", @@ -1678,6 +1696,17 @@ def overrides "v2.csm_serverless_coverage_analysis_attributes" => "CsmServerlessCoverageAnalysisAttributes", "v2.csm_serverless_coverage_analysis_data" => "CsmServerlessCoverageAnalysisData", "v2.csm_serverless_coverage_analysis_response" => "CsmServerlessCoverageAnalysisResponse", + "v2.custom_attribute_config" => "CustomAttributeConfig", + "v2.custom_attribute_config_attributes_create" => "CustomAttributeConfigAttributesCreate", + "v2.custom_attribute_config_create" => "CustomAttributeConfigCreate", + "v2.custom_attribute_config_create_request" => "CustomAttributeConfigCreateRequest", + "v2.custom_attribute_config_resource_attributes" => "CustomAttributeConfigResourceAttributes", + "v2.custom_attribute_config_resource_type" => "CustomAttributeConfigResourceType", + "v2.custom_attribute_config_response" => "CustomAttributeConfigResponse", + "v2.custom_attribute_configs_response" => "CustomAttributeConfigsResponse", + "v2.custom_attribute_type" => "CustomAttributeType", + "v2.custom_attribute_value" => "CustomAttributeValue", + "v2.custom_attribute_values_union" => "CustomAttributeValuesUnion", "v2.custom_connection" => "CustomConnection", "v2.custom_connection_attributes" => "CustomConnectionAttributes", "v2.custom_connection_attributes_on_prem_runner" => "CustomConnectionAttributesOnPremRunner", @@ -4033,6 +4062,17 @@ def overrides "v2.team_update_attributes" => "TeamUpdateAttributes", "v2.team_update_relationships" => "TeamUpdateRelationships", "v2.team_update_request" => "TeamUpdateRequest", + "v2.timeline_cell" => "TimelineCell", + "v2.timeline_cell_author" => "TimelineCellAuthor", + "v2.timeline_cell_author_user" => "TimelineCellAuthorUser", + "v2.timeline_cell_author_user_content" => "TimelineCellAuthorUserContent", + "v2.timeline_cell_author_user_type" => "TimelineCellAuthorUserType", + "v2.timeline_cell_content" => "TimelineCellContent", + "v2.timeline_cell_content_comment" => "TimelineCellContentComment", + "v2.timeline_cell_resource" => "TimelineCellResource", + "v2.timeline_cell_resource_type" => "TimelineCellResourceType", + "v2.timeline_cell_type" => "TimelineCellType", + "v2.timeline_response" => "TimelineResponse", "v2.time_restriction" => "TimeRestriction", "v2.time_restrictions" => "TimeRestrictions", "v2.timeseries_formula_query_request" => "TimeseriesFormulaQueryRequest", @@ -4266,6 +4306,8 @@ def overrides "v2.aws_integration_api" => "AWSIntegrationAPI", "v2.aws_logs_integration_api" => "AWSLogsIntegrationAPI", "v2.case_management_api" => "CaseManagementAPI", + "v2.case_management_attribute_api" => "CaseManagementAttributeAPI", + "v2.case_management_type_api" => "CaseManagementTypeAPI", "v2.ci_visibility_pipelines_api" => "CIVisibilityPipelinesAPI", "v2.ci_visibility_tests_api" => "CIVisibilityTestsAPI", "v2.cloud_cost_management_api" => "CloudCostManagementAPI", diff --git a/lib/datadog_api_client/v1/api/hosts_api.rb b/lib/datadog_api_client/v1/api/hosts_api.rb index c64003cff2b0..73f655c97f34 100644 --- a/lib/datadog_api_client/v1/api/hosts_api.rb +++ b/lib/datadog_api_client/v1/api/hosts_api.rb @@ -101,6 +101,7 @@ def list_hosts(opts = {}) # Retention is 7 days. # Results are paginated with a max of 1000 results at a time. # **Note:** If the host is an Amazon EC2 instance, `id` is replaced with `aws_id` in the response. + # **Note**: To enrich the data returned by this endpoint with security scans, see the new [api/v2/security/scanned-assets-metadata](https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata) endpoint. # # @param opts [Hash] the optional parameters # @option opts [String] :filter String to filter search results. diff --git a/lib/datadog_api_client/v2/api/case_management_api.rb b/lib/datadog_api_client/v2/api/case_management_api.rb index 1f9e5e2fbd87..06055c264dd4 100644 --- a/lib/datadog_api_client/v2/api/case_management_api.rb +++ b/lib/datadog_api_client/v2/api/case_management_api.rb @@ -167,6 +167,78 @@ def assign_case_with_http_info(case_id, body, opts = {}) return data, status_code, headers end + # Comment case. + # + # @see #comment_case_with_http_info + def comment_case(case_id, body, opts = {}) + data, _status_code, _headers = comment_case_with_http_info(case_id, body, opts) + data + end + + # Comment case. + # + # Comment case + # + # @param case_id [String] Case's UUID or key + # @param body [CaseCommentRequest] Case comment payload + # @param opts [Hash] the optional parameters + # @return [Array<(TimelineResponse, Integer, Hash)>] TimelineResponse data, response status code and response headers + def comment_case_with_http_info(case_id, body, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAPI.comment_case ...' + end + # verify the required parameter 'case_id' is set + if @api_client.config.client_side_validation && case_id.nil? + fail ArgumentError, "Missing the required parameter 'case_id' when calling CaseManagementAPI.comment_case" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CaseManagementAPI.comment_case" + end + # resource path + local_var_path = '/api/v2/cases/{case_id}/comment'.sub('{case_id}', CGI.escape(case_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(body) + + # return_type + return_type = opts[:debug_return_type] || 'TimelineResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :comment_case, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAPI#comment_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Create a case. # # @see #create_case_with_http_info @@ -301,6 +373,146 @@ def create_project_with_http_info(body, opts = {}) return data, status_code, headers end + # Delete case comment. + # + # @see #delete_case_comment_with_http_info + def delete_case_comment(case_id, cell_id, opts = {}) + delete_case_comment_with_http_info(case_id, cell_id, opts) + nil + end + + # Delete case comment. + # + # Delete case comment + # + # @param case_id [String] Case's UUID or key + # @param cell_id [String] Timeline cell's UUID + # @param opts [Hash] the optional parameters + # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers + def delete_case_comment_with_http_info(case_id, cell_id, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAPI.delete_case_comment ...' + end + # verify the required parameter 'case_id' is set + if @api_client.config.client_side_validation && case_id.nil? + fail ArgumentError, "Missing the required parameter 'case_id' when calling CaseManagementAPI.delete_case_comment" + end + # verify the required parameter 'cell_id' is set + if @api_client.config.client_side_validation && cell_id.nil? + fail ArgumentError, "Missing the required parameter 'cell_id' when calling CaseManagementAPI.delete_case_comment" + end + # resource path + local_var_path = '/api/v2/cases/{case_id}/comment/{cell_id}'.sub('{case_id}', CGI.escape(case_id.to_s).gsub('%2F', '/')).sub('{cell_id}', CGI.escape(cell_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['*/*']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :delete_case_comment, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAPI#delete_case_comment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Delete custom attribute from case. + # + # @see #delete_case_custom_attribute_with_http_info + def delete_case_custom_attribute(case_id, custom_attribute_key, opts = {}) + data, _status_code, _headers = delete_case_custom_attribute_with_http_info(case_id, custom_attribute_key, opts) + data + end + + # Delete custom attribute from case. + # + # Delete custom attribute from case + # + # @param case_id [String] Case's UUID or key + # @param custom_attribute_key [String] Case Custom attribute's key + # @param opts [Hash] the optional parameters + # @return [Array<(CaseResponse, Integer, Hash)>] CaseResponse data, response status code and response headers + def delete_case_custom_attribute_with_http_info(case_id, custom_attribute_key, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAPI.delete_case_custom_attribute ...' + end + # verify the required parameter 'case_id' is set + if @api_client.config.client_side_validation && case_id.nil? + fail ArgumentError, "Missing the required parameter 'case_id' when calling CaseManagementAPI.delete_case_custom_attribute" + end + # verify the required parameter 'custom_attribute_key' is set + if @api_client.config.client_side_validation && custom_attribute_key.nil? + fail ArgumentError, "Missing the required parameter 'custom_attribute_key' when calling CaseManagementAPI.delete_case_custom_attribute" + end + # resource path + local_var_path = '/api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}'.sub('{case_id}', CGI.escape(case_id.to_s).gsub('%2F', '/')).sub('{custom_attribute_key}', CGI.escape(custom_attribute_key.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'CaseResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + + new_options = opts.merge( + :operation => :delete_case_custom_attribute, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAPI#delete_case_custom_attribute\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Remove a project. # # @see #delete_project_with_http_info @@ -868,6 +1080,227 @@ def update_attributes_with_http_info(case_id, body, opts = {}) return data, status_code, headers end + # Update case custom attribute. + # + # @see #update_case_custom_attribute_with_http_info + def update_case_custom_attribute(case_id, custom_attribute_key, body, opts = {}) + data, _status_code, _headers = update_case_custom_attribute_with_http_info(case_id, custom_attribute_key, body, opts) + data + end + + # Update case custom attribute. + # + # Update case custom attribute + # + # @param case_id [String] Case's UUID or key + # @param custom_attribute_key [String] Case Custom attribute's key + # @param body [CaseUpdateCustomAttributeRequest] Update case custom attribute payload + # @param opts [Hash] the optional parameters + # @return [Array<(CaseResponse, Integer, Hash)>] CaseResponse data, response status code and response headers + def update_case_custom_attribute_with_http_info(case_id, custom_attribute_key, body, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAPI.update_case_custom_attribute ...' + end + # verify the required parameter 'case_id' is set + if @api_client.config.client_side_validation && case_id.nil? + fail ArgumentError, "Missing the required parameter 'case_id' when calling CaseManagementAPI.update_case_custom_attribute" + end + # verify the required parameter 'custom_attribute_key' is set + if @api_client.config.client_side_validation && custom_attribute_key.nil? + fail ArgumentError, "Missing the required parameter 'custom_attribute_key' when calling CaseManagementAPI.update_case_custom_attribute" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CaseManagementAPI.update_case_custom_attribute" + end + # resource path + local_var_path = '/api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}'.sub('{case_id}', CGI.escape(case_id.to_s).gsub('%2F', '/')).sub('{custom_attribute_key}', CGI.escape(custom_attribute_key.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(body) + + # return_type + return_type = opts[:debug_return_type] || 'CaseResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + + new_options = opts.merge( + :operation => :update_case_custom_attribute, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAPI#update_case_custom_attribute\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Update case description. + # + # @see #update_case_description_with_http_info + def update_case_description(case_id, body, opts = {}) + data, _status_code, _headers = update_case_description_with_http_info(case_id, body, opts) + data + end + + # Update case description. + # + # Update case description + # + # @param case_id [String] Case's UUID or key + # @param body [CaseUpdateDescriptionRequest] Case description update payload + # @param opts [Hash] the optional parameters + # @return [Array<(CaseResponse, Integer, Hash)>] CaseResponse data, response status code and response headers + def update_case_description_with_http_info(case_id, body, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAPI.update_case_description ...' + end + # verify the required parameter 'case_id' is set + if @api_client.config.client_side_validation && case_id.nil? + fail ArgumentError, "Missing the required parameter 'case_id' when calling CaseManagementAPI.update_case_description" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CaseManagementAPI.update_case_description" + end + # resource path + local_var_path = '/api/v2/cases/{case_id}/description'.sub('{case_id}', CGI.escape(case_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(body) + + # return_type + return_type = opts[:debug_return_type] || 'CaseResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + + new_options = opts.merge( + :operation => :update_case_description, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAPI#update_case_description\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Update case title. + # + # @see #update_case_title_with_http_info + def update_case_title(case_id, body, opts = {}) + data, _status_code, _headers = update_case_title_with_http_info(case_id, body, opts) + data + end + + # Update case title. + # + # Update case title + # + # @param case_id [String] Case's UUID or key + # @param body [CaseUpdateTitleRequest] Case title update payload + # @param opts [Hash] the optional parameters + # @return [Array<(CaseResponse, Integer, Hash)>] CaseResponse data, response status code and response headers + def update_case_title_with_http_info(case_id, body, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAPI.update_case_title ...' + end + # verify the required parameter 'case_id' is set + if @api_client.config.client_side_validation && case_id.nil? + fail ArgumentError, "Missing the required parameter 'case_id' when calling CaseManagementAPI.update_case_title" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CaseManagementAPI.update_case_title" + end + # resource path + local_var_path = '/api/v2/cases/{case_id}/title'.sub('{case_id}', CGI.escape(case_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(body) + + # return_type + return_type = opts[:debug_return_type] || 'CaseResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + + new_options = opts.merge( + :operation => :update_case_title, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAPI#update_case_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Update case priority. # # @see #update_priority_with_http_info diff --git a/lib/datadog_api_client/v2/api/case_management_attribute_api.rb b/lib/datadog_api_client/v2/api/case_management_attribute_api.rb new file mode 100644 index 000000000000..52a7d87662a5 --- /dev/null +++ b/lib/datadog_api_client/v2/api/case_management_attribute_api.rb @@ -0,0 +1,293 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'cgi' + +module DatadogAPIClient::V2 + class CaseManagementAttributeAPI + attr_accessor :api_client + + def initialize(api_client = DatadogAPIClient::APIClient.default) + @api_client = api_client + end + + # Create custom attribute config for a case type. + # + # @see #create_custom_attribute_config_with_http_info + def create_custom_attribute_config(case_type_id, body, opts = {}) + data, _status_code, _headers = create_custom_attribute_config_with_http_info(case_type_id, body, opts) + data + end + + # Create custom attribute config for a case type. + # + # Create custom attribute config for a case type + # + # @param case_type_id [String] Case type's UUID + # @param body [CustomAttributeConfigCreateRequest] Custom attribute config payload + # @param opts [Hash] the optional parameters + # @return [Array<(CustomAttributeConfigResponse, Integer, Hash)>] CustomAttributeConfigResponse data, response status code and response headers + def create_custom_attribute_config_with_http_info(case_type_id, body, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAttributeAPI.create_custom_attribute_config ...' + end + # verify the required parameter 'case_type_id' is set + if @api_client.config.client_side_validation && case_type_id.nil? + fail ArgumentError, "Missing the required parameter 'case_type_id' when calling CaseManagementAttributeAPI.create_custom_attribute_config" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CaseManagementAttributeAPI.create_custom_attribute_config" + end + # resource path + local_var_path = '/api/v2/cases/types/{case_type_id}/custom_attributes'.sub('{case_type_id}', CGI.escape(case_type_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(body) + + # return_type + return_type = opts[:debug_return_type] || 'CustomAttributeConfigResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :create_custom_attribute_config, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAttributeAPI#create_custom_attribute_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Delete custom attributes config. + # + # @see #delete_custom_attribute_config_with_http_info + def delete_custom_attribute_config(case_type_id, custom_attribute_id, opts = {}) + delete_custom_attribute_config_with_http_info(case_type_id, custom_attribute_id, opts) + nil + end + + # Delete custom attributes config. + # + # Delete custom attribute config + # + # @param case_type_id [String] Case type's UUID + # @param custom_attribute_id [String] Case Custom attribute's UUID + # @param opts [Hash] the optional parameters + # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers + def delete_custom_attribute_config_with_http_info(case_type_id, custom_attribute_id, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAttributeAPI.delete_custom_attribute_config ...' + end + # verify the required parameter 'case_type_id' is set + if @api_client.config.client_side_validation && case_type_id.nil? + fail ArgumentError, "Missing the required parameter 'case_type_id' when calling CaseManagementAttributeAPI.delete_custom_attribute_config" + end + # verify the required parameter 'custom_attribute_id' is set + if @api_client.config.client_side_validation && custom_attribute_id.nil? + fail ArgumentError, "Missing the required parameter 'custom_attribute_id' when calling CaseManagementAttributeAPI.delete_custom_attribute_config" + end + # resource path + local_var_path = '/api/v2/cases/types/{case_type_id}/custom_attributes/{custom_attribute_id}'.sub('{case_type_id}', CGI.escape(case_type_id.to_s).gsub('%2F', '/')).sub('{custom_attribute_id}', CGI.escape(custom_attribute_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['*/*']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :delete_custom_attribute_config, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAttributeAPI#delete_custom_attribute_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get all custom attributes config of case type. + # + # @see #get_all_custom_attribute_configs_by_case_type_with_http_info + def get_all_custom_attribute_configs_by_case_type(case_type_id, opts = {}) + data, _status_code, _headers = get_all_custom_attribute_configs_by_case_type_with_http_info(case_type_id, opts) + data + end + + # Get all custom attributes config of case type. + # + # Get all custom attribute config of case type + # + # @param case_type_id [String] Case type's UUID + # @param opts [Hash] the optional parameters + # @return [Array<(CustomAttributeConfigsResponse, Integer, Hash)>] CustomAttributeConfigsResponse data, response status code and response headers + def get_all_custom_attribute_configs_by_case_type_with_http_info(case_type_id, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAttributeAPI.get_all_custom_attribute_configs_by_case_type ...' + end + # verify the required parameter 'case_type_id' is set + if @api_client.config.client_side_validation && case_type_id.nil? + fail ArgumentError, "Missing the required parameter 'case_type_id' when calling CaseManagementAttributeAPI.get_all_custom_attribute_configs_by_case_type" + end + # resource path + local_var_path = '/api/v2/cases/types/{case_type_id}/custom_attributes'.sub('{case_type_id}', CGI.escape(case_type_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'CustomAttributeConfigsResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :get_all_custom_attribute_configs_by_case_type, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAttributeAPI#get_all_custom_attribute_configs_by_case_type\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get all custom attributes. + # + # @see #get_all_custom_attributes_with_http_info + def get_all_custom_attributes(opts = {}) + data, _status_code, _headers = get_all_custom_attributes_with_http_info(opts) + data + end + + # Get all custom attributes. + # + # Get all custom attributes + # + # @param opts [Hash] the optional parameters + # @return [Array<(CustomAttributeConfigsResponse, Integer, Hash)>] CustomAttributeConfigsResponse data, response status code and response headers + def get_all_custom_attributes_with_http_info(opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementAttributeAPI.get_all_custom_attributes ...' + end + # resource path + local_var_path = '/api/v2/cases/types/custom_attributes' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'CustomAttributeConfigsResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :get_all_custom_attributes, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementAttributeAPI#get_all_custom_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/lib/datadog_api_client/v2/api/case_management_type_api.rb b/lib/datadog_api_client/v2/api/case_management_type_api.rb new file mode 100644 index 000000000000..51bec892cf2f --- /dev/null +++ b/lib/datadog_api_client/v2/api/case_management_type_api.rb @@ -0,0 +1,218 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'cgi' + +module DatadogAPIClient::V2 + class CaseManagementTypeAPI + attr_accessor :api_client + + def initialize(api_client = DatadogAPIClient::APIClient.default) + @api_client = api_client + end + + # Create a case type. + # + # @see #create_case_type_with_http_info + def create_case_type(body, opts = {}) + data, _status_code, _headers = create_case_type_with_http_info(body, opts) + data + end + + # Create a case type. + # + # Create a Case Type + # + # @param body [CaseTypeCreateRequest] Case type payload + # @param opts [Hash] the optional parameters + # @return [Array<(CaseTypeResponse, Integer, Hash)>] CaseTypeResponse data, response status code and response headers + def create_case_type_with_http_info(body, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementTypeAPI.create_case_type ...' + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CaseManagementTypeAPI.create_case_type" + end + # resource path + local_var_path = '/api/v2/cases/types' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(body) + + # return_type + return_type = opts[:debug_return_type] || 'CaseTypeResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :create_case_type, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementTypeAPI#create_case_type\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Delete a case type. + # + # @see #delete_case_type_with_http_info + def delete_case_type(case_type_id, opts = {}) + delete_case_type_with_http_info(case_type_id, opts) + nil + end + + # Delete a case type. + # + # Delete a case type + # + # @param case_type_id [String] Case type's UUID + # @param opts [Hash] the optional parameters + # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers + def delete_case_type_with_http_info(case_type_id, opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementTypeAPI.delete_case_type ...' + end + # verify the required parameter 'case_type_id' is set + if @api_client.config.client_side_validation && case_type_id.nil? + fail ArgumentError, "Missing the required parameter 'case_type_id' when calling CaseManagementTypeAPI.delete_case_type" + end + # resource path + local_var_path = '/api/v2/cases/types/{case_type_id}'.sub('{case_type_id}', CGI.escape(case_type_id.to_s).gsub('%2F', '/')) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['*/*']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :delete_case_type, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementTypeAPI#delete_case_type\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get all case types. + # + # @see #get_all_case_types_with_http_info + def get_all_case_types(opts = {}) + data, _status_code, _headers = get_all_case_types_with_http_info(opts) + data + end + + # Get all case types. + # + # Get all case types + # + # @param opts [Hash] the optional parameters + # @return [Array<(CaseTypesResponse, Integer, Hash)>] CaseTypesResponse data, response status code and response headers + def get_all_case_types_with_http_info(opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: CaseManagementTypeAPI.get_all_case_types ...' + end + # resource path + local_var_path = '/api/v2/cases/types' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'CaseTypesResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + + new_options = opts.merge( + :operation => :get_all_case_types, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V2" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CaseManagementTypeAPI#get_all_case_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/lib/datadog_api_client/v2/api/container_images_api.rb b/lib/datadog_api_client/v2/api/container_images_api.rb index 089a9c6055c4..371e98fe4e2b 100644 --- a/lib/datadog_api_client/v2/api/container_images_api.rb +++ b/lib/datadog_api_client/v2/api/container_images_api.rb @@ -34,6 +34,7 @@ def list_container_images(opts = {}) # Get all Container Images. # # Get all Container Images for your organization. + # **Note**: To enrich the data returned by this endpoint with security scans, see the new [api/v2/security/scanned-assets-metadata](https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata) endpoint. # # @param opts [Hash] the optional parameters # @option opts [String] :filter_tags Comma-separated list of tags to filter Container Images by. diff --git a/lib/datadog_api_client/v2/models/case_attributes.rb b/lib/datadog_api_client/v2/models/case_attributes.rb index 80b9d3a70eb0..122121e1d1fb 100644 --- a/lib/datadog_api_client/v2/models/case_attributes.rb +++ b/lib/datadog_api_client/v2/models/case_attributes.rb @@ -33,6 +33,9 @@ class CaseAttributes # Timestamp of when the case was created attr_accessor :created_at + # Case custom attributes + attr_accessor :custom_attributes + # Description attr_accessor :description @@ -60,6 +63,9 @@ class CaseAttributes # Case type attr_accessor :type + # Case type UUID + attr_accessor :type_id + attr_accessor :additional_properties # Attribute mapping from ruby-style variable name to JSON key. @@ -70,6 +76,7 @@ def self.attribute_map :'attributes' => :'attributes', :'closed_at' => :'closed_at', :'created_at' => :'created_at', + :'custom_attributes' => :'custom_attributes', :'description' => :'description', :'jira_issue' => :'jira_issue', :'key' => :'key', @@ -78,7 +85,8 @@ def self.attribute_map :'service_now_ticket' => :'service_now_ticket', :'status' => :'status', :'title' => :'title', - :'type' => :'type' + :'type' => :'type', + :'type_id' => :'type_id' } end @@ -90,6 +98,7 @@ def self.openapi_types :'attributes' => :'Hash>', :'closed_at' => :'Time', :'created_at' => :'Time', + :'custom_attributes' => :'Hash', :'description' => :'String', :'jira_issue' => :'JiraIssue', :'key' => :'String', @@ -98,7 +107,8 @@ def self.openapi_types :'service_now_ticket' => :'ServiceNowTicket', :'status' => :'CaseStatus', :'title' => :'String', - :'type' => :'CaseType' + :'type' => :'CaseType', + :'type_id' => :'String' } end @@ -148,6 +158,10 @@ def initialize(attributes = {}) self.created_at = attributes[:'created_at'] end + if attributes.key?(:'custom_attributes') + self.custom_attributes = attributes[:'custom_attributes'] + end + if attributes.key?(:'description') self.description = attributes[:'description'] end @@ -183,6 +197,10 @@ def initialize(attributes = {}) if attributes.key?(:'type') self.type = attributes[:'type'] end + + if attributes.key?(:'type_id') + self.type_id = attributes[:'type_id'] + end end # Returns the object in the form of hash, with additionalProperties support. @@ -215,6 +233,7 @@ def ==(o) attributes == o.attributes && closed_at == o.closed_at && created_at == o.created_at && + custom_attributes == o.custom_attributes && description == o.description && jira_issue == o.jira_issue && key == o.key && @@ -224,6 +243,7 @@ def ==(o) status == o.status && title == o.title && type == o.type && + type_id == o.type_id && additional_properties == o.additional_properties end @@ -231,7 +251,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [archived_at, attributes, closed_at, created_at, description, jira_issue, key, modified_at, priority, service_now_ticket, status, title, type, additional_properties].hash + [archived_at, attributes, closed_at, created_at, custom_attributes, description, jira_issue, key, modified_at, priority, service_now_ticket, status, title, type, type_id, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/case_comment.rb b/lib/datadog_api_client/v2/models/case_comment.rb new file mode 100644 index 000000000000..f2213389686b --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_comment.rb @@ -0,0 +1,144 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case comment + class CaseComment + include BaseGenericModel + + # Case comment attributes + attr_reader :attributes + + # Case resource type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CaseCommentAttributes', + :'type' => :'CaseResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseComment` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_comment_attributes.rb b/lib/datadog_api_client/v2/models/case_comment_attributes.rb new file mode 100644 index 000000000000..a8310236ff63 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_comment_attributes.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case comment attributes + class CaseCommentAttributes + include BaseGenericModel + + # The `CaseCommentAttributes` `message`. + attr_reader :comment + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'comment' => :'comment' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'comment' => :'String' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseCommentAttributes` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'comment') + self.comment = attributes[:'comment'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @comment.nil? + true + end + + # Custom attribute writer method with validation + # @param comment [Object] Object to be assigned + # @!visibility private + def comment=(comment) + if comment.nil? + fail ArgumentError, 'invalid value for "comment", comment cannot be nil.' + end + @comment = comment + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + comment == o.comment && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [comment, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_comment_request.rb b/lib/datadog_api_client/v2/models/case_comment_request.rb new file mode 100644 index 000000000000..63a981d11f38 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_comment_request.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case comment request + class CaseCommentRequest + include BaseGenericModel + + # Case comment + attr_reader :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CaseComment' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseCommentRequest` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @data.nil? + true + end + + # Custom attribute writer method with validation + # @param data [Object] Object to be assigned + # @!visibility private + def data=(data) + if data.nil? + fail ArgumentError, 'invalid value for "data", data cannot be nil.' + end + @data = data + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_create_attributes.rb b/lib/datadog_api_client/v2/models/case_create_attributes.rb index 3084592ccf0c..12587a46cd43 100644 --- a/lib/datadog_api_client/v2/models/case_create_attributes.rb +++ b/lib/datadog_api_client/v2/models/case_create_attributes.rb @@ -30,8 +30,8 @@ class CaseCreateAttributes # Title attr_reader :title - # Case type - attr_reader :type + # Case type UUID + attr_reader :type_id attr_accessor :additional_properties @@ -42,7 +42,7 @@ def self.attribute_map :'description' => :'description', :'priority' => :'priority', :'title' => :'title', - :'type' => :'type' + :'type_id' => :'type_id' } end @@ -53,7 +53,7 @@ def self.openapi_types :'description' => :'String', :'priority' => :'CasePriority', :'title' => :'String', - :'type' => :'CaseType' + :'type_id' => :'String' } end @@ -87,8 +87,8 @@ def initialize(attributes = {}) self.title = attributes[:'title'] end - if attributes.key?(:'type') - self.type = attributes[:'type'] + if attributes.key?(:'type_id') + self.type_id = attributes[:'type_id'] end end @@ -97,7 +97,7 @@ def initialize(attributes = {}) # @!visibility private def valid? return false if @title.nil? - return false if @type.nil? + return false if @type_id.nil? true end @@ -112,13 +112,13 @@ def title=(title) end # Custom attribute writer method with validation - # @param type [Object] Object to be assigned + # @param type_id [Object] Object to be assigned # @!visibility private - def type=(type) - if type.nil? - fail ArgumentError, 'invalid value for "type", type cannot be nil.' + def type_id=(type_id) + if type_id.nil? + fail ArgumentError, 'invalid value for "type_id", type_id cannot be nil.' end - @type = type + @type_id = type_id end # Returns the object in the form of hash, with additionalProperties support. @@ -150,7 +150,7 @@ def ==(o) description == o.description && priority == o.priority && title == o.title && - type == o.type && + type_id == o.type_id && additional_properties == o.additional_properties end @@ -158,7 +158,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [description, priority, title, type, additional_properties].hash + [description, priority, title, type_id, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/case_type.rb b/lib/datadog_api_client/v2/models/case_type.rb index d015a34b7d46..8e0386d151f5 100644 --- a/lib/datadog_api_client/v2/models/case_type.rb +++ b/lib/datadog_api_client/v2/models/case_type.rb @@ -18,6 +18,8 @@ module DatadogAPIClient::V2 # Case type + # + # @deprecated This model is deprecated. class CaseType include BaseEnumModel diff --git a/lib/datadog_api_client/v2/models/case_type_create.rb b/lib/datadog_api_client/v2/models/case_type_create.rb new file mode 100644 index 000000000000..874b7c82c0c3 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_type_create.rb @@ -0,0 +1,144 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case type + class CaseTypeCreate + include BaseGenericModel + + # Case Type resource attributes + attr_reader :attributes + + # Case type resource type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CaseTypeResourceAttributes', + :'type' => :'CaseTypeResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseTypeCreate` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_type_create_request.rb b/lib/datadog_api_client/v2/models/case_type_create_request.rb new file mode 100644 index 000000000000..412a5408f25e --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_type_create_request.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case type create request + class CaseTypeCreateRequest + include BaseGenericModel + + # Case type + attr_reader :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CaseTypeCreate' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseTypeCreateRequest` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @data.nil? + true + end + + # Custom attribute writer method with validation + # @param data [Object] Object to be assigned + # @!visibility private + def data=(data) + if data.nil? + fail ArgumentError, 'invalid value for "data", data cannot be nil.' + end + @data = data + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_type_resource.rb b/lib/datadog_api_client/v2/models/case_type_resource.rb new file mode 100644 index 000000000000..9b28ee4b9bb5 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_type_resource.rb @@ -0,0 +1,125 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The definition of `CaseType` object. + class CaseTypeResource + include BaseGenericModel + + # Case Type resource attributes + attr_accessor :attributes + + # Case type's identifier + attr_accessor :id + + # Case type resource type + attr_accessor :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'id' => :'id', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CaseTypeResourceAttributes', + :'id' => :'String', + :'type' => :'CaseTypeResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseTypeResource` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + id == o.id && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, id, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_type_resource_attributes.rb b/lib/datadog_api_client/v2/models/case_type_resource_attributes.rb new file mode 100644 index 000000000000..b317858dc7b0 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_type_resource_attributes.rb @@ -0,0 +1,161 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case Type resource attributes + class CaseTypeResourceAttributes + include BaseGenericModel + + # Timestamp of when the case type was deleted + attr_accessor :deleted_at + + # Case type description. + attr_accessor :description + + # Case type emoji. + attr_accessor :emoji + + # Case type name. + attr_reader :name + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'deleted_at' => :'deleted_at', + :'description' => :'description', + :'emoji' => :'emoji', + :'name' => :'name' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'deleted_at' => :'Time', + :'description' => :'String', + :'emoji' => :'String', + :'name' => :'String' + } + end + + # List of attributes with nullable: true + # @!visibility private + def self.openapi_nullable + Set.new([ + :'deleted_at', + ]) + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseTypeResourceAttributes` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'deleted_at') + self.deleted_at = attributes[:'deleted_at'] + end + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.key?(:'emoji') + self.emoji = attributes[:'emoji'] + end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @name.nil? + true + end + + # Custom attribute writer method with validation + # @param name [Object] Object to be assigned + # @!visibility private + def name=(name) + if name.nil? + fail ArgumentError, 'invalid value for "name", name cannot be nil.' + end + @name = name + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + deleted_at == o.deleted_at && + description == o.description && + emoji == o.emoji && + name == o.name && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [deleted_at, description, emoji, name, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_type_resource_type.rb b/lib/datadog_api_client/v2/models/case_type_resource_type.rb new file mode 100644 index 000000000000..d5c743dea544 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_type_resource_type.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case type resource type + class CaseTypeResourceType + include BaseEnumModel + + CASE_TYPE = "case_type".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/case_type_response.rb b/lib/datadog_api_client/v2/models/case_type_response.rb new file mode 100644 index 000000000000..a1a486804aa3 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_type_response.rb @@ -0,0 +1,105 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case type response + class CaseTypeResponse + include BaseGenericModel + + # The definition of `CaseType` object. + attr_accessor :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CaseTypeResource' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseTypeResponse` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_types_response.rb b/lib/datadog_api_client/v2/models/case_types_response.rb new file mode 100644 index 000000000000..697aa99c4c79 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_types_response.rb @@ -0,0 +1,107 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case types response. + class CaseTypesResponse + include BaseGenericModel + + # List of case types + attr_accessor :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'Array' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseTypesResponse` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + if (value = attributes[:'data']).is_a?(Array) + self.data = value + end + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_custom_attribute.rb b/lib/datadog_api_client/v2/models/case_update_custom_attribute.rb new file mode 100644 index 000000000000..986d0f7de606 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_custom_attribute.rb @@ -0,0 +1,144 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update custom attribute + class CaseUpdateCustomAttribute + include BaseGenericModel + + # Custom attribute values + attr_reader :attributes + + # Case resource type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CustomAttributeValue', + :'type' => :'CaseResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateCustomAttribute` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_custom_attribute_request.rb b/lib/datadog_api_client/v2/models/case_update_custom_attribute_request.rb new file mode 100644 index 000000000000..21d44501e544 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_custom_attribute_request.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update custom attribute request + class CaseUpdateCustomAttributeRequest + include BaseGenericModel + + # Case update custom attribute + attr_reader :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CaseUpdateCustomAttribute' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateCustomAttributeRequest` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @data.nil? + true + end + + # Custom attribute writer method with validation + # @param data [Object] Object to be assigned + # @!visibility private + def data=(data) + if data.nil? + fail ArgumentError, 'invalid value for "data", data cannot be nil.' + end + @data = data + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_description.rb b/lib/datadog_api_client/v2/models/case_update_description.rb new file mode 100644 index 000000000000..1167c430886c --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_description.rb @@ -0,0 +1,144 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update description + class CaseUpdateDescription + include BaseGenericModel + + # Case update description attributes + attr_reader :attributes + + # Case resource type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CaseUpdateDescriptionAttributes', + :'type' => :'CaseResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateDescription` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_description_attributes.rb b/lib/datadog_api_client/v2/models/case_update_description_attributes.rb new file mode 100644 index 000000000000..86f3e745768b --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_description_attributes.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update description attributes + class CaseUpdateDescriptionAttributes + include BaseGenericModel + + # Case new description + attr_reader :description + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'description' => :'description' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'description' => :'String' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateDescriptionAttributes` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @description.nil? + true + end + + # Custom attribute writer method with validation + # @param description [Object] Object to be assigned + # @!visibility private + def description=(description) + if description.nil? + fail ArgumentError, 'invalid value for "description", description cannot be nil.' + end + @description = description + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + description == o.description && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [description, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_description_request.rb b/lib/datadog_api_client/v2/models/case_update_description_request.rb new file mode 100644 index 000000000000..9a3a1dabd537 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_description_request.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update description request + class CaseUpdateDescriptionRequest + include BaseGenericModel + + # Case update description + attr_reader :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CaseUpdateDescription' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateDescriptionRequest` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @data.nil? + true + end + + # Custom attribute writer method with validation + # @param data [Object] Object to be assigned + # @!visibility private + def data=(data) + if data.nil? + fail ArgumentError, 'invalid value for "data", data cannot be nil.' + end + @data = data + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_title.rb b/lib/datadog_api_client/v2/models/case_update_title.rb new file mode 100644 index 000000000000..b5f41b6d4fb9 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_title.rb @@ -0,0 +1,144 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update title + class CaseUpdateTitle + include BaseGenericModel + + # Case update title attributes + attr_reader :attributes + + # Case resource type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CaseUpdateTitleAttributes', + :'type' => :'CaseResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateTitle` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_title_attributes.rb b/lib/datadog_api_client/v2/models/case_update_title_attributes.rb new file mode 100644 index 000000000000..043d3e2f196c --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_title_attributes.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update title attributes + class CaseUpdateTitleAttributes + include BaseGenericModel + + # Case new title + attr_reader :title + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'title' => :'title' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'title' => :'String' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateTitleAttributes` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'title') + self.title = attributes[:'title'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @title.nil? + true + end + + # Custom attribute writer method with validation + # @param title [Object] Object to be assigned + # @!visibility private + def title=(title) + if title.nil? + fail ArgumentError, 'invalid value for "title", title cannot be nil.' + end + @title = title + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + title == o.title && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [title, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/case_update_title_request.rb b/lib/datadog_api_client/v2/models/case_update_title_request.rb new file mode 100644 index 000000000000..3d4de31501e5 --- /dev/null +++ b/lib/datadog_api_client/v2/models/case_update_title_request.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Case update title request + class CaseUpdateTitleRequest + include BaseGenericModel + + # Case update title + attr_reader :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CaseUpdateTitle' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CaseUpdateTitleRequest` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @data.nil? + true + end + + # Custom attribute writer method with validation + # @param data [Object] Object to be assigned + # @!visibility private + def data=(data) + if data.nil? + fail ArgumentError, 'invalid value for "data", data cannot be nil.' + end + @data = data + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_config.rb b/lib/datadog_api_client/v2/models/custom_attribute_config.rb new file mode 100644 index 000000000000..1db82cea9155 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_config.rb @@ -0,0 +1,125 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The definition of `CustomAttributeConfig` object. + class CustomAttributeConfig + include BaseGenericModel + + # Custom attribute resource attributes + attr_accessor :attributes + + # Custom attribute configs identifier + attr_accessor :id + + # Custom attributes config JSON:API resource type + attr_accessor :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'id' => :'id', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CustomAttributeConfigResourceAttributes', + :'id' => :'String', + :'type' => :'CustomAttributeConfigResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeConfig` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + id == o.id && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, id, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_config_attributes_create.rb b/lib/datadog_api_client/v2/models/custom_attribute_config_attributes_create.rb new file mode 100644 index 000000000000..11f6ca147db7 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_config_attributes_create.rb @@ -0,0 +1,196 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attribute config resource attributes + class CustomAttributeConfigAttributesCreate + include BaseGenericModel + + # Custom attribute description. + attr_accessor :description + + # Custom attribute name. + attr_reader :display_name + + # Whether multiple values can be set + attr_reader :is_multi + + # Custom attribute key. This will be the value use to search on this custom attribute + attr_reader :key + + # Custom attributes type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'description' => :'description', + :'display_name' => :'display_name', + :'is_multi' => :'is_multi', + :'key' => :'key', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'description' => :'String', + :'display_name' => :'String', + :'is_multi' => :'Boolean', + :'key' => :'String', + :'type' => :'CustomAttributeType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeConfigAttributesCreate` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.key?(:'display_name') + self.display_name = attributes[:'display_name'] + end + + if attributes.key?(:'is_multi') + self.is_multi = attributes[:'is_multi'] + end + + if attributes.key?(:'key') + self.key = attributes[:'key'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @display_name.nil? + return false if @is_multi.nil? + return false if @key.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param display_name [Object] Object to be assigned + # @!visibility private + def display_name=(display_name) + if display_name.nil? + fail ArgumentError, 'invalid value for "display_name", display_name cannot be nil.' + end + @display_name = display_name + end + + # Custom attribute writer method with validation + # @param is_multi [Object] Object to be assigned + # @!visibility private + def is_multi=(is_multi) + if is_multi.nil? + fail ArgumentError, 'invalid value for "is_multi", is_multi cannot be nil.' + end + @is_multi = is_multi + end + + # Custom attribute writer method with validation + # @param key [Object] Object to be assigned + # @!visibility private + def key=(key) + if key.nil? + fail ArgumentError, 'invalid value for "key", key cannot be nil.' + end + @key = key + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + description == o.description && + display_name == o.display_name && + is_multi == o.is_multi && + key == o.key && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [description, display_name, is_multi, key, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_config_create.rb b/lib/datadog_api_client/v2/models/custom_attribute_config_create.rb new file mode 100644 index 000000000000..1dd69d393f32 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_config_create.rb @@ -0,0 +1,144 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attribute config + class CustomAttributeConfigCreate + include BaseGenericModel + + # Custom attribute config resource attributes + attr_reader :attributes + + # Custom attributes config JSON:API resource type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'CustomAttributeConfigAttributesCreate', + :'type' => :'CustomAttributeConfigResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeConfigCreate` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_config_create_request.rb b/lib/datadog_api_client/v2/models/custom_attribute_config_create_request.rb new file mode 100644 index 000000000000..218c169ce4c9 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_config_create_request.rb @@ -0,0 +1,123 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attribute config create request + class CustomAttributeConfigCreateRequest + include BaseGenericModel + + # Custom attribute config + attr_reader :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CustomAttributeConfigCreate' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeConfigCreateRequest` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @data.nil? + true + end + + # Custom attribute writer method with validation + # @param data [Object] Object to be assigned + # @!visibility private + def data=(data) + if data.nil? + fail ArgumentError, 'invalid value for "data", data cannot be nil.' + end + @data = data + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_config_resource_attributes.rb b/lib/datadog_api_client/v2/models/custom_attribute_config_resource_attributes.rb new file mode 100644 index 000000000000..ba238edb4cd1 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_config_resource_attributes.rb @@ -0,0 +1,217 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attribute resource attributes + class CustomAttributeConfigResourceAttributes + include BaseGenericModel + + # Custom attribute config identifier. + attr_reader :case_type_id + + # Custom attribute description. + attr_accessor :description + + # Custom attribute name. + attr_reader :display_name + + # Whether multiple values can be set + attr_reader :is_multi + + # Custom attribute key. This will be the value use to search on this custom attribute + attr_reader :key + + # Custom attributes type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'case_type_id' => :'case_type_id', + :'description' => :'description', + :'display_name' => :'display_name', + :'is_multi' => :'is_multi', + :'key' => :'key', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'case_type_id' => :'String', + :'description' => :'String', + :'display_name' => :'String', + :'is_multi' => :'Boolean', + :'key' => :'String', + :'type' => :'CustomAttributeType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeConfigResourceAttributes` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'case_type_id') + self.case_type_id = attributes[:'case_type_id'] + end + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.key?(:'display_name') + self.display_name = attributes[:'display_name'] + end + + if attributes.key?(:'is_multi') + self.is_multi = attributes[:'is_multi'] + end + + if attributes.key?(:'key') + self.key = attributes[:'key'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @case_type_id.nil? + return false if @display_name.nil? + return false if @is_multi.nil? + return false if @key.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param case_type_id [Object] Object to be assigned + # @!visibility private + def case_type_id=(case_type_id) + if case_type_id.nil? + fail ArgumentError, 'invalid value for "case_type_id", case_type_id cannot be nil.' + end + @case_type_id = case_type_id + end + + # Custom attribute writer method with validation + # @param display_name [Object] Object to be assigned + # @!visibility private + def display_name=(display_name) + if display_name.nil? + fail ArgumentError, 'invalid value for "display_name", display_name cannot be nil.' + end + @display_name = display_name + end + + # Custom attribute writer method with validation + # @param is_multi [Object] Object to be assigned + # @!visibility private + def is_multi=(is_multi) + if is_multi.nil? + fail ArgumentError, 'invalid value for "is_multi", is_multi cannot be nil.' + end + @is_multi = is_multi + end + + # Custom attribute writer method with validation + # @param key [Object] Object to be assigned + # @!visibility private + def key=(key) + if key.nil? + fail ArgumentError, 'invalid value for "key", key cannot be nil.' + end + @key = key + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + case_type_id == o.case_type_id && + description == o.description && + display_name == o.display_name && + is_multi == o.is_multi && + key == o.key && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [case_type_id, description, display_name, is_multi, key, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_config_resource_type.rb b/lib/datadog_api_client/v2/models/custom_attribute_config_resource_type.rb new file mode 100644 index 000000000000..a0d880da5375 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_config_resource_type.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attributes config JSON:API resource type + class CustomAttributeConfigResourceType + include BaseEnumModel + + CUSTOM_ATTRIBUTE = "custom_attribute".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_config_response.rb b/lib/datadog_api_client/v2/models/custom_attribute_config_response.rb new file mode 100644 index 000000000000..f9269f21d020 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_config_response.rb @@ -0,0 +1,105 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attribute config response. + class CustomAttributeConfigResponse + include BaseGenericModel + + # The definition of `CustomAttributeConfig` object. + attr_accessor :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'CustomAttributeConfig' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeConfigResponse` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_configs_response.rb b/lib/datadog_api_client/v2/models/custom_attribute_configs_response.rb new file mode 100644 index 000000000000..04f397c542fb --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_configs_response.rb @@ -0,0 +1,107 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attribute configs response. + class CustomAttributeConfigsResponse + include BaseGenericModel + + # List of custom attribute configs of case type + attr_accessor :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'Array' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeConfigsResponse` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + if (value = attributes[:'data']).is_a?(Array) + self.data = value + end + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_type.rb b/lib/datadog_api_client/v2/models/custom_attribute_type.rb new file mode 100644 index 000000000000..ed17f442c7ad --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_type.rb @@ -0,0 +1,28 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attributes type + class CustomAttributeType + include BaseEnumModel + + URL = "URL".freeze + TEXT = "TEXT".freeze + NUMBER = "NUMBER".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_value.rb b/lib/datadog_api_client/v2/models/custom_attribute_value.rb new file mode 100644 index 000000000000..d8cb9ad15a45 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_value.rb @@ -0,0 +1,165 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Custom attribute values + class CustomAttributeValue + include BaseGenericModel + + # If true, value must be an array + attr_reader :is_multi + + # Custom attributes type + attr_reader :type + + # Union of supported value for a custom attribute + attr_reader :value + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'is_multi' => :'is_multi', + :'type' => :'type', + :'value' => :'value' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'is_multi' => :'Boolean', + :'type' => :'CustomAttributeType', + :'value' => :'CustomAttributeValuesUnion' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CustomAttributeValue` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'is_multi') + self.is_multi = attributes[:'is_multi'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + + if attributes.key?(:'value') + self.value = attributes[:'value'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @is_multi.nil? + return false if @type.nil? + return false if @value.nil? + true + end + + # Custom attribute writer method with validation + # @param is_multi [Object] Object to be assigned + # @!visibility private + def is_multi=(is_multi) + if is_multi.nil? + fail ArgumentError, 'invalid value for "is_multi", is_multi cannot be nil.' + end + @is_multi = is_multi + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Custom attribute writer method with validation + # @param value [Object] Object to be assigned + # @!visibility private + def value=(value) + if value.nil? + fail ArgumentError, 'invalid value for "value", value cannot be nil.' + end + @value = value + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + is_multi == o.is_multi && + type == o.type && + value == o.value && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [is_multi, type, value, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/custom_attribute_values_union.rb b/lib/datadog_api_client/v2/models/custom_attribute_values_union.rb new file mode 100644 index 000000000000..b651f2309d56 --- /dev/null +++ b/lib/datadog_api_client/v2/models/custom_attribute_values_union.rb @@ -0,0 +1,65 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Union of supported value for a custom attribute + module CustomAttributeValuesUnion + class << self + include BaseOneOfModel + include BaseOneOfModelNoDiscriminator + + # List of class defined in oneOf (OpenAPI v3) + def openapi_one_of + [ + :'String', + :'Array', + :'Float', + :'Array' + ] + end + # Builds the object + # @param data [Mixed] Data to be matched against the list of oneOf items + # @return [Object] Returns the model or the data itself + def build(data) + # Go through the list of oneOf items and attempt to identify the appropriate one. + # Note: + # - We do not attempt to check whether exactly one item matches. + # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 }) + # due to the way the deserialization is made in the base_object template (it just casts without verifying). + # - TODO: scalar values are de facto behaving as if they were nullable. + # - TODO: logging when debugging is set. + openapi_one_of.each do |klass| + begin + next if klass == :AnyType # "nullable: true" + typed_data = find_and_cast_into_type(klass, data) + next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed + return typed_data if typed_data + rescue # rescue all errors so we keep iterating even if the current item lookup raises + end + end + + if openapi_one_of.include?(:AnyType) + data + else + self._unparsed = true + DatadogAPIClient::UnparsedObject.new(data) + end + end + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell.rb b/lib/datadog_api_client/v2/models/timeline_cell.rb new file mode 100644 index 000000000000..eff1de922436 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell.rb @@ -0,0 +1,155 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # timeline cell + class TimelineCell + include BaseGenericModel + + # author of the timeline cell + attr_accessor :author + + # timeline cell content + attr_accessor :cell_content + + # Timestamp of when the cell was created + attr_accessor :created_at + + # Timestamp of when the cell was deleted + attr_accessor :deleted_at + + # Timestamp of when the cell was last modified + attr_accessor :modified_at + + # Timeline cell content type + attr_accessor :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'author' => :'author', + :'cell_content' => :'cell_content', + :'created_at' => :'created_at', + :'deleted_at' => :'deleted_at', + :'modified_at' => :'modified_at', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'author' => :'TimelineCellAuthor', + :'cell_content' => :'TimelineCellContent', + :'created_at' => :'Time', + :'deleted_at' => :'Time', + :'modified_at' => :'Time', + :'type' => :'TimelineCellType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TimelineCell` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'author') + self.author = attributes[:'author'] + end + + if attributes.key?(:'cell_content') + self.cell_content = attributes[:'cell_content'] + end + + if attributes.key?(:'created_at') + self.created_at = attributes[:'created_at'] + end + + if attributes.key?(:'deleted_at') + self.deleted_at = attributes[:'deleted_at'] + end + + if attributes.key?(:'modified_at') + self.modified_at = attributes[:'modified_at'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + author == o.author && + cell_content == o.cell_content && + created_at == o.created_at && + deleted_at == o.deleted_at && + modified_at == o.modified_at && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [author, cell_content, created_at, deleted_at, modified_at, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_author.rb b/lib/datadog_api_client/v2/models/timeline_cell_author.rb new file mode 100644 index 000000000000..d4b7c4acfb45 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_author.rb @@ -0,0 +1,62 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # author of the timeline cell + module TimelineCellAuthor + class << self + include BaseOneOfModel + include BaseOneOfModelNoDiscriminator + + # List of class defined in oneOf (OpenAPI v3) + def openapi_one_of + [ + :'TimelineCellAuthorUser' + ] + end + # Builds the object + # @param data [Mixed] Data to be matched against the list of oneOf items + # @return [Object] Returns the model or the data itself + def build(data) + # Go through the list of oneOf items and attempt to identify the appropriate one. + # Note: + # - We do not attempt to check whether exactly one item matches. + # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 }) + # due to the way the deserialization is made in the base_object template (it just casts without verifying). + # - TODO: scalar values are de facto behaving as if they were nullable. + # - TODO: logging when debugging is set. + openapi_one_of.each do |klass| + begin + next if klass == :AnyType # "nullable: true" + typed_data = find_and_cast_into_type(klass, data) + next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed + return typed_data if typed_data + rescue # rescue all errors so we keep iterating even if the current item lookup raises + end + end + + if openapi_one_of.include?(:AnyType) + data + else + self._unparsed = true + DatadogAPIClient::UnparsedObject.new(data) + end + end + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_author_user.rb b/lib/datadog_api_client/v2/models/timeline_cell_author_user.rb new file mode 100644 index 000000000000..274ddf6a559d --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_author_user.rb @@ -0,0 +1,115 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # timeline cell user author + class TimelineCellAuthorUser + include BaseGenericModel + + # user author content. + attr_accessor :content + + # user author type. + attr_accessor :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'content' => :'content', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'content' => :'TimelineCellAuthorUserContent', + :'type' => :'TimelineCellAuthorUserType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TimelineCellAuthorUser` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'content') + self.content = attributes[:'content'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + content == o.content && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [content, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_author_user_content.rb b/lib/datadog_api_client/v2/models/timeline_cell_author_user_content.rb new file mode 100644 index 000000000000..8bd93d4d0412 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_author_user_content.rb @@ -0,0 +1,135 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # user author content. + class TimelineCellAuthorUserContent + include BaseGenericModel + + # user email + attr_accessor :email + + # user handle + attr_accessor :handle + + # user UUID + attr_accessor :id + + # user name + attr_accessor :name + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'email' => :'email', + :'handle' => :'handle', + :'id' => :'id', + :'name' => :'name' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'email' => :'String', + :'handle' => :'String', + :'id' => :'String', + :'name' => :'String' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TimelineCellAuthorUserContent` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'email') + self.email = attributes[:'email'] + end + + if attributes.key?(:'handle') + self.handle = attributes[:'handle'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + email == o.email && + handle == o.handle && + id == o.id && + name == o.name && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [email, handle, id, name, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_author_user_type.rb b/lib/datadog_api_client/v2/models/timeline_cell_author_user_type.rb new file mode 100644 index 000000000000..76643ee1dd86 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_author_user_type.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # user author type. + class TimelineCellAuthorUserType + include BaseEnumModel + + USER = "USER".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_content.rb b/lib/datadog_api_client/v2/models/timeline_cell_content.rb new file mode 100644 index 000000000000..8a3f4ed465ac --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_content.rb @@ -0,0 +1,62 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # timeline cell content + module TimelineCellContent + class << self + include BaseOneOfModel + include BaseOneOfModelNoDiscriminator + + # List of class defined in oneOf (OpenAPI v3) + def openapi_one_of + [ + :'TimelineCellContentComment' + ] + end + # Builds the object + # @param data [Mixed] Data to be matched against the list of oneOf items + # @return [Object] Returns the model or the data itself + def build(data) + # Go through the list of oneOf items and attempt to identify the appropriate one. + # Note: + # - We do not attempt to check whether exactly one item matches. + # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 }) + # due to the way the deserialization is made in the base_object template (it just casts without verifying). + # - TODO: scalar values are de facto behaving as if they were nullable. + # - TODO: logging when debugging is set. + openapi_one_of.each do |klass| + begin + next if klass == :AnyType # "nullable: true" + typed_data = find_and_cast_into_type(klass, data) + next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed + return typed_data if typed_data + rescue # rescue all errors so we keep iterating even if the current item lookup raises + end + end + + if openapi_one_of.include?(:AnyType) + data + else + self._unparsed = true + DatadogAPIClient::UnparsedObject.new(data) + end + end + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_content_comment.rb b/lib/datadog_api_client/v2/models/timeline_cell_content_comment.rb new file mode 100644 index 000000000000..ad7fb072114c --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_content_comment.rb @@ -0,0 +1,105 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # comment content + class TimelineCellContentComment + include BaseGenericModel + + # comment message + attr_accessor :message + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'message' => :'message' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'message' => :'String' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TimelineCellContentComment` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'message') + self.message = attributes[:'message'] + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + message == o.message && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [message, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_resource.rb b/lib/datadog_api_client/v2/models/timeline_cell_resource.rb new file mode 100644 index 000000000000..35e988e7b8d8 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_resource.rb @@ -0,0 +1,165 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Timeline cell JSON:API resource + class TimelineCellResource + include BaseGenericModel + + # timeline cell + attr_reader :attributes + + # Timeline cell's identifier + attr_reader :id + + # Timeline cell JSON:API resource type + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'id' => :'id', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'TimelineCell', + :'id' => :'String', + :'type' => :'TimelineCellResourceType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TimelineCellResource` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @id.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param id [Object] Object to be assigned + # @!visibility private + def id=(id) + if id.nil? + fail ArgumentError, 'invalid value for "id", id cannot be nil.' + end + @id = id + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + id == o.id && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, id, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_resource_type.rb b/lib/datadog_api_client/v2/models/timeline_cell_resource_type.rb new file mode 100644 index 000000000000..0e1dddb79835 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_resource_type.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Timeline cell JSON:API resource type + class TimelineCellResourceType + include BaseEnumModel + + TIMELINE_CELL = "timeline_cell".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_cell_type.rb b/lib/datadog_api_client/v2/models/timeline_cell_type.rb new file mode 100644 index 000000000000..25b6ea18b771 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_cell_type.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Timeline cell content type + class TimelineCellType + include BaseEnumModel + + COMMENT = "COMMENT".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/timeline_response.rb b/lib/datadog_api_client/v2/models/timeline_response.rb new file mode 100644 index 000000000000..a1413a23fb04 --- /dev/null +++ b/lib/datadog_api_client/v2/models/timeline_response.rb @@ -0,0 +1,107 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Timeline response + class TimelineResponse + include BaseGenericModel + + # The `TimelineResponse` `data`. + attr_accessor :data + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'data' => :'data' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'data' => :'Array' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TimelineResponse` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'data') + if (value = attributes[:'data']).is_a?(Array) + self.data = value + end + end + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [data, additional_properties].hash + end + end +end