Sha256: 73462c5d9964ef663b3d8db4bd8d77b232fb8931a493f7598250d57f6bdeb4cf

Contents?: true

Size: 821 Bytes

Versions: 6

Compression:

Stored size: 821 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://pending.schema.org/VirtualLocation.
    class VirtualLocation < ::OpenActive::JsonLdModel
      # @!attribute type
      # @return [String]
      def type
        "VirtualLocation"
      end

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

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

      # @return [String]
      define_property :access_code, as: "accessCode", types: [
        "string",
      ]

      # @return [String]
      define_property :access_id, as: "accessId", types: [
        "string",
      ]

      # @return [URI]
      define_property :url, as: "url", types: [
        "URI",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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