Sha256: 713bf8206cfd58c5a0bd2a31dcbefe66338c91c48fca2a085c2f94ab221c5764

Contents?: true

Size: 793 Bytes

Versions: 1

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 [OpenActive::Models::Schema::Class,URI]
        define_property :population_type, as: "populationType", types: [
          "OpenActive::Models::Schema::Class",
          "URI",
        ]

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/statistical_population.rb