Class: Peddler::APIs::Replenishment20221107::TimeInterval
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Replenishment20221107::TimeInterval
- Defined in:
- sig/peddler/apis/replenishment_2022_11_07.rbs
Instance Attribute Summary collapse
-
#end_date ⇒ Time
readonly
Returns the value of attribute end_date.
-
#start_date ⇒ Time
readonly
Returns the value of attribute start_date.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :end_date, :start_date ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
Instance Method Summary collapse
Instance Attribute Details
#end_date ⇒ Time (readonly)
Returns the value of attribute end_date.
583 584 585 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 583 def end_date @end_date end |
#start_date ⇒ Time (readonly)
Returns the value of attribute start_date.
584 585 586 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 584 def start_date @start_date end |
Class Method Details
.[](end_date:, start_date:) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval .[](arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
576 577 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 576
def self.[]: (end_date: Time, start_date: Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
| (Time, Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
|
.members ⇒ [ :end_date, :start_date ]
579 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 579
def self.members: () -> [ :end_date, :start_date ]
|
.new(end_date:, start_date:) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval .new(arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
574 575 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 574
def self.new: (end_date: Time, start_date: Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
| (Time, Time) -> Peddler::APIs::Replenishment20221107::TimeInterval
|
.parse ⇒ Peddler::APIs::Replenishment20221107::TimeInterval
581 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 581
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::TimeInterval
|
Instance Method Details
#members ⇒ [ :end_date, :start_date ]
586 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 586
def members: () -> [ :end_date, :start_date ]
|
#to_h ⇒ { end_date: Time, start_date: Time }
587 |
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 587
def to_h: () -> { end_date: Time, start_date: Time }
|