phrase 4.31.0 → 4.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/Gemfile +1 -1
  4. data/README.md +4 -3
  5. data/docs/CustomMetadataPropertiesUpdateParameters.md +1 -1
  6. data/docs/Glossary.md +2 -0
  7. data/docs/GlossaryTermUpdateParameters.md +1 -1
  8. data/docs/JobCreateParameters.md +4 -2
  9. data/docs/JobDetails.md +3 -1
  10. data/docs/JobTemplateCreateParameters.md +2 -0
  11. data/docs/JobTemplateDetails.md +3 -1
  12. data/docs/JobTemplateUpdateParameters.md +3 -1
  13. data/docs/JobUpdateParameters.md +5 -3
  14. data/docs/KeyUpdateParameters.md +5 -5
  15. data/docs/LocaleUpdateParameters.md +2 -2
  16. data/docs/OrganizationJobTemplateCreateParameters.md +2 -0
  17. data/docs/OrganizationJobTemplateDetails.md +3 -1
  18. data/docs/OrganizationJobTemplateUpdateParameters.md +3 -1
  19. data/docs/ProjectUpdateParameters.md +1 -1
  20. data/docs/ReleaseUpdateParameters.md +3 -3
  21. data/docs/RepoSyncEvent.md +3 -1
  22. data/docs/RepoSyncEventUploadsInner.md +19 -0
  23. data/docs/ScreenshotUpdateParameters.md +1 -1
  24. data/docs/StyleguideUpdateParameters.md +9 -9
  25. data/docs/TranslationUpdateParameters.md +1 -1
  26. data/docs/TranslationsApi.md +7 -7
  27. data/docs/TranslationsExcludeParameters.md +2 -2
  28. data/docs/TranslationsIncludeParameters.md +2 -2
  29. data/docs/TranslationsReviewParameters.md +2 -2
  30. data/docs/TranslationsSearchParameters.md +2 -2
  31. data/docs/TranslationsUnreviewParameters.md +2 -2
  32. data/docs/TranslationsUnverifyParameters.md +2 -2
  33. data/docs/TranslationsVerifyParameters.md +2 -2
  34. data/docs/WebhookUpdateParameters.md +1 -1
  35. data/lib/phrase/api/translations_api.rb +8 -8
  36. data/lib/phrase/models/custom_metadata_properties_update_parameters.rb +2 -1
  37. data/lib/phrase/models/glossary.rb +11 -1
  38. data/lib/phrase/models/glossary_term_update_parameters.rb +2 -1
  39. data/lib/phrase/models/job_create_parameters.rb +15 -5
  40. data/lib/phrase/models/job_details.rb +14 -4
  41. data/lib/phrase/models/job_template_create_parameters.rb +11 -1
  42. data/lib/phrase/models/job_template_details.rb +14 -4
  43. data/lib/phrase/models/job_template_update_parameters.rb +13 -2
  44. data/lib/phrase/models/job_update_parameters.rb +18 -6
  45. data/lib/phrase/models/key_update_parameters.rb +10 -5
  46. data/lib/phrase/models/locale_update_parameters.rb +4 -2
  47. data/lib/phrase/models/organization_job_template_create_parameters.rb +11 -1
  48. data/lib/phrase/models/organization_job_template_details.rb +14 -4
  49. data/lib/phrase/models/organization_job_template_update_parameters.rb +13 -2
  50. data/lib/phrase/models/project_update_parameters.rb +2 -1
  51. data/lib/phrase/models/release_update_parameters.rb +6 -3
  52. data/lib/phrase/models/repo_sync_event.rb +17 -4
  53. data/lib/phrase/models/repo_sync_event_uploads_inner.rb +241 -0
  54. data/lib/phrase/models/screenshot_update_parameters.rb +2 -1
  55. data/lib/phrase/models/styleguide_update_parameters.rb +18 -9
  56. data/lib/phrase/models/translation_update_parameters.rb +2 -1
  57. data/lib/phrase/models/translations_exclude_parameters.rb +1 -1
  58. data/lib/phrase/models/translations_include_parameters.rb +1 -1
  59. data/lib/phrase/models/translations_review_parameters.rb +1 -1
  60. data/lib/phrase/models/translations_search_parameters.rb +1 -1
  61. data/lib/phrase/models/translations_unreview_parameters.rb +1 -1
  62. data/lib/phrase/models/translations_unverify_parameters.rb +1 -1
  63. data/lib/phrase/models/translations_verify_parameters.rb +1 -1
  64. data/lib/phrase/models/webhook_update_parameters.rb +2 -1
  65. data/lib/phrase/version.rb +1 -1
  66. data/lib/phrase.rb +1 -0
  67. data/spec/api/translations_api_spec.rb +4 -4
  68. data/spec/models/glossary_spec.rb +6 -0
  69. data/spec/models/job_create_parameters_spec.rb +6 -0
  70. data/spec/models/job_details_spec.rb +6 -0
  71. data/spec/models/job_template_create_parameters_spec.rb +6 -0
  72. data/spec/models/job_template_details_spec.rb +6 -0
  73. data/spec/models/job_template_update_parameters_spec.rb +6 -0
  74. data/spec/models/job_update_parameters_spec.rb +6 -0
  75. data/spec/models/organization_job_template_create_parameters_spec.rb +6 -0
  76. data/spec/models/organization_job_template_details_spec.rb +6 -0
  77. data/spec/models/organization_job_template_update_parameters_spec.rb +6 -0
  78. data/spec/models/repo_sync_event_spec.rb +6 -0
  79. data/spec/models/repo_sync_event_uploads_inner_spec.rb +39 -0
  80. metadata +276 -272
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **branch** | **String** | specify the branch to use | [optional]
8
- **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of ids * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries Find more examples [here](/en/api/strings/usage-examples). | [optional]
8
+ **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of translation ids * `key.id:key_id,...` for queries on a comma-separated list of translation key ids * `key.name:key_name,...` for queries on a comma-separated list of translation key names * `locale.id:locale_id,...` for queries on a comma-separated list of locale ids * `locale.name:locale_name,...` for queries on a comma-separated list of locale names * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries * `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples). | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  require 'phrase'
14
14
 
15
15
  instance = Phrase::TranslationsReviewParameters.new(branch: 'my-feature-branch',
16
- q: 'PhraseApp*%reviewed:false%20tags:feature,center')
16
+ q: 'key.name:home.title,home.subtitle locale.name:de-DE tags:feature')
17
17
  ```
