Skip to content

Commit f24904e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit a2914c2 of spec repo (DataDog#3455)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 54c6f7a commit f24904e

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ components:
161161
schema:
162162
example: "2020-11-24T18:46:21+00:00"
163163
type: string
164+
ApplicationKeyFilterOwnedByParameter:
165+
description: Filter application keys by owner ID.
166+
in: query
167+
name: filter[owned_by]
168+
required: false
169+
schema:
170+
type: string
164171
ApplicationKeyFilterParameter:
165172
description: Filter application keys by the specified string.
166173
in: query
@@ -107769,6 +107776,7 @@ paths:
107769107776
- $ref: "#/components/parameters/ApplicationKeyFilterParameter"
107770107777
- $ref: "#/components/parameters/ApplicationKeyFilterCreatedAtStartParameter"
107771107778
- $ref: "#/components/parameters/ApplicationKeyFilterCreatedAtEndParameter"
107779+
- $ref: "#/components/parameters/ApplicationKeyFilterOwnedByParameter"
107772107780
- $ref: "#/components/parameters/ApplicationKeyIncludeParameter"
107773107781
responses:
107774107782
"200":

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,7 @@
13531353
"filter" => "String",
13541354
"filter_created_at_start" => "String",
13551355
"filter_created_at_end" => "String",
1356+
"filter_owned_by" => "String",
13561357
"include" => "String",
13571358
},
13581359
"v2.DeleteApplicationKey" => {

lib/datadog_api_client/v2/api/key_management_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ def list_application_keys(opts = {})
789789
# @option opts [String] :filter Filter application keys by the specified string.
790790
# @option opts [String] :filter_created_at_start Only include application keys created on or after the specified date.
791791
# @option opts [String] :filter_created_at_end Only include application keys created on or before the specified date.
792+
# @option opts [String] :filter_owned_by Filter application keys by owner ID.
792793
# @option opts [String] :include Resource path for related resources to include in the response. Only `owned_by` is supported.
793794
# @return [Array<(ListApplicationKeysResponse, Integer, Hash)>] ListApplicationKeysResponse data, response status code and response headers
794795
def list_application_keys_with_http_info(opts = {})
@@ -811,6 +812,7 @@ def list_application_keys_with_http_info(opts = {})
811812
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
812813
query_params[:'filter[created_at][start]'] = opts[:'filter_created_at_start'] if !opts[:'filter_created_at_start'].nil?
813814
query_params[:'filter[created_at][end]'] = opts[:'filter_created_at_end'] if !opts[:'filter_created_at_end'].nil?
815+
query_params[:'filter[owned_by]'] = opts[:'filter_owned_by'] if !opts[:'filter_owned_by'].nil?
814816
query_params[:'include'] = opts[:'include'] if !opts[:'include'].nil?
815817

816818
# header parameters

0 commit comments

Comments
 (0)