xero-ruby 2.0.3 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +183 -101
  3. data/build_notes.md +45 -4
  4. data/docs/accounting/Account.md +1 -1
  5. data/docs/accounting/AccountingApi.md +4 -1
  6. data/docs/accounting/AccountsPayable.md +2 -2
  7. data/docs/accounting/AccountsReceivable.md +2 -2
  8. data/docs/accounting/Allocation.md +1 -1
  9. data/docs/accounting/Attachment.md +1 -1
  10. data/docs/accounting/BankTransaction.md +6 -6
  11. data/docs/accounting/BankTransfer.md +3 -3
  12. data/docs/accounting/BatchPayment.md +2 -2
  13. data/docs/accounting/BrandingTheme.md +1 -1
  14. data/docs/accounting/Contact.md +2 -2
  15. data/docs/accounting/CreditNote.md +6 -6
  16. data/docs/accounting/Employee.md +1 -1
  17. data/docs/accounting/ExpenseClaim.md +4 -4
  18. data/docs/accounting/HistoryRecord.md +1 -1
  19. data/docs/accounting/Invoice.md +12 -10
  20. data/docs/accounting/Item.md +3 -3
  21. data/docs/accounting/Journal.md +1 -1
  22. data/docs/accounting/JournalLine.md +3 -3
  23. data/docs/accounting/LineItem.md +6 -6
  24. data/docs/accounting/LinkedTransaction.md +1 -1
  25. data/docs/accounting/ManualJournal.md +1 -1
  26. data/docs/accounting/ManualJournalLine.md +2 -2
  27. data/docs/accounting/Organisation.md +1 -1
  28. data/docs/accounting/Overpayment.md +6 -6
  29. data/docs/accounting/Payment.md +3 -3
  30. data/docs/accounting/Prepayment.md +6 -6
  31. data/docs/accounting/Purchase.md +1 -1
  32. data/docs/accounting/PurchaseOrder.md +6 -6
  33. data/docs/accounting/Quote.md +5 -5
  34. data/docs/accounting/Receipt.md +4 -4
  35. data/docs/accounting/RepeatingInvoice.md +3 -3
  36. data/docs/accounting/Report.md +1 -1
  37. data/docs/accounting/ReportWithRow.md +1 -1
  38. data/docs/accounting/TaxComponent.md +1 -1
  39. data/docs/accounting/TaxRate.md +2 -2
  40. data/docs/accounting/TenNinetyNineContact.md +13 -13
  41. data/docs/accounting/User.md +1 -1
  42. data/docs/assets/Asset.md +3 -3
  43. data/docs/assets/AssetApi.md +6 -6
  44. data/docs/assets/BookDepreciationDetail.md +6 -6
  45. data/docs/assets/BookDepreciationSetting.md +1 -1
  46. data/docs/projects/Amount.md +1 -1
  47. data/docs/projects/ProjectCreateOrUpdate.md +1 -1
  48. data/lib/xero-ruby.rb +1 -1
  49. data/lib/xero-ruby/api/accounting_api.rb +1509 -1
  50. data/lib/xero-ruby/api/asset_api.rb +49 -7
  51. data/lib/xero-ruby/api/project_api.rb +92 -1
  52. data/lib/xero-ruby/api_client.rb +36 -3
  53. data/lib/xero-ruby/api_error.rb +1 -1
  54. data/lib/xero-ruby/configuration.rb +2 -2
  55. data/lib/xero-ruby/models/accounting/account.rb +2 -18
  56. data/lib/xero-ruby/models/accounting/account_type.rb +1 -1
  57. data/lib/xero-ruby/models/accounting/accounts.rb +2 -2
  58. data/lib/xero-ruby/models/accounting/accounts_payable.rb +2 -2
  59. data/lib/xero-ruby/models/accounting/accounts_receivable.rb +2 -2
  60. data/lib/xero-ruby/models/accounting/address.rb +2 -2
  61. data/lib/xero-ruby/models/accounting/allocation.rb +2 -2
  62. data/lib/xero-ruby/models/accounting/allocations.rb +2 -2
  63. data/lib/xero-ruby/models/accounting/attachment.rb +3 -3
  64. data/lib/xero-ruby/models/accounting/attachments.rb +2 -2
  65. data/lib/xero-ruby/models/accounting/balances.rb +2 -2
  66. data/lib/xero-ruby/models/accounting/bank_transaction.rb +2 -7
  67. data/lib/xero-ruby/models/accounting/bank_transactions.rb +2 -2
  68. data/lib/xero-ruby/models/accounting/bank_transfer.rb +2 -2
  69. data/lib/xero-ruby/models/accounting/bank_transfers.rb +2 -2
  70. data/lib/xero-ruby/models/accounting/batch_payment.rb +2 -17
  71. data/lib/xero-ruby/models/accounting/batch_payment_details.rb +2 -2
  72. data/lib/xero-ruby/models/accounting/batch_payments.rb +2 -2
  73. data/lib/xero-ruby/models/accounting/bill.rb +2 -2
  74. data/lib/xero-ruby/models/accounting/branding_theme.rb +2 -2
  75. data/lib/xero-ruby/models/accounting/branding_themes.rb +2 -2
  76. data/lib/xero-ruby/models/accounting/cis_org_setting.rb +2 -2
  77. data/lib/xero-ruby/models/accounting/cis_setting.rb +2 -2
  78. data/lib/xero-ruby/models/accounting/cis_settings.rb +2 -2
  79. data/lib/xero-ruby/models/accounting/contact.rb +2 -2
  80. data/lib/xero-ruby/models/accounting/contact_group.rb +2 -2
  81. data/lib/xero-ruby/models/accounting/contact_groups.rb +2 -2
  82. data/lib/xero-ruby/models/accounting/contact_person.rb +2 -2
  83. data/lib/xero-ruby/models/accounting/contacts.rb +2 -2
  84. data/lib/xero-ruby/models/accounting/country_code.rb +1 -1
  85. data/lib/xero-ruby/models/accounting/credit_note.rb +2 -2
  86. data/lib/xero-ruby/models/accounting/credit_notes.rb +2 -2
  87. data/lib/xero-ruby/models/accounting/currencies.rb +2 -2
  88. data/lib/xero-ruby/models/accounting/currency.rb +2 -2
  89. data/lib/xero-ruby/models/accounting/currency_code.rb +5 -3
  90. data/lib/xero-ruby/models/accounting/element.rb +2 -2
  91. data/lib/xero-ruby/models/accounting/employee.rb +5 -4
  92. data/lib/xero-ruby/models/accounting/employees.rb +2 -2
  93. data/lib/xero-ruby/models/accounting/error.rb +2 -2
  94. data/lib/xero-ruby/models/accounting/expense_claim.rb +2 -2
  95. data/lib/xero-ruby/models/accounting/expense_claims.rb +2 -2
  96. data/lib/xero-ruby/models/accounting/external_link.rb +2 -2
  97. data/lib/xero-ruby/models/accounting/history_record.rb +2 -2
  98. data/lib/xero-ruby/models/accounting/history_records.rb +2 -2
  99. data/lib/xero-ruby/models/accounting/invoice.rb +13 -3
  100. data/lib/xero-ruby/models/accounting/invoice_reminder.rb +2 -2
  101. data/lib/xero-ruby/models/accounting/invoice_reminders.rb +2 -2
  102. data/lib/xero-ruby/models/accounting/invoices.rb +2 -2
  103. data/lib/xero-ruby/models/accounting/item.rb +2 -2
  104. data/lib/xero-ruby/models/accounting/items.rb +2 -2
  105. data/lib/xero-ruby/models/accounting/journal.rb +2 -2
  106. data/lib/xero-ruby/models/accounting/journal_line.rb +2 -2
  107. data/lib/xero-ruby/models/accounting/journals.rb +2 -2
  108. data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -1
  109. data/lib/xero-ruby/models/accounting/line_item.rb +2 -2
  110. data/lib/xero-ruby/models/accounting/line_item_tracking.rb +2 -2
  111. data/lib/xero-ruby/models/accounting/linked_transaction.rb +2 -2
  112. data/lib/xero-ruby/models/accounting/linked_transactions.rb +2 -2
  113. data/lib/xero-ruby/models/accounting/manual_journal.rb +2 -2
  114. data/lib/xero-ruby/models/accounting/manual_journal_line.rb +2 -2
  115. data/lib/xero-ruby/models/accounting/manual_journals.rb +2 -2
  116. data/lib/xero-ruby/models/accounting/online_invoice.rb +2 -2
  117. data/lib/xero-ruby/models/accounting/online_invoices.rb +2 -2
  118. data/lib/xero-ruby/models/accounting/organisation.rb +2 -4
  119. data/lib/xero-ruby/models/accounting/organisations.rb +2 -2
  120. data/lib/xero-ruby/models/accounting/overpayment.rb +2 -2
  121. data/lib/xero-ruby/models/accounting/overpayments.rb +2 -2
  122. data/lib/xero-ruby/models/accounting/payment.rb +2 -2
  123. data/lib/xero-ruby/models/accounting/payment_delete.rb +2 -2
  124. data/lib/xero-ruby/models/accounting/payment_service.rb +2 -2
  125. data/lib/xero-ruby/models/accounting/payment_services.rb +2 -2
  126. data/lib/xero-ruby/models/accounting/payment_term.rb +2 -2
  127. data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -1
  128. data/lib/xero-ruby/models/accounting/payments.rb +2 -2
  129. data/lib/xero-ruby/models/accounting/phone.rb +2 -2
  130. data/lib/xero-ruby/models/accounting/prepayment.rb +2 -2
  131. data/lib/xero-ruby/models/accounting/prepayments.rb +2 -2
  132. data/lib/xero-ruby/models/accounting/purchase.rb +2 -2
  133. data/lib/xero-ruby/models/accounting/purchase_order.rb +2 -2
  134. data/lib/xero-ruby/models/accounting/purchase_orders.rb +2 -2
  135. data/lib/xero-ruby/models/accounting/quote.rb +2 -2
  136. data/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +1 -1
  137. data/lib/xero-ruby/models/accounting/quote_status_codes.rb +1 -1
  138. data/lib/xero-ruby/models/accounting/quotes.rb +2 -2
  139. data/lib/xero-ruby/models/accounting/receipt.rb +2 -2
  140. data/lib/xero-ruby/models/accounting/receipts.rb +2 -2
  141. data/lib/xero-ruby/models/accounting/repeating_invoice.rb +2 -2
  142. data/lib/xero-ruby/models/accounting/repeating_invoices.rb +2 -2
  143. data/lib/xero-ruby/models/accounting/report.rb +2 -2
  144. data/lib/xero-ruby/models/accounting/report_attribute.rb +2 -2
  145. data/lib/xero-ruby/models/accounting/report_cell.rb +2 -2
  146. data/lib/xero-ruby/models/accounting/report_fields.rb +2 -2
  147. data/lib/xero-ruby/models/accounting/report_row.rb +2 -2
  148. data/lib/xero-ruby/models/accounting/report_rows.rb +2 -2
  149. data/lib/xero-ruby/models/accounting/report_with_row.rb +2 -2
  150. data/lib/xero-ruby/models/accounting/report_with_rows.rb +2 -2
  151. data/lib/xero-ruby/models/accounting/reports.rb +2 -2
  152. data/lib/xero-ruby/models/accounting/request_empty.rb +2 -2
  153. data/lib/xero-ruby/models/accounting/row_type.rb +1 -1
  154. data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +2 -2
  155. data/lib/xero-ruby/models/accounting/schedule.rb +2 -2
  156. data/lib/xero-ruby/models/accounting/tax_component.rb +2 -2
  157. data/lib/xero-ruby/models/accounting/tax_rate.rb +2 -2
  158. data/lib/xero-ruby/models/accounting/tax_rates.rb +2 -2
  159. data/lib/xero-ruby/models/accounting/tax_type.rb +1 -1
  160. data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +2 -2
  161. data/lib/xero-ruby/models/accounting/time_zone.rb +2 -1
  162. data/lib/xero-ruby/models/accounting/tracking_categories.rb +2 -2
  163. data/lib/xero-ruby/models/accounting/tracking_category.rb +2 -2
  164. data/lib/xero-ruby/models/accounting/tracking_option.rb +2 -2
  165. data/lib/xero-ruby/models/accounting/tracking_options.rb +2 -2
  166. data/lib/xero-ruby/models/accounting/user.rb +2 -2
  167. data/lib/xero-ruby/models/accounting/users.rb +2 -2
  168. data/lib/xero-ruby/models/accounting/validation_error.rb +2 -2
  169. data/lib/xero-ruby/models/assets/asset.rb +2 -2
  170. data/lib/xero-ruby/models/assets/asset_status.rb +1 -1
  171. data/lib/xero-ruby/models/assets/asset_status_query_param.rb +1 -1
  172. data/lib/xero-ruby/models/assets/asset_type.rb +2 -2
  173. data/lib/xero-ruby/models/assets/assets.rb +2 -2
  174. data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +2 -2
  175. data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +2 -2
  176. data/lib/xero-ruby/models/assets/error.rb +2 -2
  177. data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +2 -2
  178. data/lib/xero-ruby/models/assets/pagination.rb +2 -2
  179. data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +2 -2
  180. data/lib/xero-ruby/models/assets/setting.rb +2 -2
  181. data/lib/xero-ruby/models/projects/amount.rb +2 -2
  182. data/lib/xero-ruby/models/projects/charge_type.rb +1 -1
  183. data/lib/xero-ruby/models/projects/currency_code.rb +1 -1
  184. data/lib/xero-ruby/models/projects/error.rb +2 -2
  185. data/lib/xero-ruby/models/projects/pagination.rb +2 -2
  186. data/lib/xero-ruby/models/projects/project.rb +2 -2
  187. data/lib/xero-ruby/models/projects/project_create_or_update.rb +2 -2
  188. data/lib/xero-ruby/models/projects/project_patch.rb +2 -2
  189. data/lib/xero-ruby/models/projects/project_status.rb +1 -1
  190. data/lib/xero-ruby/models/projects/project_user.rb +2 -2
  191. data/lib/xero-ruby/models/projects/project_users.rb +2 -2
  192. data/lib/xero-ruby/models/projects/projects.rb +2 -2
  193. data/lib/xero-ruby/models/projects/task.rb +2 -2
  194. data/lib/xero-ruby/models/projects/task_create_or_update.rb +2 -2
  195. data/lib/xero-ruby/models/projects/tasks.rb +2 -2
  196. data/lib/xero-ruby/models/projects/time_entries.rb +2 -2
  197. data/lib/xero-ruby/models/projects/time_entry.rb +2 -2
  198. data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +2 -2
  199. data/lib/xero-ruby/version.rb +2 -2
  200. data/spec/api_client_spec.rb +6 -6
  201. data/xero-ruby.gem +0 -0
  202. data/xero-ruby.gemspec +2 -2
  203. metadata +4 -3
@@ -10,15 +10,15 @@ Name | Type | Description | Notes
10
10
  **status** | **String** | See Prepayment Status Codes | [optional]
11
11
  **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional]
12
12
  **line_items** | [**Array<LineItem>**](LineItem.md) | See Prepayment Line Items | [optional]
13
- **sub_total** | **Float** | The subtotal of the prepayment excluding taxes | [optional]
14
- **total_tax** | **Float** | The total tax on the prepayment | [optional]
15
- **total** | **Float** | The total of the prepayment(subtotal + total tax) | [optional]
13
+ **sub_total** | **BigDecimal** | The subtotal of the prepayment excluding taxes | [optional]
14
+ **total_tax** | **BigDecimal** | The total tax on the prepayment | [optional]
15
+ **total** | **BigDecimal** | The total of the prepayment(subtotal + total tax) | [optional]
16
16
  **reference** | **String** | Returns Invoice number field. Reference field isn't available. | [optional]
17
17
  **updated_date_utc** | **DateTime** | UTC timestamp of last update to the prepayment | [optional]
18
18
  **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
19
19
  **prepayment_id** | **String** | Xero generated unique identifier | [optional]
20
- **currency_rate** | **Float** | The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used | [optional]
21
- **remaining_credit** | **Float** | The remaining credit balance on the prepayment | [optional]
20
+ **currency_rate** | **BigDecimal** | The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used | [optional]
21
+ **remaining_credit** | **BigDecimal** | The remaining credit balance on the prepayment | [optional]
22
22
  **allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional]
23
23
  **applied_amount** | **Float** | The amount of applied to an invoice | [optional]
24
24
  **has_attachments** | **Boolean** | boolean to indicate if a prepayment has an attachment | [optional] [default to false]
@@ -39,7 +39,7 @@ instance = XeroRuby::Accounting::Prepayment.new(type: null,
39
39
  total_tax: null,
40
40
  total: null,
41
41
  reference: null,
42
- updated_date_utc: null,
42
+ updated_date_utc: /Date(1573755038314)/,
43
43
  currency_code: null,
44
44
  prepayment_id: null,
45
45
  currency_rate: null,
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **unit_price** | **Float** | Unit Price of the item. By default UnitPrice is rounded to two decimal places. You can use 4 decimal places by adding the unitdp=4 querystring parameter to your request. | [optional]
7
+ **unit_price** | **BigDecimal** | Unit Price of the item. By default UnitPrice is rounded to two decimal places. You can use 4 decimal places by adding the unitdp=4 querystring parameter to your request. | [optional]
8
8
  **account_code** | **String** | Default account code to be used for purchased/sale. Not applicable to the purchase details of tracked items | [optional]
9
9
  **cogs_account_code** | **String** | Cost of goods sold account. Only applicable to the purchase details of tracked items. | [optional]
10
10
  **tax_type** | **String** | The tax type from TaxRates | [optional]
@@ -21,11 +21,11 @@ Name | Type | Description | Notes
21
21
  **delivery_instructions** | **String** | A free text feild for instructions (500 characters max) | [optional]
22
22
  **expected_arrival_date** | **Date** | The date the goods are expected to arrive. | [optional]
23
23
  **purchase_order_id** | **String** | Xero generated unique identifier for purchase order | [optional]
24
- **currency_rate** | **Float** | The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used. | [optional]
25
- **sub_total** | **Float** | Total of purchase order excluding taxes | [optional]
26
- **total_tax** | **Float** | Total tax on purchase order | [optional]
27
- **total** | **Float** | Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) | [optional]
28
- **total_discount** | **Float** | Total of discounts applied on the purchase order line items | [optional]
24
+ **currency_rate** | **BigDecimal** | The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used. | [optional]
25
+ **sub_total** | **BigDecimal** | Total of purchase order excluding taxes | [optional]
26
+ **total_tax** | **BigDecimal** | Total tax on purchase order | [optional]
27
+ **total** | **BigDecimal** | Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) | [optional]
28
+ **total_discount** | **BigDecimal** | Total of discounts applied on the purchase order line items | [optional]
29
29
  **has_attachments** | **Boolean** | boolean to indicate if a purchase order has an attachment | [optional] [default to false]
