Class: DeliveryFivePostClient::Models::API::V1::PartnerGetReceiverLocationsResponse::Redirection
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::API::V1::PartnerGetReceiverLocationsResponse::Redirection
- Defined in:
- lib/delivery_five_post_client/models/api/v1/partner_get_receiver_locations_response.rb
Instance Attribute Summary collapse
-
#from_location_id ⇒ String
UUID в формате v4 / UUID in v4 format.
-
#order_id ⇒ String
UUID в формате v4 / UUID in v4 format.
-
#redirection_date ⇒ Time
Дата переадресации / Redirection date.
-
#to_location_id ⇒ String
UUID в формате v4 / UUID in v4 format.
Instance Method Summary collapse
-
#initialize(from_location_id:, order_id:, redirection_date:, to_location_id:) ⇒ Object
constructor
Информация о переадресации / Redirection information.
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(from_location_id:, order_id:, redirection_date:, to_location_id:) ⇒ Object
Информация о переадресации / Redirection information
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_get_receiver_locations_response.rb', line 21 class Redirection < DeliveryFivePostClient::Internal::Type::BaseModel # @!attribute from_location_id # UUID в формате v4 / UUID in v4 format # # @return [String] required :from_location_id, String, api_name: :fromLocationId # @!attribute order_id # UUID в формате v4 / UUID in v4 format # # @return [String] required :order_id, String, api_name: :orderId # @!attribute redirection_date # Дата переадресации / Redirection date # # @return [Time] required :redirection_date, Time, api_name: :redirectionDate # @!attribute to_location_id # UUID в формате v4 / UUID in v4 format # # @return [String] required :to_location_id, String, api_name: :toLocationId # @!method initialize(from_location_id:, order_id:, redirection_date:, to_location_id:) # Информация о переадресации / Redirection information # # @param from_location_id [String] UUID в формате v4 / UUID in v4 format # # @param order_id [String] UUID в формате v4 / UUID in v4 format # # @param redirection_date [Time] Дата переадресации / Redirection date # # @param to_location_id [String] UUID в формате v4 / UUID in v4 format end |
Instance Attribute Details
#from_location_id ⇒ String
UUID в формате v4 / UUID in v4 format
26 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_get_receiver_locations_response.rb', line 26 required :from_location_id, String, api_name: :fromLocationId |
#order_id ⇒ String
UUID в формате v4 / UUID in v4 format
32 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_get_receiver_locations_response.rb', line 32 required :order_id, String, api_name: :orderId |
#redirection_date ⇒ Time
Дата переадресации / Redirection date
38 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_get_receiver_locations_response.rb', line 38 required :redirection_date, Time, api_name: :redirectionDate |
#to_location_id ⇒ String
UUID в формате v4 / UUID in v4 format
44 |
# File 'lib/delivery_five_post_client/models/api/v1/partner_get_receiver_locations_response.rb', line 44 required :to_location_id, String, api_name: :toLocationId |