Sha256: 7524b05b7d34a6f2b7b0abe21b445eadf77ee013a9a3430e7b8f5b019882d442

Contents?: true

Size: 605 Bytes

Versions: 6

Compression:

Stored size: 605 Bytes

Contents

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

        # @return [String]
        define_property :iata_code, as: "iataCode", types: [
          "string",
        ]

        # @return [OpenActive::Enums::Schema::BoardingPolicyType,nil]
        define_property :boarding_policy, as: "boardingPolicy", types: [
          "OpenActive::Enums::Schema::BoardingPolicyType",
          "null",
        ]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/airline.rb
openactive-0.4.0 lib/openactive/models/schema/airline.rb
openactive-0.3.0 lib/openactive/models/schema/airline.rb
openactive-0.2.2 lib/openactive/models/schema/airline.rb
openactive-0.2.1 lib/openactive/models/schema/airline.rb
openactive-0.2.0 lib/openactive/models/schema/airline.rb