phrase 2.17.0 → 2.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +14 -29
  4. data/docs/Account.md +2 -2
  5. data/docs/AccountDetails.md +2 -2
  6. data/docs/Authorization.md +3 -3
  7. data/docs/AuthorizationCreateParameters.md +1 -1
  8. data/docs/AuthorizationUpdateParameters.md +1 -1
  9. data/docs/AuthorizationWithToken.md +3 -3
  10. data/docs/BitbucketSync.md +2 -2
  11. data/docs/BlacklistedKey.md +2 -2
  12. data/docs/Branch.md +3 -3
  13. data/docs/Comment.md +2 -2
  14. data/docs/CommentReaction.md +2 -2
  15. data/docs/CommentRepliesApi.md +3 -1
  16. data/docs/CommentsApi.md +5 -3
  17. data/docs/CommentsListParameters.md +3 -1
  18. data/docs/CurrentUser.md +2 -2
  19. data/docs/Distribution.md +2 -2
  20. data/docs/DistributionCreateParameters.md +1 -1
  21. data/docs/DistributionPreview.md +2 -2
  22. data/docs/Document.md +2 -2
  23. data/docs/FigmaAttachment.md +2 -2
  24. data/docs/GitlabSync.md +2 -2
  25. data/docs/GitlabSyncHistory.md +3 -3
  26. data/docs/{GitlabSyncHistoryErrors.md → GitlabSyncHistoryErrorsInner.md} +2 -2
  27. data/docs/Glossary.md +2 -2
  28. data/docs/GlossaryTerm.md +2 -2
  29. data/docs/GlossaryTermTranslation.md +2 -2
  30. data/docs/Invitation.md +5 -5
  31. data/docs/{InlineResponse422.md → InvitationCreate422Response.md} +3 -3
  32. data/docs/{InlineResponse422Errors.md → InvitationCreate422ResponseErrorsInner.md} +2 -2
  33. data/docs/Job.md +3 -3
  34. data/docs/JobComment.md +2 -2
  35. data/docs/JobCommentsApi.md +3 -1
  36. data/docs/JobCreateParameters.md +1 -1
  37. data/docs/JobDetails.md +3 -3
  38. data/docs/JobLocale.md +2 -2
  39. data/docs/JobLocalesApi.md +1 -1
  40. data/docs/JobTemplate.md +2 -2
  41. data/docs/JobTemplateDetails.md +2 -2
  42. data/docs/JobTemplateLocalesApi.md +1 -1
  43. data/docs/JobTemplatesApi.md +2 -2
  44. data/docs/JobUpdateParameters.md +1 -1
  45. data/docs/JobsApi.md +1 -1
  46. data/docs/KeyCreateParameters.md +1 -1
  47. data/docs/KeyUpdateParameters.md +1 -1
  48. data/docs/Locale.md +2 -2
  49. data/docs/LocaleDetails.md +2 -2
  50. data/docs/LocalesApi.md +1 -1
  51. data/docs/Member.md +4 -4
  52. data/docs/MemberProjectDetail.md +3 -3
  53. data/docs/{MemberProjectDetailProjectRoles.md → MemberProjectDetailProjectRolesInner.md} +2 -2
  54. data/docs/{MemberSpaces.md → MemberSpacesInner.md} +4 -4
  55. data/docs/Notification.md +6 -6
  56. data/docs/NotificationGroup.md +2 -2
  57. data/docs/NotificationGroupDetail.md +2 -2
  58. data/docs/OrganizationJobTemplate.md +2 -2
  59. data/docs/OrganizationJobTemplateDetails.md +2 -2
  60. data/docs/OrganizationJobTemplateLocalesApi.md +1 -1
  61. data/docs/OrganizationJobTemplatesApi.md +2 -2
  62. data/docs/Project.md +2 -2
  63. data/docs/ProjectCreateParameters.md +1 -1
  64. data/docs/ProjectDetails.md +2 -2
  65. data/docs/ProjectLocales.md +2 -2
  66. data/docs/ProjectShort.md +2 -2
  67. data/docs/ProjectUpdateParameters.md +1 -1
  68. data/docs/ProjectsApi.md +1 -1
  69. data/docs/Release.md +2 -2
  70. data/docs/ReleasePreview.md +2 -2
  71. data/docs/RepliesListParameters.md +3 -1
  72. data/docs/Screenshot.md +2 -2
  73. data/docs/ScreenshotMarker.md +2 -2
  74. data/docs/ScreenshotUpdateParameters.md +1 -1
  75. data/docs/ScreenshotsApi.md +1 -1
  76. data/docs/Space.md +2 -2
  77. data/docs/Space1.md +2 -2
  78. data/docs/Styleguide.md +2 -2
  79. data/docs/StyleguideCreateParameters.md +1 -1
  80. data/docs/StyleguideDetails.md +2 -2
  81. data/docs/StyleguideUpdateParameters.md +1 -1
  82. data/docs/Tag.md +2 -2
  83. data/docs/TagWithStats.md +2 -2
  84. data/docs/Team.md +2 -2
  85. data/docs/TeamDetail.md +2 -2
  86. data/docs/TeamShort.md +2 -2
  87. data/docs/Translation.md +2 -2
  88. data/docs/TranslationDetails.md +2 -2
  89. data/docs/TranslationKey.md +2 -2
  90. data/docs/TranslationKeyDetails.md +2 -2
  91. data/docs/TranslationOrder.md +2 -2
  92. data/docs/TranslationVersion.md +3 -3
  93. data/docs/TranslationVersionWithUser.md +3 -3
  94. data/docs/Upload.md +2 -2
  95. data/docs/UploadsApi.md +4 -4
  96. data/docs/User.md +2 -2
  97. data/docs/Variable.md +2 -2
  98. data/docs/Webhook.md +2 -2
  99. data/docs/WebhookDelivery.md +3 -3
  100. data/lib/phrase/api/comment_replies_api.rb +3 -0
  101. data/lib/phrase/api/comments_api.rb +3 -0
  102. data/lib/phrase/api/job_comments_api.rb +3 -0
  103. data/lib/phrase/configuration.rb +6 -6
  104. data/lib/phrase/models/account.rb +3 -1
  105. data/lib/phrase/models/account_details.rb +4 -3
  106. data/lib/phrase/models/account_search_result.rb +3 -1
  107. data/lib/phrase/models/affected_count.rb +3 -1
  108. data/lib/phrase/models/affected_resources.rb +3 -1
  109. data/lib/phrase/models/authorization.rb +3 -1
  110. data/lib/phrase/models/authorization_create_parameters.rb +3 -1
  111. data/lib/phrase/models/authorization_update_parameters.rb +3 -1
  112. data/lib/phrase/models/authorization_with_token.rb +4 -3
  113. data/lib/phrase/models/bitbucket_sync.rb +3 -1
  114. data/lib/phrase/models/bitbucket_sync_export_parameters.rb +3 -1
  115. data/lib/phrase/models/bitbucket_sync_export_response.rb +3 -1
  116. data/lib/phrase/models/bitbucket_sync_import_parameters.rb +3 -1
  117. data/lib/phrase/models/blacklisted_key.rb +3 -1
  118. data/lib/phrase/models/blacklisted_key_create_parameters.rb +3 -1
  119. data/lib/phrase/models/blacklisted_key_update_parameters.rb +3 -1
  120. data/lib/phrase/models/branch.rb +3 -1
  121. data/lib/phrase/models/branch_create_parameters.rb +3 -1
  122. data/lib/phrase/models/branch_merge_parameters.rb +3 -1
  123. data/lib/phrase/models/branch_name.rb +3 -1
  124. data/lib/phrase/models/branch_update_parameters.rb +3 -1
  125. data/lib/phrase/models/comment.rb +3 -1
  126. data/lib/phrase/models/comment_create_parameters.rb +3 -1
  127. data/lib/phrase/models/comment_mark_read_parameters.rb +3 -1
  128. data/lib/phrase/models/comment_reaction.rb +3 -1
  129. data/lib/phrase/models/comment_update_parameters.rb +3 -1
  130. data/lib/phrase/models/comments_list_parameters.rb +17 -5
  131. data/lib/phrase/models/current_user.rb +3 -1
  132. data/lib/phrase/models/distribution.rb +3 -1
  133. data/lib/phrase/models/distribution_create_parameters.rb +4 -2
  134. data/lib/phrase/models/distribution_preview.rb +3 -1
  135. data/lib/phrase/models/distribution_update_parameters.rb +3 -1
  136. data/lib/phrase/models/document.rb +3 -1
  137. data/lib/phrase/models/figma_attachment.rb +3 -1
  138. data/lib/phrase/models/figma_attachment_create_parameters.rb +3 -1
  139. data/lib/phrase/models/figma_attachment_update_parameters.rb +3 -1
  140. data/lib/phrase/models/format.rb +3 -1
  141. data/lib/phrase/models/github_sync_export_parameters.rb +3 -1
  142. data/lib/phrase/models/github_sync_import_parameters.rb +3 -1
  143. data/lib/phrase/models/gitlab_sync.rb +3 -1
  144. data/lib/phrase/models/gitlab_sync_export.rb +3 -1
  145. data/lib/phrase/models/gitlab_sync_export_parameters.rb +3 -1
  146. data/lib/phrase/models/gitlab_sync_history.rb +4 -2
  147. data/lib/phrase/models/{gitlab_sync_history_errors.rb → gitlab_sync_history_errors_inner.rb} +6 -4
  148. data/lib/phrase/models/gitlab_sync_import_parameters.rb +3 -1
  149. data/lib/phrase/models/glossary.rb +3 -1
  150. data/lib/phrase/models/glossary_create_parameters.rb +3 -1
  151. data/lib/phrase/models/glossary_term.rb +3 -1
  152. data/lib/phrase/models/glossary_term_create_parameters.rb +3 -1
  153. data/lib/phrase/models/glossary_term_translation.rb +3 -1
  154. data/lib/phrase/models/glossary_term_translation_create_parameters.rb +3 -1
  155. data/lib/phrase/models/glossary_term_translation_update_parameters.rb +3 -1
  156. data/lib/phrase/models/glossary_term_update_parameters.rb +3 -1
  157. data/lib/phrase/models/glossary_update_parameters.rb +3 -1
  158. data/lib/phrase/models/icu.rb +3 -1
  159. data/lib/phrase/models/icu_skeleton_parameters.rb +3 -1
  160. data/lib/phrase/models/invitation.rb +4 -2
  161. data/lib/phrase/models/{inline_response422.rb → invitation_create422_response.rb} +7 -5
  162. data/lib/phrase/models/{inline_response422_errors.rb → invitation_create422_response_errors_inner.rb} +6 -4
  163. data/lib/phrase/models/invitation_create_parameters.rb +3 -1
  164. data/lib/phrase/models/invitation_update_parameters.rb +3 -1
  165. data/lib/phrase/models/invitation_update_settings_parameters.rb +3 -1
  166. data/lib/phrase/models/job.rb +3 -1
  167. data/lib/phrase/models/job_comment.rb +3 -1
  168. data/lib/phrase/models/job_comment_create_parameters.rb +3 -1
  169. data/lib/phrase/models/job_comment_update_parameters.rb +3 -1
  170. data/lib/phrase/models/job_complete_parameters.rb +3 -1
  171. data/lib/phrase/models/job_create_parameters.rb +3 -1
  172. data/lib/phrase/models/job_details.rb +4 -3
  173. data/lib/phrase/models/job_keys_create_parameters.rb +3 -1
  174. data/lib/phrase/models/job_locale.rb +3 -1
  175. data/lib/phrase/models/job_locale_complete_parameters.rb +3 -1
  176. data/lib/phrase/models/job_locale_complete_review_parameters.rb +3 -1
  177. data/lib/phrase/models/job_locale_reopen_parameters.rb +3 -1
  178. data/lib/phrase/models/job_locale_update_parameters.rb +3 -1
  179. data/lib/phrase/models/job_locales_create_parameters.rb +3 -1
  180. data/lib/phrase/models/job_preview.rb +3 -1
  181. data/lib/phrase/models/job_reopen_parameters.rb +3 -1
  182. data/lib/phrase/models/job_start_parameters.rb +3 -1
  183. data/lib/phrase/models/job_template.rb +3 -1
  184. data/lib/phrase/models/job_template_create_parameters.rb +3 -1
  185. data/lib/phrase/models/job_template_details.rb +4 -3
  186. data/lib/phrase/models/job_template_locale_update_parameters.rb +3 -1
  187. data/lib/phrase/models/job_template_locales.rb +3 -1
  188. data/lib/phrase/models/job_template_locales_create_parameters.rb +3 -1
  189. data/lib/phrase/models/job_template_preview.rb +3 -1
  190. data/lib/phrase/models/job_template_update_parameters.rb +3 -1
  191. data/lib/phrase/models/job_update_parameters.rb +3 -1
  192. data/lib/phrase/models/key_create_parameters.rb +3 -1
  193. data/lib/phrase/models/key_preview.rb +3 -1
  194. data/lib/phrase/models/key_update_parameters.rb +3 -1
  195. data/lib/phrase/models/keys_exclude_parameters.rb +3 -1
  196. data/lib/phrase/models/keys_include_parameters.rb +3 -1
  197. data/lib/phrase/models/keys_search_parameters.rb +3 -1
  198. data/lib/phrase/models/keys_tag_parameters.rb +3 -1
  199. data/lib/phrase/models/keys_untag_parameters.rb +3 -1
  200. data/lib/phrase/models/locale.rb +3 -1
  201. data/lib/phrase/models/locale_create_parameters.rb +3 -1
  202. data/lib/phrase/models/locale_details.rb +4 -3
  203. data/lib/phrase/models/locale_preview.rb +3 -1
  204. data/lib/phrase/models/locale_preview1.rb +3 -1
  205. data/lib/phrase/models/locale_statistics.rb +3 -1
  206. data/lib/phrase/models/locale_team_preview.rb +3 -1
  207. data/lib/phrase/models/locale_update_parameters.rb +3 -1
  208. data/lib/phrase/models/locale_user_preview.rb +3 -1
  209. data/lib/phrase/models/member.rb +4 -2
  210. data/lib/phrase/models/member_project_detail.rb +5 -3
  211. data/lib/phrase/models/{member_project_detail_project_roles.rb → member_project_detail_project_roles_inner.rb} +6 -4
  212. data/lib/phrase/models/{member_spaces.rb → member_spaces_inner.rb} +6 -4
  213. data/lib/phrase/models/member_update_parameters.rb +3 -1
  214. data/lib/phrase/models/member_update_settings_parameters.rb +3 -1
  215. data/lib/phrase/models/notification.rb +3 -1
  216. data/lib/phrase/models/notification_group.rb +3 -1
  217. data/lib/phrase/models/notification_group_detail.rb +3 -1
  218. data/lib/phrase/models/order_confirm_parameters.rb +3 -1
  219. data/lib/phrase/models/order_create_parameters.rb +3 -1
  220. data/lib/phrase/models/organization_job_template.rb +3 -1
  221. data/lib/phrase/models/organization_job_template_create_parameters.rb +3 -1
  222. data/lib/phrase/models/organization_job_template_details.rb +3 -2
  223. data/lib/phrase/models/organization_job_template_locale_update_parameters.rb +3 -1
  224. data/lib/phrase/models/organization_job_template_locales_create_parameters.rb +3 -1
  225. data/lib/phrase/models/organization_job_template_update_parameters.rb +3 -1
  226. data/lib/phrase/models/project.rb +3 -1
  227. data/lib/phrase/models/project_create_parameters.rb +3 -1
  228. data/lib/phrase/models/project_details.rb +4 -3
  229. data/lib/phrase/models/project_locales.rb +3 -9
  230. data/lib/phrase/models/project_short.rb +3 -1
  231. data/lib/phrase/models/project_update_parameters.rb +3 -1
  232. data/lib/phrase/models/release.rb +3 -1
  233. data/lib/phrase/models/release_create_parameters.rb +3 -1
  234. data/lib/phrase/models/release_preview.rb +3 -1
  235. data/lib/phrase/models/release_update_parameters.rb +3 -1
  236. data/lib/phrase/models/replies_list_parameters.rb +17 -5
  237. data/lib/phrase/models/screenshot.rb +3 -1
  238. data/lib/phrase/models/screenshot_marker.rb +3 -1
  239. data/lib/phrase/models/screenshot_marker_create_parameters.rb +3 -1
  240. data/lib/phrase/models/screenshot_marker_update_parameters.rb +3 -1
  241. data/lib/phrase/models/screenshot_update_parameters.rb +3 -1
  242. data/lib/phrase/models/search_in_account_parameters.rb +3 -1
  243. data/lib/phrase/models/space.rb +3 -1
  244. data/lib/phrase/models/space1.rb +3 -1
  245. data/lib/phrase/models/space_create_parameters.rb +3 -1
  246. data/lib/phrase/models/space_update_parameters.rb +3 -1
  247. data/lib/phrase/models/spaces_projects_create_parameters.rb +3 -1
  248. data/lib/phrase/models/styleguide.rb +3 -1
  249. data/lib/phrase/models/styleguide_create_parameters.rb +3 -1
  250. data/lib/phrase/models/styleguide_details.rb +4 -3
  251. data/lib/phrase/models/styleguide_preview.rb +3 -1
  252. data/lib/phrase/models/styleguide_update_parameters.rb +3 -1
  253. data/lib/phrase/models/subscription.rb +3 -1
  254. data/lib/phrase/models/tag.rb +3 -1
  255. data/lib/phrase/models/tag_create_parameters.rb +3 -1
  256. data/lib/phrase/models/tag_with_stats.rb +4 -3
  257. data/lib/phrase/models/tag_with_stats1_statistics.rb +3 -1
  258. data/lib/phrase/models/tag_with_stats1_statistics1.rb +3 -1
  259. data/lib/phrase/models/team.rb +3 -1
  260. data/lib/phrase/models/team_create_parameters.rb +3 -1
  261. data/lib/phrase/models/team_detail.rb +3 -1
  262. data/lib/phrase/models/team_short.rb +3 -1
  263. data/lib/phrase/models/team_update_parameters.rb +3 -1
  264. data/lib/phrase/models/teams_projects_create_parameters.rb +3 -1
  265. data/lib/phrase/models/teams_spaces_create_parameters.rb +3 -1
  266. data/lib/phrase/models/teams_users_create_parameters.rb +3 -1
  267. data/lib/phrase/models/translation.rb +3 -1
  268. data/lib/phrase/models/translation_create_parameters.rb +3 -1
  269. data/lib/phrase/models/translation_details.rb +4 -3
  270. data/lib/phrase/models/translation_exclude_parameters.rb +3 -1
  271. data/lib/phrase/models/translation_include_parameters.rb +3 -1
  272. data/lib/phrase/models/translation_key.rb +3 -1
  273. data/lib/phrase/models/translation_key_details.rb +4 -3
  274. data/lib/phrase/models/translation_order.rb +3 -1
  275. data/lib/phrase/models/translation_review_parameters.rb +3 -1
  276. data/lib/phrase/models/translation_unverify_parameters.rb +3 -1
  277. data/lib/phrase/models/translation_update_parameters.rb +3 -1
  278. data/lib/phrase/models/translation_verify_parameters.rb +3 -1
  279. data/lib/phrase/models/translation_version.rb +3 -1
  280. data/lib/phrase/models/translation_version_with_user.rb +4 -3
  281. data/lib/phrase/models/translations_exclude_parameters.rb +3 -1
  282. data/lib/phrase/models/translations_include_parameters.rb +3 -1
  283. data/lib/phrase/models/translations_review_parameters.rb +3 -1
  284. data/lib/phrase/models/translations_search_parameters.rb +3 -1
  285. data/lib/phrase/models/translations_unverify_parameters.rb +3 -1
  286. data/lib/phrase/models/translations_verify_parameters.rb +3 -1
  287. data/lib/phrase/models/upload.rb +3 -1
  288. data/lib/phrase/models/upload_summary.rb +3 -1
  289. data/lib/phrase/models/user.rb +3 -1
  290. data/lib/phrase/models/user_preview.rb +3 -1
  291. data/lib/phrase/models/variable.rb +3 -1
  292. data/lib/phrase/models/variable_create_parameters.rb +3 -1
  293. data/lib/phrase/models/variable_update_parameters.rb +3 -1
  294. data/lib/phrase/models/webhook.rb +3 -1
  295. data/lib/phrase/models/webhook_create_parameters.rb +3 -1
  296. data/lib/phrase/models/webhook_delivery.rb +3 -1
  297. data/lib/phrase/models/webhook_update_parameters.rb +3 -1
  298. data/lib/phrase/version.rb +1 -1
  299. data/lib/phrase.rb +5 -20
  300. data/spec/api/comment_replies_api_spec.rb +1 -0
  301. data/spec/api/comments_api_spec.rb +1 -0
  302. data/spec/api/job_comments_api_spec.rb +1 -0
  303. data/spec/models/comments_list_parameters_spec.rb +6 -0
  304. data/spec/models/{gitlab_sync_history_errors_spec.rb → gitlab_sync_history_errors_inner_spec.rb} +6 -6
  305. data/spec/models/{inline_response422_errors_spec.rb → invitation_create422_response_errors_inner_spec.rb} +6 -6
  306. data/spec/models/{inline_response422_spec.rb → invitation_create422_response_spec.rb} +6 -6
  307. data/spec/models/{member_project_detail_project_roles_spec.rb → member_project_detail_project_roles_inner_spec.rb} +6 -6
  308. data/spec/models/{member_spaces_spec.rb → member_spaces_inner_spec.rb} +6 -6
  309. data/spec/models/replies_list_parameters_spec.rb +6 -0
  310. metadata +226 -286
  311. data/docs/AccountDetails1.md +0 -19
  312. data/docs/AuthorizationWithToken1.md +0 -17
  313. data/docs/JobDetails1.md +0 -25
  314. data/docs/JobTemplateDetails1.md +0 -21
  315. data/docs/LocaleDetails1.md +0 -17
  316. data/docs/ProjectDetails1.md +0 -19
  317. data/docs/ProjectLocales1.md +0 -17
  318. data/docs/ProjectMemberSpecific.md +0 -27
  319. data/docs/ScreenshotCreateParameters.md +0 -23
  320. data/docs/StyleguideDetails1.md +0 -41
  321. data/docs/TagWithStats1.md +0 -17
  322. data/docs/TranslationDetails1.md +0 -19
  323. data/docs/TranslationKeyDetails1.md +0 -33
  324. data/docs/TranslationVersionWithUser1.md +0 -17
  325. data/docs/UploadCreateParameters.md +0 -47
  326. data/lib/phrase/models/account_details1.rb +0 -203
  327. data/lib/phrase/models/authorization_with_token1.rb +0 -194
  328. data/lib/phrase/models/job_details1.rb +0 -234
  329. data/lib/phrase/models/job_template_details1.rb +0 -214
  330. data/lib/phrase/models/locale_details1.rb +0 -194
  331. data/lib/phrase/models/project_details1.rb +0 -203
  332. data/lib/phrase/models/project_locales1.rb +0 -196
  333. data/lib/phrase/models/project_member_specific.rb +0 -239
  334. data/lib/phrase/models/screenshot_create_parameters.rb +0 -225
  335. data/lib/phrase/models/styleguide_details1.rb +0 -302
  336. data/lib/phrase/models/tag_with_stats1.rb +0 -196
  337. data/lib/phrase/models/translation_details1.rb +0 -203
  338. data/lib/phrase/models/translation_key_details1.rb +0 -266
  339. data/lib/phrase/models/translation_version_with_user1.rb +0 -194
  340. data/lib/phrase/models/upload_create_parameters.rb +0 -347
  341. data/spec/models/account_details1_spec.rb +0 -35
  342. data/spec/models/authorization_with_token1_spec.rb +0 -29
  343. data/spec/models/job_details1_spec.rb +0 -53
  344. data/spec/models/job_template_details1_spec.rb +0 -41
  345. data/spec/models/locale_details1_spec.rb +0 -29
  346. data/spec/models/project_details1_spec.rb +0 -35
  347. data/spec/models/project_locales1_spec.rb +0 -29
  348. data/spec/models/project_member_specific_spec.rb +0 -59
  349. data/spec/models/screenshot_create_parameters_spec.rb +0 -47
  350. data/spec/models/styleguide_details1_spec.rb +0 -101
  351. data/spec/models/tag_with_stats1_spec.rb +0 -29
  352. data/spec/models/translation_details1_spec.rb +0 -35
  353. data/spec/models/translation_key_details1_spec.rb +0 -77
  354. data/spec/models/translation_version_with_user1_spec.rb +0 -29
  355. data/spec/models/upload_create_parameters_spec.rb +0 -119
