xero-ruby 2.0.2 → 2.2.2

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 +35 -5
  4. data/docs/accounting/Account.md +1 -1
  5. data/docs/accounting/AccountsPayable.md +2 -2
  6. data/docs/accounting/AccountsReceivable.md +2 -2
  7. data/docs/accounting/Allocation.md +1 -1
  8. data/docs/accounting/Attachment.md +1 -1
  9. data/docs/accounting/BankTransaction.md +6 -6
  10. data/docs/accounting/BankTransfer.md +3 -3
  11. data/docs/accounting/BatchPayment.md +2 -2
  12. data/docs/accounting/BrandingTheme.md +1 -1
  13. data/docs/accounting/Contact.md +2 -2
  14. data/docs/accounting/CreditNote.md +6 -6
  15. data/docs/accounting/Employee.md +1 -1
  16. data/docs/accounting/ExpenseClaim.md +4 -4
  17. data/docs/accounting/HistoryRecord.md +1 -1
  18. data/docs/accounting/Invoice.md +10 -10
  19. data/docs/accounting/Item.md +3 -3
  20. data/docs/accounting/Journal.md +1 -1
  21. data/docs/accounting/JournalLine.md +3 -3
  22. data/docs/accounting/LineItem.md +6 -6
  23. data/docs/accounting/LinkedTransaction.md +1 -1
  24. data/docs/accounting/ManualJournal.md +1 -1
  25. data/docs/accounting/ManualJournalLine.md +2 -2
  26. data/docs/accounting/Organisation.md +1 -1
  27. data/docs/accounting/Overpayment.md +6 -6
  28. data/docs/accounting/Payment.md +3 -3
  29. data/docs/accounting/Prepayment.md +6 -6
  30. data/docs/accounting/Purchase.md +1 -1
  31. data/docs/accounting/PurchaseOrder.md +6 -6
  32. data/docs/accounting/Quote.md +5 -5
  33. data/docs/accounting/Receipt.md +4 -4
  34. data/docs/accounting/RepeatingInvoice.md +3 -3
  35. data/docs/accounting/Report.md +1 -1
  36. data/docs/accounting/ReportWithRow.md +1 -1
  37. data/docs/accounting/TaxComponent.md +1 -1
  38. data/docs/accounting/TaxRate.md +2 -2
  39. data/docs/accounting/TenNinetyNineContact.md +13 -13
  40. data/docs/accounting/User.md +1 -1
  41. data/docs/assets/Asset.md +3 -3
  42. data/docs/assets/AssetApi.md +6 -6
  43. data/docs/assets/BookDepreciationDetail.md +6 -6
  44. data/docs/assets/BookDepreciationSetting.md +1 -1
  45. data/docs/projects/Amount.md +1 -1
  46. data/docs/projects/ProjectCreateOrUpdate.md +1 -1
  47. data/lib/xero-ruby.rb +1 -1
  48. data/lib/xero-ruby/api/accounting_api.rb +1506 -1
  49. data/lib/xero-ruby/api/asset_api.rb +49 -7
  50. data/lib/xero-ruby/api/project_api.rb +92 -1
  51. data/lib/xero-ruby/api_client.rb +36 -3
  52. data/lib/xero-ruby/api_error.rb +1 -1
  53. data/lib/xero-ruby/configuration.rb +2 -2
  54. data/lib/xero-ruby/models/accounting/account.rb +1 -17
  55. data/lib/xero-ruby/models/accounting/account_type.rb +1 -1
  56. data/lib/xero-ruby/models/accounting/accounts.rb +1 -1
  57. data/lib/xero-ruby/models/accounting/accounts_payable.rb +1 -1
  58. data/lib/xero-ruby/models/accounting/accounts_receivable.rb +1 -1
  59. data/lib/xero-ruby/models/accounting/address.rb +1 -1
  60. data/lib/xero-ruby/models/accounting/allocation.rb +1 -1
  61. data/lib/xero-ruby/models/accounting/allocations.rb +1 -1
  62. data/lib/xero-ruby/models/accounting/attachment.rb +2 -2
  63. data/lib/xero-ruby/models/accounting/attachments.rb +1 -1
  64. data/lib/xero-ruby/models/accounting/balances.rb +1 -1
  65. data/lib/xero-ruby/models/accounting/bank_transaction.rb +1 -6
  66. data/lib/xero-ruby/models/accounting/bank_transactions.rb +1 -1
  67. data/lib/xero-ruby/models/accounting/bank_transfer.rb +1 -1
  68. data/lib/xero-ruby/models/accounting/bank_transfers.rb +1 -1
  69. data/lib/xero-ruby/models/accounting/batch_payment.rb +1 -16
  70. data/lib/xero-ruby/models/accounting/batch_payment_details.rb +1 -1
  71. data/lib/xero-ruby/models/accounting/batch_payments.rb +1 -1
  72. data/lib/xero-ruby/models/accounting/bill.rb +1 -1
  73. data/lib/xero-ruby/models/accounting/branding_theme.rb +1 -1
  74. data/lib/xero-ruby/models/accounting/branding_themes.rb +1 -1
  75. data/lib/xero-ruby/models/accounting/cis_org_setting.rb +1 -1
  76. data/lib/xero-ruby/models/accounting/cis_setting.rb +1 -1
  77. data/lib/xero-ruby/models/accounting/cis_settings.rb +1 -1
  78. data/lib/xero-ruby/models/accounting/contact.rb +1 -1
  79. data/lib/xero-ruby/models/accounting/contact_group.rb +1 -1
  80. data/lib/xero-ruby/models/accounting/contact_groups.rb +1 -1
  81. data/lib/xero-ruby/models/accounting/contact_person.rb +1 -1
  82. data/lib/xero-ruby/models/accounting/contacts.rb +1 -1
  83. data/lib/xero-ruby/models/accounting/country_code.rb +1 -1
  84. data/lib/xero-ruby/models/accounting/credit_note.rb +1 -1
  85. data/lib/xero-ruby/models/accounting/credit_notes.rb +1 -1
  86. data/lib/xero-ruby/models/accounting/currencies.rb +1 -1
  87. data/lib/xero-ruby/models/accounting/currency.rb +1 -1
  88. data/lib/xero-ruby/models/accounting/currency_code.rb +1 -1
  89. data/lib/xero-ruby/models/accounting/element.rb +1 -1
  90. data/lib/xero-ruby/models/accounting/employee.rb +4 -3
  91. data/lib/xero-ruby/models/accounting/employees.rb +1 -1
  92. data/lib/xero-ruby/models/accounting/error.rb +1 -1
  93. data/lib/xero-ruby/models/accounting/expense_claim.rb +1 -1
  94. data/lib/xero-ruby/models/accounting/expense_claims.rb +1 -1
  95. data/lib/xero-ruby/models/accounting/external_link.rb +1 -1
  96. data/lib/xero-ruby/models/accounting/history_record.rb +1 -1
  97. data/lib/xero-ruby/models/accounting/history_records.rb +1 -1
  98. data/lib/xero-ruby/models/accounting/invoice.rb +1 -1
  99. data/lib/xero-ruby/models/accounting/invoice_reminder.rb +1 -1
  100. data/lib/xero-ruby/models/accounting/invoice_reminders.rb +1 -1
  101. data/lib/xero-ruby/models/accounting/invoices.rb +1 -1
  102. data/lib/xero-ruby/models/accounting/item.rb +1 -1
  103. data/lib/xero-ruby/models/accounting/items.rb +1 -1
  104. data/lib/xero-ruby/models/accounting/journal.rb +1 -1
  105. data/lib/xero-ruby/models/accounting/journal_line.rb +1 -1
  106. data/lib/xero-ruby/models/accounting/journals.rb +1 -1
  107. data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -1
  108. data/lib/xero-ruby/models/accounting/line_item.rb +1 -1
  109. data/lib/xero-ruby/models/accounting/line_item_tracking.rb +1 -1
  110. data/lib/xero-ruby/models/accounting/linked_transaction.rb +1 -1
  111. data/lib/xero-ruby/models/accounting/linked_transactions.rb +1 -1
  112. data/lib/xero-ruby/models/accounting/manual_journal.rb +1 -1
  113. data/lib/xero-ruby/models/accounting/manual_journal_line.rb +1 -1
  114. data/lib/xero-ruby/models/accounting/manual_journals.rb +1 -1
  115. data/lib/xero-ruby/models/accounting/online_invoice.rb +1 -1
  116. data/lib/xero-ruby/models/accounting/online_invoices.rb +1 -1
  117. data/lib/xero-ruby/models/accounting/organisation.rb +1 -3
  118. data/lib/xero-ruby/models/accounting/organisations.rb +1 -1
  119. data/lib/xero-ruby/models/accounting/overpayment.rb +1 -1
  120. data/lib/xero-ruby/models/accounting/overpayments.rb +1 -1
  121. data/lib/xero-ruby/models/accounting/payment.rb +1 -1
  122. data/lib/xero-ruby/models/accounting/payment_delete.rb +1 -1
  123. data/lib/xero-ruby/models/accounting/payment_service.rb +1 -1
  124. data/lib/xero-ruby/models/accounting/payment_services.rb +1 -1
  125. data/lib/xero-ruby/models/accounting/payment_term.rb +1 -1
  126. data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -1
  127. data/lib/xero-ruby/models/accounting/payments.rb +1 -1
  128. data/lib/xero-ruby/models/accounting/phone.rb +1 -1
  129. data/lib/xero-ruby/models/accounting/prepayment.rb +1 -1
  130. data/lib/xero-ruby/models/accounting/prepayments.rb +1 -1
  131. data/lib/xero-ruby/models/accounting/purchase.rb +1 -1
  132. data/lib/xero-ruby/models/accounting/purchase_order.rb +1 -1
  133. data/lib/xero-ruby/models/accounting/purchase_orders.rb +1 -1
  134. data/lib/xero-ruby/models/accounting/quote.rb +1 -1
  135. data/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +1 -1
  136. data/lib/xero-ruby/models/accounting/quote_status_codes.rb +1 -1
  137. data/lib/xero-ruby/models/accounting/quotes.rb +1 -1
  138. data/lib/xero-ruby/models/accounting/receipt.rb +1 -1
  139. data/lib/xero-ruby/models/accounting/receipts.rb +1 -1
  140. data/lib/xero-ruby/models/accounting/repeating_invoice.rb +1 -1
  141. data/lib/xero-ruby/models/accounting/repeating_invoices.rb +1 -1
  142. data/lib/xero-ruby/models/accounting/report.rb +1 -1
  143. data/lib/xero-ruby/models/accounting/report_attribute.rb +1 -1
  144. data/lib/xero-ruby/models/accounting/report_cell.rb +1 -1
  145. data/lib/xero-ruby/models/accounting/report_fields.rb +1 -1
  146. data/lib/xero-ruby/models/accounting/report_row.rb +1 -1
  147. data/lib/xero-ruby/models/accounting/report_rows.rb +1 -1
  148. data/lib/xero-ruby/models/accounting/report_with_row.rb +1 -1
  149. data/lib/xero-ruby/models/accounting/report_with_rows.rb +1 -1
  150. data/lib/xero-ruby/models/accounting/reports.rb +1 -1
  151. data/lib/xero-ruby/models/accounting/request_empty.rb +1 -1
  152. data/lib/xero-ruby/models/accounting/row_type.rb +1 -1
  153. data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +1 -1
  154. data/lib/xero-ruby/models/accounting/schedule.rb +1 -1
  155. data/lib/xero-ruby/models/accounting/tax_component.rb +1 -1
  156. data/lib/xero-ruby/models/accounting/tax_rate.rb +1 -1
  157. data/lib/xero-ruby/models/accounting/tax_rates.rb +1 -1
  158. data/lib/xero-ruby/models/accounting/tax_type.rb +1 -1
  159. data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +1 -1
  160. data/lib/xero-ruby/models/accounting/time_zone.rb +2 -1
  161. data/lib/xero-ruby/models/accounting/tracking_categories.rb +1 -1
  162. data/lib/xero-ruby/models/accounting/tracking_category.rb +1 -1
  163. data/lib/xero-ruby/models/accounting/tracking_option.rb +1 -1
  164. data/lib/xero-ruby/models/accounting/tracking_options.rb +1 -1
  165. data/lib/xero-ruby/models/accounting/user.rb +1 -1
  166. data/lib/xero-ruby/models/accounting/users.rb +1 -1
  167. data/lib/xero-ruby/models/accounting/validation_error.rb +1 -1
  168. data/lib/xero-ruby/models/assets/asset.rb +1 -1
  169. data/lib/xero-ruby/models/assets/asset_status.rb +1 -1
  170. data/lib/xero-ruby/models/assets/asset_status_query_param.rb +1 -1
  171. data/lib/xero-ruby/models/assets/asset_type.rb +1 -1
  172. data/lib/xero-ruby/models/assets/assets.rb +1 -1
  173. data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +1 -1
  174. data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +1 -1
  175. data/lib/xero-ruby/models/assets/error.rb +1 -1
  176. data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +1 -1
  177. data/lib/xero-ruby/models/assets/pagination.rb +1 -1
  178. data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +1 -1
  179. data/lib/xero-ruby/models/assets/setting.rb +1 -1
  180. data/lib/xero-ruby/models/projects/amount.rb +1 -1
  181. data/lib/xero-ruby/models/projects/charge_type.rb +1 -1
  182. data/lib/xero-ruby/models/projects/currency_code.rb +1 -1
  183. data/lib/xero-ruby/models/projects/error.rb +1 -1
  184. data/lib/xero-ruby/models/projects/pagination.rb +1 -1
  185. data/lib/xero-ruby/models/projects/project.rb +1 -1
  186. data/lib/xero-ruby/models/projects/project_create_or_update.rb +1 -1
  187. data/lib/xero-ruby/models/projects/project_patch.rb +1 -1
  188. data/lib/xero-ruby/models/projects/project_status.rb +1 -1
  189. data/lib/xero-ruby/models/projects/project_user.rb +1 -1
  190. data/lib/xero-ruby/models/projects/project_users.rb +1 -1
  191. data/lib/xero-ruby/models/projects/projects.rb +1 -1
  192. data/lib/xero-ruby/models/projects/task.rb +1 -1
  193. data/lib/xero-ruby/models/projects/task_create_or_update.rb +1 -1
  194. data/lib/xero-ruby/models/projects/tasks.rb +1 -1
  195. data/lib/xero-ruby/models/projects/time_entries.rb +1 -1
  196. data/lib/xero-ruby/models/projects/time_entry.rb +1 -1
  197. data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +1 -1
  198. data/lib/xero-ruby/version.rb +2 -2
  199. data/spec/api_client_spec.rb +6 -6
  200. data/xero-ruby.gem +0 -0
  201. data/xero-ruby.gemspec +2 -2
  202. metadata +4 -4
  203. data/Gemfile.lock +0 -68