30
30
  **updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
31
31
  **status_attribute_string** | **String** | A string to indicate if a invoice status | [optional]
@@ -61,7 +61,7 @@ instance = XeroRuby::Accounting::PurchaseOrder.new(contact: null,
61
61
  total: null,
62
62
  total_discount: null,
63
63
  has_attachments: false,
64
- updated_date_utc: null,
64
+ updated_date_utc: /Date(1573755038314)/,
65
65
  status_attribute_string: null,
66
66
  validation_errors: null,
67
67
  warnings: null,
@@ -17,10 +17,10 @@ Name | Type | Description | Notes
17
17
  **status** | [**QuoteStatusCodes**](QuoteStatusCodes.md) | | [optional]
18
18
  **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
19
19
  **currency_rate** | **Float** | The currency rate for a multicurrency quote | [optional]
20
- **sub_total** | **Float** | Total of quote excluding taxes. | [optional]
21
- **total_tax** | **Float** | Total tax on quote | [optional]
22
- **total** | **Float** | Total of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional]
23
- **total_discount** | **Float** | Total of discounts applied on the quote line items | [optional]
20
+ **sub_total** | **BigDecimal** | Total of quote excluding taxes. | [optional]
21
+ **total_tax** | **BigDecimal** | Total tax on quote | [optional]
22
+ **total** | **BigDecimal** | Total of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional]
23
+ **total_discount** | **BigDecimal** | Total of discounts applied on the quote line items | [optional]
24
24
  **title** | **String** | Title text for the quote | [optional]
25
25
  **summary** | **String** | Summary text for the quote | [optional]
26
26
  **branding_theme_id** | **String** | See BrandingThemes | [optional]
@@ -54,7 +54,7 @@ instance = XeroRuby::Accounting::Quote.new(quote_id: null,
54
54
  title: null,
55
55
  summary: null,
56
56
  branding_theme_id: null,
57
- updated_date_utc: null,
57
+ updated_date_utc: /Date(1573755038314)/,
58
58
  line_amount_types: null,
59
59
  status_attribute_string: null,
60
60
  validation_errors: null)
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
10
10
  **user** | [**User**](User.md) | | [optional]
11
11
  **reference** | **String** | Additional reference number | [optional]
12
12
  **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional]
13
- **sub_total** | **Float** | Total of receipt excluding taxes | [optional]
14
- **total_tax** | **Float** | Total tax on receipt | [optional]
15
- **total** | **Float** | Total of receipt tax inclusive (i.e. SubTotal + TotalTax) | [optional]
13
+ **sub_total** | **BigDecimal** | Total of receipt excluding taxes | [optional]
14
+ **total_tax** | **BigDecimal** | Total tax on receipt | [optional]
15
+ **total** | **BigDecimal** | Total of receipt tax inclusive (i.e. SubTotal + TotalTax) | [optional]
16
16
  **receipt_id** | **String** | Xero generated unique identifier for receipt | [optional]
17
17
  **status** | **String** | Current status of receipt – see status types | [optional]
18
18
  **receipt_number** | **String** | Xero generated sequence number for receipt in current claim for a given user | [optional]
@@ -40,7 +40,7 @@ instance = XeroRuby::Accounting::Receipt.new(date: null,
40
40
  receipt_id: null,
41
41
  status: null,
42
42
  receipt_number: null,
43
- updated_date_utc: null,
43
+ updated_date_utc: /Date(1573755038314)/,
44
44
  has_attachments: false,
45
45
  url: null,
46
46
  validation_errors: null,
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  **branding_theme_id** | **String** | See BrandingThemes | [optional]
14
14
  **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
15
15
  **status** | **String** | One of the following - DRAFT or AUTHORISED – See Invoice Status Codes | [optional]
16
- **sub_total** | **Float** | Total of invoice excluding taxes | [optional]
17
- **total_tax** | **Float** | Total tax on invoice | [optional]
18
- **total** | **Float** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) | [optional]
16
+ **sub_total** | **BigDecimal** | Total of invoice excluding taxes | [optional]
17
+ **total_tax** | **BigDecimal** | Total tax on invoice | [optional]
18
+ **total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) | [optional]
19
19
  **repeating_invoice_id** | **String** | Xero generated unique identifier for repeating invoice template | [optional]
20
20
  **id** | **String** | Xero generated unique identifier for repeating invoice template | [optional]
21
21
  **has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional] [default to false]
@@ -22,7 +22,7 @@ instance = XeroRuby::Accounting::Report.new(report_id: null,
22
22
  report_type: null,
23
23
  report_title: null,
24
24
  report_date: null,
25
- updated_date_utc: null,
25
+ updated_date_utc: /Date(1573755038314)/,
26
26
  contacts: null)
27
27
  ```
28
28
 
@@ -26,7 +26,7 @@ instance = XeroRuby::Accounting::ReportWithRow.new(report_id: null,
26
26
  report_titles: null,
27
27
  report_date: null,
28
28
  rows: null,
29
- updated_date_utc: null,
29
+ updated_date_utc: /Date(1573755038314)/,
30
30
  fields: null)
31
31
  ```
32
32
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | Name of Tax Component | [optional]
8
- **rate** | **Float** | Tax Rate (up to 4dp) | [optional]
8
+ **rate** | **BigDecimal** | Tax Rate (up to 4dp) | [optional]
9
9
  **is_compound** | **Boolean** | Boolean to describe if Tax rate is compounded. | [optional]
10
10
  **is_non_recoverable** | **Boolean** | Boolean to describe if tax rate is non-recoverable. Non-recoverable rates are only applicable to Canadian organisations | [optional]
11
11
 
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
14
14
  **can_apply_to_expenses** | **Boolean** | Boolean to describe if tax rate can be used for expense accounts i.e. true,false | [optional]
15
15
  **can_apply_to_liabilities** | **Boolean** | Boolean to describe if tax rate can be used for liability accounts i.e. true,false | [optional]
16
16
  **can_apply_to_revenue** | **Boolean** | Boolean to describe if tax rate can be used for revenue accounts i.e. true,false | [optional]
17
- **display_tax_rate** | **Float** | Tax Rate (decimal to 4dp) e.g 12.5000 | [optional]
18
- **effective_rate** | **Float** | Effective Tax Rate (decimal to 4dp) e.g 12.5000 | [optional]
17
+ **display_tax_rate** | **BigDecimal** | Tax Rate (decimal to 4dp) e.g 12.5000 | [optional]
18
+ **effective_rate** | **BigDecimal** | Effective Tax Rate (decimal to 4dp) e.g 12.5000 | [optional]
19
19
 
20
20
  ## Code Sample
21
21
 
@@ -4,19 +4,19 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **box1** | **Float** | Box 1 on 1099 Form | [optional]
8
- **box2** | **Float** | Box 2 on 1099 Form | [optional]
9
- **box3** | **Float** | Box 3 on 1099 Form | [optional]
10
- **box4** | **Float** | Box 4 on 1099 Form | [optional]
11
- **box5** | **Float** | Box 5 on 1099 Form | [optional]
12
- **box6** | **Float** | Box 6 on 1099 Form | [optional]
13
- **box7** | **Float** | Box 7 on 1099 Form | [optional]
14
- **box8** | **Float** | Box 8 on 1099 Form | [optional]
15
- **box9** | **Float** | Box 9 on 1099 Form | [optional]
16
- **box10** | **Float** | Box 10 on 1099 Form | [optional]
17
- **box11** | **Float** | Box 11 on 1099 Form | [optional]
18
- **box13** | **Float** | Box 13 on 1099 Form | [optional]
19
- **box14** | **Float** | Box 14 on 1099 Form | [optional]
7
+ **box1** | **BigDecimal** | Box 1 on 1099 Form | [optional]
8
+ **box2** | **BigDecimal** | Box 2 on 1099 Form | [optional]
9
+ **box3** | **BigDecimal** | Box 3 on 1099 Form | [optional]
10
+ **box4** | **BigDecimal** | Box 4 on 1099 Form | [optional]
11
+ **box5** | **BigDecimal** | Box 5 on 1099 Form | [optional]
12
+ **box6** | **BigDecimal** | Box 6 on 1099 Form | [optional]
13
+ **box7** | **BigDecimal** | Box 7 on 1099 Form | [optional]
14
+ **box8** | **BigDecimal** | Box 8 on 1099 Form | [optional]
15
+ **box9** | **BigDecimal** | Box 9 on 1099 Form | [optional]
16
+ **box10** | **BigDecimal** | Box 10 on 1099 Form | [optional]
17
+ **box11** | **BigDecimal** | Box 11 on 1099 Form | [optional]
18
+ **box13** | **BigDecimal** | Box 13 on 1099 Form | [optional]
19
+ **box14** | **BigDecimal** | Box 14 on 1099 Form | [optional]
20
20
  **name** | **String** | Contact name on 1099 Form | [optional]
21
21
  **federal_tax_id_type** | **String** | Contact Fed Tax ID type | [optional]
22
22
  **city** | **String** | Contact city on 1099 Form | [optional]
@@ -21,7 +21,7 @@ instance = XeroRuby::Accounting::User.new(user_id: null,
21
21
  email_address: null,
22
22
  first_name: null,
23
23
  last_name: null,
24
- updated_date_utc: null,
24
+ updated_date_utc: /Date(1573755038314)/,
25
25
  is_subscriber: null,
26
26
  organisation_role: null)
