Sha256: 56a2af84de2d4183fb315cd1dcf95135d779b59ef0b27e666e88dea4c171356e

Contents?: true

Size: 1.37 KB

Versions: 1

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,OpenActive::Models::Schema::ComputerLanguage,URI]
        define_property :programming_language, as: "programmingLanguage", types: [
          "string",
          "OpenActive::Models::Schema::ComputerLanguage",
          "URI",
        ]

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

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

        # @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 [URI]
        define_property :code_repository, as: "codeRepository", types: [
          "URI",
        ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

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