@@ -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.0
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.0
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] || {}
@@ -10946,6 +12003,9 @@ module XeroRuby
10946
12003
  # resource path
10947
12004
  local_var_path = '/Quotes'
10948
12005
 
12006
+ # camelize keys of incoming `where` opts
12007
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12008
+
10949
12009
  # query parameters
10950
12010
  query_params = opts[:query_params] || {}
10951
12011
  query_params[:'DateFrom'] = opts[:'date_from'] if !opts[:'date_from'].nil?
@@ -10956,6 +12016,10 @@ module XeroRuby
10956
12016
  query_params[:'Status'] = opts[:'status'] if !opts[:'status'].nil?
10957
12017
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
10958
12018
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12019
+
12020
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12021
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12022
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
10959
12023
 
10960
12024
  # header parameters
10961
12025
  header_params = opts[:header_params] || {}
@@ -11024,9 +12088,16 @@ module XeroRuby
11024
12088
  # resource path
11025
12089
  local_var_path = '/Receipts/{ReceiptID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
11026
12090
 
12091
+ # camelize keys of incoming `where` opts
12092
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12093
+
11027
12094
  # query parameters
11028
12095
  query_params = opts[:query_params] || {}
11029
12096
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
12097
+
12098
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12099
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12100
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11030
12101
 
