Skip to content

Commit ecce6e7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 4de504a of spec repo
1 parent 7ac03ab commit ecce6e7

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62396,6 +62396,39 @@ paths:
6239662396
get:
6239762397
description: Returns a list of org connections.
6239862398
operationId: ListOrgConnections
62399+
parameters:
62400+
- description: The Org ID of the sink org.
62401+
example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1
62402+
in: query
62403+
name: sink_org_id
62404+
required: false
62405+
schema:
62406+
type: string
62407+
- description: The Org ID of the source org.
62408+
example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1
62409+
in: query
62410+
name: source_org_id
62411+
required: false
62412+
schema:
62413+
type: string
62414+
- description: The limit of number of entries you want to return. Default is
62415+
1000.
62416+
example: 1000
62417+
in: query
62418+
name: limit
62419+
required: false
62420+
schema:
62421+
format: int64
62422+
type: integer
62423+
- description: The pagination offset which you want to query from. Default is
62424+
0.
62425+
example: 0
62426+
in: query
62427+
name: offset
62428+
required: false
62429+
schema:
62430+
format: int64
62431+
type: integer
6239962432
responses:
6240062433
'200':
6240162434
content:

features/scenarios_model_mapping.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,6 +2385,12 @@
23852385
"v2.UploadIdPMetadata" => {
23862386
"idp_file" => "File",
23872387
},
2388+
"v2.ListOrgConnections" => {
2389+
"sink_org_id" => "String",
2390+
"source_org_id" => "String",
2391+
"limit" => "Integer",
2392+
"offset" => "Integer",
2393+
},
23882394
"v2.CreateOrgConnections" => {
23892395
"body" => "OrgConnectionCreateRequest",
23902396
},

lib/datadog_api_client/v2/api/org_connections_api.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ def list_org_connections(opts = {})
168168
# Returns a list of org connections.
169169
#
170170
# @param opts [Hash] the optional parameters
171+
# @option opts [String] :sink_org_id The Org ID of the sink org.
172+
# @option opts [String] :source_org_id The Org ID of the source org.
173+
# @option opts [Integer] :limit The limit of number of entries you want to return. Default is 1000.
174+
# @option opts [Integer] :offset The pagination offset which you want to query from. Default is 0.
171175
# @return [Array<(OrgConnectionListResponse, Integer, Hash)>] OrgConnectionListResponse data, response status code and response headers
172176
def list_org_connections_with_http_info(opts = {})
173177

@@ -179,6 +183,10 @@ def list_org_connections_with_http_info(opts = {})
179183

180184
# query parameters
181185
query_params = opts[:query_params] || {}
186+
query_params[:'sink_org_id'] = opts[:'sink_org_id'] if !opts[:'sink_org_id'].nil?
187+
query_params[:'source_org_id'] = opts[:'source_org_id'] if !opts[:'source_org_id'].nil?
188+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
189+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
182190

183191
# header parameters
184192
header_params = opts[:header_params] || {}

0 commit comments

Comments
 (0)