Sha256: fd19ff447bd33b3f800f0cea6c2203f8a1a32a959fab8c4daa1c8268465d9873

Contents?: true

Size: 800 Bytes

Versions: 3

Compression:

Stored size: 800 Bytes

Contents

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

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

        # @return [OpenActive::Models::Schema::InfectiousAgentClass,URI]
        define_property :infectious_agent_class, as: "infectiousAgentClass", types: [
          "OpenActive::Models::Schema::InfectiousAgentClass",
          "URI",
        ]

        # @return [String]
        define_property :infectious_agent, as: "infectiousAgent", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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