@@ -152,6 +152,8 @@ module Phrase
152
152
  DateTime.parse(value)
153
153
  when :Date
154
154
  Date.parse(value)
155
+ when :Time
156
+ Time.parse(value)
155
157
  when :String
156
158
  value.to_s
157
159
  when :Integer
@@ -205,7 +207,7 @@ module Phrase
205
207
  is_nullable = self.class.openapi_nullable.include?(attr)
206
208
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
207
209
  end
208
-
210
+
209
211
  hash[param] = _to_hash(value)
210
212
  end
211
213
  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
@@ -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
@@ -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
@@ -150,6 +150,8 @@ module Phrase
150
150
  DateTime.parse(value)
151
151
  when :Date
152
152
  Date.parse(value)
153
+ when :Time
154
+ Time.parse(value)
153
155
  when :String
154
156
  value.to_s
155
157
  when :Integer
@@ -203,7 +205,7 @@ module Phrase
203
205
  is_nullable = self.class.openapi_nullable.include?(attr)
204
206
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
205
207
  end
206
-
208
+
207
209
  hash[param] = _to_hash(value)
208
210
  end
209
211
  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
@@ -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
@@ -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
@@ -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
@@ -157,6 +157,8 @@ module Phrase
157
157
  DateTime.parse(value)