18
18
 
19
19
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **branch** | **String** | specify the branch to use | [optional]
8
8
  **sort** | **String** | Sort criteria. Can be one of: key_name, created_at, updated_at. | [optional]
9
9
  **order** | **String** | Order direction. Can be one of: asc, desc. | [optional]
10
- **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: - `id:translation_id,...` for queries on a comma-separated list of ids - `tags:XYZ` for tags on the translation - `unverified:{true|false}` for verification status - `excluded:{true|false}` for exclusion status - `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries Find more examples [here](/en/api/strings/usage-examples). | [optional]
10
+ **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of translation ids * `key.id:key_id,...` for queries on a comma-separated list of translation key ids * `key.name:key_name,...` for queries on a comma-separated list of translation key names * `locale.id:locale_id,...` for queries on a comma-separated list of locale ids * `locale.name:locale_name,...` for queries on a comma-separated list of locale names * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries * `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples). | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -17,7 +17,7 @@ require 'phrase'
17
17
  instance = Phrase::TranslationsSearchParameters.new(branch: 'my-feature-branch',
18
18
  sort: 'updated_at',
19
19
  order: 'desc',
20
- q: 'PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center')
20
+ q: 'key.name:home.title,home.subtitle locale.name:de-DE tags:feature')
21
21
  ```
22
22
 
23
23
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **branch** | **String** | specify the branch to use | [optional]
8
- **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of ids * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries Find more examples [here](/en/api/strings/usage-examples). | [optional]
8
+ **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of translation ids * `key.id:key_id,...` for queries on a comma-separated list of translation key ids * `key.name:key_name,...` for queries on a comma-separated list of translation key names * `locale.id:locale_id,...` for queries on a comma-separated list of locale ids * `locale.name:locale_name,...` for queries on a comma-separated list of locale names * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries * `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples). | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  require 'phrase'
14
14
 
15
15
  instance = Phrase::TranslationsUnreviewParameters.new(branch: 'my-feature-branch',
16
- q: 'PhraseApp*%reviewed:true%20tags:feature,center')
16
+ q: 'key.name:home.title,home.subtitle locale.name:de-DE tags:feature')
17
17
  ```
18
18
 
19
19
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **branch** | **String** | specify the branch to use | [optional]
8
- **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of ids * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries Find more examples [here](/en/api/strings/usage-examples). | [optional]
8
+ **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of translation ids * `key.id:key_id,...` for queries on a comma-separated list of translation key ids * `key.name:key_name,...` for queries on a comma-separated list of translation key names * `locale.id:locale_id,...` for queries on a comma-separated list of locale ids * `locale.name:locale_name,...` for queries on a comma-separated list of locale names * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries * `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples). | [optional]
9
9
  **sort** | **String** | Sort criteria. Can be one of: key_name, created_at, updated_at. | [optional]
