From 0145ebb9c1d41f14eb73183980c44babb3e1c55d Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Sat, 16 May 2026 03:44:00 +0000 Subject: [PATCH] Regenerate client from commit 99e84ba of spec repo --- .generator/schemas/v2/openapi.yaml | 112 ++++++++++++ .../frozen.json | 1 + .../recording.har | 57 ++++++ .../frozen.json | 1 + .../recording.har | 57 ++++++ features/v2/reference_tables.feature | 35 ++++ features/v2/undo.json | 6 + .../src/support/scenarios_model_mapping.ts | 15 ++ .../src/v2/ReferenceTablesApi.ts | 167 ++++++++++++++++++ services/reference_tables/src/v2/index.ts | 3 + .../src/v2/models/ListRowsResponse.ts | 57 ++++++ .../src/v2/models/ListRowsResponseLinks.ts | 62 +++++++ .../src/v2/models/TypingInfo.ts | 4 + 13 files changed, 577 insertions(+) create mode 100644 cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/frozen.json create mode 100644 cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/recording.har create mode 100644 cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/frozen.json create mode 100644 cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/recording.har create mode 100644 services/reference_tables/src/v2/models/ListRowsResponse.ts create mode 100644 services/reference_tables/src/v2/models/ListRowsResponseLinks.ts diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c554255f1343..2d9b7ddd3529 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -43548,6 +43548,51 @@ components: example: "/api/v2/catalog/relation?filter[from_ref]=service:service-catalog&include=entity&page[limit]=2&page[offset]=0" type: string type: object + ListRowsResponse: + description: Paginated list of reference table rows. + example: + data: + - attributes: + values: + category: tor + intention: suspicious + ip_address: 102.130.113.9 + id: 102.130.113.9 + type: row + links: + first: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Blimit%5D=100" + self: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100" + properties: + data: + description: The rows. + items: + $ref: "#/components/schemas/TableRowResourceData" + type: array + links: + $ref: "#/components/schemas/ListRowsResponseLinks" + required: + - data + - links + type: object + ListRowsResponseLinks: + description: Pagination links for the list rows response. + properties: + first: + description: Link to the first page of results. + example: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Blimit%5D=100" + type: string + next: + description: Link to the next page of results. Only present when more rows are available. + example: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100" + type: string + self: + description: Link to the current page of results. + example: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100" + type: string + required: + - self + - first + type: object ListRulesResponse: description: Scorecard rules response. properties: @@ -127568,6 +127613,73 @@ paths: summary: Upsert rows tags: - Reference Tables + /api/v2/reference-tables/tables/{id}/rows/list: + get: + description: List all rows in a reference table using cursor-based pagination. Pass the `page[continuation_token]` from the previous response to fetch the next page on the same consistent snapshot. Returns 400 for tables with more than 10,000,000 rows. + operationId: ListReferenceTableRows + parameters: + - description: Unique identifier of the reference table to list rows from. + example: "00000000-0000-0000-0000-000000000000" + in: path + name: id + required: true + schema: + type: string + - description: Number of rows to return per page. Defaults to 100, maximum is 1000. + example: 100 + in: query + name: page[limit] + required: false + schema: + default: 100 + format: int64 + maximum: 1000 + minimum: 1 + type: integer + - description: Opaque cursor from the previous response's next link. Pass this to retrieve the next page on the same consistent snapshot. + example: "eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ==" + in: query + name: page[continuation_token] + required: false + schema: + type: string + responses: + "200": + content: + application/json: + examples: + default: + value: + data: + - attributes: + values: + category: tor + intention: suspicious + ip_address: 102.130.113.9 + id: 102.130.113.9 + type: row + links: + first: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Blimit%5D=100" + next: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjY5NzA0ODkwNDE4ODA3MTAzOTgsInBrIjoiMTAyLjEzMC4xMjcuMTE3In0%3D&page%5Blimit%5D=100" + self: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100" + schema: + $ref: "#/components/schemas/ListRowsResponse" + description: OK + "400": + $ref: "#/components/responses/BadRequestResponse" + "403": + $ref: "#/components/responses/ForbiddenResponse" + "404": + $ref: "#/components/responses/NotFoundResponse" + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] + summary: List rows + tags: + - Reference Tables /api/v2/reference-tables/uploads: post: description: Create a reference table upload for bulk data ingestion diff --git a/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/frozen.json b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/frozen.json new file mode 100644 index 000000000000..4b0869a0661d --- /dev/null +++ b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/frozen.json @@ -0,0 +1 @@ +"2026-05-15T19:32:21.293Z" diff --git a/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/recording.har b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/recording.har new file mode 100644 index 000000000000..5289f77f7c46 --- /dev/null +++ b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Bad-Request-response-for-invalid-limit_3067206116/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Reference Tables/List reference table rows returns \"Bad Request\" response for invalid limit", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "94bf0fd9a120882fbce9730ae4e49f45", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 553, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/reference-tables/tables/not-a-valid-uuid/rows/list" + }, + "response": { + "bodySize": 86, + "content": { + "mimeType": "application/vnd.api+json", + "size": 86, + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"table ID must be a valid UUID format\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2026-05-15T19:32:22.418Z", + "time": 416 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/frozen.json b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/frozen.json new file mode 100644 index 000000000000..a6aecb9bc6a9 --- /dev/null +++ b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/frozen.json @@ -0,0 +1 @@ +"2026-05-15T19:32:23.068Z" diff --git a/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/recording.har b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/recording.har new file mode 100644 index 000000000000..cafd9258c9f1 --- /dev/null +++ b/cassettes/v2/Reference-Tables_3927075843/List-reference-table-rows-returns-Not-Found-response_3301188964/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Reference Tables/List reference table rows returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "56b1159ea2d113f73329f370f06d3741", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 573, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list" + }, + "response": { + "bodySize": 76, + "content": { + "mimeType": "application/vnd.api+json", + "size": 76, + "text": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"table not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-15T19:32:23.074Z", + "time": 212 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/features/v2/reference_tables.feature b/features/v2/reference_tables.feature index 0ba8738c6b9f..859f70c13ec0 100644 --- a/features/v2/reference_tables.feature +++ b/features/v2/reference_tables.feature @@ -142,6 +142,41 @@ Feature: Reference Tables When the request is sent Then the response status is 200 OK + @team:DataDog/redapl-experiences + Scenario: List reference table rows returns "Bad Request" response for invalid limit + Given new "ListReferenceTableRows" request + And request contains "id" parameter with value "not-a-valid-uuid" + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/redapl-experiences + Scenario: List reference table rows returns "Not Found" response + Given new "ListReferenceTableRows" request + And request contains "id" parameter with value "00000000-0000-0000-0000-000000000000" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/redapl-experiences + Scenario: List rows returns "Bad Request" response + Given new "ListReferenceTableRows" request + And request contains "id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/redapl-experiences + Scenario: List rows returns "Not Found" response + Given new "ListReferenceTableRows" request + And request contains "id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/redapl-experiences + Scenario: List rows returns "OK" response + Given new "ListReferenceTableRows" request + And request contains "id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 OK + @skip @team:DataDog/redapl-experiences Scenario: List tables returns "OK" response Given new "ListTables" request diff --git a/features/v2/undo.json b/features/v2/undo.json index faa660d7de0b..5a00daefda6f 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -4820,6 +4820,12 @@ "type": "unsafe" } }, + "ListReferenceTableRows": { + "tag": "Reference Tables", + "undo": { + "type": "safe" + } + }, "CreateReferenceTableUpload": { "tag": "Reference Tables", "undo": { diff --git a/private/bdd_runner/src/support/scenarios_model_mapping.ts b/private/bdd_runner/src/support/scenarios_model_mapping.ts index 29a6b4a5b017..4824f8598209 100644 --- a/private/bdd_runner/src/support/scenarios_model_mapping.ts +++ b/private/bdd_runner/src/support/scenarios_model_mapping.ts @@ -10905,6 +10905,21 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = { }, operationResponseType: "{}", }, + "ReferenceTablesApi.V2.ListReferenceTableRows": { + id: { + type: "string", + format: "", + }, + pageLimit: { + type: "number", + format: "int64", + }, + pageContinuationToken: { + type: "string", + format: "", + }, + operationResponseType: "ListRowsResponse", + }, "ReferenceTablesApi.V2.CreateReferenceTableUpload": { body: { type: "CreateUploadRequest", diff --git a/services/reference_tables/src/v2/ReferenceTablesApi.ts b/services/reference_tables/src/v2/ReferenceTablesApi.ts index e541e9ffbf12..c5e72ad41fad 100644 --- a/services/reference_tables/src/v2/ReferenceTablesApi.ts +++ b/services/reference_tables/src/v2/ReferenceTablesApi.ts @@ -30,6 +30,7 @@ import { BatchUpsertRowsRequestArray } from "./models/BatchUpsertRowsRequestArra import { CreateTableRequest } from "./models/CreateTableRequest"; import { CreateUploadRequest } from "./models/CreateUploadRequest"; import { CreateUploadResponse } from "./models/CreateUploadResponse"; +import { ListRowsResponse } from "./models/ListRowsResponse"; import { PatchTableRequest } from "./models/PatchTableRequest"; import { ReferenceTableSortType } from "./models/ReferenceTableSortType"; import { TableResultV2 } from "./models/TableResultV2"; @@ -409,6 +410,70 @@ export class ReferenceTablesApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async listReferenceTableRows( + id: string, + pageLimit?: number, + pageContinuationToken?: string, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError("id", "listReferenceTableRows"); + } + + // Path Params + const localVarPath = + "/api/v2/reference-tables/tables/{id}/rows/list".replace( + "{id}", + encodeURIComponent(String(id)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "ReferenceTablesApi.v2.listReferenceTableRows", + ReferenceTablesApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.GET, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Query Params + if (pageLimit !== undefined) { + requestContext.setQueryParam( + "page[limit]", + serialize(pageLimit, TypingInfo, "number", "int64"), + "", + ); + } + if (pageContinuationToken !== undefined) { + requestContext.setQueryParam( + "page[continuation_token]", + serialize(pageContinuationToken, TypingInfo, "string", ""), + "", + ); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + "AuthZ", + ]); + + return requestContext; + } + public async listTables( pageLimit?: number, pageOffset?: number, @@ -1013,6 +1078,67 @@ export class ReferenceTablesApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listReferenceTableRows + * @throws ApiException if the response code was not in [200, 299] + */ + public async listReferenceTableRows( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: ListRowsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "ListRowsResponse", + ) as ListRowsResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ListRowsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "ListRowsResponse", + "", + ) as ListRowsResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -1228,6 +1354,24 @@ export interface ReferenceTablesApiGetTableRequest { id: string; } +export interface ReferenceTablesApiListReferenceTableRowsRequest { + /** + * Unique identifier of the reference table to list rows from. + * @type string + */ + id: string; + /** + * Number of rows to return per page. Defaults to 100, maximum is 1000. + * @type number + */ + pageLimit?: number; + /** + * Opaque cursor from the previous response's next link. Pass this to retrieve the next page on the same consistent snapshot. + * @type string + */ + pageContinuationToken?: string; +} + export interface ReferenceTablesApiListTablesRequest { /** * Number of tables to return. @@ -1458,6 +1602,29 @@ export class ReferenceTablesApi { }); } + /** + * List all rows in a reference table using cursor-based pagination. Pass the `page[continuation_token]` from the previous response to fetch the next page on the same consistent snapshot. Returns 400 for tables with more than 10,000,000 rows. + * @param param The request object + */ + public listReferenceTableRows( + param: ReferenceTablesApiListReferenceTableRowsRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.listReferenceTableRows( + param.id, + param.pageLimit, + param.pageContinuationToken, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.listReferenceTableRows(responseContext); + }); + }); + } + /** * List all reference tables in this organization. * @param param The request object diff --git a/services/reference_tables/src/v2/index.ts b/services/reference_tables/src/v2/index.ts index 5ce1848fcd20..f3253a0ea97d 100644 --- a/services/reference_tables/src/v2/index.ts +++ b/services/reference_tables/src/v2/index.ts @@ -6,6 +6,7 @@ export { ReferenceTablesApiDeleteTableRequest, ReferenceTablesApiGetRowsByIDRequest, ReferenceTablesApiGetTableRequest, + ReferenceTablesApiListReferenceTableRowsRequest, ReferenceTablesApiListTablesRequest, ReferenceTablesApiUpdateReferenceTableRequest, ReferenceTablesApiUpsertRowsRequest, @@ -47,6 +48,8 @@ export { CreateUploadResponse } from "./models/CreateUploadResponse"; export { CreateUploadResponseData } from "./models/CreateUploadResponseData"; export { CreateUploadResponseDataAttributes } from "./models/CreateUploadResponseDataAttributes"; export { CreateUploadResponseDataType } from "./models/CreateUploadResponseDataType"; +export { ListRowsResponse } from "./models/ListRowsResponse"; +export { ListRowsResponseLinks } from "./models/ListRowsResponseLinks"; export { PatchTableRequest } from "./models/PatchTableRequest"; export { PatchTableRequestData } from "./models/PatchTableRequestData"; export { PatchTableRequestDataAttributes } from "./models/PatchTableRequestDataAttributes"; diff --git a/services/reference_tables/src/v2/models/ListRowsResponse.ts b/services/reference_tables/src/v2/models/ListRowsResponse.ts new file mode 100644 index 000000000000..34e64299c449 --- /dev/null +++ b/services/reference_tables/src/v2/models/ListRowsResponse.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { ListRowsResponseLinks } from "./ListRowsResponseLinks"; +import { TableRowResourceData } from "./TableRowResourceData"; + +/** + * Paginated list of reference table rows. + */ +export class ListRowsResponse { + /** + * The rows. + */ + "data": Array; + /** + * Pagination links for the list rows response. + */ + "links": ListRowsResponseLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + links: { + baseName: "links", + type: "ListRowsResponseLinks", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ListRowsResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/reference_tables/src/v2/models/ListRowsResponseLinks.ts b/services/reference_tables/src/v2/models/ListRowsResponseLinks.ts new file mode 100644 index 000000000000..8cd4f700a01c --- /dev/null +++ b/services/reference_tables/src/v2/models/ListRowsResponseLinks.ts @@ -0,0 +1,62 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * Pagination links for the list rows response. + */ +export class ListRowsResponseLinks { + /** + * Link to the first page of results. + */ + "first": string; + /** + * Link to the next page of results. Only present when more rows are available. + */ + "next"?: string; + /** + * Link to the current page of results. + */ + "self": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + first: { + baseName: "first", + type: "string", + required: true, + }, + next: { + baseName: "next", + type: "string", + }, + self: { + baseName: "self", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ListRowsResponseLinks.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/reference_tables/src/v2/models/TypingInfo.ts b/services/reference_tables/src/v2/models/TypingInfo.ts index 853e0d8a7b8e..a64ca826d05b 100644 --- a/services/reference_tables/src/v2/models/TypingInfo.ts +++ b/services/reference_tables/src/v2/models/TypingInfo.ts @@ -29,6 +29,8 @@ import { CreateUploadRequestDataAttributes } from "./CreateUploadRequestDataAttr import { CreateUploadResponse } from "./CreateUploadResponse"; import { CreateUploadResponseData } from "./CreateUploadResponseData"; import { CreateUploadResponseDataAttributes } from "./CreateUploadResponseDataAttributes"; +import { ListRowsResponse } from "./ListRowsResponse"; +import { ListRowsResponseLinks } from "./ListRowsResponseLinks"; import { PatchTableRequest } from "./PatchTableRequest"; import { PatchTableRequestData } from "./PatchTableRequestData"; import { PatchTableRequestDataAttributes } from "./PatchTableRequestDataAttributes"; @@ -148,6 +150,8 @@ export const TypingInfo: ModelTypingInfo = { CreateUploadResponse: CreateUploadResponse, CreateUploadResponseData: CreateUploadResponseData, CreateUploadResponseDataAttributes: CreateUploadResponseDataAttributes, + ListRowsResponse: ListRowsResponse, + ListRowsResponseLinks: ListRowsResponseLinks, PatchTableRequest: PatchTableRequest, PatchTableRequestData: PatchTableRequestData, PatchTableRequestDataAttributes: PatchTableRequestDataAttributes,