Class: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#end_time ⇒ Integer (readonly)

Returns the value of attribute end_time.

Returns:

  • (Integer)


1048
1049
1050
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1048

def end_time
  @end_time
end

#handover_method ⇒ String? (readonly)

Returns the value of attribute handover_method.

Returns:

  • (String, nil)


1049
1050
1051
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1049

def handover_method
  @handover_method
end

#start_time ⇒ Integer (readonly)

Returns the value of attribute start_time.

Returns:

  • (Integer)


1050
1051
1052
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1050

def start_time
  @start_time
end

Class Method Details

.[](end_time:, start_time:, handover_method:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow

Overloads:



1041
1042
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1041

def self.[]: (end_time: Integer, start_time: Integer, ?handover_method: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow
| (Integer, Integer, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow

.members ⇒ [ :end_time, :start_time, :handover_method ]

Returns:

  • ([ :end_time, :start_time, :handover_method ])


1044
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1044

def self.members: () -> [ :end_time, :start_time, :handover_method ]

.new(end_time:, start_time:, handover_method:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow

Overloads:



1039
1040
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1039

def self.new: (end_time: Integer, start_time: Integer, ?handover_method: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow
| (Integer, Integer, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



1046
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1046

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow

Instance Method Details

#members ⇒ [ :end_time, :start_time, :handover_method ]

Returns:

  • ([ :end_time, :start_time, :handover_method ])


1052
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1052

def members: () -> [ :end_time, :start_time, :handover_method ]

#to_h ⇒ { end_time: Integer, start_time: Integer, handover_method: String? }

Returns:

  • ({ end_time: Integer, start_time: Integer, handover_method: String? })


1053
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1053

def to_h: () -> { end_time: Integer, start_time: Integer, handover_method: String? }