From d07c2b65062554a073694df76e7e55a20167c1cf Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 24 Jul 2023 15:28:58 +0000 Subject: [PATCH] Regenerate client from commit 9dc6b6ea of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 6 +++++- .../v2/model/ci_app_event_attributes.py | 8 ++++++++ .../ci_app_tests_analytics_aggregate_response.py | 12 +++++++----- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 6d2f6670c6..5f742d439d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-21 15:02:55.156864", - "spec_repo_commit": "1b0797fc" + "regenerated": "2023-07-24 15:27:27.939479", + "spec_repo_commit": "9dc6b6ea" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-21 15:02:55.169012", - "spec_repo_commit": "1b0797fc" + "regenerated": "2023-07-24 15:27:27.953761", + "spec_repo_commit": "9dc6b6ea" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 25c40c665b..08ec88ab1d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1498,6 +1498,10 @@ components: type: string tags: $ref: '#/components/schemas/TagsEventAttribute' + test_level: + description: The event test level. + example: session + type: string timestamp: $ref: '#/components/schemas/TimestampEventAttribute' type: object @@ -2500,7 +2504,7 @@ components: links: $ref: '#/components/schemas/CIAppResponseLinks' meta: - $ref: '#/components/schemas/CIAppResponseMetadata' + $ref: '#/components/schemas/CIAppResponseMetadataWithPagination' type: object CIAppTestsBucketResponse: description: Bucket values. diff --git a/src/datadog_api_client/v2/model/ci_app_event_attributes.py b/src/datadog_api_client/v2/model/ci_app_event_attributes.py index d78010b9be..0067876cf7 100644 --- a/src/datadog_api_client/v2/model/ci_app_event_attributes.py +++ b/src/datadog_api_client/v2/model/ci_app_event_attributes.py @@ -43,6 +43,7 @@ def openapi_types(_): ), "service": (str,), "tags": (TagsEventAttribute,), + "test_level": (str,), "timestamp": (datetime,), } @@ -50,6 +51,7 @@ def openapi_types(_): "attributes": "attributes", "service": "service", "tags": "tags", + "test_level": "test_level", "timestamp": "timestamp", } @@ -58,6 +60,7 @@ def __init__( attributes: Union[Dict[str, Any], UnsetType] = unset, service: Union[str, UnsetType] = unset, tags: Union[TagsEventAttribute, UnsetType] = unset, + test_level: Union[str, UnsetType] = unset, timestamp: Union[datetime, UnsetType] = unset, **kwargs, ): @@ -75,6 +78,9 @@ def __init__( :param tags: Array of tags associated with your event. :type tags: TagsEventAttribute, optional + :param test_level: The event test level. + :type test_level: str, optional + :param timestamp: Timestamp of your event. :type timestamp: datetime, optional """ @@ -84,6 +90,8 @@ def __init__( kwargs["service"] = service if tags is not unset: kwargs["tags"] = tags + if test_level is not unset: + kwargs["test_level"] = test_level if timestamp is not unset: kwargs["timestamp"] = timestamp super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/ci_app_tests_analytics_aggregate_response.py b/src/datadog_api_client/v2/model/ci_app_tests_analytics_aggregate_response.py index c0134e37e2..48a8150f32 100644 --- a/src/datadog_api_client/v2/model/ci_app_tests_analytics_aggregate_response.py +++ b/src/datadog_api_client/v2/model/ci_app_tests_analytics_aggregate_response.py @@ -18,7 +18,7 @@ CIAppTestsAggregationBucketsResponse, ) from datadog_api_client.v2.model.ci_app_response_links import CIAppResponseLinks - from datadog_api_client.v2.model.ci_app_response_metadata import CIAppResponseMetadata + from datadog_api_client.v2.model.ci_app_response_metadata_with_pagination import CIAppResponseMetadataWithPagination class CIAppTestsAnalyticsAggregateResponse(ModelNormal): @@ -28,12 +28,14 @@ def openapi_types(_): CIAppTestsAggregationBucketsResponse, ) from datadog_api_client.v2.model.ci_app_response_links import CIAppResponseLinks - from datadog_api_client.v2.model.ci_app_response_metadata import CIAppResponseMetadata + from datadog_api_client.v2.model.ci_app_response_metadata_with_pagination import ( + CIAppResponseMetadataWithPagination, + ) return { "data": (CIAppTestsAggregationBucketsResponse,), "links": (CIAppResponseLinks,), - "meta": (CIAppResponseMetadata,), + "meta": (CIAppResponseMetadataWithPagination,), } attribute_map = { @@ -46,7 +48,7 @@ def __init__( self_, data: Union[CIAppTestsAggregationBucketsResponse, UnsetType] = unset, links: Union[CIAppResponseLinks, UnsetType] = unset, - meta: Union[CIAppResponseMetadata, UnsetType] = unset, + meta: Union[CIAppResponseMetadataWithPagination, UnsetType] = unset, **kwargs, ): """ @@ -59,7 +61,7 @@ def __init__( :type links: CIAppResponseLinks, optional :param meta: The metadata associated with a request. - :type meta: CIAppResponseMetadata, optional + :type meta: CIAppResponseMetadataWithPagination, optional """ if data is not unset: kwargs["data"] = data