Class: DeliveryFivePostClient::Models::API::V1::Address
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::API::V1::Address
- Defined in:
- lib/delivery_five_post_client/models/api/v1/address.rb
Instance Attribute Summary collapse
-
#city ⇒ String
Город / City.
-
#country ⇒ String
Страна / Country.
-
#flat ⇒ String?
Квартира/офис / Apartment/office.
-
#house ⇒ String
Номер дома / House number.
-
#region ⇒ String
Регион / Region.
-
#street ⇒ String
Улица / Street.
-
#zip_code ⇒ String
Почтовый индекс / ZIP code.
Instance Method Summary collapse
-
#initialize(city:, country:, house:, region:, street:, zip_code:, flat: nil) ⇒ Object
constructor
Адрес / Address.
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(city:, country:, house:, region:, street:, zip_code:, flat: nil) ⇒ Object
Адрес / Address
|
|
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 50
|
Instance Attribute Details
#city ⇒ String
Город / City
12 |
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 12 required :city, String |
#country ⇒ String
Страна / Country
18 |
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 18 required :country, String |
#flat ⇒ String?
Квартира/офис / Apartment/office
48 |
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 48 optional :flat, String |
#house ⇒ String
Номер дома / House number
24 |
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 24 required :house, String |
#region ⇒ String
Регион / Region
30 |
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 30 required :region, String |
#street ⇒ String
Улица / Street
36 |
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 36 required :street, String |
#zip_code ⇒ String
Почтовый индекс / ZIP code
42 |
# File 'lib/delivery_five_post_client/models/api/v1/address.rb', line 42 required :zip_code, String, api_name: :zipCode |