buildium-ruby 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1229) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/ci.yml +27 -0
  3. data/.github/workflows/publish.yml +48 -0
  4. data/.gitignore +39 -0
  5. data/.openapi-generator/FILES +1215 -0
  6. data/.openapi-generator/VERSION +1 -0
  7. data/.openapi-generator/templates/ruby-client/gemspec.mustache +37 -0
  8. data/.openapi-generator/templates/ruby-client/partial_model_generic.mustache +371 -0
  9. data/.openapi-generator/templates/ruby-client/rubocop.mustache +124 -0
  10. data/.openapi-generator-ignore +26 -0
  11. data/.rspec +2 -0
  12. data/.rubocop.yml +124 -0
  13. data/CUSTOMIZATIONS.md +11 -0
  14. data/DOCS.md +811 -0
  15. data/Gemfile +9 -0
  16. data/Gemfile.lock +75 -0
  17. data/README.md +118 -0
  18. data/Rakefile +10 -0
  19. data/bin/CUSTOMIZATIONS.md +11 -0
  20. data/bin/README.md +118 -0
  21. data/bin/config.yml +9 -0
  22. data/bin/rebuild.sh +49 -0
  23. data/bin/swagger.json +52218 -0
  24. data/buildium-ruby.gemspec +39 -0
  25. data/docs/AccountInfoMessage.md +26 -0
  26. data/docs/AccountingApi.md +2041 -0
  27. data/docs/AccountingEntityMessage.md +22 -0
  28. data/docs/AccountingEntitySaveMessage.md +20 -0
  29. data/docs/AccountingLockPeriodMessage.md +22 -0
  30. data/docs/AccountingSettingsMessage.md +28 -0
  31. data/docs/AddressMessage.md +30 -0
  32. data/docs/AdministrationApi.md +485 -0
  33. data/docs/AllTasksMessage.md +46 -0
  34. data/docs/AnnouncementMessage.md +30 -0
  35. data/docs/AnnouncementPostMessage.md +28 -0
  36. data/docs/AnnouncementSearchMessage.md +26 -0
  37. data/docs/AnnouncementSenderMessage.md +22 -0
  38. data/docs/ApiError.md +20 -0
  39. data/docs/ApiErrorResponse.md +22 -0
  40. data/docs/ApplianceMessage.md +26 -0
  41. data/docs/ApplicantApplicationMessage.md +24 -0
  42. data/docs/ApplicantGroupMessage.md +26 -0
  43. data/docs/ApplicantGroupPostMessage.md +20 -0
  44. data/docs/ApplicantGroupPutMessage.md +22 -0
  45. data/docs/ApplicantGroupSearchMessage.md +26 -0
  46. data/docs/ApplicantMessage.md +36 -0
  47. data/docs/ApplicantPostMessage.md +28 -0
  48. data/docs/ApplicantPutMessage.md +26 -0
  49. data/docs/ApplicantSearchMessage.md +32 -0
  50. data/docs/ApplicantsApi.md +1489 -0
  51. data/docs/ApplicationMessage.md +26 -0
  52. data/docs/ApplicationPutMessage.md +18 -0
  53. data/docs/ApplicationResponseFieldMessage.md +24 -0
  54. data/docs/ApplicationResponseMessage.md +22 -0
  55. data/docs/ApplicationSectionResponseMessage.md +18 -0
  56. data/docs/AssociationApplianceMessage.md +32 -0
  57. data/docs/AssociationAppliancePostMessage.md +32 -0
  58. data/docs/AssociationAppliancePutMessage.md +28 -0
  59. data/docs/AssociationApplianceSearchMessage.md +20 -0
  60. data/docs/AssociationApplianceServiceHistoryMessage.md +24 -0
  61. data/docs/AssociationApplianceServiceHistoryPostMessage.md +22 -0
  62. data/docs/AssociationAppliancesApi.md +646 -0
  63. data/docs/AssociationBoardMemberMessage.md +36 -0
  64. data/docs/AssociationBoardMemberPostMessage.md +24 -0
  65. data/docs/AssociationBoardMemberPutMessage.md +22 -0
  66. data/docs/AssociationBoardMemberSearchMessage.md +24 -0
  67. data/docs/AssociationMessage.md +40 -0
  68. data/docs/AssociationOwnerBoardTermMessage.md +28 -0
  69. data/docs/AssociationOwnerBoardTermPostMessage.md +22 -0
  70. data/docs/AssociationOwnerMessage.md +52 -0
  71. data/docs/AssociationOwnerPostMessage.md +44 -0
  72. data/docs/AssociationOwnerPutMessage.md +38 -0
  73. data/docs/AssociationOwnerToExistingOwnershipAccountPostMessage.md +48 -0
  74. data/docs/AssociationOwnerUnitOccupancyPutMessage.md +18 -0
  75. data/docs/AssociationOwnerUnitOccupancyStatusMessage.md +20 -0
  76. data/docs/AssociationOwnersApi.md +916 -0
  77. data/docs/AssociationOwnershipAccountMessage.md +34 -0
  78. data/docs/AssociationOwnershipAccountPostMessage.md +32 -0
  79. data/docs/AssociationOwnershipAccountPutMessage.md +18 -0
  80. data/docs/AssociationOwnershipAccountSearchMessage.md +28 -0
  81. data/docs/AssociationOwnershipAccountsApi.md +2042 -0
  82. data/docs/AssociationPostMessage.md +32 -0
  83. data/docs/AssociationPreferredVendorMessage.md +34 -0
  84. data/docs/AssociationPreferredVendorPutMessage.md +18 -0
  85. data/docs/AssociationPutMessage.md +34 -0
  86. data/docs/AssociationSearchMessage.md +24 -0
  87. data/docs/AssociationTenantMessage.md +44 -0
  88. data/docs/AssociationTenantPostMessage.md +42 -0
  89. data/docs/AssociationTenantPutMessage.md +38 -0
  90. data/docs/AssociationTenantsApi.md +671 -0
  91. data/docs/AssociationUnitMessage.md +32 -0
  92. data/docs/AssociationUnitPutMessage.md +26 -0
  93. data/docs/AssociationUnitSearchMessage.md +22 -0
  94. data/docs/AssociationUnitsApi.md +659 -0
  95. data/docs/AssociationUnitsPostMessage.md +28 -0
  96. data/docs/AssociationUserSearchMessage.md +34 -0
  97. data/docs/AssociationsApi.md +1235 -0
  98. data/docs/BankAccountCheckAccountingEntitySaveMessage.md +20 -0
  99. data/docs/BankAccountCheckLineMessage.md +28 -0
  100. data/docs/BankAccountCheckLineSaveMessage.md +26 -0
  101. data/docs/BankAccountCheckMessage.md +30 -0
  102. data/docs/BankAccountCheckPayeeMessage.md +22 -0
  103. data/docs/BankAccountCheckPayeeSaveMessage.md +20 -0
  104. data/docs/BankAccountCheckPostMessage.md +26 -0
  105. data/docs/BankAccountCheckPutMessage.md +26 -0
  106. data/docs/BankAccountCheckSearchMessage.md +20 -0
  107. data/docs/BankAccountDepositLineMessage.md +28 -0
  108. data/docs/BankAccountDepositLineSaveMessage.md +26 -0
  109. data/docs/BankAccountDepositMessage.md +28 -0
  110. data/docs/BankAccountDepositPostMessage.md +24 -0
  111. data/docs/BankAccountDepositPutMessage.md +22 -0
  112. data/docs/BankAccountDepositSearchMessage.md +20 -0
  113. data/docs/BankAccountMessage.md +40 -0
  114. data/docs/BankAccountPostMessage.md +30 -0
  115. data/docs/BankAccountPutMessage.md +30 -0
  116. data/docs/BankAccountQuickDepositMessage.md +28 -0
  117. data/docs/BankAccountQuickDepositSaveMessage.md +26 -0
  118. data/docs/BankAccountQuickDepositSearchMessage.md +20 -0
  119. data/docs/BankAccountSearchMessage.md +20 -0
  120. data/docs/BankAccountTransactionMessage.md +36 -0
  121. data/docs/BankAccountTransactionSearchMessage.md +24 -0
  122. data/docs/BankAccountTransferAccountingEntitySaveMessage.md +20 -0
  123. data/docs/BankAccountTransferMessage.md +28 -0
  124. data/docs/BankAccountTransferSaveMessage.md +26 -0
  125. data/docs/BankAccountTransferSearchMessage.md +20 -0
  126. data/docs/BankAccountWithdrawalMessage.md +28 -0
  127. data/docs/BankAccountWithdrawalSaveMessage.md +26 -0
  128. data/docs/BankAccountWithdrawalSearchMessage.md +20 -0
  129. data/docs/BankAccountsApi.md +2224 -0
  130. data/docs/BillFileMessage.md +28 -0
  131. data/docs/BillLineMessage.md +28 -0
  132. data/docs/BillLinePostMessage.md +26 -0
  133. data/docs/BillLinePutMessage.md +28 -0
  134. data/docs/BillMarkupMessage.md +20 -0
  135. data/docs/BillMarkupSaveMessage.md +20 -0
  136. data/docs/BillMessage.md +36 -0
  137. data/docs/BillPaymentAccountingEntityMessage.md +20 -0
  138. data/docs/BillPaymentLineMessage.md +22 -0
  139. data/docs/BillPaymentLinePostMessage.md +20 -0
  140. data/docs/BillPaymentMessage.md +28 -0
  141. data/docs/BillPaymentPostMessage.md +26 -0
  142. data/docs/BillPostMessage.md +30 -0
  143. data/docs/BillPutMessage.md +28 -0
  144. data/docs/BillSearchMessage.md +32 -0
  145. data/docs/BudgetDetailsMessage.md +24 -0
  146. data/docs/BudgetDetailsSaveMessage.md +20 -0
  147. data/docs/BudgetMessage.md +28 -0
  148. data/docs/BudgetMonthlyAmountsMessage.md +40 -0
  149. data/docs/BudgetMonthlyAmountsSaveMessage.md +40 -0
  150. data/docs/BudgetPostMessage.md +26 -0
  151. data/docs/BudgetPutMessage.md +20 -0
  152. data/docs/BudgetSearchMessage.md +22 -0
  153. data/docs/ChargeRecurringTransactionPostMessage.md +32 -0
  154. data/docs/ChargeRecurringTransactionPutMessage.md +34 -0
  155. data/docs/CheckPrintingInfoMessage.md +46 -0
  156. data/docs/CheckPrintingInfoPostMessage.md +46 -0
  157. data/docs/CheckPrintingInfoPutMessage.md +46 -0
  158. data/docs/ClientLeadCreditRequestMessage.md +24 -0
  159. data/docs/ClientLeadMessage.md +38 -0
  160. data/docs/ClientLeadSearchMessage.md +26 -0
  161. data/docs/ClientLeadsApi.md +177 -0
  162. data/docs/CommunicationsApi.md +1238 -0
  163. data/docs/ContactDetailMessage.md +24 -0
  164. data/docs/ContactDetailPhoneMessage.md +22 -0
  165. data/docs/ContactDetailSaveMessage.md +24 -0
  166. data/docs/ContactDetailSavePhoneMessage.md +22 -0
  167. data/docs/ContactInfoMessage.md +24 -0
  168. data/docs/ContactRequestTaskMessage.md +42 -0
  169. data/docs/ContactRequestTaskPostMessage.md +38 -0
  170. data/docs/ContactRequestTaskPutMessage.md +38 -0
  171. data/docs/ContactRequestTaskSearchMessage.md +40 -0
  172. data/docs/CosignerMessage.md +36 -0
  173. data/docs/CreatedByUserMessage.md +24 -0
  174. data/docs/CreditRecurringTransactionPostMessage.md +36 -0
  175. data/docs/DepositDetailMessage.md +20 -0
  176. data/docs/ElectronicPaymentsMessage.md +32 -0
  177. data/docs/EmailMessage.md +24 -0
  178. data/docs/EmailPostMessage.md +30 -0
  179. data/docs/EmailRecipientMessage.md +26 -0
  180. data/docs/EmailSearchMessage.md +26 -0
  181. data/docs/EmailSenderMessage.md +24 -0
  182. data/docs/EmergencyContactMessage.md +24 -0
  183. data/docs/FileCategoryMessage.md +22 -0
  184. data/docs/FileCategoryPostMessage.md +18 -0
  185. data/docs/FileCategoryPutMessage.md +18 -0
  186. data/docs/FileDownloadMessage.md +18 -0
  187. data/docs/FileEntityMessage.md +22 -0
  188. data/docs/FileMessage.md +34 -0
  189. data/docs/FileNamePostMessage.md +18 -0
  190. data/docs/FilePutMessage.md +22 -0
  191. data/docs/FileSearchMessage.md +30 -0
  192. data/docs/FileUploadPostMessage.md +28 -0
  193. data/docs/FileUploadTicketMessage.md +22 -0
  194. data/docs/FilesApi.md +730 -0
  195. data/docs/GLAccountBalanceItemMessage.md +20 -0
  196. data/docs/GLAccountBalanceMessage.md +22 -0
  197. data/docs/GLAccountBalanceSearchMessage.md +26 -0
  198. data/docs/GLAccountMessage.md +46 -0
  199. data/docs/GLAccountPostMessage.md +32 -0
  200. data/docs/GLAccountPutMessage.md +32 -0
  201. data/docs/GLAccountsSearchMessage.md +18 -0
  202. data/docs/GLTransactionMessageV1.md +26 -0
  203. data/docs/GeneralJournalEntryLineSaveMessage.md +24 -0
  204. data/docs/GeneralJournalEntryPostMessage.md +24 -0
  205. data/docs/GeneralJournalEntryPutMessage.md +24 -0
  206. data/docs/GeneralLedgerJournalLineMessage.md +28 -0
  207. data/docs/GeneralLedgerJournalMessage.md +20 -0
  208. data/docs/GeneralLedgerTransactionMessage.md +38 -0
  209. data/docs/GeneralLedgerTransactionSearchMessage.md +26 -0
  210. data/docs/InternalTransactionStatusMessage.md +22 -0
  211. data/docs/JournalLineMessage.md +28 -0
  212. data/docs/JournalMessage.md +20 -0
  213. data/docs/LastUpdatedByUserMessage.md +26 -0
  214. data/docs/LeaseAccountDetailMessage.md +20 -0
  215. data/docs/LeaseChargeLineSaveMessage.md +22 -0
  216. data/docs/LeaseChargePostMessage.md +22 -0
  217. data/docs/LeaseChargePutMessage.md +22 -0
  218. data/docs/LeaseChargeRecurringTransactionMessage.md +40 -0
  219. data/docs/LeaseCosignerPostMessage.md +32 -0
  220. data/docs/LeaseLedgerCreditLinePostMessage.md +20 -0
  221. data/docs/LeaseLedgerCreditPostMessage.md +26 -0
  222. data/docs/LeaseLedgerDepositWithholdingLinePostMessage.md +20 -0
  223. data/docs/LeaseLedgerDepositWithholdingPostMessage.md +24 -0
  224. data/docs/LeaseLedgerPaymentLineSaveMessage.md +20 -0
  225. data/docs/LeaseLedgerPaymentPostMessage.md +30 -0
  226. data/docs/LeaseLedgerRefundLineMessage.md +20 -0
  227. data/docs/LeaseLedgerRefundLinePostMessage.md +20 -0
  228. data/docs/LeaseLedgerRefundMessage.md +34 -0
  229. data/docs/LeaseLedgerRefundPostMessage.md +30 -0
  230. data/docs/LeaseLedgerReversePaymentNSFChargePostMessage.md +20 -0
  231. data/docs/LeaseLedgerReversePaymentOtherBankChargePostMessage.md +20 -0
  232. data/docs/LeaseLedgerReversePaymentPostMessage.md +24 -0
  233. data/docs/LeaseMessage.md +58 -0
  234. data/docs/LeaseMoveOutDataMessage.md +22 -0
  235. data/docs/LeaseMoveOutDataPostMessage.md +22 -0
  236. data/docs/LeaseOutstandingBalanceMessage.md +40 -0
  237. data/docs/LeaseOutstandingBalanceSearchMessage.md +30 -0
  238. data/docs/LeasePostMessage.md +38 -0
  239. data/docs/LeasePutMessage.md +28 -0
  240. data/docs/LeaseRecurringCreditMessage.md +44 -0
  241. data/docs/LeaseRecurringPaymentMessage.md +42 -0
  242. data/docs/LeaseRenewalMessage.md +32 -0
  243. data/docs/LeaseRenewalPostMessage.md +38 -0
  244. data/docs/LeaseRentChargeMessage.md +30 -0
  245. data/docs/LeaseRentChargePostMessage.md +24 -0
  246. data/docs/LeaseRentMessage.md +34 -0
  247. data/docs/LeaseRentPostMessage.md +20 -0
  248. data/docs/LeaseSearchMessage.md +40 -0
  249. data/docs/LeaseSecurityDepositPostMessage.md +20 -0
  250. data/docs/LeaseTenantMessage.md +20 -0
  251. data/docs/LeaseTransactionMessage.md +34 -0
  252. data/docs/LeaseTransactionSearchMessage.md +22 -0
  253. data/docs/LeasesApi.md +2865 -0
  254. data/docs/ListingContactMessage.md +26 -0
  255. data/docs/ListingContactSaveMessage.md +24 -0
  256. data/docs/ListingFileMessage.md +22 -0
  257. data/docs/ListingMessage.md +36 -0
  258. data/docs/ListingPropertyMessage.md +34 -0
  259. data/docs/ListingPutMessage.md +28 -0
  260. data/docs/ListingSearchMessage.md +20 -0
  261. data/docs/ListingUnitMessage.md +36 -0
  262. data/docs/ListingsApi.md +642 -0
  263. data/docs/LockPeriodSettingsGlobalMessage.md +18 -0
  264. data/docs/LockPeriodSettingsOverridesMessage.md +20 -0
  265. data/docs/LoggedByStaffUserMessage.md +24 -0
  266. data/docs/LookupMessage.md +20 -0
  267. data/docs/MailingTemplateMessage.md +24 -0
  268. data/docs/NoteMessage.md +22 -0
  269. data/docs/NotePostMessage.md +18 -0
  270. data/docs/NotePutMessage.md +18 -0
  271. data/docs/NoteSearchMessage.md +22 -0
  272. data/docs/OutstandingBalancesLineMessage.md +20 -0
  273. data/docs/OwnershipAccountChargeRecurringTransactionMessage.md +40 -0
  274. data/docs/OwnershipAccountCreditLinePostMessage.md +20 -0
  275. data/docs/OwnershipAccountCreditPostMessage.md +26 -0
  276. data/docs/OwnershipAccountDepositWithholdingLinePostMessage.md +20 -0
  277. data/docs/OwnershipAccountDepositWithholdingPostMessage.md +24 -0
  278. data/docs/OwnershipAccountLedgerChargeLinesPutMessage.md +22 -0
  279. data/docs/OwnershipAccountLedgerChargeLinesSaveMessage.md +20 -0
  280. data/docs/OwnershipAccountLedgerChargePostMessage.md +22 -0
  281. data/docs/OwnershipAccountLedgerChargePutMessage.md +22 -0
  282. data/docs/OwnershipAccountLedgerPaymentLineSaveMessage.md +20 -0
  283. data/docs/OwnershipAccountLedgerPaymentPostMessage.md +30 -0
  284. data/docs/OwnershipAccountOutstandingBalanceMessage.md +36 -0
  285. data/docs/OwnershipAccountOutstandingBalanceSearchMessage.md +26 -0
  286. data/docs/OwnershipAccountRecurringCreditMessage.md +44 -0
  287. data/docs/OwnershipAccountRecurringPaymentMessage.md +42 -0
  288. data/docs/OwnershipAccountRefundLineMessage.md +20 -0
  289. data/docs/OwnershipAccountRefundLinesPostMessage.md +20 -0
  290. data/docs/OwnershipAccountRefundMessage.md +34 -0
  291. data/docs/OwnershipAccountRefundPostMessage.md +30 -0
  292. data/docs/OwnershipAccountTransactionMessage.md +34 -0
  293. data/docs/PaidByMessage.md +20 -0
  294. data/docs/ParticipantMessage.md +22 -0
  295. data/docs/ParticipantResourceMessage.md +20 -0
  296. data/docs/PayeeMessage.md +24 -0
  297. data/docs/PaymentDetailMessage.md +24 -0
  298. data/docs/PaymentRecurringTransactionPostMessage.md +34 -0
  299. data/docs/PaymentTransactionsMessage.md +22 -0
  300. data/docs/PhoneLogMessage.md +28 -0
  301. data/docs/PhoneLogParticipantPostMessage.md +22 -0
  302. data/docs/PhoneLogParticipantUnitAgreementPostMessage.md +20 -0
  303. data/docs/PhoneLogPostMessage.md +24 -0
  304. data/docs/PhoneLogPutMessage.md +22 -0
  305. data/docs/PhoneLogSearchMessage.md +32 -0
  306. data/docs/PhoneNumberMessage.md +20 -0
  307. data/docs/PhoneNumbersMessage.md +24 -0
  308. data/docs/PropertyGroupMessage.md +26 -0
  309. data/docs/PropertyGroupPostMessage.md +22 -0
  310. data/docs/PropertyGroupPutMessage.md +22 -0
  311. data/docs/PropertyGroupSearchMessage.md +20 -0
  312. data/docs/PropertyGroupsApi.md +327 -0
  313. data/docs/PropertyManagerMessage.md +32 -0
  314. data/docs/PropertyMessage.md +22 -0
  315. data/docs/RecurringTransactionLineMessage.md +20 -0
  316. data/docs/RecurringTransactionLinePostMessage.md +20 -0
  317. data/docs/RecurringTransactionMessage.md +40 -0
  318. data/docs/RentalApplianceMessage.md +32 -0
  319. data/docs/RentalAppliancePostMessage.md +32 -0
  320. data/docs/RentalAppliancePutMessage.md +28 -0
  321. data/docs/RentalApplianceSearchMessage.md +20 -0
  322. data/docs/RentalApplianceServiceHistoryMessage.md +24 -0
  323. data/docs/RentalApplianceServiceHistoryPostMessage.md +22 -0
  324. data/docs/RentalAppliancesApi.md +646 -0
  325. data/docs/RentalFeaturesMessage.md +20 -0
  326. data/docs/RentalFeaturesPutMessage.md +20 -0
  327. data/docs/RentalMessage.md +40 -0
  328. data/docs/RentalOwnerMessage.md +46 -0
  329. data/docs/RentalOwnerPostMessage.md +44 -0
  330. data/docs/RentalOwnerPutMessage.md +42 -0
  331. data/docs/RentalOwnerRequestTaskMessage.md +42 -0
  332. data/docs/RentalOwnerRequestTaskPostMessage.md +38 -0
  333. data/docs/RentalOwnerRequestTaskPutMessage.md +36 -0
  334. data/docs/RentalOwnerRequestTaskSearchMessage.md +40 -0
  335. data/docs/RentalOwnerTaxInformationMessage.md +28 -0
  336. data/docs/RentalOwnersApi.md +667 -0
  337. data/docs/RentalOwnersSearchMessage.md +30 -0
  338. data/docs/RentalPreferredVendorMessage.md +34 -0
  339. data/docs/RentalPreferredVendorPutMessage.md +18 -0
  340. data/docs/RentalPropertiesApi.md +989 -0
  341. data/docs/RentalPropertyPostMessage.md +36 -0
  342. data/docs/RentalPropertyPutMessage.md +32 -0
  343. data/docs/RentalPropertyUnitPostMessage.md +30 -0
  344. data/docs/RentalSearchMessage.md +32 -0
  345. data/docs/RentalTenantPostMessage.md +42 -0
  346. data/docs/RentalTenantPutMessage.md +40 -0
  347. data/docs/RentalTenantRenewalPostMessage.md +40 -0
  348. data/docs/RentalTenantsApi.md +673 -0
  349. data/docs/RentalUnitFeaturesMessage.md +18 -0
  350. data/docs/RentalUnitFeaturesPutMessage.md +18 -0
  351. data/docs/RentalUnitMessage.md +40 -0
  352. data/docs/RentalUnitPutMessage.md +30 -0
  353. data/docs/RentalUnitSearchMessage.md +22 -0
  354. data/docs/RentalUnitsApi.md +815 -0
  355. data/docs/RentalUnitsPostMessage.md +32 -0
  356. data/docs/RequestedByUserEntityMessage.md +28 -0
  357. data/docs/ResidentCenterApi.md +100 -0
  358. data/docs/ResidentCenterUserMessage.md +24 -0
  359. data/docs/ResidentCenterUserReferenceMessage.md +26 -0
  360. data/docs/ResidentCenterUserSearchMessage.md +26 -0
  361. data/docs/ResidentRequestTaskMessage.md +52 -0
  362. data/docs/ResidentRequestTaskPostMessage.md +42 -0
  363. data/docs/ResidentRequestTaskPutMessage.md +32 -0
  364. data/docs/ResidentRequestTaskSearchMessage.md +42 -0
  365. data/docs/SaveAddressMessage.md +30 -0
  366. data/docs/SaveEmergencyContactMessage.md +24 -0
  367. data/docs/TaskCategoryMessage.md +24 -0
  368. data/docs/TaskCategoryPutMessage.md +18 -0
  369. data/docs/TaskCategoryResponseMessage.md +24 -0
  370. data/docs/TaskCategorySaveMessage.md +18 -0
  371. data/docs/TaskHistoryFileMessage.md +28 -0
  372. data/docs/TaskHistoryFileUploadPostMessage.md +18 -0
  373. data/docs/TaskHistoryMessage.md +40 -0
  374. data/docs/TaskHistoryPutMessage.md +18 -0
  375. data/docs/TaskHistoryUserMessage.md +24 -0
  376. data/docs/TaskSearchMessage.md +44 -0
  377. data/docs/TaskSubCategoryMessage.md +20 -0
  378. data/docs/TasksApi.md +2528 -0
  379. data/docs/TaxInformationPostMessage.md +26 -0
  380. data/docs/TaxInformationSaveMessage.md +28 -0
  381. data/docs/TenantMessage.md +48 -0
  382. data/docs/TenantSearchMessage.md +36 -0
  383. data/docs/ToDoTaskMessage.md +40 -0
  384. data/docs/ToDoTaskPostMessage.md +36 -0
  385. data/docs/ToDoTaskPutMessage.md +36 -0
  386. data/docs/ToDoTaskSearchMessage.md +40 -0
  387. data/docs/UndepositedFundsMessage.md +18 -0
  388. data/docs/UnitAgreementMessage.md +22 -0
  389. data/docs/UserMessage.md +40 -0
  390. data/docs/UserRoleMessage.md +24 -0
  391. data/docs/UserSearchMessage.md +26 -0
  392. data/docs/VehicleMessage.md +24 -0
  393. data/docs/VendorCategoryMessage.md +22 -0
  394. data/docs/VendorCategorySaveMessage.md +18 -0
  395. data/docs/VendorCreditLineItemMessage.md +26 -0
  396. data/docs/VendorCreditLineItemPostMessage.md +24 -0
  397. data/docs/VendorCreditMessage.md +26 -0
  398. data/docs/VendorCreditPostMessage.md +24 -0
  399. data/docs/VendorInsuranceMessage.md +22 -0
  400. data/docs/VendorInsuranceSaveMessage.md +22 -0
  401. data/docs/VendorMessage.md +50 -0
  402. data/docs/VendorPostMessage.md +46 -0
  403. data/docs/VendorPutMessage.md +46 -0
  404. data/docs/VendorRefundLineMessage.md +26 -0
  405. data/docs/VendorRefundLinePostMessage.md +24 -0
  406. data/docs/VendorRefundMessage.md +30 -0
  407. data/docs/VendorRefundPostMessage.md +28 -0
  408. data/docs/VendorSearchMessage.md +32 -0
  409. data/docs/VendorTaxInformationMessage.md +28 -0
  410. data/docs/VendorTransactionMessage.md +28 -0
  411. data/docs/VendorTransactionSearchMessage.md +26 -0
  412. data/docs/VendorsApi.md +1396 -0
  413. data/docs/WorkOrderEntryContactMessage.md +20 -0
  414. data/docs/WorkOrderEntryContactResourceMessage.md +20 -0
  415. data/docs/WorkOrderLineItemMessage.md +24 -0
  416. data/docs/WorkOrderLineItemSaveMessage.md +24 -0
  417. data/docs/WorkOrderMessage.md +42 -0
  418. data/docs/WorkOrderPostMessage.md +38 -0
  419. data/docs/WorkOrderPutMessage.md +34 -0
  420. data/docs/WorkOrderSearchMessage.md +54 -0
  421. data/docs/WorkOrderTaskMessage.md +32 -0
  422. data/docs/WorkOrderTaskPostMessage.md +30 -0
  423. data/docs/WorkOrdersApi.md +361 -0
  424. data/lib/buildium-ruby/api/accounting_api.rb +1855 -0
  425. data/lib/buildium-ruby/api/administration_api.rb +417 -0
  426. data/lib/buildium-ruby/api/applicants_api.rb +1368 -0
  427. data/lib/buildium-ruby/api/association_appliances_api.rb +577 -0
  428. data/lib/buildium-ruby/api/association_owners_api.rb +849 -0
  429. data/lib/buildium-ruby/api/association_ownership_accounts_api.rb +1890 -0
  430. data/lib/buildium-ruby/api/association_tenants_api.rb +628 -0
  431. data/lib/buildium-ruby/api/association_units_api.rb +606 -0
  432. data/lib/buildium-ruby/api/associations_api.rb +1143 -0
  433. data/lib/buildium-ruby/api/bank_accounts_api.rb +2085 -0
  434. data/lib/buildium-ruby/api/client_leads_api.rb +174 -0
  435. data/lib/buildium-ruby/api/communications_api.rb +1097 -0
  436. data/lib/buildium-ruby/api/files_api.rb +652 -0
  437. data/lib/buildium-ruby/api/leases_api.rb +2636 -0
  438. data/lib/buildium-ruby/api/listings_api.rb +569 -0
  439. data/lib/buildium-ruby/api/property_groups_api.rb +299 -0
  440. data/lib/buildium-ruby/api/rental_appliances_api.rb +577 -0
  441. data/lib/buildium-ruby/api/rental_owners_api.rb +622 -0
  442. data/lib/buildium-ruby/api/rental_properties_api.rb +916 -0
  443. data/lib/buildium-ruby/api/rental_tenants_api.rb +635 -0
  444. data/lib/buildium-ruby/api/rental_units_api.rb +743 -0
  445. data/lib/buildium-ruby/api/resident_center_api.rb +111 -0
  446. data/lib/buildium-ruby/api/tasks_api.rb +2363 -0
  447. data/lib/buildium-ruby/api/vendors_api.rb +1285 -0
  448. data/lib/buildium-ruby/api/work_orders_api.rb +366 -0
  449. data/lib/buildium-ruby/api_client.rb +426 -0
  450. data/lib/buildium-ruby/api_error.rb +57 -0
  451. data/lib/buildium-ruby/configuration.rb +319 -0
  452. data/lib/buildium-ruby/models/account_info_message.rb +257 -0
  453. data/lib/buildium-ruby/models/accounting_entity_message.rb +273 -0
  454. data/lib/buildium-ruby/models/accounting_entity_save_message.rb +273 -0
  455. data/lib/buildium-ruby/models/accounting_lock_period_message.rb +242 -0
  456. data/lib/buildium-ruby/models/accounting_settings_message.rb +314 -0
  457. data/lib/buildium-ruby/models/address_message.rb +313 -0
  458. data/lib/buildium-ruby/models/all_tasks_message.rb +413 -0
  459. data/lib/buildium-ruby/models/announcement_message.rb +301 -0
  460. data/lib/buildium-ruby/models/announcement_post_message.rb +295 -0
  461. data/lib/buildium-ruby/models/announcement_search_message.rb +292 -0
  462. data/lib/buildium-ruby/models/announcement_sender_message.rb +239 -0
  463. data/lib/buildium-ruby/models/api_error_response.rb +237 -0
  464. data/lib/buildium-ruby/models/appliance_message.rb +259 -0
  465. data/lib/buildium-ruby/models/applicant_application_message.rb +282 -0
  466. data/lib/buildium-ruby/models/applicant_group_message.rb +294 -0
  467. data/lib/buildium-ruby/models/applicant_group_post_message.rb +235 -0
  468. data/lib/buildium-ruby/models/applicant_group_put_message.rb +284 -0
  469. data/lib/buildium-ruby/models/applicant_group_search_message.rb +296 -0
  470. data/lib/buildium-ruby/models/applicant_message.rb +312 -0
  471. data/lib/buildium-ruby/models/applicant_post_message.rb +283 -0
  472. data/lib/buildium-ruby/models/applicant_put_message.rb +267 -0
  473. data/lib/buildium-ruby/models/applicant_search_message.rb +326 -0
  474. data/lib/buildium-ruby/models/application_message.rb +294 -0
  475. data/lib/buildium-ruby/models/application_put_message.rb +257 -0
  476. data/lib/buildium-ruby/models/application_response_field_message.rb +294 -0
  477. data/lib/buildium-ruby/models/application_response_message.rb +274 -0
  478. data/lib/buildium-ruby/models/application_section_response_message.rb +219 -0
  479. data/lib/buildium-ruby/models/association_appliance_message.rb +288 -0
  480. data/lib/buildium-ruby/models/association_appliance_post_message.rb +298 -0
  481. data/lib/buildium-ruby/models/association_appliance_put_message.rb +273 -0
  482. data/lib/buildium-ruby/models/association_appliance_search_message.rb +232 -0
  483. data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +282 -0
  484. data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +282 -0
  485. data/lib/buildium-ruby/models/association_board_member_message.rb +344 -0
  486. data/lib/buildium-ruby/models/association_board_member_post_message.rb +293 -0
  487. data/lib/buildium-ruby/models/association_board_member_put_message.rb +278 -0
  488. data/lib/buildium-ruby/models/association_board_member_search_message.rb +274 -0
  489. data/lib/buildium-ruby/models/association_message.rb +327 -0
  490. data/lib/buildium-ruby/models/association_owner_board_term_message.rb +303 -0
  491. data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +278 -0
  492. data/lib/buildium-ruby/models/association_owner_message.rb +440 -0
  493. data/lib/buildium-ruby/models/association_owner_post_message.rb +398 -0
  494. data/lib/buildium-ruby/models/association_owner_put_message.rb +363 -0
  495. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +428 -0
  496. data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +223 -0
  497. data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +228 -0
  498. data/lib/buildium-ruby/models/association_ownership_account_message.rb +347 -0
  499. data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +346 -0
  500. data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +223 -0
  501. data/lib/buildium-ruby/models/association_ownership_account_search_message.rb +296 -0
  502. data/lib/buildium-ruby/models/association_post_message.rb +302 -0
  503. data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +300 -0
  504. data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +225 -0
  505. data/lib/buildium-ruby/models/association_put_message.rb +322 -0
  506. data/lib/buildium-ruby/models/association_search_message.rb +283 -0
  507. data/lib/buildium-ruby/models/association_tenant_message.rb +350 -0
  508. data/lib/buildium-ruby/models/association_tenant_post_message.rb +354 -0
  509. data/lib/buildium-ruby/models/association_tenant_put_message.rb +329 -0
  510. data/lib/buildium-ruby/models/association_unit_message.rb +334 -0
  511. data/lib/buildium-ruby/models/association_unit_put_message.rb +313 -0
  512. data/lib/buildium-ruby/models/association_unit_search_message.rb +241 -0
  513. data/lib/buildium-ruby/models/association_units_post_message.rb +328 -0
  514. data/lib/buildium-ruby/models/association_user_search_message.rb +324 -0
  515. data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +272 -0
  516. data/lib/buildium-ruby/models/bank_account_check_line_message.rb +267 -0
  517. data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +272 -0
  518. data/lib/buildium-ruby/models/bank_account_check_message.rb +279 -0
  519. data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +272 -0
  520. data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +272 -0
  521. data/lib/buildium-ruby/models/bank_account_check_post_message.rb +274 -0
  522. data/lib/buildium-ruby/models/bank_account_check_put_message.rb +274 -0
  523. data/lib/buildium-ruby/models/bank_account_check_search_message.rb +238 -0
  524. data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +267 -0
  525. data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +257 -0
  526. data/lib/buildium-ruby/models/bank_account_deposit_message.rb +272 -0
  527. data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +257 -0
  528. data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +250 -0
  529. data/lib/buildium-ruby/models/bank_account_deposit_search_message.rb +238 -0
  530. data/lib/buildium-ruby/models/bank_account_message.rb +360 -0
  531. data/lib/buildium-ruby/models/bank_account_post_message.rb +338 -0
  532. data/lib/buildium-ruby/models/bank_account_put_message.rb +343 -0
  533. data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +267 -0
  534. data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +277 -0
  535. data/lib/buildium-ruby/models/bank_account_quick_deposit_search_message.rb +238 -0
  536. data/lib/buildium-ruby/models/bank_account_search_message.rb +263 -0
  537. data/lib/buildium-ruby/models/bank_account_transaction_message.rb +359 -0
  538. data/lib/buildium-ruby/models/bank_account_transaction_search_message.rb +292 -0
  539. data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +272 -0
  540. data/lib/buildium-ruby/models/bank_account_transfer_message.rb +267 -0
  541. data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +277 -0
  542. data/lib/buildium-ruby/models/bank_account_transfer_search_message.rb +238 -0
  543. data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +267 -0
  544. data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +277 -0
  545. data/lib/buildium-ruby/models/bank_account_withdrawal_search_message.rb +238 -0
  546. data/lib/buildium-ruby/models/bill_file_message.rb +268 -0
  547. data/lib/buildium-ruby/models/bill_line_message.rb +266 -0
  548. data/lib/buildium-ruby/models/bill_line_post_message.rb +272 -0
  549. data/lib/buildium-ruby/models/bill_line_put_message.rb +282 -0
  550. data/lib/buildium-ruby/models/bill_markup_message.rb +263 -0
  551. data/lib/buildium-ruby/models/bill_markup_save_message.rb +273 -0
  552. data/lib/buildium-ruby/models/bill_message.rb +344 -0
  553. data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +263 -0
  554. data/lib/buildium-ruby/models/bill_payment_line_message.rb +238 -0
  555. data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +238 -0
  556. data/lib/buildium-ruby/models/bill_payment_message.rb +270 -0
  557. data/lib/buildium-ruby/models/bill_payment_post_message.rb +275 -0
  558. data/lib/buildium-ruby/models/bill_post_message.rb +301 -0
  559. data/lib/buildium-ruby/models/bill_put_message.rb +286 -0
  560. data/lib/buildium-ruby/models/bill_search_message.rb +336 -0
  561. data/lib/buildium-ruby/models/budget_details_message.rb +281 -0
  562. data/lib/buildium-ruby/models/budget_details_save_message.rb +237 -0
  563. data/lib/buildium-ruby/models/budget_message.rb +269 -0
  564. data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +328 -0
  565. data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +388 -0
  566. data/lib/buildium-ruby/models/budget_post_message.rb +319 -0
  567. data/lib/buildium-ruby/models/budget_put_message.rb +240 -0
  568. data/lib/buildium-ruby/models/budget_search_message.rb +240 -0
  569. data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +359 -0
  570. data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +374 -0
  571. data/lib/buildium-ruby/models/check_printing_info_message.rb +392 -0
  572. data/lib/buildium-ruby/models/check_printing_info_post_message.rb +392 -0
  573. data/lib/buildium-ruby/models/check_printing_info_put_message.rb +407 -0
  574. data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +295 -0
  575. data/lib/buildium-ruby/models/client_lead_message.rb +363 -0
  576. data/lib/buildium-ruby/models/client_lead_search_message.rb +285 -0
  577. data/lib/buildium-ruby/models/contact_detail_message.rb +248 -0
  578. data/lib/buildium-ruby/models/contact_detail_phone_message.rb +239 -0
  579. data/lib/buildium-ruby/models/contact_detail_save_message.rb +253 -0
  580. data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +239 -0
  581. data/lib/buildium-ruby/models/contact_info_message.rb +248 -0
  582. data/lib/buildium-ruby/models/contact_request_task_message.rb +381 -0
  583. data/lib/buildium-ruby/models/contact_request_task_post_message.rb +388 -0
  584. data/lib/buildium-ruby/models/contact_request_task_put_message.rb +388 -0
  585. data/lib/buildium-ruby/models/contact_request_task_search_message.rb +366 -0
  586. data/lib/buildium-ruby/models/cosigner_message.rb +343 -0
  587. data/lib/buildium-ruby/models/created_by_user_message.rb +248 -0
  588. data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +388 -0
  589. data/lib/buildium-ruby/models/deposit_detail_message.rb +231 -0
  590. data/lib/buildium-ruby/models/electronic_payments_message.rb +288 -0
  591. data/lib/buildium-ruby/models/email_message.rb +247 -0
  592. data/lib/buildium-ruby/models/email_post_message.rb +307 -0
  593. data/lib/buildium-ruby/models/email_recipient_message.rb +292 -0
  594. data/lib/buildium-ruby/models/email_search_message.rb +268 -0
  595. data/lib/buildium-ruby/models/email_sender_message.rb +248 -0
  596. data/lib/buildium-ruby/models/emergency_contact_message.rb +249 -0
  597. data/lib/buildium-ruby/models/file_category_message.rb +239 -0
  598. data/lib/buildium-ruby/models/file_category_post_message.rb +224 -0
  599. data/lib/buildium-ruby/models/file_category_put_message.rb +224 -0
  600. data/lib/buildium-ruby/models/file_download_message.rb +218 -0
  601. data/lib/buildium-ruby/models/file_entity_message.rb +273 -0
  602. data/lib/buildium-ruby/models/file_message.rb +297 -0
  603. data/lib/buildium-ruby/models/file_name_post_message.rb +223 -0
  604. data/lib/buildium-ruby/models/file_put_message.rb +248 -0
  605. data/lib/buildium-ruby/models/file_search_message.rb +315 -0
  606. data/lib/buildium-ruby/models/file_upload_post_message.rb +322 -0
  607. data/lib/buildium-ruby/models/file_upload_ticket_message.rb +240 -0
  608. data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +297 -0
  609. data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +264 -0
  610. data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +264 -0
  611. data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +267 -0
  612. data/lib/buildium-ruby/models/general_ledger_journal_message.rb +230 -0
  613. data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +349 -0
  614. data/lib/buildium-ruby/models/general_ledger_transaction_search_message.rb +310 -0
  615. data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +228 -0
  616. data/lib/buildium-ruby/models/gl_account_balance_message.rb +240 -0
  617. data/lib/buildium-ruby/models/gl_account_balance_search_message.rb +317 -0
  618. data/lib/buildium-ruby/models/gl_account_message.rb +419 -0
  619. data/lib/buildium-ruby/models/gl_account_post_message.rb +349 -0
  620. data/lib/buildium-ruby/models/gl_account_put_message.rb +344 -0
  621. data/lib/buildium-ruby/models/gl_accounts_search_message.rb +243 -0
  622. data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +258 -0
  623. data/lib/buildium-ruby/models/internal_transaction_status_message.rb +239 -0
  624. data/lib/buildium-ruby/models/journal_line_message.rb +268 -0
  625. data/lib/buildium-ruby/models/journal_message.rb +230 -0
  626. data/lib/buildium-ruby/models/last_updated_by_user_message.rb +259 -0
  627. data/lib/buildium-ruby/models/lease_account_detail_message.rb +229 -0
  628. data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +249 -0
  629. data/lib/buildium-ruby/models/lease_charge_post_message.rb +241 -0
  630. data/lib/buildium-ruby/models/lease_charge_put_message.rb +250 -0
  631. data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +374 -0
  632. data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +330 -0
  633. data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +239 -0
  634. data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +309 -0
  635. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +238 -0
  636. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +260 -0
  637. data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +239 -0
  638. data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +335 -0
  639. data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +228 -0
  640. data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +238 -0
  641. data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +301 -0
  642. data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +306 -0
  643. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +239 -0
  644. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +239 -0
  645. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +256 -0
  646. data/lib/buildium-ruby/models/lease_message.rb +496 -0
  647. data/lib/buildium-ruby/models/lease_move_out_data_message.rb +238 -0
  648. data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +248 -0
  649. data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +330 -0
  650. data/lib/buildium-ruby/models/lease_outstanding_balance_search_message.rb +345 -0
  651. data/lib/buildium-ruby/models/lease_post_message.rb +379 -0
  652. data/lib/buildium-ruby/models/lease_put_message.rb +322 -0
  653. data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +408 -0
  654. data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +397 -0
  655. data/lib/buildium-ruby/models/lease_renewal_message.rb +336 -0
  656. data/lib/buildium-ruby/models/lease_renewal_post_message.rb +378 -0
  657. data/lib/buildium-ruby/models/lease_rent_charge_message.rb +278 -0
  658. data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +263 -0
  659. data/lib/buildium-ruby/models/lease_rent_message.rb +334 -0
  660. data/lib/buildium-ruby/models/lease_rent_post_message.rb +275 -0
  661. data/lib/buildium-ruby/models/lease_search_message.rb +359 -0
  662. data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +239 -0
  663. data/lib/buildium-ruby/models/lease_tenant_message.rb +262 -0
  664. data/lib/buildium-ruby/models/lease_transaction_message.rb +298 -0
  665. data/lib/buildium-ruby/models/lease_transaction_search_message.rb +263 -0
  666. data/lib/buildium-ruby/models/listing_contact_message.rb +259 -0
  667. data/lib/buildium-ruby/models/listing_contact_save_message.rb +253 -0
  668. data/lib/buildium-ruby/models/listing_file_message.rb +272 -0
  669. data/lib/buildium-ruby/models/listing_message.rb +305 -0
  670. data/lib/buildium-ruby/models/listing_property_message.rb +326 -0
  671. data/lib/buildium-ruby/models/listing_put_message.rb +283 -0
  672. data/lib/buildium-ruby/models/listing_search_message.rb +262 -0
  673. data/lib/buildium-ruby/models/listing_unit_message.rb +358 -0
  674. data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +218 -0
  675. data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +227 -0
  676. data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +249 -0
  677. data/lib/buildium-ruby/models/lookup_message.rb +226 -0
  678. data/lib/buildium-ruby/models/mailing_template_message.rb +282 -0
  679. data/lib/buildium-ruby/models/note_message.rb +237 -0
  680. data/lib/buildium-ruby/models/note_post_message.rb +223 -0
  681. data/lib/buildium-ruby/models/note_put_message.rb +223 -0
  682. data/lib/buildium-ruby/models/note_search_message.rb +238 -0
  683. data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +228 -0
  684. data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +374 -0
  685. data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +238 -0
  686. data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +309 -0
  687. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +238 -0
  688. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +260 -0
  689. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +248 -0
  690. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +238 -0
  691. data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +250 -0
  692. data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +250 -0
  693. data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +239 -0
  694. data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +335 -0
  695. data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +310 -0
  696. data/lib/buildium-ruby/models/ownership_account_outstanding_balance_search_message.rb +308 -0
  697. data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +408 -0
  698. data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +397 -0
  699. data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +228 -0
  700. data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +238 -0
  701. data/lib/buildium-ruby/models/ownership_account_refund_message.rb +301 -0
  702. data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +306 -0
  703. data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +298 -0
  704. data/lib/buildium-ruby/models/paid_by_message.rb +228 -0
  705. data/lib/buildium-ruby/models/participant_message.rb +240 -0
  706. data/lib/buildium-ruby/models/participant_resource_message.rb +263 -0
  707. data/lib/buildium-ruby/models/payee_message.rb +283 -0
  708. data/lib/buildium-ruby/models/payment_detail_message.rb +281 -0
  709. data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +378 -0
  710. data/lib/buildium-ruby/models/payment_transactions_message.rb +237 -0
  711. data/lib/buildium-ruby/models/phone_log_message.rb +266 -0
  712. data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +282 -0
  713. data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +263 -0
  714. data/lib/buildium-ruby/models/phone_log_post_message.rb +267 -0
  715. data/lib/buildium-ruby/models/phone_log_put_message.rb +253 -0
  716. data/lib/buildium-ruby/models/phone_log_search_message.rb +336 -0
  717. data/lib/buildium-ruby/models/phone_number_message.rb +263 -0
  718. data/lib/buildium-ruby/models/phone_numbers_message.rb +249 -0
  719. data/lib/buildium-ruby/models/property_group_message.rb +259 -0
  720. data/lib/buildium-ruby/models/property_group_post_message.rb +250 -0
  721. data/lib/buildium-ruby/models/property_group_put_message.rb +250 -0
  722. data/lib/buildium-ruby/models/property_group_search_message.rb +230 -0
  723. data/lib/buildium-ruby/models/property_manager_message.rb +291 -0
  724. data/lib/buildium-ruby/models/property_message.rb +273 -0
  725. data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +228 -0
  726. data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +238 -0
  727. data/lib/buildium-ruby/models/recurring_transaction_message.rb +388 -0
  728. data/lib/buildium-ruby/models/rental_appliance_message.rb +288 -0
  729. data/lib/buildium-ruby/models/rental_appliance_post_message.rb +298 -0
  730. data/lib/buildium-ruby/models/rental_appliance_put_message.rb +273 -0
  731. data/lib/buildium-ruby/models/rental_appliance_search_message.rb +232 -0
  732. data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +282 -0
  733. data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +282 -0
  734. data/lib/buildium-ruby/models/rental_features_message.rb +255 -0
  735. data/lib/buildium-ruby/models/rental_features_put_message.rb +254 -0
  736. data/lib/buildium-ruby/models/rental_message.rb +373 -0
  737. data/lib/buildium-ruby/models/rental_owner_message.rb +361 -0
  738. data/lib/buildium-ruby/models/rental_owner_post_message.rb +363 -0
  739. data/lib/buildium-ruby/models/rental_owner_put_message.rb +354 -0
  740. data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +381 -0
  741. data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +384 -0
  742. data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +369 -0
  743. data/lib/buildium-ruby/models/rental_owner_request_task_search_message.rb +366 -0
  744. data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +302 -0
  745. data/lib/buildium-ruby/models/rental_owners_search_message.rb +314 -0
  746. data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +300 -0
  747. data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +225 -0
  748. data/lib/buildium-ruby/models/rental_property_post_message.rb +365 -0
  749. data/lib/buildium-ruby/models/rental_property_put_message.rb +341 -0
  750. data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +333 -0
  751. data/lib/buildium-ruby/models/rental_search_message.rb +330 -0
  752. data/lib/buildium-ruby/models/rental_tenant_post_message.rb +388 -0
  753. data/lib/buildium-ruby/models/rental_tenant_put_message.rb +373 -0
  754. data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +373 -0
  755. data/lib/buildium-ruby/models/rental_unit_features_message.rb +243 -0
  756. data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +242 -0
  757. data/lib/buildium-ruby/models/rental_unit_message.rb +374 -0
  758. data/lib/buildium-ruby/models/rental_unit_put_message.rb +333 -0
  759. data/lib/buildium-ruby/models/rental_unit_search_message.rb +240 -0
  760. data/lib/buildium-ruby/models/rental_units_post_message.rb +348 -0
  761. data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +303 -0
  762. data/lib/buildium-ruby/models/resident_center_user_message.rb +280 -0
  763. data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +292 -0
  764. data/lib/buildium-ruby/models/resident_center_user_search_message.rb +288 -0
  765. data/lib/buildium-ruby/models/resident_request_task_message.rb +429 -0
  766. data/lib/buildium-ruby/models/resident_request_task_post_message.rb +409 -0
  767. data/lib/buildium-ruby/models/resident_request_task_put_message.rb +349 -0
  768. data/lib/buildium-ruby/models/resident_request_task_search_message.rb +376 -0
  769. data/lib/buildium-ruby/models/save_address_message.rb +323 -0
  770. data/lib/buildium-ruby/models/save_emergency_contact_message.rb +248 -0
  771. data/lib/buildium-ruby/models/task_category_message.rb +251 -0
  772. data/lib/buildium-ruby/models/task_category_put_message.rb +224 -0
  773. data/lib/buildium-ruby/models/task_category_response_message.rb +248 -0
  774. data/lib/buildium-ruby/models/task_category_save_message.rb +224 -0
  775. data/lib/buildium-ruby/models/task_history_file_message.rb +268 -0
  776. data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +223 -0
  777. data/lib/buildium-ruby/models/task_history_message.rb +376 -0
  778. data/lib/buildium-ruby/models/task_history_put_message.rb +223 -0
  779. data/lib/buildium-ruby/models/task_history_user_message.rb +249 -0
  780. data/lib/buildium-ruby/models/task_search_message.rb +398 -0
  781. data/lib/buildium-ruby/models/task_sub_category_message.rb +229 -0
  782. data/lib/buildium-ruby/models/tax_information_post_message.rb +292 -0
  783. data/lib/buildium-ruby/models/tax_information_save_message.rb +307 -0
  784. data/lib/buildium-ruby/models/tenant_message.rb +404 -0
  785. data/lib/buildium-ruby/models/tenant_search_message.rb +339 -0
  786. data/lib/buildium-ruby/models/to_do_task_message.rb +372 -0
  787. data/lib/buildium-ruby/models/to_do_task_post_message.rb +374 -0
  788. data/lib/buildium-ruby/models/to_do_task_put_message.rb +374 -0
  789. data/lib/buildium-ruby/models/to_do_task_search_message.rb +366 -0
  790. data/lib/buildium-ruby/models/undeposited_funds_message.rb +217 -0
  791. data/lib/buildium-ruby/models/unit_agreement_message.rb +273 -0
  792. data/lib/buildium-ruby/models/user_message.rb +354 -0
  793. data/lib/buildium-ruby/models/user_role_message.rb +249 -0
  794. data/lib/buildium-ruby/models/user_search_message.rb +297 -0
  795. data/lib/buildium-ruby/models/vehicle_message.rb +249 -0
  796. data/lib/buildium-ruby/models/vendor_category_message.rb +239 -0
  797. data/lib/buildium-ruby/models/vendor_category_save_message.rb +223 -0
  798. data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +257 -0
  799. data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +262 -0
  800. data/lib/buildium-ruby/models/vendor_credit_message.rb +260 -0
  801. data/lib/buildium-ruby/models/vendor_credit_post_message.rb +260 -0
  802. data/lib/buildium-ruby/models/vendor_insurance_message.rb +239 -0
  803. data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +239 -0
  804. data/lib/buildium-ruby/models/vendor_message.rb +377 -0
  805. data/lib/buildium-ruby/models/vendor_post_message.rb +364 -0
  806. data/lib/buildium-ruby/models/vendor_put_message.rb +364 -0
  807. data/lib/buildium-ruby/models/vendor_refund_line_message.rb +257 -0
  808. data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +262 -0
  809. data/lib/buildium-ruby/models/vendor_refund_message.rb +314 -0
  810. data/lib/buildium-ruby/models/vendor_refund_post_message.rb +324 -0
  811. data/lib/buildium-ruby/models/vendor_search_message.rb +334 -0
  812. data/lib/buildium-ruby/models/vendor_tax_information_message.rb +302 -0
  813. data/lib/buildium-ruby/models/vendor_transaction_message.rb +302 -0
  814. data/lib/buildium-ruby/models/vendor_transaction_search_message.rb +292 -0
  815. data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +231 -0
  816. data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +263 -0
  817. data/lib/buildium-ruby/models/work_order_line_item_message.rb +249 -0
  818. data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +258 -0
  819. data/lib/buildium-ruby/models/work_order_message.rb +372 -0
  820. data/lib/buildium-ruby/models/work_order_post_message.rb +363 -0
  821. data/lib/buildium-ruby/models/work_order_put_message.rb +344 -0
  822. data/lib/buildium-ruby/models/work_order_search_message.rb +452 -0
  823. data/lib/buildium-ruby/models/work_order_task_message.rb +346 -0
  824. data/lib/buildium-ruby/models/work_order_task_post_message.rb +345 -0
  825. data/lib/buildium-ruby/version.rb +15 -0
  826. data/lib/buildium-ruby.rb +438 -0
  827. data/openapitools.json +7 -0
  828. data/spec/api/accounting_api_spec.rb +383 -0
  829. data/spec/api/administration_api_spec.rb +114 -0
  830. data/spec/api/applicants_api_spec.rb +294 -0
  831. data/spec/api/association_appliances_api_spec.rb +141 -0
  832. data/spec/api/association_owners_api_spec.rb +195 -0
  833. data/spec/api/association_ownership_accounts_api_spec.rb +385 -0
  834. data/spec/api/association_tenants_api_spec.rb +153 -0
  835. data/spec/api/association_units_api_spec.rb +147 -0
  836. data/spec/api/associations_api_spec.rb +248 -0
  837. data/spec/api/bank_accounts_api_spec.rb +420 -0
  838. data/spec/api/client_leads_api_spec.rb +66 -0
  839. data/spec/api/communications_api_spec.rb +248 -0
  840. data/spec/api/files_api_spec.rb +156 -0
  841. data/spec/api/leases_api_spec.rb +529 -0
  842. data/spec/api/listings_api_spec.rb +139 -0
  843. data/spec/api/property_groups_api_spec.rb +88 -0
  844. data/spec/api/rental_appliances_api_spec.rb +141 -0
  845. data/spec/api/rental_owners_api_spec.rb +151 -0
  846. data/spec/api/rental_properties_api_spec.rb +205 -0
  847. data/spec/api/rental_tenants_api_spec.rb +154 -0
  848. data/spec/api/rental_units_api_spec.rb +172 -0
  849. data/spec/api/resident_center_api_spec.rb +54 -0
  850. data/spec/api/tasks_api_spec.rb +493 -0
  851. data/spec/api/vendors_api_spec.rb +275 -0
  852. data/spec/api/work_orders_api_spec.rb +105 -0
  853. data/spec/api_client_spec.rb +188 -0
  854. data/spec/configuration_spec.rb +42 -0
  855. data/spec/models/account_info_message_spec.rb +58 -0
  856. data/spec/models/accounting_entity_message_spec.rb +50 -0
  857. data/spec/models/accounting_entity_save_message_spec.rb +44 -0
  858. data/spec/models/accounting_lock_period_message_spec.rb +46 -0
  859. data/spec/models/accounting_settings_message_spec.rb +72 -0
  860. data/spec/models/address_message_spec.rb +74 -0
  861. data/spec/models/all_tasks_message_spec.rb +130 -0
  862. data/spec/models/announcement_message_spec.rb +74 -0
  863. data/spec/models/announcement_post_message_spec.rb +64 -0
  864. data/spec/models/announcement_search_message_spec.rb +62 -0
  865. data/spec/models/announcement_sender_message_spec.rb +46 -0
  866. data/spec/models/api_error_response_spec.rb +46 -0
  867. data/spec/models/appliance_message_spec.rb +58 -0
  868. data/spec/models/applicant_application_message_spec.rb +56 -0
  869. data/spec/models/applicant_group_message_spec.rb +62 -0
  870. data/spec/models/applicant_group_post_message_spec.rb +40 -0
  871. data/spec/models/applicant_group_put_message_spec.rb +50 -0
  872. data/spec/models/applicant_group_search_message_spec.rb +66 -0
  873. data/spec/models/applicant_message_spec.rb +88 -0
  874. data/spec/models/applicant_post_message_spec.rb +64 -0
  875. data/spec/models/applicant_put_message_spec.rb +58 -0
  876. data/spec/models/applicant_search_message_spec.rb +84 -0
  877. data/spec/models/application_message_spec.rb +62 -0
  878. data/spec/models/application_put_message_spec.rb +38 -0
  879. data/spec/models/application_response_field_message_spec.rb +60 -0
  880. data/spec/models/application_response_message_spec.rb +50 -0
  881. data/spec/models/application_section_response_message_spec.rb +34 -0
  882. data/spec/models/association_appliance_message_spec.rb +76 -0
  883. data/spec/models/association_appliance_post_message_spec.rb +76 -0
  884. data/spec/models/association_appliance_put_message_spec.rb +64 -0
  885. data/spec/models/association_appliance_search_message_spec.rb +40 -0
  886. data/spec/models/association_appliance_service_history_message_spec.rb +56 -0
  887. data/spec/models/association_appliance_service_history_post_message_spec.rb +50 -0
  888. data/spec/models/association_board_member_message_spec.rb +92 -0
  889. data/spec/models/association_board_member_post_message_spec.rb +56 -0
  890. data/spec/models/association_board_member_put_message_spec.rb +50 -0
  891. data/spec/models/association_board_member_search_message_spec.rb +60 -0
  892. data/spec/models/association_message_spec.rb +100 -0
  893. data/spec/models/association_owner_board_term_message_spec.rb +68 -0
  894. data/spec/models/association_owner_board_term_post_message_spec.rb +50 -0
  895. data/spec/models/association_owner_message_spec.rb +144 -0
  896. data/spec/models/association_owner_post_message_spec.rb +116 -0
  897. data/spec/models/association_owner_put_message_spec.rb +98 -0
  898. data/spec/models/association_owner_to_existing_ownership_account_post_message_spec.rb +128 -0
  899. data/spec/models/association_owner_unit_occupancy_put_message_spec.rb +34 -0
  900. data/spec/models/association_owner_unit_occupancy_status_message_spec.rb +40 -0
  901. data/spec/models/association_ownership_account_message_spec.rb +90 -0
  902. data/spec/models/association_ownership_account_post_message_spec.rb +80 -0
  903. data/spec/models/association_ownership_account_put_message_spec.rb +34 -0
  904. data/spec/models/association_ownership_account_search_message_spec.rb +72 -0
  905. data/spec/models/association_post_message_spec.rb +76 -0
  906. data/spec/models/association_preferred_vendor_message_spec.rb +82 -0
  907. data/spec/models/association_preferred_vendor_put_message_spec.rb +34 -0
  908. data/spec/models/association_put_message_spec.rb +82 -0
  909. data/spec/models/association_search_message_spec.rb +56 -0
  910. data/spec/models/association_tenant_message_spec.rb +112 -0
  911. data/spec/models/association_tenant_post_message_spec.rb +106 -0
  912. data/spec/models/association_tenant_put_message_spec.rb +94 -0
  913. data/spec/models/association_unit_message_spec.rb +84 -0
  914. data/spec/models/association_unit_put_message_spec.rb +66 -0
  915. data/spec/models/association_unit_search_message_spec.rb +46 -0
  916. data/spec/models/association_units_post_message_spec.rb +72 -0
  917. data/spec/models/association_user_search_message_spec.rb +86 -0
  918. data/spec/models/bank_account_check_accounting_entity_save_message_spec.rb +44 -0
  919. data/spec/models/bank_account_check_line_message_spec.rb +64 -0
  920. data/spec/models/bank_account_check_line_save_message_spec.rb +58 -0
  921. data/spec/models/bank_account_check_message_spec.rb +70 -0
  922. data/spec/models/bank_account_check_payee_message_spec.rb +50 -0
  923. data/spec/models/bank_account_check_payee_save_message_spec.rb +44 -0
  924. data/spec/models/bank_account_check_post_message_spec.rb +58 -0
  925. data/spec/models/bank_account_check_put_message_spec.rb +58 -0
  926. data/spec/models/bank_account_check_search_message_spec.rb +40 -0
  927. data/spec/models/bank_account_deposit_line_message_spec.rb +64 -0
  928. data/spec/models/bank_account_deposit_line_save_message_spec.rb +58 -0
  929. data/spec/models/bank_account_deposit_message_spec.rb +64 -0
  930. data/spec/models/bank_account_deposit_post_message_spec.rb +52 -0
  931. data/spec/models/bank_account_deposit_put_message_spec.rb +46 -0
  932. data/spec/models/bank_account_deposit_search_message_spec.rb +40 -0
  933. data/spec/models/bank_account_message_spec.rb +104 -0
  934. data/spec/models/bank_account_post_message_spec.rb +78 -0
  935. data/spec/models/bank_account_put_message_spec.rb +78 -0
  936. data/spec/models/bank_account_quick_deposit_message_spec.rb +64 -0
  937. data/spec/models/bank_account_quick_deposit_save_message_spec.rb +58 -0
  938. data/spec/models/bank_account_quick_deposit_search_message_spec.rb +40 -0
  939. data/spec/models/bank_account_search_message_spec.rb +44 -0
  940. data/spec/models/bank_account_transaction_message_spec.rb +96 -0
  941. data/spec/models/bank_account_transaction_search_message_spec.rb +56 -0
  942. data/spec/models/bank_account_transfer_accounting_entity_save_message_spec.rb +44 -0
  943. data/spec/models/bank_account_transfer_message_spec.rb +64 -0
  944. data/spec/models/bank_account_transfer_save_message_spec.rb +58 -0
  945. data/spec/models/bank_account_transfer_search_message_spec.rb +40 -0
  946. data/spec/models/bank_account_withdrawal_message_spec.rb +64 -0
  947. data/spec/models/bank_account_withdrawal_save_message_spec.rb +58 -0
  948. data/spec/models/bank_account_withdrawal_search_message_spec.rb +40 -0
  949. data/spec/models/bill_file_message_spec.rb +64 -0
  950. data/spec/models/bill_line_message_spec.rb +64 -0
  951. data/spec/models/bill_line_post_message_spec.rb +58 -0
  952. data/spec/models/bill_line_put_message_spec.rb +64 -0
  953. data/spec/models/bill_markup_message_spec.rb +44 -0
  954. data/spec/models/bill_markup_save_message_spec.rb +44 -0
  955. data/spec/models/bill_message_spec.rb +92 -0
  956. data/spec/models/bill_payment_accounting_entity_message_spec.rb +44 -0
  957. data/spec/models/bill_payment_line_message_spec.rb +46 -0
  958. data/spec/models/bill_payment_line_post_message_spec.rb +40 -0
  959. data/spec/models/bill_payment_message_spec.rb +64 -0
  960. data/spec/models/bill_payment_post_message_spec.rb +58 -0
  961. data/spec/models/bill_post_message_spec.rb +70 -0
  962. data/spec/models/bill_put_message_spec.rb +64 -0
  963. data/spec/models/bill_search_message_spec.rb +88 -0
  964. data/spec/models/budget_details_message_spec.rb +56 -0
  965. data/spec/models/budget_details_save_message_spec.rb +40 -0
  966. data/spec/models/budget_message_spec.rb +64 -0
  967. data/spec/models/budget_monthly_amounts_message_spec.rb +100 -0
  968. data/spec/models/budget_monthly_amounts_save_message_spec.rb +100 -0
  969. data/spec/models/budget_post_message_spec.rb +62 -0
  970. data/spec/models/budget_put_message_spec.rb +40 -0
  971. data/spec/models/budget_search_message_spec.rb +46 -0
  972. data/spec/models/charge_recurring_transaction_post_message_spec.rb +84 -0
  973. data/spec/models/charge_recurring_transaction_put_message_spec.rb +90 -0
  974. data/spec/models/check_printing_info_message_spec.rb +122 -0
  975. data/spec/models/check_printing_info_post_message_spec.rb +122 -0
  976. data/spec/models/check_printing_info_put_message_spec.rb +122 -0
  977. data/spec/models/client_lead_credit_request_message_spec.rb +60 -0
  978. data/spec/models/client_lead_message_spec.rb +102 -0
  979. data/spec/models/client_lead_search_message_spec.rb +66 -0
  980. data/spec/models/contact_detail_message_spec.rb +52 -0
  981. data/spec/models/contact_detail_phone_message_spec.rb +46 -0
  982. data/spec/models/contact_detail_save_message_spec.rb +52 -0
  983. data/spec/models/contact_detail_save_phone_message_spec.rb +46 -0
  984. data/spec/models/contact_info_message_spec.rb +52 -0
  985. data/spec/models/contact_request_task_message_spec.rb +114 -0
  986. data/spec/models/contact_request_task_post_message_spec.rb +102 -0
  987. data/spec/models/contact_request_task_put_message_spec.rb +102 -0
  988. data/spec/models/contact_request_task_search_message_spec.rb +112 -0
  989. data/spec/models/cosigner_message_spec.rb +92 -0
  990. data/spec/models/created_by_user_message_spec.rb +52 -0
  991. data/spec/models/credit_recurring_transaction_post_message_spec.rb +100 -0
  992. data/spec/models/deposit_detail_message_spec.rb +40 -0
  993. data/spec/models/electronic_payments_message_spec.rb +76 -0
  994. data/spec/models/email_message_spec.rb +52 -0
  995. data/spec/models/email_post_message_spec.rb +70 -0
  996. data/spec/models/email_recipient_message_spec.rb +62 -0
  997. data/spec/models/email_search_message_spec.rb +58 -0
  998. data/spec/models/email_sender_message_spec.rb +52 -0
  999. data/spec/models/emergency_contact_message_spec.rb +52 -0
  1000. data/spec/models/file_category_message_spec.rb +46 -0
  1001. data/spec/models/file_category_post_message_spec.rb +34 -0
  1002. data/spec/models/file_category_put_message_spec.rb +34 -0
  1003. data/spec/models/file_download_message_spec.rb +34 -0
  1004. data/spec/models/file_entity_message_spec.rb +50 -0
  1005. data/spec/models/file_message_spec.rb +82 -0
  1006. data/spec/models/file_name_post_message_spec.rb +34 -0
  1007. data/spec/models/file_put_message_spec.rb +46 -0
  1008. data/spec/models/file_search_message_spec.rb +74 -0
  1009. data/spec/models/file_upload_post_message_spec.rb +68 -0
  1010. data/spec/models/file_upload_ticket_message_spec.rb +46 -0
  1011. data/spec/models/general_journal_entry_line_save_message_spec.rb +56 -0
  1012. data/spec/models/general_journal_entry_post_message_spec.rb +52 -0
  1013. data/spec/models/general_journal_entry_put_message_spec.rb +52 -0
  1014. data/spec/models/general_ledger_journal_line_message_spec.rb +64 -0
  1015. data/spec/models/general_ledger_journal_message_spec.rb +40 -0
  1016. data/spec/models/general_ledger_transaction_message_spec.rb +98 -0
  1017. data/spec/models/general_ledger_transaction_search_message_spec.rb +62 -0
  1018. data/spec/models/gl_account_balance_item_message_spec.rb +40 -0
  1019. data/spec/models/gl_account_balance_message_spec.rb +46 -0
  1020. data/spec/models/gl_account_balance_search_message_spec.rb +66 -0
  1021. data/spec/models/gl_account_message_spec.rb +130 -0
  1022. data/spec/models/gl_account_post_message_spec.rb +84 -0
  1023. data/spec/models/gl_account_put_message_spec.rb +84 -0
  1024. data/spec/models/gl_accounts_search_message_spec.rb +38 -0
  1025. data/spec/models/gl_transaction_message_v1_spec.rb +58 -0
  1026. data/spec/models/internal_transaction_status_message_spec.rb +46 -0
  1027. data/spec/models/journal_line_message_spec.rb +64 -0
  1028. data/spec/models/journal_message_spec.rb +40 -0
  1029. data/spec/models/last_updated_by_user_message_spec.rb +58 -0
  1030. data/spec/models/lease_account_detail_message_spec.rb +40 -0
  1031. data/spec/models/lease_charge_line_save_message_spec.rb +46 -0
  1032. data/spec/models/lease_charge_post_message_spec.rb +46 -0
  1033. data/spec/models/lease_charge_put_message_spec.rb +46 -0
  1034. data/spec/models/lease_charge_recurring_transaction_message_spec.rb +108 -0
  1035. data/spec/models/lease_cosigner_post_message_spec.rb +80 -0
  1036. data/spec/models/lease_ledger_credit_line_post_message_spec.rb +40 -0
  1037. data/spec/models/lease_ledger_credit_post_message_spec.rb +62 -0
  1038. data/spec/models/lease_ledger_deposit_withholding_line_post_message_spec.rb +40 -0
  1039. data/spec/models/lease_ledger_deposit_withholding_post_message_spec.rb +52 -0
  1040. data/spec/models/lease_ledger_payment_line_save_message_spec.rb +40 -0
  1041. data/spec/models/lease_ledger_payment_post_message_spec.rb +74 -0
  1042. data/spec/models/lease_ledger_refund_line_message_spec.rb +40 -0
  1043. data/spec/models/lease_ledger_refund_line_post_message_spec.rb +40 -0
  1044. data/spec/models/lease_ledger_refund_message_spec.rb +82 -0
  1045. data/spec/models/lease_ledger_refund_post_message_spec.rb +70 -0
  1046. data/spec/models/lease_ledger_reverse_payment_nsf_charge_post_message_spec.rb +40 -0
  1047. data/spec/models/lease_ledger_reverse_payment_other_bank_charge_post_message_spec.rb +40 -0
  1048. data/spec/models/lease_ledger_reverse_payment_post_message_spec.rb +52 -0
  1049. data/spec/models/lease_message_spec.rb +170 -0
  1050. data/spec/models/lease_move_out_data_message_spec.rb +46 -0
  1051. data/spec/models/lease_move_out_data_post_message_spec.rb +46 -0
  1052. data/spec/models/lease_outstanding_balance_message_spec.rb +100 -0
  1053. data/spec/models/lease_outstanding_balance_search_message_spec.rb +90 -0
  1054. data/spec/models/lease_post_message_spec.rb +98 -0
  1055. data/spec/models/lease_put_message_spec.rb +68 -0
  1056. data/spec/models/lease_recurring_credit_message_spec.rb +124 -0
  1057. data/spec/models/lease_recurring_payment_message_spec.rb +118 -0
  1058. data/spec/models/lease_renewal_message_spec.rb +84 -0
  1059. data/spec/models/lease_renewal_post_message_spec.rb +98 -0
  1060. data/spec/models/lease_rent_charge_message_spec.rb +70 -0
  1061. data/spec/models/lease_rent_charge_post_message_spec.rb +52 -0
  1062. data/spec/models/lease_rent_message_spec.rb +86 -0
  1063. data/spec/models/lease_rent_post_message_spec.rb +44 -0
  1064. data/spec/models/lease_search_message_spec.rb +108 -0
  1065. data/spec/models/lease_security_deposit_post_message_spec.rb +40 -0
  1066. data/spec/models/lease_tenant_message_spec.rb +44 -0
  1067. data/spec/models/lease_transaction_message_spec.rb +82 -0
  1068. data/spec/models/lease_transaction_search_message_spec.rb +50 -0
  1069. data/spec/models/listing_contact_message_spec.rb +58 -0
  1070. data/spec/models/listing_contact_save_message_spec.rb +52 -0
  1071. data/spec/models/listing_file_message_spec.rb +50 -0
  1072. data/spec/models/listing_message_spec.rb +88 -0
  1073. data/spec/models/listing_property_message_spec.rb +90 -0
  1074. data/spec/models/listing_put_message_spec.rb +64 -0
  1075. data/spec/models/listing_search_message_spec.rb +44 -0
  1076. data/spec/models/listing_unit_message_spec.rb +100 -0
  1077. data/spec/models/lock_period_settings_global_message_spec.rb +34 -0
  1078. data/spec/models/lock_period_settings_overrides_message_spec.rb +40 -0
  1079. data/spec/models/logged_by_staff_user_message_spec.rb +52 -0
  1080. data/spec/models/lookup_message_spec.rb +40 -0
  1081. data/spec/models/mailing_template_message_spec.rb +56 -0
  1082. data/spec/models/note_message_spec.rb +46 -0
  1083. data/spec/models/note_post_message_spec.rb +34 -0
  1084. data/spec/models/note_put_message_spec.rb +34 -0
  1085. data/spec/models/note_search_message_spec.rb +46 -0
  1086. data/spec/models/outstanding_balances_line_message_spec.rb +40 -0
  1087. data/spec/models/ownership_account_charge_recurring_transaction_message_spec.rb +108 -0
  1088. data/spec/models/ownership_account_credit_line_post_message_spec.rb +40 -0
  1089. data/spec/models/ownership_account_credit_post_message_spec.rb +62 -0
  1090. data/spec/models/ownership_account_deposit_withholding_line_post_message_spec.rb +40 -0
  1091. data/spec/models/ownership_account_deposit_withholding_post_message_spec.rb +52 -0
  1092. data/spec/models/ownership_account_ledger_charge_lines_put_message_spec.rb +46 -0
  1093. data/spec/models/ownership_account_ledger_charge_lines_save_message_spec.rb +40 -0
  1094. data/spec/models/ownership_account_ledger_charge_post_message_spec.rb +46 -0
  1095. data/spec/models/ownership_account_ledger_charge_put_message_spec.rb +46 -0
  1096. data/spec/models/ownership_account_ledger_payment_line_save_message_spec.rb +40 -0
  1097. data/spec/models/ownership_account_ledger_payment_post_message_spec.rb +74 -0
  1098. data/spec/models/ownership_account_outstanding_balance_message_spec.rb +88 -0
  1099. data/spec/models/ownership_account_outstanding_balance_search_message_spec.rb +70 -0
  1100. data/spec/models/ownership_account_recurring_credit_message_spec.rb +124 -0
  1101. data/spec/models/ownership_account_recurring_payment_message_spec.rb +118 -0
  1102. data/spec/models/ownership_account_refund_line_message_spec.rb +40 -0
  1103. data/spec/models/ownership_account_refund_lines_post_message_spec.rb +40 -0
  1104. data/spec/models/ownership_account_refund_message_spec.rb +82 -0
  1105. data/spec/models/ownership_account_refund_post_message_spec.rb +70 -0
  1106. data/spec/models/ownership_account_transaction_message_spec.rb +82 -0
  1107. data/spec/models/paid_by_message_spec.rb +40 -0
  1108. data/spec/models/participant_message_spec.rb +46 -0
  1109. data/spec/models/participant_resource_message_spec.rb +44 -0
  1110. data/spec/models/payee_message_spec.rb +56 -0
  1111. data/spec/models/payment_detail_message_spec.rb +56 -0
  1112. data/spec/models/payment_recurring_transaction_post_message_spec.rb +94 -0
  1113. data/spec/models/payment_transactions_message_spec.rb +46 -0
  1114. data/spec/models/phone_log_message_spec.rb +64 -0
  1115. data/spec/models/phone_log_participant_post_message_spec.rb +50 -0
  1116. data/spec/models/phone_log_participant_unit_agreement_post_message_spec.rb +44 -0
  1117. data/spec/models/phone_log_post_message_spec.rb +52 -0
  1118. data/spec/models/phone_log_put_message_spec.rb +46 -0
  1119. data/spec/models/phone_log_search_message_spec.rb +84 -0
  1120. data/spec/models/phone_number_message_spec.rb +44 -0
  1121. data/spec/models/phone_numbers_message_spec.rb +52 -0
  1122. data/spec/models/property_group_message_spec.rb +58 -0
  1123. data/spec/models/property_group_post_message_spec.rb +46 -0
  1124. data/spec/models/property_group_put_message_spec.rb +46 -0
  1125. data/spec/models/property_group_search_message_spec.rb +40 -0
  1126. data/spec/models/property_manager_message_spec.rb +76 -0
  1127. data/spec/models/property_message_spec.rb +50 -0
  1128. data/spec/models/recurring_transaction_line_message_spec.rb +40 -0
  1129. data/spec/models/recurring_transaction_line_post_message_spec.rb +40 -0
  1130. data/spec/models/recurring_transaction_message_spec.rb +112 -0
  1131. data/spec/models/rental_appliance_message_spec.rb +76 -0
  1132. data/spec/models/rental_appliance_post_message_spec.rb +76 -0
  1133. data/spec/models/rental_appliance_put_message_spec.rb +64 -0
  1134. data/spec/models/rental_appliance_search_message_spec.rb +40 -0
  1135. data/spec/models/rental_appliance_service_history_message_spec.rb +56 -0
  1136. data/spec/models/rental_appliance_service_history_post_message_spec.rb +50 -0
  1137. data/spec/models/rental_features_message_spec.rb +48 -0
  1138. data/spec/models/rental_features_put_message_spec.rb +48 -0
  1139. data/spec/models/rental_message_spec.rb +108 -0
  1140. data/spec/models/rental_owner_message_spec.rb +118 -0
  1141. data/spec/models/rental_owner_post_message_spec.rb +112 -0
  1142. data/spec/models/rental_owner_put_message_spec.rb +106 -0
  1143. data/spec/models/rental_owner_request_task_message_spec.rb +114 -0
  1144. data/spec/models/rental_owner_request_task_post_message_spec.rb +102 -0
  1145. data/spec/models/rental_owner_request_task_put_message_spec.rb +96 -0
  1146. data/spec/models/rental_owner_request_task_search_message_spec.rb +112 -0
  1147. data/spec/models/rental_owner_tax_information_message_spec.rb +68 -0
  1148. data/spec/models/rental_owners_search_message_spec.rb +74 -0
  1149. data/spec/models/rental_preferred_vendor_message_spec.rb +82 -0
  1150. data/spec/models/rental_preferred_vendor_put_message_spec.rb +34 -0
  1151. data/spec/models/rental_property_post_message_spec.rb +92 -0
  1152. data/spec/models/rental_property_put_message_spec.rb +80 -0
  1153. data/spec/models/rental_property_unit_post_message_spec.rb +78 -0
  1154. data/spec/models/rental_search_message_spec.rb +88 -0
  1155. data/spec/models/rental_tenant_post_message_spec.rb +110 -0
  1156. data/spec/models/rental_tenant_put_message_spec.rb +104 -0
  1157. data/spec/models/rental_tenant_renewal_post_message_spec.rb +104 -0
  1158. data/spec/models/rental_unit_features_message_spec.rb +38 -0
  1159. data/spec/models/rental_unit_features_put_message_spec.rb +38 -0
  1160. data/spec/models/rental_unit_message_spec.rb +108 -0
  1161. data/spec/models/rental_unit_put_message_spec.rb +78 -0
  1162. data/spec/models/rental_unit_search_message_spec.rb +46 -0
  1163. data/spec/models/rental_units_post_message_spec.rb +84 -0
  1164. data/spec/models/requested_by_user_entity_message_spec.rb +68 -0
  1165. data/spec/models/resident_center_user_message_spec.rb +56 -0
  1166. data/spec/models/resident_center_user_reference_message_spec.rb +62 -0
  1167. data/spec/models/resident_center_user_search_message_spec.rb +66 -0
  1168. data/spec/models/resident_request_task_message_spec.rb +144 -0
  1169. data/spec/models/resident_request_task_post_message_spec.rb +114 -0
  1170. data/spec/models/resident_request_task_put_message_spec.rb +84 -0
  1171. data/spec/models/resident_request_task_search_message_spec.rb +118 -0
  1172. data/spec/models/save_address_message_spec.rb +74 -0
  1173. data/spec/models/save_emergency_contact_message_spec.rb +52 -0
  1174. data/spec/models/task_category_message_spec.rb +52 -0
  1175. data/spec/models/task_category_put_message_spec.rb +34 -0
  1176. data/spec/models/task_category_response_message_spec.rb +52 -0
  1177. data/spec/models/task_category_save_message_spec.rb +34 -0
  1178. data/spec/models/task_history_file_message_spec.rb +64 -0
  1179. data/spec/models/task_history_file_upload_post_message_spec.rb +34 -0
  1180. data/spec/models/task_history_message_spec.rb +112 -0
  1181. data/spec/models/task_history_put_message_spec.rb +34 -0
  1182. data/spec/models/task_history_user_message_spec.rb +52 -0
  1183. data/spec/models/task_search_message_spec.rb +128 -0
  1184. data/spec/models/task_sub_category_message_spec.rb +40 -0
  1185. data/spec/models/tax_information_post_message_spec.rb +62 -0
  1186. data/spec/models/tax_information_save_message_spec.rb +68 -0
  1187. data/spec/models/tenant_message_spec.rb +128 -0
  1188. data/spec/models/tenant_search_message_spec.rb +96 -0
  1189. data/spec/models/to_do_task_message_spec.rb +108 -0
  1190. data/spec/models/to_do_task_post_message_spec.rb +96 -0
  1191. data/spec/models/to_do_task_put_message_spec.rb +96 -0
  1192. data/spec/models/to_do_task_search_message_spec.rb +112 -0
  1193. data/spec/models/undeposited_funds_message_spec.rb +34 -0
  1194. data/spec/models/unit_agreement_message_spec.rb +50 -0
  1195. data/spec/models/user_message_spec.rb +104 -0
  1196. data/spec/models/user_role_message_spec.rb +52 -0
  1197. data/spec/models/user_search_message_spec.rb +66 -0
  1198. data/spec/models/vehicle_message_spec.rb +52 -0
  1199. data/spec/models/vendor_category_message_spec.rb +46 -0
  1200. data/spec/models/vendor_category_save_message_spec.rb +34 -0
  1201. data/spec/models/vendor_credit_line_item_message_spec.rb +58 -0
  1202. data/spec/models/vendor_credit_line_item_post_message_spec.rb +52 -0
  1203. data/spec/models/vendor_credit_message_spec.rb +58 -0
  1204. data/spec/models/vendor_credit_post_message_spec.rb +52 -0
  1205. data/spec/models/vendor_insurance_message_spec.rb +46 -0
  1206. data/spec/models/vendor_insurance_save_message_spec.rb +46 -0
  1207. data/spec/models/vendor_message_spec.rb +130 -0
  1208. data/spec/models/vendor_post_message_spec.rb +118 -0
  1209. data/spec/models/vendor_put_message_spec.rb +118 -0
  1210. data/spec/models/vendor_refund_line_message_spec.rb +58 -0
  1211. data/spec/models/vendor_refund_line_post_message_spec.rb +52 -0
  1212. data/spec/models/vendor_refund_message_spec.rb +74 -0
  1213. data/spec/models/vendor_refund_post_message_spec.rb +68 -0
  1214. data/spec/models/vendor_search_message_spec.rb +84 -0
  1215. data/spec/models/vendor_tax_information_message_spec.rb +68 -0
  1216. data/spec/models/vendor_transaction_message_spec.rb +68 -0
  1217. data/spec/models/vendor_transaction_search_message_spec.rb +62 -0
  1218. data/spec/models/work_order_entry_contact_message_spec.rb +40 -0
  1219. data/spec/models/work_order_entry_contact_resource_message_spec.rb +44 -0
  1220. data/spec/models/work_order_line_item_message_spec.rb +52 -0
  1221. data/spec/models/work_order_line_item_save_message_spec.rb +52 -0
  1222. data/spec/models/work_order_message_spec.rb +110 -0
  1223. data/spec/models/work_order_post_message_spec.rb +98 -0
  1224. data/spec/models/work_order_put_message_spec.rb +86 -0
  1225. data/spec/models/work_order_search_message_spec.rb +158 -0
  1226. data/spec/models/work_order_task_message_spec.rb +88 -0
  1227. data/spec/models/work_order_task_post_message_spec.rb +78 -0
  1228. data/spec/spec_helper.rb +111 -0
  1229. metadata +1725 -0
