Sha256: 580da43e83dd4e59a6eac3687a84f9f8f8c6a16a84c8d21448788e7232068f99

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Audience,String,URI]
        define_property :tourist_type, as: "touristType", types: [
          "OpenActive::Models::Schema::Audience",
          "string",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::TouristAttraction,URI]
        define_property :includes_attraction, as: "includesAttraction", types: [
          "OpenActive::Models::Schema::TouristAttraction",
          "URI",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/tourist_destination.rb