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
@@ -0,0 +1,237 @@
1
+ =begin
2
+ #Open API, powered by Buildium
3
+
4
+ # # Introduction ### Welcome! Welcome to Buildium’s API—a powerful, RESTful programming interface that lets you leverage valuable Buildium data. Using HTTP requests, you can create integrations with applications that specialize in accounting, lead tracking, and more. Enjoy greater flexibility, transparency, and control over your business! ### What's in this Guide? This guide is full of simple, easy-to-follow instructions that’ll help you use Buildium’s API like a pro. Topics include: * choosing the right resources for your use case * making HTTP requests to any resource * understanding data and response codes <br /> # Getting Started Excited to get going? We’ll walk you through the setup process. > **Note:** To take advantage of the Buildium Open API you must have a <a target=\"_blank\" href=\"https://www.buildium.com/pricing/\">**Premium Subscription**</a>. ## Account Configuration Before you can use Buildium’s API, you’ll need to make some tweaks to your account settings. <br /> ### Enabling the API In order to start creating your keys and making requests, you’ll need to enable the API. > **Tip:** You’ll need an administrator user role with access to ***Application settings*** to set things up properly. <br /> ​ **Let's Begin!** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Application settings***. 3. Under ***System preferences***, click ***Api settings***. A modal will appear. 4. Click the ***Open API*** toggle to turn it on. Then click ***Save***. <video width=\"100%\" autoplay loop muted> <source src=\"enable_open_api.mp4\" type=\"video/mp4\" /> </video> Congratulations! Your account's enabled. Now, you’re ready to start managing API keys. <br /> <br /> If you are having issues enabling the API within your account you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## API Keys Account-level API keys authenticate every request and keep things secure. API keys have two components: a “client ID” and a “secret”. * **Client IDs** are similar to usernames. They’re used to identify your Buildium account and are safe to share. * **Secrets** are similar to passwords. They must be kept confidential. Whenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code. > **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)! ## Creating API Keys Now that the Open APi is enabled, you’ll be able to create API keys. You’re almost there! > **Tip:** You’ll need an administrator user role to complete this step, too. <br /> **How to create an API key** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Developer Tools***. The page will open automatically. 3. Click the ***Create API Key*** button. A modal will appear. 4. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request. Once finished, click **Next**. 5. Now, choose which pieces of Buildium data you want this API key to have access to by marking the corresponding checkboxes. Once finished, click **Next**. 6. You successfully created an API key! > **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch. <br /> <video width=\"100%\" autoplay loop muted> <source src=\"generate_open_api_key.mp4\" type=\"video/mp4\" /> </video> <br /> You have now successfully created an API key and have everything you need to send requests to the Buildium API! Before moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping your Keys Safe](#section/Getting-Started/Keeping-your-Keys-Safe) for an overview on securely storing your API keys. <br /> If you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## Keeping API Keys Safe Based on their permissions, API keys could have full access to your account’s Buildium data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized. ### Recommended Practices - Avoid hard-coding client IDs and secrets inside source files. - Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms. - Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Buildium entities or to read-only access (GET resources only). - Avoid sharing client IDs and secrets across public, insecure platforms. - Establish a process to regularly recreate your client IDs and secrets from your Buildium account. <br /> <br /> ## How to Make a Request You’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes! > **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. <br /> ### Let's Get Started! #### Step 1: Get Your API Key If you haven't yet done so, obtain your API key client ID and secret from your Buildium account. Your API key is how the Buildium API authenticates requests and ensures only you can access your data. See [Getting Started](#section/Getting-Started) for a deeper dive into enabling the API and creating keys. #### Step 2: Install a HTTP client The Buildium API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Buildium API without writing code. We’ll use Postman for our example below to demonstrate sending an API request. #### Step 3: Make a Sample Request Let's dive in and make a simple request to get all the [Rental Properties](#operation/RentalsGetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Buildium
17
+ # Financial details of the lease.
18
+ class LeaseMessageAccountDetails
19
+ # Security deposit for the lease. Null if no security deposit exists.
20
+ attr_accessor :security_deposit
21
+
22
+ # Rent for the lease. Null if no rent exists.
23
+ attr_accessor :rent
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'security_deposit' => :'SecurityDeposit',
29
+ :'rent' => :'Rent'
30
+ }
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'security_deposit' => :'Float',
42
+ :'rent' => :'Float'
43
+ }
44
+ end
45
+
46
+ # List of attributes with nullable: true
47
+ def self.openapi_nullable
48
+ Set.new([
49
+ ])
50
+ end
51
+
52
+ # List of class defined in allOf (OpenAPI v3)
53
+ def self.openapi_all_of
54
+ [
55
+ :'LeaseAccountDetailMessage'
56
+ ]
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ if (!attributes.is_a?(Hash))
63
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Buildium::LeaseMessageAccountDetails` initialize method"
64
+ end
65
+
66
+ # check to see if the attribute exists and convert string to symbol for hash key
67
+ attributes = attributes.each_with_object({}) { |(k, v), h|
68
+ if (!self.class.attribute_map.key?(k.to_sym))
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Buildium::LeaseMessageAccountDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
70
+ end
71
+ h[k.to_sym] = v
72
+ }
73
+
74
+ if attributes.key?(:'security_deposit')
75
+ self.security_deposit = attributes[:'security_deposit']
76
+ end
77
+
78
+ if attributes.key?(:'rent')
79
+ self.rent = attributes[:'rent']
80
+ end
81
+ end
82
+
83
+ # Show invalid properties with the reasons. Usually used together with valid?
84
+ # @return Array for valid properties with the reasons
85
+ def list_invalid_properties
86
+ invalid_properties = Array.new
87
+ invalid_properties
88
+ end
89
+
90
+ # Check to see if the all the properties in the model are valid
91
+ # @return true if the model is valid
92
+ def valid?
93
+ true
94
+ end
95
+
96
+ # Checks equality by comparing each attribute.
97
+ # @param [Object] Object to be compared
98
+ def ==(o)
99
+ return true if self.equal?(o)
100
+ self.class == o.class &&
101
+ security_deposit == o.security_deposit &&
102
+ rent == o.rent
103
+ end
104
+
105
+ # @see the `==` method
106
+ # @param [Object] Object to be compared
107
+ def eql?(o)
108
+ self == o
109
+ end
110
+
111
+ # Calculates hash code according to all attributes.
112
+ # @return [Integer] Hash code
113
+ def hash
114
+ [security_deposit, rent].hash
115
+ end
116
+
117
+ # Builds the object from hash
118
+ # @param [Hash] attributes Model attributes in the form of hash
119
+ # @return [Object] Returns the model itself
120
+ def self.build_from_hash(attributes)
121
+ new.build_from_hash(attributes)
122
+ end
123
+
124
+ # Builds the object from hash
125
+ # @param [Hash] attributes Model attributes in the form of hash
126
+ # @return [Object] Returns the model itself
127
+ def build_from_hash(attributes)
128
+ return nil unless attributes.is_a?(Hash)
129
+ attributes = attributes.transform_keys(&:to_sym)
130
+ self.class.openapi_types.each_pair do |key, type|
131
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
132
+ self.send("#{key}=", nil)
133
+ elsif type =~ /\AArray<(.*)>/i
134
+ # check to ensure the input is an array given that the attribute
135
+ # is documented as an array but the input is not
136
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
137
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
138
+ end
139
+ elsif !attributes[self.class.attribute_map[key]].nil?
140
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
141
+ end
142
+ end
143
+
144
+ self
145
+ end
146
+
147
+ # Deserializes the data based on type
148
+ # @param string type Data type
149
+ # @param string value Value to be deserialized
150
+ # @return [Object] Deserialized data
151
+ def _deserialize(type, value)
152
+ case type.to_sym
153
+ when :Time
154
+ Time.parse(value)
155
+ when :Date
156
+ Date.parse(value)
157
+ when :String
158
+ value.to_s
159
+ when :Integer
160
+ value.to_i
161
+ when :Float
162
+ value.to_f
163
+ when :Boolean
164
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
165
+ true
166
+ else
167
+ false
168
+ end
169
+ when :Object
170
+ # generic object (usually a Hash), return directly
171
+ value
172
+ when /\AArray<(?<inner_type>.+)>\z/
173
+ inner_type = Regexp.last_match[:inner_type]
174
+ value.map { |v| _deserialize(inner_type, v) }
175
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
176
+ k_type = Regexp.last_match[:k_type]
177
+ v_type = Regexp.last_match[:v_type]
178
+ {}.tap do |hash|
179
+ value.each do |k, v|
180
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
181
+ end
182
+ end
183
+ else # model
184
+ # models (e.g. Pet) or oneOf
185
+ klass = Buildium.const_get(type)
186
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
187
+ end
188
+ end
189
+
190
+ # Returns the string representation of the object
191
+ # @return [String] String presentation of the object
192
+ def to_s
193
+ to_hash.to_s
194
+ end
195
+
196
+ # to_body is an alias to to_hash (backward compatibility)
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # Returns the object in the form of hash
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_hash
205
+ hash = {}
206
+ self.class.attribute_map.each_pair do |attr, param|
207
+ value = self.send(attr)
208
+ if value.nil?
209
+ is_nullable = self.class.openapi_nullable.include?(attr)
210
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
211
+ end
212
+
213
+ hash[param] = _to_hash(value)
214
+ end
215
+ hash
216
+ end
217
+
218
+ # Outputs non-array value in the form of hash
219
+ # For object, use to_hash. Otherwise, just return the value
220
+ # @param [Object] value Any valid value
221
+ # @return [Hash] Returns the value in the form of hash
222
+ def _to_hash(value)
223
+ if value.is_a?(Array)
224
+ value.compact.map { |v| _to_hash(v) }
225
+ elsif value.is_a?(Hash)
226
+ {}.tap do |hash|
227
+ value.each { |k, v| hash[k] = _to_hash(v) }
228
+ end
229
+ elsif value.respond_to? :to_hash
230
+ value.to_hash
231
+ else
232
+ value
233
+ end
234
+ end
235
+
236
+ end
237
+ end
@@ -127,7 +127,7 @@ module Buildium
127
127
  # @param [Hash] attributes Model attributes in the form of hash
128
128
  # @return [Object] Returns the model itself
129
129
  def build_from_hash(attributes)
130
- return unless attributes.is_a?(Hash)
130
+ return nil unless attributes.is_a?(Hash)
131
131
  attributes = attributes.transform_keys(&:to_sym)
132
132
  self.class.openapi_types.each_pair do |key, type|
133
133
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
@@ -234,5 +234,6 @@ module Buildium
234
234
  value
235
235
  end
236
236
  end
237
+
237
238
  end
238
239
  end
@@ -137,7 +137,7 @@ module Buildium
137
137
  # @param [Hash] attributes Model attributes in the form of hash
138
138
  # @return [Object] Returns the model itself
139
139
  def build_from_hash(attributes)
140
- return unless attributes.is_a?(Hash)
140
+ return nil unless attributes.is_a?(Hash)
141
141
  attributes = attributes.transform_keys(&:to_sym)
142
142
  self.class.openapi_types.each_pair do |key, type|
143
143
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
@@ -244,5 +244,6 @@ module Buildium
244
244
  value
245
245
  end
246
246
  end
247
+
247
248
  end
248
249
  end
@@ -219,7 +219,7 @@ module Buildium
219
219
  # @param [Hash] attributes Model attributes in the form of hash
220
220
  # @return [Object] Returns the model itself
221
221
  def build_from_hash(attributes)
222
- return unless attributes.is_a?(Hash)
222
+ return nil unless attributes.is_a?(Hash)
223
223
  attributes = attributes.transform_keys(&:to_sym)
224
224
  self.class.openapi_types.each_pair do |key, type|
225
225
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
@@ -326,5 +326,6 @@ module Buildium
326
326
  value
327
327
  end
328
328
  end
329
+
329
330
  end
330
331
  end
@@ -110,8 +110,8 @@ module Buildium
110
110
  :'tenant_ids' => :'Array<Integer>',
111
111
  :'applicant_ids' => :'Array<Integer>',
112
112
  :'cosigners' => :'Array<LeaseCosignerPostMessage>',
113
- :'rent' => :'LeaseRentPostMessage',
114
- :'security_deposit' => :'LeaseSecurityDepositPostMessage',
113
+ :'rent' => :'LeasePostMessageRent',
114
+ :'security_deposit' => :'LeasePostMessageSecurityDeposit',
115
115
  :'prorated_first_month_rent' => :'Float',
116
116
  :'prorated_last_month_rent' => :'Float'
117
117
  }
@@ -287,7 +287,7 @@ module Buildium
287
287
  # @param [Hash] attributes Model attributes in the form of hash
288
288
  # @return [Object] Returns the model itself
289
289
  def build_from_hash(attributes)
290
- return unless attributes.is_a?(Hash)
290
+ return nil unless attributes.is_a?(Hash)
291
291
  attributes = attributes.transform_keys(&:to_sym)
292
292
  self.class.openapi_types.each_pair do |key, type|
293
293
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
@@ -394,5 +394,6 @@ module Buildium
394
394
  value
395
395
  end
396
396
  end
397
+
397
398
  end
398
399
  end
@@ -0,0 +1,283 @@
1
+ =begin
2
+ #Open API, powered by Buildium
3
+
4
+ # # Introduction ### Welcome! Welcome to Buildium’s API—a powerful, RESTful programming interface that lets you leverage valuable Buildium data. Using HTTP requests, you can create integrations with applications that specialize in accounting, lead tracking, and more. Enjoy greater flexibility, transparency, and control over your business! ### What's in this Guide? This guide is full of simple, easy-to-follow instructions that’ll help you use Buildium’s API like a pro. Topics include: * choosing the right resources for your use case * making HTTP requests to any resource * understanding data and response codes <br /> # Getting Started Excited to get going? We’ll walk you through the setup process. > **Note:** To take advantage of the Buildium Open API you must have a <a target=\"_blank\" href=\"https://www.buildium.com/pricing/\">**Premium Subscription**</a>. ## Account Configuration Before you can use Buildium’s API, you’ll need to make some tweaks to your account settings. <br /> ### Enabling the API In order to start creating your keys and making requests, you’ll need to enable the API. > **Tip:** You’ll need an administrator user role with access to ***Application settings*** to set things up properly. <br /> ​ **Let's Begin!** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Application settings***. 3. Under ***System preferences***, click ***Api settings***. A modal will appear. 4. Click the ***Open API*** toggle to turn it on. Then click ***Save***. <video width=\"100%\" autoplay loop muted> <source src=\"enable_open_api.mp4\" type=\"video/mp4\" /> </video> Congratulations! Your account's enabled. Now, you’re ready to start managing API keys. <br /> <br /> If you are having issues enabling the API within your account you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## API Keys Account-level API keys authenticate every request and keep things secure. API keys have two components: a “client ID” and a “secret”. * **Client IDs** are similar to usernames. They’re used to identify your Buildium account and are safe to share. * **Secrets** are similar to passwords. They must be kept confidential. Whenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code. > **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)! ## Creating API Keys Now that the Open APi is enabled, you’ll be able to create API keys. You’re almost there! > **Tip:** You’ll need an administrator user role to complete this step, too. <br /> **How to create an API key** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Developer Tools***. The page will open automatically. 3. Click the ***Create API Key*** button. A modal will appear. 4. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request. Once finished, click **Next**. 5. Now, choose which pieces of Buildium data you want this API key to have access to by marking the corresponding checkboxes. Once finished, click **Next**. 6. You successfully created an API key! > **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch. <br /> <video width=\"100%\" autoplay loop muted> <source src=\"generate_open_api_key.mp4\" type=\"video/mp4\" /> </video> <br /> You have now successfully created an API key and have everything you need to send requests to the Buildium API! Before moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping your Keys Safe](#section/Getting-Started/Keeping-your-Keys-Safe) for an overview on securely storing your API keys. <br /> If you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## Keeping API Keys Safe Based on their permissions, API keys could have full access to your account’s Buildium data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized. ### Recommended Practices - Avoid hard-coding client IDs and secrets inside source files. - Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms. - Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Buildium entities or to read-only access (GET resources only). - Avoid sharing client IDs and secrets across public, insecure platforms. - Establish a process to regularly recreate your client IDs and secrets from your Buildium account. <br /> <br /> ## How to Make a Request You’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes! > **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. <br /> ### Let's Get Started! #### Step 1: Get Your API Key If you haven't yet done so, obtain your API key client ID and secret from your Buildium account. Your API key is how the Buildium API authenticates requests and ensures only you can access your data. See [Getting Started](#section/Getting-Started) for a deeper dive into enabling the API and creating keys. #### Step 2: Install a HTTP client The Buildium API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Buildium API without writing code. We’ll use Postman for our example below to demonstrate sending an API request. #### Step 3: Make a Sample Request Let's dive in and make a simple request to get all the [Rental Properties](#operation/RentalsGetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Buildium
17
+ # Rent charge on the post message
18
+ class LeasePostMessageRent
19
+ # Indicates the cadence of when rent `Charges` will be applied automatically to the lease ledger.
20
+ attr_accessor :cycle
21
+
22
+ # List of charges to apply to the lease.
23
+ attr_accessor :charges
24
+
25
+ class EnumAttributeValidator
26
+ attr_reader :datatype
27
+ attr_reader :allowable_values
28
+
29
+ def initialize(datatype, allowable_values)
30
+ @allowable_values = allowable_values.map do |value|
31
+ case datatype.to_s
32
+ when /Integer/i
33
+ value.to_i
34
+ when /Float/i
35
+ value.to_f
36
+ else
37
+ value
38
+ end
39
+ end
40
+ end
41
+
42
+ def valid?(value)
43
+ !value || allowable_values.include?(value)
44
+ end
45
+ end
46
+
47
+ # Attribute mapping from ruby-style variable name to JSON key.
48
+ def self.attribute_map
49
+ {
50
+ :'cycle' => :'Cycle',
51
+ :'charges' => :'Charges'
52
+ }
53
+ end
54
+
55
+ # Returns all the JSON keys this model knows about
56
+ def self.acceptable_attributes
57
+ attribute_map.values
58
+ end
59
+
60
+ # Attribute type mapping.
61
+ def self.openapi_types
62
+ {
63
+ :'cycle' => :'String',
64
+ :'charges' => :'Array<LeaseRentChargePostMessage>'
65
+ }
66
+ end
67
+
68
+ # List of attributes with nullable: true
69
+ def self.openapi_nullable
70
+ Set.new([
71
+ ])
72
+ end
73
+
74
+ # List of class defined in allOf (OpenAPI v3)
75
+ def self.openapi_all_of
76
+ [
77
+ :'LeaseRentPostMessage'
78
+ ]
79
+ end
80
+
81
+ # Initializes the object
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ def initialize(attributes = {})
84
+ if (!attributes.is_a?(Hash))
85
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Buildium::LeasePostMessageRent` initialize method"
86
+ end
87
+
88
+ # check to see if the attribute exists and convert string to symbol for hash key
89
+ attributes = attributes.each_with_object({}) { |(k, v), h|
90
+ if (!self.class.attribute_map.key?(k.to_sym))
91
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Buildium::LeasePostMessageRent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
92
+ end
93
+ h[k.to_sym] = v
94
+ }
95
+
96
+ if attributes.key?(:'cycle')
97
+ self.cycle = attributes[:'cycle']
98
+ end
99
+
100
+ if attributes.key?(:'charges')
101
+ if (value = attributes[:'charges']).is_a?(Array)
102
+ self.charges = value
103
+ end
104
+ end
105
+ end
106
+
107
+ # Show invalid properties with the reasons. Usually used together with valid?
108
+ # @return Array for valid properties with the reasons
109
+ def list_invalid_properties
110
+ invalid_properties = Array.new
111
+ if @cycle.nil?
112
+ invalid_properties.push('invalid value for "cycle", cycle cannot be nil.')
113
+ end
114
+
115
+ if @charges.nil?
116
+ invalid_properties.push('invalid value for "charges", charges cannot be nil.')
117
+ end
118
+
119
+ invalid_properties
120
+ end
121
+
122
+ # Check to see if the all the properties in the model are valid
123
+ # @return true if the model is valid
124
+ def valid?
125
+ return false if @cycle.nil?
126
+ cycle_validator = EnumAttributeValidator.new('String', ["Monthly", "Weekly", "Every2Weeks", "Quarterly", "Yearly", "Every2Months", "Daily", "Every6Months", "OneTime"])
127
+ return false unless cycle_validator.valid?(@cycle)
128
+ return false if @charges.nil?
129
+ true
130
+ end
131
+
132
+ # Custom attribute writer method checking allowed values (enum).
133
+ # @param [Object] cycle Object to be assigned
134
+ def cycle=(cycle)
135
+ validator = EnumAttributeValidator.new('String', ["Monthly", "Weekly", "Every2Weeks", "Quarterly", "Yearly", "Every2Months", "Daily", "Every6Months", "OneTime"])
136
+ unless validator.valid?(cycle)
137
+ fail ArgumentError, "invalid value #{ cycle.inspect } for \"cycle\", must be one of #{validator.allowable_values}."
138
+ end
139
+ @cycle = cycle
140
+ end
141
+
142
+ # Checks equality by comparing each attribute.
143
+ # @param [Object] Object to be compared
144
+ def ==(o)
145
+ return true if self.equal?(o)
146
+ self.class == o.class &&
147
+ cycle == o.cycle &&
148
+ charges == o.charges
149
+ end
150
+
151
+ # @see the `==` method
152
+ # @param [Object] Object to be compared
153
+ def eql?(o)
154
+ self == o
155
+ end
156
+
157
+ # Calculates hash code according to all attributes.
158
+ # @return [Integer] Hash code
159
+ def hash
160
+ [cycle, charges].hash
161
+ end
162
+
163
+ # Builds the object from hash
164
+ # @param [Hash] attributes Model attributes in the form of hash
165
+ # @return [Object] Returns the model itself
166
+ def self.build_from_hash(attributes)
167
+ new.build_from_hash(attributes)
168
+ end
169
+
170
+ # Builds the object from hash
171
+ # @param [Hash] attributes Model attributes in the form of hash
172
+ # @return [Object] Returns the model itself
173
+ def build_from_hash(attributes)
174
+ return nil unless attributes.is_a?(Hash)
175
+ attributes = attributes.transform_keys(&:to_sym)
176
+ self.class.openapi_types.each_pair do |key, type|
177
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
178
+ self.send("#{key}=", nil)
179
+ elsif type =~ /\AArray<(.*)>/i
180
+ # check to ensure the input is an array given that the attribute
181
+ # is documented as an array but the input is not
182
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
183
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
184
+ end
185
+ elsif !attributes[self.class.attribute_map[key]].nil?
186
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
187
+ end
188
+ end
189
+
190
+ self
191
+ end
192
+
193
+ # Deserializes the data based on type
194
+ # @param string type Data type
195
+ # @param string value Value to be deserialized
196
+ # @return [Object] Deserialized data
197
+ def _deserialize(type, value)
198
+ case type.to_sym
199
+ when :Time
200
+ Time.parse(value)
201
+ when :Date
202
+ Date.parse(value)
203
+ when :String
204
+ value.to_s
205
+ when :Integer
206
+ value.to_i
207
+ when :Float
208
+ value.to_f
209
+ when :Boolean
210
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
211
+ true
212
+ else
213
+ false
214
+ end
215
+ when :Object
216
+ # generic object (usually a Hash), return directly
217
+ value
218
+ when /\AArray<(?<inner_type>.+)>\z/
219
+ inner_type = Regexp.last_match[:inner_type]
220
+ value.map { |v| _deserialize(inner_type, v) }
221
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
222
+ k_type = Regexp.last_match[:k_type]
223
+ v_type = Regexp.last_match[:v_type]
224
+ {}.tap do |hash|
225
+ value.each do |k, v|
226
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
227
+ end
228
+ end
229
+ else # model
230
+ # models (e.g. Pet) or oneOf
231
+ klass = Buildium.const_get(type)
232
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
233
+ end
234
+ end
235
+
236
+ # Returns the string representation of the object
237
+ # @return [String] String presentation of the object
238
+ def to_s
239
+ to_hash.to_s
240
+ end
241
+
242
+ # to_body is an alias to to_hash (backward compatibility)
243
+ # @return [Hash] Returns the object in the form of hash
244
+ def to_body
245
+ to_hash
246
+ end
247
+
248
+ # Returns the object in the form of hash
249
+ # @return [Hash] Returns the object in the form of hash
250
+ def to_hash
251
+ hash = {}
252
+ self.class.attribute_map.each_pair do |attr, param|
253
+ value = self.send(attr)
254
+ if value.nil?
255
+ is_nullable = self.class.openapi_nullable.include?(attr)
256
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
257
+ end
258
+
259
+ hash[param] = _to_hash(value)
260
+ end
261
+ hash
262
+ end
263
+
264
+ # Outputs non-array value in the form of hash
265
+ # For object, use to_hash. Otherwise, just return the value
266
+ # @param [Object] value Any valid value
267
+ # @return [Hash] Returns the value in the form of hash
268
+ def _to_hash(value)
269
+ if value.is_a?(Array)
270
+ value.compact.map { |v| _to_hash(v) }
271
+ elsif value.is_a?(Hash)
272
+ {}.tap do |hash|
273
+ value.each { |k, v| hash[k] = _to_hash(v) }
274
+ end
275
+ elsif value.respond_to? :to_hash
276
+ value.to_hash
277
+ else
278
+ value
279
+ end
280
+ end
281
+
282
+ end
283
+ end