buildium-ruby 3.0.0 → 3.1.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 (1424) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +26 -0
  3. data/.openapi-generator/FILES +732 -116
  4. data/.travis.yml +14 -0
  5. data/DOCS.md +157 -157
  6. data/Dockerfile +34 -0
  7. data/Gemfile.lock +2 -2
  8. data/README.md +1404 -79
  9. data/bin/config.yml +1 -1
  10. data/bin/rebuild.sh +1 -0
  11. data/bin/swagger.json +14128 -10005
  12. data/docker-compose.yml +19 -0
  13. data/docs/AccountInfoMessage.md +2 -2
  14. data/docs/AccountInfoMessageAccountingSettings.md +28 -0
  15. data/docs/AccountInfoMessageContact.md +24 -0
  16. data/docs/AccountingEntityMessage.md +1 -1
  17. data/docs/AccountingEntityMessageUnit.md +20 -0
  18. data/docs/AccountingEntityPatchMessage.md +22 -0
  19. data/docs/AccountingLockPeriodMessage.md +1 -1
  20. data/docs/AccountingLockPeriodMessageGlobal.md +18 -0
  21. data/docs/AdministrationApi.md +157 -6
  22. data/docs/AllTasksMessage.md +4 -4
  23. data/docs/AllTasksMessageCategory.md +24 -0
  24. data/docs/AllTasksMessageProperty.md +22 -0
  25. data/docs/AllTasksMessageRequestedByUserEntity.md +28 -0
  26. data/docs/AllTasksMessageUnitAgreement.md +22 -0
  27. data/docs/AnnouncementMessage.md +1 -1
  28. data/docs/AnnouncementMessageSender.md +22 -0
  29. data/docs/AppliancesApi.md +26 -26
  30. data/docs/ApplicantMessage.md +3 -1
  31. data/docs/ApplicantPostMessage.md +1 -1
  32. data/docs/ApplicantPostMessagePhoneNumbers.md +24 -0
  33. data/docs/ApplicantPutMessage.md +1 -1
  34. data/docs/ApplicantPutMessagePhoneNumbers.md +24 -0
  35. data/docs/ApplicantsApi.md +70 -66
  36. data/docs/ArchitecturalRequestsApi.md +590 -0
  37. data/docs/ArchitecturalRequestsPostMessage.md +28 -0
  38. data/docs/AssociationArchitecturalRequestFileMessage.md +28 -0
  39. data/docs/AssociationArchitecturalRequestMessage.md +38 -0
  40. data/docs/AssociationArchitecturalRequestMessageCreatedByUser.md +24 -0
  41. data/docs/AssociationArchitecturalRequestMessageLastUpdatedByUser.md +26 -0
  42. data/docs/AssociationMessage.md +3 -3
  43. data/docs/AssociationMessageAddress.md +30 -0
  44. data/docs/AssociationMessageAssociationManager.md +32 -0
  45. data/docs/AssociationMessageTaxInformation.md +26 -0
  46. data/docs/AssociationMeterReadingsApi.md +10 -10
  47. data/docs/AssociationOwnerMessage.md +3 -3
  48. data/docs/AssociationOwnerMessageAlternateAddress.md +30 -0
  49. data/docs/AssociationOwnerMessageEmergencyContact.md +24 -0
  50. data/docs/AssociationOwnerMessagePrimaryAddress.md +30 -0
  51. data/docs/AssociationOwnerPostMessage.md +5 -5
  52. data/docs/AssociationOwnerPostMessageAlternateAddress.md +30 -0
  53. data/docs/AssociationOwnerPostMessageBoardMemberTerm.md +22 -0
  54. data/docs/AssociationOwnerPostMessageEmergencyContact.md +24 -0
  55. data/docs/AssociationOwnerPostMessagePhoneNumbers.md +24 -0
  56. data/docs/AssociationOwnerPostMessagePrimaryAddress.md +30 -0
  57. data/docs/AssociationOwnerPutMessage.md +4 -4
  58. data/docs/AssociationOwnerPutMessagePhoneNumbers.md +24 -0
  59. data/docs/AssociationOwnerToExistingOwnershipAccountPostMessage.md +5 -5
  60. data/docs/AssociationOwnerToExistingOwnershipAccountPostMessageEmergencyContact.md +24 -0
  61. data/docs/AssociationOwnerToExistingOwnershipAccountPostMessagePhoneNumbers.md +24 -0
  62. data/docs/AssociationOwnersApi.md +41 -41
  63. data/docs/AssociationPostMessage.md +2 -2
  64. data/docs/AssociationPostMessageAddress.md +30 -0
  65. data/docs/AssociationPostMessageTaxInformation.md +26 -0
  66. data/docs/AssociationPutMessage.md +1 -1
  67. data/docs/AssociationTaxInformationMessage.md +1 -1
  68. data/docs/AssociationTaxInformationMessageAddress.md +30 -0
  69. data/docs/AssociationTenantMessage.md +3 -3
  70. data/docs/AssociationTenantPostMessage.md +4 -4
  71. data/docs/AssociationTenantPostMessageAlternateAddress.md +30 -0
  72. data/docs/AssociationTenantPostMessageEmergencyContact.md +24 -0
  73. data/docs/AssociationTenantPostMessagePhoneNumbers.md +24 -0
  74. data/docs/AssociationTenantPostMessagePrimaryAddress.md +30 -0
  75. data/docs/AssociationTenantPutMessage.md +4 -4
  76. data/docs/AssociationTenantPutMessagePhoneNumbers.md +24 -0
  77. data/docs/AssociationTenantsApi.md +32 -32
  78. data/docs/AssociationUnitMessage.md +1 -1
  79. data/docs/AssociationUnitMessageAddress.md +30 -0
  80. data/docs/AssociationUnitPutMessage.md +1 -1
  81. data/docs/AssociationUnitPutMessageAddress.md +30 -0
  82. data/docs/AssociationUnitsApi.md +32 -32
  83. data/docs/AssociationUnitsPostMessage.md +1 -1
  84. data/docs/AssociationsApi.md +51 -51
  85. data/docs/BankAccountCheckLineMessage.md +1 -1
  86. data/docs/BankAccountCheckLineMessageAccountingEntity.md +24 -0
  87. data/docs/BankAccountCheckLineSaveMessage.md +1 -1
  88. data/docs/BankAccountCheckLineSaveMessageAccountingEntity.md +22 -0
  89. data/docs/BankAccountCheckMessage.md +1 -1
  90. data/docs/BankAccountCheckMessagePayee.md +22 -0
  91. data/docs/BankAccountCheckPostMessage.md +1 -1
  92. data/docs/BankAccountCheckPostMessagePayee.md +20 -0
  93. data/docs/BankAccountCheckPutMessage.md +1 -1
  94. data/docs/BankAccountDepositLineMessage.md +1 -1
  95. data/docs/BankAccountDepositLineMessageAccountingEntity.md +24 -0
  96. data/docs/BankAccountDepositLineSaveMessage.md +1 -1
  97. data/docs/BankAccountDepositLineSaveMessageAccountingEntity.md +22 -0
  98. data/docs/BankAccountMessage.md +3 -3
  99. data/docs/BankAccountMessageCheckPrintingInfo.md +46 -0
  100. data/docs/BankAccountMessageElectronicPayments.md +32 -0
  101. data/docs/BankAccountMessageGLAccount.md +46 -0
  102. data/docs/BankAccountPostMessage.md +1 -1
  103. data/docs/BankAccountPostMessageCheckPrintingInfo.md +46 -0
  104. data/docs/BankAccountPutMessage.md +1 -1
  105. data/docs/BankAccountPutMessageCheckPrintingInfo.md +46 -0
  106. data/docs/BankAccountQuickDepositMessage.md +1 -1
  107. data/docs/BankAccountQuickDepositMessageAccountingEntity.md +24 -0
  108. data/docs/BankAccountQuickDepositSaveMessage.md +1 -1
  109. data/docs/BankAccountQuickDepositSaveMessageAccountingEntity.md +22 -0
  110. data/docs/BankAccountReconciliationBalanceMessage.md +22 -0
  111. data/docs/BankAccountReconciliationBalanceMessageClearedBalance.md +24 -0
  112. data/docs/BankAccountReconciliationBalanceMessageStatementBalance.md +24 -0
  113. data/docs/BankAccountReconciliationBalancePutMessage.md +22 -0
  114. data/docs/BankAccountReconciliationMessage.md +22 -0
  115. data/docs/BankAccountReconciliationTransactionMessage.md +34 -0
  116. data/docs/BankAccountTransferMessage.md +1 -1
  117. data/docs/BankAccountTransferMessageAccountingEntity.md +24 -0
  118. data/docs/BankAccountTransferSaveMessage.md +1 -1
  119. data/docs/BankAccountTransferSaveMessageAccountingEntity.md +22 -0
  120. data/docs/BankAccountWithdrawalMessage.md +1 -1
  121. data/docs/BankAccountWithdrawalMessageAccountingEntity.md +24 -0
  122. data/docs/BankAccountWithdrawalSaveMessage.md +1 -1
  123. data/docs/BankAccountWithdrawalSaveMessageAccountingEntity.md +22 -0
  124. data/docs/BankAccountsApi.md +964 -155
  125. data/docs/BankLockboxDataAssociationOwnerMessage.md +7 -1
  126. data/docs/BankLockboxDataMessage.md +1 -1
  127. data/docs/BankLockboxDataMessageAssociation.md +22 -0
  128. data/docs/BankLockboxDataOwnershipAccountMessage.md +1 -1
  129. data/docs/BankLockboxDataOwnershipAccountMessageUnitAddress.md +30 -0
  130. data/docs/BankPendingReconciliationPostMessage.md +24 -0
  131. data/docs/BankReconciliationClearTransactionsPostMessage.md +18 -0
  132. data/docs/BankReconciliationClearedBalanceMessage.md +24 -0
  133. data/docs/BankReconciliationPutMessage.md +18 -0
  134. data/docs/BankReconciliationStatementBalanceMessage.md +24 -0
  135. data/docs/BankReconciliationUnclearTransactionsPostMessage.md +18 -0
  136. data/docs/BillLineItemPatchMessage.md +28 -0
  137. data/docs/BillLineItemPatchMessageAccountingEntity.md +22 -0
  138. data/docs/BillLineItemPatchMessageMarkup.md +20 -0
  139. data/docs/BillLineMessage.md +3 -3
  140. data/docs/BillLineMessageAccountingEntity.md +24 -0
  141. data/docs/BillLineMessageGLAccount.md +46 -0
  142. data/docs/BillLineMessageMarkup.md +20 -0
  143. data/docs/BillLinePostMessage.md +2 -2
  144. data/docs/BillLinePostMessageAccountingEntity.md +22 -0
  145. data/docs/BillLinePostMessageMarkup.md +20 -0
  146. data/docs/BillLinePutMessage.md +2 -2
  147. data/docs/BillMarkupPatchMessage.md +20 -0
  148. data/docs/BillPatchMessage.md +28 -0
  149. data/docs/BillPaymentLineMessage.md +1 -1
  150. data/docs/BillPaymentLineMessageAccountingEntity.md +22 -0
  151. data/docs/BillsApi.md +143 -64
  152. data/docs/BoardMembersApi.md +17 -17
  153. data/docs/BudgetDetailsMessage.md +1 -1
  154. data/docs/BudgetDetailsMessageMonthlyAmounts.md +40 -0
  155. data/docs/BudgetDetailsSaveMessage.md +1 -1
  156. data/docs/BudgetDetailsSaveMessageMonthlyAmounts.md +40 -0
  157. data/docs/BudgetMessage.md +1 -1
  158. data/docs/BudgetMessageProperty.md +22 -0
  159. data/docs/BudgetsApi.md +21 -21
  160. data/docs/ClearTransactionsRequest.md +18 -0
  161. data/docs/ClientLeadMessage.md +2 -2
  162. data/docs/ClientLeadMessageAddress.md +30 -0
  163. data/docs/ClientLeadMessageCreditRequest.md +24 -0
  164. data/docs/ClientLeadsApi.md +2 -2
  165. data/docs/CommunicationsApi.md +39 -39
  166. data/docs/ContactDetailMessage.md +1 -1
  167. data/docs/ContactDetailMessagePhoneNumbers.md +22 -0
  168. data/docs/ContactDetailSaveMessage.md +1 -1
  169. data/docs/ContactDetailSaveMessagePhoneNumbers.md +22 -0
  170. data/docs/ContactInfoMessage.md +1 -1
  171. data/docs/ContactInfoMessageAddress.md +30 -0
  172. data/docs/ContactRequestTaskMessage.md +3 -3
  173. data/docs/ContactRequestTaskMessageCategory.md +24 -0
  174. data/docs/ContactRequestTaskMessageContactDetail.md +24 -0
  175. data/docs/ContactRequestTaskMessageProperty.md +22 -0
  176. data/docs/ContactRequestTaskPostMessage.md +1 -1
  177. data/docs/ContactRequestTaskPostMessageContactDetail.md +24 -0
  178. data/docs/ContactRequestTaskPutMessage.md +1 -1
  179. data/docs/ContactRequestTaskPutMessageContactDetail.md +24 -0
  180. data/docs/ContactRequestsApi.md +16 -16
  181. data/docs/CosignerMessage.md +2 -2
  182. data/docs/CosignerMessageAddress.md +30 -0
  183. data/docs/CosignerMessageAlternateAddress.md +30 -0
  184. data/docs/CreateAnnouncementRequest.md +28 -0
  185. data/docs/CreateApplicantGroupRequest.md +20 -0
  186. data/docs/CreateApplicantRequest.md +28 -0
  187. data/docs/CreateArchitecturalRequestAsyncRequest.md +28 -0
  188. data/docs/CreateAssociationApplianceRequest.md +32 -0
  189. data/docs/CreateAssociationApplianceServiceHistoryRequest.md +22 -0
  190. data/docs/CreateAssociationOwnerRequest.md +48 -0
  191. data/docs/CreateAssociationOwnershipAccountRequest.md +32 -0
  192. data/docs/CreateAssociationRequest.md +34 -0
  193. data/docs/CreateAssociationTenantRequest.md +42 -0
  194. data/docs/CreateAssociationUnitRequest.md +28 -0
  195. data/docs/CreateBankAccountCheckRequest.md +26 -0
  196. data/docs/CreateBankAccountDepositRequest.md +24 -0
  197. data/docs/CreateBankAccountRequest.md +30 -0
  198. data/docs/CreateBankAccountTransferRequest.md +26 -0
  199. data/docs/CreateBillPaymentRequest.md +26 -0
  200. data/docs/CreateBillRequest.md +30 -0
  201. data/docs/CreateBoardMemberRequest.md +24 -0
  202. data/docs/CreateBudgetAsyncRequest.md +26 -0
  203. data/docs/CreateContactRequestTaskRequest.md +38 -0
  204. data/docs/CreateEmailRequest.md +30 -0
  205. data/docs/CreateFileCategoryRequest.md +18 -0
  206. data/docs/CreateGeneralJournalEntryRequest.md +24 -0
  207. data/docs/CreateGeneralLedgerAccountRequest.md +32 -0
  208. data/docs/CreateLeaseAutoAllocatedPaymentRequest.md +30 -0
  209. data/docs/CreateLeaseCreditRequest.md +26 -0
  210. data/docs/CreateLeaseLedgerChargeRequest.md +24 -0
  211. data/docs/CreateLeaseLedgerDepositWithholdingRequest.md +24 -0
  212. data/docs/CreateLeaseLedgerRefundRequest.md +30 -0
  213. data/docs/CreateLeaseNoteRequest.md +18 -0
  214. data/docs/CreateLeaseRenewalRequest.md +38 -0
  215. data/docs/CreateLeaseRequest.md +42 -0
  216. data/docs/CreateLeaseReversePaymentRequest.md +24 -0
  217. data/docs/CreateListingContactRequest.md +24 -0
  218. data/docs/CreateMoveOutDataRequest.md +22 -0
  219. data/docs/CreateMultipleBillPaymentsRequest.md +26 -0
  220. data/docs/CreateOwnershipAccountAutoAllocatedPaymentRequest.md +30 -0
  221. data/docs/CreateOwnershipAccountCreditRecurringTransactionRequest.md +36 -0
  222. data/docs/CreateOwnershipAccountCreditRequest.md +26 -0
  223. data/docs/CreateOwnershipAccountDepositWithholdingRequest.md +24 -0
  224. data/docs/CreateOwnershipAccountLedgerChargeRequest.md +24 -0
  225. data/docs/CreateOwnershipAccountLedgerPaymentRequest.md +30 -0
  226. data/docs/CreateOwnershipAccountRecurringPaymentRequest.md +34 -0
  227. data/docs/CreateOwnershipAccountRefundRequest.md +30 -0
  228. data/docs/CreateOwnershipAccountsChargeRecurringTransactionRequest.md +32 -0
  229. data/docs/CreatePaymentRequest.md +30 -0
  230. data/docs/CreatePendingReconciliationsRequest.md +24 -0
  231. data/docs/CreatePhoneLogRequest.md +24 -0
  232. data/docs/CreatePropertyGroupRequest.md +22 -0
  233. data/docs/CreateQuickDepositRequest.md +26 -0
  234. data/docs/CreateRentScheduleRequest.md +24 -0
  235. data/docs/CreateRentalApplianceRequest.md +32 -0
  236. data/docs/CreateRentalApplianceServiceHistoryRequest.md +22 -0
  237. data/docs/CreateRentalImageUploadFileRequestAsyncRequest.md +22 -0
  238. data/docs/CreateRentalOwnerRequest.md +44 -0
  239. data/docs/CreateRentalOwnerRequestTaskRequest.md +38 -0
  240. data/docs/CreateRentalPropertyRequest.md +36 -0
  241. data/docs/CreateRentalTenantRequest.md +42 -0
  242. data/docs/CreateRentalUnitRequest.md +32 -0
  243. data/docs/CreateResourceRequest.md +46 -0
  244. data/docs/CreateTaskCategoryRequest.md +18 -0
  245. data/docs/CreateToDoTaskRequest.md +36 -0
  246. data/docs/CreateUploadFileRequestAsyncRequest.md +28 -0
  247. data/docs/CreateUploadFileRequestRequest.md +18 -0
  248. data/docs/CreateVendorCategoryRequest.md +18 -0
  249. data/docs/CreateVendorCreditRequest.md +24 -0
  250. data/docs/CreateVendorRefundRequest.md +28 -0
  251. data/docs/CreateVendorRequest.md +46 -0
  252. data/docs/CreateVideoLinkRequestRequest.md +20 -0
  253. data/docs/CreateWithdrawalForBankAccountRequest.md +26 -0
  254. data/docs/CreateWorkOrderRequest.md +40 -0
  255. data/docs/EPaySettingsMessage.md +3 -3
  256. data/docs/EPaySettingsMessageCreditCardPayments.md +18 -0
  257. data/docs/EPaySettingsMessageEFTPayments.md +18 -0
  258. data/docs/EPaySettingsMessageOfflinePayments.md +22 -0
  259. data/docs/EPaySettingsPutMessage.md +3 -3
  260. data/docs/EPaySettingsPutMessageCreditCardPayments.md +18 -0
  261. data/docs/EPaySettingsPutMessageEFTPayments.md +18 -0
  262. data/docs/EPaySettingsPutMessageOfflinePayments.md +22 -0
  263. data/docs/EmailMessage.md +1 -1
  264. data/docs/EmailMessageSender.md +24 -0
  265. data/docs/EmailPostMessage.md +1 -1
  266. data/docs/FileMessage.md +1 -1
  267. data/docs/FileMessageFileEntity.md +22 -0
  268. data/docs/FileSharingMessage.md +12 -12
  269. data/docs/FileSharingMessageAccount.md +26 -0
  270. data/docs/FileSharingMessageAssociation.md +20 -0
  271. data/docs/FileSharingMessageAssociationOwner.md +18 -0
  272. data/docs/FileSharingMessageAssociationUnit.md +20 -0
  273. data/docs/FileSharingMessageCommittee.md +22 -0
  274. data/docs/FileSharingMessageLease.md +20 -0
  275. data/docs/FileSharingMessageOwnershipAccount.md +20 -0
  276. data/docs/FileSharingMessageRental.md +20 -0
  277. data/docs/FileSharingMessageRentalOwner.md +18 -0
  278. data/docs/FileSharingMessageRentalUnit.md +20 -0
  279. data/docs/FileSharingMessageTenant.md +20 -0
  280. data/docs/FileSharingMessageVendor.md +18 -0
  281. data/docs/FileSharingPutMessage.md +12 -12
  282. data/docs/FileSharingPutMessageAccount.md +26 -0
  283. data/docs/FileSharingPutMessageAssociation.md +20 -0
  284. data/docs/FileSharingPutMessageAssociationOwner.md +18 -0
  285. data/docs/FileSharingPutMessageAssociationUnit.md +20 -0
  286. data/docs/FileSharingPutMessageCommittee.md +22 -0
  287. data/docs/FileSharingPutMessageLease.md +20 -0
  288. data/docs/FileSharingPutMessageOwnershipAccount.md +20 -0
  289. data/docs/FileSharingPutMessageRental.md +20 -0
  290. data/docs/FileSharingPutMessageRentalOwner.md +18 -0
  291. data/docs/FileSharingPutMessageRentalUnit.md +20 -0
  292. data/docs/FileSharingPutMessageTenant.md +20 -0
  293. data/docs/FileSharingPutMessageVendor.md +18 -0
  294. data/docs/FilesApi.md +41 -41
  295. data/docs/GLAccountBalanceItemMessage.md +1 -1
  296. data/docs/GLAccountBalanceItemMessageAccountingEntity.md +24 -0
  297. data/docs/GLAccountBalanceMessage.md +1 -1
  298. data/docs/GLAccountBalanceMessageGLAccount.md +46 -0
  299. data/docs/GeneralJournalEntryPostMessage.md +1 -1
  300. data/docs/GeneralJournalEntryPostMessageAccountingEntity.md +22 -0
  301. data/docs/GeneralJournalEntryPutMessage.md +1 -1
  302. data/docs/GeneralLedgerApi.md +42 -34
  303. data/docs/GeneralLedgerEntryMessage.md +1 -1
  304. data/docs/GeneralLedgerEntryMessageAccountingEntity.md +24 -0
  305. data/docs/GeneralLedgerJournalLineMessage.md +2 -2
  306. data/docs/GeneralLedgerJournalLineMessageAccountingEntity.md +24 -0
  307. data/docs/GeneralLedgerJournalLineMessageGLAccount.md +46 -0
  308. data/docs/GeneralLedgerTransactionMessage.md +7 -5
  309. data/docs/GeneralLedgerTransactionMessageDepositDetails.md +20 -0
  310. data/docs/GeneralLedgerTransactionMessageJournal.md +20 -0
  311. data/docs/GeneralLedgerTransactionMessagePaymentDetail.md +24 -0
  312. data/docs/GeneralLedgerTransactionMessageUnitAgreement.md +22 -0
  313. data/docs/JavaScriptEncoder.md +18 -0
  314. data/docs/JournalLineMessage.md +1 -1
  315. data/docs/LeaseChargeLineMessage.md +20 -0
  316. data/docs/LeaseChargeMessage.md +28 -0
  317. data/docs/LeaseChargePostMessage.md +2 -0
  318. data/docs/LeaseCosignerPostMessage.md +3 -3
  319. data/docs/LeaseCosignerPostMessageAddress.md +30 -0
  320. data/docs/LeaseCosignerPostMessageAlternateAddress.md +30 -0
  321. data/docs/LeaseCosignerPostMessagePhoneNumbers.md +24 -0
  322. data/docs/LeaseLedgerDepositWithholdingLinePutMessage.md +20 -0
  323. data/docs/LeaseLedgerDepositWithholdingPutMessage.md +24 -0
  324. data/docs/LeaseLedgerRefundMessage.md +1 -1
  325. data/docs/LeaseLedgerRefundMessageAddress.md +30 -0
  326. data/docs/LeaseLedgerRefundPostMessage.md +1 -1
  327. data/docs/LeaseLedgerRefundPostMessageAddress.md +30 -0
  328. data/docs/LeaseLedgerReversePaymentPostMessage.md +2 -2
  329. data/docs/LeaseLedgerReversePaymentPostMessageBankFee.md +20 -0
  330. data/docs/LeaseLedgerReversePaymentPostMessageNSFCharge.md +20 -0
  331. data/docs/LeaseMessage.md +1 -1
  332. data/docs/LeaseMessageAccountDetails.md +20 -0
  333. data/docs/LeasePostMessage.md +2 -2
  334. data/docs/LeasePostMessageRent.md +20 -0
  335. data/docs/LeasePostMessageSecurityDeposit.md +20 -0
  336. data/docs/LeaseRecurringPaymentMessage.md +1 -1
  337. data/docs/LeaseRecurringPaymentMessagePayer.md +24 -0
  338. data/docs/LeaseRenewalPostMessage.md +1 -1
  339. data/docs/LeaseRenewalPostMessageRent.md +20 -0
  340. data/docs/LeaseTransactionMessage.md +1 -1
  341. data/docs/LeaseTransactionMessageJournal.md +20 -0
  342. data/docs/LeaseTransactionsApi.md +343 -92
  343. data/docs/LeasesApi.md +380 -64
  344. data/docs/ListingMessage.md +3 -3
  345. data/docs/ListingMessageContact.md +26 -0
  346. data/docs/ListingMessageProperty.md +34 -0
  347. data/docs/ListingMessageUnit.md +36 -0
  348. data/docs/ListingPropertyMessage.md +1 -1
  349. data/docs/ListingPropertyMessageAddress.md +30 -0
  350. data/docs/ListingUnitMessage.md +1 -1
  351. data/docs/ListingUnitMessageAddress.md +30 -0
  352. data/docs/ListingsApi.md +26 -26
  353. data/docs/LockPeriodSettingsOverridesMessage.md +1 -1
  354. data/docs/LockPeriodSettingsOverridesMessageProperty.md +22 -0
  355. data/docs/NoteMessage.md +1 -1
  356. data/docs/NoteMessageLastUpdatedByUser.md +26 -0
  357. data/docs/OwnershipAccountDepositWithholdingLinePutMessage.md +20 -0
  358. data/docs/OwnershipAccountDepositWithholdingPostMessage.md +2 -2
  359. data/docs/OwnershipAccountDepositWithholdingPutMessage.md +24 -0
  360. data/docs/OwnershipAccountLedgerChargeLineMessage.md +20 -0
  361. data/docs/OwnershipAccountLedgerChargeMessage.md +28 -0
  362. data/docs/OwnershipAccountLedgerChargePostMessage.md +2 -0
  363. data/docs/OwnershipAccountRecurringPaymentMessage.md +1 -1
  364. data/docs/OwnershipAccountRefundMessage.md +1 -1
  365. data/docs/OwnershipAccountRefundPostMessage.md +1 -1
  366. data/docs/OwnershipAccountTransactionMessage.md +1 -1
  367. data/docs/OwnershipAccountTransactionsApi.md +336 -85
  368. data/docs/OwnershipAccountsApi.md +188 -32
  369. data/docs/PaidByMessage.md +1 -1
  370. data/docs/PartialPaymentSettingsMessage.md +18 -0
  371. data/docs/PartialPaymentSettingsPatchMessage.md +18 -0
  372. data/docs/ParticipantMessage.md +1 -1
  373. data/docs/ParticipantMessageUnitAgreement.md +22 -0
  374. data/docs/PatchBillRequest.md +28 -0
  375. data/docs/PatchGlobalPartialPaymentSettingsRequest.md +18 -0
  376. data/docs/PaymentDetailMessage.md +2 -2
  377. data/docs/PaymentDetailMessageInternalTransactionStatus.md +22 -0
  378. data/docs/PaymentDetailMessagePayee.md +24 -0
  379. data/docs/PaymentTransactionsMessage.md +1 -1
  380. data/docs/PaymentTransactionsMessageAccountingEntity.md +24 -0
  381. data/docs/PhoneLogMessage.md +2 -2
  382. data/docs/PhoneLogMessageLoggedByStaffUser.md +24 -0
  383. data/docs/PhoneLogMessageParticipant.md +22 -0
  384. data/docs/PhoneLogParticipantPostMessage.md +1 -1
  385. data/docs/PhoneLogParticipantPostMessageUnitAgreement.md +20 -0
  386. data/docs/PhoneLogPostMessage.md +1 -1
  387. data/docs/PhoneLogPostMessageParticipant.md +22 -0
  388. data/docs/PropertyGroupMessage.md +1 -1
  389. data/docs/PropertyGroupMessageCreatedByUser.md +24 -0
  390. data/docs/PropertyGroupsApi.md +16 -16
  391. data/docs/RecurringTransactionMessage.md +2 -0
  392. data/docs/RentScheduleChargePostMessage.md +26 -0
  393. data/docs/RentScheduleChargePutMessage.md +26 -0
  394. data/docs/RentSchedulePostMessage.md +24 -0
  395. data/docs/RentSchedulePutMessage.md +22 -0
  396. data/docs/RentalAppliancesApi.md +26 -26
  397. data/docs/RentalMessage.md +2 -2
  398. data/docs/RentalMessageRentalManager.md +32 -0
  399. data/docs/RentalMeterReadingsApi.md +10 -10
  400. data/docs/RentalOwnerContributionDataMessage.md +1 -1
  401. data/docs/RentalOwnerContributionDataMessageReminderSettings.md +20 -0
  402. data/docs/RentalOwnerContributionDataPutMessage.md +1 -1
  403. data/docs/RentalOwnerContributionDataPutMessageReminderSettings.md +20 -0
  404. data/docs/RentalOwnerMessage.md +2 -2
  405. data/docs/RentalOwnerMessageAddress.md +30 -0
  406. data/docs/RentalOwnerMessageTaxInformation.md +28 -0
  407. data/docs/RentalOwnerPostMessage.md +3 -3
  408. data/docs/RentalOwnerPostMessageAddress.md +30 -0
  409. data/docs/RentalOwnerPostMessagePhoneNumbers.md +24 -0
  410. data/docs/RentalOwnerPostMessageTaxInformation.md +26 -0
  411. data/docs/RentalOwnerPutMessage.md +2 -2
  412. data/docs/RentalOwnerRequestTaskMessage.md +3 -3
  413. data/docs/RentalOwnerRequestTaskMessageRequestedByUserEntity.md +28 -0
  414. data/docs/RentalOwnerRequestsApi.md +25 -31
  415. data/docs/RentalOwnerTaxInformationMessage.md +1 -1
  416. data/docs/RentalOwnersApi.md +32 -32
  417. data/docs/RentalPropertiesApi.md +412 -90
  418. data/docs/RentalPropertyPostMessage.md +1 -1
  419. data/docs/RentalPropertyPostMessageAddress.md +30 -0
  420. data/docs/RentalPropertyPutMessage.md +1 -1
  421. data/docs/RentalPropertyPutMessageAddress.md +30 -0
  422. data/docs/RentalPropertyUnitPostMessage.md +1 -1
  423. data/docs/RentalPropertyUnitPostMessageAddress.md +30 -0
  424. data/docs/RentalTenantPostMessage.md +4 -4
  425. data/docs/RentalTenantPutMessage.md +4 -4
  426. data/docs/RentalTenantRenewalPostMessage.md +4 -4
  427. data/docs/RentalTenantsApi.md +34 -32
  428. data/docs/RentalUnitMessage.md +1 -1
  429. data/docs/RentalUnitPutMessage.md +1 -1
  430. data/docs/RentalUnitsApi.md +56 -378
  431. data/docs/RentalUnitsPostMessage.md +1 -1
  432. data/docs/ReorderRentalImagesRequest.md +18 -0
  433. data/docs/ResidentCenterApi.md +10 -10
  434. data/docs/ResidentCenterUserMessage.md +2 -2
  435. data/docs/ResidentCenterUserMessageUnitAgreement.md +22 -0
  436. data/docs/ResidentCenterUserMessageUser.md +26 -0
  437. data/docs/ResidentRequestTaskMessage.md +5 -5
  438. data/docs/ResidentRequestTaskMessageAppliance.md +26 -0
  439. data/docs/ResidentRequestTaskMessageRequestedByUserEntity.md +28 -0
  440. data/docs/ResidentRequestTaskMessageUnitAgreement.md +22 -0
  441. data/docs/ResidentRequestTaskPostMessage.md +2 -2
  442. data/docs/ResidentRequestsApi.md +16 -16
  443. data/docs/RetailCashUserMessage.md +4 -4
  444. data/docs/RetailCashUserMessageProperty.md +24 -0
  445. data/docs/RetailCashUserMessageUnit.md +22 -0
  446. data/docs/RetailCashUserMessageUnitAgreement.md +22 -0
  447. data/docs/RetailCashUserMessageUser.md +30 -0
  448. data/docs/TaskCategoryResponseMessage.md +1 -1
  449. data/docs/TaskCategoryResponseMessageSubCategory.md +20 -0
  450. data/docs/TaskHistoryMessage.md +2 -2
  451. data/docs/TaskHistoryMessageCreatedByUser.md +26 -0
  452. data/docs/TaskHistoryMessageLastUpdatedByUser.md +26 -0
  453. data/docs/TaskHistoryUserMessage.md +3 -1
  454. data/docs/TasksApi.md +38 -38
  455. data/docs/TaxInformationPostMessage.md +1 -1
  456. data/docs/TaxInformationPostMessageAddress.md +30 -0
  457. data/docs/TaxInformationSaveMessage.md +1 -1
  458. data/docs/TenantMessage.md +3 -3
  459. data/docs/TenantMessageAddress.md +30 -0
  460. data/docs/TenantMessageAlternateAddress.md +30 -0
  461. data/docs/TenantMessageEmergencyContact.md +24 -0
  462. data/docs/ToDoRequestsApi.md +16 -16
  463. data/docs/ToDoTaskMessage.md +2 -2
  464. data/docs/UnclearTransactionsRequest.md +18 -0
  465. data/docs/UndepositedFundsMessage.md +1 -1
  466. data/docs/UndepositedFundsMessageGeneralLedgerTransaction.md +26 -0
  467. data/docs/UpdateApplicantGroupRequest.md +22 -0
  468. data/docs/UpdateApplicantRequest.md +26 -0
  469. data/docs/UpdateApplicationRequest.md +18 -0
  470. data/docs/UpdateAssociationApplianceRequest.md +28 -0
  471. data/docs/UpdateAssociationOwnerOccupancyStatusRequest.md +18 -0
  472. data/docs/UpdateAssociationOwnerRequest.md +38 -0
  473. data/docs/UpdateAssociationOwnershipAccountRequest.md +18 -0
  474. data/docs/UpdateAssociationPreferredVendorsRequest.md +18 -0
  475. data/docs/UpdateAssociationRequest.md +34 -0
  476. data/docs/UpdateAssociationTenantRequest.md +38 -0
  477. data/docs/UpdateAssociationUnitRequest.md +26 -0
  478. data/docs/UpdateBankAccountDepositRequest.md +22 -0
  479. data/docs/UpdateBankAccountRequest.md +30 -0
  480. data/docs/UpdateBillRequest.md +28 -0
  481. data/docs/UpdateBoardMemberRequest.md +22 -0
  482. data/docs/UpdateBudgetRequest.md +20 -0
  483. data/docs/UpdateCheckForBankAccountRequest.md +26 -0
  484. data/docs/UpdateContactRequestTaskRequest.md +38 -0
  485. data/docs/UpdateDepositWithholdingRequest.md +24 -0
  486. data/docs/UpdateEPaySettingsForAssociationRequest.md +22 -0
  487. data/docs/UpdateFileCategoryRequest.md +18 -0
  488. data/docs/UpdateFileRequest.md +22 -0
  489. data/docs/UpdateFileSharingSettingRequest.md +40 -0
  490. data/docs/UpdateGLAccountRequest.md +32 -0
  491. data/docs/UpdateGeneralJournalEntryRequest.md +24 -0
  492. data/docs/UpdateLeaseChargeRequest.md +22 -0
  493. data/docs/UpdateLeaseLedgerPaymentRequest.md +28 -0
  494. data/docs/UpdateLeaseNoteRequest.md +18 -0
  495. data/docs/UpdateLeaseRequest.md +28 -0
  496. data/docs/UpdateOwnershipAccountChargeRequest.md +22 -0
  497. data/docs/UpdateOwnershipAccountDepositWithholdingRequest.md +24 -0
  498. data/docs/UpdateOwnershipAccountLedgerPaymentRequest.md +28 -0
  499. data/docs/UpdatePhoneLogRequest.md +22 -0
  500. data/docs/UpdatePropertyGroupRequest.md +22 -0
  501. data/docs/UpdateReconciliationBalancesRequest.md +22 -0
  502. data/docs/UpdateReconciliationRequest.md +18 -0
  503. data/docs/UpdateRentScheduleRequest.md +22 -0
  504. data/docs/UpdateRentalApplianceRequest.md +28 -0
  505. data/docs/UpdateRentalFeaturesRequest.md +20 -0
  506. data/docs/UpdateRentalImageRequest.md +20 -0
  507. data/docs/UpdateRentalOwnerRequest.md +42 -0
  508. data/docs/UpdateRentalOwnerRequestTaskContributionDataRequest.md +20 -0
  509. data/docs/UpdateRentalOwnerRequestTaskRequest.md +36 -0
  510. data/docs/UpdateRentalPreferredVendorsRequest.md +18 -0
  511. data/docs/UpdateRentalPropertyRequest.md +32 -0
  512. data/docs/UpdateRentalTenantRequest.md +40 -0
  513. data/docs/UpdateRentalUnitFeaturesRequest.md +18 -0
  514. data/docs/UpdateRentalUnitImageRequest.md +20 -0
  515. data/docs/UpdateRentalUnitRequest.md +30 -0
  516. data/docs/UpdateResourceRequest.md +32 -0
  517. data/docs/UpdateRetailCashUserRequest.md +18 -0
  518. data/docs/UpdateTaskCategoryRequest.md +18 -0
  519. data/docs/UpdateTaskHistoryRequest.md +18 -0
  520. data/docs/UpdateToDoTaskRequest.md +36 -0
  521. data/docs/UpdateVendorRequest.md +46 -0
  522. data/docs/UpdateWorkOrderRequest.md +36 -0
  523. data/docs/UploadTaskHistoryFileRequestAsyncRequest.md +18 -0
  524. data/docs/UpsertAssociationMeterReadingDetailsAsyncRequest.md +22 -0
  525. data/docs/UpsertListingsAsyncRequest.md +28 -0
  526. data/docs/UserMessage.md +1 -1
  527. data/docs/UserMessageUserRole.md +24 -0
  528. data/docs/VendorCreditLineItemMessage.md +1 -1
  529. data/docs/VendorCreditLineItemMessageAccountingEntity.md +24 -0
  530. data/docs/VendorCreditLineItemPostMessage.md +1 -1
  531. data/docs/VendorCreditLineItemPostMessageAccountingEntity.md +22 -0
  532. data/docs/VendorMessage.md +4 -4
  533. data/docs/VendorMessageAddress.md +30 -0
  534. data/docs/VendorMessageCategory.md +20 -0
  535. data/docs/VendorMessageTaxInformation.md +28 -0
  536. data/docs/VendorMessageVendorInsurance.md +22 -0
  537. data/docs/VendorPostMessage.md +4 -4
  538. data/docs/VendorPostMessageAddress.md +30 -0
  539. data/docs/VendorPostMessagePhoneNumbers.md +24 -0
  540. data/docs/VendorPostMessageTaxInformation.md +26 -0
  541. data/docs/VendorPostMessageVendorInsurance.md +22 -0
  542. data/docs/VendorPutMessage.md +4 -4
  543. data/docs/VendorPutMessageTaxInformation.md +28 -0
  544. data/docs/VendorRefundLineMessage.md +1 -1
  545. data/docs/VendorRefundLineMessageAccountingEntity.md +24 -0
  546. data/docs/VendorRefundLinePostMessage.md +1 -1
  547. data/docs/VendorRefundLinePostMessageAccountingEntity.md +22 -0
  548. data/docs/VendorTaxInformationMessage.md +1 -1
  549. data/docs/VendorsApi.md +76 -76
  550. data/docs/WorkOrderMessage.md +13 -3
  551. data/docs/WorkOrderMessageEntryContact.md +20 -0
  552. data/docs/WorkOrderMessageTask.md +32 -0
  553. data/docs/WorkOrderPostMessage.md +4 -2
  554. data/docs/WorkOrderPostMessageTask.md +30 -0
  555. data/docs/WorkOrderPutMessage.md +3 -1
  556. data/docs/WorkOrderTaskMessage.md +1 -1
  557. data/docs/WorkOrdersApi.md +16 -16
  558. data/git_push.sh +57 -0
  559. data/lib/buildium-ruby/api/administration_api.rb +137 -12
  560. data/lib/buildium-ruby/api/appliances_api.rb +46 -46
  561. data/lib/buildium-ruby/api/applicants_api.rb +124 -118
  562. data/lib/buildium-ruby/api/architectural_requests_api.rb +547 -0
  563. data/lib/buildium-ruby/api/association_meter_readings_api.rb +18 -18
  564. data/lib/buildium-ruby/api/association_owners_api.rb +72 -72
  565. data/lib/buildium-ruby/api/association_tenants_api.rb +56 -56
  566. data/lib/buildium-ruby/api/association_units_api.rb +56 -56
  567. data/lib/buildium-ruby/api/associations_api.rb +90 -90
  568. data/lib/buildium-ruby/api/bank_accounts_api.rb +981 -230
  569. data/lib/buildium-ruby/api/bills_api.rb +174 -100
  570. data/lib/buildium-ruby/api/board_members_api.rb +30 -30
  571. data/lib/buildium-ruby/api/budgets_api.rb +31 -31
  572. data/lib/buildium-ruby/api/client_leads_api.rb +4 -4
  573. data/lib/buildium-ruby/api/communications_api.rb +70 -70
  574. data/lib/buildium-ruby/api/contact_requests_api.rb +28 -28
  575. data/lib/buildium-ruby/api/files_api.rb +72 -72
  576. data/lib/buildium-ruby/api/general_ledger_api.rb +72 -60
  577. data/lib/buildium-ruby/api/lease_transactions_api.rb +390 -160
  578. data/lib/buildium-ruby/api/leases_api.rb +405 -114
  579. data/lib/buildium-ruby/api/listings_api.rb +46 -46
  580. data/lib/buildium-ruby/api/ownership_account_transactions_api.rb +378 -148
  581. data/lib/buildium-ruby/api/ownership_accounts_api.rb +193 -56
  582. data/lib/buildium-ruby/api/property_groups_api.rb +28 -28
  583. data/lib/buildium-ruby/api/rental_appliances_api.rb +46 -46
  584. data/lib/buildium-ruby/api/rental_meter_readings_api.rb +18 -18
  585. data/lib/buildium-ruby/api/rental_owner_requests_api.rb +42 -51
  586. data/lib/buildium-ruby/api/rental_owners_api.rb +56 -56
  587. data/lib/buildium-ruby/api/rental_properties_api.rb +438 -158
  588. data/lib/buildium-ruby/api/rental_tenants_api.rb +59 -56
  589. data/lib/buildium-ruby/api/rental_units_api.rb +98 -378
  590. data/lib/buildium-ruby/api/resident_center_api.rb +18 -18
  591. data/lib/buildium-ruby/api/resident_requests_api.rb +28 -28
  592. data/lib/buildium-ruby/api/tasks_api.rb +68 -68
  593. data/lib/buildium-ruby/api/to_do_requests_api.rb +28 -28
  594. data/lib/buildium-ruby/api/vendors_api.rb +127 -127
  595. data/lib/buildium-ruby/api/work_orders_api.rb +28 -28
  596. data/lib/buildium-ruby/api_client.rb +3 -3
  597. data/lib/buildium-ruby/configuration.rb +2 -1
  598. data/lib/buildium-ruby/models/account_info_message.rb +4 -3
  599. data/lib/buildium-ruby/models/{gl_account_balance_search_message.rb → account_info_message_accounting_settings.rb} +75 -69
  600. data/lib/buildium-ruby/models/account_info_message_contact.rb +256 -0
  601. data/lib/buildium-ruby/models/accounting_entity_message.rb +3 -2
  602. data/lib/buildium-ruby/models/accounting_entity_message_unit.rb +237 -0
  603. data/lib/buildium-ruby/models/accounting_entity_patch_message.rb +273 -0
  604. data/lib/buildium-ruby/models/accounting_entity_save_message.rb +2 -1
  605. data/lib/buildium-ruby/models/accounting_lock_period_message.rb +3 -2
  606. data/lib/buildium-ruby/models/{association_appliance_search_message.rb → accounting_lock_period_message_global.rb} +21 -26
  607. data/lib/buildium-ruby/models/accounting_settings_message.rb +2 -1
  608. data/lib/buildium-ruby/models/address_message.rb +4 -3
  609. data/lib/buildium-ruby/models/all_tasks_message.rb +6 -5
  610. data/lib/buildium-ruby/models/all_tasks_message_category.rb +256 -0
  611. data/lib/buildium-ruby/models/all_tasks_message_property.rb +281 -0
  612. data/lib/buildium-ruby/models/all_tasks_message_requested_by_user_entity.rb +311 -0
  613. data/lib/buildium-ruby/models/all_tasks_message_unit_agreement.rb +281 -0
  614. data/lib/buildium-ruby/models/announcement_message.rb +3 -2
  615. data/lib/buildium-ruby/models/announcement_message_sender.rb +247 -0
  616. data/lib/buildium-ruby/models/announcement_post_message.rb +40 -1
  617. data/lib/buildium-ruby/models/announcement_sender_message.rb +2 -1
  618. data/lib/buildium-ruby/models/api_error_response.rb +2 -1
  619. data/lib/buildium-ruby/models/appliance_message.rb +2 -1
  620. data/lib/buildium-ruby/models/applicant_application_message.rb +4 -3
  621. data/lib/buildium-ruby/models/applicant_group_message.rb +4 -3
  622. data/lib/buildium-ruby/models/applicant_group_post_message.rb +2 -1
  623. data/lib/buildium-ruby/models/applicant_group_put_message.rb +2 -1
  624. data/lib/buildium-ruby/models/applicant_message.rb +18 -7
  625. data/lib/buildium-ruby/models/applicant_post_message.rb +41 -2
  626. data/lib/buildium-ruby/models/applicant_post_message_phone_numbers.rb +257 -0
  627. data/lib/buildium-ruby/models/applicant_put_message.rb +41 -2
  628. data/lib/buildium-ruby/models/applicant_put_message_phone_numbers.rb +257 -0
  629. data/lib/buildium-ruby/models/application_message.rb +4 -3
  630. data/lib/buildium-ruby/models/application_put_message.rb +2 -1
  631. data/lib/buildium-ruby/models/application_response_field_message.rb +2 -1
  632. data/lib/buildium-ruby/models/application_response_message.rb +2 -1
  633. data/lib/buildium-ruby/models/application_section_response_message.rb +2 -1
  634. data/lib/buildium-ruby/models/applied_vendor_credit_message.rb +2 -1
  635. data/lib/buildium-ruby/models/{vendor_search_message.rb → architectural_requests_post_message.rb} +91 -71
  636. data/lib/buildium-ruby/models/association_appliance_message.rb +2 -1
  637. data/lib/buildium-ruby/models/association_appliance_post_message.rb +21 -1
  638. data/lib/buildium-ruby/models/association_appliance_put_message.rb +21 -1
  639. data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +2 -1
  640. data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +2 -1
  641. data/lib/buildium-ruby/models/association_architectural_request_file_message.rb +269 -0
  642. data/lib/buildium-ruby/models/association_architectural_request_message.rb +363 -0
  643. data/lib/buildium-ruby/models/association_architectural_request_message_created_by_user.rb +257 -0
  644. data/lib/buildium-ruby/models/association_architectural_request_message_last_updated_by_user.rb +267 -0
  645. data/lib/buildium-ruby/models/association_board_member_message.rb +2 -1
  646. data/lib/buildium-ruby/models/association_board_member_post_message.rb +2 -1
  647. data/lib/buildium-ruby/models/association_board_member_put_message.rb +2 -1
  648. data/lib/buildium-ruby/models/association_message.rb +5 -4
  649. data/lib/buildium-ruby/models/association_message_address.rb +321 -0
  650. data/lib/buildium-ruby/models/association_message_association_manager.rb +299 -0
  651. data/lib/buildium-ruby/models/association_message_tax_information.rb +300 -0
  652. data/lib/buildium-ruby/models/association_owner_board_term_message.rb +2 -1
  653. data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +2 -1
  654. data/lib/buildium-ruby/models/association_owner_message.rb +5 -4
  655. data/lib/buildium-ruby/models/association_owner_message_alternate_address.rb +321 -0
  656. data/lib/buildium-ruby/models/{rental_unit_search_message.rb → association_owner_message_emergency_contact.rb} +45 -28
  657. data/lib/buildium-ruby/models/association_owner_message_primary_address.rb +321 -0
  658. data/lib/buildium-ruby/models/association_owner_post_message.rb +45 -6
  659. data/lib/buildium-ruby/models/association_owner_post_message_alternate_address.rb +350 -0
  660. data/lib/buildium-ruby/models/association_owner_post_message_board_member_term.rb +286 -0
  661. data/lib/buildium-ruby/models/association_owner_post_message_emergency_contact.rb +257 -0
  662. data/lib/buildium-ruby/models/association_owner_post_message_phone_numbers.rb +257 -0
  663. data/lib/buildium-ruby/models/association_owner_post_message_primary_address.rb +350 -0
  664. data/lib/buildium-ruby/models/association_owner_put_message.rb +44 -5
  665. data/lib/buildium-ruby/models/association_owner_put_message_phone_numbers.rb +257 -0
  666. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +45 -6
  667. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_emergency_contact.rb +257 -0
  668. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_phone_numbers.rb +257 -0
  669. data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +2 -1
  670. data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +2 -1
  671. data/lib/buildium-ruby/models/association_ownership_account_message.rb +2 -1
  672. data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +2 -1
  673. data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +2 -1
  674. data/lib/buildium-ruby/models/association_post_message.rb +23 -3
  675. data/lib/buildium-ruby/models/association_post_message_address.rb +350 -0
  676. data/lib/buildium-ruby/models/association_post_message_tax_information.rb +300 -0
  677. data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +2 -1
  678. data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +2 -1
  679. data/lib/buildium-ruby/models/association_put_message.rb +22 -2
  680. data/lib/buildium-ruby/models/association_tax_information_message.rb +3 -2
  681. data/lib/buildium-ruby/models/association_tax_information_message_address.rb +321 -0
  682. data/lib/buildium-ruby/models/association_tenant_message.rb +5 -4
  683. data/lib/buildium-ruby/models/association_tenant_post_message.rb +44 -5
  684. data/lib/buildium-ruby/models/association_tenant_post_message_alternate_address.rb +350 -0
  685. data/lib/buildium-ruby/models/association_tenant_post_message_emergency_contact.rb +257 -0
  686. data/lib/buildium-ruby/models/association_tenant_post_message_phone_numbers.rb +257 -0
  687. data/lib/buildium-ruby/models/association_tenant_post_message_primary_address.rb +350 -0
  688. data/lib/buildium-ruby/models/association_tenant_put_message.rb +44 -5
  689. data/lib/buildium-ruby/models/{association_unit_search_message.rb → association_tenant_put_message_phone_numbers.rb} +45 -29
  690. data/lib/buildium-ruby/models/association_unit_message.rb +3 -2
  691. data/lib/buildium-ruby/models/association_unit_message_address.rb +321 -0
  692. data/lib/buildium-ruby/models/association_unit_put_message.rb +22 -2
  693. data/lib/buildium-ruby/models/association_unit_put_message_address.rb +350 -0
  694. data/lib/buildium-ruby/models/association_units_post_message.rb +22 -2
  695. data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +2 -1
  696. data/lib/buildium-ruby/models/bank_account_check_file_message.rb +2 -1
  697. data/lib/buildium-ruby/models/bank_account_check_line_message.rb +3 -2
  698. data/lib/buildium-ruby/models/bank_account_check_line_message_accounting_entity.rb +290 -0
  699. data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +3 -2
  700. data/lib/buildium-ruby/models/bank_account_check_line_save_message_accounting_entity.rb +291 -0
  701. data/lib/buildium-ruby/models/bank_account_check_message.rb +3 -2
  702. data/lib/buildium-ruby/models/bank_account_check_message_payee.rb +281 -0
  703. data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +2 -1
  704. data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +2 -1
  705. data/lib/buildium-ruby/models/bank_account_check_post_message.rb +3 -2
  706. data/lib/buildium-ruby/models/bank_account_check_post_message_payee.rb +281 -0
  707. data/lib/buildium-ruby/models/bank_account_check_put_message.rb +3 -2
  708. data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +3 -2
  709. data/lib/buildium-ruby/models/bank_account_deposit_line_message_accounting_entity.rb +290 -0
  710. data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +3 -2
  711. data/lib/buildium-ruby/models/bank_account_deposit_line_save_message_accounting_entity.rb +291 -0
  712. data/lib/buildium-ruby/models/bank_account_deposit_message.rb +2 -1
  713. data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +2 -1
  714. data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +2 -1
  715. data/lib/buildium-ruby/models/bank_account_message.rb +7 -6
  716. data/lib/buildium-ruby/models/bank_account_message_check_printing_info.rb +401 -0
  717. data/lib/buildium-ruby/models/bank_account_message_electronic_payments.rb +297 -0
  718. data/lib/buildium-ruby/models/{work_order_search_message.rb → bank_account_message_gl_account.rb} +143 -168
  719. data/lib/buildium-ruby/models/bank_account_post_message.rb +24 -4
  720. data/lib/buildium-ruby/models/bank_account_post_message_check_printing_info.rb +401 -0
  721. data/lib/buildium-ruby/models/bank_account_put_message.rb +24 -4
  722. data/lib/buildium-ruby/models/bank_account_put_message_check_printing_info.rb +416 -0
  723. data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +3 -2
  724. data/lib/buildium-ruby/models/bank_account_quick_deposit_message_accounting_entity.rb +290 -0
  725. data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +3 -2
  726. data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message_accounting_entity.rb +291 -0
  727. data/lib/buildium-ruby/models/{bank_account_withdrawal_search_message.rb → bank_account_reconciliation_balance_message.rb} +28 -29
  728. data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_cleared_balance.rb +257 -0
  729. data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_statement_balance.rb +257 -0
  730. data/lib/buildium-ruby/models/bank_account_reconciliation_balance_put_message.rb +254 -0
  731. data/lib/buildium-ruby/models/{cancellation_token.rb → bank_account_reconciliation_message.rb} +27 -23
  732. data/lib/buildium-ruby/models/bank_account_reconciliation_transaction_message.rb +357 -0
  733. data/lib/buildium-ruby/models/bank_account_transaction_message.rb +2 -1
  734. data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +2 -1
  735. data/lib/buildium-ruby/models/bank_account_transfer_message.rb +3 -2
  736. data/lib/buildium-ruby/models/bank_account_transfer_message_accounting_entity.rb +290 -0
  737. data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +3 -2
  738. data/lib/buildium-ruby/models/bank_account_transfer_save_message_accounting_entity.rb +291 -0
  739. data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +3 -2
  740. data/lib/buildium-ruby/models/bank_account_withdrawal_message_accounting_entity.rb +290 -0
  741. data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +3 -2
  742. data/lib/buildium-ruby/models/bank_account_withdrawal_save_message_accounting_entity.rb +291 -0
  743. data/lib/buildium-ruby/models/bank_lockbox_data_association_message.rb +2 -1
  744. data/lib/buildium-ruby/models/bank_lockbox_data_association_owner_message.rb +46 -5
  745. data/lib/buildium-ruby/models/bank_lockbox_data_message.rb +3 -2
  746. data/lib/buildium-ruby/models/bank_lockbox_data_message_association.rb +247 -0
  747. data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message.rb +3 -2
  748. data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message_unit_address.rb +321 -0
  749. data/lib/buildium-ruby/models/bank_pending_reconciliation_post_message.rb +259 -0
  750. data/lib/buildium-ruby/models/bank_reconciliation_clear_transactions_post_message.rb +226 -0
  751. data/lib/buildium-ruby/models/bank_reconciliation_cleared_balance_message.rb +249 -0
  752. data/lib/buildium-ruby/models/bank_reconciliation_put_message.rb +224 -0
  753. data/lib/buildium-ruby/models/bank_reconciliation_statement_balance_message.rb +249 -0
  754. data/lib/buildium-ruby/models/bank_reconciliation_unclear_transactions_post_message.rb +226 -0
  755. data/lib/buildium-ruby/models/bill_file_message.rb +2 -1
  756. data/lib/buildium-ruby/models/bill_line_item_patch_message.rb +267 -0
  757. data/lib/buildium-ruby/models/bill_line_item_patch_message_accounting_entity.rb +281 -0
  758. data/lib/buildium-ruby/models/{meter_reading_details_put_search_message.rb → bill_line_item_patch_message_markup.rb} +36 -27
  759. data/lib/buildium-ruby/models/bill_line_message.rb +5 -4
  760. data/lib/buildium-ruby/models/{bank_account_search_message.rb → bill_line_message_accounting_entity.rb} +52 -37
  761. data/lib/buildium-ruby/models/bill_line_message_gl_account.rb +427 -0
  762. data/lib/buildium-ruby/models/bill_line_message_markup.rb +271 -0
  763. data/lib/buildium-ruby/models/bill_line_post_message.rb +4 -3
  764. data/lib/buildium-ruby/models/bill_line_post_message_accounting_entity.rb +291 -0
  765. data/lib/buildium-ruby/models/bill_line_post_message_markup.rb +281 -0
  766. data/lib/buildium-ruby/models/bill_line_put_message.rb +4 -3
  767. data/lib/buildium-ruby/models/bill_markup_message.rb +2 -1
  768. data/lib/buildium-ruby/models/bill_markup_patch_message.rb +263 -0
  769. data/lib/buildium-ruby/models/bill_markup_save_message.rb +2 -1
  770. data/lib/buildium-ruby/models/bill_message.rb +2 -1
  771. data/lib/buildium-ruby/models/bill_patch_message.rb +271 -0
  772. data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +2 -1
  773. data/lib/buildium-ruby/models/bill_payment_line_message.rb +3 -2
  774. data/lib/buildium-ruby/models/bill_payment_line_message_accounting_entity.rb +281 -0
  775. data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +2 -1
  776. data/lib/buildium-ruby/models/bill_payment_message.rb +2 -1
  777. data/lib/buildium-ruby/models/bill_payment_post_message.rb +2 -1
  778. data/lib/buildium-ruby/models/bill_post_message.rb +2 -1
  779. data/lib/buildium-ruby/models/bill_put_message.rb +2 -1
  780. data/lib/buildium-ruby/models/budget_details_message.rb +3 -2
  781. data/lib/buildium-ruby/models/budget_details_message_monthly_amounts.rb +337 -0
  782. data/lib/buildium-ruby/models/budget_details_save_message.rb +3 -2
  783. data/lib/buildium-ruby/models/budget_details_save_message_monthly_amounts.rb +397 -0
  784. data/lib/buildium-ruby/models/budget_message.rb +3 -2
  785. data/lib/buildium-ruby/models/budget_message_property.rb +281 -0
  786. data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +2 -1
  787. data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +2 -1
  788. data/lib/buildium-ruby/models/budget_post_message.rb +21 -1
  789. data/lib/buildium-ruby/models/budget_put_message.rb +21 -1
  790. data/lib/buildium-ruby/models/cc_payments_message.rb +2 -1
  791. data/lib/buildium-ruby/models/cc_payments_put_message.rb +2 -1
  792. data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +2 -1
  793. data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +2 -1
  794. data/lib/buildium-ruby/models/check_printing_info_message.rb +2 -1
  795. data/lib/buildium-ruby/models/check_printing_info_post_message.rb +2 -1
  796. data/lib/buildium-ruby/models/check_printing_info_put_message.rb +2 -1
  797. data/lib/buildium-ruby/models/clear_transactions_request.rb +233 -0
  798. data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +2 -1
  799. data/lib/buildium-ruby/models/client_lead_message.rb +4 -3
  800. data/lib/buildium-ruby/models/client_lead_message_address.rb +321 -0
  801. data/lib/buildium-ruby/models/client_lead_message_credit_request.rb +303 -0
  802. data/lib/buildium-ruby/models/contact_detail_message.rb +3 -2
  803. data/lib/buildium-ruby/models/contact_detail_message_phone_numbers.rb +247 -0
  804. data/lib/buildium-ruby/models/contact_detail_phone_message.rb +2 -1
  805. data/lib/buildium-ruby/models/contact_detail_save_message.rb +22 -2
  806. data/lib/buildium-ruby/models/contact_detail_save_message_phone_numbers.rb +247 -0
  807. data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +2 -1
  808. data/lib/buildium-ruby/models/contact_info_message.rb +3 -2
  809. data/lib/buildium-ruby/models/contact_info_message_address.rb +321 -0
  810. data/lib/buildium-ruby/models/contact_request_task_message.rb +5 -4
  811. data/lib/buildium-ruby/models/contact_request_task_message_category.rb +256 -0
  812. data/lib/buildium-ruby/models/contact_request_task_message_contact_detail.rb +256 -0
  813. data/lib/buildium-ruby/models/contact_request_task_message_property.rb +281 -0
  814. data/lib/buildium-ruby/models/contact_request_task_post_message.rb +22 -2
  815. data/lib/buildium-ruby/models/contact_request_task_post_message_contact_detail.rb +280 -0
  816. data/lib/buildium-ruby/models/contact_request_task_put_message.rb +22 -2
  817. data/lib/buildium-ruby/models/contact_request_task_put_message_contact_detail.rb +280 -0
  818. data/lib/buildium-ruby/models/cosigner_message.rb +4 -3
  819. data/lib/buildium-ruby/models/cosigner_message_address.rb +321 -0
  820. data/lib/buildium-ruby/models/cosigner_message_alternate_address.rb +321 -0
  821. data/lib/buildium-ruby/models/create_announcement_request.rb +341 -0
  822. data/lib/buildium-ruby/models/create_applicant_group_request.rb +243 -0
  823. data/lib/buildium-ruby/models/create_applicant_request.rb +329 -0
  824. data/lib/buildium-ruby/models/create_architectural_request_async_request.rb +361 -0
  825. data/lib/buildium-ruby/models/create_association_appliance_request.rb +325 -0
  826. data/lib/buildium-ruby/models/create_association_appliance_service_history_request.rb +290 -0
  827. data/lib/buildium-ruby/models/create_association_owner_request.rb +474 -0
  828. data/lib/buildium-ruby/models/create_association_ownership_account_request.rb +354 -0
  829. data/lib/buildium-ruby/models/create_association_request.rb +338 -0
  830. data/lib/buildium-ruby/models/create_association_tenant_request.rb +400 -0
  831. data/lib/buildium-ruby/models/{lease_outstanding_balance_search_message.rb → create_association_unit_request.rb} +99 -89
  832. data/lib/buildium-ruby/models/create_bank_account_check_request.rb +282 -0
  833. data/lib/buildium-ruby/models/create_bank_account_deposit_request.rb +265 -0
  834. data/lib/buildium-ruby/models/create_bank_account_request.rb +365 -0
  835. data/lib/buildium-ruby/models/create_bank_account_transfer_request.rb +285 -0
  836. data/lib/buildium-ruby/models/create_bill_payment_request.rb +283 -0
  837. data/lib/buildium-ruby/models/{vendor_transaction_search_message.rb → create_bill_request.rb} +80 -63
  838. data/lib/buildium-ruby/models/{bank_account_transaction_search_message.rb → create_board_member_request.rb} +44 -35
  839. data/lib/buildium-ruby/models/{association_user_search_message.rb → create_budget_async_request.rb} +96 -74
  840. data/lib/buildium-ruby/models/{task_search_message.rb → create_contact_request_task_request.rb} +143 -126
  841. data/lib/buildium-ruby/models/create_email_request.rb +334 -0
  842. data/lib/buildium-ruby/models/create_file_category_request.rb +251 -0
  843. data/lib/buildium-ruby/models/create_general_journal_entry_request.rb +272 -0
  844. data/lib/buildium-ruby/models/create_general_ledger_account_request.rb +395 -0
  845. data/lib/buildium-ruby/models/{applicant_search_message.rb → create_lease_auto_allocated_payment_request.rb} +90 -76
  846. data/lib/buildium-ruby/models/create_lease_credit_request.rb +317 -0
  847. data/lib/buildium-ruby/models/create_lease_ledger_charge_request.rb +259 -0
  848. data/lib/buildium-ruby/models/create_lease_ledger_deposit_withholding_request.rb +268 -0
  849. data/lib/buildium-ruby/models/{association_ownership_account_search_message.rb → create_lease_ledger_refund_request.rb} +88 -82
  850. data/lib/buildium-ruby/models/create_lease_note_request.rb +250 -0
  851. data/lib/buildium-ruby/models/create_lease_renewal_request.rb +386 -0
  852. data/lib/buildium-ruby/models/create_lease_request.rb +406 -0
  853. data/lib/buildium-ruby/models/create_lease_reverse_payment_request.rb +264 -0
  854. data/lib/buildium-ruby/models/create_listing_contact_request.rb +280 -0
  855. data/lib/buildium-ruby/models/create_move_out_data_request.rb +256 -0
  856. data/lib/buildium-ruby/models/create_multiple_bill_payments_request.rb +285 -0
  857. data/lib/buildium-ruby/models/create_ownership_account_auto_allocated_payment_request.rb +340 -0
  858. data/lib/buildium-ruby/models/create_ownership_account_credit_recurring_transaction_request.rb +396 -0
  859. data/lib/buildium-ruby/models/create_ownership_account_credit_request.rb +317 -0
  860. data/lib/buildium-ruby/models/create_ownership_account_deposit_withholding_request.rb +268 -0
  861. data/lib/buildium-ruby/models/create_ownership_account_ledger_charge_request.rb +268 -0
  862. data/lib/buildium-ruby/models/{bill_search_message.rb → create_ownership_account_ledger_payment_request.rb} +89 -82
  863. data/lib/buildium-ruby/models/create_ownership_account_recurring_payment_request.rb +386 -0
  864. data/lib/buildium-ruby/models/create_ownership_account_refund_request.rb +314 -0
  865. data/lib/buildium-ruby/models/create_ownership_accounts_charge_recurring_transaction_request.rb +367 -0
  866. data/lib/buildium-ruby/models/create_payment_request.rb +343 -0
  867. data/lib/buildium-ruby/models/create_pending_reconciliations_request.rb +266 -0
  868. data/lib/buildium-ruby/models/create_phone_log_request.rb +313 -0
  869. data/lib/buildium-ruby/models/create_property_group_request.rb +277 -0
  870. data/lib/buildium-ruby/models/create_quick_deposit_request.rb +285 -0
  871. data/lib/buildium-ruby/models/create_rent_schedule_request.rb +307 -0
  872. data/lib/buildium-ruby/models/create_rental_appliance_request.rb +325 -0
  873. data/lib/buildium-ruby/models/create_rental_appliance_service_history_request.rb +290 -0
  874. data/lib/buildium-ruby/models/create_rental_image_upload_file_request_async_request.rb +275 -0
  875. data/lib/buildium-ruby/models/create_rental_owner_request.rb +371 -0
  876. data/lib/buildium-ruby/models/create_rental_owner_request_task_request.rb +411 -0
  877. data/lib/buildium-ruby/models/create_rental_property_request.rb +392 -0
  878. data/lib/buildium-ruby/models/create_rental_tenant_request.rb +434 -0
  879. data/lib/buildium-ruby/models/{lease_search_message.rb → create_rental_unit_request.rb} +119 -103
  880. data/lib/buildium-ruby/models/create_resource_request.rb +456 -0
  881. data/lib/buildium-ruby/models/create_task_category_request.rb +251 -0
  882. data/lib/buildium-ruby/models/{resident_request_task_search_message.rb → create_to_do_task_request.rb} +136 -111
  883. data/lib/buildium-ruby/models/{file_search_message.rb → create_upload_file_request_async_request.rb} +107 -54
  884. data/lib/buildium-ruby/models/create_upload_file_request_request.rb +250 -0
  885. data/lib/buildium-ruby/models/{budget_search_message.rb → create_vendor_category_request.rb} +38 -28
  886. data/lib/buildium-ruby/models/create_vendor_credit_request.rb +268 -0
  887. data/lib/buildium-ruby/models/{rental_owners_search_message.rb → create_vendor_refund_request.rb} +85 -67
  888. data/lib/buildium-ruby/models/create_vendor_request.rb +372 -0
  889. data/lib/buildium-ruby/models/{note_search_message.rb → create_video_link_request_request.rb} +56 -29
  890. data/lib/buildium-ruby/models/{email_search_message.rb → create_withdrawal_for_bank_account_request.rb} +63 -46
  891. data/lib/buildium-ruby/models/{contact_request_task_search_message.rb → create_work_order_request.rb} +117 -100
  892. data/lib/buildium-ruby/models/created_by_user_message.rb +2 -1
  893. data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +2 -1
  894. data/lib/buildium-ruby/models/deposit_detail_message.rb +2 -1
  895. data/lib/buildium-ruby/models/e_pay_settings_message.rb +5 -4
  896. data/lib/buildium-ruby/models/e_pay_settings_message_credit_card_payments.rb +227 -0
  897. data/lib/buildium-ruby/models/e_pay_settings_message_eft_payments.rb +227 -0
  898. data/lib/buildium-ruby/models/e_pay_settings_message_offline_payments.rb +247 -0
  899. data/lib/buildium-ruby/models/e_pay_settings_put_message.rb +5 -4
  900. data/lib/buildium-ruby/models/e_pay_settings_put_message_credit_card_payments.rb +232 -0
  901. data/lib/buildium-ruby/models/e_pay_settings_put_message_eft_payments.rb +232 -0
  902. data/lib/buildium-ruby/models/e_pay_settings_put_message_offline_payments.rb +257 -0
  903. data/lib/buildium-ruby/models/eft_payments_message.rb +2 -1
  904. data/lib/buildium-ruby/models/eft_payments_put_message.rb +2 -1
  905. data/lib/buildium-ruby/models/electronic_payments_message.rb +2 -1
  906. data/lib/buildium-ruby/models/email_message.rb +3 -2
  907. data/lib/buildium-ruby/models/email_message_sender.rb +257 -0
  908. data/lib/buildium-ruby/models/email_post_message.rb +22 -2
  909. data/lib/buildium-ruby/models/email_recipient_message.rb +2 -1
  910. data/lib/buildium-ruby/models/email_sender_message.rb +2 -1
  911. data/lib/buildium-ruby/models/emergency_contact_message.rb +2 -1
  912. data/lib/buildium-ruby/models/file_category_message.rb +2 -1
  913. data/lib/buildium-ruby/models/file_category_post_message.rb +21 -1
  914. data/lib/buildium-ruby/models/file_category_put_message.rb +21 -1
  915. data/lib/buildium-ruby/models/file_download_message.rb +2 -1
  916. data/lib/buildium-ruby/models/file_entity_message.rb +2 -1
  917. data/lib/buildium-ruby/models/file_message.rb +3 -2
  918. data/lib/buildium-ruby/models/{listing_search_message.rb → file_message_file_entity.rb} +34 -15
  919. data/lib/buildium-ruby/models/file_name_post_message.rb +21 -1
  920. data/lib/buildium-ruby/models/file_put_message.rb +21 -1
  921. data/lib/buildium-ruby/models/file_sharing_account_message.rb +2 -1
  922. data/lib/buildium-ruby/models/file_sharing_account_put_message.rb +2 -1
  923. data/lib/buildium-ruby/models/file_sharing_association_message.rb +2 -1
  924. data/lib/buildium-ruby/models/file_sharing_association_owner_message.rb +2 -1
  925. data/lib/buildium-ruby/models/file_sharing_association_owner_put_message.rb +2 -1
  926. data/lib/buildium-ruby/models/file_sharing_association_put_message.rb +2 -1
  927. data/lib/buildium-ruby/models/file_sharing_association_unit_message.rb +2 -1
  928. data/lib/buildium-ruby/models/file_sharing_association_unit_put_message.rb +2 -1
  929. data/lib/buildium-ruby/models/file_sharing_committee_message.rb +2 -1
  930. data/lib/buildium-ruby/models/file_sharing_committee_put_message.rb +2 -1
  931. data/lib/buildium-ruby/models/file_sharing_lease_message.rb +2 -1
  932. data/lib/buildium-ruby/models/file_sharing_lease_put_message.rb +2 -1
  933. data/lib/buildium-ruby/models/file_sharing_message.rb +14 -13
  934. data/lib/buildium-ruby/models/{lease_renewal_search_message.rb → file_sharing_message_account.rb} +43 -44
  935. data/lib/buildium-ruby/models/{bank_account_check_search_message.rb → file_sharing_message_association.rb} +28 -29
  936. data/lib/buildium-ruby/models/file_sharing_message_association_owner.rb +227 -0
  937. data/lib/buildium-ruby/models/file_sharing_message_association_unit.rb +237 -0
  938. data/lib/buildium-ruby/models/file_sharing_message_committee.rb +247 -0
  939. data/lib/buildium-ruby/models/file_sharing_message_lease.rb +237 -0
  940. data/lib/buildium-ruby/models/file_sharing_message_ownership_account.rb +237 -0
  941. data/lib/buildium-ruby/models/file_sharing_message_rental.rb +237 -0
  942. data/lib/buildium-ruby/models/file_sharing_message_rental_owner.rb +227 -0
  943. data/lib/buildium-ruby/models/file_sharing_message_rental_unit.rb +237 -0
  944. data/lib/buildium-ruby/models/file_sharing_message_tenant.rb +237 -0
  945. data/lib/buildium-ruby/models/{safe_wait_handle.rb → file_sharing_message_vendor.rb} +21 -20
  946. data/lib/buildium-ruby/models/file_sharing_ownership_account_message.rb +2 -1
  947. data/lib/buildium-ruby/models/file_sharing_ownership_account_put_message.rb +2 -1
  948. data/lib/buildium-ruby/models/file_sharing_put_message.rb +14 -13
  949. data/lib/buildium-ruby/models/file_sharing_put_message_account.rb +271 -0
  950. data/lib/buildium-ruby/models/{bank_account_transfer_search_message.rb → file_sharing_put_message_association.rb} +28 -29
  951. data/lib/buildium-ruby/models/file_sharing_put_message_association_owner.rb +227 -0
  952. data/lib/buildium-ruby/models/{bank_account_quick_deposit_search_message.rb → file_sharing_put_message_association_unit.rb} +28 -29
  953. data/lib/buildium-ruby/models/file_sharing_put_message_committee.rb +247 -0
  954. data/lib/buildium-ruby/models/file_sharing_put_message_lease.rb +237 -0
  955. data/lib/buildium-ruby/models/file_sharing_put_message_ownership_account.rb +237 -0
  956. data/lib/buildium-ruby/models/file_sharing_put_message_rental.rb +237 -0
  957. data/lib/buildium-ruby/models/file_sharing_put_message_rental_owner.rb +227 -0
  958. data/lib/buildium-ruby/models/file_sharing_put_message_rental_unit.rb +237 -0
  959. data/lib/buildium-ruby/models/file_sharing_put_message_tenant.rb +237 -0
  960. data/lib/buildium-ruby/models/file_sharing_put_message_vendor.rb +227 -0
  961. data/lib/buildium-ruby/models/file_sharing_rental_message.rb +2 -1
  962. data/lib/buildium-ruby/models/file_sharing_rental_owner_message.rb +2 -1
  963. data/lib/buildium-ruby/models/file_sharing_rental_owner_put_message.rb +2 -1
  964. data/lib/buildium-ruby/models/file_sharing_rental_put_message.rb +2 -1
  965. data/lib/buildium-ruby/models/file_sharing_rental_unit_mesage.rb +2 -1
  966. data/lib/buildium-ruby/models/file_sharing_rental_unit_put_mesage.rb +2 -1
  967. data/lib/buildium-ruby/models/file_sharing_tenant_message.rb +2 -1
  968. data/lib/buildium-ruby/models/file_sharing_tenant_put_message.rb +2 -1
  969. data/lib/buildium-ruby/models/file_sharing_vendor_message.rb +2 -1
  970. data/lib/buildium-ruby/models/file_sharing_vendor_put_message.rb +2 -1
  971. data/lib/buildium-ruby/models/file_upload_post_message.rb +40 -1
  972. data/lib/buildium-ruby/models/file_upload_ticket_message.rb +2 -1
  973. data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +2 -1
  974. data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +3 -2
  975. data/lib/buildium-ruby/models/general_journal_entry_post_message_accounting_entity.rb +291 -0
  976. data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +3 -2
  977. data/lib/buildium-ruby/models/general_ledger_entry_message.rb +3 -2
  978. data/lib/buildium-ruby/models/general_ledger_entry_message_accounting_entity.rb +290 -0
  979. data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +4 -3
  980. data/lib/buildium-ruby/models/general_ledger_journal_line_message_accounting_entity.rb +290 -0
  981. data/lib/buildium-ruby/models/general_ledger_journal_line_message_gl_account.rb +427 -0
  982. data/lib/buildium-ruby/models/general_ledger_journal_message.rb +2 -1
  983. data/lib/buildium-ruby/models/general_ledger_message.rb +2 -1
  984. data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +19 -8
  985. data/lib/buildium-ruby/models/general_ledger_transaction_message_deposit_details.rb +239 -0
  986. data/lib/buildium-ruby/models/general_ledger_transaction_message_journal.rb +239 -0
  987. data/lib/buildium-ruby/models/general_ledger_transaction_message_payment_detail.rb +289 -0
  988. data/lib/buildium-ruby/models/general_ledger_transaction_message_unit_agreement.rb +281 -0
  989. data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +3 -2
  990. data/lib/buildium-ruby/models/gl_account_balance_item_message_accounting_entity.rb +290 -0
  991. data/lib/buildium-ruby/models/gl_account_balance_message.rb +3 -2
  992. data/lib/buildium-ruby/models/gl_account_balance_message_gl_account.rb +427 -0
  993. data/lib/buildium-ruby/models/gl_account_message.rb +2 -1
  994. data/lib/buildium-ruby/models/gl_account_post_message.rb +40 -1
  995. data/lib/buildium-ruby/models/gl_account_put_message.rb +21 -1
  996. data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +2 -1
  997. data/lib/buildium-ruby/models/image_reorder_request_put_message.rb +2 -1
  998. data/lib/buildium-ruby/models/insured_tenant_message.rb +2 -1
  999. data/lib/buildium-ruby/models/internal_transaction_status_message.rb +2 -1
  1000. data/lib/buildium-ruby/models/java_script_encoder.rb +218 -0
  1001. data/lib/buildium-ruby/models/journal_line_message.rb +3 -2
  1002. data/lib/buildium-ruby/models/journal_message.rb +2 -1
  1003. data/lib/buildium-ruby/models/json_patch_operation.rb +2 -1
  1004. data/lib/buildium-ruby/models/last_updated_by_user_message.rb +2 -1
  1005. data/lib/buildium-ruby/models/lease_account_detail_message.rb +2 -1
  1006. data/lib/buildium-ruby/models/lease_auto_allocated_payment_post_message.rb +2 -1
  1007. data/lib/buildium-ruby/models/lease_charge_line_message.rb +229 -0
  1008. data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +2 -1
  1009. data/lib/buildium-ruby/models/lease_charge_message.rb +271 -0
  1010. data/lib/buildium-ruby/models/lease_charge_post_message.rb +13 -2
  1011. data/lib/buildium-ruby/models/lease_charge_put_message.rb +2 -1
  1012. data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +2 -1
  1013. data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +43 -4
  1014. data/lib/buildium-ruby/models/lease_cosigner_post_message_address.rb +350 -0
  1015. data/lib/buildium-ruby/models/lease_cosigner_post_message_alternate_address.rb +350 -0
  1016. data/lib/buildium-ruby/models/lease_cosigner_post_message_phone_numbers.rb +257 -0
  1017. data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +2 -1
  1018. data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +2 -1
  1019. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +2 -1
  1020. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_put_message.rb +239 -0
  1021. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +2 -1
  1022. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_put_message.rb +261 -0
  1023. data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +2 -1
  1024. data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +2 -1
  1025. data/lib/buildium-ruby/models/lease_ledger_payment_put_message.rb +4 -3
  1026. data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +2 -1
  1027. data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +2 -1
  1028. data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +3 -2
  1029. data/lib/buildium-ruby/models/lease_ledger_refund_message_address.rb +321 -0
  1030. data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +3 -2
  1031. data/lib/buildium-ruby/models/lease_ledger_refund_post_message_address.rb +350 -0
  1032. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +2 -1
  1033. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +2 -1
  1034. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +4 -3
  1035. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_bank_fee.rb +247 -0
  1036. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_nsf_charge.rb +247 -0
  1037. data/lib/buildium-ruby/models/lease_message.rb +3 -2
  1038. data/lib/buildium-ruby/models/lease_message_account_details.rb +237 -0
  1039. data/lib/buildium-ruby/models/lease_move_out_data_message.rb +2 -1
  1040. data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +2 -1
  1041. data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +2 -1
  1042. data/lib/buildium-ruby/models/lease_post_message.rb +4 -3
  1043. data/lib/buildium-ruby/models/lease_post_message_rent.rb +283 -0
  1044. data/lib/buildium-ruby/models/{bank_account_deposit_search_message.rb → lease_post_message_security_deposit.rb} +34 -25
  1045. data/lib/buildium-ruby/models/lease_put_message.rb +2 -1
  1046. data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +2 -1
  1047. data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +3 -2
  1048. data/lib/buildium-ruby/models/lease_recurring_payment_message_payer.rb +291 -0
  1049. data/lib/buildium-ruby/models/lease_renewal_message.rb +2 -1
  1050. data/lib/buildium-ruby/models/lease_renewal_post_message.rb +3 -2
  1051. data/lib/buildium-ruby/models/lease_renewal_post_message_rent.rb +283 -0
  1052. data/lib/buildium-ruby/models/lease_rent_charge_message.rb +2 -1
  1053. data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +2 -1
  1054. data/lib/buildium-ruby/models/lease_rent_message.rb +2 -1
  1055. data/lib/buildium-ruby/models/lease_rent_post_message.rb +2 -1
  1056. data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +2 -1
  1057. data/lib/buildium-ruby/models/lease_tenant_message.rb +2 -1
  1058. data/lib/buildium-ruby/models/lease_transaction_message.rb +3 -2
  1059. data/lib/buildium-ruby/models/lease_transaction_message_journal.rb +239 -0
  1060. data/lib/buildium-ruby/models/listing_contact_message.rb +2 -1
  1061. data/lib/buildium-ruby/models/listing_contact_save_message.rb +21 -1
  1062. data/lib/buildium-ruby/models/listing_entity_file_post_message.rb +21 -1
  1063. data/lib/buildium-ruby/models/listing_file_message.rb +2 -1
  1064. data/lib/buildium-ruby/models/listing_message.rb +5 -4
  1065. data/lib/buildium-ruby/models/listing_message_contact.rb +267 -0
  1066. data/lib/buildium-ruby/models/{retail_cash_users_search_message.rb → listing_message_property.rb} +88 -58
  1067. data/lib/buildium-ruby/models/{general_ledger_search_message.rb → listing_message_unit.rb} +112 -82
  1068. data/lib/buildium-ruby/models/listing_property_message.rb +3 -2
  1069. data/lib/buildium-ruby/models/listing_property_message_address.rb +321 -0
  1070. data/lib/buildium-ruby/models/listing_put_message.rb +2 -1
  1071. data/lib/buildium-ruby/models/listing_unit_message.rb +3 -2
  1072. data/lib/buildium-ruby/models/listing_unit_message_address.rb +321 -0
  1073. data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +2 -1
  1074. data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +3 -2
  1075. data/lib/buildium-ruby/models/lock_period_settings_overrides_message_property.rb +281 -0
  1076. data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +2 -1
  1077. data/lib/buildium-ruby/models/lookup_message.rb +2 -1
  1078. data/lib/buildium-ruby/models/mailing_template_message.rb +2 -1
  1079. data/lib/buildium-ruby/models/meter_reading_detail_message.rb +2 -1
  1080. data/lib/buildium-ruby/models/meter_reading_detail_put_message.rb +2 -1
  1081. data/lib/buildium-ruby/models/meter_reading_details_message.rb +2 -1
  1082. data/lib/buildium-ruby/models/meter_reading_details_put_message.rb +2 -1
  1083. data/lib/buildium-ruby/models/meter_reading_message.rb +2 -1
  1084. data/lib/buildium-ruby/models/multiple_bill_payments_post_message.rb +2 -1
  1085. data/lib/buildium-ruby/models/note_message.rb +3 -2
  1086. data/lib/buildium-ruby/models/note_message_last_updated_by_user.rb +267 -0
  1087. data/lib/buildium-ruby/models/note_post_message.rb +21 -1
  1088. data/lib/buildium-ruby/models/note_put_message.rb +21 -1
  1089. data/lib/buildium-ruby/models/offline_payments_message.rb +2 -1
  1090. data/lib/buildium-ruby/models/offline_payments_put_message.rb +2 -1
  1091. data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +2 -1
  1092. data/lib/buildium-ruby/models/ownership_account_auto_allocated_payment_post_message.rb +2 -1
  1093. data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +2 -1
  1094. data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +2 -1
  1095. data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +2 -1
  1096. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +2 -1
  1097. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_put_message.rb +239 -0
  1098. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +4 -3
  1099. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_put_message.rb +261 -0
  1100. data/lib/buildium-ruby/models/ownership_account_ledger_charge_line_message.rb +229 -0
  1101. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +2 -1
  1102. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +2 -1
  1103. data/lib/buildium-ruby/models/ownership_account_ledger_charge_message.rb +271 -0
  1104. data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +13 -2
  1105. data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +2 -1
  1106. data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +2 -1
  1107. data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +2 -1
  1108. data/lib/buildium-ruby/models/ownership_account_ledger_payment_put_message.rb +4 -3
  1109. data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +2 -1
  1110. data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +2 -1
  1111. data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +3 -2
  1112. data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +2 -1
  1113. data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +2 -1
  1114. data/lib/buildium-ruby/models/ownership_account_refund_message.rb +3 -2
  1115. data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +3 -2
  1116. data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +3 -2
  1117. data/lib/buildium-ruby/models/paid_by_message.rb +3 -2
  1118. data/lib/buildium-ruby/models/{bank_lockbox_data_search_message.rb → partial_payment_settings_message.rb} +13 -14
  1119. data/lib/buildium-ruby/models/{wait_handle.rb → partial_payment_settings_patch_message.rb} +13 -20
  1120. data/lib/buildium-ruby/models/participant_message.rb +3 -2
  1121. data/lib/buildium-ruby/models/participant_message_unit_agreement.rb +281 -0
  1122. data/lib/buildium-ruby/models/participant_resource_message.rb +2 -1
  1123. data/lib/buildium-ruby/models/patch_bill_request.rb +278 -0
  1124. data/lib/buildium-ruby/models/patch_global_partial_payment_settings_request.rb +226 -0
  1125. data/lib/buildium-ruby/models/payee_message.rb +2 -1
  1126. data/lib/buildium-ruby/models/payment_detail_message.rb +4 -3
  1127. data/lib/buildium-ruby/models/payment_detail_message_internal_transaction_status.rb +247 -0
  1128. data/lib/buildium-ruby/models/{meter_reading_search_message.rb → payment_detail_message_payee.rb} +57 -38
  1129. data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +2 -1
  1130. data/lib/buildium-ruby/models/payment_transactions_message.rb +3 -2
  1131. data/lib/buildium-ruby/models/payment_transactions_message_accounting_entity.rb +290 -0
  1132. data/lib/buildium-ruby/models/phone_log_message.rb +4 -3
  1133. data/lib/buildium-ruby/models/phone_log_message_logged_by_staff_user.rb +257 -0
  1134. data/lib/buildium-ruby/models/phone_log_message_participant.rb +248 -0
  1135. data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +3 -2
  1136. data/lib/buildium-ruby/models/phone_log_participant_post_message_unit_agreement.rb +271 -0
  1137. data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +2 -1
  1138. data/lib/buildium-ruby/models/phone_log_post_message.rb +41 -2
  1139. data/lib/buildium-ruby/models/{announcement_search_message.rb → phone_log_post_message_participant.rb} +40 -42
  1140. data/lib/buildium-ruby/models/phone_log_put_message.rb +40 -1
  1141. data/lib/buildium-ruby/models/phone_number_message.rb +2 -1
  1142. data/lib/buildium-ruby/models/phone_numbers_message.rb +2 -1
  1143. data/lib/buildium-ruby/models/property_group_message.rb +3 -2
  1144. data/lib/buildium-ruby/models/property_group_message_created_by_user.rb +257 -0
  1145. data/lib/buildium-ruby/models/property_group_post_message.rb +21 -1
  1146. data/lib/buildium-ruby/models/property_group_put_message.rb +21 -1
  1147. data/lib/buildium-ruby/models/property_manager_message.rb +2 -1
  1148. data/lib/buildium-ruby/models/property_message.rb +2 -1
  1149. data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +2 -1
  1150. data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +2 -1
  1151. data/lib/buildium-ruby/models/recurring_transaction_message.rb +13 -2
  1152. data/lib/buildium-ruby/models/rent_schedule_charge_post_message.rb +274 -0
  1153. data/lib/buildium-ruby/models/rent_schedule_charge_put_message.rb +274 -0
  1154. data/lib/buildium-ruby/models/{client_lead_search_message.rb → rent_schedule_post_message.rb} +63 -48
  1155. data/lib/buildium-ruby/models/rent_schedule_put_message.rb +290 -0
  1156. data/lib/buildium-ruby/models/rental_appliance_message.rb +2 -1
  1157. data/lib/buildium-ruby/models/rental_appliance_post_message.rb +21 -1
  1158. data/lib/buildium-ruby/models/rental_appliance_put_message.rb +21 -1
  1159. data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +2 -1
  1160. data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +2 -1
  1161. data/lib/buildium-ruby/models/rental_features_message.rb +2 -1
  1162. data/lib/buildium-ruby/models/rental_features_put_message.rb +2 -1
  1163. data/lib/buildium-ruby/models/rental_image_message.rb +2 -1
  1164. data/lib/buildium-ruby/models/rental_image_put_message.rb +2 -1
  1165. data/lib/buildium-ruby/models/rental_message.rb +4 -3
  1166. data/lib/buildium-ruby/models/rental_message_rental_manager.rb +299 -0
  1167. data/lib/buildium-ruby/models/rental_owner_contribution_data_message.rb +3 -2
  1168. data/lib/buildium-ruby/models/rental_owner_contribution_data_message_reminder_settings.rb +237 -0
  1169. data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message.rb +3 -2
  1170. data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message_reminder_settings.rb +237 -0
  1171. data/lib/buildium-ruby/models/rental_owner_contribution_message.rb +2 -1
  1172. data/lib/buildium-ruby/models/rental_owner_contribution_put_message.rb +2 -1
  1173. data/lib/buildium-ruby/models/rental_owner_contribution_reminder_message.rb +2 -1
  1174. data/lib/buildium-ruby/models/rental_owner_contribution_reminder_put_message.rb +2 -1
  1175. data/lib/buildium-ruby/models/rental_owner_message.rb +4 -3
  1176. data/lib/buildium-ruby/models/rental_owner_message_address.rb +321 -0
  1177. data/lib/buildium-ruby/models/rental_owner_message_tax_information.rb +310 -0
  1178. data/lib/buildium-ruby/models/rental_owner_post_message.rb +5 -4
  1179. data/lib/buildium-ruby/models/rental_owner_post_message_address.rb +350 -0
  1180. data/lib/buildium-ruby/models/rental_owner_post_message_phone_numbers.rb +257 -0
  1181. data/lib/buildium-ruby/models/rental_owner_post_message_tax_information.rb +300 -0
  1182. data/lib/buildium-ruby/models/rental_owner_put_message.rb +4 -3
  1183. data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +5 -4
  1184. data/lib/buildium-ruby/models/rental_owner_request_task_message_requested_by_user_entity.rb +311 -0
  1185. data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +21 -1
  1186. data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +21 -1
  1187. data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +3 -2
  1188. data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +2 -1
  1189. data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +2 -1
  1190. data/lib/buildium-ruby/models/rental_property_post_message.rb +22 -2
  1191. data/lib/buildium-ruby/models/rental_property_post_message_address.rb +350 -0
  1192. data/lib/buildium-ruby/models/rental_property_put_message.rb +22 -2
  1193. data/lib/buildium-ruby/models/rental_property_put_message_address.rb +350 -0
  1194. data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +22 -2
  1195. data/lib/buildium-ruby/models/rental_property_unit_post_message_address.rb +350 -0
  1196. data/lib/buildium-ruby/models/rental_tenant_post_message.rb +44 -5
  1197. data/lib/buildium-ruby/models/rental_tenant_put_message.rb +44 -5
  1198. data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +44 -5
  1199. data/lib/buildium-ruby/models/rental_unit_features_message.rb +2 -1
  1200. data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +2 -1
  1201. data/lib/buildium-ruby/models/rental_unit_image_message.rb +2 -1
  1202. data/lib/buildium-ruby/models/rental_unit_image_put_message.rb +2 -1
  1203. data/lib/buildium-ruby/models/rental_unit_message.rb +3 -2
  1204. data/lib/buildium-ruby/models/rental_unit_put_message.rb +22 -2
  1205. data/lib/buildium-ruby/models/rental_units_post_message.rb +22 -2
  1206. data/lib/buildium-ruby/models/renters_insurance_policy_message.rb +2 -1
  1207. data/lib/buildium-ruby/models/{property_group_search_message.rb → reorder_rental_images_request.rb} +26 -23
  1208. data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +2 -1
  1209. data/lib/buildium-ruby/models/resident_center_user_message.rb +4 -3
  1210. data/lib/buildium-ruby/models/{meter_reading_details_delete_search_message.rb → resident_center_user_message_unit_agreement.rb} +46 -37
  1211. data/lib/buildium-ruby/models/resident_center_user_message_user.rb +301 -0
  1212. data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +2 -1
  1213. data/lib/buildium-ruby/models/resident_request_task_message.rb +7 -6
  1214. data/lib/buildium-ruby/models/resident_request_task_message_appliance.rb +267 -0
  1215. data/lib/buildium-ruby/models/resident_request_task_message_requested_by_user_entity.rb +311 -0
  1216. data/lib/buildium-ruby/models/resident_request_task_message_unit_agreement.rb +281 -0
  1217. data/lib/buildium-ruby/models/resident_request_task_post_message.rb +23 -3
  1218. data/lib/buildium-ruby/models/resident_request_task_put_message.rb +21 -1
  1219. data/lib/buildium-ruby/models/retail_cash_property_message.rb +2 -1
  1220. data/lib/buildium-ruby/models/retail_cash_unit_message.rb +2 -1
  1221. data/lib/buildium-ruby/models/retail_cash_user_data_message.rb +2 -1
  1222. data/lib/buildium-ruby/models/retail_cash_user_message.rb +6 -5
  1223. data/lib/buildium-ruby/models/{lease_transaction_search_message.rb → retail_cash_user_message_property.rb} +57 -29
  1224. data/lib/buildium-ruby/models/retail_cash_user_message_unit.rb +247 -0
  1225. data/lib/buildium-ruby/models/retail_cash_user_message_unit_agreement.rb +281 -0
  1226. data/lib/buildium-ruby/models/retail_cash_user_message_user.rb +321 -0
  1227. data/lib/buildium-ruby/models/retail_cash_user_put_message.rb +2 -1
  1228. data/lib/buildium-ruby/models/save_address_message.rb +23 -3
  1229. data/lib/buildium-ruby/models/save_emergency_contact_message.rb +2 -1
  1230. data/lib/buildium-ruby/models/task_category_message.rb +2 -1
  1231. data/lib/buildium-ruby/models/task_category_put_message.rb +21 -1
  1232. data/lib/buildium-ruby/models/task_category_response_message.rb +3 -2
  1233. data/lib/buildium-ruby/models/task_category_response_message_sub_category.rb +237 -0
  1234. data/lib/buildium-ruby/models/task_category_save_message.rb +21 -1
  1235. data/lib/buildium-ruby/models/task_history_file_message.rb +2 -1
  1236. data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +21 -1
  1237. data/lib/buildium-ruby/models/task_history_message.rb +4 -3
  1238. data/lib/buildium-ruby/models/{user_search_message.rb → task_history_message_created_by_user.rb} +57 -53
  1239. data/lib/buildium-ruby/models/{association_board_member_search_message.rb → task_history_message_last_updated_by_user.rb} +64 -37
  1240. data/lib/buildium-ruby/models/task_history_put_message.rb +21 -1
  1241. data/lib/buildium-ruby/models/task_history_user_message.rb +50 -5
  1242. data/lib/buildium-ruby/models/task_sub_category_message.rb +2 -1
  1243. data/lib/buildium-ruby/models/tax_information_post_message.rb +3 -2
  1244. data/lib/buildium-ruby/models/tax_information_post_message_address.rb +350 -0
  1245. data/lib/buildium-ruby/models/tax_information_save_message.rb +3 -2
  1246. data/lib/buildium-ruby/models/tenant_message.rb +5 -4
  1247. data/lib/buildium-ruby/models/tenant_message_address.rb +321 -0
  1248. data/lib/buildium-ruby/models/tenant_message_alternate_address.rb +321 -0
  1249. data/lib/buildium-ruby/models/tenant_message_emergency_contact.rb +257 -0
  1250. data/lib/buildium-ruby/models/to_do_task_message.rb +4 -3
  1251. data/lib/buildium-ruby/models/to_do_task_post_message.rb +21 -1
  1252. data/lib/buildium-ruby/models/to_do_task_put_message.rb +21 -1
  1253. data/lib/buildium-ruby/models/unclear_transactions_request.rb +233 -0
  1254. data/lib/buildium-ruby/models/undeposited_funds_message.rb +3 -2
  1255. data/lib/buildium-ruby/models/undeposited_funds_message_general_ledger_transaction.rb +267 -0
  1256. data/lib/buildium-ruby/models/unit_agreement_message.rb +2 -1
  1257. data/lib/buildium-ruby/models/unit_entity_message.rb +2 -1
  1258. data/lib/buildium-ruby/models/update_applicant_group_request.rb +292 -0
  1259. data/lib/buildium-ruby/models/update_applicant_request.rb +313 -0
  1260. data/lib/buildium-ruby/models/update_application_request.rb +265 -0
  1261. data/lib/buildium-ruby/models/update_association_appliance_request.rb +300 -0
  1262. data/lib/buildium-ruby/models/update_association_owner_occupancy_status_request.rb +231 -0
  1263. data/lib/buildium-ruby/models/update_association_owner_request.rb +409 -0
  1264. data/lib/buildium-ruby/models/update_association_ownership_account_request.rb +231 -0
  1265. data/lib/buildium-ruby/models/update_association_preferred_vendors_request.rb +233 -0
  1266. data/lib/buildium-ruby/models/update_association_request.rb +349 -0
  1267. data/lib/buildium-ruby/models/update_association_tenant_request.rb +375 -0
  1268. data/lib/buildium-ruby/models/{tenant_search_message.rb → update_association_unit_request.rb} +93 -92
  1269. data/lib/buildium-ruby/models/update_bank_account_deposit_request.rb +258 -0
  1270. data/lib/buildium-ruby/models/update_bank_account_request.rb +370 -0
  1271. data/lib/buildium-ruby/models/update_bill_request.rb +294 -0
  1272. data/lib/buildium-ruby/models/update_board_member_request.rb +286 -0
  1273. data/lib/buildium-ruby/models/update_budget_request.rb +267 -0
  1274. data/lib/buildium-ruby/models/update_check_for_bank_account_request.rb +282 -0
  1275. data/lib/buildium-ruby/models/update_contact_request_task_request.rb +415 -0
  1276. data/lib/buildium-ruby/models/update_deposit_withholding_request.rb +268 -0
  1277. data/lib/buildium-ruby/models/update_e_pay_settings_for_association_request.rb +258 -0
  1278. data/lib/buildium-ruby/models/update_file_category_request.rb +251 -0
  1279. data/lib/buildium-ruby/models/update_file_request.rb +275 -0
  1280. data/lib/buildium-ruby/models/update_file_sharing_setting_request.rb +324 -0
  1281. data/lib/buildium-ruby/models/update_general_journal_entry_request.rb +272 -0
  1282. data/lib/buildium-ruby/models/update_gl_account_request.rb +371 -0
  1283. data/lib/buildium-ruby/models/update_lease_charge_request.rb +258 -0
  1284. data/lib/buildium-ruby/models/{general_ledger_transaction_search_message.rb → update_lease_ledger_payment_request.rb} +76 -59
  1285. data/lib/buildium-ruby/models/update_lease_note_request.rb +250 -0
  1286. data/lib/buildium-ruby/models/update_lease_request.rb +330 -0
  1287. data/lib/buildium-ruby/models/update_ownership_account_charge_request.rb +258 -0
  1288. data/lib/buildium-ruby/models/update_ownership_account_deposit_withholding_request.rb +268 -0
  1289. data/lib/buildium-ruby/models/{ownership_account_outstanding_balance_search_message.rb → update_ownership_account_ledger_payment_request.rb} +84 -64
  1290. data/lib/buildium-ruby/models/update_phone_log_request.rb +299 -0
  1291. data/lib/buildium-ruby/models/update_property_group_request.rb +277 -0
  1292. data/lib/buildium-ruby/models/update_reconciliation_balances_request.rb +261 -0
  1293. data/lib/buildium-ruby/models/update_reconciliation_request.rb +231 -0
  1294. data/lib/buildium-ruby/models/update_rent_schedule_request.rb +297 -0
  1295. data/lib/buildium-ruby/models/update_rental_appliance_request.rb +300 -0
  1296. data/lib/buildium-ruby/models/update_rental_features_request.rb +262 -0
  1297. data/lib/buildium-ruby/models/update_rental_image_request.rb +241 -0
  1298. data/lib/buildium-ruby/models/update_rental_owner_request.rb +362 -0
  1299. data/lib/buildium-ruby/models/update_rental_owner_request_task_contribution_data_request.rb +237 -0
  1300. data/lib/buildium-ruby/models/{rental_owner_request_task_search_message.rb → update_rental_owner_request_task_request.rb} +133 -103
  1301. data/lib/buildium-ruby/models/update_rental_preferred_vendors_request.rb +233 -0
  1302. data/lib/buildium-ruby/models/update_rental_property_request.rb +368 -0
  1303. data/lib/buildium-ruby/models/update_rental_tenant_request.rb +419 -0
  1304. data/lib/buildium-ruby/models/{gl_accounts_search_message.rb → update_rental_unit_features_request.rb} +21 -14
  1305. data/lib/buildium-ruby/models/update_rental_unit_image_request.rb +241 -0
  1306. data/lib/buildium-ruby/models/update_rental_unit_request.rb +360 -0
  1307. data/lib/buildium-ruby/models/{phone_log_search_message.rb → update_resource_request.rb} +119 -79
  1308. data/lib/buildium-ruby/models/update_retail_cash_user_request.rb +231 -0
  1309. data/lib/buildium-ruby/models/update_task_category_request.rb +251 -0
  1310. data/lib/buildium-ruby/models/update_task_history_request.rb +250 -0
  1311. data/lib/buildium-ruby/models/{to_do_task_search_message.rb → update_to_do_task_request.rb} +138 -103
  1312. data/lib/buildium-ruby/models/update_vendor_request.rb +372 -0
  1313. data/lib/buildium-ruby/models/update_work_order_request.rb +364 -0
  1314. data/lib/buildium-ruby/models/upload_task_history_file_request_async_request.rb +250 -0
  1315. data/lib/buildium-ruby/models/{meter_reading_details_search_message.rb → upsert_association_meter_reading_details_async_request.rb} +35 -10
  1316. data/lib/buildium-ruby/models/upsert_listings_async_request.rb +291 -0
  1317. data/lib/buildium-ruby/models/user_message.rb +3 -2
  1318. data/lib/buildium-ruby/models/user_message_user_role.rb +257 -0
  1319. data/lib/buildium-ruby/models/user_role_message.rb +2 -1
  1320. data/lib/buildium-ruby/models/vehicle_message.rb +2 -1
  1321. data/lib/buildium-ruby/models/vendor_category_message.rb +2 -1
  1322. data/lib/buildium-ruby/models/vendor_category_save_message.rb +21 -1
  1323. data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +3 -2
  1324. data/lib/buildium-ruby/models/vendor_credit_line_item_message_accounting_entity.rb +290 -0
  1325. data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +3 -2
  1326. data/lib/buildium-ruby/models/vendor_credit_line_item_post_message_accounting_entity.rb +291 -0
  1327. data/lib/buildium-ruby/models/vendor_credit_message.rb +2 -1
  1328. data/lib/buildium-ruby/models/vendor_credit_post_message.rb +2 -1
  1329. data/lib/buildium-ruby/models/vendor_insurance_message.rb +2 -1
  1330. data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +2 -1
  1331. data/lib/buildium-ruby/models/vendor_message.rb +6 -5
  1332. data/lib/buildium-ruby/models/vendor_message_address.rb +321 -0
  1333. data/lib/buildium-ruby/models/vendor_message_category.rb +235 -0
  1334. data/lib/buildium-ruby/models/{applicant_group_search_message.rb → vendor_message_tax_information.rb} +66 -52
  1335. data/lib/buildium-ruby/models/vendor_message_vendor_insurance.rb +247 -0
  1336. data/lib/buildium-ruby/models/vendor_post_message.rb +6 -5
  1337. data/lib/buildium-ruby/models/vendor_post_message_address.rb +350 -0
  1338. data/lib/buildium-ruby/models/vendor_post_message_phone_numbers.rb +257 -0
  1339. data/lib/buildium-ruby/models/{resident_center_user_search_message.rb → vendor_post_message_tax_information.rb} +60 -48
  1340. data/lib/buildium-ruby/models/vendor_post_message_vendor_insurance.rb +247 -0
  1341. data/lib/buildium-ruby/models/vendor_put_message.rb +6 -5
  1342. data/lib/buildium-ruby/models/{association_search_message.rb → vendor_put_message_tax_information.rb} +68 -60
  1343. data/lib/buildium-ruby/models/vendor_refund_line_message.rb +3 -2
  1344. data/lib/buildium-ruby/models/vendor_refund_line_message_accounting_entity.rb +290 -0
  1345. data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +3 -2
  1346. data/lib/buildium-ruby/models/vendor_refund_line_post_message_accounting_entity.rb +291 -0
  1347. data/lib/buildium-ruby/models/vendor_refund_message.rb +2 -1
  1348. data/lib/buildium-ruby/models/vendor_refund_post_message.rb +2 -1
  1349. data/lib/buildium-ruby/models/vendor_tax_information_message.rb +3 -2
  1350. data/lib/buildium-ruby/models/vendor_transaction_message.rb +2 -1
  1351. data/lib/buildium-ruby/models/video_link_request_post_message.rb +21 -1
  1352. data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +2 -1
  1353. data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +2 -1
  1354. data/lib/buildium-ruby/models/work_order_line_item_message.rb +2 -1
  1355. data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +2 -1
  1356. data/lib/buildium-ruby/models/work_order_message.rb +82 -5
  1357. data/lib/buildium-ruby/models/{rental_appliance_search_message.rb → work_order_message_entry_contact.rb} +29 -22
  1358. data/lib/buildium-ruby/models/{rental_search_message.rb → work_order_message_task.rb} +95 -71
  1359. data/lib/buildium-ruby/models/work_order_post_message.rb +17 -4
  1360. data/lib/buildium-ruby/models/work_order_post_message_task.rb +372 -0
  1361. data/lib/buildium-ruby/models/work_order_put_message.rb +16 -3
  1362. data/lib/buildium-ruby/models/work_order_task_message.rb +3 -2
  1363. data/lib/buildium-ruby/models/work_order_task_post_message.rb +21 -1
  1364. data/lib/buildium-ruby/version.rb +1 -1
  1365. data/lib/buildium-ruby.rb +366 -58
  1366. metadata +739 -118
  1367. data/docs/AnnouncementSearchMessage.md +0 -26
  1368. data/docs/ApplicantGroupSearchMessage.md +0 -26
  1369. data/docs/ApplicantSearchMessage.md +0 -32
  1370. data/docs/AssociationApplianceSearchMessage.md +0 -20
  1371. data/docs/AssociationBoardMemberSearchMessage.md +0 -24
  1372. data/docs/AssociationOwnershipAccountSearchMessage.md +0 -30
  1373. data/docs/AssociationSearchMessage.md +0 -28
  1374. data/docs/AssociationUnitSearchMessage.md +0 -22
  1375. data/docs/AssociationUserSearchMessage.md +0 -34
  1376. data/docs/BankAccountCheckSearchMessage.md +0 -20
  1377. data/docs/BankAccountDepositSearchMessage.md +0 -20
  1378. data/docs/BankAccountQuickDepositSearchMessage.md +0 -20
  1379. data/docs/BankAccountSearchMessage.md +0 -22
  1380. data/docs/BankAccountTransactionSearchMessage.md +0 -24
  1381. data/docs/BankAccountTransferSearchMessage.md +0 -20
  1382. data/docs/BankAccountWithdrawalSearchMessage.md +0 -20
  1383. data/docs/BankLockboxDataSearchMessage.md +0 -18
  1384. data/docs/BillSearchMessage.md +0 -32
  1385. data/docs/BudgetSearchMessage.md +0 -22
  1386. data/docs/CancellationToken.md +0 -22
  1387. data/docs/ClientLeadSearchMessage.md +0 -26
  1388. data/docs/ContactRequestTaskSearchMessage.md +0 -40
  1389. data/docs/EmailSearchMessage.md +0 -26
  1390. data/docs/FileSearchMessage.md +0 -30
  1391. data/docs/GLAccountBalanceSearchMessage.md +0 -26
  1392. data/docs/GLAccountsSearchMessage.md +0 -18
  1393. data/docs/GeneralLedgerSearchMessage.md +0 -28
  1394. data/docs/GeneralLedgerTransactionSearchMessage.md +0 -26
  1395. data/docs/LeaseOutstandingBalanceSearchMessage.md +0 -30
  1396. data/docs/LeaseRenewalSearchMessage.md +0 -22
  1397. data/docs/LeaseSearchMessage.md +0 -40
  1398. data/docs/LeaseTransactionSearchMessage.md +0 -22
  1399. data/docs/ListingSearchMessage.md +0 -20
  1400. data/docs/MeterReadingDetailsDeleteSearchMessage.md +0 -20
  1401. data/docs/MeterReadingDetailsPutSearchMessage.md +0 -20
  1402. data/docs/MeterReadingDetailsSearchMessage.md +0 -20
  1403. data/docs/MeterReadingSearchMessage.md +0 -22
  1404. data/docs/NoteSearchMessage.md +0 -22
  1405. data/docs/OwnershipAccountOutstandingBalanceSearchMessage.md +0 -26
  1406. data/docs/PhoneLogSearchMessage.md +0 -32
  1407. data/docs/PropertyGroupSearchMessage.md +0 -20
  1408. data/docs/RentalApplianceSearchMessage.md +0 -20
  1409. data/docs/RentalOwnerRequestTaskSearchMessage.md +0 -40
  1410. data/docs/RentalOwnersSearchMessage.md +0 -30
  1411. data/docs/RentalSearchMessage.md +0 -32
  1412. data/docs/RentalUnitSearchMessage.md +0 -22
  1413. data/docs/ResidentCenterUserSearchMessage.md +0 -26
  1414. data/docs/ResidentRequestTaskSearchMessage.md +0 -42
  1415. data/docs/RetailCashUsersSearchMessage.md +0 -28
  1416. data/docs/SafeWaitHandle.md +0 -20
  1417. data/docs/TaskSearchMessage.md +0 -44
  1418. data/docs/TenantSearchMessage.md +0 -36
  1419. data/docs/ToDoTaskSearchMessage.md +0 -40
  1420. data/docs/UserSearchMessage.md +0 -26
  1421. data/docs/VendorSearchMessage.md +0 -32
  1422. data/docs/VendorTransactionSearchMessage.md +0 -26
  1423. data/docs/WaitHandle.md +0 -20
  1424. data/docs/WorkOrderSearchMessage.md +0 -54
