Sha256: c075a40529d9b4a28f8e5f6dc2b4b5186c0a8900daaaba0ac1cdf23cfc46de58

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

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

        # @return [OpenActive::Models::Schema::Class,URI]
        define_property :range_includes, as: "rangeIncludes", types: [
          "OpenActive::Models::Schema::Class",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Class,URI]
        define_property :domain_includes, as: "domainIncludes", types: [
          "OpenActive::Models::Schema::Class",
          "URI",
        ]

        # @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",
        ]

        # @return [OpenActive::Enums::PropertyEnumeration,URI,nil]
        define_property :inverse_of, as: "inverseOf", types: [
          "OpenActive::Enums::PropertyEnumeration",
          "URI",
          "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/property.rb
openactive-0.4.0 lib/openactive/models/schema/property.rb