From fa1d9764420988a6f0dadb51347798f3f7e97d74 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 19 Nov 2025 21:44:35 +0000 Subject: [PATCH] Regenerate client from commit e2f3b21 of spec repo --- .generator/schemas/v2/openapi.yaml | 5 ----- examples/v2/reference-tables/UpdateReferenceTable.rb | 1 - features/v2/reference_tables.feature | 4 ++-- .../v2/models/patch_table_request_data_attributes.rb | 12 +----------- 4 files changed, 3 insertions(+), 19 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d2781f328c8..17fa274d522 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -38611,7 +38611,6 @@ components: type: STRING primary_keys: - id - sync_enabled: false tags: - test_tag type: reference_table @@ -38643,10 +38642,6 @@ components: $ref: '#/components/schemas/PatchTableRequestDataAttributesFileMetadata' schema: $ref: '#/components/schemas/PatchTableRequestDataAttributesSchema' - sync_enabled: - description: Whether this table is synced automatically. - example: false - type: boolean tags: description: Tags for organizing and filtering reference tables. example: diff --git a/examples/v2/reference-tables/UpdateReferenceTable.rb b/examples/v2/reference-tables/UpdateReferenceTable.rb index 067a1bd49d7..7da8bb44a55 100644 --- a/examples/v2/reference-tables/UpdateReferenceTable.rb +++ b/examples/v2/reference-tables/UpdateReferenceTable.rb @@ -32,7 +32,6 @@ "id", ], }), - sync_enabled: false, tags: [ "test_tag", ], diff --git a/features/v2/reference_tables.feature b/features/v2/reference_tables.feature index fa3ea42360a..dee6c603418 100644 --- a/features/v2/reference_tables.feature +++ b/features/v2/reference_tables.feature @@ -108,7 +108,7 @@ Feature: Reference Tables Scenario: Update reference table returns "Bad Request" response Given new "UpdateReferenceTable" request And request contains "id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"description": "this is a cloud table generated via a cloud bucket sync", "file_metadata": {"access_details": {"aws_detail": {"aws_account_id": "test-account-id", "aws_bucket_name": "test-bucket", "file_path": "test_rt.csv"}}, "sync_enabled": true}, "schema": {"fields": [{"name": "id", "type": "INT32"}, {"name": "name", "type": "STRING"}], "primary_keys": ["id"]}, "sync_enabled": false, "tags": ["test_tag"]}, "type": "reference_table"}} + And body with value {"data": {"attributes": {"description": "this is a cloud table generated via a cloud bucket sync", "file_metadata": {"access_details": {"aws_detail": {"aws_account_id": "test-account-id", "aws_bucket_name": "test-bucket", "file_path": "test_rt.csv"}}, "sync_enabled": true}, "schema": {"fields": [{"name": "id", "type": "INT32"}, {"name": "name", "type": "STRING"}], "primary_keys": ["id"]}, "tags": ["test_tag"]}, "type": "reference_table"}} When the request is sent Then the response status is 400 Bad Request @@ -116,6 +116,6 @@ Feature: Reference Tables Scenario: Update reference table returns "OK" response Given new "UpdateReferenceTable" request And request contains "id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"description": "this is a cloud table generated via a cloud bucket sync", "file_metadata": {"access_details": {"aws_detail": {"aws_account_id": "test-account-id", "aws_bucket_name": "test-bucket", "file_path": "test_rt.csv"}}, "sync_enabled": true}, "schema": {"fields": [{"name": "id", "type": "INT32"}, {"name": "name", "type": "STRING"}], "primary_keys": ["id"]}, "sync_enabled": false, "tags": ["test_tag"]}, "type": "reference_table"}} + And body with value {"data": {"attributes": {"description": "this is a cloud table generated via a cloud bucket sync", "file_metadata": {"access_details": {"aws_detail": {"aws_account_id": "test-account-id", "aws_bucket_name": "test-bucket", "file_path": "test_rt.csv"}}, "sync_enabled": true}, "schema": {"fields": [{"name": "id", "type": "INT32"}, {"name": "name", "type": "STRING"}], "primary_keys": ["id"]}, "tags": ["test_tag"]}, "type": "reference_table"}} When the request is sent Then the response status is 200 OK diff --git a/lib/datadog_api_client/v2/models/patch_table_request_data_attributes.rb b/lib/datadog_api_client/v2/models/patch_table_request_data_attributes.rb index 5b65b9e26a6..2603dab6e84 100644 --- a/lib/datadog_api_client/v2/models/patch_table_request_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/patch_table_request_data_attributes.rb @@ -30,9 +30,6 @@ class PatchTableRequestDataAttributes # Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed. attr_accessor :schema - # Whether this table is synced automatically. - attr_accessor :sync_enabled - # Tags for organizing and filtering reference tables. attr_accessor :tags @@ -45,7 +42,6 @@ def self.attribute_map :'description' => :'description', :'file_metadata' => :'file_metadata', :'schema' => :'schema', - :'sync_enabled' => :'sync_enabled', :'tags' => :'tags' } end @@ -57,7 +53,6 @@ def self.openapi_types :'description' => :'String', :'file_metadata' => :'PatchTableRequestDataAttributesFileMetadata', :'schema' => :'PatchTableRequestDataAttributesSchema', - :'sync_enabled' => :'Boolean', :'tags' => :'Array' } end @@ -92,10 +87,6 @@ def initialize(attributes = {}) self.schema = attributes[:'schema'] end - if attributes.key?(:'sync_enabled') - self.sync_enabled = attributes[:'sync_enabled'] - end - if attributes.key?(:'tags') if (value = attributes[:'tags']).is_a?(Array) self.tags = value @@ -132,7 +123,6 @@ def ==(o) description == o.description && file_metadata == o.file_metadata && schema == o.schema && - sync_enabled == o.sync_enabled && tags == o.tags && additional_properties == o.additional_properties end @@ -141,7 +131,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [description, file_metadata, schema, sync_enabled, tags, additional_properties].hash + [description, file_metadata, schema, tags, additional_properties].hash end end end