@@ -20,23 +20,23 @@ module Buildium
20
20
  @api_client = api_client
21
21
  end
22
22
  # Upload a rental image
23
- # Uploads an image and associates it to the specified rental record. <br /><br />Uploading a file requires making two API requests. Each step is outlined below. <br /><br /><strong>Step 1 - Save file metadata</strong><br /> The first step in the file upload process is to submit the file metadata to `/v1/rentals/{rentalId}/images/uploadrequests`. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. <br /><br /><strong>NOTE:</strong> The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. <br /><br /><strong>Step 2 - Upload the file binary</strong><br /> Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: <br /> 1. Form a POST request using the value of the `BucketUrl` property as the URL. <br /><br /> 2. Set the `Content-Type` header to `multipart/form-data`. <br /><br /> 3. Copy the fields from the `FormData` property to this request as form-data key/value pairs. <br /><strong>NOTE:</strong> These values must added to the request form-data in the order they were received in the response. <br /><br /> 4. Lastly create a form-data key named `file` and set the value to the file binary. <br /><strong>NOTE:</strong> This must be the last field in the form-data list. <br /><br />This image shows what the POST request should look like if you're using Postman: <img src=\"file-upload-example.png\" /><br /><br /> 5. Send the POST request! A successful request will return with a `204 - NO CONTENT` HTTP response code. For any failure responses, please refer to <a target=\"_blank\" href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\">AWS documentation</a> on REST error responses. <br /><br /><strong>NOTE:</strong> The file identifier is not generated in this response. To retrieve the file identifier, call `/v1/files` and pass the `PhysicalFileName` value received from the response of this endpoint into the `physicalfilenames` query parameter. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
23
+ # Uploads an image and associates it to the specified rental record. <br /><br />Uploading a file requires making two API requests. Each step is outlined below. <br /><br /><strong>Step 1 - Save file metadata</strong><br /> The first step in the file upload process is to submit the file metadata to `/v1/rentals/{rentalId}/images/uploadrequests`. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. <br /><br /><strong>NOTE:</strong> The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. <br /><br /><strong>Step 2 - Upload the file binary</strong><br /> Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: <br /> 1. Form a POST request using the value of the `BucketUrl` property as the URL. <br /><br /> 2. Set the `Content-Type` header to `multipart/form-data`. <br /><br /> 3. Copy the fields from the `FormData` property to this request as form-data key/value pairs. <br /><strong>NOTE:</strong> These values must added to the request form-data in the order they were received in the response. <br /><br /> 4. Lastly create a form-data key named `file` and set the value to the file binary. <br /><strong>NOTE:</strong> This must be the last field in the form-data list. <br /><br />This image shows what the POST request should look like if you're using Postman: <img src=\"file-upload-example.png\" /><br /><br /> 5. Send the POST request! A successful request will return with a `204 - NO CONTENT` HTTP response code. For any failure responses, please refer to <a target=\"_blank\" href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\">AWS documentation</a> on REST error responses. <br /><br /><strong>NOTE:</strong> The file identifier is not generated in this response. To retrieve the file identifier, call `/v1/files` and pass the `PhysicalFileName` value received from the response of this endpoint into the `physicalfilenames` query parameter. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
24
24
  # @param property_id [Integer]
