Sha256: 6fccdf33a38b62288b59a5bdefd344585d79cedf75c0120f23dbe3b7c0458ec0

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 [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",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/infectious_disease.rb
openactive-0.4.0 lib/openactive/models/schema/infectious_disease.rb
openactive-0.3.0 lib/openactive/models/schema/infectious_disease.rb