diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 85f3c28c11c..8161f8063be 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1448,6 +1448,31 @@ components: required: false schema: $ref: "#/components/schemas/OrgGroupPolicySortOption" + PostmortemTemplateFilterIncidentTypeParameter: + description: Filter postmortem templates by the associated incident type ID. + in: query + name: filter[incident-type] + required: false + schema: + format: uuid + type: string + PostmortemTemplateIdParameter: + description: The ID of the postmortem template. + example: 00000000-0000-0000-0000-000000000000 + in: path + name: template_id + required: true + schema: + type: string + PostmortemTemplateSortParameter: + description: The attribute to sort results by. Prefix with `-` for descending order. + in: query + name: sort + required: false + schema: + default: created_at + example: "-created_at" + type: string ProductName: description: Name of the product to be deleted, either `logs` or `rum`. in: path @@ -20811,6 +20836,26 @@ components: type: string x-enum-varnames: - SCHEDULE_TARGET + ConfluencePostmortemSettings: + description: Settings for a postmortem template stored in Confluence. Required when `location` is `confluence`. + properties: + account_id: + description: The ID of the Confluence integration account. + example: "123456" + type: string + parent_id: + description: The ID of the parent Confluence page under which postmortems are created. + example: "345678" + nullable: true + type: string + space_id: + description: The ID of the Confluence space where postmortems are created. + example: "789012" + type: string + required: + - account_id + - space_id + type: object ConfluentAccountCreateRequest: description: Payload schema when adding a Confluent account. properties: @@ -43223,6 +43268,21 @@ components: required: - attributes type: object + GoogleDocsPostmortemSettings: + description: Settings for a postmortem template stored in Google Docs. Required when `location` is `google_docs`. + properties: + account_id: + description: The ID of the Google Drive integration account. + example: "123456" + type: string + parent_folder_id: + description: The ID of the Google Drive folder where postmortems are created. + example: "789012" + type: string + required: + - account_id + - parent_folder_id + type: object GoogleMeetConfigurationReference: description: A reference to a Google Meet Configuration resource. nullable: true @@ -77278,8 +77338,24 @@ components: PostmortemTemplateAttributesRequest: description: Attributes for creating or updating a postmortem template. properties: + confluence_postmortem_settings: + $ref: "#/components/schemas/ConfluencePostmortemSettings" + content: + description: The templated content of the postmortem, supporting Markdown and incident template variables. + example: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" + type: string + google_docs_postmortem_settings: + $ref: "#/components/schemas/GoogleDocsPostmortemSettings" + is_default: + description: When set, marks this template as a default. The effective default for an incident type is the template with the most recent `is_default` timestamp. Set to `null` to unset. + example: "2024-01-01T00:00:00+00:00" + format: date-time + nullable: true + type: string + location: + $ref: "#/components/schemas/PostmortemTemplateLocation" name: - description: The name of the template + description: The name of the template. example: "Standard Postmortem Template" type: string required: @@ -77288,30 +77364,61 @@ components: PostmortemTemplateAttributesResponse: description: Attributes of a postmortem template returned in a response. properties: + confluence_postmortem_settings: + $ref: "#/components/schemas/ConfluencePostmortemSettings" + content: + description: The templated content of the postmortem, supporting Markdown and incident template variables. + example: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" + type: string createdAt: - description: When the template was created + description: When the template was created. example: "2026-01-13T17:15:53.208340Z" format: date-time type: string + google_docs_postmortem_settings: + $ref: "#/components/schemas/GoogleDocsPostmortemSettings" + is_default: + description: When set, marks this template as a default. The effective default for an incident type is the template with the most recent `is_default` timestamp. + example: "2024-01-01T00:00:00+00:00" + format: date-time + nullable: true + type: string + location: + $ref: "#/components/schemas/PostmortemTemplateLocation" modifiedAt: - description: When the template was last modified + description: When the template was last modified. example: "2026-01-13T17:15:53.208340Z" format: date-time type: string name: - description: The name of the template + description: The name of the template. example: "Standard Postmortem Template" type: string required: - name + - content + - is_default + - location - createdAt - modifiedAt type: object + PostmortemTemplateCreateRelationships: + description: Relationships for a postmortem template. `incident_type` is required when creating a template and is immutable afterwards. + properties: + incident_type: + $ref: "#/components/schemas/PostmortemTemplateIncidentTypeRelationship" + type: object PostmortemTemplateDataRequest: description: Data object for creating or updating a postmortem template. properties: attributes: $ref: "#/components/schemas/PostmortemTemplateAttributesRequest" + id: + description: The ID of the template. Required when updating. + example: 00000000-0000-0000-0000-000000000000 + type: string + relationships: + $ref: "#/components/schemas/PostmortemTemplateCreateRelationships" type: $ref: "#/components/schemas/PostmortemTemplateType" required: @@ -77324,9 +77431,11 @@ components: attributes: $ref: "#/components/schemas/PostmortemTemplateAttributesResponse" id: - description: The ID of the template - example: "template-456" + description: The ID of the template. + example: 00000000-0000-0000-0000-000000000000 type: string + relationships: + $ref: "#/components/schemas/PostmortemTemplateResponseRelationships" type: $ref: "#/components/schemas/PostmortemTemplateType" required: @@ -77334,6 +77443,43 @@ components: - type - attributes type: object + PostmortemTemplateIncidentTypeRelationship: + description: Relationship to the incident type this template belongs to. + properties: + data: + $ref: "#/components/schemas/PostmortemTemplateIncidentTypeRelationshipData" + required: + - data + type: object + PostmortemTemplateIncidentTypeRelationshipData: + description: Incident type relationship data. + properties: + id: + description: The incident type identifier. + example: 00000000-0000-0000-0000-000000000009 + format: uuid + type: string + type: + description: The incident type resource type. + example: incident_types + type: string + required: + - id + - type + type: object + PostmortemTemplateLocation: + default: datadog_notebooks + description: The location where the postmortem is created and stored. + enum: + - datadog_notebooks + - confluence + - google_docs + example: datadog_notebooks + type: string + x-enum-varnames: + - DATADOG_NOTEBOOKS + - CONFLUENCE + - GOOGLE_DOCS PostmortemTemplateRequest: description: Request body for creating or updating a postmortem template. properties: @@ -77350,14 +77496,46 @@ components: required: - data type: object + PostmortemTemplateResponseRelationships: + description: Relationships of a postmortem template returned in a response. + properties: + incident_type: + $ref: "#/components/schemas/PostmortemTemplateIncidentTypeRelationship" + last_modified_by_user: + $ref: "#/components/schemas/PostmortemTemplateUserRelationship" + type: object PostmortemTemplateType: - description: Postmortem template resource type + description: Postmortem template resource type. enum: - - postmortem_template - example: postmortem_template + - postmortem_templates + example: postmortem_templates type: string x-enum-varnames: - - POSTMORTEM_TEMPLATE + - POSTMORTEM_TEMPLATES + PostmortemTemplateUserRelationship: + description: Relationship to a user. + properties: + data: + $ref: "#/components/schemas/PostmortemTemplateUserRelationshipData" + required: + - data + type: object + PostmortemTemplateUserRelationshipData: + description: User relationship data. + properties: + id: + description: The user identifier. + example: 00000000-0000-0000-0000-000000000000 + format: uuid + type: string + type: + description: The user resource type. + example: users + type: string + required: + - id + - type + type: object PostmortemTemplatesResponse: description: Response containing a list of postmortem templates. properties: @@ -142318,6 +142496,9 @@ paths: get: description: Retrieve a list of all postmortem templates for incidents. operationId: ListIncidentPostmortemTemplates + parameters: + - $ref: "#/components/parameters/PostmortemTemplateFilterIncidentTypeParameter" + - $ref: "#/components/parameters/PostmortemTemplateSortParameter" responses: "200": content: @@ -142327,11 +142508,19 @@ paths: value: data: - attributes: + content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" createdAt: "2024-01-01T00:00:00+00:00" + is_default: "2024-01-01T00:00:00+00:00" + location: datadog_notebooks modifiedAt: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000001 - type: postmortem_template + relationships: + incident_type: + data: + id: 00000000-0000-0000-0000-000000000009 + type: incident_types + type: postmortem_templates schema: $ref: "#/components/schemas/PostmortemTemplatesResponse" description: OK @@ -142360,8 +142549,14 @@ paths: value: data: attributes: + content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" name: Standard Postmortem Template - type: postmortem_template + relationships: + incident_type: + data: + id: 00000000-0000-0000-0000-000000000009 + type: incident_types + type: postmortem_templates schema: $ref: "#/components/schemas/PostmortemTemplateRequest" required: true @@ -142374,11 +142569,19 @@ paths: value: data: attributes: + content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" createdAt: "2024-01-01T00:00:00+00:00" + is_default: + location: datadog_notebooks modifiedAt: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000002 - type: postmortem_template + relationships: + incident_type: + data: + id: 00000000-0000-0000-0000-000000000009 + type: incident_types + type: postmortem_templates schema: $ref: "#/components/schemas/PostmortemTemplateResponse" description: Created @@ -142407,13 +142610,7 @@ paths: description: Delete a postmortem template. operationId: DeleteIncidentPostmortemTemplate parameters: - - description: The ID of the postmortem template - in: path - name: template_id - required: true - schema: - example: "template-456" - type: string + - $ref: "#/components/parameters/PostmortemTemplateIdParameter" responses: "204": description: No Content @@ -142441,13 +142638,7 @@ paths: description: Retrieve details of a specific postmortem template. operationId: GetIncidentPostmortemTemplate parameters: - - description: The ID of the postmortem template - in: path - name: template_id - required: true - schema: - example: "template-456" - type: string + - $ref: "#/components/parameters/PostmortemTemplateIdParameter" responses: "200": content: @@ -142457,11 +142648,19 @@ paths: value: data: attributes: + content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" createdAt: "2024-01-01T00:00:00+00:00" + is_default: + location: datadog_notebooks modifiedAt: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000003 - type: postmortem_template + relationships: + incident_type: + data: + id: 00000000-0000-0000-0000-000000000009 + type: incident_types + type: postmortem_templates schema: $ref: "#/components/schemas/PostmortemTemplateResponse" description: OK @@ -142489,13 +142688,7 @@ paths: description: Update an existing postmortem template. operationId: UpdateIncidentPostmortemTemplate parameters: - - description: The ID of the postmortem template - in: path - name: template_id - required: true - schema: - example: "template-456" - type: string + - $ref: "#/components/parameters/PostmortemTemplateIdParameter" requestBody: content: application/json: @@ -142505,7 +142698,8 @@ paths: data: attributes: name: Standard Postmortem Template - type: postmortem_template + id: 00000000-0000-0000-0000-000000000004 + type: postmortem_templates schema: $ref: "#/components/schemas/PostmortemTemplateRequest" required: true @@ -142518,11 +142712,19 @@ paths: value: data: attributes: + content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" createdAt: "2024-01-01T00:00:00+00:00" + is_default: + location: datadog_notebooks modifiedAt: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000004 - type: postmortem_template + relationships: + incident_type: + data: + id: 00000000-0000-0000-0000-000000000009 + type: incident_types + type: postmortem_templates schema: $ref: "#/components/schemas/PostmortemTemplateResponse" description: OK diff --git a/examples/v2/incidents/CreateIncidentPostmortemTemplate.java b/examples/v2/incidents/CreateIncidentPostmortemTemplate.java index 57948e0fead..48d52257dfd 100644 --- a/examples/v2/incidents/CreateIncidentPostmortemTemplate.java +++ b/examples/v2/incidents/CreateIncidentPostmortemTemplate.java @@ -3,11 +3,19 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.IncidentsApi; +import com.datadog.api.client.v2.model.ConfluencePostmortemSettings; +import com.datadog.api.client.v2.model.GoogleDocsPostmortemSettings; import com.datadog.api.client.v2.model.PostmortemTemplateAttributesRequest; +import com.datadog.api.client.v2.model.PostmortemTemplateCreateRelationships; import com.datadog.api.client.v2.model.PostmortemTemplateDataRequest; +import com.datadog.api.client.v2.model.PostmortemTemplateIncidentTypeRelationship; +import com.datadog.api.client.v2.model.PostmortemTemplateIncidentTypeRelationshipData; +import com.datadog.api.client.v2.model.PostmortemTemplateLocation; import com.datadog.api.client.v2.model.PostmortemTemplateRequest; import com.datadog.api.client.v2.model.PostmortemTemplateResponse; import com.datadog.api.client.v2.model.PostmortemTemplateType; +import java.time.OffsetDateTime; +import java.util.UUID; public class Example { public static void main(String[] args) { @@ -21,8 +29,40 @@ public static void main(String[] args) { new PostmortemTemplateDataRequest() .attributes( new PostmortemTemplateAttributesRequest() + .confluencePostmortemSettings( + new ConfluencePostmortemSettings() + .accountId("123456") + .parentId("345678") + .spaceId("789012")) + .content( + """ +# Overview + +# What Happened + +# Timeline + +# Action Items +""") + .googleDocsPostmortemSettings( + new GoogleDocsPostmortemSettings() + .accountId("123456") + .parentFolderId("789012")) + .isDefault(OffsetDateTime.parse("2024-01-01T00:00:00+00:00")) + .location(PostmortemTemplateLocation.DATADOG_NOTEBOOKS) .name("Standard Postmortem Template")) - .type(PostmortemTemplateType.POSTMORTEM_TEMPLATE)); + .id("00000000-0000-0000-0000-000000000000") + .relationships( + new PostmortemTemplateCreateRelationships() + .incidentType( + new PostmortemTemplateIncidentTypeRelationship() + .data( + new PostmortemTemplateIncidentTypeRelationshipData() + .id( + UUID.fromString( + "00000000-0000-0000-0000-000000000009")) + .type("incident_types")))) + .type(PostmortemTemplateType.POSTMORTEM_TEMPLATES)); try { PostmortemTemplateResponse result = apiInstance.createIncidentPostmortemTemplate(body); diff --git a/examples/v2/incidents/DeleteIncidentPostmortemTemplate.java b/examples/v2/incidents/DeleteIncidentPostmortemTemplate.java index 614b204a0f6..af551a35d4a 100644 --- a/examples/v2/incidents/DeleteIncidentPostmortemTemplate.java +++ b/examples/v2/incidents/DeleteIncidentPostmortemTemplate.java @@ -11,7 +11,7 @@ public static void main(String[] args) { IncidentsApi apiInstance = new IncidentsApi(defaultClient); try { - apiInstance.deleteIncidentPostmortemTemplate("template-456"); + apiInstance.deleteIncidentPostmortemTemplate("00000000-0000-0000-0000-000000000000"); } catch (ApiException e) { System.err.println("Exception when calling IncidentsApi#deleteIncidentPostmortemTemplate"); System.err.println("Status code: " + e.getCode()); diff --git a/examples/v2/incidents/GetIncidentPostmortemTemplate.java b/examples/v2/incidents/GetIncidentPostmortemTemplate.java index 064ac958977..03b7c2bd327 100644 --- a/examples/v2/incidents/GetIncidentPostmortemTemplate.java +++ b/examples/v2/incidents/GetIncidentPostmortemTemplate.java @@ -12,7 +12,8 @@ public static void main(String[] args) { IncidentsApi apiInstance = new IncidentsApi(defaultClient); try { - PostmortemTemplateResponse result = apiInstance.getIncidentPostmortemTemplate("template-456"); + PostmortemTemplateResponse result = + apiInstance.getIncidentPostmortemTemplate("00000000-0000-0000-0000-000000000000"); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling IncidentsApi#getIncidentPostmortemTemplate"); diff --git a/examples/v2/incidents/UpdateIncidentPostmortemTemplate.java b/examples/v2/incidents/UpdateIncidentPostmortemTemplate.java index 56641805786..d7d0f5e91be 100644 --- a/examples/v2/incidents/UpdateIncidentPostmortemTemplate.java +++ b/examples/v2/incidents/UpdateIncidentPostmortemTemplate.java @@ -3,11 +3,19 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.IncidentsApi; +import com.datadog.api.client.v2.model.ConfluencePostmortemSettings; +import com.datadog.api.client.v2.model.GoogleDocsPostmortemSettings; import com.datadog.api.client.v2.model.PostmortemTemplateAttributesRequest; +import com.datadog.api.client.v2.model.PostmortemTemplateCreateRelationships; import com.datadog.api.client.v2.model.PostmortemTemplateDataRequest; +import com.datadog.api.client.v2.model.PostmortemTemplateIncidentTypeRelationship; +import com.datadog.api.client.v2.model.PostmortemTemplateIncidentTypeRelationshipData; +import com.datadog.api.client.v2.model.PostmortemTemplateLocation; import com.datadog.api.client.v2.model.PostmortemTemplateRequest; import com.datadog.api.client.v2.model.PostmortemTemplateResponse; import com.datadog.api.client.v2.model.PostmortemTemplateType; +import java.time.OffsetDateTime; +import java.util.UUID; public class Example { public static void main(String[] args) { @@ -21,12 +29,45 @@ public static void main(String[] args) { new PostmortemTemplateDataRequest() .attributes( new PostmortemTemplateAttributesRequest() + .confluencePostmortemSettings( + new ConfluencePostmortemSettings() + .accountId("123456") + .parentId("345678") + .spaceId("789012")) + .content( + """ +# Overview + +# What Happened + +# Timeline + +# Action Items +""") + .googleDocsPostmortemSettings( + new GoogleDocsPostmortemSettings() + .accountId("123456") + .parentFolderId("789012")) + .isDefault(OffsetDateTime.parse("2024-01-01T00:00:00+00:00")) + .location(PostmortemTemplateLocation.DATADOG_NOTEBOOKS) .name("Standard Postmortem Template")) - .type(PostmortemTemplateType.POSTMORTEM_TEMPLATE)); + .id("00000000-0000-0000-0000-000000000000") + .relationships( + new PostmortemTemplateCreateRelationships() + .incidentType( + new PostmortemTemplateIncidentTypeRelationship() + .data( + new PostmortemTemplateIncidentTypeRelationshipData() + .id( + UUID.fromString( + "00000000-0000-0000-0000-000000000009")) + .type("incident_types")))) + .type(PostmortemTemplateType.POSTMORTEM_TEMPLATES)); try { PostmortemTemplateResponse result = - apiInstance.updateIncidentPostmortemTemplate("template-456", body); + apiInstance.updateIncidentPostmortemTemplate( + "00000000-0000-0000-0000-000000000000", body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling IncidentsApi#updateIncidentPostmortemTemplate"); diff --git a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java index 1abe2b4359d..5336e0147de 100644 --- a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java @@ -3820,7 +3820,7 @@ public CompletableFuture> deleteIncidentNotificationTemplateWi * *

