Skip to content

Commit 1494209

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Workflow Automation - Add allowedValues to InputSchemaParameters (#3459)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 8c07ef3 commit 1494209

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31064,6 +31064,11 @@ components:
3106431064
InputSchemaParameters:
3106531065
description: The definition of `InputSchemaParameters` object.
3106631066
properties:
31067+
allowExtraValues:
31068+
description: The `InputSchemaParameters` `allowExtraValues`.
31069+
type: boolean
31070+
allowedValues:
31071+
description: The `InputSchemaParameters` `allowedValues`.
3106731072
defaultValue:
3106831073
description: The `InputSchemaParameters` `defaultValue`.
3106931074
description:
@@ -40869,8 +40874,6 @@ components:
4086940874
type: integer
4087040875
type:
4087140876
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40872-
when_full:
40873-
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
4087440877
type: object
4087540878
ObservabilityPipelineMemoryBufferSizeOptions:
4087640879
description: Options for configuring a memory buffer by queue length.
@@ -40882,8 +40885,6 @@ components:
4088240885
type: integer
4088340886
type:
4088440887
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40885-
when_full:
40886-
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
4088740888
type: object
4088840889
ObservabilityPipelineMetadataEntry:
4088940890
description: A custom metadata entry.

services/observability_pipelines/src/v2/models/ObservabilityPipelineMemoryBufferOptions.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { AttributeTypeMap } from "@datadog/datadog-api-client";
22

33
import { ObservabilityPipelineBufferOptionsMemoryType } from "./ObservabilityPipelineBufferOptionsMemoryType";
4-
import { ObservabilityPipelineBufferOptionsWhenFull } from "./ObservabilityPipelineBufferOptionsWhenFull";
54

65
/**
76
* Options for configuring a memory buffer by byte size.
@@ -15,10 +14,6 @@ export class ObservabilityPipelineMemoryBufferOptions {
1514
* The type of the buffer that will be configured, a memory buffer.
1615
*/
1716
"type"?: ObservabilityPipelineBufferOptionsMemoryType;
18-
/**
19-
* Behavior when the buffer is full (block and stop accepting new events, or drop new events)
20-
*/
21-
"whenFull"?: ObservabilityPipelineBufferOptionsWhenFull;
2217
/**
2318
* A container for additional, undeclared properties.
2419
* This is a holder for any undeclared properties as specified with
@@ -43,10 +38,6 @@ export class ObservabilityPipelineMemoryBufferOptions {
4338
baseName: "type",
4439
type: "ObservabilityPipelineBufferOptionsMemoryType",
4540
},
46-
whenFull: {
47-
baseName: "when_full",
48-
type: "ObservabilityPipelineBufferOptionsWhenFull",
49-
},
5041
additionalProperties: {
5142
baseName: "additionalProperties",
5243
type: "{ [key: string]: any; }",

services/observability_pipelines/src/v2/models/ObservabilityPipelineMemoryBufferSizeOptions.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { AttributeTypeMap } from "@datadog/datadog-api-client";
22

33
import { ObservabilityPipelineBufferOptionsMemoryType } from "./ObservabilityPipelineBufferOptionsMemoryType";
4-
import { ObservabilityPipelineBufferOptionsWhenFull } from "./ObservabilityPipelineBufferOptionsWhenFull";
54

65
/**
76
* Options for configuring a memory buffer by queue length.
@@ -15,10 +14,6 @@ export class ObservabilityPipelineMemoryBufferSizeOptions {
1514
* The type of the buffer that will be configured, a memory buffer.
1615
*/
1716
"type"?: ObservabilityPipelineBufferOptionsMemoryType;
18-
/**
19-
* Behavior when the buffer is full (block and stop accepting new events, or drop new events)
20-
*/
21-
"whenFull"?: ObservabilityPipelineBufferOptionsWhenFull;
2217
/**
2318
* A container for additional, undeclared properties.
2419
* This is a holder for any undeclared properties as specified with
@@ -43,10 +38,6 @@ export class ObservabilityPipelineMemoryBufferSizeOptions {
4338
baseName: "type",
4439
type: "ObservabilityPipelineBufferOptionsMemoryType",
4540
},
46-
whenFull: {
47-
baseName: "when_full",
48-
type: "ObservabilityPipelineBufferOptionsWhenFull",
49-
},
5041
additionalProperties: {
5142
baseName: "additionalProperties",
5243
type: "{ [key: string]: any; }",

services/workflow_automation/src/v2/models/InputSchemaParameters.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ import { InputSchemaParametersType } from "./InputSchemaParametersType";
66
* The definition of `InputSchemaParameters` object.
77
*/
88
export class InputSchemaParameters {
9+
/**
10+
* The `InputSchemaParameters` `allowExtraValues`.
11+
*/
12+
"allowExtraValues"?: boolean;
13+
/**
14+
* The `InputSchemaParameters` `allowedValues`.
15+
*/
16+
"allowedValues"?: any;
917
/**
1018
* The `InputSchemaParameters` `defaultValue`.
1119
*/
@@ -41,6 +49,14 @@ export class InputSchemaParameters {
4149
* @ignore
4250
*/
4351
static readonly attributeTypeMap: AttributeTypeMap = {
52+
allowExtraValues: {
53+
baseName: "allowExtraValues",
54+
type: "boolean",
55+
},
56+
allowedValues: {
57+
baseName: "allowedValues",
58+
type: "any",
59+
},
4460
defaultValue: {
4561
baseName: "defaultValue",
4662
type: "any",

0 commit comments

Comments
 (0)