Sha256: a08f8cd2cc2bcb5b92db7472ed688579e9cb8dfd486d81baaeaecde433d97596

Contents?: true

Size: 852 Bytes

Versions: 3

Compression:

Stored size: 852 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/Service, which means that any of this type's properties within schema.org may also be used.
    class BookingService < ::OpenActive::Models::Schema::Service
      # @!attribute type
      # @return [String]
      def type
        "BookingService"
      end

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

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

      # @return [Array<OpenActive::Models::Terms>]
      define_property :terms_of_service, as: "termsOfService", types: [
        "OpenActive::Models::Terms[]",
      ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/booking_service.rb
openactive-0.2.1 lib/openactive/models/booking_service.rb
openactive-0.2.0 lib/openactive/models/booking_service.rb