11031
12102
  # header parameters
11032
12103
  header_params = opts[:header_params] || {}
@@ -11104,8 +12175,15 @@ module XeroRuby
11104
12175
  # resource path
11105
12176
  local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
11106
12177
 
12178
+ # camelize keys of incoming `where` opts
12179
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12180
+
11107
12181
  # query parameters
11108
12182
  query_params = opts[:query_params] || {}
12183
+
12184
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12185
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12186
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11109
12187
 
11110
12188
  # header parameters
11111
12189
  header_params = opts[:header_params] || {}
@@ -11184,8 +12262,15 @@ module XeroRuby
11184
12262
  # resource path
11185
12263
  local_var_path = '/Receipts/{ReceiptID}/Attachments/{AttachmentID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
11186
12264
 
12265
+ # camelize keys of incoming `where` opts
12266
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12267
+
11187
12268
  # query parameters
11188
12269
  query_params = opts[:query_params] || {}
12270
+
12271
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12272
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12273
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11189
12274
 
11190
12275
  # header parameters
11191
12276
  header_params = opts[:header_params] || {}
@@ -11252,8 +12337,15 @@ module XeroRuby
11252
12337
  # resource path
11253
12338
  local_var_path = '/Receipts/{ReceiptID}/Attachments'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
11254
12339
 
12340
+ # camelize keys of incoming `where` opts
12341
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12342
+
11255
12343
  # query parameters
11256
12344
  query_params = opts[:query_params] || {}
12345
+
12346
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12347
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12348
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11257
12349
 
11258
12350
  # header parameters
11259
12351
  header_params = opts[:header_params] || {}
@@ -11319,8 +12411,15 @@ module XeroRuby
11319
12411
  # resource path
11320
12412
  local_var_path = '/Receipts/{ReceiptID}/History'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
11321
12413
 
12414
+ # camelize keys of incoming `where` opts
12415
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12416
+
11322
12417
  # query parameters
11323
12418
  query_params = opts[:query_params] || {}
12419
+
12420
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12421
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12422
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11324
12423
 
11325
12424
  # header parameters
11326
12425
  header_params = opts[:header_params] || {}
@@ -11388,11 +12487,18 @@ module XeroRuby
11388
12487
  # resource path
11389
12488
  local_var_path = '/Receipts'
