Skip to content

Commit fc244e4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit fc003cf of spec repo (#601)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 9c11f33 commit fc244e4

File tree

11 files changed

+328
-112
lines changed

11 files changed

+328
-112
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev2",
7-
"regenerated": "2021-01-11 08:50:34.813956",
8-
"spec_repo_commit": "d085f50"
7+
"regenerated": "2021-01-11 14:02:15.822172",
8+
"spec_repo_commit": "fc003cf"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2021-01-11 08:50:45.207907",
13-
"spec_repo_commit": "d085f50"
12+
"regenerated": "2021-01-11 14:02:24.954102",
13+
"spec_repo_commit": "fc003cf"
1414
}
1515
}
1616
}

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ docs/APIKeyUpdateAttributes.md
1414
docs/APIKeyUpdateData.md
1515
docs/APIKeyUpdateRequest.md
1616
docs/APIKeysResponse.md
17+
docs/APIKeysSort.md
1718
docs/APIKeysType.md
1819
docs/ApplicationKeyCreateAttributes.md
1920
docs/ApplicationKeyCreateData.md
@@ -24,6 +25,7 @@ docs/ApplicationKeyResponseIncludedItem.md
2425
docs/ApplicationKeyUpdateAttributes.md
2526
docs/ApplicationKeyUpdateData.md
2627
docs/ApplicationKeyUpdateRequest.md
28+
docs/ApplicationKeysSort.md
2729
docs/ApplicationKeysType.md
2830
docs/Creator.md
2931
docs/DashboardListAddItemsRequest.md
@@ -331,6 +333,7 @@ src/main/java/com/datadog/api/v2/client/model/APIKeyUpdateAttributes.java
331333
src/main/java/com/datadog/api/v2/client/model/APIKeyUpdateData.java
332334
src/main/java/com/datadog/api/v2/client/model/APIKeyUpdateRequest.java
333335
src/main/java/com/datadog/api/v2/client/model/APIKeysResponse.java
336+
src/main/java/com/datadog/api/v2/client/model/APIKeysSort.java
334337
src/main/java/com/datadog/api/v2/client/model/APIKeysType.java
335338
src/main/java/com/datadog/api/v2/client/model/AbstractOpenApiSchema.java
336339
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyCreateAttributes.java
@@ -342,6 +345,7 @@ src/main/java/com/datadog/api/v2/client/model/ApplicationKeyResponseIncludedItem
342345
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateAttributes.java
343346
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateData.java
344347
src/main/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateRequest.java
348+
src/main/java/com/datadog/api/v2/client/model/ApplicationKeysSort.java
345349
src/main/java/com/datadog/api/v2/client/model/ApplicationKeysType.java
346350
src/main/java/com/datadog/api/v2/client/model/Creator.java
347351
src/main/java/com/datadog/api/v2/client/model/DashboardListAddItemsRequest.java
@@ -602,6 +606,7 @@ src/test/java/com/datadog/api/v2/client/model/APIKeyUpdateAttributesTest.java
602606
src/test/java/com/datadog/api/v2/client/model/APIKeyUpdateDataTest.java
603607
src/test/java/com/datadog/api/v2/client/model/APIKeyUpdateRequestTest.java
604608
src/test/java/com/datadog/api/v2/client/model/APIKeysResponseTest.java
609+
src/test/java/com/datadog/api/v2/client/model/APIKeysSortTest.java
605610
src/test/java/com/datadog/api/v2/client/model/APIKeysTypeTest.java
606611
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyCreateAttributesTest.java
607612
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyCreateDataTest.java
@@ -612,6 +617,7 @@ src/test/java/com/datadog/api/v2/client/model/ApplicationKeyResponseTest.java
612617
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateAttributesTest.java
613618
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateDataTest.java
614619
src/test/java/com/datadog/api/v2/client/model/ApplicationKeyUpdateRequestTest.java
620+
src/test/java/com/datadog/api/v2/client/model/ApplicationKeysSortTest.java
615621
src/test/java/com/datadog/api/v2/client/model/ApplicationKeysTypeTest.java
616622
src/test/java/com/datadog/api/v2/client/model/CreatorTest.java
617623
src/test/java/com/datadog/api/v2/client/model/DashboardListAddItemsRequestTest.java

