diff --git a/.apigentools-info b/.apigentools-info index 4e0e5695f39..55313575be5 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-10 14:14:43.894933", - "spec_repo_commit": "19d6892e" + "regenerated": "2023-07-10 14:43:43.540365", + "spec_repo_commit": "96fb94b8" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-10 14:14:43.911312", - "spec_repo_commit": "19d6892e" + "regenerated": "2023-07-10 14:43:43.553752", + "spec_repo_commit": "96fb94b8" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b8d0fce058b..47212da6360 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -3974,7 +3974,13 @@ components: DowntimeResponseAttributes: description: Downtime details. properties: - created_at: + canceled: + description: Time that the downtime was canceled. + example: 2020-01-02T03:04:05.282979+0000 + format: date-time + nullable: true + type: string + created: description: Creation time of the downtime. example: 2020-01-02T03:04:05.282979+0000 format: date-time @@ -3983,7 +3989,7 @@ components: $ref: '#/components/schemas/DowntimeDisplayTimezone' message: $ref: '#/components/schemas/DowntimeMessage' - modified_at: + modified: description: Time that the downtime was last modified. example: 2020-01-02T03:04:05.282979+0000 format: date-time diff --git a/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts b/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts index bb74215d33a..5505df4c430 100644 --- a/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts @@ -15,10 +15,14 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * Downtime details. */ export class DowntimeResponseAttributes { + /** + * Time that the downtime was canceled. + */ + "canceled"?: Date; /** * Creation time of the downtime. */ - "createdAt"?: Date; + "created"?: Date; /** * The timezone in which to display the downtime's start and end times in Datadog applications. This is not used * as an offset for scheduling. @@ -32,7 +36,7 @@ export class DowntimeResponseAttributes { /** * Time that the downtime was last modified. */ - "modifiedAt"?: Date; + "modified"?: Date; /** * Monitor identifier for the downtime. */ @@ -73,8 +77,13 @@ export class DowntimeResponseAttributes { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { - createdAt: { - baseName: "created_at", + canceled: { + baseName: "canceled", + type: "Date", + format: "date-time", + }, + created: { + baseName: "created", type: "Date", format: "date-time", }, @@ -86,8 +95,8 @@ export class DowntimeResponseAttributes { baseName: "message", type: "string", }, - modifiedAt: { - baseName: "modified_at", + modified: { + baseName: "modified", type: "Date", format: "date-time", },