lib/openactive/models/schema/book.rb in openactive-0.3.0 vs lib/openactive/models/schema/book.rb in openactive-0.4.0
- old
+ new
@@ -6,41 +6,41 @@
# @return [String]
def type
"schema:Book"
end
- # @return [String]
- define_property :isbn, as: "isbn", types: [
- "string",
- ]
-
- # @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 [String]
+ define_property :book_edition, as: "bookEdition", types: [
+ "string",
]
# @return [OpenActive::Enums::Schema::BookFormatType,nil]
define_property :book_format, as: "bookFormat", types: [
"OpenActive::Enums::Schema::BookFormatType",
"null",
]
+ # @return [Boolean,nil]
+ define_property :abridged, as: "abridged", types: [
+ "bool",
+ "null",
+ ]
+
# @return [String]
- define_property :book_edition, as: "bookEdition", types: [
+ define_property :isbn, as: "isbn", types: [
"string",
+ ]
+
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :illustrator, as: "illustrator", types: [
+ "OpenActive::Models::Schema::Person",
+ "URI",
]
end
end
end
end