Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change int to float. #2506

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-04 10:38:24.095988",
"spec_repo_commit": "7a63d530"
"regenerated": "2024-10-04 13:47:51.718305",
"spec_repo_commit": "7679754f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-04 10:38:24.110677",
"spec_repo_commit": "7a63d530"
"regenerated": "2024-10-04 13:47:51.732772",
"spec_repo_commit": "7679754f"
}
}
}
12 changes: 6 additions & 6 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22548,18 +22548,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
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1024858348.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void main(String[] args) {
.COUNT)))))
.responseFormat(
FormulaAndFunctionResponseFormat.SCALAR)))))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(4L))))
.layout(new WidgetLayout().width(4L).height(4L))))
.layoutType(DashboardLayoutType.ORDERED);

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_109450134.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(60L).height(21L))
.layout(new WidgetLayout().width(60L).height(21L))
.definition(
new WidgetDefinition(
new SLOListWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1094917386.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(50L).height(25L))
.layout(new WidgetLayout().width(50L).height(25L))
.definition(
new WidgetDefinition(
new MonitorSummaryWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1177423752.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new HeatMapWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1200099236.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(22L))
.layout(new WidgetLayout().width(47L).height(22L))
.definition(
new WidgetDefinition(
new HostMapWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1213075383.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new ToplistWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1413226400.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new ToplistWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1423904722.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(60L).height(21L))
.layout(new WidgetLayout().width(60L).height(21L))
.definition(
new WidgetDefinition(
new SLOListWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1442588603.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static void main(String[] args) {
DistributionWidgetHistogramRequestType
.HISTOGRAM)
.style(new WidgetStyle().palette("dog_classic"))))))
.layout(new WidgetLayout().x(8L).y(0L).width(4L).height(2L))))
.layout(new WidgetLayout().x(8.0).width(4L).height(2L))))
.layoutType(DashboardLayoutType.ORDERED);

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_145494973.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void main(String[] args) {
.groupBy(
Collections.singletonList(
"resource_name")))))))))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(4L))))
.layout(new WidgetLayout().width(4L).height(4L))))
.layoutType(DashboardLayoutType.ORDERED);

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_173805046.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(60L).height(21L))
.layout(new WidgetLayout().width(60L).height(21L))
.definition(
new WidgetDefinition(
new SLOWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_1738608750.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(24L).height(6L))
.layout(new WidgetLayout().width(24L).height(6L))
.definition(
new WidgetDefinition(
new FreeTextWidgetDefinition()
Expand Down
4 changes: 2 additions & 2 deletions examples/v1/dashboards/CreateDashboard_1754992756.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public static void main(String[] args) {
"baz", "qux", "quuz")))))))
.layout(
new WidgetLayout()
.x(1L)
.y(1L)
.x(1.0)
.y(1.0)
.width(2L)
.height(2L)
.isColumnBreak(false))))
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2029850837.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(36L))
.layout(new WidgetLayout().width(47L).height(36L))
.definition(
new WidgetDefinition(
new LogStreamWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2034634967.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new ServiceMapWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2064651578.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static void main(String[] args) {
.orderBy(WidgetOrderBy.CHANGE)
.changeType(WidgetChangeType.ABSOLUTE)
.orderDir(WidgetSort.DESCENDING)))))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(4L))))
.layout(new WidgetLayout().width(4L).height(4L))))
.tags(Collections.singletonList("team:foobar"))
.layoutType(DashboardLayoutType.ORDERED);

Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2104498738.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void main(String[] args) {
.AVG))))
.responseFormat(
FormulaAndFunctionResponseFormat.SCALAR)))))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(2L))))
.layout(new WidgetLayout().width(4L).height(2L))))
.layoutType(DashboardLayoutType.ORDERED);

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2278756614.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(12L).height(8L))
.layout(new WidgetLayout().width(12L).height(8L))
.definition(
new WidgetDefinition(
new SplitGraphWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2308247857.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new AlertGraphWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2316374332.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(15L).height(8L))
.layout(new WidgetLayout().width(15L).height(8L))
.definition(
new WidgetDefinition(
new AlertValueWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2336428357.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(54L).height(32L))
.layout(new WidgetLayout().width(54L).height(32L))
.definition(
new WidgetDefinition(
new TableWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2342457693.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new ScatterPlotWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2349863258.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new QueryValueWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2490110261.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void main(String[] args) {
.indexes(
Collections.singletonList(
"*")))))))))
.layout(new WidgetLayout().x(2L).y(0L).width(4L).height(2L))));
.layout(new WidgetLayout().x(2.0).width(4L).height(2L))));

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_252716965.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static void main(String[] args) {
DistributionWidgetHistogramRequestType
.HISTOGRAM)
.style(new WidgetStyle().palette("dog_classic"))))))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(2L))))
.layout(new WidgetLayout().width(4L).height(2L))))
.layoutType(DashboardLayoutType.ORDERED);

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2563642929.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new ToplistWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2607944105.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(15L).height(8L))
.layout(new WidgetLayout().width(15L).height(8L))
.definition(
new WidgetDefinition(
new CheckStatusWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2610827685.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new RunWorkflowWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2634813877.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(38L))
.layout(new WidgetLayout().width(47L).height(38L))
.definition(
new WidgetDefinition(
new EventStreamWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2644712913.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static void main(String[] args) {
FormulaAndFunctionMetricAggregation
.PERCENTILE))))))
.type(QueryValueWidgetDefinitionType.QUERY_VALUE)))
.layout(new WidgetLayout().y(0L).x(0L).height(2L).width(2L))));
.layout(new WidgetLayout().height(2L).width(2L))));

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2652180930.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(15L))
.layout(new WidgetLayout().width(47L).height(15L))
.definition(
new WidgetDefinition(
new TopologyMapWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2705593938.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void main(String[] args) {
FormulaAndFunctionMetricAggregation
.SUM))))
.style(new WidgetStyle().palette("dog_classic"))))))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(4L))))
.layout(new WidgetLayout().width(4L).height(4L))))
.layoutType(DashboardLayoutType.ORDERED);

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2917274132.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(50L).height(25L))
.layout(new WidgetLayout().width(50L).height(25L))
.definition(
new WidgetDefinition(
new MonitorSummaryWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_2921337351.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(72L).height(72L))
.layout(new WidgetLayout().width(72L).height(72L))
.definition(
new WidgetDefinition(
new ServiceSummaryWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_3250131584.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void main(String[] args) {
.widgets(
Collections.singletonList(
new Widget()
.layout(new WidgetLayout().x(0L).y(0L).width(47L).height(9L))
.layout(new WidgetLayout().width(47L).height(9L))
.definition(
new WidgetDefinition(
new EventTimelineWidgetDefinition()
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_3513586382.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static void main(String[] args) {
.palette("hostmap_blues")
.paletteFlip(false))
.view(new GeomapWidgetDefinitionView().focus("WORLD"))))
.layout(new WidgetLayout().x(0L).y(0L).width(12L).height(6L))))
.layout(new WidgetLayout().width(12L).height(6L))))
.layoutType(DashboardLayoutType.ORDERED)
.reflowType(DashboardReflowType.FIXED);

Expand Down
2 changes: 1 addition & 1 deletion examples/v1/dashboards/CreateDashboard_3562282606.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static void main(String[] args) {
.changeType(WidgetChangeType.ABSOLUTE)
.increaseGood(true)
.orderDir(WidgetSort.ASCENDING)))))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(2L))))
.layout(new WidgetLayout().width(4L).height(2L))))
.layoutType(DashboardLayoutType.ORDERED);

try {
Expand Down
Loading
Loading