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.
462 463 464 |
# File 'sig/peddler/apis/services_v1.rbs', line 462 def capacities @capacities end |
#next_page_token ⇒ String? (readonly)
Returns the value of attribute next_page_token.
463 464 465 |
# File 'sig/peddler/apis/services_v1.rbs', line 463 def next_page_token @next_page_token end |
#resource_id ⇒ String? (readonly)
Returns the value of attribute resource_id.
464 465 466 |
# File 'sig/peddler/apis/services_v1.rbs', line 464 def resource_id @resource_id end |
#slot_duration ⇒ Float? (readonly)
Returns the value of attribute slot_duration.
465 466 467 |
# File 'sig/peddler/apis/services_v1.rbs', line 465 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
455 456 |
# File 'sig/peddler/apis/services_v1.rbs', line 455
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 ]
458 |
# File 'sig/peddler/apis/services_v1.rbs', line 458
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
453 454 |
# File 'sig/peddler/apis/services_v1.rbs', line 453
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
460 |
# File 'sig/peddler/apis/services_v1.rbs', line 460
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::FixedSlotCapacity
|
Instance Method Details
#members ⇒ [ :capacities, :next_page_token, :resource_id, :slot_duration ]
467 |
# File 'sig/peddler/apis/services_v1.rbs', line 467
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? }
468 |
# File 'sig/peddler/apis/services_v1.rbs', line 468
def to_h: () -> { capacities: Array[Peddler::APIs::ServicesV1::FixedSlot]?, next_page_token: String?, resource_id: String?, slot_duration: Float? }
|