api/openapi.yaml

Lines changed: 56 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,7 @@ paths:
129129
name: sort
130130
required: false
131131
schema:
132-
default: name
133-
enum:
134-
- created_at
135-
- -created_at
136-
- last4
137-
- -last4
138-
- modified_at
139-
- -modified_at
140-
- name
141-
- -name
142-
type: string
132+
$ref: '#/components/schemas/APIKeysSort'
143133
style: form
144134
- description: Filter API keys by the specified string.
145135
explode: true
@@ -442,15 +432,7 @@ paths:
442432
name: sort
443433
required: false
444434
schema:
445-
default: name
446-
enum:
447-
- created_at
448-
- -created_at
449-
- last4
450-
- -last4
451-
- name
452-
- -name
453-
type: string
435+
$ref: '#/components/schemas/ApplicationKeysSort'
454436
style: form
455437
- description: Filter application keys by the specified string.
456438
explode: true
@@ -631,15 +613,7 @@ paths:
631613
name: sort
632614
required: false
633615
schema:
634-
default: name
635-
enum:
636-
- created_at
637-
- -created_at
638-
- last4
639-
- -last4
640-
- name
641-
- -name
642-
type: string
616+
$ref: '#/components/schemas/ApplicationKeysSort'
643617
style: form
644618
- description: Filter application keys by the specified string.
645619
explode: true
@@ -4553,17 +4527,7 @@ components:
45534527
name: sort
45544528
required: false
45554529
schema:
4556-
default: name
4557-
enum:
4558-
- created_at
4559-
- -created_at
4560-
- last4
4561-
- -last4
4562-
- modified_at
4563-
- -modified_at
4564-
- name
4565-
- -name
4566-
type: string
4530+
$ref: '#/components/schemas/APIKeysSort'
45674531
style: form
45684532
ApplicationKeyFilterCreatedAtEndParameter:
45694533
description: Only include application keys created on or before the specified
@@ -4605,6 +4569,18 @@ components:
46054569
schema:
46064570
type: string
46074571
style: simple
4572+
ApplicationKeysSortParameter:
4573+
description: |-
4574+
Application key attribute used to sort results. Sort order is ascending
4575+
by default. In order to specify a descending sort, prefix the
4576+
attribute with a minus sign.
4577+
explode: true
4578+
in: query
4579+
name: sort
4580+
required: false
4581+
schema:
4582+
$ref: '#/components/schemas/ApplicationKeysSort'
4583+
style: form
46084584
ArchiveID:
46094585
description: The ID of the archive.
46104586
explode: false
@@ -4699,26 +4675,6 @@ components:
46994675
example: ExampleTeamName
47004676
type: string
47014677
style: form
4702-
ListApplicationKeysSortParameter:
4703-
description: |-
4704-
Application key attribute used to sort results. Sort order is ascending
4705-
by default. In order to specify a descending sort, prefix the
4706-
attribute with a minus sign.
4707-
explode: true
4708-
in: query
4709-
name: sort
4710-
required: false
4711-
schema:
4712-
default: name
4713-
enum:
4714-
- created_at
4715-
- -created_at
4716-
- last4
4717-
- -last4
4718-
- name
4719-
- -name
4720-
type: string
4721-
style: form
47224678
MetricID:
47234679
description: The name of the log-based metric.
47244680
explode: false
@@ -5045,6 +5001,28 @@ components:
50455001
$ref: '#/components/schemas/APIKeyResponseIncludedItem'
50465002
type: array
50475003
type: object
5004+
APIKeysSort:
5005+
default: name
5006+
description: Sorting options
5007+
enum:
5008+
- created_at
5009+
- -created_at
5010+
- last4
5011+
- -last4
5012+
- modified_at
5013+
- -modified_at
5014+
- name
5015+
- -name
5016+
type: string
5017+
x-enum-varnames:
5018+
- CREATED_AT_ASCENDING
5019+
- CREATED_AT_DESCENDING
5020+
- LAST4_ASCENDING
5021+
- LAST4_DESCENDING
5022+
- MODIFIED_AT_ASCENDING
5023+
- MODIFIED_AT_DESCENDING
5024+
- NAME_ASCENDING
5025+
- NAME_DESCENDING
50485026
APIKeysType:
50495027
default: api_keys
50505028
description: API Keys resource type.
@@ -5186,6 +5164,24 @@ components:
51865164
required:
51875165
- data
51885166
type: object
5167+
ApplicationKeysSort:
5168+
default: name
5169+
description: Sorting options
5170+
enum:
5171+
- created_at
5172+
- -created_at
5173+
- last4
5174+
- -last4
5175+
- name
5176+
- -name
5177+
type: string
5178+
x-enum-varnames:
5179+
- CREATED_AT_ASCENDING
5180+
- CREATED_AT_DESCENDING
5181+
- LAST4_ASCENDING
5182+
- LAST4_DESCENDING
5183+
- NAME_ASCENDING
5184+
- NAME_DESCENDING
51895185
ApplicationKeysType:
51905186
default: application_keys
51915187
description: Application Keys resource type.