25
- # @param listing_entity_file_post_message [ListingEntityFilePostMessage]
25
+ # @param create_rental_image_upload_file_request_async_request [CreateRentalImageUploadFileRequestAsyncRequest]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [FileUploadTicketMessage]
28
- def create_rental_image_upload_file_request_async(property_id, listing_entity_file_post_message, opts = {})
29
- data, _status_code, _headers = create_rental_image_upload_file_request_async_with_http_info(property_id, listing_entity_file_post_message, opts)
28
+ def create_rental_image_upload_file_request_async(property_id, create_rental_image_upload_file_request_async_request, opts = {})
29
+ data, _status_code, _headers = create_rental_image_upload_file_request_async_with_http_info(property_id, create_rental_image_upload_file_request_async_request, opts)
30
30
  data
31
31
  end
32
32
 
33
33
  # Upload a rental image
34
- # Uploads an image and associates it to the specified rental record. &lt;br /&gt;&lt;br /&gt;Uploading a file requires making two API requests. Each step is outlined below. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 1 - Save file metadata&lt;/strong&gt;&lt;br /&gt; The first step in the file upload process is to submit the file metadata to &#x60;/v1/rentals/{rentalId}/images/uploadrequests&#x60;. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2 - Upload the file binary&lt;/strong&gt;&lt;br /&gt; Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: &lt;br /&gt; 1. Form a POST request using the value of the &#x60;BucketUrl&#x60; property as the URL. &lt;br /&gt;&lt;br /&gt; 2. Set the &#x60;Content-Type&#x60; header to &#x60;multipart/form-data&#x60;. &lt;br /&gt;&lt;br /&gt; 3. Copy the fields from the &#x60;FormData&#x60; property to this request as form-data key/value pairs. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; These values must added to the request form-data in the order they were received in the response. &lt;br /&gt;&lt;br /&gt; 4. Lastly create a form-data key named &#x60;file&#x60; and set the value to the file binary. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; This must be the last field in the form-data list. &lt;br /&gt;&lt;br /&gt;This image shows what the POST request should look like if you&#39;re using Postman: &lt;img src&#x3D;\&quot;file-upload-example.png\&quot; /&gt;&lt;br /&gt;&lt;br /&gt; 5. Send the POST request! A successful request will return with a &#x60;204 - NO CONTENT&#x60; HTTP response code. For any failure responses, please refer to &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\&quot;&gt;AWS documentation&lt;/a&gt; on REST error responses. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The file identifier is not generated in this response. To retrieve the file identifier, call &#x60;/v1/files&#x60; and pass the &#x60;PhysicalFileName&#x60; value received from the response of this endpoint into the &#x60;physicalfilenames&#x60; query parameter. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
34
+ # Uploads an image and associates it to the specified rental record. &lt;br /&gt;&lt;br /&gt;Uploading a file requires making two API requests. Each step is outlined below. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 1 - Save file metadata&lt;/strong&gt;&lt;br /&gt; The first step in the file upload process is to submit the file metadata to &#x60;/v1/rentals/{rentalId}/images/uploadrequests&#x60;. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2 - Upload the file binary&lt;/strong&gt;&lt;br /&gt; Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: &lt;br /&gt; 1. Form a POST request using the value of the &#x60;BucketUrl&#x60; property as the URL. &lt;br /&gt;&lt;br /&gt; 2. Set the &#x60;Content-Type&#x60; header to &#x60;multipart/form-data&#x60;. &lt;br /&gt;&lt;br /&gt; 3. Copy the fields from the &#x60;FormData&#x60; property to this request as form-data key/value pairs. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; These values must added to the request form-data in the order they were received in the response. &lt;br /&gt;&lt;br /&gt; 4. Lastly create a form-data key named &#x60;file&#x60; and set the value to the file binary. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; This must be the last field in the form-data list. &lt;br /&gt;&lt;br /&gt;This image shows what the POST request should look like if you&#39;re using Postman: &lt;img src&#x3D;\&quot;file-upload-example.png\&quot; /&gt;&lt;br /&gt;&lt;br /&gt; 5. Send the POST request! A successful request will return with a &#x60;204 - NO CONTENT&#x60; HTTP response code. For any failure responses, please refer to &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\&quot;&gt;AWS documentation&lt;/a&gt; on REST error responses. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The file identifier is not generated in this response. To retrieve the file identifier, call &#x60;/v1/files&#x60; and pass the &#x60;PhysicalFileName&#x60; value received from the response of this endpoint into the &#x60;physicalfilenames&#x60; query parameter. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
35
35
  # @param property_id [Integer]
