Class: DeliveryFivePostClient::Models::API::V1::Partners::WarehouseInfo

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/delivery_five_post_client/models/api/v1/partners/warehouse_info.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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(id:, address:, contacts:, external_id:, name:) ⇒ Object

Информация о складе / Warehouse information

Parameters:



# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_info.rb', line 40

Instance Attribute Details

#address ⇒ DeliveryFivePostClient::Models::API::V1::Address

Адрес / Address



20
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_info.rb', line 20

required :address, -> { DeliveryFivePostClient::API::V1::Address }

#contacts ⇒ DeliveryFivePostClient::Models::API::V1::Partners::Contacts

Контакты / Contacts



26
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_info.rb', line 26

required :contacts, -> { DeliveryFivePostClient::API::V1::Partners::Contacts }

#external_id ⇒ String

Внешний ID склада / External warehouse ID

Returns:

  • (String)


32
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_info.rb', line 32

required :external_id, String, api_name: :externalId

#id ⇒ String

UUID в формате v4 / UUID in v4 format

Returns:

  • (String)


14
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_info.rb', line 14

required :id, String

#name ⇒ String

Название склада / Warehouse name

Returns:

  • (String)


38
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_info.rb', line 38

required :name, String