10
10
  **order** | **String** | Order direction. Can be one of: asc, desc. | [optional]
11
11
 
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  require 'phrase'
16
16
 
17
17
  instance = Phrase::TranslationsUnverifyParameters.new(branch: 'my-feature-branch',
18
- q: 'PhraseApp*%20verified:true%20tags:feature,center',
18
+ q: 'key.name:home.title,home.subtitle locale.name:de-DE tags:feature',
19
19
  sort: 'updated_at',
20
20
  order: 'desc')
21
21
  ```
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **branch** | **String** | specify the branch to use | [optional]
8
8
  **locale_id** | **String** | specify the locale of the translations to be verified | [optional]
9
- **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of ids * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries Find more examples [here](/en/api/strings/usage-examples). | [optional]
9
+ **q** | **String** | Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of translation ids * `key.id:key_id,...` for queries on a comma-separated list of translation key ids * `key.name:key_name,...` for queries on a comma-separated list of translation key names * `locale.id:locale_id,...` for queries on a comma-separated list of locale ids * `locale.name:locale_name,...` for queries on a comma-separated list of locale names * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries * `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples). | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -15,7 +15,7 @@ require 'phrase'
15
15
 
16
16
  instance = Phrase::TranslationsVerifyParameters.new(branch: 'my-feature-branch',
17
17
  locale_id: 'fc2f11dd6a658fa9652f6f0a9ebee688',
18
- q: 'PhraseApp*%20unverified:true%20tags:feature,center')
18
+ q: 'key.name:home.title,home.subtitle locale.name:de-DE tags:feature')
19
19
  ```
20
20
 
21
21
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **callback_url** | **String** | Callback URL to send requests to | [optional]
8
8
  **secret** | **String** | Webhook secret used to calculate signature. If empty, the default project secret will be used. | [optional]
9
- **description** | **String** | Webhook description | [optional]
9
+ **description** | **String** | Webhook description. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. | [optional]
10
10
  **events** | **String** | List of event names to trigger the webhook (separated by comma) | [optional]
11
11
  **active** | **Boolean** | Whether webhook is active or inactive | [optional]
12
12
  **include_branches** | **Boolean** | If enabled, webhook will also be triggered for events from branches of the project specified. | [optional]
@@ -727,7 +727,7 @@ module Phrase
727
727
  # @option opts [String] :branch specify the branch to use
728
728
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
729
729
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
730
- # @option opts [String] :q Specify a query to find translations by content (including wildcards). The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of ids * `unverified:{true|false}` for verification status * `tags:XYZ` for tags on the translation * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries Find more examples [here](/en/api/strings/usage-examples).
730
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of translation ids * `locale.id:locale_id,...` for queries on a comma-separated list of locale ids * `locale.name:locale_name,...` for queries on a comma-separated list of locale names * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries * `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
731
731
  # @return [Array<Translation>]
732
732
  def translations_by_key(project_id, key_id, opts = {})
733
733
  data, _status_code, _headers = translations_by_key_with_http_info(project_id, key_id, opts)
@@ -745,7 +745,7 @@ module Phrase
745
745
  # @option opts [String] :branch specify the branch to use
746
746
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
747
747
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
748
- # @option opts [String] :q Specify a query to find translations by content (including wildcards). The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of ids * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries Find more examples [here](/en/api/strings/usage-examples).
748
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of translation ids * &#x60;locale.id:locale_id,...&#x60; for queries on a comma-separated list of locale ids * &#x60;locale.name:locale_name,...&#x60; for queries on a comma-separated list of locale names * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
749
749
  # @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
750
750
  def translations_by_key_with_http_info(project_id, key_id, opts = {})
751
751
  if @api_client.config.debugging
@@ -817,7 +817,7 @@ module Phrase
817
817
  # @option opts [String] :branch specify the branch to use