158
158
  when :Date
159
159
  Date.parse(value)
160
+ when :Time
161
+ Time.parse(value)
160
162
  when :String
161
163
  value.to_s
162
164
  when :Integer
@@ -210,7 +212,7 @@ module Phrase
210
212
  is_nullable = self.class.openapi_nullable.include?(attr)
211
213
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
212
214
  end
213
-
215
+
214
216
  hash[param] = _to_hash(value)
215
217
  end
216
218
  hash
@@ -70,7 +70,7 @@ module Phrase
70
70
  :'updated_at' => :'DateTime',
71
71
  :'accepted_at' => :'DateTime',
72
72
  :'spaces' => :'Array<Space>',
73
- :'project_role' => :'Array<MemberProjectDetailProjectRoles>'
73
+ :'project_role' => :'Array<MemberProjectDetailProjectRolesInner>'
74
74
  }
75
75
  end
76
76
 
@@ -254,6 +254,8 @@ module Phrase
254
254
  DateTime.parse(value)
255
255
  when :Date
256
256
  Date.parse(value)
257
+ when :Time
258
+ Time.parse(value)
257
259
  when :String
258
260
  value.to_s
259
261
  when :Integer
@@ -307,7 +309,7 @@ module Phrase
307
309
  is_nullable = self.class.openapi_nullable.include?(attr)
