Skip to content

Commit b05e8f3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 471a06e of spec repo
1 parent bef6090 commit b05e8f3

File tree

4 files changed

+32
-32
lines changed

4 files changed

+32
-32
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.

src/datadog_api_client/v2/model/input_schema_parameters.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ def openapi_types(_):
2727
from datadog_api_client.v2.model.input_schema_parameters_type import InputSchemaParametersType
2828

2929
return {
30+
"allow_extra_values": (bool,),
31+
"allowed_values": (
32+
bool,
33+
date,
34+
datetime,
35+
dict,
36+
float,
37+
int,
38+
list,
39+
str,
40+
UUID,
41+
none_type,
42+
),
3043
"default_value": (
3144
bool,
3245
date,
@@ -46,6 +59,8 @@ def openapi_types(_):
4659
}
4760

4861
attribute_map = {
62+
"allow_extra_values": "allowExtraValues",
63+
"allowed_values": "allowedValues",
4964
"default_value": "defaultValue",
5065
"description": "description",
5166
"label": "label",
@@ -57,6 +72,8 @@ def __init__(
5772
self_,
5873
name: str,
5974
type: InputSchemaParametersType,
75+
allow_extra_values: Union[bool, UnsetType] = unset,
76+
allowed_values: Union[Any, UnsetType] = unset,
6077
default_value: Union[Any, UnsetType] = unset,
6178
description: Union[str, UnsetType] = unset,
6279
label: Union[str, UnsetType] = unset,
@@ -65,6 +82,12 @@ def __init__(
6582
"""
6683
The definition of ``InputSchemaParameters`` object.
6784
85+
:param allow_extra_values: The ``InputSchemaParameters`` ``allowExtraValues``.
86+
:type allow_extra_values: bool, optional
87+
88+
:param allowed_values: The ``InputSchemaParameters`` ``allowedValues``.
89+
:type allowed_values: bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional
90+
6891
:param default_value: The ``InputSchemaParameters`` ``defaultValue``.
6992
:type default_value: bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional
7093
@@ -80,6 +103,10 @@ def __init__(
80103
:param type: The definition of ``InputSchemaParametersType`` object.
81104
:type type: InputSchemaParametersType
82105
"""
106+
if allow_extra_values is not unset:
107+
kwargs["allow_extra_values"] = allow_extra_values
108+
if allowed_values is not unset:
109+
kwargs["allowed_values"] = allowed_values
83110
if default_value is not unset:
84111
kwargs["default_value"] = default_value
85112
if description is not unset:

src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import (
1818
ObservabilityPipelineBufferOptionsMemoryType,
1919
)
20-
from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import (
21-
ObservabilityPipelineBufferOptionsWhenFull,
22-
)
2320

2421

2522
class ObservabilityPipelineMemoryBufferOptions(ModelNormal):
@@ -28,27 +25,21 @@ def openapi_types(_):
2825
from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import (
2926
ObservabilityPipelineBufferOptionsMemoryType,
3027
)
31-
from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import (
32-
ObservabilityPipelineBufferOptionsWhenFull,
33-
)
3428

3529
return {
3630
"max_size": (int,),
3731
"type": (ObservabilityPipelineBufferOptionsMemoryType,),
38-
"when_full": (ObservabilityPipelineBufferOptionsWhenFull,),
3932
}
4033

4134
attribute_map = {
4235
"max_size": "max_size",
4336
"type": "type",
44-
"when_full": "when_full",
4537
}
4638

4739
def __init__(
4840
self_,
4941
max_size: Union[int, UnsetType] = unset,
5042
type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset,
51-
when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset,
5243
**kwargs,
5344
):
5445
"""
@@ -59,14 +50,9 @@ def __init__(
5950
6051
:param type: The type of the buffer that will be configured, a memory buffer.
6152
:type type: ObservabilityPipelineBufferOptionsMemoryType, optional
62-
63-
:param when_full: Behavior when the buffer is full (block and stop accepting new events, or drop new events)
64-
:type when_full: ObservabilityPipelineBufferOptionsWhenFull, optional
6553
"""
6654
if max_size is not unset:
6755
kwargs["max_size"] = max_size
6856
if type is not unset:
6957
kwargs["type"] = type
70-
if when_full is not unset:
71-
kwargs["when_full"] = when_full
7258
super().__init__(kwargs)

src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import (
1818
ObservabilityPipelineBufferOptionsMemoryType,
1919
)
20-
from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import (
21-
ObservabilityPipelineBufferOptionsWhenFull,
22-
)
2320

2421

2522
class ObservabilityPipelineMemoryBufferSizeOptions(ModelNormal):
@@ -28,27 +25,21 @@ def openapi_types(_):
2825
from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import (
2926
ObservabilityPipelineBufferOptionsMemoryType,
3027
)
31-
from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import (
32-
ObservabilityPipelineBufferOptionsWhenFull,
33-
)
3428

3529
return {
3630
"max_events": (int,),
3731
"type": (ObservabilityPipelineBufferOptionsMemoryType,),
38-
"when_full": (ObservabilityPipelineBufferOptionsWhenFull,),
3932
}
4033

4134
attribute_map = {
4235
"max_events": "max_events",
4336
"type": "type",
44-
"when_full": "when_full",
4537
}
4638

4739
def __init__(
4840
self_,
4941
max_events: Union[int, UnsetType] = unset,
5042
type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset,
51-
when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset,
5243
**kwargs,
5344
):
5445
"""
@@ -59,14 +50,9 @@ def __init__(
5950
6051
:param type: The type of the buffer that will be configured, a memory buffer.
6152
:type type: ObservabilityPipelineBufferOptionsMemoryType, optional
62-
63-
:param when_full: Behavior when the buffer is full (block and stop accepting new events, or drop new events)
64-
:type when_full: ObservabilityPipelineBufferOptionsWhenFull, optional
6553
"""
6654
if max_events is not unset:
6755
kwargs["max_events"] = max_events
6856
if type is not unset:
6957
kwargs["type"] = type
70-
if when_full is not unset:
71-
kwargs["when_full"] = when_full
7258
super().__init__(kwargs)

0 commit comments

Comments
 (0)