Sha256: 52d936af80e345ed0ba10cfc78e608c676de150213beada28252a19affb21e5a

Contents?: true

Size: 860 Bytes

Versions: 4

Compression:

Stored size: 860 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class Seat < ::OpenActive::Models::Schema::Intangible
        # @!attribute type
        # @return [String]
        def type
          "schema:Seat"
        end

        # @return [String]
        define_property :seat_number, as: "seatNumber", types: [
          "string",
        ]

        # @return [String]
        define_property :seat_row, as: "seatRow", types: [
          "string",
        ]

        # @return [String]
        define_property :seat_section, as: "seatSection", types: [
          "string",
        ]

        # @return [String,OpenActive::Enums::Schema::QualitativeValue,nil]
        define_property :seating_type, as: "seatingType", types: [
          "string",
          "OpenActive::Enums::Schema::QualitativeValue",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/seat.rb
openactive-0.1.1 lib/openactive/models/schema/seat.rb
openactive-0.1.0 lib/openactive/models/schema/seat.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/seat.rb