Sha256: fab5c83a0ba5b27dcd28d471deaf6bf976952c17fb5dc4ed83351880af48c6f9

Contents?: true

Size: 991 Bytes

Versions: 2

Compression:

Stored size: 991 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::CreativeWork,URI]
        define_property :first_appearance, as: "firstAppearance", types: [
          "OpenActive::Models::Schema::CreativeWork",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::CreativeWork,URI]
        define_property :appearance, as: "appearance", types: [
          "OpenActive::Models::Schema::CreativeWork",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
        define_property :claim_interpreter, as: "claimInterpreter", types: [
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/claim.rb
openactive-0.4.0 lib/openactive/models/schema/claim.rb