phrase 3.7.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +63 -0
  3. data/README.md +13 -37
  4. data/docs/JobCommentCreateParameters.md +3 -1
  5. data/docs/JobCommentUpdateParameters.md +3 -1
  6. data/docs/JobCommentsApi.md +6 -6
  7. data/docs/JobDetails.md +2 -0
  8. data/docs/JobKeysDeleteParameters.md +19 -0
  9. data/docs/JobLocalesApi.md +6 -6
  10. data/docs/JobsApi.md +16 -14
  11. data/docs/KeyCreateParameters.md +1 -1
  12. data/docs/KeyUpdateParameters.md +1 -1
  13. data/docs/KeysApi.md +4 -4
  14. data/docs/KeysExcludeParameters.md +1 -1
  15. data/docs/KeysIncludeParameters.md +1 -1
  16. data/docs/KeysSearchParameters.md +1 -1
  17. data/docs/KeysTagParameters.md +1 -1
  18. data/docs/KeysUntagParameters.md +1 -1
  19. data/docs/LocalesApi.md +3 -1
  20. data/docs/ProjectCreateParameters.md +1 -1
  21. data/docs/ProjectUpdateParameters.md +4 -2
  22. data/docs/QualityPerformanceScoreApi.md +8 -8
  23. data/docs/QualityPerformanceScoreList200Response.md +21 -0
  24. data/docs/QualityPerformanceScoreList200ResponseAnyOf.md +19 -0
  25. data/docs/QualityPerformanceScoreList200ResponseAnyOfData.md +17 -0
  26. data/docs/{ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md → QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md} +2 -2
  27. data/docs/{ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md → QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md} +2 -2
  28. data/docs/{ProjectsQualityPerformanceScoreRequest.md → QualityPerformanceScoreListRequest.md} +2 -2
  29. data/docs/RepoSyncEvent.md +3 -3
  30. data/docs/RepoSyncEventsApi.md +138 -0
  31. data/docs/RepoSyncsApi.md +2 -132
  32. data/docs/ScreenshotUpdateParameters.md +1 -1
  33. data/docs/Upload.md +3 -1
  34. data/lib/phrase/api/job_comments_api.rb +6 -6
  35. data/lib/phrase/api/job_locales_api.rb +6 -6
  36. data/lib/phrase/api/jobs_api.rb +24 -16
  37. data/lib/phrase/api/keys_api.rb +4 -4
  38. data/lib/phrase/api/locales_api.rb +3 -0
  39. data/lib/phrase/api/quality_performance_score_api.rb +15 -15
  40. data/lib/phrase/api/repo_sync_events_api.rb +160 -0
  41. data/lib/phrase/api/repo_syncs_api.rb +4 -154
  42. data/lib/phrase/models/job_comment_create_parameters.rb +14 -4
  43. data/lib/phrase/models/job_comment_update_parameters.rb +14 -4
  44. data/lib/phrase/models/job_details.rb +10 -1
  45. data/lib/phrase/models/job_keys_delete_parameters.rb +214 -0
  46. data/lib/phrase/models/keys_exclude_parameters.rb +1 -1
  47. data/lib/phrase/models/keys_include_parameters.rb +1 -1
  48. data/lib/phrase/models/keys_search_parameters.rb +1 -1
  49. data/lib/phrase/models/keys_tag_parameters.rb +1 -1
  50. data/lib/phrase/models/keys_untag_parameters.rb +1 -1
  51. data/lib/phrase/models/project_update_parameters.rb +48 -4
  52. data/lib/phrase/models/{projects_quality_performance_score200_response.rb → quality_performance_score_list200_response.rb} +6 -6
  53. data/lib/phrase/models/{projects_quality_performance_score200_response_any_of.rb → quality_performance_score_list200_response_any_of.rb} +5 -5
  54. data/lib/phrase/models/{projects_quality_performance_score200_response_any_of_data.rb → quality_performance_score_list200_response_any_of_data.rb} +4 -4
  55. 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
  56. 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
  57. data/lib/phrase/models/{projects_quality_performance_score_request.rb → quality_performance_score_list_request.rb} +3 -3
  58. data/lib/phrase/models/repo_sync_event.rb +15 -15
  59. data/lib/phrase/models/upload.rb +14 -1
  60. data/lib/phrase/version.rb +1 -1
  61. data/lib/phrase.rb +8 -22
  62. data/spec/api/job_comments_api_spec.rb +3 -3
  63. data/spec/api/job_locales_api_spec.rb +3 -3
  64. data/spec/api/jobs_api_spec.rb +6 -5
  65. data/spec/api/keys_api_spec.rb +2 -2
  66. data/spec/api/quality_performance_score_api_spec.rb +4 -4
  67. data/spec/api/repo_sync_events_api_spec.rb +52 -0
  68. data/spec/api/repo_syncs_api_spec.rb +2 -31
  69. data/spec/models/job_comment_create_parameters_spec.rb +6 -0
  70. data/spec/models/job_comment_update_parameters_spec.rb +6 -0
  71. data/spec/models/job_details_spec.rb +6 -0
  72. data/spec/models/{gitlab_sync_export_spec.rb → job_keys_delete_parameters_spec.rb} +8 -8
  73. data/spec/models/project_update_parameters_spec.rb +10 -0
  74. data/spec/models/quality_performance_score_list200_response_any_of_data_spec.rb +29 -0
  75. 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
  76. 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
  77. data/spec/models/{projects_quality_performance_score200_response_any_of_spec.rb → quality_performance_score_list200_response_any_of_spec.rb} +6 -6
  78. data/spec/models/{projects_quality_performance_score200_response_spec.rb → quality_performance_score_list200_response_spec.rb} +6 -6
  79. data/spec/models/{projects_quality_performance_score_request_spec.rb → quality_performance_score_list_request_spec.rb} +6 -6
  80. data/spec/models/repo_sync_event_spec.rb +2 -2
  81. data/spec/models/upload_spec.rb +6 -0
  82. metadata +265 -321
  83. data/docs/BitbucketSync.md +0 -27
  84. data/docs/BitbucketSyncApi.md +0 -197
  85. data/docs/BitbucketSyncExportParameters.md +0 -17
  86. data/docs/BitbucketSyncExportResponse.md +0 -17
  87. data/docs/BitbucketSyncImportParameters.md +0 -17
  88. data/docs/GitHubSyncApi.md +0 -130
  89. data/docs/GitLabSyncApi.md +0 -463
  90. data/docs/GithubSyncExportParameters.md +0 -17
  91. data/docs/GithubSyncImportParameters.md +0 -17
  92. data/docs/GitlabSync.md +0 -37
  93. data/docs/GitlabSyncExport.md +0 -19
  94. data/docs/GitlabSyncExportParameters.md +0 -17
  95. data/docs/GitlabSyncHistory.md +0 -25
  96. data/docs/GitlabSyncHistoryErrorsInner.md +0 -19
  97. data/docs/GitlabSyncImportParameters.md +0 -17
  98. data/docs/ProjectsQualityPerformanceScore200Response.md +0 -21
  99. data/docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md +0 -19
  100. data/docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md +0 -17
  101. data/docs/RepoSyncEventErrorsInner.md +0 -16
  102. data/lib/phrase/api/bitbucket_sync_api.rb +0 -219
  103. data/lib/phrase/api/git_hub_sync_api.rb +0 -146
  104. data/lib/phrase/api/git_lab_sync_api.rb +0 -510
  105. data/lib/phrase/models/bitbucket_sync.rb +0 -243
  106. data/lib/phrase/models/bitbucket_sync_export_parameters.rb +0 -197
  107. data/lib/phrase/models/bitbucket_sync_export_response.rb +0 -196
  108. data/lib/phrase/models/bitbucket_sync_import_parameters.rb +0 -197
  109. data/lib/phrase/models/github_sync_export_parameters.rb +0 -197
  110. data/lib/phrase/models/github_sync_import_parameters.rb +0 -197
  111. data/lib/phrase/models/gitlab_sync.rb +0 -286
  112. data/lib/phrase/models/gitlab_sync_export.rb +0 -205
  113. data/lib/phrase/models/gitlab_sync_export_parameters.rb +0 -197
  114. data/lib/phrase/models/gitlab_sync_history.rb +0 -234
  115. data/lib/phrase/models/gitlab_sync_history_errors_inner.rb +0 -205
  116. data/lib/phrase/models/gitlab_sync_import_parameters.rb +0 -197
  117. data/lib/phrase/models/repo_sync_event_errors_inner.rb +0 -207
  118. data/spec/api/bitbucket_sync_api_spec.rb +0 -64
  119. data/spec/api/git_hub_sync_api_spec.rb +0 -49
  120. data/spec/api/git_lab_sync_api_spec.rb +0 -125
  121. data/spec/models/bitbucket_sync_export_parameters_spec.rb +0 -29
  122. data/spec/models/bitbucket_sync_export_response_spec.rb +0 -29
  123. data/spec/models/bitbucket_sync_import_parameters_spec.rb +0 -29
  124. data/spec/models/bitbucket_sync_spec.rb +0 -59
  125. data/spec/models/github_sync_export_parameters_spec.rb +0 -29
  126. data/spec/models/github_sync_import_parameters_spec.rb +0 -29
  127. data/spec/models/gitlab_sync_export_parameters_spec.rb +0 -29
  128. data/spec/models/gitlab_sync_history_errors_inner_spec.rb +0 -35
  129. data/spec/models/gitlab_sync_history_spec.rb +0 -53
  130. data/spec/models/gitlab_sync_import_parameters_spec.rb +0 -29
  131. data/spec/models/gitlab_sync_spec.rb +0 -89
  132. data/spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb +0 -29
  133. data/spec/models/repo_sync_event_errors_inner_spec.rb +0 -23
