buildium-ruby 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +26 -0
- data/.openapi-generator/FILES +732 -116
- data/.travis.yml +14 -0
- data/DOCS.md +157 -157
- data/Dockerfile +34 -0
- data/Gemfile.lock +2 -2
- data/README.md +1404 -79
- data/bin/config.yml +1 -1
- data/bin/rebuild.sh +1 -0
- data/bin/swagger.json +14128 -10005
- data/docker-compose.yml +19 -0
- data/docs/AccountInfoMessage.md +2 -2
- data/docs/AccountInfoMessageAccountingSettings.md +28 -0
- data/docs/AccountInfoMessageContact.md +24 -0
- data/docs/AccountingEntityMessage.md +1 -1
- data/docs/AccountingEntityMessageUnit.md +20 -0
- data/docs/AccountingEntityPatchMessage.md +22 -0
- data/docs/AccountingLockPeriodMessage.md +1 -1
- data/docs/AccountingLockPeriodMessageGlobal.md +18 -0
- data/docs/AdministrationApi.md +157 -6
- data/docs/AllTasksMessage.md +4 -4
- data/docs/AllTasksMessageCategory.md +24 -0
- data/docs/AllTasksMessageProperty.md +22 -0
- data/docs/AllTasksMessageRequestedByUserEntity.md +28 -0
- data/docs/AllTasksMessageUnitAgreement.md +22 -0
- data/docs/AnnouncementMessage.md +1 -1
- data/docs/AnnouncementMessageSender.md +22 -0
- data/docs/AppliancesApi.md +26 -26
- data/docs/ApplicantMessage.md +3 -1
- data/docs/ApplicantPostMessage.md +1 -1
- data/docs/ApplicantPostMessagePhoneNumbers.md +24 -0
- data/docs/ApplicantPutMessage.md +1 -1
- data/docs/ApplicantPutMessagePhoneNumbers.md +24 -0
- data/docs/ApplicantsApi.md +70 -66
- data/docs/ArchitecturalRequestsApi.md +590 -0
- data/docs/ArchitecturalRequestsPostMessage.md +28 -0
- data/docs/AssociationArchitecturalRequestFileMessage.md +28 -0
- data/docs/AssociationArchitecturalRequestMessage.md +38 -0
- data/docs/AssociationArchitecturalRequestMessageCreatedByUser.md +24 -0
- data/docs/AssociationArchitecturalRequestMessageLastUpdatedByUser.md +26 -0
- data/docs/AssociationMessage.md +3 -3
- data/docs/AssociationMessageAddress.md +30 -0
- data/docs/AssociationMessageAssociationManager.md +32 -0
- data/docs/AssociationMessageTaxInformation.md +26 -0
- data/docs/AssociationMeterReadingsApi.md +10 -10
- data/docs/AssociationOwnerMessage.md +3 -3
- data/docs/AssociationOwnerMessageAlternateAddress.md +30 -0
- data/docs/AssociationOwnerMessageEmergencyContact.md +24 -0
- data/docs/AssociationOwnerMessagePrimaryAddress.md +30 -0
- data/docs/AssociationOwnerPostMessage.md +5 -5
- data/docs/AssociationOwnerPostMessageAlternateAddress.md +30 -0
- data/docs/AssociationOwnerPostMessageBoardMemberTerm.md +22 -0
- data/docs/AssociationOwnerPostMessageEmergencyContact.md +24 -0
- data/docs/AssociationOwnerPostMessagePhoneNumbers.md +24 -0
- data/docs/AssociationOwnerPostMessagePrimaryAddress.md +30 -0
- data/docs/AssociationOwnerPutMessage.md +4 -4
- data/docs/AssociationOwnerPutMessagePhoneNumbers.md +24 -0
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessage.md +5 -5
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessageEmergencyContact.md +24 -0
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessagePhoneNumbers.md +24 -0
- data/docs/AssociationOwnersApi.md +41 -41
- data/docs/AssociationPostMessage.md +2 -2
- data/docs/AssociationPostMessageAddress.md +30 -0
- data/docs/AssociationPostMessageTaxInformation.md +26 -0
- data/docs/AssociationPutMessage.md +1 -1
- data/docs/AssociationTaxInformationMessage.md +1 -1
- data/docs/AssociationTaxInformationMessageAddress.md +30 -0
- data/docs/AssociationTenantMessage.md +3 -3
- data/docs/AssociationTenantPostMessage.md +4 -4
- data/docs/AssociationTenantPostMessageAlternateAddress.md +30 -0
- data/docs/AssociationTenantPostMessageEmergencyContact.md +24 -0
- data/docs/AssociationTenantPostMessagePhoneNumbers.md +24 -0
- data/docs/AssociationTenantPostMessagePrimaryAddress.md +30 -0
- data/docs/AssociationTenantPutMessage.md +4 -4
- data/docs/AssociationTenantPutMessagePhoneNumbers.md +24 -0
- data/docs/AssociationTenantsApi.md +32 -32
- data/docs/AssociationUnitMessage.md +1 -1
- data/docs/AssociationUnitMessageAddress.md +30 -0
- data/docs/AssociationUnitPutMessage.md +1 -1
- data/docs/AssociationUnitPutMessageAddress.md +30 -0
- data/docs/AssociationUnitsApi.md +32 -32
- data/docs/AssociationUnitsPostMessage.md +1 -1
- data/docs/AssociationsApi.md +51 -51
- data/docs/BankAccountCheckLineMessage.md +1 -1
- data/docs/BankAccountCheckLineMessageAccountingEntity.md +24 -0
- data/docs/BankAccountCheckLineSaveMessage.md +1 -1
- data/docs/BankAccountCheckLineSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountCheckMessage.md +1 -1
- data/docs/BankAccountCheckMessagePayee.md +22 -0
- data/docs/BankAccountCheckPostMessage.md +1 -1
- data/docs/BankAccountCheckPostMessagePayee.md +20 -0
- data/docs/BankAccountCheckPutMessage.md +1 -1
- data/docs/BankAccountDepositLineMessage.md +1 -1
- data/docs/BankAccountDepositLineMessageAccountingEntity.md +24 -0
- data/docs/BankAccountDepositLineSaveMessage.md +1 -1
- data/docs/BankAccountDepositLineSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountMessage.md +3 -3
- data/docs/BankAccountMessageCheckPrintingInfo.md +46 -0
- data/docs/BankAccountMessageElectronicPayments.md +32 -0
- data/docs/BankAccountMessageGLAccount.md +46 -0
- data/docs/BankAccountPostMessage.md +1 -1
- data/docs/BankAccountPostMessageCheckPrintingInfo.md +46 -0
- data/docs/BankAccountPutMessage.md +1 -1
- data/docs/BankAccountPutMessageCheckPrintingInfo.md +46 -0
- data/docs/BankAccountQuickDepositMessage.md +1 -1
- data/docs/BankAccountQuickDepositMessageAccountingEntity.md +24 -0
- data/docs/BankAccountQuickDepositSaveMessage.md +1 -1
- data/docs/BankAccountQuickDepositSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountReconciliationBalanceMessage.md +22 -0
- data/docs/BankAccountReconciliationBalanceMessageClearedBalance.md +24 -0
- data/docs/BankAccountReconciliationBalanceMessageStatementBalance.md +24 -0
- data/docs/BankAccountReconciliationBalancePutMessage.md +22 -0
- data/docs/BankAccountReconciliationMessage.md +22 -0
- data/docs/BankAccountReconciliationTransactionMessage.md +34 -0
- data/docs/BankAccountTransferMessage.md +1 -1
- data/docs/BankAccountTransferMessageAccountingEntity.md +24 -0
- data/docs/BankAccountTransferSaveMessage.md +1 -1
- data/docs/BankAccountTransferSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountWithdrawalMessage.md +1 -1
- data/docs/BankAccountWithdrawalMessageAccountingEntity.md +24 -0
- data/docs/BankAccountWithdrawalSaveMessage.md +1 -1
- data/docs/BankAccountWithdrawalSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountsApi.md +964 -155
- data/docs/BankLockboxDataAssociationOwnerMessage.md +7 -1
- data/docs/BankLockboxDataMessage.md +1 -1
- data/docs/BankLockboxDataMessageAssociation.md +22 -0
- data/docs/BankLockboxDataOwnershipAccountMessage.md +1 -1
- data/docs/BankLockboxDataOwnershipAccountMessageUnitAddress.md +30 -0
- data/docs/BankPendingReconciliationPostMessage.md +24 -0
- data/docs/BankReconciliationClearTransactionsPostMessage.md +18 -0
- data/docs/BankReconciliationClearedBalanceMessage.md +24 -0
- data/docs/BankReconciliationPutMessage.md +18 -0
- data/docs/BankReconciliationStatementBalanceMessage.md +24 -0
- data/docs/BankReconciliationUnclearTransactionsPostMessage.md +18 -0
- data/docs/BillLineItemPatchMessage.md +28 -0
- data/docs/BillLineItemPatchMessageAccountingEntity.md +22 -0
- data/docs/BillLineItemPatchMessageMarkup.md +20 -0
- data/docs/BillLineMessage.md +3 -3
- data/docs/BillLineMessageAccountingEntity.md +24 -0
- data/docs/BillLineMessageGLAccount.md +46 -0
- data/docs/BillLineMessageMarkup.md +20 -0
- data/docs/BillLinePostMessage.md +2 -2
- data/docs/BillLinePostMessageAccountingEntity.md +22 -0
- data/docs/BillLinePostMessageMarkup.md +20 -0
- data/docs/BillLinePutMessage.md +2 -2
- data/docs/BillMarkupPatchMessage.md +20 -0
- data/docs/BillPatchMessage.md +28 -0
- data/docs/BillPaymentLineMessage.md +1 -1
- data/docs/BillPaymentLineMessageAccountingEntity.md +22 -0
- data/docs/BillsApi.md +143 -64
- data/docs/BoardMembersApi.md +17 -17
- data/docs/BudgetDetailsMessage.md +1 -1
- data/docs/BudgetDetailsMessageMonthlyAmounts.md +40 -0
- data/docs/BudgetDetailsSaveMessage.md +1 -1
- data/docs/BudgetDetailsSaveMessageMonthlyAmounts.md +40 -0
- data/docs/BudgetMessage.md +1 -1
- data/docs/BudgetMessageProperty.md +22 -0
- data/docs/BudgetsApi.md +21 -21
- data/docs/ClearTransactionsRequest.md +18 -0
- data/docs/ClientLeadMessage.md +2 -2
- data/docs/ClientLeadMessageAddress.md +30 -0
- data/docs/ClientLeadMessageCreditRequest.md +24 -0
- data/docs/ClientLeadsApi.md +2 -2
- data/docs/CommunicationsApi.md +39 -39
- data/docs/ContactDetailMessage.md +1 -1
- data/docs/ContactDetailMessagePhoneNumbers.md +22 -0
- data/docs/ContactDetailSaveMessage.md +1 -1
- data/docs/ContactDetailSaveMessagePhoneNumbers.md +22 -0
- data/docs/ContactInfoMessage.md +1 -1
- data/docs/ContactInfoMessageAddress.md +30 -0
- data/docs/ContactRequestTaskMessage.md +3 -3
- data/docs/ContactRequestTaskMessageCategory.md +24 -0
- data/docs/ContactRequestTaskMessageContactDetail.md +24 -0
- data/docs/ContactRequestTaskMessageProperty.md +22 -0
- data/docs/ContactRequestTaskPostMessage.md +1 -1
- data/docs/ContactRequestTaskPostMessageContactDetail.md +24 -0
- data/docs/ContactRequestTaskPutMessage.md +1 -1
- data/docs/ContactRequestTaskPutMessageContactDetail.md +24 -0
- data/docs/ContactRequestsApi.md +16 -16
- data/docs/CosignerMessage.md +2 -2
- data/docs/CosignerMessageAddress.md +30 -0
- data/docs/CosignerMessageAlternateAddress.md +30 -0
- data/docs/CreateAnnouncementRequest.md +28 -0
- data/docs/CreateApplicantGroupRequest.md +20 -0
- data/docs/CreateApplicantRequest.md +28 -0
- data/docs/CreateArchitecturalRequestAsyncRequest.md +28 -0
- data/docs/CreateAssociationApplianceRequest.md +32 -0
- data/docs/CreateAssociationApplianceServiceHistoryRequest.md +22 -0
- data/docs/CreateAssociationOwnerRequest.md +48 -0
- data/docs/CreateAssociationOwnershipAccountRequest.md +32 -0
- data/docs/CreateAssociationRequest.md +34 -0
- data/docs/CreateAssociationTenantRequest.md +42 -0
- data/docs/CreateAssociationUnitRequest.md +28 -0
- data/docs/CreateBankAccountCheckRequest.md +26 -0
- data/docs/CreateBankAccountDepositRequest.md +24 -0
- data/docs/CreateBankAccountRequest.md +30 -0
- data/docs/CreateBankAccountTransferRequest.md +26 -0
- data/docs/CreateBillPaymentRequest.md +26 -0
- data/docs/CreateBillRequest.md +30 -0
- data/docs/CreateBoardMemberRequest.md +24 -0
- data/docs/CreateBudgetAsyncRequest.md +26 -0
- data/docs/CreateContactRequestTaskRequest.md +38 -0
- data/docs/CreateEmailRequest.md +30 -0
- data/docs/CreateFileCategoryRequest.md +18 -0
- data/docs/CreateGeneralJournalEntryRequest.md +24 -0
- data/docs/CreateGeneralLedgerAccountRequest.md +32 -0
- data/docs/CreateLeaseAutoAllocatedPaymentRequest.md +30 -0
- data/docs/CreateLeaseCreditRequest.md +26 -0
- data/docs/CreateLeaseLedgerChargeRequest.md +24 -0
- data/docs/CreateLeaseLedgerDepositWithholdingRequest.md +24 -0
- data/docs/CreateLeaseLedgerRefundRequest.md +30 -0
- data/docs/CreateLeaseNoteRequest.md +18 -0
- data/docs/CreateLeaseRenewalRequest.md +38 -0
- data/docs/CreateLeaseRequest.md +42 -0
- data/docs/CreateLeaseReversePaymentRequest.md +24 -0
- data/docs/CreateListingContactRequest.md +24 -0
- data/docs/CreateMoveOutDataRequest.md +22 -0
- data/docs/CreateMultipleBillPaymentsRequest.md +26 -0
- data/docs/CreateOwnershipAccountAutoAllocatedPaymentRequest.md +30 -0
- data/docs/CreateOwnershipAccountCreditRecurringTransactionRequest.md +36 -0
- data/docs/CreateOwnershipAccountCreditRequest.md +26 -0
- data/docs/CreateOwnershipAccountDepositWithholdingRequest.md +24 -0
- data/docs/CreateOwnershipAccountLedgerChargeRequest.md +24 -0
- data/docs/CreateOwnershipAccountLedgerPaymentRequest.md +30 -0
- data/docs/CreateOwnershipAccountRecurringPaymentRequest.md +34 -0
- data/docs/CreateOwnershipAccountRefundRequest.md +30 -0
- data/docs/CreateOwnershipAccountsChargeRecurringTransactionRequest.md +32 -0
- data/docs/CreatePaymentRequest.md +30 -0
- data/docs/CreatePendingReconciliationsRequest.md +24 -0
- data/docs/CreatePhoneLogRequest.md +24 -0
- data/docs/CreatePropertyGroupRequest.md +22 -0
- data/docs/CreateQuickDepositRequest.md +26 -0
- data/docs/CreateRentScheduleRequest.md +24 -0
- data/docs/CreateRentalApplianceRequest.md +32 -0
- data/docs/CreateRentalApplianceServiceHistoryRequest.md +22 -0
- data/docs/CreateRentalImageUploadFileRequestAsyncRequest.md +22 -0
- data/docs/CreateRentalOwnerRequest.md +44 -0
- data/docs/CreateRentalOwnerRequestTaskRequest.md +38 -0
- data/docs/CreateRentalPropertyRequest.md +36 -0
- data/docs/CreateRentalTenantRequest.md +42 -0
- data/docs/CreateRentalUnitRequest.md +32 -0
- data/docs/CreateResourceRequest.md +46 -0
- data/docs/CreateTaskCategoryRequest.md +18 -0
- data/docs/CreateToDoTaskRequest.md +36 -0
- data/docs/CreateUploadFileRequestAsyncRequest.md +28 -0
- data/docs/CreateUploadFileRequestRequest.md +18 -0
- data/docs/CreateVendorCategoryRequest.md +18 -0
- data/docs/CreateVendorCreditRequest.md +24 -0
- data/docs/CreateVendorRefundRequest.md +28 -0
- data/docs/CreateVendorRequest.md +46 -0
- data/docs/CreateVideoLinkRequestRequest.md +20 -0
- data/docs/CreateWithdrawalForBankAccountRequest.md +26 -0
- data/docs/CreateWorkOrderRequest.md +40 -0
- data/docs/EPaySettingsMessage.md +3 -3
- data/docs/EPaySettingsMessageCreditCardPayments.md +18 -0
- data/docs/EPaySettingsMessageEFTPayments.md +18 -0
- data/docs/EPaySettingsMessageOfflinePayments.md +22 -0
- data/docs/EPaySettingsPutMessage.md +3 -3
- data/docs/EPaySettingsPutMessageCreditCardPayments.md +18 -0
- data/docs/EPaySettingsPutMessageEFTPayments.md +18 -0
- data/docs/EPaySettingsPutMessageOfflinePayments.md +22 -0
- data/docs/EmailMessage.md +1 -1
- data/docs/EmailMessageSender.md +24 -0
- data/docs/EmailPostMessage.md +1 -1
- data/docs/FileMessage.md +1 -1
- data/docs/FileMessageFileEntity.md +22 -0
- data/docs/FileSharingMessage.md +12 -12
- data/docs/FileSharingMessageAccount.md +26 -0
- data/docs/FileSharingMessageAssociation.md +20 -0
- data/docs/FileSharingMessageAssociationOwner.md +18 -0
- data/docs/FileSharingMessageAssociationUnit.md +20 -0
- data/docs/FileSharingMessageCommittee.md +22 -0
- data/docs/FileSharingMessageLease.md +20 -0
- data/docs/FileSharingMessageOwnershipAccount.md +20 -0
- data/docs/FileSharingMessageRental.md +20 -0
- data/docs/FileSharingMessageRentalOwner.md +18 -0
- data/docs/FileSharingMessageRentalUnit.md +20 -0
- data/docs/FileSharingMessageTenant.md +20 -0
- data/docs/FileSharingMessageVendor.md +18 -0
- data/docs/FileSharingPutMessage.md +12 -12
- data/docs/FileSharingPutMessageAccount.md +26 -0
- data/docs/FileSharingPutMessageAssociation.md +20 -0
- data/docs/FileSharingPutMessageAssociationOwner.md +18 -0
- data/docs/FileSharingPutMessageAssociationUnit.md +20 -0
- data/docs/FileSharingPutMessageCommittee.md +22 -0
- data/docs/FileSharingPutMessageLease.md +20 -0
- data/docs/FileSharingPutMessageOwnershipAccount.md +20 -0
- data/docs/FileSharingPutMessageRental.md +20 -0
- data/docs/FileSharingPutMessageRentalOwner.md +18 -0
- data/docs/FileSharingPutMessageRentalUnit.md +20 -0
- data/docs/FileSharingPutMessageTenant.md +20 -0
- data/docs/FileSharingPutMessageVendor.md +18 -0
- data/docs/FilesApi.md +41 -41
- data/docs/GLAccountBalanceItemMessage.md +1 -1
- data/docs/GLAccountBalanceItemMessageAccountingEntity.md +24 -0
- data/docs/GLAccountBalanceMessage.md +1 -1
- data/docs/GLAccountBalanceMessageGLAccount.md +46 -0
- data/docs/GeneralJournalEntryPostMessage.md +1 -1
- data/docs/GeneralJournalEntryPostMessageAccountingEntity.md +22 -0
- data/docs/GeneralJournalEntryPutMessage.md +1 -1
- data/docs/GeneralLedgerApi.md +42 -34
- data/docs/GeneralLedgerEntryMessage.md +1 -1
- data/docs/GeneralLedgerEntryMessageAccountingEntity.md +24 -0
- data/docs/GeneralLedgerJournalLineMessage.md +2 -2
- data/docs/GeneralLedgerJournalLineMessageAccountingEntity.md +24 -0
- data/docs/GeneralLedgerJournalLineMessageGLAccount.md +46 -0
- data/docs/GeneralLedgerTransactionMessage.md +7 -5
- data/docs/GeneralLedgerTransactionMessageDepositDetails.md +20 -0
- data/docs/GeneralLedgerTransactionMessageJournal.md +20 -0
- data/docs/GeneralLedgerTransactionMessagePaymentDetail.md +24 -0
- data/docs/GeneralLedgerTransactionMessageUnitAgreement.md +22 -0
- data/docs/JavaScriptEncoder.md +18 -0
- data/docs/JournalLineMessage.md +1 -1
- data/docs/LeaseChargeLineMessage.md +20 -0
- data/docs/LeaseChargeMessage.md +28 -0
- data/docs/LeaseChargePostMessage.md +2 -0
- data/docs/LeaseCosignerPostMessage.md +3 -3
- data/docs/LeaseCosignerPostMessageAddress.md +30 -0
- data/docs/LeaseCosignerPostMessageAlternateAddress.md +30 -0
- data/docs/LeaseCosignerPostMessagePhoneNumbers.md +24 -0
- data/docs/LeaseLedgerDepositWithholdingLinePutMessage.md +20 -0
- data/docs/LeaseLedgerDepositWithholdingPutMessage.md +24 -0
- data/docs/LeaseLedgerRefundMessage.md +1 -1
- data/docs/LeaseLedgerRefundMessageAddress.md +30 -0
- data/docs/LeaseLedgerRefundPostMessage.md +1 -1
- data/docs/LeaseLedgerRefundPostMessageAddress.md +30 -0
- data/docs/LeaseLedgerReversePaymentPostMessage.md +2 -2
- data/docs/LeaseLedgerReversePaymentPostMessageBankFee.md +20 -0
- data/docs/LeaseLedgerReversePaymentPostMessageNSFCharge.md +20 -0
- data/docs/LeaseMessage.md +1 -1
- data/docs/LeaseMessageAccountDetails.md +20 -0
- data/docs/LeasePostMessage.md +2 -2
- data/docs/LeasePostMessageRent.md +20 -0
- data/docs/LeasePostMessageSecurityDeposit.md +20 -0
- data/docs/LeaseRecurringPaymentMessage.md +1 -1
- data/docs/LeaseRecurringPaymentMessagePayer.md +24 -0
- data/docs/LeaseRenewalPostMessage.md +1 -1
- data/docs/LeaseRenewalPostMessageRent.md +20 -0
- data/docs/LeaseTransactionMessage.md +1 -1
- data/docs/LeaseTransactionMessageJournal.md +20 -0
- data/docs/LeaseTransactionsApi.md +343 -92
- data/docs/LeasesApi.md +380 -64
- data/docs/ListingMessage.md +3 -3
- data/docs/ListingMessageContact.md +26 -0
- data/docs/ListingMessageProperty.md +34 -0
- data/docs/ListingMessageUnit.md +36 -0
- data/docs/ListingPropertyMessage.md +1 -1
- data/docs/ListingPropertyMessageAddress.md +30 -0
- data/docs/ListingUnitMessage.md +1 -1
- data/docs/ListingUnitMessageAddress.md +30 -0
- data/docs/ListingsApi.md +26 -26
- data/docs/LockPeriodSettingsOverridesMessage.md +1 -1
- data/docs/LockPeriodSettingsOverridesMessageProperty.md +22 -0
- data/docs/NoteMessage.md +1 -1
- data/docs/NoteMessageLastUpdatedByUser.md +26 -0
- data/docs/OwnershipAccountDepositWithholdingLinePutMessage.md +20 -0
- data/docs/OwnershipAccountDepositWithholdingPostMessage.md +2 -2
- data/docs/OwnershipAccountDepositWithholdingPutMessage.md +24 -0
- data/docs/OwnershipAccountLedgerChargeLineMessage.md +20 -0
- data/docs/OwnershipAccountLedgerChargeMessage.md +28 -0
- data/docs/OwnershipAccountLedgerChargePostMessage.md +2 -0
- data/docs/OwnershipAccountRecurringPaymentMessage.md +1 -1
- data/docs/OwnershipAccountRefundMessage.md +1 -1
- data/docs/OwnershipAccountRefundPostMessage.md +1 -1
- data/docs/OwnershipAccountTransactionMessage.md +1 -1
- data/docs/OwnershipAccountTransactionsApi.md +336 -85
- data/docs/OwnershipAccountsApi.md +188 -32
- data/docs/PaidByMessage.md +1 -1
- data/docs/PartialPaymentSettingsMessage.md +18 -0
- data/docs/PartialPaymentSettingsPatchMessage.md +18 -0
- data/docs/ParticipantMessage.md +1 -1
- data/docs/ParticipantMessageUnitAgreement.md +22 -0
- data/docs/PatchBillRequest.md +28 -0
- data/docs/PatchGlobalPartialPaymentSettingsRequest.md +18 -0
- data/docs/PaymentDetailMessage.md +2 -2
- data/docs/PaymentDetailMessageInternalTransactionStatus.md +22 -0
- data/docs/PaymentDetailMessagePayee.md +24 -0
- data/docs/PaymentTransactionsMessage.md +1 -1
- data/docs/PaymentTransactionsMessageAccountingEntity.md +24 -0
- data/docs/PhoneLogMessage.md +2 -2
- data/docs/PhoneLogMessageLoggedByStaffUser.md +24 -0
- data/docs/PhoneLogMessageParticipant.md +22 -0
- data/docs/PhoneLogParticipantPostMessage.md +1 -1
- data/docs/PhoneLogParticipantPostMessageUnitAgreement.md +20 -0
- data/docs/PhoneLogPostMessage.md +1 -1
- data/docs/PhoneLogPostMessageParticipant.md +22 -0
- data/docs/PropertyGroupMessage.md +1 -1
- data/docs/PropertyGroupMessageCreatedByUser.md +24 -0
- data/docs/PropertyGroupsApi.md +16 -16
- data/docs/RecurringTransactionMessage.md +2 -0
- data/docs/RentScheduleChargePostMessage.md +26 -0
- data/docs/RentScheduleChargePutMessage.md +26 -0
- data/docs/RentSchedulePostMessage.md +24 -0
- data/docs/RentSchedulePutMessage.md +22 -0
- data/docs/RentalAppliancesApi.md +26 -26
- data/docs/RentalMessage.md +2 -2
- data/docs/RentalMessageRentalManager.md +32 -0
- data/docs/RentalMeterReadingsApi.md +10 -10
- data/docs/RentalOwnerContributionDataMessage.md +1 -1
- data/docs/RentalOwnerContributionDataMessageReminderSettings.md +20 -0
- data/docs/RentalOwnerContributionDataPutMessage.md +1 -1
- data/docs/RentalOwnerContributionDataPutMessageReminderSettings.md +20 -0
- data/docs/RentalOwnerMessage.md +2 -2
- data/docs/RentalOwnerMessageAddress.md +30 -0
- data/docs/RentalOwnerMessageTaxInformation.md +28 -0
- data/docs/RentalOwnerPostMessage.md +3 -3
- data/docs/RentalOwnerPostMessageAddress.md +30 -0
- data/docs/RentalOwnerPostMessagePhoneNumbers.md +24 -0
- data/docs/RentalOwnerPostMessageTaxInformation.md +26 -0
- data/docs/RentalOwnerPutMessage.md +2 -2
- data/docs/RentalOwnerRequestTaskMessage.md +3 -3
- data/docs/RentalOwnerRequestTaskMessageRequestedByUserEntity.md +28 -0
- data/docs/RentalOwnerRequestsApi.md +25 -31
- data/docs/RentalOwnerTaxInformationMessage.md +1 -1
- data/docs/RentalOwnersApi.md +32 -32
- data/docs/RentalPropertiesApi.md +412 -90
- data/docs/RentalPropertyPostMessage.md +1 -1
- data/docs/RentalPropertyPostMessageAddress.md +30 -0
- data/docs/RentalPropertyPutMessage.md +1 -1
- data/docs/RentalPropertyPutMessageAddress.md +30 -0
- data/docs/RentalPropertyUnitPostMessage.md +1 -1
- data/docs/RentalPropertyUnitPostMessageAddress.md +30 -0
- data/docs/RentalTenantPostMessage.md +4 -4
- data/docs/RentalTenantPutMessage.md +4 -4
- data/docs/RentalTenantRenewalPostMessage.md +4 -4
- data/docs/RentalTenantsApi.md +34 -32
- data/docs/RentalUnitMessage.md +1 -1
- data/docs/RentalUnitPutMessage.md +1 -1
- data/docs/RentalUnitsApi.md +56 -378
- data/docs/RentalUnitsPostMessage.md +1 -1
- data/docs/ReorderRentalImagesRequest.md +18 -0
- data/docs/ResidentCenterApi.md +10 -10
- data/docs/ResidentCenterUserMessage.md +2 -2
- data/docs/ResidentCenterUserMessageUnitAgreement.md +22 -0
- data/docs/ResidentCenterUserMessageUser.md +26 -0
- data/docs/ResidentRequestTaskMessage.md +5 -5
- data/docs/ResidentRequestTaskMessageAppliance.md +26 -0
- data/docs/ResidentRequestTaskMessageRequestedByUserEntity.md +28 -0
- data/docs/ResidentRequestTaskMessageUnitAgreement.md +22 -0
- data/docs/ResidentRequestTaskPostMessage.md +2 -2
- data/docs/ResidentRequestsApi.md +16 -16
- data/docs/RetailCashUserMessage.md +4 -4
- data/docs/RetailCashUserMessageProperty.md +24 -0
- data/docs/RetailCashUserMessageUnit.md +22 -0
- data/docs/RetailCashUserMessageUnitAgreement.md +22 -0
- data/docs/RetailCashUserMessageUser.md +30 -0
- data/docs/TaskCategoryResponseMessage.md +1 -1
- data/docs/TaskCategoryResponseMessageSubCategory.md +20 -0
- data/docs/TaskHistoryMessage.md +2 -2
- data/docs/TaskHistoryMessageCreatedByUser.md +26 -0
- data/docs/TaskHistoryMessageLastUpdatedByUser.md +26 -0
- data/docs/TaskHistoryUserMessage.md +3 -1
- data/docs/TasksApi.md +38 -38
- data/docs/TaxInformationPostMessage.md +1 -1
- data/docs/TaxInformationPostMessageAddress.md +30 -0
- data/docs/TaxInformationSaveMessage.md +1 -1
- data/docs/TenantMessage.md +3 -3
- data/docs/TenantMessageAddress.md +30 -0
- data/docs/TenantMessageAlternateAddress.md +30 -0
- data/docs/TenantMessageEmergencyContact.md +24 -0
- data/docs/ToDoRequestsApi.md +16 -16
- data/docs/ToDoTaskMessage.md +2 -2
- data/docs/UnclearTransactionsRequest.md +18 -0
- data/docs/UndepositedFundsMessage.md +1 -1
- data/docs/UndepositedFundsMessageGeneralLedgerTransaction.md +26 -0
- data/docs/UpdateApplicantGroupRequest.md +22 -0
- data/docs/UpdateApplicantRequest.md +26 -0
- data/docs/UpdateApplicationRequest.md +18 -0
- data/docs/UpdateAssociationApplianceRequest.md +28 -0
- data/docs/UpdateAssociationOwnerOccupancyStatusRequest.md +18 -0
- data/docs/UpdateAssociationOwnerRequest.md +38 -0
- data/docs/UpdateAssociationOwnershipAccountRequest.md +18 -0
- data/docs/UpdateAssociationPreferredVendorsRequest.md +18 -0
- data/docs/UpdateAssociationRequest.md +34 -0
- data/docs/UpdateAssociationTenantRequest.md +38 -0
- data/docs/UpdateAssociationUnitRequest.md +26 -0
- data/docs/UpdateBankAccountDepositRequest.md +22 -0
- data/docs/UpdateBankAccountRequest.md +30 -0
- data/docs/UpdateBillRequest.md +28 -0
- data/docs/UpdateBoardMemberRequest.md +22 -0
- data/docs/UpdateBudgetRequest.md +20 -0
- data/docs/UpdateCheckForBankAccountRequest.md +26 -0
- data/docs/UpdateContactRequestTaskRequest.md +38 -0
- data/docs/UpdateDepositWithholdingRequest.md +24 -0
- data/docs/UpdateEPaySettingsForAssociationRequest.md +22 -0
- data/docs/UpdateFileCategoryRequest.md +18 -0
- data/docs/UpdateFileRequest.md +22 -0
- data/docs/UpdateFileSharingSettingRequest.md +40 -0
- data/docs/UpdateGLAccountRequest.md +32 -0
- data/docs/UpdateGeneralJournalEntryRequest.md +24 -0
- data/docs/UpdateLeaseChargeRequest.md +22 -0
- data/docs/UpdateLeaseLedgerPaymentRequest.md +28 -0
- data/docs/UpdateLeaseNoteRequest.md +18 -0
- data/docs/UpdateLeaseRequest.md +28 -0
- data/docs/UpdateOwnershipAccountChargeRequest.md +22 -0
- data/docs/UpdateOwnershipAccountDepositWithholdingRequest.md +24 -0
- data/docs/UpdateOwnershipAccountLedgerPaymentRequest.md +28 -0
- data/docs/UpdatePhoneLogRequest.md +22 -0
- data/docs/UpdatePropertyGroupRequest.md +22 -0
- data/docs/UpdateReconciliationBalancesRequest.md +22 -0
- data/docs/UpdateReconciliationRequest.md +18 -0
- data/docs/UpdateRentScheduleRequest.md +22 -0
- data/docs/UpdateRentalApplianceRequest.md +28 -0
- data/docs/UpdateRentalFeaturesRequest.md +20 -0
- data/docs/UpdateRentalImageRequest.md +20 -0
- data/docs/UpdateRentalOwnerRequest.md +42 -0
- data/docs/UpdateRentalOwnerRequestTaskContributionDataRequest.md +20 -0
- data/docs/UpdateRentalOwnerRequestTaskRequest.md +36 -0
- data/docs/UpdateRentalPreferredVendorsRequest.md +18 -0
- data/docs/UpdateRentalPropertyRequest.md +32 -0
- data/docs/UpdateRentalTenantRequest.md +40 -0
- data/docs/UpdateRentalUnitFeaturesRequest.md +18 -0
- data/docs/UpdateRentalUnitImageRequest.md +20 -0
- data/docs/UpdateRentalUnitRequest.md +30 -0
- data/docs/UpdateResourceRequest.md +32 -0
- data/docs/UpdateRetailCashUserRequest.md +18 -0
- data/docs/UpdateTaskCategoryRequest.md +18 -0
- data/docs/UpdateTaskHistoryRequest.md +18 -0
- data/docs/UpdateToDoTaskRequest.md +36 -0
- data/docs/UpdateVendorRequest.md +46 -0
- data/docs/UpdateWorkOrderRequest.md +36 -0
- data/docs/UploadTaskHistoryFileRequestAsyncRequest.md +18 -0
- data/docs/UpsertAssociationMeterReadingDetailsAsyncRequest.md +22 -0
- data/docs/UpsertListingsAsyncRequest.md +28 -0
- data/docs/UserMessage.md +1 -1
- data/docs/UserMessageUserRole.md +24 -0
- data/docs/VendorCreditLineItemMessage.md +1 -1
- data/docs/VendorCreditLineItemMessageAccountingEntity.md +24 -0
- data/docs/VendorCreditLineItemPostMessage.md +1 -1
- data/docs/VendorCreditLineItemPostMessageAccountingEntity.md +22 -0
- data/docs/VendorMessage.md +4 -4
- data/docs/VendorMessageAddress.md +30 -0
- data/docs/VendorMessageCategory.md +20 -0
- data/docs/VendorMessageTaxInformation.md +28 -0
- data/docs/VendorMessageVendorInsurance.md +22 -0
- data/docs/VendorPostMessage.md +4 -4
- data/docs/VendorPostMessageAddress.md +30 -0
- data/docs/VendorPostMessagePhoneNumbers.md +24 -0
- data/docs/VendorPostMessageTaxInformation.md +26 -0
- data/docs/VendorPostMessageVendorInsurance.md +22 -0
- data/docs/VendorPutMessage.md +4 -4
- data/docs/VendorPutMessageTaxInformation.md +28 -0
- data/docs/VendorRefundLineMessage.md +1 -1
- data/docs/VendorRefundLineMessageAccountingEntity.md +24 -0
- data/docs/VendorRefundLinePostMessage.md +1 -1
- data/docs/VendorRefundLinePostMessageAccountingEntity.md +22 -0
- data/docs/VendorTaxInformationMessage.md +1 -1
- data/docs/VendorsApi.md +76 -76
- data/docs/WorkOrderMessage.md +13 -3
- data/docs/WorkOrderMessageEntryContact.md +20 -0
- data/docs/WorkOrderMessageTask.md +32 -0
- data/docs/WorkOrderPostMessage.md +4 -2
- data/docs/WorkOrderPostMessageTask.md +30 -0
- data/docs/WorkOrderPutMessage.md +3 -1
- data/docs/WorkOrderTaskMessage.md +1 -1
- data/docs/WorkOrdersApi.md +16 -16
- data/git_push.sh +57 -0
- data/lib/buildium-ruby/api/administration_api.rb +137 -12
- data/lib/buildium-ruby/api/appliances_api.rb +46 -46
- data/lib/buildium-ruby/api/applicants_api.rb +124 -118
- data/lib/buildium-ruby/api/architectural_requests_api.rb +547 -0
- data/lib/buildium-ruby/api/association_meter_readings_api.rb +18 -18
- data/lib/buildium-ruby/api/association_owners_api.rb +72 -72
- data/lib/buildium-ruby/api/association_tenants_api.rb +56 -56
- data/lib/buildium-ruby/api/association_units_api.rb +56 -56
- data/lib/buildium-ruby/api/associations_api.rb +90 -90
- data/lib/buildium-ruby/api/bank_accounts_api.rb +981 -230
- data/lib/buildium-ruby/api/bills_api.rb +174 -100
- data/lib/buildium-ruby/api/board_members_api.rb +30 -30
- data/lib/buildium-ruby/api/budgets_api.rb +31 -31
- data/lib/buildium-ruby/api/client_leads_api.rb +4 -4
- data/lib/buildium-ruby/api/communications_api.rb +70 -70
- data/lib/buildium-ruby/api/contact_requests_api.rb +28 -28
- data/lib/buildium-ruby/api/files_api.rb +72 -72
- data/lib/buildium-ruby/api/general_ledger_api.rb +72 -60
- data/lib/buildium-ruby/api/lease_transactions_api.rb +390 -160
- data/lib/buildium-ruby/api/leases_api.rb +405 -114
- data/lib/buildium-ruby/api/listings_api.rb +46 -46
- data/lib/buildium-ruby/api/ownership_account_transactions_api.rb +378 -148
- data/lib/buildium-ruby/api/ownership_accounts_api.rb +193 -56
- data/lib/buildium-ruby/api/property_groups_api.rb +28 -28
- data/lib/buildium-ruby/api/rental_appliances_api.rb +46 -46
- data/lib/buildium-ruby/api/rental_meter_readings_api.rb +18 -18
- data/lib/buildium-ruby/api/rental_owner_requests_api.rb +42 -51
- data/lib/buildium-ruby/api/rental_owners_api.rb +56 -56
- data/lib/buildium-ruby/api/rental_properties_api.rb +438 -158
- data/lib/buildium-ruby/api/rental_tenants_api.rb +59 -56
- data/lib/buildium-ruby/api/rental_units_api.rb +98 -378
- data/lib/buildium-ruby/api/resident_center_api.rb +18 -18
- data/lib/buildium-ruby/api/resident_requests_api.rb +28 -28
- data/lib/buildium-ruby/api/tasks_api.rb +68 -68
- data/lib/buildium-ruby/api/to_do_requests_api.rb +28 -28
- data/lib/buildium-ruby/api/vendors_api.rb +127 -127
- data/lib/buildium-ruby/api/work_orders_api.rb +28 -28
- data/lib/buildium-ruby/api_client.rb +3 -3
- data/lib/buildium-ruby/configuration.rb +2 -1
- data/lib/buildium-ruby/models/account_info_message.rb +4 -3
- data/lib/buildium-ruby/models/{gl_account_balance_search_message.rb → account_info_message_accounting_settings.rb} +75 -69
- data/lib/buildium-ruby/models/account_info_message_contact.rb +256 -0
- data/lib/buildium-ruby/models/accounting_entity_message.rb +3 -2
- data/lib/buildium-ruby/models/accounting_entity_message_unit.rb +237 -0
- data/lib/buildium-ruby/models/accounting_entity_patch_message.rb +273 -0
- data/lib/buildium-ruby/models/accounting_entity_save_message.rb +2 -1
- data/lib/buildium-ruby/models/accounting_lock_period_message.rb +3 -2
- data/lib/buildium-ruby/models/{association_appliance_search_message.rb → accounting_lock_period_message_global.rb} +21 -26
- data/lib/buildium-ruby/models/accounting_settings_message.rb +2 -1
- data/lib/buildium-ruby/models/address_message.rb +4 -3
- data/lib/buildium-ruby/models/all_tasks_message.rb +6 -5
- data/lib/buildium-ruby/models/all_tasks_message_category.rb +256 -0
- data/lib/buildium-ruby/models/all_tasks_message_property.rb +281 -0
- data/lib/buildium-ruby/models/all_tasks_message_requested_by_user_entity.rb +311 -0
- data/lib/buildium-ruby/models/all_tasks_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/announcement_message.rb +3 -2
- data/lib/buildium-ruby/models/announcement_message_sender.rb +247 -0
- data/lib/buildium-ruby/models/announcement_post_message.rb +40 -1
- data/lib/buildium-ruby/models/announcement_sender_message.rb +2 -1
- data/lib/buildium-ruby/models/api_error_response.rb +2 -1
- data/lib/buildium-ruby/models/appliance_message.rb +2 -1
- data/lib/buildium-ruby/models/applicant_application_message.rb +4 -3
- data/lib/buildium-ruby/models/applicant_group_message.rb +4 -3
- data/lib/buildium-ruby/models/applicant_group_post_message.rb +2 -1
- data/lib/buildium-ruby/models/applicant_group_put_message.rb +2 -1
- data/lib/buildium-ruby/models/applicant_message.rb +18 -7
- data/lib/buildium-ruby/models/applicant_post_message.rb +41 -2
- data/lib/buildium-ruby/models/applicant_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/applicant_put_message.rb +41 -2
- data/lib/buildium-ruby/models/applicant_put_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/application_message.rb +4 -3
- data/lib/buildium-ruby/models/application_put_message.rb +2 -1
- data/lib/buildium-ruby/models/application_response_field_message.rb +2 -1
- data/lib/buildium-ruby/models/application_response_message.rb +2 -1
- data/lib/buildium-ruby/models/application_section_response_message.rb +2 -1
- data/lib/buildium-ruby/models/applied_vendor_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/{vendor_search_message.rb → architectural_requests_post_message.rb} +91 -71
- data/lib/buildium-ruby/models/association_appliance_message.rb +2 -1
- data/lib/buildium-ruby/models/association_appliance_post_message.rb +21 -1
- data/lib/buildium-ruby/models/association_appliance_put_message.rb +21 -1
- data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +2 -1
- data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_architectural_request_file_message.rb +269 -0
- data/lib/buildium-ruby/models/association_architectural_request_message.rb +363 -0
- data/lib/buildium-ruby/models/association_architectural_request_message_created_by_user.rb +257 -0
- data/lib/buildium-ruby/models/association_architectural_request_message_last_updated_by_user.rb +267 -0
- data/lib/buildium-ruby/models/association_board_member_message.rb +2 -1
- data/lib/buildium-ruby/models/association_board_member_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_board_member_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_message.rb +5 -4
- data/lib/buildium-ruby/models/association_message_address.rb +321 -0
- data/lib/buildium-ruby/models/association_message_association_manager.rb +299 -0
- data/lib/buildium-ruby/models/association_message_tax_information.rb +300 -0
- data/lib/buildium-ruby/models/association_owner_board_term_message.rb +2 -1
- data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_owner_message.rb +5 -4
- data/lib/buildium-ruby/models/association_owner_message_alternate_address.rb +321 -0
- data/lib/buildium-ruby/models/{rental_unit_search_message.rb → association_owner_message_emergency_contact.rb} +45 -28
- data/lib/buildium-ruby/models/association_owner_message_primary_address.rb +321 -0
- data/lib/buildium-ruby/models/association_owner_post_message.rb +45 -6
- data/lib/buildium-ruby/models/association_owner_post_message_alternate_address.rb +350 -0
- data/lib/buildium-ruby/models/association_owner_post_message_board_member_term.rb +286 -0
- data/lib/buildium-ruby/models/association_owner_post_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_post_message_primary_address.rb +350 -0
- data/lib/buildium-ruby/models/association_owner_put_message.rb +44 -5
- data/lib/buildium-ruby/models/association_owner_put_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +45 -6
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +2 -1
- data/lib/buildium-ruby/models/association_ownership_account_message.rb +2 -1
- data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_post_message.rb +23 -3
- data/lib/buildium-ruby/models/association_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/association_post_message_tax_information.rb +300 -0
- data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +2 -1
- data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_put_message.rb +22 -2
- data/lib/buildium-ruby/models/association_tax_information_message.rb +3 -2
- data/lib/buildium-ruby/models/association_tax_information_message_address.rb +321 -0
- data/lib/buildium-ruby/models/association_tenant_message.rb +5 -4
- data/lib/buildium-ruby/models/association_tenant_post_message.rb +44 -5
- data/lib/buildium-ruby/models/association_tenant_post_message_alternate_address.rb +350 -0
- data/lib/buildium-ruby/models/association_tenant_post_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/association_tenant_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_tenant_post_message_primary_address.rb +350 -0
- data/lib/buildium-ruby/models/association_tenant_put_message.rb +44 -5
- data/lib/buildium-ruby/models/{association_unit_search_message.rb → association_tenant_put_message_phone_numbers.rb} +45 -29
- data/lib/buildium-ruby/models/association_unit_message.rb +3 -2
- data/lib/buildium-ruby/models/association_unit_message_address.rb +321 -0
- data/lib/buildium-ruby/models/association_unit_put_message.rb +22 -2
- data/lib/buildium-ruby/models/association_unit_put_message_address.rb +350 -0
- data/lib/buildium-ruby/models/association_units_post_message.rb +22 -2
- data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_file_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_line_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_line_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_account_check_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_message_payee.rb +281 -0
- data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_post_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_post_message_payee.rb +281 -0
- data/lib/buildium-ruby/models/bank_account_check_put_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_deposit_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_deposit_line_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_account_deposit_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_message.rb +7 -6
- data/lib/buildium-ruby/models/bank_account_message_check_printing_info.rb +401 -0
- data/lib/buildium-ruby/models/bank_account_message_electronic_payments.rb +297 -0
- data/lib/buildium-ruby/models/{work_order_search_message.rb → bank_account_message_gl_account.rb} +143 -168
- data/lib/buildium-ruby/models/bank_account_post_message.rb +24 -4
- data/lib/buildium-ruby/models/bank_account_post_message_check_printing_info.rb +401 -0
- data/lib/buildium-ruby/models/bank_account_put_message.rb +24 -4
- data/lib/buildium-ruby/models/bank_account_put_message_check_printing_info.rb +416 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_quick_deposit_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/{bank_account_withdrawal_search_message.rb → bank_account_reconciliation_balance_message.rb} +28 -29
- data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_cleared_balance.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_statement_balance.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_reconciliation_balance_put_message.rb +254 -0
- data/lib/buildium-ruby/models/{cancellation_token.rb → bank_account_reconciliation_message.rb} +27 -23
- data/lib/buildium-ruby/models/bank_account_reconciliation_transaction_message.rb +357 -0
- data/lib/buildium-ruby/models/bank_account_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_transfer_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_transfer_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_transfer_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_withdrawal_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_withdrawal_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_association_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_lockbox_data_association_owner_message.rb +46 -5
- data/lib/buildium-ruby/models/bank_lockbox_data_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_lockbox_data_message_association.rb +247 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message_unit_address.rb +321 -0
- data/lib/buildium-ruby/models/bank_pending_reconciliation_post_message.rb +259 -0
- data/lib/buildium-ruby/models/bank_reconciliation_clear_transactions_post_message.rb +226 -0
- data/lib/buildium-ruby/models/bank_reconciliation_cleared_balance_message.rb +249 -0
- data/lib/buildium-ruby/models/bank_reconciliation_put_message.rb +224 -0
- data/lib/buildium-ruby/models/bank_reconciliation_statement_balance_message.rb +249 -0
- data/lib/buildium-ruby/models/bank_reconciliation_unclear_transactions_post_message.rb +226 -0
- data/lib/buildium-ruby/models/bill_file_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_line_item_patch_message.rb +267 -0
- data/lib/buildium-ruby/models/bill_line_item_patch_message_accounting_entity.rb +281 -0
- data/lib/buildium-ruby/models/{meter_reading_details_put_search_message.rb → bill_line_item_patch_message_markup.rb} +36 -27
- data/lib/buildium-ruby/models/bill_line_message.rb +5 -4
- data/lib/buildium-ruby/models/{bank_account_search_message.rb → bill_line_message_accounting_entity.rb} +52 -37
- data/lib/buildium-ruby/models/bill_line_message_gl_account.rb +427 -0
- data/lib/buildium-ruby/models/bill_line_message_markup.rb +271 -0
- data/lib/buildium-ruby/models/bill_line_post_message.rb +4 -3
- data/lib/buildium-ruby/models/bill_line_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bill_line_post_message_markup.rb +281 -0
- data/lib/buildium-ruby/models/bill_line_put_message.rb +4 -3
- data/lib/buildium-ruby/models/bill_markup_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_markup_patch_message.rb +263 -0
- data/lib/buildium-ruby/models/bill_markup_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_patch_message.rb +271 -0
- data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_payment_line_message.rb +3 -2
- data/lib/buildium-ruby/models/bill_payment_line_message_accounting_entity.rb +281 -0
- data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_payment_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_put_message.rb +2 -1
- data/lib/buildium-ruby/models/budget_details_message.rb +3 -2
- data/lib/buildium-ruby/models/budget_details_message_monthly_amounts.rb +337 -0
- data/lib/buildium-ruby/models/budget_details_save_message.rb +3 -2
- data/lib/buildium-ruby/models/budget_details_save_message_monthly_amounts.rb +397 -0
- data/lib/buildium-ruby/models/budget_message.rb +3 -2
- data/lib/buildium-ruby/models/budget_message_property.rb +281 -0
- data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +2 -1
- data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +2 -1
- data/lib/buildium-ruby/models/budget_post_message.rb +21 -1
- data/lib/buildium-ruby/models/budget_put_message.rb +21 -1
- data/lib/buildium-ruby/models/cc_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/cc_payments_put_message.rb +2 -1
- data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +2 -1
- data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +2 -1
- data/lib/buildium-ruby/models/check_printing_info_message.rb +2 -1
- data/lib/buildium-ruby/models/check_printing_info_post_message.rb +2 -1
- data/lib/buildium-ruby/models/check_printing_info_put_message.rb +2 -1
- data/lib/buildium-ruby/models/clear_transactions_request.rb +233 -0
- data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +2 -1
- data/lib/buildium-ruby/models/client_lead_message.rb +4 -3
- data/lib/buildium-ruby/models/client_lead_message_address.rb +321 -0
- data/lib/buildium-ruby/models/client_lead_message_credit_request.rb +303 -0
- data/lib/buildium-ruby/models/contact_detail_message.rb +3 -2
- data/lib/buildium-ruby/models/contact_detail_message_phone_numbers.rb +247 -0
- data/lib/buildium-ruby/models/contact_detail_phone_message.rb +2 -1
- data/lib/buildium-ruby/models/contact_detail_save_message.rb +22 -2
- data/lib/buildium-ruby/models/contact_detail_save_message_phone_numbers.rb +247 -0
- data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +2 -1
- data/lib/buildium-ruby/models/contact_info_message.rb +3 -2
- data/lib/buildium-ruby/models/contact_info_message_address.rb +321 -0
- data/lib/buildium-ruby/models/contact_request_task_message.rb +5 -4
- data/lib/buildium-ruby/models/contact_request_task_message_category.rb +256 -0
- data/lib/buildium-ruby/models/contact_request_task_message_contact_detail.rb +256 -0
- data/lib/buildium-ruby/models/contact_request_task_message_property.rb +281 -0
- data/lib/buildium-ruby/models/contact_request_task_post_message.rb +22 -2
- data/lib/buildium-ruby/models/contact_request_task_post_message_contact_detail.rb +280 -0
- data/lib/buildium-ruby/models/contact_request_task_put_message.rb +22 -2
- data/lib/buildium-ruby/models/contact_request_task_put_message_contact_detail.rb +280 -0
- data/lib/buildium-ruby/models/cosigner_message.rb +4 -3
- data/lib/buildium-ruby/models/cosigner_message_address.rb +321 -0
- data/lib/buildium-ruby/models/cosigner_message_alternate_address.rb +321 -0
- data/lib/buildium-ruby/models/create_announcement_request.rb +341 -0
- data/lib/buildium-ruby/models/create_applicant_group_request.rb +243 -0
- data/lib/buildium-ruby/models/create_applicant_request.rb +329 -0
- data/lib/buildium-ruby/models/create_architectural_request_async_request.rb +361 -0
- data/lib/buildium-ruby/models/create_association_appliance_request.rb +325 -0
- data/lib/buildium-ruby/models/create_association_appliance_service_history_request.rb +290 -0
- data/lib/buildium-ruby/models/create_association_owner_request.rb +474 -0
- data/lib/buildium-ruby/models/create_association_ownership_account_request.rb +354 -0
- data/lib/buildium-ruby/models/create_association_request.rb +338 -0
- data/lib/buildium-ruby/models/create_association_tenant_request.rb +400 -0
- data/lib/buildium-ruby/models/{lease_outstanding_balance_search_message.rb → create_association_unit_request.rb} +99 -89
- data/lib/buildium-ruby/models/create_bank_account_check_request.rb +282 -0
- data/lib/buildium-ruby/models/create_bank_account_deposit_request.rb +265 -0
- data/lib/buildium-ruby/models/create_bank_account_request.rb +365 -0
- data/lib/buildium-ruby/models/create_bank_account_transfer_request.rb +285 -0
- data/lib/buildium-ruby/models/create_bill_payment_request.rb +283 -0
- data/lib/buildium-ruby/models/{vendor_transaction_search_message.rb → create_bill_request.rb} +80 -63
- data/lib/buildium-ruby/models/{bank_account_transaction_search_message.rb → create_board_member_request.rb} +44 -35
- data/lib/buildium-ruby/models/{association_user_search_message.rb → create_budget_async_request.rb} +96 -74
- data/lib/buildium-ruby/models/{task_search_message.rb → create_contact_request_task_request.rb} +143 -126
- data/lib/buildium-ruby/models/create_email_request.rb +334 -0
- data/lib/buildium-ruby/models/create_file_category_request.rb +251 -0
- data/lib/buildium-ruby/models/create_general_journal_entry_request.rb +272 -0
- data/lib/buildium-ruby/models/create_general_ledger_account_request.rb +395 -0
- data/lib/buildium-ruby/models/{applicant_search_message.rb → create_lease_auto_allocated_payment_request.rb} +90 -76
- data/lib/buildium-ruby/models/create_lease_credit_request.rb +317 -0
- data/lib/buildium-ruby/models/create_lease_ledger_charge_request.rb +259 -0
- data/lib/buildium-ruby/models/create_lease_ledger_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/{association_ownership_account_search_message.rb → create_lease_ledger_refund_request.rb} +88 -82
- data/lib/buildium-ruby/models/create_lease_note_request.rb +250 -0
- data/lib/buildium-ruby/models/create_lease_renewal_request.rb +386 -0
- data/lib/buildium-ruby/models/create_lease_request.rb +406 -0
- data/lib/buildium-ruby/models/create_lease_reverse_payment_request.rb +264 -0
- data/lib/buildium-ruby/models/create_listing_contact_request.rb +280 -0
- data/lib/buildium-ruby/models/create_move_out_data_request.rb +256 -0
- data/lib/buildium-ruby/models/create_multiple_bill_payments_request.rb +285 -0
- data/lib/buildium-ruby/models/create_ownership_account_auto_allocated_payment_request.rb +340 -0
- data/lib/buildium-ruby/models/create_ownership_account_credit_recurring_transaction_request.rb +396 -0
- data/lib/buildium-ruby/models/create_ownership_account_credit_request.rb +317 -0
- data/lib/buildium-ruby/models/create_ownership_account_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/create_ownership_account_ledger_charge_request.rb +268 -0
- data/lib/buildium-ruby/models/{bill_search_message.rb → create_ownership_account_ledger_payment_request.rb} +89 -82
- data/lib/buildium-ruby/models/create_ownership_account_recurring_payment_request.rb +386 -0
- data/lib/buildium-ruby/models/create_ownership_account_refund_request.rb +314 -0
- data/lib/buildium-ruby/models/create_ownership_accounts_charge_recurring_transaction_request.rb +367 -0
- data/lib/buildium-ruby/models/create_payment_request.rb +343 -0
- data/lib/buildium-ruby/models/create_pending_reconciliations_request.rb +266 -0
- data/lib/buildium-ruby/models/create_phone_log_request.rb +313 -0
- data/lib/buildium-ruby/models/create_property_group_request.rb +277 -0
- data/lib/buildium-ruby/models/create_quick_deposit_request.rb +285 -0
- data/lib/buildium-ruby/models/create_rent_schedule_request.rb +307 -0
- data/lib/buildium-ruby/models/create_rental_appliance_request.rb +325 -0
- data/lib/buildium-ruby/models/create_rental_appliance_service_history_request.rb +290 -0
- data/lib/buildium-ruby/models/create_rental_image_upload_file_request_async_request.rb +275 -0
- data/lib/buildium-ruby/models/create_rental_owner_request.rb +371 -0
- data/lib/buildium-ruby/models/create_rental_owner_request_task_request.rb +411 -0
- data/lib/buildium-ruby/models/create_rental_property_request.rb +392 -0
- data/lib/buildium-ruby/models/create_rental_tenant_request.rb +434 -0
- data/lib/buildium-ruby/models/{lease_search_message.rb → create_rental_unit_request.rb} +119 -103
- data/lib/buildium-ruby/models/create_resource_request.rb +456 -0
- data/lib/buildium-ruby/models/create_task_category_request.rb +251 -0
- data/lib/buildium-ruby/models/{resident_request_task_search_message.rb → create_to_do_task_request.rb} +136 -111
- data/lib/buildium-ruby/models/{file_search_message.rb → create_upload_file_request_async_request.rb} +107 -54
- data/lib/buildium-ruby/models/create_upload_file_request_request.rb +250 -0
- data/lib/buildium-ruby/models/{budget_search_message.rb → create_vendor_category_request.rb} +38 -28
- data/lib/buildium-ruby/models/create_vendor_credit_request.rb +268 -0
- data/lib/buildium-ruby/models/{rental_owners_search_message.rb → create_vendor_refund_request.rb} +85 -67
- data/lib/buildium-ruby/models/create_vendor_request.rb +372 -0
- data/lib/buildium-ruby/models/{note_search_message.rb → create_video_link_request_request.rb} +56 -29
- data/lib/buildium-ruby/models/{email_search_message.rb → create_withdrawal_for_bank_account_request.rb} +63 -46
- data/lib/buildium-ruby/models/{contact_request_task_search_message.rb → create_work_order_request.rb} +117 -100
- data/lib/buildium-ruby/models/created_by_user_message.rb +2 -1
- data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +2 -1
- data/lib/buildium-ruby/models/deposit_detail_message.rb +2 -1
- data/lib/buildium-ruby/models/e_pay_settings_message.rb +5 -4
- data/lib/buildium-ruby/models/e_pay_settings_message_credit_card_payments.rb +227 -0
- data/lib/buildium-ruby/models/e_pay_settings_message_eft_payments.rb +227 -0
- data/lib/buildium-ruby/models/e_pay_settings_message_offline_payments.rb +247 -0
- data/lib/buildium-ruby/models/e_pay_settings_put_message.rb +5 -4
- data/lib/buildium-ruby/models/e_pay_settings_put_message_credit_card_payments.rb +232 -0
- data/lib/buildium-ruby/models/e_pay_settings_put_message_eft_payments.rb +232 -0
- data/lib/buildium-ruby/models/e_pay_settings_put_message_offline_payments.rb +257 -0
- data/lib/buildium-ruby/models/eft_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/eft_payments_put_message.rb +2 -1
- data/lib/buildium-ruby/models/electronic_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/email_message.rb +3 -2
- data/lib/buildium-ruby/models/email_message_sender.rb +257 -0
- data/lib/buildium-ruby/models/email_post_message.rb +22 -2
- data/lib/buildium-ruby/models/email_recipient_message.rb +2 -1
- data/lib/buildium-ruby/models/email_sender_message.rb +2 -1
- data/lib/buildium-ruby/models/emergency_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/file_category_message.rb +2 -1
- data/lib/buildium-ruby/models/file_category_post_message.rb +21 -1
- data/lib/buildium-ruby/models/file_category_put_message.rb +21 -1
- data/lib/buildium-ruby/models/file_download_message.rb +2 -1
- data/lib/buildium-ruby/models/file_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/file_message.rb +3 -2
- data/lib/buildium-ruby/models/{listing_search_message.rb → file_message_file_entity.rb} +34 -15
- data/lib/buildium-ruby/models/file_name_post_message.rb +21 -1
- data/lib/buildium-ruby/models/file_put_message.rb +21 -1
- data/lib/buildium-ruby/models/file_sharing_account_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_account_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_owner_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_owner_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_unit_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_unit_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_committee_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_committee_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_lease_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_lease_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_message.rb +14 -13
- data/lib/buildium-ruby/models/{lease_renewal_search_message.rb → file_sharing_message_account.rb} +43 -44
- data/lib/buildium-ruby/models/{bank_account_check_search_message.rb → file_sharing_message_association.rb} +28 -29
- data/lib/buildium-ruby/models/file_sharing_message_association_owner.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_message_association_unit.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_committee.rb +247 -0
- data/lib/buildium-ruby/models/file_sharing_message_lease.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_ownership_account.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_rental.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_rental_owner.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_message_rental_unit.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_tenant.rb +237 -0
- data/lib/buildium-ruby/models/{safe_wait_handle.rb → file_sharing_message_vendor.rb} +21 -20
- data/lib/buildium-ruby/models/file_sharing_ownership_account_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_ownership_account_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_put_message.rb +14 -13
- data/lib/buildium-ruby/models/file_sharing_put_message_account.rb +271 -0
- data/lib/buildium-ruby/models/{bank_account_transfer_search_message.rb → file_sharing_put_message_association.rb} +28 -29
- data/lib/buildium-ruby/models/file_sharing_put_message_association_owner.rb +227 -0
- data/lib/buildium-ruby/models/{bank_account_quick_deposit_search_message.rb → file_sharing_put_message_association_unit.rb} +28 -29
- data/lib/buildium-ruby/models/file_sharing_put_message_committee.rb +247 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_lease.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_ownership_account.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_rental.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_rental_owner.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_rental_unit.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_tenant.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_vendor.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_rental_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_owner_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_owner_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_unit_mesage.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_unit_put_mesage.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_tenant_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_tenant_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_vendor_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_vendor_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_upload_post_message.rb +40 -1
- data/lib/buildium-ruby/models/file_upload_ticket_message.rb +2 -1
- data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +3 -2
- data/lib/buildium-ruby/models/general_journal_entry_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +3 -2
- data/lib/buildium-ruby/models/general_ledger_entry_message.rb +3 -2
- data/lib/buildium-ruby/models/general_ledger_entry_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +4 -3
- data/lib/buildium-ruby/models/general_ledger_journal_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/general_ledger_journal_line_message_gl_account.rb +427 -0
- data/lib/buildium-ruby/models/general_ledger_journal_message.rb +2 -1
- data/lib/buildium-ruby/models/general_ledger_message.rb +2 -1
- data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +19 -8
- data/lib/buildium-ruby/models/general_ledger_transaction_message_deposit_details.rb +239 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message_journal.rb +239 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message_payment_detail.rb +289 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +3 -2
- data/lib/buildium-ruby/models/gl_account_balance_item_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/gl_account_balance_message.rb +3 -2
- data/lib/buildium-ruby/models/gl_account_balance_message_gl_account.rb +427 -0
- data/lib/buildium-ruby/models/gl_account_message.rb +2 -1
- data/lib/buildium-ruby/models/gl_account_post_message.rb +40 -1
- data/lib/buildium-ruby/models/gl_account_put_message.rb +21 -1
- data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +2 -1
- data/lib/buildium-ruby/models/image_reorder_request_put_message.rb +2 -1
- data/lib/buildium-ruby/models/insured_tenant_message.rb +2 -1
- data/lib/buildium-ruby/models/internal_transaction_status_message.rb +2 -1
- data/lib/buildium-ruby/models/java_script_encoder.rb +218 -0
- data/lib/buildium-ruby/models/journal_line_message.rb +3 -2
- data/lib/buildium-ruby/models/journal_message.rb +2 -1
- data/lib/buildium-ruby/models/json_patch_operation.rb +2 -1
- data/lib/buildium-ruby/models/last_updated_by_user_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_account_detail_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_auto_allocated_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_charge_line_message.rb +229 -0
- data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_charge_message.rb +271 -0
- data/lib/buildium-ruby/models/lease_charge_post_message.rb +13 -2
- data/lib/buildium-ruby/models/lease_charge_put_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +43 -4
- data/lib/buildium-ruby/models/lease_cosigner_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/lease_cosigner_post_message_alternate_address.rb +350 -0
- data/lib/buildium-ruby/models/lease_cosigner_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_put_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_put_message.rb +261 -0
- data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_payment_put_message.rb +4 -3
- data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_ledger_refund_message_address.rb +321 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_ledger_refund_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +4 -3
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_bank_fee.rb +247 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_nsf_charge.rb +247 -0
- data/lib/buildium-ruby/models/lease_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_message_account_details.rb +237 -0
- data/lib/buildium-ruby/models/lease_move_out_data_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_post_message.rb +4 -3
- data/lib/buildium-ruby/models/lease_post_message_rent.rb +283 -0
- data/lib/buildium-ruby/models/{bank_account_deposit_search_message.rb → lease_post_message_security_deposit.rb} +34 -25
- data/lib/buildium-ruby/models/lease_put_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_recurring_payment_message_payer.rb +291 -0
- data/lib/buildium-ruby/models/lease_renewal_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_renewal_post_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_renewal_post_message_rent.rb +283 -0
- data/lib/buildium-ruby/models/lease_rent_charge_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_rent_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_rent_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_tenant_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_transaction_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_transaction_message_journal.rb +239 -0
- data/lib/buildium-ruby/models/listing_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/listing_contact_save_message.rb +21 -1
- data/lib/buildium-ruby/models/listing_entity_file_post_message.rb +21 -1
- data/lib/buildium-ruby/models/listing_file_message.rb +2 -1
- data/lib/buildium-ruby/models/listing_message.rb +5 -4
- data/lib/buildium-ruby/models/listing_message_contact.rb +267 -0
- data/lib/buildium-ruby/models/{retail_cash_users_search_message.rb → listing_message_property.rb} +88 -58
- data/lib/buildium-ruby/models/{general_ledger_search_message.rb → listing_message_unit.rb} +112 -82
- data/lib/buildium-ruby/models/listing_property_message.rb +3 -2
- data/lib/buildium-ruby/models/listing_property_message_address.rb +321 -0
- data/lib/buildium-ruby/models/listing_put_message.rb +2 -1
- data/lib/buildium-ruby/models/listing_unit_message.rb +3 -2
- data/lib/buildium-ruby/models/listing_unit_message_address.rb +321 -0
- data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +2 -1
- data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +3 -2
- data/lib/buildium-ruby/models/lock_period_settings_overrides_message_property.rb +281 -0
- data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +2 -1
- data/lib/buildium-ruby/models/lookup_message.rb +2 -1
- data/lib/buildium-ruby/models/mailing_template_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_detail_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_detail_put_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_details_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_details_put_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_message.rb +2 -1
- data/lib/buildium-ruby/models/multiple_bill_payments_post_message.rb +2 -1
- data/lib/buildium-ruby/models/note_message.rb +3 -2
- data/lib/buildium-ruby/models/note_message_last_updated_by_user.rb +267 -0
- data/lib/buildium-ruby/models/note_post_message.rb +21 -1
- data/lib/buildium-ruby/models/note_put_message.rb +21 -1
- data/lib/buildium-ruby/models/offline_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/offline_payments_put_message.rb +2 -1
- data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_auto_allocated_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_put_message.rb +239 -0
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +4 -3
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_put_message.rb +261 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_line_message.rb +229 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_message.rb +271 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +13 -2
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_put_message.rb +4 -3
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +3 -2
- data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_refund_message.rb +3 -2
- data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +3 -2
- data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +3 -2
- data/lib/buildium-ruby/models/paid_by_message.rb +3 -2
- data/lib/buildium-ruby/models/{bank_lockbox_data_search_message.rb → partial_payment_settings_message.rb} +13 -14
- data/lib/buildium-ruby/models/{wait_handle.rb → partial_payment_settings_patch_message.rb} +13 -20
- data/lib/buildium-ruby/models/participant_message.rb +3 -2
- data/lib/buildium-ruby/models/participant_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/participant_resource_message.rb +2 -1
- data/lib/buildium-ruby/models/patch_bill_request.rb +278 -0
- data/lib/buildium-ruby/models/patch_global_partial_payment_settings_request.rb +226 -0
- data/lib/buildium-ruby/models/payee_message.rb +2 -1
- data/lib/buildium-ruby/models/payment_detail_message.rb +4 -3
- data/lib/buildium-ruby/models/payment_detail_message_internal_transaction_status.rb +247 -0
- data/lib/buildium-ruby/models/{meter_reading_search_message.rb → payment_detail_message_payee.rb} +57 -38
- data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +2 -1
- data/lib/buildium-ruby/models/payment_transactions_message.rb +3 -2
- data/lib/buildium-ruby/models/payment_transactions_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/phone_log_message.rb +4 -3
- data/lib/buildium-ruby/models/phone_log_message_logged_by_staff_user.rb +257 -0
- data/lib/buildium-ruby/models/phone_log_message_participant.rb +248 -0
- data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +3 -2
- data/lib/buildium-ruby/models/phone_log_participant_post_message_unit_agreement.rb +271 -0
- data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +2 -1
- data/lib/buildium-ruby/models/phone_log_post_message.rb +41 -2
- data/lib/buildium-ruby/models/{announcement_search_message.rb → phone_log_post_message_participant.rb} +40 -42
- data/lib/buildium-ruby/models/phone_log_put_message.rb +40 -1
- data/lib/buildium-ruby/models/phone_number_message.rb +2 -1
- data/lib/buildium-ruby/models/phone_numbers_message.rb +2 -1
- data/lib/buildium-ruby/models/property_group_message.rb +3 -2
- data/lib/buildium-ruby/models/property_group_message_created_by_user.rb +257 -0
- data/lib/buildium-ruby/models/property_group_post_message.rb +21 -1
- data/lib/buildium-ruby/models/property_group_put_message.rb +21 -1
- data/lib/buildium-ruby/models/property_manager_message.rb +2 -1
- data/lib/buildium-ruby/models/property_message.rb +2 -1
- data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +2 -1
- data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/recurring_transaction_message.rb +13 -2
- data/lib/buildium-ruby/models/rent_schedule_charge_post_message.rb +274 -0
- data/lib/buildium-ruby/models/rent_schedule_charge_put_message.rb +274 -0
- data/lib/buildium-ruby/models/{client_lead_search_message.rb → rent_schedule_post_message.rb} +63 -48
- data/lib/buildium-ruby/models/rent_schedule_put_message.rb +290 -0
- data/lib/buildium-ruby/models/rental_appliance_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_appliance_post_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_appliance_put_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_features_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_features_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_image_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_image_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_message.rb +4 -3
- data/lib/buildium-ruby/models/rental_message_rental_manager.rb +299 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_data_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_owner_contribution_data_message_reminder_settings.rb +237 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message_reminder_settings.rb +237 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_contribution_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_contribution_reminder_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_contribution_reminder_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_message.rb +4 -3
- data/lib/buildium-ruby/models/rental_owner_message_address.rb +321 -0
- data/lib/buildium-ruby/models/rental_owner_message_tax_information.rb +310 -0
- data/lib/buildium-ruby/models/rental_owner_post_message.rb +5 -4
- data/lib/buildium-ruby/models/rental_owner_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_owner_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/rental_owner_post_message_tax_information.rb +300 -0
- data/lib/buildium-ruby/models/rental_owner_put_message.rb +4 -3
- data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +5 -4
- data/lib/buildium-ruby/models/rental_owner_request_task_message_requested_by_user_entity.rb +311 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_property_post_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_property_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_property_put_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_property_put_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_property_unit_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_tenant_post_message.rb +44 -5
- data/lib/buildium-ruby/models/rental_tenant_put_message.rb +44 -5
- data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +44 -5
- data/lib/buildium-ruby/models/rental_unit_features_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_image_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_image_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_unit_put_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_units_post_message.rb +22 -2
- data/lib/buildium-ruby/models/renters_insurance_policy_message.rb +2 -1
- data/lib/buildium-ruby/models/{property_group_search_message.rb → reorder_rental_images_request.rb} +26 -23
- data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/resident_center_user_message.rb +4 -3
- data/lib/buildium-ruby/models/{meter_reading_details_delete_search_message.rb → resident_center_user_message_unit_agreement.rb} +46 -37
- data/lib/buildium-ruby/models/resident_center_user_message_user.rb +301 -0
- data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +2 -1
- data/lib/buildium-ruby/models/resident_request_task_message.rb +7 -6
- data/lib/buildium-ruby/models/resident_request_task_message_appliance.rb +267 -0
- data/lib/buildium-ruby/models/resident_request_task_message_requested_by_user_entity.rb +311 -0
- data/lib/buildium-ruby/models/resident_request_task_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/resident_request_task_post_message.rb +23 -3
- data/lib/buildium-ruby/models/resident_request_task_put_message.rb +21 -1
- data/lib/buildium-ruby/models/retail_cash_property_message.rb +2 -1
- data/lib/buildium-ruby/models/retail_cash_unit_message.rb +2 -1
- data/lib/buildium-ruby/models/retail_cash_user_data_message.rb +2 -1
- data/lib/buildium-ruby/models/retail_cash_user_message.rb +6 -5
- data/lib/buildium-ruby/models/{lease_transaction_search_message.rb → retail_cash_user_message_property.rb} +57 -29
- data/lib/buildium-ruby/models/retail_cash_user_message_unit.rb +247 -0
- data/lib/buildium-ruby/models/retail_cash_user_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/retail_cash_user_message_user.rb +321 -0
- data/lib/buildium-ruby/models/retail_cash_user_put_message.rb +2 -1
- data/lib/buildium-ruby/models/save_address_message.rb +23 -3
- data/lib/buildium-ruby/models/save_emergency_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/task_category_message.rb +2 -1
- data/lib/buildium-ruby/models/task_category_put_message.rb +21 -1
- data/lib/buildium-ruby/models/task_category_response_message.rb +3 -2
- data/lib/buildium-ruby/models/task_category_response_message_sub_category.rb +237 -0
- data/lib/buildium-ruby/models/task_category_save_message.rb +21 -1
- data/lib/buildium-ruby/models/task_history_file_message.rb +2 -1
- data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +21 -1
- data/lib/buildium-ruby/models/task_history_message.rb +4 -3
- data/lib/buildium-ruby/models/{user_search_message.rb → task_history_message_created_by_user.rb} +57 -53
- data/lib/buildium-ruby/models/{association_board_member_search_message.rb → task_history_message_last_updated_by_user.rb} +64 -37
- data/lib/buildium-ruby/models/task_history_put_message.rb +21 -1
- data/lib/buildium-ruby/models/task_history_user_message.rb +50 -5
- data/lib/buildium-ruby/models/task_sub_category_message.rb +2 -1
- data/lib/buildium-ruby/models/tax_information_post_message.rb +3 -2
- data/lib/buildium-ruby/models/tax_information_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/tax_information_save_message.rb +3 -2
- data/lib/buildium-ruby/models/tenant_message.rb +5 -4
- data/lib/buildium-ruby/models/tenant_message_address.rb +321 -0
- data/lib/buildium-ruby/models/tenant_message_alternate_address.rb +321 -0
- data/lib/buildium-ruby/models/tenant_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/to_do_task_message.rb +4 -3
- data/lib/buildium-ruby/models/to_do_task_post_message.rb +21 -1
- data/lib/buildium-ruby/models/to_do_task_put_message.rb +21 -1
- data/lib/buildium-ruby/models/unclear_transactions_request.rb +233 -0
- data/lib/buildium-ruby/models/undeposited_funds_message.rb +3 -2
- data/lib/buildium-ruby/models/undeposited_funds_message_general_ledger_transaction.rb +267 -0
- data/lib/buildium-ruby/models/unit_agreement_message.rb +2 -1
- data/lib/buildium-ruby/models/unit_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/update_applicant_group_request.rb +292 -0
- data/lib/buildium-ruby/models/update_applicant_request.rb +313 -0
- data/lib/buildium-ruby/models/update_application_request.rb +265 -0
- data/lib/buildium-ruby/models/update_association_appliance_request.rb +300 -0
- data/lib/buildium-ruby/models/update_association_owner_occupancy_status_request.rb +231 -0
- data/lib/buildium-ruby/models/update_association_owner_request.rb +409 -0
- data/lib/buildium-ruby/models/update_association_ownership_account_request.rb +231 -0
- data/lib/buildium-ruby/models/update_association_preferred_vendors_request.rb +233 -0
- data/lib/buildium-ruby/models/update_association_request.rb +349 -0
- data/lib/buildium-ruby/models/update_association_tenant_request.rb +375 -0
- data/lib/buildium-ruby/models/{tenant_search_message.rb → update_association_unit_request.rb} +93 -92
- data/lib/buildium-ruby/models/update_bank_account_deposit_request.rb +258 -0
- data/lib/buildium-ruby/models/update_bank_account_request.rb +370 -0
- data/lib/buildium-ruby/models/update_bill_request.rb +294 -0
- data/lib/buildium-ruby/models/update_board_member_request.rb +286 -0
- data/lib/buildium-ruby/models/update_budget_request.rb +267 -0
- data/lib/buildium-ruby/models/update_check_for_bank_account_request.rb +282 -0
- data/lib/buildium-ruby/models/update_contact_request_task_request.rb +415 -0
- data/lib/buildium-ruby/models/update_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/update_e_pay_settings_for_association_request.rb +258 -0
- data/lib/buildium-ruby/models/update_file_category_request.rb +251 -0
- data/lib/buildium-ruby/models/update_file_request.rb +275 -0
- data/lib/buildium-ruby/models/update_file_sharing_setting_request.rb +324 -0
- data/lib/buildium-ruby/models/update_general_journal_entry_request.rb +272 -0
- data/lib/buildium-ruby/models/update_gl_account_request.rb +371 -0
- data/lib/buildium-ruby/models/update_lease_charge_request.rb +258 -0
- data/lib/buildium-ruby/models/{general_ledger_transaction_search_message.rb → update_lease_ledger_payment_request.rb} +76 -59
- data/lib/buildium-ruby/models/update_lease_note_request.rb +250 -0
- data/lib/buildium-ruby/models/update_lease_request.rb +330 -0
- data/lib/buildium-ruby/models/update_ownership_account_charge_request.rb +258 -0
- data/lib/buildium-ruby/models/update_ownership_account_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/{ownership_account_outstanding_balance_search_message.rb → update_ownership_account_ledger_payment_request.rb} +84 -64
- data/lib/buildium-ruby/models/update_phone_log_request.rb +299 -0
- data/lib/buildium-ruby/models/update_property_group_request.rb +277 -0
- data/lib/buildium-ruby/models/update_reconciliation_balances_request.rb +261 -0
- data/lib/buildium-ruby/models/update_reconciliation_request.rb +231 -0
- data/lib/buildium-ruby/models/update_rent_schedule_request.rb +297 -0
- data/lib/buildium-ruby/models/update_rental_appliance_request.rb +300 -0
- data/lib/buildium-ruby/models/update_rental_features_request.rb +262 -0
- data/lib/buildium-ruby/models/update_rental_image_request.rb +241 -0
- data/lib/buildium-ruby/models/update_rental_owner_request.rb +362 -0
- data/lib/buildium-ruby/models/update_rental_owner_request_task_contribution_data_request.rb +237 -0
- data/lib/buildium-ruby/models/{rental_owner_request_task_search_message.rb → update_rental_owner_request_task_request.rb} +133 -103
- data/lib/buildium-ruby/models/update_rental_preferred_vendors_request.rb +233 -0
- data/lib/buildium-ruby/models/update_rental_property_request.rb +368 -0
- data/lib/buildium-ruby/models/update_rental_tenant_request.rb +419 -0
- data/lib/buildium-ruby/models/{gl_accounts_search_message.rb → update_rental_unit_features_request.rb} +21 -14
- data/lib/buildium-ruby/models/update_rental_unit_image_request.rb +241 -0
- data/lib/buildium-ruby/models/update_rental_unit_request.rb +360 -0
- data/lib/buildium-ruby/models/{phone_log_search_message.rb → update_resource_request.rb} +119 -79
- data/lib/buildium-ruby/models/update_retail_cash_user_request.rb +231 -0
- data/lib/buildium-ruby/models/update_task_category_request.rb +251 -0
- data/lib/buildium-ruby/models/update_task_history_request.rb +250 -0
- data/lib/buildium-ruby/models/{to_do_task_search_message.rb → update_to_do_task_request.rb} +138 -103
- data/lib/buildium-ruby/models/update_vendor_request.rb +372 -0
- data/lib/buildium-ruby/models/update_work_order_request.rb +364 -0
- data/lib/buildium-ruby/models/upload_task_history_file_request_async_request.rb +250 -0
- data/lib/buildium-ruby/models/{meter_reading_details_search_message.rb → upsert_association_meter_reading_details_async_request.rb} +35 -10
- data/lib/buildium-ruby/models/upsert_listings_async_request.rb +291 -0
- data/lib/buildium-ruby/models/user_message.rb +3 -2
- data/lib/buildium-ruby/models/user_message_user_role.rb +257 -0
- data/lib/buildium-ruby/models/user_role_message.rb +2 -1
- data/lib/buildium-ruby/models/vehicle_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_category_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_category_save_message.rb +21 -1
- data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_credit_line_item_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_credit_line_item_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/vendor_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_credit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_insurance_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_message.rb +6 -5
- data/lib/buildium-ruby/models/vendor_message_address.rb +321 -0
- data/lib/buildium-ruby/models/vendor_message_category.rb +235 -0
- data/lib/buildium-ruby/models/{applicant_group_search_message.rb → vendor_message_tax_information.rb} +66 -52
- data/lib/buildium-ruby/models/vendor_message_vendor_insurance.rb +247 -0
- data/lib/buildium-ruby/models/vendor_post_message.rb +6 -5
- data/lib/buildium-ruby/models/vendor_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/vendor_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/{resident_center_user_search_message.rb → vendor_post_message_tax_information.rb} +60 -48
- data/lib/buildium-ruby/models/vendor_post_message_vendor_insurance.rb +247 -0
- data/lib/buildium-ruby/models/vendor_put_message.rb +6 -5
- data/lib/buildium-ruby/models/{association_search_message.rb → vendor_put_message_tax_information.rb} +68 -60
- data/lib/buildium-ruby/models/vendor_refund_line_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_refund_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_refund_line_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/vendor_refund_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_refund_post_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_tax_information_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/video_link_request_post_message.rb +21 -1
- data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_line_item_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_message.rb +82 -5
- data/lib/buildium-ruby/models/{rental_appliance_search_message.rb → work_order_message_entry_contact.rb} +29 -22
- data/lib/buildium-ruby/models/{rental_search_message.rb → work_order_message_task.rb} +95 -71
- data/lib/buildium-ruby/models/work_order_post_message.rb +17 -4
- data/lib/buildium-ruby/models/work_order_post_message_task.rb +372 -0
- data/lib/buildium-ruby/models/work_order_put_message.rb +16 -3
- data/lib/buildium-ruby/models/work_order_task_message.rb +3 -2
- data/lib/buildium-ruby/models/work_order_task_post_message.rb +21 -1
- data/lib/buildium-ruby/version.rb +1 -1
- data/lib/buildium-ruby.rb +366 -58
- metadata +739 -118
- data/docs/AnnouncementSearchMessage.md +0 -26
- data/docs/ApplicantGroupSearchMessage.md +0 -26
- data/docs/ApplicantSearchMessage.md +0 -32
- data/docs/AssociationApplianceSearchMessage.md +0 -20
- data/docs/AssociationBoardMemberSearchMessage.md +0 -24
- data/docs/AssociationOwnershipAccountSearchMessage.md +0 -30
- data/docs/AssociationSearchMessage.md +0 -28
- data/docs/AssociationUnitSearchMessage.md +0 -22
- data/docs/AssociationUserSearchMessage.md +0 -34
- data/docs/BankAccountCheckSearchMessage.md +0 -20
- data/docs/BankAccountDepositSearchMessage.md +0 -20
- data/docs/BankAccountQuickDepositSearchMessage.md +0 -20
- data/docs/BankAccountSearchMessage.md +0 -22
- data/docs/BankAccountTransactionSearchMessage.md +0 -24
- data/docs/BankAccountTransferSearchMessage.md +0 -20
- data/docs/BankAccountWithdrawalSearchMessage.md +0 -20
- data/docs/BankLockboxDataSearchMessage.md +0 -18
- data/docs/BillSearchMessage.md +0 -32
- data/docs/BudgetSearchMessage.md +0 -22
- data/docs/CancellationToken.md +0 -22
- data/docs/ClientLeadSearchMessage.md +0 -26
- data/docs/ContactRequestTaskSearchMessage.md +0 -40
- data/docs/EmailSearchMessage.md +0 -26
- data/docs/FileSearchMessage.md +0 -30
- data/docs/GLAccountBalanceSearchMessage.md +0 -26
- data/docs/GLAccountsSearchMessage.md +0 -18
- data/docs/GeneralLedgerSearchMessage.md +0 -28
- data/docs/GeneralLedgerTransactionSearchMessage.md +0 -26
- data/docs/LeaseOutstandingBalanceSearchMessage.md +0 -30
- data/docs/LeaseRenewalSearchMessage.md +0 -22
- data/docs/LeaseSearchMessage.md +0 -40
- data/docs/LeaseTransactionSearchMessage.md +0 -22
- data/docs/ListingSearchMessage.md +0 -20
- data/docs/MeterReadingDetailsDeleteSearchMessage.md +0 -20
- data/docs/MeterReadingDetailsPutSearchMessage.md +0 -20
- data/docs/MeterReadingDetailsSearchMessage.md +0 -20
- data/docs/MeterReadingSearchMessage.md +0 -22
- data/docs/NoteSearchMessage.md +0 -22
- data/docs/OwnershipAccountOutstandingBalanceSearchMessage.md +0 -26
- data/docs/PhoneLogSearchMessage.md +0 -32
- data/docs/PropertyGroupSearchMessage.md +0 -20
- data/docs/RentalApplianceSearchMessage.md +0 -20
- data/docs/RentalOwnerRequestTaskSearchMessage.md +0 -40
- data/docs/RentalOwnersSearchMessage.md +0 -30
- data/docs/RentalSearchMessage.md +0 -32
- data/docs/RentalUnitSearchMessage.md +0 -22
- data/docs/ResidentCenterUserSearchMessage.md +0 -26
- data/docs/ResidentRequestTaskSearchMessage.md +0 -42
- data/docs/RetailCashUsersSearchMessage.md +0 -28
- data/docs/SafeWaitHandle.md +0 -20
- data/docs/TaskSearchMessage.md +0 -44
- data/docs/TenantSearchMessage.md +0 -36
- data/docs/ToDoTaskSearchMessage.md +0 -40
- data/docs/UserSearchMessage.md +0 -26
- data/docs/VendorSearchMessage.md +0 -32
- data/docs/VendorTransactionSearchMessage.md +0 -26
- data/docs/WaitHandle.md +0 -20
- data/docs/WorkOrderSearchMessage.md +0 -54
@@ -0,0 +1,271 @@
|
|
1
|
+
=begin
|
2
|
+
#Open API, powered by Buildium
|
3
|
+
|
4
|
+
# # Introduction ### Welcome! Welcome to Buildium’s API—a powerful, RESTful programming interface that lets you leverage valuable Buildium data. Using HTTP requests, you can create integrations with applications that specialize in accounting, lead tracking, and more. Enjoy greater flexibility, transparency, and control over your business! ### What's in this Guide? This guide is full of simple, easy-to-follow instructions that’ll help you use Buildium’s API like a pro. Topics include: * choosing the right resources for your use case * making HTTP requests to any resource * understanding data and response codes <br /> # Getting Started Excited to get going? We’ll walk you through the setup process. > **Note:** To take advantage of the Buildium Open API you must have a <a target=\"_blank\" href=\"https://www.buildium.com/pricing/\">**Premium Subscription**</a>. ## Account Configuration Before you can use Buildium’s API, you’ll need to make some tweaks to your account settings. <br /> ### Enabling the API In order to start creating your keys and making requests, you’ll need to enable the API. > **Tip:** You’ll need an administrator user role with access to ***Application settings*** to set things up properly. <br /> **Let's Begin!** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Application settings***. 3. Under ***System preferences***, click ***Api settings***. A modal will appear. 4. Click the ***Open API*** toggle to turn it on. Then click ***Save***. <video width=\"100%\" autoplay loop muted> <source src=\"enable_open_api.mp4\" type=\"video/mp4\" /> </video> Congratulations! Your account's enabled. Now, you’re ready to start managing API keys. <br /> <br /> If you are having issues enabling the API within your account you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## API Keys Account-level API keys authenticate every request and keep things secure. API keys have two components: a “client ID” and a “secret”. * **Client IDs** are similar to usernames. They’re used to identify your Buildium account and are safe to share. * **Secrets** are similar to passwords. They must be kept confidential. Whenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code. > **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)! ## Creating API Keys Now that the Open APi is enabled, you’ll be able to create API keys. You’re almost there! > **Tip:** You’ll need an administrator user role to complete this step, too. <br /> **How to create an API key** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Developer Tools***. The page will open automatically. 3. Click the ***Create API Key*** button. A modal will appear. 4. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request. Once finished, click **Next**. 5. Now, choose which pieces of Buildium data you want this API key to have access to by marking the corresponding checkboxes. Once finished, click **Next**. 6. You successfully created an API key! > **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch. <br /> <video width=\"100%\" autoplay loop muted> <source src=\"generate_open_api_key.mp4\" type=\"video/mp4\" /> </video> <br /> You have now successfully created an API key and have everything you need to send requests to the Buildium API! Before moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping your Keys Safe](#section/Getting-Started/Keeping-your-Keys-Safe) for an overview on securely storing your API keys. <br /> If you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## Keeping API Keys Safe Based on their permissions, API keys could have full access to your account’s Buildium data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized. ### Recommended Practices - Avoid hard-coding client IDs and secrets inside source files. - Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms. - Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Buildium entities or to read-only access (GET resources only). - Avoid sharing client IDs and secrets across public, insecure platforms. - Establish a process to regularly recreate your client IDs and secrets from your Buildium account. <br /> <br /> ## How to Make a Request You’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes! > **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. <br /> ### Let's Get Started! #### Step 1: Get Your API Key If you haven't yet done so, obtain your API key client ID and secret from your Buildium account. Your API key is how the Buildium API authenticates requests and ensures only you can access your data. See [Getting Started](#section/Getting-Started) for a deeper dive into enabling the API and creating keys. #### Step 2: Install a HTTP client The Buildium API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Buildium API without writing code. We’ll use Postman for our example below to demonstrate sending an API request. #### Step 3: Make a Sample Request Let's dive in and make a simple request to get all the [Rental Properties](#operation/RentalsGetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Buildium
|
17
|
+
class BillPatchMessage
|
18
|
+
# The date that an invoice was received. This date typically corresponds with a Bill Received Date, Invoice Date, or Invoice Received Date from an invoice. The date must be formatted as YYYY-MM-DD.
|
19
|
+
attr_accessor :date
|
20
|
+
|
21
|
+
# The date that payment for a bill is due to the vendor. The date must be formatted as YYYY-MM-DD.
|
22
|
+
attr_accessor :due_date
|
23
|
+
|
24
|
+
# A description of what the invoice was for. The value cannot exceed 245 characters.
|
25
|
+
attr_accessor :memo
|
26
|
+
|
27
|
+
# The unique identifier of the vendor or supplier who sent you an invoice.
|
28
|
+
attr_accessor :vendor_id
|
29
|
+
|
30
|
+
# The reference or invoice number that the vendor assigned to the invoice. The value cannot exceed 40 characters.
|
31
|
+
attr_accessor :reference_number
|
32
|
+
|
33
|
+
# A collection of line items associated with the bill.
|
34
|
+
attr_accessor :lines
|
35
|
+
|
36
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
37
|
+
def self.attribute_map
|
38
|
+
{
|
39
|
+
:'date' => :'Date',
|
40
|
+
:'due_date' => :'DueDate',
|
41
|
+
:'memo' => :'Memo',
|
42
|
+
:'vendor_id' => :'VendorId',
|
43
|
+
:'reference_number' => :'ReferenceNumber',
|
44
|
+
:'lines' => :'Lines'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Returns all the JSON keys this model knows about
|
49
|
+
def self.acceptable_attributes
|
50
|
+
attribute_map.values
|
51
|
+
end
|
52
|
+
|
53
|
+
# Attribute type mapping.
|
54
|
+
def self.openapi_types
|
55
|
+
{
|
56
|
+
:'date' => :'Date',
|
57
|
+
:'due_date' => :'Date',
|
58
|
+
:'memo' => :'String',
|
59
|
+
:'vendor_id' => :'Integer',
|
60
|
+
:'reference_number' => :'String',
|
61
|
+
:'lines' => :'Array<BillLineItemPatchMessage>'
|
62
|
+
}
|
63
|
+
end
|
64
|
+
|
65
|
+
# List of attributes with nullable: true
|
66
|
+
def self.openapi_nullable
|
67
|
+
Set.new([
|
68
|
+
])
|
69
|
+
end
|
70
|
+
|
71
|
+
# Initializes the object
|
72
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
73
|
+
def initialize(attributes = {})
|
74
|
+
if (!attributes.is_a?(Hash))
|
75
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Buildium::BillPatchMessage` initialize method"
|
76
|
+
end
|
77
|
+
|
78
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
79
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
80
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
81
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Buildium::BillPatchMessage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
82
|
+
end
|
83
|
+
h[k.to_sym] = v
|
84
|
+
}
|
85
|
+
|
86
|
+
if attributes.key?(:'date')
|
87
|
+
self.date = attributes[:'date']
|
88
|
+
end
|
89
|
+
|
90
|
+
if attributes.key?(:'due_date')
|
91
|
+
self.due_date = attributes[:'due_date']
|
92
|
+
end
|
93
|
+
|
94
|
+
if attributes.key?(:'memo')
|
95
|
+
self.memo = attributes[:'memo']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes.key?(:'vendor_id')
|
99
|
+
self.vendor_id = attributes[:'vendor_id']
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes.key?(:'reference_number')
|
103
|
+
self.reference_number = attributes[:'reference_number']
|
104
|
+
end
|
105
|
+
|
106
|
+
if attributes.key?(:'lines')
|
107
|
+
if (value = attributes[:'lines']).is_a?(Array)
|
108
|
+
self.lines = value
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
114
|
+
# @return Array for valid properties with the reasons
|
115
|
+
def list_invalid_properties
|
116
|
+
invalid_properties = Array.new
|
117
|
+
invalid_properties
|
118
|
+
end
|
119
|
+
|
120
|
+
# Check to see if the all the properties in the model are valid
|
121
|
+
# @return true if the model is valid
|
122
|
+
def valid?
|
123
|
+
true
|
124
|
+
end
|
125
|
+
|
126
|
+
# Checks equality by comparing each attribute.
|
127
|
+
# @param [Object] Object to be compared
|
128
|
+
def ==(o)
|
129
|
+
return true if self.equal?(o)
|
130
|
+
self.class == o.class &&
|
131
|
+
date == o.date &&
|
132
|
+
due_date == o.due_date &&
|
133
|
+
memo == o.memo &&
|
134
|
+
vendor_id == o.vendor_id &&
|
135
|
+
reference_number == o.reference_number &&
|
136
|
+
lines == o.lines
|
137
|
+
end
|
138
|
+
|
139
|
+
# @see the `==` method
|
140
|
+
# @param [Object] Object to be compared
|
141
|
+
def eql?(o)
|
142
|
+
self == o
|
143
|
+
end
|
144
|
+
|
145
|
+
# Calculates hash code according to all attributes.
|
146
|
+
# @return [Integer] Hash code
|
147
|
+
def hash
|
148
|
+
[date, due_date, memo, vendor_id, reference_number, lines].hash
|
149
|
+
end
|
150
|
+
|
151
|
+
# Builds the object from hash
|
152
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
153
|
+
# @return [Object] Returns the model itself
|
154
|
+
def self.build_from_hash(attributes)
|
155
|
+
new.build_from_hash(attributes)
|
156
|
+
end
|
157
|
+
|
158
|
+
# Builds the object from hash
|
159
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
160
|
+
# @return [Object] Returns the model itself
|
161
|
+
def build_from_hash(attributes)
|
162
|
+
return nil unless attributes.is_a?(Hash)
|
163
|
+
attributes = attributes.transform_keys(&:to_sym)
|
164
|
+
self.class.openapi_types.each_pair do |key, type|
|
165
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
166
|
+
self.send("#{key}=", nil)
|
167
|
+
elsif type =~ /\AArray<(.*)>/i
|
168
|
+
# check to ensure the input is an array given that the attribute
|
169
|
+
# is documented as an array but the input is not
|
170
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
171
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
172
|
+
end
|
173
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
174
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
self
|
179
|
+
end
|
180
|
+
|
181
|
+
# Deserializes the data based on type
|
182
|
+
# @param string type Data type
|
183
|
+
# @param string value Value to be deserialized
|
184
|
+
# @return [Object] Deserialized data
|
185
|
+
def _deserialize(type, value)
|
186
|
+
case type.to_sym
|
187
|
+
when :Time
|
188
|
+
Time.parse(value)
|
189
|
+
when :Date
|
190
|
+
Date.parse(value)
|
191
|
+
when :String
|
192
|
+
value.to_s
|
193
|
+
when :Integer
|
194
|
+
value.to_i
|
195
|
+
when :Float
|
196
|
+
value.to_f
|
197
|
+
when :Boolean
|
198
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
199
|
+
true
|
200
|
+
else
|
201
|
+
false
|
202
|
+
end
|
203
|
+
when :Object
|
204
|
+
# generic object (usually a Hash), return directly
|
205
|
+
value
|
206
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
207
|
+
inner_type = Regexp.last_match[:inner_type]
|
208
|
+
value.map { |v| _deserialize(inner_type, v) }
|
209
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
210
|
+
k_type = Regexp.last_match[:k_type]
|
211
|
+
v_type = Regexp.last_match[:v_type]
|
212
|
+
{}.tap do |hash|
|
213
|
+
value.each do |k, v|
|
214
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
else # model
|
218
|
+
# models (e.g. Pet) or oneOf
|
219
|
+
klass = Buildium.const_get(type)
|
220
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# Returns the string representation of the object
|
225
|
+
# @return [String] String presentation of the object
|
226
|
+
def to_s
|
227
|
+
to_hash.to_s
|
228
|
+
end
|
229
|
+
|
230
|
+
# to_body is an alias to to_hash (backward compatibility)
|
231
|
+
# @return [Hash] Returns the object in the form of hash
|
232
|
+
def to_body
|
233
|
+
to_hash
|
234
|
+
end
|
235
|
+
|
236
|
+
# Returns the object in the form of hash
|
237
|
+
# @return [Hash] Returns the object in the form of hash
|
238
|
+
def to_hash
|
239
|
+
hash = {}
|
240
|
+
self.class.attribute_map.each_pair do |attr, param|
|
241
|
+
value = self.send(attr)
|
242
|
+
if value.nil?
|
243
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
244
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
245
|
+
end
|
246
|
+
|
247
|
+
hash[param] = _to_hash(value)
|
248
|
+
end
|
249
|
+
hash
|
250
|
+
end
|
251
|
+
|
252
|
+
# Outputs non-array value in the form of hash
|
253
|
+
# For object, use to_hash. Otherwise, just return the value
|
254
|
+
# @param [Object] value Any valid value
|
255
|
+
# @return [Hash] Returns the value in the form of hash
|
256
|
+
def _to_hash(value)
|
257
|
+
if value.is_a?(Array)
|
258
|
+
value.compact.map { |v| _to_hash(v) }
|
259
|
+
elsif value.is_a?(Hash)
|
260
|
+
{}.tap do |hash|
|
261
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
262
|
+
end
|
263
|
+
elsif value.respond_to? :to_hash
|
264
|
+
value.to_hash
|
265
|
+
else
|
266
|
+
value
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
end
|
271
|
+
end
|
@@ -162,7 +162,7 @@ module Buildium
|
|
162
162
|
# @param [Hash] attributes Model attributes in the form of hash
|
163
163
|
# @return [Object] Returns the model itself
|
164
164
|
def build_from_hash(attributes)
|
165
|
-
return unless attributes.is_a?(Hash)
|
165
|
+
return nil unless attributes.is_a?(Hash)
|
166
166
|
attributes = attributes.transform_keys(&:to_sym)
|
167
167
|
self.class.openapi_types.each_pair do |key, type|
|
168
168
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
@@ -269,5 +269,6 @@ module Buildium
|
|
269
269
|
value
|
270
270
|
end
|
271
271
|
end
|
272
|
+
|
272
273
|
end
|
273
274
|
end
|
@@ -41,7 +41,7 @@ module Buildium
|
|
41
41
|
# Attribute type mapping.
|
42
42
|
def self.openapi_types
|
43
43
|
{
|
44
|
-
:'accounting_entity' => :'
|
44
|
+
:'accounting_entity' => :'BillPaymentLineMessageAccountingEntity',
|
45
45
|
:'gl_account_id' => :'Integer',
|
46
46
|
:'amount' => :'Float'
|
47
47
|
}
|
@@ -127,7 +127,7 @@ module Buildium
|
|
127
127
|
# @param [Hash] attributes Model attributes in the form of hash
|
128
128
|
# @return [Object] Returns the model itself
|
129
129
|
def build_from_hash(attributes)
|
130
|
-
return unless attributes.is_a?(Hash)
|
130
|
+
return nil unless attributes.is_a?(Hash)
|
131
131
|
attributes = attributes.transform_keys(&:to_sym)
|
132
132
|
self.class.openapi_types.each_pair do |key, type|
|
133
133
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
@@ -234,5 +234,6 @@ module Buildium
|
|
234
234
|
value
|
235
235
|
end
|
236
236
|
end
|
237
|
+
|
237
238
|
end
|
238
239
|
end
|
@@ -0,0 +1,281 @@
|
|
1
|
+
=begin
|
2
|
+
#Open API, powered by Buildium
|
3
|
+
|
4
|
+
# # Introduction ### Welcome! Welcome to Buildium’s API—a powerful, RESTful programming interface that lets you leverage valuable Buildium data. Using HTTP requests, you can create integrations with applications that specialize in accounting, lead tracking, and more. Enjoy greater flexibility, transparency, and control over your business! ### What's in this Guide? This guide is full of simple, easy-to-follow instructions that’ll help you use Buildium’s API like a pro. Topics include: * choosing the right resources for your use case * making HTTP requests to any resource * understanding data and response codes <br /> # Getting Started Excited to get going? We’ll walk you through the setup process. > **Note:** To take advantage of the Buildium Open API you must have a <a target=\"_blank\" href=\"https://www.buildium.com/pricing/\">**Premium Subscription**</a>. ## Account Configuration Before you can use Buildium’s API, you’ll need to make some tweaks to your account settings. <br /> ### Enabling the API In order to start creating your keys and making requests, you’ll need to enable the API. > **Tip:** You’ll need an administrator user role with access to ***Application settings*** to set things up properly. <br /> **Let's Begin!** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Application settings***. 3. Under ***System preferences***, click ***Api settings***. A modal will appear. 4. Click the ***Open API*** toggle to turn it on. Then click ***Save***. <video width=\"100%\" autoplay loop muted> <source src=\"enable_open_api.mp4\" type=\"video/mp4\" /> </video> Congratulations! Your account's enabled. Now, you’re ready to start managing API keys. <br /> <br /> If you are having issues enabling the API within your account you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## API Keys Account-level API keys authenticate every request and keep things secure. API keys have two components: a “client ID” and a “secret”. * **Client IDs** are similar to usernames. They’re used to identify your Buildium account and are safe to share. * **Secrets** are similar to passwords. They must be kept confidential. Whenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code. > **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)! ## Creating API Keys Now that the Open APi is enabled, you’ll be able to create API keys. You’re almost there! > **Tip:** You’ll need an administrator user role to complete this step, too. <br /> **How to create an API key** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Developer Tools***. The page will open automatically. 3. Click the ***Create API Key*** button. A modal will appear. 4. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request. Once finished, click **Next**. 5. Now, choose which pieces of Buildium data you want this API key to have access to by marking the corresponding checkboxes. Once finished, click **Next**. 6. You successfully created an API key! > **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch. <br /> <video width=\"100%\" autoplay loop muted> <source src=\"generate_open_api_key.mp4\" type=\"video/mp4\" /> </video> <br /> You have now successfully created an API key and have everything you need to send requests to the Buildium API! Before moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping your Keys Safe](#section/Getting-Started/Keeping-your-Keys-Safe) for an overview on securely storing your API keys. <br /> If you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## Keeping API Keys Safe Based on their permissions, API keys could have full access to your account’s Buildium data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized. ### Recommended Practices - Avoid hard-coding client IDs and secrets inside source files. - Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms. - Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Buildium entities or to read-only access (GET resources only). - Avoid sharing client IDs and secrets across public, insecure platforms. - Establish a process to regularly recreate your client IDs and secrets from your Buildium account. <br /> <br /> ## How to Make a Request You’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes! > **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. <br /> ### Let's Get Started! #### Step 1: Get Your API Key If you haven't yet done so, obtain your API key client ID and secret from your Buildium account. Your API key is how the Buildium API authenticates requests and ensures only you can access your data. See [Getting Started](#section/Getting-Started) for a deeper dive into enabling the API and creating keys. #### Step 2: Install a HTTP client The Buildium API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Buildium API without writing code. We’ll use Postman for our example below to demonstrate sending an API request. #### Step 3: Make a Sample Request Let's dive in and make a simple request to get all the [Rental Properties](#operation/RentalsGetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Buildium
|
17
|
+
# The accounting entity associated with the bill line item.
|
18
|
+
class BillPaymentLineMessageAccountingEntity
|
19
|
+
# The accounting entity unique identifier.
|
20
|
+
attr_accessor :id
|
21
|
+
|
22
|
+
# Indicates the type of the accounting entity.
|
23
|
+
attr_accessor :accounting_entity_type
|
24
|
+
|
25
|
+
# The unit unique identifier for the accounting entity
|
26
|
+
attr_accessor :unit_id
|
27
|
+
|
28
|
+
class EnumAttributeValidator
|
29
|
+
attr_reader :datatype
|
30
|
+
attr_reader :allowable_values
|
31
|
+
|
32
|
+
def initialize(datatype, allowable_values)
|
33
|
+
@allowable_values = allowable_values.map do |value|
|
34
|
+
case datatype.to_s
|
35
|
+
when /Integer/i
|
36
|
+
value.to_i
|
37
|
+
when /Float/i
|
38
|
+
value.to_f
|
39
|
+
else
|
40
|
+
value
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def valid?(value)
|
46
|
+
!value || allowable_values.include?(value)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
51
|
+
def self.attribute_map
|
52
|
+
{
|
53
|
+
:'id' => :'Id',
|
54
|
+
:'accounting_entity_type' => :'AccountingEntityType',
|
55
|
+
:'unit_id' => :'UnitId'
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
59
|
+
# Returns all the JSON keys this model knows about
|
60
|
+
def self.acceptable_attributes
|
61
|
+
attribute_map.values
|
62
|
+
end
|
63
|
+
|
64
|
+
# Attribute type mapping.
|
65
|
+
def self.openapi_types
|
66
|
+
{
|
67
|
+
:'id' => :'Integer',
|
68
|
+
:'accounting_entity_type' => :'String',
|
69
|
+
:'unit_id' => :'Integer'
|
70
|
+
}
|
71
|
+
end
|
72
|
+
|
73
|
+
# List of attributes with nullable: true
|
74
|
+
def self.openapi_nullable
|
75
|
+
Set.new([
|
76
|
+
])
|
77
|
+
end
|
78
|
+
|
79
|
+
# List of class defined in allOf (OpenAPI v3)
|
80
|
+
def self.openapi_all_of
|
81
|
+
[
|
82
|
+
:'BillPaymentAccountingEntityMessage'
|
83
|
+
]
|
84
|
+
end
|
85
|
+
|
86
|
+
# Initializes the object
|
87
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
+
def initialize(attributes = {})
|
89
|
+
if (!attributes.is_a?(Hash))
|
90
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Buildium::BillPaymentLineMessageAccountingEntity` initialize method"
|
91
|
+
end
|
92
|
+
|
93
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
94
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
95
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Buildium::BillPaymentLineMessageAccountingEntity`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
97
|
+
end
|
98
|
+
h[k.to_sym] = v
|
99
|
+
}
|
100
|
+
|
101
|
+
if attributes.key?(:'id')
|
102
|
+
self.id = attributes[:'id']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.key?(:'accounting_entity_type')
|
106
|
+
self.accounting_entity_type = attributes[:'accounting_entity_type']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.key?(:'unit_id')
|
110
|
+
self.unit_id = attributes[:'unit_id']
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
115
|
+
# @return Array for valid properties with the reasons
|
116
|
+
def list_invalid_properties
|
117
|
+
invalid_properties = Array.new
|
118
|
+
invalid_properties
|
119
|
+
end
|
120
|
+
|
121
|
+
# Check to see if the all the properties in the model are valid
|
122
|
+
# @return true if the model is valid
|
123
|
+
def valid?
|
124
|
+
accounting_entity_type_validator = EnumAttributeValidator.new('String', ["Association", "Rental", "Company"])
|
125
|
+
return false unless accounting_entity_type_validator.valid?(@accounting_entity_type)
|
126
|
+
true
|
127
|
+
end
|
128
|
+
|
129
|
+
# Custom attribute writer method checking allowed values (enum).
|
130
|
+
# @param [Object] accounting_entity_type Object to be assigned
|
131
|
+
def accounting_entity_type=(accounting_entity_type)
|
132
|
+
validator = EnumAttributeValidator.new('String', ["Association", "Rental", "Company"])
|
133
|
+
unless validator.valid?(accounting_entity_type)
|
134
|
+
fail ArgumentError, "invalid value #{ accounting_entity_type.inspect } for \"accounting_entity_type\", must be one of #{validator.allowable_values}."
|
135
|
+
end
|
136
|
+
@accounting_entity_type = accounting_entity_type
|
137
|
+
end
|
138
|
+
|
139
|
+
# Checks equality by comparing each attribute.
|
140
|
+
# @param [Object] Object to be compared
|
141
|
+
def ==(o)
|
142
|
+
return true if self.equal?(o)
|
143
|
+
self.class == o.class &&
|
144
|
+
id == o.id &&
|
145
|
+
accounting_entity_type == o.accounting_entity_type &&
|
146
|
+
unit_id == o.unit_id
|
147
|
+
end
|
148
|
+
|
149
|
+
# @see the `==` method
|
150
|
+
# @param [Object] Object to be compared
|
151
|
+
def eql?(o)
|
152
|
+
self == o
|
153
|
+
end
|
154
|
+
|
155
|
+
# Calculates hash code according to all attributes.
|
156
|
+
# @return [Integer] Hash code
|
157
|
+
def hash
|
158
|
+
[id, accounting_entity_type, unit_id].hash
|
159
|
+
end
|
160
|
+
|
161
|
+
# Builds the object from hash
|
162
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
163
|
+
# @return [Object] Returns the model itself
|
164
|
+
def self.build_from_hash(attributes)
|
165
|
+
new.build_from_hash(attributes)
|
166
|
+
end
|
167
|
+
|
168
|
+
# Builds the object from hash
|
169
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
170
|
+
# @return [Object] Returns the model itself
|
171
|
+
def build_from_hash(attributes)
|
172
|
+
return nil unless attributes.is_a?(Hash)
|
173
|
+
attributes = attributes.transform_keys(&:to_sym)
|
174
|
+
self.class.openapi_types.each_pair do |key, type|
|
175
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
176
|
+
self.send("#{key}=", nil)
|
177
|
+
elsif type =~ /\AArray<(.*)>/i
|
178
|
+
# check to ensure the input is an array given that the attribute
|
179
|
+
# is documented as an array but the input is not
|
180
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
181
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
182
|
+
end
|
183
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
184
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
self
|
189
|
+
end
|
190
|
+
|
191
|
+
# Deserializes the data based on type
|
192
|
+
# @param string type Data type
|
193
|
+
# @param string value Value to be deserialized
|
194
|
+
# @return [Object] Deserialized data
|
195
|
+
def _deserialize(type, value)
|
196
|
+
case type.to_sym
|
197
|
+
when :Time
|
198
|
+
Time.parse(value)
|
199
|
+
when :Date
|
200
|
+
Date.parse(value)
|
201
|
+
when :String
|
202
|
+
value.to_s
|
203
|
+
when :Integer
|
204
|
+
value.to_i
|
205
|
+
when :Float
|
206
|
+
value.to_f
|
207
|
+
when :Boolean
|
208
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
209
|
+
true
|
210
|
+
else
|
211
|
+
false
|
212
|
+
end
|
213
|
+
when :Object
|
214
|
+
# generic object (usually a Hash), return directly
|
215
|
+
value
|
216
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
217
|
+
inner_type = Regexp.last_match[:inner_type]
|
218
|
+
value.map { |v| _deserialize(inner_type, v) }
|
219
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
220
|
+
k_type = Regexp.last_match[:k_type]
|
221
|
+
v_type = Regexp.last_match[:v_type]
|
222
|
+
{}.tap do |hash|
|
223
|
+
value.each do |k, v|
|
224
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
225
|
+
end
|
226
|
+
end
|
227
|
+
else # model
|
228
|
+
# models (e.g. Pet) or oneOf
|
229
|
+
klass = Buildium.const_get(type)
|
230
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# Returns the string representation of the object
|
235
|
+
# @return [String] String presentation of the object
|
236
|
+
def to_s
|
237
|
+
to_hash.to_s
|
238
|
+
end
|
239
|
+
|
240
|
+
# to_body is an alias to to_hash (backward compatibility)
|
241
|
+
# @return [Hash] Returns the object in the form of hash
|
242
|
+
def to_body
|
243
|
+
to_hash
|
244
|
+
end
|
245
|
+
|
246
|
+
# Returns the object in the form of hash
|
247
|
+
# @return [Hash] Returns the object in the form of hash
|
248
|
+
def to_hash
|
249
|
+
hash = {}
|
250
|
+
self.class.attribute_map.each_pair do |attr, param|
|
251
|
+
value = self.send(attr)
|
252
|
+
if value.nil?
|
253
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
254
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
255
|
+
end
|
256
|
+
|
257
|
+
hash[param] = _to_hash(value)
|
258
|
+
end
|
259
|
+
hash
|
260
|
+
end
|
261
|
+
|
262
|
+
# Outputs non-array value in the form of hash
|
263
|
+
# For object, use to_hash. Otherwise, just return the value
|
264
|
+
# @param [Object] value Any valid value
|
265
|
+
# @return [Hash] Returns the value in the form of hash
|
266
|
+
def _to_hash(value)
|
267
|
+
if value.is_a?(Array)
|
268
|
+
value.compact.map { |v| _to_hash(v) }
|
269
|
+
elsif value.is_a?(Hash)
|
270
|
+
{}.tap do |hash|
|
271
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
272
|
+
end
|
273
|
+
elsif value.respond_to? :to_hash
|
274
|
+
value.to_hash
|
275
|
+
else
|
276
|
+
value
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
end
|
281
|
+
end
|
@@ -127,7 +127,7 @@ module Buildium
|
|
127
127
|
# @param [Hash] attributes Model attributes in the form of hash
|
128
128
|
# @return [Object] Returns the model itself
|
129
129
|
def build_from_hash(attributes)
|
130
|
-
return unless attributes.is_a?(Hash)
|
130
|
+
return nil unless attributes.is_a?(Hash)
|
131
131
|
attributes = attributes.transform_keys(&:to_sym)
|
132
132
|
self.class.openapi_types.each_pair do |key, type|
|
133
133
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
@@ -234,5 +234,6 @@ module Buildium
|
|
234
234
|
value
|
235
235
|
end
|
236
236
|
end
|
237
|
+
|
237
238
|
end
|
238
239
|
end
|
@@ -183,7 +183,7 @@ module Buildium
|
|
183
183
|
# @param [Hash] attributes Model attributes in the form of hash
|
184
184
|
# @return [Object] Returns the model itself
|
185
185
|
def build_from_hash(attributes)
|
186
|
-
return unless attributes.is_a?(Hash)
|
186
|
+
return nil unless attributes.is_a?(Hash)
|
187
187
|
attributes = attributes.transform_keys(&:to_sym)
|
188
188
|
self.class.openapi_types.each_pair do |key, type|
|
189
189
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
@@ -290,5 +290,6 @@ module Buildium
|
|
290
290
|
value
|
291
291
|
end
|
292
292
|
end
|
293
|
+
|
293
294
|
end
|
294
295
|
end
|
@@ -164,7 +164,7 @@ module Buildium
|
|
164
164
|
# @param [Hash] attributes Model attributes in the form of hash
|
165
165
|
# @return [Object] Returns the model itself
|
166
166
|
def build_from_hash(attributes)
|
167
|
-
return unless attributes.is_a?(Hash)
|
167
|
+
return nil unless attributes.is_a?(Hash)
|
168
168
|
attributes = attributes.transform_keys(&:to_sym)
|
169
169
|
self.class.openapi_types.each_pair do |key, type|
|
170
170
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
@@ -271,5 +271,6 @@ module Buildium
|
|
271
271
|
value
|
272
272
|
end
|
273
273
|
end
|
274
|
+
|
274
275
|
end
|
275
276
|
end
|
@@ -190,7 +190,7 @@ module Buildium
|
|
190
190
|
# @param [Hash] attributes Model attributes in the form of hash
|
191
191
|
# @return [Object] Returns the model itself
|
192
192
|
def build_from_hash(attributes)
|
193
|
-
return unless attributes.is_a?(Hash)
|
193
|
+
return nil unless attributes.is_a?(Hash)
|
194
194
|
attributes = attributes.transform_keys(&:to_sym)
|
195
195
|
self.class.openapi_types.each_pair do |key, type|
|
196
196
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
@@ -297,5 +297,6 @@ module Buildium
|
|
297
297
|
value
|
298
298
|
end
|
299
299
|
end
|
300
|
+
|
300
301
|
end
|
301
302
|
end
|