Class: Peddler::APIs::Replenishment20221107::TimeInterval

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#end_dateTime (readonly)

Returns the value of attribute end_date.

Returns:

  • (Time)


583
584
585
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 583

def end_date
  @end_date
end

#start_dateTime (readonly)

Returns the value of attribute start_date.

Returns:

  • (Time)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::Replenishment20221107::TimeInterval

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

  • ({ 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 }