11390
12489
 
12490
+ # camelize keys of incoming `where` opts
12491
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12492
+
11391
12493
  # query parameters
11392
12494
  query_params = opts[:query_params] || {}
11393
12495
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
11394
12496
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
11395
12497
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
12498
+
12499
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12500
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12501
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11396
12502
 
11397
12503
  # header parameters
11398
12504
  header_params = opts[:header_params] || {}
@@ -11459,8 +12565,15 @@ module XeroRuby
11459
12565
  # resource path
11460
12566
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
11461
12567
 
12568
+ # camelize keys of incoming `where` opts
12569
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12570
+
11462
12571
  # query parameters
11463
12572
  query_params = opts[:query_params] || {}
12573
+
12574
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12575
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12576
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11464
12577
 
11465
12578
  # header parameters
11466
12579
  header_params = opts[:header_params] || {}
@@ -11538,8 +12651,15 @@ module XeroRuby
11538
12651
  # resource path
11539
12652
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
11540
12653
 
12654
+ # camelize keys of incoming `where` opts
12655
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12656
+
11541
12657
  # query parameters
11542
12658
  query_params = opts[:query_params] || {}
12659
+
12660
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12661
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12662
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11543
12663
 
11544
12664
  # header parameters
11545
12665
  header_params = opts[:header_params] || {}
@@ -11618,8 +12738,15 @@ module XeroRuby
11618
12738
  # resource path
11619
12739
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{AttachmentID}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
11620
12740
 
12741
+ # camelize keys of incoming `where` opts
12742
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12743
+
11621
12744
  # query parameters
11622
12745
  query_params = opts[:query_params] || {}
12746
+
12747
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12748
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12749
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11623
12750
 
11624
12751
  # header parameters
11625
12752
  header_params = opts[:header_params] || {}
@@ -11686,8 +12813,15 @@ module XeroRuby
11686
12813
  # resource path
11687
12814
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
11688
12815
 
12816
+ # camelize keys of incoming `where` opts
12817
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12818
+
11689
12819
  # query parameters
11690
12820
  query_params = opts[:query_params] || {}
12821
+
12822
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12823
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12824
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11691
12825
 
11692
12826
  # header parameters
11693
12827
  header_params = opts[:header_params] || {}
@@ -11753,8 +12887,15 @@ module XeroRuby
11753
12887
  # resource path
11754
12888
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/History'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
11755
12889
 
12890
+ # camelize keys of incoming `where` opts
12891
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12892
+
11756
12893
  # query parameters
11757
12894
  query_params = opts[:query_params] || {}
12895
+
12896
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12897
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12898
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11758
12899
 
11759
12900
  # header parameters
11760
12901
  header_params = opts[:header_params] || {}
@@ -11818,10 +12959,17 @@ module XeroRuby
11818
12959
  # resource path
11819
12960
  local_var_path = '/RepeatingInvoices'
11820
12961
 
12962
+ # camelize keys of incoming `where` opts
12963
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
12964
+
11821
12965
  # query parameters
11822
12966
  query_params = opts[:query_params] || {}
11823
12967
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
11824
12968
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12969
+
12970
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
12971
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
12972
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11825
12973
 
11826
12974
  # header parameters
11827
12975
  header_params = opts[:header_params] || {}
@@ -11893,12 +13041,19 @@ module XeroRuby
11893
13041
  # resource path
11894
13042
  local_var_path = '/Reports/AgedPayablesByContact'
11895
13043
 
13044
+ # camelize keys of incoming `where` opts
13045
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13046
+
11896
13047
  # query parameters
11897
13048
  query_params = opts[:query_params] || {}
11898
13049
  query_params[:'contactId'] = contact_id
11899
13050
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
11900
13051
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
11901
13052
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
13053
+
13054
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13055
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13056
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11902
13057
 
11903
13058
  # header parameters
11904
13059
  header_params = opts[:header_params] || {}
@@ -11970,12 +13125,19 @@ module XeroRuby
11970
13125
  # resource path
11971
13126
  local_var_path = '/Reports/AgedReceivablesByContact'
11972
13127
 
13128
+ # camelize keys of incoming `where` opts
13129
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13130
+
11973
13131
  # query parameters
11974
13132
  query_params = opts[:query_params] || {}
11975
13133
  query_params[:'contactId'] = contact_id
11976
13134
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
11977
13135
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
11978
13136
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
13137
+
13138
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13139
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13140
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
11979
13141
 
11980
13142
  # header parameters
11981
13143
  header_params = opts[:header_params] || {}
@@ -12041,8 +13203,15 @@ module XeroRuby
12041
13203
  # resource path
12042
13204
  local_var_path = '/Reports/{ReportID}'.sub('{' + 'ReportID' + '}', report_id.to_s)
12043
13205
 
13206
+ # camelize keys of incoming `where` opts
13207
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13208
+
12044
13209
  # query parameters
12045
13210
  query_params = opts[:query_params] || {}
13211
+
13212
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13213
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13214
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12046
13215
 
12047
13216
  # header parameters
12048
13217
  header_params = opts[:header_params] || {}
@@ -12102,8 +13271,15 @@ module XeroRuby
12102
13271
  # resource path
12103
13272
  local_var_path = '/Reports'
12104
13273
 
13274
+ # camelize keys of incoming `where` opts
13275
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13276
+
12105
13277
  # query parameters
12106
13278
  query_params = opts[:query_params] || {}
13279
+
13280
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13281
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13282
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12107
13283
 
12108
13284
  # header parameters
12109
13285
  header_params = opts[:header_params] || {}
@@ -12181,6 +13357,9 @@ module XeroRuby
12181
13357
  # resource path
12182
13358
  local_var_path = '/Reports/BalanceSheet'
12183
13359
 
13360
+ # camelize keys of incoming `where` opts
13361
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13362
+
12184
13363
  # query parameters
12185
13364
  query_params = opts[:query_params] || {}
12186
13365
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
@@ -12190,6 +13369,10 @@ module XeroRuby
12190
13369
  query_params[:'trackingOptionID2'] = opts[:'tracking_option_id2'] if !opts[:'tracking_option_id2'].nil?
12191
13370
  query_params[:'standardLayout'] = opts[:'standard_layout'] if !opts[:'standard_layout'].nil?
