Class: KintsugiSDK::Models::Ops::GetProductsV1ProductsGetRequest
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Ops::GetProductsV1ProductsGetRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/ops/get_products_v1_products_get_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(query: nil, status_in: nil, product_category_in: nil, product_subcategory_in: nil, source_in: nil, order_by: nil, page: 1, size: 50) ⇒ GetProductsV1ProductsGetRequest
constructor
A new instance of GetProductsV1ProductsGetRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(query: nil, status_in: nil, product_category_in: nil, product_subcategory_in: nil, source_in: nil, order_by: nil, page: 1, size: 50) ⇒ GetProductsV1ProductsGetRequest
Returns a new instance of GetProductsV1ProductsGetRequest.
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/kintsugi_sdk/models/ops/get_products_v1_products_get_request.rb', line 34 def initialize(query: nil, status_in: nil, product_category_in: nil, product_subcategory_in: nil, source_in: nil, order_by: nil, page: 1, size: 50) @query = query @status_in = status_in @product_category_in = product_category_in @product_subcategory_in = product_subcategory_in @source_in = source_in @order_by = order_by @page = page @size = size end |
Instance Method Details
#==(other) ⇒ Object
46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/kintsugi_sdk/models/ops/get_products_v1_products_get_request.rb', line 46 def ==(other) return false unless other.is_a? self.class return false unless @query == other.query return false unless @status_in == other.status_in return false unless @product_category_in == other.product_category_in return false unless @product_subcategory_in == other.product_subcategory_in 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 |