launchdarkly_api 7.1.0 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AccountMembersApi.md +6 -6
- data/docs/CustomRolesApi.md +1 -1
- data/docs/EnvironmentsApi.md +1 -1
- data/docs/{MemberTeamsFormPost.md → MemberTeamsPostInput.md} +2 -2
- data/docs/MetricsApi.md +1 -1
- data/docs/StatementPost.md +2 -2
- data/docs/StatementPostData.md +2 -2
- data/lib/launchdarkly_api/api/account_members_api.rb +9 -9
- data/lib/launchdarkly_api/api/environments_api.rb +2 -2
- data/lib/launchdarkly_api/api/metrics_api.rb +2 -2
- data/lib/launchdarkly_api/models/{member_teams_form_post.rb → member_teams_post_input.rb} +3 -3
- data/lib/launchdarkly_api/models/statement_post.rb +0 -10
- data/lib/launchdarkly_api/models/statement_post_data.rb +0 -10
- data/lib/launchdarkly_api/version.rb +1 -1
- data/lib/launchdarkly_api.rb +1 -1
- data/spec/api/account_members_api_spec.rb +1 -1
- data/spec/api/environments_api_spec.rb +1 -1
- data/spec/api/metrics_api_spec.rb +1 -1
- data/spec/models/{member_teams_form_post_spec.rb → member_teams_post_input_spec.rb} +6 -6
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d463b3645988a8d7c35c6bfbc1b810ea6d599851872d0476df56fe3ce384352e
|
4
|
+
data.tar.gz: f9aa9c1280b02627dd275e081e87a89daf3fefca3f7adb437efc01bbdd843c64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acdc214aefd7e62c22f00ff8f107b69ca8540f326059af7786944d3d04eef6ef97e4cbb7c14c1f89ed6c606a5b947d9ce17271e47ad0103f328e3a051f7605df
|
7
|
+
data.tar.gz: 6b5317f85d55c5177221dc5c64d7a6004481d104763887a104986eb1770e56300959eba7adf536c5ed0e9a141444b3b083aeac32a754e5db86c0477ca3e79db6
|
data/README.md
CHANGED
@@ -442,7 +442,7 @@ If you would like to upgrade your integration to use a new API version, you can
|
|
442
442
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
443
443
|
|
444
444
|
- API version: 2.0
|
445
|
-
- Package version: 7.1.
|
445
|
+
- Package version: 7.1.1
|
446
446
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
447
447
|
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
|
448
448
|
|
@@ -459,16 +459,16 @@ gem build launchdarkly_api.gemspec
|
|
459
459
|
Then either install the gem locally:
|
460
460
|
|
461
461
|
```shell
|
462
|
-
gem install ./launchdarkly_api-7.1.
|
462
|
+
gem install ./launchdarkly_api-7.1.1.gem
|
463
463
|
```
|
464
464
|
|
465
|
-
(for development, run `gem install --dev ./launchdarkly_api-7.1.
|
465
|
+
(for development, run `gem install --dev ./launchdarkly_api-7.1.1.gem` to install the development dependencies)
|
466
466
|
|
467
467
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
468
468
|
|
469
469
|
Finally add this to the Gemfile:
|
470
470
|
|
471
|
-
gem 'launchdarkly_api', '~> 7.1.
|
471
|
+
gem 'launchdarkly_api', '~> 7.1.1'
|
472
472
|
|
473
473
|
### Install from Git
|
474
474
|
|
@@ -770,7 +770,7 @@ Class | Method | HTTP request | Description
|
|
770
770
|
- [LaunchDarklyApi::MemberPermissionGrantSummaryRep](docs/MemberPermissionGrantSummaryRep.md)
|
771
771
|
- [LaunchDarklyApi::MemberSummaryRep](docs/MemberSummaryRep.md)
|
772
772
|
- [LaunchDarklyApi::MemberTeamSummaryRep](docs/MemberTeamSummaryRep.md)
|
773
|
-
- [LaunchDarklyApi::
|
773
|
+
- [LaunchDarklyApi::MemberTeamsPostInput](docs/MemberTeamsPostInput.md)
|
774
774
|
- [LaunchDarklyApi::Members](docs/Members.md)
|
775
775
|
- [LaunchDarklyApi::MethodNotAllowedErrorRep](docs/MethodNotAllowedErrorRep.md)
|
776
776
|
- [LaunchDarklyApi::MetricCollectionRep](docs/MetricCollectionRep.md)
|
data/docs/AccountMembersApi.md
CHANGED
@@ -307,7 +307,7 @@ end
|
|
307
307
|
|
308
308
|
## post_member_teams
|
309
309
|
|
310
|
-
> <Member> post_member_teams(id,
|
310
|
+
> <Member> post_member_teams(id, member_teams_post_input)
|
311
311
|
|
312
312
|
Add member to teams
|
313
313
|
|
@@ -328,11 +328,11 @@ end
|
|
328
328
|
|
329
329
|
api_instance = LaunchDarklyApi::AccountMembersApi.new
|
330
330
|
id = 'id_example' # String | The member ID
|
331
|
-
|
331
|
+
member_teams_post_input = LaunchDarklyApi::MemberTeamsPostInput.new({team_keys: ['team_keys_example']}) # MemberTeamsPostInput |
|
332
332
|
|
333
333
|
begin
|
334
334
|
# Add member to teams
|
335
|
-
result = api_instance.post_member_teams(id,
|
335
|
+
result = api_instance.post_member_teams(id, member_teams_post_input)
|
336
336
|
p result
|
337
337
|
rescue LaunchDarklyApi::ApiError => e
|
338
338
|
puts "Error when calling AccountMembersApi->post_member_teams: #{e}"
|
@@ -343,12 +343,12 @@ end
|
|
343
343
|
|
344
344
|
This returns an Array which contains the response data, status code and headers.
|
345
345
|
|
346
|
-
> <Array(<Member>, Integer, Hash)> post_member_teams_with_http_info(id,
|
346
|
+
> <Array(<Member>, Integer, Hash)> post_member_teams_with_http_info(id, member_teams_post_input)
|
347
347
|
|
348
348
|
```ruby
|
349
349
|
begin
|
350
350
|
# Add member to teams
|
351
|
-
data, status_code, headers = api_instance.post_member_teams_with_http_info(id,
|
351
|
+
data, status_code, headers = api_instance.post_member_teams_with_http_info(id, member_teams_post_input)
|
352
352
|
p status_code # => 2xx
|
353
353
|
p headers # => { ... }
|
354
354
|
p data # => <Member>
|
@@ -362,7 +362,7 @@ end
|
|
362
362
|
| Name | Type | Description | Notes |
|
363
363
|
| ---- | ---- | ----------- | ----- |
|
364
364
|
| **id** | **String** | The member ID | |
|
365
|
-
| **
|
365
|
+
| **member_teams_post_input** | [**MemberTeamsPostInput**](MemberTeamsPostInput.md) | | |
|
366
366
|
|
367
367
|
### Return type
|
368
368
|
|
data/docs/CustomRolesApi.md
CHANGED
@@ -315,7 +315,7 @@ LaunchDarklyApi.configure do |config|
|
|
315
315
|
end
|
316
316
|
|
317
317
|
api_instance = LaunchDarklyApi::CustomRolesApi.new
|
318
|
-
custom_role_post = LaunchDarklyApi::CustomRolePost.new({name: 'name_example', key: 'key_example', policy: [LaunchDarklyApi::StatementPost.new({
|
318
|
+
custom_role_post = LaunchDarklyApi::CustomRolePost.new({name: 'name_example', key: 'key_example', policy: [LaunchDarklyApi::StatementPost.new({effect: 'effect_example'})]}) # CustomRolePost |
|
319
319
|
|
320
320
|
begin
|
321
321
|
# Create custom role
|
data/docs/EnvironmentsApi.md
CHANGED
@@ -163,7 +163,7 @@ end
|
|
163
163
|
|
164
164
|
Update environment
|
165
165
|
|
166
|
-
|
166
|
+
Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism.
|
167
167
|
|
168
168
|
### Examples
|
169
169
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# LaunchDarklyApi::
|
1
|
+
# LaunchDarklyApi::MemberTeamsPostInput
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'launchdarkly_api'
|
13
13
|
|
14
|
-
instance = LaunchDarklyApi::
|
14
|
+
instance = LaunchDarklyApi::MemberTeamsPostInput.new(
|
15
15
|
team_keys: null
|
16
16
|
)
|
17
17
|
```
|
data/docs/MetricsApi.md
CHANGED
data/docs/StatementPost.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **resources** | **Array<String>** | Resource specifier strings |
|
7
|
+
| **resources** | **Array<String>** | Resource specifier strings | [optional] |
|
8
8
|
| **not_resources** | **Array<String>** | Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field. | [optional] |
|
9
|
-
| **actions** | **Array<String>** | Actions to perform on a resource |
|
9
|
+
| **actions** | **Array<String>** | Actions to perform on a resource | [optional] |
|
10
10
|
| **not_actions** | **Array<String>** | Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional] |
|
11
11
|
| **effect** | **String** | | |
|
12
12
|
|
data/docs/StatementPostData.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **resources** | **Array<String>** | Resource specifier strings |
|
7
|
+
| **resources** | **Array<String>** | Resource specifier strings | [optional] |
|
8
8
|
| **not_resources** | **Array<String>** | Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field. | [optional] |
|
9
|
-
| **actions** | **Array<String>** | Actions to perform on a resource |
|
9
|
+
| **actions** | **Array<String>** | Actions to perform on a resource | [optional] |
|
10
10
|
| **not_actions** | **Array<String>** | Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional] |
|
11
11
|
| **effect** | **String** | | |
|
12
12
|
|
@@ -291,21 +291,21 @@ module LaunchDarklyApi
|
|
291
291
|
# Add member to teams
|
292
292
|
# Add member to team(s)
|
293
293
|
# @param id [String] The member ID
|
294
|
-
# @param
|
294
|
+
# @param member_teams_post_input [MemberTeamsPostInput]
|
295
295
|
# @param [Hash] opts the optional parameters
|
296
296
|
# @return [Member]
|
297
|
-
def post_member_teams(id,
|
298
|
-
data, _status_code, _headers = post_member_teams_with_http_info(id,
|
297
|
+
def post_member_teams(id, member_teams_post_input, opts = {})
|
298
|
+
data, _status_code, _headers = post_member_teams_with_http_info(id, member_teams_post_input, opts)
|
299
299
|
data
|
300
300
|
end
|
301
301
|
|
302
302
|
# Add member to teams
|
303
303
|
# Add member to team(s)
|
304
304
|
# @param id [String] The member ID
|
305
|
-
# @param
|
305
|
+
# @param member_teams_post_input [MemberTeamsPostInput]
|
306
306
|
# @param [Hash] opts the optional parameters
|
307
307
|
# @return [Array<(Member, Integer, Hash)>] Member data, response status code and response headers
|
308
|
-
def post_member_teams_with_http_info(id,
|
308
|
+
def post_member_teams_with_http_info(id, member_teams_post_input, opts = {})
|
309
309
|
if @api_client.config.debugging
|
310
310
|
@api_client.config.logger.debug 'Calling API: AccountMembersApi.post_member_teams ...'
|
311
311
|
end
|
@@ -313,9 +313,9 @@ module LaunchDarklyApi
|
|
313
313
|
if @api_client.config.client_side_validation && id.nil?
|
314
314
|
fail ArgumentError, "Missing the required parameter 'id' when calling AccountMembersApi.post_member_teams"
|
315
315
|
end
|
316
|
-
# verify the required parameter '
|
317
|
-
if @api_client.config.client_side_validation &&
|
318
|
-
fail ArgumentError, "Missing the required parameter '
|
316
|
+
# verify the required parameter 'member_teams_post_input' is set
|
317
|
+
if @api_client.config.client_side_validation && member_teams_post_input.nil?
|
318
|
+
fail ArgumentError, "Missing the required parameter 'member_teams_post_input' when calling AccountMembersApi.post_member_teams"
|
319
319
|
end
|
320
320
|
# resource path
|
321
321
|
local_var_path = '/api/v2/members/{id}/teams'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
@@ -337,7 +337,7 @@ module LaunchDarklyApi
|
|
337
337
|
form_params = opts[:form_params] || {}
|
338
338
|
|
339
339
|
# http body (model)
|
340
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
340
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(member_teams_post_input)
|
341
341
|
|
342
342
|
# return_type
|
343
343
|
return_type = opts[:debug_return_type] || 'Member'
|
@@ -158,7 +158,7 @@ module LaunchDarklyApi
|
|
158
158
|
end
|
159
159
|
|
160
160
|
# Update environment
|
161
|
-
#
|
161
|
+
# Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism.
|
162
162
|
# @param project_key [String] The project key
|
163
163
|
# @param environment_key [String] The environment key
|
164
164
|
# @param patch_operation [Array<PatchOperation>]
|
@@ -170,7 +170,7 @@ module LaunchDarklyApi
|
|
170
170
|
end
|
171
171
|
|
172
172
|
# Update environment
|
173
|
-
# > ### Approval settings
|
173
|
+
# Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism.
|
174
174
|
# @param project_key [String] The project key
|
175
175
|
# @param environment_key [String] The environment key
|
176
176
|
# @param patch_operation [Array<PatchOperation>]
|
@@ -221,7 +221,7 @@ module LaunchDarklyApi
|
|
221
221
|
end
|
222
222
|
|
223
223
|
# Update metric
|
224
|
-
# Patch a
|
224
|
+
# Patch a metric by key.
|
225
225
|
# @param project_key [String] The project key
|
226
226
|
# @param key [String] The metric key
|
227
227
|
# @param patch_operation [Array<PatchOperation>]
|
@@ -233,7 +233,7 @@ module LaunchDarklyApi
|
|
233
233
|
end
|
234
234
|
|
235
235
|
# Update metric
|
236
|
-
# Patch a
|
236
|
+
# Patch a metric by key.
|
237
237
|
# @param project_key [String] The project key
|
238
238
|
# @param key [String] The metric key
|
239
239
|
# @param patch_operation [Array<PatchOperation>]
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module LaunchDarklyApi
|
17
|
-
class
|
17
|
+
class MemberTeamsPostInput
|
18
18
|
# List of team keys
|
19
19
|
attr_accessor :team_keys
|
20
20
|
|
@@ -47,13 +47,13 @@ module LaunchDarklyApi
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `LaunchDarklyApi::
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `LaunchDarklyApi::MemberTeamsPostInput` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `LaunchDarklyApi::
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `LaunchDarklyApi::MemberTeamsPostInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -110,14 +110,6 @@ module LaunchDarklyApi
|
|
110
110
|
# @return Array for valid properties with the reasons
|
111
111
|
def list_invalid_properties
|
112
112
|
invalid_properties = Array.new
|
113
|
-
if @resources.nil?
|
114
|
-
invalid_properties.push('invalid value for "resources", resources cannot be nil.')
|
115
|
-
end
|
116
|
-
|
117
|
-
if @actions.nil?
|
118
|
-
invalid_properties.push('invalid value for "actions", actions cannot be nil.')
|
119
|
-
end
|
120
|
-
|
121
113
|
if @effect.nil?
|
122
114
|
invalid_properties.push('invalid value for "effect", effect cannot be nil.')
|
123
115
|
end
|
@@ -128,8 +120,6 @@ module LaunchDarklyApi
|
|
128
120
|
# Check to see if the all the properties in the model are valid
|
129
121
|
# @return true if the model is valid
|
130
122
|
def valid?
|
131
|
-
return false if @resources.nil?
|
132
|
-
return false if @actions.nil?
|
133
123
|
return false if @effect.nil?
|
134
124
|
true
|
135
125
|
end
|
@@ -110,14 +110,6 @@ module LaunchDarklyApi
|
|
110
110
|
# @return Array for valid properties with the reasons
|
111
111
|
def list_invalid_properties
|
112
112
|
invalid_properties = Array.new
|
113
|
-
if @resources.nil?
|
114
|
-
invalid_properties.push('invalid value for "resources", resources cannot be nil.')
|
115
|
-
end
|
116
|
-
|
117
|
-
if @actions.nil?
|
118
|
-
invalid_properties.push('invalid value for "actions", actions cannot be nil.')
|
119
|
-
end
|
120
|
-
|
121
113
|
if @effect.nil?
|
122
114
|
invalid_properties.push('invalid value for "effect", effect cannot be nil.')
|
123
115
|
end
|
@@ -128,8 +120,6 @@ module LaunchDarklyApi
|
|
128
120
|
# Check to see if the all the properties in the model are valid
|
129
121
|
# @return true if the model is valid
|
130
122
|
def valid?
|
131
|
-
return false if @resources.nil?
|
132
|
-
return false if @actions.nil?
|
133
123
|
return false if @effect.nil?
|
134
124
|
true
|
135
125
|
end
|
data/lib/launchdarkly_api.rb
CHANGED
@@ -123,7 +123,7 @@ require 'launchdarkly_api/models/member_import_item_rep'
|
|
123
123
|
require 'launchdarkly_api/models/member_permission_grant_summary_rep'
|
124
124
|
require 'launchdarkly_api/models/member_summary_rep'
|
125
125
|
require 'launchdarkly_api/models/member_team_summary_rep'
|
126
|
-
require 'launchdarkly_api/models/
|
126
|
+
require 'launchdarkly_api/models/member_teams_post_input'
|
127
127
|
require 'launchdarkly_api/models/members'
|
128
128
|
require 'launchdarkly_api/models/method_not_allowed_error_rep'
|
129
129
|
require 'launchdarkly_api/models/metric_collection_rep'
|
@@ -88,7 +88,7 @@ describe 'AccountMembersApi' do
|
|
88
88
|
# Add member to teams
|
89
89
|
# Add member to team(s)
|
90
90
|
# @param id The member ID
|
91
|
-
# @param
|
91
|
+
# @param member_teams_post_input
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @return [Member]
|
94
94
|
describe 'post_member_teams test' do
|
@@ -60,7 +60,7 @@ describe 'EnvironmentsApi' do
|
|
60
60
|
|
61
61
|
# unit tests for patch_environment
|
62
62
|
# Update environment
|
63
|
-
# > ### Approval settings
|
63
|
+
# Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism.
|
64
64
|
# @param project_key The project key
|
65
65
|
# @param environment_key The environment key
|
66
66
|
# @param patch_operation
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for LaunchDarklyApi::
|
17
|
+
# Unit tests for LaunchDarklyApi::MemberTeamsPostInput
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe LaunchDarklyApi::
|
21
|
-
let(:instance) { LaunchDarklyApi::
|
20
|
+
describe LaunchDarklyApi::MemberTeamsPostInput do
|
21
|
+
let(:instance) { LaunchDarklyApi::MemberTeamsPostInput.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(LaunchDarklyApi::
|
23
|
+
describe 'test an instance of MemberTeamsPostInput' do
|
24
|
+
it 'should create an instance of MemberTeamsPostInput' do
|
25
|
+
expect(instance).to be_instance_of(LaunchDarklyApi::MemberTeamsPostInput)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "team_keys"' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: launchdarkly_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.1.
|
4
|
+
version: 7.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -447,7 +447,7 @@ files:
|
|
447
447
|
- docs/MemberPermissionGrantSummaryRep.md
|
448
448
|
- docs/MemberSummaryRep.md
|
449
449
|
- docs/MemberTeamSummaryRep.md
|
450
|
-
- docs/
|
450
|
+
- docs/MemberTeamsPostInput.md
|
451
451
|
- docs/Members.md
|
452
452
|
- docs/MethodNotAllowedErrorRep.md
|
453
453
|
- docs/MetricCollectionRep.md
|
@@ -701,7 +701,7 @@ files:
|
|
701
701
|
- lib/launchdarkly_api/models/member_permission_grant_summary_rep.rb
|
702
702
|
- lib/launchdarkly_api/models/member_summary_rep.rb
|
703
703
|
- lib/launchdarkly_api/models/member_team_summary_rep.rb
|
704
|
-
- lib/launchdarkly_api/models/
|
704
|
+
- lib/launchdarkly_api/models/member_teams_post_input.rb
|
705
705
|
- lib/launchdarkly_api/models/members.rb
|
706
706
|
- lib/launchdarkly_api/models/method_not_allowed_error_rep.rb
|
707
707
|
- lib/launchdarkly_api/models/metric_collection_rep.rb
|
@@ -940,7 +940,7 @@ files:
|
|
940
940
|
- spec/models/member_spec.rb
|
941
941
|
- spec/models/member_summary_rep_spec.rb
|
942
942
|
- spec/models/member_team_summary_rep_spec.rb
|
943
|
-
- spec/models/
|
943
|
+
- spec/models/member_teams_post_input_spec.rb
|
944
944
|
- spec/models/members_spec.rb
|
945
945
|
- spec/models/method_not_allowed_error_rep_spec.rb
|
946
946
|
- spec/models/metric_collection_rep_spec.rb
|
@@ -1125,6 +1125,7 @@ test_files:
|
|
1125
1125
|
- spec/models/users_spec.rb
|
1126
1126
|
- spec/models/expiring_user_target_error_spec.rb
|
1127
1127
|
- spec/models/ip_list_spec.rb
|
1128
|
+
- spec/models/member_teams_post_input_spec.rb
|
1128
1129
|
- spec/models/sdk_version_rep_spec.rb
|
1129
1130
|
- spec/models/create_copy_flag_config_approval_request_request_spec.rb
|
1130
1131
|
- spec/models/access_token_post_spec.rb
|
@@ -1242,7 +1243,6 @@ test_files:
|
|
1242
1243
|
- spec/models/not_found_error_rep_spec.rb
|
1243
1244
|
- spec/models/custom_role_post_data_spec.rb
|
1244
1245
|
- spec/models/patch_segment_request_spec.rb
|
1245
|
-
- spec/models/member_teams_form_post_spec.rb
|
1246
1246
|
- spec/models/relay_auto_config_rep_spec.rb
|
1247
1247
|
- spec/models/schedule_condition_input_rep_spec.rb
|
1248
1248
|
- spec/models/webhook_spec.rb
|