lib/openactive/models/schema/occupation.rb in openactive-0.2.2 vs lib/openactive/models/schema/occupation.rb in openactive-0.3.0
- old
+ new
@@ -6,61 +6,61 @@
# @return [String]
def type
"schema:Occupation"
end
- # @return [String,OpenActive::Models::Schema::EducationalOccupationalCredential,URI]
- define_property :education_requirements, as: "educationRequirements", types: [
- "string",
- "OpenActive::Models::Schema::EducationalOccupationalCredential",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::DefinedTerm,String,URI]
- define_property :skills, as: "skills", types: [
- "OpenActive::Models::Schema::DefinedTerm",
- "string",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,OpenActive::Models::Schema::MonetaryAmountDistribution,URI,nil]
+ # @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",
- "OpenActive::Models::Schema::MonetaryAmountDistribution",
"URI",
"null",
]
# @return [String]
define_property :responsibilities, as: "responsibilities", types: [
"string",
]
- # @return [OpenActive::Models::Schema::CategoryCode,String,URI]
- define_property :occupational_category, as: "occupationalCategory", types: [
- "OpenActive::Models::Schema::CategoryCode",
+ # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
+ define_property :occupation_location, as: "occupationLocation", types: [
+ "OpenActive::Models::Schema::AdministrativeArea",
+ "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::AdministrativeArea,URI]
- define_property :occupation_location, as: "occupationLocation", types: [
- "OpenActive::Models::Schema::AdministrativeArea",
+ # @return [OpenActive::Models::Schema::EducationalOccupationalCredential,String,URI]
+ define_property :education_requirements, as: "educationRequirements", types: [
+ "OpenActive::Models::Schema::EducationalOccupationalCredential",
+ "string",
"URI",
]
+ # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
+ define_property :skills, as: "skills", types: [
+ "string",
+ "OpenActive::Models::Schema::DefinedTerm",
+ "URI",
+ ]
+
# @return [String,OpenActive::Models::Schema::EducationalOccupationalCredential,URI]
define_property :qualifications, as: "qualifications", types: [
"string",
"OpenActive::Models::Schema::EducationalOccupationalCredential",
"URI",
]
- # @return [String,OpenActive::Models::Schema::OccupationalExperienceRequirements,URI]
- define_property :experience_requirements, as: "experienceRequirements", types: [
+ # @return [OpenActive::Models::Schema::CategoryCode,String,URI]
+ define_property :occupational_category, as: "occupationalCategory", types: [
+ "OpenActive::Models::Schema::CategoryCode",
"string",
- "OpenActive::Models::Schema::OccupationalExperienceRequirements",
"URI",
]
end
end
end