Skip to content
Merged
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-11-14 18:22:36.332328",
"spec_repo_commit": "f35f7750"
"regenerated": "2024-11-14 19:25:53.826679",
"spec_repo_commit": "03f60dd8"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-14 18:22:36.351458",
"spec_repo_commit": "f35f7750"
"regenerated": "2024-11-14 19:25:53.845577",
"spec_repo_commit": "03f60dd8"
}
}
}
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_109450134.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public static void main(String[] args) {
.order(WidgetSort.ASCENDING))))
.requestType(
SLOListWidgetRequestType.SLO_LIST)))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1094917386.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public static void main(String[] args) {
.count(50L)
.start(0L)
.showPriority(false)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1177423752.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public static void main(String[] args) {
.q("avg:system.cpu.user{*} by {service}")
.style(
new WidgetStyle().palette("dog_classic"))))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1200099236.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ public static void main(String[] args) {
new HostMapWidgetDefinitionStyle()
.palette("green_to_orange")
.paletteFlip(false))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1213075383.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ public static void main(String[] args) {
.DESCENDING)))))
.responseFormat(
FormulaAndFunctionResponseFormat.SCALAR)))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1413226400.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ public static void main(String[] args) {
.ASCENDING)))))
.responseFormat(
FormulaAndFunctionResponseFormat.SCALAR)))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1423904722.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public static void main(String[] args) {
.limit(75L))
.requestType(
SLOListWidgetRequestType.SLO_LIST)))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_173805046.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public static void main(String[] args) {
.viewMode(WidgetViewMode.OVERALL)
.globalTimeTarget("0")
.additionalQueryFilters("!host:excluded_host")))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1738608750.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ public static void main(String[] args) {
.color("#4d4d4d")
.fontSize("auto")
.textAlign(WidgetTextAlign.LEFT)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_1754992756.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public static void main(String[] args) {
.width(2L)
.height(2L)
.isColumnBreak(false))))
.description("description")
.isReadOnly(false);
.description("description");

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2029850837.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ public static void main(String[] args) {
.showDateColumn(true)
.showMessageColumn(true)
.messageDisplay(WidgetMessageDisplay.EXPANDED_MEDIUM)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2034634967.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public static void main(String[] args) {
.type(ServiceMapWidgetDefinitionType.SERVICEMAP)
.service("")
.filters(Arrays.asList("env:none", "environment:*"))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2278756614.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ public static void main(String[] args) {
"env"))))))
.size(SplitGraphVizSize.MD)
.hasUniformYAxes(true)))))
.layoutType(DashboardLayoutType.ORDERED)
.isReadOnly(false);
.layoutType(DashboardLayoutType.ORDERED);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2308247857.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ public static void main(String[] args) {
.type(AlertGraphWidgetDefinitionType.ALERT_GRAPH)
.alertId("7")
.vizType(WidgetVizType.TIMESERIES)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2316374332.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public static void main(String[] args) {
.unit("auto")
.textAlign(WidgetTextAlign.LEFT)
.precision(2L)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2336428357.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ public static void main(String[] args) {
.responseFormat(
FormulaAndFunctionResponseFormat.SCALAR)))
.hasSearchBar(TableWidgetHasSearchBar.AUTO)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2342457693.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ public static void main(String[] args) {
.includeZero(true)
.min("auto")
.max("auto"))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2349863258.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public static void main(String[] args) {
.AVG))))))
.autoscale(true)
.precision(2L)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2563642929.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ public static void main(String[] args) {
.ASCENDING)))))
.responseFormat(
FormulaAndFunctionResponseFormat.SCALAR)))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2607944105.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public static void main(String[] args) {
.check("datadog.agent.up")
.grouping(WidgetGrouping.CHECK)
.tags(Collections.singletonList("*"))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2610827685.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public static void main(String[] args) {
new RunWorkflowWidgetInput()
.name("environment")
.value("$env.value")))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2634813877.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ public static void main(String[] args) {
.query("example-query")
.tagsExecution("and")
.eventSize(WidgetEventSize.SMALL)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2652180930.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public static void main(String[] args) {
.filters(
Arrays.asList(
"env:none", "environment:*")))))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
1 change: 0 additions & 1 deletion examples/v1/dashboards/CreateDashboard_2850365602.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public static void main(String[] args) {
Dashboard body =
new Dashboard()
.description(null)
.isReadOnly(false)
.layoutType(DashboardLayoutType.ORDERED)
.reflowType(DashboardReflowType.AUTO)
.templateVariablePresets(
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2917274132.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public static void main(String[] args) {
.sort(WidgetMonitorSummarySort.STATUS_ASCENDING)
.count(50L)
.start(0L)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_2921337351.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public static void main(String[] args) {
.showResourceList(false)
.sizeFormat(WidgetSizeFormat.MEDIUM)
.displayFormat(WidgetServiceSummaryDisplayFormat.TWO_COLUMN)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_3250131584.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ public static void main(String[] args) {
.type(EventTimelineWidgetDefinitionType.EVENT_TIMELINE)
.query("status:error priority:all")
.tagsExecution("and")))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_3777304439.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public static void main(String[] args) {
new WidgetFormula().formula("query1")))
.style(
new WidgetStyle().palette("dog_classic"))))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_417992286.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ public static void main(String[] args) {
new NoteWidgetDefinition()
.type(NoteWidgetDefinitionType.NOTE)
.content("# Example Note")))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_651038379.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ public static void main(String[] args) {
.type(ImageWidgetDefinitionType.IMAGE)
.url("https://example.com/image.png")
.sizing(WidgetImageSizing.COVER)))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_794302680.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,7 @@ public static void main(String[] args) {
.customFgColor("#632ca6"))))))
.hasSearchBar(TableWidgetHasSearchBar.NEVER)))
.layout(new WidgetLayout().x(0L).y(0L).width(4L).height(4L))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
1 change: 0 additions & 1 deletion examples/v1/dashboards/CreateDashboard_858397694.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public static void main(String[] args) {
Dashboard body =
new Dashboard()
.description(null)
.isReadOnly(false)
.layoutType(DashboardLayoutType.ORDERED)
.reflowType(DashboardReflowType.AUTO)
.templateVariables(
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_913313564.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ public static void main(String[] args) {
new IFrameWidgetDefinition()
.type(IFrameWidgetDefinitionType.IFRAME)
.url("https://docs.datadoghq.com/api/latest/")))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
3 changes: 1 addition & 2 deletions examples/v1/dashboards/CreateDashboard_915214113.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ public static void main(String[] args) {
.palette("hostmap_blues")
.paletteFlip(false))
.view(new GeomapWidgetDefinitionView().focus("WORLD"))))))
.layoutType(DashboardLayoutType.FREE)
.isReadOnly(false);
.layoutType(DashboardLayoutType.FREE);

try {
Dashboard result = apiInstance.createDashboard(body);
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-06-03T14:40:30.273Z
2024-11-14T19:12:06.088Z
Loading
Loading