36
- # @param listing_entity_file_post_message [ListingEntityFilePostMessage]
36
+ # @param create_rental_image_upload_file_request_async_request [CreateRentalImageUploadFileRequestAsyncRequest]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(FileUploadTicketMessage, Integer, Hash)>] FileUploadTicketMessage data, response status code and response headers
39
- def create_rental_image_upload_file_request_async_with_http_info(property_id, listing_entity_file_post_message, opts = {})
39
+ def create_rental_image_upload_file_request_async_with_http_info(property_id, create_rental_image_upload_file_request_async_request, opts = {})
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.create_rental_image_upload_file_request_async ...'
42
42
  end
@@ -44,9 +44,9 @@ module Buildium
44
44
  if @api_client.config.client_side_validation && property_id.nil?
45
45
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.create_rental_image_upload_file_request_async"
46
46
  end
47
- # verify the required parameter 'listing_entity_file_post_message' is set
48
- if @api_client.config.client_side_validation && listing_entity_file_post_message.nil?
49
- fail ArgumentError, "Missing the required parameter 'listing_entity_file_post_message' when calling RentalPropertiesApi.create_rental_image_upload_file_request_async"
47
+ # verify the required parameter 'create_rental_image_upload_file_request_async_request' is set
48
+ if @api_client.config.client_side_validation && create_rental_image_upload_file_request_async_request.nil?
49
+ fail ArgumentError, "Missing the required parameter 'create_rental_image_upload_file_request_async_request' when calling RentalPropertiesApi.create_rental_image_upload_file_request_async"
50
50
  end
