Sha256: e39a22851f5da4c24e9561922febec9431ff50cbbd0b35478653c981ab07ae64

Contents?: true

Size: 654 Bytes

Versions: 5

Compression:

Stored size: 654 Bytes

Contents

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

        # @return [OpenActive::Enums::PropertyEnumeration,OpenActive::Models::Schema::Enumeration,OpenActive::Models::Schema::Class,URI,nil]
        define_property :superseded_by, as: "supersededBy", types: [
          "OpenActive::Enums::PropertyEnumeration",
          "OpenActive::Models::Schema::Enumeration",
          "OpenActive::Models::Schema::Class",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/enumeration.rb
openactive-0.4.0 lib/openactive/models/schema/enumeration.rb
openactive-0.2.2 lib/openactive/models/schema/enumeration.rb
openactive-0.2.1 lib/openactive/models/schema/enumeration.rb
openactive-0.2.0 lib/openactive/models/schema/enumeration.rb