Sha256: 9ab5d2f6615cf5c35c23e2516d19ee5ecf4261628b4d17d1055554fc27e46196

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

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

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

        # @return [OpenActive::Models::Schema::MaximumDoseSchedule,URI]
        define_property :maximum_intake, as: "maximumIntake", types: [
          "OpenActive::Models::Schema::MaximumDoseSchedule",
          "URI",
        ]

        # @return [BigDecimal,nil]
        define_property :strength_value, as: "strengthValue", types: [
          "Number",
          "null",
        ]

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

        # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
        define_property :available_in, as: "availableIn", types: [
          "OpenActive::Models::Schema::AdministrativeArea",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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