Skip to content

Commit ed1b2f4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ba35bdf3 of spec repo
1 parent 98f7c16 commit ed1b2f4

File tree

6 files changed

+40
-4
lines changed

6 files changed

+40
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-07-19 18:05:03.090949",
8-
"spec_repo_commit": "e9066fe1"
7+
"regenerated": "2023-07-19 18:35:49.764815",
8+
"spec_repo_commit": "ba35bdf3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-19 18:05:03.104671",
13-
"spec_repo_commit": "e9066fe1"
12+
"regenerated": "2023-07-19 18:35:49.781760",
13+
"spec_repo_commit": "ba35bdf3"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10106,6 +10106,8 @@ components:
1010610106
properties:
1010710107
attributes:
1010810108
$ref: '#/components/schemas/OnDemandConcurrencyCapAttributes'
10109+
type:
10110+
$ref: '#/components/schemas/OnDemandConcurrencyCapType'
1010910111
type: object
1011010112
OnDemandConcurrencyCapAttributes:
1011110113
description: On-demand concurrency cap attributes.
@@ -10121,6 +10123,13 @@ components:
1012110123
data:
1012210124
$ref: '#/components/schemas/OnDemandConcurrencyCap'
1012310125
type: object
10126+
OnDemandConcurrencyCapType:
10127+
description: On-demand concurrency cap type.
10128+
enum:
10129+
- on_demand_concurrency_cap
10130+
type: string
10131+
x-enum-varnames:
10132+
- ON_DEMAND_CONCURRENCY_CAP
1012410133
OpsgenieServiceCreateAttributes:
1012510134
description: The Opsgenie service attributes for a create request.
1012610135
properties:

packages/datadog-api-client-v2/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ export { NullableRelationshipToUserData } from "./models/NullableRelationshipToU
10021002
export { OnDemandConcurrencyCap } from "./models/OnDemandConcurrencyCap";
10031003
export { OnDemandConcurrencyCapAttributes } from "./models/OnDemandConcurrencyCapAttributes";
10041004
export { OnDemandConcurrencyCapResponse } from "./models/OnDemandConcurrencyCapResponse";
1005+
export { OnDemandConcurrencyCapType } from "./models/OnDemandConcurrencyCapType";
10051006
export { OpsgenieServiceCreateAttributes } from "./models/OpsgenieServiceCreateAttributes";
10061007
export { OpsgenieServiceCreateData } from "./models/OpsgenieServiceCreateData";
10071008
export { OpsgenieServiceCreateRequest } from "./models/OpsgenieServiceCreateRequest";

packages/datadog-api-client-v2/models/ObjectSerializer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,7 @@ const enumsMap: { [key: string]: any[] } = {
11011101
MonitorConfigPolicyResourceType: ["monitor-config-policy"],
11021102
MonitorConfigPolicyType: ["tag"],
11031103
MonitorDowntimeMatchResourceType: ["downtime_match"],
1104+
OnDemandConcurrencyCapType: ["on_demand_concurrency_cap"],
11041105
OpsgenieServiceRegionType: ["us", "eu", "custom"],
11051106
OpsgenieServiceType: ["opsgenie-service"],
11061107
OrganizationsType: ["orgs"],

packages/datadog-api-client-v2/models/OnDemandConcurrencyCap.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { OnDemandConcurrencyCapAttributes } from "./OnDemandConcurrencyCapAttributes";
7+
import { OnDemandConcurrencyCapType } from "./OnDemandConcurrencyCapType";
78

89
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
910

@@ -15,6 +16,10 @@ export class OnDemandConcurrencyCap {
1516
* On-demand concurrency cap attributes.
1617
*/
1718
"attributes"?: OnDemandConcurrencyCapAttributes;
19+
/**
20+
* On-demand concurrency cap type.
21+
*/
22+
"type"?: OnDemandConcurrencyCapType;
1823

1924
/**
2025
* @ignore
@@ -29,6 +34,10 @@ export class OnDemandConcurrencyCap {
2934
baseName: "attributes",
3035
type: "OnDemandConcurrencyCapAttributes",
3136
},
37+
type: {
38+
baseName: "type",
39+
type: "OnDemandConcurrencyCapType",
40+
},
3241
};
3342

3443
/**
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2020-Present Datadog, Inc.
5+
*/
6+
7+
import { UnparsedObject } from "../../datadog-api-client-common/util";
8+
9+
/**
10+
* On-demand concurrency cap type.
11+
*/
12+
13+
export type OnDemandConcurrencyCapType =
14+
| typeof ON_DEMAND_CONCURRENCY_CAP
15+
| UnparsedObject;
16+
export const ON_DEMAND_CONCURRENCY_CAP = "on_demand_concurrency_cap";

0 commit comments

Comments
 (0)