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
@@ -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
|
@@ -165,6 +165,8 @@ module Phrase
|
|
165
165
|
DateTime.parse(value)
|
166
166
|
when :Date
|
167
167
|
Date.parse(value)
|
168
|
+
when :Time
|
169
|
+
Time.parse(value)
|
168
170
|
when :String
|
169
171
|
value.to_s
|
170
172
|
when :Integer
|
@@ -218,7 +220,7 @@ module Phrase
|
|
218
220
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
219
221
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
220
222
|
end
|
221
|
-
|
223
|
+
|
222
224
|
hash[param] = _to_hash(value)
|
223
225
|
end
|
224
226
|
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
|
@@ -177,6 +177,8 @@ module Phrase
|
|
177
177
|
DateTime.parse(value)
|
178
178
|
when :Date
|
179
179
|
Date.parse(value)
|
180
|
+
when :Time
|
181
|
+
Time.parse(value)
|
180
182
|
when :String
|
181
183
|
value.to_s
|
182
184
|
when :Integer
|
@@ -230,7 +232,7 @@ module Phrase
|
|
230
232
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
231
233
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
232
234
|
end
|
233
|
-
|
235
|
+
|
234
236
|
hash[param] = _to_hash(value)
|
235
237
|
end
|
236
238
|
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
|
-
:'TranslationVersion'
|
63
|
-
:'TranslationVersionWithUser1'
|
62
|
+
:'TranslationVersion'
|
64
63
|
]
|
65
64
|
end
|
66
65
|
|
@@ -194,6 +193,8 @@ module Phrase
|
|
194
193
|
DateTime.parse(value)
|
195
194
|
when :Date
|
196
195
|
Date.parse(value)
|
196
|
+
when :Time
|
197
|
+
Time.parse(value)
|
197
198
|
when :String
|
198
199
|
value.to_s
|
199
200
|
when :Integer
|
@@ -247,7 +248,7 @@ module Phrase
|
|
247
248
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
248
249
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
249
250
|
end
|
250
|
-
|
251
|
+
|
251
252
|
hash[param] = _to_hash(value)
|
252
253
|
end
|
253
254
|
hash
|
@@ -145,6 +145,8 @@ module Phrase
|
|
145
145
|
DateTime.parse(value)
|
146
146
|
when :Date
|
147
147
|
Date.parse(value)
|
148
|
+
when :Time
|
149
|
+
Time.parse(value)
|
148
150
|
when :String
|
149
151
|
value.to_s
|
150
152
|
when :Integer
|
@@ -198,7 +200,7 @@ module Phrase
|
|
198
200
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
199
201
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
200
202
|
end
|
201
|
-
|
203
|
+
|
202
204
|
hash[param] = _to_hash(value)
|
203
205
|
end
|
204
206
|
hash
|
@@ -145,6 +145,8 @@ module Phrase
|
|
145
145
|
DateTime.parse(value)
|
146
146
|
when :Date
|
147
147
|
Date.parse(value)
|
148
|
+
when :Time
|
149
|
+
Time.parse(value)
|
148
150
|
when :String
|
149
151
|
value.to_s
|
150
152
|
when :Integer
|
@@ -198,7 +200,7 @@ module Phrase
|
|
198
200
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
199
201
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
200
202
|
end
|
201
|
-
|
203
|
+
|
202
204
|
hash[param] = _to_hash(value)
|
203
205
|
end
|
204
206
|
hash
|
@@ -125,6 +125,8 @@ module Phrase
|
|
125
125
|
DateTime.parse(value)
|
126
126
|
when :Date
|
127
127
|
Date.parse(value)
|
128
|
+
when :Time
|
129
|
+
Time.parse(value)
|
128
130
|
when :String
|
129
131
|
value.to_s
|
130
132
|
when :Integer
|
@@ -178,7 +180,7 @@ module Phrase
|
|
178
180
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
179
181
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
180
182
|
end
|
181
|
-
|
183
|
+
|
182
184
|
hash[param] = _to_hash(value)
|
183
185
|
end
|
184
186
|
hash
|
@@ -145,6 +145,8 @@ module Phrase
|
|
145
145
|
DateTime.parse(value)
|
146
146
|
when :Date
|
147
147
|
Date.parse(value)
|
148
|
+
when :Time
|
149
|
+
Time.parse(value)
|
148
150
|
when :String
|
149
151
|
value.to_s
|
150
152
|
when :Integer
|
@@ -198,7 +200,7 @@ module Phrase
|
|
198
200
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
199
201
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
200
202
|
end
|
201
|
-
|
203
|
+
|
202
204
|
hash[param] = _to_hash(value)
|
203
205
|
end
|
204
206
|
hash
|
@@ -145,6 +145,8 @@ module Phrase
|
|
145
145
|
DateTime.parse(value)
|
146
146
|
when :Date
|
147
147
|
Date.parse(value)
|
148
|
+
when :Time
|
149
|
+
Time.parse(value)
|
148
150
|
when :String
|
149
151
|
value.to_s
|
150
152
|
when :Integer
|
@@ -198,7 +200,7 @@ module Phrase
|
|
198
200
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
199
201
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
200
202
|
end
|
201
|
-
|
203
|
+
|
202
204
|
hash[param] = _to_hash(value)
|
203
205
|
end
|
204
206
|
hash
|
@@ -135,6 +135,8 @@ module Phrase
|
|
135
135
|
DateTime.parse(value)
|
136
136
|
when :Date
|
137
137
|
Date.parse(value)
|
138
|
+
when :Time
|
139
|
+
Time.parse(value)
|
138
140
|
when :String
|
139
141
|
value.to_s
|
140
142
|
when :Integer
|
@@ -188,7 +190,7 @@ module Phrase
|
|
188
190
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
189
191
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
190
192
|
end
|
191
|
-
|
193
|
+
|
192
194
|
hash[param] = _to_hash(value)
|
193
195
|
end
|
194
196
|
hash
|
data/lib/phrase/models/upload.rb
CHANGED
@@ -177,6 +177,8 @@ module Phrase
|
|
177
177
|
DateTime.parse(value)
|
178
178
|
when :Date
|
179
179
|
Date.parse(value)
|
180
|
+
when :Time
|
181
|
+
Time.parse(value)
|
180
182
|
when :String
|
181
183
|
value.to_s
|
182
184
|
when :Integer
|
@@ -230,7 +232,7 @@ module Phrase
|
|
230
232
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
231
233
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
232
234
|
end
|
233
|
-
|
235
|
+
|
234
236
|
hash[param] = _to_hash(value)
|
235
237
|
end
|
236
238
|
hash
|
@@ -177,6 +177,8 @@ module Phrase
|
|
177
177
|
DateTime.parse(value)
|
178
178
|
when :Date
|
179
179
|
Date.parse(value)
|
180
|
+
when :Time
|
181
|
+
Time.parse(value)
|
180
182
|
when :String
|
181
183
|
value.to_s
|
182
184
|
when :Integer
|
@@ -230,7 +232,7 @@ module Phrase
|
|
230
232
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
231
233
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
232
234
|
end
|
233
|
-
|
235
|
+
|
234
236
|
hash[param] = _to_hash(value)
|
235
237
|
end
|
236
238
|
hash
|
data/lib/phrase/models/user.rb
CHANGED
@@ -159,6 +159,8 @@ module Phrase
|
|
159
159
|
DateTime.parse(value)
|
160
160
|
when :Date
|
161
161
|
Date.parse(value)
|
162
|
+
when :Time
|
163
|
+
Time.parse(value)
|
162
164
|
when :String
|
163
165
|
value.to_s
|
164
166
|
when :Integer
|
@@ -212,7 +214,7 @@ module Phrase
|
|
212
214
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
213
215
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
214
216
|
end
|
215
|
-
|
217
|
+
|
216
218
|
hash[param] = _to_hash(value)
|
217
219
|
end
|
218
220
|
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
|
@@ -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
|
@@ -125,6 +125,8 @@ module Phrase
|
|
125
125
|
DateTime.parse(value)
|
126
126
|
when :Date
|
127
127
|
Date.parse(value)
|
128
|
+
when :Time
|
129
|
+
Time.parse(value)
|
128
130
|
when :String
|
129
131
|
value.to_s
|
130
132
|
when :Integer
|
@@ -178,7 +180,7 @@ module Phrase
|
|
178
180
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
179
181
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
180
182
|
end
|
181
|
-
|
183
|
+
|
182
184
|
hash[param] = _to_hash(value)
|
183
185
|
end
|
184
186
|
hash
|
@@ -125,6 +125,8 @@ module Phrase
|
|
125
125
|
DateTime.parse(value)
|
126
126
|
when :Date
|
127
127
|
Date.parse(value)
|
128
|
+
when :Time
|
129
|
+
Time.parse(value)
|
128
130
|
when :String
|
129
131
|
value.to_s
|
130
132
|
when :Integer
|
@@ -178,7 +180,7 @@ module Phrase
|
|
178
180
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
179
181
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
180
182
|
end
|
181
|
-
|
183
|
+
|
182
184
|
hash[param] = _to_hash(value)
|
183
185
|
end
|
184
186
|
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
|
@@ -165,6 +165,8 @@ module Phrase
|
|
165
165
|
DateTime.parse(value)
|
166
166
|
when :Date
|
167
167
|
Date.parse(value)
|
168
|
+
when :Time
|
169
|
+
Time.parse(value)
|
168
170
|
when :String
|
169
171
|
value.to_s
|
170
172
|
when :Integer
|
@@ -218,7 +220,7 @@ module Phrase
|
|
218
220
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
219
221
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
220
222
|
end
|
221
|
-
|
223
|
+
|
222
224
|
hash[param] = _to_hash(value)
|
223
225
|
end
|
224
226
|
hash
|
@@ -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
|
@@ -165,6 +165,8 @@ module Phrase
|
|
165
165
|
DateTime.parse(value)
|
166
166
|
when :Date
|
167
167
|
Date.parse(value)
|
168
|
+
when :Time
|
169
|
+
Time.parse(value)
|
168
170
|
when :String
|
169
171
|
value.to_s
|
170
172
|
when :Integer
|
@@ -218,7 +220,7 @@ module Phrase
|
|
218
220
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
219
221
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
220
222
|
end
|
221
|
-
|
223
|
+
|
222
224
|
hash[param] = _to_hash(value)
|
223
225
|
end
|
224
226
|
hash
|
data/lib/phrase/version.rb
CHANGED
data/lib/phrase.rb
CHANGED
@@ -10,7 +10,6 @@ require 'phrase/configuration'
|
|
10
10
|
# Models
|
11
11
|
require 'phrase/models/account'
|
12
12
|
require 'phrase/models/account_details'
|
13
|
-
require 'phrase/models/account_details1'
|
14
13
|
require 'phrase/models/account_search_result'
|
15
14
|
require 'phrase/models/affected_count'
|
16
15
|
require 'phrase/models/affected_resources'
|
@@ -18,7 +17,6 @@ require 'phrase/models/authorization'
|
|
18
17
|
require 'phrase/models/authorization_create_parameters'
|
19
18
|
require 'phrase/models/authorization_update_parameters'
|
20
19
|
require 'phrase/models/authorization_with_token'
|
21
|
-
require 'phrase/models/authorization_with_token1'
|
22
20
|
require 'phrase/models/bitbucket_sync'
|
23
21
|
require 'phrase/models/bitbucket_sync_export_parameters'
|
24
22
|
require 'phrase/models/bitbucket_sync_export_response'
|
@@ -53,7 +51,7 @@ require 'phrase/models/gitlab_sync'
|
|
53
51
|
require 'phrase/models/gitlab_sync_export'
|
54
52
|
require 'phrase/models/gitlab_sync_export_parameters'
|
55
53
|
require 'phrase/models/gitlab_sync_history'
|
56
|
-
require 'phrase/models/
|
54
|
+
require 'phrase/models/gitlab_sync_history_errors_inner'
|
57
55
|
require 'phrase/models/gitlab_sync_import_parameters'
|
58
56
|
require 'phrase/models/glossary'
|
59
57
|
require 'phrase/models/glossary_create_parameters'
|
@@ -66,9 +64,9 @@ require 'phrase/models/glossary_term_update_parameters'
|
|
66
64
|
require 'phrase/models/glossary_update_parameters'
|
67
65
|
require 'phrase/models/icu'
|
68
66
|
require 'phrase/models/icu_skeleton_parameters'
|
69
|
-
require 'phrase/models/inline_response422'
|
70
|
-
require 'phrase/models/inline_response422_errors'
|
71
67
|
require 'phrase/models/invitation'
|
68
|
+
require 'phrase/models/invitation_create422_response'
|
69
|
+
require 'phrase/models/invitation_create422_response_errors_inner'
|
72
70
|
require 'phrase/models/invitation_create_parameters'
|
73
71
|
require 'phrase/models/invitation_update_parameters'
|
74
72
|
require 'phrase/models/invitation_update_settings_parameters'
|
@@ -79,7 +77,6 @@ require 'phrase/models/job_comment_update_parameters'
|
|
79
77
|
require 'phrase/models/job_complete_parameters'
|
80
78
|
require 'phrase/models/job_create_parameters'
|
81
79
|
require 'phrase/models/job_details'
|
82
|
-
require 'phrase/models/job_details1'
|
83
80
|
require 'phrase/models/job_keys_create_parameters'
|
84
81
|
require 'phrase/models/job_locale'
|
85
82
|
require 'phrase/models/job_locale_complete_parameters'
|
@@ -93,7 +90,6 @@ require 'phrase/models/job_start_parameters'
|
|
93
90
|
require 'phrase/models/job_template'
|
94
91
|
require 'phrase/models/job_template_create_parameters'
|
95
92
|
require 'phrase/models/job_template_details'
|
96
|
-
require 'phrase/models/job_template_details1'
|
97
93
|
require 'phrase/models/job_template_locale_update_parameters'
|
98
94
|
require 'phrase/models/job_template_locales'
|
99
95
|
require 'phrase/models/job_template_locales_create_parameters'
|
@@ -111,7 +107,6 @@ require 'phrase/models/keys_untag_parameters'
|
|
111
107
|
require 'phrase/models/locale'
|
112
108
|
require 'phrase/models/locale_create_parameters'
|
113
109
|
require 'phrase/models/locale_details'
|
114
|
-
require 'phrase/models/locale_details1'
|
115
110
|
require 'phrase/models/locale_preview'
|
116
111
|
require 'phrase/models/locale_preview1'
|
117
112
|
require 'phrase/models/locale_statistics'
|
@@ -120,8 +115,8 @@ require 'phrase/models/locale_update_parameters'
|
|
120
115
|
require 'phrase/models/locale_user_preview'
|
121
116
|
require 'phrase/models/member'
|
122
117
|
require 'phrase/models/member_project_detail'
|
123
|
-
require 'phrase/models/
|
124
|
-
require 'phrase/models/
|
118
|
+
require 'phrase/models/member_project_detail_project_roles_inner'
|
119
|
+
require 'phrase/models/member_spaces_inner'
|
125
120
|
require 'phrase/models/member_update_parameters'
|
126
121
|
require 'phrase/models/member_update_settings_parameters'
|
127
122
|
require 'phrase/models/notification'
|
@@ -138,10 +133,7 @@ require 'phrase/models/organization_job_template_update_parameters'
|
|
138
133
|
require 'phrase/models/project'
|
139
134
|
require 'phrase/models/project_create_parameters'
|
140
135
|
require 'phrase/models/project_details'
|
141
|
-
require 'phrase/models/project_details1'
|
142
136
|
require 'phrase/models/project_locales'
|
143
|
-
require 'phrase/models/project_locales1'
|
144
|
-
require 'phrase/models/project_member_specific'
|
145
137
|
require 'phrase/models/project_short'
|
146
138
|
require 'phrase/models/project_update_parameters'
|
147
139
|
require 'phrase/models/release'
|
@@ -150,7 +142,6 @@ require 'phrase/models/release_preview'
|
|
150
142
|
require 'phrase/models/release_update_parameters'
|
151
143
|
require 'phrase/models/replies_list_parameters'
|
152
144
|
require 'phrase/models/screenshot'
|
153
|
-
require 'phrase/models/screenshot_create_parameters'
|
154
145
|
require 'phrase/models/screenshot_marker'
|
155
146
|
require 'phrase/models/screenshot_marker_create_parameters'
|
156
147
|
require 'phrase/models/screenshot_marker_update_parameters'
|
@@ -164,14 +155,12 @@ require 'phrase/models/spaces_projects_create_parameters'
|
|
164
155
|
require 'phrase/models/styleguide'
|
165
156
|
require 'phrase/models/styleguide_create_parameters'
|
166
157
|
require 'phrase/models/styleguide_details'
|
167
|
-
require 'phrase/models/styleguide_details1'
|
168
158
|
require 'phrase/models/styleguide_preview'
|
169
159
|
require 'phrase/models/styleguide_update_parameters'
|
170
160
|
require 'phrase/models/subscription'
|
171
161
|
require 'phrase/models/tag'
|
172
162
|
require 'phrase/models/tag_create_parameters'
|
173
163
|
require 'phrase/models/tag_with_stats'
|
174
|
-
require 'phrase/models/tag_with_stats1'
|
175
164
|
require 'phrase/models/tag_with_stats1_statistics'
|
176
165
|
require 'phrase/models/tag_with_stats1_statistics1'
|
177
166
|
require 'phrase/models/team'
|
@@ -185,12 +174,10 @@ require 'phrase/models/teams_users_create_parameters'
|
|
185
174
|
require 'phrase/models/translation'
|
186
175
|
require 'phrase/models/translation_create_parameters'
|
187
176
|
require 'phrase/models/translation_details'
|
188
|
-
require 'phrase/models/translation_details1'
|
189
177
|
require 'phrase/models/translation_exclude_parameters'
|
190
178
|
require 'phrase/models/translation_include_parameters'
|
191
179
|
require 'phrase/models/translation_key'
|
192
180
|
require 'phrase/models/translation_key_details'
|
193
|
-
require 'phrase/models/translation_key_details1'
|
194
181
|
require 'phrase/models/translation_order'
|
195
182
|
require 'phrase/models/translation_review_parameters'
|
196
183
|
require 'phrase/models/translation_unverify_parameters'
|
@@ -198,7 +185,6 @@ require 'phrase/models/translation_update_parameters'
|
|
198
185
|
require 'phrase/models/translation_verify_parameters'
|
199
186
|
require 'phrase/models/translation_version'
|
200
187
|
require 'phrase/models/translation_version_with_user'
|
201
|
-
require 'phrase/models/translation_version_with_user1'
|
202
188
|
require 'phrase/models/translations_exclude_parameters'
|
203
189
|
require 'phrase/models/translations_include_parameters'
|
204
190
|
require 'phrase/models/translations_review_parameters'
|
@@ -206,7 +192,6 @@ require 'phrase/models/translations_search_parameters'
|
|
206
192
|
require 'phrase/models/translations_unverify_parameters'
|
207
193
|
require 'phrase/models/translations_verify_parameters'
|
208
194
|
require 'phrase/models/upload'
|
209
|
-
require 'phrase/models/upload_create_parameters'
|
210
195
|
require 'phrase/models/upload_summary'
|
211
196
|
require 'phrase/models/user'
|
212
197
|
require 'phrase/models/user_preview'
|
@@ -34,6 +34,7 @@ describe 'CommentRepliesApi' do
|
|
34
34
|
# @option opts [String] :branch specify the branch to use
|
35
35
|
# @option opts [String] :query Search query for comment messages
|
36
36
|
# @option opts [Array<String>] :filters Specify the filter for the comments
|
37
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
37
38
|
# @return [Array<Comment>]
|
38
39
|
describe 'replies_list test' do
|
39
40
|
it 'should work' do
|
@@ -147,6 +147,7 @@ describe 'CommentsApi' do
|
|
147
147
|
# @option opts [String] :query Search query for comment messages
|
148
148
|
# @option opts [Array<String>] :locale_ids Search comments by their assigned locales
|
149
149
|
# @option opts [Array<String>] :filters Specify the filter for the comments
|
150
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
150
151
|
# @return [Array<Comment>]
|
151
152
|
describe 'comments_list test' do
|
152
153
|
it 'should work' do
|
@@ -91,6 +91,7 @@ describe 'JobCommentsApi' do
|
|
91
91
|
# @param [Hash] opts the optional parameters
|
92
92
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
93
93
|
# @option opts [String] :branch specify the branch to use
|
94
|
+
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
94
95
|
# @return [Array<JobComment>]
|
95
96
|
describe 'job_comments_list test' do
|
96
97
|
it 'should work' do
|
data/spec/models/{gitlab_sync_history_errors_spec.rb → gitlab_sync_history_errors_inner_spec.rb}
RENAMED
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::GitlabSyncHistoryErrorsInner
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'GitlabSyncHistoryErrorsInner' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::GitlabSyncHistoryErrorsInner.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of GitlabSyncHistoryErrorsInner' do
|
19
|
+
it 'should create an instance of GitlabSyncHistoryErrorsInner' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::GitlabSyncHistoryErrorsInner)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "error"' do
|
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::InvitationCreate422ResponseErrorsInner
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'InvitationCreate422ResponseErrorsInner' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::InvitationCreate422ResponseErrorsInner.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of InvitationCreate422ResponseErrorsInner' do
|
19
|
+
it 'should create an instance of InvitationCreate422ResponseErrorsInner' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::InvitationCreate422ResponseErrorsInner)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "resource"' do
|