27
27
  ```
@@ -9,15 +9,15 @@ Name | Type | Description | Notes
9
9
  **asset_type_id** | **String** | The Xero-generated Id for the asset type | [optional]
10
10
  **asset_number** | **String** | Must be unique. | [optional]
11
11
  **purchase_date** | **Date** | The date the asset was purchased YYYY-MM-DD | [optional]
12
- **purchase_price** | **Float** | The purchase price of the asset | [optional]
13
- **disposal_price** | **Float** | The price the asset was disposed at | [optional]
12
+ **purchase_price** | **BigDecimal** | The purchase price of the asset | [optional]
13
+ **disposal_price** | **BigDecimal** | The price the asset was disposed at | [optional]
14
14
  **asset_status** | [**AssetStatus**](AssetStatus.md) | | [optional]
15
15
  **warranty_expiry_date** | **String** | The date the asset’s warranty expires (if needed) YYYY-MM-DD | [optional]
16
16
  **serial_number** | **String** | The asset's serial number | [optional]
17
17
  **book_depreciation_setting** | [**BookDepreciationSetting**](BookDepreciationSetting.md) | | [optional]
18
18
  **book_depreciation_detail** | [**BookDepreciationDetail**](BookDepreciationDetail.md) | | [optional]
19
19
  **can_rollback** | **Boolean** | Boolean to indicate whether depreciation can be rolled back for this asset individually. This is true if it doesn't have 'legacy' journal entries and if there is no lock period that would prevent this asset from rolling back. | [optional]
20
- **accounting_book_value** | **Float** | The accounting value of the asset | [optional]
20
+ **accounting_book_value** | **BigDecimal** | The accounting value of the asset | [optional]
21
21
  **is_delete_enabled_for_date** | **Boolean** | Boolean to indicate whether delete is enabled | [optional]
22
22
 
23
23
  ## Code Sample
@@ -48,7 +48,7 @@ api_instance = xero_client.asset_api
48
48
  api_instance = xero_client.projects_api
49
49
 
50
50
 
51
- xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
51
+ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
52
52
  asset = { "assetName":"Computer74863", "assetNumber":"123477544", "purchaseDate":"2020-01-01", "purchasePrice":100.0, "disposalPrice":23.23, "assetStatus":"Draft", "bookDepreciationSetting":{ "depreciationMethod":"StraightLine", "averagingMethod":"ActualDays", "depreciationRate":0.5, "depreciationCalculationMethod":"None" }, "bookDepreciationDetail":{ "currentCapitalGain":5.32, "currentGainLoss":3.88, "depreciationStartDate":"2020-01-02", "costLimit":100.0, "currentAccumDepreciationAmount":2.25 }, "AccountingBookValue":99.5 } # Asset | Fixed asset you are creating
53
53
  begin
54
54
  #adds a fixed asset
@@ -116,7 +116,7 @@ api_instance = xero_client.asset_api
116
116
  api_instance = xero_client.projects_api
117
117
 
118
118
 
119
- xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
119
+ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
120
120
  opts = {
121
121
  asset_type: { "assetTypeName":"Machinery11004", "fixedAssetAccountId":"3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82", "depreciationExpenseAccountId":"d1602f69-f900-4616-8d34-90af393fa368", "accumulatedDepreciationAccountId":"9195cadd-8645-41e6-9f67-7bcd421defe8", "bookDepreciationSetting":{ "depreciationMethod":"DiminishingValue100", "averagingMethod":"ActualDays", "depreciationRate":0.05, "depreciationCalculationMethod":"None" } } # AssetType | Asset type to add
122
122
  }
@@ -187,7 +187,7 @@ api_instance = xero_client.asset_api
187
187
  api_instance = xero_client.projects_api
188
188
 
189
189
 
190
- xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
190
+ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
191
191
  id = '4f7bcdcb-5ec1-4258-9558-19f662fccdfe' # String | fixed asset id for single object
192
192
  begin
193
193
  #retrieves fixed asset by id
@@ -255,7 +255,7 @@ api_instance = xero_client.asset_api
255
255
  api_instance = xero_client.projects_api
256
256
 
257
257
 
258
- xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
258
+ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
259
259
  begin
260
260
  #searches fixed asset settings
261
261
  result = api_instance.get_asset_settings(xero_tenant_id)
@@ -321,7 +321,7 @@ api_instance = xero_client.asset_api
321
321
  api_instance = xero_client.projects_api
322
322
 
323
323
 
324
- xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
324
+ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
325
325
  begin
326
326
  #searches fixed asset types
327
327
  result = api_instance.get_asset_types(xero_tenant_id)
@@ -387,7 +387,7 @@ api_instance = xero_client.asset_api
387
387
  api_instance = xero_client.projects_api
388
388
 
389
389
 
390
- xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
390
+ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
391
391
  status = XeroRuby::Assets::AssetStatusQueryParam.new # AssetStatusQueryParam | Required when retrieving a collection of assets. See Asset Status Codes
392
392
  opts = {
393
393
  page: 1, # Integer | Results are paged. This specifies which page of the results to return. The default page is 1.
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **current_capital_gain** | **Float** | When an asset is disposed, this will be the sell price minus the purchase price if a profit was made. | [optional]
8
- **current_gain_loss** | **Float** | When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value. | [optional]
7
+ **current_capital_gain** | **BigDecimal** | When an asset is disposed, this will be the sell price minus the purchase price if a profit was made. | [optional]
8
+ **current_gain_loss** | **BigDecimal** | When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value. | [optional]
9
9
  **depreciation_start_date** | **Date** | YYYY-MM-DD | [optional]
10
- **cost_limit** | **Float** | The value of the asset you want to depreciate, if this is less than the cost of the asset. | [optional]
11
- **residual_value** | **Float** | The value of the asset remaining when you've fully depreciated it. | [optional]
12
- **prior_accum_depreciation_amount** | **Float** | All depreciation prior to the current financial year. | [optional]
13
- **current_accum_depreciation_amount** | **Float** | All depreciation occurring in the current financial year. | [optional]
10
+ **cost_limit** | **BigDecimal** | The value of the asset you want to depreciate, if this is less than the cost of the asset. | [optional]
11
+ **residual_value** | **BigDecimal** | The value of the asset remaining when you've fully depreciated it. | [optional]
12
+ **prior_accum_depreciation_amount** | **BigDecimal** | All depreciation prior to the current financial year. | [optional]
13
+ **current_accum_depreciation_amount** | **BigDecimal** | All depreciation occurring in the current financial year. | [optional]
14
14
 
15
15
  ## Code Sample
16
16
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **depreciation_method** | **String** | The method of depreciation applied to this asset. See Depreciation Methods | [optional]
8
8
  **averaging_method** | **String** | The method of averaging applied to this asset. See Averaging Methods | [optional]
9
- **depreciation_rate** | **Float** | The rate of depreciation (e.g. 0.05) | [optional]
9
+ **depreciation_rate** | **BigDecimal** | The rate of depreciation (e.g. 0.05) | [optional]
10
10
  **effective_life_years** | **Integer** | Effective life of the asset in years (e.g. 5) | [optional]
11
11
  **depreciation_calculation_method** | **String** | See Depreciation Calculation Methods | [optional]
12
12
  **depreciable_object_id** | **String** | Unique Xero identifier for the depreciable object | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **currency** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
8
- **value** | **Float** | | [optional]
8
+ **value** | **BigDecimal** | | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **contact_id** | **String** | Identifier of the contact this project was created for. | [optional]
8
8
  **name** | **String** | Name of the project. |
9
- **estimate_amount** | **Float** | | [optional]
9
+ **estimate_amount** | **BigDecimal** | | [optional]
10
10
  **deadline_utc** | **DateTime** | Deadline for the project. UTC Date Time in ISO-8601 format. | [optional]
11
11
 
12
12
  ## Code Sample
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 2.2.11
6
+ The version of the OpenAPI document: 2.3.2
7
7
  Contact: api@xero.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 2.2.11
6
+ The version of the OpenAPI document: 2.3.2
7
7
  Contact: api@xero.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -49,8 +49,15 @@ module XeroRuby
49
49
  # resource path
50
50
  local_var_path = '/Accounts'
51
51
 
52
+ # camelize keys of incoming `where` opts
53
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
54
+
52
55
  # query parameters
53
56
  query_params = opts[:query_params] || {}
57
+
58
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
59
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
60
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
54
61
 
55
62
  # header parameters
56
63
  header_params = opts[:header_params] || {}
@@ -130,8 +137,15 @@ module XeroRuby
130
137
  # resource path
131
138
  local_var_path = '/Accounts/{AccountID}/Attachments/{FileName}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
132
139
 
140
+ # camelize keys of incoming `where` opts
141
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
142
+
133
143
  # query parameters
134
144
  query_params = opts[:query_params] || {}
145
+
146
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
147
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
148
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
135
149
 
136
150
  # header parameters
137
151
  header_params = opts[:header_params] || {}
@@ -211,8 +225,15 @@ module XeroRuby
211
225
  # resource path
212
226
  local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{FileName}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
213
227
 
228
+ # camelize keys of incoming `where` opts
229
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
230
+
214
231
  # query parameters
215
232
  query_params = opts[:query_params] || {}
233
+
234
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
235
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
236
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
216
237
 
217
238
  # header parameters
218
239
  header_params = opts[:header_params] || {}
@@ -286,8 +307,15 @@ module XeroRuby
286
307
  # resource path
287
308
  local_var_path = '/BankTransactions/{BankTransactionID}/History'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
288
309
 
310
+ # camelize keys of incoming `where` opts
311
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
312
+
289
313
  # query parameters
290
314
  query_params = opts[:query_params] || {}
315
+
316
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
317
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
318
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
291
319
 
292
320
  # header parameters
293
321
  header_params = opts[:header_params] || {}
@@ -359,10 +387,17 @@ module XeroRuby
359
387
  # resource path
360
388
  local_var_path = '/BankTransactions'
361
389
 
390
+ # camelize keys of incoming `where` opts
391
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
392
+
362
393
  # query parameters
363
394
  query_params = opts[:query_params] || {}
364
395
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
365
396
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
397
+
398
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
399
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
400
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
366
401
 
367
402
  # header parameters
368
403
  header_params = opts[:header_params] || {}
@@ -430,8 +465,15 @@ module XeroRuby
430
465
  # resource path
431
466
  local_var_path = '/BankTransfers'
432
467
 
468
+ # camelize keys of incoming `where` opts
469
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
470
+
433
471
  # query parameters
434
472
  query_params = opts[:query_params] || {}
473
+
474
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
475
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
476
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
435
477
 
436
478
  # header parameters
437
479
  header_params = opts[:header_params] || {}
@@ -509,8 +551,15 @@ module XeroRuby
509
551
  # resource path
510
552
  local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{FileName}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
511
553
 
554
+ # camelize keys of incoming `where` opts
555
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
556
+
512
557
  # query parameters
513
558
  query_params = opts[:query_params] || {}
559
+
560
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
561
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
562
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
514
563
 
515
564
  # header parameters
516
565
  header_params = opts[:header_params] || {}
@@ -582,8 +631,15 @@ module XeroRuby
582
631
  # resource path
583
632
  local_var_path = '/BankTransfers/{BankTransferID}/History'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
584
633
 
634
+ # camelize keys of incoming `where` opts
635
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
636
+
585
637
  # query parameters
586
638
  query_params = opts[:query_params] || {}
639
+
640
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
641
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
642
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
587
643
 
588
644
  # header parameters
589
645
  header_params = opts[:header_params] || {}
@@ -653,9 +709,16 @@ module XeroRuby
653
709
  # resource path
654
710
  local_var_path = '/BatchPayments'
655
711
 
712
+ # camelize keys of incoming `where` opts
713
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
714
+
656
715
  # query parameters
657
716
  query_params = opts[:query_params] || {}
658
717
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
718
+
719
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
720
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
721
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
659
722
 
660
723
  # header parameters
661
724
  header_params = opts[:header_params] || {}
@@ -729,8 +792,15 @@ module XeroRuby
729
792
  # resource path
730
793
  local_var_path = '/BatchPayments/{BatchPaymentID}/History'.sub('{' + 'BatchPaymentID' + '}', batch_payment_id.to_s)
731
794
 
795
+ # camelize keys of incoming `where` opts
796
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
797
+
732
798
  # query parameters
733
799
  query_params = opts[:query_params] || {}
800
+
801
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
802
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
803
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
734
804
 
735
805
  # header parameters
736
806
  header_params = opts[:header_params] || {}
@@ -804,8 +874,15 @@ module XeroRuby
804
874
  # resource path
805
875
  local_var_path = '/BrandingThemes/{BrandingThemeID}/PaymentServices'.sub('{' + 'BrandingThemeID' + '}', branding_theme_id.to_s)
806
876
 
877
+ # camelize keys of incoming `where` opts
878
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
879
+
807
880
  # query parameters
808
881
  query_params = opts[:query_params] || {}
882
+
883
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
884
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
885
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
809
886
 
810
887
  # header parameters
811
888
  header_params = opts[:header_params] || {}
@@ -883,8 +960,15 @@ module XeroRuby
883
960
  # resource path
884
961
  local_var_path = '/Contacts/{ContactID}/Attachments/{FileName}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
885
962
 
963
+ # camelize keys of incoming `where` opts
964
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
965
+
886
966
  # query parameters
887
967
  query_params = opts[:query_params] || {}
968
+
969
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
970
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
971
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
888
972
 
889
973
  # header parameters
890
974
  header_params = opts[:header_params] || {}
@@ -952,8 +1036,15 @@ module XeroRuby
952
1036
  # resource path
953
1037
  local_var_path = '/ContactGroups'
954
1038
 
1039
+ # camelize keys of incoming `where` opts
1040
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1041
+
955
1042
  # query parameters
956
1043
  query_params = opts[:query_params] || {}
1044
+
1045
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1046
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1047
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
957
1048
 
958
1049
  # header parameters
959
1050
  header_params = opts[:header_params] || {}
@@ -1027,8 +1118,15 @@ module XeroRuby
1027
1118
  # resource path
1028
1119
  local_var_path = '/ContactGroups/{ContactGroupID}/Contacts'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
1029
1120
 
1121
+ # camelize keys of incoming `where` opts
1122
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1123
+
1030
1124
  # query parameters
1031
1125
  query_params = opts[:query_params] || {}
1126
+
1127
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1128
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1129
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1032
1130
 
1033
1131
  # header parameters
1034
1132
  header_params = opts[:header_params] || {}
@@ -1102,8 +1200,15 @@ module XeroRuby
1102
1200
  # resource path
1103
1201
  local_var_path = '/Contacts/{ContactID}/History'.sub('{' + 'ContactID' + '}', contact_id.to_s)
1104
1202
 
1203
+ # camelize keys of incoming `where` opts
1204
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1205
+
1105
1206
  # query parameters
1106
1207
  query_params = opts[:query_params] || {}
1208
+
1209
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1210
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1211
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1107
1212
 
1108
1213
  # header parameters
1109
1214
  header_params = opts[:header_params] || {}
@@ -1173,9 +1278,16 @@ module XeroRuby
1173
1278
  # resource path
1174
1279
  local_var_path = '/Contacts'
1175
1280
 
1281
+ # camelize keys of incoming `where` opts
1282
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1283
+
1176
1284
  # query parameters
1177
1285
  query_params = opts[:query_params] || {}
1178
1286
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
1287
+
1288
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1289
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1290
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1179
1291
 
1180
1292
  # header parameters
1181
1293
  header_params = opts[:header_params] || {}
@@ -1251,9 +1363,16 @@ module XeroRuby
1251
1363
  # resource path
1252
1364
  local_var_path = '/CreditNotes/{CreditNoteID}/Allocations'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
1253
1365
 
1366
+ # camelize keys of incoming `where` opts
1367
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1368
+
1254
1369
  # query parameters
1255
1370
  query_params = opts[:query_params] || {}
1256
1371
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
1372
+
1373
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1374
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1375
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1257
1376
 
1258
1377
  # header parameters
1259
1378
  header_params = opts[:header_params] || {}
@@ -1335,9 +1454,16 @@ module XeroRuby
1335
1454
  # resource path
1336
1455
  local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{FileName}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
1337
1456
 
1457
+ # camelize keys of incoming `where` opts
1458
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1459
+
1338
1460
  # query parameters
1339
1461
  query_params = opts[:query_params] || {}
1340
1462
  query_params[:'IncludeOnline'] = opts[:'include_online'] if !opts[:'include_online'].nil?
1463
+
1464
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1465
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1466
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1341
1467
 
1342
1468
  # header parameters
1343
1469
  header_params = opts[:header_params] || {}
@@ -1411,8 +1537,15 @@ module XeroRuby
1411
1537
  # resource path
1412
1538
  local_var_path = '/CreditNotes/{CreditNoteID}/History'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
1413
1539
 
1540
+ # camelize keys of incoming `where` opts
1541
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1542
+
1414
1543
  # query parameters
1415
1544
  query_params = opts[:query_params] || {}
1545
+
1546
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1547
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1548
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1416
1549
 
1417
1550
  # header parameters
1418
1551
  header_params = opts[:header_params] || {}
@@ -1484,10 +1617,17 @@ module XeroRuby
1484
1617
  # resource path
1485
1618
  local_var_path = '/CreditNotes'
1486
1619
 
1620
+ # camelize keys of incoming `where` opts
1621
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1622
+
1487
1623
  # query parameters
1488
1624
  query_params = opts[:query_params] || {}
1489
1625
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
1490
1626
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
1627
+
1628
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1629
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1630
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1491
1631
 
1492
1632
  # header parameters
1493
1633
  header_params = opts[:header_params] || {}
@@ -1553,8 +1693,15 @@ module XeroRuby
1553
1693
  # resource path
1554
1694
  local_var_path = '/Currencies'
1555
1695
 
1696
+ # camelize keys of incoming `where` opts
1697
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1698
+
1556
1699
  # query parameters
1557
1700
  query_params = opts[:query_params] || {}
1701
+
1702
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1703
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1704
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1558
1705
 
1559
1706
  # header parameters
1560
1707
  header_params = opts[:header_params] || {}
@@ -1624,9 +1771,16 @@ module XeroRuby
1624
1771
  # resource path
1625
1772
  local_var_path = '/Employees'
1626
1773
 
1774
+ # camelize keys of incoming `where` opts
1775
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1776
+
1627
1777
  # query parameters
1628
1778
  query_params = opts[:query_params] || {}
1629
1779
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
1780
+
1781
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1782
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1783
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1630
1784
 
1631
1785
  # header parameters
1632
1786
  header_params = opts[:header_params] || {}
@@ -1700,8 +1854,15 @@ module XeroRuby
1700
1854
  # resource path
1701
1855
  local_var_path = '/ExpenseClaims/{ExpenseClaimID}/History'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
1702
1856
 
1857
+ # camelize keys of incoming `where` opts
1858
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1859
+
1703
1860
  # query parameters
1704
1861
  query_params = opts[:query_params] || {}
1862
+
1863
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1864
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1865
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1705
1866
 
1706
1867
  # header parameters
1707
1868
  header_params = opts[:header_params] || {}
@@ -1769,8 +1930,15 @@ module XeroRuby
1769
1930
  # resource path
1770
1931
  local_var_path = '/ExpenseClaims'
1771
1932
 
1933
+ # camelize keys of incoming `where` opts
1934
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1935
+
1772
1936
  # query parameters
1773
1937
  query_params = opts[:query_params] || {}
1938
+
1939
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1940
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1941
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1774
1942
 
1775
1943
  # header parameters
1776
1944
  header_params = opts[:header_params] || {}
@@ -1852,9 +2020,16 @@ module XeroRuby
1852
2020
  # resource path
1853
2021
  local_var_path = '/Invoices/{InvoiceID}/Attachments/{FileName}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
1854
2022
 
2023
+ # camelize keys of incoming `where` opts
2024
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2025
+
1855
2026
  # query parameters
1856
2027
  query_params = opts[:query_params] || {}
1857
2028
  query_params[:'IncludeOnline'] = opts[:'include_online'] if !opts[:'include_online'].nil?
2029
+
2030
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2031
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2032
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1858
2033
 
1859
2034
  # header parameters
1860
2035
  header_params = opts[:header_params] || {}
@@ -1928,8 +2103,15 @@ module XeroRuby
1928
2103
  # resource path
1929
2104
  local_var_path = '/Invoices/{InvoiceID}/History'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
1930
2105
 
2106
+ # camelize keys of incoming `where` opts
2107
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2108
+
1931
2109
  # query parameters
1932
2110
  query_params = opts[:query_params] || {}
2111
+
2112
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2113
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2114
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1933
2115
 
1934
2116
  # header parameters
1935
2117
  header_params = opts[:header_params] || {}
@@ -2001,10 +2183,17 @@ module XeroRuby
2001
2183
  # resource path
2002
2184
  local_var_path = '/Invoices'
2003
2185
 
2186
+ # camelize keys of incoming `where` opts
2187
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2188
+
2004
2189
  # query parameters
2005
2190
  query_params = opts[:query_params] || {}
2006
2191
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
2007
2192
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
2193
+
2194
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2195
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2196
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2008
2197
 
2009
2198
  # header parameters
2010
2199
  header_params = opts[:header_params] || {}
@@ -2078,8 +2267,15 @@ module XeroRuby
2078
2267
  # resource path
2079
2268
  local_var_path = '/Items/{ItemID}/History'.sub('{' + 'ItemID' + '}', item_id.to_s)
2080
2269
 
2270
+ # camelize keys of incoming `where` opts
2271
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2272
+
2081
2273
  # query parameters
2082
2274
  query_params = opts[:query_params] || {}
2275
+
2276
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2277
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2278
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2083
2279
 
2084
2280
  # header parameters
2085
2281
  header_params = opts[:header_params] || {}
@@ -2151,10 +2347,17 @@ module XeroRuby
2151
2347
  # resource path
2152
2348
  local_var_path = '/Items'
2153
2349
 
2350
+ # camelize keys of incoming `where` opts
2351
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2352
+
2154
2353
  # query parameters
2155
2354
  query_params = opts[:query_params] || {}
2156
2355
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
2157
2356
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
2357
+
2358
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2359
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2360
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2158
2361
 
2159
2362
  # header parameters
2160
2363
  header_params = opts[:header_params] || {}
@@ -2222,8 +2425,15 @@ module XeroRuby
2222
2425
  # resource path
2223
2426
  local_var_path = '/LinkedTransactions'
2224
2427
 
2428
+ # camelize keys of incoming `where` opts
2429
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2430
+
2225
2431
  # query parameters
2226
2432
  query_params = opts[:query_params] || {}
2433
+
2434
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2435
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2436
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2227
2437
 
2228
2438
  # header parameters
2229
2439
  header_params = opts[:header_params] || {}
@@ -2303,8 +2513,15 @@ module XeroRuby
2303
2513
  # resource path
2304
2514
  local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{FileName}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
2305
2515
 
2516
+ # camelize keys of incoming `where` opts
2517
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2518
+
2306
2519
  # query parameters
2307
2520
  query_params = opts[:query_params] || {}
2521
+
2522
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2523
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2524
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2308
2525
 
2309
2526
  # header parameters
2310
2527
  header_params = opts[:header_params] || {}
@@ -2374,9 +2591,16 @@ module XeroRuby
2374
2591
  # resource path
2375
2592
  local_var_path = '/ManualJournals'
2376
2593
 
2594
+ # camelize keys of incoming `where` opts
2595
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2596
+
2377
2597
  # query parameters
2378
2598
  query_params = opts[:query_params] || {}
2379
2599
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
2600
+
2601
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2602
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2603
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2380
2604
 
2381
2605
  # header parameters
2382
2606
  header_params = opts[:header_params] || {}
@@ -2452,9 +2676,16 @@ module XeroRuby
2452
2676
  # resource path
2453
2677
  local_var_path = '/Overpayments/{OverpaymentID}/Allocations'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
2454
2678
 
2679
+ # camelize keys of incoming `where` opts
2680
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2681
+
2455
2682
  # query parameters
2456
2683
  query_params = opts[:query_params] || {}
2457
2684
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
2685
+
2686
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2687
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2688
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2458
2689
 
2459
2690
  # header parameters
2460
2691
  header_params = opts[:header_params] || {}
@@ -2528,8 +2759,15 @@ module XeroRuby
2528
2759
  # resource path
2529
2760
  local_var_path = '/Overpayments/{OverpaymentID}/History'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
2530
2761
 
2762
+ # camelize keys of incoming `where` opts
2763
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2764
+
2531
2765
  # query parameters
2532
2766
  query_params = opts[:query_params] || {}
2767
+
2768
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2769
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2770
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2533
2771
 
2534
2772
  # header parameters
2535
2773
  header_params = opts[:header_params] || {}
@@ -2597,8 +2835,15 @@ module XeroRuby
2597
2835
  # resource path
2598
2836
  local_var_path = '/Payments'
2599
2837
 
2838
+ # camelize keys of incoming `where` opts
2839
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2840
+
2600
2841
  # query parameters
2601
2842
  query_params = opts[:query_params] || {}
2843
+
2844
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2845
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2846
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2602
2847
 
2603
2848
  # header parameters
2604
2849
  header_params = opts[:header_params] || {}
@@ -2672,8 +2917,15 @@ module XeroRuby
2672
2917
  # resource path
2673
2918
  local_var_path = '/Payments/{PaymentID}/History'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
2674
2919
 
2920
+ # camelize keys of incoming `where` opts
2921
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2922
+
2675
2923
  # query parameters
2676
2924
  query_params = opts[:query_params] || {}
2925
+
2926
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
2927
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2928
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2677
2929
 
2678
2930
  # header parameters
2679
2931
  header_params = opts[:header_params] || {}
@@ -2741,8 +2993,15 @@ module XeroRuby
2741
2993
  # resource path
2742
2994
  local_var_path = '/PaymentServices'
2743
2995
 
2996
+ # camelize keys of incoming `where` opts
2997
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
2998
+
2744
2999
  # query parameters
2745
3000
  query_params = opts[:query_params] || {}
3001
+
3002
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3003
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3004
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2746
3005
 
2747
3006
  # header parameters
2748
3007
  header_params = opts[:header_params] || {}
@@ -2812,9 +3071,16 @@ module XeroRuby
2812
3071
  # resource path
2813
3072
  local_var_path = '/Payments'
2814
3073
 
3074
+ # camelize keys of incoming `where` opts
3075
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3076
+
2815
3077
  # query parameters
2816
3078
  query_params = opts[:query_params] || {}
2817
3079
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
3080
+
3081
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3082
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3083
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2818
3084
 
2819
3085
  # header parameters
2820
3086
  header_params = opts[:header_params] || {}
@@ -2890,9 +3156,16 @@ module XeroRuby
2890
3156
  # resource path
2891
3157
  local_var_path = '/Prepayments/{PrepaymentID}/Allocations'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
2892
3158
 
3159
+ # camelize keys of incoming `where` opts
3160
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3161
+
2893
3162
  # query parameters
2894
3163
  query_params = opts[:query_params] || {}
2895
3164
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
3165
+
3166
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3167
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3168
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2896
3169
 
2897
3170
  # header parameters
2898
3171
  header_params = opts[:header_params] || {}
@@ -2966,8 +3239,15 @@ module XeroRuby
2966
3239
  # resource path
2967
3240
  local_var_path = '/Prepayments/{PrepaymentID}/History'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
2968
3241
 
3242
+ # camelize keys of incoming `where` opts
3243
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3244
+
2969
3245
  # query parameters
2970
3246
  query_params = opts[:query_params] || {}
3247
+
3248
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3249
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3250
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
2971
3251
 
2972
3252
  # header parameters
2973
3253
  header_params = opts[:header_params] || {}
@@ -3041,8 +3321,15 @@ module XeroRuby
3041
3321
  # resource path
3042
3322
  local_var_path = '/PurchaseOrders/{PurchaseOrderID}/History'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
3043
3323
 
3324
+ # camelize keys of incoming `where` opts
3325
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3326
+
3044
3327
  # query parameters
3045
3328
  query_params = opts[:query_params] || {}
3329
+
3330
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3331
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3332
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3046
3333
 
3047
3334
  # header parameters
3048
3335
  header_params = opts[:header_params] || {}
@@ -3112,9 +3399,16 @@ module XeroRuby
3112
3399
  # resource path
3113
3400
  local_var_path = '/PurchaseOrders'
3114
3401
 
3402
+ # camelize keys of incoming `where` opts
3403
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3404
+
3115
3405
  # query parameters
3116
3406
  query_params = opts[:query_params] || {}
3117
3407
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
3408
+
3409
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3410
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3411
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3118
3412
 
3119
3413
  # header parameters
3120
3414
  header_params = opts[:header_params] || {}
@@ -3194,8 +3488,15 @@ module XeroRuby
3194
3488
  # resource path
3195
3489
  local_var_path = '/Quotes/{QuoteID}/Attachments/{FileName}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
3196
3490
 
3491
+ # camelize keys of incoming `where` opts
3492
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3493
+
3197
3494
  # query parameters
3198
3495
  query_params = opts[:query_params] || {}
3496
+
3497
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3498
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3499
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3199
3500
 
3200
3501
  # header parameters
3201
3502
  header_params = opts[:header_params] || {}
@@ -3269,8 +3570,15 @@ module XeroRuby
3269
3570
  # resource path
3270
3571
  local_var_path = '/Quotes/{QuoteID}/History'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
3271
3572
 
3573
+ # camelize keys of incoming `where` opts
3574
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3575
+
3272
3576
  # query parameters
3273
3577
  query_params = opts[:query_params] || {}
3578
+
3579
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3580
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3581
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3274
3582
 
3275
3583
  # header parameters
3276
3584
  header_params = opts[:header_params] || {}
@@ -3340,9 +3648,16 @@ module XeroRuby
3340
3648
  # resource path
3341
3649
  local_var_path = '/Quotes'
3342
3650
 
3651
+ # camelize keys of incoming `where` opts
3652
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3653
+
3343
3654
  # query parameters
3344
3655
  query_params = opts[:query_params] || {}
3345
3656
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
3657
+
3658
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3659
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3660
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3346
3661
 
3347
3662
  # header parameters
3348
3663
  header_params = opts[:header_params] || {}
@@ -3412,9 +3727,16 @@ module XeroRuby
3412
3727
  # resource path
3413
3728
  local_var_path = '/Receipts'
3414
3729
 
3730
+ # camelize keys of incoming `where` opts
3731
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3732
+
3415
3733
  # query parameters
3416
3734
  query_params = opts[:query_params] || {}
3417
3735
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
3736
+
3737
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3738
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3739
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3418
3740
 
3419
3741
  # header parameters
3420
3742
  header_params = opts[:header_params] || {}
@@ -3494,8 +3816,15 @@ module XeroRuby
3494
3816
  # resource path
3495
3817
  local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
3496
3818
 
3819
+ # camelize keys of incoming `where` opts
3820
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3821
+
3497
3822
  # query parameters
3498
3823
  query_params = opts[:query_params] || {}
3824
+
3825
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3826
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3827
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3499
3828
 
3500
3829
  # header parameters
3501
3830
  header_params = opts[:header_params] || {}
@@ -3569,8 +3898,15 @@ module XeroRuby
3569
3898
  # resource path
3570
3899
  local_var_path = '/Receipts/{ReceiptID}/History'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
3571
3900
 
3901
+ # camelize keys of incoming `where` opts
3902
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3903
+
3572
3904
  # query parameters
3573
3905
  query_params = opts[:query_params] || {}
3906
+
3907
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3908
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3909
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3574
3910
 
3575
3911
  # header parameters
3576
3912
  header_params = opts[:header_params] || {}
@@ -3650,8 +3986,15 @@ module XeroRuby
3650
3986
  # resource path
3651
3987
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
3652
3988
 
3989
+ # camelize keys of incoming `where` opts
3990
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
3991
+
3653
3992
  # query parameters
3654
3993
  query_params = opts[:query_params] || {}
3994
+
3995
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
3996
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
3997
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3655
3998
 
3656
3999
  # header parameters
3657
4000
  header_params = opts[:header_params] || {}
@@ -3725,8 +4068,15 @@ module XeroRuby
3725
4068
  # resource path
3726
4069
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/History'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
3727
4070
 
4071
+ # camelize keys of incoming `where` opts
4072
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4073
+
3728
4074
  # query parameters
3729
4075
  query_params = opts[:query_params] || {}
4076
+
4077
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4078
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4079
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3730
4080
 
3731
4081
  # header parameters
3732
4082
  header_params = opts[:header_params] || {}
@@ -3794,8 +4144,15 @@ module XeroRuby
3794
4144
  # resource path
3795
4145
  local_var_path = '/TaxRates'
3796
4146
 
4147
+ # camelize keys of incoming `where` opts
4148
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4149
+
3797
4150
  # query parameters
3798
4151
  query_params = opts[:query_params] || {}
4152
+
4153
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4154
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4155
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3799
4156
 
3800
4157
  # header parameters
3801
4158
  header_params = opts[:header_params] || {}
@@ -3863,8 +4220,15 @@ module XeroRuby
3863
4220
  # resource path
3864
4221
  local_var_path = '/TrackingCategories'
3865
4222
 
4223
+ # camelize keys of incoming `where` opts
4224
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4225
+
3866
4226
  # query parameters
3867
4227
  query_params = opts[:query_params] || {}
4228
+
4229
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4230
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4231
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3868
4232
 
3869
4233
  # header parameters
3870
4234
  header_params = opts[:header_params] || {}
@@ -3938,8 +4302,15 @@ module XeroRuby
3938
4302
  # resource path
3939
4303
  local_var_path = '/TrackingCategories/{TrackingCategoryID}/Options'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
3940
4304
 
4305
+ # camelize keys of incoming `where` opts
4306
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4307
+
3941
4308
  # query parameters
3942
4309
  query_params = opts[:query_params] || {}
4310
+
4311
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4312
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4313
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
3943
4314
 
3944
4315
  # header parameters
3945
4316
  header_params = opts[:header_params] || {}
@@ -4007,8 +4378,15 @@ module XeroRuby
4007
4378
  # resource path
4008
4379
  local_var_path = '/Accounts/{AccountID}'.sub('{' + 'AccountID' + '}', account_id.to_s)
4009
4380
 
4381
+ # camelize keys of incoming `where` opts
4382
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4383
+
4010
4384
  # query parameters
4011
4385
  query_params = opts[:query_params] || {}
4386
+
4387
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4388
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4389
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4012
4390
 
4013
4391
  # header parameters
4014
4392
  header_params = opts[:header_params] || {}
@@ -4080,8 +4458,15 @@ module XeroRuby
4080
4458
  # resource path
4081
4459
  local_var_path = '/ContactGroups/{ContactGroupID}/Contacts/{ContactID}'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s).sub('{' + 'ContactID' + '}', contact_id.to_s)
4082
4460
 
4461
+ # camelize keys of incoming `where` opts
4462
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4463
+
4083
4464
  # query parameters
4084
4465
  query_params = opts[:query_params] || {}
4466
+
4467
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4468
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4469
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4085
4470
 
4086
4471
  # header parameters
4087
4472
  header_params = opts[:header_params] || {}
@@ -4147,8 +4532,15 @@ module XeroRuby
4147
4532
  # resource path
4148
4533
  local_var_path = '/ContactGroups/{ContactGroupID}/Contacts'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
4149
4534
 
4535
+ # camelize keys of incoming `where` opts
4536
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4537
+
4150
4538
  # query parameters
4151
4539
  query_params = opts[:query_params] || {}
4540
+
4541
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4542
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4543
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4152
4544
 
4153
4545
  # header parameters
4154
4546
  header_params = opts[:header_params] || {}
@@ -4212,8 +4604,15 @@ module XeroRuby
4212
4604
  # resource path
4213
4605
  local_var_path = '/Items/{ItemID}'.sub('{' + 'ItemID' + '}', item_id.to_s)
4214
4606
 
4607
+ # camelize keys of incoming `where` opts
4608
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4609
+
4215
4610
  # query parameters
4216
4611
  query_params = opts[:query_params] || {}
4612
+
4613
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4614
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4615
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4217
4616
 
4218
4617
  # header parameters
4219
4618
  header_params = opts[:header_params] || {}
@@ -4279,8 +4678,15 @@ module XeroRuby
4279
4678
  # resource path
4280
4679
  local_var_path = '/LinkedTransactions/{LinkedTransactionID}'.sub('{' + 'LinkedTransactionID' + '}', linked_transaction_id.to_s)
4281
4680
 
4681
+ # camelize keys of incoming `where` opts
4682
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4683
+
4282
4684
  # query parameters
4283
4685
  query_params = opts[:query_params] || {}
4686
+
4687
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4688
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4689
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4284
4690
 
4285
4691
  # header parameters
4286
4692
  header_params = opts[:header_params] || {}
@@ -4352,8 +4758,15 @@ module XeroRuby
4352
4758
  # resource path
4353
4759
  local_var_path = '/Payments/{PaymentID}'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
4354
4760
 
4761
+ # camelize keys of incoming `where` opts
4762
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4763
+
4355
4764
  # query parameters
4356
4765
  query_params = opts[:query_params] || {}
4766
+
4767
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4768
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4769
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4357
4770
 
4358
4771
  # header parameters
4359
4772
  header_params = opts[:header_params] || {}
@@ -4421,8 +4834,15 @@ module XeroRuby
4421
4834
  # resource path
4422
4835
  local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
4423
4836
 
4837
+ # camelize keys of incoming `where` opts
4838
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4839
+
4424
4840
  # query parameters
4425
4841
  query_params = opts[:query_params] || {}
4842
+
4843
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4844
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4845
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4426
4846
 
4427
4847
  # header parameters
4428
4848
  header_params = opts[:header_params] || {}
@@ -4494,8 +4914,15 @@ module XeroRuby
4494
4914
  # resource path
4495
4915
  local_var_path = '/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s).sub('{' + 'TrackingOptionID' + '}', tracking_option_id.to_s)
4496
4916
 
4917
+ # camelize keys of incoming `where` opts
4918
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4919
+
4497
4920
  # query parameters
4498
4921
  query_params = opts[:query_params] || {}
4922
+
4923
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4924
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
4925
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4499
4926
 
4500
4927
  # header parameters
4501
4928
  header_params = opts[:header_params] || {}
@@ -4567,8 +4994,15 @@ module XeroRuby
4567
4994
  # resource path
4568
4995
  local_var_path = '/Invoices/{InvoiceID}/Email'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
4569
4996
 
4997
+ # camelize keys of incoming `where` opts
4998
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
4999
+
4570
5000
  # query parameters
4571
5001
  query_params = opts[:query_params] || {}
5002
+
5003
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5004
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5005
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4572
5006
 
4573
5007
  # header parameters
4574
5008
  header_params = opts[:header_params] || {}
@@ -4636,8 +5070,15 @@ module XeroRuby
4636
5070
  # resource path
4637
5071
  local_var_path = '/Accounts/{AccountID}'.sub('{' + 'AccountID' + '}', account_id.to_s)
4638
5072
 
5073
+ # camelize keys of incoming `where` opts
5074
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5075
+
4639
5076
  # query parameters
4640
5077
  query_params = opts[:query_params] || {}
5078
+
5079
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5080
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5081
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4641
5082
 
4642
5083
  # header parameters
4643
5084
  header_params = opts[:header_params] || {}
@@ -4715,8 +5156,15 @@ module XeroRuby
4715
5156
  # resource path
4716
5157
  local_var_path = '/Accounts/{AccountID}/Attachments/{FileName}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
4717
5158
 
5159
+ # camelize keys of incoming `where` opts
5160
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5161
+
4718
5162
  # query parameters
4719
5163
  query_params = opts[:query_params] || {}
5164
+
5165
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5166
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5167
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4720
5168
 
4721
5169
  # header parameters
4722
5170
  header_params = opts[:header_params] || {}
@@ -4795,8 +5243,15 @@ module XeroRuby
4795
5243
  # resource path
4796
5244
  local_var_path = '/Accounts/{AccountID}/Attachments/{AttachmentID}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
4797
5245
 
5246
+ # camelize keys of incoming `where` opts
5247
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5248
+
4798
5249
  # query parameters
4799
5250
  query_params = opts[:query_params] || {}
5251
+
5252
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5253
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5254
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4800
5255
 
4801
5256
  # header parameters
4802
5257
  header_params = opts[:header_params] || {}
@@ -4863,8 +5318,15 @@ module XeroRuby
4863
5318
  # resource path
4864
5319
  local_var_path = '/Accounts/{AccountID}/Attachments'.sub('{' + 'AccountID' + '}', account_id.to_s)
4865
5320
 
5321
+ # camelize keys of incoming `where` opts
5322
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5323
+
4866
5324
  # query parameters
4867
5325
  query_params = opts[:query_params] || {}
5326
+
5327
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5328
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5329
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4868
5330
 
4869
5331
  # header parameters
4870
5332
  header_params = opts[:header_params] || {}
@@ -4930,10 +5392,17 @@ module XeroRuby
4930
5392
  # resource path
4931
5393
  local_var_path = '/Accounts'
4932
5394
 
5395
+ # camelize keys of incoming `where` opts
5396
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5397
+
4933
5398
  # query parameters
4934
5399
  query_params = opts[:query_params] || {}
4935
5400
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
4936
5401
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
5402
+
5403
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5404
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5405
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
4937
5406
 
4938
5407
  # header parameters
4939
5408
  header_params = opts[:header_params] || {}
@@ -5002,9 +5471,16 @@ module XeroRuby
5002
5471
  # resource path
5003
5472
  local_var_path = '/BankTransactions/{BankTransactionID}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
5004
5473
 
5474
+ # camelize keys of incoming `where` opts
5475
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5476
+
5005
5477
  # query parameters
5006
5478
  query_params = opts[:query_params] || {}
5007
5479
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
5480
+
5481
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5482
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5483
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5008
5484
 
5009
5485
  # header parameters
5010
5486
  header_params = opts[:header_params] || {}
@@ -5082,8 +5558,15 @@ module XeroRuby
5082
5558
  # resource path
5083
5559
  local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{FileName}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
5084
5560
 
5561
+ # camelize keys of incoming `where` opts
5562
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5563
+
5085
5564
  # query parameters
5086
5565
  query_params = opts[:query_params] || {}
5566
+
5567
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5568
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5569
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5087
5570
 
5088
5571
  # header parameters
5089
5572
  header_params = opts[:header_params] || {}
@@ -5162,8 +5645,15 @@ module XeroRuby
5162
5645
  # resource path
5163
5646
  local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
5164
5647
 
5648
+ # camelize keys of incoming `where` opts
5649
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5650
+
5165
5651
  # query parameters
5166
5652
  query_params = opts[:query_params] || {}
5653
+
5654
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5655
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5656
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5167
5657
 
5168
5658
  # header parameters
5169
5659
  header_params = opts[:header_params] || {}
@@ -5230,8 +5720,15 @@ module XeroRuby
5230
5720
  # resource path
5231
5721
  local_var_path = '/BankTransactions/{BankTransactionID}/Attachments'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
5232
5722
 
5723
+ # camelize keys of incoming `where` opts
5724
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5725
+
5233
5726
  # query parameters
5234
5727
  query_params = opts[:query_params] || {}
5728
+
5729
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5730
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5731
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5235
5732
 
5236
5733
  # header parameters
5237
5734
  header_params = opts[:header_params] || {}
@@ -5301,12 +5798,19 @@ module XeroRuby
5301
5798
  # resource path
5302
5799
  local_var_path = '/BankTransactions'
5303
5800
 
5801
+ # camelize keys of incoming `where` opts
5802
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5803
+
5304
5804
  # query parameters
5305
5805
  query_params = opts[:query_params] || {}
5306
5806
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
5307
5807
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
5308
5808
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
5309
5809
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
5810
+
5811
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5812
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5813
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5310
5814
 
5311
5815
  # header parameters
5312
5816
  header_params = opts[:header_params] || {}
@@ -5373,8 +5877,15 @@ module XeroRuby
5373
5877
  # resource path
5374
5878
  local_var_path = '/BankTransactions/{BankTransactionID}/History'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
5375
5879
 
5880
+ # camelize keys of incoming `where` opts
5881
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5882
+
5376
5883
  # query parameters
5377
5884
  query_params = opts[:query_params] || {}
5885
+
5886
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5887
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5888
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5378
5889
 
5379
5890
  # header parameters
5380
5891
  header_params = opts[:header_params] || {}
@@ -5440,8 +5951,15 @@ module XeroRuby
5440
5951
  # resource path
5441
5952
  local_var_path = '/BankTransfers/{BankTransferID}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
5442
5953
 
5954
+ # camelize keys of incoming `where` opts
5955
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
5956
+
5443
5957
  # query parameters
5444
5958
  query_params = opts[:query_params] || {}
5959
+
5960
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
5961
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
5962
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5445
5963
 
5446
5964
  # header parameters
5447
5965
  header_params = opts[:header_params] || {}
@@ -5519,8 +6037,15 @@ module XeroRuby
5519
6037
  # resource path
5520
6038
  local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{FileName}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
5521
6039
 
6040
+ # camelize keys of incoming `where` opts
6041
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6042
+
5522
6043
  # query parameters
5523
6044
  query_params = opts[:query_params] || {}
6045
+
6046
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6047
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6048
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5524
6049
 
5525
6050
  # header parameters
5526
6051
  header_params = opts[:header_params] || {}
@@ -5599,8 +6124,15 @@ module XeroRuby
5599
6124
  # resource path
5600
6125
  local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{AttachmentID}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
5601
6126
 
6127
+ # camelize keys of incoming `where` opts
6128
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6129
+
5602
6130
  # query parameters
5603
6131
  query_params = opts[:query_params] || {}
6132
+
6133
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6134
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6135
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5604
6136
 
5605
6137
  # header parameters
5606
6138
  header_params = opts[:header_params] || {}
@@ -5667,8 +6199,15 @@ module XeroRuby
5667
6199
  # resource path
5668
6200
  local_var_path = '/BankTransfers/{BankTransferID}/Attachments'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
5669
6201
 
6202
+ # camelize keys of incoming `where` opts
6203
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6204
+
5670
6205
  # query parameters
5671
6206
  query_params = opts[:query_params] || {}
6207
+
6208
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6209
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6210
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5672
6211
 
5673
6212
  # header parameters
5674
6213
  header_params = opts[:header_params] || {}
@@ -5734,8 +6273,15 @@ module XeroRuby
5734
6273
  # resource path
5735
6274
  local_var_path = '/BankTransfers/{BankTransferID}/History'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
5736
6275
 
6276
+ # camelize keys of incoming `where` opts
6277
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6278
+
5737
6279
  # query parameters
5738
6280
  query_params = opts[:query_params] || {}
6281
+
6282
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6283
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6284
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5739
6285
 
5740
6286
  # header parameters
5741
6287
  header_params = opts[:header_params] || {}
@@ -5801,10 +6347,17 @@ module XeroRuby
5801
6347
  # resource path
5802
6348
  local_var_path = '/BankTransfers'
5803
6349
 
6350
+ # camelize keys of incoming `where` opts
6351
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6352
+
5804
6353
  # query parameters
5805
6354
  query_params = opts[:query_params] || {}
5806
6355
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
5807
6356
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
6357
+
6358
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6359
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6360
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5808
6361
 
5809
6362
  # header parameters
5810
6363
  header_params = opts[:header_params] || {}
@@ -5871,8 +6424,15 @@ module XeroRuby
5871
6424
  # resource path
5872
6425
  local_var_path = '/BatchPayments/{BatchPaymentID}/History'.sub('{' + 'BatchPaymentID' + '}', batch_payment_id.to_s)
5873
6426
 
6427
+ # camelize keys of incoming `where` opts
6428
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6429
+
5874
6430
  # query parameters
5875
6431
  query_params = opts[:query_params] || {}
6432
+
6433
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6434
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6435
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5876
6436
 
5877
6437
  # header parameters
5878
6438
  header_params = opts[:header_params] || {}
@@ -5938,10 +6498,17 @@ module XeroRuby
5938
6498
  # resource path
5939
6499
  local_var_path = '/BatchPayments'
5940
6500
 
6501
+ # camelize keys of incoming `where` opts
6502
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6503
+
5941
6504
  # query parameters
5942
6505
  query_params = opts[:query_params] || {}
5943
6506
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
5944
6507
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
6508
+
6509
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6510
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6511
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
5945
6512
 
5946
6513
  # header parameters
5947
6514
  header_params = opts[:header_params] || {}
@@ -6008,8 +6575,15 @@ module XeroRuby
6008
6575
  # resource path
6009
6576
  local_var_path = '/BrandingThemes/{BrandingThemeID}'.sub('{' + 'BrandingThemeID' + '}', branding_theme_id.to_s)
6010
6577
 
6578
+ # camelize keys of incoming `where` opts
6579
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6580
+
6011
6581
  # query parameters
6012
6582
  query_params = opts[:query_params] || {}
6583
+
6584
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6585
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6586
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6013
6587
 
6014
6588
  # header parameters
6015
6589
  header_params = opts[:header_params] || {}
@@ -6075,8 +6649,15 @@ module XeroRuby
6075
6649
  # resource path
6076
6650
  local_var_path = '/BrandingThemes/{BrandingThemeID}/PaymentServices'.sub('{' + 'BrandingThemeID' + '}', branding_theme_id.to_s)
6077
6651
 
6652
+ # camelize keys of incoming `where` opts
6653
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6654
+
6078
6655
  # query parameters
6079
6656
  query_params = opts[:query_params] || {}
6657
+
6658
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6659
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6660
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6080
6661
 
6081
6662
  # header parameters
6082
6663
  header_params = opts[:header_params] || {}
@@ -6136,8 +6717,15 @@ module XeroRuby
6136
6717
  # resource path
6137
6718
  local_var_path = '/BrandingThemes'
6138
6719
 
6720
+ # camelize keys of incoming `where` opts
6721
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6722
+
6139
6723
  # query parameters
6140
6724
  query_params = opts[:query_params] || {}
6725
+
6726
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6727
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6728
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6141
6729
 
6142
6730
  # header parameters
6143
6731
  header_params = opts[:header_params] || {}
@@ -6203,8 +6791,15 @@ module XeroRuby
6203
6791
  # resource path
6204
6792
  local_var_path = '/Contacts/{ContactID}'.sub('{' + 'ContactID' + '}', contact_id.to_s)
6205
6793
 
6794
+ # camelize keys of incoming `where` opts
6795
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6796
+
6206
6797
  # query parameters
6207
6798
  query_params = opts[:query_params] || {}
6799
+
6800
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6801
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6802
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6208
6803
 
6209
6804
  # header parameters
6210
6805
  header_params = opts[:header_params] || {}
@@ -6282,8 +6877,15 @@ module XeroRuby
6282
6877
  # resource path
6283
6878
  local_var_path = '/Contacts/{ContactID}/Attachments/{FileName}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
6284
6879
 
6880
+ # camelize keys of incoming `where` opts
6881
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6882
+
6285
6883
  # query parameters
6286
6884
  query_params = opts[:query_params] || {}
6885
+
6886
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6887
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6888
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6287
6889
 
6288
6890
  # header parameters
6289
6891
  header_params = opts[:header_params] || {}
@@ -6362,8 +6964,15 @@ module XeroRuby
6362
6964
  # resource path
6363
6965
  local_var_path = '/Contacts/{ContactID}/Attachments/{AttachmentID}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
6364
6966
 
6967
+ # camelize keys of incoming `where` opts
6968
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
6969
+
6365
6970
  # query parameters
6366
6971
  query_params = opts[:query_params] || {}
6972
+
6973
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
6974
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
6975
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6367
6976
 
6368
6977
  # header parameters
6369
6978
  header_params = opts[:header_params] || {}
@@ -6430,8 +7039,15 @@ module XeroRuby
6430
7039
  # resource path
6431
7040
  local_var_path = '/Contacts/{ContactID}/Attachments'.sub('{' + 'ContactID' + '}', contact_id.to_s)
6432
7041
 
7042
+ # camelize keys of incoming `where` opts
7043
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7044
+
6433
7045
  # query parameters
6434
7046
  query_params = opts[:query_params] || {}
7047
+
7048
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7049
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7050
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6435
7051
 
6436
7052
  # header parameters
6437
7053
  header_params = opts[:header_params] || {}
@@ -6497,8 +7113,15 @@ module XeroRuby
6497
7113
  # resource path
6498
7114
  local_var_path = '/Contacts/{ContactNumber}'.sub('{' + 'ContactNumber' + '}', contact_number.to_s)
6499
7115
 
7116
+ # camelize keys of incoming `where` opts
7117
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7118
+
6500
7119
  # query parameters
6501
7120
  query_params = opts[:query_params] || {}
7121
+
7122
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7123
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7124
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6502
7125
 
6503
7126
  # header parameters
6504
7127
  header_params = opts[:header_params] || {}
@@ -6564,8 +7187,15 @@ module XeroRuby
6564
7187
  # resource path
6565
7188
  local_var_path = '/Contacts/{ContactID}/CISSettings'.sub('{' + 'ContactID' + '}', contact_id.to_s)
6566
7189
 
7190
+ # camelize keys of incoming `where` opts
7191
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7192
+
6567
7193
  # query parameters
6568
7194
  query_params = opts[:query_params] || {}
7195
+
7196
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7197
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7198
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6569
7199
 
6570
7200
  # header parameters
6571
7201
  header_params = opts[:header_params] || {}
@@ -6631,8 +7261,15 @@ module XeroRuby
6631
7261
  # resource path
6632
7262
  local_var_path = '/ContactGroups/{ContactGroupID}'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
6633
7263
 
7264
+ # camelize keys of incoming `where` opts
7265
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7266
+
6634
7267
  # query parameters
6635
7268
  query_params = opts[:query_params] || {}
7269
+
7270
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7271
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7272
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6636
7273
 
6637
7274
  # header parameters
6638
7275
  header_params = opts[:header_params] || {}
@@ -6696,10 +7333,17 @@ module XeroRuby
6696
7333
  # resource path
6697
7334
  local_var_path = '/ContactGroups'
6698
7335
 
7336
+ # camelize keys of incoming `where` opts
7337
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7338
+
6699
7339
  # query parameters
6700
7340
  query_params = opts[:query_params] || {}
6701
7341
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
6702
7342
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
7343
+
7344
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7345
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7346
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6703
7347
 
6704
7348
  # header parameters
6705
7349
  header_params = opts[:header_params] || {}
@@ -6765,8 +7409,15 @@ module XeroRuby
6765
7409
  # resource path
6766
7410
  local_var_path = '/Contacts/{ContactID}/History'.sub('{' + 'ContactID' + '}', contact_id.to_s)
6767
7411
 
7412
+ # camelize keys of incoming `where` opts
7413
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7414
+
6768
7415
  # query parameters
6769
7416
  query_params = opts[:query_params] || {}
7417
+
7418
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7419
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7420
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6770
7421
 
6771
7422
  # header parameters
6772
7423
  header_params = opts[:header_params] || {}
@@ -6838,6 +7489,9 @@ module XeroRuby
6838
7489
  # resource path
6839
7490
  local_var_path = '/Contacts'
6840
7491
 
7492
+ # camelize keys of incoming `where` opts
7493
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7494
+
6841
7495
  # query parameters
6842
7496
  query_params = opts[:query_params] || {}
6843
7497
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
@@ -6845,6 +7499,10 @@ module XeroRuby
6845
7499
  query_params[:'IDs'] = @api_client.build_collection_param(opts[:'i_ds'], :csv) if !opts[:'i_ds'].nil?
6846
7500
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
6847
7501
  query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
7502
+
7503
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7504
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7505
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6848
7506
 
6849
7507
  # header parameters
6850
7508
  header_params = opts[:header_params] || {}
@@ -6913,9 +7571,16 @@ module XeroRuby
6913
7571
  # resource path
6914
7572
  local_var_path = '/CreditNotes/{CreditNoteID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
6915
7573
 
7574
+ # camelize keys of incoming `where` opts
7575
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7576
+
6916
7577
  # query parameters
6917
7578
  query_params = opts[:query_params] || {}
6918
7579
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
7580
+
7581
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7582
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7583
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6919
7584
 
6920
7585
  # header parameters
6921
7586
  header_params = opts[:header_params] || {}
@@ -6981,8 +7646,15 @@ module XeroRuby
6981
7646
  # resource path
6982
7647
  local_var_path = '/CreditNotes/{CreditNoteID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
6983
7648
 
7649
+ # camelize keys of incoming `where` opts
7650
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7651
+
6984
7652
  # query parameters
6985
7653
  query_params = opts[:query_params] || {}
7654
+
7655
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7656
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7657
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
6986
7658
 
6987
7659
  # header parameters
6988
7660
  header_params = opts[:header_params] || {}
@@ -7060,8 +7732,15 @@ module XeroRuby
7060
7732
  # resource path
7061
7733
  local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{FileName}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
7062
7734
 
7735
+ # camelize keys of incoming `where` opts
7736
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7737
+
7063
7738
  # query parameters
7064
7739
  query_params = opts[:query_params] || {}
7740
+
7741
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7742
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7743
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7065
7744
 
7066
7745
  # header parameters
7067
7746
  header_params = opts[:header_params] || {}
@@ -7140,8 +7819,15 @@ module XeroRuby
7140
7819
  # resource path
7141
7820
  local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{AttachmentID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
7142
7821
 
7822
+ # camelize keys of incoming `where` opts
7823
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7824
+
7143
7825
  # query parameters
7144
7826
  query_params = opts[:query_params] || {}
7827
+
7828
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7829
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7830
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7145
7831
 
7146
7832
  # header parameters
7147
7833
  header_params = opts[:header_params] || {}
@@ -7208,8 +7894,15 @@ module XeroRuby
7208
7894
  # resource path
7209
7895
  local_var_path = '/CreditNotes/{CreditNoteID}/Attachments'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
7210
7896
 
7897
+ # camelize keys of incoming `where` opts
7898
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7899
+
7211
7900
  # query parameters
7212
7901
  query_params = opts[:query_params] || {}
7902
+
7903
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7904
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7905
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7213
7906
 
7214
7907
  # header parameters
7215
7908
  header_params = opts[:header_params] || {}
@@ -7275,8 +7968,15 @@ module XeroRuby
7275
7968
  # resource path
7276
7969
  local_var_path = '/CreditNotes/{CreditNoteID}/History'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
7277
7970
 
7971
+ # camelize keys of incoming `where` opts
7972
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
7973
+
7278
7974
  # query parameters
7279
7975
  query_params = opts[:query_params] || {}
7976
+
7977
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
7978
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
7979
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7280
7980
 
7281
7981
  # header parameters
7282
7982
  header_params = opts[:header_params] || {}
@@ -7346,12 +8046,19 @@ module XeroRuby
7346
8046
  # resource path
7347
8047
  local_var_path = '/CreditNotes'
7348
8048
 
8049
+ # camelize keys of incoming `where` opts
8050
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8051
+
7349
8052
  # query parameters
7350
8053
  query_params = opts[:query_params] || {}
7351
8054
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
7352
8055
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
7353
8056
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
7354
8057
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
8058
+
8059
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8060
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8061
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7355
8062
 
7356
8063
  # header parameters
7357
8064
  header_params = opts[:header_params] || {}
@@ -7416,10 +8123,17 @@ module XeroRuby
7416
8123
  # resource path
7417
8124
  local_var_path = '/Currencies'
7418
8125
 
8126
+ # camelize keys of incoming `where` opts
8127
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8128
+
7419
8129
  # query parameters
7420
8130
  query_params = opts[:query_params] || {}
7421
8131
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
7422
8132
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
8133
+
8134
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8135
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8136
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7423
8137
 
7424
8138
  # header parameters
7425
8139
  header_params = opts[:header_params] || {}
@@ -7485,8 +8199,15 @@ module XeroRuby
7485
8199
  # resource path
7486
8200
  local_var_path = '/Employees/{EmployeeID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
7487
8201
 
8202
+ # camelize keys of incoming `where` opts
8203
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8204
+
7488
8205
  # query parameters
7489
8206
  query_params = opts[:query_params] || {}
8207
+
8208
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8209
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8210
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7490
8211
 
7491
8212
  # header parameters
7492
8213
  header_params = opts[:header_params] || {}
@@ -7552,10 +8273,17 @@ module XeroRuby
7552
8273
  # resource path
7553
8274
  local_var_path = '/Employees'
7554
8275
 
8276
+ # camelize keys of incoming `where` opts
8277
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8278
+
7555
8279
  # query parameters
7556
8280
  query_params = opts[:query_params] || {}
7557
8281
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
7558
8282
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
8283
+
8284
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8285
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8286
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7559
8287
 
7560
8288
  # header parameters
7561
8289
  header_params = opts[:header_params] || {}
@@ -7622,8 +8350,15 @@ module XeroRuby
7622
8350
  # resource path
7623
8351
  local_var_path = '/ExpenseClaims/{ExpenseClaimID}'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
7624
8352
 
8353
+ # camelize keys of incoming `where` opts
8354
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8355
+
7625
8356
  # query parameters
7626
8357
  query_params = opts[:query_params] || {}
8358
+
8359
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8360
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8361
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7627
8362
 
7628
8363
  # header parameters
7629
8364
  header_params = opts[:header_params] || {}
@@ -7689,8 +8424,15 @@ module XeroRuby
7689
8424
  # resource path
7690
8425
  local_var_path = '/ExpenseClaims/{ExpenseClaimID}/History'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
7691
8426
 
8427
+ # camelize keys of incoming `where` opts
8428
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8429
+
7692
8430
  # query parameters
7693
8431
  query_params = opts[:query_params] || {}
8432
+
8433
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8434
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8435
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7694
8436
 
7695
8437
  # header parameters
7696
8438
  header_params = opts[:header_params] || {}
@@ -7756,10 +8498,17 @@ module XeroRuby
7756
8498
  # resource path
7757
8499
  local_var_path = '/ExpenseClaims'
7758
8500
 
8501
+ # camelize keys of incoming `where` opts
8502
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8503
+
7759
8504
  # query parameters
7760
8505
  query_params = opts[:query_params] || {}
7761
8506
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
7762
8507
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
8508
+
8509
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8510
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8511
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7763
8512
 
7764
8513
  # header parameters
7765
8514
  header_params = opts[:header_params] || {}
@@ -7828,9 +8577,16 @@ module XeroRuby
7828
8577
  # resource path
7829
8578
  local_var_path = '/Invoices/{InvoiceID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
7830
8579
 
8580
+ # camelize keys of incoming `where` opts
8581
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8582
+
7831
8583
  # query parameters
7832
8584
  query_params = opts[:query_params] || {}
7833
8585
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
8586
+
8587
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8588
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8589
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7834
8590
 
7835
8591
  # header parameters
7836
8592
  header_params = opts[:header_params] || {}
@@ -7896,8 +8652,15 @@ module XeroRuby
7896
8652
  # resource path
7897
8653
  local_var_path = '/Invoices/{InvoiceID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
7898
8654
 
8655
+ # camelize keys of incoming `where` opts
8656
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8657
+
7899
8658
  # query parameters
7900
8659
  query_params = opts[:query_params] || {}
8660
+
8661
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8662
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8663
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7901
8664
 
7902
8665
  # header parameters
7903
8666
  header_params = opts[:header_params] || {}
@@ -7975,8 +8738,15 @@ module XeroRuby
7975
8738
  # resource path
7976
8739
  local_var_path = '/Invoices/{InvoiceID}/Attachments/{FileName}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
7977
8740
 
8741
+ # camelize keys of incoming `where` opts
8742
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8743
+
7978
8744
  # query parameters
7979
8745
  query_params = opts[:query_params] || {}
8746
+
8747
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8748
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8749
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
7980
8750
 
7981
8751
  # header parameters
7982
8752
  header_params = opts[:header_params] || {}
@@ -8055,8 +8825,15 @@ module XeroRuby
8055
8825
  # resource path
8056
8826
  local_var_path = '/Invoices/{InvoiceID}/Attachments/{AttachmentID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
8057
8827
 
8828
+ # camelize keys of incoming `where` opts
8829
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8830
+
8058
8831
  # query parameters
8059
8832
  query_params = opts[:query_params] || {}
8833
+
8834
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8835
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8836
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8060
8837
 
8061
8838
  # header parameters
8062
8839
  header_params = opts[:header_params] || {}
@@ -8123,8 +8900,15 @@ module XeroRuby
8123
8900
  # resource path
8124
8901
  local_var_path = '/Invoices/{InvoiceID}/Attachments'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
8125
8902
 
8903
+ # camelize keys of incoming `where` opts
8904
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8905
+
8126
8906
  # query parameters
8127
8907
  query_params = opts[:query_params] || {}
8908
+
8909
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8910
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8911
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8128
8912
 
8129
8913
  # header parameters
8130
8914
  header_params = opts[:header_params] || {}
@@ -8190,8 +8974,15 @@ module XeroRuby
8190
8974
  # resource path
8191
8975
  local_var_path = '/Invoices/{InvoiceID}/History'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
8192
8976
 
8977
+ # camelize keys of incoming `where` opts
8978
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
8979
+
8193
8980
  # query parameters
8194
8981
  query_params = opts[:query_params] || {}
8982
+
8983
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
8984
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
8985
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8195
8986
 
8196
8987
  # header parameters
8197
8988
  header_params = opts[:header_params] || {}
@@ -8251,8 +9042,15 @@ module XeroRuby
8251
9042
  # resource path
8252
9043
  local_var_path = '/InvoiceReminders/Settings'
8253
9044
 
9045
+ # camelize keys of incoming `where` opts
9046
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9047
+
8254
9048
  # query parameters
8255
9049
  query_params = opts[:query_params] || {}
9050
+
9051
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9052
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9053
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8256
9054
 
8257
9055
  # header parameters
8258
9056
  header_params = opts[:header_params] || {}
@@ -8334,6 +9132,9 @@ module XeroRuby
8334
9132
  # resource path
8335
9133
  local_var_path = '/Invoices'
8336
9134
 
9135
+ # camelize keys of incoming `where` opts
9136
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9137
+
8337
9138
  # query parameters
8338
9139
  query_params = opts[:query_params] || {}
8339
9140
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
@@ -8346,6 +9147,10 @@ module XeroRuby
8346
9147
  query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
8347
9148
  query_params[:'createdByMyApp'] = opts[:'created_by_my_app'] if !opts[:'created_by_my_app'].nil?
8348
9149
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
9150
+
9151
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9152
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9153
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8349
9154
 
8350
9155
  # header parameters
8351
9156
  header_params = opts[:header_params] || {}
@@ -8414,9 +9219,16 @@ module XeroRuby
8414
9219
  # resource path
8415
9220
  local_var_path = '/Items/{ItemID}'.sub('{' + 'ItemID' + '}', item_id.to_s)
8416
9221
 
9222
+ # camelize keys of incoming `where` opts
9223
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9224
+
8417
9225
  # query parameters
8418
9226
  query_params = opts[:query_params] || {}
8419
9227
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
9228
+
9229
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9230
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9231
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8420
9232
 
8421
9233
  # header parameters
8422
9234
  header_params = opts[:header_params] || {}
@@ -8482,8 +9294,15 @@ module XeroRuby
8482
9294
  # resource path
8483
9295
  local_var_path = '/Items/{ItemID}/History'.sub('{' + 'ItemID' + '}', item_id.to_s)
8484
9296
 
9297
+ # camelize keys of incoming `where` opts
9298
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9299
+
8485
9300
  # query parameters
8486
9301
  query_params = opts[:query_params] || {}
9302
+
9303
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9304
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9305
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8487
9306
 
8488
9307
  # header parameters
8489
9308
  header_params = opts[:header_params] || {}
@@ -8551,11 +9370,18 @@ module XeroRuby
8551
9370
  # resource path
8552
9371
  local_var_path = '/Items'
8553
9372
 
9373
+ # camelize keys of incoming `where` opts
9374
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9375
+
8554
9376
  # query parameters
8555
9377
  query_params = opts[:query_params] || {}
8556
9378
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
8557
9379
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
8558
9380
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
9381
+
9382
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9383
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9384
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8559
9385
 
8560
9386
  # header parameters
8561
9387
  header_params = opts[:header_params] || {}
@@ -8622,8 +9448,15 @@ module XeroRuby
8622
9448
  # resource path
8623
9449
  local_var_path = '/Journals/{JournalID}'.sub('{' + 'JournalID' + '}', journal_id.to_s)
8624
9450
 
9451
+ # camelize keys of incoming `where` opts
9452
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9453
+
8625
9454
  # query parameters
8626
9455
  query_params = opts[:query_params] || {}
9456
+
9457
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9458
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9459
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8627
9460
 
8628
9461
  # header parameters
8629
9462
  header_params = opts[:header_params] || {}
@@ -8689,10 +9522,17 @@ module XeroRuby
8689
9522
  # resource path
8690
9523
  local_var_path = '/Journals'
8691
9524
 
9525
+ # camelize keys of incoming `where` opts
9526
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9527
+
8692
9528
  # query parameters
8693
9529
  query_params = opts[:query_params] || {}
8694
9530
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
8695
9531
  query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
9532
+
9533
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9534
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9535
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8696
9536
 
8697
9537
  # header parameters
8698
9538
  header_params = opts[:header_params] || {}
@@ -8759,8 +9599,15 @@ module XeroRuby
8759
9599
  # resource path
8760
9600
  local_var_path = '/LinkedTransactions/{LinkedTransactionID}'.sub('{' + 'LinkedTransactionID' + '}', linked_transaction_id.to_s)
8761
9601
 
9602
+ # camelize keys of incoming `where` opts
9603
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9604
+
8762
9605
  # query parameters
8763
9606
  query_params = opts[:query_params] || {}
9607
+
9608
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9609
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9610
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8764
9611
 
8765
9612
  # header parameters
8766
9613
  header_params = opts[:header_params] || {}
@@ -8832,6 +9679,9 @@ module XeroRuby
8832
9679
  # resource path
8833
9680
  local_var_path = '/LinkedTransactions'
8834
9681
 
9682
+ # camelize keys of incoming `where` opts
9683
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9684
+
8835
9685
  # query parameters
8836
9686
  query_params = opts[:query_params] || {}
8837
9687
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
@@ -8840,6 +9690,10 @@ module XeroRuby
8840
9690
  query_params[:'ContactID'] = opts[:'contact_id'] if !opts[:'contact_id'].nil?
8841
9691
  query_params[:'Status'] = opts[:'status'] if !opts[:'status'].nil?
8842
9692
  query_params[:'TargetTransactionID'] = opts[:'target_transaction_id'] if !opts[:'target_transaction_id'].nil?
9693
+
9694
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9695
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9696
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8843
9697
 
8844
9698
  # header parameters
8845
9699
  header_params = opts[:header_params] || {}
@@ -8905,8 +9759,15 @@ module XeroRuby
8905
9759
  # resource path
8906
9760
  local_var_path = '/ManualJournals/{ManualJournalID}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
8907
9761
 
9762
+ # camelize keys of incoming `where` opts
9763
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9764
+
8908
9765
  # query parameters
8909
9766
  query_params = opts[:query_params] || {}
9767
+
9768
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9769
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9770
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8910
9771
 
8911
9772
  # header parameters
8912
9773
  header_params = opts[:header_params] || {}
@@ -8984,8 +9845,15 @@ module XeroRuby
8984
9845
  # resource path
8985
9846
  local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{FileName}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
8986
9847
 
9848
+ # camelize keys of incoming `where` opts
9849
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9850
+
8987
9851
  # query parameters
8988
9852
  query_params = opts[:query_params] || {}
9853
+
9854
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9855
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9856
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
8989
9857
 
8990
9858
  # header parameters
8991
9859
  header_params = opts[:header_params] || {}
@@ -9064,8 +9932,15 @@ module XeroRuby
9064
9932
  # resource path
9065
9933
  local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{AttachmentID}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
9066
9934
 
9935
+ # camelize keys of incoming `where` opts
9936
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9937
+
9067
9938
  # query parameters
9068
9939
  query_params = opts[:query_params] || {}
9940
+
9941
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9942
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9943
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9069
9944
 
9070
9945
  # header parameters
9071
9946
  header_params = opts[:header_params] || {}
@@ -9132,8 +10007,15 @@ module XeroRuby
9132
10007
  # resource path
9133
10008
  local_var_path = '/ManualJournals/{ManualJournalID}/Attachments'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
9134
10009
 
10010
+ # camelize keys of incoming `where` opts
10011
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10012
+
9135
10013
  # query parameters
9136
10014
  query_params = opts[:query_params] || {}
10015
+
10016
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10017
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10018
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9137
10019
 
9138
10020
  # header parameters
9139
10021
  header_params = opts[:header_params] || {}
@@ -9201,11 +10083,18 @@ module XeroRuby
9201
10083
  # resource path
9202
10084
  local_var_path = '/ManualJournals'
9203
10085
 
10086
+ # camelize keys of incoming `where` opts
10087
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10088
+
9204
10089
  # query parameters
9205
10090
  query_params = opts[:query_params] || {}
9206
10091
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
9207
10092
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
9208
10093
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
10094
+
10095
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10096
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10097
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9209
10098
 
9210
10099
  # header parameters
9211
10100
  header_params = opts[:header_params] || {}
@@ -9272,8 +10161,15 @@ module XeroRuby
9272
10161
  # resource path
9273
10162
  local_var_path = '/Invoices/{InvoiceID}/OnlineInvoice'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
9274
10163
 
10164
+ # camelize keys of incoming `where` opts
10165
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10166
+
9275
10167
  # query parameters
9276
10168
  query_params = opts[:query_params] || {}
10169
+
10170
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10171
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10172
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9277
10173
 
9278
10174
  # header parameters
9279
10175
  header_params = opts[:header_params] || {}
@@ -9339,8 +10235,15 @@ module XeroRuby
9339
10235
  # resource path
9340
10236
  local_var_path = '/Organisation/{OrganisationID}/CISSettings'.sub('{' + 'OrganisationID' + '}', organisation_id.to_s)
9341
10237
 
10238
+ # camelize keys of incoming `where` opts
10239
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10240
+
9342
10241
  # query parameters
9343
10242
  query_params = opts[:query_params] || {}
10243
+
10244
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10245
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10246
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9344
10247
 
9345
10248
  # header parameters
9346
10249
  header_params = opts[:header_params] || {}
@@ -9400,8 +10303,15 @@ module XeroRuby
9400
10303
  # resource path
9401
10304
  local_var_path = '/Organisation'
9402
10305
 
10306
+ # camelize keys of incoming `where` opts
10307
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10308
+
9403
10309
  # query parameters
9404
10310
  query_params = opts[:query_params] || {}
10311
+
10312
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10313
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10314
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9405
10315
 
9406
10316
  # header parameters
9407
10317
  header_params = opts[:header_params] || {}
@@ -9467,8 +10377,15 @@ module XeroRuby
9467
10377
  # resource path
9468
10378
  local_var_path = '/Overpayments/{OverpaymentID}'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
9469
10379
 
10380
+ # camelize keys of incoming `where` opts
10381
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10382
+
9470
10383
  # query parameters
9471
10384
  query_params = opts[:query_params] || {}
10385
+
10386
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10387
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10388
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9472
10389
 
9473
10390
  # header parameters
9474
10391
  header_params = opts[:header_params] || {}
@@ -9534,8 +10451,15 @@ module XeroRuby
9534
10451
  # resource path
9535
10452
  local_var_path = '/Overpayments/{OverpaymentID}/History'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
9536
10453
 
10454
+ # camelize keys of incoming `where` opts
10455
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10456
+
9537
10457
  # query parameters
9538
10458
  query_params = opts[:query_params] || {}
10459
+
10460
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10461
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10462
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9539
10463
 
9540
10464
  # header parameters
9541
10465
  header_params = opts[:header_params] || {}
@@ -9605,12 +10529,19 @@ module XeroRuby
9605
10529
  # resource path
9606
10530
  local_var_path = '/Overpayments'
9607
10531
 
10532
+ # camelize keys of incoming `where` opts
10533
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10534
+
9608
10535
  # query parameters
9609
10536
  query_params = opts[:query_params] || {}
9610
10537
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
9611
10538
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
9612
10539
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
9613
10540
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
10541
+
10542
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10543
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10544
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9614
10545
 
9615
10546
  # header parameters
9616
10547
  header_params = opts[:header_params] || {}
@@ -9677,8 +10608,15 @@ module XeroRuby
9677
10608
  # resource path
9678
10609
  local_var_path = '/Payments/{PaymentID}'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
9679
10610
 
10611
+ # camelize keys of incoming `where` opts
10612
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10613
+
9680
10614
  # query parameters
9681
10615
  query_params = opts[:query_params] || {}
10616
+
10617
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10618
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10619
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9682
10620
 
9683
10621
  # header parameters
9684
10622
  header_params = opts[:header_params] || {}
@@ -9744,8 +10682,15 @@ module XeroRuby
9744
10682
  # resource path
9745
10683
  local_var_path = '/Payments/{PaymentID}/History'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
9746
10684
 
10685
+ # camelize keys of incoming `where` opts
10686
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10687
+
9747
10688
  # query parameters
9748
10689
  query_params = opts[:query_params] || {}
10690
+
10691
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10692
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10693
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9749
10694
 
9750
10695
  # header parameters
9751
10696
  header_params = opts[:header_params] || {}
@@ -9805,8 +10750,15 @@ module XeroRuby
9805
10750
  # resource path
9806
10751
  local_var_path = '/PaymentServices'
9807
10752
 
10753
+ # camelize keys of incoming `where` opts
10754
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10755
+
9808
10756
  # query parameters
9809
10757
  query_params = opts[:query_params] || {}
10758
+
10759
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10760
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10761
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9810
10762
 
9811
10763
  # header parameters
9812
10764
  header_params = opts[:header_params] || {}
@@ -9874,11 +10826,18 @@ module XeroRuby
9874
10826
  # resource path
9875
10827
  local_var_path = '/Payments'
9876
10828
 
10829
+ # camelize keys of incoming `where` opts
10830
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10831
+
9877
10832
  # query parameters
9878
10833
  query_params = opts[:query_params] || {}
9879
10834
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
9880
10835
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
9881
10836
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
10837
+
10838
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10839
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10840
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9882
10841
 
9883
10842
  # header parameters
9884
10843
  header_params = opts[:header_params] || {}
@@ -9945,8 +10904,15 @@ module XeroRuby
9945
10904
  # resource path
9946
10905
  local_var_path = '/Prepayments/{PrepaymentID}'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
9947
10906
 
10907
+ # camelize keys of incoming `where` opts
10908
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10909
+
9948
10910
  # query parameters
9949
10911
  query_params = opts[:query_params] || {}
10912
+
10913
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10914
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10915
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9950
10916
 
9951
10917
  # header parameters
9952
10918
  header_params = opts[:header_params] || {}
@@ -10012,8 +10978,15 @@ module XeroRuby
10012
10978
  # resource path
10013
10979
  local_var_path = '/Prepayments/{PrepaymentID}/History'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
10014
10980
 
10981
+ # camelize keys of incoming `where` opts
10982
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
10983
+
10015
10984
  # query parameters
10016
10985
  query_params = opts[:query_params] || {}
10986
+
10987
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
10988
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
10989
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10017
10990
 
10018
10991
  # header parameters
10019
10992
  header_params = opts[:header_params] || {}
@@ -10083,12 +11056,19 @@ module XeroRuby
10083
11056
  # resource path
10084
11057
  local_var_path = '/Prepayments'
10085
11058
 
11059
+ # camelize keys of incoming `where` opts
11060
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11061
+
10086
11062
  # query parameters
10087
11063
  query_params = opts[:query_params] || {}
10088
11064
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
10089
11065
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
10090
11066
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
10091
11067
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
11068
+
11069
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11070
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11071
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10092
11072
 
10093
11073
  # header parameters
10094
11074
  header_params = opts[:header_params] || {}
@@ -10155,8 +11135,15 @@ module XeroRuby
10155
11135
  # resource path
10156
11136
  local_var_path = '/PurchaseOrders/{PurchaseOrderID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
10157
11137
 
11138
+ # camelize keys of incoming `where` opts
11139
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11140
+
10158
11141
  # query parameters
10159
11142
  query_params = opts[:query_params] || {}
11143
+
11144
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11145
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11146
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10160
11147
 
10161
11148
  # header parameters
10162
11149
  header_params = opts[:header_params] || {}
@@ -10222,8 +11209,15 @@ module XeroRuby
10222
11209
  # resource path
10223
11210
  local_var_path = '/PurchaseOrders/{PurchaseOrderID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
10224
11211
 
11212
+ # camelize keys of incoming `where` opts
11213
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11214
+
10225
11215
  # query parameters
10226
11216
  query_params = opts[:query_params] || {}
11217
+
11218
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11219
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11220
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10227
11221
 
10228
11222
  # header parameters
10229
11223
  header_params = opts[:header_params] || {}
@@ -10289,8 +11283,15 @@ module XeroRuby
10289
11283
  # resource path
10290
11284
  local_var_path = '/PurchaseOrders/{PurchaseOrderNumber}'.sub('{' + 'PurchaseOrderNumber' + '}', purchase_order_number.to_s)
10291
11285
 
11286
+ # camelize keys of incoming `where` opts
11287
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11288
+
10292
11289
  # query parameters
10293
11290
  query_params = opts[:query_params] || {}
11291
+
11292
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11293
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11294
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10294
11295
 
10295
11296
  # header parameters
10296
11297
  header_params = opts[:header_params] || {}
@@ -10356,8 +11357,15 @@ module XeroRuby
10356
11357
  # resource path
10357
11358
  local_var_path = '/PurchaseOrders/{PurchaseOrderID}/History'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
10358
11359
 
11360
+ # camelize keys of incoming `where` opts
11361
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11362
+
10359
11363
  # query parameters
10360
11364
  query_params = opts[:query_params] || {}
11365
+
11366
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11367
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11368
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10361
11369
 
10362
11370
  # header parameters
10363
11371
  header_params = opts[:header_params] || {}
@@ -10433,6 +11441,9 @@ module XeroRuby
10433
11441
  # resource path
10434
11442
  local_var_path = '/PurchaseOrders'
10435
11443
 
11444
+ # camelize keys of incoming `where` opts
11445
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11446
+
10436
11447
  # query parameters
10437
11448
  query_params = opts[:query_params] || {}
10438
11449
  query_params[:'Status'] = opts[:'status'] if !opts[:'status'].nil?
@@ -10440,6 +11451,10 @@ module XeroRuby
10440
11451
  query_params[:'DateTo'] = opts[:'date_to'] if !opts[:'date_to'].nil?
10441
11452
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
10442
11453
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
11454
+
11455
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11456
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11457
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10443
11458
 
10444
11459
  # header parameters
10445
11460
  header_params = opts[:header_params] || {}
@@ -10506,8 +11521,15 @@ module XeroRuby
10506
11521
  # resource path
10507
11522
  local_var_path = '/Quotes/{QuoteID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
10508
11523
 
11524
+ # camelize keys of incoming `where` opts
11525
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11526
+
10509
11527
  # query parameters
10510
11528
  query_params = opts[:query_params] || {}
11529
+
11530
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11531
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11532
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10511
11533
 
10512
11534
  # header parameters
10513
11535
  header_params = opts[:header_params] || {}
@@ -10573,8 +11595,15 @@ module XeroRuby
10573
11595
  # resource path
10574
11596
  local_var_path = '/Quotes/{QuoteID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
10575
11597
 
11598
+ # camelize keys of incoming `where` opts
11599
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11600
+
10576
11601
  # query parameters
10577
11602
  query_params = opts[:query_params] || {}
11603
+
11604
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11605
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11606
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10578
11607
 
10579
11608
  # header parameters
10580
11609
  header_params = opts[:header_params] || {}
@@ -10652,8 +11681,15 @@ module XeroRuby
10652
11681
  # resource path
10653
11682
  local_var_path = '/Quotes/{QuoteID}/Attachments/{FileName}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
10654
11683
 
11684
+ # camelize keys of incoming `where` opts
11685
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11686
+
10655
11687
  # query parameters
10656
11688
  query_params = opts[:query_params] || {}
11689
+
11690
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11691
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11692
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10657
11693
 
10658
11694
  # header parameters
10659
11695
  header_params = opts[:header_params] || {}
@@ -10732,8 +11768,15 @@ module XeroRuby
10732
11768
  # resource path
10733
11769
  local_var_path = '/Quotes/{QuoteID}/Attachments/{AttachmentID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
10734
11770
 
11771
+ # camelize keys of incoming `where` opts
11772
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11773
+
10735
11774
  # query parameters
10736
11775
  query_params = opts[:query_params] || {}
11776
+
11777
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11778
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11779
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10737
11780
 
10738
11781
  # header parameters
10739
11782
  header_params = opts[:header_params] || {}
@@ -10800,8 +11843,15 @@ module XeroRuby
10800
11843
  # resource path
10801
11844
  local_var_path = '/Quotes/{QuoteID}/Attachments'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
10802
11845
 
11846
+ # camelize keys of incoming `where` opts
11847
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11848
+
10803
11849
  # query parameters
10804
11850
  query_params = opts[:query_params] || {}
11851
+
11852
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11853
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11854
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10805
11855
 
10806
11856
  # header parameters
10807
11857
  header_params = opts[:header_params] || {}
@@ -10867,8 +11917,15 @@ module XeroRuby
10867
11917
  # resource path
10868
11918
  local_var_path = '/Quotes/{QuoteID}/History'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
10869
11919
 
11920
+ # camelize keys of incoming `where` opts
11921
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
11922
+
10870
11923
  # query parameters
10871
11924
  query_params = opts[:query_params] || {}
11925
+
11926
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
11927
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
11928
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10872
11929
 
10873
11930
  # header parameters
10874
11931
  header_params = opts[:header_params] || {}
@@ -10916,6 +11973,7 @@ module XeroRuby
10916
11973
  # @option opts [String] :status Filter for quotes of a particular Status
10917
11974
  # @option opts [Integer] :page e.g. page=1 – Up to 100 Quotes will be returned in a single API call with line items shown for each quote
10918
11975
  # @option opts [String] :order Order by an any element
11976
+ # @option opts [String] :quote_number Filter by quote number (e.g. GET https://.../Quotes?QuoteNumber=QU-0001)
10919
11977
  # @return [Quotes]
10920
11978
  def get_quotes(xero_tenant_id, opts = {})
10921
11979
  data, _status_code, _headers = get_quotes_with_http_info(xero_tenant_id, opts)
@@ -10934,6 +11992,7 @@ module XeroRuby
10934
11992
  # @option opts [String] :status Filter for quotes of a particular Status
10935
11993
  # @option opts [Integer] :page e.g. page=1 – Up to 100 Quotes will be returned in a single API call with line items shown for each quote
10936
11994
  # @option opts [String] :order Order by an any element
11995
+ # @option opts [String] :quote_number Filter by quote number (e.g. GET https://.../Quotes?QuoteNumber=QU-0001)
10937
11996
  # @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
10938
11997
  def get_quotes_with_http_info(xero_tenant_id, opts = {})
10939
11998
  if @api_client.config.debugging
@@ -10946,6 +12005,9 @@ module XeroRuby
10946
12005
  # resource path
10947
12006
  local_var_path = '/Quotes'
10948
12007
 
12008
+ # camelize keys of incoming `where` opts
12009
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12010
+
10949
12011
  # query parameters
10950
12012
  query_params = opts[:query_params] || {}
10951
12013
  query_params[:'DateFrom'] = opts[:'date_from'] if !opts[:'date_from'].nil?
@@ -10956,6 +12018,11 @@ module XeroRuby
10956
12018
  query_params[:'Status'] = opts[:'status'] if !opts[:'status'].nil?
10957
12019
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
10958
12020
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12021
+ query_params[:'QuoteNumber'] = opts[:'quote_number'] if !opts[:'quote_number'].nil?
12022
+
12023
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12024
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12025
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10959
12026
 
10960
12027
  # header parameters
10961
12028
  header_params = opts[:header_params] || {}
@@ -11024,9 +12091,16 @@ module XeroRuby
11024
12091
  # resource path
11025
12092
  local_var_path = '/Receipts/{ReceiptID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
11026
12093
 
12094
+ # camelize keys of incoming `where` opts
12095
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12096
+
11027
12097
  # query parameters
11028
12098
  query_params = opts[:query_params] || {}
11029
12099
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
12100
+
12101
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12102
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12103
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11030
12104
 
11031
12105
  # header parameters
11032
12106
  header_params = opts[:header_params] || {}
@@ -11104,8 +12178,15 @@ module XeroRuby
11104
12178
  # resource path
11105
12179
  local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
11106
12180
 
12181
+ # camelize keys of incoming `where` opts
12182
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12183
+
11107
12184
  # query parameters
11108
12185
  query_params = opts[:query_params] || {}
12186
+
12187
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12188
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12189
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11109
12190
 
11110
12191
  # header parameters
11111
12192
  header_params = opts[:header_params] || {}
@@ -11184,8 +12265,15 @@ module XeroRuby
11184
12265
  # resource path
11185
12266
  local_var_path = '/Receipts/{ReceiptID}/Attachments/{AttachmentID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
11186
12267
 
12268
+ # camelize keys of incoming `where` opts
12269
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12270
+
11187
12271
  # query parameters
11188
12272
  query_params = opts[:query_params] || {}
12273
+
12274
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12275
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12276
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11189
12277
 
11190
12278
  # header parameters
11191
12279
  header_params = opts[:header_params] || {}
@@ -11252,8 +12340,15 @@ module XeroRuby
11252
12340
  # resource path
11253
12341
  local_var_path = '/Receipts/{ReceiptID}/Attachments'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
11254
12342
 
12343
+ # camelize keys of incoming `where` opts
12344
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12345
+
11255
12346
  # query parameters
11256
12347
  query_params = opts[:query_params] || {}
12348
+
12349
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12350
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12351
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11257
12352
 
11258
12353
  # header parameters
11259
12354
  header_params = opts[:header_params] || {}
@@ -11319,8 +12414,15 @@ module XeroRuby
11319
12414
  # resource path
11320
12415
  local_var_path = '/Receipts/{ReceiptID}/History'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
11321
12416
 
12417
+ # camelize keys of incoming `where` opts
12418
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12419
+
11322
12420
  # query parameters
11323
12421
  query_params = opts[:query_params] || {}
12422
+
12423
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12424
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12425
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11324
12426
 
11325
12427
  # header parameters
11326
12428
  header_params = opts[:header_params] || {}
@@ -11388,11 +12490,18 @@ module XeroRuby
11388
12490
  # resource path
11389
12491
  local_var_path = '/Receipts'
11390
12492
 
12493
+ # camelize keys of incoming `where` opts
12494
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12495
+
11391
12496
  # query parameters
11392
12497
  query_params = opts[:query_params] || {}
11393
12498
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
11394
12499
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
11395
12500
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
12501
+
12502
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12503
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12504
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11396
12505
 
11397
12506
  # header parameters
11398
12507
  header_params = opts[:header_params] || {}
@@ -11459,8 +12568,15 @@ module XeroRuby
11459
12568
  # resource path
11460
12569
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
11461
12570
 
12571
+ # camelize keys of incoming `where` opts
12572
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12573
+
11462
12574
  # query parameters
11463
12575
  query_params = opts[:query_params] || {}
12576
+
12577
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12578
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12579
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11464
12580
 
11465
12581
  # header parameters
11466
12582
  header_params = opts[:header_params] || {}
@@ -11538,8 +12654,15 @@ module XeroRuby
11538
12654
  # resource path
11539
12655
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
11540
12656
 
12657
+ # camelize keys of incoming `where` opts
12658
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12659
+
11541
12660
  # query parameters
11542
12661
  query_params = opts[:query_params] || {}
12662
+
12663
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12664
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12665
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11543
12666
 
11544
12667
  # header parameters
11545
12668
  header_params = opts[:header_params] || {}
@@ -11618,8 +12741,15 @@ module XeroRuby
11618
12741
  # resource path
11619
12742
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{AttachmentID}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
11620
12743
 
12744
+ # camelize keys of incoming `where` opts
12745
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12746
+
11621
12747
  # query parameters
11622
12748
  query_params = opts[:query_params] || {}
12749
+
12750
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12751
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12752
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11623
12753
 
11624
12754
  # header parameters
11625
12755
  header_params = opts[:header_params] || {}
@@ -11686,8 +12816,15 @@ module XeroRuby
11686
12816
  # resource path
11687
12817
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
11688
12818
 
12819
+ # camelize keys of incoming `where` opts
12820
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12821
+
11689
12822
  # query parameters
11690
12823
  query_params = opts[:query_params] || {}
12824
+
12825
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12826
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12827
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11691
12828
 
11692
12829
  # header parameters
11693
12830
  header_params = opts[:header_params] || {}
@@ -11753,8 +12890,15 @@ module XeroRuby
11753
12890
  # resource path
11754
12891
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/History'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
11755
12892
 
12893
+ # camelize keys of incoming `where` opts
12894
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12895
+
11756
12896
  # query parameters
11757
12897
  query_params = opts[:query_params] || {}
12898
+
12899
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12900
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12901
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11758
12902
 
11759
12903
  # header parameters
11760
12904
  header_params = opts[:header_params] || {}
@@ -11818,10 +12962,17 @@ module XeroRuby
11818
12962
  # resource path
11819
12963
  local_var_path = '/RepeatingInvoices'
11820
12964
 
12965
+ # camelize keys of incoming `where` opts
12966
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12967
+
11821
12968
  # query parameters
11822
12969
  query_params = opts[:query_params] || {}
11823
12970
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
11824
12971
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12972
+
12973
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12974
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12975
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11825
12976
 
11826
12977
  # header parameters
11827
12978
  header_params = opts[:header_params] || {}
@@ -11893,12 +13044,19 @@ module XeroRuby
11893
13044
  # resource path
11894
13045
  local_var_path = '/Reports/AgedPayablesByContact'
11895
13046
 
13047
+ # camelize keys of incoming `where` opts
13048
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13049
+
11896
13050
  # query parameters
11897
13051
  query_params = opts[:query_params] || {}
11898
13052
  query_params[:'contactId'] = contact_id
11899
13053
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
11900
13054
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
11901
13055
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
13056
+
13057
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13058
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13059
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11902
13060
 
11903
13061
  # header parameters
11904
13062
  header_params = opts[:header_params] || {}
@@ -11970,12 +13128,19 @@ module XeroRuby
11970
13128
  # resource path
11971
13129
  local_var_path = '/Reports/AgedReceivablesByContact'
11972
13130
 
13131
+ # camelize keys of incoming `where` opts
13132
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13133
+
11973
13134
  # query parameters
11974
13135
  query_params = opts[:query_params] || {}
11975
13136
  query_params[:'contactId'] = contact_id
11976
13137
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
11977
13138
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
11978
13139
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
13140
+
13141
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13142
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13143
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11979
13144
 
11980
13145
  # header parameters
11981
13146
  header_params = opts[:header_params] || {}
@@ -12041,8 +13206,15 @@ module XeroRuby
12041
13206
  # resource path
12042
13207
  local_var_path = '/Reports/{ReportID}'.sub('{' + 'ReportID' + '}', report_id.to_s)
12043
13208
 
13209
+ # camelize keys of incoming `where` opts
13210
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13211
+
12044
13212
  # query parameters
12045
13213
  query_params = opts[:query_params] || {}
13214
+
13215
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13216
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13217
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12046
13218
 
12047
13219
  # header parameters
12048
13220
  header_params = opts[:header_params] || {}
@@ -12102,8 +13274,15 @@ module XeroRuby
12102
13274
  # resource path
12103
13275
  local_var_path = '/Reports'
12104
13276
 
13277
+ # camelize keys of incoming `where` opts
13278
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13279
+
12105
13280
  # query parameters
12106
13281
  query_params = opts[:query_params] || {}
13282
+
13283
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13284
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13285
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12107
13286
 
12108
13287
  # header parameters
12109
13288
  header_params = opts[:header_params] || {}
@@ -12181,6 +13360,9 @@ module XeroRuby
12181
13360
  # resource path
12182
13361
  local_var_path = '/Reports/BalanceSheet'
12183
13362
 
13363
+ # camelize keys of incoming `where` opts
13364
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13365
+
12184
13366
  # query parameters
12185
13367
  query_params = opts[:query_params] || {}
12186
13368
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
@@ -12190,6 +13372,10 @@ module XeroRuby
12190
13372
  query_params[:'trackingOptionID2'] = opts[:'tracking_option_id2'] if !opts[:'tracking_option_id2'].nil?
12191
13373
  query_params[:'standardLayout'] = opts[:'standard_layout'] if !opts[:'standard_layout'].nil?
12192
13374
  query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
13375
+
13376
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13377
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13378
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12193
13379
 
12194
13380
  # header parameters
12195
13381
  header_params = opts[:header_params] || {}
@@ -12253,10 +13439,17 @@ module XeroRuby
12253
13439
  # resource path
12254
13440
  local_var_path = '/Reports/BankSummary'
12255
13441
 
13442
+ # camelize keys of incoming `where` opts
13443
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13444
+
12256
13445
  # query parameters
12257
13446
  query_params = opts[:query_params] || {}
12258
13447
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
12259
13448
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
13449
+
13450
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13451
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13452
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12260
13453
 
12261
13454
  # header parameters
12262
13455
  header_params = opts[:header_params] || {}
@@ -12322,11 +13515,18 @@ module XeroRuby
12322
13515
  # resource path
12323
13516
  local_var_path = '/Reports/BudgetSummary'
12324
13517
 
13518
+ # camelize keys of incoming `where` opts
13519
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13520
+
12325
13521
  # query parameters
12326
13522
  query_params = opts[:query_params] || {}
12327
13523
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
12328
13524
  query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
12329
13525
  query_params[:'timeframe'] = opts[:'timeframe'] if !opts[:'timeframe'].nil?
13526
+
13527
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13528
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13529
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12330
13530
 
12331
13531
  # header parameters
12332
13532
  header_params = opts[:header_params] || {}
@@ -12388,9 +13588,16 @@ module XeroRuby
12388
13588
  # resource path
12389
13589
  local_var_path = '/Reports/ExecutiveSummary'
12390
13590
 
13591
+ # camelize keys of incoming `where` opts
13592
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13593
+
12391
13594
  # query parameters
12392
13595
  query_params = opts[:query_params] || {}
12393
13596
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
13597
+
13598
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13599
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13600
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12394
13601
 
12395
13602
  # header parameters
12396
13603
  header_params = opts[:header_params] || {}
@@ -12474,6 +13681,9 @@ module XeroRuby
12474
13681
  # resource path
12475
13682
  local_var_path = '/Reports/ProfitAndLoss'
12476
13683
 
13684
+ # camelize keys of incoming `where` opts
13685
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13686
+
12477
13687
  # query parameters
12478
13688
  query_params = opts[:query_params] || {}
12479
13689
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
@@ -12486,6 +13696,10 @@ module XeroRuby
12486
13696
  query_params[:'trackingOptionID2'] = opts[:'tracking_option_id2'] if !opts[:'tracking_option_id2'].nil?
12487
13697
  query_params[:'standardLayout'] = opts[:'standard_layout'] if !opts[:'standard_layout'].nil?
12488
13698
  query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
13699
+
13700
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13701
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13702
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12489
13703
 
12490
13704
  # header parameters
12491
13705
  header_params = opts[:header_params] || {}
@@ -12547,9 +13761,16 @@ module XeroRuby
12547
13761
  # resource path
12548
13762
  local_var_path = '/Reports/TenNinetyNine'
12549
13763
 
13764
+ # camelize keys of incoming `where` opts
13765
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13766
+
12550
13767
  # query parameters
12551
13768
  query_params = opts[:query_params] || {}
12552
13769
  query_params[:'reportYear'] = opts[:'report_year'] if !opts[:'report_year'].nil?
13770
+
13771
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13772
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13773
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12553
13774
 
12554
13775
  # header parameters
12555
13776
  header_params = opts[:header_params] || {}
@@ -12613,10 +13834,17 @@ module XeroRuby
12613
13834
  # resource path
12614
13835
  local_var_path = '/Reports/TrialBalance'
12615
13836
 
13837
+ # camelize keys of incoming `where` opts
13838
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13839
+
12616
13840
  # query parameters
12617
13841
  query_params = opts[:query_params] || {}
12618
13842
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
12619
13843
  query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
13844
+
13845
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13846
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13847
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12620
13848
 
12621
13849
  # header parameters
12622
13850
  header_params = opts[:header_params] || {}
@@ -12682,11 +13910,18 @@ module XeroRuby
12682
13910
  # resource path
12683
13911
  local_var_path = '/TaxRates'
12684
13912
 
13913
+ # camelize keys of incoming `where` opts
13914
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13915
+
12685
13916
  # query parameters
12686
13917
  query_params = opts[:query_params] || {}
12687
13918
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
12688
13919
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12689
13920
  query_params[:'TaxType'] = opts[:'tax_type'] if !opts[:'tax_type'].nil?
13921
+
13922
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13923
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13924
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12690
13925
 
12691
13926
  # header parameters
12692
13927
  header_params = opts[:header_params] || {}
@@ -12752,11 +13987,18 @@ module XeroRuby
12752
13987
  # resource path
12753
13988
  local_var_path = '/TrackingCategories'
12754
13989
 
13990
+ # camelize keys of incoming `where` opts
13991
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13992
+
12755
13993
  # query parameters
12756
13994
  query_params = opts[:query_params] || {}
12757
13995
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
12758
13996
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12759
13997
  query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
13998
+
13999
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14000
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14001
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12760
14002
 
12761
14003
  # header parameters
12762
14004
  header_params = opts[:header_params] || {}
@@ -12822,8 +14064,15 @@ module XeroRuby
12822
14064
  # resource path
12823
14065
  local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
12824
14066
 
14067
+ # camelize keys of incoming `where` opts
14068
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14069
+
12825
14070
  # query parameters
12826
14071
  query_params = opts[:query_params] || {}
14072
+
14073
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14074
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14075
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12827
14076
 
12828
14077
  # header parameters
12829
14078
  header_params = opts[:header_params] || {}
@@ -12889,8 +14138,15 @@ module XeroRuby
12889
14138
  # resource path
12890
14139
  local_var_path = '/Users/{UserID}'.sub('{' + 'UserID' + '}', user_id.to_s)
12891
14140
 
14141
+ # camelize keys of incoming `where` opts
14142
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14143
+
12892
14144
  # query parameters
12893
14145
  query_params = opts[:query_params] || {}
14146
+
14147
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14148
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14149
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12894
14150
 
12895
14151
  # header parameters
12896
14152
  header_params = opts[:header_params] || {}
@@ -12956,10 +14212,17 @@ module XeroRuby
12956
14212
  # resource path
12957
14213
  local_var_path = '/Users'
12958
14214
 
14215
+ # camelize keys of incoming `where` opts
14216
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14217
+
12959
14218
  # query parameters
12960
14219
  query_params = opts[:query_params] || {}
12961
14220
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
12962
14221
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
14222
+
14223
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14224
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14225
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12963
14226
 
12964
14227
  # header parameters
12965
14228
  header_params = opts[:header_params] || {}
@@ -13032,8 +14295,15 @@ module XeroRuby
13032
14295
  # resource path
13033
14296
  local_var_path = '/Accounts/{AccountID}'.sub('{' + 'AccountID' + '}', account_id.to_s)
13034
14297
 
14298
+ # camelize keys of incoming `where` opts
14299
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14300
+
13035
14301
  # query parameters
13036
14302
  query_params = opts[:query_params] || {}
14303
+
14304
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14305
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14306
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13037
14307
 
13038
14308
  # header parameters
13039
14309
  header_params = opts[:header_params] || {}
@@ -13113,8 +14383,15 @@ module XeroRuby
13113
14383
  # resource path
13114
14384
  local_var_path = '/Accounts/{AccountID}/Attachments/{FileName}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13115
14385
 
14386
+ # camelize keys of incoming `where` opts
14387
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14388
+
13116
14389
  # query parameters
13117
14390
  query_params = opts[:query_params] || {}
14391
+
14392
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14393
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14394
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13118
14395
 
13119
14396
  # header parameters
13120
14397
  header_params = opts[:header_params] || {}
@@ -13190,9 +14467,16 @@ module XeroRuby
13190
14467
  # resource path
13191
14468
  local_var_path = '/BankTransactions/{BankTransactionID}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
13192
14469
 
14470
+ # camelize keys of incoming `where` opts
14471
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14472
+
13193
14473
  # query parameters
13194
14474
  query_params = opts[:query_params] || {}
13195
14475
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
14476
+
14477
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14478
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14479
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13196
14480
 
13197
14481
  # header parameters
13198
14482
  header_params = opts[:header_params] || {}
@@ -13272,8 +14556,15 @@ module XeroRuby
13272
14556
  # resource path
13273
14557
  local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{FileName}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13274
14558
 
14559
+ # camelize keys of incoming `where` opts
14560
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14561
+
13275
14562
  # query parameters
13276
14563
  query_params = opts[:query_params] || {}
14564
+
14565
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14566
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14567
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13277
14568
 
13278
14569
  # header parameters
13279
14570
  header_params = opts[:header_params] || {}
@@ -13351,8 +14642,15 @@ module XeroRuby
13351
14642
  # resource path
13352
14643
  local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{FileName}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13353
14644
 
14645
+ # camelize keys of incoming `where` opts
14646
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14647
+
13354
14648
  # query parameters
13355
14649
  query_params = opts[:query_params] || {}
14650
+
14651
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14652
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14653
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13356
14654
 
13357
14655
  # header parameters
13358
14656
  header_params = opts[:header_params] || {}
@@ -13424,8 +14722,15 @@ module XeroRuby
13424
14722
  # resource path
13425
14723
  local_var_path = '/Contacts/{ContactID}'.sub('{' + 'ContactID' + '}', contact_id.to_s)
13426
14724
 
14725
+ # camelize keys of incoming `where` opts
14726
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14727
+
13427
14728
  # query parameters
13428
14729
  query_params = opts[:query_params] || {}
14730
+
14731
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14732
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14733
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13429
14734
 
13430
14735
  # header parameters
13431
14736
  header_params = opts[:header_params] || {}
@@ -13503,8 +14808,15 @@ module XeroRuby
13503
14808
  # resource path
13504
14809
  local_var_path = '/Contacts/{ContactID}/Attachments/{FileName}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13505
14810
 
14811
+ # camelize keys of incoming `where` opts
14812
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14813
+
13506
14814
  # query parameters
13507
14815
  query_params = opts[:query_params] || {}
14816
+
14817
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14818
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14819
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13508
14820
 
13509
14821
  # header parameters
13510
14822
  header_params = opts[:header_params] || {}
@@ -13578,8 +14890,15 @@ module XeroRuby
13578
14890
  # resource path
13579
14891
  local_var_path = '/ContactGroups/{ContactGroupID}'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
13580
14892
 
14893
+ # camelize keys of incoming `where` opts
14894
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14895
+
13581
14896
  # query parameters
13582
14897
  query_params = opts[:query_params] || {}
14898
+
14899
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14900
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14901
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13583
14902
 
13584
14903
  # header parameters
13585
14904
  header_params = opts[:header_params] || {}
@@ -13655,9 +14974,16 @@ module XeroRuby
13655
14974
  # resource path
13656
14975
  local_var_path = '/CreditNotes/{CreditNoteID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
13657
14976
 
14977
+ # camelize keys of incoming `where` opts
14978
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14979
+
13658
14980
  # query parameters
13659
14981
  query_params = opts[:query_params] || {}
13660
14982
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
14983
+
14984
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14985
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14986
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13661
14987
 
13662
14988
  # header parameters
13663
14989
  header_params = opts[:header_params] || {}
@@ -13737,8 +15063,15 @@ module XeroRuby
13737
15063
  # resource path
13738
15064
  local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{FileName}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13739
15065
 
15066
+ # camelize keys of incoming `where` opts
15067
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15068
+
13740
15069
  # query parameters
13741
15070
  query_params = opts[:query_params] || {}
15071
+
15072
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15073
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15074
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13742
15075
 
13743
15076
  # header parameters
13744
15077
  header_params = opts[:header_params] || {}
@@ -13812,8 +15145,15 @@ module XeroRuby
13812
15145
  # resource path
13813
15146
  local_var_path = '/ExpenseClaims/{ExpenseClaimID}'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
13814
15147
 
15148
+ # camelize keys of incoming `where` opts
15149
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15150
+
13815
15151
  # query parameters
13816
15152
  query_params = opts[:query_params] || {}
15153
+
15154
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15155
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15156
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13817
15157
 
13818
15158
  # header parameters
13819
15159
  header_params = opts[:header_params] || {}
@@ -13889,9 +15229,16 @@ module XeroRuby
13889
15229
  # resource path
13890
15230
  local_var_path = '/Invoices/{InvoiceID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
13891
15231
 
15232
+ # camelize keys of incoming `where` opts
15233
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15234
+
13892
15235
  # query parameters
13893
15236
  query_params = opts[:query_params] || {}
13894
15237
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15238
+
15239
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15240
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15241
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13895
15242
 
13896
15243
  # header parameters
13897
15244
  header_params = opts[:header_params] || {}
@@ -13971,8 +15318,15 @@ module XeroRuby
13971
15318
  # resource path
13972
15319
  local_var_path = '/Invoices/{InvoiceID}/Attachments/{FileName}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13973
15320
 
15321
+ # camelize keys of incoming `where` opts
15322
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15323
+
13974
15324
  # query parameters
13975
15325
  query_params = opts[:query_params] || {}
15326
+
15327
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15328
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15329
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13976
15330
 
13977
15331
  # header parameters
13978
15332
  header_params = opts[:header_params] || {}
@@ -14048,9 +15402,16 @@ module XeroRuby
14048
15402
  # resource path
14049
15403
  local_var_path = '/Items/{ItemID}'.sub('{' + 'ItemID' + '}', item_id.to_s)
14050
15404
 
15405
+ # camelize keys of incoming `where` opts
15406
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15407
+
14051
15408
  # query parameters
14052
15409
  query_params = opts[:query_params] || {}
14053
15410
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15411
+
15412
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15413
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15414
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14054
15415
 
14055
15416
  # header parameters
14056
15417
  header_params = opts[:header_params] || {}
@@ -14124,8 +15485,15 @@ module XeroRuby
14124
15485
  # resource path
14125
15486
  local_var_path = '/LinkedTransactions/{LinkedTransactionID}'.sub('{' + 'LinkedTransactionID' + '}', linked_transaction_id.to_s)
14126
15487
 
15488
+ # camelize keys of incoming `where` opts
15489
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15490
+
14127
15491
  # query parameters
14128
15492
  query_params = opts[:query_params] || {}
15493
+
15494
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15495
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15496
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14129
15497
 
14130
15498
  # header parameters
14131
15499
  header_params = opts[:header_params] || {}
@@ -14199,8 +15567,15 @@ module XeroRuby
14199
15567
  # resource path
14200
15568
  local_var_path = '/ManualJournals/{ManualJournalID}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
14201
15569
 
15570
+ # camelize keys of incoming `where` opts
15571
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15572
+
14202
15573
  # query parameters
14203
15574
  query_params = opts[:query_params] || {}
15575
+
15576
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15577
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15578
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14204
15579
 
14205
15580
  # header parameters
14206
15581
  header_params = opts[:header_params] || {}
@@ -14280,8 +15655,15 @@ module XeroRuby
14280
15655
  # resource path
14281
15656
  local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{FileName}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
14282
15657
 
15658
+ # camelize keys of incoming `where` opts
15659
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15660
+
14283
15661
  # query parameters
14284
15662
  query_params = opts[:query_params] || {}
15663
+
15664
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15665
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15666
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14285
15667
 
14286
15668
  # header parameters
14287
15669
  header_params = opts[:header_params] || {}
@@ -14353,10 +15735,17 @@ module XeroRuby
14353
15735
  # resource path
14354
15736
  local_var_path = '/BankTransactions'
14355
15737
 
15738
+ # camelize keys of incoming `where` opts
15739
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15740
+
14356
15741
  # query parameters
14357
15742
  query_params = opts[:query_params] || {}
14358
15743
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14359
15744
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15745
+
15746
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15747
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15748
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14360
15749
 
14361
15750
  # header parameters
14362
15751
  header_params = opts[:header_params] || {}
@@ -14426,9 +15815,16 @@ module XeroRuby
14426
15815
  # resource path
14427
15816
  local_var_path = '/Contacts'
14428
15817
 
15818
+ # camelize keys of incoming `where` opts
15819
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15820
+
14429
15821
  # query parameters
14430
15822
  query_params = opts[:query_params] || {}
14431
15823
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
15824
+
15825
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15826
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15827
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14432
15828
 
14433
15829
  # header parameters
14434
15830
  header_params = opts[:header_params] || {}
@@ -14500,10 +15896,17 @@ module XeroRuby
14500
15896
  # resource path
14501
15897
  local_var_path = '/CreditNotes'
14502
15898
 
15899
+ # camelize keys of incoming `where` opts
15900
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15901
+
14503
15902
  # query parameters
14504
15903
  query_params = opts[:query_params] || {}
14505
15904
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14506
15905
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15906
+
15907
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15908
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15909
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14507
15910
 
14508
15911
  # header parameters
14509
15912
  header_params = opts[:header_params] || {}
@@ -14573,9 +15976,16 @@ module XeroRuby
14573
15976
  # resource path
14574
15977
  local_var_path = '/Employees'
14575
15978
 
15979
+ # camelize keys of incoming `where` opts
15980
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15981
+
14576
15982
  # query parameters
14577
15983
  query_params = opts[:query_params] || {}
14578
15984
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
15985
+
15986
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15987
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15988
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14579
15989
 
14580
15990
  # header parameters
14581
15991
  header_params = opts[:header_params] || {}
@@ -14647,10 +16057,17 @@ module XeroRuby
14647
16057
  # resource path
14648
16058
  local_var_path = '/Invoices'
14649
16059
 
16060
+ # camelize keys of incoming `where` opts
16061
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16062
+
14650
16063
  # query parameters
14651
16064
  query_params = opts[:query_params] || {}
14652
16065
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14653
16066
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
16067
+
16068
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16069
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16070
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14654
16071
 
14655
16072
  # header parameters
14656
16073
  header_params = opts[:header_params] || {}
@@ -14722,10 +16139,17 @@ module XeroRuby
14722
16139
  # resource path
14723
16140
  local_var_path = '/Items'
14724
16141
 
16142
+ # camelize keys of incoming `where` opts
16143
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16144
+
14725
16145
  # query parameters
14726
16146
  query_params = opts[:query_params] || {}
14727
16147
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14728
16148
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
16149
+
16150
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16151
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16152
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14729
16153
 
14730
16154
  # header parameters
14731
16155
  header_params = opts[:header_params] || {}
@@ -14795,9 +16219,16 @@ module XeroRuby
14795
16219
  # resource path
14796
16220
  local_var_path = '/ManualJournals'
14797
16221
 
16222
+ # camelize keys of incoming `where` opts
16223
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16224
+
14798
16225
  # query parameters
14799
16226
  query_params = opts[:query_params] || {}
14800
16227
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
16228
+
16229
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16230
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16231
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14801
16232
 
14802
16233
  # header parameters
14803
16234
  header_params = opts[:header_params] || {}
@@ -14867,9 +16298,16 @@ module XeroRuby
14867
16298
  # resource path
14868
16299
  local_var_path = '/PurchaseOrders'
14869
16300
 
16301
+ # camelize keys of incoming `where` opts
16302
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16303
+
14870
16304
  # query parameters
14871
16305
  query_params = opts[:query_params] || {}
14872
16306
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
16307
+
16308
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16309
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16310
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14873
16311
 
14874
16312
  # header parameters
14875
16313
  header_params = opts[:header_params] || {}
@@ -14939,9 +16377,16 @@ module XeroRuby
14939
16377
  # resource path
14940
16378
  local_var_path = '/Quotes'
14941
16379
 
16380
+ # camelize keys of incoming `where` opts
16381
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16382
+
14942
16383
  # query parameters
14943
16384
  query_params = opts[:query_params] || {}
14944
16385
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
16386
+
16387
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16388
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16389
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14945
16390
 
14946
16391
  # header parameters
14947
16392
  header_params = opts[:header_params] || {}
@@ -15015,8 +16460,15 @@ module XeroRuby
15015
16460
  # resource path
15016
16461
  local_var_path = '/PurchaseOrders/{PurchaseOrderID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
15017
16462
 
16463
+ # camelize keys of incoming `where` opts
16464
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16465
+
15018
16466
  # query parameters
15019
16467
  query_params = opts[:query_params] || {}
16468
+
16469
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16470
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16471
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15020
16472
 
15021
16473
  # header parameters
15022
16474
  header_params = opts[:header_params] || {}
@@ -15090,8 +16542,15 @@ module XeroRuby
15090
16542
  # resource path
15091
16543
  local_var_path = '/Quotes/{QuoteID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
15092
16544
 
16545
+ # camelize keys of incoming `where` opts
16546
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16547
+
15093
16548
  # query parameters
15094
16549
  query_params = opts[:query_params] || {}
16550
+
16551
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16552
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16553
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15095
16554
 
15096
16555
  # header parameters
15097
16556
  header_params = opts[:header_params] || {}
@@ -15171,8 +16630,15 @@ module XeroRuby
15171
16630
  # resource path
15172
16631
  local_var_path = '/Quotes/{QuoteID}/Attachments/{FileName}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
15173
16632
 
16633
+ # camelize keys of incoming `where` opts
16634
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16635
+
15174
16636
  # query parameters
15175
16637
  query_params = opts[:query_params] || {}
16638
+
16639
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16640
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16641
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15176
16642
 
15177
16643
  # header parameters
15178
16644
  header_params = opts[:header_params] || {}
@@ -15248,9 +16714,16 @@ module XeroRuby
15248
16714
  # resource path
15249
16715
  local_var_path = '/Receipts/{ReceiptID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
15250
16716
 
16717
+ # camelize keys of incoming `where` opts
16718
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16719
+
15251
16720
  # query parameters
15252
16721
  query_params = opts[:query_params] || {}
15253
16722
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
16723
+
16724
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16725
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16726
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15254
16727
 
15255
16728
  # header parameters
15256
16729
  header_params = opts[:header_params] || {}
@@ -15330,8 +16803,15 @@ module XeroRuby
15330
16803
  # resource path
15331
16804
  local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
15332
16805
 
16806
+ # camelize keys of incoming `where` opts
16807
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16808
+
15333
16809
  # query parameters
15334
16810
  query_params = opts[:query_params] || {}
16811
+
16812
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16813
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16814
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15335
16815
 
15336
16816
  # header parameters
15337
16817
  header_params = opts[:header_params] || {}
@@ -15411,8 +16891,15 @@ module XeroRuby
15411
16891
  # resource path
15412
16892
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
15413
16893
 
16894
+ # camelize keys of incoming `where` opts
16895
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16896
+
15414
16897
  # query parameters
15415
16898
  query_params = opts[:query_params] || {}
16899
+
16900
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16901
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16902
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15416
16903
 
15417
16904
  # header parameters
15418
16905
  header_params = opts[:header_params] || {}
@@ -15480,8 +16967,15 @@ module XeroRuby
15480
16967
  # resource path
15481
16968
  local_var_path = '/TaxRates'
15482
16969
 
16970
+ # camelize keys of incoming `where` opts
16971
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16972
+
15483
16973
  # query parameters
15484
16974
  query_params = opts[:query_params] || {}
16975
+
16976
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16977
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16978
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15485
16979
 
15486
16980
  # header parameters
15487
16981
  header_params = opts[:header_params] || {}
@@ -15555,8 +17049,15 @@ module XeroRuby
15555
17049
  # resource path
15556
17050
  local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
15557
17051
 
17052
+ # camelize keys of incoming `where` opts
17053
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
17054
+
15558
17055
  # query parameters
15559
17056
  query_params = opts[:query_params] || {}
17057
+
17058
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
17059
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
17060
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15560
17061
 
15561
17062
  # header parameters
15562
17063
  header_params = opts[:header_params] || {}
@@ -15636,8 +17137,15 @@ module XeroRuby
15636
17137
  # resource path
15637
17138
  local_var_path = '/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s).sub('{' + 'TrackingOptionID' + '}', tracking_option_id.to_s)
15638
17139
 
17140
+ # camelize keys of incoming `where` opts
17141
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
17142
+
15639
17143
  # query parameters
15640
17144
  query_params = opts[:query_params] || {}
17145
+
17146
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
17147
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
17148
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15641
17149
 
15642
17150
  # header parameters
15643
17151
  header_params = opts[:header_params] || {}