Sha256: 91bfb5bcf4efeb11a120c4c03f3e11768276d0b08d3e64d6d14c0d96a8af6257

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

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

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

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

        # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Event,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::MedicalEntity,OpenActive::Models::Schema::BioChemEntity,URI]
        define_property :funded_item, as: "fundedItem", types: [
          "OpenActive::Models::Schema::Product",
          "OpenActive::Models::Schema::CreativeWork",
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::Event",
          "OpenActive::Models::Schema::Organization",
          "OpenActive::Models::Schema::MedicalEntity",
          "OpenActive::Models::Schema::BioChemEntity",
          "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/grant.rb
openactive-0.4.0 lib/openactive/models/schema/grant.rb