lib/openactive/models/schema/article.rb in openactive-0.2.2 vs lib/openactive/models/schema/article.rb in openactive-0.3.0

- old
+ new

@@ -6,54 +6,54 @@ # @return [String] def type "schema:Article" end - # @return [OpenActive::Models::Schema::SpeakableSpecification,URI] - define_property :speakable, as: "speakable", types: [ - "OpenActive::Models::Schema::SpeakableSpecification", - "URI", - ] - - # @return [OpenActive::Models::Schema::CreativeWork,String,URI] - define_property :backstory, as: "backstory", types: [ - "OpenActive::Models::Schema::CreativeWork", + # @return [String,int,nil] + define_property :page_start, as: "pageStart", types: [ "string", - "URI", + "int", + "null", ] # @return [String] - define_property :pagination, as: "pagination", types: [ + define_property :article_section, as: "articleSection", types: [ "string", ] # @return [String,int,nil] - define_property :page_start, as: "pageStart", types: [ + define_property :page_end, as: "pageEnd", types: [ "string", "int", "null", ] - # @return [String,int,nil] - define_property :page_end, as: "pageEnd", types: [ + # @return [String,OpenActive::Models::Schema::CreativeWork,URI] + define_property :backstory, as: "backstory", types: [ "string", - "int", - "null", + "OpenActive::Models::Schema::CreativeWork", + "URI", ] # @return [int,nil] define_property :word_count, as: "wordCount", types: [ "int", "null", ] # @return [String] - define_property :article_section, as: "articleSection", types: [ + define_property :article_body, as: "articleBody", types: [ "string", ] + # @return [URI,OpenActive::Models::Schema::SpeakableSpecification] + define_property :speakable, as: "speakable", types: [ + "URI", + "OpenActive::Models::Schema::SpeakableSpecification", + ] + # @return [String] - define_property :article_body, as: "articleBody", types: [ + define_property :pagination, as: "pagination", types: [ "string", ] end end end