Class: Peddler::APIs::ServicesV1::FixedSlotCapacity
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ServicesV1::FixedSlotCapacity
- Defined in:
- sig/peddler/apis/services_v1.rbs
Instance Attribute Summary collapse
-
#capacities ⇒ Array[Peddler::APIs::ServicesV1::FixedSlot]?
readonly
Returns the value of attribute capacities.
-
#next_page_token ⇒ String?
readonly
Returns the value of attribute next_page_token.
-
#resource_id ⇒ String?
readonly
Returns the value of attribute resource_id.
-
#slot_duration ⇒ Float?
readonly
Returns the value of attribute slot_duration.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :capacities, :next_page_token, :resource_id, :slot_duration ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacity
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#capacities ⇒ Array[Peddler::APIs::ServicesV1::FixedSlot]? (readonly)
Returns the value of attribute capacities.
461 462 463 |
# File 'sig/peddler/apis/services_v1.rbs', line 461 def capacities @capacities end |
#next_page_token ⇒ String? (readonly)
Returns the value of attribute next_page_token.
462 463 464 |
# File 'sig/peddler/apis/services_v1.rbs', line 462 def next_page_token @next_page_token end |
#resource_id ⇒ String? (readonly)
Returns the value of attribute resource_id.
463 464 465 |
# File 'sig/peddler/apis/services_v1.rbs', line 463 def resource_id @resource_id end |
#slot_duration ⇒ Float? (readonly)
Returns the value of attribute slot_duration.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ServicesV1::FixedSlotCapacity
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 ]
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? }
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? }
|