Skip to content

Commit 4aa9358

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add enum value descriptions for service check monitors (#959)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent a1f92f2 commit 4aa9358

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
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.4",
7-
"regenerated": "2022-12-22 14:35:51.739376",
8-
"spec_repo_commit": "f398adcf"
7+
"regenerated": "2022-12-23 14:08:47.699509",
8+
"spec_repo_commit": "c3b2f174"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-22 14:35:51.750755",
13-
"spec_repo_commit": "f398adcf"
12+
"regenerated": "2022-12-23 14:08:47.710975",
13+
"spec_repo_commit": "c3b2f174"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10465,7 +10465,8 @@ components:
1046510465
- host_name
1046610466
type: object
1046710467
ServiceCheckStatus:
10468-
description: The status of a service check.
10468+
description: The status of a service check. Set to `0` for OK, `1` for warning,
10469+
`2` for critical, and `3` for unknown.
1046910470
enum:
1047010471
- 0
1047110472
- 1

packages/datadog-api-client-v1/models/ServiceCheck.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class ServiceCheck {
2424
*/
2525
"message"?: string;
2626
/**
27-
* The status of a service check.
27+
* The status of a service check. Set to `0` for OK, `1` for warning, `2` for critical, and `3` for unknown.
2828
*/
2929
"status": ServiceCheckStatus;
3030
/**

packages/datadog-api-client-v1/models/ServiceCheckStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* The status of a service check.
10+
* The status of a service check. Set to `0` for OK, `1` for warning, `2` for critical, and `3` for unknown.
1111
*/
1212

1313
export type ServiceCheckStatus =

0 commit comments

Comments
 (0)