phrase 1.0.7 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -9
- data/docs/BranchName.md +17 -0
- data/docs/CurrentUser.md +31 -0
- data/docs/Invitation.md +9 -1
- data/docs/InvitationCreateParameters.md +4 -0
- data/docs/InvitationUpdateParameters.md +4 -0
- data/docs/InvitationUpdateSettingsParameters.md +19 -0
- data/docs/InvitationsApi.md +66 -0
- data/docs/Job.md +5 -3
- data/docs/JobDetails.md +4 -2
- data/docs/JobLocale.md +7 -1
- data/docs/KeysApi.md +5 -5
- data/docs/LocalesApi.md +7 -4
- data/docs/Member.md +7 -1
- data/docs/MemberProjectDetail.md +35 -0
- data/docs/MemberProjectDetailProjectRoles.md +19 -0
- data/docs/MemberSpaces.md +25 -0
- data/docs/MemberUpdateParameters.md +4 -0
- data/docs/MemberUpdateSettingsParameters.md +19 -0
- data/docs/MembersApi.md +66 -0
- data/docs/ProjectUpdateParameters.md +43 -9
- data/docs/ScreenshotCreateParameters.md +3 -1
- data/docs/ScreenshotMarkerCreateParameters.md +3 -1
- data/docs/ScreenshotMarkerUpdateParameters.md +3 -1
- data/docs/ScreenshotMarkersApi.md +9 -3
- data/docs/ScreenshotUpdateParameters.md +3 -1
- data/docs/ScreenshotsApi.md +8 -2
- data/docs/TranslationsApi.md +25 -25
- data/docs/UsersApi.md +2 -2
- data/docs/Variable.md +23 -0
- data/docs/VariableCreateParameters.md +19 -0
- data/docs/VariableUpdateParameters.md +19 -0
- data/docs/VariablesApi.md +331 -0
- data/docs/Webhook.md +2 -0
- data/docs/WebhookCreateParameters.md +3 -1
- data/docs/WebhookUpdateParameters.md +3 -1
- data/lib/phrase.rb +11 -0
- data/lib/phrase/api/invitations_api.rb +80 -0
- data/lib/phrase/api/keys_api.rb +6 -6
- data/lib/phrase/api/locales_api.rb +8 -3
- data/lib/phrase/api/members_api.rb +80 -0
- data/lib/phrase/api/screenshot_markers_api.rb +9 -0
- data/lib/phrase/api/screenshots_api.rb +9 -0
- data/lib/phrase/api/translations_api.rb +35 -35
- data/lib/phrase/api/users_api.rb +3 -3
- data/lib/phrase/api/variables_api.rb +378 -0
- data/lib/phrase/api_client.rb +2 -0
- data/lib/phrase/models/branch_name.rb +194 -0
- data/lib/phrase/models/current_user.rb +257 -0
- data/lib/phrase/models/invitation.rb +48 -4
- data/lib/phrase/models/invitation_create_parameters.rb +25 -1
- data/lib/phrase/models/invitation_update_parameters.rb +25 -1
- data/lib/phrase/models/invitation_update_settings_parameters.rb +207 -0
- data/lib/phrase/models/job.rb +22 -13
- data/lib/phrase/models/job_details.rb +19 -10
- data/lib/phrase/models/job_locale.rb +31 -4
- data/lib/phrase/models/member.rb +35 -4
- data/lib/phrase/models/member_project_detail.rb +285 -0
- data/lib/phrase/models/member_project_detail_project_roles.rb +203 -0
- data/lib/phrase/models/member_spaces.rb +230 -0
- data/lib/phrase/models/member_update_parameters.rb +25 -1
- data/lib/phrase/models/member_update_settings_parameters.rb +207 -0
- data/lib/phrase/models/project_update_parameters.rb +183 -13
- data/lib/phrase/models/screenshot_create_parameters.rb +11 -1
- data/lib/phrase/models/screenshot_marker_create_parameters.rb +11 -1
- data/lib/phrase/models/screenshot_marker_update_parameters.rb +11 -1
- data/lib/phrase/models/screenshot_update_parameters.rb +11 -1
- data/lib/phrase/models/variable.rb +221 -0
- data/lib/phrase/models/variable_create_parameters.rb +205 -0
- data/lib/phrase/models/variable_update_parameters.rb +205 -0
- data/lib/phrase/models/webhook.rb +10 -1
- data/lib/phrase/models/webhook_create_parameters.rb +14 -4
- data/lib/phrase/models/webhook_update_parameters.rb +14 -4
- data/lib/phrase/version.rb +1 -1
- data/spec/api/invitations_api_spec.rb +15 -0
- data/spec/api/keys_api_spec.rb +2 -2
- data/spec/api/locales_api_spec.rb +2 -1
- data/spec/api/members_api_spec.rb +15 -0
- data/spec/api/screenshot_markers_api_spec.rb +3 -0
- data/spec/api/screenshots_api_spec.rb +3 -0
- data/spec/api/translations_api_spec.rb +10 -10
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/api/variables_api_spec.rb +95 -0
- data/spec/models/branch_name_spec.rb +29 -0
- data/spec/models/current_user_spec.rb +71 -0
- data/spec/models/invitation_create_parameters_spec.rb +12 -0
- data/spec/models/invitation_spec.rb +24 -0
- data/spec/models/invitation_update_parameters_spec.rb +12 -0
- data/spec/models/invitation_update_settings_parameters_spec.rb +35 -0
- data/spec/models/job_details_spec.rb +9 -3
- data/spec/models/job_locale_spec.rb +18 -0
- data/spec/models/job_spec.rb +9 -3
- data/spec/models/member_project_detail_project_roles_spec.rb +35 -0
- data/spec/models/member_project_detail_spec.rb +83 -0
- data/spec/models/member_spaces_spec.rb +53 -0
- data/spec/models/member_spec.rb +18 -0
- data/spec/models/member_update_parameters_spec.rb +12 -0
- data/spec/models/member_update_settings_parameters_spec.rb +35 -0
- data/spec/models/project_update_parameters_spec.rb +103 -1
- data/spec/models/screenshot_create_parameters_spec.rb +6 -0
- data/spec/models/screenshot_marker_create_parameters_spec.rb +6 -0
- data/spec/models/screenshot_marker_update_parameters_spec.rb +6 -0
- data/spec/models/screenshot_update_parameters_spec.rb +6 -0
- data/spec/models/variable_create_parameters_spec.rb +35 -0
- data/spec/models/variable_spec.rb +47 -0
- data/spec/models/variable_update_parameters_spec.rb +35 -0
- data/spec/models/webhook_create_parameters_spec.rb +6 -0
- data/spec/models/webhook_spec.rb +6 -0
- data/spec/models/webhook_update_parameters_spec.rb +6 -0
- metadata +206 -162
@@ -42,6 +42,7 @@ describe 'ScreenshotMarkersApi' do
|
|
42
42
|
# @param screenshot_id Screenshot ID
|
43
43
|
# @param [Hash] opts the optional parameters
|
44
44
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
45
|
+
# @option opts [String] :branch specify the branch to use
|
45
46
|
# @return [nil]
|
46
47
|
describe 'screenshot_marker_delete test' do
|
47
48
|
it 'should work' do
|
@@ -57,6 +58,7 @@ describe 'ScreenshotMarkersApi' do
|
|
57
58
|
# @param id ID
|
58
59
|
# @param [Hash] opts the optional parameters
|
59
60
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
61
|
+
# @option opts [String] :branch specify the branch to use
|
60
62
|
# @return [ScreenshotMarker]
|
61
63
|
describe 'screenshot_marker_show test' do
|
62
64
|
it 'should work' do
|
@@ -88,6 +90,7 @@ describe 'ScreenshotMarkersApi' do
|
|
88
90
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
89
91
|
# @option opts [Integer] :page Page number
|
90
92
|
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
|
93
|
+
# @option opts [String] :branch specify the branch to use
|
91
94
|
# @return [Array<ScreenshotMarker>]
|
92
95
|
describe 'screenshot_markers_list test' do
|
93
96
|
it 'should work' do
|
@@ -41,6 +41,7 @@ describe 'ScreenshotsApi' do
|
|
41
41
|
# @param id ID
|
42
42
|
# @param [Hash] opts the optional parameters
|
43
43
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
44
|
+
# @option opts [String] :branch specify the branch to use
|
44
45
|
# @return [nil]
|
45
46
|
describe 'screenshot_delete test' do
|
46
47
|
it 'should work' do
|
@@ -55,6 +56,7 @@ describe 'ScreenshotsApi' do
|
|
55
56
|
# @param id ID
|
56
57
|
# @param [Hash] opts the optional parameters
|
57
58
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
59
|
+
# @option opts [String] :branch specify the branch to use
|
58
60
|
# @return [Screenshot]
|
59
61
|
describe 'screenshot_show test' do
|
60
62
|
it 'should work' do
|
@@ -85,6 +87,7 @@ describe 'ScreenshotsApi' do
|
|
85
87
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
86
88
|
# @option opts [Integer] :page Page number
|
87
89
|
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
|
90
|
+
# @option opts [String] :branch specify the branch to use
|
88
91
|
# @option opts [String] :key_id filter by key
|
89
92
|
# @return [Array<Screenshot>]
|
90
93
|
describe 'screenshots_list test' do
|
@@ -179,7 +179,7 @@ describe 'TranslationsApi' do
|
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
|
-
# unit tests for
|
182
|
+
# unit tests for translations_exclude_collection
|
183
183
|
# Set exclude from export flag on translations selected by query
|
184
184
|
# Exclude translations matching query from locale export.
|
185
185
|
# @param project_id Project ID
|
@@ -187,13 +187,13 @@ describe 'TranslationsApi' do
|
|
187
187
|
# @param [Hash] opts the optional parameters
|
188
188
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
189
189
|
# @return [AffectedCount]
|
190
|
-
describe '
|
190
|
+
describe 'translations_exclude_collection test' do
|
191
191
|
it 'should work' do
|
192
192
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
193
193
|
end
|
194
194
|
end
|
195
195
|
|
196
|
-
# unit tests for
|
196
|
+
# unit tests for translations_include_collection
|
197
197
|
# Remove exlude from import flag from translations selected by query
|
198
198
|
# Include translations matching query in locale export.
|
199
199
|
# @param project_id Project ID
|
@@ -201,7 +201,7 @@ describe 'TranslationsApi' do
|
|
201
201
|
# @param [Hash] opts the optional parameters
|
202
202
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
203
203
|
# @return [AffectedCount]
|
204
|
-
describe '
|
204
|
+
describe 'translations_include_collection test' do
|
205
205
|
it 'should work' do
|
206
206
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
207
207
|
end
|
@@ -226,7 +226,7 @@ describe 'TranslationsApi' do
|
|
226
226
|
end
|
227
227
|
end
|
228
228
|
|
229
|
-
# unit tests for
|
229
|
+
# unit tests for translations_review_collection
|
230
230
|
# Review translations selected by query
|
231
231
|
# Review translations matching query.
|
232
232
|
# @param project_id Project ID
|
@@ -234,7 +234,7 @@ describe 'TranslationsApi' do
|
|
234
234
|
# @param [Hash] opts the optional parameters
|
235
235
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
236
236
|
# @return [AffectedCount]
|
237
|
-
describe '
|
237
|
+
describe 'translations_review_collection test' do
|
238
238
|
it 'should work' do
|
239
239
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
240
240
|
end
|
@@ -256,7 +256,7 @@ describe 'TranslationsApi' do
|
|
256
256
|
end
|
257
257
|
end
|
258
258
|
|
259
|
-
# unit tests for
|
259
|
+
# unit tests for translations_unverify_collection
|
260
260
|
# Mark translations selected by query as unverified
|
261
261
|
# Mark translations matching query as unverified.
|
262
262
|
# @param project_id Project ID
|
@@ -264,13 +264,13 @@ describe 'TranslationsApi' do
|
|
264
264
|
# @param [Hash] opts the optional parameters
|
265
265
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
266
266
|
# @return [AffectedCount]
|
267
|
-
describe '
|
267
|
+
describe 'translations_unverify_collection test' do
|
268
268
|
it 'should work' do
|
269
269
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
270
270
|
end
|
271
271
|
end
|
272
272
|
|
273
|
-
# unit tests for
|
273
|
+
# unit tests for translations_verify_collection
|
274
274
|
# Verify translations selected by query
|
275
275
|
# Verify translations matching query.
|
276
276
|
# @param project_id Project ID
|
@@ -278,7 +278,7 @@ describe 'TranslationsApi' do
|
|
278
278
|
# @param [Hash] opts the optional parameters
|
279
279
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
280
280
|
# @return [AffectedCount]
|
281
|
-
describe '
|
281
|
+
describe 'translations_verify_collection test' do
|
282
282
|
it 'should work' do
|
283
283
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
284
284
|
end
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -25,7 +25,7 @@ describe 'UsersApi' do
|
|
25
25
|
# Show details for current User.
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
28
|
-
# @return [
|
28
|
+
# @return [CurrentUser]
|
29
29
|
describe 'show_user test' do
|
30
30
|
it 'should work' do
|
31
31
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,95 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
# Unit tests for Phrase::VariablesApi
|
5
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
6
|
+
# Please update as you see appropriate
|
7
|
+
describe 'VariablesApi' do
|
8
|
+
before do
|
9
|
+
# run before each test
|
10
|
+
@api_instance = Phrase::VariablesApi.new
|
11
|
+
end
|
12
|
+
|
13
|
+
after do
|
14
|
+
# run after each test
|
15
|
+
end
|
16
|
+
|
17
|
+
describe 'test an instance of VariablesApi' do
|
18
|
+
it 'should create an instance of VariablesApi' do
|
19
|
+
expect(@api_instance).to be_instance_of(Phrase::VariablesApi)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
# unit tests for variable_create
|
24
|
+
# Create a variable
|
25
|
+
# Create a new variable.
|
26
|
+
# @param project_id Project ID
|
27
|
+
# @param variable_create_parameters
|
28
|
+
# @param [Hash] opts the optional parameters
|
29
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
30
|
+
# @return [Variable]
|
31
|
+
describe 'variable_create test' do
|
32
|
+
it 'should work' do
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
# unit tests for variable_delete
|
38
|
+
# Delete a variable
|
39
|
+
# Delete an existing variable.
|
40
|
+
# @param project_id Project ID
|
41
|
+
# @param name name
|
42
|
+
# @param [Hash] opts the optional parameters
|
43
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
44
|
+
# @return [nil]
|
45
|
+
describe 'variable_delete test' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
# unit tests for variable_show
|
52
|
+
# Get a single variable
|
53
|
+
# Get details on a single variable for a given project.
|
54
|
+
# @param project_id Project ID
|
55
|
+
# @param name name
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
58
|
+
# @return [Variable]
|
59
|
+
describe 'variable_show test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# unit tests for variable_update
|
66
|
+
# Update a variable
|
67
|
+
# Update an existing variable.
|
68
|
+
# @param project_id Project ID
|
69
|
+
# @param name name
|
70
|
+
# @param variable_update_parameters
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
73
|
+
# @return [Variable]
|
74
|
+
describe 'variable_update test' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# unit tests for variables_list
|
81
|
+
# List variables
|
82
|
+
# List all variables for the current project.
|
83
|
+
# @param project_id Project ID
|
84
|
+
# @param [Hash] opts the optional parameters
|
85
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
86
|
+
# @option opts [Integer] :page Page number
|
87
|
+
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
|
88
|
+
# @return [Array<Variable>]
|
89
|
+
describe 'variables_list test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::BranchName
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'BranchName' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::BranchName.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of BranchName' do
|
19
|
+
it 'should create an instance of BranchName' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::BranchName)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "name"' do
|
24
|
+
it 'should work' do
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::CurrentUser
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'CurrentUser' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::CurrentUser.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of CurrentUser' do
|
19
|
+
it 'should create an instance of CurrentUser' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::CurrentUser)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "id"' do
|
24
|
+
it 'should work' do
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test attribute "username"' do
|
30
|
+
it 'should work' do
|
31
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "email"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "position"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "language"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "created_at"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "updated_at"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
@@ -44,6 +44,18 @@ describe 'InvitationCreateParameters' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "space_ids"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "default_locale_codes"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
47
59
|
describe 'test attribute "permissions"' do
|
48
60
|
it 'should work' do
|
49
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,12 +56,24 @@ describe 'Invitation' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "default_locale_codes"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "permissions"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
68
|
end
|
63
69
|
end
|
64
70
|
|
71
|
+
describe 'test attribute "locale_ids"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
65
77
|
describe 'test attribute "created_at"' do
|
66
78
|
it 'should work' do
|
67
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -80,4 +92,16 @@ describe 'Invitation' do
|
|
80
92
|
end
|
81
93
|
end
|
82
94
|
|
95
|
+
describe 'test attribute "spaces"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "project_role"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
83
107
|
end
|
@@ -38,6 +38,18 @@ describe 'InvitationUpdateParameters' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "space_ids"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "default_locale_codes"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
41
53
|
describe 'test attribute "permissions"' do
|
42
54
|
it 'should work' do
|
43
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::InvitationUpdateSettingsParameters
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'InvitationUpdateSettingsParameters' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::InvitationUpdateSettingsParameters.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of InvitationUpdateSettingsParameters' do
|
19
|
+
it 'should create an instance of InvitationUpdateSettingsParameters' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::InvitationUpdateSettingsParameters)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "project_role"' do
|
24
|
+
it 'should work' do
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test attribute "locale_ids"' do
|
30
|
+
it 'should work' do
|
31
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|