From b05e8f39cf65328e1131e2dc01ccdaeadd817941 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 10 Feb 2026 15:44:15 +0000 Subject: [PATCH] Regenerate client from commit 471a06e of spec repo --- .generator/schemas/v2/openapi.yaml | 9 ++++--- .../v2/model/input_schema_parameters.py | 27 +++++++++++++++++++ ...vability_pipeline_memory_buffer_options.py | 14 ---------- ...ity_pipeline_memory_buffer_size_options.py | 14 ---------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 1d81e8b2f7..03f9a17530 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -31064,6 +31064,11 @@ components: InputSchemaParameters: description: The definition of `InputSchemaParameters` object. properties: + allowExtraValues: + description: The `InputSchemaParameters` `allowExtraValues`. + type: boolean + allowedValues: + description: The `InputSchemaParameters` `allowedValues`. defaultValue: description: The `InputSchemaParameters` `defaultValue`. description: @@ -40869,8 +40874,6 @@ components: type: integer type: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType' - when_full: - $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull' type: object ObservabilityPipelineMemoryBufferSizeOptions: description: Options for configuring a memory buffer by queue length. @@ -40882,8 +40885,6 @@ components: type: integer type: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType' - when_full: - $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull' type: object ObservabilityPipelineMetadataEntry: description: A custom metadata entry. diff --git a/src/datadog_api_client/v2/model/input_schema_parameters.py b/src/datadog_api_client/v2/model/input_schema_parameters.py index 03338496a5..f0042237df 100644 --- a/src/datadog_api_client/v2/model/input_schema_parameters.py +++ b/src/datadog_api_client/v2/model/input_schema_parameters.py @@ -27,6 +27,19 @@ def openapi_types(_): from datadog_api_client.v2.model.input_schema_parameters_type import InputSchemaParametersType return { + "allow_extra_values": (bool,), + "allowed_values": ( + bool, + date, + datetime, + dict, + float, + int, + list, + str, + UUID, + none_type, + ), "default_value": ( bool, date, @@ -46,6 +59,8 @@ def openapi_types(_): } attribute_map = { + "allow_extra_values": "allowExtraValues", + "allowed_values": "allowedValues", "default_value": "defaultValue", "description": "description", "label": "label", @@ -57,6 +72,8 @@ def __init__( self_, name: str, type: InputSchemaParametersType, + allow_extra_values: Union[bool, UnsetType] = unset, + allowed_values: Union[Any, UnsetType] = unset, default_value: Union[Any, UnsetType] = unset, description: Union[str, UnsetType] = unset, label: Union[str, UnsetType] = unset, @@ -65,6 +82,12 @@ def __init__( """ The definition of ``InputSchemaParameters`` object. + :param allow_extra_values: The ``InputSchemaParameters`` ``allowExtraValues``. + :type allow_extra_values: bool, optional + + :param allowed_values: The ``InputSchemaParameters`` ``allowedValues``. + :type allowed_values: bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional + :param default_value: The ``InputSchemaParameters`` ``defaultValue``. :type default_value: bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional @@ -80,6 +103,10 @@ def __init__( :param type: The definition of ``InputSchemaParametersType`` object. :type type: InputSchemaParametersType """ + if allow_extra_values is not unset: + kwargs["allow_extra_values"] = allow_extra_values + if allowed_values is not unset: + kwargs["allowed_values"] = allowed_values if default_value is not unset: kwargs["default_value"] = default_value if description is not unset: diff --git a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py index 2093ffaf2a..8f72c02416 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py @@ -17,9 +17,6 @@ from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) - from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( - ObservabilityPipelineBufferOptionsWhenFull, - ) class ObservabilityPipelineMemoryBufferOptions(ModelNormal): @@ -28,27 +25,21 @@ def openapi_types(_): from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) - from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( - ObservabilityPipelineBufferOptionsWhenFull, - ) return { "max_size": (int,), "type": (ObservabilityPipelineBufferOptionsMemoryType,), - "when_full": (ObservabilityPipelineBufferOptionsWhenFull,), } attribute_map = { "max_size": "max_size", "type": "type", - "when_full": "when_full", } def __init__( self_, max_size: Union[int, UnsetType] = unset, type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset, - when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset, **kwargs, ): """ @@ -59,14 +50,9 @@ def __init__( :param type: The type of the buffer that will be configured, a memory buffer. :type type: ObservabilityPipelineBufferOptionsMemoryType, optional - - :param when_full: Behavior when the buffer is full (block and stop accepting new events, or drop new events) - :type when_full: ObservabilityPipelineBufferOptionsWhenFull, optional """ if max_size is not unset: kwargs["max_size"] = max_size if type is not unset: kwargs["type"] = type - if when_full is not unset: - kwargs["when_full"] = when_full super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py index 9caa534a88..3218ba0b19 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py @@ -17,9 +17,6 @@ from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) - from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( - ObservabilityPipelineBufferOptionsWhenFull, - ) class ObservabilityPipelineMemoryBufferSizeOptions(ModelNormal): @@ -28,27 +25,21 @@ def openapi_types(_): from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) - from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( - ObservabilityPipelineBufferOptionsWhenFull, - ) return { "max_events": (int,), "type": (ObservabilityPipelineBufferOptionsMemoryType,), - "when_full": (ObservabilityPipelineBufferOptionsWhenFull,), } attribute_map = { "max_events": "max_events", "type": "type", - "when_full": "when_full", } def __init__( self_, max_events: Union[int, UnsetType] = unset, type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset, - when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset, **kwargs, ): """ @@ -59,14 +50,9 @@ def __init__( :param type: The type of the buffer that will be configured, a memory buffer. :type type: ObservabilityPipelineBufferOptionsMemoryType, optional - - :param when_full: Behavior when the buffer is full (block and stop accepting new events, or drop new events) - :type when_full: ObservabilityPipelineBufferOptionsWhenFull, optional """ if max_events is not unset: kwargs["max_events"] = max_events if type is not unset: kwargs["type"] = type - if when_full is not unset: - kwargs["when_full"] = when_full super().__init__(kwargs)