lib/openactive/models/schema/web_page.rb in openactive-0.1.2 vs lib/openactive/models/schema/web_page.rb in openactive-0.2.0

- old
+ new

@@ -6,62 +6,66 @@ # @return [String] def type "schema:WebPage" end - # @return [OpenActive::Enums::Schema::Specialty,nil] - define_property :specialty, as: "specialty", types: [ - "OpenActive::Enums::Schema::Specialty", - "null", + # @return [OpenActive::Models::Schema::SpeakableSpecification,URI] + define_property :speakable, as: "speakable", types: [ + "OpenActive::Models::Schema::SpeakableSpecification", + "URI", ] # @return [URI] - define_property :significant_links, as: "significantLinks", types: [ + define_property :significant_link, as: "significantLink", types: [ "URI", ] - # @return [OpenActive::Models::Schema::ImageObject] + # @return [Date,nil] + define_property :last_reviewed, as: "lastReviewed", types: [ + "Date", + "null", + ] + + # @return [OpenActive::Enums::Schema::Specialty,nil] + define_property :specialty, as: "specialty", types: [ + "OpenActive::Enums::Schema::Specialty", + "null", + ] + + # @return [OpenActive::Models::Schema::ImageObject,URI] define_property :primary_image_of_page, as: "primaryImageOfPage", types: [ "OpenActive::Models::Schema::ImageObject", + "URI", ] - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization] + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] define_property :reviewed_by, as: "reviewedBy", types: [ - "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", + "URI", ] - # @return [OpenActive::Models::Schema::WebPageElement] + # @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] - define_property :significant_link, as: "significantLink", types: [ + define_property :significant_links, as: "significantLinks", types: [ "URI", - ] - - # @return [String,OpenActive::Models::Schema::BreadcrumbList] - define_property :breadcrumb, as: "breadcrumb", types: [ - "string", - "OpenActive::Models::Schema::BreadcrumbList", - ] - - # @return [URI,OpenActive::Models::Schema::SpeakableSpecification] - define_property :speakable, as: "speakable", types: [ - "URI", - "OpenActive::Models::Schema::SpeakableSpecification", - ] - - # @return [Date,nil] - define_property :last_reviewed, as: "lastReviewed", types: [ - "Date", - "null", ] end end end end