lib/openactive/models/schema/educational_occupational_program.rb in openactive-0.1.2 vs lib/openactive/models/schema/educational_occupational_program.rb in openactive-0.2.0

- old
+ new

@@ -6,33 +6,168 @@ # @return [String] def type "schema:EducationalOccupationalProgram" end - # @return [OpenActive::Models::Schema::MonetaryAmountDistribution] + # @return [OpenActive::Models::Schema::Course,URI] + define_property :has_course, as: "hasCourse", types: [ + "OpenActive::Models::Schema::Course", + "URI", + ] + + # @return [OpenActive::Models::Schema::DefinedTerm,String,URI] + define_property :program_type, as: "programType", types: [ + "OpenActive::Models::Schema::DefinedTerm", + "string", + "URI", + ] + + # @return [OpenActive::Models::Schema::MonetaryAmountDistribution,URI] + define_property :training_salary, as: "trainingSalary", types: [ + "OpenActive::Models::Schema::MonetaryAmountDistribution", + "URI", + ] + + # @return [Date,nil] + define_property :application_start_date, as: "applicationStartDate", types: [ + "Date", + "null", + ] + + # @return [OpenActive::Models::Schema::CategoryCode,String,URI] + define_property :occupational_category, as: "occupationalCategory", types: [ + "OpenActive::Models::Schema::CategoryCode", + "string", + "URI", + ] + + # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI] + define_property :offers, as: "offers", types: [ + "OpenActive::Models::Schema::Offer", + "OpenActive::Models::Schema::Demand", + "URI", + ] + + # @return [DateTime,Date,nil] + define_property :start_date, as: "startDate", types: [ + "DateTime", + "Date", + "null", + ] + + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :provider, as: "provider", types: [ + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", + "URI", + ] + + # @return [BigDecimal,nil] + define_property :terms_per_year, as: "termsPerYear", types: [ + "Number", + "null", + ] + + # @return [OpenActive::Models::Schema::MonetaryAmountDistribution,URI] define_property :salary_upon_completion, as: "salaryUponCompletion", types: [ "OpenActive::Models::Schema::MonetaryAmountDistribution", + "URI", ] - # @return [OpenActive::Models::Schema::EducationalOccupationalCredential,URI,String] + # @return [URI,String,OpenActive::Models::Schema::EducationalOccupationalCredential] define_property :occupational_credential_awarded, as: "occupationalCredentialAwarded", types: [ - "OpenActive::Models::Schema::EducationalOccupationalCredential", "URI", "string", + "OpenActive::Models::Schema::EducationalOccupationalCredential", ] - # @return [String,OpenActive::Models::Schema::AlignmentObject,OpenActive::Models::Schema::EducationalOccupationalCredential,OpenActive::Models::Schema::Course] - define_property :program_prerequisites, as: "programPrerequisites", types: [ + # @return [OpenActive::Models::Schema::DefinedTerm,String,URI] + define_property :financial_aid_eligible, as: "financialAidEligible", types: [ + "OpenActive::Models::Schema::DefinedTerm", "string", - "OpenActive::Models::Schema::AlignmentObject", - "OpenActive::Models::Schema::EducationalOccupationalCredential", - "OpenActive::Models::Schema::Course", + "URI", ] - # @return [ActiveSupport::Duration,nil] + # @return [OpenActive::Enums::Schema::DayOfWeek,nil] + define_property :day_of_week, as: "dayOfWeek", types: [ + "OpenActive::Enums::Schema::DayOfWeek", + "null", + ] + + # @return [Date,DateTime,nil] + define_property :end_date, as: "endDate", types: [ + "Date", + "DateTime", + "null", + ] + + # @return [String,URI] + define_property :educational_program_mode, as: "educationalProgramMode", types: [ + "string", + "URI", + ] + + # @return [int,nil] + define_property :maximum_enrollment, as: "maximumEnrollment", types: [ + "int", + "null", + ] + + # @return [ActiveSupport::Duration,URI,nil] + define_property :term_duration, as: "termDuration", types: [ + "DateInterval", + "URI", + "null", + ] + + # @return [Date,nil] + define_property :application_deadline, as: "applicationDeadline", types: [ + "Date", + "null", + ] + + # @return [int,OpenActive::Models::Schema::StructuredValue,URI,nil] + define_property :typical_credits_per_term, as: "typicalCreditsPerTerm", types: [ + "int", + "OpenActive::Models::Schema::StructuredValue", + "URI", + "null", + ] + + # @return [ActiveSupport::Duration,URI,nil] define_property :time_to_complete, as: "timeToComplete", types: [ "DateInterval", + "URI", "null", + ] + + # @return [OpenActive::Models::Schema::StructuredValue,int,URI,nil] + define_property :number_of_credits, as: "numberOfCredits", types: [ + "OpenActive::Models::Schema::StructuredValue", + "int", + "URI", + "null", + ] + + # @return [String] + define_property :time_of_day, as: "timeOfDay", types: [ + "string", + ] + + # @return [URI,String,OpenActive::Models::Schema::EducationalOccupationalCredential] + define_property :educational_credential_awarded, as: "educationalCredentialAwarded", types: [ + "URI", + "string", + "OpenActive::Models::Schema::EducationalOccupationalCredential", + ] + + # @return [OpenActive::Models::Schema::Course,OpenActive::Models::Schema::AlignmentObject,OpenActive::Models::Schema::EducationalOccupationalCredential,String,URI] + define_property :program_prerequisites, as: "programPrerequisites", types: [ + "OpenActive::Models::Schema::Course", + "OpenActive::Models::Schema::AlignmentObject", + "OpenActive::Models::Schema::EducationalOccupationalCredential", + "string", + "URI", ] end end end end