merge_ats_client 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +53 -17
  3. data/docs/AccountDetails.md +34 -0
  4. data/docs/AccountDetailsAndActions.md +34 -0
  5. data/docs/AccountDetailsAndActionsIntegration.md +32 -0
  6. data/docs/AccountDetailsAndActionsStatusEnum.md +15 -0
  7. data/docs/AccountDetailsApi.md +79 -0
  8. data/docs/AccountIntegration.md +4 -4
  9. data/docs/AccountTokenApi.md +2 -2
  10. data/docs/ActivitiesApi.md +6 -4
  11. data/docs/Activity.md +7 -5
  12. data/docs/Application.md +12 -8
  13. data/docs/ApplicationEndpointRequest.md +20 -0
  14. data/docs/ApplicationRequest.md +16 -8
  15. data/docs/ApplicationResponse.md +24 -0
  16. data/docs/ApplicationsApi.md +98 -18
  17. data/docs/Attachment.md +3 -1
  18. data/docs/AttachmentEndpointRequest.md +20 -0
  19. data/docs/AttachmentRequest.md +5 -1
  20. data/docs/AttachmentResponse.md +24 -0
  21. data/docs/AttachmentsApi.md +93 -15
  22. data/docs/AvailableActionsApi.md +2 -2
  23. data/docs/Candidate.md +11 -7
  24. data/docs/CandidateEndpointRequest.md +20 -0
  25. data/docs/CandidateRequest.md +15 -7
  26. data/docs/CandidateResponse.md +24 -0
  27. data/docs/CandidatesApi.md +171 -17
  28. data/docs/CategoriesEnum.md +15 -0
  29. data/docs/CategoryEnum.md +15 -0
  30. data/docs/DataPassthroughRequest.md +8 -4
  31. data/docs/DebugModeLog.md +22 -0
  32. data/docs/DebugModelLogSummary.md +22 -0
  33. data/docs/DeleteAccountApi.md +78 -0
  34. data/docs/Department.md +3 -1
  35. data/docs/DepartmentsApi.md +6 -4
  36. data/docs/EEOC.md +5 -3
  37. data/docs/EeocsApi.md +6 -4
  38. data/docs/EmailAddress.md +1 -1
  39. data/docs/EmailAddressRequest.md +1 -1
  40. data/docs/EncodingEnum.md +15 -0
  41. data/docs/EndUserDetailsRequest.md +5 -3
  42. data/docs/ErrorValidationProblem.md +24 -0
  43. data/docs/ForceResyncApi.md +79 -0
  44. data/docs/GenerateKeyApi.md +2 -2
  45. data/docs/IgnoreCommonModel.md +20 -0
  46. data/docs/IgnoreCommonModelRequest.md +20 -0
  47. data/docs/InterviewsApi.md +6 -84
  48. data/docs/Issue.md +30 -0
  49. data/docs/IssueStatusEnum.md +15 -0
  50. data/docs/IssuesApi.md +177 -0
  51. data/docs/Job.md +13 -7
  52. data/docs/JobInterviewStage.md +4 -2
  53. data/docs/JobInterviewStagesApi.md +8 -6
  54. data/docs/JobsApi.md +9 -5
  55. data/docs/LinkTokenApi.md +3 -3
  56. data/docs/LinkedAccountStatus.md +20 -0
  57. data/docs/LinkedAccountsApi.md +103 -0
  58. data/docs/MetaResponse.md +24 -0
  59. data/docs/MultipartFormFieldRequest.md +26 -0
  60. data/docs/Offer.md +9 -7
  61. data/docs/OffersApi.md +6 -4
  62. data/docs/Office.md +3 -1
  63. data/docs/OfficesApi.md +6 -4
  64. data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
  65. data/docs/PaginatedIssueList.md +22 -0
  66. data/docs/PaginatedSyncStatusList.md +2 -2
  67. data/docs/PassthroughApi.md +2 -2
  68. data/docs/ReasonEnum.md +15 -0
  69. data/docs/RegenerateKeyApi.md +2 -2
  70. data/docs/RejectReason.md +3 -1
  71. data/docs/RejectReasonsApi.md +6 -4
  72. data/docs/RemoteUser.md +4 -2
  73. data/docs/RequestFormatEnum.md +15 -0
  74. data/docs/ScheduledInterview.md +11 -9
  75. data/docs/Scorecard.md +8 -6
  76. data/docs/ScorecardsApi.md +6 -84
  77. data/docs/SyncStatusApi.md +3 -75
  78. data/docs/Tag.md +3 -1
  79. data/docs/TagsApi.md +4 -2
  80. data/docs/UsersApi.md +7 -84
  81. data/docs/ValidationProblemSource.md +18 -0
  82. data/docs/WarningValidationProblem.md +24 -0
  83. data/docs/WebhookReceiver.md +22 -0
  84. data/docs/WebhookReceiverRequest.md +22 -0
  85. data/docs/WebhookReceiversApi.md +153 -0
  86. data/lib/merge_ats_client/api/account_details_api.rb +84 -0
  87. data/lib/merge_ats_client/api/account_token_api.rb +1 -1
  88. data/lib/merge_ats_client/api/activities_api.rb +4 -1
  89. data/lib/merge_ats_client/api/applications_api.rb +87 -16
  90. data/lib/merge_ats_client/api/attachments_api.rb +95 -16
  91. data/lib/merge_ats_client/api/available_actions_api.rb +1 -1
  92. data/lib/merge_ats_client/api/candidates_api.rb +163 -16
  93. data/lib/merge_ats_client/api/delete_account_api.rb +82 -0
  94. data/lib/merge_ats_client/api/departments_api.rb +4 -1
  95. data/lib/merge_ats_client/api/eeocs_api.rb +4 -1
  96. data/lib/merge_ats_client/api/force_resync_api.rb +84 -0
  97. data/lib/merge_ats_client/api/generate_key_api.rb +1 -1
  98. data/lib/merge_ats_client/api/interviews_api.rb +4 -77
  99. data/lib/merge_ats_client/api/issues_api.rb +181 -0
  100. data/lib/merge_ats_client/api/job_interview_stages_api.rb +6 -3
  101. data/lib/merge_ats_client/api/jobs_api.rb +10 -4
  102. data/lib/merge_ats_client/api/link_token_api.rb +1 -1
  103. data/lib/merge_ats_client/api/linked_accounts_api.rb +117 -0
  104. data/lib/merge_ats_client/api/offers_api.rb +4 -1
  105. data/lib/merge_ats_client/api/offices_api.rb +4 -1
  106. data/lib/merge_ats_client/api/passthrough_api.rb +1 -1
  107. data/lib/merge_ats_client/api/regenerate_key_api.rb +1 -1
  108. data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -1
  109. data/lib/merge_ats_client/api/scorecards_api.rb +4 -77
  110. data/lib/merge_ats_client/api/sync_status_api.rb +5 -67
  111. data/lib/merge_ats_client/api/tags_api.rb +4 -1
  112. data/lib/merge_ats_client/api/users_api.rb +4 -77
  113. data/lib/merge_ats_client/api/webhook_receivers_api.rb +154 -0
  114. data/lib/merge_ats_client/api_client.rb +1 -1
  115. data/lib/merge_ats_client/api_error.rb +1 -1
  116. data/lib/merge_ats_client/configuration.rb +7 -5
  117. data/lib/merge_ats_client/models/access_role_enum.rb +1 -1
  118. data/lib/merge_ats_client/models/{end_user_details.rb → account_details.rb} +68 -66
  119. data/lib/merge_ats_client/models/{scheduled_interview_request.rb → account_details_and_actions.rb} +85 -100
  120. data/lib/merge_ats_client/models/account_details_and_actions_integration.rb +310 -0
  121. data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +36 -0
  122. data/lib/merge_ats_client/models/account_integration.rb +7 -29
  123. data/lib/merge_ats_client/models/account_token.rb +2 -2
  124. data/lib/merge_ats_client/models/activity.rb +17 -8
  125. data/lib/merge_ats_client/models/activity_type_enum.rb +1 -1
  126. data/lib/merge_ats_client/models/application.rb +29 -12
  127. data/lib/merge_ats_client/models/application_endpoint_request.rb +237 -0
  128. data/lib/merge_ats_client/models/application_request.rb +70 -13
  129. data/lib/merge_ats_client/models/application_response.rb +266 -0
  130. data/lib/merge_ats_client/models/attachment.rb +16 -7
  131. data/lib/merge_ats_client/models/attachment_endpoint_request.rb +237 -0
  132. data/lib/merge_ats_client/models/attachment_request.rb +31 -7
  133. data/lib/merge_ats_client/models/attachment_response.rb +266 -0
  134. data/lib/merge_ats_client/models/attachment_type_enum.rb +0 -2
  135. data/lib/merge_ats_client/models/available_actions.rb +2 -2
  136. data/lib/merge_ats_client/models/candidate.rb +32 -7
  137. data/lib/merge_ats_client/models/candidate_endpoint_request.rb +237 -0
  138. data/lib/merge_ats_client/models/candidate_request.rb +72 -7
  139. data/lib/merge_ats_client/models/candidate_response.rb +266 -0
  140. data/lib/merge_ats_client/models/categories_enum.rb +38 -0
  141. data/lib/merge_ats_client/models/category_enum.rb +38 -0
  142. data/lib/merge_ats_client/models/data_passthrough_request.rb +81 -10
  143. data/lib/merge_ats_client/models/debug_mode_log.rb +251 -0
  144. data/lib/merge_ats_client/models/{data_passthrough.rb → debug_model_log_summary.rb} +30 -41
  145. data/lib/merge_ats_client/models/department.rb +18 -8
  146. data/lib/merge_ats_client/models/disability_status_enum.rb +1 -1
  147. data/lib/merge_ats_client/models/eeoc.rb +17 -8
  148. data/lib/merge_ats_client/models/email_address.rb +3 -3
  149. data/lib/merge_ats_client/models/email_address_request.rb +3 -3
  150. data/lib/merge_ats_client/models/email_address_type_enum.rb +1 -1
  151. data/lib/merge_ats_client/models/encoding_enum.rb +35 -0
  152. data/lib/merge_ats_client/models/end_user_details_request.rb +148 -29
  153. data/lib/merge_ats_client/models/error_validation_problem.rb +260 -0
  154. data/lib/merge_ats_client/models/gender_enum.rb +1 -1
  155. data/lib/merge_ats_client/models/generate_remote_key_request.rb +21 -2
  156. data/lib/merge_ats_client/models/{remote_user_request.rb → ignore_common_model.rb} +30 -85
  157. data/lib/merge_ats_client/models/ignore_common_model_request.rb +256 -0
  158. data/lib/merge_ats_client/models/{scorecard_request.rb → issue.rb} +56 -62
  159. data/lib/merge_ats_client/models/issue_status_enum.rb +35 -0
  160. data/lib/merge_ats_client/models/job.rb +43 -7
  161. data/lib/merge_ats_client/models/job_interview_stage.rb +17 -8
  162. data/lib/merge_ats_client/models/job_status_enum.rb +1 -1
  163. data/lib/merge_ats_client/models/link_token.rb +2 -2
  164. data/lib/merge_ats_client/models/linked_account_status.rb +237 -0
  165. data/lib/merge_ats_client/models/meta_response.rb +262 -0
  166. data/lib/merge_ats_client/models/method_enum.rb +1 -1
  167. data/lib/merge_ats_client/models/model_operation.rb +2 -2
  168. data/lib/merge_ats_client/models/{patched_application_request.rb → multipart_form_field_request.rb} +120 -88
  169. data/lib/merge_ats_client/models/offer.rb +17 -9
  170. data/lib/merge_ats_client/models/offer_status_enum.rb +1 -1
  171. data/lib/merge_ats_client/models/office.rb +18 -8
  172. data/lib/merge_ats_client/models/overall_recommendation_enum.rb +1 -1
  173. data/lib/merge_ats_client/models/paginated_account_details_and_actions_list.rb +240 -0
  174. data/lib/merge_ats_client/models/paginated_activity_list.rb +2 -2
  175. data/lib/merge_ats_client/models/paginated_application_list.rb +2 -2
  176. data/lib/merge_ats_client/models/paginated_attachment_list.rb +2 -2
  177. data/lib/merge_ats_client/models/paginated_candidate_list.rb +2 -2
  178. data/lib/merge_ats_client/models/paginated_department_list.rb +2 -2
  179. data/lib/merge_ats_client/models/paginated_eeoc_list.rb +2 -2
  180. data/lib/merge_ats_client/models/paginated_issue_list.rb +240 -0
  181. data/lib/merge_ats_client/models/paginated_job_interview_stage_list.rb +2 -2
  182. data/lib/merge_ats_client/models/paginated_job_list.rb +2 -2
  183. data/lib/merge_ats_client/models/paginated_offer_list.rb +2 -2
  184. data/lib/merge_ats_client/models/paginated_office_list.rb +2 -2
  185. data/lib/merge_ats_client/models/paginated_reject_reason_list.rb +2 -2
  186. data/lib/merge_ats_client/models/paginated_remote_user_list.rb +2 -2
  187. data/lib/merge_ats_client/models/paginated_scheduled_interview_list.rb +2 -2
  188. data/lib/merge_ats_client/models/paginated_scorecard_list.rb +2 -2
  189. data/lib/merge_ats_client/models/paginated_sync_status_list.rb +1 -1
  190. data/lib/merge_ats_client/models/paginated_tag_list.rb +2 -2
  191. data/lib/merge_ats_client/models/phone_number.rb +3 -3
  192. data/lib/merge_ats_client/models/phone_number_request.rb +3 -3
  193. data/lib/merge_ats_client/models/phone_number_type_enum.rb +1 -1
  194. data/lib/merge_ats_client/models/race_enum.rb +1 -1
  195. data/lib/merge_ats_client/models/reason_enum.rb +36 -0
  196. data/lib/merge_ats_client/models/reject_reason.rb +18 -8
  197. data/lib/merge_ats_client/models/remote_data.rb +2 -2
  198. data/lib/merge_ats_client/models/remote_data_request.rb +21 -2
  199. data/lib/merge_ats_client/models/remote_key.rb +2 -2
  200. data/lib/merge_ats_client/models/remote_key_for_regeneration_request.rb +21 -2
  201. data/lib/merge_ats_client/models/remote_response.rb +2 -2
  202. data/lib/merge_ats_client/models/remote_user.rb +18 -8
  203. data/lib/merge_ats_client/models/request_format_enum.rb +36 -0
  204. data/lib/merge_ats_client/models/scheduled_interview.rb +18 -10
  205. data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +1 -1
  206. data/lib/merge_ats_client/models/scorecard.rb +17 -10
  207. data/lib/merge_ats_client/models/sync_status.rb +2 -2
  208. data/lib/merge_ats_client/models/sync_status_status_enum.rb +2 -2
  209. data/lib/merge_ats_client/models/tag.rb +18 -8
  210. data/lib/merge_ats_client/models/url.rb +8 -8
  211. data/lib/merge_ats_client/models/url_request.rb +8 -8
  212. data/lib/merge_ats_client/models/url_type_enum.rb +1 -1
  213. data/lib/merge_ats_client/models/{remote_key_for_regeneration.rb → validation_problem_source.rb} +15 -16
  214. data/lib/merge_ats_client/models/veteran_status_enum.rb +1 -1
  215. data/lib/merge_ats_client/models/visibility_enum.rb +1 -1
  216. data/lib/merge_ats_client/models/warning_validation_problem.rb +260 -0
  217. data/lib/merge_ats_client/models/webhook_receiver.rb +246 -0
  218. data/lib/merge_ats_client/models/webhook_receiver_request.rb +280 -0
  219. data/lib/merge_ats_client/version.rb +1 -1
  220. data/lib/merge_ats_client.rb +38 -4
  221. data/merge_ats_client.gemspec +1 -1
  222. data/spec/api/account_details_api_spec.rb +46 -0
  223. data/spec/api/account_token_api_spec.rb +1 -1
  224. data/spec/api/activities_api_spec.rb +4 -1
  225. data/spec/api/applications_api_spec.rb +31 -1
  226. data/spec/api/attachments_api_spec.rb +31 -1
  227. data/spec/api/available_actions_api_spec.rb +1 -1
  228. data/spec/api/candidates_api_spec.rb +44 -1
  229. data/spec/api/departments_api_spec.rb +4 -1
  230. data/spec/api/eeocs_api_spec.rb +4 -1
  231. data/spec/api/force_resync_api_spec.rb +46 -0
  232. data/spec/api/interviews_api_spec.rb +4 -1
  233. data/spec/api/issues_api_spec.rb +9 -5
  234. data/spec/api/job_interview_stages_api_spec.rb +4 -1
  235. data/spec/api/jobs_api_spec.rb +6 -1
  236. data/spec/api/link_token_api_spec.rb +2 -2
  237. data/spec/api/linked_accounts_api_spec.rb +57 -0
  238. data/spec/api/offers_api_spec.rb +4 -1
  239. data/spec/api/offices_api_spec.rb +4 -1
  240. data/spec/api/passthrough_api_spec.rb +2 -2
  241. data/spec/api/regenerate_key_api_spec.rb +3 -5
  242. data/spec/api/reject_reasons_api_spec.rb +4 -1
  243. data/spec/api/scorecards_api_spec.rb +4 -1
  244. data/spec/api/sync_status_api_spec.rb +8 -5
  245. data/spec/api/tags_api_spec.rb +3 -1
  246. data/spec/api/users_api_spec.rb +5 -1
  247. data/spec/api/webhook_receivers_api_spec.rb +58 -0
  248. data/spec/api_client_spec.rb +1 -1
  249. data/spec/configuration_spec.rb +1 -1
  250. data/spec/models/access_role_enum_spec.rb +1 -1
  251. data/spec/models/{scorecard_request_spec.rb → account_details_and_actions_integration_spec.rb} +19 -13
  252. data/spec/models/{scheduled_interview_request_spec.rb → account_details_and_actions_spec.rb} +15 -27
  253. data/spec/models/account_details_and_actions_status_enum_spec.rb +28 -0
  254. data/spec/models/{patched_application_request_spec.rb → account_details_spec.rb} +16 -16
  255. data/spec/models/account_integration_spec.rb +7 -1
  256. data/spec/models/account_token_spec.rb +7 -1
  257. data/spec/models/activity_spec.rb +13 -1
  258. data/spec/models/activity_type_enum_spec.rb +1 -1
  259. data/spec/models/application_endpoint_request_spec.rb +40 -0
  260. data/spec/models/application_request_spec.rb +25 -1
  261. data/spec/models/{end_user_details_spec.rb → application_response_spec.rb} +11 -15
  262. data/spec/models/application_spec.rb +19 -7
  263. data/spec/models/attachment_endpoint_request_spec.rb +40 -0
  264. data/spec/models/attachment_request_spec.rb +12 -0
  265. data/spec/models/attachment_response_spec.rb +52 -0
  266. data/spec/models/attachment_spec.rb +25 -1
  267. data/spec/models/available_actions_spec.rb +1 -1
  268. data/spec/models/candidate_endpoint_request_spec.rb +40 -0
  269. data/spec/models/candidate_request_spec.rb +37 -1
  270. data/spec/models/{data_passthrough_spec.rb → candidate_response_spec.rb} +11 -11
  271. data/spec/models/candidate_spec.rb +19 -1
  272. data/spec/models/categories_enum_spec.rb +28 -0
  273. data/spec/models/category_enum_spec.rb +28 -0
  274. data/spec/models/data_passthrough_request_spec.rb +13 -1
  275. data/spec/models/debug_mode_log_spec.rb +46 -0
  276. data/spec/models/debug_model_log_summary_spec.rb +46 -0
  277. data/spec/models/department_spec.rb +13 -1
  278. data/spec/models/disability_status_enum_spec.rb +1 -1
  279. data/spec/models/eeoc_spec.rb +13 -1
  280. data/spec/models/email_address_request_spec.rb +1 -1
  281. data/spec/models/email_address_spec.rb +1 -1
  282. data/spec/models/email_address_type_enum_spec.rb +1 -1
  283. data/spec/models/encoding_enum_spec.rb +28 -0
  284. data/spec/models/end_user_details_request_spec.rb +13 -5
  285. data/spec/models/error_validation_problem_spec.rb +52 -0
  286. data/spec/models/gender_enum_spec.rb +1 -1
  287. data/spec/models/ignore_common_model_request_spec.rb +40 -0
  288. data/spec/models/ignore_common_model_spec.rb +40 -0
  289. data/spec/models/job_interview_stage_spec.rb +13 -1
  290. data/spec/models/job_spec.rb +31 -1
  291. data/spec/models/job_status_enum_spec.rb +1 -1
  292. data/spec/models/link_token_spec.rb +1 -1
  293. data/spec/models/linked_account_status_spec.rb +40 -0
  294. data/spec/models/meta_response_spec.rb +52 -0
  295. data/spec/models/method_enum_spec.rb +1 -1
  296. data/spec/models/model_operation_spec.rb +13 -1
  297. data/spec/models/{remote_user_request_spec.rb → multipart_form_field_request_spec.rb} +11 -23
  298. data/spec/models/offer_spec.rb +13 -1
  299. data/spec/models/offer_status_enum_spec.rb +1 -1
  300. data/spec/models/office_spec.rb +13 -1
  301. data/spec/models/overall_recommendation_enum_spec.rb +1 -1
  302. data/spec/models/paginated_account_details_and_actions_list_spec.rb +46 -0
  303. data/spec/models/paginated_activity_list_spec.rb +1 -1
  304. data/spec/models/paginated_application_list_spec.rb +1 -1
  305. data/spec/models/paginated_attachment_list_spec.rb +1 -1
  306. data/spec/models/paginated_candidate_list_spec.rb +1 -1
  307. data/spec/models/paginated_department_list_spec.rb +1 -1
  308. data/spec/models/paginated_eeoc_list_spec.rb +1 -1
  309. data/spec/models/paginated_job_interview_stage_list_spec.rb +1 -1
  310. data/spec/models/paginated_job_list_spec.rb +1 -1
  311. data/spec/models/paginated_offer_list_spec.rb +1 -1
  312. data/spec/models/paginated_office_list_spec.rb +1 -1
  313. data/spec/models/paginated_reject_reason_list_spec.rb +1 -1
  314. data/spec/models/paginated_remote_user_list_spec.rb +1 -1
  315. data/spec/models/paginated_scheduled_interview_list_spec.rb +1 -1
  316. data/spec/models/paginated_scorecard_list_spec.rb +1 -1
  317. data/spec/models/paginated_tag_list_spec.rb +1 -1
  318. data/spec/models/phone_number_request_spec.rb +1 -1
  319. data/spec/models/phone_number_spec.rb +1 -1
  320. data/spec/models/phone_number_type_enum_spec.rb +1 -1
  321. data/spec/models/race_enum_spec.rb +1 -1
  322. data/spec/models/reason_enum_spec.rb +28 -0
  323. data/spec/models/reject_reason_spec.rb +13 -1
  324. data/spec/models/remote_data_spec.rb +1 -1
  325. data/spec/models/remote_key_for_regeneration_request_spec.rb +1 -1
  326. data/spec/models/remote_key_spec.rb +1 -1
  327. data/spec/models/remote_response_spec.rb +1 -1
  328. data/spec/models/remote_user_spec.rb +13 -1
  329. data/spec/models/request_format_enum_spec.rb +28 -0
  330. data/spec/models/scheduled_interview_spec.rb +13 -1
  331. data/spec/models/scheduled_interview_status_enum_spec.rb +1 -1
  332. data/spec/models/scorecard_spec.rb +13 -1
  333. data/spec/models/sync_status_spec.rb +1 -1
  334. data/spec/models/tag_spec.rb +13 -1
  335. data/spec/models/url_request_spec.rb +1 -1
  336. data/spec/models/url_spec.rb +1 -1
  337. data/spec/models/url_type_enum_spec.rb +1 -1
  338. data/spec/models/{remote_key_for_regeneration_spec.rb → validation_problem_source_spec.rb} +8 -8
  339. data/spec/models/veteran_status_enum_spec.rb +1 -1
  340. data/spec/models/visibility_enum_spec.rb +1 -1
  341. data/spec/models/warning_validation_problem_spec.rb +52 -0
  342. data/spec/models/webhook_receiver_request_spec.rb +46 -0
  343. data/spec/models/webhook_receiver_spec.rb +46 -0
  344. data/spec/spec_helper.rb +1 -1
  345. metadata +220 -113
  346. data/config.json +0 -2
  347. data/docs/DataPassthrough.md +0 -24
  348. data/docs/EndUserDetails.md +0 -24
  349. data/docs/PatchedApplicationRequest.md +0 -34
  350. data/docs/RemoteKeyForRegeneration.md +0 -18
  351. data/docs/RemoteUserRequest.md +0 -30
  352. data/docs/ScheduledInterviewRequest.md +0 -38
  353. data/docs/ScorecardRequest.md +0 -30
  354. data/test_ats.rb +0 -22
  355. data/test_signature.rb +0 -32