818
818
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
819
819
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
820
- # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: - &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of ids - &#x60;unverified:{true|false}&#x60; for verification status - &#x60;tags:XYZ&#x60; for tags on the translation - &#x60;excluded:{true|false}&#x60; for exclusion status - &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries Find more examples [here](/en/api/strings/usage-examples).
820
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of translation ids * &#x60;key.id:key_id,...&#x60; for queries on a comma-separated list of translation key ids * &#x60;key.name:key_name,...&#x60; for queries on a comma-separated list of translation key names * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
821
821
  # @return [Array<Translation>]
822
822
  def translations_by_locale(project_id, locale_id, opts = {})
823
823
  data, _status_code, _headers = translations_by_locale_with_http_info(project_id, locale_id, opts)
@@ -835,7 +835,7 @@ module Phrase
835
835
  # @option opts [String] :branch specify the branch to use
836
836
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
837
837
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
838
- # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: - &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of ids - &#x60;unverified:{true|false}&#x60; for verification status - &#x60;tags:XYZ&#x60; for tags on the translation - &#x60;excluded:{true|false}&#x60; for exclusion status - &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries Find more examples [here](/en/api/strings/usage-examples).
838
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of translation ids * &#x60;key.id:key_id,...&#x60; for queries on a comma-separated list of translation key ids * &#x60;key.name:key_name,...&#x60; for queries on a comma-separated list of translation key names * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
839
839
  # @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
840
840
  def translations_by_locale_with_http_info(project_id, locale_id, opts = {})
841
841
  if @api_client.config.debugging
@@ -1058,7 +1058,7 @@ module Phrase
1058
1058
  # @option opts [String] :locale_id Filter translations to those for the given locale (locale code or id). Equivalent to calling &#x60;GET /projects/{project_id}/locales/{locale_id}/translations&#x60;.
1059
1059
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
1060
1060
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
1061
- # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of ids * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
1061
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of translation ids * &#x60;key.id:key_id,...&#x60; for queries on a comma-separated list of translation key ids * &#x60;key.name:key_name,...&#x60; for queries on a comma-separated list of translation key names * &#x60;locale.id:locale_id,...&#x60; for queries on a comma-separated list of locale ids * &#x60;locale.name:locale_name,...&#x60; for queries on a comma-separated list of locale names * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
1062
1062
  # @return [Array<Translation>]
1063
1063
  def translations_list(project_id, opts = {})
1064
1064
  data, _status_code, _headers = translations_list_with_http_info(project_id, opts)
@@ -1079,7 +1079,7 @@ module Phrase
1079
1079
  # @option opts [String] :locale_id Filter translations to those for the given locale (locale code or id). Equivalent to calling &#x60;GET /projects/{project_id}/locales/{locale_id}/translations&#x60;.
1080
1080
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
1081
1081
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
1082
- # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of ids * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
1082
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of translation ids * &#x60;key.id:key_id,...&#x60; for queries on a comma-separated list of translation key ids * &#x60;key.name:key_name,...&#x60; for queries on a comma-separated list of translation key names * &#x60;locale.id:locale_id,...&#x60; for queries on a comma-separated list of locale ids * &#x60;locale.name:locale_name,...&#x60; for queries on a comma-separated list of locale names * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
1083
1083
  # @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
1084
1084
  def translations_list_with_http_info(project_id, opts = {})
1085
1085
  if @api_client.config.debugging
@@ -1369,7 +1369,7 @@ module Phrase
1369
1369
  end
1370
1370
 
1371
1371
  # Unverify translations by query
1372
- # Mark translations matching query as unverified.
1372
+ # Mark translations matching query as unverified. To unverify the translations of specific keys, filter by key id (and optionally locale) directly, for example `key.id:KEY_ID_1,KEY_ID_2 locale.id:LOCALE_ID`. There is no need to look up translation ids first.
1373
1373
  # @param project_id [String] Project ID
1374
1374
  # @param translations_unverify_parameters [TranslationsUnverifyParameters]
1375
1375
  # @param [Hash] opts the optional parameters
@@ -1381,7 +1381,7 @@ module Phrase
1381
1381
  end
1382
1382
 
1383
1383
  # Unverify translations by query
1384
- # Mark translations matching query as unverified.
1384
+ # Mark translations matching query as unverified. To unverify the translations of specific keys, filter by key id (and optionally locale) directly, for example &#x60;key.id:KEY_ID_1,KEY_ID_2 locale.id:LOCALE_ID&#x60;. There is no need to look up translation ids first.
1385
1385
  # @param project_id [String] Project ID