api_docs/v2/APIKeysSort.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
3+
# APIKeysSort
4+
5+
## Enum
6+
7+
8+
* `CREATED_AT_ASCENDING` (value: `"created_at"`)
9+
10+
* `CREATED_AT_DESCENDING` (value: `"-created_at"`)
11+
12+
* `LAST4_ASCENDING` (value: `"last4"`)
13+
14+
* `LAST4_DESCENDING` (value: `"-last4"`)
15+
16+
* `MODIFIED_AT_ASCENDING` (value: `"modified_at"`)
17+
18+
* `MODIFIED_AT_DESCENDING` (value: `"-modified_at"`)
19+
20+
* `NAME_ASCENDING` (value: `"name"`)
21+
22+
* `NAME_DESCENDING` (value: `"-name"`)
23+
24+
25+

api_docs/v2/ApplicationKeysSort.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
3+
# ApplicationKeysSort
4+
5+
## Enum
6+
7+
8+
* `CREATED_AT_ASCENDING` (value: `"created_at"`)
9+
10+
* `CREATED_AT_DESCENDING` (value: `"-created_at"`)
11+
12+
* `LAST4_ASCENDING` (value: `"last4"`)
13+
14+
* `LAST4_DESCENDING` (value: `"-last4"`)
15+
16+
* `NAME_ASCENDING` (value: `"name"`)
17+
18+
* `NAME_DESCENDING` (value: `"-name"`)
19+
20+
21+