data/docs/LeasesApi.md ADDED
@@ -0,0 +1,2865 @@
1
+ # Buildium::LeasesApi
2
+
3
+ All URIs are relative to *https://api.buildium.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_lease**](LeasesApi.md#create_lease) | **POST** /v1/leases | Create a lease |
8
+ | [**create_lease_charge_recurring_transaction**](LeasesApi.md#create_lease_charge_recurring_transaction) | **POST** /v1/leases/{leaseId}/recurringcharges | Create a recurring charge |
9
+ | [**create_lease_credit**](LeasesApi.md#create_lease_credit) | **POST** /v1/leases/{leaseId}/credits | Create a credit |
10
+ | [**create_lease_credit_recurring_transaction**](LeasesApi.md#create_lease_credit_recurring_transaction) | **POST** /v1/leases/{leaseId}/recurringcredits | Create a recurring credit |
11
+ | [**create_lease_ledger_charge**](LeasesApi.md#create_lease_ledger_charge) | **POST** /v1/leases/{leaseId}/charges | Create a charge |
12
+ | [**create_lease_ledger_deposit_withholding**](LeasesApi.md#create_lease_ledger_deposit_withholding) | **POST** /v1/leases/{leaseId}/applieddeposits | Create a deposit withholding |
13
+ | [**create_lease_ledger_refund**](LeasesApi.md#create_lease_ledger_refund) | **POST** /v1/leases/{leaseId}/refunds | Create a refund |
14
+ | [**create_lease_note**](LeasesApi.md#create_lease_note) | **POST** /v1/leases/{leaseId}/notes | Create a note |
15
+ | [**create_lease_recurring_payment**](LeasesApi.md#create_lease_recurring_payment) | **POST** /v1/leases/{leaseId}/recurringpayments | Create a recurring payment |
16
+ | [**create_lease_reverse_payment**](LeasesApi.md#create_lease_reverse_payment) | **POST** /v1/leases/{leaseId}/reversepayments | Create a payment reversal |
17
+ | [**create_move_out_data**](LeasesApi.md#create_move_out_data) | **POST** /v1/leases/{leaseId}/moveouts | Create a move out |
18
+ | [**create_payment**](LeasesApi.md#create_payment) | **POST** /v1/leases/{leaseId}/payments | Create a payment |
19
+ | [**get_lease_by_id**](LeasesApi.md#get_lease_by_id) | **GET** /v1/leases/{leaseId} | Retrieve a lease |
20
+ | [**get_lease_charge_recurring_transaction_by_id**](LeasesApi.md#get_lease_charge_recurring_transaction_by_id) | **GET** /v1/leases/{leaseId}/recurringcharges/{transactionId} | Retrieve a recurring charge |
21
+ | [**get_lease_ledger_refund_by_id**](LeasesApi.md#get_lease_ledger_refund_by_id) | **GET** /v1/leases/{leaseId}/refunds/{refundId} | Retrieve a refund |
22
+ | [**get_lease_ledger_transaction_by_id**](LeasesApi.md#get_lease_ledger_transaction_by_id) | **GET** /v1/leases/{leaseId}/transactions/{transactionId} | Retrieve a lease transaction |
23
+ | [**get_lease_ledgers**](LeasesApi.md#get_lease_ledgers) | **GET** /v1/leases/{leaseId}/transactions | Retrieve all lease transactions |
24
+ | [**get_lease_move_out_data_by_tenant_id**](LeasesApi.md#get_lease_move_out_data_by_tenant_id) | **GET** /v1/leases/{leaseId}/moveouts/{tenantId} | Retrieve a move out |
25
+ | [**get_lease_move_out_information_by_id**](LeasesApi.md#get_lease_move_out_information_by_id) | **GET** /v1/leases/{leaseId}/moveouts | Retrieve all move outs |
26
+ | [**get_lease_note_by_note_id**](LeasesApi.md#get_lease_note_by_note_id) | **GET** /v1/leases/{leaseId}/notes/{noteId} | Retrieve a note |
27
+ | [**get_lease_notes**](LeasesApi.md#get_lease_notes) | **GET** /v1/leases/{leaseId}/notes | Retrieve all notes |
28
+ | [**get_lease_outstanding_balances**](LeasesApi.md#get_lease_outstanding_balances) | **GET** /v1/leases/outstandingbalances | Retrieve all outstanding balances |
29
+ | [**get_lease_recurring_credit_by_id**](LeasesApi.md#get_lease_recurring_credit_by_id) | **GET** /v1/leases/{leaseId}/recurringcredits/{transactionId} | Retrieve a recurring credit |
30
+ | [**get_lease_recurring_transactions**](LeasesApi.md#get_lease_recurring_transactions) | **GET** /v1/leases/{leaseId}/recurringtransactions | Retrieve all recurring transactions |
31
+ | [**get_leases**](LeasesApi.md#get_leases) | **GET** /v1/leases | Retrieve all leases |
32
+ | [**get_recurring_lease_payments_by_id**](LeasesApi.md#get_recurring_lease_payments_by_id) | **GET** /v1/leases/{leaseId}/recurringpayments/{paymentId} | Retrieve a recurring payment |
33
+ | [**get_rent**](LeasesApi.md#get_rent) | **GET** /v1/leases/{leaseId}/rent | Retrieve all rent schedules |
34
+ | [**get_rent_by_id**](LeasesApi.md#get_rent_by_id) | **GET** /v1/leases/{leaseId}/rent/{rentId} | Retrieve a rent schedule |
35
+ | [**lease_renewals_external_api_read_get_all_lease_renewals**](LeasesApi.md#lease_renewals_external_api_read_get_all_lease_renewals) | **GET** /v1/leases/{leaseId}/renewals | Retrieve all lease renewals |
36
+ | [**lease_renewals_external_api_read_get_lease_renewal_by_id**](LeasesApi.md#lease_renewals_external_api_read_get_lease_renewal_by_id) | **GET** /v1/leases/{leaseId}/renewals/{renewalId} | Retrieve a lease renewal |
37
+ | [**lease_renewals_external_api_write_create_lease_renewal**](LeasesApi.md#lease_renewals_external_api_write_create_lease_renewal) | **POST** /v1/leases/{leaseId}/renewals | Create a lease renewal |
38
+ | [**undo_tenant_moveout**](LeasesApi.md#undo_tenant_moveout) | **DELETE** /v1/leases/{leaseId}/moveouts/{tenantId} | Delete a move out |
39
+ | [**update_lease**](LeasesApi.md#update_lease) | **PUT** /v1/leases/{leaseId} | Update a lease |
40
+ | [**update_lease_charge**](LeasesApi.md#update_lease_charge) | **PUT** /v1/leases/{leaseId}/charges/{chargeId} | Update a charge |
41
+ | [**update_lease_note**](LeasesApi.md#update_lease_note) | **PUT** /v1/leases/{leaseId}/notes/{noteId} | Update a note |
42
+
43
+
44
+ ## create_lease
45
+
46
+ > <LeaseMessage> create_lease(lease_post_message)
47
+
48
+ Create a lease
49
+
50
+ Creates a signed lease. <br /><br /><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals &gt; Tenants</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
51
+
52
+ ### Examples
53
+
54
+ ```ruby
55
+ require 'time'
56
+ require 'buildium-ruby'
57
+ # setup authorization
58
+ Buildium.configure do |config|
59
+ # Configure API key authorization: clientId
60
+ config.api_key['clientId'] = 'YOUR API KEY'
61
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
62
+ # config.api_key_prefix['clientId'] = 'Bearer'
63
+
64
+ # Configure API key authorization: clientSecret
65
+ config.api_key['clientSecret'] = 'YOUR API KEY'
66
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
67
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
68
+ end
69
+
70
+ api_instance = Buildium::LeasesApi.new
71
+ lease_post_message = Buildium::LeasePostMessage.new({lease_type: 'Fixed', unit_id: 37, lease_from_date: Date.today, send_welcome_email: false, tenants: [Buildium::RentalTenantPutMessage.new({first_name: 'first_name_example', last_name: 'last_name_example', address: Buildium::SaveAddressMessage.new({address_line1: 'address_line1_example', country: 'UnitedStates'})})]}) # LeasePostMessage |
72
+
73
+ begin
74
+ # Create a lease
75
+ result = api_instance.create_lease(lease_post_message)
76
+ p result
77
+ rescue Buildium::ApiError => e
78
+ puts "Error when calling LeasesApi->create_lease: #{e}"
79
+ end
80
+ ```
81
+
82
+ #### Using the create_lease_with_http_info variant
83
+
84
+ This returns an Array which contains the response data, status code and headers.
85
+
86
+ > <Array(<LeaseMessage>, Integer, Hash)> create_lease_with_http_info(lease_post_message)
87
+
88
+ ```ruby
89
+ begin
90
+ # Create a lease
91
+ data, status_code, headers = api_instance.create_lease_with_http_info(lease_post_message)
92
+ p status_code # => 2xx
93
+ p headers # => { ... }
94
+ p data # => <LeaseMessage>
95
+ rescue Buildium::ApiError => e
96
+ puts "Error when calling LeasesApi->create_lease_with_http_info: #{e}"
97
+ end
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+ | Name | Type | Description | Notes |
103
+ | ---- | ---- | ----------- | ----- |
104
+ | **lease_post_message** | [**LeasePostMessage**](LeasePostMessage.md) | | |
105
+
106
+ ### Return type
107
+
108
+ [**LeaseMessage**](LeaseMessage.md)
109
+
110
+ ### Authorization
111
+
112
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: application/json
117
+ - **Accept**: application/json
118
+
119
+
120
+ ## create_lease_charge_recurring_transaction
121
+
122
+ > <LeaseChargeRecurringTransactionMessage> create_lease_charge_recurring_transaction(lease_id, charge_recurring_transaction_post_message)
123
+
124
+ Create a recurring charge
125
+
126
+ Creates a recurring charge transaction that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
127
+
128
+ ### Examples
129
+
130
+ ```ruby
131
+ require 'time'
132
+ require 'buildium-ruby'
133
+ # setup authorization
134
+ Buildium.configure do |config|
135
+ # Configure API key authorization: clientId
136
+ config.api_key['clientId'] = 'YOUR API KEY'
137
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
138
+ # config.api_key_prefix['clientId'] = 'Bearer'
139
+
140
+ # Configure API key authorization: clientSecret
141
+ config.api_key['clientSecret'] = 'YOUR API KEY'
142
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
143
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
144
+ end
145
+
146
+ api_instance = Buildium::LeasesApi.new
147
+ lease_id = 56 # Integer |
148
+ charge_recurring_transaction_post_message = Buildium::ChargeRecurringTransactionPostMessage.new({gl_account_id: 37, amount: 3.56, first_occurrence_date: Date.today, post_days_in_advance: 37, frequency: 'Monthly'}) # ChargeRecurringTransactionPostMessage |
149
+
150
+ begin
151
+ # Create a recurring charge
152
+ result = api_instance.create_lease_charge_recurring_transaction(lease_id, charge_recurring_transaction_post_message)
153
+ p result
154
+ rescue Buildium::ApiError => e
155
+ puts "Error when calling LeasesApi->create_lease_charge_recurring_transaction: #{e}"
156
+ end
157
+ ```
158
+
159
+ #### Using the create_lease_charge_recurring_transaction_with_http_info variant
160
+
161
+ This returns an Array which contains the response data, status code and headers.
162
+
163
+ > <Array(<LeaseChargeRecurringTransactionMessage>, Integer, Hash)> create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message)
164
+
165
+ ```ruby
166
+ begin
167
+ # Create a recurring charge
168
+ data, status_code, headers = api_instance.create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message)
169
+ p status_code # => 2xx
170
+ p headers # => { ... }
171
+ p data # => <LeaseChargeRecurringTransactionMessage>
172
+ rescue Buildium::ApiError => e
173
+ puts "Error when calling LeasesApi->create_lease_charge_recurring_transaction_with_http_info: #{e}"
174
+ end
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+ | Name | Type | Description | Notes |
180
+ | ---- | ---- | ----------- | ----- |
181
+ | **lease_id** | **Integer** | | |
182
+ | **charge_recurring_transaction_post_message** | [**ChargeRecurringTransactionPostMessage**](ChargeRecurringTransactionPostMessage.md) | | |
183
+
184
+ ### Return type
185
+
186
+ [**LeaseChargeRecurringTransactionMessage**](LeaseChargeRecurringTransactionMessage.md)
187
+
188
+ ### Authorization
189
+
190
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: application/json
195
+ - **Accept**: application/json
196
+
197
+
198
+ ## create_lease_credit
199
+
200
+ > <LeaseTransactionMessage> create_lease_credit(lease_id, lease_ledger_credit_post_message)
201
+
202
+ Create a credit
203
+
204
+ Creates a lease ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
205
+
206
+ ### Examples
207
+
208
+ ```ruby
209
+ require 'time'
210
+ require 'buildium-ruby'
211
+ # setup authorization
212
+ Buildium.configure do |config|
213
+ # Configure API key authorization: clientId
214
+ config.api_key['clientId'] = 'YOUR API KEY'
215
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
216
+ # config.api_key_prefix['clientId'] = 'Bearer'
217
+
218
+ # Configure API key authorization: clientSecret
219
+ config.api_key['clientSecret'] = 'YOUR API KEY'
220
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
221
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
222
+ end
223
+
224
+ api_instance = Buildium::LeasesApi.new
225
+ lease_id = 56 # Integer | The lease unique identifier.
226
+ lease_ledger_credit_post_message = Buildium::LeaseLedgerCreditPostMessage.new({date: Date.today, credit_type: 'WaiveUnpaid', lines: [Buildium::LeaseLedgerCreditLinePostMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerCreditPostMessage |
227
+
228
+ begin
229
+ # Create a credit
230
+ result = api_instance.create_lease_credit(lease_id, lease_ledger_credit_post_message)
231
+ p result
232
+ rescue Buildium::ApiError => e
233
+ puts "Error when calling LeasesApi->create_lease_credit: #{e}"
234
+ end
235
+ ```
236
+
237
+ #### Using the create_lease_credit_with_http_info variant
238
+
239
+ This returns an Array which contains the response data, status code and headers.
240
+
241
+ > <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message)
242
+
243
+ ```ruby
244
+ begin
245
+ # Create a credit
246
+ data, status_code, headers = api_instance.create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message)
247
+ p status_code # => 2xx
248
+ p headers # => { ... }
249
+ p data # => <LeaseTransactionMessage>
250
+ rescue Buildium::ApiError => e
251
+ puts "Error when calling LeasesApi->create_lease_credit_with_http_info: #{e}"
252
+ end
253
+ ```
254
+
255
+ ### Parameters
256
+
257
+ | Name | Type | Description | Notes |
258
+ | ---- | ---- | ----------- | ----- |
259
+ | **lease_id** | **Integer** | The lease unique identifier. | |
260
+ | **lease_ledger_credit_post_message** | [**LeaseLedgerCreditPostMessage**](LeaseLedgerCreditPostMessage.md) | | |
261
+
262
+ ### Return type
263
+
264
+ [**LeaseTransactionMessage**](LeaseTransactionMessage.md)
265
+
266
+ ### Authorization
267
+
268
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
269
+
270
+ ### HTTP request headers
271
+
272
+ - **Content-Type**: application/json
273
+ - **Accept**: application/json
274
+
275
+
276
+ ## create_lease_credit_recurring_transaction
277
+
278
+ > <LeaseRecurringCreditMessage> create_lease_credit_recurring_transaction(lease_id, credit_recurring_transaction_post_message)
279
+
280
+ Create a recurring credit
281
+
282
+ Creates a recurring credit transaction on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
283
+
284
+ ### Examples
285
+
286
+ ```ruby
287
+ require 'time'
288
+ require 'buildium-ruby'
289
+ # setup authorization
290
+ Buildium.configure do |config|
291
+ # Configure API key authorization: clientId
292
+ config.api_key['clientId'] = 'YOUR API KEY'
293
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
294
+ # config.api_key_prefix['clientId'] = 'Bearer'
295
+
296
+ # Configure API key authorization: clientSecret
297
+ config.api_key['clientSecret'] = 'YOUR API KEY'
298
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
299
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
300
+ end
301
+
302
+ api_instance = Buildium::LeasesApi.new
303
+ lease_id = 56 # Integer |
304
+ credit_recurring_transaction_post_message = Buildium::CreditRecurringTransactionPostMessage.new({credit_type: 'WaiveUnpaid', post_days_in_advance: 37, frequency: 'Monthly', first_occurrence_date: Date.today}) # CreditRecurringTransactionPostMessage |
305
+
306
+ begin
307
+ # Create a recurring credit
308
+ result = api_instance.create_lease_credit_recurring_transaction(lease_id, credit_recurring_transaction_post_message)
309
+ p result
310
+ rescue Buildium::ApiError => e
311
+ puts "Error when calling LeasesApi->create_lease_credit_recurring_transaction: #{e}"
312
+ end
313
+ ```
314
+
315
+ #### Using the create_lease_credit_recurring_transaction_with_http_info variant
316
+
317
+ This returns an Array which contains the response data, status code and headers.
318
+
319
+ > <Array(<LeaseRecurringCreditMessage>, Integer, Hash)> create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message)
320
+
321
+ ```ruby
322
+ begin
323
+ # Create a recurring credit
324
+ data, status_code, headers = api_instance.create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message)
325
+ p status_code # => 2xx
326
+ p headers # => { ... }
327
+ p data # => <LeaseRecurringCreditMessage>
328
+ rescue Buildium::ApiError => e
329
+ puts "Error when calling LeasesApi->create_lease_credit_recurring_transaction_with_http_info: #{e}"
330
+ end
331
+ ```
332
+
333
+ ### Parameters
334
+
335
+ | Name | Type | Description | Notes |
336
+ | ---- | ---- | ----------- | ----- |
337
+ | **lease_id** | **Integer** | | |
338
+ | **credit_recurring_transaction_post_message** | [**CreditRecurringTransactionPostMessage**](CreditRecurringTransactionPostMessage.md) | | |
339
+
340
+ ### Return type
341
+
342
+ [**LeaseRecurringCreditMessage**](LeaseRecurringCreditMessage.md)
343
+
344
+ ### Authorization
345
+
346
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
347
+
348
+ ### HTTP request headers
349
+
350
+ - **Content-Type**: application/json
351
+ - **Accept**: application/json
352
+
353
+
354
+ ## create_lease_ledger_charge
355
+
356
+ > <Array<LeaseTransactionMessage>> create_lease_ledger_charge(lease_id, lease_charge_post_message)
357
+
358
+ Create a charge
359
+
360
+ Creates a charge transaction on a specific lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
361
+
362
+ ### Examples
363
+
364
+ ```ruby
365
+ require 'time'
366
+ require 'buildium-ruby'
367
+ # setup authorization
368
+ Buildium.configure do |config|
369
+ # Configure API key authorization: clientId
370
+ config.api_key['clientId'] = 'YOUR API KEY'
371
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
372
+ # config.api_key_prefix['clientId'] = 'Bearer'
373
+
374
+ # Configure API key authorization: clientSecret
375
+ config.api_key['clientSecret'] = 'YOUR API KEY'
376
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
377
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
378
+ end
379
+
380
+ api_instance = Buildium::LeasesApi.new
381
+ lease_id = 56 # Integer |
382
+ lease_charge_post_message = Buildium::LeaseChargePostMessage.new # LeaseChargePostMessage |
383
+
384
+ begin
385
+ # Create a charge
386
+ result = api_instance.create_lease_ledger_charge(lease_id, lease_charge_post_message)
387
+ p result
388
+ rescue Buildium::ApiError => e
389
+ puts "Error when calling LeasesApi->create_lease_ledger_charge: #{e}"
390
+ end
391
+ ```
392
+
393
+ #### Using the create_lease_ledger_charge_with_http_info variant
394
+
395
+ This returns an Array which contains the response data, status code and headers.
396
+
397
+ > <Array(<Array<LeaseTransactionMessage>>, Integer, Hash)> create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message)
398
+
399
+ ```ruby
400
+ begin
401
+ # Create a charge
402
+ data, status_code, headers = api_instance.create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message)
403
+ p status_code # => 2xx
404
+ p headers # => { ... }
405
+ p data # => <Array<LeaseTransactionMessage>>
406
+ rescue Buildium::ApiError => e
407
+ puts "Error when calling LeasesApi->create_lease_ledger_charge_with_http_info: #{e}"
408
+ end
409
+ ```
410
+
411
+ ### Parameters
412
+
413
+ | Name | Type | Description | Notes |
414
+ | ---- | ---- | ----------- | ----- |
415
+ | **lease_id** | **Integer** | | |
416
+ | **lease_charge_post_message** | [**LeaseChargePostMessage**](LeaseChargePostMessage.md) | | |
417
+
418
+ ### Return type
419
+
420
+ [**Array&lt;LeaseTransactionMessage&gt;**](LeaseTransactionMessage.md)
421
+
422
+ ### Authorization
423
+
424
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
425
+
426
+ ### HTTP request headers
427
+
428
+ - **Content-Type**: application/json
429
+ - **Accept**: application/json
430
+
431
+
432
+ ## create_lease_ledger_deposit_withholding
433
+
434
+ > <LeaseTransactionMessage> create_lease_ledger_deposit_withholding(lease_id, lease_ledger_deposit_withholding_post_message)
435
+
436
+ Create a deposit withholding
437
+
438
+ Withholds a resident deposit by reallocating the funds from a liability account to an income account to cover an expense(s). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Ledger</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting &gt; General Ledger Accounts</span> - `View`
439
+
440
+ ### Examples
441
+
442
+ ```ruby
443
+ require 'time'
444
+ require 'buildium-ruby'
445
+ # setup authorization
446
+ Buildium.configure do |config|
447
+ # Configure API key authorization: clientId
448
+ config.api_key['clientId'] = 'YOUR API KEY'
449
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
450
+ # config.api_key_prefix['clientId'] = 'Bearer'
451
+
452
+ # Configure API key authorization: clientSecret
453
+ config.api_key['clientSecret'] = 'YOUR API KEY'
454
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
455
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
456
+ end
457
+
458
+ api_instance = Buildium::LeasesApi.new
459
+ lease_id = 56 # Integer |
460
+ lease_ledger_deposit_withholding_post_message = Buildium::LeaseLedgerDepositWithholdingPostMessage.new({entry_date: Date.today, deposit_liability_gl_account_id: 37}) # LeaseLedgerDepositWithholdingPostMessage |
461
+
462
+ begin
463
+ # Create a deposit withholding
464
+ result = api_instance.create_lease_ledger_deposit_withholding(lease_id, lease_ledger_deposit_withholding_post_message)
465
+ p result
466
+ rescue Buildium::ApiError => e
467
+ puts "Error when calling LeasesApi->create_lease_ledger_deposit_withholding: #{e}"
468
+ end
469
+ ```
470
+
471
+ #### Using the create_lease_ledger_deposit_withholding_with_http_info variant
472
+
473
+ This returns an Array which contains the response data, status code and headers.
474
+
475
+ > <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message)
476
+
477
+ ```ruby
478
+ begin
479
+ # Create a deposit withholding
480
+ data, status_code, headers = api_instance.create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message)
481
+ p status_code # => 2xx
482
+ p headers # => { ... }
483
+ p data # => <LeaseTransactionMessage>
484
+ rescue Buildium::ApiError => e
485
+ puts "Error when calling LeasesApi->create_lease_ledger_deposit_withholding_with_http_info: #{e}"
486
+ end
487
+ ```
488
+
489
+ ### Parameters
490
+
491
+ | Name | Type | Description | Notes |
492
+ | ---- | ---- | ----------- | ----- |
493
+ | **lease_id** | **Integer** | | |
494
+ | **lease_ledger_deposit_withholding_post_message** | [**LeaseLedgerDepositWithholdingPostMessage**](LeaseLedgerDepositWithholdingPostMessage.md) | | |
495
+
496
+ ### Return type
497
+
498
+ [**LeaseTransactionMessage**](LeaseTransactionMessage.md)
499
+
500
+ ### Authorization
501
+
502
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
503
+
504
+ ### HTTP request headers
505
+
506
+ - **Content-Type**: application/json
507
+ - **Accept**: application/json
508
+
509
+
510
+ ## create_lease_ledger_refund
511
+
512
+ > <LeaseLedgerRefundMessage> create_lease_ledger_refund(lease_id, lease_ledger_refund_post_message)
513
+
514
+ Create a refund
515
+
516
+ Creates a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
517
+
518
+ ### Examples
519
+
520
+ ```ruby
521
+ require 'time'
522
+ require 'buildium-ruby'
523
+ # setup authorization
524
+ Buildium.configure do |config|
525
+ # Configure API key authorization: clientId
526
+ config.api_key['clientId'] = 'YOUR API KEY'
527
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
528
+ # config.api_key_prefix['clientId'] = 'Bearer'
529
+
530
+ # Configure API key authorization: clientSecret
531
+ config.api_key['clientSecret'] = 'YOUR API KEY'
532
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
533
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
534
+ end
535
+
536
+ api_instance = Buildium::LeasesApi.new
537
+ lease_id = 56 # Integer |
538
+ lease_ledger_refund_post_message = Buildium::LeaseLedgerRefundPostMessage.new({date: Date.today, payee_user_ids: [37], bank_account_id: 37, address: Buildium::SaveAddressMessage.new({address_line1: 'address_line1_example', country: 'UnitedStates'}), lines: [Buildium::LeaseLedgerRefundLinePostMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerRefundPostMessage |
539
+
540
+ begin
541
+ # Create a refund
542
+ result = api_instance.create_lease_ledger_refund(lease_id, lease_ledger_refund_post_message)
543
+ p result
544
+ rescue Buildium::ApiError => e
545
+ puts "Error when calling LeasesApi->create_lease_ledger_refund: #{e}"
546
+ end
547
+ ```
548
+
549
+ #### Using the create_lease_ledger_refund_with_http_info variant
550
+
551
+ This returns an Array which contains the response data, status code and headers.
552
+
553
+ > <Array(<LeaseLedgerRefundMessage>, Integer, Hash)> create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message)
554
+
555
+ ```ruby
556
+ begin
557
+ # Create a refund
558
+ data, status_code, headers = api_instance.create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message)
559
+ p status_code # => 2xx
560
+ p headers # => { ... }
561
+ p data # => <LeaseLedgerRefundMessage>
562
+ rescue Buildium::ApiError => e
563
+ puts "Error when calling LeasesApi->create_lease_ledger_refund_with_http_info: #{e}"
564
+ end
565
+ ```
566
+
567
+ ### Parameters
568
+
569
+ | Name | Type | Description | Notes |
570
+ | ---- | ---- | ----------- | ----- |
571
+ | **lease_id** | **Integer** | | |
572
+ | **lease_ledger_refund_post_message** | [**LeaseLedgerRefundPostMessage**](LeaseLedgerRefundPostMessage.md) | | |
573
+
574
+ ### Return type
575
+
576
+ [**LeaseLedgerRefundMessage**](LeaseLedgerRefundMessage.md)
577
+
578
+ ### Authorization
579
+
580
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
581
+
582
+ ### HTTP request headers
583
+
584
+ - **Content-Type**: application/json
585
+ - **Accept**: application/json
586
+
587
+
588
+ ## create_lease_note
589
+
590
+ > <NoteMessage> create_lease_note(lease_id, note_post_message)
591
+
592
+ Create a note
593
+
594
+ Creates a lease note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` `Edit`
595
+
596
+ ### Examples
597
+
598
+ ```ruby
599
+ require 'time'
600
+ require 'buildium-ruby'
601
+ # setup authorization
602
+ Buildium.configure do |config|
603
+ # Configure API key authorization: clientId
604
+ config.api_key['clientId'] = 'YOUR API KEY'
605
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
606
+ # config.api_key_prefix['clientId'] = 'Bearer'
607
+
608
+ # Configure API key authorization: clientSecret
609
+ config.api_key['clientSecret'] = 'YOUR API KEY'
610
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
611
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
612
+ end
613
+
614
+ api_instance = Buildium::LeasesApi.new
615
+ lease_id = 56 # Integer |
616
+ note_post_message = Buildium::NotePostMessage.new({note: 'note_example'}) # NotePostMessage |
617
+
618
+ begin
619
+ # Create a note
620
+ result = api_instance.create_lease_note(lease_id, note_post_message)
621
+ p result
622
+ rescue Buildium::ApiError => e
623
+ puts "Error when calling LeasesApi->create_lease_note: #{e}"
624
+ end
625
+ ```
626
+
627
+ #### Using the create_lease_note_with_http_info variant
628
+
629
+ This returns an Array which contains the response data, status code and headers.
630
+
631
+ > <Array(<NoteMessage>, Integer, Hash)> create_lease_note_with_http_info(lease_id, note_post_message)
632
+
633
+ ```ruby
634
+ begin
635
+ # Create a note
636
+ data, status_code, headers = api_instance.create_lease_note_with_http_info(lease_id, note_post_message)
637
+ p status_code # => 2xx
638
+ p headers # => { ... }
639
+ p data # => <NoteMessage>
640
+ rescue Buildium::ApiError => e
641
+ puts "Error when calling LeasesApi->create_lease_note_with_http_info: #{e}"
642
+ end
643
+ ```
644
+
645
+ ### Parameters
646
+
647
+ | Name | Type | Description | Notes |
648
+ | ---- | ---- | ----------- | ----- |
649
+ | **lease_id** | **Integer** | | |
650
+ | **note_post_message** | [**NotePostMessage**](NotePostMessage.md) | | |
651
+
652
+ ### Return type
653
+
654
+ [**NoteMessage**](NoteMessage.md)
655
+
656
+ ### Authorization
657
+
658
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
659
+
660
+ ### HTTP request headers
661
+
662
+ - **Content-Type**: application/json
663
+ - **Accept**: application/json
664
+
665
+
666
+ ## create_lease_recurring_payment
667
+
668
+ > <LeaseRecurringPaymentMessage> create_lease_recurring_payment(lease_id, payment_recurring_transaction_post_message)
669
+
670
+ Create a recurring payment
671
+
672
+ Creates a recurring payment that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Transactions</span> - `View` `Edit`
673
+
674
+ ### Examples
675
+
676
+ ```ruby
677
+ require 'time'
678
+ require 'buildium-ruby'
679
+ # setup authorization
680
+ Buildium.configure do |config|
681
+ # Configure API key authorization: clientId
682
+ config.api_key['clientId'] = 'YOUR API KEY'
683
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
684
+ # config.api_key_prefix['clientId'] = 'Bearer'
685
+
686
+ # Configure API key authorization: clientSecret
687
+ config.api_key['clientSecret'] = 'YOUR API KEY'
688
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
689
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
690
+ end
691
+
692
+ api_instance = Buildium::LeasesApi.new
693
+ lease_id = 56 # Integer |
694
+ payment_recurring_transaction_post_message = Buildium::PaymentRecurringTransactionPostMessage.new({payment_method: 'Check', first_occurrence_date: Date.today, post_days_in_advance: 37, frequency: 'Monthly'}) # PaymentRecurringTransactionPostMessage |
695
+
696
+ begin
697
+ # Create a recurring payment
698
+ result = api_instance.create_lease_recurring_payment(lease_id, payment_recurring_transaction_post_message)
699
+ p result
700
+ rescue Buildium::ApiError => e
701
+ puts "Error when calling LeasesApi->create_lease_recurring_payment: #{e}"
702
+ end
703
+ ```
704
+
705
+ #### Using the create_lease_recurring_payment_with_http_info variant
706
+
707
+ This returns an Array which contains the response data, status code and headers.
708
+
709
+ > <Array(<LeaseRecurringPaymentMessage>, Integer, Hash)> create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message)
710
+
711
+ ```ruby
712
+ begin
713
+ # Create a recurring payment
714
+ data, status_code, headers = api_instance.create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message)
715
+ p status_code # => 2xx
716
+ p headers # => { ... }
717
+ p data # => <LeaseRecurringPaymentMessage>
718
+ rescue Buildium::ApiError => e
719
+ puts "Error when calling LeasesApi->create_lease_recurring_payment_with_http_info: #{e}"
720
+ end
721
+ ```
722
+
723
+ ### Parameters
724
+
725
+ | Name | Type | Description | Notes |
726
+ | ---- | ---- | ----------- | ----- |
727
+ | **lease_id** | **Integer** | | |
728
+ | **payment_recurring_transaction_post_message** | [**PaymentRecurringTransactionPostMessage**](PaymentRecurringTransactionPostMessage.md) | | |
729
+
730
+ ### Return type
731
+
732
+ [**LeaseRecurringPaymentMessage**](LeaseRecurringPaymentMessage.md)
733
+
734
+ ### Authorization
735
+
736
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
737
+
738
+ ### HTTP request headers
739
+
740
+ - **Content-Type**: application/json
741
+ - **Accept**: application/json
742
+
743
+
744
+ ## create_lease_reverse_payment
745
+
746
+ > <LeaseTransactionMessage> create_lease_reverse_payment(lease_id, lease_ledger_reverse_payment_post_message)
747
+
748
+ Create a payment reversal
749
+
750
+ Reverses a lease ledger payment. Note, this action can only be taken on a payment that has been deposited. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
751
+
752
+ ### Examples
753
+
754
+ ```ruby
755
+ require 'time'
756
+ require 'buildium-ruby'
757
+ # setup authorization
758
+ Buildium.configure do |config|
759
+ # Configure API key authorization: clientId
760
+ config.api_key['clientId'] = 'YOUR API KEY'
761
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
762
+ # config.api_key_prefix['clientId'] = 'Bearer'
763
+
764
+ # Configure API key authorization: clientSecret
765
+ config.api_key['clientSecret'] = 'YOUR API KEY'
766
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
767
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
768
+ end
769
+
770
+ api_instance = Buildium::LeasesApi.new
771
+ lease_id = 56 # Integer | The lease unique identifier.
772
+ lease_ledger_reverse_payment_post_message = Buildium::LeaseLedgerReversePaymentPostMessage.new({entry_date: Date.today, payment_transaction_id: 37}) # LeaseLedgerReversePaymentPostMessage |
773
+
774
+ begin
775
+ # Create a payment reversal
776
+ result = api_instance.create_lease_reverse_payment(lease_id, lease_ledger_reverse_payment_post_message)
777
+ p result
778
+ rescue Buildium::ApiError => e
779
+ puts "Error when calling LeasesApi->create_lease_reverse_payment: #{e}"
780
+ end
781
+ ```
782
+
783
+ #### Using the create_lease_reverse_payment_with_http_info variant
784
+
785
+ This returns an Array which contains the response data, status code and headers.
786
+
787
+ > <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message)
788
+
789
+ ```ruby
790
+ begin
791
+ # Create a payment reversal
792
+ data, status_code, headers = api_instance.create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message)
793
+ p status_code # => 2xx
794
+ p headers # => { ... }
795
+ p data # => <LeaseTransactionMessage>
796
+ rescue Buildium::ApiError => e
797
+ puts "Error when calling LeasesApi->create_lease_reverse_payment_with_http_info: #{e}"
798
+ end
799
+ ```
800
+
801
+ ### Parameters
802
+
803
+ | Name | Type | Description | Notes |
804
+ | ---- | ---- | ----------- | ----- |
805
+ | **lease_id** | **Integer** | The lease unique identifier. | |
806
+ | **lease_ledger_reverse_payment_post_message** | [**LeaseLedgerReversePaymentPostMessage**](LeaseLedgerReversePaymentPostMessage.md) | | |
807
+
808
+ ### Return type
809
+
810
+ [**LeaseTransactionMessage**](LeaseTransactionMessage.md)
811
+
812
+ ### Authorization
813
+
814
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
815
+
816
+ ### HTTP request headers
817
+
818
+ - **Content-Type**: application/json
819
+ - **Accept**: application/json
820
+
821
+
822
+ ## create_move_out_data
823
+
824
+ > <LeaseMoveOutDataMessage> create_move_out_data(lease_id, lease_move_out_data_post_message)
825
+
826
+ Create a move out
827
+
828
+ Creates move out data for a single tenant on a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals &gt; Tenants</span> - `View` `Edit`
829
+
830
+ ### Examples
831
+
832
+ ```ruby
833
+ require 'time'
834
+ require 'buildium-ruby'
835
+ # setup authorization
836
+ Buildium.configure do |config|
837
+ # Configure API key authorization: clientId
838
+ config.api_key['clientId'] = 'YOUR API KEY'
839
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
840
+ # config.api_key_prefix['clientId'] = 'Bearer'
841
+
842
+ # Configure API key authorization: clientSecret
843
+ config.api_key['clientSecret'] = 'YOUR API KEY'
844
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
845
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
846
+ end
847
+
848
+ api_instance = Buildium::LeasesApi.new
849
+ lease_id = 56 # Integer |
850
+ lease_move_out_data_post_message = Buildium::LeaseMoveOutDataPostMessage.new({tenant_id: 37, move_out_date: Date.today}) # LeaseMoveOutDataPostMessage |
851
+
852
+ begin
853
+ # Create a move out
854
+ result = api_instance.create_move_out_data(lease_id, lease_move_out_data_post_message)
855
+ p result
856
+ rescue Buildium::ApiError => e
857
+ puts "Error when calling LeasesApi->create_move_out_data: #{e}"
858
+ end
859
+ ```
860
+
861
+ #### Using the create_move_out_data_with_http_info variant
862
+
863
+ This returns an Array which contains the response data, status code and headers.
864
+
865
+ > <Array(<LeaseMoveOutDataMessage>, Integer, Hash)> create_move_out_data_with_http_info(lease_id, lease_move_out_data_post_message)
866
+
867
+ ```ruby
868
+ begin
869
+ # Create a move out
870
+ data, status_code, headers = api_instance.create_move_out_data_with_http_info(lease_id, lease_move_out_data_post_message)
871
+ p status_code # => 2xx
872
+ p headers # => { ... }
873
+ p data # => <LeaseMoveOutDataMessage>
874
+ rescue Buildium::ApiError => e
875
+ puts "Error when calling LeasesApi->create_move_out_data_with_http_info: #{e}"
876
+ end
877
+ ```
878
+
879
+ ### Parameters
880
+
881
+ | Name | Type | Description | Notes |
882
+ | ---- | ---- | ----------- | ----- |
883
+ | **lease_id** | **Integer** | | |
884
+ | **lease_move_out_data_post_message** | [**LeaseMoveOutDataPostMessage**](LeaseMoveOutDataPostMessage.md) | | |
885
+
886
+ ### Return type
887
+
888
+ [**LeaseMoveOutDataMessage**](LeaseMoveOutDataMessage.md)
889
+
890
+ ### Authorization
891
+
892
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
893
+
894
+ ### HTTP request headers
895
+
896
+ - **Content-Type**: application/json
897
+ - **Accept**: application/json
898
+
899
+
900
+ ## create_payment
901
+
902
+ > <LeaseTransactionMessage> create_payment(lease_id, lease_ledger_payment_post_message)
903
+
904
+ Create a payment
905
+
906
+ Creates a lease ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
907
+
908
+ ### Examples
909
+
910
+ ```ruby
911
+ require 'time'
912
+ require 'buildium-ruby'
913
+ # setup authorization
914
+ Buildium.configure do |config|
915
+ # Configure API key authorization: clientId
916
+ config.api_key['clientId'] = 'YOUR API KEY'
917
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
918
+ # config.api_key_prefix['clientId'] = 'Bearer'
919
+
920
+ # Configure API key authorization: clientSecret
921
+ config.api_key['clientSecret'] = 'YOUR API KEY'
922
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
923
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
924
+ end
925
+
926
+ api_instance = Buildium::LeasesApi.new
927
+ lease_id = 56 # Integer | The lease unique identifier.
928
+ lease_ledger_payment_post_message = Buildium::LeaseLedgerPaymentPostMessage.new({date: Date.today, payment_method: 'Check', send_email_receipt: false, lines: [Buildium::LeaseLedgerPaymentLineSaveMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerPaymentPostMessage |
929
+
930
+ begin
931
+ # Create a payment
932
+ result = api_instance.create_payment(lease_id, lease_ledger_payment_post_message)
933
+ p result
934
+ rescue Buildium::ApiError => e
935
+ puts "Error when calling LeasesApi->create_payment: #{e}"
936
+ end
937
+ ```
938
+
939
+ #### Using the create_payment_with_http_info variant
940
+
941
+ This returns an Array which contains the response data, status code and headers.
942
+
943
+ > <Array(<LeaseTransactionMessage>, Integer, Hash)> create_payment_with_http_info(lease_id, lease_ledger_payment_post_message)
944
+
945
+ ```ruby
946
+ begin
947
+ # Create a payment
948
+ data, status_code, headers = api_instance.create_payment_with_http_info(lease_id, lease_ledger_payment_post_message)
949
+ p status_code # => 2xx
950
+ p headers # => { ... }
951
+ p data # => <LeaseTransactionMessage>
952
+ rescue Buildium::ApiError => e
953
+ puts "Error when calling LeasesApi->create_payment_with_http_info: #{e}"
954
+ end
955
+ ```
956
+
957
+ ### Parameters
958
+
959
+ | Name | Type | Description | Notes |
960
+ | ---- | ---- | ----------- | ----- |
961
+ | **lease_id** | **Integer** | The lease unique identifier. | |
962
+ | **lease_ledger_payment_post_message** | [**LeaseLedgerPaymentPostMessage**](LeaseLedgerPaymentPostMessage.md) | | |
963
+
964
+ ### Return type
965
+
966
+ [**LeaseTransactionMessage**](LeaseTransactionMessage.md)
967
+
968
+ ### Authorization
969
+
970
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
971
+
972
+ ### HTTP request headers
973
+
974
+ - **Content-Type**: application/json
975
+ - **Accept**: application/json
976
+
977
+
978
+ ## get_lease_by_id
979
+
980
+ > <LeaseMessage> get_lease_by_id(lease_id)
981
+
982
+ Retrieve a lease
983
+
984
+ Retrieves a specific lease. <br /><br /><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View`
985
+
986
+ ### Examples
987
+
988
+ ```ruby
989
+ require 'time'
990
+ require 'buildium-ruby'
991
+ # setup authorization
992
+ Buildium.configure do |config|
993
+ # Configure API key authorization: clientId
994
+ config.api_key['clientId'] = 'YOUR API KEY'
995
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
996
+ # config.api_key_prefix['clientId'] = 'Bearer'
997
+
998
+ # Configure API key authorization: clientSecret
999
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1000
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1001
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1002
+ end
1003
+
1004
+ api_instance = Buildium::LeasesApi.new
1005
+ lease_id = 56 # Integer | The lease identifier.
1006
+
1007
+ begin
1008
+ # Retrieve a lease
1009
+ result = api_instance.get_lease_by_id(lease_id)
1010
+ p result
1011
+ rescue Buildium::ApiError => e
1012
+ puts "Error when calling LeasesApi->get_lease_by_id: #{e}"
1013
+ end
1014
+ ```
1015
+
1016
+ #### Using the get_lease_by_id_with_http_info variant
1017
+
1018
+ This returns an Array which contains the response data, status code and headers.
1019
+
1020
+ > <Array(<LeaseMessage>, Integer, Hash)> get_lease_by_id_with_http_info(lease_id)
1021
+
1022
+ ```ruby
1023
+ begin
1024
+ # Retrieve a lease
1025
+ data, status_code, headers = api_instance.get_lease_by_id_with_http_info(lease_id)
1026
+ p status_code # => 2xx
1027
+ p headers # => { ... }
1028
+ p data # => <LeaseMessage>
1029
+ rescue Buildium::ApiError => e
1030
+ puts "Error when calling LeasesApi->get_lease_by_id_with_http_info: #{e}"
1031
+ end
1032
+ ```
1033
+
1034
+ ### Parameters
1035
+
1036
+ | Name | Type | Description | Notes |
1037
+ | ---- | ---- | ----------- | ----- |
1038
+ | **lease_id** | **Integer** | The lease identifier. | |
1039
+
1040
+ ### Return type
1041
+
1042
+ [**LeaseMessage**](LeaseMessage.md)
1043
+
1044
+ ### Authorization
1045
+
1046
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1047
+
1048
+ ### HTTP request headers
1049
+
1050
+ - **Content-Type**: Not defined
1051
+ - **Accept**: application/json
1052
+
1053
+
1054
+ ## get_lease_charge_recurring_transaction_by_id
1055
+
1056
+ > <LeaseChargeRecurringTransactionMessage> get_lease_charge_recurring_transaction_by_id(lease_id, transaction_id)
1057
+
1058
+ Retrieve a recurring charge
1059
+
1060
+ Retrieves a recurring charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
1061
+
1062
+ ### Examples
1063
+
1064
+ ```ruby
1065
+ require 'time'
1066
+ require 'buildium-ruby'
1067
+ # setup authorization
1068
+ Buildium.configure do |config|
1069
+ # Configure API key authorization: clientId
1070
+ config.api_key['clientId'] = 'YOUR API KEY'
1071
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1072
+ # config.api_key_prefix['clientId'] = 'Bearer'
1073
+
1074
+ # Configure API key authorization: clientSecret
1075
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1076
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1077
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1078
+ end
1079
+
1080
+ api_instance = Buildium::LeasesApi.new
1081
+ lease_id = 56 # Integer |
1082
+ transaction_id = 56 # Integer |
1083
+
1084
+ begin
1085
+ # Retrieve a recurring charge
1086
+ result = api_instance.get_lease_charge_recurring_transaction_by_id(lease_id, transaction_id)
1087
+ p result
1088
+ rescue Buildium::ApiError => e
1089
+ puts "Error when calling LeasesApi->get_lease_charge_recurring_transaction_by_id: #{e}"
1090
+ end
1091
+ ```
1092
+
1093
+ #### Using the get_lease_charge_recurring_transaction_by_id_with_http_info variant
1094
+
1095
+ This returns an Array which contains the response data, status code and headers.
1096
+
1097
+ > <Array(<LeaseChargeRecurringTransactionMessage>, Integer, Hash)> get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id)
1098
+
1099
+ ```ruby
1100
+ begin
1101
+ # Retrieve a recurring charge
1102
+ data, status_code, headers = api_instance.get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id)
1103
+ p status_code # => 2xx
1104
+ p headers # => { ... }
1105
+ p data # => <LeaseChargeRecurringTransactionMessage>
1106
+ rescue Buildium::ApiError => e
1107
+ puts "Error when calling LeasesApi->get_lease_charge_recurring_transaction_by_id_with_http_info: #{e}"
1108
+ end
1109
+ ```
1110
+
1111
+ ### Parameters
1112
+
1113
+ | Name | Type | Description | Notes |
1114
+ | ---- | ---- | ----------- | ----- |
1115
+ | **lease_id** | **Integer** | | |
1116
+ | **transaction_id** | **Integer** | | |
1117
+
1118
+ ### Return type
1119
+
1120
+ [**LeaseChargeRecurringTransactionMessage**](LeaseChargeRecurringTransactionMessage.md)
1121
+
1122
+ ### Authorization
1123
+
1124
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1125
+
1126
+ ### HTTP request headers
1127
+
1128
+ - **Content-Type**: Not defined
1129
+ - **Accept**: application/json
1130
+
1131
+
1132
+ ## get_lease_ledger_refund_by_id
1133
+
1134
+ > <LeaseLedgerRefundMessage> get_lease_ledger_refund_by_id(lease_id, refund_id)
1135
+
1136
+ Retrieve a refund
1137
+
1138
+ Retrieves a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
1139
+
1140
+ ### Examples
1141
+
1142
+ ```ruby
1143
+ require 'time'
1144
+ require 'buildium-ruby'
1145
+ # setup authorization
1146
+ Buildium.configure do |config|
1147
+ # Configure API key authorization: clientId
1148
+ config.api_key['clientId'] = 'YOUR API KEY'
1149
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1150
+ # config.api_key_prefix['clientId'] = 'Bearer'
1151
+
1152
+ # Configure API key authorization: clientSecret
1153
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1154
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1155
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1156
+ end
1157
+
1158
+ api_instance = Buildium::LeasesApi.new
1159
+ lease_id = 56 # Integer |
1160
+ refund_id = 56 # Integer |
1161
+
1162
+ begin
1163
+ # Retrieve a refund
1164
+ result = api_instance.get_lease_ledger_refund_by_id(lease_id, refund_id)
1165
+ p result
1166
+ rescue Buildium::ApiError => e
1167
+ puts "Error when calling LeasesApi->get_lease_ledger_refund_by_id: #{e}"
1168
+ end
1169
+ ```
1170
+
1171
+ #### Using the get_lease_ledger_refund_by_id_with_http_info variant
1172
+
1173
+ This returns an Array which contains the response data, status code and headers.
1174
+
1175
+ > <Array(<LeaseLedgerRefundMessage>, Integer, Hash)> get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id)
1176
+
1177
+ ```ruby
1178
+ begin
1179
+ # Retrieve a refund
1180
+ data, status_code, headers = api_instance.get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id)
1181
+ p status_code # => 2xx
1182
+ p headers # => { ... }
1183
+ p data # => <LeaseLedgerRefundMessage>
1184
+ rescue Buildium::ApiError => e
1185
+ puts "Error when calling LeasesApi->get_lease_ledger_refund_by_id_with_http_info: #{e}"
1186
+ end
1187
+ ```
1188
+
1189
+ ### Parameters
1190
+
1191
+ | Name | Type | Description | Notes |
1192
+ | ---- | ---- | ----------- | ----- |
1193
+ | **lease_id** | **Integer** | | |
1194
+ | **refund_id** | **Integer** | | |
1195
+
1196
+ ### Return type
1197
+
1198
+ [**LeaseLedgerRefundMessage**](LeaseLedgerRefundMessage.md)
1199
+
1200
+ ### Authorization
1201
+
1202
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1203
+
1204
+ ### HTTP request headers
1205
+
1206
+ - **Content-Type**: Not defined
1207
+ - **Accept**: application/json
1208
+
1209
+
1210
+ ## get_lease_ledger_transaction_by_id
1211
+
1212
+ > <LeaseTransactionMessage> get_lease_ledger_transaction_by_id(lease_id, transaction_id)
1213
+
1214
+ Retrieve a lease transaction
1215
+
1216
+ Retrieves a specific lease transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Transactions</span> - `View`
1217
+
1218
+ ### Examples
1219
+
1220
+ ```ruby
1221
+ require 'time'
1222
+ require 'buildium-ruby'
1223
+ # setup authorization
1224
+ Buildium.configure do |config|
1225
+ # Configure API key authorization: clientId
1226
+ config.api_key['clientId'] = 'YOUR API KEY'
1227
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1228
+ # config.api_key_prefix['clientId'] = 'Bearer'
1229
+
1230
+ # Configure API key authorization: clientSecret
1231
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1232
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1233
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1234
+ end
1235
+
1236
+ api_instance = Buildium::LeasesApi.new
1237
+ lease_id = 56 # Integer |
1238
+ transaction_id = 56 # Integer |
1239
+
1240
+ begin
1241
+ # Retrieve a lease transaction
1242
+ result = api_instance.get_lease_ledger_transaction_by_id(lease_id, transaction_id)
1243
+ p result
1244
+ rescue Buildium::ApiError => e
1245
+ puts "Error when calling LeasesApi->get_lease_ledger_transaction_by_id: #{e}"
1246
+ end
1247
+ ```
1248
+
1249
+ #### Using the get_lease_ledger_transaction_by_id_with_http_info variant
1250
+
1251
+ This returns an Array which contains the response data, status code and headers.
1252
+
1253
+ > <Array(<LeaseTransactionMessage>, Integer, Hash)> get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id)
1254
+
1255
+ ```ruby
1256
+ begin
1257
+ # Retrieve a lease transaction
1258
+ data, status_code, headers = api_instance.get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id)
1259
+ p status_code # => 2xx
1260
+ p headers # => { ... }
1261
+ p data # => <LeaseTransactionMessage>
1262
+ rescue Buildium::ApiError => e
1263
+ puts "Error when calling LeasesApi->get_lease_ledger_transaction_by_id_with_http_info: #{e}"
1264
+ end
1265
+ ```
1266
+
1267
+ ### Parameters
1268
+
1269
+ | Name | Type | Description | Notes |
1270
+ | ---- | ---- | ----------- | ----- |
1271
+ | **lease_id** | **Integer** | | |
1272
+ | **transaction_id** | **Integer** | | |
1273
+
1274
+ ### Return type
1275
+
1276
+ [**LeaseTransactionMessage**](LeaseTransactionMessage.md)
1277
+
1278
+ ### Authorization
1279
+
1280
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1281
+
1282
+ ### HTTP request headers
1283
+
1284
+ - **Content-Type**: Not defined
1285
+ - **Accept**: application/json
1286
+
1287
+
1288
+ ## get_lease_ledgers
1289
+
1290
+ > <Array<LeaseTransactionMessage>> get_lease_ledgers(lease_id, opts)
1291
+
1292
+ Retrieve all lease transactions
1293
+
1294
+ Retrieves all the transactions for a specific lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
1295
+
1296
+ ### Examples
1297
+
1298
+ ```ruby
1299
+ require 'time'
1300
+ require 'buildium-ruby'
1301
+ # setup authorization
1302
+ Buildium.configure do |config|
1303
+ # Configure API key authorization: clientId
1304
+ config.api_key['clientId'] = 'YOUR API KEY'
1305
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1306
+ # config.api_key_prefix['clientId'] = 'Bearer'
1307
+
1308
+ # Configure API key authorization: clientSecret
1309
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1310
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1311
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1312
+ end
1313
+
1314
+ api_instance = Buildium::LeasesApi.new
1315
+ lease_id = 56 # Integer |
1316
+ opts = {
1317
+ transactiondatefrom: Date.parse('2013-10-20'), # Date | Filters results to any lease transaction whose start date is greater than or equal to the specified value.
1318
+ transactiondateto: Date.parse('2013-10-20'), # Date | Filters results to any lease transaction whose end date is less than or equal to the specified value.
1319
+ transactiontypes: ['Bill'], # Array<String> | Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned.
1320
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
1321
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
1322
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
1323
+ }
1324
+
1325
+ begin
1326
+ # Retrieve all lease transactions
1327
+ result = api_instance.get_lease_ledgers(lease_id, opts)
1328
+ p result
1329
+ rescue Buildium::ApiError => e
1330
+ puts "Error when calling LeasesApi->get_lease_ledgers: #{e}"
1331
+ end
1332
+ ```
1333
+
1334
+ #### Using the get_lease_ledgers_with_http_info variant
1335
+
1336
+ This returns an Array which contains the response data, status code and headers.
1337
+
1338
+ > <Array(<Array<LeaseTransactionMessage>>, Integer, Hash)> get_lease_ledgers_with_http_info(lease_id, opts)
1339
+
1340
+ ```ruby
1341
+ begin
1342
+ # Retrieve all lease transactions
1343
+ data, status_code, headers = api_instance.get_lease_ledgers_with_http_info(lease_id, opts)
1344
+ p status_code # => 2xx
1345
+ p headers # => { ... }
1346
+ p data # => <Array<LeaseTransactionMessage>>
1347
+ rescue Buildium::ApiError => e
1348
+ puts "Error when calling LeasesApi->get_lease_ledgers_with_http_info: #{e}"
1349
+ end
1350
+ ```
1351
+
1352
+ ### Parameters
1353
+
1354
+ | Name | Type | Description | Notes |
1355
+ | ---- | ---- | ----------- | ----- |
1356
+ | **lease_id** | **Integer** | | |
1357
+ | **transactiondatefrom** | **Date** | Filters results to any lease transaction whose start date is greater than or equal to the specified value. | [optional] |
1358
+ | **transactiondateto** | **Date** | Filters results to any lease transaction whose end date is less than or equal to the specified value. | [optional] |
1359
+ | **transactiontypes** | [**Array&lt;String&gt;**](String.md) | Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned. | [optional] |
1360
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
1361
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
1362
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
1363
+
1364
+ ### Return type
1365
+
1366
+ [**Array&lt;LeaseTransactionMessage&gt;**](LeaseTransactionMessage.md)
1367
+
1368
+ ### Authorization
1369
+
1370
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1371
+
1372
+ ### HTTP request headers
1373
+
1374
+ - **Content-Type**: Not defined
1375
+ - **Accept**: application/json
1376
+
1377
+
1378
+ ## get_lease_move_out_data_by_tenant_id
1379
+
1380
+ > <LeaseMoveOutDataMessage> get_lease_move_out_data_by_tenant_id(lease_id, tenant_id)
1381
+
1382
+ Retrieve a move out
1383
+
1384
+ Retrieves move out data for a single tenant on a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` <br /><span class=\"permissionBlock\">Rentals &gt; Tenants</span> - `View`
1385
+
1386
+ ### Examples
1387
+
1388
+ ```ruby
1389
+ require 'time'
1390
+ require 'buildium-ruby'
1391
+ # setup authorization
1392
+ Buildium.configure do |config|
1393
+ # Configure API key authorization: clientId
1394
+ config.api_key['clientId'] = 'YOUR API KEY'
1395
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1396
+ # config.api_key_prefix['clientId'] = 'Bearer'
1397
+
1398
+ # Configure API key authorization: clientSecret
1399
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1400
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1401
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1402
+ end
1403
+
1404
+ api_instance = Buildium::LeasesApi.new
1405
+ lease_id = 56 # Integer |
1406
+ tenant_id = 56 # Integer |
1407
+
1408
+ begin
1409
+ # Retrieve a move out
1410
+ result = api_instance.get_lease_move_out_data_by_tenant_id(lease_id, tenant_id)
1411
+ p result
1412
+ rescue Buildium::ApiError => e
1413
+ puts "Error when calling LeasesApi->get_lease_move_out_data_by_tenant_id: #{e}"
1414
+ end
1415
+ ```
1416
+
1417
+ #### Using the get_lease_move_out_data_by_tenant_id_with_http_info variant
1418
+
1419
+ This returns an Array which contains the response data, status code and headers.
1420
+
1421
+ > <Array(<LeaseMoveOutDataMessage>, Integer, Hash)> get_lease_move_out_data_by_tenant_id_with_http_info(lease_id, tenant_id)
1422
+
1423
+ ```ruby
1424
+ begin
1425
+ # Retrieve a move out
1426
+ data, status_code, headers = api_instance.get_lease_move_out_data_by_tenant_id_with_http_info(lease_id, tenant_id)
1427
+ p status_code # => 2xx
1428
+ p headers # => { ... }
1429
+ p data # => <LeaseMoveOutDataMessage>
1430
+ rescue Buildium::ApiError => e
1431
+ puts "Error when calling LeasesApi->get_lease_move_out_data_by_tenant_id_with_http_info: #{e}"
1432
+ end
1433
+ ```
1434
+
1435
+ ### Parameters
1436
+
1437
+ | Name | Type | Description | Notes |
1438
+ | ---- | ---- | ----------- | ----- |
1439
+ | **lease_id** | **Integer** | | |
1440
+ | **tenant_id** | **Integer** | | |
1441
+
1442
+ ### Return type
1443
+
1444
+ [**LeaseMoveOutDataMessage**](LeaseMoveOutDataMessage.md)
1445
+
1446
+ ### Authorization
1447
+
1448
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1449
+
1450
+ ### HTTP request headers
1451
+
1452
+ - **Content-Type**: Not defined
1453
+ - **Accept**: application/json
1454
+
1455
+
1456
+ ## get_lease_move_out_information_by_id
1457
+
1458
+ > <Array<LeaseMoveOutDataMessage>> get_lease_move_out_information_by_id(lease_id, opts)
1459
+
1460
+ Retrieve all move outs
1461
+
1462
+ Retrieves a list of move out dates for a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` <br /><span class=\"permissionBlock\">Rentals &gt; Tenants</span> - `View`
1463
+
1464
+ ### Examples
1465
+
1466
+ ```ruby
1467
+ require 'time'
1468
+ require 'buildium-ruby'
1469
+ # setup authorization
1470
+ Buildium.configure do |config|
1471
+ # Configure API key authorization: clientId
1472
+ config.api_key['clientId'] = 'YOUR API KEY'
1473
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1474
+ # config.api_key_prefix['clientId'] = 'Bearer'
1475
+
1476
+ # Configure API key authorization: clientSecret
1477
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1478
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1479
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1480
+ end
1481
+
1482
+ api_instance = Buildium::LeasesApi.new
1483
+ lease_id = 56 # Integer |
1484
+ opts = {
1485
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
1486
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
1487
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
1488
+ }
1489
+
1490
+ begin
1491
+ # Retrieve all move outs
1492
+ result = api_instance.get_lease_move_out_information_by_id(lease_id, opts)
1493
+ p result
1494
+ rescue Buildium::ApiError => e
1495
+ puts "Error when calling LeasesApi->get_lease_move_out_information_by_id: #{e}"
1496
+ end
1497
+ ```
1498
+
1499
+ #### Using the get_lease_move_out_information_by_id_with_http_info variant
1500
+
1501
+ This returns an Array which contains the response data, status code and headers.
1502
+
1503
+ > <Array(<Array<LeaseMoveOutDataMessage>>, Integer, Hash)> get_lease_move_out_information_by_id_with_http_info(lease_id, opts)
1504
+
1505
+ ```ruby
1506
+ begin
1507
+ # Retrieve all move outs
1508
+ data, status_code, headers = api_instance.get_lease_move_out_information_by_id_with_http_info(lease_id, opts)
1509
+ p status_code # => 2xx
1510
+ p headers # => { ... }
1511
+ p data # => <Array<LeaseMoveOutDataMessage>>
1512
+ rescue Buildium::ApiError => e
1513
+ puts "Error when calling LeasesApi->get_lease_move_out_information_by_id_with_http_info: #{e}"
1514
+ end
1515
+ ```
1516
+
1517
+ ### Parameters
1518
+
1519
+ | Name | Type | Description | Notes |
1520
+ | ---- | ---- | ----------- | ----- |
1521
+ | **lease_id** | **Integer** | | |
1522
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
1523
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
1524
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
1525
+
1526
+ ### Return type
1527
+
1528
+ [**Array&lt;LeaseMoveOutDataMessage&gt;**](LeaseMoveOutDataMessage.md)
1529
+
1530
+ ### Authorization
1531
+
1532
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1533
+
1534
+ ### HTTP request headers
1535
+
1536
+ - **Content-Type**: Not defined
1537
+ - **Accept**: application/json
1538
+
1539
+
1540
+ ## get_lease_note_by_note_id
1541
+
1542
+ > <NoteMessage> get_lease_note_by_note_id(lease_id, note_id)
1543
+
1544
+ Retrieve a note
1545
+
1546
+ Retrieves a lease note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View`
1547
+
1548
+ ### Examples
1549
+
1550
+ ```ruby
1551
+ require 'time'
1552
+ require 'buildium-ruby'
1553
+ # setup authorization
1554
+ Buildium.configure do |config|
1555
+ # Configure API key authorization: clientId
1556
+ config.api_key['clientId'] = 'YOUR API KEY'
1557
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1558
+ # config.api_key_prefix['clientId'] = 'Bearer'
1559
+
1560
+ # Configure API key authorization: clientSecret
1561
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1562
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1563
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1564
+ end
1565
+
1566
+ api_instance = Buildium::LeasesApi.new
1567
+ lease_id = 56 # Integer |
1568
+ note_id = 56 # Integer |
1569
+
1570
+ begin
1571
+ # Retrieve a note
1572
+ result = api_instance.get_lease_note_by_note_id(lease_id, note_id)
1573
+ p result
1574
+ rescue Buildium::ApiError => e
1575
+ puts "Error when calling LeasesApi->get_lease_note_by_note_id: #{e}"
1576
+ end
1577
+ ```
1578
+
1579
+ #### Using the get_lease_note_by_note_id_with_http_info variant
1580
+
1581
+ This returns an Array which contains the response data, status code and headers.
1582
+
1583
+ > <Array(<NoteMessage>, Integer, Hash)> get_lease_note_by_note_id_with_http_info(lease_id, note_id)
1584
+
1585
+ ```ruby
1586
+ begin
1587
+ # Retrieve a note
1588
+ data, status_code, headers = api_instance.get_lease_note_by_note_id_with_http_info(lease_id, note_id)
1589
+ p status_code # => 2xx
1590
+ p headers # => { ... }
1591
+ p data # => <NoteMessage>
1592
+ rescue Buildium::ApiError => e
1593
+ puts "Error when calling LeasesApi->get_lease_note_by_note_id_with_http_info: #{e}"
1594
+ end
1595
+ ```
1596
+
1597
+ ### Parameters
1598
+
1599
+ | Name | Type | Description | Notes |
1600
+ | ---- | ---- | ----------- | ----- |
1601
+ | **lease_id** | **Integer** | | |
1602
+ | **note_id** | **Integer** | | |
1603
+
1604
+ ### Return type
1605
+
1606
+ [**NoteMessage**](NoteMessage.md)
1607
+
1608
+ ### Authorization
1609
+
1610
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1611
+
1612
+ ### HTTP request headers
1613
+
1614
+ - **Content-Type**: Not defined
1615
+ - **Accept**: application/json
1616
+
1617
+
1618
+ ## get_lease_notes
1619
+
1620
+ > <Array<NoteMessage>> get_lease_notes(lease_id, opts)
1621
+
1622
+ Retrieve all notes
1623
+
1624
+ Retrieves all lease notes. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View`
1625
+
1626
+ ### Examples
1627
+
1628
+ ```ruby
1629
+ require 'time'
1630
+ require 'buildium-ruby'
1631
+ # setup authorization
1632
+ Buildium.configure do |config|
1633
+ # Configure API key authorization: clientId
1634
+ config.api_key['clientId'] = 'YOUR API KEY'
1635
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1636
+ # config.api_key_prefix['clientId'] = 'Bearer'
1637
+
1638
+ # Configure API key authorization: clientSecret
1639
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1640
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1641
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1642
+ end
1643
+
1644
+ api_instance = Buildium::LeasesApi.new
1645
+ lease_id = 56 # Integer |
1646
+ opts = {
1647
+ updateddatetimefrom: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
1648
+ updateddatetimeto: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
1649
+ lastupdatedbyuserid: 56, # Integer | Filters results to only notes that were last updated by the specified user identifier.
1650
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
1651
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
1652
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
1653
+ }
1654
+
1655
+ begin
1656
+ # Retrieve all notes
1657
+ result = api_instance.get_lease_notes(lease_id, opts)
1658
+ p result
1659
+ rescue Buildium::ApiError => e
1660
+ puts "Error when calling LeasesApi->get_lease_notes: #{e}"
1661
+ end
1662
+ ```
1663
+
1664
+ #### Using the get_lease_notes_with_http_info variant
1665
+
1666
+ This returns an Array which contains the response data, status code and headers.
1667
+
1668
+ > <Array(<Array<NoteMessage>>, Integer, Hash)> get_lease_notes_with_http_info(lease_id, opts)
1669
+
1670
+ ```ruby
1671
+ begin
1672
+ # Retrieve all notes
1673
+ data, status_code, headers = api_instance.get_lease_notes_with_http_info(lease_id, opts)
1674
+ p status_code # => 2xx
1675
+ p headers # => { ... }
1676
+ p data # => <Array<NoteMessage>>
1677
+ rescue Buildium::ApiError => e
1678
+ puts "Error when calling LeasesApi->get_lease_notes_with_http_info: #{e}"
1679
+ end
1680
+ ```
1681
+
1682
+ ### Parameters
1683
+
1684
+ | Name | Type | Description | Notes |
1685
+ | ---- | ---- | ----------- | ----- |
1686
+ | **lease_id** | **Integer** | | |
1687
+ | **updateddatetimefrom** | **Time** | Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
1688
+ | **updateddatetimeto** | **Time** | Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
1689
+ | **lastupdatedbyuserid** | **Integer** | Filters results to only notes that were last updated by the specified user identifier. | [optional] |
1690
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
1691
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
1692
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
1693
+
1694
+ ### Return type
1695
+
1696
+ [**Array&lt;NoteMessage&gt;**](NoteMessage.md)
1697
+
1698
+ ### Authorization
1699
+
1700
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1701
+
1702
+ ### HTTP request headers
1703
+
1704
+ - **Content-Type**: Not defined
1705
+ - **Accept**: application/json
1706
+
1707
+
1708
+ ## get_lease_outstanding_balances
1709
+
1710
+ > <Array<LeaseOutstandingBalanceMessage>> get_lease_outstanding_balances(opts)
1711
+
1712
+ Retrieve all outstanding balances
1713
+
1714
+ Retrieves a list of lease outstanding balances. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Outstanding Balances</span> - `View`
1715
+
1716
+ ### Examples
1717
+
1718
+ ```ruby
1719
+ require 'time'
1720
+ require 'buildium-ruby'
1721
+ # setup authorization
1722
+ Buildium.configure do |config|
1723
+ # Configure API key authorization: clientId
1724
+ config.api_key['clientId'] = 'YOUR API KEY'
1725
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1726
+ # config.api_key_prefix['clientId'] = 'Bearer'
1727
+
1728
+ # Configure API key authorization: clientSecret
1729
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1730
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1731
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1732
+ end
1733
+
1734
+ api_instance = Buildium::LeasesApi.new
1735
+ opts = {
1736
+ entitytype: 'Rental', # String |
1737
+ entityid: 56, # Integer |
1738
+ leasestatuses: ['Active'], # Array<String> |
1739
+ leaseids: [37], # Array<Integer> |
1740
+ pastdueemail: 'NoEmailAddress', # String |
1741
+ balanceduration: 'TotalBalance', # String |
1742
+ evictionstatus: 'NotEvictionPending', # String |
1743
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
1744
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
1745
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
1746
+ }
1747
+
1748
+ begin
1749
+ # Retrieve all outstanding balances
1750
+ result = api_instance.get_lease_outstanding_balances(opts)
1751
+ p result
1752
+ rescue Buildium::ApiError => e
1753
+ puts "Error when calling LeasesApi->get_lease_outstanding_balances: #{e}"
1754
+ end
1755
+ ```
1756
+
1757
+ #### Using the get_lease_outstanding_balances_with_http_info variant
1758
+
1759
+ This returns an Array which contains the response data, status code and headers.
1760
+
1761
+ > <Array(<Array<LeaseOutstandingBalanceMessage>>, Integer, Hash)> get_lease_outstanding_balances_with_http_info(opts)
1762
+
1763
+ ```ruby
1764
+ begin
1765
+ # Retrieve all outstanding balances
1766
+ data, status_code, headers = api_instance.get_lease_outstanding_balances_with_http_info(opts)
1767
+ p status_code # => 2xx
1768
+ p headers # => { ... }
1769
+ p data # => <Array<LeaseOutstandingBalanceMessage>>
1770
+ rescue Buildium::ApiError => e
1771
+ puts "Error when calling LeasesApi->get_lease_outstanding_balances_with_http_info: #{e}"
1772
+ end
1773
+ ```
1774
+
1775
+ ### Parameters
1776
+
1777
+ | Name | Type | Description | Notes |
1778
+ | ---- | ---- | ----------- | ----- |
1779
+ | **entitytype** | **String** | | [optional] |
1780
+ | **entityid** | **Integer** | | [optional] |
1781
+ | **leasestatuses** | [**Array&lt;String&gt;**](String.md) | | [optional] |
1782
+ | **leaseids** | [**Array&lt;Integer&gt;**](Integer.md) | | [optional] |
1783
+ | **pastdueemail** | **String** | | [optional] |
1784
+ | **balanceduration** | **String** | | [optional] |
1785
+ | **evictionstatus** | **String** | | [optional] |
1786
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
1787
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
1788
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
1789
+
1790
+ ### Return type
1791
+
1792
+ [**Array&lt;LeaseOutstandingBalanceMessage&gt;**](LeaseOutstandingBalanceMessage.md)
1793
+
1794
+ ### Authorization
1795
+
1796
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1797
+
1798
+ ### HTTP request headers
1799
+
1800
+ - **Content-Type**: Not defined
1801
+ - **Accept**: application/json
1802
+
1803
+
1804
+ ## get_lease_recurring_credit_by_id
1805
+
1806
+ > <LeaseRecurringCreditMessage> get_lease_recurring_credit_by_id(lease_id, transaction_id)
1807
+
1808
+ Retrieve a recurring credit
1809
+
1810
+ Retrieves a recurring credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
1811
+
1812
+ ### Examples
1813
+
1814
+ ```ruby
1815
+ require 'time'
1816
+ require 'buildium-ruby'
1817
+ # setup authorization
1818
+ Buildium.configure do |config|
1819
+ # Configure API key authorization: clientId
1820
+ config.api_key['clientId'] = 'YOUR API KEY'
1821
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1822
+ # config.api_key_prefix['clientId'] = 'Bearer'
1823
+
1824
+ # Configure API key authorization: clientSecret
1825
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1826
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1827
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1828
+ end
1829
+
1830
+ api_instance = Buildium::LeasesApi.new
1831
+ lease_id = 56 # Integer |
1832
+ transaction_id = 56 # Integer |
1833
+
1834
+ begin
1835
+ # Retrieve a recurring credit
1836
+ result = api_instance.get_lease_recurring_credit_by_id(lease_id, transaction_id)
1837
+ p result
1838
+ rescue Buildium::ApiError => e
1839
+ puts "Error when calling LeasesApi->get_lease_recurring_credit_by_id: #{e}"
1840
+ end
1841
+ ```
1842
+
1843
+ #### Using the get_lease_recurring_credit_by_id_with_http_info variant
1844
+
1845
+ This returns an Array which contains the response data, status code and headers.
1846
+
1847
+ > <Array(<LeaseRecurringCreditMessage>, Integer, Hash)> get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id)
1848
+
1849
+ ```ruby
1850
+ begin
1851
+ # Retrieve a recurring credit
1852
+ data, status_code, headers = api_instance.get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id)
1853
+ p status_code # => 2xx
1854
+ p headers # => { ... }
1855
+ p data # => <LeaseRecurringCreditMessage>
1856
+ rescue Buildium::ApiError => e
1857
+ puts "Error when calling LeasesApi->get_lease_recurring_credit_by_id_with_http_info: #{e}"
1858
+ end
1859
+ ```
1860
+
1861
+ ### Parameters
1862
+
1863
+ | Name | Type | Description | Notes |
1864
+ | ---- | ---- | ----------- | ----- |
1865
+ | **lease_id** | **Integer** | | |
1866
+ | **transaction_id** | **Integer** | | |
1867
+
1868
+ ### Return type
1869
+
1870
+ [**LeaseRecurringCreditMessage**](LeaseRecurringCreditMessage.md)
1871
+
1872
+ ### Authorization
1873
+
1874
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1875
+
1876
+ ### HTTP request headers
1877
+
1878
+ - **Content-Type**: Not defined
1879
+ - **Accept**: application/json
1880
+
1881
+
1882
+ ## get_lease_recurring_transactions
1883
+
1884
+ > <Array<RecurringTransactionMessage>> get_lease_recurring_transactions(lease_id, opts)
1885
+
1886
+ Retrieve all recurring transactions
1887
+
1888
+ Retrieves all recurring transactions. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
1889
+
1890
+ ### Examples
1891
+
1892
+ ```ruby
1893
+ require 'time'
1894
+ require 'buildium-ruby'
1895
+ # setup authorization
1896
+ Buildium.configure do |config|
1897
+ # Configure API key authorization: clientId
1898
+ config.api_key['clientId'] = 'YOUR API KEY'
1899
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1900
+ # config.api_key_prefix['clientId'] = 'Bearer'
1901
+
1902
+ # Configure API key authorization: clientSecret
1903
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1904
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1905
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1906
+ end
1907
+
1908
+ api_instance = Buildium::LeasesApi.new
1909
+ lease_id = 56 # Integer |
1910
+ opts = {
1911
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
1912
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
1913
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
1914
+ }
1915
+
1916
+ begin
1917
+ # Retrieve all recurring transactions
1918
+ result = api_instance.get_lease_recurring_transactions(lease_id, opts)
1919
+ p result
1920
+ rescue Buildium::ApiError => e
1921
+ puts "Error when calling LeasesApi->get_lease_recurring_transactions: #{e}"
1922
+ end
1923
+ ```
1924
+
1925
+ #### Using the get_lease_recurring_transactions_with_http_info variant
1926
+
1927
+ This returns an Array which contains the response data, status code and headers.
1928
+
1929
+ > <Array(<Array<RecurringTransactionMessage>>, Integer, Hash)> get_lease_recurring_transactions_with_http_info(lease_id, opts)
1930
+
1931
+ ```ruby
1932
+ begin
1933
+ # Retrieve all recurring transactions
1934
+ data, status_code, headers = api_instance.get_lease_recurring_transactions_with_http_info(lease_id, opts)
1935
+ p status_code # => 2xx
1936
+ p headers # => { ... }
1937
+ p data # => <Array<RecurringTransactionMessage>>
1938
+ rescue Buildium::ApiError => e
1939
+ puts "Error when calling LeasesApi->get_lease_recurring_transactions_with_http_info: #{e}"
1940
+ end
1941
+ ```
1942
+
1943
+ ### Parameters
1944
+
1945
+ | Name | Type | Description | Notes |
1946
+ | ---- | ---- | ----------- | ----- |
1947
+ | **lease_id** | **Integer** | | |
1948
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
1949
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
1950
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
1951
+
1952
+ ### Return type
1953
+
1954
+ [**Array&lt;RecurringTransactionMessage&gt;**](RecurringTransactionMessage.md)
1955
+
1956
+ ### Authorization
1957
+
1958
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1959
+
1960
+ ### HTTP request headers
1961
+
1962
+ - **Content-Type**: Not defined
1963
+ - **Accept**: application/json
1964
+
1965
+
1966
+ ## get_leases
1967
+
1968
+ > <Array<LeaseMessage>> get_leases(opts)
1969
+
1970
+ Retrieve all leases
1971
+
1972
+ Retrieves a list of leases. <br /><br /><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View`
1973
+
1974
+ ### Examples
1975
+
1976
+ ```ruby
1977
+ require 'time'
1978
+ require 'buildium-ruby'
1979
+ # setup authorization
1980
+ Buildium.configure do |config|
1981
+ # Configure API key authorization: clientId
1982
+ config.api_key['clientId'] = 'YOUR API KEY'
1983
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1984
+ # config.api_key_prefix['clientId'] = 'Bearer'
1985
+
1986
+ # Configure API key authorization: clientSecret
1987
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1988
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1989
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1990
+ end
1991
+
1992
+ api_instance = Buildium::LeasesApi.new
1993
+ opts = {
1994
+ propertyids: [37], # Array<Integer> | Filters results to any lease whose unit belongs to the specified set of property ids.
1995
+ rentalownerids: [37], # Array<Integer> | Filters results to any lease whose unit belongs to a property with a rental owner in the specified set of rental owner ids.
1996
+ unitnumber: 'unitnumber_example', # String | Filters results to any lease whose unit number *contains* the specified value.
1997
+ tenantname: 'tenantname_example', # String | Filters results to any lease whose current tenants' names *contain* the specified value.
1998
+ leasedatefrom: Date.parse('2013-10-20'), # Date | Filters results to any lease whose start date is greater than or equal to the specified value.
1999
+ leasedateto: Date.parse('2013-10-20'), # Date | Filters results to any lease whose end date is less than or equal to the specified value.
2000
+ leasetypes: ['None'], # Array<String> | Filters results to any lease whose lease type matches the specified status. If no type is specified, leases with any type will be returned.
2001
+ leasestatuses: ['Active'], # Array<String> | Filters results to any lease whose lease term matches the specified status. If no status is specified, leases with any lease term status will be returned.
2002
+ createddatetimefrom: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any lease whose created date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
2003
+ createddatetimeto: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any lease whose created date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
2004
+ lastupdatedfrom: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any leases that were updated on or after the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
2005
+ lastupdatedto: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any leases that were updated on or before the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
2006
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
2007
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
2008
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
2009
+ }
2010
+
2011
+ begin
2012
+ # Retrieve all leases
2013
+ result = api_instance.get_leases(opts)
2014
+ p result
2015
+ rescue Buildium::ApiError => e
2016
+ puts "Error when calling LeasesApi->get_leases: #{e}"
2017
+ end
2018
+ ```
2019
+
2020
+ #### Using the get_leases_with_http_info variant
2021
+
2022
+ This returns an Array which contains the response data, status code and headers.
2023
+
2024
+ > <Array(<Array<LeaseMessage>>, Integer, Hash)> get_leases_with_http_info(opts)
2025
+
2026
+ ```ruby
2027
+ begin
2028
+ # Retrieve all leases
2029
+ data, status_code, headers = api_instance.get_leases_with_http_info(opts)
2030
+ p status_code # => 2xx
2031
+ p headers # => { ... }
2032
+ p data # => <Array<LeaseMessage>>
2033
+ rescue Buildium::ApiError => e
2034
+ puts "Error when calling LeasesApi->get_leases_with_http_info: #{e}"
2035
+ end
2036
+ ```
2037
+
2038
+ ### Parameters
2039
+
2040
+ | Name | Type | Description | Notes |
2041
+ | ---- | ---- | ----------- | ----- |
2042
+ | **propertyids** | [**Array&lt;Integer&gt;**](Integer.md) | Filters results to any lease whose unit belongs to the specified set of property ids. | [optional] |
2043
+ | **rentalownerids** | [**Array&lt;Integer&gt;**](Integer.md) | Filters results to any lease whose unit belongs to a property with a rental owner in the specified set of rental owner ids. | [optional] |
2044
+ | **unitnumber** | **String** | Filters results to any lease whose unit number *contains* the specified value. | [optional] |
2045
+ | **tenantname** | **String** | Filters results to any lease whose current tenants&#39; names *contain* the specified value. | [optional] |
2046
+ | **leasedatefrom** | **Date** | Filters results to any lease whose start date is greater than or equal to the specified value. | [optional] |
2047
+ | **leasedateto** | **Date** | Filters results to any lease whose end date is less than or equal to the specified value. | [optional] |
2048
+ | **leasetypes** | [**Array&lt;String&gt;**](String.md) | Filters results to any lease whose lease type matches the specified status. If no type is specified, leases with any type will be returned. | [optional] |
2049
+ | **leasestatuses** | [**Array&lt;String&gt;**](String.md) | Filters results to any lease whose lease term matches the specified status. If no status is specified, leases with any lease term status will be returned. | [optional] |
2050
+ | **createddatetimefrom** | **Time** | Filters results to any lease whose created date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
2051
+ | **createddatetimeto** | **Time** | Filters results to any lease whose created date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
2052
+ | **lastupdatedfrom** | **Time** | Filters results to any leases that were updated on or after the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ. | [optional] |
2053
+ | **lastupdatedto** | **Time** | Filters results to any leases that were updated on or before the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ. | [optional] |
2054
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
2055
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
2056
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
2057
+
2058
+ ### Return type
2059
+
2060
+ [**Array&lt;LeaseMessage&gt;**](LeaseMessage.md)
2061
+
2062
+ ### Authorization
2063
+
2064
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2065
+
2066
+ ### HTTP request headers
2067
+
2068
+ - **Content-Type**: Not defined
2069
+ - **Accept**: application/json
2070
+
2071
+
2072
+ ## get_recurring_lease_payments_by_id
2073
+
2074
+ > <LeaseRecurringPaymentMessage> get_recurring_lease_payments_by_id(lease_id, payment_id)
2075
+
2076
+ Retrieve a recurring payment
2077
+
2078
+ Retrieves a recurring payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Transactions</span> - `View`
2079
+
2080
+ ### Examples
2081
+
2082
+ ```ruby
2083
+ require 'time'
2084
+ require 'buildium-ruby'
2085
+ # setup authorization
2086
+ Buildium.configure do |config|
2087
+ # Configure API key authorization: clientId
2088
+ config.api_key['clientId'] = 'YOUR API KEY'
2089
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2090
+ # config.api_key_prefix['clientId'] = 'Bearer'
2091
+
2092
+ # Configure API key authorization: clientSecret
2093
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2094
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2095
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2096
+ end
2097
+
2098
+ api_instance = Buildium::LeasesApi.new
2099
+ lease_id = 56 # Integer |
2100
+ payment_id = 56 # Integer |
2101
+
2102
+ begin
2103
+ # Retrieve a recurring payment
2104
+ result = api_instance.get_recurring_lease_payments_by_id(lease_id, payment_id)
2105
+ p result
2106
+ rescue Buildium::ApiError => e
2107
+ puts "Error when calling LeasesApi->get_recurring_lease_payments_by_id: #{e}"
2108
+ end
2109
+ ```
2110
+
2111
+ #### Using the get_recurring_lease_payments_by_id_with_http_info variant
2112
+
2113
+ This returns an Array which contains the response data, status code and headers.
2114
+
2115
+ > <Array(<LeaseRecurringPaymentMessage>, Integer, Hash)> get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id)
2116
+
2117
+ ```ruby
2118
+ begin
2119
+ # Retrieve a recurring payment
2120
+ data, status_code, headers = api_instance.get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id)
2121
+ p status_code # => 2xx
2122
+ p headers # => { ... }
2123
+ p data # => <LeaseRecurringPaymentMessage>
2124
+ rescue Buildium::ApiError => e
2125
+ puts "Error when calling LeasesApi->get_recurring_lease_payments_by_id_with_http_info: #{e}"
2126
+ end
2127
+ ```
2128
+
2129
+ ### Parameters
2130
+
2131
+ | Name | Type | Description | Notes |
2132
+ | ---- | ---- | ----------- | ----- |
2133
+ | **lease_id** | **Integer** | | |
2134
+ | **payment_id** | **Integer** | | |
2135
+
2136
+ ### Return type
2137
+
2138
+ [**LeaseRecurringPaymentMessage**](LeaseRecurringPaymentMessage.md)
2139
+
2140
+ ### Authorization
2141
+
2142
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2143
+
2144
+ ### HTTP request headers
2145
+
2146
+ - **Content-Type**: Not defined
2147
+ - **Accept**: application/json
2148
+
2149
+
2150
+ ## get_rent
2151
+
2152
+ > <Array<LeaseRentMessage>> get_rent(lease_id, opts)
2153
+
2154
+ Retrieve all rent schedules
2155
+
2156
+ The rent schedule provides details (dollar amount, day of the month, etc) of the recurring charges that are applied to the lease ledger each rent cycle. A lease may have more than one rent schedule associated with it if the rent terms change within the duration of the lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
2157
+
2158
+ ### Examples
2159
+
2160
+ ```ruby
2161
+ require 'time'
2162
+ require 'buildium-ruby'
2163
+ # setup authorization
2164
+ Buildium.configure do |config|
2165
+ # Configure API key authorization: clientId
2166
+ config.api_key['clientId'] = 'YOUR API KEY'
2167
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2168
+ # config.api_key_prefix['clientId'] = 'Bearer'
2169
+
2170
+ # Configure API key authorization: clientSecret
2171
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2172
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2173
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2174
+ end
2175
+
2176
+ api_instance = Buildium::LeasesApi.new
2177
+ lease_id = 56 # Integer |
2178
+ opts = {
2179
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
2180
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
2181
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
2182
+ }
2183
+
2184
+ begin
2185
+ # Retrieve all rent schedules
2186
+ result = api_instance.get_rent(lease_id, opts)
2187
+ p result
2188
+ rescue Buildium::ApiError => e
2189
+ puts "Error when calling LeasesApi->get_rent: #{e}"
2190
+ end
2191
+ ```
2192
+
2193
+ #### Using the get_rent_with_http_info variant
2194
+
2195
+ This returns an Array which contains the response data, status code and headers.
2196
+
2197
+ > <Array(<Array<LeaseRentMessage>>, Integer, Hash)> get_rent_with_http_info(lease_id, opts)
2198
+
2199
+ ```ruby
2200
+ begin
2201
+ # Retrieve all rent schedules
2202
+ data, status_code, headers = api_instance.get_rent_with_http_info(lease_id, opts)
2203
+ p status_code # => 2xx
2204
+ p headers # => { ... }
2205
+ p data # => <Array<LeaseRentMessage>>
2206
+ rescue Buildium::ApiError => e
2207
+ puts "Error when calling LeasesApi->get_rent_with_http_info: #{e}"
2208
+ end
2209
+ ```
2210
+
2211
+ ### Parameters
2212
+
2213
+ | Name | Type | Description | Notes |
2214
+ | ---- | ---- | ----------- | ----- |
2215
+ | **lease_id** | **Integer** | | |
2216
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
2217
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
2218
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
2219
+
2220
+ ### Return type
2221
+
2222
+ [**Array&lt;LeaseRentMessage&gt;**](LeaseRentMessage.md)
2223
+
2224
+ ### Authorization
2225
+
2226
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2227
+
2228
+ ### HTTP request headers
2229
+
2230
+ - **Content-Type**: Not defined
2231
+ - **Accept**: application/json
2232
+
2233
+
2234
+ ## get_rent_by_id
2235
+
2236
+ > <LeaseRentMessage> get_rent_by_id(lease_id, rent_id)
2237
+
2238
+ Retrieve a rent schedule
2239
+
2240
+ Retrieves a specific rent schedule for a lease. The rent schedule provides details (dollar amount, day of the month, etc) of the recurring charges that are applied to the lease ledger each rent cycle. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
2241
+
2242
+ ### Examples
2243
+
2244
+ ```ruby
2245
+ require 'time'
2246
+ require 'buildium-ruby'
2247
+ # setup authorization
2248
+ Buildium.configure do |config|
2249
+ # Configure API key authorization: clientId
2250
+ config.api_key['clientId'] = 'YOUR API KEY'
2251
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2252
+ # config.api_key_prefix['clientId'] = 'Bearer'
2253
+
2254
+ # Configure API key authorization: clientSecret
2255
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2256
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2257
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2258
+ end
2259
+
2260
+ api_instance = Buildium::LeasesApi.new
2261
+ lease_id = 56 # Integer |
2262
+ rent_id = 56 # Integer |
2263
+
2264
+ begin
2265
+ # Retrieve a rent schedule
2266
+ result = api_instance.get_rent_by_id(lease_id, rent_id)
2267
+ p result
2268
+ rescue Buildium::ApiError => e
2269
+ puts "Error when calling LeasesApi->get_rent_by_id: #{e}"
2270
+ end
2271
+ ```
2272
+
2273
+ #### Using the get_rent_by_id_with_http_info variant
2274
+
2275
+ This returns an Array which contains the response data, status code and headers.
2276
+
2277
+ > <Array(<LeaseRentMessage>, Integer, Hash)> get_rent_by_id_with_http_info(lease_id, rent_id)
2278
+
2279
+ ```ruby
2280
+ begin
2281
+ # Retrieve a rent schedule
2282
+ data, status_code, headers = api_instance.get_rent_by_id_with_http_info(lease_id, rent_id)
2283
+ p status_code # => 2xx
2284
+ p headers # => { ... }
2285
+ p data # => <LeaseRentMessage>
2286
+ rescue Buildium::ApiError => e
2287
+ puts "Error when calling LeasesApi->get_rent_by_id_with_http_info: #{e}"
2288
+ end
2289
+ ```
2290
+
2291
+ ### Parameters
2292
+
2293
+ | Name | Type | Description | Notes |
2294
+ | ---- | ---- | ----------- | ----- |
2295
+ | **lease_id** | **Integer** | | |
2296
+ | **rent_id** | **Integer** | | |
2297
+
2298
+ ### Return type
2299
+
2300
+ [**LeaseRentMessage**](LeaseRentMessage.md)
2301
+
2302
+ ### Authorization
2303
+
2304
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2305
+
2306
+ ### HTTP request headers
2307
+
2308
+ - **Content-Type**: Not defined
2309
+ - **Accept**: application/json
2310
+
2311
+
2312
+ ## lease_renewals_external_api_read_get_all_lease_renewals
2313
+
2314
+ > <Array<LeaseRenewalMessage>> lease_renewals_external_api_read_get_all_lease_renewals(lease_id, opts)
2315
+
2316
+ Retrieve all lease renewals
2317
+
2318
+ Retrieves all lease renewals. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View`
2319
+
2320
+ ### Examples
2321
+
2322
+ ```ruby
2323
+ require 'time'
2324
+ require 'buildium-ruby'
2325
+ # setup authorization
2326
+ Buildium.configure do |config|
2327
+ # Configure API key authorization: clientId
2328
+ config.api_key['clientId'] = 'YOUR API KEY'
2329
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2330
+ # config.api_key_prefix['clientId'] = 'Bearer'
2331
+
2332
+ # Configure API key authorization: clientSecret
2333
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2334
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2335
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2336
+ end
2337
+
2338
+ api_instance = Buildium::LeasesApi.new
2339
+ lease_id = 56 # Integer |
2340
+ opts = {
2341
+ orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
2342
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
2343
+ limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
2344
+ }
2345
+
2346
+ begin
2347
+ # Retrieve all lease renewals
2348
+ result = api_instance.lease_renewals_external_api_read_get_all_lease_renewals(lease_id, opts)
2349
+ p result
2350
+ rescue Buildium::ApiError => e
2351
+ puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_all_lease_renewals: #{e}"
2352
+ end
2353
+ ```
2354
+
2355
+ #### Using the lease_renewals_external_api_read_get_all_lease_renewals_with_http_info variant
2356
+
2357
+ This returns an Array which contains the response data, status code and headers.
2358
+
2359
+ > <Array(<Array<LeaseRenewalMessage>>, Integer, Hash)> lease_renewals_external_api_read_get_all_lease_renewals_with_http_info(lease_id, opts)
2360
+
2361
+ ```ruby
2362
+ begin
2363
+ # Retrieve all lease renewals
2364
+ data, status_code, headers = api_instance.lease_renewals_external_api_read_get_all_lease_renewals_with_http_info(lease_id, opts)
2365
+ p status_code # => 2xx
2366
+ p headers # => { ... }
2367
+ p data # => <Array<LeaseRenewalMessage>>
2368
+ rescue Buildium::ApiError => e
2369
+ puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_all_lease_renewals_with_http_info: #{e}"
2370
+ end
2371
+ ```
2372
+
2373
+ ### Parameters
2374
+
2375
+ | Name | Type | Description | Notes |
2376
+ | ---- | ---- | ----------- | ----- |
2377
+ | **lease_id** | **Integer** | | |
2378
+ | **orderby** | **String** | &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information. | [optional] |
2379
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0. | [optional] |
2380
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50. | [optional] |
2381
+
2382
+ ### Return type
2383
+
2384
+ [**Array&lt;LeaseRenewalMessage&gt;**](LeaseRenewalMessage.md)
2385
+
2386
+ ### Authorization
2387
+
2388
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2389
+
2390
+ ### HTTP request headers
2391
+
2392
+ - **Content-Type**: Not defined
2393
+ - **Accept**: application/json
2394
+
2395
+
2396
+ ## lease_renewals_external_api_read_get_lease_renewal_by_id
2397
+
2398
+ > <LeaseRenewalMessage> lease_renewals_external_api_read_get_lease_renewal_by_id(lease_id, renewal_id)
2399
+
2400
+ Retrieve a lease renewal
2401
+
2402
+ Retrieves a lease renewal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View`
2403
+
2404
+ ### Examples
2405
+
2406
+ ```ruby
2407
+ require 'time'
2408
+ require 'buildium-ruby'
2409
+ # setup authorization
2410
+ Buildium.configure do |config|
2411
+ # Configure API key authorization: clientId
2412
+ config.api_key['clientId'] = 'YOUR API KEY'
2413
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2414
+ # config.api_key_prefix['clientId'] = 'Bearer'
2415
+
2416
+ # Configure API key authorization: clientSecret
2417
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2418
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2419
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2420
+ end
2421
+
2422
+ api_instance = Buildium::LeasesApi.new
2423
+ lease_id = 56 # Integer |
2424
+ renewal_id = 56 # Integer |
2425
+
2426
+ begin
2427
+ # Retrieve a lease renewal
2428
+ result = api_instance.lease_renewals_external_api_read_get_lease_renewal_by_id(lease_id, renewal_id)
2429
+ p result
2430
+ rescue Buildium::ApiError => e
2431
+ puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_lease_renewal_by_id: #{e}"
2432
+ end
2433
+ ```
2434
+
2435
+ #### Using the lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info variant
2436
+
2437
+ This returns an Array which contains the response data, status code and headers.
2438
+
2439
+ > <Array(<LeaseRenewalMessage>, Integer, Hash)> lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info(lease_id, renewal_id)
2440
+
2441
+ ```ruby
2442
+ begin
2443
+ # Retrieve a lease renewal
2444
+ data, status_code, headers = api_instance.lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info(lease_id, renewal_id)
2445
+ p status_code # => 2xx
2446
+ p headers # => { ... }
2447
+ p data # => <LeaseRenewalMessage>
2448
+ rescue Buildium::ApiError => e
2449
+ puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info: #{e}"
2450
+ end
2451
+ ```
2452
+
2453
+ ### Parameters
2454
+
2455
+ | Name | Type | Description | Notes |
2456
+ | ---- | ---- | ----------- | ----- |
2457
+ | **lease_id** | **Integer** | | |
2458
+ | **renewal_id** | **Integer** | | |
2459
+
2460
+ ### Return type
2461
+
2462
+ [**LeaseRenewalMessage**](LeaseRenewalMessage.md)
2463
+
2464
+ ### Authorization
2465
+
2466
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2467
+
2468
+ ### HTTP request headers
2469
+
2470
+ - **Content-Type**: Not defined
2471
+ - **Accept**: application/json
2472
+
2473
+
2474
+ ## lease_renewals_external_api_write_create_lease_renewal
2475
+
2476
+ > <LeaseRenewalMessage> lease_renewals_external_api_write_create_lease_renewal(lease_id, lease_renewal_post_message)
2477
+
2478
+ Create a lease renewal
2479
+
2480
+ Creates a lease renewal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` `Edit`
2481
+
2482
+ ### Examples
2483
+
2484
+ ```ruby
2485
+ require 'time'
2486
+ require 'buildium-ruby'
2487
+ # setup authorization
2488
+ Buildium.configure do |config|
2489
+ # Configure API key authorization: clientId
2490
+ config.api_key['clientId'] = 'YOUR API KEY'
2491
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2492
+ # config.api_key_prefix['clientId'] = 'Bearer'
2493
+
2494
+ # Configure API key authorization: clientSecret
2495
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2496
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2497
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2498
+ end
2499
+
2500
+ api_instance = Buildium::LeasesApi.new
2501
+ lease_id = 56 # Integer |
2502
+ lease_renewal_post_message = Buildium::LeaseRenewalPostMessage.new({lease_type: 'Fixed', rent: Buildium::LeaseRentPostMessage.new({cycle: 'Monthly', charges: [Buildium::LeaseRentChargePostMessage.new({amount: 3.56, gl_account_id: 37, next_due_date: Date.today})]}), send_welcome_email: false}) # LeaseRenewalPostMessage |
2503
+
2504
+ begin
2505
+ # Create a lease renewal
2506
+ result = api_instance.lease_renewals_external_api_write_create_lease_renewal(lease_id, lease_renewal_post_message)
2507
+ p result
2508
+ rescue Buildium::ApiError => e
2509
+ puts "Error when calling LeasesApi->lease_renewals_external_api_write_create_lease_renewal: #{e}"
2510
+ end
2511
+ ```
2512
+
2513
+ #### Using the lease_renewals_external_api_write_create_lease_renewal_with_http_info variant
2514
+
2515
+ This returns an Array which contains the response data, status code and headers.
2516
+
2517
+ > <Array(<LeaseRenewalMessage>, Integer, Hash)> lease_renewals_external_api_write_create_lease_renewal_with_http_info(lease_id, lease_renewal_post_message)
2518
+
2519
+ ```ruby
2520
+ begin
2521
+ # Create a lease renewal
2522
+ data, status_code, headers = api_instance.lease_renewals_external_api_write_create_lease_renewal_with_http_info(lease_id, lease_renewal_post_message)
2523
+ p status_code # => 2xx
2524
+ p headers # => { ... }
2525
+ p data # => <LeaseRenewalMessage>
2526
+ rescue Buildium::ApiError => e
2527
+ puts "Error when calling LeasesApi->lease_renewals_external_api_write_create_lease_renewal_with_http_info: #{e}"
2528
+ end
2529
+ ```
2530
+
2531
+ ### Parameters
2532
+
2533
+ | Name | Type | Description | Notes |
2534
+ | ---- | ---- | ----------- | ----- |
2535
+ | **lease_id** | **Integer** | | |
2536
+ | **lease_renewal_post_message** | [**LeaseRenewalPostMessage**](LeaseRenewalPostMessage.md) | | |
2537
+
2538
+ ### Return type
2539
+
2540
+ [**LeaseRenewalMessage**](LeaseRenewalMessage.md)
2541
+
2542
+ ### Authorization
2543
+
2544
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2545
+
2546
+ ### HTTP request headers
2547
+
2548
+ - **Content-Type**: application/json
2549
+ - **Accept**: application/json
2550
+
2551
+
2552
+ ## undo_tenant_moveout
2553
+
2554
+ > undo_tenant_moveout(lease_id, tenant_id)
2555
+
2556
+ Delete a move out
2557
+
2558
+ Deletes move out data for a tenant on a given lease. <br /><br /><h4>Required Permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals &gt; Tenants</span> - `View`
2559
+
2560
+ ### Examples
2561
+
2562
+ ```ruby
2563
+ require 'time'
2564
+ require 'buildium-ruby'
2565
+ # setup authorization
2566
+ Buildium.configure do |config|
2567
+ # Configure API key authorization: clientId
2568
+ config.api_key['clientId'] = 'YOUR API KEY'
2569
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2570
+ # config.api_key_prefix['clientId'] = 'Bearer'
2571
+
2572
+ # Configure API key authorization: clientSecret
2573
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2574
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2575
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2576
+ end
2577
+
2578
+ api_instance = Buildium::LeasesApi.new
2579
+ lease_id = 56 # Integer |
2580
+ tenant_id = 56 # Integer |
2581
+
2582
+ begin
2583
+ # Delete a move out
2584
+ api_instance.undo_tenant_moveout(lease_id, tenant_id)
2585
+ rescue Buildium::ApiError => e
2586
+ puts "Error when calling LeasesApi->undo_tenant_moveout: #{e}"
2587
+ end
2588
+ ```
2589
+
2590
+ #### Using the undo_tenant_moveout_with_http_info variant
2591
+
2592
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
2593
+
2594
+ > <Array(nil, Integer, Hash)> undo_tenant_moveout_with_http_info(lease_id, tenant_id)
2595
+
2596
+ ```ruby
2597
+ begin
2598
+ # Delete a move out
2599
+ data, status_code, headers = api_instance.undo_tenant_moveout_with_http_info(lease_id, tenant_id)
2600
+ p status_code # => 2xx
2601
+ p headers # => { ... }
2602
+ p data # => nil
2603
+ rescue Buildium::ApiError => e
2604
+ puts "Error when calling LeasesApi->undo_tenant_moveout_with_http_info: #{e}"
2605
+ end
2606
+ ```
2607
+
2608
+ ### Parameters
2609
+
2610
+ | Name | Type | Description | Notes |
2611
+ | ---- | ---- | ----------- | ----- |
2612
+ | **lease_id** | **Integer** | | |
2613
+ | **tenant_id** | **Integer** | | |
2614
+
2615
+ ### Return type
2616
+
2617
+ nil (empty response body)
2618
+
2619
+ ### Authorization
2620
+
2621
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2622
+
2623
+ ### HTTP request headers
2624
+
2625
+ - **Content-Type**: Not defined
2626
+ - **Accept**: application/json
2627
+
2628
+
2629
+ ## update_lease
2630
+
2631
+ > <LeaseMessage> update_lease(lease_id, lease_put_message)
2632
+
2633
+ Update a lease
2634
+
2635
+ Update a signed lease. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` `Edit`
2636
+
2637
+ ### Examples
2638
+
2639
+ ```ruby
2640
+ require 'time'
2641
+ require 'buildium-ruby'
2642
+ # setup authorization
2643
+ Buildium.configure do |config|
2644
+ # Configure API key authorization: clientId
2645
+ config.api_key['clientId'] = 'YOUR API KEY'
2646
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2647
+ # config.api_key_prefix['clientId'] = 'Bearer'
2648
+
2649
+ # Configure API key authorization: clientSecret
2650
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2651
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2652
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2653
+ end
2654
+
2655
+ api_instance = Buildium::LeasesApi.new
2656
+ lease_id = 56 # Integer |
2657
+ lease_put_message = Buildium::LeasePutMessage.new({lease_type: 'Fixed', unit_id: 37, lease_from_date: Date.today, is_eviction_pending: false}) # LeasePutMessage |
2658
+
2659
+ begin
2660
+ # Update a lease
2661
+ result = api_instance.update_lease(lease_id, lease_put_message)
2662
+ p result
2663
+ rescue Buildium::ApiError => e
2664
+ puts "Error when calling LeasesApi->update_lease: #{e}"
2665
+ end
2666
+ ```
2667
+
2668
+ #### Using the update_lease_with_http_info variant
2669
+
2670
+ This returns an Array which contains the response data, status code and headers.
2671
+
2672
+ > <Array(<LeaseMessage>, Integer, Hash)> update_lease_with_http_info(lease_id, lease_put_message)
2673
+
2674
+ ```ruby
2675
+ begin
2676
+ # Update a lease
2677
+ data, status_code, headers = api_instance.update_lease_with_http_info(lease_id, lease_put_message)
2678
+ p status_code # => 2xx
2679
+ p headers # => { ... }
2680
+ p data # => <LeaseMessage>
2681
+ rescue Buildium::ApiError => e
2682
+ puts "Error when calling LeasesApi->update_lease_with_http_info: #{e}"
2683
+ end
2684
+ ```
2685
+
2686
+ ### Parameters
2687
+
2688
+ | Name | Type | Description | Notes |
2689
+ | ---- | ---- | ----------- | ----- |
2690
+ | **lease_id** | **Integer** | | |
2691
+ | **lease_put_message** | [**LeasePutMessage**](LeasePutMessage.md) | | |
2692
+
2693
+ ### Return type
2694
+
2695
+ [**LeaseMessage**](LeaseMessage.md)
2696
+
2697
+ ### Authorization
2698
+
2699
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2700
+
2701
+ ### HTTP request headers
2702
+
2703
+ - **Content-Type**: application/json
2704
+ - **Accept**: application/json
2705
+
2706
+
2707
+ ## update_lease_charge
2708
+
2709
+ > <LeaseTransactionMessage> update_lease_charge(lease_id, charge_id, lease_charge_put_message)
2710
+
2711
+ Update a charge
2712
+
2713
+ Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
2714
+
2715
+ ### Examples
2716
+
2717
+ ```ruby
2718
+ require 'time'
2719
+ require 'buildium-ruby'
2720
+ # setup authorization
2721
+ Buildium.configure do |config|
2722
+ # Configure API key authorization: clientId
2723
+ config.api_key['clientId'] = 'YOUR API KEY'
2724
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2725
+ # config.api_key_prefix['clientId'] = 'Bearer'
2726
+
2727
+ # Configure API key authorization: clientSecret
2728
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2729
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2730
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2731
+ end
2732
+
2733
+ api_instance = Buildium::LeasesApi.new
2734
+ lease_id = 56 # Integer |
2735
+ charge_id = 56 # Integer |
2736
+ lease_charge_put_message = Buildium::LeaseChargePutMessage.new({date: Date.today, lines: [Buildium::LeaseChargeLineSaveMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseChargePutMessage |
2737
+
2738
+ begin
2739
+ # Update a charge
2740
+ result = api_instance.update_lease_charge(lease_id, charge_id, lease_charge_put_message)
2741
+ p result
2742
+ rescue Buildium::ApiError => e
2743
+ puts "Error when calling LeasesApi->update_lease_charge: #{e}"
2744
+ end
2745
+ ```
2746
+
2747
+ #### Using the update_lease_charge_with_http_info variant
2748
+
2749
+ This returns an Array which contains the response data, status code and headers.
2750
+
2751
+ > <Array(<LeaseTransactionMessage>, Integer, Hash)> update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message)
2752
+
2753
+ ```ruby
2754
+ begin
2755
+ # Update a charge
2756
+ data, status_code, headers = api_instance.update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message)
2757
+ p status_code # => 2xx
2758
+ p headers # => { ... }
2759
+ p data # => <LeaseTransactionMessage>
2760
+ rescue Buildium::ApiError => e
2761
+ puts "Error when calling LeasesApi->update_lease_charge_with_http_info: #{e}"
2762
+ end
2763
+ ```
2764
+
2765
+ ### Parameters
2766
+
2767
+ | Name | Type | Description | Notes |
2768
+ | ---- | ---- | ----------- | ----- |
2769
+ | **lease_id** | **Integer** | | |
2770
+ | **charge_id** | **Integer** | | |
2771
+ | **lease_charge_put_message** | [**LeaseChargePutMessage**](LeaseChargePutMessage.md) | | |
2772
+
2773
+ ### Return type
2774
+
2775
+ [**LeaseTransactionMessage**](LeaseTransactionMessage.md)
2776
+
2777
+ ### Authorization
2778
+
2779
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2780
+
2781
+ ### HTTP request headers
2782
+
2783
+ - **Content-Type**: application/json
2784
+ - **Accept**: application/json
2785
+
2786
+
2787
+ ## update_lease_note
2788
+
2789
+ > <NoteMessage> update_lease_note(lease_id, note_id, note_put_message)
2790
+
2791
+ Update a note
2792
+
2793
+ Updates a lease note. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Leases</span> - `View` `Edit`
2794
+
2795
+ ### Examples
2796
+
2797
+ ```ruby
2798
+ require 'time'
2799
+ require 'buildium-ruby'
2800
+ # setup authorization
2801
+ Buildium.configure do |config|
2802
+ # Configure API key authorization: clientId
2803
+ config.api_key['clientId'] = 'YOUR API KEY'
2804
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2805
+ # config.api_key_prefix['clientId'] = 'Bearer'
2806
+
2807
+ # Configure API key authorization: clientSecret
2808
+ config.api_key['clientSecret'] = 'YOUR API KEY'
2809
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2810
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
2811
+ end
2812
+
2813
+ api_instance = Buildium::LeasesApi.new
2814
+ lease_id = 56 # Integer |
2815
+ note_id = 56 # Integer |
2816
+ note_put_message = Buildium::NotePutMessage.new({note: 'note_example'}) # NotePutMessage |
2817
+
2818
+ begin
2819
+ # Update a note
2820
+ result = api_instance.update_lease_note(lease_id, note_id, note_put_message)
2821
+ p result
2822
+ rescue Buildium::ApiError => e
2823
+ puts "Error when calling LeasesApi->update_lease_note: #{e}"
2824
+ end
2825
+ ```
2826
+
2827
+ #### Using the update_lease_note_with_http_info variant
2828
+
2829
+ This returns an Array which contains the response data, status code and headers.
2830
+
2831
+ > <Array(<NoteMessage>, Integer, Hash)> update_lease_note_with_http_info(lease_id, note_id, note_put_message)
2832
+
2833
+ ```ruby
2834
+ begin
2835
+ # Update a note
2836
+ data, status_code, headers = api_instance.update_lease_note_with_http_info(lease_id, note_id, note_put_message)
2837
+ p status_code # => 2xx
2838
+ p headers # => { ... }
2839
+ p data # => <NoteMessage>
2840
+ rescue Buildium::ApiError => e
2841
+ puts "Error when calling LeasesApi->update_lease_note_with_http_info: #{e}"
2842
+ end
2843
+ ```
2844
+
2845
+ ### Parameters
2846
+
2847
+ | Name | Type | Description | Notes |
2848
+ | ---- | ---- | ----------- | ----- |
2849
+ | **lease_id** | **Integer** | | |
2850
+ | **note_id** | **Integer** | | |
2851
+ | **note_put_message** | [**NotePutMessage**](NotePutMessage.md) | | |
2852
+
2853
+ ### Return type
2854
+
2855
+ [**NoteMessage**](NoteMessage.md)
2856
+
2857
+ ### Authorization
2858
+
2859
+ [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
2860
+
2861
+ ### HTTP request headers
2862
+
2863
+ - **Content-Type**: application/json
2864
+ - **Accept**: application/json
2865
+