phrase 3.7.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/README.md +13 -37
- data/docs/JobCommentCreateParameters.md +3 -1
- data/docs/JobCommentUpdateParameters.md +3 -1
- data/docs/JobCommentsApi.md +6 -6
- data/docs/JobDetails.md +2 -0
- data/docs/JobKeysDeleteParameters.md +19 -0
- data/docs/JobLocalesApi.md +6 -6
- data/docs/JobsApi.md +16 -14
- data/docs/KeyCreateParameters.md +1 -1
- data/docs/KeyUpdateParameters.md +1 -1
- data/docs/KeysApi.md +4 -4
- data/docs/KeysExcludeParameters.md +1 -1
- data/docs/KeysIncludeParameters.md +1 -1
- data/docs/KeysSearchParameters.md +1 -1
- data/docs/KeysTagParameters.md +1 -1
- data/docs/KeysUntagParameters.md +1 -1
- data/docs/LocalesApi.md +3 -1
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectUpdateParameters.md +4 -2
- data/docs/QualityPerformanceScoreApi.md +8 -8
- data/docs/QualityPerformanceScoreList200Response.md +21 -0
- data/docs/QualityPerformanceScoreList200ResponseAnyOf.md +19 -0
- data/docs/QualityPerformanceScoreList200ResponseAnyOfData.md +17 -0
- data/docs/{ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md → QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md} +2 -2
- data/docs/{ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md → QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md} +2 -2
- data/docs/{ProjectsQualityPerformanceScoreRequest.md → QualityPerformanceScoreListRequest.md} +2 -2
- data/docs/RepoSyncEvent.md +3 -3
- data/docs/RepoSyncEventsApi.md +138 -0
- data/docs/RepoSyncsApi.md +2 -132
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/docs/Upload.md +3 -1
- data/lib/phrase/api/job_comments_api.rb +6 -6
- data/lib/phrase/api/job_locales_api.rb +6 -6
- data/lib/phrase/api/jobs_api.rb +24 -16
- data/lib/phrase/api/keys_api.rb +4 -4
- data/lib/phrase/api/locales_api.rb +3 -0
- data/lib/phrase/api/quality_performance_score_api.rb +15 -15
- data/lib/phrase/api/repo_sync_events_api.rb +160 -0
- data/lib/phrase/api/repo_syncs_api.rb +4 -154
- data/lib/phrase/models/job_comment_create_parameters.rb +14 -4
- data/lib/phrase/models/job_comment_update_parameters.rb +14 -4
- data/lib/phrase/models/job_details.rb +10 -1
- data/lib/phrase/models/job_keys_delete_parameters.rb +214 -0
- data/lib/phrase/models/keys_exclude_parameters.rb +1 -1
- data/lib/phrase/models/keys_include_parameters.rb +1 -1
- data/lib/phrase/models/keys_search_parameters.rb +1 -1
- data/lib/phrase/models/keys_tag_parameters.rb +1 -1
- data/lib/phrase/models/keys_untag_parameters.rb +1 -1
- data/lib/phrase/models/project_update_parameters.rb +48 -4
- data/lib/phrase/models/{projects_quality_performance_score200_response.rb → quality_performance_score_list200_response.rb} +6 -6
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of.rb → quality_performance_score_list200_response_any_of.rb} +5 -5
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of_data.rb → quality_performance_score_list200_response_any_of_data.rb} +4 -4
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of_data_translations_inner.rb → quality_performance_score_list200_response_any_of_data_translations_inner.rb} +3 -3
- data/lib/phrase/models/{projects_quality_performance_score200_response_any_of_errors_inner.rb → quality_performance_score_list200_response_any_of_errors_inner.rb} +3 -3
- data/lib/phrase/models/{projects_quality_performance_score_request.rb → quality_performance_score_list_request.rb} +3 -3
- data/lib/phrase/models/repo_sync_event.rb +15 -15
- data/lib/phrase/models/upload.rb +14 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +8 -22
- data/spec/api/job_comments_api_spec.rb +3 -3
- data/spec/api/job_locales_api_spec.rb +3 -3
- data/spec/api/jobs_api_spec.rb +6 -5
- data/spec/api/keys_api_spec.rb +2 -2
- data/spec/api/quality_performance_score_api_spec.rb +4 -4
- data/spec/api/repo_sync_events_api_spec.rb +52 -0
- data/spec/api/repo_syncs_api_spec.rb +2 -31
- data/spec/models/job_comment_create_parameters_spec.rb +6 -0
- data/spec/models/job_comment_update_parameters_spec.rb +6 -0
- data/spec/models/job_details_spec.rb +6 -0
- data/spec/models/{gitlab_sync_export_spec.rb → job_keys_delete_parameters_spec.rb} +8 -8
- data/spec/models/project_update_parameters_spec.rb +10 -0
- data/spec/models/quality_performance_score_list200_response_any_of_data_spec.rb +29 -0
- data/spec/models/{projects_quality_performance_score200_response_any_of_data_translations_inner_spec.rb → quality_performance_score_list200_response_any_of_data_translations_inner_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score200_response_any_of_errors_inner_spec.rb → quality_performance_score_list200_response_any_of_errors_inner_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score200_response_any_of_spec.rb → quality_performance_score_list200_response_any_of_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score200_response_spec.rb → quality_performance_score_list200_response_spec.rb} +6 -6
- data/spec/models/{projects_quality_performance_score_request_spec.rb → quality_performance_score_list_request_spec.rb} +6 -6
- data/spec/models/repo_sync_event_spec.rb +2 -2
- data/spec/models/upload_spec.rb +6 -0
- metadata +265 -321
- data/docs/BitbucketSync.md +0 -27
- data/docs/BitbucketSyncApi.md +0 -197
- data/docs/BitbucketSyncExportParameters.md +0 -17
- data/docs/BitbucketSyncExportResponse.md +0 -17
- data/docs/BitbucketSyncImportParameters.md +0 -17
- data/docs/GitHubSyncApi.md +0 -130
- data/docs/GitLabSyncApi.md +0 -463
- data/docs/GithubSyncExportParameters.md +0 -17
- data/docs/GithubSyncImportParameters.md +0 -17
- data/docs/GitlabSync.md +0 -37
- data/docs/GitlabSyncExport.md +0 -19
- data/docs/GitlabSyncExportParameters.md +0 -17
- data/docs/GitlabSyncHistory.md +0 -25
- data/docs/GitlabSyncHistoryErrorsInner.md +0 -19
- data/docs/GitlabSyncImportParameters.md +0 -17
- data/docs/ProjectsQualityPerformanceScore200Response.md +0 -21
- data/docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md +0 -19
- data/docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md +0 -17
- data/docs/RepoSyncEventErrorsInner.md +0 -16
- data/lib/phrase/api/bitbucket_sync_api.rb +0 -219
- data/lib/phrase/api/git_hub_sync_api.rb +0 -146
- data/lib/phrase/api/git_lab_sync_api.rb +0 -510
- data/lib/phrase/models/bitbucket_sync.rb +0 -243
- data/lib/phrase/models/bitbucket_sync_export_parameters.rb +0 -197
- data/lib/phrase/models/bitbucket_sync_export_response.rb +0 -196
- data/lib/phrase/models/bitbucket_sync_import_parameters.rb +0 -197
- data/lib/phrase/models/github_sync_export_parameters.rb +0 -197
- data/lib/phrase/models/github_sync_import_parameters.rb +0 -197
- data/lib/phrase/models/gitlab_sync.rb +0 -286
- data/lib/phrase/models/gitlab_sync_export.rb +0 -205
- data/lib/phrase/models/gitlab_sync_export_parameters.rb +0 -197
- data/lib/phrase/models/gitlab_sync_history.rb +0 -234
- data/lib/phrase/models/gitlab_sync_history_errors_inner.rb +0 -205
- data/lib/phrase/models/gitlab_sync_import_parameters.rb +0 -197
- data/lib/phrase/models/repo_sync_event_errors_inner.rb +0 -207
- data/spec/api/bitbucket_sync_api_spec.rb +0 -64
- data/spec/api/git_hub_sync_api_spec.rb +0 -49
- data/spec/api/git_lab_sync_api_spec.rb +0 -125
- data/spec/models/bitbucket_sync_export_parameters_spec.rb +0 -29
- data/spec/models/bitbucket_sync_export_response_spec.rb +0 -29
- data/spec/models/bitbucket_sync_import_parameters_spec.rb +0 -29
- data/spec/models/bitbucket_sync_spec.rb +0 -59
- data/spec/models/github_sync_export_parameters_spec.rb +0 -29
- data/spec/models/github_sync_import_parameters_spec.rb +0 -29
- data/spec/models/gitlab_sync_export_parameters_spec.rb +0 -29
- data/spec/models/gitlab_sync_history_errors_inner_spec.rb +0 -35
- data/spec/models/gitlab_sync_history_spec.rb +0 -53
- data/spec/models/gitlab_sync_import_parameters_spec.rb +0 -29
- data/spec/models/gitlab_sync_spec.rb +0 -89
- data/spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb +0 -29
- data/spec/models/repo_sync_event_errors_inner_spec.rb +0 -23
data/spec/api/keys_api_spec.rb
CHANGED
@@ -86,7 +86,7 @@ describe 'KeysApi' do
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
88
88
|
# @option opts [String] :branch specify the branch to use
|
89
|
-
# @option opts [String] :q Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true|false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> <li><code>unmentioned_in_upload:upload_id
|
89
|
+
# @option opts [String] :q Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true|false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> <li><code>unmentioned_in_upload:upload_id,...</code> to filter keys unmentioned within upload. When multiple upload IDs provided, matches only keys not mentioned in <strong>all</strong> uploads</li> </ul> <br/> <p><strong>Caution:</strong> Query parameters with empty values will be treated as though they are not included in the request and will be ignored.</p> <br/> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
90
90
|
# @option opts [String] :locale_id Locale used to determine the translation state of a key when filtering for untranslated or translated keys.
|
91
91
|
# @return [AffectedResources]
|
92
92
|
describe 'keys_delete_collection test' do
|
@@ -134,7 +134,7 @@ describe 'KeysApi' do
|
|
134
134
|
# @option opts [String] :branch specify the branch to use
|
135
135
|
# @option opts [String] :sort Sort by field. Can be one of: name, created_at, updated_at.
|
136
136
|
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
137
|
-
# @option opts [String] :q Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name
|
137
|
+
# @option opts [String] :q Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true|false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> <li><code>unmentioned_in_upload:upload_id,...</code> to filter keys unmentioned within upload. When multiple upload IDs provided, matches only keys not mentioned in <strong>all</strong> uploads</li> </ul> <br/> <p><strong>Caution:</strong> Query parameters with empty values will be treated as though they are not included in the request and will be ignored.</p> <br/> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
138
138
|
# @option opts [String] :locale_id Locale used to determine the translation state of a key when filtering for untranslated or translated keys.
|
139
139
|
# @return [Array<TranslationKey>]
|
140
140
|
describe 'keys_list test' do
|
@@ -20,15 +20,15 @@ describe 'QualityPerformanceScoreApi' do
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
# unit tests for
|
23
|
+
# unit tests for quality_performance_score_list
|
24
24
|
# Get Translation Quality
|
25
25
|
# Retrieves the quality scores for your Strings translations. Returns a score, measured by Phrase QPS
|
26
26
|
# @param project_id Project ID
|
27
|
-
# @param
|
27
|
+
# @param quality_performance_score_list_request
|
28
28
|
# @param [Hash] opts the optional parameters
|
29
29
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
30
|
-
# @return [
|
31
|
-
describe '
|
30
|
+
# @return [QualityPerformanceScoreList200Response]
|
31
|
+
describe 'quality_performance_score_list test' do
|
32
32
|
it 'should work' do
|
33
33
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
34
|
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
# Unit tests for Phrase::RepoSyncEventsApi
|
5
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
6
|
+
# Please update as you see appropriate
|
7
|
+
describe 'RepoSyncEventsApi' do
|
8
|
+
before do
|
9
|
+
# run before each test
|
10
|
+
@api_instance = Phrase::RepoSyncEventsApi.new
|
11
|
+
end
|
12
|
+
|
13
|
+
after do
|
14
|
+
# run after each test
|
15
|
+
end
|
16
|
+
|
17
|
+
describe 'test an instance of RepoSyncEventsApi' do
|
18
|
+
it 'should create an instance of RepoSyncEventsApi' do
|
19
|
+
expect(@api_instance).to be_instance_of(Phrase::RepoSyncEventsApi)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
# unit tests for repo_sync_event_list
|
24
|
+
# Repository Syncs History
|
25
|
+
# Get the history of a single Repo Sync. The history includes all imports and exports performed by the Repo Sync.
|
26
|
+
# @param account_id Account ID
|
27
|
+
# @param id ID
|
28
|
+
# @param [Hash] opts the optional parameters
|
29
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
30
|
+
# @return [Array<RepoSyncEvent>]
|
31
|
+
describe 'repo_sync_event_list 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 repo_sync_event_show
|
38
|
+
# Get a single Repo Sync Event
|
39
|
+
# Shows a single Repo Sync event.
|
40
|
+
# @param account_id Account ID
|
41
|
+
# @param repo_sync_id Repo Sync ID
|
42
|
+
# @param id ID
|
43
|
+
# @param [Hash] opts the optional parameters
|
44
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
45
|
+
# @return [RepoSyncEvent]
|
46
|
+
describe 'repo_sync_event_show test' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -48,38 +48,9 @@ describe 'RepoSyncsApi' do
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
# unit tests for repo_sync_event_show
|
52
|
-
# Get a single Repo Sync Event
|
53
|
-
# Shows a single Repo Sync event.
|
54
|
-
# @param account_id Account ID
|
55
|
-
# @param repo_sync_id Repo Sync ID
|
56
|
-
# @param id ID
|
57
|
-
# @param [Hash] opts the optional parameters
|
58
|
-
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
59
|
-
# @return [RepoSyncEvent]
|
60
|
-
describe 'repo_sync_event_show test' do
|
61
|
-
it 'should work' do
|
62
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# unit tests for repo_sync_events
|
67
|
-
# Repository Syncs History
|
68
|
-
# Get the history of a single Repo Sync. The history includes all imports and exports performed by the Repo Sync.
|
69
|
-
# @param account_id Account ID
|
70
|
-
# @param id ID
|
71
|
-
# @param [Hash] opts the optional parameters
|
72
|
-
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
73
|
-
# @return [Array<RepoSyncEvent>]
|
74
|
-
describe 'repo_sync_events 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
51
|
# unit tests for repo_sync_export
|
81
52
|
# Export to code repository
|
82
|
-
#
|
53
|
+
# Export translations from Phrase Strings to repository provider according to the .phrase.yml file within the code repository. *Export is done asynchronously and may take several seconds depending on the project size.*
|
83
54
|
# @param account_id Account ID
|
84
55
|
# @param id ID
|
85
56
|
# @param [Hash] opts the optional parameters
|
@@ -93,7 +64,7 @@ describe 'RepoSyncsApi' do
|
|
93
64
|
|
94
65
|
# unit tests for repo_sync_import
|
95
66
|
# Import from code repository
|
96
|
-
#
|
67
|
+
# Import translations from repository provider to Phrase Strings according to the .phrase.yml file within the code repository. _Import is done asynchronously and may take several seconds depending on the project size._
|
97
68
|
# @param account_id Account ID
|
98
69
|
# @param id ID
|
99
70
|
# @param [Hash] opts the optional parameters
|
@@ -92,6 +92,12 @@ describe 'JobDetails' do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
+
describe 'test attribute "source_translations_updated_at"' 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
|
+
|
95
101
|
describe 'test attribute "source_locale"' do
|
96
102
|
it 'should work' do
|
97
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -2,31 +2,31 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::JobKeysDeleteParameters
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'JobKeysDeleteParameters' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::JobKeysDeleteParameters.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of JobKeysDeleteParameters' do
|
19
|
+
it 'should create an instance of JobKeysDeleteParameters' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::JobKeysDeleteParameters)
|
21
21
|
end
|
22
22
|
end
|
23
|
-
describe 'test attribute "
|
23
|
+
describe 'test attribute "branch"' do
|
24
24
|
it 'should work' do
|
25
25
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test attribute "
|
29
|
+
describe 'test attribute "translation_key_ids"' do
|
30
30
|
it 'should work' do
|
31
31
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
32
32
|
end
|
@@ -152,4 +152,14 @@ describe 'ProjectUpdateParameters' do
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
+
describe 'test attribute "default_encoding"' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UTF-8", "UTF-16", "UTF-16BE", "UTF-16LE", "ISO-8859-1"])
|
159
|
+
# validator.allowable_values.each do |value|
|
160
|
+
# expect { @instance.default_encoding = value }.not_to raise_error
|
161
|
+
# end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
155
165
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOfData
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'QualityPerformanceScoreList200ResponseAnyOfData' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfData.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOfData' do
|
19
|
+
it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOfData' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOfData)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "translations"' 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
|
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner' do
|
19
|
+
it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "engine"' do
|
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'QualityPerformanceScoreList200ResponseAnyOfErrorsInner' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOfErrorsInner' do
|
19
|
+
it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOfErrorsInner' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "message"' do
|
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOf
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'QualityPerformanceScoreList200ResponseAnyOf' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::QualityPerformanceScoreList200ResponseAnyOf.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOf' do
|
19
|
+
it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOf' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOf)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "data"' do
|
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::QualityPerformanceScoreList200Response
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'QualityPerformanceScoreList200Response' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::QualityPerformanceScoreList200Response.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of QualityPerformanceScoreList200Response' do
|
19
|
+
it 'should create an instance of QualityPerformanceScoreList200Response' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200Response)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "error"' do
|
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::QualityPerformanceScoreListRequest
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'QualityPerformanceScoreListRequest' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::QualityPerformanceScoreListRequest.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of QualityPerformanceScoreListRequest' do
|
19
|
+
it 'should create an instance of QualityPerformanceScoreListRequest' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreListRequest)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "translation_ids"' do
|
@@ -26,12 +26,12 @@ describe 'RepoSyncEvent' do
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test attribute "
|
29
|
+
describe 'test attribute "type"' do
|
30
30
|
it 'should work' do
|
31
31
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
32
32
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["import", "export"])
|
33
33
|
# validator.allowable_values.each do |value|
|
34
|
-
# expect { @instance.
|
34
|
+
# expect { @instance.type = value }.not_to raise_error
|
35
35
|
# end
|
36
36
|
end
|
37
37
|
end
|
data/spec/models/upload_spec.rb
CHANGED
@@ -50,6 +50,12 @@ describe 'Upload' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "tags"' 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
|
+
|
53
59
|
describe 'test attribute "url"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|