308
310
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
309
311
  end
310
-
312
+
311
313
  hash[param] = _to_hash(value)
312
314
  end
313
315
  hash
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
 
3
3
  module Phrase
4
- class InlineResponse422
4
+ class InvitationCreate422Response
5
5
  attr_accessor :message
6
6
 
7
7
  attr_accessor :errors
@@ -18,7 +18,7 @@ module Phrase
18
18
  def self.openapi_types
19
19
  {
20
20
  :'message' => :'String',
21
- :'errors' => :'Array<InlineResponse422Errors>'
21
+ :'errors' => :'Array<InvitationCreate422ResponseErrorsInner>'
22
22
  }
23
23
  end
24
24
 
@@ -32,13 +32,13 @@ module Phrase
32
32
  # @param [Hash] attributes Model attributes in the form of hash
33
33
  def initialize(attributes = {})
34
34
  if (!attributes.is_a?(Hash))
35
- fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::InlineResponse422` initialize method"
35
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::InvitationCreate422Response` initialize method"
36
36
  end
37
37
 
38
38
  # check to see if the attribute exists and convert string to symbol for hash key
39
39
  attributes = attributes.each_with_object({}) { |(k, v), h|
40
40
  if (!self.class.attribute_map.key?(k.to_sym))
41
- fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::InlineResponse422`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
41
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::InvitationCreate422Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
42
42
  end
43
43
  h[k.to_sym] = v
44
44
  }
@@ -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
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
 
3
3
  module Phrase
4
- class InlineResponse422Errors
4
+ class InvitationCreate422ResponseErrorsInner
5
5
  attr_accessor :resource
6
6
 
7
7
  attr_accessor :field
@@ -36,13 +36,13 @@ module Phrase
36
36
  # @param [Hash] attributes Model attributes in the form of hash
37
37
  def initialize(attributes = {})
38
38
  if (!attributes.is_a?(Hash))
39
- fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::InlineResponse422Errors` initialize method"
39
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::InvitationCreate422ResponseErrorsInner` initialize method"
40
40
  end
41
41
 
42
42
  # check to see if the attribute exists and convert string to symbol for hash key
43
43
  attributes = attributes.each_with_object({}) { |(k, v), h|
44
44
  if (!self.class.attribute_map.key?(k.to_sym))
45
- fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::InlineResponse422Errors`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
45
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::InvitationCreate422ResponseErrorsInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
46
46
  end
47
47
  h[k.to_sym] = v
48
48
  }
