Class: Peddler::APIs::ServicesV1::Reservation
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ServicesV1::Reservation
- Defined in:
- sig/peddler/apis/services_v1.rbs
Instance Attribute Summary collapse
-
#availability ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord
readonly
Returns the value of attribute availability.
-
#reservation_id ⇒ String?
readonly
Returns the value of attribute reservation_id.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :availability, :type, :reservation_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ServicesV1::Reservation
Instance Method Summary collapse
-
#members ⇒ [ :availability, :type, :reservation_id ]
-
#to_h ⇒ { availability: Peddler::APIs::ServicesV1::AvailabilityRecord, type: String, reservation_id: String? }
Instance Attribute Details
#availability ⇒ Peddler::APIs::ServicesV1::AvailabilityRecord (readonly)
Returns the value of attribute availability.
852 853 854 |
# File 'sig/peddler/apis/services_v1.rbs', line 852 def availability @availability end |
#reservation_id ⇒ String? (readonly)
Returns the value of attribute reservation_id.
853 854 855 |
# File 'sig/peddler/apis/services_v1.rbs', line 853 def reservation_id @reservation_id end |
#type ⇒ String (readonly)
Returns the value of attribute type.
854 855 856 |
# File 'sig/peddler/apis/services_v1.rbs', line 854 def type @type end |
Class Method Details
.[](availability:, type:, reservation_id:) ⇒ Peddler::APIs::ServicesV1::Reservation .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ServicesV1::Reservation
845 846 |
# File 'sig/peddler/apis/services_v1.rbs', line 845
def self.[]: (availability: Peddler::APIs::ServicesV1::AvailabilityRecord, type: String, ?reservation_id: String?) -> Peddler::APIs::ServicesV1::Reservation
| (Peddler::APIs::ServicesV1::AvailabilityRecord, String, String?) -> Peddler::APIs::ServicesV1::Reservation
|
.members ⇒ [ :availability, :type, :reservation_id ]
848 |
# File 'sig/peddler/apis/services_v1.rbs', line 848
def self.members: () -> [ :availability, :type, :reservation_id ]
|
.new(availability:, type:, reservation_id:) ⇒ Peddler::APIs::ServicesV1::Reservation .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ServicesV1::Reservation
843 844 |
# File 'sig/peddler/apis/services_v1.rbs', line 843
def self.new: (availability: Peddler::APIs::ServicesV1::AvailabilityRecord, type: String, ?reservation_id: String?) -> Peddler::APIs::ServicesV1::Reservation
| (Peddler::APIs::ServicesV1::AvailabilityRecord, String, String?) -> Peddler::APIs::ServicesV1::Reservation
|
.parse ⇒ Peddler::APIs::ServicesV1::Reservation
850 |
# File 'sig/peddler/apis/services_v1.rbs', line 850
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::Reservation
|
Instance Method Details
#members ⇒ [ :availability, :type, :reservation_id ]
856 |
# File 'sig/peddler/apis/services_v1.rbs', line 856
def members: () -> [ :availability, :type, :reservation_id ]
|
#to_h ⇒ { availability: Peddler::APIs::ServicesV1::AvailabilityRecord, type: String, reservation_id: String? }
857 |
# File 'sig/peddler/apis/services_v1.rbs', line 857
def to_h: () -> { availability: Peddler::APIs::ServicesV1::AvailabilityRecord, type: String, reservation_id: String? }
|