@@ -0,0 +1,262 @@
1
+ =begin
2
+ #Merge ATS API
3
+
4
+ #The unified API for building rich integrations with multiple Applicant Tracking System platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MergeATSClient
17
+ class MetaResponse
18
+ attr_accessor :request_schema
19
+
20
+ attr_accessor :status
21
+
22
+ attr_accessor :has_conditional_params
23
+
24
+ attr_accessor :has_required_linked_account_params
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'request_schema' => :'request_schema',
30
+ :'status' => :'status',
31
+ :'has_conditional_params' => :'has_conditional_params',
32
+ :'has_required_linked_account_params' => :'has_required_linked_account_params'
33
+ }
34
+ end
35
+
36
+ # Returns all the JSON keys this model knows about
37
+ def self.acceptable_attributes
38
+ attribute_map.values
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.openapi_types
43
+ {
44
+ :'request_schema' => :'Hash<String, AnyType>',
45
+ :'status' => :'LinkedAccountStatus',
46
+ :'has_conditional_params' => :'Boolean',
47
+ :'has_required_linked_account_params' => :'Boolean'
48
+ }
49
+ end
50
+
51
+ # List of attributes with nullable: true
52
+ def self.openapi_nullable
53
+ Set.new([
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::MetaResponse` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!self.class.attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::MetaResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'request_schema')
73
+ if (value = attributes[:'request_schema']).is_a?(Hash)
74
+ self.request_schema = value
75
+ end
76
+ end
77
+
78
+ if attributes.key?(:'status')
79
+ self.status = attributes[:'status']
80
+ end
81
+
82
+ if attributes.key?(:'has_conditional_params')
83
+ self.has_conditional_params = attributes[:'has_conditional_params']
84
+ end
85
+
86
+ if attributes.key?(:'has_required_linked_account_params')
87
+ self.has_required_linked_account_params = attributes[:'has_required_linked_account_params']
88
+ end
89
+ end
90
+
91
+ # Show invalid properties with the reasons. Usually used together with valid?
92
+ # @return Array for valid properties with the reasons
93
+ def list_invalid_properties
94
+ invalid_properties = Array.new
95
+ if @request_schema.nil?
96
+ invalid_properties.push('invalid value for "request_schema", request_schema cannot be nil.')
97
+ end
98
+
99
+ if @has_conditional_params.nil?
100
+ invalid_properties.push('invalid value for "has_conditional_params", has_conditional_params cannot be nil.')
101
+ end
102
+
103
+ if @has_required_linked_account_params.nil?
104
+ invalid_properties.push('invalid value for "has_required_linked_account_params", has_required_linked_account_params cannot be nil.')
105
+ end
106
+
107
+ invalid_properties
108
+ end
109
+
110
+ # Check to see if the all the properties in the model are valid
111
+ # @return true if the model is valid
112
+ def valid?
113
+ return false if @request_schema.nil?
114
+ return false if @has_conditional_params.nil?
115
+ return false if @has_required_linked_account_params.nil?
116
+ true
117
+ end
118
+
119
+ # Checks equality by comparing each attribute.
120
+ # @param [Object] Object to be compared
121
+ def ==(o)
122
+ return true if self.equal?(o)
123
+ self.class == o.class &&
124
+ request_schema == o.request_schema &&
125
+ status == o.status &&
126
+ has_conditional_params == o.has_conditional_params &&
127
+ has_required_linked_account_params == o.has_required_linked_account_params
128
+ end
129
+
130
+ # @see the `==` method
131
+ # @param [Object] Object to be compared
132
+ def eql?(o)
133
+ self == o
134
+ end
135
+
136
+ # Calculates hash code according to all attributes.
137
+ # @return [Integer] Hash code
138
+ def hash
139
+ [request_schema, status, has_conditional_params, has_required_linked_account_params].hash
140
+ end
141
+
142
+ # Builds the object from hash
143
+ # @param [Hash] attributes Model attributes in the form of hash
144
+ # @return [Object] Returns the model itself
145
+ def self.build_from_hash(attributes)
146
+ new.build_from_hash(attributes)
147
+ end
148
+
149
+ # Builds the object from hash
150
+ # @param [Hash] attributes Model attributes in the form of hash
151
+ # @return [Object] Returns the model itself
152
+ def build_from_hash(attributes)
153
+ return nil unless attributes.is_a?(Hash)
154
+ self.class.openapi_types.each_pair do |key, type|
155
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
156
+ self.send("#{key}=", nil)
157
+ elsif type =~ /\AArray<(.*)>/i
158
+ # check to ensure the input is an array given that the attribute
159
+ # is documented as an array but the input is not
160
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
161
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
162
+ end
163
+ elsif !attributes[self.class.attribute_map[key]].nil?
164
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
165
+ end
166
+ end
167
+
168
+ self
169
+ end
170
+
171
+ # Deserializes the data based on type
172
+ # @param string type Data type
173
+ # @param string value Value to be deserialized
174
+ # @return [Object] Deserialized data
175
+ def _deserialize(type, value)
176
+ case type.to_sym
177
+ when :Time
178
+ Time.parse(value)
179
+ when :Date
180
+ Date.parse(value)
181
+ when :String
182
+ value
183
+ when :Integer
184
+ value.to_i
185
+ when :Float
186
+ value.to_f
187
+ when :Boolean
188
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
189
+ true
190
+ else
191
+ false
192
+ end
193
+ when :Object
194
+ # generic object (usually a Hash), return directly
195
+ value
196
+ when /\AArray<(?<inner_type>.+)>\z/
197
+ inner_type = Regexp.last_match[:inner_type]
198
+ value.map { |v| _deserialize(inner_type, v) }
199
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
200
+ k_type = Regexp.last_match[:k_type]
201
+ v_type = Regexp.last_match[:v_type]
202
+ {}.tap do |hash|
203
+ value.each do |k, v|
204
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
205
+ end
206
+ end
207
+ else # model
208
+ # models (e.g. Pet) or oneOf
209
+ klass = MergeATSClient.const_get(type)
210
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
211
+ end
212
+ end
213
+
214
+ # Returns the string representation of the object
215
+ # @return [String] String presentation of the object
216
+ def to_s
217
+ to_hash.to_s
218
+ end
219
+
220
+ # to_body is an alias to to_hash (backward compatibility)
221
+ # @return [Hash] Returns the object in the form of hash
222
+ def to_body
223
+ to_hash
224
+ end
225
+
226
+ # Returns the object in the form of hash
227
+ # @return [Hash] Returns the object in the form of hash
228
+ def to_hash
229
+ hash = {}
230
+ self.class.attribute_map.each_pair do |attr, param|
231
+ value = self.send(attr)
232
+ if value.nil?
233
+ is_nullable = self.class.openapi_nullable.include?(attr)
234
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
235
+ end
236
+
237
+ hash[param] = _to_hash(value)
238
+ end
239
+ hash
240
+ end
241
+
242
+ # Outputs non-array value in the form of hash
243
+ # For object, use to_hash. Otherwise, just return the value
244
+ # @param [Object] value Any valid value
245
+ # @return [Hash] Returns the value in the form of hash
246
+ def _to_hash(value)
247
+ if value.is_a?(Array)
248
+ value.compact.map { |v| _to_hash(v) }
249
+ elsif value.is_a?(Hash)
250
+ {}.tap do |hash|
251
+ value.each { |k, v| hash[k] = _to_hash(v) }
252
+ end
253
+ elsif value.respond_to? :to_hash
254
+ value.to_hash
255
+ else
256
+ value
257
+ end
258
+ end
259
+
260
+ end
261
+
262
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -189,7 +189,7 @@ module MergeATSClient
189
189
  when :Date
190
190
  Date.parse(value)
191
191
  when :String
192
- value.to_s
192
+ value
193
193
  when :Integer
194
194
  value.to_i
195
195
  when :Float
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -14,47 +14,31 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The Application Object ### Description The `Application` object is used to represent an Application for a job position. ### Usage Example Fetch from the `LIST Applications` endpoint and filter by `ID` to show all applications.
18
- class PatchedApplicationRequest
19
- # The third-party API ID of the matching object.
20
- attr_accessor :remote_id
17
+ # # The MultipartFormField Object ### Description The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. ### Usage Example Create a `MultipartFormField` to define a multipart form entry.
18
+ class MultipartFormFieldRequest
19
+ # The name of the form field
20
+ attr_accessor :name
21
21
 
22
- # The candidate applying.
23
- attr_accessor :candidate
22
+ # The data for the form field.
23
+ attr_accessor :data
24
24
 
25
- # The job being applied for.
26
- attr_accessor :job
25
+ # The encoding of the value of `data`. Defaults to `RAW` if not defined.
26
+ attr_accessor :encoding
27
27
 
28
- # When the application was submitted.
29
- attr_accessor :applied_at
28
+ # The file name of the form field, if the field is for a file.
29
+ attr_accessor :file_name
30
30
 
31
- # When the application was rejected.
32
- attr_accessor :rejected_at
33
-
34
- # The application's source.
35
- attr_accessor :source
36
-
37
- # The user credited for this application.
38
- attr_accessor :credited_to
39
-
40
- # The application's current stage.
41
- attr_accessor :current_stage
42
-
43
- # The application's reason for rejection.
44
- attr_accessor :reject_reason
31
+ # The MIME type of the file, if the field is for a file.
32
+ attr_accessor :content_type
45
33
 
46
34
  # Attribute mapping from ruby-style variable name to JSON key.
47
35
  def self.attribute_map
48
36
  {
49
- :'remote_id' => :'remote_id',
50
- :'candidate' => :'candidate',
51
- :'job' => :'job',
52
- :'applied_at' => :'applied_at',
53
- :'rejected_at' => :'rejected_at',
54
- :'source' => :'source',
55
- :'credited_to' => :'credited_to',
56
- :'current_stage' => :'current_stage',
57
- :'reject_reason' => :'reject_reason'
37
+ :'name' => :'name',
38
+ :'data' => :'data',
39
+ :'encoding' => :'encoding',
40
+ :'file_name' => :'file_name',
41
+ :'content_type' => :'content_type'
58
42
  }
59
43
  end
60
44
 
@@ -66,30 +50,20 @@ module MergeATSClient
66
50
  # Attribute type mapping.
67
51
  def self.openapi_types
68
52
  {
69
- :'remote_id' => :'String',
70
- :'candidate' => :'String',
71
- :'job' => :'String',
72
- :'applied_at' => :'Time',
73
- :'rejected_at' => :'Time',
74
- :'source' => :'String',
75
- :'credited_to' => :'String',
76
- :'current_stage' => :'String',
77
- :'reject_reason' => :'String'
53
+ :'name' => :'String',
54
+ :'data' => :'String',
55
+ :'encoding' => :'EncodingEnum',
56
+ :'file_name' => :'String',
57
+ :'content_type' => :'String'
78
58
  }
79
59
  end
80
60
 
81
61
  # List of attributes with nullable: true
82
62
  def self.openapi_nullable
83
63
  Set.new([
84
- :'remote_id',
85
- :'candidate',
86
- :'job',
87
- :'applied_at',
88
- :'rejected_at',
89
- :'source',
90
- :'credited_to',
91
- :'current_stage',
92
- :'reject_reason'
64
+ :'encoding',
65
+ :'file_name',
66
+ :'content_type'
93
67
  ])
94
68
  end
95
69
 
@@ -97,81 +71,139 @@ module MergeATSClient
97
71
  # @param [Hash] attributes Model attributes in the form of hash
98
72
  def initialize(attributes = {})
99
73
  if (!attributes.is_a?(Hash))
100
- fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::PatchedApplicationRequest` initialize method"
74
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::MultipartFormFieldRequest` initialize method"
101
75
  end
102
76
 
103
77
  # check to see if the attribute exists and convert string to symbol for hash key
104
78
  attributes = attributes.each_with_object({}) { |(k, v), h|
105
79
  if (!self.class.attribute_map.key?(k.to_sym))
106
- fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::PatchedApplicationRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
80
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::MultipartFormFieldRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
107
81
  end
108
82
  h[k.to_sym] = v
109
83
  }
110
84
 
111
- if attributes.key?(:'remote_id')
112
- self.remote_id = attributes[:'remote_id']
85
+ if attributes.key?(:'name')
86
+ self.name = attributes[:'name']
113
87
  end
114
88
 
115
- if attributes.key?(:'candidate')
116
- self.candidate = attributes[:'candidate']
89
+ if attributes.key?(:'data')
90
+ self.data = attributes[:'data']
117
91
  end
118
92
 
119
- if attributes.key?(:'job')
120
- self.job = attributes[:'job']
93
+ if attributes.key?(:'encoding')
94
+ self.encoding = attributes[:'encoding']
121
95
  end
122
96
 
123
- if attributes.key?(:'applied_at')
124
- self.applied_at = attributes[:'applied_at']
97
+ if attributes.key?(:'file_name')
98
+ self.file_name = attributes[:'file_name']
125
99
  end
126
100
 
127
- if attributes.key?(:'rejected_at')
128
- self.rejected_at = attributes[:'rejected_at']
101
+ if attributes.key?(:'content_type')
102
+ self.content_type = attributes[:'content_type']
129
103
  end
104
+ end
130
105
 
131
- if attributes.key?(:'source')
132
- self.source = attributes[:'source']
106
+ # Show invalid properties with the reasons. Usually used together with valid?
107
+ # @return Array for valid properties with the reasons
108
+ def list_invalid_properties
109
+ invalid_properties = Array.new
110
+ if @name.nil?
111
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
133
112
  end
134
113
 
135
- if attributes.key?(:'credited_to')
136
- self.credited_to = attributes[:'credited_to']
114
+ if @name.to_s.length < 1
115
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
137
116
  end
138
117
 
139
- if attributes.key?(:'current_stage')
140
- self.current_stage = attributes[:'current_stage']
118
+ if @data.nil?
119
+ invalid_properties.push('invalid value for "data", data cannot be nil.')
141
120
  end
142
121
 
143
- if attributes.key?(:'reject_reason')
144
- self.reject_reason = attributes[:'reject_reason']
122
+ if @data.to_s.length < 1
123
+ invalid_properties.push('invalid value for "data", the character length must be great than or equal to 1.')
124
+ end
125
+
126
+ if !@file_name.nil? && @file_name.to_s.length < 1
127
+ invalid_properties.push('invalid value for "file_name", the character length must be great than or equal to 1.')
128
+ end
129
+
130
+ if !@content_type.nil? && @content_type.to_s.length < 1
131
+ invalid_properties.push('invalid value for "content_type", the character length must be great than or equal to 1.')
145
132
  end
146
- end
147
133
 
148
- # Show invalid properties with the reasons. Usually used together with valid?
149
- # @return Array for valid properties with the reasons
150
- def list_invalid_properties
151
- invalid_properties = Array.new
152
134
  invalid_properties
153
135
  end
154
136
 
155
137
  # Check to see if the all the properties in the model are valid
156
138
  # @return true if the model is valid
157
139
  def valid?
140
+ return false if @name.nil?
141
+ return false if @name.to_s.length < 1
142
+ return false if @data.nil?
143
+ return false if @data.to_s.length < 1
144
+ return false if !@file_name.nil? && @file_name.to_s.length < 1
145
+ return false if !@content_type.nil? && @content_type.to_s.length < 1
158
146
  true
159
147
  end
160
148
 
149
+ # Custom attribute writer method with validation
150
+ # @param [Object] name Value to be assigned
151
+ def name=(name)
152
+ if name.nil?
153
+ fail ArgumentError, 'name cannot be nil'
154
+ end
155
+
156
+ if name.to_s.length < 1
157
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
158
+ end
159
+
160
+ @name = name
161
+ end
162
+
163
+ # Custom attribute writer method with validation
164
+ # @param [Object] data Value to be assigned
165
+ def data=(data)
166
+ if data.nil?
167
+ fail ArgumentError, 'data cannot be nil'
168
+ end
169
+
170
+ if data.to_s.length < 1
171
+ fail ArgumentError, 'invalid value for "data", the character length must be great than or equal to 1.'
172
+ end
173
+
174
+ @data = data
175
+ end
176
+
177
+ # Custom attribute writer method with validation
178
+ # @param [Object] file_name Value to be assigned
179
+ def file_name=(file_name)
180
+ if !file_name.nil? && file_name.to_s.length < 1
181
+ fail ArgumentError, 'invalid value for "file_name", the character length must be great than or equal to 1.'
182
+ end
183
+
184
+ @file_name = file_name
185
+ end
186
+
187
+ # Custom attribute writer method with validation
188
+ # @param [Object] content_type Value to be assigned
189
+ def content_type=(content_type)
190
+ if !content_type.nil? && content_type.to_s.length < 1
191
+ fail ArgumentError, 'invalid value for "content_type", the character length must be great than or equal to 1.'
192
+ end
193
+
194
+ @content_type = content_type
195
+ end
196
+
161
197
  # Checks equality by comparing each attribute.
162
198
  # @param [Object] Object to be compared
163
199
  def ==(o)
164
200
  return true if self.equal?(o)
165
201
  self.class == o.class &&
166
- remote_id == o.remote_id &&
167
- candidate == o.candidate &&
168
- job == o.job &&
169
- applied_at == o.applied_at &&
170
- rejected_at == o.rejected_at &&
171
- source == o.source &&
172
- credited_to == o.credited_to &&
173
- current_stage == o.current_stage &&
174
- reject_reason == o.reject_reason
202
+ name == o.name &&
203
+ data == o.data &&
204
+ encoding == o.encoding &&
205
+ file_name == o.file_name &&
206
+ content_type == o.content_type
175
207
  end
176
208
 
177
209
  # @see the `==` method
@@ -183,7 +215,7 @@ module MergeATSClient
183
215
  # Calculates hash code according to all attributes.
184
216
  # @return [Integer] Hash code
185
217
  def hash
186
- [remote_id, candidate, job, applied_at, rejected_at, source, credited_to, current_stage, reject_reason].hash
218
+ [name, data, encoding, file_name, content_type].hash
187
219
  end
188
220
 
189
221
  # Builds the object from hash
@@ -226,7 +258,7 @@ module MergeATSClient
226
258
  when :Date
227
259
  Date.parse(value)
228
260
  when :String
229
- value.to_s
261
+ value
230
262
  when :Integer
231
263
  value.to_i
232
264
  when :Float
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -14,17 +14,15 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The Offer Object ### Description The `Offer` object is used to represent an offer for an application. ### Usage Example Fetch from the `LIST Offers` endpoint and filter by `ID` to show all offers.
17
+ # # The Offer Object ### Description The `Offer` object is used to represent an offer for an application. ### Usage Example Fetch from the `LIST Offers` endpoint and filter by `ID` to show all offers.
18
18
  class Offer
19
19
  attr_accessor :id
20
20
 
21
21
  # The third-party API ID of the matching object.
22
22
  attr_accessor :remote_id
23
23
 
24
- # The application who is receiving the offer.
25
24
  attr_accessor :application
26
25
 
27
- # The user who created the offer.
28
26
  attr_accessor :creator
29
27
 
30
28
  # When the third party's offer was created.
@@ -44,6 +42,9 @@ module MergeATSClient
44
42
 
45
43
  attr_accessor :remote_data
46
44
 
45
+ # Indicates whether or not this object has been deleted on the third-party.
46
+ attr_accessor :remote_was_deleted
47
+
47
48
  # Attribute mapping from ruby-style variable name to JSON key.
48
49
  def self.attribute_map
49
50
  {
@@ -56,7 +57,8 @@ module MergeATSClient
56
57
  :'sent_at' => :'sent_at',
57
58
  :'start_date' => :'start_date',
58
59
  :'status' => :'status',
59
- :'remote_data' => :'remote_data'
60
+ :'remote_data' => :'remote_data',
61
+ :'remote_was_deleted' => :'remote_was_deleted'
60
62
  }
61
63
  end
62
64
 
@@ -77,7 +79,8 @@ module MergeATSClient
77
79
  :'sent_at' => :'Time',
78
80
  :'start_date' => :'Time',
79
81
  :'status' => :'OfferStatusEnum',
80
- :'remote_data' => :'Array<RemoteData>'
82
+ :'remote_data' => :'Array<RemoteData>',
83
+ :'remote_was_deleted' => :'Boolean'
81
84
  }
82
85
  end
83
86
 
@@ -92,7 +95,7 @@ module MergeATSClient
92
95
  :'sent_at',
93
96
  :'start_date',
94
97
  :'status',
95
- :'remote_data'
98
+ :'remote_data',
96
99
  ])
97
100
  end
98
101
 
@@ -152,6 +155,10 @@ module MergeATSClient
152
155
  self.remote_data = value
153
156
  end
154
157
  end
158
+
159
+ if attributes.key?(:'remote_was_deleted')
160
+ self.remote_was_deleted = attributes[:'remote_was_deleted']
161
+ end
155
162
  end
156
163
 
157
164
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -181,7 +188,8 @@ module MergeATSClient
181
188
  sent_at == o.sent_at &&
182
189
  start_date == o.start_date &&
183
190
  status == o.status &&
184
- remote_data == o.remote_data
191
+ remote_data == o.remote_data &&
192
+ remote_was_deleted == o.remote_was_deleted
185
193
  end
186
194
 
187
195
  # @see the `==` method
@@ -193,7 +201,7 @@ module MergeATSClient
193
201
  # Calculates hash code according to all attributes.
194
202
  # @return [Integer] Hash code
195
203
  def hash
196
- [id, remote_id, application, creator, remote_created_at, closed_at, sent_at, start_date, status, remote_data].hash
204
+ [id, remote_id, application, creator, remote_created_at, closed_at, sent_at, start_date, status, remote_data, remote_was_deleted].hash
197
205
  end
198
206
 
199
207
  # Builds the object from hash