@@ -132,6 +132,8 @@ module Phrase
132
132
  DateTime.parse(value)
133
133
  when :Date
134
134
  Date.parse(value)
135
+ when :Time
136
+ Time.parse(value)
135
137
  when :String
136
138
  value.to_s
137
139
  when :Integer
@@ -185,7 +187,7 @@ module Phrase
185
187
  is_nullable = self.class.openapi_nullable.include?(attr)
186
188
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
189
  end
188
-
190
+
189
191
  hash[param] = _to_hash(value)
190
192
  end
191
193
  hash
@@ -193,6 +193,8 @@ module Phrase
193
193
  DateTime.parse(value)
194
194
  when :Date
195
195
  Date.parse(value)
196
+ when :Time
197
+ Time.parse(value)
196
198
  when :String
197
199
  value.to_s
198
200
  when :Integer
@@ -246,7 +248,7 @@ module Phrase
246
248
  is_nullable = self.class.openapi_nullable.include?(attr)
247
249
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
248
250
  end
249
-
251
+
250
252
  hash[param] = _to_hash(value)
251
253
  end
252
254
  hash
@@ -183,6 +183,8 @@ module Phrase
183
183
  DateTime.parse(value)
184
184
  when :Date
185
185
  Date.parse(value)
186
+ when :Time
187
+ Time.parse(value)
186
188
  when :String