1386
1386
  # @param translations_unverify_parameters [TranslationsUnverifyParameters]
1387
1387
  # @param [Hash] opts the optional parameters
@@ -8,7 +8,7 @@ module Phrase
8
8
  # ids of projects that the property belongs to
9
9
  attr_accessor :project_ids
10
10
 
11
- # description of property
11
+ # description of property. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there.
12
12
  attr_accessor :description
13
13
 
14
14
  # value options of property (only applies to single or multi select properties)
@@ -37,6 +37,7 @@ module Phrase
37
37
  # List of attributes with nullable: true
38
38
  def self.openapi_nullable
39
39
  Set.new([
40
+ :'description',
40
41
  ])
41
42
  end
42
43
 
@@ -6,6 +6,9 @@ module Phrase
6
6
 
7
7
  attr_accessor :name
8
8
 
9
+ # Number of terms in the glossary.
10
+ attr_accessor :terms_count
11
+
9
12
  attr_accessor :projects
10
13
 
11
14
  attr_accessor :spaces
@@ -19,6 +22,7 @@ module Phrase
19
22
  {
20
23
  :'id' => :'id',
21
24
  :'name' => :'name',
25
+ :'terms_count' => :'terms_count',
22
26
  :'projects' => :'projects',
23
27
  :'spaces' => :'spaces',
24
28
  :'created_at' => :'created_at',
@@ -31,6 +35,7 @@ module Phrase
31
35
  {
32
36
  :'id' => :'String',
33
37
  :'name' => :'String',
38
+ :'terms_count' => :'Integer',
34
39
  :'projects' => :'Array<ProjectShort>',
35
40
  :'spaces' => :'Array<Space>',
36
41
  :'created_at' => :'DateTime',
@@ -67,6 +72,10 @@ module Phrase
67
72
  self.name = attributes[:'name']
68
73
  end
69
74
 
75
+ if attributes.key?(:'terms_count')
76
+ self.terms_count = attributes[:'terms_count']
77
+ end
78
+
70
79
  if attributes.key?(:'projects')
71
80
  if (value = attributes[:'projects']).is_a?(Array)
72
81
  self.projects = value
@@ -108,6 +117,7 @@ module Phrase
108
117
  self.class == o.class &&
109
118
  id == o.id &&
110
119
  name == o.name &&
120
+ terms_count == o.terms_count &&
111
121
  projects == o.projects &&
112
122
  spaces == o.spaces &&
113
123
  created_at == o.created_at &&
@@ -123,7 +133,7 @@ module Phrase
123
133
  # Calculates hash code according to all attributes.
124
134
  # @return [Integer] Hash code
125
135
  def hash
126
- [id, name, projects, spaces, created_at, updated_at].hash
136
+ [id, name, terms_count, projects, spaces, created_at, updated_at].hash
127
137
  end
128
138
 
129
139
  # Builds the object from hash
@@ -5,7 +5,7 @@ module Phrase
5
5
  # Glossary term
6
6
  attr_accessor :term
7
7
 
8
- # Description of term
8
+ # Description of term. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there.
9
9
  attr_accessor :description
10
10
 
11
11
  # Indicates whether the term should be used for all languages or can be translated
@@ -37,6 +37,7 @@ module Phrase
37
37
  # List of attributes with nullable: true
38
38
  def self.openapi_nullable
39
39
  Set.new([
40
+ :'description',
40
41
  ])
41
42
  end
42
43
 
@@ -32,12 +32,15 @@ module Phrase
32
32
  # List of target locales for the job. Mutually exclusive with `job_template_id`.
33
33
  attr_accessor :target_locale_ids
34
34
 
35
- # id of a job template you would like to model the created job after. Any manually added parameters will take preference over template attributes. Mutually exclusive with `target_locale_ids`.
35
+ # id of a job template you would like to model the created job after. Any manually added parameters will take preference over template attributes. Mutually exclusive with `target_locale_ids`. The calling user must have read access to the template; if the template exists but is not accessible, the request returns 404.
36
36
  attr_accessor :job_template_id
37
37
 
38
38
  # Automatically translate the job using machine translation.
39
39
  attr_accessor :autotranslate
40
40
 
41
+ # Exclude linked child keys from the job. While enabled, linked child keys cannot be added to the job. Defaults to `false`.
42
+ attr_accessor :exclude_linked_child_keys
43
+
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
@@ -52,7 +55,8 @@ module Phrase
52
55
  :'translation_key_ids' => :'translation_key_ids',
53
56
  :'target_locale_ids' => :'target_locale_ids',
54
57
  :'job_template_id' => :'job_template_id',
55
- :'autotranslate' => :'autotranslate'
58
+ :'autotranslate' => :'autotranslate',
59
+ :'exclude_linked_child_keys' => :'exclude_linked_child_keys'
56
60
  }
57
61
  end
58
62
 
@@ -70,7 +74,8 @@ module Phrase
70
74
  :'translation_key_ids' => :'Array<String>',
71
75
  :'target_locale_ids' => :'Array<String>',
72
76
  :'job_template_id' => :'String',
73
- :'autotranslate' => :'Boolean'
77
+ :'autotranslate' => :'Boolean',
78
+ :'exclude_linked_child_keys' => :'Boolean'
74
79
  }
