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.
223 224 225 |
# File 'sig/peddler/apis/services_v1.rbs', line 223 def capacity @capacity end |
#end_time ⇒ Time (readonly)
Returns the value of attribute end_time.
224 225 226 |
# File 'sig/peddler/apis/services_v1.rbs', line 224 def end_time @end_time end |
#recurrence ⇒ Peddler::APIs::ServicesV1::Recurrence? (readonly)
Returns the value of attribute recurrence.
225 226 227 |
# File 'sig/peddler/apis/services_v1.rbs', line 225 def recurrence @recurrence end |
#start_time ⇒ Time (readonly)
Returns the value of attribute start_time.
226 227 228 |
# File 'sig/peddler/apis/services_v1.rbs', line 226 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
216 217 |
# File 'sig/peddler/apis/services_v1.rbs', line 216
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 ]
219 |
# File 'sig/peddler/apis/services_v1.rbs', line 219
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
214 215 |
# File 'sig/peddler/apis/services_v1.rbs', line 214
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
221 |
# File 'sig/peddler/apis/services_v1.rbs', line 221
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::AvailabilityRecord
|
Instance Method Details
#members ⇒ [ :end_time, :start_time, :capacity, :recurrence ]
228 |
# File 'sig/peddler/apis/services_v1.rbs', line 228
def members: () -> [ :end_time, :start_time, :capacity, :recurrence ]
|
#to_h ⇒ { end_time: Time, start_time: Time, capacity: Integer?, recurrence: Peddler::APIs::ServicesV1::Recurrence? }
229 |
# File 'sig/peddler/apis/services_v1.rbs', line 229
def to_h: () -> { end_time: Time, start_time: Time, capacity: Integer?, recurrence: Peddler::APIs::ServicesV1::Recurrence? }
|