51
51
  # resource path
52
52
  local_var_path = '/v1/rentals/{propertyId}/images/uploadrequests'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -61,14 +61,14 @@ module Buildium
61
61
  # HTTP header 'Content-Type'
62
62
  content_type = @api_client.select_header_content_type(['application/json'])
63
63
  if !content_type.nil?
64
- header_params['Content-Type'] = content_type
64
+ header_params['Content-Type'] = content_type
65
65
  end
66
66
 
67
67
  # form parameters
68
68
  form_params = opts[:form_params] || {}
69
69
 
70
70
  # http body (model)
71
- post_body = opts[:debug_body] || @api_client.object_to_http_body(listing_entity_file_post_message)
71
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_rental_image_upload_file_request_async_request)
72
72
 
73
73
  # return_type
74
74
  return_type = opts[:debug_return_type] || 'FileUploadTicketMessage'
@@ -94,27 +94,27 @@ module Buildium
94
94
  end
95
95
 
96
96
  # Create a property
97
- # Creates a new rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
98
- # @param rental_property_post_message [RentalPropertyPostMessage]
97
+ # Creates a new rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
98
+ # @param create_rental_property_request [CreateRentalPropertyRequest]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [RentalMessage]
101
- def create_rental_property(rental_property_post_message, opts = {})
102
- data, _status_code, _headers = create_rental_property_with_http_info(rental_property_post_message, opts)
101
+ def create_rental_property(create_rental_property_request, opts = {})
102
+ data, _status_code, _headers = create_rental_property_with_http_info(create_rental_property_request, opts)
103
103
  data
