phrase 2.17.0 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +14 -29
- data/docs/Account.md +2 -2
- data/docs/AccountDetails.md +2 -2
- data/docs/Authorization.md +3 -3
- data/docs/AuthorizationCreateParameters.md +1 -1
- data/docs/AuthorizationUpdateParameters.md +1 -1
- data/docs/AuthorizationWithToken.md +3 -3
- data/docs/BitbucketSync.md +2 -2
- data/docs/BlacklistedKey.md +2 -2
- data/docs/Branch.md +3 -3
- data/docs/Comment.md +2 -2
- data/docs/CommentReaction.md +2 -2
- data/docs/CommentRepliesApi.md +3 -1
- data/docs/CommentsApi.md +5 -3
- data/docs/CommentsListParameters.md +3 -1
- data/docs/CurrentUser.md +2 -2
- data/docs/Distribution.md +2 -2
- data/docs/DistributionCreateParameters.md +1 -1
- data/docs/DistributionPreview.md +2 -2
- data/docs/Document.md +2 -2
- data/docs/FigmaAttachment.md +2 -2
- data/docs/GitlabSync.md +2 -2
- data/docs/GitlabSyncHistory.md +3 -3
- data/docs/{GitlabSyncHistoryErrors.md → GitlabSyncHistoryErrorsInner.md} +2 -2
- data/docs/Glossary.md +2 -2
- data/docs/GlossaryTerm.md +2 -2
- data/docs/GlossaryTermTranslation.md +2 -2
- data/docs/Invitation.md +5 -5
- data/docs/{InlineResponse422.md → InvitationCreate422Response.md} +3 -3
- data/docs/{InlineResponse422Errors.md → InvitationCreate422ResponseErrorsInner.md} +2 -2
- data/docs/Job.md +3 -3
- data/docs/JobComment.md +2 -2
- data/docs/JobCommentsApi.md +3 -1
- data/docs/JobCreateParameters.md +1 -1
- data/docs/JobDetails.md +3 -3
- data/docs/JobLocale.md +2 -2
- data/docs/JobLocalesApi.md +1 -1
- data/docs/JobTemplate.md +2 -2
- data/docs/JobTemplateDetails.md +2 -2
- data/docs/JobTemplateLocalesApi.md +1 -1
- data/docs/JobTemplatesApi.md +2 -2
- data/docs/JobUpdateParameters.md +1 -1
- data/docs/JobsApi.md +1 -1
- data/docs/KeyCreateParameters.md +1 -1
- data/docs/KeyUpdateParameters.md +1 -1
- data/docs/Locale.md +2 -2
- data/docs/LocaleDetails.md +2 -2
- data/docs/LocalesApi.md +1 -1
- data/docs/Member.md +4 -4
- data/docs/MemberProjectDetail.md +3 -3
- data/docs/{MemberProjectDetailProjectRoles.md → MemberProjectDetailProjectRolesInner.md} +2 -2
- data/docs/{MemberSpaces.md → MemberSpacesInner.md} +4 -4
- data/docs/Notification.md +6 -6
- data/docs/NotificationGroup.md +2 -2
- data/docs/NotificationGroupDetail.md +2 -2
- data/docs/OrganizationJobTemplate.md +2 -2
- data/docs/OrganizationJobTemplateDetails.md +2 -2
- data/docs/OrganizationJobTemplateLocalesApi.md +1 -1
- data/docs/OrganizationJobTemplatesApi.md +2 -2
- data/docs/Project.md +2 -2
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectDetails.md +2 -2
- data/docs/ProjectLocales.md +2 -2
- data/docs/ProjectShort.md +2 -2
- data/docs/ProjectUpdateParameters.md +1 -1
- data/docs/ProjectsApi.md +1 -1
- data/docs/Release.md +2 -2
- data/docs/ReleasePreview.md +2 -2
- data/docs/RepliesListParameters.md +3 -1
- data/docs/Screenshot.md +2 -2
- data/docs/ScreenshotMarker.md +2 -2
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/docs/ScreenshotsApi.md +1 -1
- data/docs/Space.md +2 -2
- data/docs/Space1.md +2 -2
- data/docs/Styleguide.md +2 -2
- data/docs/StyleguideCreateParameters.md +1 -1
- data/docs/StyleguideDetails.md +2 -2
- data/docs/StyleguideUpdateParameters.md +1 -1
- data/docs/Tag.md +2 -2
- data/docs/TagWithStats.md +2 -2
- data/docs/Team.md +2 -2
- data/docs/TeamDetail.md +2 -2
- data/docs/TeamShort.md +2 -2
- data/docs/Translation.md +2 -2
- data/docs/TranslationDetails.md +2 -2
- data/docs/TranslationKey.md +2 -2
- data/docs/TranslationKeyDetails.md +2 -2
- data/docs/TranslationOrder.md +2 -2
- data/docs/TranslationVersion.md +3 -3
- data/docs/TranslationVersionWithUser.md +3 -3
- data/docs/Upload.md +2 -2
- data/docs/UploadsApi.md +4 -4
- data/docs/User.md +2 -2
- data/docs/Variable.md +2 -2
- data/docs/Webhook.md +2 -2
- data/docs/WebhookDelivery.md +3 -3
- data/lib/phrase/api/comment_replies_api.rb +3 -0
- data/lib/phrase/api/comments_api.rb +3 -0
- data/lib/phrase/api/job_comments_api.rb +3 -0
- data/lib/phrase/configuration.rb +6 -6
- data/lib/phrase/models/account.rb +3 -1
- data/lib/phrase/models/account_details.rb +4 -3
- data/lib/phrase/models/account_search_result.rb +3 -1
- data/lib/phrase/models/affected_count.rb +3 -1
- data/lib/phrase/models/affected_resources.rb +3 -1
- data/lib/phrase/models/authorization.rb +3 -1
- data/lib/phrase/models/authorization_create_parameters.rb +3 -1
- data/lib/phrase/models/authorization_update_parameters.rb +3 -1
- data/lib/phrase/models/authorization_with_token.rb +4 -3
- data/lib/phrase/models/bitbucket_sync.rb +3 -1
- data/lib/phrase/models/bitbucket_sync_export_parameters.rb +3 -1
- data/lib/phrase/models/bitbucket_sync_export_response.rb +3 -1
- data/lib/phrase/models/bitbucket_sync_import_parameters.rb +3 -1
- data/lib/phrase/models/blacklisted_key.rb +3 -1
- data/lib/phrase/models/blacklisted_key_create_parameters.rb +3 -1
- data/lib/phrase/models/blacklisted_key_update_parameters.rb +3 -1
- data/lib/phrase/models/branch.rb +3 -1
- data/lib/phrase/models/branch_create_parameters.rb +3 -1
- data/lib/phrase/models/branch_merge_parameters.rb +3 -1
- data/lib/phrase/models/branch_name.rb +3 -1
- data/lib/phrase/models/branch_update_parameters.rb +3 -1
- data/lib/phrase/models/comment.rb +3 -1
- data/lib/phrase/models/comment_create_parameters.rb +3 -1
- data/lib/phrase/models/comment_mark_read_parameters.rb +3 -1
- data/lib/phrase/models/comment_reaction.rb +3 -1
- data/lib/phrase/models/comment_update_parameters.rb +3 -1
- data/lib/phrase/models/comments_list_parameters.rb +17 -5
- data/lib/phrase/models/current_user.rb +3 -1
- data/lib/phrase/models/distribution.rb +3 -1
- data/lib/phrase/models/distribution_create_parameters.rb +4 -2
- data/lib/phrase/models/distribution_preview.rb +3 -1
- data/lib/phrase/models/distribution_update_parameters.rb +3 -1
- data/lib/phrase/models/document.rb +3 -1
- data/lib/phrase/models/figma_attachment.rb +3 -1
- data/lib/phrase/models/figma_attachment_create_parameters.rb +3 -1
- data/lib/phrase/models/figma_attachment_update_parameters.rb +3 -1
- data/lib/phrase/models/format.rb +3 -1
- data/lib/phrase/models/github_sync_export_parameters.rb +3 -1
- data/lib/phrase/models/github_sync_import_parameters.rb +3 -1
- data/lib/phrase/models/gitlab_sync.rb +3 -1
- data/lib/phrase/models/gitlab_sync_export.rb +3 -1
- data/lib/phrase/models/gitlab_sync_export_parameters.rb +3 -1
- data/lib/phrase/models/gitlab_sync_history.rb +4 -2
- data/lib/phrase/models/{gitlab_sync_history_errors.rb → gitlab_sync_history_errors_inner.rb} +6 -4
- data/lib/phrase/models/gitlab_sync_import_parameters.rb +3 -1
- data/lib/phrase/models/glossary.rb +3 -1
- data/lib/phrase/models/glossary_create_parameters.rb +3 -1
- data/lib/phrase/models/glossary_term.rb +3 -1
- data/lib/phrase/models/glossary_term_create_parameters.rb +3 -1
- data/lib/phrase/models/glossary_term_translation.rb +3 -1
- data/lib/phrase/models/glossary_term_translation_create_parameters.rb +3 -1
- data/lib/phrase/models/glossary_term_translation_update_parameters.rb +3 -1
- data/lib/phrase/models/glossary_term_update_parameters.rb +3 -1
- data/lib/phrase/models/glossary_update_parameters.rb +3 -1
- data/lib/phrase/models/icu.rb +3 -1
- data/lib/phrase/models/icu_skeleton_parameters.rb +3 -1
- data/lib/phrase/models/invitation.rb +4 -2
- data/lib/phrase/models/{inline_response422.rb → invitation_create422_response.rb} +7 -5
- data/lib/phrase/models/{inline_response422_errors.rb → invitation_create422_response_errors_inner.rb} +6 -4
- data/lib/phrase/models/invitation_create_parameters.rb +3 -1
- data/lib/phrase/models/invitation_update_parameters.rb +3 -1
- data/lib/phrase/models/invitation_update_settings_parameters.rb +3 -1
- data/lib/phrase/models/job.rb +3 -1
- data/lib/phrase/models/job_comment.rb +3 -1
- data/lib/phrase/models/job_comment_create_parameters.rb +3 -1
- data/lib/phrase/models/job_comment_update_parameters.rb +3 -1
- data/lib/phrase/models/job_complete_parameters.rb +3 -1
- data/lib/phrase/models/job_create_parameters.rb +3 -1
- data/lib/phrase/models/job_details.rb +4 -3
- data/lib/phrase/models/job_keys_create_parameters.rb +3 -1
- data/lib/phrase/models/job_locale.rb +3 -1
- data/lib/phrase/models/job_locale_complete_parameters.rb +3 -1
- data/lib/phrase/models/job_locale_complete_review_parameters.rb +3 -1
- data/lib/phrase/models/job_locale_reopen_parameters.rb +3 -1
- data/lib/phrase/models/job_locale_update_parameters.rb +3 -1
- data/lib/phrase/models/job_locales_create_parameters.rb +3 -1
- data/lib/phrase/models/job_preview.rb +3 -1
- data/lib/phrase/models/job_reopen_parameters.rb +3 -1
- data/lib/phrase/models/job_start_parameters.rb +3 -1
- data/lib/phrase/models/job_template.rb +3 -1
- data/lib/phrase/models/job_template_create_parameters.rb +3 -1
- data/lib/phrase/models/job_template_details.rb +4 -3
- data/lib/phrase/models/job_template_locale_update_parameters.rb +3 -1
- data/lib/phrase/models/job_template_locales.rb +3 -1
- data/lib/phrase/models/job_template_locales_create_parameters.rb +3 -1
- data/lib/phrase/models/job_template_preview.rb +3 -1
- data/lib/phrase/models/job_template_update_parameters.rb +3 -1
- data/lib/phrase/models/job_update_parameters.rb +3 -1
- data/lib/phrase/models/key_create_parameters.rb +3 -1
- data/lib/phrase/models/key_preview.rb +3 -1
- data/lib/phrase/models/key_update_parameters.rb +3 -1
- data/lib/phrase/models/keys_exclude_parameters.rb +3 -1
- data/lib/phrase/models/keys_include_parameters.rb +3 -1
- data/lib/phrase/models/keys_search_parameters.rb +3 -1
- data/lib/phrase/models/keys_tag_parameters.rb +3 -1
- data/lib/phrase/models/keys_untag_parameters.rb +3 -1
- data/lib/phrase/models/locale.rb +3 -1
- data/lib/phrase/models/locale_create_parameters.rb +3 -1
- data/lib/phrase/models/locale_details.rb +4 -3
- data/lib/phrase/models/locale_preview.rb +3 -1
- data/lib/phrase/models/locale_preview1.rb +3 -1
- data/lib/phrase/models/locale_statistics.rb +3 -1
- data/lib/phrase/models/locale_team_preview.rb +3 -1
- data/lib/phrase/models/locale_update_parameters.rb +3 -1
- data/lib/phrase/models/locale_user_preview.rb +3 -1
- data/lib/phrase/models/member.rb +4 -2
- data/lib/phrase/models/member_project_detail.rb +5 -3
- data/lib/phrase/models/{member_project_detail_project_roles.rb → member_project_detail_project_roles_inner.rb} +6 -4
- data/lib/phrase/models/{member_spaces.rb → member_spaces_inner.rb} +6 -4
- data/lib/phrase/models/member_update_parameters.rb +3 -1
- data/lib/phrase/models/member_update_settings_parameters.rb +3 -1
- data/lib/phrase/models/notification.rb +3 -1
- data/lib/phrase/models/notification_group.rb +3 -1
- data/lib/phrase/models/notification_group_detail.rb +3 -1
- data/lib/phrase/models/order_confirm_parameters.rb +3 -1
- data/lib/phrase/models/order_create_parameters.rb +3 -1
- data/lib/phrase/models/organization_job_template.rb +3 -1
- data/lib/phrase/models/organization_job_template_create_parameters.rb +3 -1
- data/lib/phrase/models/organization_job_template_details.rb +3 -2
- data/lib/phrase/models/organization_job_template_locale_update_parameters.rb +3 -1
- data/lib/phrase/models/organization_job_template_locales_create_parameters.rb +3 -1
- data/lib/phrase/models/organization_job_template_update_parameters.rb +3 -1
- data/lib/phrase/models/project.rb +3 -1
- data/lib/phrase/models/project_create_parameters.rb +3 -1
- data/lib/phrase/models/project_details.rb +4 -3
- data/lib/phrase/models/project_locales.rb +3 -9
- data/lib/phrase/models/project_short.rb +3 -1
- data/lib/phrase/models/project_update_parameters.rb +3 -1
- data/lib/phrase/models/release.rb +3 -1
- data/lib/phrase/models/release_create_parameters.rb +3 -1
- data/lib/phrase/models/release_preview.rb +3 -1
- data/lib/phrase/models/release_update_parameters.rb +3 -1
- data/lib/phrase/models/replies_list_parameters.rb +17 -5
- data/lib/phrase/models/screenshot.rb +3 -1
- data/lib/phrase/models/screenshot_marker.rb +3 -1
- data/lib/phrase/models/screenshot_marker_create_parameters.rb +3 -1
- data/lib/phrase/models/screenshot_marker_update_parameters.rb +3 -1
- data/lib/phrase/models/screenshot_update_parameters.rb +3 -1
- data/lib/phrase/models/search_in_account_parameters.rb +3 -1
- data/lib/phrase/models/space.rb +3 -1
- data/lib/phrase/models/space1.rb +3 -1
- data/lib/phrase/models/space_create_parameters.rb +3 -1
- data/lib/phrase/models/space_update_parameters.rb +3 -1
- data/lib/phrase/models/spaces_projects_create_parameters.rb +3 -1
- data/lib/phrase/models/styleguide.rb +3 -1
- data/lib/phrase/models/styleguide_create_parameters.rb +3 -1
- data/lib/phrase/models/styleguide_details.rb +4 -3
- data/lib/phrase/models/styleguide_preview.rb +3 -1
- data/lib/phrase/models/styleguide_update_parameters.rb +3 -1
- data/lib/phrase/models/subscription.rb +3 -1
- data/lib/phrase/models/tag.rb +3 -1
- data/lib/phrase/models/tag_create_parameters.rb +3 -1
- data/lib/phrase/models/tag_with_stats.rb +4 -3
- data/lib/phrase/models/tag_with_stats1_statistics.rb +3 -1
- data/lib/phrase/models/tag_with_stats1_statistics1.rb +3 -1
- data/lib/phrase/models/team.rb +3 -1
- data/lib/phrase/models/team_create_parameters.rb +3 -1
- data/lib/phrase/models/team_detail.rb +3 -1
- data/lib/phrase/models/team_short.rb +3 -1
- data/lib/phrase/models/team_update_parameters.rb +3 -1
- data/lib/phrase/models/teams_projects_create_parameters.rb +3 -1
- data/lib/phrase/models/teams_spaces_create_parameters.rb +3 -1
- data/lib/phrase/models/teams_users_create_parameters.rb +3 -1
- data/lib/phrase/models/translation.rb +3 -1
- data/lib/phrase/models/translation_create_parameters.rb +3 -1
- data/lib/phrase/models/translation_details.rb +4 -3
- data/lib/phrase/models/translation_exclude_parameters.rb +3 -1
- data/lib/phrase/models/translation_include_parameters.rb +3 -1
- data/lib/phrase/models/translation_key.rb +3 -1
- data/lib/phrase/models/translation_key_details.rb +4 -3
- data/lib/phrase/models/translation_order.rb +3 -1
- data/lib/phrase/models/translation_review_parameters.rb +3 -1
- data/lib/phrase/models/translation_unverify_parameters.rb +3 -1
- data/lib/phrase/models/translation_update_parameters.rb +3 -1
- data/lib/phrase/models/translation_verify_parameters.rb +3 -1
- data/lib/phrase/models/translation_version.rb +3 -1
- data/lib/phrase/models/translation_version_with_user.rb +4 -3
- data/lib/phrase/models/translations_exclude_parameters.rb +3 -1
- data/lib/phrase/models/translations_include_parameters.rb +3 -1
- data/lib/phrase/models/translations_review_parameters.rb +3 -1
- data/lib/phrase/models/translations_search_parameters.rb +3 -1
- data/lib/phrase/models/translations_unverify_parameters.rb +3 -1
- data/lib/phrase/models/translations_verify_parameters.rb +3 -1
- data/lib/phrase/models/upload.rb +3 -1
- data/lib/phrase/models/upload_summary.rb +3 -1
- data/lib/phrase/models/user.rb +3 -1
- data/lib/phrase/models/user_preview.rb +3 -1
- data/lib/phrase/models/variable.rb +3 -1
- data/lib/phrase/models/variable_create_parameters.rb +3 -1
- data/lib/phrase/models/variable_update_parameters.rb +3 -1
- data/lib/phrase/models/webhook.rb +3 -1
- data/lib/phrase/models/webhook_create_parameters.rb +3 -1
- data/lib/phrase/models/webhook_delivery.rb +3 -1
- data/lib/phrase/models/webhook_update_parameters.rb +3 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +5 -20
- data/spec/api/comment_replies_api_spec.rb +1 -0
- data/spec/api/comments_api_spec.rb +1 -0
- data/spec/api/job_comments_api_spec.rb +1 -0
- data/spec/models/comments_list_parameters_spec.rb +6 -0
- data/spec/models/{gitlab_sync_history_errors_spec.rb → gitlab_sync_history_errors_inner_spec.rb} +6 -6
- data/spec/models/{inline_response422_errors_spec.rb → invitation_create422_response_errors_inner_spec.rb} +6 -6
- data/spec/models/{inline_response422_spec.rb → invitation_create422_response_spec.rb} +6 -6
- data/spec/models/{member_project_detail_project_roles_spec.rb → member_project_detail_project_roles_inner_spec.rb} +6 -6
- data/spec/models/{member_spaces_spec.rb → member_spaces_inner_spec.rb} +6 -6
- data/spec/models/replies_list_parameters_spec.rb +6 -0
- metadata +226 -286
- data/docs/AccountDetails1.md +0 -19
- data/docs/AuthorizationWithToken1.md +0 -17
- data/docs/JobDetails1.md +0 -25
- data/docs/JobTemplateDetails1.md +0 -21
- data/docs/LocaleDetails1.md +0 -17
- data/docs/ProjectDetails1.md +0 -19
- data/docs/ProjectLocales1.md +0 -17
- data/docs/ProjectMemberSpecific.md +0 -27
- data/docs/ScreenshotCreateParameters.md +0 -23
- data/docs/StyleguideDetails1.md +0 -41
- data/docs/TagWithStats1.md +0 -17
- data/docs/TranslationDetails1.md +0 -19
- data/docs/TranslationKeyDetails1.md +0 -33
- data/docs/TranslationVersionWithUser1.md +0 -17
- data/docs/UploadCreateParameters.md +0 -47
- data/lib/phrase/models/account_details1.rb +0 -203
- data/lib/phrase/models/authorization_with_token1.rb +0 -194
- data/lib/phrase/models/job_details1.rb +0 -234
- data/lib/phrase/models/job_template_details1.rb +0 -214
- data/lib/phrase/models/locale_details1.rb +0 -194
- data/lib/phrase/models/project_details1.rb +0 -203
- data/lib/phrase/models/project_locales1.rb +0 -196
- data/lib/phrase/models/project_member_specific.rb +0 -239
- data/lib/phrase/models/screenshot_create_parameters.rb +0 -225
- data/lib/phrase/models/styleguide_details1.rb +0 -302
- data/lib/phrase/models/tag_with_stats1.rb +0 -196
- data/lib/phrase/models/translation_details1.rb +0 -203
- data/lib/phrase/models/translation_key_details1.rb +0 -266
- data/lib/phrase/models/translation_version_with_user1.rb +0 -194
- data/lib/phrase/models/upload_create_parameters.rb +0 -347
- data/spec/models/account_details1_spec.rb +0 -35
- data/spec/models/authorization_with_token1_spec.rb +0 -29
- data/spec/models/job_details1_spec.rb +0 -53
- data/spec/models/job_template_details1_spec.rb +0 -41
- data/spec/models/locale_details1_spec.rb +0 -29
- data/spec/models/project_details1_spec.rb +0 -35
- data/spec/models/project_locales1_spec.rb +0 -29
- data/spec/models/project_member_specific_spec.rb +0 -59
- data/spec/models/screenshot_create_parameters_spec.rb +0 -47
- data/spec/models/styleguide_details1_spec.rb +0 -101
- data/spec/models/tag_with_stats1_spec.rb +0 -29
- data/spec/models/translation_details1_spec.rb +0 -35
- data/spec/models/translation_key_details1_spec.rb +0 -77
- data/spec/models/translation_version_with_user1_spec.rb +0 -29
- data/spec/models/upload_create_parameters_spec.rb +0 -119
data/docs/AccountDetails1.md
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# Phrase::AccountDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**subscription** | [**Subscription**](Subscription.md) | | [optional]
|
8
|
-
**slug** | **String** | | [optional]
|
9
|
-
|
10
|
-
## Code Sample
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'Phrase'
|
14
|
-
|
15
|
-
instance = Phrase::AccountDetails1.new(subscription: null,
|
16
|
-
slug: null)
|
17
|
-
```
|
18
|
-
|
19
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# Phrase::AuthorizationWithToken1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**token** | **String** | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'Phrase'
|
13
|
-
|
14
|
-
instance = Phrase::AuthorizationWithToken1.new(token: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
data/docs/JobDetails1.md
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# Phrase::JobDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**owner** | [**UserPreview**](UserPreview.md) | | [optional]
|
8
|
-
**job_tag_name** | **String** | | [optional]
|
9
|
-
**source_locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
|
10
|
-
**locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
|
11
|
-
**keys** | [**Array<KeyPreview>**](KeyPreview.md) | | [optional]
|
12
|
-
|
13
|
-
## Code Sample
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'Phrase'
|
17
|
-
|
18
|
-
instance = Phrase::JobDetails1.new(owner: null,
|
19
|
-
job_tag_name: null,
|
20
|
-
source_locale: null,
|
21
|
-
locales: null,
|
22
|
-
keys: null)
|
23
|
-
```
|
24
|
-
|
25
|
-
|
data/docs/JobTemplateDetails1.md
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# Phrase::JobTemplateDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**owner** | [**UserPreview**](UserPreview.md) | | [optional]
|
8
|
-
**creator** | [**UserPreview**](UserPreview.md) | | [optional]
|
9
|
-
**locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
|
10
|
-
|
11
|
-
## Code Sample
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'Phrase'
|
15
|
-
|
16
|
-
instance = Phrase::JobTemplateDetails1.new(owner: null,
|
17
|
-
creator: null,
|
18
|
-
locales: null)
|
19
|
-
```
|
20
|
-
|
21
|
-
|
data/docs/LocaleDetails1.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# Phrase::LocaleDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**statistics** | [**LocaleStatistics**](LocaleStatistics.md) | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'Phrase'
|
13
|
-
|
14
|
-
instance = Phrase::LocaleDetails1.new(statistics: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
data/docs/ProjectDetails1.md
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# Phrase::ProjectDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**slug** | **String** | | [optional]
|
8
|
-
**shares_translation_memory** | **Boolean** | | [optional]
|
9
|
-
|
10
|
-
## Code Sample
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'Phrase'
|
14
|
-
|
15
|
-
instance = Phrase::ProjectDetails1.new(slug: null,
|
16
|
-
shares_translation_memory: null)
|
17
|
-
```
|
18
|
-
|
19
|
-
|
data/docs/ProjectLocales1.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# Phrase::ProjectLocales1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'Phrase'
|
13
|
-
|
14
|
-
instance = Phrase::ProjectLocales1.new(locales: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Phrase::ProjectMemberSpecific
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**id** | **String** | | [optional]
|
8
|
-
**name** | **String** | | [optional]
|
9
|
-
**project_role** | **String** | | [optional]
|
10
|
-
**main_format** | **String** | | [optional]
|
11
|
-
**created_at** | **DateTime** | | [optional]
|
12
|
-
**updated_at** | **DateTime** | | [optional]
|
13
|
-
|
14
|
-
## Code Sample
|
15
|
-
|
16
|
-
```ruby
|
17
|
-
require 'Phrase'
|
18
|
-
|
19
|
-
instance = Phrase::ProjectMemberSpecific.new(id: null,
|
20
|
-
name: null,
|
21
|
-
project_role: null,
|
22
|
-
main_format: null,
|
23
|
-
created_at: null,
|
24
|
-
updated_at: null)
|
25
|
-
```
|
26
|
-
|
27
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Phrase::ScreenshotCreateParameters
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**branch** | **String** | specify the branch to use | [optional]
|
8
|
-
**name** | **String** | Name of the screenshot | [optional]
|
9
|
-
**description** | **String** | Description of the screenshot | [optional]
|
10
|
-
**filename** | **File** | Screenshot file | [optional]
|
11
|
-
|
12
|
-
## Code Sample
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'Phrase'
|
16
|
-
|
17
|
-
instance = Phrase::ScreenshotCreateParameters.new(branch: my-feature-branch,
|
18
|
-
name: A screenshot name,
|
19
|
-
description: A screenshot description,
|
20
|
-
filename: null)
|
21
|
-
```
|
22
|
-
|
23
|
-
|
data/docs/StyleguideDetails1.md
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# Phrase::StyleguideDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**public_url** | **String** | | [optional]
|
8
|
-
**audience** | **String** | | [optional]
|
9
|
-
**target_audience** | **String** | | [optional]
|
10
|
-
**grammatical_person** | **String** | | [optional]
|
11
|
-
**vocabulary_type** | **String** | | [optional]
|
12
|
-
**business** | **String** | | [optional]
|
13
|
-
**company_branding** | **String** | | [optional]
|
14
|
-
**formatting** | **String** | | [optional]
|
15
|
-
**glossary_terms** | **String** | | [optional]
|
16
|
-
**grammar_consistency** | **String** | | [optional]
|
17
|
-
**literal_translation** | **String** | | [optional]
|
18
|
-
**overall_tone** | **String** | | [optional]
|
19
|
-
**samples** | **String** | | [optional]
|
20
|
-
|
21
|
-
## Code Sample
|
22
|
-
|
23
|
-
```ruby
|
24
|
-
require 'Phrase'
|
25
|
-
|
26
|
-
instance = Phrase::StyleguideDetails1.new(public_url: null,
|
27
|
-
audience: null,
|
28
|
-
target_audience: null,
|
29
|
-
grammatical_person: null,
|
30
|
-
vocabulary_type: null,
|
31
|
-
business: null,
|
32
|
-
company_branding: null,
|
33
|
-
formatting: null,
|
34
|
-
glossary_terms: null,
|
35
|
-
grammar_consistency: null,
|
36
|
-
literal_translation: null,
|
37
|
-
overall_tone: null,
|
38
|
-
samples: null)
|
39
|
-
```
|
40
|
-
|
41
|
-
|
data/docs/TagWithStats1.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# Phrase::TagWithStats1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**statistics** | [**Array<TagWithStats1Statistics1>**](TagWithStats1Statistics1.md) | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'Phrase'
|
13
|
-
|
14
|
-
instance = Phrase::TagWithStats1.new(statistics: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
data/docs/TranslationDetails1.md
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# Phrase::TranslationDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**user** | [**UserPreview**](UserPreview.md) | | [optional]
|
8
|
-
**word_count** | **Integer** | | [optional]
|
9
|
-
|
10
|
-
## Code Sample
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'Phrase'
|
14
|
-
|
15
|
-
instance = Phrase::TranslationDetails1.new(user: null,
|
16
|
-
word_count: null)
|
17
|
-
```
|
18
|
-
|
19
|
-
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# Phrase::TranslationKeyDetails1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**name_plural** | **String** | | [optional]
|
8
|
-
**comments_count** | **Integer** | | [optional]
|
9
|
-
**max_characters_allowed** | **Integer** | | [optional]
|
10
|
-
**screenshot_url** | **String** | | [optional]
|
11
|
-
**unformatted** | **Boolean** | | [optional]
|
12
|
-
**xml_space_preserve** | **Boolean** | | [optional]
|
13
|
-
**original_file** | **String** | | [optional]
|
14
|
-
**format_value_type** | **String** | | [optional]
|
15
|
-
**creator** | [**UserPreview**](UserPreview.md) | | [optional]
|
16
|
-
|
17
|
-
## Code Sample
|
18
|
-
|
19
|
-
```ruby
|
20
|
-
require 'Phrase'
|
21
|
-
|
22
|
-
instance = Phrase::TranslationKeyDetails1.new(name_plural: null,
|
23
|
-
comments_count: null,
|
24
|
-
max_characters_allowed: null,
|
25
|
-
screenshot_url: null,
|
26
|
-
unformatted: null,
|
27
|
-
xml_space_preserve: null,
|
28
|
-
original_file: null,
|
29
|
-
format_value_type: null,
|
30
|
-
creator: null)
|
31
|
-
```
|
32
|
-
|
33
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# Phrase::TranslationVersionWithUser1
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**user** | [**UserPreview**](UserPreview.md) | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'Phrase'
|
13
|
-
|
14
|
-
instance = Phrase::TranslationVersionWithUser1.new(user: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# Phrase::UploadCreateParameters
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**branch** | **String** | specify the branch to use | [optional]
|
8
|
-
**file** | **File** | File to be imported | [optional]
|
9
|
-
**file_format** | **String** | File format. Auto-detected when possible and not specified. | [optional]
|
10
|
-
**locale_id** | **String** | Locale of the file's content. Can be the name or public id of the locale. Preferred is the public id. | [optional]
|
11
|
-
**tags** | **String** | List of tags separated by comma to be associated with the new keys contained in the upload. | [optional]
|
12
|
-
**update_translations** | **Boolean** | Indicates whether existing translations should be updated with the file content. | [optional]
|
13
|
-
**update_descriptions** | **Boolean** | Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions. | [optional]
|
14
|
-
**convert_emoji** | **Boolean** | This option is obsolete. Providing the option will cause a bad request error. | [optional]
|
15
|
-
**skip_upload_tags** | **Boolean** | Indicates whether the upload should not create upload tags. | [optional]
|
16
|
-
**skip_unverification** | **Boolean** | Indicates whether the upload should unverify updated translations. | [optional]
|
17
|
-
**file_encoding** | **String** | Enforces a specific encoding on the file contents. Valid options are \"UTF-8\", \"UTF-16\" and \"ISO-8859-1\". | [optional]
|
18
|
-
**locale_mapping** | [**Object**](.md) | Optional, format specific mapping between locale names and the columns the translations to those locales are contained in. | [optional]
|
19
|
-
**format_options** | [**Object**](.md) | Additional options available for specific formats. See our format guide for complete list. | [optional]
|
20
|
-
**autotranslate** | **Boolean** | If set, translations for the uploaded language will be fetched automatically. | [optional]
|
21
|
-
**mark_reviewed** | **Boolean** | Indicated whether the imported translations should be marked as reviewed. This setting is available if the review workflow is enabled for the project. | [optional]
|
22
|
-
**tag_only_affected_keys** | **Boolean** | Indicates whether only keys affected (created or updated) by the upload should be tagged. The default is `false` | [optional] [default to false]
|
23
|
-
|
24
|
-
## Code Sample
|
25
|
-
|
26
|
-
```ruby
|
27
|
-
require 'Phrase'
|
28
|
-
|
29
|
-
instance = Phrase::UploadCreateParameters.new(branch: my-feature-branch,
|
30
|
-
file: null,
|
31
|
-
file_format: json,
|
32
|
-
locale_id: abcd1234cdef1234abcd1234cdef1234,
|
33
|
-
tags: awesome-feature,needs-proofreading,
|
34
|
-
update_translations: null,
|
35
|
-
update_descriptions: null,
|
36
|
-
convert_emoji: null,
|
37
|
-
skip_upload_tags: null,
|
38
|
-
skip_unverification: null,
|
39
|
-
file_encoding: null,
|
40
|
-
locale_mapping: {"en": "2"},
|
41
|
-
format_options: {"foo": "bar"},
|
42
|
-
autotranslate: null,
|
43
|
-
mark_reviewed: null,
|
44
|
-
tag_only_affected_keys: null)
|
45
|
-
```
|
46
|
-
|
47
|
-
|
@@ -1,203 +0,0 @@
|
|
1
|
-
require 'date'
|
2
|
-
|
3
|
-
module Phrase
|
4
|
-
class AccountDetails1
|
5
|
-
attr_accessor :subscription
|
6
|
-
|
7
|
-
attr_accessor :slug
|
8
|
-
|
9
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
10
|
-
def self.attribute_map
|
11
|
-
{
|
12
|
-
:'subscription' => :'subscription',
|
13
|
-
:'slug' => :'slug'
|
14
|
-
}
|
15
|
-
end
|
16
|
-
|
17
|
-
# Attribute type mapping.
|
18
|
-
def self.openapi_types
|
19
|
-
{
|
20
|
-
:'subscription' => :'Subscription',
|
21
|
-
:'slug' => :'String'
|
22
|
-
}
|
23
|
-
end
|
24
|
-
|
25
|
-
# List of attributes with nullable: true
|
26
|
-
def self.openapi_nullable
|
27
|
-
Set.new([
|
28
|
-
])
|
29
|
-
end
|
30
|
-
|
31
|
-
# Initializes the object
|
32
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
33
|
-
def initialize(attributes = {})
|
34
|
-
if (!attributes.is_a?(Hash))
|
35
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::AccountDetails1` initialize method"
|
36
|
-
end
|
37
|
-
|
38
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
39
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
40
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
41
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::AccountDetails1`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
42
|
-
end
|
43
|
-
h[k.to_sym] = v
|
44
|
-
}
|
45
|
-
|
46
|
-
if attributes.key?(:'subscription')
|
47
|
-
self.subscription = attributes[:'subscription']
|
48
|
-
end
|
49
|
-
|
50
|
-
if attributes.key?(:'slug')
|
51
|
-
self.slug = attributes[:'slug']
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
56
|
-
# @return Array for valid properties with the reasons
|
57
|
-
def list_invalid_properties
|
58
|
-
invalid_properties = Array.new
|
59
|
-
invalid_properties
|
60
|
-
end
|
61
|
-
|
62
|
-
# Check to see if the all the properties in the model are valid
|
63
|
-
# @return true if the model is valid
|
64
|
-
def valid?
|
65
|
-
true
|
66
|
-
end
|
67
|
-
|
68
|
-
# Checks equality by comparing each attribute.
|
69
|
-
# @param [Object] Object to be compared
|
70
|
-
def ==(o)
|
71
|
-
return true if self.equal?(o)
|
72
|
-
self.class == o.class &&
|
73
|
-
subscription == o.subscription &&
|
74
|
-
slug == o.slug
|
75
|
-
end
|
76
|
-
|
77
|
-
# @see the `==` method
|
78
|
-
# @param [Object] Object to be compared
|
79
|
-
def eql?(o)
|
80
|
-
self == o
|
81
|
-
end
|
82
|
-
|
83
|
-
# Calculates hash code according to all attributes.
|
84
|
-
# @return [Integer] Hash code
|
85
|
-
def hash
|
86
|
-
[subscription, slug].hash
|
87
|
-
end
|
88
|
-
|
89
|
-
# Builds the object from hash
|
90
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
-
# @return [Object] Returns the model itself
|
92
|
-
def self.build_from_hash(attributes)
|
93
|
-
new.build_from_hash(attributes)
|
94
|
-
end
|
95
|
-
|
96
|
-
# Builds the object from hash
|
97
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
98
|
-
# @return [Object] Returns the model itself
|
99
|
-
def build_from_hash(attributes)
|
100
|
-
return nil unless attributes.is_a?(Hash)
|
101
|
-
self.class.openapi_types.each_pair do |key, type|
|
102
|
-
if type =~ /\AArray<(.*)>/i
|
103
|
-
# check to ensure the input is an array given that the attribute
|
104
|
-
# is documented as an array but the input is not
|
105
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
106
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
107
|
-
end
|
108
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
109
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
110
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
111
|
-
end
|
112
|
-
|
113
|
-
self
|
114
|
-
end
|
115
|
-
|
116
|
-
# Deserializes the data based on type
|
117
|
-
# @param string type Data type
|
118
|
-
# @param string value Value to be deserialized
|
119
|
-
# @return [Object] Deserialized data
|
120
|
-
def _deserialize(type, value)
|
121
|
-
case type.to_sym
|
122
|
-
when :DateTime
|
123
|
-
DateTime.parse(value)
|
124
|
-
when :Date
|
125
|
-
Date.parse(value)
|
126
|
-
when :String
|
127
|
-
value.to_s
|
128
|
-
when :Integer
|
129
|
-
value.to_i
|
130
|
-
when :Float
|
131
|
-
value.to_f
|
132
|
-
when :Boolean
|
133
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
134
|
-
true
|
135
|
-
else
|
136
|
-
false
|
137
|
-
end
|
138
|
-
when :Object
|
139
|
-
# generic object (usually a Hash), return directly
|
140
|
-
value
|
141
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
142
|
-
inner_type = Regexp.last_match[:inner_type]
|
143
|
-
value.map { |v| _deserialize(inner_type, v) }
|
144
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
145
|
-
k_type = Regexp.last_match[:k_type]
|
146
|
-
v_type = Regexp.last_match[:v_type]
|
147
|
-
{}.tap do |hash|
|
148
|
-
value.each do |k, v|
|
149
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
150
|
-
end
|
151
|
-
end
|
152
|
-
else # model
|
153
|
-
Phrase.const_get(type).build_from_hash(value)
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
|
-
# Returns the string representation of the object
|
158
|
-
# @return [String] String presentation of the object
|
159
|
-
def to_s
|
160
|
-
to_hash.to_s
|
161
|
-
end
|
162
|
-
|
163
|
-
# to_body is an alias to to_hash (backward compatibility)
|
164
|
-
# @return [Hash] Returns the object in the form of hash
|
165
|
-
def to_body
|
166
|
-
to_hash
|
167
|
-
end
|
168
|
-
|
169
|
-
# Returns the object in the form of hash
|
170
|
-
# @return [Hash] Returns the object in the form of hash
|
171
|
-
def to_hash
|
172
|
-
hash = {}
|
173
|
-
self.class.attribute_map.each_pair do |attr, param|
|
174
|
-
value = self.send(attr)
|
175
|
-
if value.nil?
|
176
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
177
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
178
|
-
end
|
179
|
-
|
180
|
-
hash[param] = _to_hash(value)
|
181
|
-
end
|
182
|
-
hash
|
183
|
-
end
|
184
|
-
|
185
|
-
# Outputs non-array value in the form of hash
|
186
|
-
# For object, use to_hash. Otherwise, just return the value
|
187
|
-
# @param [Object] value Any valid value
|
188
|
-
# @return [Hash] Returns the value in the form of hash
|
189
|
-
def _to_hash(value)
|
190
|
-
if value.is_a?(Array)
|
191
|
-
value.compact.map { |v| _to_hash(v) }
|
192
|
-
elsif value.is_a?(Hash)
|
193
|
-
{}.tap do |hash|
|
194
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
195
|
-
end
|
196
|
-
elsif value.respond_to? :to_hash
|
197
|
-
value.to_hash
|
198
|
-
else
|
199
|
-
value
|
200
|
-
end
|
201
|
-
end
|
202
|
-
end
|
203
|
-
end
|