diff --git a/.apigentools-info b/.apigentools-info index a0fddbc2630..211e13fcb88 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.4.1.dev8", - "regenerated": "2021-06-04 09:05:19.498956", - "spec_repo_commit": "b3fffea" + "regenerated": "2021-06-07 08:19:41.644637", + "spec_repo_commit": "9151896" }, "v2": { "apigentools_version": "1.4.1.dev8", - "regenerated": "2021-06-04 09:06:11.110083", - "spec_repo_commit": "b3fffea" + "regenerated": "2021-06-07 08:20:32.192507", + "spec_repo_commit": "9151896" } } } \ No newline at end of file diff --git a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts index 4d0cecc97fd..d3ff677c4f3 100644 --- a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts +++ b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts @@ -20,11 +20,11 @@ export class UsageTopAvgMetricsMetadata { /** * The day value from the user request that contains the returned usage data. (If day was used the request) */ - 'day'?: Object; + 'day'?: Date; /** * The month value from the user request that contains the returned usage data. (If month was used the request) */ - 'month'?: Object; + 'month'?: Date; 'pagination'?: UsageAttributionPagination; static readonly discriminator: string | undefined = undefined; @@ -32,13 +32,13 @@ export class UsageTopAvgMetricsMetadata { static readonly attributeTypeMap: {[key: string]: {baseName: string, type: string, format: string}} = { "day": { "baseName": "day", - "type": "Object", - "format": "" + "type": "Date", + "format": "date-time" }, "month": { "baseName": "month", - "type": "Object", - "format": "" + "type": "Date", + "format": "date-time" }, "pagination": { "baseName": "pagination", @@ -53,9 +53,9 @@ export class UsageTopAvgMetricsMetadata { static deserialize(data: {[key: string]: any}): UsageTopAvgMetricsMetadata { let res = new UsageTopAvgMetricsMetadata(); - res.day = ObjectSerializer.deserialize(data.day, "Object", "") + res.day = ObjectSerializer.deserialize(data.day, "Date", "date-time") - res.month = ObjectSerializer.deserialize(data.month, "Object", "") + res.month = ObjectSerializer.deserialize(data.month, "Date", "date-time") res.pagination = ObjectSerializer.deserialize(data.pagination, "UsageAttributionPagination", "") @@ -71,9 +71,9 @@ export class UsageTopAvgMetricsMetadata { throw new TypeError(`${key} attribute not in schema`); } } - res.day = ObjectSerializer.serialize(data.day, "Object", "") + res.day = ObjectSerializer.serialize(data.day, "Date", "date-time") - res.month = ObjectSerializer.serialize(data.month, "Object", "") + res.month = ObjectSerializer.serialize(data.month, "Date", "date-time") res.pagination = ObjectSerializer.serialize(data.pagination, "UsageAttributionPagination", "")