75
80
  end
76
81
 
@@ -149,6 +154,10 @@ module Phrase
149
154
  if attributes.key?(:'autotranslate')
150
155
  self.autotranslate = attributes[:'autotranslate']
151
156
  end
157
+
158
+ if attributes.key?(:'exclude_linked_child_keys')
159
+ self.exclude_linked_child_keys = attributes[:'exclude_linked_child_keys']
160
+ end
152
161
  end
153
162
 
154
163
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -185,7 +194,8 @@ module Phrase
185
194
  translation_key_ids == o.translation_key_ids &&
186
195
  target_locale_ids == o.target_locale_ids &&
187
196
  job_template_id == o.job_template_id &&
188
- autotranslate == o.autotranslate
197
+ autotranslate == o.autotranslate &&
198
+ exclude_linked_child_keys == o.exclude_linked_child_keys
189
199
  end
190
200
 
191
201
  # @see the `==` method
@@ -197,7 +207,7 @@ module Phrase
197
207
  # Calculates hash code according to all attributes.
198
208
  # @return [Integer] Hash code
199
209
  def hash
200
- [branch, name, source_locale_id, briefing, due_date, review_due_date, ticket_url, tags, translation_key_ids, target_locale_ids, job_template_id, autotranslate].hash
210
+ [branch, name, source_locale_id, briefing, due_date, review_due_date, ticket_url, tags, translation_key_ids, target_locale_ids, job_template_id, autotranslate, exclude_linked_child_keys].hash
201
211
  end
202
212
 
203
213
  # Builds the object from hash
@@ -49,6 +49,9 @@ module Phrase
49
49
  # `true` if the job has been locked by the project's job-locking workflow (translations attached to the job are read-only until the job advances).
50
50
  attr_accessor :locked
51
51
 
52
+ # `true` if linked child keys are excluded from this job. While enabled, linked child keys cannot be added to the job.
53
+ attr_accessor :exclude_linked_child_keys
54
+
52
55
  # Attribute mapping from ruby-style variable name to JSON key.
53
56
  def self.attribute_map
54
57
  {
@@ -72,7 +75,8 @@ module Phrase
72
75
  :'locales' => :'locales',
73
76
  :'keys' => :'keys',
74
77
  :'annotations' => :'annotations',
75
- :'locked' => :'locked'
78
+ :'locked' => :'locked',
79
+ :'exclude_linked_child_keys' => :'exclude_linked_child_keys'
76
80
  }
77
81
  end
78
82
 
@@ -99,7 +103,8 @@ module Phrase
99
103
  :'locales' => :'Array<LocalePreview>',
100
104
  :'keys' => :'Array<KeyPreview>',
101
105
  :'annotations' => :'Array<JobAnnotationShort>',
102
- :'locked' => :'Boolean'
106
+ :'locked' => :'Boolean',
107
+ :'exclude_linked_child_keys' => :'Boolean'
103
108
  }
104
109
  end
105
110
 
@@ -224,6 +229,10 @@ module Phrase
224
229
  if attributes.key?(:'locked')
225
230
  self.locked = attributes[:'locked']
226
231
  end
232
+
233
+ if attributes.key?(:'exclude_linked_child_keys')
234
+ self.exclude_linked_child_keys = attributes[:'exclude_linked_child_keys']
235
+ end
227
236
  end
228
237
 
229
238
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -264,7 +273,8 @@ module Phrase
264
273
  locales == o.locales &&
265
274
  keys == o.keys &&
266
275
  annotations == o.annotations &&
267
- locked == o.locked
276
+ locked == o.locked &&
277
+ exclude_linked_child_keys == o.exclude_linked_child_keys
268
278
  end
