Sha256: 37b34180d3ef2799e61de63bce4acbfe27df730ead29fe8864918fa31c308b76

Contents?: true

Size: 1.54 KB

Versions: 1

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 :funder, as: "funder", types: [
          "OpenActive::Models::Schema::Organization",
          "OpenActive::Models::Schema::Person",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::BioChemEntity,OpenActive::Models::Schema::Event,OpenActive::Models::Schema::MedicalEntity,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::Organization,URI]
        define_property :funded_item, as: "fundedItem", types: [
          "OpenActive::Models::Schema::Product",
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::BioChemEntity",
          "OpenActive::Models::Schema::Event",
          "OpenActive::Models::Schema::MedicalEntity",
          "OpenActive::Models::Schema::CreativeWork",
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/grant.rb