From 748b9d9aba2cab5c7058d6b1ad0e174497cc2c97 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 12 Sep 2025 20:04:20 +0000 Subject: [PATCH] Regenerate client from commit 9b77381 of spec repo --- .generator/schemas/v2/openapi.yaml | 33 +++++++++++++++++++ features/scenarios_model_mapping.rb | 6 ++++ .../v2/api/org_connections_api.rb | 8 +++++ 3 files changed, 47 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5c56fcb1aa7c..42b12a3fb056 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -62417,6 +62417,39 @@ paths: get: description: Returns a list of org connections. operationId: ListOrgConnections + parameters: + - description: The Org ID of the sink org. + example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1 + in: query + name: sink_org_id + required: false + schema: + type: string + - description: The Org ID of the source org. + example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1 + in: query + name: source_org_id + required: false + schema: + type: string + - description: The limit of number of entries you want to return. Default is + 1000. + example: 1000 + in: query + name: limit + required: false + schema: + format: int64 + type: integer + - description: The pagination offset which you want to query from. Default is + 0. + example: 0 + in: query + name: offset + required: false + schema: + format: int64 + type: integer responses: '200': content: diff --git a/features/scenarios_model_mapping.rb b/features/scenarios_model_mapping.rb index 60b68dc1952a..a6a1bc93e8cb 100644 --- a/features/scenarios_model_mapping.rb +++ b/features/scenarios_model_mapping.rb @@ -2385,6 +2385,12 @@ "v2.UploadIdPMetadata" => { "idp_file" => "File", }, + "v2.ListOrgConnections" => { + "sink_org_id" => "String", + "source_org_id" => "String", + "limit" => "Integer", + "offset" => "Integer", + }, "v2.CreateOrgConnections" => { "body" => "OrgConnectionCreateRequest", }, diff --git a/lib/datadog_api_client/v2/api/org_connections_api.rb b/lib/datadog_api_client/v2/api/org_connections_api.rb index 98d84facb41e..6737eb5eb347 100644 --- a/lib/datadog_api_client/v2/api/org_connections_api.rb +++ b/lib/datadog_api_client/v2/api/org_connections_api.rb @@ -168,6 +168,10 @@ def list_org_connections(opts = {}) # Returns a list of org connections. # # @param opts [Hash] the optional parameters + # @option opts [String] :sink_org_id The Org ID of the sink org. + # @option opts [String] :source_org_id The Org ID of the source org. + # @option opts [Integer] :limit The limit of number of entries you want to return. Default is 1000. + # @option opts [Integer] :offset The pagination offset which you want to query from. Default is 0. # @return [Array<(OrgConnectionListResponse, Integer, Hash)>] OrgConnectionListResponse data, response status code and response headers def list_org_connections_with_http_info(opts = {}) @@ -179,6 +183,10 @@ def list_org_connections_with_http_info(opts = {}) # query parameters query_params = opts[:query_params] || {} + query_params[:'sink_org_id'] = opts[:'sink_org_id'] if !opts[:'sink_org_id'].nil? + query_params[:'source_org_id'] = opts[:'source_org_id'] if !opts[:'source_org_id'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {}