Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
8 changes: 8 additions & 0 deletions lib/datadog_api_client/v2/api/org_connections_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {})

Expand All @@ -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] || {}
Expand Down
Loading