Sha256: 82048c554e95030734ae7d81dd89f98be5980f92d3f74c7c1877939e1ad07605

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 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 :percentile75, as: "percentile75", types: [
          "Number",
          "null",
        ]

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

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/quantitative_value_distribution.rb
openactive-0.1.1 lib/openactive/models/schema/quantitative_value_distribution.rb
openactive-0.1.0 lib/openactive/models/schema/quantitative_value_distribution.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/quantitative_value_distribution.rb