diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e2256f32bd5..04212e9693a 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -15217,6 +15217,87 @@ components: - findings - project type: object + CreateMaintenanceRequest: + example: + data: + attributes: + completed_date: '2026-02-18T19:51:13.332360075Z' + completed_description: We have completed maintenance on the API to improve + performance. + components_affected: + - id: 1234abcd-12ab-34cd-56ef-123456abcdef + status: operational + in_progress_description: We are currently performing maintenance on the + API to improve performance. + scheduled_description: We will be performing maintenance on the API to + improve performance. + start_date: '2026-02-18T19:21:13.332360075Z' + title: API Maintenance + type: maintenances + properties: + data: + $ref: '#/components/schemas/CreateMaintenanceRequestData' + type: object + CreateMaintenanceRequestData: + properties: + attributes: + $ref: '#/components/schemas/CreateMaintenanceRequestDataAttributes' + type: + $ref: '#/components/schemas/PatchMaintenanceRequestDataType' + required: + - attributes + - type + type: object + CreateMaintenanceRequestDataAttributes: + description: The supported attributes for creating a maintenance. + properties: + completed_date: + description: Timestamp of when the maintenance was completed. + format: date-time + type: string + completed_description: + description: The description shown when the maintenance is completed. + type: string + components_affected: + description: The components affected by the maintenance. + items: + $ref: '#/components/schemas/CreateMaintenanceRequestDataAttributesComponentsAffectedItems' + type: array + in_progress_description: + description: The description shown while the maintenance is in progress. + type: string + scheduled_description: + description: The description shown when the maintenance is scheduled. + type: string + start_date: + description: Timestamp of when the maintenance is scheduled to start. + format: date-time + type: string + title: + description: The title of the maintenance. + example: API Maintenance + type: string + required: + - components_affected + - title + type: object + CreateMaintenanceRequestDataAttributesComponentsAffectedItems: + properties: + id: + description: The ID of the component. Must be a component of type `component`. + example: 1234abcd-12ab-34cd-56ef-123456abcdef + format: uuid + type: string + name: + description: The name of the component. + readOnly: true + type: string + status: + $ref: '#/components/schemas/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus' + required: + - id + - status + type: object CreateNotificationChannelAttributes: description: Attributes for creating an on-call notification channel. properties: @@ -19989,7 +20070,7 @@ components: description: The included related resources of a degradation. Client must explicitly request these resources by name in the `include` query parameter. items: - $ref: '#/components/schemas/DegradationArrayIncluded' + $ref: '#/components/schemas/DegradationIncluded' type: array type: object DegradationArray: @@ -20002,17 +20083,13 @@ components: description: The included related resources of a degradation. Client must explicitly request these resources by name in the `include` query parameter. items: - $ref: '#/components/schemas/DegradationArrayIncluded' + $ref: '#/components/schemas/DegradationIncluded' type: array meta: - $ref: '#/components/schemas/StatusPagesResponseMeta' + $ref: '#/components/schemas/PaginationMeta' required: - data type: object - DegradationArrayIncluded: - oneOf: - - $ref: '#/components/schemas/StatusPagesUser' - - $ref: '#/components/schemas/StatusPageAsIncluded' DegradationData: properties: attributes: @@ -20047,6 +20124,8 @@ components: description: Timestamp of when the degradation was last modified. format: date-time type: string + source: + $ref: '#/components/schemas/DegradationDataAttributesSource' status: $ref: '#/components/schemas/CreateDegradationRequestDataAttributesStatus' title: @@ -20075,6 +20154,33 @@ components: - id - status type: object + DegradationDataAttributesSource: + description: The source of the degradation. + properties: + created_at: + description: Timestamp of when the source was created. + example: '' + format: date-time + type: string + source_id: + description: The ID of the source. + example: '' + type: string + type: + $ref: '#/components/schemas/DegradationDataAttributesSourceType' + required: + - created_at + - source_id + - type + type: object + DegradationDataAttributesSourceType: + description: The type of the source. + enum: + - incident + example: incident + type: string + x-enum-varnames: + - INCIDENT DegradationDataAttributesUpdatesItems: properties: components_affected: @@ -20100,6 +20206,10 @@ components: format: date-time readOnly: true type: string + started_at: + description: Timestamp of when the update started. + format: date-time + type: string status: $ref: '#/components/schemas/CreateDegradationRequestDataAttributesStatus' type: object @@ -20192,6 +20302,10 @@ components: - type - id type: object + DegradationIncluded: + oneOf: + - $ref: '#/components/schemas/StatusPagesUser' + - $ref: '#/components/schemas/StatusPageAsIncluded' DeleteAppResponse: description: The response object after an app is successfully deleted. properties: @@ -36955,6 +37069,251 @@ components: - ms_channel_name - redirect_url type: object + Maintenance: + properties: + data: + $ref: '#/components/schemas/MaintenanceData' + included: + description: The included related resources of a maintenance. Client must + explicitly request these resources by name in the `include` query parameter. + items: + $ref: '#/components/schemas/DegradationIncluded' + type: array + type: object + MaintenanceArray: + properties: + data: + items: + $ref: '#/components/schemas/MaintenanceData' + type: array + included: + description: The included related resources of a maintenance. Client must + explicitly request these resources by name in the `include` query parameter. + items: + $ref: '#/components/schemas/DegradationIncluded' + type: array + meta: + $ref: '#/components/schemas/PaginationMeta' + required: + - data + type: object + MaintenanceData: + properties: + attributes: + $ref: '#/components/schemas/MaintenanceDataAttributes' + id: + description: The ID of the maintenance. + format: uuid + type: string + relationships: + $ref: '#/components/schemas/MaintenanceDataRelationships' + type: + $ref: '#/components/schemas/PatchMaintenanceRequestDataType' + required: + - type + type: object + MaintenanceDataAttributes: + description: The attributes of a maintenance. + properties: + completed_date: + description: Timestamp of when the maintenance was completed. + format: date-time + type: string + completed_description: + description: The description shown when the maintenance is completed. + type: string + components_affected: + description: Components affected by the maintenance. + items: + $ref: '#/components/schemas/MaintenanceDataAttributesComponentsAffectedItems' + type: array + in_progress_description: + description: The description shown while the maintenance is in progress. + type: string + modified_at: + description: Timestamp of when the maintenance was last modified. + format: date-time + type: string + published_date: + description: Timestamp of when the maintenance was published. + format: date-time + type: string + scheduled_description: + description: The description shown when the maintenance is scheduled. + type: string + start_date: + description: Timestamp of when the maintenance is scheduled to start. + format: date-time + type: string + status: + $ref: '#/components/schemas/MaintenanceDataAttributesStatus' + description: The status of the maintenance. + title: + description: Title of the maintenance. + type: string + updates: + description: Past updates made to the maintenance. + items: + $ref: '#/components/schemas/MaintenanceDataAttributesUpdatesItems' + type: array + type: object + MaintenanceDataAttributesComponentsAffectedItems: + properties: + id: + description: The ID of the component. Must be a component of type `component`. + example: 1234abcd-12ab-34cd-56ef-123456abcdef + format: uuid + type: string + name: + description: The name of the component. + readOnly: true + type: string + status: + $ref: '#/components/schemas/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus' + required: + - id + - status + type: object + MaintenanceDataAttributesStatus: + description: The status of the maintenance. + enum: + - scheduled + - in_progress + - completed + type: string + x-enum-varnames: + - SCHEDULED + - IN_PROGRESS + - COMPLETED + MaintenanceDataAttributesUpdatesItems: + properties: + components_affected: + description: The components affected at the time of the update. + items: + $ref: '#/components/schemas/MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems' + type: array + created_at: + description: Timestamp of when the update was created. + format: date-time + readOnly: true + type: string + description: + description: Description of the update. + type: string + id: + description: Identifier of the update. + format: uuid + readOnly: true + type: string + manual_transition: + description: Whether the update was applied manually by a user (true) or + automatically by the system (false). + readOnly: true + type: boolean + modified_at: + description: Timestamp of when the update was last modified. + format: date-time + readOnly: true + type: string + started_at: + description: Timestamp of when the update started. + format: date-time + type: string + status: + description: The status of the update. + type: string + type: object + MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems: + properties: + id: + description: Identifier of the component affected at the time of the update. + example: 1234abcd-12ab-34cd-56ef-123456abcdef + format: uuid + type: string + name: + description: The name of the component affected at the time of the update. + readOnly: true + type: string + status: + $ref: '#/components/schemas/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus' + description: The status of the component affected at the time of the update. + required: + - id + - status + type: object + MaintenanceDataRelationships: + description: The relationships of a maintenance. + properties: + created_by_user: + $ref: '#/components/schemas/MaintenanceDataRelationshipsCreatedByUser' + description: The Datadog user who created the maintenance. + last_modified_by_user: + $ref: '#/components/schemas/MaintenanceDataRelationshipsLastModifiedByUser' + description: The Datadog user who last modified the maintenance. + status_page: + $ref: '#/components/schemas/MaintenanceDataRelationshipsStatusPage' + description: The status page the maintenance belongs to. + type: object + MaintenanceDataRelationshipsCreatedByUser: + properties: + data: + $ref: '#/components/schemas/MaintenanceDataRelationshipsCreatedByUserData' + required: + - data + type: object + MaintenanceDataRelationshipsCreatedByUserData: + properties: + id: + description: The ID of the Datadog user who created the maintenance. + example: '' + format: uuid + type: string + type: + $ref: '#/components/schemas/StatusPagesUserType' + required: + - type + - id + type: object + MaintenanceDataRelationshipsLastModifiedByUser: + properties: + data: + $ref: '#/components/schemas/MaintenanceDataRelationshipsLastModifiedByUserData' + required: + - data + type: object + MaintenanceDataRelationshipsLastModifiedByUserData: + properties: + id: + description: The ID of the Datadog user who last modified the maintenance. + example: '' + format: uuid + type: string + type: + $ref: '#/components/schemas/StatusPagesUserType' + required: + - type + - id + type: object + MaintenanceDataRelationshipsStatusPage: + properties: + data: + $ref: '#/components/schemas/MaintenanceDataRelationshipsStatusPageData' + required: + - data + type: object + MaintenanceDataRelationshipsStatusPageData: + properties: + id: + description: The ID of the status page. + example: '' + format: uuid + type: string + type: + $ref: '#/components/schemas/StatusPageDataType' + required: + - type + - id + type: object MemberTeam: description: A member team properties: @@ -46755,6 +47114,80 @@ components: format: int64 type: integer type: object + PaginationMeta: + description: Response metadata. + properties: + page: + $ref: '#/components/schemas/PaginationMetaPage' + readOnly: true + type: object + PaginationMetaPage: + description: Offset-based pagination schema. + example: + first_offset: 0 + last_offset: 900 + limit: 100 + next_offset: 100 + offset: 0 + prev_offset: 100 + total: 1000 + type: offset_limit + properties: + first_offset: + description: Integer representing the offset to fetch the first page of + results. + example: 0 + format: int64 + type: integer + last_offset: + description: Integer representing the offset to fetch the last page of results. + example: 900 + format: int64 + nullable: true + type: integer + limit: + description: Integer representing the number of elements to be returned + in the results. + example: 100 + format: int64 + type: integer + next_offset: + description: Integer representing the index of the first element in the + next page of results. Equal to page size added to the current offset. + example: 100 + format: int64 + nullable: true + type: integer + offset: + description: Integer representing the index of the first element in the + results. + example: 0 + format: int64 + type: integer + prev_offset: + description: Integer representing the index of the first element in the + previous page of results. + example: 100 + format: int64 + nullable: true + type: integer + total: + description: Integer representing the total number of elements available. + example: 1000 + format: int64 + nullable: true + type: integer + type: + $ref: '#/components/schemas/PaginationMetaPageType' + type: object + PaginationMetaPageType: + default: offset_limit + enum: + - offset_limit + example: offset_limit + type: string + x-enum-varnames: + - OFFSET_LIMIT Parameter: description: The definition of `Parameter` object. properties: @@ -47062,6 +47495,107 @@ components: required: - data type: object + PatchMaintenanceRequest: + example: + data: + attributes: + completed_date: '2026-02-18T20:01:13.332360075Z' + in_progress_description: We are currently performing maintenance on the + API to improve performance for 40 minutes. + scheduled_description: We will be performing maintenance on the API to + improve performance for 40 minutes. + start_date: '2026-02-18T19:21:13.332360075Z' + title: API Maintenance + id: 1234abcd-12ab-34cd-56ef-123456abcdef + type: maintenances + properties: + data: + $ref: '#/components/schemas/PatchMaintenanceRequestData' + type: object + PatchMaintenanceRequestData: + properties: + attributes: + $ref: '#/components/schemas/PatchMaintenanceRequestDataAttributes' + id: + description: The ID of the maintenance. + example: 1234abcd-12ab-34cd-56ef-123456abcdef + format: uuid + type: string + type: + $ref: '#/components/schemas/PatchMaintenanceRequestDataType' + required: + - attributes + - type + - id + type: object + PatchMaintenanceRequestDataAttributes: + description: The supported attributes for updating a maintenance. + properties: + completed_date: + description: Timestamp of when the maintenance was completed. + format: date-time + type: string + completed_description: + description: The description shown when the maintenance is completed. + type: string + components_affected: + description: The components affected by the maintenance. + items: + $ref: '#/components/schemas/PatchMaintenanceRequestDataAttributesComponentsAffectedItems' + type: array + in_progress_description: + description: The description shown while the maintenance is in progress. + type: string + scheduled_description: + description: The description shown when the maintenance is scheduled. + type: string + start_date: + description: Timestamp of when the maintenance is scheduled to start. + format: date-time + type: string + status: + $ref: '#/components/schemas/MaintenanceDataAttributesStatus' + description: The status of the maintenance. + title: + description: The title of the maintenance. + type: string + type: object + PatchMaintenanceRequestDataAttributesComponentsAffectedItems: + properties: + id: + description: The ID of the component. Must be a component of type `component`. + example: 1234abcd-12ab-34cd-56ef-123456abcdef + format: uuid + type: string + name: + description: The name of the component. + readOnly: true + type: string + status: + $ref: '#/components/schemas/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus' + required: + - id + - status + type: object + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus: + description: The status of the component. + enum: + - operational + - maintenance + example: operational + type: string + x-enum-varnames: + - OPERATIONAL + - MAINTENANCE + PatchMaintenanceRequestDataType: + default: maintenances + description: Maintenances resource type. + enum: + - maintenances + example: maintenances + type: string + x-enum-varnames: + - MAINTENANCES PatchNotificationRuleParameters: description: Body of the notification rule patch request. properties: @@ -63047,7 +63581,7 @@ components: $ref: '#/components/schemas/StatusPageArrayIncluded' type: array meta: - $ref: '#/components/schemas/StatusPagesResponseMeta' + $ref: '#/components/schemas/PaginationMeta' required: - data type: object @@ -63486,6 +64020,7 @@ components: - degraded - partial_outage - major_outage + - maintenance example: operational type: string x-enum-varnames: @@ -63493,6 +64028,7 @@ components: - DEGRADED - PARTIAL_OUTAGE - MAJOR_OUTAGE + - MAINTENANCE StatusPagesComponentDataRelationships: description: The relationships of a component. properties: @@ -63662,6 +64198,7 @@ components: - degraded - partial_outage - major_outage + - maintenance readOnly: true type: string x-enum-varnames: @@ -63669,6 +64206,7 @@ components: - DEGRADED - PARTIAL_OUTAGE - MAJOR_OUTAGE + - MAINTENANCE StatusPagesComponentGroupAttributesComponentsItemsType: description: The type of the component. enum: @@ -63781,71 +64319,6 @@ components: type: string x-enum-varnames: - COMPONENTS - StatusPagesPagination: - description: Offset-based pagination schema. - properties: - first_offset: - description: Integer representing the offset to fetch the first page of - results. - example: 0 - format: int64 - type: integer - last_offset: - description: Integer representing the offset to fetch the last page of results. - example: 900 - format: int64 - nullable: true - type: integer - limit: - description: Integer representing the number of elements to returned in - the results. - example: 100 - format: int64 - type: integer - next_offset: - description: Integer representing the index of the first element in the - next page of results. Equal to page size added to the current offset. - example: 100 - format: int64 - nullable: true - type: integer - offset: - description: Integer representing the index of the first element in the - results. - example: 0 - format: int64 - type: integer - prev_offset: - description: Integer representing the index of the first element in the - previous page of results. - example: 100 - format: int64 - nullable: true - type: integer - total: - description: Integer representing the total number of elements available. - example: 1000 - format: int64 - nullable: true - type: integer - type: - $ref: '#/components/schemas/StatusPagesPaginationType' - type: object - StatusPagesPaginationType: - default: offset_limit - enum: - - offset_limit - example: offset_limit - type: string - x-enum-varnames: - - OFFSET_LIMIT - StatusPagesResponseMeta: - description: Response metadata. - properties: - page: - $ref: '#/components/schemas/StatusPagesPagination' - readOnly: true - type: object StatusPagesUser: description: The included Datadog user resource. properties: @@ -103172,6 +103645,12 @@ paths: name: filter[status] schema: type: string + - description: 'Sort order. Prefix with ''-'' for descending. Supported values: + created_at, -created_at, modified_at, -modified_at.' + in: query + name: sort + schema: + type: string responses: '200': content: @@ -103192,6 +103671,67 @@ paths: operator: AND permissions: - status_pages_settings_read + /api/v2/statuspages/maintenances: + get: + description: Lists all maintenances for the organization. Optionally filter + by status and page. + operationId: ListMaintenances + parameters: + - description: Optional page id filter. + in: query + name: filter[page_id] + schema: + type: string + - description: Offset to use as the start of the page. + in: query + name: page[offset] + schema: + default: 0 + type: integer + - description: The number of maintenances to return per page. + in: query + name: page[limit] + schema: + default: 50 + type: integer + - description: 'Comma-separated list of resources to include. Supported values: + created_by_user, last_modified_by_user, status_page.' + in: query + name: include + schema: + type: string + - description: 'Optional maintenance status filter. Supported values: scheduled, + in_progress, completed.' + in: query + name: filter[status] + schema: + type: string + - description: 'Sort order. Prefix with ''-'' for descending. Supported values: + created_at, -created_at, start_date, -start_date.' + in: query + name: sort + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/MaintenanceArray' + description: OK + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] + summary: List maintenances + tags: + - Status Pages + x-permission: + operator: AND + permissions: + - status_pages_settings_read /api/v2/statuspages/{page_id}: delete: description: Deletes a status page by its ID. @@ -103720,6 +104260,157 @@ paths: operator: AND permissions: - status_pages_incident_write + /api/v2/statuspages/{page_id}/maintenances: + post: + description: Schedules a new maintenance. + operationId: CreateMaintenance + parameters: + - description: The ID of the status page. + in: path + name: page_id + required: true + schema: + format: uuid + type: string + - description: Whether to notify page subscribers of the maintenance. + in: query + name: notify_subscribers + schema: + default: true + type: boolean + - description: 'Comma-separated list of resources to include. Supported values: + created_by_user, last_modified_by_user, status_page.' + in: query + name: include + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateMaintenanceRequest' + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Maintenance' + description: Created + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] + summary: Schedule maintenance + tags: + - Status Pages + x-permission: + operator: AND + permissions: + - status_pages_incident_write + /api/v2/statuspages/{page_id}/maintenances/{maintenance_id}: + get: + description: Retrieves a specific maintenance by its ID. + operationId: GetMaintenance + parameters: + - description: The ID of the status page. + in: path + name: page_id + required: true + schema: + format: uuid + type: string + - description: The ID of the maintenance. + in: path + name: maintenance_id + required: true + schema: + format: uuid + type: string + - description: 'Comma-separated list of resources to include. Supported values: + created_by_user, last_modified_by_user, status_page.' + in: query + name: include + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Maintenance' + description: OK + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] + summary: Get maintenance + tags: + - Status Pages + x-permission: + operator: AND + permissions: + - status_pages_settings_read + patch: + description: Updates an existing maintenance's attributes. + operationId: UpdateMaintenance + parameters: + - description: The ID of the status page. + in: path + name: page_id + required: true + schema: + format: uuid + type: string + - description: Whether to notify page subscribers of the maintenance. + in: query + name: notify_subscribers + schema: + default: true + type: boolean + - description: The ID of the maintenance. + in: path + name: maintenance_id + required: true + schema: + format: uuid + type: string + - description: 'Comma-separated list of resources to include. Supported values: + created_by_user, last_modified_by_user, status_page.' + in: query + name: include + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchMaintenanceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Maintenance' + description: OK + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] + summary: Update maintenance + tags: + - Status Pages + x-permission: + operator: AND + permissions: + - status_pages_incident_write /api/v2/synthetics/settings/on_demand_concurrency_cap: get: description: Get the on-demand concurrency cap. diff --git a/examples/v2/status-pages/CreateMaintenance.java b/examples/v2/status-pages/CreateMaintenance.java new file mode 100644 index 00000000000..aa311c85a03 --- /dev/null +++ b/examples/v2/status-pages/CreateMaintenance.java @@ -0,0 +1,61 @@ +// Schedule maintenance returns "Created" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.StatusPagesApi; +import com.datadog.api.client.v2.model.CreateMaintenanceRequest; +import com.datadog.api.client.v2.model.CreateMaintenanceRequestData; +import com.datadog.api.client.v2.model.CreateMaintenanceRequestDataAttributes; +import com.datadog.api.client.v2.model.CreateMaintenanceRequestDataAttributesComponentsAffectedItems; +import com.datadog.api.client.v2.model.Maintenance; +import com.datadog.api.client.v2.model.PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus; +import com.datadog.api.client.v2.model.PatchMaintenanceRequestDataType; +import java.time.OffsetDateTime; +import java.util.Collections; +import java.util.UUID; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + StatusPagesApi apiInstance = new StatusPagesApi(defaultClient); + + CreateMaintenanceRequest body = + new CreateMaintenanceRequest() + .data( + new CreateMaintenanceRequestData() + .attributes( + new CreateMaintenanceRequestDataAttributes() + .completedDate(OffsetDateTime.parse("2026-02-18T19:51:13.332360075Z")) + .completedDescription( + "We have completed maintenance on the API to improve performance.") + .componentsAffected( + Collections.singletonList( + new CreateMaintenanceRequestDataAttributesComponentsAffectedItems() + .id(UUID.fromString("1234abcd-12ab-34cd-56ef-123456abcdef")) + .status( + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus + .OPERATIONAL))) + .inProgressDescription( + "We are currently performing maintenance on the API to improve" + + " performance.") + .scheduledDescription( + "We will be performing maintenance on the API to improve" + + " performance.") + .startDate(OffsetDateTime.parse("2026-02-18T19:21:13.332360075Z")) + .title("API Maintenance")) + .type(PatchMaintenanceRequestDataType.MAINTENANCES)); + + try { + Maintenance result = + apiInstance.createMaintenance( + UUID.fromString("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"), body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StatusPagesApi#createMaintenance"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/status-pages/CreateMaintenance_2202276054.java b/examples/v2/status-pages/CreateMaintenance_2202276054.java new file mode 100644 index 00000000000..99a7a868fbd --- /dev/null +++ b/examples/v2/status-pages/CreateMaintenance_2202276054.java @@ -0,0 +1,75 @@ +// Create maintenance returns "Created" response +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.StatusPagesApi; +import com.datadog.api.client.v2.model.CreateMaintenanceRequest; +import com.datadog.api.client.v2.model.CreateMaintenanceRequestData; +import com.datadog.api.client.v2.model.CreateMaintenanceRequestDataAttributes; +import com.datadog.api.client.v2.model.CreateMaintenanceRequestDataAttributesComponentsAffectedItems; +import com.datadog.api.client.v2.model.Maintenance; +import com.datadog.api.client.v2.model.PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus; +import com.datadog.api.client.v2.model.PatchMaintenanceRequestDataType; +import java.time.OffsetDateTime; +import java.util.Collections; +import java.util.UUID; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + StatusPagesApi apiInstance = new StatusPagesApi(defaultClient); + + // there is a valid "status_page" in the system + UUID STATUS_PAGE_DATA_ATTRIBUTES_COMPONENTS_0_COMPONENTS_0_ID = null; + try { + STATUS_PAGE_DATA_ATTRIBUTES_COMPONENTS_0_COMPONENTS_0_ID = + UUID.fromString( + System.getenv("STATUS_PAGE_DATA_ATTRIBUTES_COMPONENTS_0_COMPONENTS_0_ID")); + } catch (IllegalArgumentException e) { + System.err.println("Error parsing UUID: " + e.getMessage()); + } + UUID STATUS_PAGE_DATA_ID = null; + try { + STATUS_PAGE_DATA_ID = UUID.fromString(System.getenv("STATUS_PAGE_DATA_ID")); + } catch (IllegalArgumentException e) { + System.err.println("Error parsing UUID: " + e.getMessage()); + } + + CreateMaintenanceRequest body = + new CreateMaintenanceRequest() + .data( + new CreateMaintenanceRequestData() + .attributes( + new CreateMaintenanceRequestDataAttributes() + .title("API Maintenance") + .scheduledDescription( + "We will be performing maintenance on the API to improve" + + " performance.") + .inProgressDescription( + "We are currently performing maintenance on the API to improve" + + " performance.") + .completedDescription( + "We have completed maintenance on the API to improve performance.") + .startDate(OffsetDateTime.now().plusHours(1)) + .completedDate(OffsetDateTime.now().plusHours(2)) + .componentsAffected( + Collections.singletonList( + new CreateMaintenanceRequestDataAttributesComponentsAffectedItems() + .id( + STATUS_PAGE_DATA_ATTRIBUTES_COMPONENTS_0_COMPONENTS_0_ID) + .status( + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus + .OPERATIONAL)))) + .type(PatchMaintenanceRequestDataType.MAINTENANCES)); + + try { + Maintenance result = apiInstance.createMaintenance(STATUS_PAGE_DATA_ID, body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StatusPagesApi#createMaintenance"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/status-pages/GetMaintenance.java b/examples/v2/status-pages/GetMaintenance.java new file mode 100644 index 00000000000..de9ba809ee0 --- /dev/null +++ b/examples/v2/status-pages/GetMaintenance.java @@ -0,0 +1,41 @@ +// Get maintenance returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.StatusPagesApi; +import com.datadog.api.client.v2.model.Maintenance; +import java.util.UUID; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + StatusPagesApi apiInstance = new StatusPagesApi(defaultClient); + + // there is a valid "status_page" in the system + UUID STATUS_PAGE_DATA_ID = null; + try { + STATUS_PAGE_DATA_ID = UUID.fromString(System.getenv("STATUS_PAGE_DATA_ID")); + } catch (IllegalArgumentException e) { + System.err.println("Error parsing UUID: " + e.getMessage()); + } + + // there is a valid "maintenance" in the system + UUID MAINTENANCE_DATA_ID = null; + try { + MAINTENANCE_DATA_ID = UUID.fromString(System.getenv("MAINTENANCE_DATA_ID")); + } catch (IllegalArgumentException e) { + System.err.println("Error parsing UUID: " + e.getMessage()); + } + + try { + Maintenance result = apiInstance.getMaintenance(STATUS_PAGE_DATA_ID, MAINTENANCE_DATA_ID); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StatusPagesApi#getMaintenance"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/status-pages/ListMaintenances.java b/examples/v2/status-pages/ListMaintenances.java new file mode 100644 index 00000000000..1cdadfa2e53 --- /dev/null +++ b/examples/v2/status-pages/ListMaintenances.java @@ -0,0 +1,24 @@ +// List maintenances returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.StatusPagesApi; +import com.datadog.api.client.v2.model.MaintenanceArray; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + StatusPagesApi apiInstance = new StatusPagesApi(defaultClient); + + try { + MaintenanceArray result = apiInstance.listMaintenances(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StatusPagesApi#listMaintenances"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/status-pages/UpdateMaintenance.java b/examples/v2/status-pages/UpdateMaintenance.java new file mode 100644 index 00000000000..2f01752cf05 --- /dev/null +++ b/examples/v2/status-pages/UpdateMaintenance.java @@ -0,0 +1,61 @@ +// Update maintenance returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.StatusPagesApi; +import com.datadog.api.client.v2.model.Maintenance; +import com.datadog.api.client.v2.model.PatchMaintenanceRequest; +import com.datadog.api.client.v2.model.PatchMaintenanceRequestData; +import com.datadog.api.client.v2.model.PatchMaintenanceRequestDataAttributes; +import com.datadog.api.client.v2.model.PatchMaintenanceRequestDataType; +import java.util.UUID; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + StatusPagesApi apiInstance = new StatusPagesApi(defaultClient); + + // there is a valid "status_page" in the system + UUID STATUS_PAGE_DATA_ID = null; + try { + STATUS_PAGE_DATA_ID = UUID.fromString(System.getenv("STATUS_PAGE_DATA_ID")); + } catch (IllegalArgumentException e) { + System.err.println("Error parsing UUID: " + e.getMessage()); + } + + // there is a valid "maintenance" in the system + UUID MAINTENANCE_DATA_ID = null; + try { + MAINTENANCE_DATA_ID = UUID.fromString(System.getenv("MAINTENANCE_DATA_ID")); + } catch (IllegalArgumentException e) { + System.err.println("Error parsing UUID: " + e.getMessage()); + } + + PatchMaintenanceRequest body = + new PatchMaintenanceRequest() + .data( + new PatchMaintenanceRequestData() + .attributes( + new PatchMaintenanceRequestDataAttributes() + .scheduledDescription( + "We will be performing maintenance on the API to improve" + + " performance for 40 minutes.") + .inProgressDescription( + "We are currently performing maintenance on the API to improve" + + " performance for 40 minutes.")) + .id(MAINTENANCE_DATA_ID) + .type(PatchMaintenanceRequestDataType.MAINTENANCES)); + + try { + Maintenance result = + apiInstance.updateMaintenance(STATUS_PAGE_DATA_ID, MAINTENANCE_DATA_ID, body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StatusPagesApi#updateMaintenance"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/src/main/java/com/datadog/api/client/v2/api/StatusPagesApi.java b/src/main/java/com/datadog/api/client/v2/api/StatusPagesApi.java index 11e3520d1b1..9003858cd6d 100644 --- a/src/main/java/com/datadog/api/client/v2/api/StatusPagesApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/StatusPagesApi.java @@ -6,11 +6,15 @@ import com.datadog.api.client.Pair; import com.datadog.api.client.v2.model.CreateComponentRequest; import com.datadog.api.client.v2.model.CreateDegradationRequest; +import com.datadog.api.client.v2.model.CreateMaintenanceRequest; import com.datadog.api.client.v2.model.CreateStatusPageRequest; import com.datadog.api.client.v2.model.Degradation; import com.datadog.api.client.v2.model.DegradationArray; +import com.datadog.api.client.v2.model.Maintenance; +import com.datadog.api.client.v2.model.MaintenanceArray; import com.datadog.api.client.v2.model.PatchComponentRequest; import com.datadog.api.client.v2.model.PatchDegradationRequest; +import com.datadog.api.client.v2.model.PatchMaintenanceRequest; import com.datadog.api.client.v2.model.PatchStatusPageRequest; import com.datadog.api.client.v2.model.StatusPage; import com.datadog.api.client.v2.model.StatusPageArray; @@ -514,6 +518,245 @@ public CompletableFuture> createDegradationWithHttpInfo new GenericType() {}); } + /** Manage optional parameters to createMaintenance. */ + public static class CreateMaintenanceOptionalParameters { + private Boolean notifySubscribers; + private String include; + + /** + * Set notifySubscribers. + * + * @param notifySubscribers Whether to notify page subscribers of the maintenance. (optional, + * default to true) + * @return CreateMaintenanceOptionalParameters + */ + public CreateMaintenanceOptionalParameters notifySubscribers(Boolean notifySubscribers) { + this.notifySubscribers = notifySubscribers; + return this; + } + + /** + * Set include. + * + * @param include Comma-separated list of resources to include. Supported values: + * created_by_user, last_modified_by_user, status_page. (optional) + * @return CreateMaintenanceOptionalParameters + */ + public CreateMaintenanceOptionalParameters include(String include) { + this.include = include; + return this; + } + } + + /** + * Schedule maintenance. + * + *

