lib/openactive/models/schema/occupation.rb in openactive-0.3.0 vs lib/openactive/models/schema/occupation.rb in openactive-0.4.0

- old
+ new

@@ -6,61 +6,61 @@ # @return [String] def type "schema:Occupation" end - # @return [OpenActive::Models::Schema::MonetaryAmountDistribution,OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil] - define_property :estimated_salary, as: "estimatedSalary", types: [ - "OpenActive::Models::Schema::MonetaryAmountDistribution", - "OpenActive::Models::Schema::MonetaryAmount", - "Number", + # @return [String] + define_property :responsibilities, as: "responsibilities", types: [ + "string", + ] + + # @return [String,OpenActive::Models::Schema::CategoryCode,URI] + define_property :occupational_category, as: "occupationalCategory", types: [ + "string", + "OpenActive::Models::Schema::CategoryCode", "URI", - "null", ] - # @return [String] - define_property :responsibilities, as: "responsibilities", types: [ + # @return [String,OpenActive::Models::Schema::EducationalOccupationalCredential,URI] + define_property :qualifications, as: "qualifications", types: [ "string", + "OpenActive::Models::Schema::EducationalOccupationalCredential", + "URI", ] - # @return [OpenActive::Models::Schema::AdministrativeArea,URI] - define_property :occupation_location, as: "occupationLocation", types: [ - "OpenActive::Models::Schema::AdministrativeArea", + # @return [OpenActive::Models::Schema::DefinedTerm,String,URI] + define_property :skills, as: "skills", types: [ + "OpenActive::Models::Schema::DefinedTerm", + "string", "URI", ] # @return [String,OpenActive::Models::Schema::OccupationalExperienceRequirements,URI] define_property :experience_requirements, as: "experienceRequirements", types: [ "string", "OpenActive::Models::Schema::OccupationalExperienceRequirements", "URI", ] - # @return [OpenActive::Models::Schema::EducationalOccupationalCredential,String,URI] - define_property :education_requirements, as: "educationRequirements", types: [ - "OpenActive::Models::Schema::EducationalOccupationalCredential", - "string", + # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmountDistribution,OpenActive::Models::Schema::MonetaryAmount,URI,nil] + define_property :estimated_salary, as: "estimatedSalary", types: [ + "Number", + "OpenActive::Models::Schema::MonetaryAmountDistribution", + "OpenActive::Models::Schema::MonetaryAmount", "URI", + "null", ] - # @return [String,OpenActive::Models::Schema::DefinedTerm,URI] - define_property :skills, as: "skills", types: [ - "string", - "OpenActive::Models::Schema::DefinedTerm", + # @return [OpenActive::Models::Schema::AdministrativeArea,URI] + define_property :occupation_location, as: "occupationLocation", types: [ + "OpenActive::Models::Schema::AdministrativeArea", "URI", ] # @return [String,OpenActive::Models::Schema::EducationalOccupationalCredential,URI] - define_property :qualifications, as: "qualifications", types: [ + define_property :education_requirements, as: "educationRequirements", types: [ "string", "OpenActive::Models::Schema::EducationalOccupationalCredential", - "URI", - ] - - # @return [OpenActive::Models::Schema::CategoryCode,String,URI] - define_property :occupational_category, as: "occupationalCategory", types: [ - "OpenActive::Models::Schema::CategoryCode", - "string", "URI", ] end end end