Sha256: f47ca95337784db576b191290e7cc8fcf11a739becdbb0e83a14f342345db516

Contents?: true

Size: 1.21 KB

Versions: 2

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 [ActiveSupport::Duration,URI,nil]
        define_property :duration, as: "duration", types: [
          "DateInterval",
          "URI",
          "null",
        ]

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

        # @return [BigDecimal,nil]
        define_property :percentile75, as: "percentile75", 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",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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