104
104
  end
105
105
 
106
106
  # Create a property
107
- # Creates a new rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
108
- # @param rental_property_post_message [RentalPropertyPostMessage]
107
+ # Creates a new rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
108
+ # @param create_rental_property_request [CreateRentalPropertyRequest]
109
109
  # @param [Hash] opts the optional parameters
110
110
  # @return [Array<(RentalMessage, Integer, Hash)>] RentalMessage data, response status code and response headers
111
- def create_rental_property_with_http_info(rental_property_post_message, opts = {})
111
+ def create_rental_property_with_http_info(create_rental_property_request, opts = {})
112
112
  if @api_client.config.debugging
113
113
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.create_rental_property ...'
114
114
  end
115
- # verify the required parameter 'rental_property_post_message' is set
116
- if @api_client.config.client_side_validation && rental_property_post_message.nil?
117
- fail ArgumentError, "Missing the required parameter 'rental_property_post_message' when calling RentalPropertiesApi.create_rental_property"
115
+ # verify the required parameter 'create_rental_property_request' is set
116
+ if @api_client.config.client_side_validation && create_rental_property_request.nil?
117
+ fail ArgumentError, "Missing the required parameter 'create_rental_property_request' when calling RentalPropertiesApi.create_rental_property"
118
118
  end
119
119
  # resource path
120
120
  local_var_path = '/v1/rentals'
@@ -129,14 +129,14 @@ module Buildium
129
129
  # HTTP header 'Content-Type'
130
130
  content_type = @api_client.select_header_content_type(['application/json'])
131
131
  if !content_type.nil?
132
- header_params['Content-Type'] = content_type
132
+ header_params['Content-Type'] = content_type
133
133
  end
134
134
 
135
135
  # form parameters
136
136
  form_params = opts[:form_params] || {}
137
137
 
138
138
  # http body (model)
139
- post_body = opts[:debug_body] || @api_client.object_to_http_body(rental_property_post_message)
139
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_rental_property_request)
140
140
 
141
141
  # return_type
142
142
  return_type = opts[:debug_return_type] || 'RentalMessage'
@@ -162,23 +162,23 @@ module Buildium
162
162
  end
163
163
 
164
164
  # Create a note
165
- # Creates a note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
165
+ # Creates a note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
166
166
  # @param property_id [Integer]
167
- # @param note_post_message [NotePostMessage]
167
+ # @param create_lease_note_request [CreateLeaseNoteRequest]
168
168
  # @param [Hash] opts the optional parameters
169
169
  # @return [NoteMessage]
170
- def create_rental_property_note(property_id, note_post_message, opts = {})
171
- data, _status_code, _headers = create_rental_property_note_with_http_info(property_id, note_post_message, opts)
170
+ def create_rental_property_note(property_id, create_lease_note_request, opts = {})
171
+ data, _status_code, _headers = create_rental_property_note_with_http_info(property_id, create_lease_note_request, opts)
172
172
  data
173
173
  end
174
174
 
175
175
  # Create a note
176
- # Creates a note. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
176
+ # Creates a note. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
177
177
  # @param property_id [Integer]
178
- # @param note_post_message [NotePostMessage]
178
+ # @param create_lease_note_request [CreateLeaseNoteRequest]
179
179
  # @param [Hash] opts the optional parameters
180
180
  # @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
181
- def create_rental_property_note_with_http_info(property_id, note_post_message, opts = {})
181
+ def create_rental_property_note_with_http_info(property_id, create_lease_note_request, opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.create_rental_property_note ...'
184
184
  end
@@ -186,9 +186,9 @@ module Buildium
186
186
  if @api_client.config.client_side_validation && property_id.nil?
187
187
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.create_rental_property_note"
188
188
  end
189
- # verify the required parameter 'note_post_message' is set
190
- if @api_client.config.client_side_validation && note_post_message.nil?
191
- fail ArgumentError, "Missing the required parameter 'note_post_message' when calling RentalPropertiesApi.create_rental_property_note"
189
+ # verify the required parameter 'create_lease_note_request' is set
190
+ if @api_client.config.client_side_validation && create_lease_note_request.nil?
191
+ fail ArgumentError, "Missing the required parameter 'create_lease_note_request' when calling RentalPropertiesApi.create_rental_property_note"
192
192
  end
193
193
  # resource path
194
194
  local_var_path = '/v1/rentals/{propertyId}/notes'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -203,14 +203,14 @@ module Buildium
203
203
  # HTTP header 'Content-Type'
204
204
  content_type = @api_client.select_header_content_type(['application/json'])
205
205
  if !content_type.nil?
206
- header_params['Content-Type'] = content_type
206
+ header_params['Content-Type'] = content_type
207
207
  end
208
208
 
209
209
  # form parameters
210
210
  form_params = opts[:form_params] || {}
211
211
 
212
212
  # http body (model)
213
- post_body = opts[:debug_body] || @api_client.object_to_http_body(note_post_message)
213
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_lease_note_request)
214
214
 
215
215
  # return_type
216
216
  return_type = opts[:debug_return_type] || 'NoteMessage'
@@ -235,24 +235,92 @@ module Buildium
235
235
  return data, status_code, headers
236
236
  end
237
237
 
238
+ # Create a unit
239
+ # Creates a rental unit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
240
+ # @param create_rental_unit_request [CreateRentalUnitRequest]
241
+ # @param [Hash] opts the optional parameters
242
+ # @return [RentalUnitMessage]
243
+ def create_rental_unit(create_rental_unit_request, opts = {})
244
+ data, _status_code, _headers = create_rental_unit_with_http_info(create_rental_unit_request, opts)
245
+ data
246
+ end
247
+
248
+ # Create a unit
249
+ # Creates a rental unit. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
250
+ # @param create_rental_unit_request [CreateRentalUnitRequest]
251
+ # @param [Hash] opts the optional parameters
252
+ # @return [Array<(RentalUnitMessage, Integer, Hash)>] RentalUnitMessage data, response status code and response headers
253
+ def create_rental_unit_with_http_info(create_rental_unit_request, opts = {})
254
+ if @api_client.config.debugging
255
+ @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.create_rental_unit ...'
256
+ end
257
+ # verify the required parameter 'create_rental_unit_request' is set
258
+ if @api_client.config.client_side_validation && create_rental_unit_request.nil?
259
+ fail ArgumentError, "Missing the required parameter 'create_rental_unit_request' when calling RentalPropertiesApi.create_rental_unit"
260
+ end
261
+ # resource path
262
+ local_var_path = '/v1/rentals/units'
263
+
264
+ # query parameters
265
+ query_params = opts[:query_params] || {}
266
+
267
+ # header parameters
268
+ header_params = opts[:header_params] || {}
269
+ # HTTP header 'Accept' (if needed)
270
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
271
+ # HTTP header 'Content-Type'
272
+ content_type = @api_client.select_header_content_type(['application/json'])
273
+ if !content_type.nil?
274
+ header_params['Content-Type'] = content_type
275
+ end
276
+
277
+ # form parameters
278
+ form_params = opts[:form_params] || {}
279
+
280
+ # http body (model)
281
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_rental_unit_request)
282
+
283
+ # return_type
284
+ return_type = opts[:debug_return_type] || 'RentalUnitMessage'
285
+
286
+ # auth_names
287
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
288
+
289
+ new_options = opts.merge(
290
+ :operation => :"RentalPropertiesApi.create_rental_unit",
291
+ :header_params => header_params,
292
+ :query_params => query_params,
293
+ :form_params => form_params,
294
+ :body => post_body,
295
+ :auth_names => auth_names,
296
+ :return_type => return_type
297
+ )
298
+
299
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
300
+ if @api_client.config.debugging
301
+ @api_client.config.logger.debug "API called: RentalPropertiesApi#create_rental_unit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
302
+ end
303
+ return data, status_code, headers
304
+ end
305
+
238
306
  # Create an image for a rental using a video link
239
- # Creates an image for a rental using a video link. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
307
+ # Creates an image for a rental using a video link. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
240
308
  # @param property_id [Integer]
241
- # @param video_link_request_post_message [VideoLinkRequestPostMessage]
309
+ # @param create_video_link_request_request [CreateVideoLinkRequestRequest]
242
310
  # @param [Hash] opts the optional parameters
243
311
  # @return [RentalImageMessage]
244
- def create_video_link_request(property_id, video_link_request_post_message, opts = {})
245
- data, _status_code, _headers = create_video_link_request_with_http_info(property_id, video_link_request_post_message, opts)
312
+ def create_video_link_request(property_id, create_video_link_request_request, opts = {})
313
+ data, _status_code, _headers = create_video_link_request_with_http_info(property_id, create_video_link_request_request, opts)
246
314
  data
247
315
  end
248
316
 
249
317
  # Create an image for a rental using a video link
250
- # Creates an image for a rental using a video link. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
318
+ # Creates an image for a rental using a video link. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
251
319
  # @param property_id [Integer]
252
- # @param video_link_request_post_message [VideoLinkRequestPostMessage]
320
+ # @param create_video_link_request_request [CreateVideoLinkRequestRequest]
253
321
  # @param [Hash] opts the optional parameters
254
322
  # @return [Array<(RentalImageMessage, Integer, Hash)>] RentalImageMessage data, response status code and response headers
255
- def create_video_link_request_with_http_info(property_id, video_link_request_post_message, opts = {})
323
+ def create_video_link_request_with_http_info(property_id, create_video_link_request_request, opts = {})
256
324
  if @api_client.config.debugging
257
325
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.create_video_link_request ...'
258
326
  end
@@ -260,9 +328,9 @@ module Buildium
260
328
  if @api_client.config.client_side_validation && property_id.nil?
261
329
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.create_video_link_request"
262
330
  end
263
- # verify the required parameter 'video_link_request_post_message' is set
264
- if @api_client.config.client_side_validation && video_link_request_post_message.nil?
265
- fail ArgumentError, "Missing the required parameter 'video_link_request_post_message' when calling RentalPropertiesApi.create_video_link_request"
331
+ # verify the required parameter 'create_video_link_request_request' is set
332
+ if @api_client.config.client_side_validation && create_video_link_request_request.nil?
333
+ fail ArgumentError, "Missing the required parameter 'create_video_link_request_request' when calling RentalPropertiesApi.create_video_link_request"
266
334
  end
267
335
  # resource path
268
336
  local_var_path = '/v1/rentals/{propertyId}/images/videolinkrequests'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -277,14 +345,14 @@ module Buildium
277
345
  # HTTP header 'Content-Type'
278
346
  content_type = @api_client.select_header_content_type(['application/json'])
279
347
  if !content_type.nil?
280
- header_params['Content-Type'] = content_type
348
+ header_params['Content-Type'] = content_type
281
349
  end
282
350
 
283
351
  # form parameters
284
352
  form_params = opts[:form_params] || {}
285
353
 
286
354
  # http body (model)
287
- post_body = opts[:debug_body] || @api_client.object_to_http_body(video_link_request_post_message)
355
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_video_link_request_request)
288
356
 
289
357
  # return_type
290
358
  return_type = opts[:debug_return_type] || 'RentalImageMessage'
@@ -310,7 +378,7 @@ module Buildium
310
378
  end
311
379
 
312
380
  # Delete a property image
313
- # Deletes a rental property image. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit` `Delete`
381
+ # Deletes a rental property image. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit` `Delete`
314
382
  # @param property_id [Integer]
315
383
  # @param image_id [Integer]
316
384
  # @param [Hash] opts the optional parameters
@@ -321,7 +389,7 @@ module Buildium
321
389
  end
322
390
 
323
391
  # Delete a property image
324
- # Deletes a rental property image. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &#x60;Delete&#x60;
392
+ # Deletes a rental property image. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &#x60;Delete&#x60;
325
393
  # @param property_id [Integer]
326
394
  # @param image_id [Integer]
327
395
  # @param [Hash] opts the optional parameters
@@ -378,8 +446,83 @@ module Buildium
378
446
  return data, status_code, headers
379
447
  end
380
448
 
