Sha256: ef76b4a32ee9c128797f498aa3e854b30f888c6205c842169c2ffef90388589b

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

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

        # @return [OpenActive::Models::Schema::MonetaryAmountDistribution]
        define_property :salary_upon_completion, as: "salaryUponCompletion", types: [
          "OpenActive::Models::Schema::MonetaryAmountDistribution",
        ]

        # @return [OpenActive::Models::Schema::EducationalOccupationalCredential,URI,String]
        define_property :occupational_credential_awarded, as: "occupationalCredentialAwarded", types: [
          "OpenActive::Models::Schema::EducationalOccupationalCredential",
          "URI",
          "string",
        ]

        # @return [String,OpenActive::Models::Schema::AlignmentObject,OpenActive::Models::Schema::EducationalOccupationalCredential,OpenActive::Models::Schema::Course]
        define_property :program_prerequisites, as: "programPrerequisites", types: [
          "string",
          "OpenActive::Models::Schema::AlignmentObject",
          "OpenActive::Models::Schema::EducationalOccupationalCredential",
          "OpenActive::Models::Schema::Course",
        ]

        # @return [ActiveSupport::Duration,nil]
        define_property :time_to_complete, as: "timeToComplete", types: [
          "DateInterval",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/educational_occupational_program.rb
openactive-0.1.1 lib/openactive/models/schema/educational_occupational_program.rb
openactive-0.1.0 lib/openactive/models/schema/educational_occupational_program.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/educational_occupational_program.rb