12192
13371
  query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
13372
+
13373
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13374
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13375
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12193
13376
 
12194
13377
  # header parameters
12195
13378
  header_params = opts[:header_params] || {}
@@ -12253,10 +13436,17 @@ module XeroRuby
12253
13436
  # resource path
12254
13437
  local_var_path = '/Reports/BankSummary'
12255
13438
 
13439
+ # camelize keys of incoming `where` opts
13440
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13441
+
12256
13442
  # query parameters
12257
13443
  query_params = opts[:query_params] || {}
12258
13444
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
12259
13445
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
13446
+
13447
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13448
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13449
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12260
13450
 
12261
13451
  # header parameters
12262
13452
  header_params = opts[:header_params] || {}
@@ -12322,11 +13512,18 @@ module XeroRuby
12322
13512
  # resource path
12323
13513
  local_var_path = '/Reports/BudgetSummary'
12324
13514
 
13515
+ # camelize keys of incoming `where` opts
13516
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13517
+
12325
13518
  # query parameters
12326
13519
  query_params = opts[:query_params] || {}
12327
13520
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
12328
13521
  query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
12329
13522
  query_params[:'timeframe'] = opts[:'timeframe'] if !opts[:'timeframe'].nil?
13523
+
13524
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13525
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13526
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12330
13527
 
12331
13528
  # header parameters
12332
13529
  header_params = opts[:header_params] || {}
@@ -12388,9 +13585,16 @@ module XeroRuby
12388
13585
  # resource path
12389
13586
  local_var_path = '/Reports/ExecutiveSummary'
12390
13587
 
13588
+ # camelize keys of incoming `where` opts
13589
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13590
+
12391
13591
  # query parameters
12392
13592
  query_params = opts[:query_params] || {}
12393
13593
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
13594
+
13595
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13596
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13597
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12394
13598
 
12395
13599
  # header parameters
12396
13600
  header_params = opts[:header_params] || {}
@@ -12474,6 +13678,9 @@ module XeroRuby
12474
13678
  # resource path
12475
13679
  local_var_path = '/Reports/ProfitAndLoss'
12476
13680
 
13681
+ # camelize keys of incoming `where` opts
13682
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13683
+
12477
13684
  # query parameters
12478
13685
  query_params = opts[:query_params] || {}
12479
13686
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
@@ -12486,6 +13693,10 @@ module XeroRuby
12486
13693
  query_params[:'trackingOptionID2'] = opts[:'tracking_option_id2'] if !opts[:'tracking_option_id2'].nil?
12487
13694
  query_params[:'standardLayout'] = opts[:'standard_layout'] if !opts[:'standard_layout'].nil?
12488
13695
  query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
13696
+
13697
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13698
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13699
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12489
13700
 
12490
13701
  # header parameters
12491
13702
  header_params = opts[:header_params] || {}
@@ -12547,9 +13758,16 @@ module XeroRuby
12547
13758
  # resource path
12548
13759
  local_var_path = '/Reports/TenNinetyNine'
12549
13760
 
13761
+ # camelize keys of incoming `where` opts
13762
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13763
+
12550
13764
  # query parameters
12551
13765
  query_params = opts[:query_params] || {}
12552
13766
  query_params[:'reportYear'] = opts[:'report_year'] if !opts[:'report_year'].nil?
13767
+
13768
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13769
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13770
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12553
13771
 
12554
13772
  # header parameters
12555
13773
  header_params = opts[:header_params] || {}
@@ -12613,10 +13831,17 @@ module XeroRuby
12613
13831
  # resource path
12614
13832
  local_var_path = '/Reports/TrialBalance'
12615
13833
 
13834
+ # camelize keys of incoming `where` opts
13835
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13836
+
12616
13837
  # query parameters
12617
13838
  query_params = opts[:query_params] || {}
12618
13839
  query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
12619
13840
  query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
13841
+
13842
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13843
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13844
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12620
13845
 
12621
13846
  # header parameters
12622
13847
  header_params = opts[:header_params] || {}
@@ -12682,11 +13907,18 @@ module XeroRuby
12682
13907
  # resource path
12683
13908
  local_var_path = '/TaxRates'
12684
13909
 
13910
+ # camelize keys of incoming `where` opts
13911
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13912
+
12685
13913
  # query parameters
12686
13914
  query_params = opts[:query_params] || {}
12687
13915
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
12688
13916
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12689
13917
  query_params[:'TaxType'] = opts[:'tax_type'] if !opts[:'tax_type'].nil?
13918
+
13919
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13920
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13921
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12690
13922
 
12691
13923
  # header parameters
12692
13924
  header_params = opts[:header_params] || {}
@@ -12752,11 +13984,18 @@ module XeroRuby
12752
13984
  # resource path
12753
13985
  local_var_path = '/TrackingCategories'
12754
13986
 
13987
+ # camelize keys of incoming `where` opts
13988
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
13989
+
12755
13990
  # query parameters
12756
13991
  query_params = opts[:query_params] || {}
12757
13992
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
12758
13993
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
12759
13994
  query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
13995
+
13996
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
13997
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
13998
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12760
13999
 
12761
14000
  # header parameters
12762
14001
  header_params = opts[:header_params] || {}
@@ -12822,8 +14061,15 @@ module XeroRuby
12822
14061
  # resource path
12823
14062
  local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
12824
14063
 
14064
+ # camelize keys of incoming `where` opts
14065
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14066
+
12825
14067
  # query parameters
12826
14068
  query_params = opts[:query_params] || {}
14069
+
14070
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14071
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14072
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12827
14073
 
12828
14074
  # header parameters
12829
14075
  header_params = opts[:header_params] || {}
@@ -12889,8 +14135,15 @@ module XeroRuby
12889
14135
  # resource path
12890
14136
  local_var_path = '/Users/{UserID}'.sub('{' + 'UserID' + '}', user_id.to_s)
12891
14137
 
14138
+ # camelize keys of incoming `where` opts
14139
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14140
+
12892
14141
  # query parameters
12893
14142
  query_params = opts[:query_params] || {}
14143
+
14144
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14145
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14146
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12894
14147
 
12895
14148
  # header parameters
12896
14149
  header_params = opts[:header_params] || {}