449
+ # Retrieve all units
450
+ # Retrieves a list of rental property units. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
451
+ # @param [Hash] opts the optional parameters
452
+ # @option opts [Array<Integer>] :propertyids Filters results to rental units that belong to the specified set of property ids.
453
+ # @option opts [Time] :lastupdatedfrom Filters results to any rental units that were updated on or after the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
454
+ # @option opts [Time] :lastupdatedto Filters results to any rental units that were updated on or before the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
455
+ # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
456
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
457
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
458
+ # @return [Array<RentalUnitMessage>]
459
+ def get_all_rental_units(opts = {})
460
+ data, _status_code, _headers = get_all_rental_units_with_http_info(opts)
461
+ data
462
+ end
463
+
464
+ # Retrieve all units
465
+ # Retrieves a list of rental property units. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
466
+ # @param [Hash] opts the optional parameters
467
+ # @option opts [Array<Integer>] :propertyids Filters results to rental units that belong to the specified set of property ids.
468
+ # @option opts [Time] :lastupdatedfrom Filters results to any rental units that were updated on or after the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
469
+ # @option opts [Time] :lastupdatedto Filters results to any rental units that were updated on or before the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
470
+ # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
471
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
472
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
473
+ # @return [Array<(Array<RentalUnitMessage>, Integer, Hash)>] Array<RentalUnitMessage> data, response status code and response headers
474
+ def get_all_rental_units_with_http_info(opts = {})
475
+ if @api_client.config.debugging
476
+ @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.get_all_rental_units ...'
477
+ end
478
+ # resource path
479
+ local_var_path = '/v1/rentals/units'
480
+
481
+ # query parameters
482
+ query_params = opts[:query_params] || {}
483
+ query_params[:'propertyids'] = @api_client.build_collection_param(opts[:'propertyids'], :multi) if !opts[:'propertyids'].nil?
484
+ query_params[:'lastupdatedfrom'] = opts[:'lastupdatedfrom'] if !opts[:'lastupdatedfrom'].nil?
485
+ query_params[:'lastupdatedto'] = opts[:'lastupdatedto'] if !opts[:'lastupdatedto'].nil?
486
+ query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
487
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
488
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
489
+
490
+ # header parameters
491
+ header_params = opts[:header_params] || {}
492
+ # HTTP header 'Accept' (if needed)
493
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
494
+
495
+ # form parameters
496
+ form_params = opts[:form_params] || {}
497
+
498
+ # http body (model)
499
+ post_body = opts[:debug_body]
500
+
501
+ # return_type
502
+ return_type = opts[:debug_return_type] || 'Array<RentalUnitMessage>'
503
+
504
+ # auth_names
505
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
506
+
507
+ new_options = opts.merge(
508
+ :operation => :"RentalPropertiesApi.get_all_rental_units",
509
+ :header_params => header_params,
510
+ :query_params => query_params,
511
+ :form_params => form_params,
512
+ :body => post_body,
513
+ :auth_names => auth_names,
514
+ :return_type => return_type
515
+ )
516
+
517
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
518
+ if @api_client.config.debugging
519
+ @api_client.config.logger.debug "API called: RentalPropertiesApi#get_all_rental_units\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
520
+ end
521
+ return data, status_code, headers
522
+ end
523
+
381
524
  # Retrieve all properties
382
- # Retrieves a list of rental properties. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
525
+ # Retrieves a list of rental properties. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
383
526
  # @param [Hash] opts the optional parameters
384
527
  # @option opts [String] :location Filters results to only rental properties whose city or state *contains* the specified value.
385
528
  # @option opts [Array<String>] :types Filters results by the rental type. If no type is provided all types will be returned.
@@ -399,7 +542,7 @@ module Buildium
399
542
  end
400
543
 
401
544
  # Retrieve all properties
402
- # Retrieves a list of rental properties. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
545
+ # Retrieves a list of rental properties. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
403
546
  # @param [Hash] opts the optional parameters
404
547
  # @option opts [String] :location Filters results to only rental properties whose city or state *contains* the specified value.
405
548
  # @option opts [Array<String>] :types Filters results by the rental type. If no type is provided all types will be returned.
@@ -481,7 +624,7 @@ module Buildium
481
624
  end
482
625
 
483
626
  # Retrieve ePay settings
484
- # Retrieves ePay settings for a rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
627
+ # Retrieves ePay settings for a rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
485
628
  # @param property_id [Integer]
486
629
  # @param [Hash] opts the optional parameters
487
630
  # @return [EPaySettingsMessage]
@@ -491,7 +634,7 @@ module Buildium
491
634
  end
492
635
 
493
636
  # Retrieve ePay settings
494
- # Retrieves ePay settings for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
637
+ # Retrieves ePay settings for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
495
638
  # @param property_id [Integer]
496
639
  # @param [Hash] opts the optional parameters
497
640
  # @return [Array<(EPaySettingsMessage, Integer, Hash)>] EPaySettingsMessage data, response status code and response headers
@@ -544,7 +687,7 @@ module Buildium
544
687
  end
545
688
 
546
689
  # Retrieve all amenities
547
- # Retrieve all the amenities for a rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
690
+ # Retrieve all the amenities for a rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
548
691
  # @param property_id [Integer]
549
692
  # @param [Hash] opts the optional parameters
550
693
  # @return [RentalFeaturesMessage]
@@ -554,7 +697,7 @@ module Buildium
554
697
  end
555
698
 
556
699
  # Retrieve all amenities
557
- # Retrieve all the amenities for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
700
+ # Retrieve all the amenities for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
558
701
  # @param property_id [Integer]
559
702
  # @param [Hash] opts the optional parameters
560
703
  # @return [Array<(RentalFeaturesMessage, Integer, Hash)>] RentalFeaturesMessage data, response status code and response headers
@@ -607,7 +750,7 @@ module Buildium
607
750
  end
608
751
 
609
752
  # Retrieve a property
610
- # Retrieve a specific rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
753
+ # Retrieve a specific rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
611
754
  # @param property_id [Integer] The rental property identifier.
612
755
  # @param [Hash] opts the optional parameters
613
756
  # @return [RentalMessage]
@@ -617,7 +760,7 @@ module Buildium
617
760
  end
618
761
 
619
762
  # Retrieve a property
620
- # Retrieve a specific rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
763
+ # Retrieve a specific rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
621
764
  # @param property_id [Integer] The rental property identifier.
622
765
  # @param [Hash] opts the optional parameters
623
766
  # @return [Array<(RentalMessage, Integer, Hash)>] RentalMessage data, response status code and response headers
@@ -670,7 +813,7 @@ module Buildium
670
813
  end
671
814
 
672
815
  # Retrieve a property image
673
- # Retrieves a rental property image. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
816
+ # Retrieves a rental property image. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
674
817
  # @param property_id [Integer]
675
818
  # @param image_id [Integer]
676
819
  # @param [Hash] opts the optional parameters
@@ -681,7 +824,7 @@ module Buildium
681
824
  end
682
825
 
683
826
  # Retrieve a property image
684
- # Retrieves a rental property image. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
827
+ # Retrieves a rental property image. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
685
828
  # @param property_id [Integer]
686
829
  # @param image_id [Integer]
687
830
  # @param [Hash] opts the optional parameters
@@ -739,7 +882,7 @@ module Buildium
739
882
  end
740
883
 
741
884
  # Download a property image
742
- # Use this endpoint to create a temporary URL that can be used to download a property image. This URL expires after 5 minutes. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
885
+ # Use this endpoint to create a temporary URL that can be used to download a property image. This URL expires after 5 minutes. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
743
886
  # @param property_id [Integer]
744
887
  # @param image_id [Integer]
745
888
  # @param [Hash] opts the optional parameters
@@ -750,7 +893,7 @@ module Buildium
750
893
  end
751
894
 
752
895
  # Download a property image
753
- # Use this endpoint to create a temporary URL that can be used to download a property image. This URL expires after 5 minutes. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
896
+ # Use this endpoint to create a temporary URL that can be used to download a property image. This URL expires after 5 minutes. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
754
897
  # @param property_id [Integer]
755
898
  # @param image_id [Integer]
756
899
  # @param [Hash] opts the optional parameters
@@ -808,7 +951,7 @@ module Buildium
808
951
  end
809
952
 
810
953
  # Retrieve all property images
811
- # Retrieves all images for a rental property. Note this endpoint will only return file metadata such as file names and descriptions. To download files make requests to the [Download File](#tag/Rental-Properties/operation/GetRentalImageDownloadUrlById) endpoint. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
954
+ # Retrieves all images for a rental property. Note this endpoint will only return file metadata such as file names and descriptions. To download files make requests to the [Download File](#tag/Rental-Properties/operation/GetRentalImageDownloadUrlById) endpoint. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
812
955
  # @param property_id [Integer]
813
956
  # @param [Hash] opts the optional parameters
814
957
  # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
@@ -821,7 +964,7 @@ module Buildium
821
964
  end
822
965
 
823
966
  # Retrieve all property images
824
- # Retrieves all images for a rental property. Note this endpoint will only return file metadata such as file names and descriptions. To download files make requests to the [Download File](#tag/Rental-Properties/operation/GetRentalImageDownloadUrlById) endpoint. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
967
+ # Retrieves all images for a rental property. Note this endpoint will only return file metadata such as file names and descriptions. To download files make requests to the [Download File](#tag/Rental-Properties/operation/GetRentalImageDownloadUrlById) endpoint. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
825
968
  # @param property_id [Integer]
826
969
  # @param [Hash] opts the optional parameters
827
970
  # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
@@ -880,7 +1023,7 @@ module Buildium
880
1023
  end
881
1024
 
882
1025
  # Retrieve a note
883
- # Retrieves a note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
1026
+ # Retrieves a note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
884
1027
  # @param property_id [Integer]
885
1028
  # @param note_id [Integer]
886
1029
  # @param [Hash] opts the optional parameters
@@ -891,7 +1034,7 @@ module Buildium
891
1034
  end
892
1035
 
893
1036
  # Retrieve a note
894
- # Retrieves a note. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
1037
+ # Retrieves a note. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
895
1038
  # @param property_id [Integer]
896
1039
  # @param note_id [Integer]
897
1040
  # @param [Hash] opts the optional parameters
@@ -949,7 +1092,7 @@ module Buildium
949
1092
  end
950
1093
 
951
1094
  # Retrieve all notes
952
- # Retrieves all notes. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View`
1095
+ # Retrieves all notes. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
953
1096
  # @param property_id [Integer]
954
1097
  # @param [Hash] opts the optional parameters
955
1098
  # @option opts [Time] :updateddatetimefrom Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
@@ -965,7 +1108,7 @@ module Buildium
965
1108
  end
966
1109
 
967
1110
  # Retrieve all notes
968
- # Retrieves all notes. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
1111
+ # Retrieves all notes. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
969
1112
  # @param property_id [Integer]
970
1113
  # @param [Hash] opts the optional parameters
971
1114
  # @option opts [Time] :updateddatetimefrom Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
@@ -1030,7 +1173,7 @@ module Buildium
1030
1173
  end
1031
1174
 
1032
1175
  # Retrieve all preferred vendors
1033
- # Retrieves all preferred vendors. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` <br /><span class=\"permissionBlock\">Maintenance &gt; Vendors</span> - `View`
1176
+ # Retrieves all preferred vendors. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` <br /><span class=\"permissionBlock\">Maintenance > Vendors</span> - `View`
1034
1177
  # @param property_id [Integer]
1035
1178
  # @param [Hash] opts the optional parameters
1036
1179
  # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
@@ -1043,7 +1186,7 @@ module Buildium
1043
1186
  end
1044
1187
 
1045
1188
  # Retrieve all preferred vendors
1046
- # Retrieves all preferred vendors. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Maintenance &amp;gt; Vendors&lt;/span&gt; - &#x60;View&#x60;
1189
+ # Retrieves all preferred vendors. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Maintenance &gt; Vendors&lt;/span&gt; - &#x60;View&#x60;
1047
1190
  # @param property_id [Integer]
1048
1191
  # @param [Hash] opts the optional parameters
1049
1192
  # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
@@ -1101,8 +1244,71 @@ module Buildium
1101
1244
  return data, status_code, headers
1102
1245
  end
1103
1246
 
1247
+ # Retrieve a unit
1248
+ # Retrieves a specific rental property unit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View`
1249
+ # @param unit_id [Integer] The rental unit identifier.
1250
+ # @param [Hash] opts the optional parameters
1251
+ # @return [RentalUnitMessage]
1252
+ def get_rental_unit_by_id(unit_id, opts = {})
1253
+ data, _status_code, _headers = get_rental_unit_by_id_with_http_info(unit_id, opts)
1254
+ data
1255
+ end
1256
+
1257
+ # Retrieve a unit
1258
+ # Retrieves a specific rental property unit. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60;
1259
+ # @param unit_id [Integer] The rental unit identifier.
1260
+ # @param [Hash] opts the optional parameters
1261
+ # @return [Array<(RentalUnitMessage, Integer, Hash)>] RentalUnitMessage data, response status code and response headers
1262
+ def get_rental_unit_by_id_with_http_info(unit_id, opts = {})
1263
+ if @api_client.config.debugging
1264
+ @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.get_rental_unit_by_id ...'
1265
+ end
1266
+ # verify the required parameter 'unit_id' is set
1267
+ if @api_client.config.client_side_validation && unit_id.nil?
1268
+ fail ArgumentError, "Missing the required parameter 'unit_id' when calling RentalPropertiesApi.get_rental_unit_by_id"
1269
+ end
1270
+ # resource path
1271
+ local_var_path = '/v1/rentals/units/{unitId}'.sub('{' + 'unitId' + '}', CGI.escape(unit_id.to_s))
1272
+
1273
+ # query parameters
1274
+ query_params = opts[:query_params] || {}
1275
+
1276
+ # header parameters
1277
+ header_params = opts[:header_params] || {}
1278
+ # HTTP header 'Accept' (if needed)
1279
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1280
+
1281
+ # form parameters
1282
+ form_params = opts[:form_params] || {}
1283
+
1284
+ # http body (model)
1285
+ post_body = opts[:debug_body]
1286
+
1287
+ # return_type
1288
+ return_type = opts[:debug_return_type] || 'RentalUnitMessage'
1289
+
1290
+ # auth_names
1291
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1292
+
1293
+ new_options = opts.merge(
1294
+ :operation => :"RentalPropertiesApi.get_rental_unit_by_id",
1295
+ :header_params => header_params,
1296
+ :query_params => query_params,
1297
+ :form_params => form_params,
1298
+ :body => post_body,
1299
+ :auth_names => auth_names,
1300
+ :return_type => return_type
1301
+ )
1302
+
1303
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1304
+ if @api_client.config.debugging
1305
+ @api_client.config.logger.debug "API called: RentalPropertiesApi#get_rental_unit_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1306
+ end
1307
+ return data, status_code, headers
1308
+ end
1309
+
1104
1310
  # Inactivate a property
1105
- # Inactivates a rental property and all associated units. Any associated property's owners that have no remaining active properties will be inactivated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1311
+ # Inactivates a rental property and all associated units. Any associated property's owners that have no remaining active properties will be inactivated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1106
1312
  # @param property_id [Integer]
1107
1313
  # @param [Hash] opts the optional parameters
1108
1314
  # @return [nil]
@@ -1112,7 +1318,7 @@ module Buildium
1112
1318
  end
1113
1319
 
1114
1320
  # Inactivate a property
1115
- # Inactivates a rental property and all associated units. Any associated property&#39;s owners that have no remaining active properties will be inactivated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1321
+ # Inactivates a rental property and all associated units. Any associated property&#39;s owners that have no remaining active properties will be inactivated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1116
1322
  # @param property_id [Integer]
1117
1323
  # @param [Hash] opts the optional parameters
1118
1324
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -1165,7 +1371,7 @@ module Buildium
1165
1371
  end
1166
1372
 
1167
1373
  # Reactivate a property
1168
- # Reactivates a rental property and all associated units. Any inactive rental owners assigned to this property will also be reactivated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1374
+ # Reactivates a rental property and all associated units. Any inactive rental owners assigned to this property will also be reactivated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1169
1375
  # @param property_id [Integer]
1170
1376
  # @param [Hash] opts the optional parameters
1171
1377
  # @return [nil]
@@ -1175,7 +1381,7 @@ module Buildium
1175
1381
  end
1176
1382
 
1177
1383
  # Reactivate a property
1178
- # Reactivates a rental property and all associated units. Any inactive rental owners assigned to this property will also be reactivated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1384
+ # Reactivates a rental property and all associated units. Any inactive rental owners assigned to this property will also be reactivated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1179
1385
  # @param property_id [Integer]
1180
1386
  # @param [Hash] opts the optional parameters
1181
1387
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -1228,23 +1434,23 @@ module Buildium
1228
1434
  end
1229
1435
 
1230
1436
  # Update property image order
1231
- # Updates the image display order within the Buildium web application and in any associated rental listings. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1437
+ # Updates the image display order within the Buildium web application and in any associated rental listings. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1232
1438
  # @param property_id [Integer]
1233
- # @param image_reorder_request_put_message [ImageReorderRequestPutMessage]
1439
+ # @param reorder_rental_images_request [ReorderRentalImagesRequest]
1234
1440
  # @param [Hash] opts the optional parameters
1235
1441
  # @return [Array<RentalImageMessage>]
1236
- def reorder_rental_images(property_id, image_reorder_request_put_message, opts = {})
1237
- data, _status_code, _headers = reorder_rental_images_with_http_info(property_id, image_reorder_request_put_message, opts)
1442
+ def reorder_rental_images(property_id, reorder_rental_images_request, opts = {})
1443
+ data, _status_code, _headers = reorder_rental_images_with_http_info(property_id, reorder_rental_images_request, opts)
1238
1444
  data
1239
1445
  end
1240
1446
 
1241
1447
  # Update property image order
1242
- # Updates the image display order within the Buildium web application and in any associated rental listings. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1448
+ # Updates the image display order within the Buildium web application and in any associated rental listings. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1243
1449
  # @param property_id [Integer]
1244
- # @param image_reorder_request_put_message [ImageReorderRequestPutMessage]
1450
+ # @param reorder_rental_images_request [ReorderRentalImagesRequest]
1245
1451
  # @param [Hash] opts the optional parameters
1246
1452
  # @return [Array<(Array<RentalImageMessage>, Integer, Hash)>] Array<RentalImageMessage> data, response status code and response headers
1247
- def reorder_rental_images_with_http_info(property_id, image_reorder_request_put_message, opts = {})
1453
+ def reorder_rental_images_with_http_info(property_id, reorder_rental_images_request, opts = {})
1248
1454
  if @api_client.config.debugging
1249
1455
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.reorder_rental_images ...'
1250
1456
  end
@@ -1252,9 +1458,9 @@ module Buildium
1252
1458
  if @api_client.config.client_side_validation && property_id.nil?
1253
1459
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.reorder_rental_images"
1254
1460
  end
1255
- # verify the required parameter 'image_reorder_request_put_message' is set
1256
- if @api_client.config.client_side_validation && image_reorder_request_put_message.nil?
1257
- fail ArgumentError, "Missing the required parameter 'image_reorder_request_put_message' when calling RentalPropertiesApi.reorder_rental_images"
1461
+ # verify the required parameter 'reorder_rental_images_request' is set
1462
+ if @api_client.config.client_side_validation && reorder_rental_images_request.nil?
1463
+ fail ArgumentError, "Missing the required parameter 'reorder_rental_images_request' when calling RentalPropertiesApi.reorder_rental_images"
1258
1464
  end
1259
1465
  # resource path
1260
1466
  local_var_path = '/v1/rentals/{propertyId}/images/order'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -1269,14 +1475,14 @@ module Buildium
1269
1475
  # HTTP header 'Content-Type'
1270
1476
  content_type = @api_client.select_header_content_type(['application/json'])
1271
1477
  if !content_type.nil?
1272
- header_params['Content-Type'] = content_type
1478
+ header_params['Content-Type'] = content_type
1273
1479
  end
1274
1480
 
1275
1481
  # form parameters
1276
1482
  form_params = opts[:form_params] || {}
1277
1483
 
1278
1484
  # http body (model)
1279
- post_body = opts[:debug_body] || @api_client.object_to_http_body(image_reorder_request_put_message)
1485
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(reorder_rental_images_request)
1280
1486
 
1281
1487
  # return_type
1282
1488
  return_type = opts[:debug_return_type] || 'Array<RentalImageMessage>'
@@ -1302,23 +1508,23 @@ module Buildium
1302
1508
  end
1303
1509
 
1304
1510
  # Update ePay settings
1305
- # Updates ePay settings for a rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1511
+ # Updates ePay settings for a rental property. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1306
1512
  # @param property_id [Integer]
1307
- # @param e_pay_settings_put_message [EPaySettingsPutMessage]
1513
+ # @param update_e_pay_settings_for_association_request [UpdateEPaySettingsForAssociationRequest]
1308
1514
  # @param [Hash] opts the optional parameters
1309
1515
  # @return [EPaySettingsMessage]
1310
- def update_e_pay_settings_for_rental(property_id, e_pay_settings_put_message, opts = {})
1311
- data, _status_code, _headers = update_e_pay_settings_for_rental_with_http_info(property_id, e_pay_settings_put_message, opts)
1516
+ def update_e_pay_settings_for_rental(property_id, update_e_pay_settings_for_association_request, opts = {})
1517
+ data, _status_code, _headers = update_e_pay_settings_for_rental_with_http_info(property_id, update_e_pay_settings_for_association_request, opts)
1312
1518
  data
1313
1519
  end
1314
1520
 
1315
1521
  # Update ePay settings
1316
- # Updates ePay settings for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1522
+ # Updates ePay settings for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1317
1523
  # @param property_id [Integer]
1318
- # @param e_pay_settings_put_message [EPaySettingsPutMessage]
1524
+ # @param update_e_pay_settings_for_association_request [UpdateEPaySettingsForAssociationRequest]
1319
1525
  # @param [Hash] opts the optional parameters
1320
1526
  # @return [Array<(EPaySettingsMessage, Integer, Hash)>] EPaySettingsMessage data, response status code and response headers
1321
- def update_e_pay_settings_for_rental_with_http_info(property_id, e_pay_settings_put_message, opts = {})
1527
+ def update_e_pay_settings_for_rental_with_http_info(property_id, update_e_pay_settings_for_association_request, opts = {})
1322
1528
  if @api_client.config.debugging
1323
1529
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.update_e_pay_settings_for_rental ...'
1324
1530
  end
@@ -1326,9 +1532,9 @@ module Buildium
1326
1532
  if @api_client.config.client_side_validation && property_id.nil?
1327
1533
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.update_e_pay_settings_for_rental"
1328
1534
  end
1329
- # verify the required parameter 'e_pay_settings_put_message' is set
1330
- if @api_client.config.client_side_validation && e_pay_settings_put_message.nil?
1331
- fail ArgumentError, "Missing the required parameter 'e_pay_settings_put_message' when calling RentalPropertiesApi.update_e_pay_settings_for_rental"
1535
+ # verify the required parameter 'update_e_pay_settings_for_association_request' is set
1536
+ if @api_client.config.client_side_validation && update_e_pay_settings_for_association_request.nil?
1537
+ fail ArgumentError, "Missing the required parameter 'update_e_pay_settings_for_association_request' when calling RentalPropertiesApi.update_e_pay_settings_for_rental"
1332
1538
  end
1333
1539
  # resource path
1334
1540
  local_var_path = '/v1/rentals/{propertyId}/epaysettings'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -1343,14 +1549,14 @@ module Buildium
1343
1549
  # HTTP header 'Content-Type'
1344
1550
  content_type = @api_client.select_header_content_type(['application/json'])
1345
1551
  if !content_type.nil?
