Class: Peddler::APIs::ServicesV1::AvailabilityRecord
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ServicesV1::AvailabilityRecord
- Defined in:
- sig/peddler/apis/services_v1.rbs
Instance Attribute Summary collapse
-
#capacity ⇒ Integer?
readonly
Returns the value of attribute capacity.
-
#end_time ⇒ Time
readonly
Returns the value of attribute end_time.
-
#recurrence ⇒ Peddler::APIs::ServicesV1::Recurrence?
readonly
Returns the value of attribute recurrence.
-
#start_time ⇒ Time
readonly
Returns the value of attribute start_time.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :end_time, :start_time, :capacity, :recurrence ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord
Instance Method Summary collapse
-
#members ⇒ [ :end_time, :start_time, :capacity, :recurrence ]
-
#to_h ⇒ { end_time: Time, start_time: Time, capacity: Integer?, recurrence: Peddler::APIs::ServicesV1::Recurrence? }
Instance Attribute Details
#capacity ⇒ Integer? (readonly)
Returns the value of attribute capacity.
224 225 226 |
# File 'sig/peddler/apis/services_v1.rbs', line 224 def capacity @capacity end |
#end_time ⇒ Time (readonly)
Returns the value of attribute end_time.
225 226 227 |
# File 'sig/peddler/apis/services_v1.rbs', line 225 def end_time @end_time end |
#recurrence ⇒ Peddler::APIs::ServicesV1::Recurrence? (readonly)
Returns the value of attribute recurrence.
226 227 228 |
# File 'sig/peddler/apis/services_v1.rbs', line 226 def recurrence @recurrence end |
#start_time ⇒ Time (readonly)
Returns the value of attribute start_time.
227 228 229 |
# File 'sig/peddler/apis/services_v1.rbs', line 227 def start_time @start_time end |
Class Method Details
.[](end_time:, start_time:, capacity:, recurrence:) ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord
217 218 |
# File 'sig/peddler/apis/services_v1.rbs', line 217
def self.[]: (end_time: Time, start_time: Time, ?capacity: Integer?, ?recurrence: Peddler::APIs::ServicesV1::Recurrence?) -> Peddler::APIs::ServicesV1::AvailabilityRecord
| (Time, Time, Integer?, Peddler::APIs::ServicesV1::Recurrence?) -> Peddler::APIs::ServicesV1::AvailabilityRecord
|
.members ⇒ [ :end_time, :start_time, :capacity, :recurrence ]
220 |
# File 'sig/peddler/apis/services_v1.rbs', line 220
def self.members: () -> [ :end_time, :start_time, :capacity, :recurrence ]
|
.new(end_time:, start_time:, capacity:, recurrence:) ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord
215 216 |
# File 'sig/peddler/apis/services_v1.rbs', line 215
def self.new: (end_time: Time, start_time: Time, ?capacity: Integer?, ?recurrence: Peddler::APIs::ServicesV1::Recurrence?) -> Peddler::APIs::ServicesV1::AvailabilityRecord
| (Time, Time, Integer?, Peddler::APIs::ServicesV1::Recurrence?) -> Peddler::APIs::ServicesV1::AvailabilityRecord
|
.parse ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord
222 |
# File 'sig/peddler/apis/services_v1.rbs', line 222
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::AvailabilityRecord
|
Instance Method Details
#members ⇒ [ :end_time, :start_time, :capacity, :recurrence ]
229 |
# File 'sig/peddler/apis/services_v1.rbs', line 229
def members: () -> [ :end_time, :start_time, :capacity, :recurrence ]
|
#to_h ⇒ { end_time: Time, start_time: Time, capacity: Integer?, recurrence: Peddler::APIs::ServicesV1::Recurrence? }
230 |
# File 'sig/peddler/apis/services_v1.rbs', line 230
def to_h: () -> { end_time: Time, start_time: Time, capacity: Integer?, recurrence: Peddler::APIs::ServicesV1::Recurrence? }
|