Class: Peddler::APIs::ShippingV2::TimeOfDay
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::TimeOfDay
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#hour_of_day ⇒ Integer?
readonly
Returns the value of attribute hour_of_day.
-
#minute_of_hour ⇒ Integer?
readonly
Returns the value of attribute minute_of_hour.
-
#second_of_minute ⇒ Integer?
readonly
Returns the value of attribute second_of_minute.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :hour_of_day, :minute_of_hour, :second_of_minute ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::TimeOfDay
Instance Method Summary collapse
-
#members ⇒ [ :hour_of_day, :minute_of_hour, :second_of_minute ]
-
#to_h ⇒ { hour_of_day: Integer?, minute_of_hour: Integer?, second_of_minute: Integer? }
Instance Attribute Details
#hour_of_day ⇒ Integer? (readonly)
Returns the value of attribute hour_of_day.
1829 1830 1831 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1829 def hour_of_day @hour_of_day end |
#minute_of_hour ⇒ Integer? (readonly)
Returns the value of attribute minute_of_hour.
1830 1831 1832 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1830 def minute_of_hour @minute_of_hour end |
#second_of_minute ⇒ Integer? (readonly)
Returns the value of attribute second_of_minute.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ShippingV2::TimeOfDay
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 ]
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? }
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? }
|