Sha256: 7ff217dc0d16e99660aa669cb2da85c40456b29fb8069cb8987694ec5a102a0a

Contents?: true

Size: 1.37 KB

Versions: 3

Compression:

Stored size: 1.37 KB

Contents

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

        # @return [String]
        define_property :runtime_platform, as: "runtimePlatform", types: [
          "string",
        ]

        # @return [String,OpenActive::Models::Schema::ComputerLanguage,URI]
        define_property :programming_language, as: "programmingLanguage", types: [
          "string",
          "OpenActive::Models::Schema::ComputerLanguage",
          "URI",
        ]

        # @return [String]
        define_property :code_sample_type, as: "codeSampleType", types: [
          "string",
        ]

        # @return [URI]
        define_property :code_repository, as: "codeRepository", types: [
          "URI",
        ]

        # @return [String]
        define_property :runtime, as: "runtime", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::SoftwareApplication,URI]
        define_property :target_product, as: "targetProduct", types: [
          "OpenActive::Models::Schema::SoftwareApplication",
          "URI",
        ]

        # @return [String]
        define_property :sample_type, as: "sampleType", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/software_source_code.rb
openactive-0.2.1 lib/openactive/models/schema/software_source_code.rb
openactive-0.2.0 lib/openactive/models/schema/software_source_code.rb