187
189
  value.to_s
188
190
  when :Integer
@@ -236,7 +238,7 @@ module Phrase
236
238
  is_nullable = self.class.openapi_nullable.include?(attr)
237
239
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
238
240
  end
239
-
241
+
240
242
  hash[param] = _to_hash(value)
241
243
  end
242
244
  hash
@@ -127,6 +127,8 @@ module Phrase
127
127
  DateTime.parse(value)
128
128
  when :Date
129
129
  Date.parse(value)
130
+ when :Time
131
+ Time.parse(value)
130
132
  when :String
131
133
  value.to_s
132
134
  when :Integer
@@ -180,7 +182,7 @@ module Phrase
180
182
  is_nullable = self.class.openapi_nullable.include?(attr)
181
183
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
182
184
  end
183
-
185
+
184
186
  hash[param] = _to_hash(value)
185
187
  end
186
188
  hash
@@ -195,6 +195,8 @@ module Phrase
195
195
  DateTime.parse(value)
196
196
  when :Date
197
197
  Date.parse(value)
198
+ when :Time
199
+ Time.parse(value)
198
200
  when :String
199
201
  value.to_s
200
202
  when :Integer
@@ -248,7 +250,7 @@ module Phrase
248
250
  is_nullable = self.class.openapi_nullable.include?(attr)