269
279
 
270
280
  # @see the `==` method
@@ -276,7 +286,7 @@ module Phrase
276
286
  # Calculates hash code according to all attributes.
277
287
  # @return [Integer] Hash code
278
288
  def hash
279
- [id, name, briefing, due_date, state, ticket_url, project, branch, created_at, updated_at, automation_id, job_template_id, review_due_date, owner, job_tag_name, source_translations_updated_at, source_locale, locales, keys, annotations, locked].hash
289
+ [id, name, briefing, due_date, state, ticket_url, project, branch, created_at, updated_at, automation_id, job_template_id, review_due_date, owner, job_tag_name, source_translations_updated_at, source_locale, locales, keys, annotations, locked, exclude_linked_child_keys].hash
280
290
  end
281
291
 
282
292
  # Builds the object from hash
@@ -14,6 +14,9 @@ module Phrase
14
14
  # Automatically translate the job using machine translation.
15
15
  attr_accessor :autotranslate
16
16
 
17
+ # Exclude linked child keys from jobs created from this template. Defaults to `false`.
18
+ attr_accessor :exclude_linked_child_keys
19
+
17
20
  # The API id of the source language. This locale will be set as source locale for the job template. If not provided, the project default locale will be used.
18
21
  attr_accessor :source_locale_id
19
22
 
@@ -27,6 +30,7 @@ module Phrase
27
30
  :'name' => :'name',
28
31
  :'briefing' => :'briefing',
29
32
  :'autotranslate' => :'autotranslate',
33
+ :'exclude_linked_child_keys' => :'exclude_linked_child_keys',
30
34
  :'source_locale_id' => :'source_locale_id',
31
35
  :'owner_id' => :'owner_id'
32
36
  }
@@ -39,6 +43,7 @@ module Phrase
39
43
  :'name' => :'String',
40
44
  :'briefing' => :'String',
41
45
  :'autotranslate' => :'Boolean',
46
+ :'exclude_linked_child_keys' => :'Boolean',
42
47
  :'source_locale_id' => :'String',
43
48
  :'owner_id' => :'String'
44
49
  }
@@ -81,6 +86,10 @@ module Phrase
81
86
  self.autotranslate = attributes[:'autotranslate']
82
87
  end
83
88
 
89
+ if attributes.key?(:'exclude_linked_child_keys')
90
+ self.exclude_linked_child_keys = attributes[:'exclude_linked_child_keys']
91
+ end
92
+
84
93
  if attributes.key?(:'source_locale_id')
85
94
  self.source_locale_id = attributes[:'source_locale_id']
86
95
  end
@@ -117,6 +126,7 @@ module Phrase
117
126
  name == o.name &&
118
127
  briefing == o.briefing &&
119
128
  autotranslate == o.autotranslate &&
129
+ exclude_linked_child_keys == o.exclude_linked_child_keys &&
120
130
  source_locale_id == o.source_locale_id &&
121
131
  owner_id == o.owner_id
122
132
  end
@@ -130,7 +140,7 @@ module Phrase
130
140
  # Calculates hash code according to all attributes.
131
141
  # @return [Integer] Hash code
132
142
  def hash
133
- [branch, name, briefing, autotranslate, source_locale_id, owner_id].hash
143
+ [branch, name, briefing, autotranslate, exclude_linked_child_keys, source_locale_id, owner_id].hash
134
144
  end
135
145
 
136
146
  # Builds the object from hash
@@ -25,6 +25,9 @@ module Phrase
25
25
 
26
26
  attr_accessor :locales
27
27
 
28
+ # `true` if jobs created from this template exclude linked child keys.
29
+ attr_accessor :exclude_linked_child_keys
30
+
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
29
32
  def self.attribute_map
30
33
  {
@@ -38,7 +41,8 @@ module Phrase
38
41
  :'updated_at' => :'updated_at',
39
42
  :'owner' => :'owner',
40
43
  :'creator' => :'creator',
41
- :'locales' => :'locales'
44
+ :'locales' => :'locales',
45
+ :'exclude_linked_child_keys' => :'exclude_linked_child_keys'
42
46
  }
43
47
  end
44
48
 
@@ -55,7 +59,8 @@ module Phrase
55
59
  :'updated_at' => :'DateTime',
56
60
  :'owner' => :'UserPreview',
57
61
  :'creator' => :'UserPreview',
