Class: KintsugiSDK::Models::Ops::UpdateProductV1ProductsProductIdPutRequest
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Ops::UpdateProductV1ProductsProductIdPutRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(product_id:, product_update:) ⇒ UpdateProductV1ProductsProductIdPutRequest
constructor
A new instance of UpdateProductV1ProductsProductIdPutRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(product_id:, product_update:) ⇒ UpdateProductV1ProductsProductIdPutRequest
Returns a new instance of UpdateProductV1ProductsProductIdPutRequest.
22 23 24 25 |
# File 'lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb', line 22 def initialize(product_id:, product_update:) @product_id = product_id @product_update = product_update end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @product_id == other.product_id return false unless @product_update == other.product_update true end |