Skip to content

Commit

Permalink
Regenerate client from commit 3ee9214 of spec repo (#654)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 12, 2021
1 parent 627a63c commit 1b5e4b3
Show file tree
Hide file tree
Showing 16 changed files with 1,078 additions and 9 deletions.
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.4.1.dev2",
"regenerated": "2021-02-12 09:26:24.323929",
"spec_repo_commit": "8d710e1"
"regenerated": "2021-02-12 15:10:30.396849",
"spec_repo_commit": "3ee9214"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-12 09:26:34.189653",
"spec_repo_commit": "8d710e1"
"regenerated": "2021-02-12 15:10:41.208494",
"spec_repo_commit": "3ee9214"
}
}
}
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ src/main/java/com/datadog/api/v2/client/model/UserUpdateData.java
src/main/java/com/datadog/api/v2/client/model/UserUpdateRequest.java
src/main/java/com/datadog/api/v2/client/model/UsersResponse.java
src/main/java/com/datadog/api/v2/client/model/UsersType.java
src/test/java/com/datadog/api/v2/client/api/MetricsApiTest.java
src/test/java/com/datadog/api/v2/client/model/APIErrorResponseTest.java
src/test/java/com/datadog/api/v2/client/model/APIKeyCreateAttributesTest.java
src/test/java/com/datadog/api/v2/client/model/APIKeyCreateDataTest.java
Expand Down
21 changes: 21 additions & 0 deletions api_docs/v1/GeomapWidgetDefinition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


# GeomapWidgetDefinition

This visualization displays a series of values by country on a world map.
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**customLinks** | [**List&lt;WidgetCustomLink&gt;**](WidgetCustomLink.md) | A list of custom links. | [optional]
**requests** | [**List&lt;GeomapWidgetRequest&gt;**](GeomapWidgetRequest.md) | Array of one request object to display in the widget. The request must contain a &#x60;group-by&#x60; tag whose value is a country ISO code. See the [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json) for information about building the &#x60;REQUEST_SCHEMA&#x60;. |
**style** | [**GeomapWidgetDefinitionStyle**](GeomapWidgetDefinitionStyle.md) | |
**time** | [**WidgetTime**](WidgetTime.md) | | [optional]
**title** | **String** | The title of your widget. | [optional]
**titleAlign** | **WidgetTextAlign** | | [optional]
**titleSize** | **String** | The size of the title. | [optional]
**type** | **GeomapWidgetDefinitionType** | |
**view** | [**GeomapWidgetDefinitionView**](GeomapWidgetDefinitionView.md) | |



14 changes: 14 additions & 0 deletions api_docs/v1/GeomapWidgetDefinitionStyle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# GeomapWidgetDefinitionStyle

The style to apply to the widget.
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**palette** | **String** | The color palette to apply to the widget. |
**paletteFlip** | **Boolean** | Whether to flip the palette tones. |



11 changes: 11 additions & 0 deletions api_docs/v1/GeomapWidgetDefinitionType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


# GeomapWidgetDefinitionType

## Enum


* `GEOMAP` (value: `"geomap"`)



13 changes: 13 additions & 0 deletions api_docs/v1/GeomapWidgetDefinitionView.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# GeomapWidgetDefinitionView

The view of the world that the map should render.
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**focus** | **String** | The 2-letter ISO code of a country to focus the map on. Or &#x60;WORLD&#x60;. |



15 changes: 15 additions & 0 deletions api_docs/v1/GeomapWidgetRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# GeomapWidgetRequest

An updated geomap widget.
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**logQuery** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional]
**q** | **String** | The widget metrics query. | [optional]
**rumQuery** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional]



5 changes: 5 additions & 0 deletions api_docs/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,11 @@ Class | Method | HTTP request | Description
- [FreeTextWidgetDefinition](FreeTextWidgetDefinition.md)
- [FreeTextWidgetDefinitionType](FreeTextWidgetDefinitionType.md)
- [GCPAccount](GCPAccount.md)
- [GeomapWidgetDefinition](GeomapWidgetDefinition.md)
- [GeomapWidgetDefinitionStyle](GeomapWidgetDefinitionStyle.md)
- [GeomapWidgetDefinitionType](GeomapWidgetDefinitionType.md)
- [GeomapWidgetDefinitionView](GeomapWidgetDefinitionView.md)
- [GeomapWidgetRequest](GeomapWidgetRequest.md)
- [GraphSnapshot](GraphSnapshot.md)
- [GroupWidgetDefinition](GroupWidgetDefinition.md)
- [GroupWidgetDefinitionType](GroupWidgetDefinitionType.md)
Expand Down
9 changes: 9 additions & 0 deletions api_docs/v1/WidgetDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* [EventStreamWidgetDefinition](EventStreamWidgetDefinition.md)
* [EventTimelineWidgetDefinition](EventTimelineWidgetDefinition.md)
* [FreeTextWidgetDefinition](FreeTextWidgetDefinition.md)
* [GeomapWidgetDefinition](GeomapWidgetDefinition.md)
* [GroupWidgetDefinition](GroupWidgetDefinition.md)
* [HeatMapWidgetDefinition](HeatMapWidgetDefinition.md)
* [HostMapWidgetDefinition](HostMapWidgetDefinition.md)
Expand Down Expand Up @@ -42,6 +43,7 @@ import com.datadog.api.v1.client.model.DistributionWidgetDefinition;
import com.datadog.api.v1.client.model.EventStreamWidgetDefinition;
import com.datadog.api.v1.client.model.EventTimelineWidgetDefinition;
import com.datadog.api.v1.client.model.FreeTextWidgetDefinition;
import com.datadog.api.v1.client.model.GeomapWidgetDefinition;
import com.datadog.api.v1.client.model.GroupWidgetDefinition;
import com.datadog.api.v1.client.model.HeatMapWidgetDefinition;
import com.datadog.api.v1.client.model.HostMapWidgetDefinition;
Expand Down Expand Up @@ -119,6 +121,13 @@ public class Example {
// to get back the FreeTextWidgetDefinition set earlier
FreeTextWidgetDefinition testFreeTextWidgetDefinition = (FreeTextWidgetDefinition) exampleWidgetDefinition.getActualInstance();

// create a new GeomapWidgetDefinition
GeomapWidgetDefinition exampleGeomapWidgetDefinition = new GeomapWidgetDefinition();
// set WidgetDefinition to GeomapWidgetDefinition
exampleWidgetDefinition.setActualInstance(exampleGeomapWidgetDefinition);
// to get back the GeomapWidgetDefinition set earlier
GeomapWidgetDefinition testGeomapWidgetDefinition = (GeomapWidgetDefinition) exampleWidgetDefinition.getActualInstance();

// create a new GroupWidgetDefinition
GroupWidgetDefinition exampleGroupWidgetDefinition = new GroupWidgetDefinition();
// set WidgetDefinition to GroupWidgetDefinition
Expand Down
Loading

0 comments on commit 1b5e4b3

Please sign in to comment.