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.
728 729 730 |
# File 'sig/peddler/apis/services_v1.rbs', line 728 def capacity @capacity end |
#end_date_time ⇒ Time? (readonly)
Returns the value of attribute end_date_time.
729 730 731 |
# File 'sig/peddler/apis/services_v1.rbs', line 729 def end_date_time @end_date_time end |
#start_date_time ⇒ Time? (readonly)
Returns the value of attribute start_date_time.
730 731 732 |
# File 'sig/peddler/apis/services_v1.rbs', line 730 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
721 722 |
# File 'sig/peddler/apis/services_v1.rbs', line 721
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 ]
724 |
# File 'sig/peddler/apis/services_v1.rbs', line 724
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
719 720 |
# File 'sig/peddler/apis/services_v1.rbs', line 719
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
726 |
# File 'sig/peddler/apis/services_v1.rbs', line 726
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::RangeSlot
|
Instance Method Details
#members ⇒ [ :capacity, :end_date_time, :start_date_time ]
732 |
# File 'sig/peddler/apis/services_v1.rbs', line 732
def members: () -> [ :capacity, :end_date_time, :start_date_time ]
|
#to_h ⇒ { capacity: Integer?, end_date_time: Time?, start_date_time: Time? }
733 |
# File 'sig/peddler/apis/services_v1.rbs', line 733
def to_h: () -> { capacity: Integer?, end_date_time: Time?, start_date_time: Time? }
|