Class: Peddler::APIs::ServicesV1::FixedSlotCapacityQuery

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/services_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#capacity_typesArray[untyped]? (readonly)

Returns the value of attribute capacity_types.

Returns:

  • (Array[untyped], nil)


496
497
498
# File 'sig/peddler/apis/services_v1.rbs', line 496

def capacity_types
  @capacity_types
end

#end_date_timeTime (readonly)

Returns the value of attribute end_date_time.

Returns:

  • (Time)


497
498
499
# File 'sig/peddler/apis/services_v1.rbs', line 497

def end_date_time
  @end_date_time
end

#slot_durationFloat? (readonly)

Returns the value of attribute slot_duration.

Returns:

  • (Float, nil)


498
499
500
# File 'sig/peddler/apis/services_v1.rbs', line 498

def slot_duration
  @slot_duration
end

#start_date_timeTime (readonly)

Returns the value of attribute start_date_time.

Returns:

  • (Time)


499
500
501
# File 'sig/peddler/apis/services_v1.rbs', line 499

def start_date_time
  @start_date_time
end

Class Method Details

.[](end_date_time:, start_date_time:, capacity_types:, slot_duration:) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacityQuery .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacityQuery

Overloads:



489
490
# File 'sig/peddler/apis/services_v1.rbs', line 489

def self.[]: (end_date_time: Time, start_date_time: Time, ?capacity_types: Array[untyped]?, ?slot_duration: Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacityQuery
| (Time, Time, Array[untyped]?, Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacityQuery

.members[ :end_date_time, :start_date_time, :capacity_types, :slot_duration ]

Returns:

  • ([ :end_date_time, :start_date_time, :capacity_types, :slot_duration ])


492
# File 'sig/peddler/apis/services_v1.rbs', line 492

def self.members: () -> [ :end_date_time, :start_date_time, :capacity_types, :slot_duration ]

.new(end_date_time:, start_date_time:, capacity_types:, slot_duration:) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacityQuery .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacityQuery

Overloads:



487
488
# File 'sig/peddler/apis/services_v1.rbs', line 487

def self.new: (end_date_time: Time, start_date_time: Time, ?capacity_types: Array[untyped]?, ?slot_duration: Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacityQuery
| (Time, Time, Array[untyped]?, Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacityQuery

.parsePeddler::APIs::ServicesV1::FixedSlotCapacityQuery

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



494
# File 'sig/peddler/apis/services_v1.rbs', line 494

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::FixedSlotCapacityQuery

Instance Method Details

#members[ :end_date_time, :start_date_time, :capacity_types, :slot_duration ]

Returns:

  • ([ :end_date_time, :start_date_time, :capacity_types, :slot_duration ])


501
# File 'sig/peddler/apis/services_v1.rbs', line 501

def members: () -> [ :end_date_time, :start_date_time, :capacity_types, :slot_duration ]

#to_h{ end_date_time: Time, start_date_time: Time, capacity_types: Array[untyped]?, slot_duration: Float? }

Returns:

  • ({ end_date_time: Time, start_date_time: Time, capacity_types: Array[untyped]?, slot_duration: Float? })


502
# File 'sig/peddler/apis/services_v1.rbs', line 502

def to_h: () -> { end_date_time: Time, start_date_time: Time, capacity_types: Array[untyped]?, slot_duration: Float? }