@@ -12956,10 +14209,17 @@ module XeroRuby
12956
14209
  # resource path
12957
14210
  local_var_path = '/Users'
12958
14211
 
14212
+ # camelize keys of incoming `where` opts
14213
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14214
+
12959
14215
  # query parameters
12960
14216
  query_params = opts[:query_params] || {}
12961
14217
  query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
12962
14218
  query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
14219
+
14220
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14221
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14222
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
12963
14223
 
12964
14224
  # header parameters
12965
14225
  header_params = opts[:header_params] || {}
@@ -13032,8 +14292,15 @@ module XeroRuby
13032
14292
  # resource path
13033
14293
  local_var_path = '/Accounts/{AccountID}'.sub('{' + 'AccountID' + '}', account_id.to_s)
13034
14294
 
14295
+ # camelize keys of incoming `where` opts
14296
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14297
+
13035
14298
  # query parameters
13036
14299
  query_params = opts[:query_params] || {}
14300
+
14301
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14302
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14303
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13037
14304
 
13038
14305
  # header parameters
13039
14306
  header_params = opts[:header_params] || {}
@@ -13113,8 +14380,15 @@ module XeroRuby
13113
14380
  # resource path
13114
14381
  local_var_path = '/Accounts/{AccountID}/Attachments/{FileName}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13115
14382
 
14383
+ # camelize keys of incoming `where` opts
14384
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14385
+
13116
14386
  # query parameters
13117
14387
  query_params = opts[:query_params] || {}
14388
+
14389
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14390
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14391
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13118
14392
 
13119
14393
  # header parameters
13120
14394
  header_params = opts[:header_params] || {}
@@ -13190,9 +14464,16 @@ module XeroRuby
13190
14464
  # resource path
13191
14465
  local_var_path = '/BankTransactions/{BankTransactionID}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
13192
14466
 
14467
+ # camelize keys of incoming `where` opts
14468
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14469
+
13193
14470
  # query parameters
13194
14471
  query_params = opts[:query_params] || {}
13195
14472
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
14473
+
14474
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14475
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14476
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13196
14477
 
13197
14478
  # header parameters
13198
14479
  header_params = opts[:header_params] || {}
@@ -13272,8 +14553,15 @@ module XeroRuby
13272
14553
  # resource path
13273
14554
  local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{FileName}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13274
14555
 
14556
+ # camelize keys of incoming `where` opts
14557
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14558
+
13275
14559
  # query parameters
13276
14560
  query_params = opts[:query_params] || {}
14561
+
14562
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14563
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14564
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13277
14565
 
13278
14566
  # header parameters
13279
14567
  header_params = opts[:header_params] || {}
@@ -13351,8 +14639,15 @@ module XeroRuby
13351
14639
  # resource path
13352
14640
  local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{FileName}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13353
14641
 
14642
+ # camelize keys of incoming `where` opts
14643
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14644
+
13354
14645
  # query parameters
13355
14646
  query_params = opts[:query_params] || {}
14647
+
14648
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14649
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14650
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13356
14651
 
13357
14652
  # header parameters
13358
14653
  header_params = opts[:header_params] || {}
@@ -13424,8 +14719,15 @@ module XeroRuby
13424
14719
  # resource path
13425
14720
  local_var_path = '/Contacts/{ContactID}'.sub('{' + 'ContactID' + '}', contact_id.to_s)
13426
14721
 
14722
+ # camelize keys of incoming `where` opts
14723
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14724
+
13427
14725
  # query parameters
13428
14726
  query_params = opts[:query_params] || {}
14727
+
14728
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14729
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14730
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13429
14731
 
13430
14732
  # header parameters
13431
14733
  header_params = opts[:header_params] || {}
@@ -13503,8 +14805,15 @@ module XeroRuby
13503
14805
  # resource path
13504
14806
  local_var_path = '/Contacts/{ContactID}/Attachments/{FileName}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13505
14807
 
14808
+ # camelize keys of incoming `where` opts
14809
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14810
+
13506
14811
  # query parameters
13507
14812
  query_params = opts[:query_params] || {}
14813
+
14814
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14815
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14816
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13508
14817
 
13509
14818
  # header parameters
13510
14819
  header_params = opts[:header_params] || {}
@@ -13578,8 +14887,15 @@ module XeroRuby
13578
14887
  # resource path
13579
14888
  local_var_path = '/ContactGroups/{ContactGroupID}'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
13580
14889
 
14890
+ # camelize keys of incoming `where` opts
14891
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14892
+
13581
14893
  # query parameters
13582
14894
  query_params = opts[:query_params] || {}
14895
+
14896
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14897
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14898
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13583
14899
 
13584
14900
  # header parameters
13585
14901
  header_params = opts[:header_params] || {}
@@ -13655,9 +14971,16 @@ module XeroRuby
13655
14971
  # resource path
13656
14972
  local_var_path = '/CreditNotes/{CreditNoteID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
13657
14973
 
14974
+ # camelize keys of incoming `where` opts
14975
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
14976
+
13658
14977
  # query parameters
13659
14978
  query_params = opts[:query_params] || {}
13660
14979
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
14980
+
14981
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
14982
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
14983
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13661
14984
 
13662
14985
  # header parameters
13663
14986
  header_params = opts[:header_params] || {}
@@ -13737,8 +15060,15 @@ module XeroRuby
13737
15060
  # resource path
13738
15061
  local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{FileName}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13739
15062
 
15063
+ # camelize keys of incoming `where` opts
15064
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15065
+
13740
15066
  # query parameters
13741
15067
  query_params = opts[:query_params] || {}
15068
+
15069
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15070
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15071
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13742
15072
 
13743
15073
  # header parameters
13744
15074
  header_params = opts[:header_params] || {}
@@ -13812,8 +15142,15 @@ module XeroRuby
13812
15142
  # resource path
13813
15143
  local_var_path = '/ExpenseClaims/{ExpenseClaimID}'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
13814
15144
 
15145
+ # camelize keys of incoming `where` opts
15146
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15147
+
13815
15148
  # query parameters
13816
15149
  query_params = opts[:query_params] || {}
15150
+
15151
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15152
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15153
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13817
15154
 
13818
15155
  # header parameters
