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.4.1.dev2",
"regenerated": "2021-01-11 08:50:34.813956",
"spec_repo_commit": "d085f50"
"regenerated": "2021-01-11 14:02:15.822172",
"spec_repo_commit": "fc003cf"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-01-11 08:50:45.207907",
"spec_repo_commit": "d085f50"
"regenerated": "2021-01-11 14:02:24.954102",
"spec_repo_commit": "fc003cf"
}
}
}
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ docs/APIKeyUpdateAttributes.md
docs/APIKeyUpdateData.md
docs/APIKeyUpdateRequest.md
docs/APIKeysResponse.md
docs/APIKeysSort.md
docs/APIKeysType.md
docs/ApplicationKeyCreateAttributes.md
docs/ApplicationKeyCreateData.md
Expand All @@ -24,6 +25,7 @@ docs/ApplicationKeyResponseIncludedItem.md
docs/ApplicationKeyUpdateAttributes.md
docs/ApplicationKeyUpdateData.md
docs/ApplicationKeyUpdateRequest.md
docs/ApplicationKeysSort.md
docs/ApplicationKeysType.md
docs/Creator.md
docs/DashboardListAddItemsRequest.md
Expand Down Expand Up @@ -331,6 +333,7 @@ src/main/java/com/datadog/api/v2/client/model/APIKeyUpdateAttributes.java
src/main/java/com/datadog/api/v2/client/model/APIKeyUpdateData.java
src/main/java/com/datadog/api/v2/client/model/APIKeyUpdateRequest.java
src/main/java/com/datadog/api/v2/client/model/APIKeysResponse.java
src/main/java/com/datadog/api/v2/client/model/APIKeysSort.java
src/main/java/com/datadog/api/v2/client/model/APIKeysType.java
src/main/java/com/datadog/api/v2/client/model/AbstractOpenApiSchema.java
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyCreateAttributes.java
Expand All @@ -342,6 +345,7 @@ src/main/java/com/datadog/api/v2/client/model/ApplicationKeyResponseIncludedItem
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateAttributes.java
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateData.java
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateRequest.java
src/main/java/com/datadog/api/v2/client/model/ApplicationKeysSort.java
src/main/java/com/datadog/api/v2/client/model/ApplicationKeysType.java
src/main/java/com/datadog/api/v2/client/model/Creator.java
src/main/java/com/datadog/api/v2/client/model/DashboardListAddItemsRequest.java
Expand Down Expand Up @@ -602,6 +606,7 @@ src/test/java/com/datadog/api/v2/client/model/APIKeyUpdateAttributesTest.java
src/test/java/com/datadog/api/v2/client/model/APIKeyUpdateDataTest.java
src/test/java/com/datadog/api/v2/client/model/APIKeyUpdateRequestTest.java
src/test/java/com/datadog/api/v2/client/model/APIKeysResponseTest.java
src/test/java/com/datadog/api/v2/client/model/APIKeysSortTest.java
src/test/java/com/datadog/api/v2/client/model/APIKeysTypeTest.java
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyCreateAttributesTest.java
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyCreateDataTest.java
Expand All @@ -612,6 +617,7 @@ src/test/java/com/datadog/api/v2/client/model/ApplicationKeyResponseTest.java
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateAttributesTest.java
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateDataTest.java
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateRequestTest.java
src/test/java/com/datadog/api/v2/client/model/ApplicationKeysSortTest.java
src/test/java/com/datadog/api/v2/client/model/ApplicationKeysTypeTest.java
src/test/java/com/datadog/api/v2/client/model/CreatorTest.java
src/test/java/com/datadog/api/v2/client/model/DashboardListAddItemsRequestTest.java
Expand Down
116 changes: 56 additions & 60 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,7 @@ paths:
name: sort
required: false
schema:
default: name
enum:
- created_at
- -created_at
- last4
- -last4
- modified_at
- -modified_at
- name
- -name
type: string
$ref: '#/components/schemas/APIKeysSort'
style: form
- description: Filter API keys by the specified string.
explode: true
Expand Down Expand Up @@ -442,15 +432,7 @@ paths:
name: sort
required: false
schema:
default: name
enum:
- created_at
- -created_at
- last4
- -last4
- name
- -name
type: string
$ref: '#/components/schemas/ApplicationKeysSort'
style: form
- description: Filter application keys by the specified string.
explode: true
Expand Down Expand Up @@ -631,15 +613,7 @@ paths:
name: sort
required: false
schema:
default: name
enum:
- created_at
- -created_at
- last4
- -last4
- name
- -name
type: string
$ref: '#/components/schemas/ApplicationKeysSort'
style: form
- description: Filter application keys by the specified string.
explode: true
Expand Down Expand Up @@ -4553,17 +4527,7 @@ components:
name: sort
required: false
schema:
default: name
enum:
- created_at
- -created_at
- last4
- -last4
- modified_at
- -modified_at
- name
- -name
type: string
$ref: '#/components/schemas/APIKeysSort'
style: form
ApplicationKeyFilterCreatedAtEndParameter:
description: Only include application keys created on or before the specified
Expand Down Expand Up @@ -4605,6 +4569,18 @@ components:
schema:
type: string
style: simple
ApplicationKeysSortParameter:
description: |-
Application key attribute used to sort results. Sort order is ascending
by default. In order to specify a descending sort, prefix the
attribute with a minus sign.
explode: true
in: query
name: sort
required: false
schema:
$ref: '#/components/schemas/ApplicationKeysSort'
style: form
ArchiveID:
description: The ID of the archive.
explode: false
Expand Down Expand Up @@ -4699,26 +4675,6 @@ components:
example: ExampleTeamName
type: string
style: form
ListApplicationKeysSortParameter:
description: |-
Application key attribute used to sort results. Sort order is ascending
by default. In order to specify a descending sort, prefix the
attribute with a minus sign.
explode: true
in: query
name: sort
required: false
schema:
default: name
enum:
- created_at
- -created_at
- last4
- -last4
- name
- -name
type: string
style: form
MetricID:
description: The name of the log-based metric.
explode: false
Expand Down Expand Up @@ -5045,6 +5001,28 @@ components:
$ref: '#/components/schemas/APIKeyResponseIncludedItem'
type: array
type: object
APIKeysSort:
default: name
description: Sorting options
enum:
- created_at
- -created_at
- last4
- -last4
- modified_at
- -modified_at
- name
- -name
type: string
x-enum-varnames:
- CREATED_AT_ASCENDING
- CREATED_AT_DESCENDING
- LAST4_ASCENDING
- LAST4_DESCENDING
- MODIFIED_AT_ASCENDING
- MODIFIED_AT_DESCENDING
- NAME_ASCENDING
- NAME_DESCENDING
APIKeysType:
default: api_keys
description: API Keys resource type.
Expand Down Expand Up @@ -5186,6 +5164,24 @@ components:
required:
- data
type: object
ApplicationKeysSort:
default: name
description: Sorting options
enum:
- created_at
- -created_at
- last4
- -last4
- name
- -name
type: string
x-enum-varnames:
- CREATED_AT_ASCENDING
- CREATED_AT_DESCENDING
- LAST4_ASCENDING
- LAST4_DESCENDING
- NAME_ASCENDING
- NAME_DESCENDING
ApplicationKeysType:
default: application_keys
description: Application Keys resource type.
Expand Down
25 changes: 25 additions & 0 deletions api_docs/v2/APIKeysSort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@


