Class: Peddler::APIs::ServicesV1::Reservation

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

#availabilityPeddler::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_idString? (readonly)

Returns the value of attribute reservation_id.

Returns:

  • (String, nil)


853
854
855
# File 'sig/peddler/apis/services_v1.rbs', line 853

def reservation_id
  @reservation_id
end

#typeString (readonly)

Returns the value of attribute type.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ServicesV1::Reservation

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:



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

def to_h: () -> { availability: Peddler::APIs::ServicesV1::AvailabilityRecord, type: String, reservation_id: String? }