Skip to content

Commit 04ad143

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 9a4b94d of spec repo (#995)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent d852162 commit 04ad143

20 files changed

+604
-22
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.5.1.dev2",
7-
"regenerated": "2021-10-07 18:58:53.006965",
8-
"spec_repo_commit": "0e7768c"
7+
"regenerated": "2021-10-08 15:41:44.665859",
8+
"spec_repo_commit": "9a4b94d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-10-07 18:59:47.842011",
13-
"spec_repo_commit": "0e7768c"
12+
"regenerated": "2021-10-08 15:42:32.460789",
13+
"spec_repo_commit": "9a4b94d"
1414
}
1515
}
1616
}

api_docs/v1/NotebookCreateDataAttributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The data attributes of a notebook.
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**cells** | [**List&lt;NotebookCellCreateRequest&gt;**](NotebookCellCreateRequest.md) | List of cells to display in the notebook. |
12+
**metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional]
1213
**name** | **String** | The name of the notebook. |
1314
**status** | **NotebookStatus** | | [optional]
1415
**time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | |

api_docs/v1/NotebookMetadata.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# NotebookMetadata
4+
5+
Metadata associated with the notebook.
6+
7+
## Properties
8+
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**isTemplate** | **Boolean** | Whether or not the notebook is a template. | [optional]
12+
**takeSnapshots** | **Boolean** | Whether or not the notebook takes snapshot image backups of the notebook&#39;s fixed-time graphs. | [optional]
13+
**type** | **NotebookMetadataType** | | [optional]
14+
15+
16+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
3+
# NotebookMetadataType
4+
5+
## Enum
6+
7+
8+
* `POSTMORTEM` (value: `"postmortem"`)
9+
10+
* `RUNBOOK` (value: `"runbook"`)
11+
12+
* `INVESTIGATION` (value: `"investigation"`)
13+
14+
* `DOCUMENTATION` (value: `"documentation"`)
15+
16+
* `REPORT` (value: `"report"`)
17+
18+
19+

api_docs/v1/NotebookResponseDataAttributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**author** | [**NotebookAuthor**](NotebookAuthor.md) | | [optional]
1212
**cells** | [**List&lt;NotebookCellResponse&gt;**](NotebookCellResponse.md) | List of cells to display in the notebook. |
1313
**created** | **OffsetDateTime** | UTC time stamp for when the notebook was created. | [optional] [readonly]
14+
**metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional]
1415
**modified** | **OffsetDateTime** | UTC time stamp for when the notebook was last modified. | [optional] [readonly]
1516
**name** | **String** | The name of the notebook. |
1617
**status** | **NotebookStatus** | | [optional]

api_docs/v1/NotebookUpdateDataAttributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The data attributes of a notebook.
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**cells** | [**List&lt;NotebookUpdateCell&gt;**](NotebookUpdateCell.md) | List of cells to display in the notebook. |
12+
**metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional]
1213
**name** | **String** | The name of the notebook. |
1314
**status** | **NotebookStatus** | | [optional]
1415
**time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | |

api_docs/v1/NotebooksApi.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,12 @@ public class Example {
231231
String excludeAuthorHandle = "test@datadoghq.com"; // String | Return notebooks not created by the given `author_handle`.
232232
Long start = 0L; // Long | The index of the first notebook you want returned.
233233
Long count = 5L; // Long | The number of notebooks to be returned.
234-
String sortField = "modified"; // String | Sort by field `modified` or `name`.
234+
String sortField = "modified"; // String | Sort by field `modified`, `name`, or `created`.
235235
String sortDir = "desc"; // String | Sort by direction `asc` or `desc`.
236236
String query = "postmortem"; // String | Return only notebooks with `query` string in notebook name or author handle.
237237
Boolean includeCells = true; // Boolean | Value of `false` excludes the `cells` and global `time` for each notebook.
238+
Boolean isTemplate = false; // Boolean | True value returns only template notebooks. Default is false (returns only non-template notebooks).
239+
String type = "investigation"; // String | If type is provided, returns only notebooks with that metadata type. Default does not have type filtering.
238240
try {
239241
NotebooksResponse result = apiInstance.listNotebooks(new NotebooksApi.ListNotebooksOptionalParameters()
240242
.authorHandle(authorHandle)
@@ -244,7 +246,9 @@ public class Example {
244246
.sortField(sortField)
245247
.sortDir(sortDir)
246248
.query(query)
247-
.includeCells(includeCells));
249+
.includeCells(includeCells)
250+
.isTemplate(isTemplate)
251+
.type(type));
248252
System.out.println(result);
249253
} catch (ApiException e) {
250254
System.err.println("Exception when calling NotebooksApi#listNotebooks");
@@ -266,10 +270,12 @@ Name | Type | Description | Notes
266270
**excludeAuthorHandle** | **String**| Return notebooks not created by the given &#x60;author_handle&#x60;. | [optional]
267271
**start** | **Long**| The index of the first notebook you want returned. | [optional]
268272
**count** | **Long**| The number of notebooks to be returned. | [optional]
269-
**sortField** | **String**| Sort by field &#x60;modified&#x60; or &#x60;name&#x60;. | [optional] [default to modified]
273+
**sortField** | **String**| Sort by field &#x60;modified&#x60;, &#x60;name&#x60;, or &#x60;created&#x60;. | [optional] [default to modified]
270274
**sortDir** | **String**| Sort by direction &#x60;asc&#x60; or &#x60;desc&#x60;. | [optional] [default to desc]
271275
**query** | **String**| Return only notebooks with &#x60;query&#x60; string in notebook name or author handle. | [optional]
272276
**includeCells** | **Boolean**| Value of &#x60;false&#x60; excludes the &#x60;cells&#x60; and global &#x60;time&#x60; for each notebook. | [optional] [default to true]
277+
**isTemplate** | **Boolean**| True value returns only template notebooks. Default is false (returns only non-template notebooks). | [optional] [default to false]
278+
**type** | **String**| If type is provided, returns only notebooks with that metadata type. Default does not have type filtering. | [optional]
273279

274280
### Return type
275281

api_docs/v1/NotebooksResponseDataAttributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**author** | [**NotebookAuthor**](NotebookAuthor.md) | | [optional]
1212
**cells** | [**List&lt;NotebookCellResponse&gt;**](NotebookCellResponse.md) | List of cells to display in the notebook. | [optional]
1313
**created** | **OffsetDateTime** | UTC time stamp for when the notebook was created. | [optional] [readonly]
14+
**metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional]
1415
**modified** | **OffsetDateTime** | UTC time stamp for when the notebook was last modified. | [optional] [readonly]
1516
**name** | **String** | The name of the notebook. |
1617
**status** | **NotebookStatus** | | [optional]

api_docs/v1/NotebooksResponseMeta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# NotebooksResponseMeta
44

5-
Metadata returned by the API.
5+
Searches metadata returned by the API.
66

77
## Properties
88

api_docs/v1/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@ Class | Method | HTTP request | Description
489489
- [NotebookMarkdownCellAttributes](NotebookMarkdownCellAttributes.md)
490490
- [NotebookMarkdownCellDefinition](NotebookMarkdownCellDefinition.md)
491491
- [NotebookMarkdownCellDefinitionType](NotebookMarkdownCellDefinitionType.md)
492+
- [NotebookMetadata](NotebookMetadata.md)
493+
- [NotebookMetadataType](NotebookMetadataType.md)
492494
- [NotebookRelativeTime](NotebookRelativeTime.md)
493495
- [NotebookResourceType](NotebookResourceType.md)
494496
- [NotebookResponse](NotebookResponse.md)

0 commit comments

Comments
 (0)