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

- old
+ new

@@ -6,40 +6,40 @@ # @return [String] def type "schema:Book" end - # @return [int,nil] - define_property :number_of_pages, as: "numberOfPages", types: [ - "int", - "null", - ] - # @return [String] - define_property :book_edition, as: "bookEdition", types: [ + define_property :isbn, as: "isbn", types: [ "string", ] - # @return [OpenActive::Enums::Schema::BookFormatType,nil] - define_property :book_format, as: "bookFormat", types: [ - "OpenActive::Enums::Schema::BookFormatType", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :illustrator, as: "illustrator", types: [ + "OpenActive::Models::Schema::Person", + "URI", + ] + + # @return [int,nil] + define_property :number_of_pages, as: "numberOfPages", types: [ + "int", "null", ] # @return [Boolean,nil] define_property :abridged, as: "abridged", types: [ "bool", "null", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :illustrator, as: "illustrator", types: [ - "OpenActive::Models::Schema::Person", - "URI", + # @return [OpenActive::Enums::Schema::BookFormatType,nil] + define_property :book_format, as: "bookFormat", types: [ + "OpenActive::Enums::Schema::BookFormatType", + "null", ] # @return [String] - define_property :isbn, as: "isbn", types: [ + define_property :book_edition, as: "bookEdition", types: [ "string", ] end end end