lib/openactive/models/schema/educational_occupational_credential.rb in openactive-0.2.2 vs lib/openactive/models/schema/educational_occupational_credential.rb in openactive-0.3.0
- old
+ new
@@ -6,47 +6,47 @@
# @return [String]
def type
"schema:EducationalOccupationalCredential"
end
- # @return [OpenActive::Models::Schema::DefinedTerm,URI,String]
- define_property :credential_category, as: "credentialCategory", types: [
- "OpenActive::Models::Schema::DefinedTerm",
+ # @return [ActiveSupport::Duration,URI,nil]
+ define_property :valid_for, as: "validFor", types: [
+ "DateInterval",
"URI",
- "string",
+ "null",
]
# @return [URI,OpenActive::Models::Schema::DefinedTerm,String]
define_property :educational_level, as: "educationalLevel", types: [
"URI",
"OpenActive::Models::Schema::DefinedTerm",
"string",
]
- # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
- define_property :valid_in, as: "validIn", types: [
- "OpenActive::Models::Schema::AdministrativeArea",
+ # @return [URI,OpenActive::Models::Schema::DefinedTerm,String]
+ define_property :credential_category, as: "credentialCategory", types: [
"URI",
- ]
-
- # @return [String,URI,OpenActive::Models::Schema::DefinedTerm]
- define_property :competency_required, as: "competencyRequired", types: [
- "string",
- "URI",
"OpenActive::Models::Schema::DefinedTerm",
+ "string",
]
# @return [OpenActive::Models::Schema::Organization,URI]
define_property :recognized_by, as: "recognizedBy", types: [
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [ActiveSupport::Duration,URI,nil]
- define_property :valid_for, as: "validFor", types: [
- "DateInterval",
+ # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
+ define_property :competency_required, as: "competencyRequired", types: [
+ "string",
+ "OpenActive::Models::Schema::DefinedTerm",
"URI",
- "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
+ define_property :valid_in, as: "validIn", types: [
+ "OpenActive::Models::Schema::AdministrativeArea",
+ "URI",
]
end
end
end
end