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)


556
557
558
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 556

def end_date
  @end_date
end

#start_dateTime (readonly)

Returns the value of attribute start_date.

Returns:

  • (Time)


557
558
559
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 557

def start_date
  @start_date
end

Class Method Details

.[](end_date:, start_date:) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval .[](arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval

Overloads:



549
550
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 549

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 ])


552
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 552

def self.members: () -> [ :end_date, :start_date ]

.new(end_date:, start_date:) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval .new(arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::TimeInterval

Overloads:



547
548
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 547

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:



554
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 554

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 ])


559
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 559

def members: () -> [ :end_date, :start_date ]

#to_h{ end_date: Time, start_date: Time }

Returns:

  • ({ end_date: Time, start_date: Time })


560
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 560

def to_h: () -> { end_date: Time, start_date: Time }