Sha256: 4b8faa908c060e3b354a515969463e9b2ca02610b7e7f9a175ec11a45cb48310

Contents?: true

Size: 892 Bytes

Versions: 3

Compression:

Stored size: 892 Bytes

Contents

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

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

        # @return [BigDecimal,OpenActive::Enums::Schema::QualitativeValue,nil]
        define_property :dose_value, as: "doseValue", types: [
          "Number",
          "OpenActive::Enums::Schema::QualitativeValue",
          "null",
        ]

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

        # @return [String]
        define_property :target_population, as: "targetPopulation", 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/dose_schedule.rb
openactive-0.2.1 lib/openactive/models/schema/dose_schedule.rb
openactive-0.2.0 lib/openactive/models/schema/dose_schedule.rb