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/StyleguideDetails.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | | [optional]
|
8
8
|
**title** | **String** | | [optional]
|
9
|
-
**created_at** | **
|
10
|
-
**updated_at** | **
|
9
|
+
**created_at** | **Time** | | [optional]
|
10
|
+
**updated_at** | **Time** | | [optional]
|
11
11
|
**public_url** | **String** | | [optional]
|
12
12
|
**audience** | **String** | | [optional]
|
13
13
|
**target_audience** | **String** | | [optional]
|
@@ -32,7 +32,7 @@ instance = Phrase::StyleguideUpdateParameters.new(title: Web application style g
|
|
32
32
|
company_branding: ACME Inc. should never be translated.,
|
33
33
|
formatting: Never use capital letters,
|
34
34
|
glossary_terms: Apartment, cabin, loft,
|
35
|
-
grammar_consistency:
|
35
|
+
grammar_consistency: ,
|
36
36
|
literal_translation: Neutral,
|
37
37
|
overall_tone: Tone should be fun and light,
|
38
38
|
samples: http://www.myexample.com/my/document/path/to/samples.pdf)
|
data/docs/Tag.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | | [optional]
|
8
8
|
**keys_count** | **Integer** | | [optional]
|
9
|
-
**created_at** | **
|
10
|
-
**updated_at** | **
|
9
|
+
**created_at** | **Time** | | [optional]
|
10
|
+
**updated_at** | **Time** | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/TagWithStats.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | | [optional]
|
8
8
|
**keys_count** | **Integer** | | [optional]
|
9
|
-
**created_at** | **
|
10
|
-
**updated_at** | **
|
9
|
+
**created_at** | **Time** | | [optional]
|
10
|
+
**updated_at** | **Time** | | [optional]
|
11
11
|
**statistics** | [**Array<TagWithStats1Statistics1>**](TagWithStats1Statistics1.md) | | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
data/docs/Team.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | | [optional]
|
8
8
|
**name** | **String** | | [optional]
|
9
|
-
**created_at** | **
|
10
|
-
**updated_at** | **
|
9
|
+
**created_at** | **Time** | | [optional]
|
10
|
+
**updated_at** | **Time** | | [optional]
|
11
11
|
**projects** | [**Array<Project>**](Project.md) | | [optional]
|
12
12
|
**spaces** | [**Array<Space>**](Space.md) | | [optional]
|
13
13
|
**users** | [**Array<UserPreview>**](UserPreview.md) | | [optional]
|
data/docs/TeamDetail.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | | [optional]
|
8
8
|
**name** | **String** | | [optional]
|
9
|
-
**created_at** | **
|
10
|
-
**updated_at** | **
|
9
|
+
**created_at** | **Time** | | [optional]
|
10
|
+
**updated_at** | **Time** | | [optional]
|
11
11
|
**projects** | [**Array<Project>**](Project.md) | | [optional]
|
12
12
|
**spaces** | [**Array<Space>**](Space.md) | | [optional]
|
13
13
|
**users** | [**Array<User>**](User.md) | | [optional]
|
data/docs/TeamShort.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | | [optional]
|
8
8
|
**name** | **String** | | [optional]
|
9
|
-
**created_at** | **
|
10
|
-
**updated_at** | **
|
9
|
+
**created_at** | **Time** | | [optional]
|
10
|
+
**updated_at** | **Time** | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/Translation.md
CHANGED
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
13
13
|
**locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
|
14
14
|
**placeholders** | **Array<String>** | | [optional]
|
15
15
|
**state** | **String** | | [optional]
|
16
|
-
**created_at** | **
|
17
|
-
**updated_at** | **
|
16
|
+
**created_at** | **Time** | | [optional]
|
17
|
+
**updated_at** | **Time** | | [optional]
|
18
18
|
|
19
19
|
## Code Sample
|
20
20
|
|
data/docs/TranslationDetails.md
CHANGED
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
13
13
|
**locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
|
14
14
|
**placeholders** | **Array<String>** | | [optional]
|
15
15
|
**state** | **String** | | [optional]
|
16
|
-
**created_at** | **
|
17
|
-
**updated_at** | **
|
16
|
+
**created_at** | **Time** | | [optional]
|
17
|
+
**updated_at** | **Time** | | [optional]
|
18
18
|
**user** | [**UserPreview**](UserPreview.md) | | [optional]
|
19
19
|
**word_count** | **Integer** | | [optional]
|
20
20
|
|
data/docs/TranslationKey.md
CHANGED
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**plural** | **Boolean** | | [optional]
|
12
12
|
**tags** | **Array<String>** | | [optional]
|
13
13
|
**data_type** | **String** | | [optional]
|
14
|
-
**created_at** | **
|
15
|
-
**updated_at** | **
|
14
|
+
**created_at** | **Time** | | [optional]
|
15
|
+
**updated_at** | **Time** | | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**plural** | **Boolean** | | [optional]
|
12
12
|
**tags** | **Array<String>** | | [optional]
|
13
13
|
**data_type** | **String** | | [optional]
|
14
|
-
**created_at** | **
|
15
|
-
**updated_at** | **
|
14
|
+
**created_at** | **Time** | | [optional]
|
15
|
+
**updated_at** | **Time** | | [optional]
|
16
16
|
**name_plural** | **String** | | [optional]
|
17
17
|
**comments_count** | **Integer** | | [optional]
|
18
18
|
**max_characters_allowed** | **Integer** | | [optional]
|
data/docs/TranslationOrder.md
CHANGED
@@ -20,8 +20,8 @@ Name | Type | Description | Notes
|
|
20
20
|
**unverify_translations_upon_delivery** | **Boolean** | | [optional]
|
21
21
|
**quality** | **Boolean** | | [optional]
|
22
22
|
**priority** | **Boolean** | | [optional]
|
23
|
-
**created_at** | **
|
24
|
-
**updated_at** | **
|
23
|
+
**created_at** | **Time** | | [optional]
|
24
|
+
**updated_at** | **Time** | | [optional]
|
25
25
|
|
26
26
|
## Code Sample
|
27
27
|
|
data/docs/TranslationVersion.md
CHANGED
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
|
|
9
9
|
**plural_suffix** | **String** | | [optional]
|
10
10
|
**key** | [**KeyPreview**](KeyPreview.md) | | [optional]
|
11
11
|
**locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
|
12
|
-
**created_at** | **
|
13
|
-
**updated_at** | **
|
14
|
-
**changed_at** | **
|
12
|
+
**created_at** | **Time** | | [optional]
|
13
|
+
**updated_at** | **Time** | | [optional]
|
14
|
+
**changed_at** | **Time** | | [optional]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
|
|
9
9
|
**plural_suffix** | **String** | | [optional]
|
10
10
|
**key** | [**KeyPreview**](KeyPreview.md) | | [optional]
|
11
11
|
**locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
|
12
|
-
**created_at** | **
|
13
|
-
**updated_at** | **
|
14
|
-
**changed_at** | **
|
12
|
+
**created_at** | **Time** | | [optional]
|
13
|
+
**updated_at** | **Time** | | [optional]
|
14
|
+
**changed_at** | **Time** | | [optional]
|
15
15
|
**user** | [**UserPreview**](UserPreview.md) | | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
data/docs/Upload.md
CHANGED
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**state** | **String** | | [optional]
|
11
11
|
**tag** | **String** | | [optional]
|
12
12
|
**summary** | [**UploadSummary**](UploadSummary.md) | | [optional]
|
13
|
-
**created_at** | **
|
14
|
-
**updated_at** | **
|
13
|
+
**created_at** | **Time** | | [optional]
|
14
|
+
**updated_at** | **Time** | | [optional]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
data/docs/UploadsApi.md
CHANGED
@@ -39,7 +39,7 @@ project_id = 'project_id_example' # String | Project ID
|
|
39
39
|
opts = {
|
40
40
|
x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
|
41
41
|
branch: 'branch_example', # String | specify the branch to use
|
42
|
-
file: File.new('/path/to/file'), # File | File to be imported
|
42
|
+
file: File.new('/path/to/some/file'), # File | File to be imported
|
43
43
|
file_format: 'file_format_example', # String | File format. Auto-detected when possible and not specified.
|
44
44
|
locale_id: 'locale_id_example', # String | Locale of the file's content. Can be the name or public id of the locale. Preferred is the public id.
|
45
45
|
tags: 'tags_example', # String | List of tags separated by comma to be associated with the new keys contained in the upload.
|
@@ -49,11 +49,11 @@ opts = {
|
|
49
49
|
skip_upload_tags: true, # Boolean | Indicates whether the upload should not create upload tags.
|
50
50
|
skip_unverification: true, # Boolean | Indicates whether the upload should unverify updated translations.
|
51
51
|
file_encoding: 'file_encoding_example', # String | Enforces a specific encoding on the file contents. Valid options are \\\"UTF-8\\\", \\\"UTF-16\\\" and \\\"ISO-8859-1\\\".
|
52
|
-
locale_mapping:
|
53
|
-
format_options:
|
52
|
+
locale_mapping: { ... }, # Object | Optional, format specific mapping between locale names and the columns the translations to those locales are contained in.
|
53
|
+
format_options: { ... }, # Object | Additional options available for specific formats. See our format guide for complete list.
|
54
54
|
autotranslate: true, # Boolean | If set, translations for the uploaded language will be fetched automatically.
|
55
55
|
mark_reviewed: true, # Boolean | Indicated whether the imported translations should be marked as reviewed. This setting is available if the review workflow is enabled for the project.
|
56
|
-
tag_only_affected_keys:
|
56
|
+
tag_only_affected_keys: true # Boolean | Indicates whether only keys affected (created or updated) by the upload should be tagged. The default is `false`
|
57
57
|
}
|
58
58
|
|
59
59
|
begin
|
data/docs/User.md
CHANGED
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**username** | **String** | | [optional]
|
9
9
|
**name** | **String** | | [optional]
|
10
10
|
**position** | **String** | | [optional]
|
11
|
-
**created_at** | **
|
12
|
-
**updated_at** | **
|
11
|
+
**created_at** | **Time** | | [optional]
|
12
|
+
**updated_at** | **Time** | | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
data/docs/Variable.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | | [optional]
|
8
8
|
**value** | **String** | | [optional]
|
9
|
-
**created_at** | **
|
10
|
-
**updated_at** | **
|
9
|
+
**created_at** | **Time** | | [optional]
|
10
|
+
**updated_at** | **Time** | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/Webhook.md
CHANGED
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**events** | **Array<String>** | | [optional]
|
11
11
|
**active** | **Boolean** | | [optional]
|
12
12
|
**include_branches** | **Boolean** | | [optional]
|
13
|
-
**created_at** | **
|
14
|
-
**updated_at** | **
|
13
|
+
**created_at** | **Time** | | [optional]
|
14
|
+
**updated_at** | **Time** | | [optional]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
data/docs/WebhookDelivery.md
CHANGED
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
|
|
7
7
|
**id** | **String** | | [optional]
|
8
8
|
**webhook_id** | **String** | | [optional]
|
9
9
|
**response_status_code** | **Integer** | | [optional]
|
10
|
-
**delivered_at** | **
|
10
|
+
**delivered_at** | **Time** | | [optional]
|
11
11
|
**duration_ms** | **Integer** | | [optional]
|
12
|
-
**created_at** | **
|
13
|
-
**updated_at** | **
|
12
|
+
**created_at** | **Time** | | [optional]
|
13
|
+
**updated_at** | **Time** | | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
@@ -20,6 +20,7 @@ module Phrase
|
|
20
20
|
# @option opts [String] :branch specify the branch to use
|
21
21
|
# @option opts [String] :query Search query for comment messages
|
22
22
|
# @option opts [Array<String>] :filters Specify the filter for the comments
|
23
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
23
24
|
# @return [Array<Comment>]
|
24
25
|
def replies_list(project_id, key_id, comment_id, replies_list_parameters, opts = {})
|
25
26
|
data, _status_code, _headers = replies_list_with_http_info(project_id, key_id, comment_id, replies_list_parameters, opts)
|
@@ -39,6 +40,7 @@ module Phrase
|
|
39
40
|
# @option opts [String] :branch specify the branch to use
|
40
41
|
# @option opts [String] :query Search query for comment messages
|
41
42
|
# @option opts [Array<String>] :filters Specify the filter for the comments
|
43
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
42
44
|
# @return [Array<(Response<(Array<Comment>)>, Integer, Hash)>] Response<(Array<Comment>)> data, response status code and response headers
|
43
45
|
def replies_list_with_http_info(project_id, key_id, comment_id, replies_list_parameters, opts = {})
|
44
46
|
if @api_client.config.debugging
|
@@ -70,6 +72,7 @@ module Phrase
|
|
70
72
|
query_params[:'branch'] = opts[:'branch'] if !opts[:'branch'].nil?
|
71
73
|
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
72
74
|
query_params[:'filters'] = @api_client.build_collection_param(opts[:'filters'], :multi) if !opts[:'filters'].nil?
|
75
|
+
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
73
76
|
|
74
77
|
# header parameters
|
75
78
|
header_params = opts[:header_params] || {}
|
@@ -594,6 +594,7 @@ module Phrase
|
|
594
594
|
# @option opts [String] :query Search query for comment messages
|
595
595
|
# @option opts [Array<String>] :locale_ids Search comments by their assigned locales
|
596
596
|
# @option opts [Array<String>] :filters Specify the filter for the comments
|
597
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
597
598
|
# @return [Array<Comment>]
|
598
599
|
def comments_list(project_id, key_id, comments_list_parameters, opts = {})
|
599
600
|
data, _status_code, _headers = comments_list_with_http_info(project_id, key_id, comments_list_parameters, opts)
|
@@ -613,6 +614,7 @@ module Phrase
|
|
613
614
|
# @option opts [String] :query Search query for comment messages
|
614
615
|
# @option opts [Array<String>] :locale_ids Search comments by their assigned locales
|
615
616
|
# @option opts [Array<String>] :filters Specify the filter for the comments
|
617
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
616
618
|
# @return [Array<(Response<(Array<Comment>)>, Integer, Hash)>] Response<(Array<Comment>)> data, response status code and response headers
|
617
619
|
def comments_list_with_http_info(project_id, key_id, comments_list_parameters, opts = {})
|
618
620
|
if @api_client.config.debugging
|
@@ -641,6 +643,7 @@ module Phrase
|
|
641
643
|
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
642
644
|
query_params[:'locale_ids'] = @api_client.build_collection_param(opts[:'locale_ids'], :multi) if !opts[:'locale_ids'].nil?
|
643
645
|
query_params[:'filters'] = @api_client.build_collection_param(opts[:'filters'], :multi) if !opts[:'filters'].nil?
|
646
|
+
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
644
647
|
|
645
648
|
# header parameters
|
646
649
|
header_params = opts[:header_params] || {}
|
@@ -340,6 +340,7 @@ module Phrase
|
|
340
340
|
# @param [Hash] opts the optional parameters
|
341
341
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
342
342
|
# @option opts [String] :branch specify the branch to use
|
343
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
343
344
|
# @return [Array<JobComment>]
|
344
345
|
def job_comments_list(project_id, job_id, opts = {})
|
345
346
|
data, _status_code, _headers = job_comments_list_with_http_info(project_id, job_id, opts)
|
@@ -353,6 +354,7 @@ module Phrase
|
|
353
354
|
# @param [Hash] opts the optional parameters
|
354
355
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
355
356
|
# @option opts [String] :branch specify the branch to use
|
357
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
356
358
|
# @return [Array<(Response<(Array<JobComment>)>, Integer, Hash)>] Response<(Array<JobComment>)> data, response status code and response headers
|
357
359
|
def job_comments_list_with_http_info(project_id, job_id, opts = {})
|
358
360
|
if @api_client.config.debugging
|
@@ -372,6 +374,7 @@ module Phrase
|
|
372
374
|
# query parameters
|
373
375
|
query_params = opts[:query_params] || {}
|
374
376
|
query_params[:'branch'] = opts[:'branch'] if !opts[:'branch'].nil?
|
377
|
+
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
375
378
|
|
376
379
|
# header parameters
|
377
380
|
header_params = opts[:header_params] || {}
|
data/lib/phrase/configuration.rb
CHANGED
@@ -181,19 +181,19 @@ module Phrase
|
|
181
181
|
# Returns Auth Settings hash for api client.
|
182
182
|
def auth_settings
|
183
183
|
{
|
184
|
-
'
|
184
|
+
'Token' =>
|
185
185
|
{
|
186
|
-
type: '
|
186
|
+
type: 'api_key',
|
187
187
|
in: 'header',
|
188
188
|
key: 'Authorization',
|
189
|
-
value:
|
189
|
+
value: api_key_with_prefix('Authorization')
|
190
190
|
},
|
191
|
-
'
|
191
|
+
'Basic' =>
|
192
192
|
{
|
193
|
-
type: '
|
193
|
+
type: 'basic',
|
194
194
|
in: 'header',
|
195
195
|
key: 'Authorization',
|
196
|
-
value:
|
196
|
+
value: basic_auth_token
|
197
197
|
},
|
198
198
|
}
|
199
199
|
end
|
@@ -168,6 +168,8 @@ module Phrase
|
|
168
168
|
DateTime.parse(value)
|
169
169
|
when :Date
|
170
170
|
Date.parse(value)
|
171
|
+
when :Time
|
172
|
+
Time.parse(value)
|
171
173
|
when :String
|
172
174
|
value.to_s
|
173
175
|
when :Integer
|
@@ -221,7 +223,7 @@ module Phrase
|
|
221
223
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
222
224
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
223
225
|
end
|
224
|
-
|
226
|
+
|
225
227
|
hash[param] = _to_hash(value)
|
226
228
|
end
|
227
229
|
hash
|
@@ -55,8 +55,7 @@ module Phrase
|
|
55
55
|
# List of class defined in allOf (OpenAPI v3)
|
56
56
|
def self.openapi_all_of
|
57
57
|
[
|
58
|
-
:'Account'
|
59
|
-
:'AccountDetails1'
|
58
|
+
:'Account'
|
60
59
|
]
|
61
60
|
end
|
62
61
|
|
@@ -185,6 +184,8 @@ module Phrase
|
|
185
184
|
DateTime.parse(value)
|
186
185
|
when :Date
|
187
186
|
Date.parse(value)
|
187
|
+
when :Time
|
188
|
+
Time.parse(value)
|
188
189
|
when :String
|
189
190
|
value.to_s
|
190
191
|
when :Integer
|
@@ -238,7 +239,7 @@ module Phrase
|
|
238
239
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
239
240
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
240
241
|
end
|
241
|
-
|
242
|
+
|
242
243
|
hash[param] = _to_hash(value)
|
243
244
|
end
|
244
245
|
hash
|
@@ -170,6 +170,8 @@ module Phrase
|
|
170
170
|
DateTime.parse(value)
|
171
171
|
when :Date
|
172
172
|
Date.parse(value)
|
173
|
+
when :Time
|
174
|
+
Time.parse(value)
|
173
175
|
when :String
|
174
176
|
value.to_s
|
175
177
|
when :Integer
|
@@ -223,7 +225,7 @@ module Phrase
|
|
223
225
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
224
226
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
225
227
|
end
|
226
|
-
|
228
|
+
|
227
229
|
hash[param] = _to_hash(value)
|
228
230
|
end
|
229
231
|
hash
|
@@ -114,6 +114,8 @@ module Phrase
|
|
114
114
|
DateTime.parse(value)
|
115
115
|
when :Date
|
116
116
|
Date.parse(value)
|
117
|
+
when :Time
|
118
|
+
Time.parse(value)
|
117
119
|
when :String
|
118
120
|
value.to_s
|
119
121
|
when :Integer
|
@@ -167,7 +169,7 @@ module Phrase
|
|
167
169
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
168
170
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
169
171
|
end
|
170
|
-
|
172
|
+
|
171
173
|
hash[param] = _to_hash(value)
|
172
174
|
end
|
173
175
|
hash
|
@@ -114,6 +114,8 @@ module Phrase
|
|
114
114
|
DateTime.parse(value)
|
115
115
|
when :Date
|
116
116
|
Date.parse(value)
|
117
|
+
when :Time
|
118
|
+
Time.parse(value)
|
117
119
|
when :String
|
118
120
|
value.to_s
|
119
121
|
when :Integer
|
@@ -167,7 +169,7 @@ module Phrase
|
|
167
169
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
168
170
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
169
171
|
end
|
170
|
-
|
172
|
+
|
171
173
|
hash[param] = _to_hash(value)
|
172
174
|
end
|
173
175
|
hash
|
@@ -179,6 +179,8 @@ module Phrase
|
|
179
179
|
DateTime.parse(value)
|
180
180
|
when :Date
|
181
181
|
Date.parse(value)
|
182
|
+
when :Time
|
183
|
+
Time.parse(value)
|
182
184
|
when :String
|
183
185
|
value.to_s
|
184
186
|
when :Integer
|
@@ -232,7 +234,7 @@ module Phrase
|
|
232
234
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
233
235
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
234
236
|
end
|
235
|
-
|
237
|
+
|
236
238
|
hash[param] = _to_hash(value)
|
237
239
|
end
|
238
240
|
hash
|
@@ -137,6 +137,8 @@ module Phrase
|
|
137
137
|
DateTime.parse(value)
|
138
138
|
when :Date
|
139
139
|
Date.parse(value)
|
140
|
+
when :Time
|
141
|
+
Time.parse(value)
|
140
142
|
when :String
|
141
143
|
value.to_s
|
142
144
|
when :Integer
|
@@ -190,7 +192,7 @@ module Phrase
|
|
190
192
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
191
193
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
192
194
|
end
|
193
|
-
|
195
|
+
|
194
196
|
hash[param] = _to_hash(value)
|
195
197
|
end
|
196
198
|
hash
|
@@ -137,6 +137,8 @@ module Phrase
|
|
137
137
|
DateTime.parse(value)
|
138
138
|
when :Date
|
139
139
|
Date.parse(value)
|
140
|
+
when :Time
|
141
|
+
Time.parse(value)
|
140
142
|
when :String
|
141
143
|
value.to_s
|
142
144
|
when :Integer
|
@@ -190,7 +192,7 @@ module Phrase
|
|
190
192
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
191
193
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
192
194
|
end
|
193
|
-
|
195
|
+
|
194
196
|
hash[param] = _to_hash(value)
|
195
197
|
end
|
196
198
|
hash
|
@@ -59,8 +59,7 @@ module Phrase
|
|
59
59
|
# List of class defined in allOf (OpenAPI v3)
|
60
60
|
def self.openapi_all_of
|
61
61
|
[
|
62
|
-
:'Authorization'
|
63
|
-
:'AuthorizationWithToken1'
|
62
|
+
:'Authorization'
|
64
63
|
]
|
65
64
|
end
|
66
65
|
|
@@ -196,6 +195,8 @@ module Phrase
|
|
196
195
|
DateTime.parse(value)
|
197
196
|
when :Date
|
198
197
|
Date.parse(value)
|
198
|
+
when :Time
|
199
|
+
Time.parse(value)
|
199
200
|
when :String
|
200
201
|
value.to_s
|
201
202
|
when :Integer
|
@@ -249,7 +250,7 @@ module Phrase
|
|
249
250
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
250
251
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
251
252
|
end
|
252
|
-
|
253
|
+
|
253
254
|
hash[param] = _to_hash(value)
|
254
255
|
end
|
255
256
|
hash
|
@@ -161,6 +161,8 @@ module Phrase
|
|
161
161
|
DateTime.parse(value)
|
162
162
|
when :Date
|
163
163
|
Date.parse(value)
|
164
|
+
when :Time
|
165
|
+
Time.parse(value)
|
164
166
|
when :String
|
165
167
|
value.to_s
|
166
168
|
when :Integer
|
@@ -214,7 +216,7 @@ module Phrase
|
|
214
216
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
215
217
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
216
218
|
end
|
217
|
-
|
219
|
+
|
218
220
|
hash[param] = _to_hash(value)
|
219
221
|
end
|
220
222
|
hash
|
@@ -115,6 +115,8 @@ module Phrase
|
|
115
115
|
DateTime.parse(value)
|
116
116
|
when :Date
|
117
117
|
Date.parse(value)
|
118
|
+
when :Time
|
119
|
+
Time.parse(value)
|
118
120
|
when :String
|
119
121
|
value.to_s
|
120
122
|
when :Integer
|
@@ -168,7 +170,7 @@ module Phrase
|
|
168
170
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
169
171
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
170
172
|
end
|
171
|
-
|
173
|
+
|
172
174
|
hash[param] = _to_hash(value)
|
173
175
|
end
|
174
176
|
hash
|
@@ -114,6 +114,8 @@ module Phrase
|
|
114
114
|
DateTime.parse(value)
|
115
115
|
when :Date
|
116
116
|
Date.parse(value)
|
117
|
+
when :Time
|
118
|
+
Time.parse(value)
|
117
119
|
when :String
|
118
120
|
value.to_s
|
119
121
|
when :Integer
|
@@ -167,7 +169,7 @@ module Phrase
|
|
167
169
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
168
170
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
169
171
|
end
|
170
|
-
|
172
|
+
|
171
173
|
hash[param] = _to_hash(value)
|
172
174
|
end
|
173
175
|
hash
|
@@ -115,6 +115,8 @@ module Phrase
|
|
115
115
|
DateTime.parse(value)
|
116
116
|
when :Date
|
117
117
|
Date.parse(value)
|
118
|
+
when :Time
|
119
|
+
Time.parse(value)
|
118
120
|
when :String
|
119
121
|
value.to_s
|
120
122
|
when :Integer
|
@@ -168,7 +170,7 @@ module Phrase
|
|
168
170
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
169
171
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
170
172
|
end
|
171
|
-
|
173
|
+
|
172
174
|
hash[param] = _to_hash(value)
|
173
175
|
end
|
174
176
|
hash
|
@@ -141,6 +141,8 @@ module Phrase
|
|
141
141
|
DateTime.parse(value)
|
142
142
|
when :Date
|
143
143
|
Date.parse(value)
|
144
|
+
when :Time
|
145
|
+
Time.parse(value)
|
144
146
|
when :String
|
145
147
|
value.to_s
|
146
148
|
when :Integer
|
@@ -194,7 +196,7 @@ module Phrase
|
|
194
196
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
195
197
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
196
198
|
end
|
197
|
-
|
199
|
+
|
198
200
|
hash[param] = _to_hash(value)
|
199
201
|
end
|
200
202
|
hash
|