lib/openactive/models/schema/entry_point.rb in openactive-0.2.2 vs lib/openactive/models/schema/entry_point.rb in openactive-0.3.0
- old
+ new
@@ -6,44 +6,46 @@
# @return [String]
def type
"schema:EntryPoint"
end
- # @return [String]
- define_property :content_type, as: "contentType", types: [
- "string",
+ # @return [OpenActive::Models::Schema::SoftwareApplication,URI]
+ define_property :action_application, as: "actionApplication", types: [
+ "OpenActive::Models::Schema::SoftwareApplication",
+ "URI",
]
# @return [OpenActive::Models::Schema::SoftwareApplication,URI]
define_property :application, as: "application", types: [
"OpenActive::Models::Schema::SoftwareApplication",
"URI",
]
- # @return [String]
- define_property :encoding_type, as: "encodingType", types: [
+ # @return [String,URI,OpenActive::Enums::Schema::DigitalPlatformEnumeration,nil]
+ define_property :action_platform, as: "actionPlatform", types: [
"string",
- ]
-
- # @return [OpenActive::Models::Schema::SoftwareApplication,URI]
- define_property :action_application, as: "actionApplication", types: [
- "OpenActive::Models::Schema::SoftwareApplication",
"URI",
+ "OpenActive::Enums::Schema::DigitalPlatformEnumeration",
+ "null",
]
# @return [String]
define_property :http_method, as: "httpMethod", types: [
"string",
]
- # @return [String,URI]
- define_property :action_platform, as: "actionPlatform", types: [
+ # @return [String]
+ define_property :url_template, as: "urlTemplate", types: [
"string",
- "URI",
]
# @return [String]
- define_property :url_template, as: "urlTemplate", types: [
+ define_property :encoding_type, as: "encodingType", types: [
+ "string",
+ ]
+
+ # @return [String]
+ define_property :content_type, as: "contentType", types: [
"string",
]
end
end
end