58
- :'locales' => :'Array<LocalePreview>'
62
+ :'locales' => :'Array<LocalePreview>',
63
+ :'exclude_linked_child_keys' => :'Boolean'
59
64
  }
60
65
  end
61
66
 
@@ -132,6 +137,10 @@ module Phrase
132
137
  self.locales = value
133
138
  end
134
139
  end
140
+
141
+ if attributes.key?(:'exclude_linked_child_keys')
142
+ self.exclude_linked_child_keys = attributes[:'exclude_linked_child_keys']
143
+ end
135
144
  end
136
145
 
137
146
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -162,7 +171,8 @@ module Phrase
162
171
  updated_at == o.updated_at &&
163
172
  owner == o.owner &&
164
173
  creator == o.creator &&
165
- locales == o.locales
174
+ locales == o.locales &&
175
+ exclude_linked_child_keys == o.exclude_linked_child_keys
166
176
  end
167
177
 
168
178
  # @see the `==` method
@@ -174,7 +184,7 @@ module Phrase
174
184
  # Calculates hash code according to all attributes.
175
185
  # @return [Integer] Hash code
176
186
  def hash
177
- [id, name, briefing, project, branch, autotranslate_enabled, created_at, updated_at, owner, creator, locales].hash
187
+ [id, name, briefing, project, branch, autotranslate_enabled, created_at, updated_at, owner, creator, locales, exclude_linked_child_keys].hash
178
188
  end
179
189
 
180
190
  # Builds the object from hash
@@ -8,12 +8,15 @@ module Phrase
8
8
  # Job template name
9
9
  attr_accessor :name
10
10
 
11
- # Briefing for the translators
11
+ # Briefing for the translators. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there.
12
12
  attr_accessor :briefing
13
13
 
14
14
  # Automatically translate the job using machine translation.
15
15
  attr_accessor :autotranslate
16
16
 
17
+ # Exclude linked child keys from jobs created from this template.
18
+ attr_accessor :exclude_linked_child_keys
19
+
17
20
  # The API id of the source language. This locale will be set as source locale for the job template. If not provided, the project default locale will be used.
18
21
  attr_accessor :source_locale_id
19
22
 
@@ -27,6 +30,7 @@ module Phrase
27
30
  :'name' => :'name',
28
31
  :'briefing' => :'briefing',
29
32
  :'autotranslate' => :'autotranslate',
33
+ :'exclude_linked_child_keys' => :'exclude_linked_child_keys',
30
34
  :'source_locale_id' => :'source_locale_id',
31
35
  :'owner_id' => :'owner_id'
32
36
  }
@@ -39,6 +43,7 @@ module Phrase
39
43
  :'name' => :'String',
40
44
  :'briefing' => :'String',
41
45
  :'autotranslate' => :'Boolean',
46
+ :'exclude_linked_child_keys' => :'Boolean',
42
47
  :'source_locale_id' => :'String',
43
48
  :'owner_id' => :'String'
44
49
  }
@@ -47,6 +52,7 @@ module Phrase
47
52
  # List of attributes with nullable: true
48
53
  def self.openapi_nullable
49
54
  Set.new([
55
+ :'briefing',
50
56
  ])
51
57
  end
52
58
 
@@ -81,6 +87,10 @@ module Phrase
81
87
  self.autotranslate = attributes[:'autotranslate']
82
88
  end
83
89
 
90
+ if attributes.key?(:'exclude_linked_child_keys')
91
+ self.exclude_linked_child_keys = attributes[:'exclude_linked_child_keys']
92
+ end
93
+
84
94
  if attributes.key?(:'source_locale_id')
85
95
  self.source_locale_id = attributes[:'source_locale_id']
86
96
  end
@@ -117,6 +127,7 @@ module Phrase
117
127
  name == o.name &&
118
128
  briefing == o.briefing &&
119
129
  autotranslate == o.autotranslate &&
130
+ exclude_linked_child_keys == o.exclude_linked_child_keys &&
120
131
  source_locale_id == o.source_locale_id &&
121
132
  owner_id == o.owner_id
122
133
  end
@@ -130,7 +141,7 @@ module Phrase
130
141
  # Calculates hash code according to all attributes.
131
142
  # @return [Integer] Hash code
132
143
  def hash
133
- [branch, name, briefing, autotranslate, source_locale_id, owner_id].hash
144
+ [branch, name, briefing, autotranslate, exclude_linked_child_keys, source_locale_id, owner_id].hash
134
145
  end
135
146
 
136
147
  # Builds the object from hash