13819
15156
  header_params = opts[:header_params] || {}
@@ -13889,9 +15226,16 @@ module XeroRuby
13889
15226
  # resource path
13890
15227
  local_var_path = '/Invoices/{InvoiceID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
13891
15228
 
15229
+ # camelize keys of incoming `where` opts
15230
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15231
+
13892
15232
  # query parameters
13893
15233
  query_params = opts[:query_params] || {}
13894
15234
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15235
+
15236
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15237
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15238
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13895
15239
 
13896
15240
  # header parameters
13897
15241
  header_params = opts[:header_params] || {}
@@ -13971,8 +15315,15 @@ module XeroRuby
13971
15315
  # resource path
13972
15316
  local_var_path = '/Invoices/{InvoiceID}/Attachments/{FileName}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
13973
15317
 
15318
+ # camelize keys of incoming `where` opts
15319
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15320
+
13974
15321
  # query parameters
13975
15322
  query_params = opts[:query_params] || {}
15323
+
15324
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15325
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15326
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
13976
15327
 
13977
15328
  # header parameters
13978
15329
  header_params = opts[:header_params] || {}
@@ -14048,9 +15399,16 @@ module XeroRuby
14048
15399
  # resource path
14049
15400
  local_var_path = '/Items/{ItemID}'.sub('{' + 'ItemID' + '}', item_id.to_s)
14050
15401
 
15402
+ # camelize keys of incoming `where` opts
15403
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15404
+
14051
15405
  # query parameters
14052
15406
  query_params = opts[:query_params] || {}
14053
15407
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15408
+
15409
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15410
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15411
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14054
15412
 
14055
15413
  # header parameters
14056
15414
  header_params = opts[:header_params] || {}
@@ -14124,8 +15482,15 @@ module XeroRuby
14124
15482
  # resource path
14125
15483
  local_var_path = '/LinkedTransactions/{LinkedTransactionID}'.sub('{' + 'LinkedTransactionID' + '}', linked_transaction_id.to_s)
14126
15484
 
15485
+ # camelize keys of incoming `where` opts
15486
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15487
+
14127
15488
  # query parameters
14128
15489
  query_params = opts[:query_params] || {}
15490
+
15491
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15492
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15493
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14129
15494
 
14130
15495
  # header parameters
14131
15496
  header_params = opts[:header_params] || {}
@@ -14199,8 +15564,15 @@ module XeroRuby
14199
15564
  # resource path
14200
15565
  local_var_path = '/ManualJournals/{ManualJournalID}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
14201
15566
 
15567
+ # camelize keys of incoming `where` opts
15568
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15569
+
14202
15570
  # query parameters
14203
15571
  query_params = opts[:query_params] || {}
15572
+
15573
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15574
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15575
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14204
15576
 
14205
15577
  # header parameters
14206
15578
  header_params = opts[:header_params] || {}
@@ -14280,8 +15652,15 @@ module XeroRuby
14280
15652
  # resource path
14281
15653
  local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{FileName}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
14282
15654
 
15655
+ # camelize keys of incoming `where` opts
15656
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15657
+
14283
15658
  # query parameters
14284
15659
  query_params = opts[:query_params] || {}
15660
+
15661
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15662
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15663
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14285
15664
 
14286
15665
  # header parameters
14287
15666
  header_params = opts[:header_params] || {}
@@ -14353,10 +15732,17 @@ module XeroRuby
14353
15732
  # resource path
14354
15733
  local_var_path = '/BankTransactions'
14355
15734
 
15735
+ # camelize keys of incoming `where` opts
15736
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15737
+
14356
15738
  # query parameters
14357
15739
  query_params = opts[:query_params] || {}
14358
15740
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14359
15741
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15742
+
15743
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15744
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15745
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14360
15746
 
14361
15747
  # header parameters
14362
15748
  header_params = opts[:header_params] || {}
@@ -14426,9 +15812,16 @@ module XeroRuby
14426
15812
  # resource path
14427
15813
  local_var_path = '/Contacts'
14428
15814
 
15815
+ # camelize keys of incoming `where` opts
15816
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15817
+
14429
15818
  # query parameters
14430
15819
  query_params = opts[:query_params] || {}
14431
15820
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
15821
+
15822
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15823
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15824
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14432
15825
 
14433
15826
  # header parameters
14434
15827
  header_params = opts[:header_params] || {}
@@ -14500,10 +15893,17 @@ module XeroRuby
14500
15893
  # resource path
14501
15894
  local_var_path = '/CreditNotes'
14502
15895
 
15896
+ # camelize keys of incoming `where` opts
15897
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15898
+
14503
15899
  # query parameters
14504
15900
  query_params = opts[:query_params] || {}
14505
15901
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14506
15902
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
15903
+
15904
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15905
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15906
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14507
15907
 
14508
15908
  # header parameters
14509
15909
  header_params = opts[:header_params] || {}
@@ -14573,9 +15973,16 @@ module XeroRuby
14573
15973
  # resource path
14574
15974
  local_var_path = '/Employees'
14575
15975
 
15976
+ # camelize keys of incoming `where` opts
15977
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
15978
+
14576
15979
  # query parameters
14577
15980
  query_params = opts[:query_params] || {}
14578
15981
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
15982
+
15983
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
15984
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
15985
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14579
15986
 
14580
15987
  # header parameters
14581
15988
  header_params = opts[:header_params] || {}
@@ -14647,10 +16054,17 @@ module XeroRuby
14647
16054
  # resource path
14648
16055
  local_var_path = '/Invoices'
14649
16056
 
16057
+ # camelize keys of incoming `where` opts
16058
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16059
+
14650
16060
  # query parameters
14651
16061
  query_params = opts[:query_params] || {}
14652
16062
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14653
16063
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
16064
+
16065
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16066
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16067
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14654
16068
 
14655
16069
  # header parameters
14656
16070
  header_params = opts[:header_params] || {}
@@ -14722,10 +16136,17 @@ module XeroRuby
14722
16136
  # resource path
14723
16137
  local_var_path = '/Items'
14724
16138
 
16139
+ # camelize keys of incoming `where` opts
16140
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16141
+
14725
16142
  # query parameters
14726
16143
  query_params = opts[:query_params] || {}
