Class: Peddler::APIs::ServicesV1::FixedSlotCapacity

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

#capacitiesArray[Peddler::APIs::ServicesV1::FixedSlot]? (readonly)

Returns the value of attribute capacities.

Returns:



461
462
463
# File 'sig/peddler/apis/services_v1.rbs', line 461

def capacities
  @capacities
end

#next_page_tokenString? (readonly)

Returns the value of attribute next_page_token.

Returns:

  • (String, nil)


462
463
464
# File 'sig/peddler/apis/services_v1.rbs', line 462

def next_page_token
  @next_page_token
end

#resource_idString? (readonly)

Returns the value of attribute resource_id.

Returns:

  • (String, nil)


463
464
465
# File 'sig/peddler/apis/services_v1.rbs', line 463

def resource_id
  @resource_id
end

#slot_durationFloat? (readonly)

Returns the value of attribute slot_duration.

Returns:

  • (Float, nil)


464
465
466
# File 'sig/peddler/apis/services_v1.rbs', line 464

def slot_duration
  @slot_duration
end

Class Method Details

.[](capacities:, next_page_token:, resource_id:, slot_duration:) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacity .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacity

Overloads:



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

def self.[]: (?capacities: Array[Peddler::APIs::ServicesV1::FixedSlot]?, ?next_page_token: String?, ?resource_id: String?, ?slot_duration: Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacity
| (Array[Peddler::APIs::ServicesV1::FixedSlot]?, String?, String?, Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacity

.members[ :capacities, :next_page_token, :resource_id, :slot_duration ]

Returns:

  • ([ :capacities, :next_page_token, :resource_id, :slot_duration ])


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

def self.members: () -> [ :capacities, :next_page_token, :resource_id, :slot_duration ]

.new(capacities:, next_page_token:, resource_id:, slot_duration:) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacity .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacity

Overloads:



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

def self.new: (?capacities: Array[Peddler::APIs::ServicesV1::FixedSlot]?, ?next_page_token: String?, ?resource_id: String?, ?slot_duration: Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacity
| (Array[Peddler::APIs::ServicesV1::FixedSlot]?, String?, String?, Float?) -> Peddler::APIs::ServicesV1::FixedSlotCapacity

.parsePeddler::APIs::ServicesV1::FixedSlotCapacity

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :capacities, :next_page_token, :resource_id, :slot_duration ]

Returns:

  • ([ :capacities, :next_page_token, :resource_id, :slot_duration ])


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

def members: () -> [ :capacities, :next_page_token, :resource_id, :slot_duration ]

#to_h{ capacities: Array[Peddler::APIs::ServicesV1::FixedSlot]?, next_page_token: String?, resource_id: String?, slot_duration: Float? }

Returns:



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

def to_h: () -> { capacities: Array[Peddler::APIs::ServicesV1::FixedSlot]?, next_page_token: String?, resource_id: String?, slot_duration: Float? }