Sha256: 59ee672131fadc9d74a5d1a8d730c4ec63b3147b6e82d609bbc8644f95c30571

Contents?: true

Size: 722 Bytes

Versions: 4

Compression:

Stored size: 722 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from [SportsActivityLocation](https://schema.org/SportsActivityLocation), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
    class SportsActivityLocation < ::OpenActive::Models::Schema::SportsActivityLocation
      # @!attribute type
      # @return [String]
      def type
        "SportsActivityLocation"
      end

      # @return [URI,OpenActive::Models::Place]
      define_property :contained_in_place, as: "containedInPlace", types: [
        "URI",
        "OpenActive::Models::Place",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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