lib/openactive/models/schema/web_page.rb in openactive-0.2.2 vs lib/openactive/models/schema/web_page.rb in openactive-0.3.0
- old
+ new
@@ -6,21 +6,10 @@
# @return [String]
def type
"schema:WebPage"
end
- # @return [OpenActive::Models::Schema::SpeakableSpecification,URI]
- define_property :speakable, as: "speakable", types: [
- "OpenActive::Models::Schema::SpeakableSpecification",
- "URI",
- ]
-
- # @return [URI]
- define_property :significant_link, as: "significantLink", types: [
- "URI",
- ]
-
# @return [Date,nil]
define_property :last_reviewed, as: "lastReviewed", types: [
"Date",
"null",
]
@@ -35,31 +24,42 @@
define_property :primary_image_of_page, as: "primaryImageOfPage", types: [
"OpenActive::Models::Schema::ImageObject",
"URI",
]
+ # @return [URI]
+ define_property :significant_link, as: "significantLink", types: [
+ "URI",
+ ]
+
# @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
define_property :reviewed_by, as: "reviewedBy", types: [
"OpenActive::Models::Schema::Organization",
"OpenActive::Models::Schema::Person",
"URI",
]
- # @return [String,OpenActive::Models::Schema::BreadcrumbList,URI]
- define_property :breadcrumb, as: "breadcrumb", types: [
- "string",
- "OpenActive::Models::Schema::BreadcrumbList",
- "URI",
- ]
-
# @return [OpenActive::Models::Schema::WebPageElement,URI]
define_property :main_content_of_page, as: "mainContentOfPage", types: [
"OpenActive::Models::Schema::WebPageElement",
"URI",
]
# @return [URI]
define_property :related_link, as: "relatedLink", types: [
+ "URI",
+ ]
+
+ # @return [URI,OpenActive::Models::Schema::SpeakableSpecification]
+ define_property :speakable, as: "speakable", types: [
+ "URI",
+ "OpenActive::Models::Schema::SpeakableSpecification",
+ ]
+
+ # @return [OpenActive::Models::Schema::BreadcrumbList,String,URI]
+ define_property :breadcrumb, as: "breadcrumb", types: [
+ "OpenActive::Models::Schema::BreadcrumbList",
+ "string",
"URI",
]
# @return [URI]
define_property :significant_links, as: "significantLinks", types: [