# APIKeysSort

## Enum


* `CREATED_AT_ASCENDING` (value: `"created_at"`)

* `CREATED_AT_DESCENDING` (value: `"-created_at"`)

* `LAST4_ASCENDING` (value: `"last4"`)

* `LAST4_DESCENDING` (value: `"-last4"`)

* `MODIFIED_AT_ASCENDING` (value: `"modified_at"`)

* `MODIFIED_AT_DESCENDING` (value: `"-modified_at"`)

* `NAME_ASCENDING` (value: `"name"`)

* `NAME_DESCENDING` (value: `"-name"`)



21 changes: 21 additions & 0 deletions api_docs/v2/ApplicationKeysSort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


# ApplicationKeysSort

## Enum


* `CREATED_AT_ASCENDING` (value: `"created_at"`)

* `CREATED_AT_DESCENDING` (value: `"-created_at"`)

* `LAST4_ASCENDING` (value: `"last4"`)

* `LAST4_DESCENDING` (value: `"-last4"`)

* `NAME_ASCENDING` (value: `"name"`)

* `NAME_DESCENDING` (value: `"-name"`)



12 changes: 6 additions & 6 deletions api_docs/v2/KeyManagementApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ public class Example {
KeyManagementApi apiInstance = new KeyManagementApi(defaultClient);
Long pageSize = 10l; // Long | Size for a given page.
Long pageNumber = 0l; // Long | Specific page number to return.
String sort = "name"; // String | API key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
APIKeysSort sort = APIKeysSort.fromValue("created_at"); // APIKeysSort | API key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
String filter = "filter_example"; // String | Filter API keys by the specified string.
String filterCreatedAtStart = "2020-11-24T18:46:21+00:00"; // String | Only include API keys created on or after the specified date.
String filterCreatedAtEnd = "2020-11-24T18:46:21+00:00"; // String | Only include API keys created on or before the specified date.
Expand Down Expand Up @@ -666,7 +666,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pageSize** | **Long**| Size for a given page. | [optional] [default to 10l]
**pageNumber** | **Long**| Specific page number to return. | [optional] [default to 0l]
**sort** | **String**| API key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. | [optional] [default to name] [enum: created_at, -created_at, last4, -last4, modified_at, -modified_at, name, -name]
**sort** | **APIKeysSort**| API key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. | [optional] [default to name] [enum: created_at, -created_at, last4, -last4, modified_at, -modified_at, name, -name]
**filter** | **String**| Filter API keys by the specified string. | [optional]
**filterCreatedAtStart** | **String**| Only include API keys created on or after the specified date. | [optional]
**filterCreatedAtEnd** | **String**| Only include API keys created on or before the specified date. | [optional]
Expand Down Expand Up @@ -734,7 +734,7 @@ public class Example {
KeyManagementApi apiInstance = new KeyManagementApi(defaultClient);
Long pageSize = 10l; // Long | Size for a given page.
Long pageNumber = 0l; // Long | Specific page number to return.
String sort = "name"; // String | Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
ApplicationKeysSort sort = ApplicationKeysSort.fromValue("created_at"); // ApplicationKeysSort | Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
String filter = "filter_example"; // String | Filter application keys by the specified string.
String filterCreatedAtStart = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or after the specified date.
String filterCreatedAtEnd = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or before the specified date.
Expand Down Expand Up @@ -766,7 +766,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pageSize** | **Long**| Size for a given page. | [optional] [default to 10l]
**pageNumber** | **Long**| Specific page number to return. | [optional] [default to 0l]
**sort** | **String**| Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. | [optional] [default to name] [enum: created_at, -created_at, last4, -last4, name, -name]
**sort** | **ApplicationKeysSort**| Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. | [optional] [default to name] [enum: created_at, -created_at, last4, -last4, name, -name]
**filter** | **String**| Filter application keys by the specified string. | [optional]
**filterCreatedAtStart** | **String**| Only include application keys created on or after the specified date. | [optional]
**filterCreatedAtEnd** | **String**| Only include application keys created on or before the specified date. | [optional]
Expand Down Expand Up @@ -832,7 +832,7 @@ public class Example {
KeyManagementApi apiInstance = new KeyManagementApi(defaultClient);
Long pageSize = 10l; // Long | Size for a given page.
Long pageNumber = 0l; // Long | Specific page number to return.
String sort = "name"; // String | Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
ApplicationKeysSort sort = ApplicationKeysSort.fromValue("created_at"); // ApplicationKeysSort | Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
String filter = "filter_example"; // String | Filter application keys by the specified string.
String filterCreatedAtStart = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or after the specified date.
String filterCreatedAtEnd = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or before the specified date.
Expand Down Expand Up @@ -864,7 +864,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pageSize** | **Long**| Size for a given page. | [optional] [default to 10l]
**pageNumber** | **Long**| Specific page number to return. | [optional] [default to 0l]
**sort** | **String**| Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. | [optional] [default to name] [enum: created_at, -created_at, last4, -last4, name, -name]
**sort** | **ApplicationKeysSort**| Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. | [optional] [default to name] [enum: created_at, -created_at, last4, -last4, name, -name]
**filter** | **String**| Filter application keys by the specified string. | [optional]
**filterCreatedAtStart** | **String**| Only include application keys created on or after the specified date. | [optional]
**filterCreatedAtEnd** | **String**| Only include application keys created on or before the specified date. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions api_docs/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
- [APIKeyUpdateData](APIKeyUpdateData.md)
- [APIKeyUpdateRequest](APIKeyUpdateRequest.md)
- [APIKeysResponse](APIKeysResponse.md)
- [APIKeysSort](APIKeysSort.md)
- [APIKeysType](APIKeysType.md)
- [ApplicationKeyCreateAttributes](ApplicationKeyCreateAttributes.md)
- [ApplicationKeyCreateData](ApplicationKeyCreateData.md)
Expand All @@ -108,6 +109,7 @@ Class | Method | HTTP request | Description
- [ApplicationKeyUpdateAttributes](ApplicationKeyUpdateAttributes.md)
- [ApplicationKeyUpdateData](ApplicationKeyUpdateData.md)
- [ApplicationKeyUpdateRequest](ApplicationKeyUpdateRequest.md)
- [ApplicationKeysSort](ApplicationKeysSort.md)
- [ApplicationKeysType](ApplicationKeysType.md)
- [Creator](Creator.md)
- [DashboardListAddItemsRequest](DashboardListAddItemsRequest.md)
Expand Down
Loading