Class: DeliveryFivePostClient::Models::API::V1::PartnerDeliveryToAddressParams::Dimensions
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::API::V1::PartnerDeliveryToAddressParams::Dimensions
- Defined in:
- lib/delivery_five_post_client/models/api/v1/partner_delivery_to_address_params.rb
Instance Attribute Summary collapse
-
#height ⇒ Float
Высота (см) / Height.
-
#length ⇒ Float
Длина (см) / Length.
-
#width ⇒ Float
Ширина (см) / Width.
Instance Method Summary collapse
-
#initialize(height:, length:, width:) ⇒ Object
constructor
Габариты / Dimensions.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(height:, length:, width:) ⇒ Object
Габариты / Dimensions
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_delivery_to_address_params.rb', line 51 class Dimensions < DeliveryFivePostClient::Internal::Type::BaseModel # @!attribute height # Высота (см) / Height # # @return [Float] required :height, Float # @!attribute length # Длина (см) / Length # # @return [Float] required :length, Float # @!attribute width # Ширина (см) / Width # # @return [Float] required :width, Float # @!method initialize(height:, length:, width:) # Габариты / Dimensions # # @param height [Float] Высота (см) / Height # # @param length [Float] Длина (см) / Length # # @param width [Float] Ширина (см) / Width end |
Instance Attribute Details
#height ⇒ Float
Высота (см) / Height
56 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_delivery_to_address_params.rb', line 56 required :height, Float |
#length ⇒ Float
Длина (см) / Length
62 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_delivery_to_address_params.rb', line 62 required :length, Float |
#width ⇒ Float
Ширина (см) / Width
68 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_delivery_to_address_params.rb', line 68 required :width, Float |