Sha256: bd905819f631746d4f5d0d463388262f7fb3b9938ca068d5328f68ad5af49355

Contents?: true

Size: 793 Bytes

Versions: 3

Compression:

Stored size: 793 Bytes

Contents

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

        # @return [int,nil]
        define_property :num_constraints, as: "numConstraints", types: [
          "int",
          "null",
        ]

        # @return [int,nil]
        define_property :constraining_property, as: "constrainingProperty", types: [
          "int",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Class,URI]
        define_property :population_type, as: "populationType", types: [
          "OpenActive::Models::Schema::Class",
          "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/statistical_population.rb
openactive-0.2.1 lib/openactive/models/schema/statistical_population.rb
openactive-0.2.0 lib/openactive/models/schema/statistical_population.rb