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.



833
834
835
# File 'sig/peddler/apis/services_v1.rbs', line 833

def availability
  @availability
end

#reservation_idString? (readonly)

Returns the value of attribute reservation_id.

Returns:

  • (String, nil)


834
835
836
# File 'sig/peddler/apis/services_v1.rbs', line 834

def reservation_id
  @reservation_id
end

#typeString (readonly)

Returns the value of attribute type.

Returns:

  • (String)


835
836
837
# File 'sig/peddler/apis/services_v1.rbs', line 835

def type
  @type
end

Class Method Details

.[](availability:, type:, reservation_id:) ⇒ Peddler::APIs::ServicesV1::Reservation .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ServicesV1::Reservation

Overloads:



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

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 ])


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

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:



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

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:



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

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 ])


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

def members: () -> [ :availability, :type, :reservation_id ]

#to_h{ availability: Peddler::APIs::ServicesV1::AvailabilityRecord, type: String, reservation_id: String? }

Returns:



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

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