smplkit 3.0.50 → 3.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abd3ff899376151d83d35078832ffd68b505866329852fbb2952e39e2ba81efe
|
|
4
|
+
data.tar.gz: f9ef8eb1a3610e17402041228fa4923e6fd81cb1b78bc6e3d2ddce691776730f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aabca79289469eee4fa671daca08aef998c673f17720fc1b958bb85980601f55cb399b78a9a3bccf6a8814f3f04f7146c86c73f9763bd324dfa602dcb4f67c51
|
|
7
|
+
data.tar.gz: ec51b4cd5aa4d5553c2f549931f5b8fc21348fb0f7675e7486089fd4457b1758fc21f6395a91af966cdf1e910822d229b286610a5bc310cfdcd8f1497bd380c5
|
|
@@ -280,10 +280,11 @@ module SmplkitGeneratedClient::Config
|
|
|
280
280
|
end
|
|
281
281
|
|
|
282
282
|
# List Configs
|
|
283
|
-
# List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config,
|
|
283
|
+
# List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config, `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`, or `filter[managed]=true|false` to restrict to managed or discovered configs respectively.
|
|
284
284
|
# @param [Hash] opts the optional parameters
|
|
285
285
|
# @option opts [String] :filter_parent
|
|
286
286
|
# @option opts [String] :filter_search Case-insensitive substring match against the config `key` and `name`. A config is returned if either field contains the search term.
|
|
287
|
+
# @option opts [Boolean] :filter_managed Restrict the result to managed (`true`) or discovered (`false`) configs. Omit to return both. Configs created via the console or `POST /api/v1/configs` are managed; configs registered via `POST /api/v1/configs/bulk` start out discovered.
|
|
287
288
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'key')
|
|
288
289
|
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error. (default to 1)
|
|
289
290
|
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
|
|
@@ -295,10 +296,11 @@ module SmplkitGeneratedClient::Config
|
|
|
295
296
|
end
|
|
296
297
|
|
|
297
298
|
# List Configs
|
|
298
|
-
# List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config,
|
|
299
|
+
# List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config, `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`, or `filter[managed]=true|false` to restrict to managed or discovered configs respectively.
|
|
299
300
|
# @param [Hash] opts the optional parameters
|
|
300
301
|
# @option opts [String] :filter_parent
|
|
301
302
|
# @option opts [String] :filter_search Case-insensitive substring match against the config `key` and `name`. A config is returned if either field contains the search term.
|
|
303
|
+
# @option opts [Boolean] :filter_managed Restrict the result to managed (`true`) or discovered (`false`) configs. Omit to return both. Configs created via the console or `POST /api/v1/configs` are managed; configs registered via `POST /api/v1/configs/bulk` start out discovered.
|
|
302
304
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'key')
|
|
303
305
|
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error. (default to 1)
|
|
304
306
|
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
|
|
@@ -319,6 +321,7 @@ module SmplkitGeneratedClient::Config
|
|
|
319
321
|
query_params = opts[:query_params] || {}
|
|
320
322
|
query_params[:'filter[parent]'] = opts[:'filter_parent'] if !opts[:'filter_parent'].nil?
|
|
321
323
|
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
324
|
+
query_params[:'filter[managed]'] = opts[:'filter_managed'] if !opts[:'filter_managed'].nil?
|
|
322
325
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
323
326
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
324
327
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -82,10 +82,11 @@ describe 'ConfigsApi' do
|
|
|
82
82
|
|
|
83
83
|
# unit tests for list_configs
|
|
84
84
|
# List Configs
|
|
85
|
-
# List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config,
|
|
85
|
+
# List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config, `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`, or `filter[managed]=true|false` to restrict to managed or discovered configs respectively.
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
|
87
87
|
# @option opts [String] :filter_parent
|
|
88
88
|
# @option opts [String] :filter_search Case-insensitive substring match against the config `key` and `name`. A config is returned if either field contains the search term.
|
|
89
|
+
# @option opts [Boolean] :filter_managed Restrict the result to managed (`true`) or discovered (`false`) configs. Omit to return both. Configs created via the console or `POST /api/v1/configs` are managed; configs registered via `POST /api/v1/configs/bulk` start out discovered.
|
|
89
90
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
90
91
|
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
91
92
|
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|