249
251
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
250
252
  end
251
-
253
+
252
254
  hash[param] = _to_hash(value)
253
255
  end
254
256
  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
@@ -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
@@ -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
@@ -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
@@ -199,6 +199,8 @@ module Phrase
199
199
  DateTime.parse(value)
200
200
  when :Date
201
201
  Date.parse(value)
202
+ when :Time
203
+ Time.parse(value)
202
204
  when :String
203
205
  value.to_s
204
206
  when :Integer
@@ -252,7 +254,7 @@ module Phrase
252
254
  is_nullable = self.class.openapi_nullable.include?(attr)
253
255
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
254
256
  end
255
-
257
+
256
258
  hash[param] = _to_hash(value)
257
259
  end
258
260
  hash
@@ -83,8 +83,7 @@ module Phrase
83
83
  # List of class defined in allOf (OpenAPI v3)
84
84
  def self.openapi_all_of
85
85
  [
86
- :'Job',
87
- :'JobDetails1'
86
+ :'Job'
88
87
  ]
89
88
  end
90
89
 
@@ -252,6 +251,8 @@ module Phrase
252
251
  DateTime.parse(value)
253
252
  when :Date
254
253
  Date.parse(value)
254
+ when :Time
255
+ Time.parse(value)
255
256
  when :String
