Class: Peddler::APIs::EasyShip20220323::TimeSlot

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#end_timeString? (readonly)

Returns the value of attribute end_time.

Returns:

  • (String, nil)


309
310
311
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 309

def end_time
  @end_time
end

#handover_methodString? (readonly)

Returns the value of attribute handover_method.

Returns:

  • (String, nil)


310
311
312
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 310

def handover_method
  @handover_method
end

#slot_idString (readonly)

Returns the value of attribute slot_id.

Returns:

  • (String)


311
312
313
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 311

def slot_id
  @slot_id
end

#start_timeString? (readonly)

Returns the value of attribute start_time.

Returns:

  • (String, nil)


312
313
314
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 312

def start_time
  @start_time
end

Class Method Details

.[](slot_id:, end_time:, handover_method:, start_time:) ⇒ Peddler::APIs::EasyShip20220323::TimeSlot .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::EasyShip20220323::TimeSlot

Overloads:



302
303
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 302

def self.[]: (slot_id: String, ?end_time: String?, ?handover_method: String?, ?start_time: String?) -> Peddler::APIs::EasyShip20220323::TimeSlot
| (String, String?, String?, String?) -> Peddler::APIs::EasyShip20220323::TimeSlot

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

Returns:

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


305
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 305

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

.new(slot_id:, end_time:, handover_method:, start_time:) ⇒ Peddler::APIs::EasyShip20220323::TimeSlot .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::EasyShip20220323::TimeSlot

Overloads:



300
301
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 300

def self.new: (slot_id: String, ?end_time: String?, ?handover_method: String?, ?start_time: String?) -> Peddler::APIs::EasyShip20220323::TimeSlot
| (String, String?, String?, String?) -> Peddler::APIs::EasyShip20220323::TimeSlot

.parsePeddler::APIs::EasyShip20220323::TimeSlot

Parameters:

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

Returns:



307
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 307

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

Instance Method Details

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

Returns:

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


314
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 314

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

#to_h{ slot_id: String, end_time: String?, handover_method: String?, start_time: String? }

Returns:

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


315
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 315

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