smplkit 3.0.40 → 3.0.41
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 +4 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/api_keys_api.rb +5 -2
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/environments_api.rb +8 -2
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/services_api.rb +5 -2
- data/lib/smplkit/_generated/app/spec/api/api_keys_api_spec.rb +2 -1
- data/lib/smplkit/_generated/app/spec/api/environments_api_spec.rb +3 -1
- data/lib/smplkit/_generated/app/spec/api/services_api_spec.rb +2 -1
- data/lib/smplkit/_generated/config/lib/smplkit_config_client/api/configs_api.rb +5 -2
- data/lib/smplkit/_generated/config/spec/api/configs_api_spec.rb +2 -1
- data/lib/smplkit/_generated/flags/lib/smplkit_flags_client/api/flags_api.rb +3 -0
- data/lib/smplkit/_generated/flags/spec/api/flags_api_spec.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd558656fe0a740c9f566e9479b97975472061e521b6e9a8137aadd583a4622c
|
|
4
|
+
data.tar.gz: 9fbb986941c0af6506c438dacfc206d977d857c7fbf88db7e5f2f6b56560dd15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 418bdfa0629ce9b28f24c7f87ed3edac82cabdb01b5951340d8f82aae88af144315c46a0c97ddbed89f7dfd79f1629280f08a3e1697e7e57c3455649a701ac18
|
|
7
|
+
data.tar.gz: 6156290e1a5f35fe4703e7ea3b7f65216d0c0318529edc136ad477efce3b95dbe9d2d8497bc91495140d58b8792c8540bbc3be3ec2f7230387d5cd5df1748caa
|
|
@@ -214,9 +214,10 @@ module SmplkitGeneratedClient::App
|
|
|
214
214
|
end
|
|
215
215
|
|
|
216
216
|
# List API Keys
|
|
217
|
-
# List all API keys for the authenticated account.
|
|
217
|
+
# List all API keys for the authenticated account. `filter[search]` does a case-insensitive substring match against the API key `name`.
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
|
219
219
|
# @option opts [String] :filter_status
|
|
220
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the API key `name`.
|
|
220
221
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `expires_at`, `-expires_at`, `last_used_at`, `-last_used_at`, `name`, `-name`, `status`, `-status`. (default to 'name')
|
|
221
222
|
# @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)
|
|
222
223
|
# @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)
|
|
@@ -228,9 +229,10 @@ module SmplkitGeneratedClient::App
|
|
|
228
229
|
end
|
|
229
230
|
|
|
230
231
|
# List API Keys
|
|
231
|
-
# List all API keys for the authenticated account.
|
|
232
|
+
# List all API keys for the authenticated account. `filter[search]` does a case-insensitive substring match against the API key `name`.
|
|
232
233
|
# @param [Hash] opts the optional parameters
|
|
233
234
|
# @option opts [String] :filter_status
|
|
235
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the API key `name`.
|
|
234
236
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `expires_at`, `-expires_at`, `last_used_at`, `-last_used_at`, `name`, `-name`, `status`, `-status`. (default to 'name')
|
|
235
237
|
# @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)
|
|
236
238
|
# @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)
|
|
@@ -250,6 +252,7 @@ module SmplkitGeneratedClient::App
|
|
|
250
252
|
# query parameters
|
|
251
253
|
query_params = opts[:query_params] || {}
|
|
252
254
|
query_params[:'filter[status]'] = opts[:'filter_status'] if !opts[:'filter_status'].nil?
|
|
255
|
+
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
253
256
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
254
257
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
255
258
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -280,8 +280,10 @@ module SmplkitGeneratedClient::App
|
|
|
280
280
|
end
|
|
281
281
|
|
|
282
282
|
# List Environments
|
|
283
|
-
# List all environments for the authenticated account.
|
|
283
|
+
# List all environments for the authenticated account. `filter[search]` does a case-insensitive substring match against the environment `key` and `name`. `filter[classification]` narrows the result to one classification (`STANDARD` or `AD_HOC`).
|
|
284
284
|
# @param [Hash] opts the optional parameters
|
|
285
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the environment `key` and `name`. An environment is returned if either field contains the search term.
|
|
286
|
+
# @option opts [String] :filter_classification Narrow the result to environments with the given classification. One of `STANDARD` or `AD_HOC`.
|
|
285
287
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'name')
|
|
286
288
|
# @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)
|
|
287
289
|
# @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)
|
|
@@ -293,8 +295,10 @@ module SmplkitGeneratedClient::App
|
|
|
293
295
|
end
|
|
294
296
|
|
|
295
297
|
# List Environments
|
|
296
|
-
# List all environments for the authenticated account.
|
|
298
|
+
# List all environments for the authenticated account. `filter[search]` does a case-insensitive substring match against the environment `key` and `name`. `filter[classification]` narrows the result to one classification (`STANDARD` or `AD_HOC`).
|
|
297
299
|
# @param [Hash] opts the optional parameters
|
|
300
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the environment `key` and `name`. An environment is returned if either field contains the search term.
|
|
301
|
+
# @option opts [String] :filter_classification Narrow the result to environments with the given classification. One of `STANDARD` or `AD_HOC`.
|
|
298
302
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'name')
|
|
299
303
|
# @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)
|
|
300
304
|
# @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)
|
|
@@ -313,6 +317,8 @@ module SmplkitGeneratedClient::App
|
|
|
313
317
|
|
|
314
318
|
# query parameters
|
|
315
319
|
query_params = opts[:query_params] || {}
|
|
320
|
+
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
321
|
+
query_params[:'filter[classification]'] = opts[:'filter_classification'] if !opts[:'filter_classification'].nil?
|
|
316
322
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
317
323
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
318
324
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -214,8 +214,9 @@ module SmplkitGeneratedClient::App
|
|
|
214
214
|
end
|
|
215
215
|
|
|
216
216
|
# List Services
|
|
217
|
-
# List all services for the authenticated account.
|
|
217
|
+
# List all services for the authenticated account. `filter[search]` does a case-insensitive substring match against the service `key` and `name`.
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
|
219
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the service `key` and `name`. A service is returned if either field contains the search term.
|
|
219
220
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'name')
|
|
220
221
|
# @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)
|
|
221
222
|
# @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)
|
|
@@ -227,8 +228,9 @@ module SmplkitGeneratedClient::App
|
|
|
227
228
|
end
|
|
228
229
|
|
|
229
230
|
# List Services
|
|
230
|
-
# List all services for the authenticated account.
|
|
231
|
+
# List all services for the authenticated account. `filter[search]` does a case-insensitive substring match against the service `key` and `name`.
|
|
231
232
|
# @param [Hash] opts the optional parameters
|
|
233
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the service `key` and `name`. A service is returned if either field contains the search term.
|
|
232
234
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`. (default to 'name')
|
|
233
235
|
# @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)
|
|
234
236
|
# @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)
|
|
@@ -247,6 +249,7 @@ module SmplkitGeneratedClient::App
|
|
|
247
249
|
|
|
248
250
|
# query parameters
|
|
249
251
|
query_params = opts[:query_params] || {}
|
|
252
|
+
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
250
253
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
251
254
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
252
255
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -70,9 +70,10 @@ describe 'APIKeysApi' do
|
|
|
70
70
|
|
|
71
71
|
# unit tests for list_api_keys
|
|
72
72
|
# List API Keys
|
|
73
|
-
# List all API keys for the authenticated account.
|
|
73
|
+
# List all API keys for the authenticated account. `filter[search]` does a case-insensitive substring match against the API key `name`.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :filter_status
|
|
76
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the API key `name`.
|
|
76
77
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `expires_at`, `-expires_at`, `last_used_at`, `-last_used_at`, `name`, `-name`, `status`, `-status`.
|
|
77
78
|
# @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.
|
|
78
79
|
# @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.
|
|
@@ -83,8 +83,10 @@ describe 'EnvironmentsApi' do
|
|
|
83
83
|
|
|
84
84
|
# unit tests for list_environments
|
|
85
85
|
# List Environments
|
|
86
|
-
# List all environments for the authenticated account.
|
|
86
|
+
# List all environments for the authenticated account. `filter[search]` does a case-insensitive substring match against the environment `key` and `name`. `filter[classification]` narrows the result to one classification (`STANDARD` or `AD_HOC`).
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the environment `key` and `name`. An environment is returned if either field contains the search term.
|
|
89
|
+
# @option opts [String] :filter_classification Narrow the result to environments with the given classification. One of `STANDARD` or `AD_HOC`.
|
|
88
90
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
89
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.
|
|
90
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.
|
|
@@ -70,8 +70,9 @@ describe 'ServicesApi' do
|
|
|
70
70
|
|
|
71
71
|
# unit tests for list_services
|
|
72
72
|
# List Services
|
|
73
|
-
# List all services for the authenticated account.
|
|
73
|
+
# List all services for the authenticated account. `filter[search]` does a case-insensitive substring match against the service `key` and `name`.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the service `key` and `name`. A service is returned if either field contains the search term.
|
|
75
76
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
76
77
|
# @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.
|
|
77
78
|
# @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.
|
|
@@ -212,9 +212,10 @@ module SmplkitGeneratedClient::Config
|
|
|
212
212
|
end
|
|
213
213
|
|
|
214
214
|
# List Configs
|
|
215
|
-
# 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
|
|
215
|
+
# 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, or `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`.
|
|
216
216
|
# @param [Hash] opts the optional parameters
|
|
217
217
|
# @option opts [String] :filter_parent
|
|
218
|
+
# @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.
|
|
218
219
|
# @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')
|
|
219
220
|
# @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)
|
|
220
221
|
# @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)
|
|
@@ -226,9 +227,10 @@ module SmplkitGeneratedClient::Config
|
|
|
226
227
|
end
|
|
227
228
|
|
|
228
229
|
# List Configs
|
|
229
|
-
# 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
|
|
230
|
+
# 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, or `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`.
|
|
230
231
|
# @param [Hash] opts the optional parameters
|
|
231
232
|
# @option opts [String] :filter_parent
|
|
233
|
+
# @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.
|
|
232
234
|
# @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')
|
|
233
235
|
# @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)
|
|
234
236
|
# @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)
|
|
@@ -248,6 +250,7 @@ module SmplkitGeneratedClient::Config
|
|
|
248
250
|
# query parameters
|
|
249
251
|
query_params = opts[:query_params] || {}
|
|
250
252
|
query_params[:'filter[parent]'] = opts[:'filter_parent'] if !opts[:'filter_parent'].nil?
|
|
253
|
+
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
251
254
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
252
255
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
253
256
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -70,9 +70,10 @@ describe 'ConfigsApi' do
|
|
|
70
70
|
|
|
71
71
|
# unit tests for list_configs
|
|
72
72
|
# List Configs
|
|
73
|
-
# 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
|
|
73
|
+
# 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, or `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :filter_parent
|
|
76
|
+
# @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.
|
|
76
77
|
# @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`.
|
|
77
78
|
# @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.
|
|
78
79
|
# @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.
|
|
@@ -286,6 +286,7 @@ module SmplkitGeneratedClient::Flags
|
|
|
286
286
|
# @option opts [Boolean] :filter_managed
|
|
287
287
|
# @option opts [String] :filter_references_context Return flags whose rules reference this context instance. Format: {type}:{key}
|
|
288
288
|
# @option opts [String] :filter_references_context_type Return flags whose rules reference any attribute of the given context type.
|
|
289
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the flag `key` and `name`. A flag is returned if either field contains the search term.
|
|
289
290
|
# @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`, `type`, `-type`, `updated_at`, `-updated_at`. (default to 'key')
|
|
290
291
|
# @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)
|
|
291
292
|
# @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)
|
|
@@ -303,6 +304,7 @@ module SmplkitGeneratedClient::Flags
|
|
|
303
304
|
# @option opts [Boolean] :filter_managed
|
|
304
305
|
# @option opts [String] :filter_references_context Return flags whose rules reference this context instance. Format: {type}:{key}
|
|
305
306
|
# @option opts [String] :filter_references_context_type Return flags whose rules reference any attribute of the given context type.
|
|
307
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the flag `key` and `name`. A flag is returned if either field contains the search term.
|
|
306
308
|
# @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`, `type`, `-type`, `updated_at`, `-updated_at`. (default to 'key')
|
|
307
309
|
# @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)
|
|
308
310
|
# @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)
|
|
@@ -325,6 +327,7 @@ module SmplkitGeneratedClient::Flags
|
|
|
325
327
|
query_params[:'filter[managed]'] = opts[:'filter_managed'] if !opts[:'filter_managed'].nil?
|
|
326
328
|
query_params[:'filter[references_context]'] = opts[:'filter_references_context'] if !opts[:'filter_references_context'].nil?
|
|
327
329
|
query_params[:'filter[references_context_type]'] = opts[:'filter_references_context_type'] if !opts[:'filter_references_context_type'].nil?
|
|
330
|
+
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
328
331
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
329
332
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
330
333
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -88,6 +88,7 @@ describe 'FlagsApi' do
|
|
|
88
88
|
# @option opts [Boolean] :filter_managed
|
|
89
89
|
# @option opts [String] :filter_references_context Return flags whose rules reference this context instance. Format: {type}:{key}
|
|
90
90
|
# @option opts [String] :filter_references_context_type Return flags whose rules reference any attribute of the given context type.
|
|
91
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the flag `key` and `name`. A flag is returned if either field contains the search term.
|
|
91
92
|
# @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`, `type`, `-type`, `updated_at`, `-updated_at`.
|
|
92
93
|
# @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.
|
|
93
94
|
# @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.
|