Skip to content

Commit

Permalink
Regenerate client from commit ce9bc6a of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 16, 2022
1 parent 0810377 commit bc381c6
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 101 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-02-15 12:44:11.380005",
"spec_repo_commit": "cdd703e"
"regenerated": "2022-02-16 10:31:27.569385",
"spec_repo_commit": "ce9bc6a"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-02-15 12:44:11.397741",
"spec_repo_commit": "cdd703e"
"regenerated": "2022-02-16 10:31:27.588279",
"spec_repo_commit": "ce9bc6a"
}
}
}
102 changes: 30 additions & 72 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,33 @@ components:
oneOf:
- $ref: '#/components/schemas/User'
type: object
IncidentResponseMeta:
description: The metadata object containing pagination metadata.
properties:
pagination:
$ref: '#/components/schemas/IncidentResponseMetaPagination'
readOnly: true
type: object
IncidentResponseMetaPagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of results.
Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
IncidentResponseRelationships:
description: The incident's relationships from a response.
properties:
Expand Down Expand Up @@ -1855,30 +1882,7 @@ components:
readOnly: true
type: array
meta:
description: The metadata object containing pagination metadata.
properties:
pagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of
results. Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
readOnly: true
type: object
$ref: '#/components/schemas/IncidentResponseMeta'
required:
- data
type: object
Expand Down Expand Up @@ -2036,30 +2040,7 @@ components:
readOnly: true
type: array
meta:
description: The metadata object containing pagination metadata.
properties:
pagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of
results. Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
readOnly: true
type: object
$ref: '#/components/schemas/IncidentResponseMeta'
required:
- data
type: object
Expand Down Expand Up @@ -2305,30 +2286,7 @@ components:
readOnly: true
type: array
meta:
description: The metadata object containing pagination metadata.
properties:
pagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of
results. Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
readOnly: true
type: object
$ref: '#/components/schemas/IncidentResponseMeta'
required:
- data
type: object
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ models/IncidentResponse.ts
models/IncidentResponseAttributes.ts
models/IncidentResponseData.ts
models/IncidentResponseIncludedItem.ts
models/IncidentResponseMeta.ts
models/IncidentResponseMetaPagination.ts
models/IncidentResponseRelationships.ts
models/IncidentServiceCreateAttributes.ts
models/IncidentServiceCreateData.ts
Expand All @@ -143,8 +145,6 @@ models/IncidentServiceUpdateAttributes.ts
models/IncidentServiceUpdateData.ts
models/IncidentServiceUpdateRequest.ts
models/IncidentServicesResponse.ts
models/IncidentServicesResponseMeta.ts
models/IncidentServicesResponseMetaPagination.ts
models/IncidentTeamCreateAttributes.ts
models/IncidentTeamCreateData.ts
models/IncidentTeamCreateRequest.ts
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ export { IncidentResponse } from "./models/IncidentResponse";
export { IncidentResponseAttributes } from "./models/IncidentResponseAttributes";
export { IncidentResponseData } from "./models/IncidentResponseData";
export { IncidentResponseIncludedItem } from "./models/IncidentResponseIncludedItem";
export { IncidentResponseMeta } from "./models/IncidentResponseMeta";
export { IncidentResponseMetaPagination } from "./models/IncidentResponseMetaPagination";
export { IncidentResponseRelationships } from "./models/IncidentResponseRelationships";
export { IncidentServiceCreateAttributes } from "./models/IncidentServiceCreateAttributes";
export { IncidentServiceCreateData } from "./models/IncidentServiceCreateData";
Expand All @@ -281,8 +283,6 @@ export { IncidentServiceUpdateAttributes } from "./models/IncidentServiceUpdateA
export { IncidentServiceUpdateData } from "./models/IncidentServiceUpdateData";
export { IncidentServiceUpdateRequest } from "./models/IncidentServiceUpdateRequest";
export { IncidentServicesResponse } from "./models/IncidentServicesResponse";
export { IncidentServicesResponseMeta } from "./models/IncidentServicesResponseMeta";
export { IncidentServicesResponseMetaPagination } from "./models/IncidentServicesResponseMetaPagination";
export { IncidentTeamCreateAttributes } from "./models/IncidentTeamCreateAttributes";
export { IncidentTeamCreateData } from "./models/IncidentTeamCreateData";
export { IncidentTeamCreateRequest } from "./models/IncidentTeamCreateRequest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Do not edit the class manually.
*/

