Class: Peddler::APIs::ShippingV2::TimeOfDay

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hour_of_dayInteger? (readonly)

Returns the value of attribute hour_of_day.

Returns:

  • (Integer, nil)


1829
1830
1831
# File 'sig/peddler/apis/shipping_v2.rbs', line 1829

def hour_of_day
  @hour_of_day
end

#minute_of_hourInteger? (readonly)

Returns the value of attribute minute_of_hour.

Returns:

  • (Integer, nil)


1830
1831
1832
# File 'sig/peddler/apis/shipping_v2.rbs', line 1830

def minute_of_hour
  @minute_of_hour
end

#second_of_minuteInteger? (readonly)

Returns the value of attribute second_of_minute.

Returns:

  • (Integer, nil)


1831
1832
1833
# File 'sig/peddler/apis/shipping_v2.rbs', line 1831

def second_of_minute
  @second_of_minute
end

Class Method Details

.[](hour_of_day:, minute_of_hour:, second_of_minute:) ⇒ Peddler::APIs::ShippingV2::TimeOfDay .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV2::TimeOfDay

Overloads:



1822
1823
# File 'sig/peddler/apis/shipping_v2.rbs', line 1822

def self.[]: (?hour_of_day: Integer?, ?minute_of_hour: Integer?, ?second_of_minute: Integer?) -> Peddler::APIs::ShippingV2::TimeOfDay
| (Integer?, Integer?, Integer?) -> Peddler::APIs::ShippingV2::TimeOfDay

.members[ :hour_of_day, :minute_of_hour, :second_of_minute ]

Returns:

  • ([ :hour_of_day, :minute_of_hour, :second_of_minute ])


1825
# File 'sig/peddler/apis/shipping_v2.rbs', line 1825

def self.members: () -> [ :hour_of_day, :minute_of_hour, :second_of_minute ]

.new(hour_of_day:, minute_of_hour:, second_of_minute:) ⇒ Peddler::APIs::ShippingV2::TimeOfDay .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV2::TimeOfDay

Overloads:



1820
1821
# File 'sig/peddler/apis/shipping_v2.rbs', line 1820

def self.new: (?hour_of_day: Integer?, ?minute_of_hour: Integer?, ?second_of_minute: Integer?) -> Peddler::APIs::ShippingV2::TimeOfDay
| (Integer?, Integer?, Integer?) -> Peddler::APIs::ShippingV2::TimeOfDay

.parsePeddler::APIs::ShippingV2::TimeOfDay

Parameters:

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

Returns:



1827
# File 'sig/peddler/apis/shipping_v2.rbs', line 1827

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

Instance Method Details

#members[ :hour_of_day, :minute_of_hour, :second_of_minute ]

Returns:

  • ([ :hour_of_day, :minute_of_hour, :second_of_minute ])


1833
# File 'sig/peddler/apis/shipping_v2.rbs', line 1833

def members: () -> [ :hour_of_day, :minute_of_hour, :second_of_minute ]

#to_h{ hour_of_day: Integer?, minute_of_hour: Integer?, second_of_minute: Integer? }

Returns:

  • ({ hour_of_day: Integer?, minute_of_hour: Integer?, second_of_minute: Integer? })


1834
# File 'sig/peddler/apis/shipping_v2.rbs', line 1834

def to_h: () -> { hour_of_day: Integer?, minute_of_hour: Integer?, second_of_minute: Integer? }