Class: Inttegro::Product::UpdateResponse

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/product/update_response.rb

Overview

Typed representation of the update response object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#product ⇒ Inttegro::Product::Updated? (readonly)

Value of the product field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: product.

Returns:



24
25
26
# File 'lib/inttegro/product/update_response.rb', line 24

class UpdateResponse < T::Struct
  const :product, T.nilable(Inttegro::Product::Updated), default: nil
end