From 1b0651a4db4ca1c9ef6e38b3b00b598eb6300a2c Mon Sep 17 00:00:00 2001 From: Phrase Date: Mon, 6 Jan 2025 08:22:23 +0000 Subject: [PATCH] Deploying from phrase/openapi@7aa3b9b5 --- .openapi-generator/FILES | 36 +++++++++---------- README.md | 14 ++++---- ...jectsQualityPerformanceScore200Response.md | 21 ----------- ...QualityPerformanceScore200ResponseAnyOf.md | 19 ---------- ...ityPerformanceScore200ResponseAnyOfData.md | 17 --------- docs/QualityPerformanceScoreApi.md | 16 ++++----- .../QualityPerformanceScoreList200Response.md | 21 +++++++++++ ...ityPerformanceScoreList200ResponseAnyOf.md | 19 ++++++++++ ...erformanceScoreList200ResponseAnyOfData.md | 17 +++++++++ ...t200ResponseAnyOfDataTranslationsInner.md} | 4 +-- ...ceScoreList200ResponseAnyOfErrorsInner.md} | 4 +-- ... => QualityPerformanceScoreListRequest.md} | 4 +-- lib/phrase.rb | 12 +++---- .../api/quality_performance_score_api.rb | 30 ++++++++-------- ...ity_performance_score_list200_response.rb} | 12 +++---- ...formance_score_list200_response_any_of.rb} | 10 +++--- ...nce_score_list200_response_any_of_data.rb} | 8 ++--- ...esponse_any_of_data_translations_inner.rb} | 6 ++-- ...e_list200_response_any_of_errors_inner.rb} | 6 ++-- ...quality_performance_score_list_request.rb} | 6 ++-- .../api/quality_performance_score_api_spec.rb | 8 ++--- ...ance_score200_response_any_of_data_spec.rb | 29 --------------- ...score_list200_response_any_of_data_spec.rb | 29 +++++++++++++++ ...se_any_of_data_translations_inner_spec.rb} | 12 +++---- ...t200_response_any_of_errors_inner_spec.rb} | 12 +++---- ...nce_score_list200_response_any_of_spec.rb} | 12 +++---- ...erformance_score_list200_response_spec.rb} | 12 +++---- ...ty_performance_score_list_request_spec.rb} | 12 +++---- 28 files changed, 204 insertions(+), 204 deletions(-) delete mode 100644 docs/ProjectsQualityPerformanceScore200Response.md delete mode 100644 docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md delete mode 100644 docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md create mode 100644 docs/QualityPerformanceScoreList200Response.md create mode 100644 docs/QualityPerformanceScoreList200ResponseAnyOf.md create mode 100644 docs/QualityPerformanceScoreList200ResponseAnyOfData.md rename docs/{ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md => QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md} (72%) rename docs/{ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md => QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md} (71%) rename docs/{ProjectsQualityPerformanceScoreRequest.md => QualityPerformanceScoreListRequest.md} (68%) rename lib/phrase/models/{projects_quality_performance_score200_response.rb => quality_performance_score_list200_response.rb} (92%) rename lib/phrase/models/{projects_quality_performance_score200_response_any_of.rb => quality_performance_score_list200_response_any_of.rb} (92%) rename lib/phrase/models/{projects_quality_performance_score200_response_any_of_data.rb => quality_performance_score_list200_response_any_of_data.rb} (92%) rename 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} (94%) rename lib/phrase/models/{projects_quality_performance_score200_response_any_of_errors_inner.rb => quality_performance_score_list200_response_any_of_errors_inner.rb} (94%) rename lib/phrase/models/{projects_quality_performance_score_request.rb => quality_performance_score_list_request.rb} (95%) delete mode 100644 spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb create mode 100644 spec/models/quality_performance_score_list200_response_any_of_data_spec.rb rename 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} (57%) rename spec/models/{projects_quality_performance_score200_response_any_of_errors_inner_spec.rb => quality_performance_score_list200_response_any_of_errors_inner_spec.rb} (59%) rename spec/models/{projects_quality_performance_score200_response_any_of_spec.rb => quality_performance_score_list200_response_any_of_spec.rb} (57%) rename spec/models/{projects_quality_performance_score200_response_spec.rb => quality_performance_score_list200_response_spec.rb} (64%) rename spec/models/{projects_quality_performance_score_request_spec.rb => quality_performance_score_list_request_spec.rb} (52%) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index bdf586d..1291d30 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -174,13 +174,13 @@ docs/ProjectReport.md docs/ProjectShort.md docs/ProjectUpdateParameters.md docs/ProjectsApi.md -docs/ProjectsQualityPerformanceScore200Response.md -docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md -docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md -docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md -docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md -docs/ProjectsQualityPerformanceScoreRequest.md docs/QualityPerformanceScoreApi.md +docs/QualityPerformanceScoreList200Response.md +docs/QualityPerformanceScoreList200ResponseAnyOf.md +docs/QualityPerformanceScoreList200ResponseAnyOfData.md +docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md +docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md +docs/QualityPerformanceScoreListRequest.md docs/Release.md docs/ReleaseCreateParameters.md docs/ReleaseCreateParameters1.md @@ -464,12 +464,12 @@ lib/phrase/models/project_locales.rb lib/phrase/models/project_report.rb lib/phrase/models/project_short.rb lib/phrase/models/project_update_parameters.rb -lib/phrase/models/projects_quality_performance_score200_response.rb -lib/phrase/models/projects_quality_performance_score200_response_any_of.rb -lib/phrase/models/projects_quality_performance_score200_response_any_of_data.rb -lib/phrase/models/projects_quality_performance_score200_response_any_of_data_translations_inner.rb -lib/phrase/models/projects_quality_performance_score200_response_any_of_errors_inner.rb -lib/phrase/models/projects_quality_performance_score_request.rb +lib/phrase/models/quality_performance_score_list200_response.rb +lib/phrase/models/quality_performance_score_list200_response_any_of.rb +lib/phrase/models/quality_performance_score_list200_response_any_of_data.rb +lib/phrase/models/quality_performance_score_list200_response_any_of_data_translations_inner.rb +lib/phrase/models/quality_performance_score_list200_response_any_of_errors_inner.rb +lib/phrase/models/quality_performance_score_list_request.rb lib/phrase/models/release.rb lib/phrase/models/release_create_parameters.rb lib/phrase/models/release_create_parameters1.rb @@ -731,12 +731,12 @@ spec/models/project_report_spec.rb spec/models/project_short_spec.rb spec/models/project_spec.rb spec/models/project_update_parameters_spec.rb -spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb -spec/models/projects_quality_performance_score200_response_any_of_data_translations_inner_spec.rb -spec/models/projects_quality_performance_score200_response_any_of_errors_inner_spec.rb -spec/models/projects_quality_performance_score200_response_any_of_spec.rb -spec/models/projects_quality_performance_score200_response_spec.rb -spec/models/projects_quality_performance_score_request_spec.rb +spec/models/quality_performance_score_list200_response_any_of_data_spec.rb +spec/models/quality_performance_score_list200_response_any_of_data_translations_inner_spec.rb +spec/models/quality_performance_score_list200_response_any_of_errors_inner_spec.rb +spec/models/quality_performance_score_list200_response_any_of_spec.rb +spec/models/quality_performance_score_list200_response_spec.rb +spec/models/quality_performance_score_list_request_spec.rb spec/models/release_create_parameters1_spec.rb spec/models/release_create_parameters_spec.rb spec/models/release_preview_spec.rb diff --git a/README.md b/README.md index 581ef72..01789b0 100644 --- a/README.md +++ b/README.md @@ -299,7 +299,7 @@ Class | Method | HTTP request | Description *Phrase::ProjectsApi* | [**project_show**](docs/ProjectsApi.md#project_show) | **GET** /projects/{id} | Get a single project *Phrase::ProjectsApi* | [**project_update**](docs/ProjectsApi.md#project_update) | **PATCH** /projects/{id} | Update a project *Phrase::ProjectsApi* | [**projects_list**](docs/ProjectsApi.md#projects_list) | **GET** /projects | List projects -*Phrase::QualityPerformanceScoreApi* | [**projects_quality_performance_score**](docs/QualityPerformanceScoreApi.md#projects_quality_performance_score) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality +*Phrase::QualityPerformanceScoreApi* | [**quality_performance_score_list**](docs/QualityPerformanceScoreApi.md#quality_performance_score_list) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality *Phrase::ReleaseTriggersApi* | [**release_triggers_create**](docs/ReleaseTriggersApi.md#release_triggers_create) | **POST** /accounts/{account_id}/distributions/{distribution_id}/release_triggers | Create a release trigger *Phrase::ReleaseTriggersApi* | [**release_triggers_destroy**](docs/ReleaseTriggersApi.md#release_triggers_destroy) | **DELETE** /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id} | Delete a single release trigger *Phrase::ReleaseTriggersApi* | [**release_triggers_list**](docs/ReleaseTriggersApi.md#release_triggers_list) | **GET** /accounts/{account_id}/distributions/{distribution_id}/release_triggers | List release triggers @@ -534,12 +534,12 @@ Class | Method | HTTP request | Description - [Phrase::ProjectReport](docs/ProjectReport.md) - [Phrase::ProjectShort](docs/ProjectShort.md) - [Phrase::ProjectUpdateParameters](docs/ProjectUpdateParameters.md) - - [Phrase::ProjectsQualityPerformanceScore200Response](docs/ProjectsQualityPerformanceScore200Response.md) - - [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf](docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md) - - [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData](docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md) - - [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner](docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md) - - [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner](docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md) - - [Phrase::ProjectsQualityPerformanceScoreRequest](docs/ProjectsQualityPerformanceScoreRequest.md) + - [Phrase::QualityPerformanceScoreList200Response](docs/QualityPerformanceScoreList200Response.md) + - [Phrase::QualityPerformanceScoreList200ResponseAnyOf](docs/QualityPerformanceScoreList200ResponseAnyOf.md) + - [Phrase::QualityPerformanceScoreList200ResponseAnyOfData](docs/QualityPerformanceScoreList200ResponseAnyOfData.md) + - [Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner](docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md) + - [Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner](docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) + - [Phrase::QualityPerformanceScoreListRequest](docs/QualityPerformanceScoreListRequest.md) - [Phrase::Release](docs/Release.md) - [Phrase::ReleaseCreateParameters](docs/ReleaseCreateParameters.md) - [Phrase::ReleaseCreateParameters1](docs/ReleaseCreateParameters1.md) diff --git a/docs/ProjectsQualityPerformanceScore200Response.md b/docs/ProjectsQualityPerformanceScore200Response.md deleted file mode 100644 index e7b8300..0000000 --- a/docs/ProjectsQualityPerformanceScore200Response.md +++ /dev/null @@ -1,21 +0,0 @@ -# Phrase::ProjectsQualityPerformanceScore200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**ErrorError**](ErrorError.md) | | [optional] -**data** | [**ProjectsQualityPerformanceScore200ResponseAnyOfData**](ProjectsQualityPerformanceScore200ResponseAnyOfData.md) | | [optional] -**errors** | [**Array<ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner>**](ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional] - -## Code Sample - -```ruby -require 'Phrase' - -instance = Phrase::ProjectsQualityPerformanceScore200Response.new(error: null, - data: null, - errors: null) -``` - - diff --git a/docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md b/docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md deleted file mode 100644 index a56e733..0000000 --- a/docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md +++ /dev/null @@ -1,19 +0,0 @@ -# Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**ProjectsQualityPerformanceScore200ResponseAnyOfData**](ProjectsQualityPerformanceScore200ResponseAnyOfData.md) | | [optional] -**errors** | [**Array<ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner>**](ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional] - -## Code Sample - -```ruby -require 'Phrase' - -instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf.new(data: null, - errors: null) -``` - - diff --git a/docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md b/docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md deleted file mode 100644 index a7b55a2..0000000 --- a/docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md +++ /dev/null @@ -1,17 +0,0 @@ -# Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**translations** | [**Array<ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner>**](ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md) | | [optional] - -## Code Sample - -```ruby -require 'Phrase' - -instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData.new(translations: null) -``` - - diff --git a/docs/QualityPerformanceScoreApi.md b/docs/QualityPerformanceScoreApi.md index 821ea18..390357c 100644 --- a/docs/QualityPerformanceScoreApi.md +++ b/docs/QualityPerformanceScoreApi.md @@ -4,13 +4,13 @@ All URIs are relative to *https://api.phrase.com/v2* Method | HTTP request | Description ------------- | ------------- | ------------- -[**projects_quality_performance_score**](QualityPerformanceScoreApi.md#projects_quality_performance_score) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality +[**quality_performance_score_list**](QualityPerformanceScoreApi.md#quality_performance_score_list) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality -## projects_quality_performance_score +## quality_performance_score_list -> ProjectsQualityPerformanceScore200Response projects_quality_performance_score(project_id, projects_quality_performance_score_request, opts) +> QualityPerformanceScoreList200Response quality_performance_score_list(project_id, quality_performance_score_list_request, opts) Get Translation Quality @@ -34,17 +34,17 @@ end api_instance = Phrase::QualityPerformanceScoreApi.new project_id = 'project_id_example' # String | Project ID -projects_quality_performance_score_request = Phrase::ProjectsQualityPerformanceScoreRequest.new # ProjectsQualityPerformanceScoreRequest | +quality_performance_score_list_request = Phrase::QualityPerformanceScoreListRequest.new # QualityPerformanceScoreListRequest | opts = { x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional) } begin #Get Translation Quality - result = api_instance.projects_quality_performance_score(project_id, projects_quality_performance_score_request, opts) + result = api_instance.quality_performance_score_list(project_id, quality_performance_score_list_request, opts) pp result rescue Phrase::ApiError => e - puts "Exception when calling QualityPerformanceScoreApi->projects_quality_performance_score: #{e}" + puts "Exception when calling QualityPerformanceScoreApi->quality_performance_score_list: #{e}" end ``` @@ -54,12 +54,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **project_id** | **String**| Project ID | - **projects_quality_performance_score_request** | [**ProjectsQualityPerformanceScoreRequest**](ProjectsQualityPerformanceScoreRequest.md)| | + **quality_performance_score_list_request** | [**QualityPerformanceScoreListRequest**](QualityPerformanceScoreListRequest.md)| | **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional] ### Return type -Response<([**ProjectsQualityPerformanceScore200Response**](ProjectsQualityPerformanceScore200Response.md))> +Response<([**QualityPerformanceScoreList200Response**](QualityPerformanceScoreList200Response.md))> ### Authorization diff --git a/docs/QualityPerformanceScoreList200Response.md b/docs/QualityPerformanceScoreList200Response.md new file mode 100644 index 0000000..870845e --- /dev/null +++ b/docs/QualityPerformanceScoreList200Response.md @@ -0,0 +1,21 @@ +# Phrase::QualityPerformanceScoreList200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [**ErrorError**](ErrorError.md) | | [optional] +**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional] +**errors** | [**Array<QualityPerformanceScoreList200ResponseAnyOfErrorsInner>**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional] + +## Code Sample + +```ruby +require 'Phrase' + +instance = Phrase::QualityPerformanceScoreList200Response.new(error: null, + data: null, + errors: null) +``` + + diff --git a/docs/QualityPerformanceScoreList200ResponseAnyOf.md b/docs/QualityPerformanceScoreList200ResponseAnyOf.md new file mode 100644 index 0000000..c2d583e --- /dev/null +++ b/docs/QualityPerformanceScoreList200ResponseAnyOf.md @@ -0,0 +1,19 @@ +# Phrase::QualityPerformanceScoreList200ResponseAnyOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional] +**errors** | [**Array<QualityPerformanceScoreList200ResponseAnyOfErrorsInner>**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional] + +## Code Sample + +```ruby +require 'Phrase' + +instance = Phrase::QualityPerformanceScoreList200ResponseAnyOf.new(data: null, + errors: null) +``` + + diff --git a/docs/QualityPerformanceScoreList200ResponseAnyOfData.md b/docs/QualityPerformanceScoreList200ResponseAnyOfData.md new file mode 100644 index 0000000..7457308 --- /dev/null +++ b/docs/QualityPerformanceScoreList200ResponseAnyOfData.md @@ -0,0 +1,17 @@ +# Phrase::QualityPerformanceScoreList200ResponseAnyOfData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**translations** | [**Array<QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner>**](QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md) | | [optional] + +## Code Sample + +```ruby +require 'Phrase' + +instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfData.new(translations: null) +``` + + diff --git a/docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md b/docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md similarity index 72% rename from docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md rename to docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md index a20aa0a..ca469b3 100644 --- a/docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md +++ b/docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md @@ -1,4 +1,4 @@ -# Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner +# Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner ## Properties @@ -13,7 +13,7 @@ Name | Type | Description | Notes ```ruby require 'Phrase' -instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.new(engine: null, +instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.new(engine: null, score: null, id: null) ``` diff --git a/docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md b/docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md similarity index 71% rename from docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md rename to docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md index b075529..7f91a60 100644 --- a/docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md +++ b/docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md @@ -1,4 +1,4 @@ -# Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner +# Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner ## Properties @@ -13,7 +13,7 @@ Name | Type | Description | Notes ```ruby require 'Phrase' -instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.new(message: null, +instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner.new(message: null, code: null, id: null) ``` diff --git a/docs/ProjectsQualityPerformanceScoreRequest.md b/docs/QualityPerformanceScoreListRequest.md similarity index 68% rename from docs/ProjectsQualityPerformanceScoreRequest.md rename to docs/QualityPerformanceScoreListRequest.md index aa4913b..39acff9 100644 --- a/docs/ProjectsQualityPerformanceScoreRequest.md +++ b/docs/QualityPerformanceScoreListRequest.md @@ -1,4 +1,4 @@ -# Phrase::ProjectsQualityPerformanceScoreRequest +# Phrase::QualityPerformanceScoreListRequest ## Properties @@ -11,7 +11,7 @@ Name | Type | Description | Notes ```ruby require 'Phrase' -instance = Phrase::ProjectsQualityPerformanceScoreRequest.new(translation_ids: null) +instance = Phrase::QualityPerformanceScoreListRequest.new(translation_ids: null) ``` diff --git a/lib/phrase.rb b/lib/phrase.rb index 16594c0..1305b1d 100644 --- a/lib/phrase.rb +++ b/lib/phrase.rb @@ -141,12 +141,12 @@ require 'phrase/models/project_report' require 'phrase/models/project_short' require 'phrase/models/project_update_parameters' -require 'phrase/models/projects_quality_performance_score200_response' -require 'phrase/models/projects_quality_performance_score200_response_any_of' -require 'phrase/models/projects_quality_performance_score200_response_any_of_data' -require 'phrase/models/projects_quality_performance_score200_response_any_of_data_translations_inner' -require 'phrase/models/projects_quality_performance_score200_response_any_of_errors_inner' -require 'phrase/models/projects_quality_performance_score_request' +require 'phrase/models/quality_performance_score_list200_response' +require 'phrase/models/quality_performance_score_list200_response_any_of' +require 'phrase/models/quality_performance_score_list200_response_any_of_data' +require 'phrase/models/quality_performance_score_list200_response_any_of_data_translations_inner' +require 'phrase/models/quality_performance_score_list200_response_any_of_errors_inner' +require 'phrase/models/quality_performance_score_list_request' require 'phrase/models/release' require 'phrase/models/release_create_parameters' require 'phrase/models/release_create_parameters1' diff --git a/lib/phrase/api/quality_performance_score_api.rb b/lib/phrase/api/quality_performance_score_api.rb index f62d5b6..2df8daf 100644 --- a/lib/phrase/api/quality_performance_score_api.rb +++ b/lib/phrase/api/quality_performance_score_api.rb @@ -10,33 +10,33 @@ def initialize(api_client = ApiClient.default) # Get Translation Quality # Retrieves the quality scores for your Strings translations. Returns a score, measured by Phrase QPS # @param project_id [String] Project ID - # @param projects_quality_performance_score_request [ProjectsQualityPerformanceScoreRequest] + # @param quality_performance_score_list_request [QualityPerformanceScoreListRequest] # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) - # @return [ProjectsQualityPerformanceScore200Response] - def projects_quality_performance_score(project_id, projects_quality_performance_score_request, opts = {}) - data, _status_code, _headers = projects_quality_performance_score_with_http_info(project_id, projects_quality_performance_score_request, opts) + # @return [QualityPerformanceScoreList200Response] + def quality_performance_score_list(project_id, quality_performance_score_list_request, opts = {}) + data, _status_code, _headers = quality_performance_score_list_with_http_info(project_id, quality_performance_score_list_request, opts) data end # Get Translation Quality # Retrieves the quality scores for your Strings translations. Returns a score, measured by Phrase QPS # @param project_id [String] Project ID - # @param projects_quality_performance_score_request [ProjectsQualityPerformanceScoreRequest] + # @param quality_performance_score_list_request [QualityPerformanceScoreListRequest] # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) - # @return [Array<(Response<(ProjectsQualityPerformanceScore200Response)>, Integer, Hash)>] Response<(ProjectsQualityPerformanceScore200Response)> data, response status code and response headers - def projects_quality_performance_score_with_http_info(project_id, projects_quality_performance_score_request, opts = {}) + # @return [Array<(Response<(QualityPerformanceScoreList200Response)>, Integer, Hash)>] Response<(QualityPerformanceScoreList200Response)> data, response status code and response headers + def quality_performance_score_list_with_http_info(project_id, quality_performance_score_list_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: QualityPerformanceScoreApi.projects_quality_performance_score ...' + @api_client.config.logger.debug 'Calling API: QualityPerformanceScoreApi.quality_performance_score_list ...' end # verify the required parameter 'project_id' is set if @api_client.config.client_side_validation && project_id.nil? - fail ArgumentError, "Missing the required parameter 'project_id' when calling QualityPerformanceScoreApi.projects_quality_performance_score" + fail ArgumentError, "Missing the required parameter 'project_id' when calling QualityPerformanceScoreApi.quality_performance_score_list" end - # verify the required parameter 'projects_quality_performance_score_request' is set - if @api_client.config.client_side_validation && projects_quality_performance_score_request.nil? - fail ArgumentError, "Missing the required parameter 'projects_quality_performance_score_request' when calling QualityPerformanceScoreApi.projects_quality_performance_score" + # verify the required parameter 'quality_performance_score_list_request' is set + if @api_client.config.client_side_validation && quality_performance_score_list_request.nil? + fail ArgumentError, "Missing the required parameter 'quality_performance_score_list_request' when calling QualityPerformanceScoreApi.quality_performance_score_list" end # resource path local_var_path = '/projects/{project_id}/quality_performance_score'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s)) @@ -56,10 +56,10 @@ def projects_quality_performance_score_with_http_info(project_id, projects_quali form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:body] || @api_client.object_to_http_body(projects_quality_performance_score_request) + post_body = opts[:body] || @api_client.object_to_http_body(quality_performance_score_list_request) # return_type - return_type = opts[:return_type] || 'ProjectsQualityPerformanceScore200Response' + return_type = opts[:return_type] || 'QualityPerformanceScoreList200Response' # auth_names auth_names = opts[:auth_names] || ['Basic', 'Token'] @@ -75,7 +75,7 @@ def projects_quality_performance_score_with_http_info(project_id, projects_quali data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: QualityPerformanceScoreApi#projects_quality_performance_score\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: QualityPerformanceScoreApi#quality_performance_score_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end response = ::Phrase::Response.new(data, headers) return response, status_code, headers diff --git a/lib/phrase/models/projects_quality_performance_score200_response.rb b/lib/phrase/models/quality_performance_score_list200_response.rb similarity index 92% rename from lib/phrase/models/projects_quality_performance_score200_response.rb rename to lib/phrase/models/quality_performance_score_list200_response.rb index 64c2b05..68ce97a 100644 --- a/lib/phrase/models/projects_quality_performance_score200_response.rb +++ b/lib/phrase/models/quality_performance_score_list200_response.rb @@ -1,7 +1,7 @@ require 'date' module Phrase - class ProjectsQualityPerformanceScore200Response + class QualityPerformanceScoreList200Response attr_accessor :error attr_accessor :data @@ -22,8 +22,8 @@ def self.attribute_map def self.openapi_types { :'error' => :'ErrorError', - :'data' => :'ProjectsQualityPerformanceScore200ResponseAnyOfData', - :'errors' => :'Array' + :'data' => :'QualityPerformanceScoreList200ResponseAnyOfData', + :'errors' => :'Array' } end @@ -37,7 +37,7 @@ def self.openapi_nullable def self.openapi_any_of [ :'Error', - :'ProjectsQualityPerformanceScore200ResponseAnyOf' + :'QualityPerformanceScoreList200ResponseAnyOf' ] end @@ -45,13 +45,13 @@ def self.openapi_any_of # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::ProjectsQualityPerformanceScore200Response` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::QualityPerformanceScoreList200Response` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::ProjectsQualityPerformanceScore200Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::QualityPerformanceScoreList200Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/phrase/models/projects_quality_performance_score200_response_any_of.rb b/lib/phrase/models/quality_performance_score_list200_response_any_of.rb similarity index 92% rename from lib/phrase/models/projects_quality_performance_score200_response_any_of.rb rename to lib/phrase/models/quality_performance_score_list200_response_any_of.rb index 000f99d..79f83cd 100644 --- a/lib/phrase/models/projects_quality_performance_score200_response_any_of.rb +++ b/lib/phrase/models/quality_performance_score_list200_response_any_of.rb @@ -1,7 +1,7 @@ require 'date' module Phrase - class ProjectsQualityPerformanceScore200ResponseAnyOf + class QualityPerformanceScoreList200ResponseAnyOf attr_accessor :data # Array of errors for any failing translation IDs @@ -18,8 +18,8 @@ def self.attribute_map # Attribute type mapping. def self.openapi_types { - :'data' => :'ProjectsQualityPerformanceScore200ResponseAnyOfData', - :'errors' => :'Array' + :'data' => :'QualityPerformanceScoreList200ResponseAnyOfData', + :'errors' => :'Array' } end @@ -33,13 +33,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::QualityPerformanceScoreList200ResponseAnyOf` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::QualityPerformanceScoreList200ResponseAnyOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/phrase/models/projects_quality_performance_score200_response_any_of_data.rb b/lib/phrase/models/quality_performance_score_list200_response_any_of_data.rb similarity index 92% rename from lib/phrase/models/projects_quality_performance_score200_response_any_of_data.rb rename to lib/phrase/models/quality_performance_score_list200_response_any_of_data.rb index 9e33416..46f03d4 100644 --- a/lib/phrase/models/projects_quality_performance_score200_response_any_of_data.rb +++ b/lib/phrase/models/quality_performance_score_list200_response_any_of_data.rb @@ -1,7 +1,7 @@ require 'date' module Phrase - class ProjectsQualityPerformanceScore200ResponseAnyOfData + class QualityPerformanceScoreList200ResponseAnyOfData attr_accessor :translations # Attribute mapping from ruby-style variable name to JSON key. @@ -14,7 +14,7 @@ def self.attribute_map # Attribute type mapping. def self.openapi_types { - :'translations' => :'Array' + :'translations' => :'Array' } end @@ -28,13 +28,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::QualityPerformanceScoreList200ResponseAnyOfData` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::QualityPerformanceScoreList200ResponseAnyOfData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/phrase/models/projects_quality_performance_score200_response_any_of_data_translations_inner.rb b/lib/phrase/models/quality_performance_score_list200_response_any_of_data_translations_inner.rb similarity index 94% rename from lib/phrase/models/projects_quality_performance_score200_response_any_of_data_translations_inner.rb rename to lib/phrase/models/quality_performance_score_list200_response_any_of_data_translations_inner.rb index b870f46..f6fc3ca 100644 --- a/lib/phrase/models/projects_quality_performance_score200_response_any_of_data_translations_inner.rb +++ b/lib/phrase/models/quality_performance_score_list200_response_any_of_data_translations_inner.rb @@ -1,7 +1,7 @@ require 'date' module Phrase - class ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner + class QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner # Engine used for the translation scoring attr_accessor :engine @@ -39,13 +39,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/phrase/models/projects_quality_performance_score200_response_any_of_errors_inner.rb b/lib/phrase/models/quality_performance_score_list200_response_any_of_errors_inner.rb similarity index 94% rename from lib/phrase/models/projects_quality_performance_score200_response_any_of_errors_inner.rb rename to lib/phrase/models/quality_performance_score_list200_response_any_of_errors_inner.rb index decd156..aa67020 100644 --- a/lib/phrase/models/projects_quality_performance_score200_response_any_of_errors_inner.rb +++ b/lib/phrase/models/quality_performance_score_list200_response_any_of_errors_inner.rb @@ -1,7 +1,7 @@ require 'date' module Phrase - class ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner + class QualityPerformanceScoreList200ResponseAnyOfErrorsInner attr_accessor :message attr_accessor :code @@ -37,13 +37,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/phrase/models/projects_quality_performance_score_request.rb b/lib/phrase/models/quality_performance_score_list_request.rb similarity index 95% rename from lib/phrase/models/projects_quality_performance_score_request.rb rename to lib/phrase/models/quality_performance_score_list_request.rb index 315acbc..77a3c4a 100644 --- a/lib/phrase/models/projects_quality_performance_score_request.rb +++ b/lib/phrase/models/quality_performance_score_list_request.rb @@ -1,7 +1,7 @@ require 'date' module Phrase - class ProjectsQualityPerformanceScoreRequest + class QualityPerformanceScoreListRequest # Translation ids you want to get the quality performance score for attr_accessor :translation_ids @@ -29,13 +29,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::ProjectsQualityPerformanceScoreRequest` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::QualityPerformanceScoreListRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::ProjectsQualityPerformanceScoreRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::QualityPerformanceScoreListRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/spec/api/quality_performance_score_api_spec.rb b/spec/api/quality_performance_score_api_spec.rb index 3119375..b1c439b 100644 --- a/spec/api/quality_performance_score_api_spec.rb +++ b/spec/api/quality_performance_score_api_spec.rb @@ -20,15 +20,15 @@ end end - # unit tests for projects_quality_performance_score + # unit tests for quality_performance_score_list # Get Translation Quality # Retrieves the quality scores for your Strings translations. Returns a score, measured by Phrase QPS # @param project_id Project ID - # @param projects_quality_performance_score_request + # @param quality_performance_score_list_request # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) - # @return [ProjectsQualityPerformanceScore200Response] - describe 'projects_quality_performance_score test' do + # @return [QualityPerformanceScoreList200Response] + describe 'quality_performance_score_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb b/spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb deleted file mode 100644 index 0961c7d..0000000 --- a/spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ProjectsQualityPerformanceScore200ResponseAnyOfData' do - before do - # run before each test - @instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData.new - end - - after do - # run after each test - end - - describe 'test an instance of ProjectsQualityPerformanceScore200ResponseAnyOfData' do - it 'should create an instance of ProjectsQualityPerformanceScore200ResponseAnyOfData' do - expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData) - end - end - describe 'test attribute "translations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/models/quality_performance_score_list200_response_any_of_data_spec.rb b/spec/models/quality_performance_score_list200_response_any_of_data_spec.rb new file mode 100644 index 0000000..b3b2f0c --- /dev/null +++ b/spec/models/quality_performance_score_list200_response_any_of_data_spec.rb @@ -0,0 +1,29 @@ +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOfData +# Automatically generated by openapi-generator (https://openapi-generator.tech) +# Please update as you see appropriate +describe 'QualityPerformanceScoreList200ResponseAnyOfData' do + before do + # run before each test + @instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfData.new + end + + after do + # run after each test + end + + describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOfData' do + it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOfData' do + expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOfData) + end + end + describe 'test attribute "translations"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/spec/models/projects_quality_performance_score200_response_any_of_data_translations_inner_spec.rb b/spec/models/quality_performance_score_list200_response_any_of_data_translations_inner_spec.rb similarity index 57% rename from spec/models/projects_quality_performance_score200_response_any_of_data_translations_inner_spec.rb rename to spec/models/quality_performance_score_list200_response_any_of_data_translations_inner_spec.rb index 248a212..a9155c2 100644 --- a/spec/models/projects_quality_performance_score200_response_any_of_data_translations_inner_spec.rb +++ b/spec/models/quality_performance_score_list200_response_any_of_data_translations_inner_spec.rb @@ -2,22 +2,22 @@ require 'json' require 'date' -# Unit tests for Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner +# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner' do +describe 'QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner' do before do # run before each test - @instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.new + @instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.new end after do # run after each test end - describe 'test an instance of ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner' do - it 'should create an instance of ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner' do - expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner) + describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner' do + it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner' do + expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner) end end describe 'test attribute "engine"' do diff --git a/spec/models/projects_quality_performance_score200_response_any_of_errors_inner_spec.rb b/spec/models/quality_performance_score_list200_response_any_of_errors_inner_spec.rb similarity index 59% rename from spec/models/projects_quality_performance_score200_response_any_of_errors_inner_spec.rb rename to spec/models/quality_performance_score_list200_response_any_of_errors_inner_spec.rb index 1823344..d762d33 100644 --- a/spec/models/projects_quality_performance_score200_response_any_of_errors_inner_spec.rb +++ b/spec/models/quality_performance_score_list200_response_any_of_errors_inner_spec.rb @@ -2,22 +2,22 @@ require 'json' require 'date' -# Unit tests for Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner +# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner' do +describe 'QualityPerformanceScoreList200ResponseAnyOfErrorsInner' do before do # run before each test - @instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.new + @instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner.new end after do # run after each test end - describe 'test an instance of ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner' do - it 'should create an instance of ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner' do - expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner) + describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOfErrorsInner' do + it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOfErrorsInner' do + expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner) end end describe 'test attribute "message"' do diff --git a/spec/models/projects_quality_performance_score200_response_any_of_spec.rb b/spec/models/quality_performance_score_list200_response_any_of_spec.rb similarity index 57% rename from spec/models/projects_quality_performance_score200_response_any_of_spec.rb rename to spec/models/quality_performance_score_list200_response_any_of_spec.rb index c40e82c..eed03df 100644 --- a/spec/models/projects_quality_performance_score200_response_any_of_spec.rb +++ b/spec/models/quality_performance_score_list200_response_any_of_spec.rb @@ -2,22 +2,22 @@ require 'json' require 'date' -# Unit tests for Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf +# Unit tests for Phrase::QualityPerformanceScoreList200ResponseAnyOf # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ProjectsQualityPerformanceScore200ResponseAnyOf' do +describe 'QualityPerformanceScoreList200ResponseAnyOf' do before do # run before each test - @instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf.new + @instance = Phrase::QualityPerformanceScoreList200ResponseAnyOf.new end after do # run after each test end - describe 'test an instance of ProjectsQualityPerformanceScore200ResponseAnyOf' do - it 'should create an instance of ProjectsQualityPerformanceScore200ResponseAnyOf' do - expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf) + describe 'test an instance of QualityPerformanceScoreList200ResponseAnyOf' do + it 'should create an instance of QualityPerformanceScoreList200ResponseAnyOf' do + expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200ResponseAnyOf) end end describe 'test attribute "data"' do diff --git a/spec/models/projects_quality_performance_score200_response_spec.rb b/spec/models/quality_performance_score_list200_response_spec.rb similarity index 64% rename from spec/models/projects_quality_performance_score200_response_spec.rb rename to spec/models/quality_performance_score_list200_response_spec.rb index 688cc1a..191f799 100644 --- a/spec/models/projects_quality_performance_score200_response_spec.rb +++ b/spec/models/quality_performance_score_list200_response_spec.rb @@ -2,22 +2,22 @@ require 'json' require 'date' -# Unit tests for Phrase::ProjectsQualityPerformanceScore200Response +# Unit tests for Phrase::QualityPerformanceScoreList200Response # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ProjectsQualityPerformanceScore200Response' do +describe 'QualityPerformanceScoreList200Response' do before do # run before each test - @instance = Phrase::ProjectsQualityPerformanceScore200Response.new + @instance = Phrase::QualityPerformanceScoreList200Response.new end after do # run after each test end - describe 'test an instance of ProjectsQualityPerformanceScore200Response' do - it 'should create an instance of ProjectsQualityPerformanceScore200Response' do - expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScore200Response) + describe 'test an instance of QualityPerformanceScoreList200Response' do + it 'should create an instance of QualityPerformanceScoreList200Response' do + expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreList200Response) end end describe 'test attribute "error"' do diff --git a/spec/models/projects_quality_performance_score_request_spec.rb b/spec/models/quality_performance_score_list_request_spec.rb similarity index 52% rename from spec/models/projects_quality_performance_score_request_spec.rb rename to spec/models/quality_performance_score_list_request_spec.rb index 905a584..6be83e6 100644 --- a/spec/models/projects_quality_performance_score_request_spec.rb +++ b/spec/models/quality_performance_score_list_request_spec.rb @@ -2,22 +2,22 @@ require 'json' require 'date' -# Unit tests for Phrase::ProjectsQualityPerformanceScoreRequest +# Unit tests for Phrase::QualityPerformanceScoreListRequest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ProjectsQualityPerformanceScoreRequest' do +describe 'QualityPerformanceScoreListRequest' do before do # run before each test - @instance = Phrase::ProjectsQualityPerformanceScoreRequest.new + @instance = Phrase::QualityPerformanceScoreListRequest.new end after do # run after each test end - describe 'test an instance of ProjectsQualityPerformanceScoreRequest' do - it 'should create an instance of ProjectsQualityPerformanceScoreRequest' do - expect(@instance).to be_instance_of(Phrase::ProjectsQualityPerformanceScoreRequest) + describe 'test an instance of QualityPerformanceScoreListRequest' do + it 'should create an instance of QualityPerformanceScoreListRequest' do + expect(@instance).to be_instance_of(Phrase::QualityPerformanceScoreListRequest) end end describe 'test attribute "translation_ids"' do