Sha256: 37fec77c92d0b0cc5f81c54f528e2c7ebfc635d8a64d8792b748f8436305e9ad

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

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

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

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

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

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