Sha256: 2716d03e80b6f600e379ecb66f5a67d0f2cf9c67d1716f140ceac91d194cde66

Contents?: true

Size: 967 Bytes

Versions: 3

Compression:

Stored size: 967 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 [URI]
      define_property :has_credential, as: "hasCredential", types: [
        "URI",
      ]

      # @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.5.0 lib/openactive/models/booking_service.rb
openactive-0.4.0 lib/openactive/models/booking_service.rb
openactive-0.3.0 lib/openactive/models/booking_service.rb