api_docs/v2/KeyManagementApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ public class Example {
628628
KeyManagementApi apiInstance = new KeyManagementApi(defaultClient);
629629
Long pageSize = 10l; // Long | Size for a given page.
630630
Long pageNumber = 0l; // Long | Specific page number to return.
631-
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.
631+
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.
632632
String filter = "filter_example"; // String | Filter API keys by the specified string.
633633
String filterCreatedAtStart = "2020-11-24T18:46:21+00:00"; // String | Only include API keys created on or after the specified date.
634634
String filterCreatedAtEnd = "2020-11-24T18:46:21+00:00"; // String | Only include API keys created on or before the specified date.
@@ -666,7 +666,7 @@ Name | Type | Description | Notes
666666
------------- | ------------- | ------------- | -------------
667667
**pageSize** | **Long**| Size for a given page. | [optional] [default to 10l]
668668
**pageNumber** | **Long**| Specific page number to return. | [optional] [default to 0l]
669-
**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]
669+
**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]
670670
**filter** | **String**| Filter API keys by the specified string. | [optional]
671671
**filterCreatedAtStart** | **String**| Only include API keys created on or after the specified date. | [optional]
672672
**filterCreatedAtEnd** | **String**| Only include API keys created on or before the specified date. | [optional]
@@ -734,7 +734,7 @@ public class Example {
734734
KeyManagementApi apiInstance = new KeyManagementApi(defaultClient);
735735
Long pageSize = 10l; // Long | Size for a given page.
736736
Long pageNumber = 0l; // Long | Specific page number to return.
737-
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.
737+
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.
738738
String filter = "filter_example"; // String | Filter application keys by the specified string.
739739
String filterCreatedAtStart = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or after the specified date.
740740
String filterCreatedAtEnd = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or before the specified date.
@@ -766,7 +766,7 @@ Name | Type | Description | Notes
766766
------------- | ------------- | ------------- | -------------
767767
**pageSize** | **Long**| Size for a given page. | [optional] [default to 10l]
768768
**pageNumber** | **Long**| Specific page number to return. | [optional] [default to 0l]
769-
**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]
769+
**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]
770770
**filter** | **String**| Filter application keys by the specified string. | [optional]
771771
**filterCreatedAtStart** | **String**| Only include application keys created on or after the specified date. | [optional]
772772
**filterCreatedAtEnd** | **String**| Only include application keys created on or before the specified date. | [optional]
@@ -832,7 +832,7 @@ public class Example {
832832
KeyManagementApi apiInstance = new KeyManagementApi(defaultClient);
833833
Long pageSize = 10l; // Long | Size for a given page.
834834
Long pageNumber = 0l; // Long | Specific page number to return.
835-
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.
835+
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.
836836
String filter = "filter_example"; // String | Filter application keys by the specified string.
837837
String filterCreatedAtStart = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or after the specified date.
838838
String filterCreatedAtEnd = "2020-11-24T18:46:21+00:00"; // String | Only include application keys created on or before the specified date.
@@ -864,7 +864,7 @@ Name | Type | Description | Notes
864864
------------- | ------------- | ------------- | -------------
865865
**pageSize** | **Long**| Size for a given page. | [optional] [default to 10l]
866866
**pageNumber** | **Long**| Specific page number to return. | [optional] [default to 0l]
867-
**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]
867+
**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]
868868
**filter** | **String**| Filter application keys by the specified string. | [optional]
869869
**filterCreatedAtStart** | **String**| Only include application keys created on or after the specified date. | [optional]
870870
**filterCreatedAtEnd** | **String**| Only include application keys created on or before the specified date. | [optional]

api_docs/v2/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
9898
- [APIKeyUpdateData](APIKeyUpdateData.md)
9999
- [APIKeyUpdateRequest](APIKeyUpdateRequest.md)
100100
- [APIKeysResponse](APIKeysResponse.md)
101+
- [APIKeysSort](APIKeysSort.md)
101102
- [APIKeysType](APIKeysType.md)
102103
- [ApplicationKeyCreateAttributes](ApplicationKeyCreateAttributes.md)
103104
- [ApplicationKeyCreateData](ApplicationKeyCreateData.md)
@@ -108,6 +109,7 @@ Class | Method | HTTP request | Description
108109
- [ApplicationKeyUpdateAttributes](ApplicationKeyUpdateAttributes.md)
109110
- [ApplicationKeyUpdateData](ApplicationKeyUpdateData.md)
110111
- [ApplicationKeyUpdateRequest](ApplicationKeyUpdateRequest.md)
112+
- [ApplicationKeysSort](ApplicationKeysSort.md)
111113
- [ApplicationKeysType](ApplicationKeysType.md)
112114
- [Creator](Creator.md)
113115
- [DashboardListAddItemsRequest](DashboardListAddItemsRequest.md)

0 commit comments

Comments
 (0)