Skip to content

Commit 782c76d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit bf7c3c0 of spec repo (#3863)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4293922 commit 782c76d

5 files changed

Lines changed: 39 additions & 8 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26223,9 +26223,11 @@ components:
2622326223
description: Schema defining the structure and columns of the reference table.
2622426224
properties:
2622526225
fields:
26226-
description: The schema fields.
26226+
description: The schema fields. Maximum of 200 columns.
2622726227
items:
2622826228
$ref: "#/components/schemas/CreateTableRequestDataAttributesSchemaFieldsItems"
26229+
maxItems: 200
26230+
minItems: 1
2622926231
type: array
2623026232
primary_keys:
2623126233
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
@@ -26488,13 +26490,14 @@ components:
2648826490
description: Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.
2648926491
properties:
2649026492
headers:
26491-
description: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file.
26493+
description: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file. Maximum of 200 columns.
2649226494
example:
2649326495
- "field_1"
2649426496
- "field_2"
2649526497
items:
2649626498
description: A column header name from the CSV file.
2649726499
type: string
26500+
maxItems: 200
2649826501
type: array
2649926502
part_count:
2650026503
description: Number of parts to split the file into for multipart upload.
@@ -80983,9 +80986,11 @@ components:
8098380986
description: Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.
8098480987
properties:
8098580988
fields:
80986-
description: The schema fields.
80989+
description: The schema fields. Maximum of 200 columns.
8098780990
items:
8098880991
$ref: "#/components/schemas/PatchTableRequestDataAttributesSchemaFieldsItems"
80992+
maxItems: 200
80993+
minItems: 1
8098980994
type: array
8099080995
primary_keys:
8099180996
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows. Primary keys cannot be changed after table creation.
@@ -110145,9 +110150,11 @@ components:
110145110150
description: Schema defining the structure and columns of the reference table.
110146110151
properties:
110147110152
fields:
110148-
description: The schema fields.
110153+
description: The schema fields. Maximum of 200 columns.
110149110154
items:
110150110155
$ref: "#/components/schemas/TableResultV2DataAttributesSchemaFieldsItems"
110156+
maxItems: 200
110157+
minItems: 1
110151110158
type: array
110152110159
primary_keys:
110153110160
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.

src/datadog_api_client/v2/model/create_table_request_data_attributes_schema.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818

1919

2020
class CreateTableRequestDataAttributesSchema(ModelNormal):
21+
validations = {
22+
"fields": {
23+
"max_items": 200,
24+
"min_items": 1,
25+
},
26+
}
27+
2128
@cached_property
2229
def openapi_types(_):
2330
from datadog_api_client.v2.model.create_table_request_data_attributes_schema_fields_items import (
@@ -40,7 +47,7 @@ def __init__(
4047
"""
4148
Schema defining the structure and columns of the reference table.
4249
43-
:param fields: The schema fields.
50+
:param fields: The schema fields. Maximum of 200 columns.
4451
:type fields: [CreateTableRequestDataAttributesSchemaFieldsItems]
4552
4653
:param primary_keys: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.

src/datadog_api_client/v2/model/create_upload_request_data_attributes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
class CreateUploadRequestDataAttributes(ModelNormal):
1515
validations = {
16+
"headers": {
17+
"max_items": 200,
18+
},
1619
"part_count": {
1720
"inclusive_maximum": 20,
1821
},
@@ -38,7 +41,7 @@ def __init__(self_, headers: List[str], part_count: int, part_size: int, table_n
3841
"""
3942
Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.
4043
41-
:param headers: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file.
44+
:param headers: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file. Maximum of 200 columns.
4245
:type headers: [str]
4346
4447
:param part_count: Number of parts to split the file into for multipart upload.

src/datadog_api_client/v2/model/patch_table_request_data_attributes_schema.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818

1919

2020
class PatchTableRequestDataAttributesSchema(ModelNormal):
21+
validations = {
22+
"fields": {
23+
"max_items": 200,
24+
"min_items": 1,
25+
},
26+
}
27+
2128
@cached_property
2229
def openapi_types(_):
2330
from datadog_api_client.v2.model.patch_table_request_data_attributes_schema_fields_items import (
@@ -40,7 +47,7 @@ def __init__(
4047
"""
4148
Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.
4249
43-
:param fields: The schema fields.
50+
:param fields: The schema fields. Maximum of 200 columns.
4451
:type fields: [PatchTableRequestDataAttributesSchemaFieldsItems]
4552
4653
:param primary_keys: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows. Primary keys cannot be changed after table creation.

src/datadog_api_client/v2/model/table_result_v2_data_attributes_schema.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818

1919

2020
class TableResultV2DataAttributesSchema(ModelNormal):
21+
validations = {
22+
"fields": {
23+
"max_items": 200,
24+
"min_items": 1,
25+
},
26+
}
27+
2128
@cached_property
2229
def openapi_types(_):
2330
from datadog_api_client.v2.model.table_result_v2_data_attributes_schema_fields_items import (
@@ -38,7 +45,7 @@ def __init__(self_, fields: List[TableResultV2DataAttributesSchemaFieldsItems],
3845
"""
3946
Schema defining the structure and columns of the reference table.
4047
41-
:param fields: The schema fields.
48+
:param fields: The schema fields. Maximum of 200 columns.
4249
:type fields: [TableResultV2DataAttributesSchemaFieldsItems]
4350
4451
:param primary_keys: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.

0 commit comments

Comments
 (0)