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

- old
+ new

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