Class: KintsugiSDK::Models::Ops::GetCustomersV1Request
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Ops::GetCustomersV1Request
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(search_query: nil, country: nil, state: nil, source_in: nil, order_by: nil, page: 1, size: 50) ⇒ GetCustomersV1Request
constructor
A new instance of GetCustomersV1Request.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(search_query: nil, country: nil, state: nil, source_in: nil, order_by: nil, page: 1, size: 50) ⇒ GetCustomersV1Request
Returns a new instance of GetCustomersV1Request.
32 33 34 35 36 37 38 39 40 |
# File 'lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb', line 32 def initialize(search_query: nil, country: nil, state: nil, source_in: nil, order_by: nil, page: 1, size: 50) @search_query = search_query @country = country @state = state @source_in = source_in @order_by = order_by @page = page @size = size end |
Instance Method Details
#==(other) ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb', line 43 def ==(other) return false unless other.is_a? self.class return false unless @search_query == other.search_query return false unless @country == other.country return false unless @state == other.state return false unless @source_in == other.source_in return false unless @order_by == other.order_by return false unless @page == other.page return false unless @size == other.size true end |