@@ -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</code> to filter keys unmentioned within upload</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>.
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,...</code> for text queries on a comma-seperated list of 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 comma-seperated list of tags</li> <li><code>uploads:upload_id,...</code> to filter for keys with certain comma-seperated list of uploads</li> <li><code>job:{true|false}</code> to filter for keys mentioned in an active job</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</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
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 projects_quality_performance_score
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 projects_quality_performance_score_request
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 [ProjectsQualityPerformanceScore200Response]
31
- describe 'projects_quality_performance_score test' do
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
- # &gt; Beta: this feature will change in the future. 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.*
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
- # &gt; Beta: this feature will change in the future. 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._
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
@@ -26,4 +26,10 @@ describe 'JobCommentCreateParameters' do
26
26
  end
27
27
  end
28
28
 
29
+ describe 'test attribute "branch"' 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
+
29
35
  end
@@ -26,4 +26,10 @@ describe 'JobCommentUpdateParameters' do
26
26
  end
27
27
  end
28
28
 
29
+ describe 'test attribute "branch"' 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
+
29
35
  end
@@ -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::GitlabSyncExport
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 'GitlabSyncExport' do
8
+ describe 'JobKeysDeleteParameters' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::GitlabSyncExport.new
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 GitlabSyncExport' do
19
- it 'should create an instance of GitlabSyncExport' do
20
- expect(@instance).to be_instance_of(Phrase::GitlabSyncExport)
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 "merge_request_id"' do
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 "merge_request_web_url"' do
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::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner
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 'ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner' do
8
+ describe 'QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.new
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 ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner' do
19
- it 'should create an instance of ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner' do
20
- expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner)
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::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner
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 'ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner' do
8
+ describe 'QualityPerformanceScoreList200ResponseAnyOfErrorsInner' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.new
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 ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner' do
19
- it 'should create an instance of ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner' do
20
- expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner)
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::ProjectsQualityPerformanceScore200ResponseAnyOf
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 'ProjectsQualityPerformanceScore200ResponseAnyOf' do
8
+ describe 'QualityPerformanceScoreList200ResponseAnyOf' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf.new
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 ProjectsQualityPerformanceScore200ResponseAnyOf' do
19
- it 'should create an instance of ProjectsQualityPerformanceScore200ResponseAnyOf' do
20
- expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf)
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::ProjectsQualityPerformanceScore200Response
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 'ProjectsQualityPerformanceScore200Response' do
8
+ describe 'QualityPerformanceScoreList200Response' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::ProjectsQualityPerformanceScore200Response.new
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 ProjectsQualityPerformanceScore200Response' do
19
- it 'should create an instance of ProjectsQualityPerformanceScore200Response' do
20
- expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200Response)
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::ProjectsQualityPerformanceScoreRequest
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 'ProjectsQualityPerformanceScoreRequest' do
8
+ describe 'QualityPerformanceScoreListRequest' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::ProjectsQualityPerformanceScoreRequest.new
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 ProjectsQualityPerformanceScoreRequest' do
19
- it 'should create an instance of ProjectsQualityPerformanceScoreRequest' do
20
- expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScoreRequest)
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 "event_type"' do
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.event_type = value }.not_to raise_error
34
+ # expect { @instance.type = value }.not_to raise_error
35
35
  # end
36
36
  end
37
37
  end
@@ -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