From 15795c584755eab59283c3490050742950b5bf53 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 24 Oct 2023 21:18:32 +0000 Subject: [PATCH] Regenerate client from commit 2ba0b52a of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 2 +- .../model/security_monitoring_signal_attributes.py | 14 +++++++------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 62d5ed1fe5..4ff2db902a 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2023-10-24 18:01:02.090771", - "spec_repo_commit": "7e490450" + "regenerated": "2023-10-24 21:17:07.656179", + "spec_repo_commit": "2ba0b52a" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2023-10-24 18:01:02.104260", - "spec_repo_commit": "7e490450" + "regenerated": "2023-10-24 21:17:07.706693", + "spec_repo_commit": "2ba0b52a" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dc88ec0dee..5882e3b0f4 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -14070,7 +14070,7 @@ components: associated values.' properties: - attributes: + custom: additionalProperties: {} description: A JSON object of attributes in the security signal. example: diff --git a/src/datadog_api_client/v2/model/security_monitoring_signal_attributes.py b/src/datadog_api_client/v2/model/security_monitoring_signal_attributes.py index bf5a5123f2..725434693f 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_signal_attributes.py +++ b/src/datadog_api_client/v2/model/security_monitoring_signal_attributes.py @@ -34,7 +34,7 @@ def additional_properties_type(_): @cached_property def openapi_types(_): return { - "attributes": ( + "custom": ( { str: ( bool, @@ -55,7 +55,7 @@ def openapi_types(_): } attribute_map = { - "attributes": "attributes", + "custom": "custom", "message": "message", "tags": "tags", "timestamp": "timestamp", @@ -63,7 +63,7 @@ def openapi_types(_): def __init__( self_, - attributes: Union[Dict[str, Any], UnsetType] = unset, + custom: Union[Dict[str, Any], UnsetType] = unset, message: Union[str, UnsetType] = unset, tags: Union[List[str], UnsetType] = unset, timestamp: Union[datetime, UnsetType] = unset, @@ -73,8 +73,8 @@ def __init__( The object containing all signal attributes and their associated values. - :param attributes: A JSON object of attributes in the security signal. - :type attributes: {str: (bool, date, datetime, dict, float, int, list, str, none_type,)}, optional + :param custom: A JSON object of attributes in the security signal. + :type custom: {str: (bool, date, datetime, dict, float, int, list, str, none_type,)}, optional :param message: The message in the security signal defined by the rule that generated the signal. :type message: str, optional @@ -85,8 +85,8 @@ def __init__( :param timestamp: The timestamp of the security signal. :type timestamp: datetime, optional """ - if attributes is not unset: - kwargs["attributes"] = attributes + if custom is not unset: + kwargs["custom"] = custom if message is not unset: kwargs["message"] = message if tags is not unset: