Sha256: ce0f8adf314a652766334653726cbc55e31a6ec472e531e8ab036ba7d2cde6fe

Contents?: true

Size: 755 Bytes

Versions: 2

Compression:

Stored size: 755 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Distance,BigDecimal,String,URI,nil]
        define_property :geo_radius, as: "geoRadius", types: [
          "OpenActive::Models::Schema::Distance",
          "Number",
          "string",
          "URI",
          "null",
        ]

        # @return [OpenActive::Models::Schema::GeoCoordinates,URI]
        define_property :geo_midpoint, as: "geoMidpoint", types: [
          "OpenActive::Models::Schema::GeoCoordinates",
          "URI",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/geo_circle.rb
openactive-0.4.0 lib/openactive/models/schema/geo_circle.rb