From 243c60ed718362aaec623c5655cd485e90c46e87 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 5 Dec 2024 20:46:41 +0000 Subject: [PATCH] Regenerate client from commit fb5856bc of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 12 ++++++------ .../v1/dashboards/CreateDashboard_1024858348.py | 4 ++-- .../v1/dashboards/CreateDashboard_109450134.py | 4 ++-- .../v1/dashboards/CreateDashboard_1094917386.py | 4 ++-- .../v1/dashboards/CreateDashboard_1177423752.py | 4 ++-- .../v1/dashboards/CreateDashboard_1200099236.py | 4 ++-- .../v1/dashboards/CreateDashboard_1213075383.py | 4 ++-- .../v1/dashboards/CreateDashboard_1413226400.py | 4 ++-- .../v1/dashboards/CreateDashboard_1423904722.py | 4 ++-- .../v1/dashboards/CreateDashboard_1442588603.py | 4 ++-- .../v1/dashboards/CreateDashboard_145494973.py | 4 ++-- .../v1/dashboards/CreateDashboard_173805046.py | 4 ++-- .../v1/dashboards/CreateDashboard_1738608750.py | 4 ++-- .../v1/dashboards/CreateDashboard_1754992756.py | 4 ++-- .../v1/dashboards/CreateDashboard_2029850837.py | 4 ++-- .../v1/dashboards/CreateDashboard_2034634967.py | 4 ++-- .../v1/dashboards/CreateDashboard_2064651578.py | 4 ++-- .../v1/dashboards/CreateDashboard_2104498738.py | 4 ++-- .../v1/dashboards/CreateDashboard_2278756614.py | 4 ++-- .../v1/dashboards/CreateDashboard_2308247857.py | 4 ++-- .../v1/dashboards/CreateDashboard_2316374332.py | 4 ++-- .../v1/dashboards/CreateDashboard_2336428357.py | 4 ++-- .../v1/dashboards/CreateDashboard_2342457693.py | 4 ++-- .../v1/dashboards/CreateDashboard_2349863258.py | 4 ++-- .../v1/dashboards/CreateDashboard_2490110261.py | 4 ++-- .../v1/dashboards/CreateDashboard_252716965.py | 4 ++-- .../v1/dashboards/CreateDashboard_2563642929.py | 4 ++-- .../v1/dashboards/CreateDashboard_2607944105.py | 4 ++-- .../v1/dashboards/CreateDashboard_2610827685.py | 4 ++-- .../v1/dashboards/CreateDashboard_2634813877.py | 4 ++-- .../v1/dashboards/CreateDashboard_2644712913.py | 4 ++-- .../v1/dashboards/CreateDashboard_2652180930.py | 4 ++-- .../v1/dashboards/CreateDashboard_2705593938.py | 4 ++-- .../v1/dashboards/CreateDashboard_2917274132.py | 4 ++-- .../v1/dashboards/CreateDashboard_2921337351.py | 4 ++-- .../v1/dashboards/CreateDashboard_3250131584.py | 4 ++-- .../v1/dashboards/CreateDashboard_3513586382.py | 4 ++-- .../v1/dashboards/CreateDashboard_3562282606.py | 4 ++-- .../v1/dashboards/CreateDashboard_3777304439.py | 4 ++-- .../v1/dashboards/CreateDashboard_3882428227.py | 4 ++-- .../v1/dashboards/CreateDashboard_417992286.py | 4 ++-- .../v1/dashboards/CreateDashboard_578885732.py | 4 ++-- .../v1/dashboards/CreateDashboard_651038379.py | 4 ++-- .../v1/dashboards/CreateDashboard_765140092.py | 4 ++-- .../v1/dashboards/CreateDashboard_794302680.py | 4 ++-- .../v1/dashboards/CreateDashboard_798168180.py | 4 ++-- .../v1/dashboards/CreateDashboard_803346562.py | 4 ++-- .../v1/dashboards/CreateDashboard_913313564.py | 4 ++-- .../v1/dashboards/CreateDashboard_915214113.py | 4 ++-- src/datadog_api_client/v1/model/widget_layout.py | 14 +++++++------- 51 files changed, 113 insertions(+), 113 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index d580a08c05..f102092343 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-05 16:15:49.320641", - "spec_repo_commit": "843392e2" + "regenerated": "2024-12-05 20:46:07.097712", + "spec_repo_commit": "fb5856bc" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-05 16:15:49.339022", - "spec_repo_commit": "843392e2" + "regenerated": "2024-12-05 20:46:07.115891", + "spec_repo_commit": "fb5856bc" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index d1465c5b99..1e5109a330 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -22799,18 +22799,18 @@ components: type: integer x: description: The position of the widget on the x (horizontal) axis. Should - be a non-negative integer. + be a non-negative number. example: 0 - format: int64 + format: double minimum: 0 - type: integer + type: number y: description: The position of the widget on the y (vertical) axis. Should - be a non-negative integer. + be a non-negative number. example: 0 - format: int64 + format: double minimum: 0 - type: integer + type: number required: - x - y diff --git a/examples/v1/dashboards/CreateDashboard_1024858348.py b/examples/v1/dashboards/CreateDashboard_1024858348.py index 8e9895050a..9cba9e31d3 100644 --- a/examples/v1/dashboards/CreateDashboard_1024858348.py +++ b/examples/v1/dashboards/CreateDashboard_1024858348.py @@ -63,8 +63,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_109450134.py b/examples/v1/dashboards/CreateDashboard_109450134.py index ebea179bbe..3cd1b39a8d 100644 --- a/examples/v1/dashboards/CreateDashboard_109450134.py +++ b/examples/v1/dashboards/CreateDashboard_109450134.py @@ -23,8 +23,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=60, height=21, ), diff --git a/examples/v1/dashboards/CreateDashboard_1094917386.py b/examples/v1/dashboards/CreateDashboard_1094917386.py index 8c95e926c2..5497beac37 100644 --- a/examples/v1/dashboards/CreateDashboard_1094917386.py +++ b/examples/v1/dashboards/CreateDashboard_1094917386.py @@ -21,8 +21,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=50, height=25, ), diff --git a/examples/v1/dashboards/CreateDashboard_1177423752.py b/examples/v1/dashboards/CreateDashboard_1177423752.py index 61d3c27876..c8dc7260d2 100644 --- a/examples/v1/dashboards/CreateDashboard_1177423752.py +++ b/examples/v1/dashboards/CreateDashboard_1177423752.py @@ -21,8 +21,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_1200099236.py b/examples/v1/dashboards/CreateDashboard_1200099236.py index 0ce3afe599..432a6513f0 100644 --- a/examples/v1/dashboards/CreateDashboard_1200099236.py +++ b/examples/v1/dashboards/CreateDashboard_1200099236.py @@ -22,8 +22,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=22, ), diff --git a/examples/v1/dashboards/CreateDashboard_1213075383.py b/examples/v1/dashboards/CreateDashboard_1213075383.py index 4740c2cb3e..1dab0ce42d 100644 --- a/examples/v1/dashboards/CreateDashboard_1213075383.py +++ b/examples/v1/dashboards/CreateDashboard_1213075383.py @@ -36,8 +36,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_1413226400.py b/examples/v1/dashboards/CreateDashboard_1413226400.py index 394a73ef1a..60590030ed 100644 --- a/examples/v1/dashboards/CreateDashboard_1413226400.py +++ b/examples/v1/dashboards/CreateDashboard_1413226400.py @@ -35,8 +35,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_1423904722.py b/examples/v1/dashboards/CreateDashboard_1423904722.py index 7590e8fa3f..64d54ad169 100644 --- a/examples/v1/dashboards/CreateDashboard_1423904722.py +++ b/examples/v1/dashboards/CreateDashboard_1423904722.py @@ -21,8 +21,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=60, height=21, ), diff --git a/examples/v1/dashboards/CreateDashboard_1442588603.py b/examples/v1/dashboards/CreateDashboard_1442588603.py index 22ba4a1251..fb574b0add 100644 --- a/examples/v1/dashboards/CreateDashboard_1442588603.py +++ b/examples/v1/dashboards/CreateDashboard_1442588603.py @@ -74,8 +74,8 @@ ], ), layout=WidgetLayout( - x=8, - y=0, + x=8.0, + y=0.0, width=4, height=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_145494973.py b/examples/v1/dashboards/CreateDashboard_145494973.py index f8f62c2b45..d357a74a2c 100644 --- a/examples/v1/dashboards/CreateDashboard_145494973.py +++ b/examples/v1/dashboards/CreateDashboard_145494973.py @@ -54,8 +54,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_173805046.py b/examples/v1/dashboards/CreateDashboard_173805046.py index ef93378797..138a4e8fc0 100644 --- a/examples/v1/dashboards/CreateDashboard_173805046.py +++ b/examples/v1/dashboards/CreateDashboard_173805046.py @@ -24,8 +24,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=60, height=21, ), diff --git a/examples/v1/dashboards/CreateDashboard_1738608750.py b/examples/v1/dashboards/CreateDashboard_1738608750.py index c0ed088139..1fdf0bb80e 100644 --- a/examples/v1/dashboards/CreateDashboard_1738608750.py +++ b/examples/v1/dashboards/CreateDashboard_1738608750.py @@ -18,8 +18,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=24, height=6, ), diff --git a/examples/v1/dashboards/CreateDashboard_1754992756.py b/examples/v1/dashboards/CreateDashboard_1754992756.py index 88264cd948..8aaddd6950 100644 --- a/examples/v1/dashboards/CreateDashboard_1754992756.py +++ b/examples/v1/dashboards/CreateDashboard_1754992756.py @@ -41,8 +41,8 @@ ), ), layout=WidgetLayout( - x=1, - y=1, + x=1.0, + y=1.0, width=2, height=2, is_column_break=False, diff --git a/examples/v1/dashboards/CreateDashboard_2029850837.py b/examples/v1/dashboards/CreateDashboard_2029850837.py index 01ac3f85b3..af9b0bfa17 100644 --- a/examples/v1/dashboards/CreateDashboard_2029850837.py +++ b/examples/v1/dashboards/CreateDashboard_2029850837.py @@ -21,8 +21,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=36, ), diff --git a/examples/v1/dashboards/CreateDashboard_2034634967.py b/examples/v1/dashboards/CreateDashboard_2034634967.py index f184440d0c..2c3885758e 100644 --- a/examples/v1/dashboards/CreateDashboard_2034634967.py +++ b/examples/v1/dashboards/CreateDashboard_2034634967.py @@ -18,8 +18,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_2064651578.py b/examples/v1/dashboards/CreateDashboard_2064651578.py index 30d4a0e328..d6c26fb5cc 100644 --- a/examples/v1/dashboards/CreateDashboard_2064651578.py +++ b/examples/v1/dashboards/CreateDashboard_2064651578.py @@ -77,8 +77,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_2104498738.py b/examples/v1/dashboards/CreateDashboard_2104498738.py index 9b4b4ee9d4..1be8247efc 100644 --- a/examples/v1/dashboards/CreateDashboard_2104498738.py +++ b/examples/v1/dashboards/CreateDashboard_2104498738.py @@ -65,8 +65,8 @@ ), ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_2278756614.py b/examples/v1/dashboards/CreateDashboard_2278756614.py index f28a5e70fe..6148daafed 100644 --- a/examples/v1/dashboards/CreateDashboard_2278756614.py +++ b/examples/v1/dashboards/CreateDashboard_2278756614.py @@ -37,8 +37,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=12, height=8, ), diff --git a/examples/v1/dashboards/CreateDashboard_2308247857.py b/examples/v1/dashboards/CreateDashboard_2308247857.py index 3183196a79..ba6f64e8e4 100644 --- a/examples/v1/dashboards/CreateDashboard_2308247857.py +++ b/examples/v1/dashboards/CreateDashboard_2308247857.py @@ -24,8 +24,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_2316374332.py b/examples/v1/dashboards/CreateDashboard_2316374332.py index 683910f1b3..848c9c4927 100644 --- a/examples/v1/dashboards/CreateDashboard_2316374332.py +++ b/examples/v1/dashboards/CreateDashboard_2316374332.py @@ -22,8 +22,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=15, height=8, ), diff --git a/examples/v1/dashboards/CreateDashboard_2336428357.py b/examples/v1/dashboards/CreateDashboard_2336428357.py index 0720534f5b..de04ba79e6 100644 --- a/examples/v1/dashboards/CreateDashboard_2336428357.py +++ b/examples/v1/dashboards/CreateDashboard_2336428357.py @@ -33,8 +33,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=54, height=32, ), diff --git a/examples/v1/dashboards/CreateDashboard_2342457693.py b/examples/v1/dashboards/CreateDashboard_2342457693.py index ebcf1eb028..7fc94c728e 100644 --- a/examples/v1/dashboards/CreateDashboard_2342457693.py +++ b/examples/v1/dashboards/CreateDashboard_2342457693.py @@ -30,8 +30,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_2349863258.py b/examples/v1/dashboards/CreateDashboard_2349863258.py index 5da6da07f4..64c86761b3 100644 --- a/examples/v1/dashboards/CreateDashboard_2349863258.py +++ b/examples/v1/dashboards/CreateDashboard_2349863258.py @@ -26,8 +26,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_2490110261.py b/examples/v1/dashboards/CreateDashboard_2490110261.py index 7a0ebfd245..55426ceadc 100644 --- a/examples/v1/dashboards/CreateDashboard_2490110261.py +++ b/examples/v1/dashboards/CreateDashboard_2490110261.py @@ -54,8 +54,8 @@ ], ), layout=WidgetLayout( - x=2, - y=0, + x=2.0, + y=0.0, width=4, height=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_252716965.py b/examples/v1/dashboards/CreateDashboard_252716965.py index 80eddd36c7..69a14f679f 100644 --- a/examples/v1/dashboards/CreateDashboard_252716965.py +++ b/examples/v1/dashboards/CreateDashboard_252716965.py @@ -67,8 +67,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_2563642929.py b/examples/v1/dashboards/CreateDashboard_2563642929.py index 3f182f0561..74d5d54f1a 100644 --- a/examples/v1/dashboards/CreateDashboard_2563642929.py +++ b/examples/v1/dashboards/CreateDashboard_2563642929.py @@ -36,8 +36,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_2607944105.py b/examples/v1/dashboards/CreateDashboard_2607944105.py index 382deea060..d2f9214913 100644 --- a/examples/v1/dashboards/CreateDashboard_2607944105.py +++ b/examples/v1/dashboards/CreateDashboard_2607944105.py @@ -19,8 +19,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=15, height=8, ), diff --git a/examples/v1/dashboards/CreateDashboard_2610827685.py b/examples/v1/dashboards/CreateDashboard_2610827685.py index 4c3fdc014f..2600f7b170 100644 --- a/examples/v1/dashboards/CreateDashboard_2610827685.py +++ b/examples/v1/dashboards/CreateDashboard_2610827685.py @@ -20,8 +20,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_2634813877.py b/examples/v1/dashboards/CreateDashboard_2634813877.py index 9a12d5d0a1..e2193faf76 100644 --- a/examples/v1/dashboards/CreateDashboard_2634813877.py +++ b/examples/v1/dashboards/CreateDashboard_2634813877.py @@ -19,8 +19,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=38, ), diff --git a/examples/v1/dashboards/CreateDashboard_2644712913.py b/examples/v1/dashboards/CreateDashboard_2644712913.py index d8a21eb492..4254daccef 100644 --- a/examples/v1/dashboards/CreateDashboard_2644712913.py +++ b/examples/v1/dashboards/CreateDashboard_2644712913.py @@ -54,8 +54,8 @@ type=QueryValueWidgetDefinitionType.QUERY_VALUE, ), layout=WidgetLayout( - y=0, - x=0, + y=0.0, + x=0.0, height=2, width=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_2652180930.py b/examples/v1/dashboards/CreateDashboard_2652180930.py index 36789f5d2d..94f0a08f06 100644 --- a/examples/v1/dashboards/CreateDashboard_2652180930.py +++ b/examples/v1/dashboards/CreateDashboard_2652180930.py @@ -22,8 +22,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_2705593938.py b/examples/v1/dashboards/CreateDashboard_2705593938.py index 433033b18c..a8e9b74d54 100644 --- a/examples/v1/dashboards/CreateDashboard_2705593938.py +++ b/examples/v1/dashboards/CreateDashboard_2705593938.py @@ -53,8 +53,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_2917274132.py b/examples/v1/dashboards/CreateDashboard_2917274132.py index 3cc7ba2ab4..c7c5f3cfb1 100644 --- a/examples/v1/dashboards/CreateDashboard_2917274132.py +++ b/examples/v1/dashboards/CreateDashboard_2917274132.py @@ -21,8 +21,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=50, height=25, ), diff --git a/examples/v1/dashboards/CreateDashboard_2921337351.py b/examples/v1/dashboards/CreateDashboard_2921337351.py index a97484f419..ecbccce323 100644 --- a/examples/v1/dashboards/CreateDashboard_2921337351.py +++ b/examples/v1/dashboards/CreateDashboard_2921337351.py @@ -20,8 +20,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=72, height=72, ), diff --git a/examples/v1/dashboards/CreateDashboard_3250131584.py b/examples/v1/dashboards/CreateDashboard_3250131584.py index 63a54b5fae..4ffaaa760f 100644 --- a/examples/v1/dashboards/CreateDashboard_3250131584.py +++ b/examples/v1/dashboards/CreateDashboard_3250131584.py @@ -18,8 +18,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=9, ), diff --git a/examples/v1/dashboards/CreateDashboard_3513586382.py b/examples/v1/dashboards/CreateDashboard_3513586382.py index f22e7596f9..7b152a159f 100644 --- a/examples/v1/dashboards/CreateDashboard_3513586382.py +++ b/examples/v1/dashboards/CreateDashboard_3513586382.py @@ -76,8 +76,8 @@ ), ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=12, height=6, ), diff --git a/examples/v1/dashboards/CreateDashboard_3562282606.py b/examples/v1/dashboards/CreateDashboard_3562282606.py index 959e882454..8dc177a9bd 100644 --- a/examples/v1/dashboards/CreateDashboard_3562282606.py +++ b/examples/v1/dashboards/CreateDashboard_3562282606.py @@ -68,8 +68,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_3777304439.py b/examples/v1/dashboards/CreateDashboard_3777304439.py index 9fa3a55c80..c38ae8c934 100644 --- a/examples/v1/dashboards/CreateDashboard_3777304439.py +++ b/examples/v1/dashboards/CreateDashboard_3777304439.py @@ -26,8 +26,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=15, ), diff --git a/examples/v1/dashboards/CreateDashboard_3882428227.py b/examples/v1/dashboards/CreateDashboard_3882428227.py index 6d51ae186d..09723a2ae0 100644 --- a/examples/v1/dashboards/CreateDashboard_3882428227.py +++ b/examples/v1/dashboards/CreateDashboard_3882428227.py @@ -74,8 +74,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_417992286.py b/examples/v1/dashboards/CreateDashboard_417992286.py index 7b7a7ff4d4..5f78df485d 100644 --- a/examples/v1/dashboards/CreateDashboard_417992286.py +++ b/examples/v1/dashboards/CreateDashboard_417992286.py @@ -17,8 +17,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=18, height=24, ), diff --git a/examples/v1/dashboards/CreateDashboard_578885732.py b/examples/v1/dashboards/CreateDashboard_578885732.py index 3358249f25..0f3d4957d7 100644 --- a/examples/v1/dashboards/CreateDashboard_578885732.py +++ b/examples/v1/dashboards/CreateDashboard_578885732.py @@ -77,8 +77,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_651038379.py b/examples/v1/dashboards/CreateDashboard_651038379.py index 918bdca25d..56088f30a2 100644 --- a/examples/v1/dashboards/CreateDashboard_651038379.py +++ b/examples/v1/dashboards/CreateDashboard_651038379.py @@ -18,8 +18,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=12, height=12, ), diff --git a/examples/v1/dashboards/CreateDashboard_765140092.py b/examples/v1/dashboards/CreateDashboard_765140092.py index 322e1a8b8a..00a2322dc9 100644 --- a/examples/v1/dashboards/CreateDashboard_765140092.py +++ b/examples/v1/dashboards/CreateDashboard_765140092.py @@ -63,8 +63,8 @@ ), ), layout=WidgetLayout( - y=0, - x=0, + y=0.0, + x=0.0, height=2, width=2, ), diff --git a/examples/v1/dashboards/CreateDashboard_794302680.py b/examples/v1/dashboards/CreateDashboard_794302680.py index 7309945853..59d7fff731 100644 --- a/examples/v1/dashboards/CreateDashboard_794302680.py +++ b/examples/v1/dashboards/CreateDashboard_794302680.py @@ -160,8 +160,8 @@ has_search_bar=TableWidgetHasSearchBar.NEVER, ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_798168180.py b/examples/v1/dashboards/CreateDashboard_798168180.py index 2c4ed482fa..d9ac32d4b1 100644 --- a/examples/v1/dashboards/CreateDashboard_798168180.py +++ b/examples/v1/dashboards/CreateDashboard_798168180.py @@ -52,8 +52,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_803346562.py b/examples/v1/dashboards/CreateDashboard_803346562.py index 7773b55587..cda0e9c7f8 100644 --- a/examples/v1/dashboards/CreateDashboard_803346562.py +++ b/examples/v1/dashboards/CreateDashboard_803346562.py @@ -37,8 +37,8 @@ ], ), layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=4, height=4, ), diff --git a/examples/v1/dashboards/CreateDashboard_913313564.py b/examples/v1/dashboards/CreateDashboard_913313564.py index eea6798376..5af24f0ee0 100644 --- a/examples/v1/dashboards/CreateDashboard_913313564.py +++ b/examples/v1/dashboards/CreateDashboard_913313564.py @@ -17,8 +17,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=12, height=12, ), diff --git a/examples/v1/dashboards/CreateDashboard_915214113.py b/examples/v1/dashboards/CreateDashboard_915214113.py index 7aef498a5d..03a9fffbf6 100644 --- a/examples/v1/dashboards/CreateDashboard_915214113.py +++ b/examples/v1/dashboards/CreateDashboard_915214113.py @@ -44,8 +44,8 @@ widgets=[ Widget( layout=WidgetLayout( - x=0, - y=0, + x=0.0, + y=0.0, width=47, height=30, ), diff --git a/src/datadog_api_client/v1/model/widget_layout.py b/src/datadog_api_client/v1/model/widget_layout.py index e67ed855cf..9b656a008e 100644 --- a/src/datadog_api_client/v1/model/widget_layout.py +++ b/src/datadog_api_client/v1/model/widget_layout.py @@ -35,8 +35,8 @@ def openapi_types(_): "height": (int,), "is_column_break": (bool,), "width": (int,), - "x": (int,), - "y": (int,), + "x": (float,), + "y": (float,), } attribute_map = { @@ -48,7 +48,7 @@ def openapi_types(_): } def __init__( - self_, height: int, width: int, x: int, y: int, is_column_break: Union[bool, UnsetType] = unset, **kwargs + self_, height: int, width: int, x: float, y: float, is_column_break: Union[bool, UnsetType] = unset, **kwargs ): """ The layout for a widget on a ``free`` or **new dashboard layout** dashboard. @@ -63,11 +63,11 @@ def __init__( :param width: The width of the widget. Should be a non-negative integer. :type width: int - :param x: The position of the widget on the x (horizontal) axis. Should be a non-negative integer. - :type x: int + :param x: The position of the widget on the x (horizontal) axis. Should be a non-negative number. + :type x: float - :param y: The position of the widget on the y (vertical) axis. Should be a non-negative integer. - :type y: int + :param y: The position of the widget on the y (vertical) axis. Should be a non-negative number. + :type y: float """ if is_column_break is not unset: kwargs["is_column_break"] = is_column_break