1346
- header_params['Content-Type'] = content_type
1552
+ header_params['Content-Type'] = content_type
1347
1553
  end
1348
1554
 
1349
1555
  # form parameters
1350
1556
  form_params = opts[:form_params] || {}
1351
1557
 
1352
1558
  # http body (model)
1353
- post_body = opts[:debug_body] || @api_client.object_to_http_body(e_pay_settings_put_message)
1559
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_e_pay_settings_for_association_request)
1354
1560
 
1355
1561
  # return_type
1356
1562
  return_type = opts[:debug_return_type] || 'EPaySettingsMessage'
@@ -1376,23 +1582,23 @@ module Buildium
1376
1582
  end
1377
1583
 
1378
1584
  # Update amenities
1379
- # Updates the amenities for a rental property. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1585
+ # Updates the amenities for a rental property. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1380
1586
  # @param property_id [Integer]
1381
- # @param rental_features_put_message [RentalFeaturesPutMessage]
1587
+ # @param update_rental_features_request [UpdateRentalFeaturesRequest]
1382
1588
  # @param [Hash] opts the optional parameters
1383
1589
  # @return [RentalFeaturesMessage]
1384
- def update_rental_features(property_id, rental_features_put_message, opts = {})
1385
- data, _status_code, _headers = update_rental_features_with_http_info(property_id, rental_features_put_message, opts)
1590
+ def update_rental_features(property_id, update_rental_features_request, opts = {})
1591
+ data, _status_code, _headers = update_rental_features_with_http_info(property_id, update_rental_features_request, opts)
1386
1592
  data
1387
1593
  end
1388
1594
 
1389
1595
  # Update amenities
1390
- # Updates the amenities for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1596
+ # Updates the amenities for a rental property. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1391
1597
  # @param property_id [Integer]
1392
- # @param rental_features_put_message [RentalFeaturesPutMessage]
1598
+ # @param update_rental_features_request [UpdateRentalFeaturesRequest]
1393
1599
  # @param [Hash] opts the optional parameters
1394
1600
  # @return [Array<(RentalFeaturesMessage, Integer, Hash)>] RentalFeaturesMessage data, response status code and response headers
1395
- def update_rental_features_with_http_info(property_id, rental_features_put_message, opts = {})
1601
+ def update_rental_features_with_http_info(property_id, update_rental_features_request, opts = {})
1396
1602
  if @api_client.config.debugging
1397
1603
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.update_rental_features ...'
1398
1604
  end
@@ -1400,9 +1606,9 @@ module Buildium
1400
1606
  if @api_client.config.client_side_validation && property_id.nil?
1401
1607
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.update_rental_features"
1402
1608
  end
1403
- # verify the required parameter 'rental_features_put_message' is set
1404
- if @api_client.config.client_side_validation && rental_features_put_message.nil?
1405
- fail ArgumentError, "Missing the required parameter 'rental_features_put_message' when calling RentalPropertiesApi.update_rental_features"
1609
+ # verify the required parameter 'update_rental_features_request' is set
1610
+ if @api_client.config.client_side_validation && update_rental_features_request.nil?
1611
+ fail ArgumentError, "Missing the required parameter 'update_rental_features_request' when calling RentalPropertiesApi.update_rental_features"
1406
1612
  end
1407
1613
  # resource path
1408
1614
  local_var_path = '/v1/rentals/{propertyId}/amenities'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -1417,14 +1623,14 @@ module Buildium
1417
1623
  # HTTP header 'Content-Type'
1418
1624
  content_type = @api_client.select_header_content_type(['application/json'])
1419
1625
  if !content_type.nil?
1420
- header_params['Content-Type'] = content_type
1626
+ header_params['Content-Type'] = content_type
1421
1627
  end
1422
1628
 
1423
1629
  # form parameters
1424
1630
  form_params = opts[:form_params] || {}
1425
1631
 
1426
1632
  # http body (model)
1427
- post_body = opts[:debug_body] || @api_client.object_to_http_body(rental_features_put_message)
1633
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_rental_features_request)
1428
1634
 
1429
1635
  # return_type
1430
1636
  return_type = opts[:debug_return_type] || 'RentalFeaturesMessage'
@@ -1450,25 +1656,25 @@ module Buildium
1450
1656
  end
1451
1657
 
1452
1658
  # Update a property image
1453
- # Updates a rental property image. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1659
+ # Updates a rental property image. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1454
1660
  # @param property_id [Integer]
1455
1661
  # @param image_id [Integer]
1456
- # @param rental_image_put_message [RentalImagePutMessage]
1662
+ # @param update_rental_image_request [UpdateRentalImageRequest]
1457
1663
  # @param [Hash] opts the optional parameters
1458
1664
  # @return [RentalImageMessage]
1459
- def update_rental_image(property_id, image_id, rental_image_put_message, opts = {})
1460
- data, _status_code, _headers = update_rental_image_with_http_info(property_id, image_id, rental_image_put_message, opts)
1665
+ def update_rental_image(property_id, image_id, update_rental_image_request, opts = {})
1666
+ data, _status_code, _headers = update_rental_image_with_http_info(property_id, image_id, update_rental_image_request, opts)
1461
1667
  data
1462
1668
  end
1463
1669
 
1464
1670
  # Update a property image
1465
- # Updates a rental property image. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1671
+ # Updates a rental property image. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1466
1672
  # @param property_id [Integer]
1467
1673
  # @param image_id [Integer]
1468
- # @param rental_image_put_message [RentalImagePutMessage]
1674
+ # @param update_rental_image_request [UpdateRentalImageRequest]
1469
1675
  # @param [Hash] opts the optional parameters
1470
1676
  # @return [Array<(RentalImageMessage, Integer, Hash)>] RentalImageMessage data, response status code and response headers
1471
- def update_rental_image_with_http_info(property_id, image_id, rental_image_put_message, opts = {})
1677
+ def update_rental_image_with_http_info(property_id, image_id, update_rental_image_request, opts = {})
1472
1678
  if @api_client.config.debugging
1473
1679
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.update_rental_image ...'
1474
1680
  end
@@ -1480,9 +1686,9 @@ module Buildium
1480
1686
  if @api_client.config.client_side_validation && image_id.nil?
1481
1687
  fail ArgumentError, "Missing the required parameter 'image_id' when calling RentalPropertiesApi.update_rental_image"
1482
1688
  end
1483
- # verify the required parameter 'rental_image_put_message' is set
1484
- if @api_client.config.client_side_validation && rental_image_put_message.nil?
1485
- fail ArgumentError, "Missing the required parameter 'rental_image_put_message' when calling RentalPropertiesApi.update_rental_image"
1689
+ # verify the required parameter 'update_rental_image_request' is set
1690
+ if @api_client.config.client_side_validation && update_rental_image_request.nil?
1691
+ fail ArgumentError, "Missing the required parameter 'update_rental_image_request' when calling RentalPropertiesApi.update_rental_image"
1486
1692
  end
1487
1693
  # resource path
1488
1694
  local_var_path = '/v1/rentals/{propertyId}/images/{imageId}'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s)).sub('{' + 'imageId' + '}', CGI.escape(image_id.to_s))
@@ -1497,14 +1703,14 @@ module Buildium
1497
1703
  # HTTP header 'Content-Type'
1498
1704
  content_type = @api_client.select_header_content_type(['application/json'])
1499
1705
  if !content_type.nil?
1500
- header_params['Content-Type'] = content_type
1706
+ header_params['Content-Type'] = content_type
1501
1707
  end
1502
1708
 
1503
1709
  # form parameters
1504
1710
  form_params = opts[:form_params] || {}
1505
1711
 
1506
1712
  # http body (model)
1507
- post_body = opts[:debug_body] || @api_client.object_to_http_body(rental_image_put_message)
1713
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_rental_image_request)
1508
1714
 
1509
1715
  # return_type
1510
1716
  return_type = opts[:debug_return_type] || 'RentalImageMessage'
@@ -1530,23 +1736,23 @@ module Buildium
1530
1736
  end
1531
1737
 
1532
1738
  # Update preferred vendors
1533
- # Updates preferred vendors. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Maintenance &gt; Vendors</span> - `View` `Edit`
1739
+ # Updates preferred vendors. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Maintenance > Vendors</span> - `View` `Edit`
1534
1740
  # @param property_id [Integer]
1535
- # @param rental_preferred_vendor_put_message [RentalPreferredVendorPutMessage]
1741
+ # @param update_rental_preferred_vendors_request [UpdateRentalPreferredVendorsRequest]
1536
1742
  # @param [Hash] opts the optional parameters
1537
1743
  # @return [Array<RentalPreferredVendorMessage>]
1538
- def update_rental_preferred_vendors(property_id, rental_preferred_vendor_put_message, opts = {})
1539
- data, _status_code, _headers = update_rental_preferred_vendors_with_http_info(property_id, rental_preferred_vendor_put_message, opts)
1744
+ def update_rental_preferred_vendors(property_id, update_rental_preferred_vendors_request, opts = {})
1745
+ data, _status_code, _headers = update_rental_preferred_vendors_with_http_info(property_id, update_rental_preferred_vendors_request, opts)
1540
1746
  data
1541
1747
  end
1542
1748
 
1543
1749
  # Update preferred vendors
1544
- # Updates preferred vendors. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Maintenance &amp;gt; Vendors&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1750
+ # Updates preferred vendors. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Maintenance &gt; Vendors&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1545
1751
  # @param property_id [Integer]
1546
- # @param rental_preferred_vendor_put_message [RentalPreferredVendorPutMessage]
1752
+ # @param update_rental_preferred_vendors_request [UpdateRentalPreferredVendorsRequest]
1547
1753
  # @param [Hash] opts the optional parameters
1548
1754
  # @return [Array<(Array<RentalPreferredVendorMessage>, Integer, Hash)>] Array<RentalPreferredVendorMessage> data, response status code and response headers
1549
- def update_rental_preferred_vendors_with_http_info(property_id, rental_preferred_vendor_put_message, opts = {})
1755
+ def update_rental_preferred_vendors_with_http_info(property_id, update_rental_preferred_vendors_request, opts = {})
1550
1756
  if @api_client.config.debugging
1551
1757
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.update_rental_preferred_vendors ...'
1552
1758
  end
@@ -1554,9 +1760,9 @@ module Buildium
1554
1760
  if @api_client.config.client_side_validation && property_id.nil?
1555
1761
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.update_rental_preferred_vendors"
1556
1762
  end
1557
- # verify the required parameter 'rental_preferred_vendor_put_message' is set
1558
- if @api_client.config.client_side_validation && rental_preferred_vendor_put_message.nil?
1559
- fail ArgumentError, "Missing the required parameter 'rental_preferred_vendor_put_message' when calling RentalPropertiesApi.update_rental_preferred_vendors"
1763
+ # verify the required parameter 'update_rental_preferred_vendors_request' is set
1764
+ if @api_client.config.client_side_validation && update_rental_preferred_vendors_request.nil?
1765
+ fail ArgumentError, "Missing the required parameter 'update_rental_preferred_vendors_request' when calling RentalPropertiesApi.update_rental_preferred_vendors"
1560
1766
  end
1561
1767
  # resource path
1562
1768
  local_var_path = '/v1/rentals/{propertyId}/vendors'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -1571,14 +1777,14 @@ module Buildium
1571
1777
  # HTTP header 'Content-Type'
1572
1778
  content_type = @api_client.select_header_content_type(['application/json'])
1573
1779
  if !content_type.nil?
1574
- header_params['Content-Type'] = content_type
1780
+ header_params['Content-Type'] = content_type
1575
1781
  end
1576
1782
 
1577
1783
  # form parameters
1578
1784
  form_params = opts[:form_params] || {}
1579
1785
 
1580
1786
  # http body (model)
1581
- post_body = opts[:debug_body] || @api_client.object_to_http_body(rental_preferred_vendor_put_message)
1787
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_rental_preferred_vendors_request)
1582
1788
 
1583
1789
  # return_type
1584
1790
  return_type = opts[:debug_return_type] || 'Array<RentalPreferredVendorMessage>'
@@ -1604,23 +1810,23 @@ module Buildium
1604
1810
  end
1605
1811
 
1606
1812
  # Update a property
1607
- # Updates a rental property. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1813
+ # Updates a rental property. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1608
1814
  # @param property_id [Integer]
1609
- # @param rental_property_put_message [RentalPropertyPutMessage]
1815
+ # @param update_rental_property_request [UpdateRentalPropertyRequest]
1610
1816
  # @param [Hash] opts the optional parameters
1611
1817
  # @return [RentalMessage]
1612
- def update_rental_property(property_id, rental_property_put_message, opts = {})
1613
- data, _status_code, _headers = update_rental_property_with_http_info(property_id, rental_property_put_message, opts)
1818
+ def update_rental_property(property_id, update_rental_property_request, opts = {})
1819
+ data, _status_code, _headers = update_rental_property_with_http_info(property_id, update_rental_property_request, opts)
1614
1820
  data
1615
1821
  end
1616
1822
 
1617
1823
  # Update a property
1618
- # Updates a rental property. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1824
+ # Updates a rental property. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1619
1825
  # @param property_id [Integer]
1620
- # @param rental_property_put_message [RentalPropertyPutMessage]
1826
+ # @param update_rental_property_request [UpdateRentalPropertyRequest]
1621
1827
  # @param [Hash] opts the optional parameters
1622
1828
  # @return [Array<(RentalMessage, Integer, Hash)>] RentalMessage data, response status code and response headers
1623
- def update_rental_property_with_http_info(property_id, rental_property_put_message, opts = {})
1829
+ def update_rental_property_with_http_info(property_id, update_rental_property_request, opts = {})
1624
1830
  if @api_client.config.debugging
1625
1831
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.update_rental_property ...'
1626
1832
  end
@@ -1628,9 +1834,9 @@ module Buildium
1628
1834
  if @api_client.config.client_side_validation && property_id.nil?
1629
1835
  fail ArgumentError, "Missing the required parameter 'property_id' when calling RentalPropertiesApi.update_rental_property"
1630
1836
  end
1631
- # verify the required parameter 'rental_property_put_message' is set
1632
- if @api_client.config.client_side_validation && rental_property_put_message.nil?
1633
- fail ArgumentError, "Missing the required parameter 'rental_property_put_message' when calling RentalPropertiesApi.update_rental_property"
1837
+ # verify the required parameter 'update_rental_property_request' is set
1838
+ if @api_client.config.client_side_validation && update_rental_property_request.nil?
1839
+ fail ArgumentError, "Missing the required parameter 'update_rental_property_request' when calling RentalPropertiesApi.update_rental_property"
1634
1840
  end
1635
1841
  # resource path
1636
1842
  local_var_path = '/v1/rentals/{propertyId}'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s))
@@ -1645,14 +1851,14 @@ module Buildium
1645
1851
  # HTTP header 'Content-Type'
1646
1852
  content_type = @api_client.select_header_content_type(['application/json'])
1647
1853
  if !content_type.nil?
1648
- header_params['Content-Type'] = content_type
1854
+ header_params['Content-Type'] = content_type
1649
1855
  end
1650
1856
 
1651
1857
  # form parameters
1652
1858
  form_params = opts[:form_params] || {}
1653
1859
 
1654
1860
  # http body (model)
1655
- post_body = opts[:debug_body] || @api_client.object_to_http_body(rental_property_put_message)
1861
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_rental_property_request)
1656
1862
 
1657
1863
  # return_type
1658
1864
  return_type = opts[:debug_return_type] || 'RentalMessage'
@@ -1678,25 +1884,25 @@ module Buildium
1678
1884
  end
1679
1885
 
1680
1886
  # Update a note
1681
- # Updates a note. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Rental properties and units</span> - `View` `Edit`
1887
+ # Updates a note. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1682
1888
  # @param property_id [Integer]
1683
1889
  # @param note_id [Integer]
1684
- # @param note_put_message [NotePutMessage]
1890
+ # @param update_lease_note_request [UpdateLeaseNoteRequest]
1685
1891
  # @param [Hash] opts the optional parameters
1686
1892
  # @return [NoteMessage]
1687
- def update_rental_property_note(property_id, note_id, note_put_message, opts = {})
1688
- data, _status_code, _headers = update_rental_property_note_with_http_info(property_id, note_id, note_put_message, opts)
1893
+ def update_rental_property_note(property_id, note_id, update_lease_note_request, opts = {})
1894
+ data, _status_code, _headers = update_rental_property_note_with_http_info(property_id, note_id, update_lease_note_request, opts)
1689
1895
  data
1690
1896
  end
1691
1897
 
1692
1898
  # Update a note
1693
- # Updates a note. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &amp;gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1899
+ # Updates a note. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1694
1900
  # @param property_id [Integer]
1695
1901
  # @param note_id [Integer]
1696
- # @param note_put_message [NotePutMessage]
1902
+ # @param update_lease_note_request [UpdateLeaseNoteRequest]
1697
1903
  # @param [Hash] opts the optional parameters
1698
1904
  # @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
1699
- def update_rental_property_note_with_http_info(property_id, note_id, note_put_message, opts = {})
1905
+ def update_rental_property_note_with_http_info(property_id, note_id, update_lease_note_request, opts = {})
1700
1906
  if @api_client.config.debugging
1701
1907
  @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.update_rental_property_note ...'
1702
1908
  end
@@ -1708,9 +1914,9 @@ module Buildium
1708
1914
  if @api_client.config.client_side_validation && note_id.nil?
1709
1915
  fail ArgumentError, "Missing the required parameter 'note_id' when calling RentalPropertiesApi.update_rental_property_note"
1710
1916
  end
1711
- # verify the required parameter 'note_put_message' is set
1712
- if @api_client.config.client_side_validation && note_put_message.nil?
1713
- fail ArgumentError, "Missing the required parameter 'note_put_message' when calling RentalPropertiesApi.update_rental_property_note"
1917
+ # verify the required parameter 'update_lease_note_request' is set
1918
+ if @api_client.config.client_side_validation && update_lease_note_request.nil?
1919
+ fail ArgumentError, "Missing the required parameter 'update_lease_note_request' when calling RentalPropertiesApi.update_rental_property_note"
1714
1920
  end
1715
1921
  # resource path
1716
1922
  local_var_path = '/v1/rentals/{propertyId}/notes/{noteId}'.sub('{' + 'propertyId' + '}', CGI.escape(property_id.to_s)).sub('{' + 'noteId' + '}', CGI.escape(note_id.to_s))
@@ -1725,14 +1931,14 @@ module Buildium
1725
1931
  # HTTP header 'Content-Type'
1726
1932
  content_type = @api_client.select_header_content_type(['application/json'])
1727
1933
  if !content_type.nil?
1728
- header_params['Content-Type'] = content_type
1934
+ header_params['Content-Type'] = content_type
1729
1935
  end
1730
1936
 
1731
1937
  # form parameters
1732
1938
  form_params = opts[:form_params] || {}
1733
1939
 
1734
1940
  # http body (model)
1735
- post_body = opts[:debug_body] || @api_client.object_to_http_body(note_put_message)
1941
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_lease_note_request)
1736
1942
 
1737
1943
  # return_type
1738
1944
  return_type = opts[:debug_return_type] || 'NoteMessage'
@@ -1756,5 +1962,79 @@ module Buildium
1756
1962
  end
1757
1963
  return data, status_code, headers
1758
1964
  end
1965
+
1966
+ # Update a unit
1967
+ # Updates a rental unit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Rental properties and units</span> - `View` `Edit`
1968
+ # @param unit_id [Integer] The identifier of the unit to update.
1969
+ # @param update_rental_unit_request [UpdateRentalUnitRequest]
1970
+ # @param [Hash] opts the optional parameters
1971
+ # @return [RentalUnitMessage]
1972
+ def update_rental_unit(unit_id, update_rental_unit_request, opts = {})
1973
+ data, _status_code, _headers = update_rental_unit_with_http_info(unit_id, update_rental_unit_request, opts)
1974
+ data
1975
+ end
1976
+
1977
+ # Update a unit
1978
+ # Updates a rental unit. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Rentals &gt; Rental properties and units&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1979
+ # @param unit_id [Integer] The identifier of the unit to update.
1980
+ # @param update_rental_unit_request [UpdateRentalUnitRequest]
1981
+ # @param [Hash] opts the optional parameters
1982
+ # @return [Array<(RentalUnitMessage, Integer, Hash)>] RentalUnitMessage data, response status code and response headers
1983
+ def update_rental_unit_with_http_info(unit_id, update_rental_unit_request, opts = {})
1984
+ if @api_client.config.debugging
1985
+ @api_client.config.logger.debug 'Calling API: RentalPropertiesApi.update_rental_unit ...'
1986
+ end
1987
+ # verify the required parameter 'unit_id' is set
1988
+ if @api_client.config.client_side_validation && unit_id.nil?
1989
+ fail ArgumentError, "Missing the required parameter 'unit_id' when calling RentalPropertiesApi.update_rental_unit"
1990
+ end
1991
+ # verify the required parameter 'update_rental_unit_request' is set
1992
+ if @api_client.config.client_side_validation && update_rental_unit_request.nil?
1993
+ fail ArgumentError, "Missing the required parameter 'update_rental_unit_request' when calling RentalPropertiesApi.update_rental_unit"
1994
+ end
1995
+ # resource path
1996
+ local_var_path = '/v1/rentals/units/{unitId}'.sub('{' + 'unitId' + '}', CGI.escape(unit_id.to_s))
1997
+
1998
+ # query parameters
1999
+ query_params = opts[:query_params] || {}
2000
+
2001
+ # header parameters
2002
+ header_params = opts[:header_params] || {}
2003
+ # HTTP header 'Accept' (if needed)
2004
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2005
+ # HTTP header 'Content-Type'
2006
+ content_type = @api_client.select_header_content_type(['application/json'])
2007
+ if !content_type.nil?
2008
+ header_params['Content-Type'] = content_type
2009
+ end
2010
+
2011
+ # form parameters
2012
+ form_params = opts[:form_params] || {}
2013
+
2014
+ # http body (model)
2015
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_rental_unit_request)
2016
+
2017
+ # return_type
2018
+ return_type = opts[:debug_return_type] || 'RentalUnitMessage'
2019
+
2020
+ # auth_names
2021
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
2022
+
2023
+ new_options = opts.merge(
2024
+ :operation => :"RentalPropertiesApi.update_rental_unit",
2025
+ :header_params => header_params,
2026
+ :query_params => query_params,
2027
+ :form_params => form_params,
2028
+ :body => post_body,
2029
+ :auth_names => auth_names,
2030
+ :return_type => return_type
2031
+ )
2032
+
2033
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
2034
+ if @api_client.config.debugging
2035
+ @api_client.config.logger.debug "API called: RentalPropertiesApi#update_rental_unit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2036
+ end
2037
+ return data, status_code, headers
2038
+ end
1759
2039
  end
1760
2040
  end