See {@link #deleteIncidentPostmortemTemplateWithHttpInfo}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @throws ApiException if fails to make API call */ public void deleteIncidentPostmortemTemplate(String templateId) throws ApiException { @@ -3832,7 +3832,7 @@ public void deleteIncidentPostmortemTemplate(String templateId) throws ApiExcept * *

See {@link #deleteIncidentPostmortemTemplateWithHttpInfoAsync}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @return CompletableFuture */ public CompletableFuture deleteIncidentPostmortemTemplateAsync(String templateId) { @@ -3846,7 +3846,7 @@ public CompletableFuture deleteIncidentPostmortemTemplateAsync(String temp /** * Delete a postmortem template. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -3910,7 +3910,7 @@ public ApiResponse deleteIncidentPostmortemTemplateWithHttpInfo(String tem * *

See {@link #deleteIncidentPostmortemTemplateWithHttpInfo}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteIncidentPostmortemTemplateWithHttpInfoAsync( @@ -5602,7 +5602,7 @@ public ApiResponse getIncidentNotificationTemplate * *

See {@link #getIncidentPostmortemTemplateWithHttpInfo}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @return PostmortemTemplateResponse * @throws ApiException if fails to make API call */ @@ -5616,7 +5616,7 @@ public PostmortemTemplateResponse getIncidentPostmortemTemplate(String templateI * *

See {@link #getIncidentPostmortemTemplateWithHttpInfoAsync}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @return CompletableFuture<PostmortemTemplateResponse> */ public CompletableFuture getIncidentPostmortemTemplateAsync( @@ -5631,7 +5631,7 @@ public CompletableFuture getIncidentPostmortemTempla /** * Retrieve details of a specific postmortem template. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @return ApiResponse<PostmortemTemplateResponse> * @throws ApiException if fails to make API call * @http.response.details @@ -5694,7 +5694,7 @@ public ApiResponse getIncidentPostmortemTemplateWith * *

See {@link #getIncidentPostmortemTemplateWithHttpInfo}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @return CompletableFuture<ApiResponse<PostmortemTemplateResponse>> */ public CompletableFuture> @@ -7957,6 +7957,37 @@ public IncidentNotificationTemplateArray listIncidentNotificationTemplates( new GenericType() {}); } + /** Manage optional parameters to listIncidentPostmortemTemplates. */ + public static class ListIncidentPostmortemTemplatesOptionalParameters { + private UUID filterIncidentType; + private String sort; + + /** + * Set filterIncidentType. + * + * @param filterIncidentType Filter postmortem templates by the associated incident type ID. + * (optional) + * @return ListIncidentPostmortemTemplatesOptionalParameters + */ + public ListIncidentPostmortemTemplatesOptionalParameters filterIncidentType( + UUID filterIncidentType) { + this.filterIncidentType = filterIncidentType; + return this; + } + + /** + * Set sort. + * + * @param sort The attribute to sort results by. Prefix with - for descending + * order. (optional, default to "created_at") + * @return ListIncidentPostmortemTemplatesOptionalParameters + */ + public ListIncidentPostmortemTemplatesOptionalParameters sort(String sort) { + this.sort = sort; + return this; + } + } + /** * List postmortem templates. * @@ -7966,7 +7997,9 @@ public IncidentNotificationTemplateArray listIncidentNotificationTemplates( * @throws ApiException if fails to make API call */ public PostmortemTemplatesResponse listIncidentPostmortemTemplates() throws ApiException { - return listIncidentPostmortemTemplatesWithHttpInfo().getData(); + return listIncidentPostmortemTemplatesWithHttpInfo( + new ListIncidentPostmortemTemplatesOptionalParameters()) + .getData(); } /** @@ -7977,7 +8010,39 @@ public PostmortemTemplatesResponse listIncidentPostmortemTemplates() throws ApiE * @return CompletableFuture<PostmortemTemplatesResponse> */ public CompletableFuture listIncidentPostmortemTemplatesAsync() { - return listIncidentPostmortemTemplatesWithHttpInfoAsync() + return listIncidentPostmortemTemplatesWithHttpInfoAsync( + new ListIncidentPostmortemTemplatesOptionalParameters()) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * List postmortem templates. + * + *

See {@link #listIncidentPostmortemTemplatesWithHttpInfo}. + * + * @param parameters Optional parameters for the request. + * @return PostmortemTemplatesResponse + * @throws ApiException if fails to make API call + */ + public PostmortemTemplatesResponse listIncidentPostmortemTemplates( + ListIncidentPostmortemTemplatesOptionalParameters parameters) throws ApiException { + return listIncidentPostmortemTemplatesWithHttpInfo(parameters).getData(); + } + + /** + * List postmortem templates. + * + *

See {@link #listIncidentPostmortemTemplatesWithHttpInfoAsync}. + * + * @param parameters Optional parameters for the request. + * @return CompletableFuture<PostmortemTemplatesResponse> + */ + public CompletableFuture listIncidentPostmortemTemplatesAsync( + ListIncidentPostmortemTemplatesOptionalParameters parameters) { + return listIncidentPostmortemTemplatesWithHttpInfoAsync(parameters) .thenApply( response -> { return response.getData(); @@ -7987,6 +8052,7 @@ public CompletableFuture listIncidentPostmortemTemp /** * Retrieve a list of all postmortem templates for incidents. * + * @param parameters Optional parameters for the request. * @return ApiResponse<PostmortemTemplatesResponse> * @throws ApiException if fails to make API call * @http.response.details @@ -7998,8 +8064,8 @@ public CompletableFuture listIncidentPostmortemTemp * 429 Too many requests - * */ - public ApiResponse listIncidentPostmortemTemplatesWithHttpInfo() - throws ApiException { + public ApiResponse listIncidentPostmortemTemplatesWithHttpInfo( + ListIncidentPostmortemTemplatesOptionalParameters parameters) throws ApiException { // Check if unstable operation is enabled String operationId = "listIncidentPostmortemTemplates"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { @@ -8008,16 +8074,23 @@ public ApiResponse listIncidentPostmortemTemplatesW throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); } Object localVarPostBody = null; + UUID filterIncidentType = parameters.filterIncidentType; + String sort = parameters.sort; // create path and map variables String localVarPath = "/api/v2/incidents/config/postmortem-templates"; + List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); + localVarQueryParams.addAll( + apiClient.parameterToPairs("", "filter[incident-type]", filterIncidentType)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "sort", sort)); + Invocation.Builder builder = apiClient.createBuilder( "v2.IncidentsApi.listIncidentPostmortemTemplates", localVarPath, - new ArrayList(), + localVarQueryParams, localVarHeaderParams, new HashMap(), new String[] {"application/json"}, @@ -8038,10 +8111,12 @@ public ApiResponse listIncidentPostmortemTemplatesW * *

See {@link #listIncidentPostmortemTemplatesWithHttpInfo}. * + * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<PostmortemTemplatesResponse>> */ public CompletableFuture> - listIncidentPostmortemTemplatesWithHttpInfoAsync() { + listIncidentPostmortemTemplatesWithHttpInfoAsync( + ListIncidentPostmortemTemplatesOptionalParameters parameters) { // Check if unstable operation is enabled String operationId = "listIncidentPostmortemTemplates"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { @@ -8054,18 +8129,25 @@ public ApiResponse listIncidentPostmortemTemplatesW return result; } Object localVarPostBody = null; + UUID filterIncidentType = parameters.filterIncidentType; + String sort = parameters.sort; // create path and map variables String localVarPath = "/api/v2/incidents/config/postmortem-templates"; + List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); + localVarQueryParams.addAll( + apiClient.parameterToPairs("", "filter[incident-type]", filterIncidentType)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "sort", sort)); + Invocation.Builder builder; try { builder = apiClient.createBuilder( "v2.IncidentsApi.listIncidentPostmortemTemplates", localVarPath, - new ArrayList(), + localVarQueryParams, localVarHeaderParams, new HashMap(), new String[] {"application/json"}, @@ -11166,7 +11248,7 @@ public ApiResponse updateIncidentNotificationTempl * *

See {@link #updateIncidentPostmortemTemplateWithHttpInfo}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @param body (required) * @return PostmortemTemplateResponse * @throws ApiException if fails to make API call @@ -11181,7 +11263,7 @@ public PostmortemTemplateResponse updateIncidentPostmortemTemplate( * *

See {@link #updateIncidentPostmortemTemplateWithHttpInfoAsync}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @param body (required) * @return CompletableFuture<PostmortemTemplateResponse> */ @@ -11197,7 +11279,7 @@ public CompletableFuture updateIncidentPostmortemTem /** * Update an existing postmortem template. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @param body (required) * @return ApiResponse<PostmortemTemplateResponse> * @throws ApiException if fails to make API call @@ -11269,7 +11351,7 @@ public ApiResponse updateIncidentPostmortemTemplateW * *

See {@link #updateIncidentPostmortemTemplateWithHttpInfo}. * - * @param templateId The ID of the postmortem template (required) + * @param templateId The ID of the postmortem template. (required) * @param body (required) * @return CompletableFuture<ApiResponse<PostmortemTemplateResponse>> */ diff --git a/src/main/java/com/datadog/api/client/v2/model/ConfluencePostmortemSettings.java b/src/main/java/com/datadog/api/client/v2/model/ConfluencePostmortemSettings.java new file mode 100644 index 00000000000..f85c4c8b039 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/ConfluencePostmortemSettings.java @@ -0,0 +1,215 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * Settings for a postmortem template stored in Confluence. Required when location is + * confluence. + */ +@JsonPropertyOrder({ + ConfluencePostmortemSettings.JSON_PROPERTY_ACCOUNT_ID, + ConfluencePostmortemSettings.JSON_PROPERTY_PARENT_ID, + ConfluencePostmortemSettings.JSON_PROPERTY_SPACE_ID +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class ConfluencePostmortemSettings { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id"; + private String accountId; + + public static final String JSON_PROPERTY_PARENT_ID = "parent_id"; + private JsonNullable parentId = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_SPACE_ID = "space_id"; + private String spaceId; + + public ConfluencePostmortemSettings() {} + + @JsonCreator + public ConfluencePostmortemSettings( + @JsonProperty(required = true, value = JSON_PROPERTY_ACCOUNT_ID) String accountId, + @JsonProperty(required = true, value = JSON_PROPERTY_SPACE_ID) String spaceId) { + this.accountId = accountId; + this.spaceId = spaceId; + } + + public ConfluencePostmortemSettings accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * The ID of the Confluence integration account. + * + * @return accountId + */ + @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public ConfluencePostmortemSettings parentId(String parentId) { + this.parentId = JsonNullable.of(parentId); + return this; + } + + /** + * The ID of the parent Confluence page under which postmortems are created. + * + * @return parentId + */ + @jakarta.annotation.Nullable + @JsonIgnore + public String getParentId() { + return parentId.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_PARENT_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getParentId_JsonNullable() { + return parentId; + } + + @JsonProperty(JSON_PROPERTY_PARENT_ID) + public void setParentId_JsonNullable(JsonNullable parentId) { + this.parentId = parentId; + } + + public void setParentId(String parentId) { + this.parentId = JsonNullable.of(parentId); + } + + public ConfluencePostmortemSettings spaceId(String spaceId) { + this.spaceId = spaceId; + return this; + } + + /** + * The ID of the Confluence space where postmortems are created. + * + * @return spaceId + */ + @JsonProperty(JSON_PROPERTY_SPACE_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getSpaceId() { + return spaceId; + } + + public void setSpaceId(String spaceId) { + this.spaceId = spaceId; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return ConfluencePostmortemSettings + */ + @JsonAnySetter + public ConfluencePostmortemSettings putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this ConfluencePostmortemSettings object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConfluencePostmortemSettings confluencePostmortemSettings = (ConfluencePostmortemSettings) o; + return Objects.equals(this.accountId, confluencePostmortemSettings.accountId) + && Objects.equals(this.parentId, confluencePostmortemSettings.parentId) + && Objects.equals(this.spaceId, confluencePostmortemSettings.spaceId) + && Objects.equals( + this.additionalProperties, confluencePostmortemSettings.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, parentId, spaceId, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConfluencePostmortemSettings {\n"); + sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + sb.append(" parentId: ").append(toIndentedString(parentId)).append("\n"); + sb.append(" spaceId: ").append(toIndentedString(spaceId)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/GoogleDocsPostmortemSettings.java b/src/main/java/com/datadog/api/client/v2/model/GoogleDocsPostmortemSettings.java new file mode 100644 index 00000000000..c6eeb89e586 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/GoogleDocsPostmortemSettings.java @@ -0,0 +1,178 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * Settings for a postmortem template stored in Google Docs. Required when location is + * google_docs. + */ +@JsonPropertyOrder({ + GoogleDocsPostmortemSettings.JSON_PROPERTY_ACCOUNT_ID, + GoogleDocsPostmortemSettings.JSON_PROPERTY_PARENT_FOLDER_ID +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class GoogleDocsPostmortemSettings { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id"; + private String accountId; + + public static final String JSON_PROPERTY_PARENT_FOLDER_ID = "parent_folder_id"; + private String parentFolderId; + + public GoogleDocsPostmortemSettings() {} + + @JsonCreator + public GoogleDocsPostmortemSettings( + @JsonProperty(required = true, value = JSON_PROPERTY_ACCOUNT_ID) String accountId, + @JsonProperty(required = true, value = JSON_PROPERTY_PARENT_FOLDER_ID) + String parentFolderId) { + this.accountId = accountId; + this.parentFolderId = parentFolderId; + } + + public GoogleDocsPostmortemSettings accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * The ID of the Google Drive integration account. + * + * @return accountId + */ + @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public GoogleDocsPostmortemSettings parentFolderId(String parentFolderId) { + this.parentFolderId = parentFolderId; + return this; + } + + /** + * The ID of the Google Drive folder where postmortems are created. + * + * @return parentFolderId + */ + @JsonProperty(JSON_PROPERTY_PARENT_FOLDER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getParentFolderId() { + return parentFolderId; + } + + public void setParentFolderId(String parentFolderId) { + this.parentFolderId = parentFolderId; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return GoogleDocsPostmortemSettings + */ + @JsonAnySetter + public GoogleDocsPostmortemSettings putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this GoogleDocsPostmortemSettings object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GoogleDocsPostmortemSettings googleDocsPostmortemSettings = (GoogleDocsPostmortemSettings) o; + return Objects.equals(this.accountId, googleDocsPostmortemSettings.accountId) + && Objects.equals(this.parentFolderId, googleDocsPostmortemSettings.parentFolderId) + && Objects.equals( + this.additionalProperties, googleDocsPostmortemSettings.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, parentFolderId, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GoogleDocsPostmortemSettings {\n"); + sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + sb.append(" parentFolderId: ").append(toIndentedString(parentFolderId)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesRequest.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesRequest.java index 2837f299729..0878ffb747e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesRequest.java @@ -13,16 +13,42 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.time.OffsetDateTime; import java.util.HashMap; import java.util.Map; import java.util.Objects; +import org.openapitools.jackson.nullable.JsonNullable; /** Attributes for creating or updating a postmortem template. */ -@JsonPropertyOrder({PostmortemTemplateAttributesRequest.JSON_PROPERTY_NAME}) +@JsonPropertyOrder({ + PostmortemTemplateAttributesRequest.JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS, + PostmortemTemplateAttributesRequest.JSON_PROPERTY_CONTENT, + PostmortemTemplateAttributesRequest.JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS, + PostmortemTemplateAttributesRequest.JSON_PROPERTY_IS_DEFAULT, + PostmortemTemplateAttributesRequest.JSON_PROPERTY_LOCATION, + PostmortemTemplateAttributesRequest.JSON_PROPERTY_NAME +}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PostmortemTemplateAttributesRequest { @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS = + "confluence_postmortem_settings"; + private ConfluencePostmortemSettings confluencePostmortemSettings; + + public static final String JSON_PROPERTY_CONTENT = "content"; + private String content; + + public static final String JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS = + "google_docs_postmortem_settings"; + private GoogleDocsPostmortemSettings googleDocsPostmortemSettings; + + public static final String JSON_PROPERTY_IS_DEFAULT = "is_default"; + private JsonNullable isDefault = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_LOCATION = "location"; + private PostmortemTemplateLocation location = PostmortemTemplateLocation.DATADOG_NOTEBOOKS; + public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -34,13 +60,148 @@ public PostmortemTemplateAttributesRequest( this.name = name; } + public PostmortemTemplateAttributesRequest confluencePostmortemSettings( + ConfluencePostmortemSettings confluencePostmortemSettings) { + this.confluencePostmortemSettings = confluencePostmortemSettings; + this.unparsed |= confluencePostmortemSettings.unparsed; + return this; + } + + /** + * Settings for a postmortem template stored in Confluence. Required when location is + * confluence. + * + * @return confluencePostmortemSettings + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ConfluencePostmortemSettings getConfluencePostmortemSettings() { + return confluencePostmortemSettings; + } + + public void setConfluencePostmortemSettings( + ConfluencePostmortemSettings confluencePostmortemSettings) { + this.confluencePostmortemSettings = confluencePostmortemSettings; + if (confluencePostmortemSettings != null) { + this.unparsed |= confluencePostmortemSettings.unparsed; + } + } + + public PostmortemTemplateAttributesRequest content(String content) { + this.content = content; + return this; + } + + /** + * The templated content of the postmortem, supporting Markdown and incident template variables. + * + * @return content + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CONTENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public PostmortemTemplateAttributesRequest googleDocsPostmortemSettings( + GoogleDocsPostmortemSettings googleDocsPostmortemSettings) { + this.googleDocsPostmortemSettings = googleDocsPostmortemSettings; + this.unparsed |= googleDocsPostmortemSettings.unparsed; + return this; + } + + /** + * Settings for a postmortem template stored in Google Docs. Required when location + * is google_docs. + * + * @return googleDocsPostmortemSettings + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public GoogleDocsPostmortemSettings getGoogleDocsPostmortemSettings() { + return googleDocsPostmortemSettings; + } + + public void setGoogleDocsPostmortemSettings( + GoogleDocsPostmortemSettings googleDocsPostmortemSettings) { + this.googleDocsPostmortemSettings = googleDocsPostmortemSettings; + if (googleDocsPostmortemSettings != null) { + this.unparsed |= googleDocsPostmortemSettings.unparsed; + } + } + + public PostmortemTemplateAttributesRequest isDefault(OffsetDateTime isDefault) { + this.isDefault = JsonNullable.of(isDefault); + return this; + } + + /** + * When set, marks this template as a default. The effective default for an incident type is the + * template with the most recent is_default timestamp. Set to null to + * unset. + * + * @return isDefault + */ + @jakarta.annotation.Nullable + @JsonIgnore + public OffsetDateTime getIsDefault() { + return isDefault.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getIsDefault_JsonNullable() { + return isDefault; + } + + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + public void setIsDefault_JsonNullable(JsonNullable isDefault) { + this.isDefault = isDefault; + } + + public void setIsDefault(OffsetDateTime isDefault) { + this.isDefault = JsonNullable.of(isDefault); + } + + public PostmortemTemplateAttributesRequest location(PostmortemTemplateLocation location) { + this.location = location; + this.unparsed |= !location.isValid(); + return this; + } + + /** + * The location where the postmortem is created and stored. + * + * @return location + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LOCATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PostmortemTemplateLocation getLocation() { + return location; + } + + public void setLocation(PostmortemTemplateLocation location) { + if (!location.isValid()) { + this.unparsed = true; + } + this.location = location; + } + public PostmortemTemplateAttributesRequest name(String name) { this.name = name; return this; } /** - * The name of the template + * The name of the template. * * @return name */ @@ -111,20 +272,45 @@ public boolean equals(Object o) { } PostmortemTemplateAttributesRequest postmortemTemplateAttributesRequest = (PostmortemTemplateAttributesRequest) o; - return Objects.equals(this.name, postmortemTemplateAttributesRequest.name) + return Objects.equals( + this.confluencePostmortemSettings, + postmortemTemplateAttributesRequest.confluencePostmortemSettings) + && Objects.equals(this.content, postmortemTemplateAttributesRequest.content) + && Objects.equals( + this.googleDocsPostmortemSettings, + postmortemTemplateAttributesRequest.googleDocsPostmortemSettings) + && Objects.equals(this.isDefault, postmortemTemplateAttributesRequest.isDefault) + && Objects.equals(this.location, postmortemTemplateAttributesRequest.location) + && Objects.equals(this.name, postmortemTemplateAttributesRequest.name) && Objects.equals( this.additionalProperties, postmortemTemplateAttributesRequest.additionalProperties); } @Override public int hashCode() { - return Objects.hash(name, additionalProperties); + return Objects.hash( + confluencePostmortemSettings, + content, + googleDocsPostmortemSettings, + isDefault, + location, + name, + additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostmortemTemplateAttributesRequest {\n"); + sb.append(" confluencePostmortemSettings: ") + .append(toIndentedString(confluencePostmortemSettings)) + .append("\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" googleDocsPostmortemSettings: ") + .append(toIndentedString(googleDocsPostmortemSettings)) + .append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesResponse.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesResponse.java index d114c8d403e..a7051156c48 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateAttributesResponse.java @@ -20,7 +20,12 @@ /** Attributes of a postmortem template returned in a response. */ @JsonPropertyOrder({ + PostmortemTemplateAttributesResponse.JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS, + PostmortemTemplateAttributesResponse.JSON_PROPERTY_CONTENT, PostmortemTemplateAttributesResponse.JSON_PROPERTY_CREATED_AT, + PostmortemTemplateAttributesResponse.JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS, + PostmortemTemplateAttributesResponse.JSON_PROPERTY_IS_DEFAULT, + PostmortemTemplateAttributesResponse.JSON_PROPERTY_LOCATION, PostmortemTemplateAttributesResponse.JSON_PROPERTY_MODIFIED_AT, PostmortemTemplateAttributesResponse.JSON_PROPERTY_NAME }) @@ -28,9 +33,26 @@ value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PostmortemTemplateAttributesResponse { @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS = + "confluence_postmortem_settings"; + private ConfluencePostmortemSettings confluencePostmortemSettings; + + public static final String JSON_PROPERTY_CONTENT = "content"; + private String content; + public static final String JSON_PROPERTY_CREATED_AT = "createdAt"; private OffsetDateTime createdAt; + public static final String JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS = + "google_docs_postmortem_settings"; + private GoogleDocsPostmortemSettings googleDocsPostmortemSettings; + + public static final String JSON_PROPERTY_IS_DEFAULT = "is_default"; + private OffsetDateTime isDefault; + + public static final String JSON_PROPERTY_LOCATION = "location"; + private PostmortemTemplateLocation location = PostmortemTemplateLocation.DATADOG_NOTEBOOKS; + public static final String JSON_PROPERTY_MODIFIED_AT = "modifiedAt"; private OffsetDateTime modifiedAt; @@ -41,21 +63,78 @@ public PostmortemTemplateAttributesResponse() {} @JsonCreator public PostmortemTemplateAttributesResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_CONTENT) String content, @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt, + @JsonProperty(required = true, value = JSON_PROPERTY_IS_DEFAULT) OffsetDateTime isDefault, + @JsonProperty(required = true, value = JSON_PROPERTY_LOCATION) + PostmortemTemplateLocation location, @JsonProperty(required = true, value = JSON_PROPERTY_MODIFIED_AT) OffsetDateTime modifiedAt, @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name) { + this.content = content; this.createdAt = createdAt; + this.isDefault = isDefault; + if (isDefault != null) {} + this.location = location; + this.unparsed |= !location.isValid(); this.modifiedAt = modifiedAt; this.name = name; } + public PostmortemTemplateAttributesResponse confluencePostmortemSettings( + ConfluencePostmortemSettings confluencePostmortemSettings) { + this.confluencePostmortemSettings = confluencePostmortemSettings; + this.unparsed |= confluencePostmortemSettings.unparsed; + return this; + } + + /** + * Settings for a postmortem template stored in Confluence. Required when location is + * confluence. + * + * @return confluencePostmortemSettings + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ConfluencePostmortemSettings getConfluencePostmortemSettings() { + return confluencePostmortemSettings; + } + + public void setConfluencePostmortemSettings( + ConfluencePostmortemSettings confluencePostmortemSettings) { + this.confluencePostmortemSettings = confluencePostmortemSettings; + if (confluencePostmortemSettings != null) { + this.unparsed |= confluencePostmortemSettings.unparsed; + } + } + + public PostmortemTemplateAttributesResponse content(String content) { + this.content = content; + return this; + } + + /** + * The templated content of the postmortem, supporting Markdown and incident template variables. + * + * @return content + */ + @JsonProperty(JSON_PROPERTY_CONTENT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + public PostmortemTemplateAttributesResponse createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } /** - * When the template was created + * When the template was created. * * @return createdAt */ @@ -69,13 +148,88 @@ public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } + public PostmortemTemplateAttributesResponse googleDocsPostmortemSettings( + GoogleDocsPostmortemSettings googleDocsPostmortemSettings) { + this.googleDocsPostmortemSettings = googleDocsPostmortemSettings; + this.unparsed |= googleDocsPostmortemSettings.unparsed; + return this; + } + + /** + * Settings for a postmortem template stored in Google Docs. Required when location + * is google_docs. + * + * @return googleDocsPostmortemSettings + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public GoogleDocsPostmortemSettings getGoogleDocsPostmortemSettings() { + return googleDocsPostmortemSettings; + } + + public void setGoogleDocsPostmortemSettings( + GoogleDocsPostmortemSettings googleDocsPostmortemSettings) { + this.googleDocsPostmortemSettings = googleDocsPostmortemSettings; + if (googleDocsPostmortemSettings != null) { + this.unparsed |= googleDocsPostmortemSettings.unparsed; + } + } + + public PostmortemTemplateAttributesResponse isDefault(OffsetDateTime isDefault) { + this.isDefault = isDefault; + if (isDefault != null) {} + return this; + } + + /** + * When set, marks this template as a default. The effective default for an incident type is the + * template with the most recent is_default timestamp. + * + * @return isDefault + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getIsDefault() { + return isDefault; + } + + public void setIsDefault(OffsetDateTime isDefault) { + this.isDefault = isDefault; + } + + public PostmortemTemplateAttributesResponse location(PostmortemTemplateLocation location) { + this.location = location; + this.unparsed |= !location.isValid(); + return this; + } + + /** + * The location where the postmortem is created and stored. + * + * @return location + */ + @JsonProperty(JSON_PROPERTY_LOCATION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PostmortemTemplateLocation getLocation() { + return location; + } + + public void setLocation(PostmortemTemplateLocation location) { + if (!location.isValid()) { + this.unparsed = true; + } + this.location = location; + } + public PostmortemTemplateAttributesResponse modifiedAt(OffsetDateTime modifiedAt) { this.modifiedAt = modifiedAt; return this; } /** - * When the template was last modified + * When the template was last modified. * * @return modifiedAt */ @@ -95,7 +249,7 @@ public PostmortemTemplateAttributesResponse name(String name) { } /** - * The name of the template + * The name of the template. * * @return name */ @@ -166,7 +320,16 @@ public boolean equals(Object o) { } PostmortemTemplateAttributesResponse postmortemTemplateAttributesResponse = (PostmortemTemplateAttributesResponse) o; - return Objects.equals(this.createdAt, postmortemTemplateAttributesResponse.createdAt) + return Objects.equals( + this.confluencePostmortemSettings, + postmortemTemplateAttributesResponse.confluencePostmortemSettings) + && Objects.equals(this.content, postmortemTemplateAttributesResponse.content) + && Objects.equals(this.createdAt, postmortemTemplateAttributesResponse.createdAt) + && Objects.equals( + this.googleDocsPostmortemSettings, + postmortemTemplateAttributesResponse.googleDocsPostmortemSettings) + && Objects.equals(this.isDefault, postmortemTemplateAttributesResponse.isDefault) + && Objects.equals(this.location, postmortemTemplateAttributesResponse.location) && Objects.equals(this.modifiedAt, postmortemTemplateAttributesResponse.modifiedAt) && Objects.equals(this.name, postmortemTemplateAttributesResponse.name) && Objects.equals( @@ -175,14 +338,32 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(createdAt, modifiedAt, name, additionalProperties); + return Objects.hash( + confluencePostmortemSettings, + content, + createdAt, + googleDocsPostmortemSettings, + isDefault, + location, + modifiedAt, + name, + additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostmortemTemplateAttributesResponse {\n"); + sb.append(" confluencePostmortemSettings: ") + .append(toIndentedString(confluencePostmortemSettings)) + .append("\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" googleDocsPostmortemSettings: ") + .append(toIndentedString(googleDocsPostmortemSettings)) + .append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateCreateRelationships.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateCreateRelationships.java new file mode 100644 index 00000000000..ec1e553fac7 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateCreateRelationships.java @@ -0,0 +1,145 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * Relationships for a postmortem template. incident_type is required when creating a + * template and is immutable afterwards. + */ +@JsonPropertyOrder({PostmortemTemplateCreateRelationships.JSON_PROPERTY_INCIDENT_TYPE}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PostmortemTemplateCreateRelationships { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_INCIDENT_TYPE = "incident_type"; + private PostmortemTemplateIncidentTypeRelationship incidentType; + + public PostmortemTemplateCreateRelationships incidentType( + PostmortemTemplateIncidentTypeRelationship incidentType) { + this.incidentType = incidentType; + this.unparsed |= incidentType.unparsed; + return this; + } + + /** + * Relationship to the incident type this template belongs to. + * + * @return incidentType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INCIDENT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PostmortemTemplateIncidentTypeRelationship getIncidentType() { + return incidentType; + } + + public void setIncidentType(PostmortemTemplateIncidentTypeRelationship incidentType) { + this.incidentType = incidentType; + if (incidentType != null) { + this.unparsed |= incidentType.unparsed; + } + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return PostmortemTemplateCreateRelationships + */ + @JsonAnySetter + public PostmortemTemplateCreateRelationships putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this PostmortemTemplateCreateRelationships object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostmortemTemplateCreateRelationships postmortemTemplateCreateRelationships = + (PostmortemTemplateCreateRelationships) o; + return Objects.equals(this.incidentType, postmortemTemplateCreateRelationships.incidentType) + && Objects.equals( + this.additionalProperties, postmortemTemplateCreateRelationships.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(incidentType, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostmortemTemplateCreateRelationships {\n"); + sb.append(" incidentType: ").append(toIndentedString(incidentType)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataRequest.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataRequest.java index 56494369935..d20c51a0cba 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataRequest.java @@ -20,6 +20,8 @@ /** Data object for creating or updating a postmortem template. */ @JsonPropertyOrder({ PostmortemTemplateDataRequest.JSON_PROPERTY_ATTRIBUTES, + PostmortemTemplateDataRequest.JSON_PROPERTY_ID, + PostmortemTemplateDataRequest.JSON_PROPERTY_RELATIONSHIPS, PostmortemTemplateDataRequest.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( @@ -29,6 +31,12 @@ public class PostmortemTemplateDataRequest { public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; private PostmortemTemplateAttributesRequest attributes; + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_RELATIONSHIPS = "relationships"; + private PostmortemTemplateCreateRelationships relationships; + public static final String JSON_PROPERTY_TYPE = "type"; private PostmortemTemplateType type; @@ -69,6 +77,54 @@ public void setAttributes(PostmortemTemplateAttributesRequest attributes) { } } + public PostmortemTemplateDataRequest id(String id) { + this.id = id; + return this; + } + + /** + * The ID of the template. Required when updating. + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PostmortemTemplateDataRequest relationships( + PostmortemTemplateCreateRelationships relationships) { + this.relationships = relationships; + this.unparsed |= relationships.unparsed; + return this; + } + + /** + * Relationships for a postmortem template. incident_type is required when creating a + * template and is immutable afterwards. + * + * @return relationships + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_RELATIONSHIPS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PostmortemTemplateCreateRelationships getRelationships() { + return relationships; + } + + public void setRelationships(PostmortemTemplateCreateRelationships relationships) { + this.relationships = relationships; + if (relationships != null) { + this.unparsed |= relationships.unparsed; + } + } + public PostmortemTemplateDataRequest type(PostmortemTemplateType type) { this.type = type; this.unparsed |= !type.isValid(); @@ -76,7 +132,7 @@ public PostmortemTemplateDataRequest type(PostmortemTemplateType type) { } /** - * Postmortem template resource type + * Postmortem template resource type. * * @return type */ @@ -150,6 +206,8 @@ public boolean equals(Object o) { } PostmortemTemplateDataRequest postmortemTemplateDataRequest = (PostmortemTemplateDataRequest) o; return Objects.equals(this.attributes, postmortemTemplateDataRequest.attributes) + && Objects.equals(this.id, postmortemTemplateDataRequest.id) + && Objects.equals(this.relationships, postmortemTemplateDataRequest.relationships) && Objects.equals(this.type, postmortemTemplateDataRequest.type) && Objects.equals( this.additionalProperties, postmortemTemplateDataRequest.additionalProperties); @@ -157,7 +215,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(attributes, type, additionalProperties); + return Objects.hash(attributes, id, relationships, type, additionalProperties); } @Override @@ -165,6 +223,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PostmortemTemplateDataRequest {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" relationships: ").append(toIndentedString(relationships)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataResponse.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataResponse.java index 25740a4e7df..c81a4472a90 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateDataResponse.java @@ -21,6 +21,7 @@ @JsonPropertyOrder({ PostmortemTemplateDataResponse.JSON_PROPERTY_ATTRIBUTES, PostmortemTemplateDataResponse.JSON_PROPERTY_ID, + PostmortemTemplateDataResponse.JSON_PROPERTY_RELATIONSHIPS, PostmortemTemplateDataResponse.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( @@ -33,6 +34,9 @@ public class PostmortemTemplateDataResponse { public static final String JSON_PROPERTY_ID = "id"; private String id; + public static final String JSON_PROPERTY_RELATIONSHIPS = "relationships"; + private PostmortemTemplateResponseRelationships relationships; + public static final String JSON_PROPERTY_TYPE = "type"; private PostmortemTemplateType type; @@ -82,7 +86,7 @@ public PostmortemTemplateDataResponse id(String id) { } /** - * The ID of the template + * The ID of the template. * * @return id */ @@ -96,6 +100,32 @@ public void setId(String id) { this.id = id; } + public PostmortemTemplateDataResponse relationships( + PostmortemTemplateResponseRelationships relationships) { + this.relationships = relationships; + this.unparsed |= relationships.unparsed; + return this; + } + + /** + * Relationships of a postmortem template returned in a response. + * + * @return relationships + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_RELATIONSHIPS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PostmortemTemplateResponseRelationships getRelationships() { + return relationships; + } + + public void setRelationships(PostmortemTemplateResponseRelationships relationships) { + this.relationships = relationships; + if (relationships != null) { + this.unparsed |= relationships.unparsed; + } + } + public PostmortemTemplateDataResponse type(PostmortemTemplateType type) { this.type = type; this.unparsed |= !type.isValid(); @@ -103,7 +133,7 @@ public PostmortemTemplateDataResponse type(PostmortemTemplateType type) { } /** - * Postmortem template resource type + * Postmortem template resource type. * * @return type */ @@ -179,6 +209,7 @@ public boolean equals(Object o) { (PostmortemTemplateDataResponse) o; return Objects.equals(this.attributes, postmortemTemplateDataResponse.attributes) && Objects.equals(this.id, postmortemTemplateDataResponse.id) + && Objects.equals(this.relationships, postmortemTemplateDataResponse.relationships) && Objects.equals(this.type, postmortemTemplateDataResponse.type) && Objects.equals( this.additionalProperties, postmortemTemplateDataResponse.additionalProperties); @@ -186,7 +217,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(attributes, id, type, additionalProperties); + return Objects.hash(attributes, id, relationships, type, additionalProperties); } @Override @@ -195,6 +226,7 @@ public String toString() { sb.append("class PostmortemTemplateDataResponse {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" relationships: ").append(toIndentedString(relationships)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateIncidentTypeRelationship.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateIncidentTypeRelationship.java new file mode 100644 index 00000000000..ea15a647379 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateIncidentTypeRelationship.java @@ -0,0 +1,154 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Relationship to the incident type this template belongs to. */ +@JsonPropertyOrder({PostmortemTemplateIncidentTypeRelationship.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PostmortemTemplateIncidentTypeRelationship { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private PostmortemTemplateIncidentTypeRelationshipData data; + + public PostmortemTemplateIncidentTypeRelationship() {} + + @JsonCreator + public PostmortemTemplateIncidentTypeRelationship( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + PostmortemTemplateIncidentTypeRelationshipData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public PostmortemTemplateIncidentTypeRelationship data( + PostmortemTemplateIncidentTypeRelationshipData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Incident type relationship data. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PostmortemTemplateIncidentTypeRelationshipData getData() { + return data; + } + + public void setData(PostmortemTemplateIncidentTypeRelationshipData data) { + this.data = data; + if (data != null) { + this.unparsed |= data.unparsed; + } + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return PostmortemTemplateIncidentTypeRelationship + */ + @JsonAnySetter + public PostmortemTemplateIncidentTypeRelationship putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this PostmortemTemplateIncidentTypeRelationship object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostmortemTemplateIncidentTypeRelationship postmortemTemplateIncidentTypeRelationship = + (PostmortemTemplateIncidentTypeRelationship) o; + return Objects.equals(this.data, postmortemTemplateIncidentTypeRelationship.data) + && Objects.equals( + this.additionalProperties, + postmortemTemplateIncidentTypeRelationship.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostmortemTemplateIncidentTypeRelationship {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateIncidentTypeRelationshipData.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateIncidentTypeRelationshipData.java new file mode 100644 index 00000000000..57ed80187f4 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateIncidentTypeRelationshipData.java @@ -0,0 +1,178 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; + +/** Incident type relationship data. */ +@JsonPropertyOrder({ + PostmortemTemplateIncidentTypeRelationshipData.JSON_PROPERTY_ID, + PostmortemTemplateIncidentTypeRelationshipData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PostmortemTemplateIncidentTypeRelationshipData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public PostmortemTemplateIncidentTypeRelationshipData() {} + + @JsonCreator + public PostmortemTemplateIncidentTypeRelationshipData( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) String type) { + this.id = id; + this.type = type; + } + + public PostmortemTemplateIncidentTypeRelationshipData id(UUID id) { + this.id = id; + return this; + } + + /** + * The incident type identifier. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + public void setId(UUID id) { + this.id = id; + } + + public PostmortemTemplateIncidentTypeRelationshipData type(String type) { + this.type = type; + return this; + } + + /** + * The incident type resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return PostmortemTemplateIncidentTypeRelationshipData + */ + @JsonAnySetter + public PostmortemTemplateIncidentTypeRelationshipData putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this PostmortemTemplateIncidentTypeRelationshipData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostmortemTemplateIncidentTypeRelationshipData postmortemTemplateIncidentTypeRelationshipData = + (PostmortemTemplateIncidentTypeRelationshipData) o; + return Objects.equals(this.id, postmortemTemplateIncidentTypeRelationshipData.id) + && Objects.equals(this.type, postmortemTemplateIncidentTypeRelationshipData.type) + && Objects.equals( + this.additionalProperties, + postmortemTemplateIncidentTypeRelationshipData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostmortemTemplateIncidentTypeRelationshipData {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateLocation.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateLocation.java new file mode 100644 index 00000000000..49c5115bd01 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateLocation.java @@ -0,0 +1,61 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** The location where the postmortem is created and stored. */ +@JsonSerialize(using = PostmortemTemplateLocation.PostmortemTemplateLocationSerializer.class) +public class PostmortemTemplateLocation extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("datadog_notebooks", "confluence", "google_docs")); + + public static final PostmortemTemplateLocation DATADOG_NOTEBOOKS = + new PostmortemTemplateLocation("datadog_notebooks"); + public static final PostmortemTemplateLocation CONFLUENCE = + new PostmortemTemplateLocation("confluence"); + public static final PostmortemTemplateLocation GOOGLE_DOCS = + new PostmortemTemplateLocation("google_docs"); + + PostmortemTemplateLocation(String value) { + super(value, allowedValues); + } + + public static class PostmortemTemplateLocationSerializer + extends StdSerializer { + public PostmortemTemplateLocationSerializer(Class t) { + super(t); + } + + public PostmortemTemplateLocationSerializer() { + this(null); + } + + @Override + public void serialize( + PostmortemTemplateLocation value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static PostmortemTemplateLocation fromValue(String value) { + return new PostmortemTemplateLocation(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateResponseRelationships.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateResponseRelationships.java new file mode 100644 index 00000000000..4988be7c2e7 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateResponseRelationships.java @@ -0,0 +1,178 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Relationships of a postmortem template returned in a response. */ +@JsonPropertyOrder({ + PostmortemTemplateResponseRelationships.JSON_PROPERTY_INCIDENT_TYPE, + PostmortemTemplateResponseRelationships.JSON_PROPERTY_LAST_MODIFIED_BY_USER +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PostmortemTemplateResponseRelationships { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_INCIDENT_TYPE = "incident_type"; + private PostmortemTemplateIncidentTypeRelationship incidentType; + + public static final String JSON_PROPERTY_LAST_MODIFIED_BY_USER = "last_modified_by_user"; + private PostmortemTemplateUserRelationship lastModifiedByUser; + + public PostmortemTemplateResponseRelationships incidentType( + PostmortemTemplateIncidentTypeRelationship incidentType) { + this.incidentType = incidentType; + this.unparsed |= incidentType.unparsed; + return this; + } + + /** + * Relationship to the incident type this template belongs to. + * + * @return incidentType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INCIDENT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PostmortemTemplateIncidentTypeRelationship getIncidentType() { + return incidentType; + } + + public void setIncidentType(PostmortemTemplateIncidentTypeRelationship incidentType) { + this.incidentType = incidentType; + if (incidentType != null) { + this.unparsed |= incidentType.unparsed; + } + } + + public PostmortemTemplateResponseRelationships lastModifiedByUser( + PostmortemTemplateUserRelationship lastModifiedByUser) { + this.lastModifiedByUser = lastModifiedByUser; + this.unparsed |= lastModifiedByUser.unparsed; + return this; + } + + /** + * Relationship to a user. + * + * @return lastModifiedByUser + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAST_MODIFIED_BY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PostmortemTemplateUserRelationship getLastModifiedByUser() { + return lastModifiedByUser; + } + + public void setLastModifiedByUser(PostmortemTemplateUserRelationship lastModifiedByUser) { + this.lastModifiedByUser = lastModifiedByUser; + if (lastModifiedByUser != null) { + this.unparsed |= lastModifiedByUser.unparsed; + } + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return PostmortemTemplateResponseRelationships + */ + @JsonAnySetter + public PostmortemTemplateResponseRelationships putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this PostmortemTemplateResponseRelationships object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostmortemTemplateResponseRelationships postmortemTemplateResponseRelationships = + (PostmortemTemplateResponseRelationships) o; + return Objects.equals(this.incidentType, postmortemTemplateResponseRelationships.incidentType) + && Objects.equals( + this.lastModifiedByUser, postmortemTemplateResponseRelationships.lastModifiedByUser) + && Objects.equals( + this.additionalProperties, + postmortemTemplateResponseRelationships.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(incidentType, lastModifiedByUser, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostmortemTemplateResponseRelationships {\n"); + sb.append(" incidentType: ").append(toIndentedString(incidentType)).append("\n"); + sb.append(" lastModifiedByUser: ").append(toIndentedString(lastModifiedByUser)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateType.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateType.java index 509e81022dd..786ae01bca7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateType.java +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateType.java @@ -18,15 +18,15 @@ import java.util.HashSet; import java.util.Set; -/** Postmortem template resource type */ +/** Postmortem template resource type. */ @JsonSerialize(using = PostmortemTemplateType.PostmortemTemplateTypeSerializer.class) public class PostmortemTemplateType extends ModelEnum { private static final Set allowedValues = - new HashSet(Arrays.asList("postmortem_template")); + new HashSet(Arrays.asList("postmortem_templates")); - public static final PostmortemTemplateType POSTMORTEM_TEMPLATE = - new PostmortemTemplateType("postmortem_template"); + public static final PostmortemTemplateType POSTMORTEM_TEMPLATES = + new PostmortemTemplateType("postmortem_templates"); PostmortemTemplateType(String value) { super(value, allowedValues); diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateUserRelationship.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateUserRelationship.java new file mode 100644 index 00000000000..549f812d32a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateUserRelationship.java @@ -0,0 +1,151 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Relationship to a user. */ +@JsonPropertyOrder({PostmortemTemplateUserRelationship.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PostmortemTemplateUserRelationship { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private PostmortemTemplateUserRelationshipData data; + + public PostmortemTemplateUserRelationship() {} + + @JsonCreator + public PostmortemTemplateUserRelationship( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + PostmortemTemplateUserRelationshipData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public PostmortemTemplateUserRelationship data(PostmortemTemplateUserRelationshipData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * User relationship data. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PostmortemTemplateUserRelationshipData getData() { + return data; + } + + public void setData(PostmortemTemplateUserRelationshipData data) { + this.data = data; + if (data != null) { + this.unparsed |= data.unparsed; + } + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return PostmortemTemplateUserRelationship + */ + @JsonAnySetter + public PostmortemTemplateUserRelationship putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this PostmortemTemplateUserRelationship object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostmortemTemplateUserRelationship postmortemTemplateUserRelationship = + (PostmortemTemplateUserRelationship) o; + return Objects.equals(this.data, postmortemTemplateUserRelationship.data) + && Objects.equals( + this.additionalProperties, postmortemTemplateUserRelationship.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostmortemTemplateUserRelationship {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateUserRelationshipData.java b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateUserRelationshipData.java new file mode 100644 index 00000000000..760f7f690d0 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PostmortemTemplateUserRelationshipData.java @@ -0,0 +1,176 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; + +/** User relationship data. */ +@JsonPropertyOrder({ + PostmortemTemplateUserRelationshipData.JSON_PROPERTY_ID, + PostmortemTemplateUserRelationshipData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PostmortemTemplateUserRelationshipData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public PostmortemTemplateUserRelationshipData() {} + + @JsonCreator + public PostmortemTemplateUserRelationshipData( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) String type) { + this.id = id; + this.type = type; + } + + public PostmortemTemplateUserRelationshipData id(UUID id) { + this.id = id; + return this; + } + + /** + * The user identifier. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + public void setId(UUID id) { + this.id = id; + } + + public PostmortemTemplateUserRelationshipData type(String type) { + this.type = type; + return this; + } + + /** + * The user resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return PostmortemTemplateUserRelationshipData + */ + @JsonAnySetter + public PostmortemTemplateUserRelationshipData putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this PostmortemTemplateUserRelationshipData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostmortemTemplateUserRelationshipData postmortemTemplateUserRelationshipData = + (PostmortemTemplateUserRelationshipData) o; + return Objects.equals(this.id, postmortemTemplateUserRelationshipData.id) + && Objects.equals(this.type, postmortemTemplateUserRelationshipData.type) + && Objects.equals( + this.additionalProperties, postmortemTemplateUserRelationshipData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostmortemTemplateUserRelationshipData {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json index dbf89c929d7..0b1cdf6a6a8 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json +++ b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json @@ -28,6 +28,6 @@ "timeToLive": { "unlimited": true }, - "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json index e94edfb7099..91c8275f382 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json @@ -28,6 +28,6 @@ "timeToLive": { "unlimited": true }, - "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_AWS_Account_object_response.json index bc99e6e9183..97e4959085e 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c206b9cd-771e-14f0-5d18-42a3a48556cf" + "id": "c206b9cd-771e-14f0-5d18-42a3a48556ce" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json index bb3f69aef75..8b502f67b92 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "c206b9cd-771e-14f0-5d18-42a3a48556ce" + "id": "c206b9cd-771e-14f0-5d18-42a3a48556cf" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json index c82b6c27f29..a42ef29bfae 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json index 0d38d7d0a6a..56bdf3b041a 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json index 490992cbf88..c1b1d271e30 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json index a0731b5ad4a..efb480e06b4 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json index 70fc4d3589b..b06edb7febf 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json index 6352d5f0102..87cb96a7640 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json index 7711ea26b7b..2e4479a46a7 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json index 2e4479a46a7..994e56ed9eb 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json index 1080a831ec7..2f3d90089b3 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json index a66b20aa83c..a8c4aa7a929 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ef" + "id": "79babc38-7a70-5347-c8a6-73b0e7014600" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json index 4462748bb01..c1a5c028ce5 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f0" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json index c4e56d41481..e41acb101d1 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145e9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json index dfe4106a826..196d4f575b5 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json index acd1873b7ae..fb05ec6bb75 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d33" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d31" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json index 46d0a91eab5..95cd953a629 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json index c4e83f2e617..79c86000d6f 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d35" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d33" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json index 31297caa9cd..bda6b7d03ba 100644 --- a/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffe" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80fff" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json index cfae7af1511..94ffd01c024 100644 --- a/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b32f" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b330" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json index 713ac84fbc4..94901e63e27 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ed" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json index 8e5c491f456..a6249186f05 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fa" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json index 60476d2ec8b..5ba8e36023e 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json @@ -18,7 +18,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2bcb392-2d71-be89-5578-460535c541af" + "id": "b2bcb392-2d71-be89-5578-460535c541b0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json index ea94cd9866e..91451dfea49 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2e" + "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json index 574c0486c71..32bcba6d838 100644 --- a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c518" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c513" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json index cd295ed246c..82770941cf9 100644 --- a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95be" + "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95bf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json index 223e245f710..0f1fb58adbb 100644 --- a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae44" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae48" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae45" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json index 213894420af..086d866ea4d 100644 --- a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae44" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae48" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json index 104c414ce5a..0eefe40e378 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e84" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json index 724b9519920..6b96371a483 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e83" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa6" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json index 8602832ff15..0115b2fe737 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e85" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json index 6e1acd1d8ab..542b97bd388 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" + "id": "01611a93-5e74-0630-3c51-f707c3b51e80" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json b/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json index 95a9b514916..18bfaac3c98 100644 --- a/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f6" + "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f5" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json b/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json index c995fd8ce46..4db34a7a497 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f5" + "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f6" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json index 3af6b797aec..0f7572f4ef5 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c75" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c74" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c76" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c75" }, { "httpRequest": { @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3f" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json index 75bec16cf03..09067379e94 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c72" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c71" }, { "httpRequest": { @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3c" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json index df7ec302f17..59f9627d8a8 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addca" + "id": "32c558cf-4a2e-f914-f443-ab94000addc9" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcb" + "id": "32c558cf-4a2e-f914-f443-ab94000addca" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json index 992baa6ee80..fef955ebbee 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51862" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json index 83646ddb287..4e7150c70a8 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "bf073e02-7e0b-dc8b-b075-82932236e50a" + "id": "bf073e02-7e0b-dc8b-b075-82932236e50b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json index 19dc53b7c6a..34bed256766 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "bf073e02-7e0b-dc8b-b075-82932236e50b" + "id": "bf073e02-7e0b-dc8b-b075-82932236e50a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json index ae1a3ad8373..c2a9907c746 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bda" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_case_for_security_finding_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_case_for_security_finding_returns_Created_response.json index 3186336472d..7eed52fb390 100644 --- a/src/test/resources/cassettes/features/v2/Create_case_for_security_finding_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_case_for_security_finding_returns_Created_response.json @@ -52,6 +52,6 @@ "timeToLive": { "unlimited": true }, - "id": "4e58c44b-f265-fde4-198b-af61fd50c0a6" + "id": "4e58c44b-f265-fde4-198b-af61fd50c0a7" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_cases_for_security_findings_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_cases_for_security_findings_returns_Created_response.json index ce5258eed5e..7b6e009c016 100644 --- a/src/test/resources/cassettes/features/v2/Create_cases_for_security_findings_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_cases_for_security_findings_returns_Created_response.json @@ -52,6 +52,6 @@ "timeToLive": { "unlimited": true }, - "id": "4e58c44b-f265-fde4-198b-af61fd50c0a7" + "id": "4e58c44b-f265-fde4-198b-af61fd50c0a6" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json index f572c9f4255..08ef175c7d5 100644 --- a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6467" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json index 92627d59122..c0c9bbdeb1d 100644 --- a/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd2" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json index 210fa549f1e..49aa005cb04 100644 --- a/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdc" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json index 0dd05116b3f..226202c4126 100644 --- a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892174" + "id": "ab2c08c1-60c7-9278-3246-d650bb892173" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json index c12abc0c362..8155c3aeded 100644 --- a/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b330" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b32e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json index efa9967a0e4..c32805bcdb2 100644 --- a/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json @@ -18,6 +18,6 @@ "timeToLive": { "unlimited": true }, - "id": "b2bcb392-2d71-be89-5578-460535c541b0" + "id": "b2bcb392-2d71-be89-5578-460535c541af" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json index 5e755022579..c956c154c61 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c515" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c51a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json index 7ed67796512..d25a5b61b2c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50d" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json index 34fc7000a36..6a1865e363e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae46" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json index 7ede3bf7a7e..1eb504178bc 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e78" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9d" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json index 493d5b58ad3..0e6b8da8a16 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e79" + "id": "01611a93-5e74-0630-3c51-f707c3b51e82" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9e" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json index d14b87aa29b..e17e659929e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3ea" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json index c11337e4efa..423beb9380f 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6465" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6461" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json index 247c561af22..d44f28ca671 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6462" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_critical_asset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_critical_asset_returns_OK_response.json index 7201a9b1026..d13c9cb48d8 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_critical_asset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_critical_asset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e6" + "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json index 7905b307aab..ab18e4a92c4 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c71" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c73" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3a" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3c" }, { "httpRequest": { @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3b" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json index 92c10c6b507..21f390e6ce1 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addc9" + "id": "32c558cf-4a2e-f914-f443-ab94000addce" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json index f01c5129808..6c3e76fcdd4 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c80" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json index b4f342c7c6b..4b854b5aeea 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185e" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51862" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json index aeb041f1a43..4cde10182db 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json index a42ef29bfae..c82b6c27f29 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json index 10fbac85dbb..0847900878e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json index 57e4353994c..7d178b53207 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce6" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_annotation_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_an_annotation_returns_No_Content_response.json index 41d1a8a374c..896d1a5b1ea 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_annotation_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_annotation_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "78d2d116-1962-0348-cab7-4b6ac6482f5d" + "id": "78d2d116-1962-0348-cab7-4b6ac6482f5c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json index 366642e3cf7..8b898cb6a9d 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd6" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bda" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json index 495b2087065..791b633885f 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ee" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json index 0f0ba817425..f9c19c5962d 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f7" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json index 205a02a07fb..7c0c1ebcea1 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fe" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ef" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json index 3018095ac5f..9117ce3ddb0 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f3" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fe" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json index ff29c917fe1..22c2e4a3c1a 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6462" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6465" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json index 2dc635d3a78..60c9032a8aa 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6467" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json index e1f6cfcce7c..c39abd24395 100644 --- a/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d30" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d32" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json index 3ffceed3185..81497f6e960 100644 --- a/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2c" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json index b18a800c9be..621a6a2a79d 100644 --- a/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdb" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json index 8871ce2f11d..e315b0658c4 100644 --- a/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json index 679ed1419fe..d3a3a7bbb1e 100644 --- a/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcd" + "id": "32c558cf-4a2e-f914-f443-ab94000addcc" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json index 6ef442b0c31..75b451b6900 100644 --- a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2ce" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json index dbcf089d3c7..1e23eb77688 100644 --- a/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2ce" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json index 6b2882ea815..fe4cf251d57 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "4fd99083-06ab-185c-0a48-d579a5f192c2" + "id": "4fd99083-06ab-185c-0a48-d579a5f192c1" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json index 8f47c5e0492..ae97185c72c 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe8" + "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json index 27e64e2ebe0..04d16bff7ed 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33d9" + "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33da" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json index fe4cf251d57..6b2882ea815 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "4fd99083-06ab-185c-0a48-d579a5f192c1" + "id": "4fd99083-06ab-185c-0a48-d579a5f192c2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json index ae97185c72c..8f47c5e0492 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe9" + "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json index 04d16bff7ed..27e64e2ebe0 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33da" + "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33d9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json index 60bf7212494..bc09886e60a 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "2cb6ecfe-386c-3349-2689-26da480a6b5d" + "id": "2cb6ecfe-386c-3349-2689-26da480a6b5e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json index b5a3dd39c4e..ca6f6eb76a9 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50f" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c514" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json index 0d312e2da5f..cdbd8c2d803 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c517" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c511" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json index 4e428dff41a..0305e8b5373 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e7" + "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json index f414d99275e..009fff14323 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c74" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c72" }, { "httpRequest": { @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3e" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json index b3366690d8d..3a14fe62055 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json index 466d807e187..3b4b16a42ec 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffd" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffe" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json index f19f9fbffe4..0c7c6a0abc1 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51861" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json index d3568a82564..6277239bc75 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addce" + "id": "32c558cf-4a2e-f914-f443-ab94000addcb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json index ac29f8cf42e..ea476aa37df 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7e" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c80" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json index bd35bd59ea6..8c8b8ce6d00 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcc" + "id": "32c558cf-4a2e-f914-f443-ab94000addcd" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json index e1d7d6dfa5f..6e336f005de 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7e2e839d-ac73-21dc-b480-36e366ae09da" + "id": "7e2e839d-ac73-21dc-b480-36e366ae09d9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json index 88ec4190fd7..9933d6258ad 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce3" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json index 87cb96a7640..6352d5f0102 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_annotations_for_a_page_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_annotations_for_a_page_returns_OK_response.json index 402da65263b..08b25030651 100644 --- a/src/test/resources/cassettes/features/v2/Get_annotations_for_a_page_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_annotations_for_a_page_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "78d2d116-1962-0348-cab7-4b6ac6482f5b" + "id": "78d2d116-1962-0348-cab7-4b6ac6482f5e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json index f392f13fc4c..4aba2dd2af0 100644 --- a/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d31" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d35" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json index 7b054104c3f..cb29d3d82c6 100644 --- a/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd7" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json index 39e1970bef7..9e4125a5f12 100644 --- a/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd9" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json index 73c41def8f7..f298238cacd 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f1" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ec" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json index 5a0fb2b36de..1eccad92176 100644 --- a/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b32e" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b32f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json index d89770a1ae1..efc1f126be5 100644 --- a/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216f" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json index bbb7fb5acd3..1d634f061da 100644 --- a/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51860" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51861" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json index 4c0f531592f..33fc1c5e1e7 100644 --- a/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "2cb6ecfe-386c-3349-2689-26da480a6b5e" + "id": "2cb6ecfe-386c-3349-2689-26da480a6b5d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_App_Versions_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_App_Versions_returns_OK_response.json index d205019fe46..45cfbd41d64 100644 --- a/src/test/resources/cassettes/features/v2/List_App_Versions_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_App_Versions_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c51a" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c518" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json index 6b3b2a6c838..c06f63c8e6b 100644 --- a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa1" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9e" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7d" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json index ab1e1d16101..2964c9bb0a0 100644 --- a/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json index 80e2da9ecca..2cd151adcdb 100644 --- a/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7e2e839d-ac73-21dc-b480-36e366ae09d9" + "id": "7e2e839d-ac73-21dc-b480-36e366ae09da" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_annotations_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_annotations_returns_OK_response.json index 319d097fb29..3c5be670c7a 100644 --- a/src/test/resources/cassettes/features/v2/List_annotations_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_annotations_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "78d2d116-1962-0348-cab7-4b6ac6482f5c" + "id": "78d2d116-1962-0348-cab7-4b6ac6482f5d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json index 4e2a1b8a39b..b4ab43f6993 100644 --- a/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json index ca6902dd772..3a4c2c18041 100644 --- a/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d32" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json index 6bdfa4f2dd4..6ffd6924ef9 100644 --- a/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd5" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdc" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json index 4796b7798ef..e0386327470 100644 --- a/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892172" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json index ca2387782fd..15f40344bd7 100644 --- a/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892173" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216c" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json index be0c8e1fc69..17a313d3d48 100644 --- a/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7d" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json index 5311db1d440..88ddad7a3ae 100644 --- a/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185f" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51860" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Name_App_Version_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Name_App_Version_returns_No_Content_response.json index 00545442e9b..0cdf20315a0 100644 --- a/src/test/resources/cassettes/features/v2/Name_App_Version_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Name_App_Version_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50e" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json index 2ebfbdcfa75..c48e77cce48 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb77" + "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb78" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json index 1b2ef6880a2..974c53ce63d 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9458" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9456" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json index dd398a6ce01..f5b653cadfe 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b3" + "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json index 0a176ee003e..1b2ef6880a2 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9457" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9458" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json index d4bcf1ca8ac..fee9f74e00a 100644 --- a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c2c329a8-5875-126a-1858-e7c00b5af113" + "id": "c2c329a8-5875-126a-1858-e7c00b5af114" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json index 82770941cf9..cd295ed246c 100644 --- a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95bf" + "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95be" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json index 91451dfea49..ea94cd9866e 100644 --- a/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2f" + "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json index a14340af032..458c0a50fce 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c512" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json index 4800a22b262..8aabfa4bb3c 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e81" + "id": "01611a93-5e74-0630-3c51-f707c3b51e84" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json index 1350682e4be..f0e070cfc96 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" + "id": "01611a93-5e74-0630-3c51-f707c3b51e78" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa2" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9d" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" + "id": "01611a93-5e74-0630-3c51-f707c3b51e79" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json index ce5f8f54754..91a984062b3 100644 --- a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216c" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json b/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json index 41e13d6ecef..3ff9763cae3 100644 --- a/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json +++ b/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80fff" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffd" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json index 532d9797705..4307259e7fe 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e7014600" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json index d51ad920076..03a529fc278 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fb" + "id": "79babc38-7a70-5347-c8a6-73b0e70145eb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json index 00e0a12ca8e..d3902d0db9f 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ee" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fa" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json index f9c3486386c..92bdcfbb7b8 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50c" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json index c48e77cce48..2ebfbdcfa75 100644 --- a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json +++ b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb78" + "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb77" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json index 974c53ce63d..0a176ee003e 100644 --- a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9456" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9457" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json index f5b653cadfe..dd398a6ce01 100644 --- a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b2" + "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_Favorite_Status_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Update_App_Favorite_Status_returns_No_Content_response.json index c88181217f7..c1fbe27e1ef 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_Favorite_Status_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_Favorite_Status_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c514" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c519" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_Protection_Level_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_App_Protection_Level_returns_OK_response.json index 0ebe7b69e0c..4a2c0ca3bfc 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_Protection_Level_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_Protection_Level_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c511" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_Self_Service_Status_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Update_App_Self_Service_Status_returns_No_Content_response.json index 074f57f01e1..65d3667dc0a 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_Self_Service_Status_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_Self_Service_Status_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c512" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c515" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_Tags_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Update_App_Tags_returns_No_Content_response.json index 0d48cfd6420..f0fbf10d163 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_Tags_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_Tags_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c519" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json index 561057ced5c..ea7947adf2c 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c513" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c517" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json index e0d488678ae..bd889c4d7e5 100644 --- a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c2c329a8-5875-126a-1858-e7c00b5af114" + "id": "c2c329a8-5875-126a-1858-e7c00b5af113" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json index fb4c1dc2d43..30f5bc71d9c 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae45" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae43" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json index b95ab9b79e1..1c923bb6635 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae49" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae46" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json index 085c2a10ee9..98eacb05028 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae43" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae49" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json index eeceb81999e..31624316407 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e82" + "id": "01611a93-5e74-0630-3c51-f707c3b51e85" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json index b7c00ffb4b3..2fcab430497 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e80" + "id": "01611a93-5e74-0630-3c51-f707c3b51e83" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json index deabdcc756c..1703ea78c83 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" + "id": "01611a93-5e74-0630-3c51-f707c3b51e81" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json index 36d9e528f82..ffe3aefae73 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9441" + "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9443" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json index 7b5287a216a..72e65a80efe 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9443" + "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9441" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json index e6b7b3ac4d1..2d88a0bc75b 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3eb" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3ea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json index b0cc904b5c1..080fecd504f 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e5" + "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json index 08144afbd3b..c6d6252edc4 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c73" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c76" }, { "httpRequest": { @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3d" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json index c3918bef3d9..05a194ff998 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e9" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3eb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json index 5c938dd3d90..7507a4ec463 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7f" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json index e93ced0b7aa..f86ae381a6a 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069a" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json index cd4b267d68f..83f232b7769 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json index a39d900e784..22477665035 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json index b1c93851d01..ab8e3e5c76a 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json index a0d5f9cc2e9..2d761d43e84 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892175" + "id": "ab2c08c1-60c7-9278-3246-d650bb892174" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json index 1f8f591d76e..1c44f5aaed7 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892170" + "id": "ab2c08c1-60c7-9278-3246-d650bb892175" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json index ae720284ecf..811fe023421 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216e" + "id": "ab2c08c1-60c7-9278-3246-d650bb892172" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json index d401147456f..b402a04ba55 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" + "id": "ab2c08c1-60c7-9278-3246-d650bb892170" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json index 6f8a3b3ff88..e47e6cdfe12 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce1" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json index 833d5ca5043..b3d0c2aebe2 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce2" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_annotation_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_annotation_returns_OK_response.json index 40507e5e527..33dc2f3e857 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_annotation_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_annotation_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "78d2d116-1962-0348-cab7-4b6ac6482f5e" + "id": "78d2d116-1962-0348-cab7-4b6ac6482f5b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json index 108754699d0..abfb419ddae 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json index 71dda223fa7..0496c969eec 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6461" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json index 021e2ea4f86..956c7be5382 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ea" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fd" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json index e5adeb7069b..7ac5e788275 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fd" + "id": "79babc38-7a70-5347-c8a6-73b0e70145e9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json index 97fe7113a03..7dd888e1dca 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145eb" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json index 73fbdd658a2..c89fd84ffe7 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ec" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fc" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json index 4d0529dbc46..3e781073ca0 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f8" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json index 40f7af7c478..b7f4230cf66 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ed" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json index 1463cb0e2aa..417c18cb12f 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fc" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json index 1336c15aee4..6b8400bc073 100644 --- a/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d30" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json index 3300bd74e78..4ba02334273 100644 --- a/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2f" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json index 4b4aaa2bc5d..126cec99643 100644 --- a/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd4" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json index 92e2e3d0445..748258a6e03 100644 --- a/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd8" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdb" }, { "httpRequest": { diff --git a/src/test/resources/com/datadog/api/client/v2/api/incidents.feature b/src/test/resources/com/datadog/api/client/v2/api/incidents.feature index 1b993a1ff29..feea0deb36c 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/incidents.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/incidents.feature @@ -334,7 +334,7 @@ Feature: Incidents Scenario: Create postmortem template returns "Bad Request" response Given operation "CreateIncidentPostmortemTemplate" enabled And new "CreateIncidentPostmortemTemplate" request - And body with value {"data": {"attributes": {"name": "Standard Postmortem Template"}, "type": "postmortem_template"}} + And body with value {"data": {"attributes": {"confluence_postmortem_settings": {"account_id": "123456", "parent_id": "345678", "space_id": "789012"}, "content": "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items", "google_docs_postmortem_settings": {"account_id": "123456", "parent_folder_id": "789012"}, "is_default": "2024-01-01T00:00:00+00:00", "location": "datadog_notebooks", "name": "Standard Postmortem Template"}, "id": "00000000-0000-0000-0000-000000000000", "relationships": {"incident_type": {"data": {"id": "00000000-0000-0000-0000-000000000009", "type": "incident_types"}}}, "type": "postmortem_templates"}} When the request is sent Then the response status is 400 Bad Request @@ -342,7 +342,7 @@ Feature: Incidents Scenario: Create postmortem template returns "Created" response Given operation "CreateIncidentPostmortemTemplate" enabled And new "CreateIncidentPostmortemTemplate" request - And body with value {"data": {"attributes": {"name": "Standard Postmortem Template"}, "type": "postmortem_template"}} + And body with value {"data": {"attributes": {"confluence_postmortem_settings": {"account_id": "123456", "parent_id": "345678", "space_id": "789012"}, "content": "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items", "google_docs_postmortem_settings": {"account_id": "123456", "parent_folder_id": "789012"}, "is_default": "2024-01-01T00:00:00+00:00", "location": "datadog_notebooks", "name": "Standard Postmortem Template"}, "id": "00000000-0000-0000-0000-000000000000", "relationships": {"incident_type": {"data": {"id": "00000000-0000-0000-0000-000000000009", "type": "incident_types"}}}, "type": "postmortem_templates"}} When the request is sent Then the response status is 201 Created @@ -1590,7 +1590,7 @@ Feature: Incidents Given operation "UpdateIncidentPostmortemTemplate" enabled And new "UpdateIncidentPostmortemTemplate" request And request contains "template_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"name": "Standard Postmortem Template"}, "type": "postmortem_template"}} + And body with value {"data": {"attributes": {"confluence_postmortem_settings": {"account_id": "123456", "parent_id": "345678", "space_id": "789012"}, "content": "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items", "google_docs_postmortem_settings": {"account_id": "123456", "parent_folder_id": "789012"}, "is_default": "2024-01-01T00:00:00+00:00", "location": "datadog_notebooks", "name": "Standard Postmortem Template"}, "id": "00000000-0000-0000-0000-000000000000", "relationships": {"incident_type": {"data": {"id": "00000000-0000-0000-0000-000000000009", "type": "incident_types"}}}, "type": "postmortem_templates"}} When the request is sent Then the response status is 400 Bad Request @@ -1599,7 +1599,7 @@ Feature: Incidents Given operation "UpdateIncidentPostmortemTemplate" enabled And new "UpdateIncidentPostmortemTemplate" request And request contains "template_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"name": "Standard Postmortem Template"}, "type": "postmortem_template"}} + And body with value {"data": {"attributes": {"confluence_postmortem_settings": {"account_id": "123456", "parent_id": "345678", "space_id": "789012"}, "content": "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items", "google_docs_postmortem_settings": {"account_id": "123456", "parent_folder_id": "789012"}, "is_default": "2024-01-01T00:00:00+00:00", "location": "datadog_notebooks", "name": "Standard Postmortem Template"}, "id": "00000000-0000-0000-0000-000000000000", "relationships": {"incident_type": {"data": {"id": "00000000-0000-0000-0000-000000000009", "type": "incident_types"}}}, "type": "postmortem_templates"}} When the request is sent Then the response status is 404 Not Found @@ -1608,6 +1608,6 @@ Feature: Incidents Given operation "UpdateIncidentPostmortemTemplate" enabled And new "UpdateIncidentPostmortemTemplate" request And request contains "template_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"name": "Standard Postmortem Template"}, "type": "postmortem_template"}} + And body with value {"data": {"attributes": {"confluence_postmortem_settings": {"account_id": "123456", "parent_id": "345678", "space_id": "789012"}, "content": "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items", "google_docs_postmortem_settings": {"account_id": "123456", "parent_folder_id": "789012"}, "is_default": "2024-01-01T00:00:00+00:00", "location": "datadog_notebooks", "name": "Standard Postmortem Template"}, "id": "00000000-0000-0000-0000-000000000000", "relationships": {"incident_type": {"data": {"id": "00000000-0000-0000-0000-000000000009", "type": "incident_types"}}}, "type": "postmortem_templates"}} When the request is sent Then the response status is 200 OK diff --git a/src/test/resources/com/datadog/api/client/v2/api/undo.json b/src/test/resources/com/datadog/api/client/v2/api/undo.json index 10ae8ac71d4..d93991ac7d7 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/undo.json +++ b/src/test/resources/com/datadog/api/client/v2/api/undo.json @@ -3047,7 +3047,7 @@ "parameters": [ { "name": "template_id", - "source": "" + "source": "data.id" } ], "type": "unsafe"