Method: AdvancedBilling::ListProformaInvoicesMeta#initialize

Defined in:
lib/advanced_billing/models/list_proforma_invoices_meta.rb

#initialize(total_count: SKIP, current_page: SKIP, total_pages: SKIP, status_code: SKIP, additional_properties: {}) ⇒ ListProformaInvoicesMeta

Returns a new instance of ListProformaInvoicesMeta.



53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/advanced_billing/models/list_proforma_invoices_meta.rb', line 53

def initialize(total_count: SKIP, current_page: SKIP, total_pages: SKIP,
               status_code: SKIP, additional_properties: {})
  @total_count = total_count unless total_count == SKIP
  @current_page = current_page unless current_page == SKIP
  @total_pages = total_pages unless total_pages == SKIP
  @status_code = status_code unless status_code == SKIP

  # Add additional model properties to the instance.
  additional_properties.each do |_name, _value|
    instance_variable_set("@#{_name}", _value)
  end
end