Sha256: 8279f43d7079e45942435d192b7de9038a75be27e2d97dfd8dd69ff3988b74f9

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

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

        # @return [OpenActive::Models::Schema::Place,URI]
        define_property :service_location, as: "serviceLocation", types: [
          "OpenActive::Models::Schema::Place",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Service,URI]
        define_property :provides_service, as: "providesService", types: [
          "OpenActive::Models::Schema::Service",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Language,String,URI]
        define_property :available_language, as: "availableLanguage", types: [
          "OpenActive::Models::Schema::Language",
          "string",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::ContactPoint,URI]
        define_property :service_sms_number, as: "serviceSmsNumber", types: [
          "OpenActive::Models::Schema::ContactPoint",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::ContactPoint,URI]
        define_property :service_phone, as: "servicePhone", types: [
          "OpenActive::Models::Schema::ContactPoint",
          "URI",
        ]

        # @return [ActiveSupport::Duration,URI,nil]
        define_property :processing_time, as: "processingTime", types: [
          "DateInterval",
          "URI",
          "null",
        ]

        # @return [URI]
        define_property :service_url, as: "serviceUrl", types: [
          "URI",
        ]

        # @return [OpenActive::Models::Schema::PostalAddress,URI]
        define_property :service_postal_address, as: "servicePostalAddress", types: [
          "OpenActive::Models::Schema::PostalAddress",
          "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/service_channel.rb
openactive-0.4.0 lib/openactive/models/schema/service_channel.rb