import { IncidentServicesResponseMetaPagination } from "./IncidentServicesResponseMetaPagination";
import { IncidentResponseMetaPagination } from "./IncidentResponseMetaPagination";
import { AttributeTypeMap } from "./ObjectSerializer";

/**
* The metadata object containing pagination metadata.
*/

export class IncidentServicesResponseMeta {
"pagination"?: IncidentServicesResponseMetaPagination;
export class IncidentResponseMeta {
"pagination"?: IncidentResponseMetaPagination;

/**
* @ignore
Expand All @@ -29,15 +29,15 @@ export class IncidentServicesResponseMeta {
static readonly attributeTypeMap: AttributeTypeMap = {
pagination: {
baseName: "pagination",
type: "IncidentServicesResponseMetaPagination",
type: "IncidentResponseMetaPagination",
},
};

/**
* @ignore
*/
static getAttributeTypeMap(): AttributeTypeMap {
return IncidentServicesResponseMeta.attributeTypeMap;
return IncidentResponseMeta.attributeTypeMap;
}

public constructor() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { AttributeTypeMap } from "./ObjectSerializer";
* Pagination properties.
*/

export class IncidentServicesResponseMetaPagination {
export class IncidentResponseMetaPagination {
/**
* The index of the first element in the next page of results. Equal to page size added to the current offset.
*/
Expand Down Expand Up @@ -58,7 +58,7 @@ export class IncidentServicesResponseMetaPagination {
* @ignore
*/
static getAttributeTypeMap(): AttributeTypeMap {
return IncidentServicesResponseMetaPagination.attributeTypeMap;
return IncidentResponseMetaPagination.attributeTypeMap;
}

public constructor() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Do not edit the class manually.
*/

import { IncidentResponseMeta } from "./IncidentResponseMeta";
import { IncidentServiceIncludedItems } from "./IncidentServiceIncludedItems";
import { IncidentServiceResponseData } from "./IncidentServiceResponseData";
import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
import { AttributeTypeMap } from "./ObjectSerializer";

/**
Expand All @@ -26,7 +26,7 @@ export class IncidentServicesResponse {
* Included related resources which the user requested.
*/
"included"?: Array<IncidentServiceIncludedItems>;
"meta"?: IncidentServicesResponseMeta;
"meta"?: IncidentResponseMeta;

/**
* @ignore
Expand All @@ -48,7 +48,7 @@ export class IncidentServicesResponse {
},
meta: {
baseName: "meta",
type: "IncidentServicesResponseMeta",
type: "IncidentResponseMeta",
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Do not edit the class manually.
*/

import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
import { IncidentResponseMeta } from "./IncidentResponseMeta";
import { IncidentTeamIncludedItems } from "./IncidentTeamIncludedItems";
import { IncidentTeamResponseData } from "./IncidentTeamResponseData";
import { AttributeTypeMap } from "./ObjectSerializer";
Expand All @@ -26,7 +26,7 @@ export class IncidentTeamsResponse {
* Included related resources which the user requested.
*/
"included"?: Array<IncidentTeamIncludedItems>;
"meta"?: IncidentServicesResponseMeta;
"meta"?: IncidentResponseMeta;

/**
* @ignore
Expand All @@ -48,7 +48,7 @@ export class IncidentTeamsResponse {
},
meta: {
baseName: "meta",
type: "IncidentServicesResponseMeta",
type: "IncidentResponseMeta",
},
};

Expand Down
6 changes: 3 additions & 3 deletions packages/datadog-api-client-v2/models/IncidentsResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import { IncidentResponseData } from "./IncidentResponseData";
import { IncidentResponseIncludedItem } from "./IncidentResponseIncludedItem";
import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
import { IncidentResponseMeta } from "./IncidentResponseMeta";
import { AttributeTypeMap } from "./ObjectSerializer";

/**
Expand All @@ -26,7 +26,7 @@ export class IncidentsResponse {
* Included related resources that the user requested.
*/
"included"?: Array<IncidentResponseIncludedItem>;
"meta"?: IncidentServicesResponseMeta;
"meta"?: IncidentResponseMeta;

/**
* @ignore
Expand All @@ -48,7 +48,7 @@ export class IncidentsResponse {
},
meta: {
baseName: "meta",
type: "IncidentServicesResponseMeta",
type: "IncidentResponseMeta",
},
};

Expand Down
9 changes: 4 additions & 5 deletions packages/datadog-api-client-v2/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ import { IncidentNotificationHandle } from "./IncidentNotificationHandle";
import { IncidentResponse } from "./IncidentResponse";
import { IncidentResponseAttributes } from "./IncidentResponseAttributes";
import { IncidentResponseData } from "./IncidentResponseData";
import { IncidentResponseMeta } from "./IncidentResponseMeta";
import { IncidentResponseMetaPagination } from "./IncidentResponseMetaPagination";
import { IncidentResponseRelationships } from "./IncidentResponseRelationships";
import { IncidentServiceCreateAttributes } from "./IncidentServiceCreateAttributes";
import { IncidentServiceCreateData } from "./IncidentServiceCreateData";
Expand All @@ -81,8 +83,6 @@ import { IncidentServiceUpdateAttributes } from "./IncidentServiceUpdateAttribut
import { IncidentServiceUpdateData } from "./IncidentServiceUpdateData";
import { IncidentServiceUpdateRequest } from "./IncidentServiceUpdateRequest";
import { IncidentServicesResponse } from "./IncidentServicesResponse";
import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
import { IncidentServicesResponseMetaPagination } from "./IncidentServicesResponseMetaPagination";
import { IncidentTeamCreateAttributes } from "./IncidentTeamCreateAttributes";
import { IncidentTeamCreateData } from "./IncidentTeamCreateData";
import { IncidentTeamCreateRequest } from "./IncidentTeamCreateRequest";
Expand Down Expand Up @@ -548,6 +548,8 @@ const typeMap: { [index: string]: any } = {
IncidentResponse: IncidentResponse,
IncidentResponseAttributes: IncidentResponseAttributes,
IncidentResponseData: IncidentResponseData,
IncidentResponseMeta: IncidentResponseMeta,
IncidentResponseMetaPagination: IncidentResponseMetaPagination,
IncidentResponseRelationships: IncidentResponseRelationships,
IncidentServiceCreateAttributes: IncidentServiceCreateAttributes,
IncidentServiceCreateData: IncidentServiceCreateData,
Expand All @@ -560,9 +562,6 @@ const typeMap: { [index: string]: any } = {
IncidentServiceUpdateData: IncidentServiceUpdateData,
IncidentServiceUpdateRequest: IncidentServiceUpdateRequest,
IncidentServicesResponse: IncidentServicesResponse,
IncidentServicesResponseMeta: IncidentServicesResponseMeta,
IncidentServicesResponseMetaPagination:
IncidentServicesResponseMetaPagination,
IncidentTeamCreateAttributes: IncidentTeamCreateAttributes,
IncidentTeamCreateData: IncidentTeamCreateData,
IncidentTeamCreateRequest: IncidentTeamCreateRequest,
Expand Down

0 comments on commit bc381c6

Please sign in to comment.