256
257
  value.to_s
257
258
  when :Integer
@@ -305,7 +306,7 @@ module Phrase
305
306
  is_nullable = self.class.openapi_nullable.include?(attr)
306
307
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
307
308
  end
308
-
309
+
309
310
  hash[param] = _to_hash(value)
310
311
  end
311
312
  hash
@@ -127,6 +127,8 @@ module Phrase
127
127
  DateTime.parse(value)
128
128
  when :Date
129
129
  Date.parse(value)
130
+ when :Time
131
+ Time.parse(value)
130
132
  when :String
131
133
  value.to_s
132
134
  when :Integer
@@ -180,7 +182,7 @@ module Phrase
180
182
  is_nullable = self.class.openapi_nullable.include?(attr)
181
183
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
182
184
  end
183
-
185
+
184
186
  hash[param] = _to_hash(value)
185
187
  end
186
188
  hash
@@ -181,6 +181,8 @@ module Phrase
181
181
  DateTime.parse(value)
182
182
  when :Date
183
183
  Date.parse(value)
184
+ when :Time
185
+ Time.parse(value)
184
186
  when :String
185
187
  value.to_s
186
188
  when :Integer
@@ -234,7 +236,7 @@ module Phrase
234
236
  is_nullable = self.class.openapi_nullable.include?(attr)
235
237
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
236
238
  end
237
-
239
+
238
240
  hash[param] = _to_hash(value)
239
241
  end
240
242
  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
@@ -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
@@ -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
@@ -173,6 +173,8 @@ module Phrase
173
173
  DateTime.parse(value)
174
174
  when :Date
175
175
  Date.parse(value)
176
+ when :Time
177
+ Time.parse(value)
176
178
  when :String
177
179
  value.to_s
178
180
  when :Integer
@@ -226,7 +228,7 @@ module Phrase
226
228
  is_nullable = self.class.openapi_nullable.include?(attr)
227
229
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
228
230
  end
229
-
231
+
230
232
  hash[param] = _to_hash(value)
231
233
  end
232
234
  hash
@@ -178,6 +178,8 @@ module Phrase
178
178
  DateTime.parse(value)
179
179
  when :Date
180
180
  Date.parse(value)
181
+ when :Time
182
+ Time.parse(value)
181
183
  when :String
182
184
  value.to_s
183
185
  when :Integer
@@ -231,7 +233,7 @@ module Phrase
231
233
  is_nullable = self.class.openapi_nullable.include?(attr)
232
234
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
233
235
  end
234
-
236
+
235
237
  hash[param] = _to_hash(value)
236
238
  end
237
239
  hash
@@ -132,6 +132,8 @@ module Phrase
132
132
  DateTime.parse(value)
133
133
  when :Date
134
134
  Date.parse(value)
135
+ when :Time
136
+ Time.parse(value)
135
137
  when :String
136
138
  value.to_s
137
139
  when :Integer
@@ -185,7 +187,7 @@ module Phrase
185
187
  is_nullable = self.class.openapi_nullable.include?(attr)
186
188
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
189
  end
188
-
190
+
189
191
  hash[param] = _to_hash(value)
190
192
  end
191
193
  hash