14727
16144
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
14728
16145
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
16146
+
16147
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16148
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16149
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14729
16150
 
14730
16151
  # header parameters
14731
16152
  header_params = opts[:header_params] || {}
@@ -14795,9 +16216,16 @@ module XeroRuby
14795
16216
  # resource path
14796
16217
  local_var_path = '/ManualJournals'
14797
16218
 
16219
+ # camelize keys of incoming `where` opts
16220
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16221
+
14798
16222
  # query parameters
14799
16223
  query_params = opts[:query_params] || {}
14800
16224
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
16225
+
16226
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16227
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16228
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14801
16229
 
14802
16230
  # header parameters
14803
16231
  header_params = opts[:header_params] || {}
@@ -14867,9 +16295,16 @@ module XeroRuby
14867
16295
  # resource path
14868
16296
  local_var_path = '/PurchaseOrders'
14869
16297
 
16298
+ # camelize keys of incoming `where` opts
16299
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16300
+
14870
16301
  # query parameters
14871
16302
  query_params = opts[:query_params] || {}
14872
16303
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
16304
+
16305
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16306
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16307
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14873
16308
 
14874
16309
  # header parameters
14875
16310
  header_params = opts[:header_params] || {}
@@ -14939,9 +16374,16 @@ module XeroRuby
14939
16374
  # resource path
14940
16375
  local_var_path = '/Quotes'
14941
16376
 
16377
+ # camelize keys of incoming `where` opts
16378
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16379
+
14942
16380
  # query parameters
14943
16381
  query_params = opts[:query_params] || {}
14944
16382
  query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
16383
+
16384
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16385
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16386
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
14945
16387
 
14946
16388
  # header parameters
14947
16389
  header_params = opts[:header_params] || {}
@@ -15015,8 +16457,15 @@ module XeroRuby
15015
16457
  # resource path
15016
16458
  local_var_path = '/PurchaseOrders/{PurchaseOrderID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
15017
16459
 
16460
+ # camelize keys of incoming `where` opts
16461
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16462
+
15018
16463
  # query parameters
15019
16464
  query_params = opts[:query_params] || {}
16465
+
16466
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16467
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16468
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15020
16469
 
15021
16470
  # header parameters
15022
16471
  header_params = opts[:header_params] || {}
@@ -15090,8 +16539,15 @@ module XeroRuby
15090
16539
  # resource path
15091
16540
  local_var_path = '/Quotes/{QuoteID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
15092
16541
 
16542
+ # camelize keys of incoming `where` opts
16543
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16544
+
15093
16545
  # query parameters
15094
16546
  query_params = opts[:query_params] || {}
16547
+
16548
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16549
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16550
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15095
16551
 
15096
16552
  # header parameters
15097
16553
  header_params = opts[:header_params] || {}
@@ -15171,8 +16627,15 @@ module XeroRuby
15171
16627
  # resource path
15172
16628
  local_var_path = '/Quotes/{QuoteID}/Attachments/{FileName}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
15173
16629
 
16630
+ # camelize keys of incoming `where` opts
16631
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16632
+
15174
16633
  # query parameters
15175
16634
  query_params = opts[:query_params] || {}
16635
+
16636
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16637
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16638
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15176
16639
 
15177
16640
  # header parameters
15178
16641
  header_params = opts[:header_params] || {}
@@ -15248,9 +16711,16 @@ module XeroRuby
15248
16711
  # resource path
15249
16712
  local_var_path = '/Receipts/{ReceiptID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
15250
16713
 
16714
+ # camelize keys of incoming `where` opts
16715
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16716
+
15251
16717
  # query parameters
15252
16718
  query_params = opts[:query_params] || {}
15253
16719
  query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
16720
+
16721
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16722
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16723
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15254
16724
 
15255
16725
  # header parameters
15256
16726
  header_params = opts[:header_params] || {}
@@ -15330,8 +16800,15 @@ module XeroRuby
15330
16800
  # resource path
15331
16801
  local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
15332
16802
 
16803
+ # camelize keys of incoming `where` opts
16804
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16805
+
15333
16806
  # query parameters
15334
16807
  query_params = opts[:query_params] || {}
16808
+
16809
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16810
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16811
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15335
16812
 
15336
16813
  # header parameters
15337
16814
  header_params = opts[:header_params] || {}
@@ -15411,8 +16888,15 @@ module XeroRuby
15411
16888
  # resource path
15412
16889
  local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
15413
16890
 
16891
+ # camelize keys of incoming `where` opts
16892
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16893
+
15414
16894
  # query parameters
15415
16895
  query_params = opts[:query_params] || {}
16896
+
16897
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16898
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16899
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15416
16900
 
15417
16901
  # header parameters
15418
16902
  header_params = opts[:header_params] || {}
@@ -15480,8 +16964,15 @@ module XeroRuby
15480
16964
  # resource path
15481
16965
  local_var_path = '/TaxRates'
15482
16966
 
16967
+ # camelize keys of incoming `where` opts
16968
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
16969
+
15483
16970
  # query parameters
15484
16971
  query_params = opts[:query_params] || {}
16972
+
16973
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
16974
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
16975
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15485
16976
 
15486
16977
  # header parameters
15487
16978
  header_params = opts[:header_params] || {}
@@ -15555,8 +17046,15 @@ module XeroRuby
15555
17046
  # resource path
15556
17047
  local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
15557
17048
 
17049
+ # camelize keys of incoming `where` opts
17050
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
17051
+
15558
17052
  # query parameters
15559
17053
  query_params = opts[:query_params] || {}
17054
+
17055
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
17056
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
17057
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15560
17058
 
15561
17059
  # header parameters
15562
17060
  header_params = opts[:header_params] || {}
@@ -15636,8 +17134,15 @@ module XeroRuby
15636
17134
  # resource path
15637
17135
  local_var_path = '/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s).sub('{' + 'TrackingOptionID' + '}', tracking_option_id.to_s)
15638
17136
 
17137
+ # camelize keys of incoming `where` opts
17138
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
17139
+
15639
17140
  # query parameters
15640
17141
  query_params = opts[:query_params] || {}
17142
+
17143
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
17144
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
17145
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
15641
17146
 
15642
17147
  # header parameters
15643
17148
  header_params = opts[:header_params] || {}