Class: DeliveryFivePostClient::Models::API::V1::Partners::WarehouseCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/delivery_five_post_client/models/api/v1/partners/warehouse_create_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

Parameters:



# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_create_params.rb', line 37

Instance Attribute Details

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

Адрес / Address



17
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_create_params.rb', line 17

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

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

Контакты / Contacts



23
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_create_params.rb', line 23

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

#external_id ⇒ String

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

Returns:

  • (String)


29
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_create_params.rb', line 29

required :external_id, String, api_name: :externalId

#name ⇒ String

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

Returns:

  • (String)


35
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_create_params.rb', line 35

required :name, String