Sha256: d4561e4afa30a4e5d6c8f13a463dcfa87c1c5649340d1d0b8c560b95624b271a

Contents?: true

Size: 660 Bytes

Versions: 2

Compression:

Stored size: 660 Bytes

Contents

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

        # @return [URI,OpenActive::Enums::PropertyEnumeration,nil]
        define_property :constraint_property, as: "constraintProperty", types: [
          "URI",
          "OpenActive::Enums::PropertyEnumeration",
          "null",
        ]

        # @return [int,nil]
        define_property :num_constraints, as: "numConstraints", types: [
          "int",
          "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/constraint_node.rb
openactive-0.4.0 lib/openactive/models/schema/constraint_node.rb