See {@link #createMaintenanceWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param body (required) + * @return Maintenance + * @throws ApiException if fails to make API call + */ + public Maintenance createMaintenance(UUID pageId, CreateMaintenanceRequest body) + throws ApiException { + return createMaintenanceWithHttpInfo(pageId, body, new CreateMaintenanceOptionalParameters()) + .getData(); + } + + /** + * Schedule maintenance. + * + *

See {@link #createMaintenanceWithHttpInfoAsync}. + * + * @param pageId The ID of the status page. (required) + * @param body (required) + * @return CompletableFuture<Maintenance> + */ + public CompletableFuture createMaintenanceAsync( + UUID pageId, CreateMaintenanceRequest body) { + return createMaintenanceWithHttpInfoAsync( + pageId, body, new CreateMaintenanceOptionalParameters()) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Schedule maintenance. + * + *

See {@link #createMaintenanceWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return Maintenance + * @throws ApiException if fails to make API call + */ + public Maintenance createMaintenance( + UUID pageId, CreateMaintenanceRequest body, CreateMaintenanceOptionalParameters parameters) + throws ApiException { + return createMaintenanceWithHttpInfo(pageId, body, parameters).getData(); + } + + /** + * Schedule maintenance. + * + *

See {@link #createMaintenanceWithHttpInfoAsync}. + * + * @param pageId The ID of the status page. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return CompletableFuture<Maintenance> + */ + public CompletableFuture createMaintenanceAsync( + UUID pageId, CreateMaintenanceRequest body, CreateMaintenanceOptionalParameters parameters) { + return createMaintenanceWithHttpInfoAsync(pageId, body, parameters) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Schedules a new maintenance. + * + * @param pageId The ID of the status page. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return ApiResponse<Maintenance> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + *
Response details
Status Code Description Response Headers
201 Created -
429 Too many requests -
+ */ + public ApiResponse createMaintenanceWithHttpInfo( + UUID pageId, CreateMaintenanceRequest body, CreateMaintenanceOptionalParameters parameters) + throws ApiException { + Object localVarPostBody = body; + + // verify the required parameter 'pageId' is set + if (pageId == null) { + throw new ApiException( + 400, "Missing the required parameter 'pageId' when calling createMaintenance"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling createMaintenance"); + } + Boolean notifySubscribers = parameters.notifySubscribers; + String include = parameters.include; + // create path and map variables + String localVarPath = + "/api/v2/statuspages/{page_id}/maintenances" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())); + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll( + apiClient.parameterToPairs("", "notify_subscribers", notifySubscribers)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.StatusPagesApi.createMaintenance", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + return apiClient.invokeAPI( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Schedule maintenance. + * + *

See {@link #createMaintenanceWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return CompletableFuture<ApiResponse<Maintenance>> + */ + public CompletableFuture> createMaintenanceWithHttpInfoAsync( + UUID pageId, CreateMaintenanceRequest body, CreateMaintenanceOptionalParameters parameters) { + Object localVarPostBody = body; + + // verify the required parameter 'pageId' is set + if (pageId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'pageId' when calling createMaintenance")); + return result; + } + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling createMaintenance")); + return result; + } + Boolean notifySubscribers = parameters.notifySubscribers; + String include = parameters.include; + // create path and map variables + String localVarPath = + "/api/v2/statuspages/{page_id}/maintenances" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())); + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll( + apiClient.parameterToPairs("", "notify_subscribers", notifySubscribers)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.StatusPagesApi.createMaintenance", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** Manage optional parameters to createStatusPage. */ public static class CreateStatusPageOptionalParameters { private String include; @@ -1589,46 +1832,50 @@ public CompletableFuture> getDegradationWithHttpInfoAsy new GenericType() {}); } - /** Manage optional parameters to getStatusPage. */ - public static class GetStatusPageOptionalParameters { + /** Manage optional parameters to getMaintenance. */ + public static class GetMaintenanceOptionalParameters { private String include; /** * Set include. * * @param include Comma-separated list of resources to include. Supported values: - * created_by_user, last_modified_by_user. (optional) - * @return GetStatusPageOptionalParameters + * created_by_user, last_modified_by_user, status_page. (optional) + * @return GetMaintenanceOptionalParameters */ - public GetStatusPageOptionalParameters include(String include) { + public GetMaintenanceOptionalParameters include(String include) { this.include = include; return this; } } /** - * Get status page. + * Get maintenance. * - *

See {@link #getStatusPageWithHttpInfo}. + *

See {@link #getMaintenanceWithHttpInfo}. * * @param pageId The ID of the status page. (required) - * @return StatusPage + * @param maintenanceId The ID of the maintenance. (required) + * @return Maintenance * @throws ApiException if fails to make API call */ - public StatusPage getStatusPage(UUID pageId) throws ApiException { - return getStatusPageWithHttpInfo(pageId, new GetStatusPageOptionalParameters()).getData(); + public Maintenance getMaintenance(UUID pageId, UUID maintenanceId) throws ApiException { + return getMaintenanceWithHttpInfo(pageId, maintenanceId, new GetMaintenanceOptionalParameters()) + .getData(); } /** - * Get status page. + * Get maintenance. * - *

See {@link #getStatusPageWithHttpInfoAsync}. + *

See {@link #getMaintenanceWithHttpInfoAsync}. * * @param pageId The ID of the status page. (required) - * @return CompletableFuture<StatusPage> + * @param maintenanceId The ID of the maintenance. (required) + * @return CompletableFuture<Maintenance> */ - public CompletableFuture getStatusPageAsync(UUID pageId) { - return getStatusPageWithHttpInfoAsync(pageId, new GetStatusPageOptionalParameters()) + public CompletableFuture getMaintenanceAsync(UUID pageId, UUID maintenanceId) { + return getMaintenanceWithHttpInfoAsync( + pageId, maintenanceId, new GetMaintenanceOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -1636,32 +1883,35 @@ public CompletableFuture getStatusPageAsync(UUID pageId) { } /** - * Get status page. + * Get maintenance. * - *

See {@link #getStatusPageWithHttpInfo}. + *

See {@link #getMaintenanceWithHttpInfo}. * * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) * @param parameters Optional parameters for the request. - * @return StatusPage + * @return Maintenance * @throws ApiException if fails to make API call */ - public StatusPage getStatusPage(UUID pageId, GetStatusPageOptionalParameters parameters) + public Maintenance getMaintenance( + UUID pageId, UUID maintenanceId, GetMaintenanceOptionalParameters parameters) throws ApiException { - return getStatusPageWithHttpInfo(pageId, parameters).getData(); + return getMaintenanceWithHttpInfo(pageId, maintenanceId, parameters).getData(); } /** - * Get status page. + * Get maintenance. * - *

See {@link #getStatusPageWithHttpInfoAsync}. + *

See {@link #getMaintenanceWithHttpInfoAsync}. * * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) * @param parameters Optional parameters for the request. - * @return CompletableFuture<StatusPage> + * @return CompletableFuture<Maintenance> */ - public CompletableFuture getStatusPageAsync( - UUID pageId, GetStatusPageOptionalParameters parameters) { - return getStatusPageWithHttpInfoAsync(pageId, parameters) + public CompletableFuture getMaintenanceAsync( + UUID pageId, UUID maintenanceId, GetMaintenanceOptionalParameters parameters) { + return getMaintenanceWithHttpInfoAsync(pageId, maintenanceId, parameters) .thenApply( response -> { return response.getData(); @@ -1669,11 +1919,12 @@ public CompletableFuture getStatusPageAsync( } /** - * Retrieves a specific status page by its ID. + * Retrieves a specific maintenance by its ID. * * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) * @param parameters Optional parameters for the request. - * @return ApiResponse<StatusPage> + * @return ApiResponse<Maintenance> * @throws ApiException if fails to make API call * @http.response.details * @@ -1683,20 +1934,29 @@ public CompletableFuture getStatusPageAsync( * *
429 Too many requests -
*/ - public ApiResponse getStatusPageWithHttpInfo( - UUID pageId, GetStatusPageOptionalParameters parameters) throws ApiException { + public ApiResponse getMaintenanceWithHttpInfo( + UUID pageId, UUID maintenanceId, GetMaintenanceOptionalParameters parameters) + throws ApiException { Object localVarPostBody = null; // verify the required parameter 'pageId' is set if (pageId == null) { throw new ApiException( - 400, "Missing the required parameter 'pageId' when calling getStatusPage"); + 400, "Missing the required parameter 'pageId' when calling getMaintenance"); + } + + // verify the required parameter 'maintenanceId' is set + if (maintenanceId == null) { + throw new ApiException( + 400, "Missing the required parameter 'maintenanceId' when calling getMaintenance"); } String include = parameters.include; // create path and map variables String localVarPath = - "/api/v2/statuspages/{page_id}" - .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())); + "/api/v2/statuspages/{page_id}/maintenances/{maintenance_id}" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())) + .replaceAll( + "\\{" + "maintenance_id" + "\\}", apiClient.escapeString(maintenanceId.toString())); List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); @@ -1705,7 +1965,7 @@ public ApiResponse getStatusPageWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.StatusPagesApi.getStatusPage", + "v2.StatusPagesApi.getMaintenance", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -1720,35 +1980,47 @@ public ApiResponse getStatusPageWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** - * Get status page. + * Get maintenance. * - *

See {@link #getStatusPageWithHttpInfo}. + *

See {@link #getMaintenanceWithHttpInfo}. * * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) * @param parameters Optional parameters for the request. - * @return CompletableFuture<ApiResponse<StatusPage>> + * @return CompletableFuture<ApiResponse<Maintenance>> */ - public CompletableFuture> getStatusPageWithHttpInfoAsync( - UUID pageId, GetStatusPageOptionalParameters parameters) { + public CompletableFuture> getMaintenanceWithHttpInfoAsync( + UUID pageId, UUID maintenanceId, GetMaintenanceOptionalParameters parameters) { Object localVarPostBody = null; // verify the required parameter 'pageId' is set if (pageId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'pageId' when calling getStatusPage")); + 400, "Missing the required parameter 'pageId' when calling getMaintenance")); + return result; + } + + // verify the required parameter 'maintenanceId' is set + if (maintenanceId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'maintenanceId' when calling getMaintenance")); return result; } String include = parameters.include; // create path and map variables String localVarPath = - "/api/v2/statuspages/{page_id}" - .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())); + "/api/v2/statuspages/{page_id}/maintenances/{maintenance_id}" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())) + .replaceAll( + "\\{" + "maintenance_id" + "\\}", apiClient.escapeString(maintenanceId.toString())); List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); @@ -1759,7 +2031,7 @@ public CompletableFuture> getStatusPageWithHttpInfoAsync try { builder = apiClient.createBuilder( - "v2.StatusPagesApi.getStatusPage", + "v2.StatusPagesApi.getMaintenance", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -1767,7 +2039,7 @@ public CompletableFuture> getStatusPageWithHttpInfoAsync new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -1779,19 +2051,212 @@ public CompletableFuture> getStatusPageWithHttpInfoAsync localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } - /** Manage optional parameters to listComponents. */ - public static class ListComponentsOptionalParameters { + /** Manage optional parameters to getStatusPage. */ + public static class GetStatusPageOptionalParameters { private String include; /** * Set include. * * @param include Comma-separated list of resources to include. Supported values: - * created_by_user, last_modified_by_user, status_page, group. (optional) - * @return ListComponentsOptionalParameters + * created_by_user, last_modified_by_user. (optional) + * @return GetStatusPageOptionalParameters + */ + public GetStatusPageOptionalParameters include(String include) { + this.include = include; + return this; + } + } + + /** + * Get status page. + * + *

See {@link #getStatusPageWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @return StatusPage + * @throws ApiException if fails to make API call + */ + public StatusPage getStatusPage(UUID pageId) throws ApiException { + return getStatusPageWithHttpInfo(pageId, new GetStatusPageOptionalParameters()).getData(); + } + + /** + * Get status page. + * + *

See {@link #getStatusPageWithHttpInfoAsync}. + * + * @param pageId The ID of the status page. (required) + * @return CompletableFuture<StatusPage> + */ + public CompletableFuture getStatusPageAsync(UUID pageId) { + return getStatusPageWithHttpInfoAsync(pageId, new GetStatusPageOptionalParameters()) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Get status page. + * + *

See {@link #getStatusPageWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param parameters Optional parameters for the request. + * @return StatusPage + * @throws ApiException if fails to make API call + */ + public StatusPage getStatusPage(UUID pageId, GetStatusPageOptionalParameters parameters) + throws ApiException { + return getStatusPageWithHttpInfo(pageId, parameters).getData(); + } + + /** + * Get status page. + * + *

See {@link #getStatusPageWithHttpInfoAsync}. + * + * @param pageId The ID of the status page. (required) + * @param parameters Optional parameters for the request. + * @return CompletableFuture<StatusPage> + */ + public CompletableFuture getStatusPageAsync( + UUID pageId, GetStatusPageOptionalParameters parameters) { + return getStatusPageWithHttpInfoAsync(pageId, parameters) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Retrieves a specific status page by its ID. + * + * @param pageId The ID of the status page. (required) + * @param parameters Optional parameters for the request. + * @return ApiResponse<StatusPage> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + *
Response details
Status Code Description Response Headers
200 OK -
429 Too many requests -
+ */ + public ApiResponse getStatusPageWithHttpInfo( + UUID pageId, GetStatusPageOptionalParameters parameters) throws ApiException { + Object localVarPostBody = null; + + // verify the required parameter 'pageId' is set + if (pageId == null) { + throw new ApiException( + 400, "Missing the required parameter 'pageId' when calling getStatusPage"); + } + String include = parameters.include; + // create path and map variables + String localVarPath = + "/api/v2/statuspages/{page_id}" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())); + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.StatusPagesApi.getStatusPage", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + return apiClient.invokeAPI( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get status page. + * + *

See {@link #getStatusPageWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param parameters Optional parameters for the request. + * @return CompletableFuture<ApiResponse<StatusPage>> + */ + public CompletableFuture> getStatusPageWithHttpInfoAsync( + UUID pageId, GetStatusPageOptionalParameters parameters) { + Object localVarPostBody = null; + + // verify the required parameter 'pageId' is set + if (pageId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'pageId' when calling getStatusPage")); + return result; + } + String include = parameters.include; + // create path and map variables + String localVarPath = + "/api/v2/statuspages/{page_id}" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())); + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.StatusPagesApi.getStatusPage", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** Manage optional parameters to listComponents. */ + public static class ListComponentsOptionalParameters { + private String include; + + /** + * Set include. + * + * @param include Comma-separated list of resources to include. Supported values: + * created_by_user, last_modified_by_user, status_page, group. (optional) + * @return ListComponentsOptionalParameters */ public ListComponentsOptionalParameters include(String include) { this.include = include; @@ -1982,14 +2447,265 @@ public static class ListDegradationsOptionalParameters { private Integer pageLimit; private String include; private String filterStatus; + private String sort; + + /** + * Set filterPageId. + * + * @param filterPageId Optional page id filter. (optional) + * @return ListDegradationsOptionalParameters + */ + public ListDegradationsOptionalParameters filterPageId(String filterPageId) { + this.filterPageId = filterPageId; + return this; + } + + /** + * Set pageOffset. + * + * @param pageOffset Offset to use as the start of the page. (optional, default to 0) + * @return ListDegradationsOptionalParameters + */ + public ListDegradationsOptionalParameters pageOffset(Integer pageOffset) { + this.pageOffset = pageOffset; + return this; + } + + /** + * Set pageLimit. + * + * @param pageLimit The number of degradations to return per page. (optional, default to 50) + * @return ListDegradationsOptionalParameters + */ + public ListDegradationsOptionalParameters pageLimit(Integer pageLimit) { + this.pageLimit = pageLimit; + return this; + } + + /** + * Set include. + * + * @param include Comma-separated list of resources to include. Supported values: + * created_by_user, last_modified_by_user, status_page. (optional) + * @return ListDegradationsOptionalParameters + */ + public ListDegradationsOptionalParameters include(String include) { + this.include = include; + return this; + } + + /** + * Set filterStatus. + * + * @param filterStatus Optional degradation status filter. Supported values: investigating, + * identified, monitoring, resolved. (optional) + * @return ListDegradationsOptionalParameters + */ + public ListDegradationsOptionalParameters filterStatus(String filterStatus) { + this.filterStatus = filterStatus; + return this; + } + + /** + * Set sort. + * + * @param sort Sort order. Prefix with '-' for descending. Supported values: created_at, + * -created_at, modified_at, -modified_at. (optional) + * @return ListDegradationsOptionalParameters + */ + public ListDegradationsOptionalParameters sort(String sort) { + this.sort = sort; + return this; + } + } + + /** + * List degradations. + * + *

See {@link #listDegradationsWithHttpInfo}. + * + * @return DegradationArray + * @throws ApiException if fails to make API call + */ + public DegradationArray listDegradations() throws ApiException { + return listDegradationsWithHttpInfo(new ListDegradationsOptionalParameters()).getData(); + } + + /** + * List degradations. + * + *

See {@link #listDegradationsWithHttpInfoAsync}. + * + * @return CompletableFuture<DegradationArray> + */ + public CompletableFuture listDegradationsAsync() { + return listDegradationsWithHttpInfoAsync(new ListDegradationsOptionalParameters()) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * List degradations. + * + *

See {@link #listDegradationsWithHttpInfo}. + * + * @param parameters Optional parameters for the request. + * @return DegradationArray + * @throws ApiException if fails to make API call + */ + public DegradationArray listDegradations(ListDegradationsOptionalParameters parameters) + throws ApiException { + return listDegradationsWithHttpInfo(parameters).getData(); + } + + /** + * List degradations. + * + *

See {@link #listDegradationsWithHttpInfoAsync}. + * + * @param parameters Optional parameters for the request. + * @return CompletableFuture<DegradationArray> + */ + public CompletableFuture listDegradationsAsync( + ListDegradationsOptionalParameters parameters) { + return listDegradationsWithHttpInfoAsync(parameters) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Lists all degradations for the organization. Optionally filter by status and page. + * + * @param parameters Optional parameters for the request. + * @return ApiResponse<DegradationArray> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + *
Response details
Status Code Description Response Headers
200 OK -
429 Too many requests -
+ */ + public ApiResponse listDegradationsWithHttpInfo( + ListDegradationsOptionalParameters parameters) throws ApiException { + Object localVarPostBody = null; + String filterPageId = parameters.filterPageId; + Integer pageOffset = parameters.pageOffset; + Integer pageLimit = parameters.pageLimit; + String include = parameters.include; + String filterStatus = parameters.filterStatus; + String sort = parameters.sort; + // create path and map variables + String localVarPath = "/api/v2/statuspages/degradations"; + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[page_id]", filterPageId)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[offset]", pageOffset)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[limit]", pageLimit)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[status]", filterStatus)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "sort", sort)); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.StatusPagesApi.listDegradations", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + return apiClient.invokeAPI( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * List degradations. + * + *

See {@link #listDegradationsWithHttpInfo}. + * + * @param parameters Optional parameters for the request. + * @return CompletableFuture<ApiResponse<DegradationArray>> + */ + public CompletableFuture> listDegradationsWithHttpInfoAsync( + ListDegradationsOptionalParameters parameters) { + Object localVarPostBody = null; + String filterPageId = parameters.filterPageId; + Integer pageOffset = parameters.pageOffset; + Integer pageLimit = parameters.pageLimit; + String include = parameters.include; + String filterStatus = parameters.filterStatus; + String sort = parameters.sort; + // create path and map variables + String localVarPath = "/api/v2/statuspages/degradations"; + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[page_id]", filterPageId)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[offset]", pageOffset)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[limit]", pageLimit)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[status]", filterStatus)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "sort", sort)); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.StatusPagesApi.listDegradations", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** Manage optional parameters to listMaintenances. */ + public static class ListMaintenancesOptionalParameters { + private String filterPageId; + private Integer pageOffset; + private Integer pageLimit; + private String include; + private String filterStatus; + private String sort; /** * Set filterPageId. * * @param filterPageId Optional page id filter. (optional) - * @return ListDegradationsOptionalParameters + * @return ListMaintenancesOptionalParameters */ - public ListDegradationsOptionalParameters filterPageId(String filterPageId) { + public ListMaintenancesOptionalParameters filterPageId(String filterPageId) { this.filterPageId = filterPageId; return this; } @@ -1998,9 +2714,9 @@ public ListDegradationsOptionalParameters filterPageId(String filterPageId) { * Set pageOffset. * * @param pageOffset Offset to use as the start of the page. (optional, default to 0) - * @return ListDegradationsOptionalParameters + * @return ListMaintenancesOptionalParameters */ - public ListDegradationsOptionalParameters pageOffset(Integer pageOffset) { + public ListMaintenancesOptionalParameters pageOffset(Integer pageOffset) { this.pageOffset = pageOffset; return this; } @@ -2008,10 +2724,10 @@ public ListDegradationsOptionalParameters pageOffset(Integer pageOffset) { /** * Set pageLimit. * - * @param pageLimit The number of degradations to return per page. (optional, default to 50) - * @return ListDegradationsOptionalParameters + * @param pageLimit The number of maintenances to return per page. (optional, default to 50) + * @return ListMaintenancesOptionalParameters */ - public ListDegradationsOptionalParameters pageLimit(Integer pageLimit) { + public ListMaintenancesOptionalParameters pageLimit(Integer pageLimit) { this.pageLimit = pageLimit; return this; } @@ -2021,9 +2737,9 @@ public ListDegradationsOptionalParameters pageLimit(Integer pageLimit) { * * @param include Comma-separated list of resources to include. Supported values: * created_by_user, last_modified_by_user, status_page. (optional) - * @return ListDegradationsOptionalParameters + * @return ListMaintenancesOptionalParameters */ - public ListDegradationsOptionalParameters include(String include) { + public ListMaintenancesOptionalParameters include(String include) { this.include = include; return this; } @@ -2031,37 +2747,49 @@ public ListDegradationsOptionalParameters include(String include) { /** * Set filterStatus. * - * @param filterStatus Optional degradation status filter. Supported values: investigating, - * identified, monitoring, resolved. (optional) - * @return ListDegradationsOptionalParameters + * @param filterStatus Optional maintenance status filter. Supported values: scheduled, + * in_progress, completed. (optional) + * @return ListMaintenancesOptionalParameters */ - public ListDegradationsOptionalParameters filterStatus(String filterStatus) { + public ListMaintenancesOptionalParameters filterStatus(String filterStatus) { this.filterStatus = filterStatus; return this; } + + /** + * Set sort. + * + * @param sort Sort order. Prefix with '-' for descending. Supported values: created_at, + * -created_at, start_date, -start_date. (optional) + * @return ListMaintenancesOptionalParameters + */ + public ListMaintenancesOptionalParameters sort(String sort) { + this.sort = sort; + return this; + } } /** - * List degradations. + * List maintenances. * - *

See {@link #listDegradationsWithHttpInfo}. + *

See {@link #listMaintenancesWithHttpInfo}. * - * @return DegradationArray + * @return MaintenanceArray * @throws ApiException if fails to make API call */ - public DegradationArray listDegradations() throws ApiException { - return listDegradationsWithHttpInfo(new ListDegradationsOptionalParameters()).getData(); + public MaintenanceArray listMaintenances() throws ApiException { + return listMaintenancesWithHttpInfo(new ListMaintenancesOptionalParameters()).getData(); } /** - * List degradations. + * List maintenances. * - *

See {@link #listDegradationsWithHttpInfoAsync}. + *

See {@link #listMaintenancesWithHttpInfoAsync}. * - * @return CompletableFuture<DegradationArray> + * @return CompletableFuture<MaintenanceArray> */ - public CompletableFuture listDegradationsAsync() { - return listDegradationsWithHttpInfoAsync(new ListDegradationsOptionalParameters()) + public CompletableFuture listMaintenancesAsync() { + return listMaintenancesWithHttpInfoAsync(new ListMaintenancesOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -2069,30 +2797,30 @@ public CompletableFuture listDegradationsAsync() { } /** - * List degradations. + * List maintenances. * - *

See {@link #listDegradationsWithHttpInfo}. + *

See {@link #listMaintenancesWithHttpInfo}. * * @param parameters Optional parameters for the request. - * @return DegradationArray + * @return MaintenanceArray * @throws ApiException if fails to make API call */ - public DegradationArray listDegradations(ListDegradationsOptionalParameters parameters) + public MaintenanceArray listMaintenances(ListMaintenancesOptionalParameters parameters) throws ApiException { - return listDegradationsWithHttpInfo(parameters).getData(); + return listMaintenancesWithHttpInfo(parameters).getData(); } /** - * List degradations. + * List maintenances. * - *

See {@link #listDegradationsWithHttpInfoAsync}. + *

See {@link #listMaintenancesWithHttpInfoAsync}. * * @param parameters Optional parameters for the request. - * @return CompletableFuture<DegradationArray> + * @return CompletableFuture<MaintenanceArray> */ - public CompletableFuture listDegradationsAsync( - ListDegradationsOptionalParameters parameters) { - return listDegradationsWithHttpInfoAsync(parameters) + public CompletableFuture listMaintenancesAsync( + ListMaintenancesOptionalParameters parameters) { + return listMaintenancesWithHttpInfoAsync(parameters) .thenApply( response -> { return response.getData(); @@ -2100,10 +2828,10 @@ public CompletableFuture listDegradationsAsync( } /** - * Lists all degradations for the organization. Optionally filter by status and page. + * Lists all maintenances for the organization. Optionally filter by status and page. * * @param parameters Optional parameters for the request. - * @return ApiResponse<DegradationArray> + * @return ApiResponse<MaintenanceArray> * @throws ApiException if fails to make API call * @http.response.details * @@ -2113,16 +2841,17 @@ public CompletableFuture listDegradationsAsync( * *
429 Too many requests -
*/ - public ApiResponse listDegradationsWithHttpInfo( - ListDegradationsOptionalParameters parameters) throws ApiException { + public ApiResponse listMaintenancesWithHttpInfo( + ListMaintenancesOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; String filterPageId = parameters.filterPageId; Integer pageOffset = parameters.pageOffset; Integer pageLimit = parameters.pageLimit; String include = parameters.include; String filterStatus = parameters.filterStatus; + String sort = parameters.sort; // create path and map variables - String localVarPath = "/api/v2/statuspages/degradations"; + String localVarPath = "/api/v2/statuspages/maintenances"; List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); @@ -2132,10 +2861,11 @@ public ApiResponse listDegradationsWithHttpInfo( localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[limit]", pageLimit)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[status]", filterStatus)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "sort", sort)); Invocation.Builder builder = apiClient.createBuilder( - "v2.StatusPagesApi.listDegradations", + "v2.StatusPagesApi.listMaintenances", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -2150,27 +2880,28 @@ public ApiResponse listDegradationsWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** - * List degradations. + * List maintenances. * - *

See {@link #listDegradationsWithHttpInfo}. + *

See {@link #listMaintenancesWithHttpInfo}. * * @param parameters Optional parameters for the request. - * @return CompletableFuture<ApiResponse<DegradationArray>> + * @return CompletableFuture<ApiResponse<MaintenanceArray>> */ - public CompletableFuture> listDegradationsWithHttpInfoAsync( - ListDegradationsOptionalParameters parameters) { + public CompletableFuture> listMaintenancesWithHttpInfoAsync( + ListMaintenancesOptionalParameters parameters) { Object localVarPostBody = null; String filterPageId = parameters.filterPageId; Integer pageOffset = parameters.pageOffset; Integer pageLimit = parameters.pageLimit; String include = parameters.include; String filterStatus = parameters.filterStatus; + String sort = parameters.sort; // create path and map variables - String localVarPath = "/api/v2/statuspages/degradations"; + String localVarPath = "/api/v2/statuspages/maintenances"; List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); @@ -2180,12 +2911,13 @@ public CompletableFuture> listDegradationsWithHttp localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[limit]", pageLimit)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[status]", filterStatus)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "sort", sort)); Invocation.Builder builder; try { builder = apiClient.createBuilder( - "v2.StatusPagesApi.listDegradations", + "v2.StatusPagesApi.listMaintenances", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -2193,7 +2925,7 @@ public CompletableFuture> listDegradationsWithHttp new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -2205,7 +2937,7 @@ public CompletableFuture> listDegradationsWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** Manage optional parameters to listStatusPages. */ @@ -2944,6 +3676,284 @@ public CompletableFuture> updateDegradationWithHttpInfo new GenericType() {}); } + /** Manage optional parameters to updateMaintenance. */ + public static class UpdateMaintenanceOptionalParameters { + private Boolean notifySubscribers; + private String include; + + /** + * Set notifySubscribers. + * + * @param notifySubscribers Whether to notify page subscribers of the maintenance. (optional, + * default to true) + * @return UpdateMaintenanceOptionalParameters + */ + public UpdateMaintenanceOptionalParameters notifySubscribers(Boolean notifySubscribers) { + this.notifySubscribers = notifySubscribers; + return this; + } + + /** + * Set include. + * + * @param include Comma-separated list of resources to include. Supported values: + * created_by_user, last_modified_by_user, status_page. (optional) + * @return UpdateMaintenanceOptionalParameters + */ + public UpdateMaintenanceOptionalParameters include(String include) { + this.include = include; + return this; + } + } + + /** + * Update maintenance. + * + *

See {@link #updateMaintenanceWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) + * @param body (required) + * @return Maintenance + * @throws ApiException if fails to make API call + */ + public Maintenance updateMaintenance( + UUID pageId, UUID maintenanceId, PatchMaintenanceRequest body) throws ApiException { + return updateMaintenanceWithHttpInfo( + pageId, maintenanceId, body, new UpdateMaintenanceOptionalParameters()) + .getData(); + } + + /** + * Update maintenance. + * + *

See {@link #updateMaintenanceWithHttpInfoAsync}. + * + * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) + * @param body (required) + * @return CompletableFuture<Maintenance> + */ + public CompletableFuture updateMaintenanceAsync( + UUID pageId, UUID maintenanceId, PatchMaintenanceRequest body) { + return updateMaintenanceWithHttpInfoAsync( + pageId, maintenanceId, body, new UpdateMaintenanceOptionalParameters()) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Update maintenance. + * + *

See {@link #updateMaintenanceWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return Maintenance + * @throws ApiException if fails to make API call + */ + public Maintenance updateMaintenance( + UUID pageId, + UUID maintenanceId, + PatchMaintenanceRequest body, + UpdateMaintenanceOptionalParameters parameters) + throws ApiException { + return updateMaintenanceWithHttpInfo(pageId, maintenanceId, body, parameters).getData(); + } + + /** + * Update maintenance. + * + *

See {@link #updateMaintenanceWithHttpInfoAsync}. + * + * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return CompletableFuture<Maintenance> + */ + public CompletableFuture updateMaintenanceAsync( + UUID pageId, + UUID maintenanceId, + PatchMaintenanceRequest body, + UpdateMaintenanceOptionalParameters parameters) { + return updateMaintenanceWithHttpInfoAsync(pageId, maintenanceId, body, parameters) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Updates an existing maintenance's attributes. + * + * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return ApiResponse<Maintenance> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + *
Response details
Status Code Description Response Headers
200 OK -
429 Too many requests -
+ */ + public ApiResponse updateMaintenanceWithHttpInfo( + UUID pageId, + UUID maintenanceId, + PatchMaintenanceRequest body, + UpdateMaintenanceOptionalParameters parameters) + throws ApiException { + Object localVarPostBody = body; + + // verify the required parameter 'pageId' is set + if (pageId == null) { + throw new ApiException( + 400, "Missing the required parameter 'pageId' when calling updateMaintenance"); + } + + // verify the required parameter 'maintenanceId' is set + if (maintenanceId == null) { + throw new ApiException( + 400, "Missing the required parameter 'maintenanceId' when calling updateMaintenance"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling updateMaintenance"); + } + Boolean notifySubscribers = parameters.notifySubscribers; + String include = parameters.include; + // create path and map variables + String localVarPath = + "/api/v2/statuspages/{page_id}/maintenances/{maintenance_id}" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())) + .replaceAll( + "\\{" + "maintenance_id" + "\\}", apiClient.escapeString(maintenanceId.toString())); + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll( + apiClient.parameterToPairs("", "notify_subscribers", notifySubscribers)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.StatusPagesApi.updateMaintenance", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + return apiClient.invokeAPI( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Update maintenance. + * + *

See {@link #updateMaintenanceWithHttpInfo}. + * + * @param pageId The ID of the status page. (required) + * @param maintenanceId The ID of the maintenance. (required) + * @param body (required) + * @param parameters Optional parameters for the request. + * @return CompletableFuture<ApiResponse<Maintenance>> + */ + public CompletableFuture> updateMaintenanceWithHttpInfoAsync( + UUID pageId, + UUID maintenanceId, + PatchMaintenanceRequest body, + UpdateMaintenanceOptionalParameters parameters) { + Object localVarPostBody = body; + + // verify the required parameter 'pageId' is set + if (pageId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'pageId' when calling updateMaintenance")); + return result; + } + + // verify the required parameter 'maintenanceId' is set + if (maintenanceId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'maintenanceId' when calling updateMaintenance")); + return result; + } + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling updateMaintenance")); + return result; + } + Boolean notifySubscribers = parameters.notifySubscribers; + String include = parameters.include; + // create path and map variables + String localVarPath = + "/api/v2/statuspages/{page_id}/maintenances/{maintenance_id}" + .replaceAll("\\{" + "page_id" + "\\}", apiClient.escapeString(pageId.toString())) + .replaceAll( + "\\{" + "maintenance_id" + "\\}", apiClient.escapeString(maintenanceId.toString())); + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll( + apiClient.parameterToPairs("", "notify_subscribers", notifySubscribers)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", include)); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.StatusPagesApi.updateMaintenance", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** Manage optional parameters to updateStatusPage. */ public static class UpdateStatusPageOptionalParameters { private Boolean deleteSubscribers; diff --git a/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequest.java b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequest.java new file mode 100644 index 00000000000..39c181db2d7 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequest.java @@ -0,0 +1,136 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({CreateMaintenanceRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class CreateMaintenanceRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private CreateMaintenanceRequestData data; + + public CreateMaintenanceRequest data(CreateMaintenanceRequestData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Getdata + * + * @return data + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public CreateMaintenanceRequestData getData() { + return data; + } + + public void setData(CreateMaintenanceRequestData data) { + this.data = data; + } + + /** + * 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 CreateMaintenanceRequest + */ + @JsonAnySetter + public CreateMaintenanceRequest 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 CreateMaintenanceRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateMaintenanceRequest createMaintenanceRequest = (CreateMaintenanceRequest) o; + return Objects.equals(this.data, createMaintenanceRequest.data) + && Objects.equals(this.additionalProperties, createMaintenanceRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateMaintenanceRequest {\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/CreateMaintenanceRequestData.java b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequestData.java new file mode 100644 index 00000000000..b7af09a99d2 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequestData.java @@ -0,0 +1,184 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + CreateMaintenanceRequestData.JSON_PROPERTY_ATTRIBUTES, + CreateMaintenanceRequestData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class CreateMaintenanceRequestData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private CreateMaintenanceRequestDataAttributes attributes; + + public static final String JSON_PROPERTY_TYPE = "type"; + private PatchMaintenanceRequestDataType type = PatchMaintenanceRequestDataType.MAINTENANCES; + + public CreateMaintenanceRequestData() {} + + @JsonCreator + public CreateMaintenanceRequestData( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + CreateMaintenanceRequestDataAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + PatchMaintenanceRequestDataType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public CreateMaintenanceRequestData attributes( + CreateMaintenanceRequestDataAttributes attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * The supported attributes for creating a maintenance. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public CreateMaintenanceRequestDataAttributes getAttributes() { + return attributes; + } + + public void setAttributes(CreateMaintenanceRequestDataAttributes attributes) { + this.attributes = attributes; + } + + public CreateMaintenanceRequestData type(PatchMaintenanceRequestDataType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Maintenances resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataType getType() { + return type; + } + + public void setType(PatchMaintenanceRequestDataType type) { + if (!type.isValid()) { + this.unparsed = true; + } + 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 CreateMaintenanceRequestData + */ + @JsonAnySetter + public CreateMaintenanceRequestData 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 CreateMaintenanceRequestData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateMaintenanceRequestData createMaintenanceRequestData = (CreateMaintenanceRequestData) o; + return Objects.equals(this.attributes, createMaintenanceRequestData.attributes) + && Objects.equals(this.type, createMaintenanceRequestData.type) + && Objects.equals( + this.additionalProperties, createMaintenanceRequestData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateMaintenanceRequestData {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).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/CreateMaintenanceRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequestDataAttributes.java new file mode 100644 index 00000000000..ac6c9612d2c --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequestDataAttributes.java @@ -0,0 +1,348 @@ +/* + * 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.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** The supported attributes for creating a maintenance. */ +@JsonPropertyOrder({ + CreateMaintenanceRequestDataAttributes.JSON_PROPERTY_COMPLETED_DATE, + CreateMaintenanceRequestDataAttributes.JSON_PROPERTY_COMPLETED_DESCRIPTION, + CreateMaintenanceRequestDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED, + CreateMaintenanceRequestDataAttributes.JSON_PROPERTY_IN_PROGRESS_DESCRIPTION, + CreateMaintenanceRequestDataAttributes.JSON_PROPERTY_SCHEDULED_DESCRIPTION, + CreateMaintenanceRequestDataAttributes.JSON_PROPERTY_START_DATE, + CreateMaintenanceRequestDataAttributes.JSON_PROPERTY_TITLE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class CreateMaintenanceRequestDataAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_COMPLETED_DATE = "completed_date"; + private OffsetDateTime completedDate; + + public static final String JSON_PROPERTY_COMPLETED_DESCRIPTION = "completed_description"; + private String completedDescription; + + public static final String JSON_PROPERTY_COMPONENTS_AFFECTED = "components_affected"; + private List componentsAffected = + new ArrayList<>(); + + public static final String JSON_PROPERTY_IN_PROGRESS_DESCRIPTION = "in_progress_description"; + private String inProgressDescription; + + public static final String JSON_PROPERTY_SCHEDULED_DESCRIPTION = "scheduled_description"; + private String scheduledDescription; + + public static final String JSON_PROPERTY_START_DATE = "start_date"; + private OffsetDateTime startDate; + + public static final String JSON_PROPERTY_TITLE = "title"; + private String title; + + public CreateMaintenanceRequestDataAttributes() {} + + @JsonCreator + public CreateMaintenanceRequestDataAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_COMPONENTS_AFFECTED) + List componentsAffected, + @JsonProperty(required = true, value = JSON_PROPERTY_TITLE) String title) { + this.componentsAffected = componentsAffected; + this.title = title; + } + + public CreateMaintenanceRequestDataAttributes completedDate(OffsetDateTime completedDate) { + this.completedDate = completedDate; + return this; + } + + /** + * Timestamp of when the maintenance was completed. + * + * @return completedDate + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPLETED_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getCompletedDate() { + return completedDate; + } + + public void setCompletedDate(OffsetDateTime completedDate) { + this.completedDate = completedDate; + } + + public CreateMaintenanceRequestDataAttributes completedDescription(String completedDescription) { + this.completedDescription = completedDescription; + return this; + } + + /** + * The description shown when the maintenance is completed. + * + * @return completedDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPLETED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCompletedDescription() { + return completedDescription; + } + + public void setCompletedDescription(String completedDescription) { + this.completedDescription = completedDescription; + } + + public CreateMaintenanceRequestDataAttributes componentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + for (CreateMaintenanceRequestDataAttributesComponentsAffectedItems item : componentsAffected) { + this.unparsed |= item.unparsed; + } + return this; + } + + public CreateMaintenanceRequestDataAttributes addComponentsAffectedItem( + CreateMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) { + this.componentsAffected.add(componentsAffectedItem); + this.unparsed |= componentsAffectedItem.unparsed; + return this; + } + + /** + * The components affected by the maintenance. + * + * @return componentsAffected + */ + @JsonProperty(JSON_PROPERTY_COMPONENTS_AFFECTED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List + getComponentsAffected() { + return componentsAffected; + } + + public void setComponentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + } + + public CreateMaintenanceRequestDataAttributes inProgressDescription( + String inProgressDescription) { + this.inProgressDescription = inProgressDescription; + return this; + } + + /** + * The description shown while the maintenance is in progress. + * + * @return inProgressDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IN_PROGRESS_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getInProgressDescription() { + return inProgressDescription; + } + + public void setInProgressDescription(String inProgressDescription) { + this.inProgressDescription = inProgressDescription; + } + + public CreateMaintenanceRequestDataAttributes scheduledDescription(String scheduledDescription) { + this.scheduledDescription = scheduledDescription; + return this; + } + + /** + * The description shown when the maintenance is scheduled. + * + * @return scheduledDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SCHEDULED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getScheduledDescription() { + return scheduledDescription; + } + + public void setScheduledDescription(String scheduledDescription) { + this.scheduledDescription = scheduledDescription; + } + + public CreateMaintenanceRequestDataAttributes startDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * Timestamp of when the maintenance is scheduled to start. + * + * @return startDate + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_START_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getStartDate() { + return startDate; + } + + public void setStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + } + + public CreateMaintenanceRequestDataAttributes title(String title) { + this.title = title; + return this; + } + + /** + * The title of the maintenance. + * + * @return title + */ + @JsonProperty(JSON_PROPERTY_TITLE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + /** + * 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 CreateMaintenanceRequestDataAttributes + */ + @JsonAnySetter + public CreateMaintenanceRequestDataAttributes 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 CreateMaintenanceRequestDataAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateMaintenanceRequestDataAttributes createMaintenanceRequestDataAttributes = + (CreateMaintenanceRequestDataAttributes) o; + return Objects.equals(this.completedDate, createMaintenanceRequestDataAttributes.completedDate) + && Objects.equals( + this.completedDescription, createMaintenanceRequestDataAttributes.completedDescription) + && Objects.equals( + this.componentsAffected, createMaintenanceRequestDataAttributes.componentsAffected) + && Objects.equals( + this.inProgressDescription, + createMaintenanceRequestDataAttributes.inProgressDescription) + && Objects.equals( + this.scheduledDescription, createMaintenanceRequestDataAttributes.scheduledDescription) + && Objects.equals(this.startDate, createMaintenanceRequestDataAttributes.startDate) + && Objects.equals(this.title, createMaintenanceRequestDataAttributes.title) + && Objects.equals( + this.additionalProperties, createMaintenanceRequestDataAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + completedDate, + completedDescription, + componentsAffected, + inProgressDescription, + scheduledDescription, + startDate, + title, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateMaintenanceRequestDataAttributes {\n"); + sb.append(" completedDate: ").append(toIndentedString(completedDate)).append("\n"); + sb.append(" completedDescription: ") + .append(toIndentedString(completedDescription)) + .append("\n"); + sb.append(" componentsAffected: ").append(toIndentedString(componentsAffected)).append("\n"); + sb.append(" inProgressDescription: ") + .append(toIndentedString(inProgressDescription)) + .append("\n"); + sb.append(" scheduledDescription: ") + .append(toIndentedString(scheduledDescription)) + .append("\n"); + sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).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/CreateMaintenanceRequestDataAttributesComponentsAffectedItems.java b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequestDataAttributesComponentsAffectedItems.java new file mode 100644 index 00000000000..46eef88218a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/CreateMaintenanceRequestDataAttributesComponentsAffectedItems.java @@ -0,0 +1,209 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + CreateMaintenanceRequestDataAttributesComponentsAffectedItems.JSON_PROPERTY_ID, + CreateMaintenanceRequestDataAttributesComponentsAffectedItems.JSON_PROPERTY_NAME, + CreateMaintenanceRequestDataAttributesComponentsAffectedItems.JSON_PROPERTY_STATUS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class CreateMaintenanceRequestDataAttributesComponentsAffectedItems { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_STATUS = "status"; + private PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status; + + public CreateMaintenanceRequestDataAttributesComponentsAffectedItems() {} + + @JsonCreator + public CreateMaintenanceRequestDataAttributesComponentsAffectedItems( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.id = id; + this.status = status; + this.unparsed |= !status.isValid(); + } + + public CreateMaintenanceRequestDataAttributesComponentsAffectedItems id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the component. Must be a component of type component. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + public void setId(UUID id) { + this.id = id; + } + + /** + * The name of the component. + * + * @return name + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + public CreateMaintenanceRequestDataAttributesComponentsAffectedItems status( + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * The status of the component. + * + * @return status + */ + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus getStatus() { + return status; + } + + public void setStatus(PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + /** + * 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 CreateMaintenanceRequestDataAttributesComponentsAffectedItems + */ + @JsonAnySetter + public CreateMaintenanceRequestDataAttributesComponentsAffectedItems 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 CreateMaintenanceRequestDataAttributesComponentsAffectedItems object is + * equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateMaintenanceRequestDataAttributesComponentsAffectedItems + createMaintenanceRequestDataAttributesComponentsAffectedItems = + (CreateMaintenanceRequestDataAttributesComponentsAffectedItems) o; + return Objects.equals(this.id, createMaintenanceRequestDataAttributesComponentsAffectedItems.id) + && Objects.equals( + this.name, createMaintenanceRequestDataAttributesComponentsAffectedItems.name) + && Objects.equals( + this.status, createMaintenanceRequestDataAttributesComponentsAffectedItems.status) + && Objects.equals( + this.additionalProperties, + createMaintenanceRequestDataAttributesComponentsAffectedItems.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, status, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateMaintenanceRequestDataAttributesComponentsAffectedItems {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).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/Degradation.java b/src/main/java/com/datadog/api/client/v2/model/Degradation.java index c3ce3e7fd8a..903c53052a4 100644 --- a/src/main/java/com/datadog/api/client/v2/model/Degradation.java +++ b/src/main/java/com/datadog/api/client/v2/model/Degradation.java @@ -28,7 +28,7 @@ public class Degradation { private DegradationData data; public static final String JSON_PROPERTY_INCLUDED = "included"; - private List included = null; + private List included = null; public Degradation data(DegradationData data) { this.data = data; @@ -52,15 +52,15 @@ public void setData(DegradationData data) { this.data = data; } - public Degradation included(List included) { + public Degradation included(List included) { this.included = included; - for (DegradationArrayIncluded item : included) { + for (DegradationIncluded item : included) { this.unparsed |= item.unparsed; } return this; } - public Degradation addIncludedItem(DegradationArrayIncluded includedItem) { + public Degradation addIncludedItem(DegradationIncluded includedItem) { if (this.included == null) { this.included = new ArrayList<>(); } @@ -78,11 +78,11 @@ public Degradation addIncludedItem(DegradationArrayIncluded includedItem) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INCLUDED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getIncluded() { + public List getIncluded() { return included; } - public void setIncluded(List included) { + public void setIncluded(List included) { this.included = included; } diff --git a/src/main/java/com/datadog/api/client/v2/model/DegradationArray.java b/src/main/java/com/datadog/api/client/v2/model/DegradationArray.java index 7927cc7917f..95ace1dcddb 100644 --- a/src/main/java/com/datadog/api/client/v2/model/DegradationArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/DegradationArray.java @@ -33,10 +33,10 @@ public class DegradationArray { private List data = new ArrayList<>(); public static final String JSON_PROPERTY_INCLUDED = "included"; - private List included = null; + private List included = null; public static final String JSON_PROPERTY_META = "meta"; - private StatusPagesResponseMeta meta; + private PaginationMeta meta; public DegradationArray() {} @@ -75,15 +75,15 @@ public void setData(List data) { this.data = data; } - public DegradationArray included(List included) { + public DegradationArray included(List included) { this.included = included; - for (DegradationArrayIncluded item : included) { + for (DegradationIncluded item : included) { this.unparsed |= item.unparsed; } return this; } - public DegradationArray addIncludedItem(DegradationArrayIncluded includedItem) { + public DegradationArray addIncludedItem(DegradationIncluded includedItem) { if (this.included == null) { this.included = new ArrayList<>(); } @@ -101,11 +101,11 @@ public DegradationArray addIncludedItem(DegradationArrayIncluded includedItem) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INCLUDED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getIncluded() { + public List getIncluded() { return included; } - public void setIncluded(List included) { + public void setIncluded(List included) { this.included = included; } @@ -117,7 +117,7 @@ public void setIncluded(List included) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusPagesResponseMeta getMeta() { + public PaginationMeta getMeta() { return meta; } diff --git a/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributes.java index b46f82bee07..69c3319b1ee 100644 --- a/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributes.java @@ -25,6 +25,7 @@ DegradationDataAttributes.JSON_PROPERTY_CREATED_AT, DegradationDataAttributes.JSON_PROPERTY_DESCRIPTION, DegradationDataAttributes.JSON_PROPERTY_MODIFIED_AT, + DegradationDataAttributes.JSON_PROPERTY_SOURCE, DegradationDataAttributes.JSON_PROPERTY_STATUS, DegradationDataAttributes.JSON_PROPERTY_TITLE, DegradationDataAttributes.JSON_PROPERTY_UPDATES @@ -45,6 +46,9 @@ public class DegradationDataAttributes { public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; private OffsetDateTime modifiedAt; + public static final String JSON_PROPERTY_SOURCE = "source"; + private DegradationDataAttributesSource source; + public static final String JSON_PROPERTY_STATUS = "status"; private CreateDegradationRequestDataAttributesStatus status; @@ -153,6 +157,28 @@ public void setModifiedAt(OffsetDateTime modifiedAt) { this.modifiedAt = modifiedAt; } + public DegradationDataAttributes source(DegradationDataAttributesSource source) { + this.source = source; + this.unparsed |= source.unparsed; + return this; + } + + /** + * The source of the degradation. + * + * @return source + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public DegradationDataAttributesSource getSource() { + return source; + } + + public void setSource(DegradationDataAttributesSource source) { + this.source = source; + } + public DegradationDataAttributes status(CreateDegradationRequestDataAttributesStatus status) { this.status = status; this.unparsed |= !status.isValid(); @@ -293,6 +319,7 @@ public boolean equals(Object o) { && Objects.equals(this.createdAt, degradationDataAttributes.createdAt) && Objects.equals(this.description, degradationDataAttributes.description) && Objects.equals(this.modifiedAt, degradationDataAttributes.modifiedAt) + && Objects.equals(this.source, degradationDataAttributes.source) && Objects.equals(this.status, degradationDataAttributes.status) && Objects.equals(this.title, degradationDataAttributes.title) && Objects.equals(this.updates, degradationDataAttributes.updates) @@ -307,6 +334,7 @@ public int hashCode() { createdAt, description, modifiedAt, + source, status, title, updates, @@ -321,6 +349,7 @@ public String toString() { sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" source: ").append(toIndentedString(source)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" updates: ").append(toIndentedString(updates)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesSource.java b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesSource.java new file mode 100644 index 00000000000..ec0177941bd --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesSource.java @@ -0,0 +1,210 @@ +/* + * 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.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** The source of the degradation. */ +@JsonPropertyOrder({ + DegradationDataAttributesSource.JSON_PROPERTY_CREATED_AT, + DegradationDataAttributesSource.JSON_PROPERTY_SOURCE_ID, + DegradationDataAttributesSource.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class DegradationDataAttributesSource { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private OffsetDateTime createdAt; + + public static final String JSON_PROPERTY_SOURCE_ID = "source_id"; + private String sourceId; + + public static final String JSON_PROPERTY_TYPE = "type"; + private DegradationDataAttributesSourceType type; + + public DegradationDataAttributesSource() {} + + @JsonCreator + public DegradationDataAttributesSource( + @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt, + @JsonProperty(required = true, value = JSON_PROPERTY_SOURCE_ID) String sourceId, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + DegradationDataAttributesSourceType type) { + this.createdAt = createdAt; + this.sourceId = sourceId; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public DegradationDataAttributesSource createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Timestamp of when the source was created. + * + * @return createdAt + */ + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public DegradationDataAttributesSource sourceId(String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * The ID of the source. + * + * @return sourceId + */ + @JsonProperty(JSON_PROPERTY_SOURCE_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getSourceId() { + return sourceId; + } + + public void setSourceId(String sourceId) { + this.sourceId = sourceId; + } + + public DegradationDataAttributesSource type(DegradationDataAttributesSourceType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * The type of the source. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public DegradationDataAttributesSourceType getType() { + return type; + } + + public void setType(DegradationDataAttributesSourceType type) { + if (!type.isValid()) { + this.unparsed = true; + } + 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 DegradationDataAttributesSource + */ + @JsonAnySetter + public DegradationDataAttributesSource 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 DegradationDataAttributesSource object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DegradationDataAttributesSource degradationDataAttributesSource = + (DegradationDataAttributesSource) o; + return Objects.equals(this.createdAt, degradationDataAttributesSource.createdAt) + && Objects.equals(this.sourceId, degradationDataAttributesSource.sourceId) + && Objects.equals(this.type, degradationDataAttributesSource.type) + && Objects.equals( + this.additionalProperties, degradationDataAttributesSource.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(createdAt, sourceId, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DegradationDataAttributesSource {\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" sourceId: ").append(toIndentedString(sourceId)).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/DegradationDataAttributesSourceType.java b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesSourceType.java new file mode 100644 index 00000000000..70a04a5b304 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesSourceType.java @@ -0,0 +1,58 @@ +/* + * 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 type of the source. */ +@JsonSerialize( + using = DegradationDataAttributesSourceType.DegradationDataAttributesSourceTypeSerializer.class) +public class DegradationDataAttributesSourceType extends ModelEnum { + + private static final Set allowedValues = new HashSet(Arrays.asList("incident")); + + public static final DegradationDataAttributesSourceType INCIDENT = + new DegradationDataAttributesSourceType("incident"); + + DegradationDataAttributesSourceType(String value) { + super(value, allowedValues); + } + + public static class DegradationDataAttributesSourceTypeSerializer + extends StdSerializer { + public DegradationDataAttributesSourceTypeSerializer( + Class t) { + super(t); + } + + public DegradationDataAttributesSourceTypeSerializer() { + this(null); + } + + @Override + public void serialize( + DegradationDataAttributesSourceType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static DegradationDataAttributesSourceType fromValue(String value) { + return new DegradationDataAttributesSourceType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesUpdatesItems.java b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesUpdatesItems.java index caf9484d3f2..294831a8103 100644 --- a/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesUpdatesItems.java +++ b/src/main/java/com/datadog/api/client/v2/model/DegradationDataAttributesUpdatesItems.java @@ -27,6 +27,7 @@ DegradationDataAttributesUpdatesItems.JSON_PROPERTY_DESCRIPTION, DegradationDataAttributesUpdatesItems.JSON_PROPERTY_ID, DegradationDataAttributesUpdatesItems.JSON_PROPERTY_MODIFIED_AT, + DegradationDataAttributesUpdatesItems.JSON_PROPERTY_STARTED_AT, DegradationDataAttributesUpdatesItems.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated( @@ -49,6 +50,9 @@ public class DegradationDataAttributesUpdatesItems { public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; private OffsetDateTime modifiedAt; + public static final String JSON_PROPERTY_STARTED_AT = "started_at"; + private OffsetDateTime startedAt; + public static final String JSON_PROPERTY_STATUS = "status"; private CreateDegradationRequestDataAttributesStatus status; @@ -146,6 +150,27 @@ public OffsetDateTime getModifiedAt() { return modifiedAt; } + public DegradationDataAttributesUpdatesItems startedAt(OffsetDateTime startedAt) { + this.startedAt = startedAt; + return this; + } + + /** + * Timestamp of when the update started. + * + * @return startedAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STARTED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getStartedAt() { + return startedAt; + } + + public void setStartedAt(OffsetDateTime startedAt) { + this.startedAt = startedAt; + } + public DegradationDataAttributesUpdatesItems status( CreateDegradationRequestDataAttributesStatus status) { this.status = status; @@ -235,6 +260,7 @@ public boolean equals(Object o) { && Objects.equals(this.description, degradationDataAttributesUpdatesItems.description) && Objects.equals(this.id, degradationDataAttributesUpdatesItems.id) && Objects.equals(this.modifiedAt, degradationDataAttributesUpdatesItems.modifiedAt) + && Objects.equals(this.startedAt, degradationDataAttributesUpdatesItems.startedAt) && Objects.equals(this.status, degradationDataAttributesUpdatesItems.status) && Objects.equals( this.additionalProperties, degradationDataAttributesUpdatesItems.additionalProperties); @@ -243,7 +269,14 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - componentsAffected, createdAt, description, id, modifiedAt, status, additionalProperties); + componentsAffected, + createdAt, + description, + id, + modifiedAt, + startedAt, + status, + additionalProperties); } @Override @@ -255,6 +288,7 @@ public String toString() { sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" startedAt: ").append(toIndentedString(startedAt)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/DegradationArrayIncluded.java b/src/main/java/com/datadog/api/client/v2/model/DegradationIncluded.java similarity index 87% rename from src/main/java/com/datadog/api/client/v2/model/DegradationArrayIncluded.java rename to src/main/java/com/datadog/api/client/v2/model/DegradationIncluded.java index ba9d26e414c..594f9dcd9ad 100644 --- a/src/main/java/com/datadog/api/client/v2/model/DegradationArrayIncluded.java +++ b/src/main/java/com/datadog/api/client/v2/model/DegradationIncluded.java @@ -36,43 +36,41 @@ @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -@JsonDeserialize(using = DegradationArrayIncluded.DegradationArrayIncludedDeserializer.class) -@JsonSerialize(using = DegradationArrayIncluded.DegradationArrayIncludedSerializer.class) -public class DegradationArrayIncluded extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(DegradationArrayIncluded.class.getName()); +@JsonDeserialize(using = DegradationIncluded.DegradationIncludedDeserializer.class) +@JsonSerialize(using = DegradationIncluded.DegradationIncludedSerializer.class) +public class DegradationIncluded extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(DegradationIncluded.class.getName()); @JsonIgnore public boolean unparsed = false; - public static class DegradationArrayIncludedSerializer - extends StdSerializer { - public DegradationArrayIncludedSerializer(Class t) { + public static class DegradationIncludedSerializer extends StdSerializer { + public DegradationIncludedSerializer(Class t) { super(t); } - public DegradationArrayIncludedSerializer() { + public DegradationIncludedSerializer() { this(null); } @Override public void serialize( - DegradationArrayIncluded value, JsonGenerator jgen, SerializerProvider provider) + DegradationIncluded value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class DegradationArrayIncludedDeserializer - extends StdDeserializer { - public DegradationArrayIncludedDeserializer() { - this(DegradationArrayIncluded.class); + public static class DegradationIncludedDeserializer extends StdDeserializer { + public DegradationIncludedDeserializer() { + this(DegradationIncluded.class); } - public DegradationArrayIncludedDeserializer(Class vc) { + public DegradationIncludedDeserializer(Class vc) { super(vc); } @Override - public DegradationArrayIncluded deserialize(JsonParser jp, DeserializationContext ctxt) + public DegradationIncluded deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; @@ -169,7 +167,7 @@ public DegradationArrayIncluded deserialize(JsonParser jp, DeserializationContex log.log(Level.FINER, "Input data does not match schema 'StatusPageAsIncluded'", e); } - DegradationArrayIncluded ret = new DegradationArrayIncluded(); + DegradationIncluded ret = new DegradationIncluded(); if (match == 1) { ret.setActualInstance(deserialized); } else { @@ -185,25 +183,25 @@ public DegradationArrayIncluded deserialize(JsonParser jp, DeserializationContex /** Handle deserialization of the 'null' value. */ @Override - public DegradationArrayIncluded getNullValue(DeserializationContext ctxt) + public DegradationIncluded getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "DegradationArrayIncluded cannot be null"); + throw new JsonMappingException(ctxt.getParser(), "DegradationIncluded cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public DegradationArrayIncluded() { + public DegradationIncluded() { super("oneOf", Boolean.FALSE); } - public DegradationArrayIncluded(StatusPagesUser o) { + public DegradationIncluded(StatusPagesUser o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } - public DegradationArrayIncluded(StatusPageAsIncluded o) { + public DegradationIncluded(StatusPageAsIncluded o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } @@ -211,12 +209,12 @@ public DegradationArrayIncluded(StatusPageAsIncluded o) { static { schemas.put("StatusPagesUser", new GenericType() {}); schemas.put("StatusPageAsIncluded", new GenericType() {}); - JSON.registerDescendants(DegradationArrayIncluded.class, Collections.unmodifiableMap(schemas)); + JSON.registerDescendants(DegradationIncluded.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return DegradationArrayIncluded.schemas; + return DegradationIncluded.schemas; } /** diff --git a/src/main/java/com/datadog/api/client/v2/model/Maintenance.java b/src/main/java/com/datadog/api/client/v2/model/Maintenance.java new file mode 100644 index 00000000000..e6609ea80f1 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/Maintenance.java @@ -0,0 +1,177 @@ +/* + * 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.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** */ +@JsonPropertyOrder({Maintenance.JSON_PROPERTY_DATA, Maintenance.JSON_PROPERTY_INCLUDED}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class Maintenance { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private MaintenanceData data; + + public static final String JSON_PROPERTY_INCLUDED = "included"; + private List included = null; + + public Maintenance data(MaintenanceData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Getdata + * + * @return data + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceData getData() { + return data; + } + + public void setData(MaintenanceData data) { + this.data = data; + } + + public Maintenance included(List included) { + this.included = included; + for (DegradationIncluded item : included) { + this.unparsed |= item.unparsed; + } + return this; + } + + public Maintenance addIncludedItem(DegradationIncluded includedItem) { + if (this.included == null) { + this.included = new ArrayList<>(); + } + this.included.add(includedItem); + this.unparsed |= includedItem.unparsed; + return this; + } + + /** + * The included related resources of a maintenance. Client must explicitly request these resources + * by name in the include query parameter. + * + * @return included + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INCLUDED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getIncluded() { + return included; + } + + public void setIncluded(List included) { + this.included = included; + } + + /** + * 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 Maintenance + */ + @JsonAnySetter + public Maintenance 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 Maintenance object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Maintenance maintenance = (Maintenance) o; + return Objects.equals(this.data, maintenance.data) + && Objects.equals(this.included, maintenance.included) + && Objects.equals(this.additionalProperties, maintenance.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, included, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Maintenance {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" included: ").append(toIndentedString(included)).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/MaintenanceArray.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceArray.java new file mode 100644 index 00000000000..cd5dd9a07d3 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceArray.java @@ -0,0 +1,214 @@ +/* + * 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.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** */ +@JsonPropertyOrder({ + MaintenanceArray.JSON_PROPERTY_DATA, + MaintenanceArray.JSON_PROPERTY_INCLUDED, + MaintenanceArray.JSON_PROPERTY_META +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceArray { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private List data = new ArrayList<>(); + + public static final String JSON_PROPERTY_INCLUDED = "included"; + private List included = null; + + public static final String JSON_PROPERTY_META = "meta"; + private PaginationMeta meta; + + public MaintenanceArray() {} + + @JsonCreator + public MaintenanceArray( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) List data) { + this.data = data; + } + + public MaintenanceArray data(List data) { + this.data = data; + for (MaintenanceData item : data) { + this.unparsed |= item.unparsed; + } + return this; + } + + public MaintenanceArray addDataItem(MaintenanceData dataItem) { + this.data.add(dataItem); + this.unparsed |= dataItem.unparsed; + return this; + } + + /** + * Getdata + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + public MaintenanceArray included(List included) { + this.included = included; + for (DegradationIncluded item : included) { + this.unparsed |= item.unparsed; + } + return this; + } + + public MaintenanceArray addIncludedItem(DegradationIncluded includedItem) { + if (this.included == null) { + this.included = new ArrayList<>(); + } + this.included.add(includedItem); + this.unparsed |= includedItem.unparsed; + return this; + } + + /** + * The included related resources of a maintenance. Client must explicitly request these resources + * by name in the include query parameter. + * + * @return included + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INCLUDED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getIncluded() { + return included; + } + + public void setIncluded(List included) { + this.included = included; + } + + /** + * Response metadata. + * + * @return meta + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_META) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PaginationMeta getMeta() { + return meta; + } + + /** + * 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 MaintenanceArray + */ + @JsonAnySetter + public MaintenanceArray 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 MaintenanceArray object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceArray maintenanceArray = (MaintenanceArray) o; + return Objects.equals(this.data, maintenanceArray.data) + && Objects.equals(this.included, maintenanceArray.included) + && Objects.equals(this.meta, maintenanceArray.meta) + && Objects.equals(this.additionalProperties, maintenanceArray.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, included, meta, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceArray {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" included: ").append(toIndentedString(included)).append("\n"); + sb.append(" meta: ").append(toIndentedString(meta)).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/MaintenanceData.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceData.java new file mode 100644 index 00000000000..4ec3d39e77f --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceData.java @@ -0,0 +1,235 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + MaintenanceData.JSON_PROPERTY_ATTRIBUTES, + MaintenanceData.JSON_PROPERTY_ID, + MaintenanceData.JSON_PROPERTY_RELATIONSHIPS, + MaintenanceData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private MaintenanceDataAttributes attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_RELATIONSHIPS = "relationships"; + private MaintenanceDataRelationships relationships; + + public static final String JSON_PROPERTY_TYPE = "type"; + private PatchMaintenanceRequestDataType type = PatchMaintenanceRequestDataType.MAINTENANCES; + + public MaintenanceData() {} + + @JsonCreator + public MaintenanceData( + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + PatchMaintenanceRequestDataType type) { + this.type = type; + this.unparsed |= !type.isValid(); + } + + public MaintenanceData attributes(MaintenanceDataAttributes attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * The attributes of a maintenance. + * + * @return attributes + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceDataAttributes getAttributes() { + return attributes; + } + + public void setAttributes(MaintenanceDataAttributes attributes) { + this.attributes = attributes; + } + + public MaintenanceData id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the maintenance. + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public UUID getId() { + return id; + } + + public void setId(UUID id) { + this.id = id; + } + + public MaintenanceData relationships(MaintenanceDataRelationships relationships) { + this.relationships = relationships; + this.unparsed |= relationships.unparsed; + return this; + } + + /** + * The relationships of a maintenance. + * + * @return relationships + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_RELATIONSHIPS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceDataRelationships getRelationships() { + return relationships; + } + + public void setRelationships(MaintenanceDataRelationships relationships) { + this.relationships = relationships; + } + + public MaintenanceData type(PatchMaintenanceRequestDataType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Maintenances resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataType getType() { + return type; + } + + public void setType(PatchMaintenanceRequestDataType type) { + if (!type.isValid()) { + this.unparsed = true; + } + 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 MaintenanceData + */ + @JsonAnySetter + public MaintenanceData 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 MaintenanceData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceData maintenanceData = (MaintenanceData) o; + return Objects.equals(this.attributes, maintenanceData.attributes) + && Objects.equals(this.id, maintenanceData.id) + && Objects.equals(this.relationships, maintenanceData.relationships) + && Objects.equals(this.type, maintenanceData.type) + && Objects.equals(this.additionalProperties, maintenanceData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, relationships, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceData {\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)) + .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/MaintenanceDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributes.java new file mode 100644 index 00000000000..5292aacf18f --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributes.java @@ -0,0 +1,462 @@ +/* + * 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.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** The attributes of a maintenance. */ +@JsonPropertyOrder({ + MaintenanceDataAttributes.JSON_PROPERTY_COMPLETED_DATE, + MaintenanceDataAttributes.JSON_PROPERTY_COMPLETED_DESCRIPTION, + MaintenanceDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED, + MaintenanceDataAttributes.JSON_PROPERTY_IN_PROGRESS_DESCRIPTION, + MaintenanceDataAttributes.JSON_PROPERTY_MODIFIED_AT, + MaintenanceDataAttributes.JSON_PROPERTY_PUBLISHED_DATE, + MaintenanceDataAttributes.JSON_PROPERTY_SCHEDULED_DESCRIPTION, + MaintenanceDataAttributes.JSON_PROPERTY_START_DATE, + MaintenanceDataAttributes.JSON_PROPERTY_STATUS, + MaintenanceDataAttributes.JSON_PROPERTY_TITLE, + MaintenanceDataAttributes.JSON_PROPERTY_UPDATES +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_COMPLETED_DATE = "completed_date"; + private OffsetDateTime completedDate; + + public static final String JSON_PROPERTY_COMPLETED_DESCRIPTION = "completed_description"; + private String completedDescription; + + public static final String JSON_PROPERTY_COMPONENTS_AFFECTED = "components_affected"; + private List componentsAffected = null; + + public static final String JSON_PROPERTY_IN_PROGRESS_DESCRIPTION = "in_progress_description"; + private String inProgressDescription; + + public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; + private OffsetDateTime modifiedAt; + + public static final String JSON_PROPERTY_PUBLISHED_DATE = "published_date"; + private OffsetDateTime publishedDate; + + public static final String JSON_PROPERTY_SCHEDULED_DESCRIPTION = "scheduled_description"; + private String scheduledDescription; + + public static final String JSON_PROPERTY_START_DATE = "start_date"; + private OffsetDateTime startDate; + + public static final String JSON_PROPERTY_STATUS = "status"; + private MaintenanceDataAttributesStatus status; + + public static final String JSON_PROPERTY_TITLE = "title"; + private String title; + + public static final String JSON_PROPERTY_UPDATES = "updates"; + private List updates = null; + + public MaintenanceDataAttributes completedDate(OffsetDateTime completedDate) { + this.completedDate = completedDate; + return this; + } + + /** + * Timestamp of when the maintenance was completed. + * + * @return completedDate + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPLETED_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getCompletedDate() { + return completedDate; + } + + public void setCompletedDate(OffsetDateTime completedDate) { + this.completedDate = completedDate; + } + + public MaintenanceDataAttributes completedDescription(String completedDescription) { + this.completedDescription = completedDescription; + return this; + } + + /** + * The description shown when the maintenance is completed. + * + * @return completedDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPLETED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCompletedDescription() { + return completedDescription; + } + + public void setCompletedDescription(String completedDescription) { + this.completedDescription = completedDescription; + } + + public MaintenanceDataAttributes componentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + for (MaintenanceDataAttributesComponentsAffectedItems item : componentsAffected) { + this.unparsed |= item.unparsed; + } + return this; + } + + public MaintenanceDataAttributes addComponentsAffectedItem( + MaintenanceDataAttributesComponentsAffectedItems componentsAffectedItem) { + if (this.componentsAffected == null) { + this.componentsAffected = new ArrayList<>(); + } + this.componentsAffected.add(componentsAffectedItem); + this.unparsed |= componentsAffectedItem.unparsed; + return this; + } + + /** + * Components affected by the maintenance. + * + * @return componentsAffected + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPONENTS_AFFECTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getComponentsAffected() { + return componentsAffected; + } + + public void setComponentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + } + + public MaintenanceDataAttributes inProgressDescription(String inProgressDescription) { + this.inProgressDescription = inProgressDescription; + return this; + } + + /** + * The description shown while the maintenance is in progress. + * + * @return inProgressDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IN_PROGRESS_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getInProgressDescription() { + return inProgressDescription; + } + + public void setInProgressDescription(String inProgressDescription) { + this.inProgressDescription = inProgressDescription; + } + + public MaintenanceDataAttributes modifiedAt(OffsetDateTime modifiedAt) { + this.modifiedAt = modifiedAt; + return this; + } + + /** + * Timestamp of when the maintenance was last modified. + * + * @return modifiedAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MODIFIED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getModifiedAt() { + return modifiedAt; + } + + public void setModifiedAt(OffsetDateTime modifiedAt) { + this.modifiedAt = modifiedAt; + } + + public MaintenanceDataAttributes publishedDate(OffsetDateTime publishedDate) { + this.publishedDate = publishedDate; + return this; + } + + /** + * Timestamp of when the maintenance was published. + * + * @return publishedDate + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PUBLISHED_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getPublishedDate() { + return publishedDate; + } + + public void setPublishedDate(OffsetDateTime publishedDate) { + this.publishedDate = publishedDate; + } + + public MaintenanceDataAttributes scheduledDescription(String scheduledDescription) { + this.scheduledDescription = scheduledDescription; + return this; + } + + /** + * The description shown when the maintenance is scheduled. + * + * @return scheduledDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SCHEDULED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getScheduledDescription() { + return scheduledDescription; + } + + public void setScheduledDescription(String scheduledDescription) { + this.scheduledDescription = scheduledDescription; + } + + public MaintenanceDataAttributes startDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * Timestamp of when the maintenance is scheduled to start. + * + * @return startDate + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_START_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getStartDate() { + return startDate; + } + + public void setStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + } + + public MaintenanceDataAttributes status(MaintenanceDataAttributesStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * The status of the maintenance. + * + * @return status + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceDataAttributesStatus getStatus() { + return status; + } + + public void setStatus(MaintenanceDataAttributesStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + public MaintenanceDataAttributes title(String title) { + this.title = title; + return this; + } + + /** + * Title of the maintenance. + * + * @return title + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TITLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public MaintenanceDataAttributes updates(List updates) { + this.updates = updates; + for (MaintenanceDataAttributesUpdatesItems item : updates) { + this.unparsed |= item.unparsed; + } + return this; + } + + public MaintenanceDataAttributes addUpdatesItem( + MaintenanceDataAttributesUpdatesItems updatesItem) { + if (this.updates == null) { + this.updates = new ArrayList<>(); + } + this.updates.add(updatesItem); + this.unparsed |= updatesItem.unparsed; + return this; + } + + /** + * Past updates made to the maintenance. + * + * @return updates + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_UPDATES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getUpdates() { + return updates; + } + + public void setUpdates(List updates) { + this.updates = updates; + } + + /** + * 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 MaintenanceDataAttributes + */ + @JsonAnySetter + public MaintenanceDataAttributes 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 MaintenanceDataAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataAttributes maintenanceDataAttributes = (MaintenanceDataAttributes) o; + return Objects.equals(this.completedDate, maintenanceDataAttributes.completedDate) + && Objects.equals(this.completedDescription, maintenanceDataAttributes.completedDescription) + && Objects.equals(this.componentsAffected, maintenanceDataAttributes.componentsAffected) + && Objects.equals( + this.inProgressDescription, maintenanceDataAttributes.inProgressDescription) + && Objects.equals(this.modifiedAt, maintenanceDataAttributes.modifiedAt) + && Objects.equals(this.publishedDate, maintenanceDataAttributes.publishedDate) + && Objects.equals(this.scheduledDescription, maintenanceDataAttributes.scheduledDescription) + && Objects.equals(this.startDate, maintenanceDataAttributes.startDate) + && Objects.equals(this.status, maintenanceDataAttributes.status) + && Objects.equals(this.title, maintenanceDataAttributes.title) + && Objects.equals(this.updates, maintenanceDataAttributes.updates) + && Objects.equals( + this.additionalProperties, maintenanceDataAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + completedDate, + completedDescription, + componentsAffected, + inProgressDescription, + modifiedAt, + publishedDate, + scheduledDescription, + startDate, + status, + title, + updates, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataAttributes {\n"); + sb.append(" completedDate: ").append(toIndentedString(completedDate)).append("\n"); + sb.append(" completedDescription: ") + .append(toIndentedString(completedDescription)) + .append("\n"); + sb.append(" componentsAffected: ").append(toIndentedString(componentsAffected)).append("\n"); + sb.append(" inProgressDescription: ") + .append(toIndentedString(inProgressDescription)) + .append("\n"); + sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" publishedDate: ").append(toIndentedString(publishedDate)).append("\n"); + sb.append(" scheduledDescription: ") + .append(toIndentedString(scheduledDescription)) + .append("\n"); + sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" updates: ").append(toIndentedString(updates)).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/MaintenanceDataAttributesComponentsAffectedItems.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesComponentsAffectedItems.java new file mode 100644 index 00000000000..3c6a64c0168 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesComponentsAffectedItems.java @@ -0,0 +1,204 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + MaintenanceDataAttributesComponentsAffectedItems.JSON_PROPERTY_ID, + MaintenanceDataAttributesComponentsAffectedItems.JSON_PROPERTY_NAME, + MaintenanceDataAttributesComponentsAffectedItems.JSON_PROPERTY_STATUS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataAttributesComponentsAffectedItems { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_STATUS = "status"; + private PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status; + + public MaintenanceDataAttributesComponentsAffectedItems() {} + + @JsonCreator + public MaintenanceDataAttributesComponentsAffectedItems( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.id = id; + this.status = status; + this.unparsed |= !status.isValid(); + } + + public MaintenanceDataAttributesComponentsAffectedItems id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the component. Must be a component of type component. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + public void setId(UUID id) { + this.id = id; + } + + /** + * The name of the component. + * + * @return name + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + public MaintenanceDataAttributesComponentsAffectedItems status( + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * The status of the component. + * + * @return status + */ + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus getStatus() { + return status; + } + + public void setStatus(PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + /** + * 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 MaintenanceDataAttributesComponentsAffectedItems + */ + @JsonAnySetter + public MaintenanceDataAttributesComponentsAffectedItems 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 MaintenanceDataAttributesComponentsAffectedItems object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataAttributesComponentsAffectedItems + maintenanceDataAttributesComponentsAffectedItems = + (MaintenanceDataAttributesComponentsAffectedItems) o; + return Objects.equals(this.id, maintenanceDataAttributesComponentsAffectedItems.id) + && Objects.equals(this.name, maintenanceDataAttributesComponentsAffectedItems.name) + && Objects.equals(this.status, maintenanceDataAttributesComponentsAffectedItems.status) + && Objects.equals( + this.additionalProperties, + maintenanceDataAttributesComponentsAffectedItems.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, status, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataAttributesComponentsAffectedItems {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).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/MaintenanceDataAttributesStatus.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesStatus.java new file mode 100644 index 00000000000..d4b479c6e20 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesStatus.java @@ -0,0 +1,62 @@ +/* + * 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 status of the maintenance. */ +@JsonSerialize( + using = MaintenanceDataAttributesStatus.MaintenanceDataAttributesStatusSerializer.class) +public class MaintenanceDataAttributesStatus extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("scheduled", "in_progress", "completed")); + + public static final MaintenanceDataAttributesStatus SCHEDULED = + new MaintenanceDataAttributesStatus("scheduled"); + public static final MaintenanceDataAttributesStatus IN_PROGRESS = + new MaintenanceDataAttributesStatus("in_progress"); + public static final MaintenanceDataAttributesStatus COMPLETED = + new MaintenanceDataAttributesStatus("completed"); + + MaintenanceDataAttributesStatus(String value) { + super(value, allowedValues); + } + + public static class MaintenanceDataAttributesStatusSerializer + extends StdSerializer { + public MaintenanceDataAttributesStatusSerializer(Class t) { + super(t); + } + + public MaintenanceDataAttributesStatusSerializer() { + this(null); + } + + @Override + public void serialize( + MaintenanceDataAttributesStatus value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static MaintenanceDataAttributesStatus fromValue(String value) { + return new MaintenanceDataAttributesStatus(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesUpdatesItems.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesUpdatesItems.java new file mode 100644 index 00000000000..5dd32d88da1 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesUpdatesItems.java @@ -0,0 +1,325 @@ +/* + * 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.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; + +/** */ +@JsonPropertyOrder({ + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_COMPONENTS_AFFECTED, + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_CREATED_AT, + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_DESCRIPTION, + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_ID, + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_MANUAL_TRANSITION, + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_MODIFIED_AT, + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_STARTED_AT, + MaintenanceDataAttributesUpdatesItems.JSON_PROPERTY_STATUS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataAttributesUpdatesItems { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_COMPONENTS_AFFECTED = "components_affected"; + private List componentsAffected = + null; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private OffsetDateTime createdAt; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_MANUAL_TRANSITION = "manual_transition"; + private Boolean manualTransition; + + public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; + private OffsetDateTime modifiedAt; + + public static final String JSON_PROPERTY_STARTED_AT = "started_at"; + private OffsetDateTime startedAt; + + public static final String JSON_PROPERTY_STATUS = "status"; + private String status; + + public MaintenanceDataAttributesUpdatesItems componentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + for (MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems item : componentsAffected) { + this.unparsed |= item.unparsed; + } + return this; + } + + public MaintenanceDataAttributesUpdatesItems addComponentsAffectedItem( + MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems componentsAffectedItem) { + if (this.componentsAffected == null) { + this.componentsAffected = new ArrayList<>(); + } + this.componentsAffected.add(componentsAffectedItem); + this.unparsed |= componentsAffectedItem.unparsed; + return this; + } + + /** + * The components affected at the time of the update. + * + * @return componentsAffected + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPONENTS_AFFECTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List + getComponentsAffected() { + return componentsAffected; + } + + public void setComponentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + } + + /** + * Timestamp of when the update was created. + * + * @return createdAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public MaintenanceDataAttributesUpdatesItems description(String description) { + this.description = description; + return this; + } + + /** + * Description of the update. + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + /** + * Identifier of the update. + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public UUID getId() { + return id; + } + + /** + * Whether the update was applied manually by a user (true) or automatically by the system + * (false). + * + * @return manualTransition + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MANUAL_TRANSITION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getManualTransition() { + return manualTransition; + } + + /** + * Timestamp of when the update was last modified. + * + * @return modifiedAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MODIFIED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getModifiedAt() { + return modifiedAt; + } + + public MaintenanceDataAttributesUpdatesItems startedAt(OffsetDateTime startedAt) { + this.startedAt = startedAt; + return this; + } + + /** + * Timestamp of when the update started. + * + * @return startedAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STARTED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getStartedAt() { + return startedAt; + } + + public void setStartedAt(OffsetDateTime startedAt) { + this.startedAt = startedAt; + } + + public MaintenanceDataAttributesUpdatesItems status(String status) { + this.status = status; + return this; + } + + /** + * The status of the update. + * + * @return status + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + /** + * 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 MaintenanceDataAttributesUpdatesItems + */ + @JsonAnySetter + public MaintenanceDataAttributesUpdatesItems 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 MaintenanceDataAttributesUpdatesItems object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataAttributesUpdatesItems maintenanceDataAttributesUpdatesItems = + (MaintenanceDataAttributesUpdatesItems) o; + return Objects.equals( + this.componentsAffected, maintenanceDataAttributesUpdatesItems.componentsAffected) + && Objects.equals(this.createdAt, maintenanceDataAttributesUpdatesItems.createdAt) + && Objects.equals(this.description, maintenanceDataAttributesUpdatesItems.description) + && Objects.equals(this.id, maintenanceDataAttributesUpdatesItems.id) + && Objects.equals( + this.manualTransition, maintenanceDataAttributesUpdatesItems.manualTransition) + && Objects.equals(this.modifiedAt, maintenanceDataAttributesUpdatesItems.modifiedAt) + && Objects.equals(this.startedAt, maintenanceDataAttributesUpdatesItems.startedAt) + && Objects.equals(this.status, maintenanceDataAttributesUpdatesItems.status) + && Objects.equals( + this.additionalProperties, maintenanceDataAttributesUpdatesItems.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + componentsAffected, + createdAt, + description, + id, + manualTransition, + modifiedAt, + startedAt, + status, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataAttributesUpdatesItems {\n"); + sb.append(" componentsAffected: ").append(toIndentedString(componentsAffected)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" manualTransition: ").append(toIndentedString(manualTransition)).append("\n"); + sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" startedAt: ").append(toIndentedString(startedAt)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).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/MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems.java new file mode 100644 index 00000000000..1d31192a77a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems.java @@ -0,0 +1,209 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems.JSON_PROPERTY_ID, + MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems.JSON_PROPERTY_NAME, + MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems.JSON_PROPERTY_STATUS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_STATUS = "status"; + private PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status; + + public MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems() {} + + @JsonCreator + public MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.id = id; + this.status = status; + this.unparsed |= !status.isValid(); + } + + public MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems id(UUID id) { + this.id = id; + return this; + } + + /** + * Identifier of the component affected at the time of the update. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + public void setId(UUID id) { + this.id = id; + } + + /** + * The name of the component affected at the time of the update. + * + * @return name + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + public MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems status( + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * The status of the component. + * + * @return status + */ + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus getStatus() { + return status; + } + + public void setStatus(PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + /** + * 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 MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems + */ + @JsonAnySetter + public MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems 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 MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems object is + * equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems + maintenanceDataAttributesUpdatesItemsComponentsAffectedItems = + (MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems) o; + return Objects.equals(this.id, maintenanceDataAttributesUpdatesItemsComponentsAffectedItems.id) + && Objects.equals( + this.name, maintenanceDataAttributesUpdatesItemsComponentsAffectedItems.name) + && Objects.equals( + this.status, maintenanceDataAttributesUpdatesItemsComponentsAffectedItems.status) + && Objects.equals( + this.additionalProperties, + maintenanceDataAttributesUpdatesItemsComponentsAffectedItems.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, status, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataAttributesUpdatesItemsComponentsAffectedItems {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).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/MaintenanceDataRelationships.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationships.java new file mode 100644 index 00000000000..3b555672c04 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationships.java @@ -0,0 +1,199 @@ +/* + * 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; + +/** The relationships of a maintenance. */ +@JsonPropertyOrder({ + MaintenanceDataRelationships.JSON_PROPERTY_CREATED_BY_USER, + MaintenanceDataRelationships.JSON_PROPERTY_LAST_MODIFIED_BY_USER, + MaintenanceDataRelationships.JSON_PROPERTY_STATUS_PAGE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataRelationships { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CREATED_BY_USER = "created_by_user"; + private MaintenanceDataRelationshipsCreatedByUser createdByUser; + + public static final String JSON_PROPERTY_LAST_MODIFIED_BY_USER = "last_modified_by_user"; + private MaintenanceDataRelationshipsLastModifiedByUser lastModifiedByUser; + + public static final String JSON_PROPERTY_STATUS_PAGE = "status_page"; + private MaintenanceDataRelationshipsStatusPage statusPage; + + public MaintenanceDataRelationships createdByUser( + MaintenanceDataRelationshipsCreatedByUser createdByUser) { + this.createdByUser = createdByUser; + this.unparsed |= createdByUser.unparsed; + return this; + } + + /** + * GetcreatedByUser + * + * @return createdByUser + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_BY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceDataRelationshipsCreatedByUser getCreatedByUser() { + return createdByUser; + } + + public void setCreatedByUser(MaintenanceDataRelationshipsCreatedByUser createdByUser) { + this.createdByUser = createdByUser; + } + + public MaintenanceDataRelationships lastModifiedByUser( + MaintenanceDataRelationshipsLastModifiedByUser lastModifiedByUser) { + this.lastModifiedByUser = lastModifiedByUser; + this.unparsed |= lastModifiedByUser.unparsed; + return this; + } + + /** + * GetlastModifiedByUser + * + * @return lastModifiedByUser + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAST_MODIFIED_BY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceDataRelationshipsLastModifiedByUser getLastModifiedByUser() { + return lastModifiedByUser; + } + + public void setLastModifiedByUser( + MaintenanceDataRelationshipsLastModifiedByUser lastModifiedByUser) { + this.lastModifiedByUser = lastModifiedByUser; + } + + public MaintenanceDataRelationships statusPage( + MaintenanceDataRelationshipsStatusPage statusPage) { + this.statusPage = statusPage; + this.unparsed |= statusPage.unparsed; + return this; + } + + /** + * GetstatusPage + * + * @return statusPage + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATUS_PAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceDataRelationshipsStatusPage getStatusPage() { + return statusPage; + } + + public void setStatusPage(MaintenanceDataRelationshipsStatusPage statusPage) { + this.statusPage = statusPage; + } + + /** + * 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 MaintenanceDataRelationships + */ + @JsonAnySetter + public MaintenanceDataRelationships 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 MaintenanceDataRelationships object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataRelationships maintenanceDataRelationships = (MaintenanceDataRelationships) o; + return Objects.equals(this.createdByUser, maintenanceDataRelationships.createdByUser) + && Objects.equals(this.lastModifiedByUser, maintenanceDataRelationships.lastModifiedByUser) + && Objects.equals(this.statusPage, maintenanceDataRelationships.statusPage) + && Objects.equals( + this.additionalProperties, maintenanceDataRelationships.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(createdByUser, lastModifiedByUser, statusPage, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataRelationships {\n"); + sb.append(" createdByUser: ").append(toIndentedString(createdByUser)).append("\n"); + sb.append(" lastModifiedByUser: ").append(toIndentedString(lastModifiedByUser)).append("\n"); + sb.append(" statusPage: ").append(toIndentedString(statusPage)).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/MaintenanceDataRelationshipsCreatedByUser.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsCreatedByUser.java new file mode 100644 index 00000000000..1f60ca465de --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsCreatedByUser.java @@ -0,0 +1,150 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({MaintenanceDataRelationshipsCreatedByUser.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataRelationshipsCreatedByUser { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private MaintenanceDataRelationshipsCreatedByUserData data; + + public MaintenanceDataRelationshipsCreatedByUser() {} + + @JsonCreator + public MaintenanceDataRelationshipsCreatedByUser( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + MaintenanceDataRelationshipsCreatedByUserData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public MaintenanceDataRelationshipsCreatedByUser data( + MaintenanceDataRelationshipsCreatedByUserData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Getdata + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MaintenanceDataRelationshipsCreatedByUserData getData() { + return data; + } + + public void setData(MaintenanceDataRelationshipsCreatedByUserData data) { + this.data = data; + } + + /** + * 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 MaintenanceDataRelationshipsCreatedByUser + */ + @JsonAnySetter + public MaintenanceDataRelationshipsCreatedByUser 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 MaintenanceDataRelationshipsCreatedByUser object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataRelationshipsCreatedByUser maintenanceDataRelationshipsCreatedByUser = + (MaintenanceDataRelationshipsCreatedByUser) o; + return Objects.equals(this.data, maintenanceDataRelationshipsCreatedByUser.data) + && Objects.equals( + this.additionalProperties, + maintenanceDataRelationshipsCreatedByUser.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataRelationshipsCreatedByUser {\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/MaintenanceDataRelationshipsCreatedByUserData.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsCreatedByUserData.java new file mode 100644 index 00000000000..b840f9ceb50 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsCreatedByUserData.java @@ -0,0 +1,183 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + MaintenanceDataRelationshipsCreatedByUserData.JSON_PROPERTY_ID, + MaintenanceDataRelationshipsCreatedByUserData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataRelationshipsCreatedByUserData { + @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 StatusPagesUserType type = StatusPagesUserType.USERS; + + public MaintenanceDataRelationshipsCreatedByUserData() {} + + @JsonCreator + public MaintenanceDataRelationshipsCreatedByUserData( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) StatusPagesUserType type) { + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public MaintenanceDataRelationshipsCreatedByUserData id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the Datadog user who created the maintenance. + * + * @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 MaintenanceDataRelationshipsCreatedByUserData type(StatusPagesUserType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Users resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public StatusPagesUserType getType() { + return type; + } + + public void setType(StatusPagesUserType type) { + if (!type.isValid()) { + this.unparsed = true; + } + 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 MaintenanceDataRelationshipsCreatedByUserData + */ + @JsonAnySetter + public MaintenanceDataRelationshipsCreatedByUserData 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 MaintenanceDataRelationshipsCreatedByUserData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataRelationshipsCreatedByUserData maintenanceDataRelationshipsCreatedByUserData = + (MaintenanceDataRelationshipsCreatedByUserData) o; + return Objects.equals(this.id, maintenanceDataRelationshipsCreatedByUserData.id) + && Objects.equals(this.type, maintenanceDataRelationshipsCreatedByUserData.type) + && Objects.equals( + this.additionalProperties, + maintenanceDataRelationshipsCreatedByUserData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataRelationshipsCreatedByUserData {\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/MaintenanceDataRelationshipsLastModifiedByUser.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsLastModifiedByUser.java new file mode 100644 index 00000000000..71546a72999 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsLastModifiedByUser.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; + +/** */ +@JsonPropertyOrder({MaintenanceDataRelationshipsLastModifiedByUser.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataRelationshipsLastModifiedByUser { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private MaintenanceDataRelationshipsLastModifiedByUserData data; + + public MaintenanceDataRelationshipsLastModifiedByUser() {} + + @JsonCreator + public MaintenanceDataRelationshipsLastModifiedByUser( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + MaintenanceDataRelationshipsLastModifiedByUserData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public MaintenanceDataRelationshipsLastModifiedByUser data( + MaintenanceDataRelationshipsLastModifiedByUserData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Getdata + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MaintenanceDataRelationshipsLastModifiedByUserData getData() { + return data; + } + + public void setData(MaintenanceDataRelationshipsLastModifiedByUserData data) { + this.data = data; + } + + /** + * 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 MaintenanceDataRelationshipsLastModifiedByUser + */ + @JsonAnySetter + public MaintenanceDataRelationshipsLastModifiedByUser 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 MaintenanceDataRelationshipsLastModifiedByUser object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataRelationshipsLastModifiedByUser maintenanceDataRelationshipsLastModifiedByUser = + (MaintenanceDataRelationshipsLastModifiedByUser) o; + return Objects.equals(this.data, maintenanceDataRelationshipsLastModifiedByUser.data) + && Objects.equals( + this.additionalProperties, + maintenanceDataRelationshipsLastModifiedByUser.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataRelationshipsLastModifiedByUser {\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/MaintenanceDataRelationshipsLastModifiedByUserData.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsLastModifiedByUserData.java new file mode 100644 index 00000000000..b15e7dda4d8 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsLastModifiedByUserData.java @@ -0,0 +1,186 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + MaintenanceDataRelationshipsLastModifiedByUserData.JSON_PROPERTY_ID, + MaintenanceDataRelationshipsLastModifiedByUserData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataRelationshipsLastModifiedByUserData { + @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 StatusPagesUserType type = StatusPagesUserType.USERS; + + public MaintenanceDataRelationshipsLastModifiedByUserData() {} + + @JsonCreator + public MaintenanceDataRelationshipsLastModifiedByUserData( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) StatusPagesUserType type) { + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public MaintenanceDataRelationshipsLastModifiedByUserData id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the Datadog user who last modified the maintenance. + * + * @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 MaintenanceDataRelationshipsLastModifiedByUserData type(StatusPagesUserType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Users resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public StatusPagesUserType getType() { + return type; + } + + public void setType(StatusPagesUserType type) { + if (!type.isValid()) { + this.unparsed = true; + } + 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 MaintenanceDataRelationshipsLastModifiedByUserData + */ + @JsonAnySetter + public MaintenanceDataRelationshipsLastModifiedByUserData 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 MaintenanceDataRelationshipsLastModifiedByUserData object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataRelationshipsLastModifiedByUserData + maintenanceDataRelationshipsLastModifiedByUserData = + (MaintenanceDataRelationshipsLastModifiedByUserData) o; + return Objects.equals(this.id, maintenanceDataRelationshipsLastModifiedByUserData.id) + && Objects.equals(this.type, maintenanceDataRelationshipsLastModifiedByUserData.type) + && Objects.equals( + this.additionalProperties, + maintenanceDataRelationshipsLastModifiedByUserData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataRelationshipsLastModifiedByUserData {\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/MaintenanceDataRelationshipsStatusPage.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsStatusPage.java new file mode 100644 index 00000000000..c03a1c53ded --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsStatusPage.java @@ -0,0 +1,149 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({MaintenanceDataRelationshipsStatusPage.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataRelationshipsStatusPage { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private MaintenanceDataRelationshipsStatusPageData data; + + public MaintenanceDataRelationshipsStatusPage() {} + + @JsonCreator + public MaintenanceDataRelationshipsStatusPage( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + MaintenanceDataRelationshipsStatusPageData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public MaintenanceDataRelationshipsStatusPage data( + MaintenanceDataRelationshipsStatusPageData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Getdata + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MaintenanceDataRelationshipsStatusPageData getData() { + return data; + } + + public void setData(MaintenanceDataRelationshipsStatusPageData data) { + this.data = data; + } + + /** + * 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 MaintenanceDataRelationshipsStatusPage + */ + @JsonAnySetter + public MaintenanceDataRelationshipsStatusPage 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 MaintenanceDataRelationshipsStatusPage object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataRelationshipsStatusPage maintenanceDataRelationshipsStatusPage = + (MaintenanceDataRelationshipsStatusPage) o; + return Objects.equals(this.data, maintenanceDataRelationshipsStatusPage.data) + && Objects.equals( + this.additionalProperties, maintenanceDataRelationshipsStatusPage.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataRelationshipsStatusPage {\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/MaintenanceDataRelationshipsStatusPageData.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsStatusPageData.java new file mode 100644 index 00000000000..0c98947ae16 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataRelationshipsStatusPageData.java @@ -0,0 +1,183 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + MaintenanceDataRelationshipsStatusPageData.JSON_PROPERTY_ID, + MaintenanceDataRelationshipsStatusPageData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MaintenanceDataRelationshipsStatusPageData { + @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 StatusPageDataType type = StatusPageDataType.STATUS_PAGES; + + public MaintenanceDataRelationshipsStatusPageData() {} + + @JsonCreator + public MaintenanceDataRelationshipsStatusPageData( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) StatusPageDataType type) { + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public MaintenanceDataRelationshipsStatusPageData id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the status page. + * + * @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 MaintenanceDataRelationshipsStatusPageData type(StatusPageDataType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Status pages resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public StatusPageDataType getType() { + return type; + } + + public void setType(StatusPageDataType type) { + if (!type.isValid()) { + this.unparsed = true; + } + 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 MaintenanceDataRelationshipsStatusPageData + */ + @JsonAnySetter + public MaintenanceDataRelationshipsStatusPageData 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 MaintenanceDataRelationshipsStatusPageData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceDataRelationshipsStatusPageData maintenanceDataRelationshipsStatusPageData = + (MaintenanceDataRelationshipsStatusPageData) o; + return Objects.equals(this.id, maintenanceDataRelationshipsStatusPageData.id) + && Objects.equals(this.type, maintenanceDataRelationshipsStatusPageData.type) + && Objects.equals( + this.additionalProperties, + maintenanceDataRelationshipsStatusPageData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceDataRelationshipsStatusPageData {\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/StatusPagesResponseMeta.java b/src/main/java/com/datadog/api/client/v2/model/PaginationMeta.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/StatusPagesResponseMeta.java rename to src/main/java/com/datadog/api/client/v2/model/PaginationMeta.java index df3c0b6a124..57cf0b2f4b8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/StatusPagesResponseMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/PaginationMeta.java @@ -17,15 +17,15 @@ import java.util.Objects; /** Response metadata. */ -@JsonPropertyOrder({StatusPagesResponseMeta.JSON_PROPERTY_PAGE}) +@JsonPropertyOrder({PaginationMeta.JSON_PROPERTY_PAGE}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class StatusPagesResponseMeta { +public class PaginationMeta { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_PAGE = "page"; - private StatusPagesPagination page; + private PaginationMetaPage page; - public StatusPagesResponseMeta page(StatusPagesPagination page) { + public PaginationMeta page(PaginationMetaPage page) { this.page = page; this.unparsed |= page.unparsed; return this; @@ -39,11 +39,11 @@ public StatusPagesResponseMeta page(StatusPagesPagination page) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusPagesPagination getPage() { + public PaginationMetaPage getPage() { return page; } - public void setPage(StatusPagesPagination page) { + public void setPage(PaginationMetaPage page) { this.page = page; } @@ -59,10 +59,10 @@ public void setPage(StatusPagesPagination page) { * * @param key The arbitrary key to set * @param value The associated value - * @return StatusPagesResponseMeta + * @return PaginationMeta */ @JsonAnySetter - public StatusPagesResponseMeta putAdditionalProperty(String key, Object value) { + public PaginationMeta putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -93,7 +93,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this StatusPagesResponseMeta object is equal to o. */ + /** Return true if this PaginationMeta object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -102,9 +102,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - StatusPagesResponseMeta statusPagesResponseMeta = (StatusPagesResponseMeta) o; - return Objects.equals(this.page, statusPagesResponseMeta.page) - && Objects.equals(this.additionalProperties, statusPagesResponseMeta.additionalProperties); + PaginationMeta paginationMeta = (PaginationMeta) o; + return Objects.equals(this.page, paginationMeta.page) + && Objects.equals(this.additionalProperties, paginationMeta.additionalProperties); } @Override @@ -115,7 +115,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class StatusPagesResponseMeta {\n"); + sb.append("class PaginationMeta {\n"); sb.append(" page: ").append(toIndentedString(page)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/StatusPagesPagination.java b/src/main/java/com/datadog/api/client/v2/model/PaginationMetaPage.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/StatusPagesPagination.java rename to src/main/java/com/datadog/api/client/v2/model/PaginationMetaPage.java index c4fbdd6f414..4df8c122ba1 100644 --- a/src/main/java/com/datadog/api/client/v2/model/StatusPagesPagination.java +++ b/src/main/java/com/datadog/api/client/v2/model/PaginationMetaPage.java @@ -19,18 +19,18 @@ /** Offset-based pagination schema. */ @JsonPropertyOrder({ - StatusPagesPagination.JSON_PROPERTY_FIRST_OFFSET, - StatusPagesPagination.JSON_PROPERTY_LAST_OFFSET, - StatusPagesPagination.JSON_PROPERTY_LIMIT, - StatusPagesPagination.JSON_PROPERTY_NEXT_OFFSET, - StatusPagesPagination.JSON_PROPERTY_OFFSET, - StatusPagesPagination.JSON_PROPERTY_PREV_OFFSET, - StatusPagesPagination.JSON_PROPERTY_TOTAL, - StatusPagesPagination.JSON_PROPERTY_TYPE + PaginationMetaPage.JSON_PROPERTY_FIRST_OFFSET, + PaginationMetaPage.JSON_PROPERTY_LAST_OFFSET, + PaginationMetaPage.JSON_PROPERTY_LIMIT, + PaginationMetaPage.JSON_PROPERTY_NEXT_OFFSET, + PaginationMetaPage.JSON_PROPERTY_OFFSET, + PaginationMetaPage.JSON_PROPERTY_PREV_OFFSET, + PaginationMetaPage.JSON_PROPERTY_TOTAL, + PaginationMetaPage.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class StatusPagesPagination { +public class PaginationMetaPage { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_FIRST_OFFSET = "first_offset"; private Long firstOffset; @@ -54,9 +54,9 @@ public class StatusPagesPagination { private JsonNullable total = JsonNullable.undefined(); public static final String JSON_PROPERTY_TYPE = "type"; - private StatusPagesPaginationType type = StatusPagesPaginationType.OFFSET_LIMIT; + private PaginationMetaPageType type = PaginationMetaPageType.OFFSET_LIMIT; - public StatusPagesPagination firstOffset(Long firstOffset) { + public PaginationMetaPage firstOffset(Long firstOffset) { this.firstOffset = firstOffset; return this; } @@ -77,7 +77,7 @@ public void setFirstOffset(Long firstOffset) { this.firstOffset = firstOffset; } - public StatusPagesPagination lastOffset(Long lastOffset) { + public PaginationMetaPage lastOffset(Long lastOffset) { this.lastOffset = JsonNullable.of(lastOffset); return this; } @@ -108,13 +108,13 @@ public void setLastOffset(Long lastOffset) { this.lastOffset = JsonNullable.of(lastOffset); } - public StatusPagesPagination limit(Long limit) { + public PaginationMetaPage limit(Long limit) { this.limit = limit; return this; } /** - * Integer representing the number of elements to returned in the results. + * Integer representing the number of elements to be returned in the results. * * @return limit */ @@ -129,7 +129,7 @@ public void setLimit(Long limit) { this.limit = limit; } - public StatusPagesPagination nextOffset(Long nextOffset) { + public PaginationMetaPage nextOffset(Long nextOffset) { this.nextOffset = JsonNullable.of(nextOffset); return this; } @@ -161,7 +161,7 @@ public void setNextOffset(Long nextOffset) { this.nextOffset = JsonNullable.of(nextOffset); } - public StatusPagesPagination offset(Long offset) { + public PaginationMetaPage offset(Long offset) { this.offset = offset; return this; } @@ -182,7 +182,7 @@ public void setOffset(Long offset) { this.offset = offset; } - public StatusPagesPagination prevOffset(Long prevOffset) { + public PaginationMetaPage prevOffset(Long prevOffset) { this.prevOffset = JsonNullable.of(prevOffset); return this; } @@ -213,7 +213,7 @@ public void setPrevOffset(Long prevOffset) { this.prevOffset = JsonNullable.of(prevOffset); } - public StatusPagesPagination total(Long total) { + public PaginationMetaPage total(Long total) { this.total = JsonNullable.of(total); return this; } @@ -244,7 +244,7 @@ public void setTotal(Long total) { this.total = JsonNullable.of(total); } - public StatusPagesPagination type(StatusPagesPaginationType type) { + public PaginationMetaPage type(PaginationMetaPageType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -258,11 +258,11 @@ public StatusPagesPagination type(StatusPagesPaginationType type) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusPagesPaginationType getType() { + public PaginationMetaPageType getType() { return type; } - public void setType(StatusPagesPaginationType type) { + public void setType(PaginationMetaPageType type) { if (!type.isValid()) { this.unparsed = true; } @@ -281,10 +281,10 @@ public void setType(StatusPagesPaginationType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return StatusPagesPagination + * @return PaginationMetaPage */ @JsonAnySetter - public StatusPagesPagination putAdditionalProperty(String key, Object value) { + public PaginationMetaPage putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -315,7 +315,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this StatusPagesPagination object is equal to o. */ + /** Return true if this PaginationMetaPage object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -324,16 +324,16 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - StatusPagesPagination statusPagesPagination = (StatusPagesPagination) o; - return Objects.equals(this.firstOffset, statusPagesPagination.firstOffset) - && Objects.equals(this.lastOffset, statusPagesPagination.lastOffset) - && Objects.equals(this.limit, statusPagesPagination.limit) - && Objects.equals(this.nextOffset, statusPagesPagination.nextOffset) - && Objects.equals(this.offset, statusPagesPagination.offset) - && Objects.equals(this.prevOffset, statusPagesPagination.prevOffset) - && Objects.equals(this.total, statusPagesPagination.total) - && Objects.equals(this.type, statusPagesPagination.type) - && Objects.equals(this.additionalProperties, statusPagesPagination.additionalProperties); + PaginationMetaPage paginationMetaPage = (PaginationMetaPage) o; + return Objects.equals(this.firstOffset, paginationMetaPage.firstOffset) + && Objects.equals(this.lastOffset, paginationMetaPage.lastOffset) + && Objects.equals(this.limit, paginationMetaPage.limit) + && Objects.equals(this.nextOffset, paginationMetaPage.nextOffset) + && Objects.equals(this.offset, paginationMetaPage.offset) + && Objects.equals(this.prevOffset, paginationMetaPage.prevOffset) + && Objects.equals(this.total, paginationMetaPage.total) + && Objects.equals(this.type, paginationMetaPage.type) + && Objects.equals(this.additionalProperties, paginationMetaPage.additionalProperties); } @Override @@ -353,7 +353,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class StatusPagesPagination {\n"); + sb.append("class PaginationMetaPage {\n"); sb.append(" firstOffset: ").append(toIndentedString(firstOffset)).append("\n"); sb.append(" lastOffset: ").append(toIndentedString(lastOffset)).append("\n"); sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/StatusPagesPaginationType.java b/src/main/java/com/datadog/api/client/v2/model/PaginationMetaPageType.java similarity index 59% rename from src/main/java/com/datadog/api/client/v2/model/StatusPagesPaginationType.java rename to src/main/java/com/datadog/api/client/v2/model/PaginationMetaPageType.java index 602f9a38ec0..449d07d2c7a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/StatusPagesPaginationType.java +++ b/src/main/java/com/datadog/api/client/v2/model/PaginationMetaPageType.java @@ -19,39 +19,39 @@ import java.util.Set; /** */ -@JsonSerialize(using = StatusPagesPaginationType.StatusPagesPaginationTypeSerializer.class) -public class StatusPagesPaginationType extends ModelEnum { +@JsonSerialize(using = PaginationMetaPageType.PaginationMetaPageTypeSerializer.class) +public class PaginationMetaPageType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("offset_limit")); - public static final StatusPagesPaginationType OFFSET_LIMIT = - new StatusPagesPaginationType("offset_limit"); + public static final PaginationMetaPageType OFFSET_LIMIT = + new PaginationMetaPageType("offset_limit"); - StatusPagesPaginationType(String value) { + PaginationMetaPageType(String value) { super(value, allowedValues); } - public static class StatusPagesPaginationTypeSerializer - extends StdSerializer { - public StatusPagesPaginationTypeSerializer(Class t) { + public static class PaginationMetaPageTypeSerializer + extends StdSerializer { + public PaginationMetaPageTypeSerializer(Class t) { super(t); } - public StatusPagesPaginationTypeSerializer() { + public PaginationMetaPageTypeSerializer() { this(null); } @Override public void serialize( - StatusPagesPaginationType value, JsonGenerator jgen, SerializerProvider provider) + PaginationMetaPageType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static StatusPagesPaginationType fromValue(String value) { - return new StatusPagesPaginationType(value); + public static PaginationMetaPageType fromValue(String value) { + return new PaginationMetaPageType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequest.java b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequest.java new file mode 100644 index 00000000000..29b9f0d1c26 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequest.java @@ -0,0 +1,136 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({PatchMaintenanceRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PatchMaintenanceRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private PatchMaintenanceRequestData data; + + public PatchMaintenanceRequest data(PatchMaintenanceRequestData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Getdata + * + * @return data + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public PatchMaintenanceRequestData getData() { + return data; + } + + public void setData(PatchMaintenanceRequestData data) { + this.data = data; + } + + /** + * 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 PatchMaintenanceRequest + */ + @JsonAnySetter + public PatchMaintenanceRequest 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 PatchMaintenanceRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMaintenanceRequest patchMaintenanceRequest = (PatchMaintenanceRequest) o; + return Objects.equals(this.data, patchMaintenanceRequest.data) + && Objects.equals(this.additionalProperties, patchMaintenanceRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PatchMaintenanceRequest {\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/PatchMaintenanceRequestData.java b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestData.java new file mode 100644 index 00000000000..caa6e94809f --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestData.java @@ -0,0 +1,212 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + PatchMaintenanceRequestData.JSON_PROPERTY_ATTRIBUTES, + PatchMaintenanceRequestData.JSON_PROPERTY_ID, + PatchMaintenanceRequestData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PatchMaintenanceRequestData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private PatchMaintenanceRequestDataAttributes attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private PatchMaintenanceRequestDataType type = PatchMaintenanceRequestDataType.MAINTENANCES; + + public PatchMaintenanceRequestData() {} + + @JsonCreator + public PatchMaintenanceRequestData( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + PatchMaintenanceRequestDataAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + PatchMaintenanceRequestDataType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public PatchMaintenanceRequestData attributes(PatchMaintenanceRequestDataAttributes attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * The supported attributes for updating a maintenance. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataAttributes getAttributes() { + return attributes; + } + + public void setAttributes(PatchMaintenanceRequestDataAttributes attributes) { + this.attributes = attributes; + } + + public PatchMaintenanceRequestData id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the maintenance. + * + * @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 PatchMaintenanceRequestData type(PatchMaintenanceRequestDataType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Maintenances resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataType getType() { + return type; + } + + public void setType(PatchMaintenanceRequestDataType type) { + if (!type.isValid()) { + this.unparsed = true; + } + 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 PatchMaintenanceRequestData + */ + @JsonAnySetter + public PatchMaintenanceRequestData 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 PatchMaintenanceRequestData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMaintenanceRequestData patchMaintenanceRequestData = (PatchMaintenanceRequestData) o; + return Objects.equals(this.attributes, patchMaintenanceRequestData.attributes) + && Objects.equals(this.id, patchMaintenanceRequestData.id) + && Objects.equals(this.type, patchMaintenanceRequestData.type) + && Objects.equals( + this.additionalProperties, patchMaintenanceRequestData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PatchMaintenanceRequestData {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\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/PatchMaintenanceRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataAttributes.java new file mode 100644 index 00000000000..8f054b80e18 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataAttributes.java @@ -0,0 +1,371 @@ +/* + * 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.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** The supported attributes for updating a maintenance. */ +@JsonPropertyOrder({ + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_COMPLETED_DATE, + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_COMPLETED_DESCRIPTION, + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED, + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_IN_PROGRESS_DESCRIPTION, + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_SCHEDULED_DESCRIPTION, + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_START_DATE, + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_STATUS, + PatchMaintenanceRequestDataAttributes.JSON_PROPERTY_TITLE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PatchMaintenanceRequestDataAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_COMPLETED_DATE = "completed_date"; + private OffsetDateTime completedDate; + + public static final String JSON_PROPERTY_COMPLETED_DESCRIPTION = "completed_description"; + private String completedDescription; + + public static final String JSON_PROPERTY_COMPONENTS_AFFECTED = "components_affected"; + private List componentsAffected = + null; + + public static final String JSON_PROPERTY_IN_PROGRESS_DESCRIPTION = "in_progress_description"; + private String inProgressDescription; + + public static final String JSON_PROPERTY_SCHEDULED_DESCRIPTION = "scheduled_description"; + private String scheduledDescription; + + public static final String JSON_PROPERTY_START_DATE = "start_date"; + private OffsetDateTime startDate; + + public static final String JSON_PROPERTY_STATUS = "status"; + private MaintenanceDataAttributesStatus status; + + public static final String JSON_PROPERTY_TITLE = "title"; + private String title; + + public PatchMaintenanceRequestDataAttributes completedDate(OffsetDateTime completedDate) { + this.completedDate = completedDate; + return this; + } + + /** + * Timestamp of when the maintenance was completed. + * + * @return completedDate + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPLETED_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getCompletedDate() { + return completedDate; + } + + public void setCompletedDate(OffsetDateTime completedDate) { + this.completedDate = completedDate; + } + + public PatchMaintenanceRequestDataAttributes completedDescription(String completedDescription) { + this.completedDescription = completedDescription; + return this; + } + + /** + * The description shown when the maintenance is completed. + * + * @return completedDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPLETED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCompletedDescription() { + return completedDescription; + } + + public void setCompletedDescription(String completedDescription) { + this.completedDescription = completedDescription; + } + + public PatchMaintenanceRequestDataAttributes componentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + for (PatchMaintenanceRequestDataAttributesComponentsAffectedItems item : componentsAffected) { + this.unparsed |= item.unparsed; + } + return this; + } + + public PatchMaintenanceRequestDataAttributes addComponentsAffectedItem( + PatchMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) { + if (this.componentsAffected == null) { + this.componentsAffected = new ArrayList<>(); + } + this.componentsAffected.add(componentsAffectedItem); + this.unparsed |= componentsAffectedItem.unparsed; + return this; + } + + /** + * The components affected by the maintenance. + * + * @return componentsAffected + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COMPONENTS_AFFECTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List + getComponentsAffected() { + return componentsAffected; + } + + public void setComponentsAffected( + List componentsAffected) { + this.componentsAffected = componentsAffected; + } + + public PatchMaintenanceRequestDataAttributes inProgressDescription(String inProgressDescription) { + this.inProgressDescription = inProgressDescription; + return this; + } + + /** + * The description shown while the maintenance is in progress. + * + * @return inProgressDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IN_PROGRESS_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getInProgressDescription() { + return inProgressDescription; + } + + public void setInProgressDescription(String inProgressDescription) { + this.inProgressDescription = inProgressDescription; + } + + public PatchMaintenanceRequestDataAttributes scheduledDescription(String scheduledDescription) { + this.scheduledDescription = scheduledDescription; + return this; + } + + /** + * The description shown when the maintenance is scheduled. + * + * @return scheduledDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SCHEDULED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getScheduledDescription() { + return scheduledDescription; + } + + public void setScheduledDescription(String scheduledDescription) { + this.scheduledDescription = scheduledDescription; + } + + public PatchMaintenanceRequestDataAttributes startDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * Timestamp of when the maintenance is scheduled to start. + * + * @return startDate + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_START_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getStartDate() { + return startDate; + } + + public void setStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + } + + public PatchMaintenanceRequestDataAttributes status(MaintenanceDataAttributesStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * The status of the maintenance. + * + * @return status + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MaintenanceDataAttributesStatus getStatus() { + return status; + } + + public void setStatus(MaintenanceDataAttributesStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + public PatchMaintenanceRequestDataAttributes title(String title) { + this.title = title; + return this; + } + + /** + * The title of the maintenance. + * + * @return title + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TITLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + /** + * 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 PatchMaintenanceRequestDataAttributes + */ + @JsonAnySetter + public PatchMaintenanceRequestDataAttributes 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 PatchMaintenanceRequestDataAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMaintenanceRequestDataAttributes patchMaintenanceRequestDataAttributes = + (PatchMaintenanceRequestDataAttributes) o; + return Objects.equals(this.completedDate, patchMaintenanceRequestDataAttributes.completedDate) + && Objects.equals( + this.completedDescription, patchMaintenanceRequestDataAttributes.completedDescription) + && Objects.equals( + this.componentsAffected, patchMaintenanceRequestDataAttributes.componentsAffected) + && Objects.equals( + this.inProgressDescription, patchMaintenanceRequestDataAttributes.inProgressDescription) + && Objects.equals( + this.scheduledDescription, patchMaintenanceRequestDataAttributes.scheduledDescription) + && Objects.equals(this.startDate, patchMaintenanceRequestDataAttributes.startDate) + && Objects.equals(this.status, patchMaintenanceRequestDataAttributes.status) + && Objects.equals(this.title, patchMaintenanceRequestDataAttributes.title) + && Objects.equals( + this.additionalProperties, patchMaintenanceRequestDataAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + completedDate, + completedDescription, + componentsAffected, + inProgressDescription, + scheduledDescription, + startDate, + status, + title, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PatchMaintenanceRequestDataAttributes {\n"); + sb.append(" completedDate: ").append(toIndentedString(completedDate)).append("\n"); + sb.append(" completedDescription: ") + .append(toIndentedString(completedDescription)) + .append("\n"); + sb.append(" componentsAffected: ").append(toIndentedString(componentsAffected)).append("\n"); + sb.append(" inProgressDescription: ") + .append(toIndentedString(inProgressDescription)) + .append("\n"); + sb.append(" scheduledDescription: ") + .append(toIndentedString(scheduledDescription)) + .append("\n"); + sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).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/PatchMaintenanceRequestDataAttributesComponentsAffectedItems.java b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataAttributesComponentsAffectedItems.java new file mode 100644 index 00000000000..66c550adcf8 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataAttributesComponentsAffectedItems.java @@ -0,0 +1,209 @@ +/* + * 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; + +/** */ +@JsonPropertyOrder({ + PatchMaintenanceRequestDataAttributesComponentsAffectedItems.JSON_PROPERTY_ID, + PatchMaintenanceRequestDataAttributesComponentsAffectedItems.JSON_PROPERTY_NAME, + PatchMaintenanceRequestDataAttributesComponentsAffectedItems.JSON_PROPERTY_STATUS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class PatchMaintenanceRequestDataAttributesComponentsAffectedItems { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ID = "id"; + private UUID id; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_STATUS = "status"; + private PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status; + + public PatchMaintenanceRequestDataAttributesComponentsAffectedItems() {} + + @JsonCreator + public PatchMaintenanceRequestDataAttributesComponentsAffectedItems( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id, + @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.id = id; + this.status = status; + this.unparsed |= !status.isValid(); + } + + public PatchMaintenanceRequestDataAttributesComponentsAffectedItems id(UUID id) { + this.id = id; + return this; + } + + /** + * The ID of the component. Must be a component of type component. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + public void setId(UUID id) { + this.id = id; + } + + /** + * The name of the component. + * + * @return name + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + public PatchMaintenanceRequestDataAttributesComponentsAffectedItems status( + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * The status of the component. + * + * @return status + */ + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus getStatus() { + return status; + } + + public void setStatus(PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + /** + * 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 PatchMaintenanceRequestDataAttributesComponentsAffectedItems + */ + @JsonAnySetter + public PatchMaintenanceRequestDataAttributesComponentsAffectedItems 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 PatchMaintenanceRequestDataAttributesComponentsAffectedItems object is + * equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchMaintenanceRequestDataAttributesComponentsAffectedItems + patchMaintenanceRequestDataAttributesComponentsAffectedItems = + (PatchMaintenanceRequestDataAttributesComponentsAffectedItems) o; + return Objects.equals(this.id, patchMaintenanceRequestDataAttributesComponentsAffectedItems.id) + && Objects.equals( + this.name, patchMaintenanceRequestDataAttributesComponentsAffectedItems.name) + && Objects.equals( + this.status, patchMaintenanceRequestDataAttributesComponentsAffectedItems.status) + && Objects.equals( + this.additionalProperties, + patchMaintenanceRequestDataAttributesComponentsAffectedItems.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, status, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PatchMaintenanceRequestDataAttributesComponentsAffectedItems {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).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/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus.java b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus.java new file mode 100644 index 00000000000..fcd9a2fa455 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus.java @@ -0,0 +1,69 @@ +/* + * 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 status of the component. */ +@JsonSerialize( + using = + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus + .PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatusSerializer.class) +public class PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus + extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("operational", "maintenance")); + + public static final PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus + OPERATIONAL = + new PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus("operational"); + public static final PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus + MAINTENANCE = + new PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus("maintenance"); + + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus(String value) { + super(value, allowedValues); + } + + public static class PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatusSerializer + extends StdSerializer { + public PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatusSerializer( + Class t) { + super(t); + } + + public PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatusSerializer() { + this(null); + } + + @Override + public void serialize( + PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus value, + JsonGenerator jgen, + SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus fromValue( + String value) { + return new PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataType.java b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataType.java new file mode 100644 index 00000000000..c8e58ce3df7 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/PatchMaintenanceRequestDataType.java @@ -0,0 +1,58 @@ +/* + * 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; + +/** Maintenances resource type. */ +@JsonSerialize( + using = PatchMaintenanceRequestDataType.PatchMaintenanceRequestDataTypeSerializer.class) +public class PatchMaintenanceRequestDataType extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("maintenances")); + + public static final PatchMaintenanceRequestDataType MAINTENANCES = + new PatchMaintenanceRequestDataType("maintenances"); + + PatchMaintenanceRequestDataType(String value) { + super(value, allowedValues); + } + + public static class PatchMaintenanceRequestDataTypeSerializer + extends StdSerializer { + public PatchMaintenanceRequestDataTypeSerializer(Class t) { + super(t); + } + + public PatchMaintenanceRequestDataTypeSerializer() { + this(null); + } + + @Override + public void serialize( + PatchMaintenanceRequestDataType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static PatchMaintenanceRequestDataType fromValue(String value) { + return new PatchMaintenanceRequestDataType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/StatusPageArray.java b/src/main/java/com/datadog/api/client/v2/model/StatusPageArray.java index eb30d2bf0f5..09980a70080 100644 --- a/src/main/java/com/datadog/api/client/v2/model/StatusPageArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/StatusPageArray.java @@ -36,7 +36,7 @@ public class StatusPageArray { private List included = null; public static final String JSON_PROPERTY_META = "meta"; - private StatusPagesResponseMeta meta; + private PaginationMeta meta; public StatusPageArray() {} @@ -117,7 +117,7 @@ public void setIncluded(List included) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusPagesResponseMeta getMeta() { + public PaginationMeta getMeta() { return meta; } diff --git a/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentDataAttributesStatus.java b/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentDataAttributesStatus.java index f659b6f55e6..bceae67cc8b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentDataAttributesStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentDataAttributesStatus.java @@ -27,7 +27,8 @@ public class StatusPagesComponentDataAttributesStatus extends ModelEnum private static final Set allowedValues = new HashSet( - Arrays.asList("operational", "degraded", "partial_outage", "major_outage")); + Arrays.asList( + "operational", "degraded", "partial_outage", "major_outage", "maintenance")); public static final StatusPagesComponentDataAttributesStatus OPERATIONAL = new StatusPagesComponentDataAttributesStatus("operational"); @@ -37,6 +38,8 @@ public class StatusPagesComponentDataAttributesStatus extends ModelEnum new StatusPagesComponentDataAttributesStatus("partial_outage"); public static final StatusPagesComponentDataAttributesStatus MAJOR_OUTAGE = new StatusPagesComponentDataAttributesStatus("major_outage"); + public static final StatusPagesComponentDataAttributesStatus MAINTENANCE = + new StatusPagesComponentDataAttributesStatus("maintenance"); StatusPagesComponentDataAttributesStatus(String value) { super(value, allowedValues); diff --git a/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentGroupAttributesComponentsItemsStatus.java b/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentGroupAttributesComponentsItemsStatus.java index 076766fedd2..a1a0f3eaa1b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentGroupAttributesComponentsItemsStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/StatusPagesComponentGroupAttributesComponentsItemsStatus.java @@ -27,7 +27,8 @@ public class StatusPagesComponentGroupAttributesComponentsItemsStatus extends Mo private static final Set allowedValues = new HashSet( - Arrays.asList("operational", "degraded", "partial_outage", "major_outage")); + Arrays.asList( + "operational", "degraded", "partial_outage", "major_outage", "maintenance")); public static final StatusPagesComponentGroupAttributesComponentsItemsStatus OPERATIONAL = new StatusPagesComponentGroupAttributesComponentsItemsStatus("operational"); @@ -37,6 +38,8 @@ public class StatusPagesComponentGroupAttributesComponentsItemsStatus extends Mo new StatusPagesComponentGroupAttributesComponentsItemsStatus("partial_outage"); public static final StatusPagesComponentGroupAttributesComponentsItemsStatus MAJOR_OUTAGE = new StatusPagesComponentGroupAttributesComponentsItemsStatus("major_outage"); + public static final StatusPagesComponentGroupAttributesComponentsItemsStatus MAINTENANCE = + new StatusPagesComponentGroupAttributesComponentsItemsStatus("maintenance"); StatusPagesComponentGroupAttributesComponentsItemsStatus(String value) { super(value, allowedValues); 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 0b1cdf6a6a8..dbf89c929d7 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-8069b52bb31e" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d" } ] \ 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 91c8275f382..e94edfb7099 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-8069b52bb31d" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Validate_API_key_returns_Forbidden_response.json b/src/test/resources/cassettes/features/v1/Validate_API_key_returns_Forbidden_response.json index 1489fb9e00e..907a2641363 100644 --- a/src/test/resources/cassettes/features/v1/Validate_API_key_returns_Forbidden_response.json +++ b/src/test/resources/cassettes/features/v1/Validate_API_key_returns_Forbidden_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3f83caea-c405-97df-c554-ee2d9f9e4f01" + "id": "3f83caea-c405-97df-c554-ee2d9f9e4f02" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Validate_API_key_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Validate_API_key_returns_OK_response.json index 45e484f0b48..d03bf9ca97e 100644 --- a/src/test/resources/cassettes/features/v1/Validate_API_key_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Validate_API_key_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3f83caea-c405-97df-c554-ee2d9f9e4f02" + "id": "3f83caea-c405-97df-c554-ee2d9f9e4f01" } ] \ 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 af01fdb67c5..1be13c1c8f8 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-0daa19dc9eec" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed" }, { "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 cf63593c8d1..20187b03f7f 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-0daa19dc9ee9" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" }, { "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 aa5b0a6e9b8..89c80bd879e 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-0daa19dc9eed" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" }, { "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 efb480e06b4..7bf88c684fb 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-ff3630e3a2cc" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2ce" } ] \ 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 b06edb7febf..f02f71207af 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-0daa19dc9eea" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" }, { "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 87cb96a7640..6352d5f0102 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-086b9b6ef690" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json index 55368f4ae1c..7e5c7b1234d 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4" + "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3" } ] \ 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 96ea2f1d661..7711ea26b7b 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-4a5c3a301d0f" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" } ] \ 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 5be48f564e3..520c88368e3 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-0daa19dc9eeb" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" }, { "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 73ccee50ec7..ff390c55dd3 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-73b0e70145ea" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ed" }, { "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..95a63801c5f 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-73b0e70145e9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json index 97d2e012fb0..1009eda9cb4 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ec" }, { "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 c791186e6fd..72decbcf558 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-73b0e70145fd" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f5" }, { "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 3e6caee50a0..33f481ce3be 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-b92f9fa74d31" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2c" }, { "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 b8c9cddb379..3bf5cd3a7c1 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-b92f9fa74d2e" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d30" }, { "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 65e125afa4a..d2aaa4405eb 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-b92f9fa74d33" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d31" }, { "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 8df6e835fb8..f5cf418e965 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": "4c138fa0-d834-5972-8bd7-894a659525ac" + "id": "4c138fa0-d834-5972-8bd7-894a659525ae" }, { "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 ad9498044cf..8c97b2392b3 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-73b0e70145f3" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f6" }, { "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 7a1d8329345..58c1764cc21 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-73b0e70145ed" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f3" }, { "httpRequest": { 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 12d11a05f48..d78d4e863c8 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-12e51226c50c" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c512" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Agentless_scan_options_enabled_successfully_response.json b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Agentless_scan_options_enabled_successfully_response.json index 25b85370788..848565e096f 100644 --- a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Agentless_scan_options_enabled_successfully_response.json +++ b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Agentless_scan_options_enabled_successfully_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "95d55fc8-65c9-599d-fc62-5922c335758f" + "id": "95d55fc8-65c9-599d-fc62-5922c3357590" }, { "httpRequest": { @@ -48,6 +48,6 @@ "timeToLive": { "unlimited": true }, - "id": "7e1fd6df-f1a0-70b4-90c2-13c11f689f82" + "id": "7e1fd6df-f1a0-70b4-90c2-13c11f689f83" } ] \ 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 579f9d82f26..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-bd11c0a4ae46" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae44" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" + "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 c6e2a2c6b52..2e9b172f720 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-bd11c0a4ae45" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae49" }, { "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 0735776ab7d..052e9a267e7 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-f707c3b51e7f" + "id": "01611a93-5e74-0630-3c51-f707c3b51e79" }, { "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 dfbeb4c7e2f..335179625bd 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-f707c3b51e7a" + "id": "01611a93-5e74-0630-3c51-f707c3b51e83" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" }, { "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 1c04e0309ee..f545b0e20ae 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-f707c3b51e81" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" }, { "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 ef83201b336..e84757a0280 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-f707c3b51e85" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" }, { "httpRequest": { 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 ad63cd81994..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-2d093bd78b3b" + "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_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_OK_response.json index 94ec04c070e..fba8b2ccd41 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcf" + "id": "32c558cf-4a2e-f914-f443-ab94000addcd" }, { "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 7753c1c20c2..992baa6ee80 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-dd7718f51860" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51862" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.freeze index 957e037f23c..62723cd8d29 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.freeze @@ -1 +1 @@ -2026-02-18T16:57:05.121Z \ No newline at end of file +2026-01-07T12:38:45.716Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.json index fd483847e68..170f3322e1a 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_test_suite_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"suites\",\"attributes\":{\"type\":\"suite\",\"monitor_id\":259845717,\"name\":\"Example suite name\",\"options\":{},\"tests\":[],\"tags\":[\"env:production\"],\"public_id\":\"hik-xp5-9q6\",\"created_at\":\"2026-02-18T16:57:05.583051+00:00\",\"modified_at\":\"2026-02-18T16:57:05.583051+00:00\",\"created_by\":{\"name\":\"Corentin Girard\",\"email\":\"corentin.girard@datadoghq.com\",\"handle\":\"corentin.girard@datadoghq.com\"},\"message\":\"Notification message\",\"org_id\":321813,\"modified_by\":{\"name\":\"Corentin Girard\",\"email\":\"corentin.girard@datadoghq.com\",\"handle\":\"corentin.girard@datadoghq.com\"}},\"id\":\"hik-xp5-9q6\"}}\n", + "body": "{\"data\":{\"type\":\"suites\",\"id\":\"36n-bb6-njj\",\"attributes\":{\"tags\":[\"env:production\"],\"type\":\"suite\",\"created_by\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"},\"created_at\":\"2026-01-07T12:38:46.109472+00:00\",\"modified_at\":\"2026-01-07T12:38:46.109472+00:00\",\"message\":\"Notification message\",\"public_id\":\"36n-bb6-njj\",\"options\":{},\"modified_by\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"},\"tests\":[],\"name\":\"Example suite name\",\"org_id\":321813,\"monitor_id\":249141773}}}\n", "headers": { "Content-Type": [ "application/json" @@ -33,7 +33,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"public_ids\":[\"hik-xp5-9q6\"]},\"type\":\"delete_suites_request\"}}" + "json": "{\"data\":{\"attributes\":{\"public_ids\":[\"36n-bb6-njj\"]},\"type\":\"delete_suites_request\"}}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"type\":\"suites\",\"attributes\":{\"deleted_at\":\"2026-02-18 16:57:06.420679\",\"public_id\":\"hik-xp5-9q6\"},\"id\":\"hik-xp5-9q6\"}]}\n", + "body": "{\"data\":[{\"type\":\"suites\",\"attributes\":{\"public_id\":\"36n-bb6-njj\",\"deleted_at\":\"2026-01-07 12:38:46.679914\"},\"id\":\"36n-bb6-njj\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "79a4484e-b99a-993b-e9f8-04bc2937a220" + "id": "1bd5428b-eb45-1f07-ea8a-b3d0bc71b1e8" } ] \ No newline at end of file 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 c7a019ef829..19dc53b7c6a 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 @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce4" }, { "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 62d6001c9d0..5fdb5139b99 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-e4d7e0833bd7" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" }, { "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 7eed52fb390..3186336472d 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-af61fd50c0a7" + "id": "4e58c44b-f265-fde4-198b-af61fd50c0a6" } ] \ 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 7b6e009c016..ce5258eed5e 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-af61fd50c0a6" + "id": "4e58c44b-f265-fde4-198b-af61fd50c0a7" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.freeze b/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.freeze index 7323200d4a6..8f678f2dbea 100644 --- a/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:35.707Z \ No newline at end of file +2026-02-24T17:00:35.997Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.json index 8fb7784ce18..65db952071d 100644 --- a/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_component_returns_Created_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"8b6cd6e80c23846d\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"df531f11f71a2e23\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"b53231b9-4737-47eb-8bb8-90d2b51e0803\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"1cdd6cef-6732-4202-934c-69eb21701b5a\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"85c38440-50b4-4db7-b9fc-4372c4b36555\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"bfd82882-3607-4d7d-8242-072ec5b94492\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:35.875217Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"8b6cd6e80c23846d\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:35.875217Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/b53231b9-4737-47eb-8bb8-90d2b51e0803/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"3483924e-54de-4b7f-9177-56f224f8c6e6\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"d03bffa2-720c-4f82-871e-3f1599d38089\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"6fe382cb-5309-49bf-b56b-c9921a7d8153\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"b8a9ac5d-2470-4c43-b90d-817ba996822c\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:36.165599Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"df531f11f71a2e23\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:36.165599Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/3483924e-54de-4b7f-9177-56f224f8c6e6/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "2ea553d7-9d8f-a7df-3a24-23485704284d" + "id": "31121060-9114-e426-5052-d34ab4a2e8a2" }, { "httpRequest": { @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/statuspages/b53231b9-4737-47eb-8bb8-90d2b51e0803/components", + "path": "/api/v2/statuspages/3483924e-54de-4b7f-9177-56f224f8c6e6/components", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"42f96d69-9136-4888-b822-ca0dc2013978\",\"type\":\"components\",\"attributes\":{\"created_at\":\"2026-01-21T21:23:36.340483Z\",\"modified_at\":\"2026-01-21T21:23:36.340483Z\",\"name\":\"Logs\",\"position\":0,\"status\":\"operational\",\"type\":\"component\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"b53231b9-4737-47eb-8bb8-90d2b51e0803\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"060dba63-7f63-4d0f-9278-aecabc6f9c30\",\"type\":\"components\",\"attributes\":{\"created_at\":\"2026-02-24T17:00:36.79986Z\",\"modified_at\":\"2026-02-24T17:00:36.79986Z\",\"name\":\"Logs\",\"position\":0,\"status\":\"operational\",\"type\":\"component\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"3483924e-54de-4b7f-9177-56f224f8c6e6\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "2a824714-fc6c-f258-352b-1b1dde563210" + "id": "b22511f3-6f59-380b-c0ac-6c152b614707" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/b53231b9-4737-47eb-8bb8-90d2b51e0803/components/42f96d69-9136-4888-b822-ca0dc2013978", + "path": "/api/v2/statuspages/3483924e-54de-4b7f-9177-56f224f8c6e6/components/060dba63-7f63-4d0f-9278-aecabc6f9c30", "keepAlive": false, "secure": true }, @@ -78,13 +78,13 @@ "timeToLive": { "unlimited": true }, - "id": "cc95292e-50c1-a055-64bb-3b3a7bf44c1f" + "id": "36ae825c-e73c-7950-43d3-cb42af7312d9" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/b53231b9-4737-47eb-8bb8-90d2b51e0803", + "path": "/api/v2/statuspages/3483924e-54de-4b7f-9177-56f224f8c6e6", "keepAlive": false, "secure": true }, @@ -99,6 +99,6 @@ "timeToLive": { "unlimited": true }, - "id": "a4989956-eb66-237f-31ec-415b58473674" + "id": "0e65686e-b30a-34d2-7f6b-e2214bb96ce3" } ] \ 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 c312b3face8..e7858392bb2 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-eaf799af6466" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json index 2ce378fae66..76a037f2ed4 100644 --- a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af646a" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6467" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.freeze b/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.freeze index 2c73d078040..c66cc9f8a59 100644 --- a/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:36.959Z \ No newline at end of file +2026-02-24T17:00:37.682Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.json index 462195558d9..f58a8cc7140 100644 --- a/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_degradation_returns_Created_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"f594e675bf08d5d7\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"b1d19e0dbe588b0a\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"bb4afad2-f893-464a-82a4-d2ab29d5105c\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"8b6c8c24-95a9-449b-b508-9d3320e5cba2\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"43c959d9-3dda-4dc9-ae42-74b71ea39f08\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"5dcfa87c-9147-4c77-9ef9-658ae70db253\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:37.073734Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f594e675bf08d5d7\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:37.073734Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/bb4afad2-f893-464a-82a4-d2ab29d5105c/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"a86d9d70-4879-411d-9690-c9887c7b7d55\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"f3f5c039-10f7-4a11-a3bc-c6c84fed4e15\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"e2599d98-53df-4bff-addb-61ef4f07d5ca\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"1c5904fb-16f8-4be8-ae85-b426908e324a\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:37.855421Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"b1d19e0dbe588b0a\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:37.855421Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/a86d9d70-4879-411d-9690-c9887c7b7d55/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "cf4042f1-b28b-6c16-116b-a8526f18a74f" + "id": "8d1da7e6-50e9-e39f-eded-e60e2a09774a" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"43c959d9-3dda-4dc9-ae42-74b71ea39f08\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" + "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"e2599d98-53df-4bff-addb-61ef4f07d5ca\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/statuspages/bb4afad2-f893-464a-82a4-d2ab29d5105c/degradations", + "path": "/api/v2/statuspages/a86d9d70-4879-411d-9690-c9887c7b7d55/degradations", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"e4e76067-6b16-48d1-b943-734d0d81f715\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"43c959d9-3dda-4dc9-ae42-74b71ea39f08\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:37.592566Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:37.592566Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"af2de416-ec54-4e72-a973-7be879f26886\",\"created_at\":\"2026-01-21T21:23:37.592566Z\",\"modified_at\":\"2026-01-21T21:23:37.592566Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"43c959d9-3dda-4dc9-ae42-74b71ea39f08\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"bb4afad2-f893-464a-82a4-d2ab29d5105c\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"124bcf90-cf17-4c2a-81b8-089b419fc384\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"e2599d98-53df-4bff-addb-61ef4f07d5ca\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:00:39.142715Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:00:39.142715Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"7d3f2ccb-619c-428a-ba44-fb91aa290211\",\"created_at\":\"2026-02-24T17:00:39.142715Z\",\"modified_at\":\"2026-02-24T17:00:39.142715Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"e2599d98-53df-4bff-addb-61ef4f07d5ca\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"a86d9d70-4879-411d-9690-c9887c7b7d55\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "b569f35d-523e-1d26-95d2-1135a5b44cef" + "id": "c592c3cd-e24a-4f92-0f3d-cbae81e5dc76" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/bb4afad2-f893-464a-82a4-d2ab29d5105c/degradations/e4e76067-6b16-48d1-b943-734d0d81f715", + "path": "/api/v2/statuspages/a86d9d70-4879-411d-9690-c9887c7b7d55/degradations/124bcf90-cf17-4c2a-81b8-089b419fc384", "keepAlive": false, "secure": true }, @@ -78,13 +78,13 @@ "timeToLive": { "unlimited": true }, - "id": "08af11c3-4bd2-5243-56f8-54691a1b5151" + "id": "2d702f21-076a-65df-8439-ac50586e1b5a" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/bb4afad2-f893-464a-82a4-d2ab29d5105c", + "path": "/api/v2/statuspages/a86d9d70-4879-411d-9690-c9887c7b7d55", "keepAlive": false, "secure": true }, @@ -99,6 +99,6 @@ "timeToLive": { "unlimited": true }, - "id": "a40f5db2-4b58-abb5-db95-73c697534ce2" + "id": "dd8c132a-b405-2de3-1172-553afb932807" } ] \ No newline at end of file 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 31333da4750..4032fbdc8fc 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-e4d7e0833bd6" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdc" }, { "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 c4359207f23..6b69cce1630 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-e4d7e0833bd9" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_maintenance_returns_Created_response.freeze b/src/test/resources/cassettes/features/v2/Create_maintenance_returns_Created_response.freeze new file mode 100644 index 00000000000..8574777f1ac --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Create_maintenance_returns_Created_response.freeze @@ -0,0 +1 @@ +2026-02-24T17:00:40.396Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_maintenance_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_maintenance_returns_Created_response.json new file mode 100644 index 00000000000..df7298166ff --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Create_maintenance_returns_Created_response.json @@ -0,0 +1,83 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"8e5ffe347d1751cc\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"bb1ed843-423e-4577-bf20-b904ddc3b28b\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"32226fbd-8de2-4786-91f6-86dddc2e59f6\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"b0c6ef86-fc2e-4b1c-ad79-c71abdf9764c\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"6c7b103c-d834-42f8-9646-63c842bf3005\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:40.572564Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"8e5ffe347d1751cc\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:40.572564Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/bb1ed843-423e-4577-bf20-b904ddc3b28b/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "5c76d25a-be73-c41f-4f2a-54cd1ffc57ea" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"completed_date\":\"2026-02-24T19:00:40.396Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"b0c6ef86-fc2e-4b1c-ad79-c71abdf9764c\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:40.396Z\",\"title\":\"API Maintenance\"},\"type\":\"maintenances\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages/bb1ed843-423e-4577-bf20-b904ddc3b28b/maintenances", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"245cefbb-b4dc-49a0-aeac-1a0be682399f\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-24T19:00:40.396Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"b0c6ef86-fc2e-4b1c-ad79-c71abdf9764c\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-24T17:00:41.347226Z\",\"published_date\":\"2026-02-24T17:00:41.347226Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:40.396Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"a166b22f-dc12-4e94-82ae-46c8b969484f\",\"created_at\":\"2026-02-24T17:00:41.347226Z\",\"modified_at\":\"2026-02-24T17:00:41.347226Z\",\"started_at\":\"2026-02-24T17:00:41.347226Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"b0c6ef86-fc2e-4b1c-ad79-c71abdf9764c\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"bb1ed843-423e-4577-bf20-b904ddc3b28b\",\"type\":\"status_pages\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "4813484b-5738-4113-eea7-e7cca339241d" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/statuspages/bb1ed843-423e-4577-bf20-b904ddc3b28b", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "headers": {}, + "statusCode": 204, + "reasonPhrase": "No Content" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "a3022475-ec3f-9598-0f25-ea1f658bcc64" + } +] \ No newline at end of file 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 036e7ac60ea..3fbaa0291c3 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-d650bb892172" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.freeze b/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.freeze index f09a7049e48..96ef50a1805 100644 --- a/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:38.324Z \ No newline at end of file +2026-02-24T17:00:42.403Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.json index d54dfd0076f..1b1baa6971b 100644 --- a/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_status_page_returns_Created_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"domain_prefix\":\"bd769f64d06a9cdb\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"domain_prefix\":\"d579fbd5fd5aa108\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"f59e184f-4019-40d6-be90-b59f2381976d\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"c66f749f-12f7-4813-92a3-0e70df06cbd8\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"2478dc16-435c-493d-93ad-dcea6421a281\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-01-21T21:23:38.486999Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"bd769f64d06a9cdb\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:38.486999Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/f59e184f-4019-40d6-be90-b59f2381976d/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"9de0c787-c9ad-4f5d-b9d1-ec67791d7b22\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"fe44d53f-3411-4bd0-b5d3-df10d1fa4f52\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"ba4c1000-398f-4fd9-8594-82ad0b3be9e3\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-02-24T17:00:42.565108Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"d579fbd5fd5aa108\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:42.565108Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/9de0c787-c9ad-4f5d-b9d1-ec67791d7b22/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "c322df76-ed65-e6eb-b799-529a381ed095" + "id": "5f099b6b-9eef-4572-7807-92cce7044431" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/f59e184f-4019-40d6-be90-b59f2381976d", + "path": "/api/v2/statuspages/9de0c787-c9ad-4f5d-b9d1-ec67791d7b22", "keepAlive": false, "secure": true }, @@ -48,6 +48,6 @@ "timeToLive": { "unlimited": true }, - "id": "a0c4f81e-430d-f69f-2029-2689c082c5cc" + "id": "9cb9530d-82f5-afe2-614b-045ef72d493c" } ] \ No newline at end of file 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..626d104be82 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-1da22948b32f" }, { "httpRequest": { 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 e3c687db896..ac61cefff94 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-12e51226c513" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c514" }, { "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 3c087b157b3..17f6987468c 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-12e51226c50e" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c513" }, { "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 bb02652c1ea..c63dd04ca65 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-bd11c0a4ae43" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae48" }, { "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 5a542ece674..1077273c329 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-f707c3b51e79" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9e" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa2" }, { "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 423beb9380f..1511b4f762f 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-eaf799af6461" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6462" }, { "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 d44f28ca671..7919b99b4ff 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-eaf799af6462" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6461" }, { "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 44970e3b2b4..4fe7616f61c 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_dataset_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json index c7ce15f6147..92c10c6b507 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-ab94000addcd" + "id": "32c558cf-4a2e-f914-f443-ab94000addc9" }, { "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 9d5fec45de3..b4f342c7c6b 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-dd7718f5185f" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185e" }, { "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 245c33ef97b..a0473dce8a1 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-03a7fdff0698" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069e" }, { "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_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json index 5a5f85e9e24..27a3b2378c8 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-4a71849b3ce4" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce2" }, { "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 ee9ff41cc5e..10d1b44602d 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-e4d7e0833bd1" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd7" }, { "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 a9b1b0a59f2..01ab24ad981 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-73b0e70145ff" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f8" }, { "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 329ab257b1d..d5073efc8b6 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-73b0e70145f6" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f1" }, { "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 4a4af70d4d6..9f67c161366 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-73b0e70145f5" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.freeze index dccc0cd79e6..c37e85d7645 100644 --- a/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:39.373Z \ No newline at end of file +2026-02-24T17:00:43.840Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.json index 4392a9ceb77..1317c291855 100644 --- a/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_component_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"52506f44627e27d9\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"a48fef969e3afb8e\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"e4365564-6c49-4a14-b9c2-736c038a62a9\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"be6cbe05-c28b-4cd1-be92-0323c2399a6c\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"da518ded-9db2-4cba-919e-0ad04d208561\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"06e4ed67-1231-409e-a0b1-da84785d64a0\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:39.487738Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"52506f44627e27d9\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:39.487738Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/e4365564-6c49-4a14-b9c2-736c038a62a9/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"4cf573f8-ff26-4341-ac7a-420666af5d24\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"a8afd2dd-96bc-4f57-b445-9b92eb1b0a11\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"035ec25d-e999-4ab2-a7ce-cc49847dfd17\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"8c607c78-9856-421b-9f78-5a241f59e8b3\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:44.021412Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"a48fef969e3afb8e\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:44.021412Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/4cf573f8-ff26-4341-ac7a-420666af5d24/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "739b2fe3-8f0a-3eba-be58-e7140b1c4686" + "id": "a5c668c9-c28c-5d6f-bc50-4800f5484d30" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/e4365564-6c49-4a14-b9c2-736c038a62a9/components/be6cbe05-c28b-4cd1-be92-0323c2399a6c", + "path": "/api/v2/statuspages/4cf573f8-ff26-4341-ac7a-420666af5d24/components/a8afd2dd-96bc-4f57-b445-9b92eb1b0a11", "keepAlive": false, "secure": true }, @@ -48,13 +48,13 @@ "timeToLive": { "unlimited": true }, - "id": "d1e6249c-0bb4-848d-9e6e-f9c42cf5df8b" + "id": "3d181e62-988f-2f61-f146-2e2d2fbc9e6f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/e4365564-6c49-4a14-b9c2-736c038a62a9", + "path": "/api/v2/statuspages/4cf573f8-ff26-4341-ac7a-420666af5d24", "keepAlive": false, "secure": true }, @@ -69,6 +69,6 @@ "timeToLive": { "unlimited": true }, - "id": "79652247-fa32-7a3a-4a8b-6370da1bbe83" + "id": "ab9e6d87-e0e1-351b-ed26-5df6a8e6fae9" } ] \ No newline at end of file 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 4d6f43f87bf..8d2bf345763 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-73b0e70145eb" + "id": "79babc38-7a70-5347-c8a6-73b0e7014600" }, { "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 63612794c7f..98d4f2e89be 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-eaf799af6463" + "id": "dc45fc73-0f09-c12d-941b-eaf799af646a" }, { "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..87794c5dcab 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-eaf799af6466" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json index c787f38d63d..89e714c46e3 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6469" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6465" }, { "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..9906d02abaf 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-b92f9fa74d35" }, { "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..ccc4c95513a 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-b92f9fa74d33" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.freeze index f9dac8fe0f8..1b367f7523a 100644 --- a/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:40.553Z \ No newline at end of file +2026-02-24T17:00:45.450Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.json index 0a6724cca6a..06e993e9c63 100644 --- a/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_degradation_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"854d0635d9daaa12\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"24a63c7404e92b00\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"6be99142-8929-473e-9799-041e6372f114\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"82cd6444-b15f-467d-bba2-b0c946de1965\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"45221c15-9e84-469a-bc08-be9e3988f3ea\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"694d84bb-afb7-4a0a-854f-d9eee42fff7f\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:40.659745Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"854d0635d9daaa12\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:40.659745Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/6be99142-8929-473e-9799-041e6372f114/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"529f8f23-0634-4cdf-8a81-cb7b82e19afc\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"27026121-0156-435f-8958-3fc3ebe1c01e\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"3b64fcd0-eec2-44dd-a84d-c186ccbd2b33\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"feab19f6-1213-4352-96e9-04558f2f3f38\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:45.630576Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"24a63c7404e92b00\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:45.630576Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/529f8f23-0634-4cdf-8a81-cb7b82e19afc/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "439415c0-8b0d-558a-cf87-8f59eef0fb40" + "id": "abc9ce1a-9e5b-53ce-d255-dcdb0138fbb1" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"45221c15-9e84-469a-bc08-be9e3988f3ea\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" + "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"3b64fcd0-eec2-44dd-a84d-c186ccbd2b33\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114/degradations", + "path": "/api/v2/statuspages/529f8f23-0634-4cdf-8a81-cb7b82e19afc/degradations", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"bd0e77e0-83e5-4556-809b-f582969f1441\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"45221c15-9e84-469a-bc08-be9e3988f3ea\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:41.199085Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:41.199085Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"a899c951-a528-4edb-86e7-8eca80ff1a92\",\"created_at\":\"2026-01-21T21:23:41.199085Z\",\"modified_at\":\"2026-01-21T21:23:41.199085Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"45221c15-9e84-469a-bc08-be9e3988f3ea\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"6be99142-8929-473e-9799-041e6372f114\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"fd0a3e7a-d068-46cd-b870-40ec57c47a6b\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"3b64fcd0-eec2-44dd-a84d-c186ccbd2b33\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:00:46.292177Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:00:46.292177Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"70f8b89d-ed88-46c0-91e2-2fd80aa1af38\",\"created_at\":\"2026-02-24T17:00:46.292177Z\",\"modified_at\":\"2026-02-24T17:00:46.292177Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"3b64fcd0-eec2-44dd-a84d-c186ccbd2b33\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"529f8f23-0634-4cdf-8a81-cb7b82e19afc\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "7298d37e-6259-e283-6b3c-510b0f0c9d1d" + "id": "2ea06e3e-92cc-e4f9-6da5-57acb25849f8" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114/degradations/bd0e77e0-83e5-4556-809b-f582969f1441", + "path": "/api/v2/statuspages/529f8f23-0634-4cdf-8a81-cb7b82e19afc/degradations/fd0a3e7a-d068-46cd-b870-40ec57c47a6b", "keepAlive": false, "secure": true }, @@ -78,13 +78,13 @@ "timeToLive": { "unlimited": true }, - "id": "fcda4360-becd-d1ad-ca56-99c1e0df7636" + "id": "1591cea4-ae25-5ddc-2dd6-d47d709d076d" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114/degradations/bd0e77e0-83e5-4556-809b-f582969f1441", + "path": "/api/v2/statuspages/529f8f23-0634-4cdf-8a81-cb7b82e19afc/degradations/fd0a3e7a-d068-46cd-b870-40ec57c47a6b", "keepAlive": false, "secure": true }, @@ -104,13 +104,13 @@ "timeToLive": { "unlimited": true }, - "id": "fcda4360-becd-d1ad-ca56-99c1e0df7637" + "id": "1591cea4-ae25-5ddc-2dd6-d47d709d076e" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114", + "path": "/api/v2/statuspages/529f8f23-0634-4cdf-8a81-cb7b82e19afc", "keepAlive": false, "secure": true }, @@ -125,6 +125,6 @@ "timeToLive": { "unlimited": true }, - "id": "28555656-8138-5b22-d4fe-fe1ddb98dc73" + "id": "8e633a3e-b2d1-c0e5-0f9c-debe15b8252a" } ] \ No newline at end of file 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 e4a05802f28..ecbf48088cd 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-e4d7e0833bd2" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bda" }, { "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 e668325311c..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-e4d7e0833bd4" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.freeze index dbcea3ddf98..306938fc49c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:41.981Z \ No newline at end of file +2026-02-24T17:00:47.555Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.json index 13999db7415..db5d50a24bb 100644 --- a/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_status_page_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"cb21c38e7fab0cfc\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"9289de40ecee7851\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"bc81fd89-62a4-4c28-b5e1-167c63ce3249\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"e6286170-1f58-4d8d-9432-7112ebc32be7\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"c7753c9e-7f28-4111-b7ab-f801c75b4945\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"a6e70d8d-7457-4d09-88a7-ef5cd4674698\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:42.084545Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"cb21c38e7fab0cfc\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:42.084545Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/bc81fd89-62a4-4c28-b5e1-167c63ce3249/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"5fee28e5-913c-4c8e-b043-d580d3f99848\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"787b5f03-cbdf-40ce-b1da-75943e70dc1d\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"a646452b-3e0d-4a0f-be71-234237dd6b4f\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"1501d5e7-2576-4d6e-ab2c-9197f75e3210\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:47.709256Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"9289de40ecee7851\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:47.709256Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/5fee28e5-913c-4c8e-b043-d580d3f99848/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "1ef5d0f3-cc2e-fc36-c6f6-02fb76a59981" + "id": "53c68186-9cdf-aa43-870f-ae854df5d036" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/bc81fd89-62a4-4c28-b5e1-167c63ce3249", + "path": "/api/v2/statuspages/5fee28e5-913c-4c8e-b043-d580d3f99848", "keepAlive": false, "secure": true }, @@ -48,13 +48,13 @@ "timeToLive": { "unlimited": true }, - "id": "c3b70638-eb16-04d2-a6dd-76ed243a6210" + "id": "4598aab8-3b9f-0ef8-f846-36b6cc9a419b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/bc81fd89-62a4-4c28-b5e1-167c63ce3249", + "path": "/api/v2/statuspages/5fee28e5-913c-4c8e-b043-d580d3f99848", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "c3b70638-eb16-04d2-a6dd-76ed243a6211" + "id": "4598aab8-3b9f-0ef8-f846-36b6cc9a419c" } ] \ No newline at end of file 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 75a40d06c1c..12a959775bd 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-ab94000addc9" + "id": "32c558cf-4a2e-f914-f443-ab94000addce" }, { "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..c2491988476 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-ff3630e3a2cc" } ] \ 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 fe4cf251d57..6b2882ea815 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-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_tasks_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_tasks_returns_OK_response.json index 5fe868f6988..774e33bf524 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_tasks_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_tasks_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7442c701-c89c-a74b-3de9-6b4cff876178" + "id": "7442c701-c89c-a74b-3de9-6b4cff876179" } ] \ 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 6b2882ea815..fe4cf251d57 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-d579a5f192c2" + "id": "4fd99083-06ab-185c-0a48-d579a5f192c1" } ] \ No newline at end of file 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 ca6f6eb76a9..f2e8ebc7ed1 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-12e51226c514" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50d" }, { "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 cdbd8c2d803..b461aa9101d 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-12e51226c511" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json index cab40f18769..018b1504a4a 100644 --- a/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fab" + "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fac" }, { "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 9190a1a8019..0baec6032c5 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 2249ad7f8b8..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-4499a9e71c71" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c72" }, { "httpRequest": { @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3a" + "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 3a14fe62055..99e1be2e6b8 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-03a7fdff069a" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" }, { "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 4b177525577..082ad2fe876 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": "4c138fa0-d834-5972-8bd7-894a659525af" + "id": "4c138fa0-d834-5972-8bd7-894a659525ad" }, { "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 d76b3217ed0..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-dd7718f51862" + "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..59a863c261f 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-ab94000addcf" }, { "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 40f41bf5c71..c6e40d9ebaf 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-046e57b87c7d" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json index 7fb128d6529..07da3e25a95 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6463" }, { "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_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json index 6352d5f0102..87cb96a7640 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-086b9b6ef691" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json index 7e5c7b1234d..55368f4ae1c 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3" + "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json index 79b249db928..c859297de35 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21f" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.freeze index 06ecf5ee7c9..1014028adc5 100644 --- a/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:43.141Z \ No newline at end of file +2026-02-24T17:00:48.945Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.json index 3f68bfbb806..eaa4720771e 100644 --- a/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_component_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"06de602b320cfdb0\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"16dcaf5cdc284a4a\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"70f5256d-c03f-45e1-8057-bc036d4793eb\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"7a270e4e-a064-44d0-bf07-326cf1f51cad\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"3a6c227c-52ea-4ed1-849c-4b4c1179881a\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"dff9c5c3-0b49-4f04-b801-83cdec88432a\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:43.257592Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"06de602b320cfdb0\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:43.257592Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/70f5256d-c03f-45e1-8057-bc036d4793eb/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"b6c8b2cd-36bb-41aa-8f27-1fd891a0f961\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"1cea8878-7fc8-4397-babc-8c41d90aeaa7\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"04bd30db-9a97-4088-8f16-694b87389cbb\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"4c111b7d-1cef-4233-8041-a519567a86b8\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:49.120106Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"16dcaf5cdc284a4a\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:49.120106Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/b6c8b2cd-36bb-41aa-8f27-1fd891a0f961/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "98646d4f-4c48-0543-7053-72a3834c0f38" + "id": "015f2c46-76a0-b089-b591-a6e65561c227" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/statuspages/70f5256d-c03f-45e1-8057-bc036d4793eb/components/7a270e4e-a064-44d0-bf07-326cf1f51cad", + "path": "/api/v2/statuspages/b6c8b2cd-36bb-41aa-8f27-1fd891a0f961/components/1cea8878-7fc8-4397-babc-8c41d90aeaa7", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"7a270e4e-a064-44d0-bf07-326cf1f51cad\",\"type\":\"components\",\"attributes\":{\"components\":[{\"id\":\"3a6c227c-52ea-4ed1-849c-4b4c1179881a\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"dff9c5c3-0b49-4f04-b801-83cdec88432a\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-01-21T21:23:43.257592Z\",\"modified_at\":\"2026-01-21T21:23:43.257592Z\",\"name\":\"Application\",\"position\":0,\"type\":\"group\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"70f5256d-c03f-45e1-8057-bc036d4793eb\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"1cea8878-7fc8-4397-babc-8c41d90aeaa7\",\"type\":\"components\",\"attributes\":{\"components\":[{\"id\":\"04bd30db-9a97-4088-8f16-694b87389cbb\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"4c111b7d-1cef-4233-8041-a519567a86b8\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-02-24T17:00:49.120106Z\",\"modified_at\":\"2026-02-24T17:00:49.120106Z\",\"name\":\"Application\",\"position\":0,\"type\":\"group\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"b6c8b2cd-36bb-41aa-8f27-1fd891a0f961\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "8b65bb20-5a2b-8508-33c4-f3528253c0ad" + "id": "5cd25ddf-0dbc-2add-60f1-c235108656e1" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/70f5256d-c03f-45e1-8057-bc036d4793eb", + "path": "/api/v2/statuspages/b6c8b2cd-36bb-41aa-8f27-1fd891a0f961", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "a7595656-1349-f10f-8256-dfa948dd5a7e" + "id": "98cfafe4-4d99-a353-a189-e4d03ceb8373" } ] \ No newline at end of file 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 4aba2dd2af0..b79df729351 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-b92f9fa74d35" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.freeze index 5bf876ce9e7..0d6725b7724 100644 --- a/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:44.279Z \ No newline at end of file +2026-02-24T17:00:50.355Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.json index a93cb832263..7ded676366f 100644 --- a/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_degradation_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"5eb6437773268884\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"12fd9e2fcfbad77b\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"3397266a-8b0e-49c9-bc1c-0866a14eca08\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"bd226a05-e4f4-41bd-bb65-6c575acb55df\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"5db10808-905b-43a6-9226-97057e049486\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:44.415385Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"5eb6437773268884\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:44.415385Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"317cba21-cebc-4436-94df-09bbdf3d4cb6\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"c5589831-a633-4f87-87c7-6abb7404ba5d\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"c8bfec42-82a6-43cd-bf99-23de9c2f72a8\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"5a6c8210-7239-42ae-b7ae-396b26cf21b5\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:50.525032Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"12fd9e2fcfbad77b\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:50.525032Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/317cba21-cebc-4436-94df-09bbdf3d4cb6/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "899a7f71-23f5-af9e-81d7-dfa3f305476f" + "id": "7a5a6332-821a-a8fc-fe86-5094e21846a8" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"bd226a05-e4f4-41bd-bb65-6c575acb55df\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" + "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"c8bfec42-82a6-43cd-bf99-23de9c2f72a8\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45/degradations", + "path": "/api/v2/statuspages/317cba21-cebc-4436-94df-09bbdf3d4cb6/degradations", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"ce318082-f158-4f69-a325-dfcc3a4e0cd4\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"bd226a05-e4f4-41bd-bb65-6c575acb55df\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:44.970381Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:44.970381Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"07162b04-aa24-4bb9-8f4e-549ceda01252\",\"created_at\":\"2026-01-21T21:23:44.970381Z\",\"modified_at\":\"2026-01-21T21:23:44.970381Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"bd226a05-e4f4-41bd-bb65-6c575acb55df\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"3199b71f-e5a6-4651-8498-bb27cf7389f8\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"c8bfec42-82a6-43cd-bf99-23de9c2f72a8\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:00:51.138156Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:00:51.138156Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"6755caad-fc13-4d65-8ed8-0468c38dac6d\",\"created_at\":\"2026-02-24T17:00:51.138156Z\",\"modified_at\":\"2026-02-24T17:00:51.138156Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"c8bfec42-82a6-43cd-bf99-23de9c2f72a8\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"317cba21-cebc-4436-94df-09bbdf3d4cb6\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "35cd63ec-3378-0b01-2b46-98bcef44c3e4" + "id": "1932b73d-32e3-ed6e-c87a-8ff3774f0d35" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45/degradations/ce318082-f158-4f69-a325-dfcc3a4e0cd4", + "path": "/api/v2/statuspages/317cba21-cebc-4436-94df-09bbdf3d4cb6/degradations/3199b71f-e5a6-4651-8498-bb27cf7389f8", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"ce318082-f158-4f69-a325-dfcc3a4e0cd4\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"bd226a05-e4f4-41bd-bb65-6c575acb55df\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:44.970381Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:44.970381Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"07162b04-aa24-4bb9-8f4e-549ceda01252\",\"created_at\":\"2026-01-21T21:23:44.970381Z\",\"modified_at\":\"2026-01-21T21:23:44.970381Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"bd226a05-e4f4-41bd-bb65-6c575acb55df\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"3199b71f-e5a6-4651-8498-bb27cf7389f8\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"c8bfec42-82a6-43cd-bf99-23de9c2f72a8\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:00:51.138156Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:00:51.138156Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"6755caad-fc13-4d65-8ed8-0468c38dac6d\",\"created_at\":\"2026-02-24T17:00:51.138156Z\",\"modified_at\":\"2026-02-24T17:00:51.138156Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"c8bfec42-82a6-43cd-bf99-23de9c2f72a8\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"317cba21-cebc-4436-94df-09bbdf3d4cb6\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -83,13 +83,13 @@ "timeToLive": { "unlimited": true }, - "id": "346fc540-96c6-3964-a47a-1cf57a08b479" + "id": "a490ea02-538e-1e82-0f18-2a83a3e8a8c6" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45/degradations/ce318082-f158-4f69-a325-dfcc3a4e0cd4", + "path": "/api/v2/statuspages/317cba21-cebc-4436-94df-09bbdf3d4cb6/degradations/3199b71f-e5a6-4651-8498-bb27cf7389f8", "keepAlive": false, "secure": true }, @@ -104,13 +104,13 @@ "timeToLive": { "unlimited": true }, - "id": "0a6c4521-ea52-2d93-2230-870a0d6927a0" + "id": "4a5ce056-6de9-244b-2607-648bd7657262" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45", + "path": "/api/v2/statuspages/317cba21-cebc-4436-94df-09bbdf3d4cb6", "keepAlive": false, "secure": true }, @@ -125,6 +125,6 @@ "timeToLive": { "unlimited": true }, - "id": "fa2e4dd8-45b8-4309-5db6-40d1c50aca5a" + "id": "a85f3d49-ea32-2a54-80f3-0d2bc5eae838" } ] \ No newline at end of file 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 00f0e4bc8fd..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-e4d7e0833bdc" + "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 8af5e0e1230..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-e4d7e0833bdb" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_maintenance_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_maintenance_returns_OK_response.freeze new file mode 100644 index 00000000000..a1a31777484 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Get_maintenance_returns_OK_response.freeze @@ -0,0 +1 @@ +2026-02-24T17:00:52.135Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_maintenance_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_maintenance_returns_OK_response.json new file mode 100644 index 00000000000..bfec52cd85d --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Get_maintenance_returns_OK_response.json @@ -0,0 +1,109 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"9aed0f41362f59e0\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"8d1daf4d-e7de-4722-9130-9034915b2bbb\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"8558c72b-733f-42ab-8fb5-bd58c4e7f7e5\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"0c8fbd54-bdca-4093-970d-7ead0275b092\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"57c87ddd-e27a-4617-a7b3-2114c3a88c51\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:52.289454Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"9aed0f41362f59e0\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:52.289454Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/8d1daf4d-e7de-4722-9130-9034915b2bbb/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "894c3bea-ac5a-8e9c-f256-914160a874a9" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"completed_date\":\"2026-02-24T19:00:52.135Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0c8fbd54-bdca-4093-970d-7ead0275b092\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:52.135Z\",\"title\":\"API Maintenance\"},\"type\":\"maintenances\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages/8d1daf4d-e7de-4722-9130-9034915b2bbb/maintenances", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"bfd8dc52-55d6-4868-b64a-d13a6bd401fd\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-24T19:00:52.135Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0c8fbd54-bdca-4093-970d-7ead0275b092\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-24T17:00:53.019047Z\",\"published_date\":\"2026-02-24T17:00:53.019047Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:52.135Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"2edf855a-3c89-4425-8295-13b7b882e942\",\"created_at\":\"2026-02-24T17:00:53.019047Z\",\"modified_at\":\"2026-02-24T17:00:53.019047Z\",\"started_at\":\"2026-02-24T17:00:53.019047Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0c8fbd54-bdca-4093-970d-7ead0275b092\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"8d1daf4d-e7de-4722-9130-9034915b2bbb\",\"type\":\"status_pages\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "121d69f9-9226-f7f1-2c9c-f43717116eb5" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/statuspages/8d1daf4d-e7de-4722-9130-9034915b2bbb/maintenances/bfd8dc52-55d6-4868-b64a-d13a6bd401fd", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"bfd8dc52-55d6-4868-b64a-d13a6bd401fd\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-24T19:00:52.135Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0c8fbd54-bdca-4093-970d-7ead0275b092\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-24T17:00:53.019047Z\",\"published_date\":\"2026-02-24T17:00:53.019047Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:52.135Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"2edf855a-3c89-4425-8295-13b7b882e942\",\"created_at\":\"2026-02-24T17:00:53.019047Z\",\"modified_at\":\"2026-02-24T17:00:53.019047Z\",\"started_at\":\"2026-02-24T17:00:53.019047Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0c8fbd54-bdca-4093-970d-7ead0275b092\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"8d1daf4d-e7de-4722-9130-9034915b2bbb\",\"type\":\"status_pages\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "c374373d-40c4-bb4f-4c39-3ed4db92ce96" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/statuspages/8d1daf4d-e7de-4722-9130-9034915b2bbb", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "headers": {}, + "statusCode": 204, + "reasonPhrase": "No Content" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "6d59b807-3455-206d-df6c-a53dc2a1b37d" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.freeze index 712b01c4720..4ba83511b53 100644 --- a/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:45.761Z \ No newline at end of file +2026-02-24T17:00:53.797Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.json index fd8a323efb9..35d85f29e50 100644 --- a/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_status_page_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"385491266043d794\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"8c26840eabe71dc3\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"24205612-f1dc-444f-aec6-7010c3097cb5\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"70916c47-93e6-4e73-b97c-0e13b5450faf\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"dcb07405-f8ea-4518-9c37-9ccb6c3c247b\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"2287c0bf-d342-4a65-998d-22bb80c63c27\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:45.863862Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"385491266043d794\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:45.863862Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/24205612-f1dc-444f-aec6-7010c3097cb5/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"ad595545-a10f-4156-86c4-4b7e628a373f\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"bef1338e-b586-4b82-bf51-cd924583b1a4\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"892f0166-6f66-4113-a4ca-f38ad360853b\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"bc546936-c609-4dff-ac47-cfc73262b9ad\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:53.951086Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"8c26840eabe71dc3\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:53.951086Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/ad595545-a10f-4156-86c4-4b7e628a373f/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "fd16f007-b83f-6cbb-985a-f3fcfd540eb6" + "id": "75bace70-ee9d-ff9e-b223-ad8d6b5fd163" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/statuspages/24205612-f1dc-444f-aec6-7010c3097cb5", + "path": "/api/v2/statuspages/ad595545-a10f-4156-86c4-4b7e628a373f", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"24205612-f1dc-444f-aec6-7010c3097cb5\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"70916c47-93e6-4e73-b97c-0e13b5450faf\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"dcb07405-f8ea-4518-9c37-9ccb6c3c247b\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"2287c0bf-d342-4a65-998d-22bb80c63c27\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:45.863862Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"385491266043d794\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:45.863862Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/24205612-f1dc-444f-aec6-7010c3097cb5/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"ad595545-a10f-4156-86c4-4b7e628a373f\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"bef1338e-b586-4b82-bf51-cd924583b1a4\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"892f0166-6f66-4113-a4ca-f38ad360853b\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"bc546936-c609-4dff-ac47-cfc73262b9ad\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:53.951086Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"8c26840eabe71dc3\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:53.951086Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/ad595545-a10f-4156-86c4-4b7e628a373f/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "47b7d219-3208-3f43-4762-8a7be4a6da01" + "id": "0bad3175-4870-b4a4-201f-68184c0bb2ae" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/24205612-f1dc-444f-aec6-7010c3097cb5", + "path": "/api/v2/statuspages/ad595545-a10f-4156-86c4-4b7e628a373f", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "797c4807-8658-7852-ff5c-86d115b6c149" + "id": "d46a57a9-bd28-56d7-113b-70b210f0e205" } ] \ No newline at end of file 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 5b5d81e7265..0731ce00dfd 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-73b0e70145ef" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json index cc6c1703e9a..e9ddbf352f7 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "16438026-1168-3bfa-3763-949697b01fe9" + "id": "16438026-1168-3bfa-3763-949697b01fea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json index c0406058bb1..6b6dc7ffeef 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "16438026-1168-3bfa-3763-949697b01fea" + "id": "16438026-1168-3bfa-3763-949697b01fe9" }, { "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 1eccad92176..6ab71e5cb0b 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-1da22948b32f" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b330" }, { "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 efc1f126be5..ce9579ed86c 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-d650bb89216e" + "id": "ab2c08c1-60c7-9278-3246-d650bb892172" }, { "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 1d634f061da..bbb7fb5acd3 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-dd7718f51861" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51860" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json index f5543674faa..61e60b91801 100644 --- a/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7442c701-c89c-a74b-3de9-6b4cff876179" + "id": "7442c701-c89c-a74b-3de9-6b4cff876178" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json index e200ee772e9..c09bb52e54b 100644 --- a/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fac" + "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fab" } ] \ No newline at end of file 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 386d8e0e05a..b5c65afa164 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-f707c3b51e7b" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" + "id": "01611a93-5e74-0630-3c51-f707c3b51e80" }, { "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 83f01f32714..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-03a7fdff069e" + "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_components_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/List_components_returns_OK_response.freeze index d9b768691c7..6ba76149ba3 100644 --- a/src/test/resources/cassettes/features/v2/List_components_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/List_components_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:46.975Z \ No newline at end of file +2026-02-24T17:00:55.477Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_components_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_components_returns_OK_response.json index 151e7240600..db30c564f1b 100644 --- a/src/test/resources/cassettes/features/v2/List_components_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_components_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"f577abf9d8b6cac4\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"c498abdeba4af7af\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"02b22755-8a22-449f-817b-c4f649f37ebd\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"bac73feb-3b3a-4f9b-81ad-b5532acfc96b\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"d993969d-ca6c-4b74-aed6-7a0f93016e7f\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"457c3e35-56a5-472f-a284-4e2222c77631\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:47.079687Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f577abf9d8b6cac4\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:47.079687Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/02b22755-8a22-449f-817b-c4f649f37ebd/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"b7030ed3-627b-4172-a1db-ed4844518d9a\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"15c02806-5062-4a31-b92e-1156869483e4\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"b8dcb280-a392-4a53-873e-3303732ffa56\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"96014dbf-2729-404f-99f8-6988e13fd8c6\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:55.643889Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"c498abdeba4af7af\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:55.643889Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/b7030ed3-627b-4172-a1db-ed4844518d9a/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "bbb8f085-02a3-c04e-2916-0d7ca0a5e9e1" + "id": "b9f50f22-685b-e6e5-c752-fb31c22a17a0" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/statuspages/02b22755-8a22-449f-817b-c4f649f37ebd/components", + "path": "/api/v2/statuspages/b7030ed3-627b-4172-a1db-ed4844518d9a/components", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"bac73feb-3b3a-4f9b-81ad-b5532acfc96b\",\"type\":\"components\",\"attributes\":{\"components\":[{\"id\":\"d993969d-ca6c-4b74-aed6-7a0f93016e7f\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"457c3e35-56a5-472f-a284-4e2222c77631\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-01-21T21:23:47.079687Z\",\"modified_at\":\"2026-01-21T21:23:47.079687Z\",\"name\":\"Application\",\"position\":0,\"type\":\"group\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"02b22755-8a22-449f-817b-c4f649f37ebd\",\"type\":\"status_pages\"}}}}]}", + "body": "{\"data\":[{\"id\":\"15c02806-5062-4a31-b92e-1156869483e4\",\"type\":\"components\",\"attributes\":{\"components\":[{\"id\":\"b8dcb280-a392-4a53-873e-3303732ffa56\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"96014dbf-2729-404f-99f8-6988e13fd8c6\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-02-24T17:00:55.643889Z\",\"modified_at\":\"2026-02-24T17:00:55.643889Z\",\"name\":\"Application\",\"position\":0,\"type\":\"group\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"b7030ed3-627b-4172-a1db-ed4844518d9a\",\"type\":\"status_pages\"}}}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "934801c4-3520-5366-511b-fa086b1e8e1f" + "id": "ac1f39e5-c9a4-5e17-461b-82c9689a3b49" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/02b22755-8a22-449f-817b-c4f649f37ebd", + "path": "/api/v2/statuspages/b7030ed3-627b-4172-a1db-ed4844518d9a", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "3c587298-d5b7-6f34-a8f4-7d4bf6299415" + "id": "96905492-83c0-1355-6137-b8c0359e4f25" } ] \ 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 1ec023c7a3f..0251f9fdc84 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-b92f9fa74d34" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.freeze index 5ef43ee5a2e..da44433f242 100644 --- a/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:48.128Z \ No newline at end of file +2026-02-24T17:00:56.828Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.json index 24f0dba40f3..6af765171d5 100644 --- a/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_degradations_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"9e7f8b0822635170\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"4cbed4a1e7e245cd\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"fcf5cb92-aa21-43c1-b2c3-54ff692fef7b\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"0b52346d-8cd1-407b-a085-44f7f3c47ba4\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"b257b99d-355b-4b2c-82c0-335694c1e940\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"27415b2b-1759-49a9-a298-34fec18177c1\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:48.239521Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"9e7f8b0822635170\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:48.239521Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/fcf5cb92-aa21-43c1-b2c3-54ff692fef7b/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"db7b590d-cced-4b48-a7fa-a8cad2ffe6d2\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"33943b97-35dc-45b5-821e-cd61b65a6a8b\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"05dbb51c-56b3-4a3a-a051-cf44128af296\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"b39e6a73-07f2-4174-a023-328400524a64\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:57.01904Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"4cbed4a1e7e245cd\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:57.01904Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/db7b590d-cced-4b48-a7fa-a8cad2ffe6d2/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "42cc66e2-266f-5442-4236-087d1cc72b17" + "id": "563cf6a3-ffb4-beb2-ba69-955f5e19f6c7" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"b257b99d-355b-4b2c-82c0-335694c1e940\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" + "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"05dbb51c-56b3-4a3a-a051-cf44128af296\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/statuspages/fcf5cb92-aa21-43c1-b2c3-54ff692fef7b/degradations", + "path": "/api/v2/statuspages/db7b590d-cced-4b48-a7fa-a8cad2ffe6d2/degradations", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"2339dce7-c32c-42f4-88c6-ce3ff16f0cbd\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"b257b99d-355b-4b2c-82c0-335694c1e940\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:48.836304Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:48.836304Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"7959ea84-30c5-4c55-a12a-8272fab2b1cd\",\"created_at\":\"2026-01-21T21:23:48.836304Z\",\"modified_at\":\"2026-01-21T21:23:48.836304Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"b257b99d-355b-4b2c-82c0-335694c1e940\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"fcf5cb92-aa21-43c1-b2c3-54ff692fef7b\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"6d7edbfb-18e5-4c65-90c8-905841616f10\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"05dbb51c-56b3-4a3a-a051-cf44128af296\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:00:57.665863Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:00:57.665863Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"8fa25e63-3621-4d63-bc04-7b89a5469968\",\"created_at\":\"2026-02-24T17:00:57.665863Z\",\"modified_at\":\"2026-02-24T17:00:57.665863Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"05dbb51c-56b3-4a3a-a051-cf44128af296\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"db7b590d-cced-4b48-a7fa-a8cad2ffe6d2\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "275ed5df-3696-ac17-a845-8f6c119ec055" + "id": "ea0cd2bf-3273-6b8a-39d9-496d873eb360" }, { "httpRequest": { @@ -68,7 +68,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"2339dce7-c32c-42f4-88c6-ce3ff16f0cbd\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"b257b99d-355b-4b2c-82c0-335694c1e940\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:48.836304Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:48.836304Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"7959ea84-30c5-4c55-a12a-8272fab2b1cd\",\"created_at\":\"2026-01-21T21:23:48.836304Z\",\"modified_at\":\"2026-01-21T21:23:48.836304Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"b257b99d-355b-4b2c-82c0-335694c1e940\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"fcf5cb92-aa21-43c1-b2c3-54ff692fef7b\",\"type\":\"status_pages\"}}}}],\"meta\":{\"page\":{\"type\":\"offset_limit\",\"offset\":0,\"limit\":50,\"total\":1,\"first_offset\":0,\"prev_offset\":null,\"next_offset\":null,\"last_offset\":0}}}", + "body": "{\"data\":[{\"id\":\"6d7edbfb-18e5-4c65-90c8-905841616f10\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"05dbb51c-56b3-4a3a-a051-cf44128af296\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:00:57.665863Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:00:57.665863Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"8fa25e63-3621-4d63-bc04-7b89a5469968\",\"created_at\":\"2026-02-24T17:00:57.665863Z\",\"modified_at\":\"2026-02-24T17:00:57.665863Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"05dbb51c-56b3-4a3a-a051-cf44128af296\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"db7b590d-cced-4b48-a7fa-a8cad2ffe6d2\",\"type\":\"status_pages\"}}}}],\"meta\":{\"page\":{\"type\":\"offset_limit\",\"offset\":0,\"limit\":50,\"total\":1,\"first_offset\":0,\"prev_offset\":null,\"next_offset\":null,\"last_offset\":0}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -89,7 +89,7 @@ "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/fcf5cb92-aa21-43c1-b2c3-54ff692fef7b/degradations/2339dce7-c32c-42f4-88c6-ce3ff16f0cbd", + "path": "/api/v2/statuspages/db7b590d-cced-4b48-a7fa-a8cad2ffe6d2/degradations/6d7edbfb-18e5-4c65-90c8-905841616f10", "keepAlive": false, "secure": true }, @@ -104,13 +104,13 @@ "timeToLive": { "unlimited": true }, - "id": "ac7c257f-e1aa-f62a-53af-97033b4a1f42" + "id": "adb80f09-0e90-0a6d-01e3-3ceb3f9be375" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/fcf5cb92-aa21-43c1-b2c3-54ff692fef7b", + "path": "/api/v2/statuspages/db7b590d-cced-4b48-a7fa-a8cad2ffe6d2", "keepAlive": false, "secure": true }, @@ -125,6 +125,6 @@ "timeToLive": { "unlimited": true }, - "id": "c6ffb4df-deae-c180-8a5e-5070af52cf35" + "id": "0cf2612b-9d97-30ab-eac2-fd9def872e31" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json index 496fbb6e65d..c59d5f476eb 100644 --- a/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "4c138fa0-d834-5972-8bd7-894a659525ad" + "id": "4c138fa0-d834-5972-8bd7-894a659525af" }, { "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 dd7ac63f41c..3b4c609f8c5 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-e4d7e0833bda" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_maintenances_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/List_maintenances_returns_OK_response.freeze new file mode 100644 index 00000000000..e9663eb8592 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/List_maintenances_returns_OK_response.freeze @@ -0,0 +1 @@ +2026-02-24T17:00:58.632Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_maintenances_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_maintenances_returns_OK_response.json new file mode 100644 index 00000000000..ed1708aeb60 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/List_maintenances_returns_OK_response.json @@ -0,0 +1,109 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"7461571be4b904a2\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"4386413c-88e0-46d1-9492-4907633ed575\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"58972a8d-82b7-4de0-9889-8c6c3f4dfc95\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"89f770b5-8612-41ef-a35d-e325503b4aff\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"b05bdb74-2754-4255-a51d-a67ae3c853f5\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:00:58.794069Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"7461571be4b904a2\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:00:58.794069Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/4386413c-88e0-46d1-9492-4907633ed575/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "9f7e0c7e-0704-2443-978c-81d0f6586e9d" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"completed_date\":\"2026-02-24T19:00:58.632Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"89f770b5-8612-41ef-a35d-e325503b4aff\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:58.632Z\",\"title\":\"API Maintenance\"},\"type\":\"maintenances\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages/4386413c-88e0-46d1-9492-4907633ed575/maintenances", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"137fffe3-bfe1-471f-ad23-565105cd30f8\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-24T19:00:58.632Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"89f770b5-8612-41ef-a35d-e325503b4aff\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-24T17:00:59.394878Z\",\"published_date\":\"2026-02-24T17:00:59.394878Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:58.632Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"79051405-03b3-4e9e-9e74-56e2d6593a06\",\"created_at\":\"2026-02-24T17:00:59.394878Z\",\"modified_at\":\"2026-02-24T17:00:59.394878Z\",\"started_at\":\"2026-02-24T17:00:59.394878Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"89f770b5-8612-41ef-a35d-e325503b4aff\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"4386413c-88e0-46d1-9492-4907633ed575\",\"type\":\"status_pages\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "bed64f0a-57bd-1bec-43a8-6789bd398060" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/statuspages/maintenances", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[{\"id\":\"f286de7d-136f-4fdc-8e86-4d0777e3e21f\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T17:13:22.043Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"77170b9e-5e63-4ddb-9a0b-93e271e530ba\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T17:13:41.502717Z\",\"published_date\":\"2026-02-19T15:13:22.885588Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T16:13:22.043Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"e53d8a4a-264d-4f85-a2f2-79db7de6a846\",\"created_at\":\"2026-02-19T17:13:41.502717Z\",\"modified_at\":\"2026-02-19T17:13:41.502717Z\",\"started_at\":\"2026-02-19T17:13:41.502717Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"77170b9e-5e63-4ddb-9a0b-93e271e530ba\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"1ae93adf-0bc9-48fb-8530-66ed6233f0e7\",\"created_at\":\"2026-02-19T16:13:29.432699Z\",\"modified_at\":\"2026-02-19T16:13:29.432699Z\",\"started_at\":\"2026-02-19T16:13:29.432699Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"77170b9e-5e63-4ddb-9a0b-93e271e530ba\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"7f1460f1-38cf-47a5-ab00-d3bf7492cfb4\",\"created_at\":\"2026-02-19T15:13:22.885588Z\",\"modified_at\":\"2026-02-19T15:13:22.885588Z\",\"started_at\":\"2026-02-19T15:13:22.885588Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"77170b9e-5e63-4ddb-9a0b-93e271e530ba\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"6054e25a-60fa-4c88-a02a-760bae1a7917\",\"type\":\"status_pages\"}}}},{\"id\":\"17874db7-0144-476b-8313-1a126fe7640b\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T17:13:23.668Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8e3cd5cc-1ce3-435c-863d-2f139a10fd18\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T17:13:40.505678Z\",\"published_date\":\"2026-02-19T15:13:24.508112Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T16:13:23.668Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"b6e8df0c-5cc3-4b55-b0f9-fa000ce0ed59\",\"created_at\":\"2026-02-19T17:13:40.505678Z\",\"modified_at\":\"2026-02-19T17:13:40.505678Z\",\"started_at\":\"2026-02-19T17:13:40.505678Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8e3cd5cc-1ce3-435c-863d-2f139a10fd18\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"4cd584cf-4c51-4f0d-9c0c-3b99e089e5ca\",\"created_at\":\"2026-02-19T16:13:31.834568Z\",\"modified_at\":\"2026-02-19T16:13:31.834568Z\",\"started_at\":\"2026-02-19T16:13:31.834568Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8e3cd5cc-1ce3-435c-863d-2f139a10fd18\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"2f6081e9-61fd-4320-8bc7-c183f480abd0\",\"created_at\":\"2026-02-19T15:13:24.508112Z\",\"modified_at\":\"2026-02-19T15:13:24.508112Z\",\"started_at\":\"2026-02-19T15:13:24.508112Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8e3cd5cc-1ce3-435c-863d-2f139a10fd18\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"6f3e2bef-846a-4c05-9d6d-35d9d136c31a\",\"type\":\"status_pages\"}}}},{\"id\":\"8e70e109-ca9d-4d82-b2e5-4ca9c363daa5\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T17:13:24.776Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"7d4bd295-b987-49b0-8086-9dddbcfade33\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T17:13:41.406073Z\",\"published_date\":\"2026-02-19T15:13:25.641763Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T16:13:24.776Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"78579cc3-4935-43d7-9d4f-7889655bb414\",\"created_at\":\"2026-02-19T17:13:41.406073Z\",\"modified_at\":\"2026-02-19T17:13:41.406073Z\",\"started_at\":\"2026-02-19T17:13:41.406073Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"7d4bd295-b987-49b0-8086-9dddbcfade33\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"04f5122c-2c8e-4605-878c-bdd401d1a6a4\",\"created_at\":\"2026-02-19T16:13:29.281104Z\",\"modified_at\":\"2026-02-19T16:13:29.281104Z\",\"started_at\":\"2026-02-19T16:13:29.281104Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"7d4bd295-b987-49b0-8086-9dddbcfade33\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"5943a568-c880-4b32-ab7b-1701adf218cf\",\"created_at\":\"2026-02-19T15:13:25.641763Z\",\"modified_at\":\"2026-02-19T15:13:25.641763Z\",\"started_at\":\"2026-02-19T15:13:25.641763Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"7d4bd295-b987-49b0-8086-9dddbcfade33\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"fbcbdef4-4e3a-436a-bb0a-be8205a98b36\",\"type\":\"status_pages\"}}}},{\"id\":\"6f08d7a7-d37d-4c75-807b-234e71d6d40b\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T17:48:44.696Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2bf35e8e-28c9-49c3-948a-854097030f2c\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T17:48:51.504226Z\",\"published_date\":\"2026-02-19T15:48:45.758873Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T16:48:44.696Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"13300fac-e192-4604-b987-2759f980238a\",\"created_at\":\"2026-02-19T17:48:51.504226Z\",\"modified_at\":\"2026-02-19T17:48:51.504226Z\",\"started_at\":\"2026-02-19T17:48:51.504226Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2bf35e8e-28c9-49c3-948a-854097030f2c\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"82980649-7416-405a-a882-bafd1fdd5d4c\",\"created_at\":\"2026-02-19T16:48:52.562843Z\",\"modified_at\":\"2026-02-19T16:48:52.562843Z\",\"started_at\":\"2026-02-19T16:48:52.562843Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2bf35e8e-28c9-49c3-948a-854097030f2c\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"a9fca162-a79b-4a3e-b67a-571fdca4b0d6\",\"created_at\":\"2026-02-19T15:48:45.758873Z\",\"modified_at\":\"2026-02-19T15:48:45.758873Z\",\"started_at\":\"2026-02-19T15:48:45.758873Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2bf35e8e-28c9-49c3-948a-854097030f2c\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"b57576ee-457d-43da-9b17-f7e9087ab4a4\",\"type\":\"status_pages\"}}}},{\"id\":\"c6150974-eab5-4ca9-93a5-78b615b22801\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T17:48:46.187Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"6407bf01-0c11-4509-8ae6-24c77cf205da\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T17:48:50.958358Z\",\"published_date\":\"2026-02-19T15:48:47.266145Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T16:48:46.187Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"fd8aaab4-2f77-4e5d-9f0f-5255e40b33a0\",\"created_at\":\"2026-02-19T17:48:50.958358Z\",\"modified_at\":\"2026-02-19T17:48:50.958358Z\",\"started_at\":\"2026-02-19T17:48:50.958358Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"6407bf01-0c11-4509-8ae6-24c77cf205da\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"66ea1633-4c51-4e7a-9eb2-d85d810e4ae9\",\"created_at\":\"2026-02-19T16:48:52.244498Z\",\"modified_at\":\"2026-02-19T16:48:52.244498Z\",\"started_at\":\"2026-02-19T16:48:52.244498Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"6407bf01-0c11-4509-8ae6-24c77cf205da\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"19f9e7b6-ba0f-4567-8984-ac145414f81d\",\"created_at\":\"2026-02-19T15:48:47.266145Z\",\"modified_at\":\"2026-02-19T15:48:47.266145Z\",\"started_at\":\"2026-02-19T15:48:47.266145Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"6407bf01-0c11-4509-8ae6-24c77cf205da\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"a8e6fdb1-05c8-416c-a150-9af49c513206\",\"type\":\"status_pages\"}}}},{\"id\":\"a0ba86bb-b5da-4fb7-9f14-d69d0dcba6d6\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T17:48:47.701Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"5cc44628-14ac-4563-a052-5b1f9a3fa3e4\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T17:48:52.64131Z\",\"published_date\":\"2026-02-19T15:48:48.889128Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T16:48:47.701Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"aa6a3313-db4e-4236-8d20-621907bd69fd\",\"created_at\":\"2026-02-19T17:48:52.64131Z\",\"modified_at\":\"2026-02-19T17:48:52.64131Z\",\"started_at\":\"2026-02-19T17:48:52.64131Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"5cc44628-14ac-4563-a052-5b1f9a3fa3e4\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"c4e8af34-28d8-4471-a7af-93f625314e61\",\"created_at\":\"2026-02-19T16:48:52.612772Z\",\"modified_at\":\"2026-02-19T16:48:52.612772Z\",\"started_at\":\"2026-02-19T16:48:52.612772Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"5cc44628-14ac-4563-a052-5b1f9a3fa3e4\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"77718021-f74f-4170-b26b-22e2e54f37c5\",\"created_at\":\"2026-02-19T15:48:48.889128Z\",\"modified_at\":\"2026-02-19T15:48:48.889128Z\",\"started_at\":\"2026-02-19T15:48:48.889128Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"5cc44628-14ac-4563-a052-5b1f9a3fa3e4\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"cfbf3ff5-f7e6-4d6c-8175-cbff110ebfc9\",\"type\":\"status_pages\"}}}},{\"id\":\"9b6a31cf-ef44-4185-8cd4-9355ba5a44c9\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:05:01.67Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0da9e91e-519e-4d1b-a530-95dbf9b1d6a3\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:05:06.005306Z\",\"published_date\":\"2026-02-19T16:05:02.831343Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:05:01.67Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"afad908a-1dac-409c-a8fd-ffa57399361a\",\"created_at\":\"2026-02-19T18:05:06.005306Z\",\"modified_at\":\"2026-02-19T18:05:06.005306Z\",\"started_at\":\"2026-02-19T18:05:06.005306Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0da9e91e-519e-4d1b-a530-95dbf9b1d6a3\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"31265ba4-b0b7-4e34-8364-068ad60af91d\",\"created_at\":\"2026-02-19T17:05:11.035132Z\",\"modified_at\":\"2026-02-19T17:05:11.035132Z\",\"started_at\":\"2026-02-19T17:05:11.035132Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0da9e91e-519e-4d1b-a530-95dbf9b1d6a3\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"9a5a0962-7ca7-4d2c-9717-8c7df395d512\",\"created_at\":\"2026-02-19T16:05:02.831343Z\",\"modified_at\":\"2026-02-19T16:05:02.831343Z\",\"started_at\":\"2026-02-19T16:05:02.831343Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"0da9e91e-519e-4d1b-a530-95dbf9b1d6a3\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"c3af2a4f-dd6e-4777-8899-7be70c0e629c\",\"type\":\"status_pages\"}}}},{\"id\":\"d94642f5-fe45-46b8-a61d-f48dee50fc8b\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:05:03.183Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2ec5ce94-7c6b-4883-b963-774cde63af0e\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:05:09.356968Z\",\"published_date\":\"2026-02-19T16:05:04.238719Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:05:03.183Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"52b79331-678b-47e7-ba86-26d0c3b22b70\",\"created_at\":\"2026-02-19T18:05:09.356968Z\",\"modified_at\":\"2026-02-19T18:05:09.356968Z\",\"started_at\":\"2026-02-19T18:05:09.356968Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2ec5ce94-7c6b-4883-b963-774cde63af0e\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"2a7e245f-1f32-4708-8f36-ccfd5c545719\",\"created_at\":\"2026-02-19T17:05:11.018617Z\",\"modified_at\":\"2026-02-19T17:05:11.018617Z\",\"started_at\":\"2026-02-19T17:05:11.018617Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2ec5ce94-7c6b-4883-b963-774cde63af0e\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"d55f8f1d-09d8-4f08-9d04-24f7d719841e\",\"created_at\":\"2026-02-19T16:05:04.238719Z\",\"modified_at\":\"2026-02-19T16:05:04.238719Z\",\"started_at\":\"2026-02-19T16:05:04.238719Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2ec5ce94-7c6b-4883-b963-774cde63af0e\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"e4a07280-5e60-41e8-8868-d6b391ac9ba4\",\"type\":\"status_pages\"}}}},{\"id\":\"e47a4a10-abac-4196-a38f-95a05e4d3a73\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:05:04.644Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"c354419b-c97e-49c6-b556-a2bd73c2945b\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T18:05:16.800514Z\",\"published_date\":\"2026-02-19T16:05:05.525216Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T17:05:04.644Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"31f2ab95-151a-45ca-833c-82d9a9b1335b\",\"created_at\":\"2026-02-19T18:05:16.800514Z\",\"modified_at\":\"2026-02-19T18:05:16.800514Z\",\"started_at\":\"2026-02-19T18:05:16.800514Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"c354419b-c97e-49c6-b556-a2bd73c2945b\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"2b337ccf-3b7d-4360-9d64-a96471191650\",\"created_at\":\"2026-02-19T17:05:11.670406Z\",\"modified_at\":\"2026-02-19T17:05:11.670406Z\",\"started_at\":\"2026-02-19T17:05:11.670406Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"c354419b-c97e-49c6-b556-a2bd73c2945b\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"7c4544d5-5c50-4833-89cf-8dda15768115\",\"created_at\":\"2026-02-19T16:05:05.525216Z\",\"modified_at\":\"2026-02-19T16:05:05.525216Z\",\"started_at\":\"2026-02-19T16:05:05.525216Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"c354419b-c97e-49c6-b556-a2bd73c2945b\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"9554c1f6-837d-4ce9-8682-90cc44689d6e\",\"type\":\"status_pages\"}}}},{\"id\":\"798fb3e3-453e-44e2-bc6f-fd29f5d4b5da\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:26:36.738Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2a064c38-b34c-4afd-8958-567b4fb94891\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:26:39.660886Z\",\"published_date\":\"2026-02-19T16:26:37.551277Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:26:36.738Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"a7a4a4e7-3a7a-4324-8d8d-869bc9c87085\",\"created_at\":\"2026-02-19T18:26:39.660886Z\",\"modified_at\":\"2026-02-19T18:26:39.660886Z\",\"started_at\":\"2026-02-19T18:26:39.660886Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2a064c38-b34c-4afd-8958-567b4fb94891\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"fc42e821-999c-4bcd-a7fe-c41a8f53a4f3\",\"created_at\":\"2026-02-19T17:26:41.211615Z\",\"modified_at\":\"2026-02-19T17:26:41.211615Z\",\"started_at\":\"2026-02-19T17:26:41.211615Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2a064c38-b34c-4afd-8958-567b4fb94891\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"5c982a14-c686-4abf-9cd0-1560f489efe4\",\"created_at\":\"2026-02-19T16:26:37.551277Z\",\"modified_at\":\"2026-02-19T16:26:37.551277Z\",\"started_at\":\"2026-02-19T16:26:37.551277Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"2a064c38-b34c-4afd-8958-567b4fb94891\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"ef7f6596-79dd-4f10-9e02-96047289e678\",\"type\":\"status_pages\"}}}},{\"id\":\"b0bc5c8b-4b21-49d6-8a63-fc58846cd85f\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:26:41.901Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"eb5ff7d4-3faa-4216-9141-b616ecfa29a7\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:26:50.363316Z\",\"published_date\":\"2026-02-19T16:26:42.616591Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:26:41.901Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"d0a52474-99f4-45f4-ac23-fd97755e1825\",\"created_at\":\"2026-02-19T18:26:50.363316Z\",\"modified_at\":\"2026-02-19T18:26:50.363316Z\",\"started_at\":\"2026-02-19T18:26:50.363316Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"eb5ff7d4-3faa-4216-9141-b616ecfa29a7\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"a722ee55-83b1-4366-bbe7-d6228c67d6db\",\"created_at\":\"2026-02-19T17:26:50.619047Z\",\"modified_at\":\"2026-02-19T17:26:50.619047Z\",\"started_at\":\"2026-02-19T17:26:50.619047Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"eb5ff7d4-3faa-4216-9141-b616ecfa29a7\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"b2a2964f-28ec-40db-9cdc-507c4343232d\",\"created_at\":\"2026-02-19T16:26:42.616591Z\",\"modified_at\":\"2026-02-19T16:26:42.616591Z\",\"started_at\":\"2026-02-19T16:26:42.616591Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"eb5ff7d4-3faa-4216-9141-b616ecfa29a7\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"d3167fc5-957d-4ec6-a55d-d75a5eb1926a\",\"type\":\"status_pages\"}}}},{\"id\":\"080453e2-155d-4807-aec4-b50cb4edccc7\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:26:47.556Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"222ce53c-1646-45bc-a5d4-27e0a4eb0313\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T18:26:50.306926Z\",\"published_date\":\"2026-02-19T16:26:48.303105Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T17:26:47.556Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"e1f2c1a8-2797-4eb8-9e90-ad0aae8315f7\",\"created_at\":\"2026-02-19T18:26:50.306926Z\",\"modified_at\":\"2026-02-19T18:26:50.306926Z\",\"started_at\":\"2026-02-19T18:26:50.306926Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"222ce53c-1646-45bc-a5d4-27e0a4eb0313\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"3a591848-156c-4043-9c23-7c23d7882b20\",\"created_at\":\"2026-02-19T17:26:54.951261Z\",\"modified_at\":\"2026-02-19T17:26:54.951261Z\",\"started_at\":\"2026-02-19T17:26:54.951261Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"222ce53c-1646-45bc-a5d4-27e0a4eb0313\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"39aec418-b668-489d-92ab-519149092c7d\",\"created_at\":\"2026-02-19T16:26:48.303105Z\",\"modified_at\":\"2026-02-19T16:26:48.303105Z\",\"started_at\":\"2026-02-19T16:26:48.303105Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"222ce53c-1646-45bc-a5d4-27e0a4eb0313\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"7e1c914a-7b5d-4928-9603-2c231f4e27b5\",\"type\":\"status_pages\"}}}},{\"id\":\"6c7a18e8-ec4a-44a0-b769-a300bfd4647f\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:41:05.953Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"e19596ba-245c-49dc-9274-5aa1b7e865f5\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:41:10.642682Z\",\"published_date\":\"2026-02-19T16:41:06.978106Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:41:05.953Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"9dea7ab6-3b6d-40f5-bf02-b2509e5d7ef6\",\"created_at\":\"2026-02-19T18:41:10.642682Z\",\"modified_at\":\"2026-02-19T18:41:10.642682Z\",\"started_at\":\"2026-02-19T18:41:10.642682Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"e19596ba-245c-49dc-9274-5aa1b7e865f5\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"3cedcd9f-f4d2-41f3-acaf-74eaedb0c840\",\"created_at\":\"2026-02-19T17:41:18.858442Z\",\"modified_at\":\"2026-02-19T17:41:18.858442Z\",\"started_at\":\"2026-02-19T17:41:18.858442Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"e19596ba-245c-49dc-9274-5aa1b7e865f5\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"5bcb7196-17d4-440d-92cb-b6fc3e89ca92\",\"created_at\":\"2026-02-19T16:41:06.978106Z\",\"modified_at\":\"2026-02-19T16:41:06.978106Z\",\"started_at\":\"2026-02-19T16:41:06.978106Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"e19596ba-245c-49dc-9274-5aa1b7e865f5\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"a8e3fb88-56ee-4f01-8909-734f9a066177\",\"type\":\"status_pages\"}}}},{\"id\":\"563de34b-6e0e-4304-a00a-d080c7a3add6\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:41:11.445Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"862e2d94-1286-423c-86ec-541f5f5aa5e6\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:41:21.384964Z\",\"published_date\":\"2026-02-19T16:41:12.248062Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:41:11.445Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"49b97e00-3bb0-4796-a6a9-15838fe59797\",\"created_at\":\"2026-02-19T18:41:21.384964Z\",\"modified_at\":\"2026-02-19T18:41:21.384964Z\",\"started_at\":\"2026-02-19T18:41:21.384964Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"862e2d94-1286-423c-86ec-541f5f5aa5e6\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"336fe68b-506d-41b9-8a6e-ce0c5e9c50f6\",\"created_at\":\"2026-02-19T17:41:20.982233Z\",\"modified_at\":\"2026-02-19T17:41:20.982233Z\",\"started_at\":\"2026-02-19T17:41:20.982233Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"862e2d94-1286-423c-86ec-541f5f5aa5e6\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"f1eae39b-e846-45c9-a9cd-b0ee05b7abe1\",\"created_at\":\"2026-02-19T16:41:12.248062Z\",\"modified_at\":\"2026-02-19T16:41:12.248062Z\",\"started_at\":\"2026-02-19T16:41:12.248062Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"862e2d94-1286-423c-86ec-541f5f5aa5e6\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"7c3eff68-42fb-4ddb-8761-3e7695d79570\",\"type\":\"status_pages\"}}}},{\"id\":\"3f7e4061-f99e-48e1-ac4d-02f175e556a5\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:41:17.115Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"03b85dec-3f1c-4bc1-b6a6-c3070e94aaa7\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T18:41:21.354571Z\",\"published_date\":\"2026-02-19T16:41:17.821981Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T17:41:17.115Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"e887c9c6-9d32-41ad-915b-f59457d46200\",\"created_at\":\"2026-02-19T18:41:21.354571Z\",\"modified_at\":\"2026-02-19T18:41:21.354571Z\",\"started_at\":\"2026-02-19T18:41:21.354571Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"03b85dec-3f1c-4bc1-b6a6-c3070e94aaa7\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"b7b92c17-d92a-4d1f-8c80-33808033ac42\",\"created_at\":\"2026-02-19T17:41:23.212672Z\",\"modified_at\":\"2026-02-19T17:41:23.212672Z\",\"started_at\":\"2026-02-19T17:41:23.212672Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"03b85dec-3f1c-4bc1-b6a6-c3070e94aaa7\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"ad754c3b-05d8-4618-9d56-c03ec63c3c16\",\"created_at\":\"2026-02-19T16:41:17.821981Z\",\"modified_at\":\"2026-02-19T16:41:17.821981Z\",\"started_at\":\"2026-02-19T16:41:17.821981Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"03b85dec-3f1c-4bc1-b6a6-c3070e94aaa7\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"4561e0f5-5a64-4bc9-b16c-654d3d81325a\",\"type\":\"status_pages\"}}}},{\"id\":\"7b2e52dd-cbca-4ba4-a73b-30b8e5df6094\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2027-02-19T17:13:22.043Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"c4d3a1be-8d3d-4b09-9521-b03d5c1e6fdd\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T16:43:58.312902Z\",\"published_date\":\"2026-02-19T16:43:58.312902Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2027-02-19T16:13:22.043Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"d727f2e1-86de-4780-9a83-32e9615f24ab\",\"created_at\":\"2026-02-19T16:43:58.312902Z\",\"modified_at\":\"2026-02-19T16:43:58.312902Z\",\"started_at\":\"2026-02-19T16:43:58.312902Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"c4d3a1be-8d3d-4b09-9521-b03d5c1e6fdd\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"0e37a7c0-9b0c-4c4e-b315-6b5e145390af\",\"type\":\"status_pages\"}}}},{\"id\":\"0cc3280d-2127-4429-9777-18ff1d0025f7\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:44:06.253Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"579f0d5c-cce7-4666-98f3-40a696be8cc7\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:44:14.043097Z\",\"published_date\":\"2026-02-19T16:44:06.928335Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:44:06.253Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"f8fd0b5a-851d-4909-9f0a-552687659550\",\"created_at\":\"2026-02-19T18:44:14.043097Z\",\"modified_at\":\"2026-02-19T18:44:14.043097Z\",\"started_at\":\"2026-02-19T18:44:14.043097Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"579f0d5c-cce7-4666-98f3-40a696be8cc7\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"05abf843-058a-44b2-8c4a-178893cfb59c\",\"created_at\":\"2026-02-19T17:44:16.964205Z\",\"modified_at\":\"2026-02-19T17:44:16.964205Z\",\"started_at\":\"2026-02-19T17:44:16.964205Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"579f0d5c-cce7-4666-98f3-40a696be8cc7\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"558325df-2d6d-4343-9a97-f6c9e165b4f1\",\"created_at\":\"2026-02-19T16:44:06.928335Z\",\"modified_at\":\"2026-02-19T16:44:06.928335Z\",\"started_at\":\"2026-02-19T16:44:06.928335Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"579f0d5c-cce7-4666-98f3-40a696be8cc7\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"016f2768-6987-4a8f-898b-ab94e17b3dd3\",\"type\":\"status_pages\"}}}},{\"id\":\"ab486ec9-5e60-4d2b-88f3-86cce89baeb9\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:44:11.197Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"d1d9b93d-301d-4dad-8f3b-4475a3fad1b1\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T18:44:24.658174Z\",\"published_date\":\"2026-02-19T16:44:11.945804Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T17:44:11.197Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"b50bbda8-d21b-4653-8602-b9be48316cf5\",\"created_at\":\"2026-02-19T18:44:24.658174Z\",\"modified_at\":\"2026-02-19T18:44:24.658174Z\",\"started_at\":\"2026-02-19T18:44:24.658174Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"d1d9b93d-301d-4dad-8f3b-4475a3fad1b1\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"49c62cd2-f176-4829-8dd5-138778c2902c\",\"created_at\":\"2026-02-19T17:44:15.757371Z\",\"modified_at\":\"2026-02-19T17:44:15.757371Z\",\"started_at\":\"2026-02-19T17:44:15.757371Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"d1d9b93d-301d-4dad-8f3b-4475a3fad1b1\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"9e272ba1-8d7e-41c5-8454-5d7f15864b90\",\"created_at\":\"2026-02-19T16:44:11.945804Z\",\"modified_at\":\"2026-02-19T16:44:11.945804Z\",\"started_at\":\"2026-02-19T16:44:11.945804Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"d1d9b93d-301d-4dad-8f3b-4475a3fad1b1\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"bd3f1d69-4ee1-428d-8ac8-f03f387a7677\",\"type\":\"status_pages\"}}}},{\"id\":\"dd68d4f9-5eff-4ab9-bbb4-bd80ef184b07\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T18:44:16.748Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"44da03e1-1b23-4100-b26f-68ab4f8ca457\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T18:44:24.483553Z\",\"published_date\":\"2026-02-19T16:44:17.427344Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T17:44:16.748Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"19b8a7d2-7164-4383-bdf2-463de3d1242c\",\"created_at\":\"2026-02-19T18:44:24.483553Z\",\"modified_at\":\"2026-02-19T18:44:24.483553Z\",\"started_at\":\"2026-02-19T18:44:24.483553Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"44da03e1-1b23-4100-b26f-68ab4f8ca457\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"bc432e95-9e82-4b4c-a152-11a10acc0217\",\"created_at\":\"2026-02-19T17:44:26.587427Z\",\"modified_at\":\"2026-02-19T17:44:26.587427Z\",\"started_at\":\"2026-02-19T17:44:26.587427Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"44da03e1-1b23-4100-b26f-68ab4f8ca457\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"9cf9afba-2352-4e3c-9bca-a52a60ce2950\",\"created_at\":\"2026-02-19T16:44:17.427344Z\",\"modified_at\":\"2026-02-19T16:44:17.427344Z\",\"started_at\":\"2026-02-19T16:44:17.427344Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"44da03e1-1b23-4100-b26f-68ab4f8ca457\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"33c6f810-15d8-4ce2-835b-1ac3a6ca1dbc\",\"type\":\"status_pages\"}}}},{\"id\":\"42680154-cc22-432b-8132-dff3184823fa\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T23:06:20.302Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"63331812-b5a5-422a-889a-f7ca633b2d80\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T23:06:27.555615Z\",\"published_date\":\"2026-02-19T21:06:21.347203Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T22:06:20.302Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"a474fbb2-6d26-4a46-8c1b-51e5e1a2d3db\",\"created_at\":\"2026-02-19T23:06:27.555615Z\",\"modified_at\":\"2026-02-19T23:06:27.555615Z\",\"started_at\":\"2026-02-19T23:06:27.555615Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"63331812-b5a5-422a-889a-f7ca633b2d80\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"f32fa6c4-f239-404d-a3a1-914b3efb5430\",\"created_at\":\"2026-02-19T22:06:29.588858Z\",\"modified_at\":\"2026-02-19T22:06:29.588858Z\",\"started_at\":\"2026-02-19T22:06:29.588858Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"63331812-b5a5-422a-889a-f7ca633b2d80\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"6e23db69-3e05-49d2-890c-c5c619e95bd6\",\"created_at\":\"2026-02-19T21:06:21.347203Z\",\"modified_at\":\"2026-02-19T21:06:21.347203Z\",\"started_at\":\"2026-02-19T21:06:21.347203Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"63331812-b5a5-422a-889a-f7ca633b2d80\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"0751ca80-99db-4247-ae44-655162fa07a9\",\"type\":\"status_pages\"}}}},{\"id\":\"7c30b38a-5670-4187-8ee3-dbf13cfc969f\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T23:06:26.166Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"9fabc1b3-bfc4-45f5-8fe7-6b284be04d28\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T23:06:37.235313Z\",\"published_date\":\"2026-02-19T21:06:27.326948Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T22:06:26.166Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"80a778de-732e-46a7-b71a-11f6f57e250c\",\"created_at\":\"2026-02-19T23:06:37.235313Z\",\"modified_at\":\"2026-02-19T23:06:37.235313Z\",\"started_at\":\"2026-02-19T23:06:37.235313Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"9fabc1b3-bfc4-45f5-8fe7-6b284be04d28\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"a7bc678e-38c0-4a04-94b3-e3c8cd290180\",\"created_at\":\"2026-02-19T22:06:29.055847Z\",\"modified_at\":\"2026-02-19T22:06:29.055847Z\",\"started_at\":\"2026-02-19T22:06:29.055847Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"9fabc1b3-bfc4-45f5-8fe7-6b284be04d28\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"2ce54aea-a951-4f0f-899e-5b177b28343c\",\"created_at\":\"2026-02-19T21:06:27.326948Z\",\"modified_at\":\"2026-02-19T21:06:27.326948Z\",\"started_at\":\"2026-02-19T21:06:27.326948Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"9fabc1b3-bfc4-45f5-8fe7-6b284be04d28\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"6cb07301-fa51-4113-babd-229a0e86942e\",\"type\":\"status_pages\"}}}},{\"id\":\"3f112086-958b-472f-84b0-04513a6ac860\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T23:06:32.872Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"de9b6f98-2556-44c9-bb88-9d839e1fda62\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T23:06:36.563708Z\",\"published_date\":\"2026-02-19T21:06:33.926332Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T22:06:32.872Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"fc8ae217-7e51-40a1-b24b-6945bf101662\",\"created_at\":\"2026-02-19T23:06:36.563708Z\",\"modified_at\":\"2026-02-19T23:06:36.563708Z\",\"started_at\":\"2026-02-19T23:06:36.563708Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"de9b6f98-2556-44c9-bb88-9d839e1fda62\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"ef519943-1c85-4e7a-8b06-94fd196b7a1c\",\"created_at\":\"2026-02-19T22:06:43.335346Z\",\"modified_at\":\"2026-02-19T22:06:43.335346Z\",\"started_at\":\"2026-02-19T22:06:43.335346Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"de9b6f98-2556-44c9-bb88-9d839e1fda62\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"ed7b7ce3-9911-4da3-8b45-0fba052f3139\",\"created_at\":\"2026-02-19T21:06:33.926332Z\",\"modified_at\":\"2026-02-19T21:06:33.926332Z\",\"started_at\":\"2026-02-19T21:06:33.926332Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"de9b6f98-2556-44c9-bb88-9d839e1fda62\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"4d753d2f-1348-486d-afc7-22f3e1759af3\",\"type\":\"status_pages\"}}}},{\"id\":\"93176296-d3a5-4727-992a-ca43645b0d42\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T23:52:07.519Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"ff177f6a-17ed-4f5a-85c3-04b43621b282\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T23:52:19.215417Z\",\"published_date\":\"2026-02-19T21:52:09.105685Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T22:52:07.519Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"f1354169-871b-4e37-8f2e-9f469a7c3cae\",\"created_at\":\"2026-02-19T23:52:19.215417Z\",\"modified_at\":\"2026-02-19T23:52:19.215417Z\",\"started_at\":\"2026-02-19T23:52:19.215417Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"ff177f6a-17ed-4f5a-85c3-04b43621b282\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"922c3d4c-d2c2-4c0c-a3d2-998b41e89ade\",\"created_at\":\"2026-02-19T22:52:18.414197Z\",\"modified_at\":\"2026-02-19T22:52:18.414197Z\",\"started_at\":\"2026-02-19T22:52:18.414197Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"ff177f6a-17ed-4f5a-85c3-04b43621b282\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"cf3f4522-c823-463d-8e2b-d324ab9c961e\",\"created_at\":\"2026-02-19T21:52:09.105685Z\",\"modified_at\":\"2026-02-19T21:52:09.105685Z\",\"started_at\":\"2026-02-19T21:52:09.105685Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"ff177f6a-17ed-4f5a-85c3-04b43621b282\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"8d197716-0610-42ec-8bdf-8b571a68bfbe\",\"type\":\"status_pages\"}}}},{\"id\":\"99ce86c5-a232-4598-a405-4d7788294e9b\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T23:52:09.18Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"deb7b997-4f57-48b3-9dbf-4eaee77a8418\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T23:52:16.627844Z\",\"published_date\":\"2026-02-19T21:52:09.974133Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T22:52:09.18Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"72276413-5dfc-4422-bc7e-00c5e06db10e\",\"created_at\":\"2026-02-19T23:52:16.627844Z\",\"modified_at\":\"2026-02-19T23:52:16.627844Z\",\"started_at\":\"2026-02-19T23:52:16.627844Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"deb7b997-4f57-48b3-9dbf-4eaee77a8418\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"526d8c55-b5c1-42bf-afed-742812b6bc0f\",\"created_at\":\"2026-02-19T22:52:17.898547Z\",\"modified_at\":\"2026-02-19T22:52:17.898547Z\",\"started_at\":\"2026-02-19T22:52:17.898547Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"deb7b997-4f57-48b3-9dbf-4eaee77a8418\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"e9386e02-9cc9-4945-a840-fa20b00c4a66\",\"created_at\":\"2026-02-19T21:52:09.974133Z\",\"modified_at\":\"2026-02-19T21:52:09.974133Z\",\"started_at\":\"2026-02-19T21:52:09.974133Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"deb7b997-4f57-48b3-9dbf-4eaee77a8418\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"5d9fb154-2016-4209-a1aa-ffbb26b834cd\",\"type\":\"status_pages\"}}}},{\"id\":\"3bc4965e-8bca-45b7-b886-8fca2e92ddcc\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T23:52:10.173Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"12171b79-aaa4-4508-b3c5-e58d0315735d\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-19T23:52:17.541234Z\",\"published_date\":\"2026-02-19T21:52:11.35385Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T22:52:10.173Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"42fb9eb5-4ad3-4142-a731-2a444e47d31f\",\"created_at\":\"2026-02-19T23:52:17.541234Z\",\"modified_at\":\"2026-02-19T23:52:17.541234Z\",\"started_at\":\"2026-02-19T23:52:17.541234Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"12171b79-aaa4-4508-b3c5-e58d0315735d\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"c8e389a5-8a0b-4d7c-8922-181b61b3256f\",\"created_at\":\"2026-02-19T22:52:18.033924Z\",\"modified_at\":\"2026-02-19T22:52:18.033924Z\",\"started_at\":\"2026-02-19T22:52:18.033924Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"12171b79-aaa4-4508-b3c5-e58d0315735d\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"7b4c5d5b-9324-4283-8142-ac1b3b1c3d8b\",\"created_at\":\"2026-02-19T21:52:11.35385Z\",\"modified_at\":\"2026-02-19T21:52:11.35385Z\",\"started_at\":\"2026-02-19T21:52:11.35385Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"12171b79-aaa4-4508-b3c5-e58d0315735d\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"e9af0690-5634-4b5a-9a39-0024f5a94c5a\",\"type\":\"status_pages\"}}}},{\"id\":\"4ac0806e-a33a-441e-93b9-f7012f7e992a\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-19T23:52:11.693Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"6005b8d9-223c-49bb-b179-57c183557b28\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-19T23:52:24.250139Z\",\"published_date\":\"2026-02-19T21:52:12.42919Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T22:52:11.693Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"803c5c15-ff2b-4720-bd20-2ab3e9aca4bf\",\"created_at\":\"2026-02-19T23:52:24.250139Z\",\"modified_at\":\"2026-02-19T23:52:24.250139Z\",\"started_at\":\"2026-02-19T23:52:24.250139Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"6005b8d9-223c-49bb-b179-57c183557b28\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"7dc2ffcb-9105-4d49-8dfa-17204e3b82bf\",\"created_at\":\"2026-02-19T22:52:19.367788Z\",\"modified_at\":\"2026-02-19T22:52:19.367788Z\",\"started_at\":\"2026-02-19T22:52:19.367788Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"6005b8d9-223c-49bb-b179-57c183557b28\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"58eea7a5-81d7-4e03-a1c3-334638addf91\",\"created_at\":\"2026-02-19T21:52:12.42919Z\",\"modified_at\":\"2026-02-19T21:52:12.42919Z\",\"started_at\":\"2026-02-19T21:52:12.42919Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"6005b8d9-223c-49bb-b179-57c183557b28\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"4fd54afd-fa2c-427d-8b40-897968e2dc3d\",\"type\":\"status_pages\"}}}},{\"id\":\"e5c44d06-1f97-4b25-9736-6ebf48115883\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-20T00:08:11.382Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"a56c992a-ea84-4df0-86da-65a9ebe3b1c3\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-20T00:08:17.566083Z\",\"published_date\":\"2026-02-19T22:08:13.002283Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T23:08:11.382Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"0273f0ee-b73f-4b37-b939-e5152bc04d95\",\"created_at\":\"2026-02-20T00:08:17.566083Z\",\"modified_at\":\"2026-02-20T00:08:17.566083Z\",\"started_at\":\"2026-02-20T00:08:17.566083Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"a56c992a-ea84-4df0-86da-65a9ebe3b1c3\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"a20bc5ab-efed-4d72-8eae-c1b6a0f607a6\",\"created_at\":\"2026-02-19T23:08:22.812962Z\",\"modified_at\":\"2026-02-19T23:08:22.812962Z\",\"started_at\":\"2026-02-19T23:08:22.812962Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"a56c992a-ea84-4df0-86da-65a9ebe3b1c3\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"f7e0615d-822e-478f-8ede-98f97d1201f3\",\"created_at\":\"2026-02-19T22:08:13.002283Z\",\"modified_at\":\"2026-02-19T22:08:13.002283Z\",\"started_at\":\"2026-02-19T22:08:13.002283Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"a56c992a-ea84-4df0-86da-65a9ebe3b1c3\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"9d623a97-ec26-4e2b-a156-64169eff130e\",\"type\":\"status_pages\"}}}},{\"id\":\"0f52de2a-b23a-49b7-b942-c51e3c2c47e9\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-20T00:08:13.062Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"4239bd23-e472-4a5e-b489-40bda1fe99e6\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-20T00:08:17.549539Z\",\"published_date\":\"2026-02-19T22:08:13.812185Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T23:08:13.062Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"3ebf4659-1c13-4a99-9cd5-a78aa5fb8d7d\",\"created_at\":\"2026-02-20T00:08:17.549539Z\",\"modified_at\":\"2026-02-20T00:08:17.549539Z\",\"started_at\":\"2026-02-20T00:08:17.549539Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"4239bd23-e472-4a5e-b489-40bda1fe99e6\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"b35c15c4-8e2d-4e18-9b47-b19f49b71642\",\"created_at\":\"2026-02-19T23:08:27.245166Z\",\"modified_at\":\"2026-02-19T23:08:27.245166Z\",\"started_at\":\"2026-02-19T23:08:27.245166Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"4239bd23-e472-4a5e-b489-40bda1fe99e6\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"e271d82f-a17e-4744-b7df-01a8109d6454\",\"created_at\":\"2026-02-19T22:08:13.812185Z\",\"modified_at\":\"2026-02-19T22:08:13.812185Z\",\"started_at\":\"2026-02-19T22:08:13.812185Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"4239bd23-e472-4a5e-b489-40bda1fe99e6\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"1d52408e-1180-4704-be65-ca3dc0e17dbc\",\"type\":\"status_pages\"}}}},{\"id\":\"c21d0303-18dd-4175-85c7-96a597319a4e\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-20T00:08:14.03Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"37805b01-c997-40cb-8680-5322c12049de\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-20T00:08:27.376456Z\",\"published_date\":\"2026-02-19T22:08:14.677394Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-19T23:08:14.03Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"6910751e-1835-4dfe-a7d9-e35763bce390\",\"created_at\":\"2026-02-20T00:08:27.376456Z\",\"modified_at\":\"2026-02-20T00:08:27.376456Z\",\"started_at\":\"2026-02-20T00:08:27.376456Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"37805b01-c997-40cb-8680-5322c12049de\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"615c9252-f5d2-4f9f-866b-0d02bbd480d3\",\"created_at\":\"2026-02-19T23:08:26.18059Z\",\"modified_at\":\"2026-02-19T23:08:26.18059Z\",\"started_at\":\"2026-02-19T23:08:26.18059Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"37805b01-c997-40cb-8680-5322c12049de\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"964f3408-f732-4874-a6d0-3622c524ee5b\",\"created_at\":\"2026-02-19T22:08:14.677394Z\",\"modified_at\":\"2026-02-19T22:08:14.677394Z\",\"started_at\":\"2026-02-19T22:08:14.677394Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"37805b01-c997-40cb-8680-5322c12049de\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"c4269d26-2a7a-48d8-b35c-0d065f5bdbdb\",\"type\":\"status_pages\"}}}},{\"id\":\"514f921f-2c5b-43a7-9d96-f1dfcc98ecc1\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-20T00:08:15.511Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"ca2479b6-c0fb-4926-8c05-38814139de99\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-20T00:08:27.957772Z\",\"published_date\":\"2026-02-19T22:08:16.214384Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-19T23:08:15.511Z\",\"status\":\"completed\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"5be70f2a-615a-4137-b3ad-096c66e2ac39\",\"created_at\":\"2026-02-20T00:08:27.957772Z\",\"modified_at\":\"2026-02-20T00:08:27.957772Z\",\"started_at\":\"2026-02-20T00:08:27.957772Z\",\"manual_transition\":false,\"status\":\"completed\",\"description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"ca2479b6-c0fb-4926-8c05-38814139de99\",\"name\":\"Login\",\"status\":\"operational\"}]},{\"id\":\"edfa4c0e-fd91-47a4-8a3c-fe1085f4964f\",\"created_at\":\"2026-02-19T23:08:26.917491Z\",\"modified_at\":\"2026-02-19T23:08:26.917491Z\",\"started_at\":\"2026-02-19T23:08:26.917491Z\",\"manual_transition\":false,\"status\":\"in_progress\",\"description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"components_affected\":[{\"id\":\"ca2479b6-c0fb-4926-8c05-38814139de99\",\"name\":\"Login\",\"status\":\"maintenance\"}]},{\"id\":\"aea79e6d-bfcd-455d-8be5-19513813b166\",\"created_at\":\"2026-02-19T22:08:16.214384Z\",\"modified_at\":\"2026-02-19T22:08:16.214384Z\",\"started_at\":\"2026-02-19T22:08:16.214384Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"ca2479b6-c0fb-4926-8c05-38814139de99\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"b03f7910-c533-4093-b978-e0f6db6a9af4\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"0061b471-af16-4c9c-a704-f5fb53ec871e\",\"type\":\"status_pages\"}}}},{\"id\":\"137fffe3-bfe1-471f-ad23-565105cd30f8\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-24T19:00:58.632Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"89f770b5-8612-41ef-a35d-e325503b4aff\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-24T17:00:59.394878Z\",\"published_date\":\"2026-02-24T17:00:59.394878Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:00:58.632Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"79051405-03b3-4e9e-9e74-56e2d6593a06\",\"created_at\":\"2026-02-24T17:00:59.394878Z\",\"modified_at\":\"2026-02-24T17:00:59.394878Z\",\"started_at\":\"2026-02-24T17:00:59.394878Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"89f770b5-8612-41ef-a35d-e325503b4aff\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"4386413c-88e0-46d1-9492-4907633ed575\",\"type\":\"status_pages\"}}}}],\"meta\":{\"page\":{\"type\":\"offset_limit\",\"offset\":0,\"limit\":50,\"total\":31,\"first_offset\":0,\"prev_offset\":null,\"next_offset\":null,\"last_offset\":0}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "3b80f059-341a-1ed3-5001-787afda11e1f" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/statuspages/4386413c-88e0-46d1-9492-4907633ed575", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "headers": {}, + "statusCode": 204, + "reasonPhrase": "No Content" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "e29adc8a-acb9-2626-aaec-518a427e0836" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/List_namespaces_returns_AWS_Namespaces_List_object_response.json index b4ab43f6993..f0011c849a4 100644 --- a/src/test/resources/cassettes/features/v2/List_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/List_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-4a5c3a301d0f" } ] \ No newline at end of file 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 e0386327470..a48da463a36 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-d650bb89216f" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216e" }, { "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 8b5185d00c4..72d39aac15b 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-d650bb89216d" + "id": "ab2c08c1-60c7-9278-3246-d650bb892170" } ] \ 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 7f8215348d1..be0c8e1fc69 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-046e57b87c80" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7d" }, { "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 76dcecf2554..cd78d0c8aac 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-dd7718f5185e" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51861" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.freeze index 95c95875d8d..f728bf36b2d 100644 --- a/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:49.653Z \ No newline at end of file +2026-02-24T17:01:00.437Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.json index d9b8f7537d4..53f8d52e91b 100644 --- a/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_status_pages_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"a292a726f79d8dd3\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"7e8c7b13fd8893b0\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"2fb5cefa-a43b-4974-b439-96cef54df054\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"82aa9ec5-5394-4138-8d6c-475ed209b03d\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"5e7fc960-39ed-4522-aa38-187f41ace1fd\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"eda28835-e8a6-44a1-87f7-8da14819152b\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:49.763982Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"a292a726f79d8dd3\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:49.763982Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/2fb5cefa-a43b-4974-b439-96cef54df054/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"06fa86aa-c512-4c00-95ee-b1cb5b2cccf1\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"11970522-93b3-4e4a-834b-d0ba5ea329d0\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"d8053632-57ba-4262-92c0-76a96458c126\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"e0f79c01-0aba-4728-8b72-2923a153d955\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:01:00.593918Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"7e8c7b13fd8893b0\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:01:00.593918Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/06fa86aa-c512-4c00-95ee-b1cb5b2cccf1/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "63d67ac0-a4fe-0d95-36a3-73008bd74bc0" + "id": "589bc65c-89fe-b560-923e-e8e52d5ab7f1" }, { "httpRequest": { @@ -38,7 +38,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"2fb5cefa-a43b-4974-b439-96cef54df054\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"82aa9ec5-5394-4138-8d6c-475ed209b03d\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"5e7fc960-39ed-4522-aa38-187f41ace1fd\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"eda28835-e8a6-44a1-87f7-8da14819152b\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:49.763982Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"a292a726f79d8dd3\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:49.763982Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/2fb5cefa-a43b-4974-b439-96cef54df054/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}],\"meta\":{\"page\":{\"type\":\"offset_limit\",\"offset\":0,\"limit\":50,\"total\":null,\"first_offset\":0,\"prev_offset\":null,\"next_offset\":50,\"last_offset\":null}}}", + "body": "{\"data\":[{\"id\":\"06fa86aa-c512-4c00-95ee-b1cb5b2cccf1\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"11970522-93b3-4e4a-834b-d0ba5ea329d0\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"d8053632-57ba-4262-92c0-76a96458c126\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"e0f79c01-0aba-4728-8b72-2923a153d955\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:01:00.593918Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"7e8c7b13fd8893b0\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:01:00.593918Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/06fa86aa-c512-4c00-95ee-b1cb5b2cccf1/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"bdf170e4-6689-4c54-96b7-84edac7d652d\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"ef2b536d-55b0-4200-b8aa-94cce005c5e7\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"dcee6190-c6fc-49a6-af7e-dd3dc1114ad3\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"61b95f10-b197-433a-baed-4513213f8480\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-23T20:35:59.798046Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"7abf9bc13fcb676d-1771878959\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-23T20:35:59.798046Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/bdf170e4-6689-4c54-96b7-84edac7d652d/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"bc07b5b2-3f21-4568-99f3-2d9da89ec99c\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"6a55888b-9bc7-483f-892e-ec0e3e216555\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"23d8b2d5-e453-4db2-98ea-1891af5e1237\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"02cbda4f-ed23-4fd8-a288-aef9cb4c077c\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-21T00:35:59.809271Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"7abf9bc13fcb676d-1771634159\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-21T00:35:59.809271Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/bc07b5b2-3f21-4568-99f3-2d9da89ec99c/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"0061b471-af16-4c9c-a704-f5fb53ec871e\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"7530e1c7-fde9-44d5-a685-5f621438ff7b\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"ca2479b6-c0fb-4926-8c05-38814139de99\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"0f892ec8-4733-4b36-9b73-a8828d7aec77\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T22:08:15.622258Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"268772cff8564d83\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T22:08:15.622258Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/0061b471-af16-4c9c-a704-f5fb53ec871e/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"c4269d26-2a7a-48d8-b35c-0d065f5bdbdb\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"b20c2ef6-3416-4bbb-ac51-bc2a20b2dd29\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"37805b01-c997-40cb-8680-5322c12049de\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"025c4d32-9492-4d85-8b58-3452ff410fbe\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T22:08:14.142145Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"793dc6f684cf74f5\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T22:08:14.142145Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/c4269d26-2a7a-48d8-b35c-0d065f5bdbdb/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"1d52408e-1180-4704-be65-ca3dc0e17dbc\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"3a5648c4-3202-4b36-a0cc-398ab19858c9\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"4239bd23-e472-4a5e-b489-40bda1fe99e6\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"0856eefb-e0f5-4934-b7bd-b5d75c6a1ab6\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T22:08:13.176344Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"52b8237a5bee3a96\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T22:08:13.176344Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/1d52408e-1180-4704-be65-ca3dc0e17dbc/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"9d623a97-ec26-4e2b-a156-64169eff130e\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"83fce248-29e4-47f5-b6e6-fdf8f606cb51\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"a56c992a-ea84-4df0-86da-65a9ebe3b1c3\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"c2d71bc7-e697-4df8-ac51-91e21d5403bb\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T22:08:12.422374Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"b7d4c42f606a87ae\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T22:08:12.422374Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/9d623a97-ec26-4e2b-a156-64169eff130e/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"4fd54afd-fa2c-427d-8b40-897968e2dc3d\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"ec160342-9615-4795-bf4f-7109aa48e099\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"6005b8d9-223c-49bb-b179-57c183557b28\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"f0f88729-a143-4cc1-a559-d87f451ba0f6\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T21:52:11.817273Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"12c095514cea2548\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T21:52:11.817273Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/4fd54afd-fa2c-427d-8b40-897968e2dc3d/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"e9af0690-5634-4b5a-9a39-0024f5a94c5a\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"2c82ff96-7079-49cb-b71a-ab85b99d4a96\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"12171b79-aaa4-4508-b3c5-e58d0315735d\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"0b34993c-1b31-4a25-8419-8ac74553ad62\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T21:52:10.301908Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"39f8e4cbb8a429ce\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T21:52:10.301908Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/e9af0690-5634-4b5a-9a39-0024f5a94c5a/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"5d9fb154-2016-4209-a1aa-ffbb26b834cd\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"6dca35af-75ee-4111-b5d1-9c1b301f6ca0\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"deb7b997-4f57-48b3-9dbf-4eaee77a8418\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"80159e04-ce47-4f14-9063-7fef16753977\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T21:52:09.320462Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"ef5eb16440f3186e\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T21:52:09.320462Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/5d9fb154-2016-4209-a1aa-ffbb26b834cd/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"8d197716-0610-42ec-8bdf-8b571a68bfbe\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"39ad92d7-1344-4e75-a62a-7439b362187b\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"ff177f6a-17ed-4f5a-85c3-04b43621b282\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"729370f8-4ebd-4577-a2c5-aec917534ed4\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T21:52:08.550943Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"640a4ff7098142e4\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T21:52:08.550943Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/8d197716-0610-42ec-8bdf-8b571a68bfbe/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"4d753d2f-1348-486d-afc7-22f3e1759af3\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"67998dd2-0edc-4146-855a-a147f4af1a4d\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"de9b6f98-2556-44c9-bb88-9d839e1fda62\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"11d95bc8-59eb-451c-ac3c-6b2458c0493a\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T21:06:33.207555Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"cc4b27d85d273270\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T21:06:33.207555Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/4d753d2f-1348-486d-afc7-22f3e1759af3/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"6cb07301-fa51-4113-babd-229a0e86942e\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"4e2b2bbc-cc10-46b7-b323-51d5f1f923d3\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"9fabc1b3-bfc4-45f5-8fe7-6b284be04d28\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"3a30321a-9a60-4400-82a0-916dba33ba4d\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T21:06:26.507436Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"cd113ddaafbe79f2\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T21:06:26.507436Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/6cb07301-fa51-4113-babd-229a0e86942e/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"0751ca80-99db-4247-ae44-655162fa07a9\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"9d366ce5-00ed-4fc6-8348-44b125a6a65f\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"63331812-b5a5-422a-889a-f7ca633b2d80\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"8782c501-1741-4bb1-b633-fa09283c5728\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T21:06:20.663002Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"bf3be33fe8d7b262\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T21:06:20.663002Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/0751ca80-99db-4247-ae44-655162fa07a9/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"33c6f810-15d8-4ce2-835b-1ac3a6ca1dbc\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"aef28e84-a82c-4c93-b436-4ba42dbdd4b6\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"44da03e1-1b23-4100-b26f-68ab4f8ca457\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"e5753320-4de3-44d1-85b6-4775ce235f17\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:44:16.851238Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"af56efb2f5bba226\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:44:16.851238Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/33c6f810-15d8-4ce2-835b-1ac3a6ca1dbc/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"bd3f1d69-4ee1-428d-8ac8-f03f387a7677\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"090535e1-afea-43de-9762-816f7a965a16\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"d1d9b93d-301d-4dad-8f3b-4475a3fad1b1\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"30dc5823-df1a-43d6-b575-d4a8804ad745\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:44:11.295897Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"1be8518d13b9dd02\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:44:11.295897Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/bd3f1d69-4ee1-428d-8ac8-f03f387a7677/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"016f2768-6987-4a8f-898b-ab94e17b3dd3\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"427a7b30-e308-44a7-9871-a030396ac962\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"579f0d5c-cce7-4666-98f3-40a696be8cc7\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"77dd3fb9-529a-4900-a5eb-6e0a748cf468\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:44:06.349736Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"a058117186c84e4f\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:44:06.349736Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/016f2768-6987-4a8f-898b-ab94e17b3dd3/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"0e37a7c0-9b0c-4c4e-b315-6b5e145390af\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"73147bd8-26f7-4c57-8557-7fba52d561a4\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"c4d3a1be-8d3d-4b09-9521-b03d5c1e6fdd\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"15802004-c6e9-4186-ba5c-eb01169569de\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:43:57.756135Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"7e7c00468d1b799b\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:43:57.756135Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/0e37a7c0-9b0c-4c4e-b315-6b5e145390af/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"3c7ddb58-a07b-4db7-ade0-31ac925b6597\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"23ec6518-ab99-4382-8d4b-94eef8c84845\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"cfae542d-147e-4a5f-bd85-b7ad75b9eb88\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"d6d65fe1-f349-43a2-ad39-da38097a1311\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:43:13.751657Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"ec88a3070e186fd2\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:43:13.751657Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/3c7ddb58-a07b-4db7-ade0-31ac925b6597/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"4561e0f5-5a64-4bc9-b16c-654d3d81325a\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"4903f8ce-5d7c-44fe-a9cf-936699d9c67e\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"03b85dec-3f1c-4bc1-b6a6-c3070e94aaa7\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"e64fdd83-8dc5-4f6e-b527-4c623e6998a6\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:41:17.209814Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"c9a065bd3dc330d7\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:41:17.209814Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/4561e0f5-5a64-4bc9-b16c-654d3d81325a/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"7c3eff68-42fb-4ddb-8761-3e7695d79570\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"603670a3-1893-49a3-93e1-e655c79509d6\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"862e2d94-1286-423c-86ec-541f5f5aa5e6\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"5fb0fa8a-a9fd-41bd-901c-2577bf1799f4\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:41:11.55184Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"139604cb3deb8bfa\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:41:11.55184Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/7c3eff68-42fb-4ddb-8761-3e7695d79570/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"a8e3fb88-56ee-4f01-8909-734f9a066177\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"ed519647-6f30-42fa-8342-032faa934a68\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"e19596ba-245c-49dc-9274-5aa1b7e865f5\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"bed4d438-d938-44b4-b3f7-e42f94560d9c\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:41:06.354933Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"c9da05969f090bf2\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:41:06.354933Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/a8e3fb88-56ee-4f01-8909-734f9a066177/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"93fc2aa2-cb3e-4ef9-bc09-4ac0dfba45c4\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"34b8d16f-f477-499d-b099-79b45a32b4f1\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"e5c3b642-9d15-44ac-9766-a108cf3908d9\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"490c2714-a0ce-4962-b169-c327b1160a10\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:40:54.111832Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"a1c16169acd25c7f\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:40:54.111832Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/93fc2aa2-cb3e-4ef9-bc09-4ac0dfba45c4/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"7e1c914a-7b5d-4928-9603-2c231f4e27b5\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"7a833ed9-561d-472b-a821-c1272f1ace34\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"222ce53c-1646-45bc-a5d4-27e0a4eb0313\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"44672e6c-dd99-4ed1-8ecc-7715e0625a01\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:26:47.706539Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"ccf251964a09e006\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:26:47.706539Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/7e1c914a-7b5d-4928-9603-2c231f4e27b5/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"d3167fc5-957d-4ec6-a55d-d75a5eb1926a\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"a0e49fa5-3555-4202-8cee-e6c3be83a6f0\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"eb5ff7d4-3faa-4216-9141-b616ecfa29a7\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"a7b1111a-43d9-4d27-827a-d5f9ec23e1d3\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:26:42.040089Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"48333a37cbd28f23\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:26:42.040089Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/d3167fc5-957d-4ec6-a55d-d75a5eb1926a/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"ef7f6596-79dd-4f10-9e02-96047289e678\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"70276684-f206-4d50-b890-1c20a5303ee4\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"2a064c38-b34c-4afd-8958-567b4fb94891\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"30f6916a-e722-4b19-b1b8-0485e0afd9c6\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:26:36.880519Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"df7a8d1c89704ae5\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:26:36.880519Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/ef7f6596-79dd-4f10-9e02-96047289e678/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}},{\"id\":\"9554c1f6-837d-4ce9-8682-90cc44689d6e\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"c0bb1772-afd4-4eed-bab5-c33a5451b899\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"c354419b-c97e-49c6-b556-a2bd73c2945b\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"f14a431d-6a9a-4395-bb71-6b1d5af83fbb\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:05:04.858919Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"059503e3ac91b0da\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:05:04.858919Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/9554c1f6-837d-4ce9-8682-90cc44689d6e/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"e4a07280-5e60-41e8-8868-d6b391ac9ba4\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"83b8a78b-684b-402b-a8a6-f0df36c4eb09\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"2ec5ce94-7c6b-4883-b963-774cde63af0e\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"9b1911f3-49ba-4d06-971d-b0600d51820f\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:05:03.384639Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"196a899e9a39079a\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:05:03.384639Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/e4a07280-5e60-41e8-8868-d6b391ac9ba4/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"c3af2a4f-dd6e-4777-8899-7be70c0e629c\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"48138666-3c22-45b7-8ed3-bc27533e4d40\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"0da9e91e-519e-4d1b-a530-95dbf9b1d6a3\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"cd8829c5-75ca-40a1-9204-24cc97525713\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T16:05:02.028841Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"75fd3e1165e41d93\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T16:05:02.028841Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/c3af2a4f-dd6e-4777-8899-7be70c0e629c/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"cfbf3ff5-f7e6-4d6c-8175-cbff110ebfc9\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"09a8484c-be64-4295-a6b8-acf87f9245ab\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"5cc44628-14ac-4563-a052-5b1f9a3fa3e4\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"c2f9b131-672d-4ee8-a50c-5c3874f302e8\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:48:47.984615Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f574ab46462ee007\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:48:47.984615Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/cfbf3ff5-f7e6-4d6c-8175-cbff110ebfc9/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"a8e6fdb1-05c8-416c-a150-9af49c513206\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"22432bc8-d59a-4d2a-b4c5-459199b433be\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"6407bf01-0c11-4509-8ae6-24c77cf205da\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"424ec72d-f12c-4718-8c5b-52a2a1c25cd5\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:48:46.468711Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"fd37efd95db6e0b5\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:48:46.468711Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/a8e6fdb1-05c8-416c-a150-9af49c513206/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"b57576ee-457d-43da-9b17-f7e9087ab4a4\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"27a0738a-f38d-404d-999a-370cff2c4f10\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"2bf35e8e-28c9-49c3-948a-854097030f2c\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"d8522dbf-1638-47fb-ba5a-95af1fcd700d\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:48:44.989419Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"2e43867bfa448a5d\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:48:44.989419Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/b57576ee-457d-43da-9b17-f7e9087ab4a4/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"e2a7988d-e454-480d-9bff-dcfc5058ffd6\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"700c4456-e8c7-4890-b2c5-30c3fe0ed823\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"13a1264c-4541-4bb6-9c92-e626930ece49\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"8de3f71a-efdd-4524-94a6-eb088abcbfbc\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:46:01.826656Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"0b5855db08df37da\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:46:01.826656Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/e2a7988d-e454-480d-9bff-dcfc5058ffd6/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"18505e11-3832-4194-ac65-b47359669e61\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"289b7ce0-840b-4cea-af5d-b6aaaa4cbc5e\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"c6b42e04-bd00-4ee5-b946-a773a7df9334\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"020a490f-d227-430c-83c8-5ad7b5231ba8\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:46:00.299228Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"be2cd8834307e7f7\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:46:00.299228Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/18505e11-3832-4194-ac65-b47359669e61/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"58b6cfe4-d036-408e-a2c8-39c2aa18b5a5\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"83e2336e-8008-4e27-80d0-5a132221ac43\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"b372da78-86e5-4d41-bedd-43f7134c6acc\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"aced314d-a1ba-402f-8721-50b7dd45f59a\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:45:58.944334Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"d7e60b47af4c64a3\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:45:58.944334Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/58b6cfe4-d036-408e-a2c8-39c2aa18b5a5/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"bbe07a71-94b7-4012-9f69-032ff09e567e\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"727a527d-16ab-4744-9cbd-6955bf21e647\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"e33fa227-f111-40ea-8350-70e54e03af66\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"efce96c6-1bd4-466f-938f-5458ea6b390b\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:16:02.886765Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"3f122df453622870\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:16:02.886765Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/bbe07a71-94b7-4012-9f69-032ff09e567e/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"233d02e7-9989-454d-be5d-295f3f04ff5f\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"59cbcb7d-7d1a-4ee3-8a22-5ef655f5445a\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"db2157c8-f88c-4076-8cdc-6c9ee7e883c8\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"30dc0ca4-b005-4745-9edf-196e87969a34\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:16:01.952726Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"a321ba5a9d4e1bc2\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:16:01.952726Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/233d02e7-9989-454d-be5d-295f3f04ff5f/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"141fb4dd-5560-42a7-9145-78da6d717d9b\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"4434910b-ff89-40d5-b665-0ce24275363f\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"0612918d-6554-415c-9988-73464da30450\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"cfeb9664-4276-4995-ad8e-367cb896234b\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:16:01.193556Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"dc887211d7151600\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:16:01.193556Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/141fb4dd-5560-42a7-9145-78da6d717d9b/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"fbcbdef4-4e3a-436a-bb0a-be8205a98b36\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"69631aec-9684-4341-8567-15fc5023011d\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"7d4bd295-b987-49b0-8086-9dddbcfade33\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"f5f7553c-c304-4946-bd58-2a58a83ab7cb\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:13:24.950199Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"d2cc282985fb6853\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:13:24.950199Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/fbcbdef4-4e3a-436a-bb0a-be8205a98b36/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"6f3e2bef-846a-4c05-9d6d-35d9d136c31a\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"06c940fa-78c0-434b-8c65-4edc35fb3bf8\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"8e3cd5cc-1ce3-435c-863d-2f139a10fd18\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"4a56abde-dc39-4dd6-b1f4-7c5d2fde704b\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:13:23.837825Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f3aeb4c1b8c5449d\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:13:23.837825Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/6f3e2bef-846a-4c05-9d6d-35d9d136c31a/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"6054e25a-60fa-4c88-a02a-760bae1a7917\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"0609ab97-970b-4312-8209-2fedf5ca4bab\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"77170b9e-5e63-4ddb-9a0b-93e271e530ba\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"f720e3c0-12cf-409a-97a3-3269b2f0e8f3\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T15:13:22.190248Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"367d9e866a66ad8c\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T15:13:22.190248Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/6054e25a-60fa-4c88-a02a-760bae1a7917/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"a7f27d28-ea42-4c5a-acfe-800e036b4d83\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"381eaab2-004f-4716-a76f-d264ab591163\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"9a0e536b-d716-49db-88b4-639f6de9ea23\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"955cc731-9ae5-4271-8351-b2ed3268f174\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T14:28:40.849754Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"1504c4154f91a37d\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T14:28:40.849754Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/a7f27d28-ea42-4c5a-acfe-800e036b4d83/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"e9e86584-1f9a-45b8-ace4-cb9ac49c8c35\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"6f670044-3c47-480d-8f1b-15226dc96500\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"8ae3244d-3172-4414-b826-4f3b74923b01\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"ce4b8354-a34c-481d-84d8-150b177a2989\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T14:28:40.03449Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"170bc85c2835a80b\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T14:28:40.03449Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/e9e86584-1f9a-45b8-ace4-cb9ac49c8c35/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"14cc6952-f835-419b-9c36-b73c6c1f5d3f\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"3cc01b47-837e-4d4f-bf94-bec3d1c3b576\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"6be3f4e9-2523-4e1f-9a34-23c0cf593f96\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"b09b3432-c866-4572-b1c8-dcefd6f4538d\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-19T14:28:39.323329Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"3509967b198e91ed\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-19T14:28:39.323329Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/14cc6952-f835-419b-9c36-b73c6c1f5d3f/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"b33cb3e9-d065-4ff3-960c-d8e0afb99f37\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"077bb7e5-9846-4dd9-a737-af0139dee854\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"1abb15cc-21e4-4119-926d-ceea2965ef52\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"400f843b-a5b6-4520-be39-f85c1ccb253b\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-18T22:43:50.391028Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"57998a2699532e89\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-18T22:43:50.391028Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/b33cb3e9-d065-4ff3-960c-d8e0afb99f37/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"8c769ee5-a018-4f94-bee4-3e0330e38b95\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"fed9318c-8fe4-4fd7-9e96-a3fca3e4dd38\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"a5d068d8-9903-468e-8947-e5b177f11877\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"56dafdff-3539-40ab-862a-e06d86ad95e4\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-18T22:43:49.009383Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"8ee03b33252cf8e7\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-18T22:43:49.009383Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/8c769ee5-a018-4f94-bee4-3e0330e38b95/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"49ee3d48-7e5c-4a7a-b268-97fb6d0ea3d2\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"94d13995-c630-4e33-bfed-a0cb020fc3b6\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"96f86213-fd43-41b2-98b9-a47413dc5376\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"80e83792-71df-4d95-8a33-74a68cd594d2\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-18T22:43:47.881786Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f89ce4f178b4d51e\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-18T22:43:47.881786Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/49ee3d48-7e5c-4a7a-b268-97fb6d0ea3d2/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"3dd25c2b-a623-4e90-8e8a-ca1474d25623\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"2152d80d-2844-440f-a6bd-d337daf0e517\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"545a3c7e-befe-4ce4-8822-450ef2739026\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"eaca5ee7-e3cf-473c-a952-911d7392c94c\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-18T22:11:43.515284Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f2dfecd8453872bb\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-18T22:11:43.515284Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/3dd25c2b-a623-4e90-8e8a-ca1474d25623/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"5bdbe523-c175-4eaf-a093-6ee0fb5b5a10\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"3ef2a099-e89f-43e0-942d-2402fd190987\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"66fe5ac6-1f11-43ab-8727-6ef1b96ddc7d\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"16ea75b5-79b6-4bc0-81e3-e93c7faddf72\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-18T22:11:42.828961Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"1d6844e41643f4b1\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-18T22:11:42.828961Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/5bdbe523-c175-4eaf-a093-6ee0fb5b5a10/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}},{\"id\":\"7658f2c2-01d8-4fb8-af5f-354a49aa4057\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"2e179c9e-4f24-4e95-b7ee-e84a2168c71e\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"2ff41cbd-f935-4efa-9145-d8ca2e55fde1\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"cc3fedf9-5331-49d7-894a-83501f9bcfbd\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-18T22:11:42.271637Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"6f9e2fa0ce5ee595\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-18T22:11:42.271637Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/7658f2c2-01d8-4fb8-af5f-354a49aa4057/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"users\"}}}}],\"meta\":{\"page\":{\"type\":\"offset_limit\",\"offset\":0,\"limit\":50,\"total\":null,\"first_offset\":0,\"prev_offset\":null,\"next_offset\":50,\"last_offset\":null}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -59,7 +59,7 @@ "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/2fb5cefa-a43b-4974-b439-96cef54df054", + "path": "/api/v2/statuspages/06fa86aa-c512-4c00-95ee-b1cb5b2cccf1", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "aad41943-f0e1-02da-84fd-a23ddb689ad2" + "id": "5654a898-d0c2-94e0-d713-aa1ff7a9ddd7" } ] \ 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 0a176ee003e..1b2ef6880a2 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-545f90bc9457" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9458" } ] \ 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 974c53ce63d..0a176ee003e 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-545f90bc9456" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9457" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json index 848565e096f..25b85370788 100644 --- a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json +++ b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "95d55fc8-65c9-599d-fc62-5922c3357590" + "id": "95d55fc8-65c9-599d-fc62-5922c335758f" }, { "httpRequest": { @@ -48,6 +48,6 @@ "timeToLive": { "unlimited": true }, - "id": "7e1fd6df-f1a0-70b4-90c2-13c11f689f83" + "id": "7e1fd6df-f1a0-70b4-90c2-13c11f689f82" } ] \ 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 435d359240b..2a83223836d 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-12e51226c50d" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50f" }, { "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 2925d76e394..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-f707c3b51e80" + "id": "01611a93-5e74-0630-3c51-f707c3b51e84" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" + "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 391ac6f5a82..30c90f2c7a1 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-f707c3b51e82" + "id": "01611a93-5e74-0630-3c51-f707c3b51e81" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e83" + "id": "01611a93-5e74-0630-3c51-f707c3b51e82" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json index 7ddd5351e8b..965c63575d1 100644 --- a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json +++ b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892171" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" }, { "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 c412cfe00ae..988f4ea02fd 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-d650bb892173" + "id": "ab2c08c1-60c7-9278-3246-d650bb892175" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json b/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json index de52f958b01..b0ab0c61ed8 100644 --- a/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json +++ b/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "4c138fa0-d834-5972-8bd7-894a659525ae" + "id": "4c138fa0-d834-5972-8bd7-894a659525ac" } ] \ 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 5e1eff89d33..1f92d5f8ee0 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-73b0e70145fb" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json index 60a873eea23..c5a5a493747 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145e9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fe" }, { "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 30ea1068d6c..75b686bdbbe 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-73b0e70145fe" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" }, { "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 49fb8cc064c..00e0a12ca8e 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-73b0e70145ec" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ee" }, { "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 102c77a74fe..f9c3486386c 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-12e51226c50f" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50c" }, { "httpRequest": { 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 1b2ef6880a2..974c53ce63d 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-545f90bc9458" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9456" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json index 691c38c81f5..3ad98fd9666 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c511" }, { "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 1d4cdc5d72d..385920ba074 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-12e51226c512" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" }, { "httpRequest": { 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 f6a98d32dfc..970a0b596df 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-bd11c0a4ae49" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" }, { "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 b372a39399d..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-bd11c0a4ae44" + "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 4f2914f13a5..085c2a10ee9 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-bd11c0a4ae48" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae43" }, { "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 949fd15a46e..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-f707c3b51e78" + "id": "01611a93-5e74-0630-3c51-f707c3b51e85" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9d" + "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 62066321bb4..8c7573a6b24 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-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": { 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 2a7586fcda9..18d3e95b847 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-f707c3b51e84" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa6" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9e" }, { "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 c7a6553a4f2..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-e2e0e5bf9442" + "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_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_Bad_Request_response.json index f24b50ca13f..402e0d483a0 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9441" + "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9442" }, { "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 6b10b1f99cb..3f634cdfdc4 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_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..3d963f1eb76 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-1be9e301b3ea" }, { "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 7507a4ec463..3f6cb5725eb 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-046e57b87c7e" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c80" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json index 5486c5522b1..7ee7239080c 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7c" + "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 e8a192ca3ed..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-03a7fdff0699" + "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 19bafda234f..a69a6922bcb 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-03a7fdff0697" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" }, { "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..8ec3516aa37 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-03a7fdff0699" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json index 889d546c6ee..4e5ca79a29d 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698" }, { "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 19d4cf1a034..4dbd4d81382 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-03a7fdff069c" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069a" }, { "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..2733aa2afce 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-d650bb89216f" }, { "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..cd124c0cca2 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-d650bb892173" }, { "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 3e8008f2657..a6258c72557 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-d650bb89216c" + "id": "ab2c08c1-60c7-9278-3246-d650bb892171" }, { "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 e25ebe1df98..6f8a3b3ff88 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-4a71849b3ce2" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce1" }, { "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 5e43645a6a4..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-4a71849b3ce1" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json index 3fff6d70d3c..59be0a3c587 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21e" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json index ab514e51ba2..be6cf1cbadf 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21d" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21e" }, { "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 d8cb401f985..7bd770826d4 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-e4d7e0833bd8" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_Bad_Request_response.json index c403571c4ea..743bfbc7078 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8d" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json index d2688342500..07e56a25e8a 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fd" }, { "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 0fb05ef1dd5..0587c45a38b 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-eaf799af6465" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" }, { "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 87c697b97a9..8630f955ca7 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-73b0e70145f8" + "id": "79babc38-7a70-5347-c8a6-73b0e70145eb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json index ee590d62b00..c2b2cab762b 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6469" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_description_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_description_returns_Bad_Request_response.json index 431f560d206..d1c977728b3 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_description_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_description_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8e" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json index 0facddc7bca..61fbae645d9 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e7014600" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" }, { "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 f17e853b338..dcfef467346 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-73b0e70145f7" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fa" }, { "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 f58f1fcd76c..5ccc5cd5b49 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-73b0e70145ee" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ff" }, { "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 9843435430c..6be14122c9a 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-73b0e70145f4" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fb" }, { "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 eb21dfe7899..7bcb7dbadb9 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-73b0e70145fa" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f0" }, { "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 b0f714f21ea..1403550dfe7 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-73b0e70145f1" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ef" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.freeze index 7b2cd91b767..65cd576dde4 100644 --- a/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:50.959Z \ No newline at end of file +2026-02-24T17:01:02.180Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.json index f7b96c09716..4b3a3d5f0f3 100644 --- a/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_component_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"18ce7dca5f31f286\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"bca9d790b9b0f94d\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"2f95d75e-d08f-4c37-8808-2b0246f86e16\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"7a828867-d56d-41a9-bc35-9eec112fd334\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"424cedb4-c0c1-4726-871a-5927588ca835\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"1cdf79d4-4c20-4388-ab76-c24f6c140bcb\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:51.072685Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"18ce7dca5f31f286\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:51.072685Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/2f95d75e-d08f-4c37-8808-2b0246f86e16/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"e0e309f4-9049-49d2-b6af-80874c5a4b84\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"d0c9d99e-e697-431b-93b0-400d2873ec18\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"f4aafe97-fdce-43f0-8872-0cb5ce9e7347\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"b74e7cb4-04b6-4086-9f01-aff7e23bfc09\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:01:02.494038Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"bca9d790b9b0f94d\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:01:02.494038Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/e0e309f4-9049-49d2-b6af-80874c5a4b84/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "1077f135-5bba-c22c-8d79-df2f9aba7f47" + "id": "cb02a7d1-50cd-0b31-c900-1f2fc901e887" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"name\":\"Logs Indexing\"},\"id\":\"7a828867-d56d-41a9-bc35-9eec112fd334\",\"type\":\"components\"}}" + "json": "{\"data\":{\"attributes\":{\"name\":\"Logs Indexing\"},\"id\":\"d0c9d99e-e697-431b-93b0-400d2873ec18\",\"type\":\"components\"}}" }, "headers": {}, "method": "PATCH", - "path": "/api/v2/statuspages/2f95d75e-d08f-4c37-8808-2b0246f86e16/components/7a828867-d56d-41a9-bc35-9eec112fd334", + "path": "/api/v2/statuspages/e0e309f4-9049-49d2-b6af-80874c5a4b84/components/d0c9d99e-e697-431b-93b0-400d2873ec18", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"7a828867-d56d-41a9-bc35-9eec112fd334\",\"type\":\"components\",\"attributes\":{\"components\":[{\"id\":\"424cedb4-c0c1-4726-871a-5927588ca835\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"1cdf79d4-4c20-4388-ab76-c24f6c140bcb\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-01-21T21:23:51.072685Z\",\"modified_at\":\"2026-01-21T21:23:51.606861Z\",\"name\":\"Logs Indexing\",\"position\":0,\"type\":\"group\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"2f95d75e-d08f-4c37-8808-2b0246f86e16\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"d0c9d99e-e697-431b-93b0-400d2873ec18\",\"type\":\"components\",\"attributes\":{\"components\":[{\"id\":\"f4aafe97-fdce-43f0-8872-0cb5ce9e7347\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"b74e7cb4-04b6-4086-9f01-aff7e23bfc09\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}],\"created_at\":\"2026-02-24T17:01:02.494038Z\",\"modified_at\":\"2026-02-24T17:01:03.086151Z\",\"name\":\"Logs Indexing\",\"position\":0,\"type\":\"group\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"group\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"e0e309f4-9049-49d2-b6af-80874c5a4b84\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "b53230d2-7ea4-e81c-4b40-63e00841e459" + "id": "95416abc-365b-4469-8723-495ea0165000" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/2f95d75e-d08f-4c37-8808-2b0246f86e16", + "path": "/api/v2/statuspages/e0e309f4-9049-49d2-b6af-80874c5a4b84", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "1b78beba-3d57-8104-54e2-e8f304655697" + "id": "c59933a6-af56-3da2-3012-10536fbd8b00" } ] \ No newline at end of file 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 a293ad3ef40..9f3ed984b69 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-b92f9fa74d2d" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.freeze index 7ba365b7947..17cab2082d7 100644 --- a/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:52.130Z \ No newline at end of file +2026-02-24T17:01:03.744Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.json index 89a0f4c017b..9004597bdba 100644 --- a/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_degradation_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"63b50a302c459f7c\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"7db16496b6c8a7fc\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"5df6e8f7-b903-4ba9-b0c5-d603536e23fa\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"545201a0-a23f-4cbd-ae78-9e392a686b0d\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"681d4866-a4ff-4e4e-b295-6b9586892675\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"e0c7b0ec-2517-43bd-a489-2f2f23eb0bc4\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:52.260223Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"63b50a302c459f7c\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:52.260223Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"31832b1a-f21d-4273-b8c9-e6ab70992c46\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"13c30f15-5b69-427a-bf3f-43e26be5b57b\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"bed6d62b-c62d-413d-ac49-b445debee25c\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"903094d1-f9bc-4e63-beb7-d43f1969e966\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:01:03.924912Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"7db16496b6c8a7fc\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:01:03.924912Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/31832b1a-f21d-4273-b8c9-e6ab70992c46/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "d7cec229-f3e7-058a-121d-0fc62db29580" + "id": "83d48f4f-99be-0b7a-57cc-6183c3947518" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"681d4866-a4ff-4e4e-b295-6b9586892675\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" + "json": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"bed6d62b-c62d-413d-ac49-b445debee25c\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa/degradations", + "path": "/api/v2/statuspages/31832b1a-f21d-4273-b8c9-e6ab70992c46/degradations", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"3e8741c2-3c93-4346-9ddc-67d381baee05\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"681d4866-a4ff-4e4e-b295-6b9586892675\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:52.827013Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:52.827013Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"e97d38d6-936d-4a4c-b07e-fad1379f414f\",\"created_at\":\"2026-01-21T21:23:52.827013Z\",\"modified_at\":\"2026-01-21T21:23:52.827013Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"681d4866-a4ff-4e4e-b295-6b9586892675\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"5df6e8f7-b903-4ba9-b0c5-d603536e23fa\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"ac3fb11e-3702-43bf-a5a2-8103c964acd9\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"bed6d62b-c62d-413d-ac49-b445debee25c\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:01:04.652213Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:01:04.652213Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\",\"updates\":[{\"id\":\"0775f6bd-7bb0-4e36-a055-3601b137a270\",\"created_at\":\"2026-02-24T17:01:04.652213Z\",\"modified_at\":\"2026-02-24T17:01:04.652213Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"bed6d62b-c62d-413d-ac49-b445debee25c\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"31832b1a-f21d-4273-b8c9-e6ab70992c46\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,22 +57,22 @@ "timeToLive": { "unlimited": true }, - "id": "0b5398d0-e5f5-8db9-27b9-106107734db1" + "id": "a935deff-a860-c065-5a69-ec7aa61d0802" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"title\":\"Elevated API Latency in US1\"},\"id\":\"3e8741c2-3c93-4346-9ddc-67d381baee05\",\"type\":\"degradations\"}}" + "json": "{\"data\":{\"attributes\":{\"title\":\"Elevated API Latency in US1\"},\"id\":\"ac3fb11e-3702-43bf-a5a2-8103c964acd9\",\"type\":\"degradations\"}}" }, "headers": {}, "method": "PATCH", - "path": "/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa/degradations/3e8741c2-3c93-4346-9ddc-67d381baee05", + "path": "/api/v2/statuspages/31832b1a-f21d-4273-b8c9-e6ab70992c46/degradations/ac3fb11e-3702-43bf-a5a2-8103c964acd9", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"3e8741c2-3c93-4346-9ddc-67d381baee05\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"681d4866-a4ff-4e4e-b295-6b9586892675\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-01-21T21:23:52.827013Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-01-21T21:23:52.984252Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency in US1\",\"updates\":[{\"id\":\"e97d38d6-936d-4a4c-b07e-fad1379f414f\",\"created_at\":\"2026-01-21T21:23:52.827013Z\",\"modified_at\":\"2026-01-21T21:23:52.827013Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"681d4866-a4ff-4e4e-b295-6b9586892675\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"5df6e8f7-b903-4ba9-b0c5-d603536e23fa\",\"type\":\"status_pages\"}}}}}", + "body": "{\"data\":{\"id\":\"ac3fb11e-3702-43bf-a5a2-8103c964acd9\",\"type\":\"degradations\",\"attributes\":{\"components_affected\":[{\"id\":\"bed6d62b-c62d-413d-ac49-b445debee25c\",\"name\":\"Login\",\"status\":\"major_outage\"}],\"created_at\":\"2026-02-24T17:01:04.652213Z\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"modified_at\":\"2026-02-24T17:01:04.857819Z\",\"status\":\"investigating\",\"title\":\"Elevated API Latency in US1\",\"updates\":[{\"id\":\"0775f6bd-7bb0-4e36-a055-3601b137a270\",\"created_at\":\"2026-02-24T17:01:04.652213Z\",\"modified_at\":\"2026-02-24T17:01:04.652213Z\",\"status\":\"investigating\",\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"components_affected\":[{\"id\":\"bed6d62b-c62d-413d-ac49-b445debee25c\",\"name\":\"Login\",\"status\":\"major_outage\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"31832b1a-f21d-4273-b8c9-e6ab70992c46\",\"type\":\"status_pages\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -87,13 +87,13 @@ "timeToLive": { "unlimited": true }, - "id": "95f228ec-c75a-6794-15d5-75ac9afd5a87" + "id": "e072bc39-e0ee-4730-ee05-c34c4f8d6a25" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa/degradations/3e8741c2-3c93-4346-9ddc-67d381baee05", + "path": "/api/v2/statuspages/31832b1a-f21d-4273-b8c9-e6ab70992c46/degradations/ac3fb11e-3702-43bf-a5a2-8103c964acd9", "keepAlive": false, "secure": true }, @@ -108,13 +108,13 @@ "timeToLive": { "unlimited": true }, - "id": "213a6659-4a83-7894-4698-cb80efe31889" + "id": "7224b75c-fe52-72ab-b2a8-a0a26672c5eb" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa", + "path": "/api/v2/statuspages/31832b1a-f21d-4273-b8c9-e6ab70992c46", "keepAlive": false, "secure": true }, @@ -129,6 +129,6 @@ "timeToLive": { "unlimited": true }, - "id": "97632e19-c46e-fe70-30ee-906a26c051ea" + "id": "3a990890-f255-c51d-b0de-293805aef377" } ] \ No newline at end of file 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 0d7f3383d17..4b4aaa2bc5d 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-e4d7e0833bd3" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_maintenance_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_maintenance_returns_OK_response.freeze new file mode 100644 index 00000000000..6fdcab9b42b --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Update_maintenance_returns_OK_response.freeze @@ -0,0 +1 @@ +2026-02-24T17:01:05.730Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_maintenance_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_maintenance_returns_OK_response.json new file mode 100644 index 00000000000..f34348da226 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Update_maintenance_returns_OK_response.json @@ -0,0 +1,113 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"bd41b0432241277c\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"47eedb78-70c8-4492-94d9-d6072b1b461a\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"14510904-00d4-49a0-b4fb-f352e0bbee44\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"8dbbf907-e6bf-4f52-9087-9faf83662618\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"303d4a51-952f-4e2f-8124-bcac0008f20d\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:01:05.895153Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"bd41b0432241277c\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:01:05.895153Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/47eedb78-70c8-4492-94d9-d6072b1b461a/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "61075c19-b7b0-f0d3-bdb7-9b9387dfff92" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"completed_date\":\"2026-02-24T19:01:05.730Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8dbbf907-e6bf-4f52-9087-9faf83662618\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:01:05.730Z\",\"title\":\"API Maintenance\"},\"type\":\"maintenances\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/statuspages/47eedb78-70c8-4492-94d9-d6072b1b461a/maintenances", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"6e4bdbf5-d781-4db9-80c0-38d6a0b042d5\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-24T19:01:05.73Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8dbbf907-e6bf-4f52-9087-9faf83662618\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance.\",\"modified_at\":\"2026-02-24T17:01:06.54667Z\",\"published_date\":\"2026-02-24T17:01:06.54667Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance.\",\"start_date\":\"2026-02-24T18:01:05.73Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"5757da5d-1852-474f-9321-b80824f1d54c\",\"created_at\":\"2026-02-24T17:01:06.54667Z\",\"modified_at\":\"2026-02-24T17:01:06.54667Z\",\"started_at\":\"2026-02-24T17:01:06.54667Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8dbbf907-e6bf-4f52-9087-9faf83662618\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"47eedb78-70c8-4492-94d9-d6072b1b461a\",\"type\":\"status_pages\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "282c5e5a-0f1c-5288-d5d5-ea1d06766522" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\"},\"id\":\"6e4bdbf5-d781-4db9-80c0-38d6a0b042d5\",\"type\":\"maintenances\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/statuspages/47eedb78-70c8-4492-94d9-d6072b1b461a/maintenances/6e4bdbf5-d781-4db9-80c0-38d6a0b042d5", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"6e4bdbf5-d781-4db9-80c0-38d6a0b042d5\",\"type\":\"maintenances\",\"attributes\":{\"completed_date\":\"2026-02-24T19:01:05.73Z\",\"completed_description\":\"We have completed maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8dbbf907-e6bf-4f52-9087-9faf83662618\",\"name\":\"Login\",\"status\":\"operational\"}],\"in_progress_description\":\"We are currently performing maintenance on the API to improve performance for 40 minutes.\",\"modified_at\":\"2026-02-24T17:01:06.746611Z\",\"published_date\":\"2026-02-24T17:01:06.54667Z\",\"scheduled_description\":\"We will be performing maintenance on the API to improve performance for 40 minutes.\",\"start_date\":\"2026-02-24T18:01:05.73Z\",\"status\":\"scheduled\",\"title\":\"API Maintenance\",\"updates\":[{\"id\":\"5757da5d-1852-474f-9321-b80824f1d54c\",\"created_at\":\"2026-02-24T17:01:06.54667Z\",\"modified_at\":\"2026-02-24T17:01:06.54667Z\",\"started_at\":\"2026-02-24T17:01:06.54667Z\",\"manual_transition\":false,\"status\":\"scheduled\",\"description\":\"We will be performing maintenance on the API to improve performance.\",\"components_affected\":[{\"id\":\"8dbbf907-e6bf-4f52-9087-9faf83662618\",\"name\":\"Login\",\"status\":\"operational\"}]}]},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"status_page\":{\"data\":{\"id\":\"47eedb78-70c8-4492-94d9-d6072b1b461a\",\"type\":\"status_pages\"}}}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "8a908825-2839-0733-1af1-48e13a58f5da" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/statuspages/47eedb78-70c8-4492-94d9-d6072b1b461a", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "headers": {}, + "statusCode": 204, + "reasonPhrase": "No Content" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "b7593177-5484-6589-3bf8-56043b909074" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.freeze index bbf12a2e765..b1f3fb21d4d 100644 --- a/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.freeze @@ -1 +1 @@ -2026-01-21T21:23:53.747Z \ No newline at end of file +2026-02-24T17:01:07.308Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.json index 162a4670fed..8c79493afc1 100644 --- a/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_status_page_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"f7d669fd50a8ce89\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"50e12c2de25a414e\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"197028d4-9c5e-420f-acb1-963ae82ebf22\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"8f68e844-d983-473a-84c7-f5a4544ef430\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"a22c28e9-d717-45b7-bab8-d1cda9349dd4\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"310a77dd-1afd-426d-8e3e-3652da90db23\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:53.873851Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f7d669fd50a8ce89\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:53.873851Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/197028d4-9c5e-420f-acb1-963ae82ebf22/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"34c403c9-30eb-43d7-b50e-615447b8da7b\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"2c0a3417-3e0a-4142-83e1-e59027d0ce67\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"b3d1d966-6c22-42e3-8367-161fc4daf223\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"ccc00996-6f92-4558-80e2-0a890108f04e\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:01:07.464734Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"50e12c2de25a414e\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:01:07.464734Z\",\"name\":\"A Status Page\",\"page_url\":\"https://frog.datadoghq.com/status-pages/34c403c9-30eb-43d7-b50e-615447b8da7b/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "69094a38-d42f-3b4e-7e00-1fda567cbb07" + "id": "d782868c-59b3-704d-32ac-9ca9a0c611a3" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"name\":\"A Status Page in US1\"},\"id\":\"197028d4-9c5e-420f-acb1-963ae82ebf22\",\"type\":\"status_pages\"}}" + "json": "{\"data\":{\"attributes\":{\"name\":\"A Status Page in US1\"},\"id\":\"34c403c9-30eb-43d7-b50e-615447b8da7b\",\"type\":\"status_pages\"}}" }, "headers": {}, "method": "PATCH", - "path": "/api/v2/statuspages/197028d4-9c5e-420f-acb1-963ae82ebf22", + "path": "/api/v2/statuspages/34c403c9-30eb-43d7-b50e-615447b8da7b", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"197028d4-9c5e-420f-acb1-963ae82ebf22\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"8f68e844-d983-473a-84c7-f5a4544ef430\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"a22c28e9-d717-45b7-bab8-d1cda9349dd4\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"310a77dd-1afd-426d-8e3e-3652da90db23\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-01-21T21:23:53.873851Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"f7d669fd50a8ce89\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-01-21T21:23:54.528957Z\",\"name\":\"A Status Page in US1\",\"page_url\":\"https://frog.datadoghq.com/status-pages/197028d4-9c5e-420f-acb1-963ae82ebf22/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", + "body": "{\"data\":{\"id\":\"34c403c9-30eb-43d7-b50e-615447b8da7b\",\"type\":\"status_pages\",\"attributes\":{\"company_logo\":null,\"components\":[{\"id\":\"2c0a3417-3e0a-4142-83e1-e59027d0ce67\",\"name\":\"Application\",\"type\":\"group\",\"position\":0,\"components\":[{\"id\":\"b3d1d966-6c22-42e3-8367-161fc4daf223\",\"name\":\"Login\",\"type\":\"component\",\"status\":\"operational\",\"position\":0},{\"id\":\"ccc00996-6f92-4558-80e2-0a890108f04e\",\"name\":\"Settings\",\"type\":\"component\",\"status\":\"operational\",\"position\":1}]}],\"created_at\":\"2026-02-24T17:01:07.464734Z\",\"custom_domain\":null,\"custom_domain_enabled\":false,\"domain_prefix\":\"50e12c2de25a414e\",\"email_header_image\":null,\"enabled\":true,\"favicon\":null,\"modified_at\":\"2026-02-24T17:01:08.147811Z\",\"name\":\"A Status Page in US1\",\"page_url\":\"https://frog.datadoghq.com/status-pages/34c403c9-30eb-43d7-b50e-615447b8da7b/view\",\"subscriptions_enabled\":false,\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"relationships\":{\"created_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"last_modified_by_user\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "8e23cdf0-a85d-61fe-95dc-005f2aee24c1" + "id": "c45af3c3-0928-f82d-a8ea-ac54fd95a17f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/statuspages/197028d4-9c5e-420f-acb1-963ae82ebf22", + "path": "/api/v2/statuspages/34c403c9-30eb-43d7-b50e-615447b8da7b", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "f987fa96-9230-014a-4ce8-3a28b7202533" + "id": "b2add59e-5328-f200-3a71-0879856659b5" } ] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v2/api/given.json b/src/test/resources/com/datadog/api/client/v2/api/given.json index 1202e4f78a1..76980d4ce3d 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/given.json +++ b/src/test/resources/com/datadog/api/client/v2/api/given.json @@ -1299,6 +1299,22 @@ "tag": "Status Pages", "operationId": "CreateDegradation" }, + { + "parameters": [ + { + "name": "page_id", + "value": "\"{{ status_page.data.id }}\"" + }, + { + "name": "body", + "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"API Maintenance\",\n \"scheduled_description\": \"We will be performing maintenance on the API to improve performance.\",\n \"in_progress_description\": \"We are currently performing maintenance on the API to improve performance.\",\n \"completed_description\": \"We have completed maintenance on the API to improve performance.\",\n \"start_date\": \"{{ timeISO('now + 1h') }}\",\n \"completed_date\": \"{{ timeISO('now + 2h') }}\",\n \"components_affected\": [\n {\n \"id\": \"{{ status_page.data.attributes.components[0].components[0].id }}\",\n \"status\": \"operational\"\n }\n ]\n },\n \"type\": \"maintenances\"\n }\n}" + } + ], + "step": "there is a valid \"maintenance\" in the system", + "key": "maintenance", + "tag": "Status Pages", + "operationId": "CreateMaintenance" + }, { "parameters": [ { diff --git a/src/test/resources/com/datadog/api/client/v2/api/status_pages.feature b/src/test/resources/com/datadog/api/client/v2/api/status_pages.feature index 35d80dd2fed..2df3e612b1f 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/status_pages.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/status_pages.feature @@ -30,6 +30,16 @@ Feature: Status Pages Then the response status is 201 Created And the response "data.attributes.updates" has length 1 + @team:DataDog/incident-app + Scenario: Create maintenance returns "Created" response + Given there is a valid "status_page" in the system + And new "CreateMaintenance" request + And request contains "page_id" parameter from "status_page.data.id" + And body with value {"data": {"attributes": {"title": "API Maintenance", "scheduled_description": "We will be performing maintenance on the API to improve performance.", "in_progress_description": "We are currently performing maintenance on the API to improve performance.", "completed_description": "We have completed maintenance on the API to improve performance.", "start_date": "{{ timeISO('now + 1h') }}", "completed_date": "{{ timeISO('now + 2h') }}", "components_affected": [{"id": "{{ status_page.data.attributes.components[0].components[0].id }}", "status": "operational"}]}, "type": "maintenances"}} + When the request is sent + Then the response status is 201 Created + And the response "data.attributes.updates" has length 1 + @team:DataDog/incident-app Scenario: Create status page returns "Created" response Given new "CreateStatusPage" request @@ -83,6 +93,16 @@ Feature: Status Pages When the request is sent Then the response status is 200 OK + @team:DataDog/incident-app + Scenario: Get maintenance returns "OK" response + Given there is a valid "status_page" in the system + And there is a valid "maintenance" in the system + And new "GetMaintenance" request + And request contains "page_id" parameter from "status_page.data.id" + And request contains "maintenance_id" parameter from "maintenance.data.id" + When the request is sent + Then the response status is 200 OK + @team:DataDog/incident-app Scenario: Get status page returns "OK" response Given new "GetStatusPage" request @@ -107,6 +127,14 @@ Feature: Status Pages When the request is sent Then the response status is 200 OK + @team:DataDog/incident-app + Scenario: List maintenances returns "OK" response + Given there is a valid "status_page" in the system + And there is a valid "maintenance" in the system + And new "ListMaintenances" request + When the request is sent + Then the response status is 200 OK + @team:DataDog/incident-app Scenario: List status pages returns "OK" response Given new "ListStatusPages" request @@ -114,6 +142,14 @@ Feature: Status Pages When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/incident-app + Scenario: Schedule maintenance returns "Created" response + Given new "CreateMaintenance" request + And request contains "page_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"completed_date": "2026-02-18T19:51:13.332360075Z", "completed_description": "We have completed maintenance on the API to improve performance.", "components_affected": [{"id": "1234abcd-12ab-34cd-56ef-123456abcdef", "status": "operational"}], "in_progress_description": "We are currently performing maintenance on the API to improve performance.", "scheduled_description": "We will be performing maintenance on the API to improve performance.", "start_date": "2026-02-18T19:21:13.332360075Z", "title": "API Maintenance"}, "type": "maintenances"}} + When the request is sent + Then the response status is 201 Created + @team:DataDog/incident-app Scenario: Update component returns "OK" response Given new "UpdateComponent" request @@ -137,6 +173,17 @@ Feature: Status Pages Then the response status is 200 OK And the response "data.attributes.title" is equal to "Elevated API Latency in US1" + @team:DataDog/incident-app + Scenario: Update maintenance returns "OK" response + Given there is a valid "status_page" in the system + And there is a valid "maintenance" in the system + And new "UpdateMaintenance" request + And request contains "page_id" parameter from "status_page.data.id" + And request contains "maintenance_id" parameter from "maintenance.data.id" + And body with value {"data": {"attributes": {"scheduled_description": "We will be performing maintenance on the API to improve performance for 40 minutes.", "in_progress_description": "We are currently performing maintenance on the API to improve performance for 40 minutes."}, "id": "{{ maintenance.data.id }}", "type": "maintenances"}} + When the request is sent + Then the response status is 200 OK + @team:DataDog/incident-app Scenario: Update status page returns "OK" response Given new "UpdateStatusPage" request 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 09186eef673..906045ff71c 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 @@ -5388,6 +5388,12 @@ "type": "safe" } }, + "ListMaintenances": { + "tag": "Status Pages", + "undo": { + "type": "safe" + } + }, "DeleteStatusPage": { "tag": "Status Pages", "undo": { @@ -5482,6 +5488,24 @@ "type": "idempotent" } }, + "CreateMaintenance": { + "tag": "Status Pages", + "undo": { + "type": "safe" + } + }, + "GetMaintenance": { + "tag": "Status Pages", + "undo": { + "type": "safe" + } + }, + "UpdateMaintenance": { + "tag": "Status Pages", + "undo": { + "type": "idempotent" + } + }, "GetOnDemandConcurrencyCap": { "tag": "Synthetics", "undo": {