Class: Peddler::APIs::ServicesV1::RangeSlot
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ServicesV1::RangeSlot
- Defined in:
- sig/peddler/apis/services_v1.rbs
Instance Attribute Summary collapse
-
#capacity ⇒ Integer?
readonly
Returns the value of attribute capacity.
-
#end_date_time ⇒ Time?
readonly
Returns the value of attribute end_date_time.
-
#start_date_time ⇒ Time?
readonly
Returns the value of attribute start_date_time.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :capacity, :end_date_time, :start_date_time ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ServicesV1::RangeSlot
Instance Method Summary collapse
-
#members ⇒ [ :capacity, :end_date_time, :start_date_time ]
-
#to_h ⇒ { capacity: Integer?, end_date_time: Time?, start_date_time: Time? }
Instance Attribute Details
#capacity ⇒ Integer? (readonly)
Returns the value of attribute capacity.
747 748 749 |
# File 'sig/peddler/apis/services_v1.rbs', line 747 def capacity @capacity end |
#end_date_time ⇒ Time? (readonly)
Returns the value of attribute end_date_time.
748 749 750 |
# File 'sig/peddler/apis/services_v1.rbs', line 748 def end_date_time @end_date_time end |
#start_date_time ⇒ Time? (readonly)
Returns the value of attribute start_date_time.
749 750 751 |
# File 'sig/peddler/apis/services_v1.rbs', line 749 def start_date_time @start_date_time end |
Class Method Details
.[](capacity:, end_date_time:, start_date_time:) ⇒ Peddler::APIs::ServicesV1::RangeSlot .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ServicesV1::RangeSlot
740 741 |
# File 'sig/peddler/apis/services_v1.rbs', line 740
def self.[]: (?capacity: Integer?, ?end_date_time: Time?, ?start_date_time: Time?) -> Peddler::APIs::ServicesV1::RangeSlot
| (Integer?, Time?, Time?) -> Peddler::APIs::ServicesV1::RangeSlot
|
.members ⇒ [ :capacity, :end_date_time, :start_date_time ]
743 |
# File 'sig/peddler/apis/services_v1.rbs', line 743
def self.members: () -> [ :capacity, :end_date_time, :start_date_time ]
|
.new(capacity:, end_date_time:, start_date_time:) ⇒ Peddler::APIs::ServicesV1::RangeSlot .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ServicesV1::RangeSlot
738 739 |
# File 'sig/peddler/apis/services_v1.rbs', line 738
def self.new: (?capacity: Integer?, ?end_date_time: Time?, ?start_date_time: Time?) -> Peddler::APIs::ServicesV1::RangeSlot
| (Integer?, Time?, Time?) -> Peddler::APIs::ServicesV1::RangeSlot
|
.parse ⇒ Peddler::APIs::ServicesV1::RangeSlot
745 |
# File 'sig/peddler/apis/services_v1.rbs', line 745
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::RangeSlot
|
Instance Method Details
#members ⇒ [ :capacity, :end_date_time, :start_date_time ]
751 |
# File 'sig/peddler/apis/services_v1.rbs', line 751
def members: () -> [ :capacity, :end_date_time, :start_date_time ]
|
#to_h ⇒ { capacity: Integer?, end_date_time: Time?, start_date_time: Time? }
752 |
# File 'sig/peddler/apis/services_v1.rbs', line 752
def to_h: () -> { capacity: Integer?, end_date_time: Time?, start_date_time: Time? }
|