lib/openactive/models/schema/review.rb in openactive-0.3.0 vs lib/openactive/models/schema/review.rb in openactive-0.4.0

- old
+ new

@@ -6,42 +6,21 @@ # @return [String] def type "schema:Review" end - # @return [OpenActive::Models::Schema::Rating,URI] - define_property :review_rating, as: "reviewRating", types: [ - "OpenActive::Models::Schema::Rating", - "URI", - ] - # @return [OpenActive::Models::Schema::Thing,URI] define_property :item_reviewed, as: "itemReviewed", types: [ "OpenActive::Models::Schema::Thing", "URI", ] - # @return [OpenActive::Models::Schema::ListItem,String,OpenActive::Models::Schema::WebContent,OpenActive::Models::Schema::ItemList,URI] - define_property :negative_notes, as: "negativeNotes", types: [ - "OpenActive::Models::Schema::ListItem", - "string", - "OpenActive::Models::Schema::WebContent", - "OpenActive::Models::Schema::ItemList", - "URI", - ] - # @return [String] - define_property :review_aspect, as: "reviewAspect", types: [ + define_property :review_body, as: "reviewBody", types: [ "string", ] - # @return [OpenActive::Models::Schema::Review,URI] - define_property :associated_claim_review, as: "associatedClaimReview", types: [ - "OpenActive::Models::Schema::Review", - "URI", - ] - # @return [OpenActive::Models::Schema::WebContent,String,OpenActive::Models::Schema::ListItem,OpenActive::Models::Schema::ItemList,URI] define_property :positive_notes, as: "positiveNotes", types: [ "OpenActive::Models::Schema::WebContent", "string", "OpenActive::Models::Schema::ListItem", @@ -54,17 +33,38 @@ "OpenActive::Models::Schema::Review", "URI", ] # @return [OpenActive::Models::Schema::Review,URI] - define_property :associated_media_review, as: "associatedMediaReview", types: [ + define_property :associated_claim_review, as: "associatedClaimReview", types: [ "OpenActive::Models::Schema::Review", "URI", ] # @return [String] - define_property :review_body, as: "reviewBody", types: [ + define_property :review_aspect, as: "reviewAspect", types: [ "string", + ] + + # @return [OpenActive::Models::Schema::Review,URI] + define_property :associated_media_review, as: "associatedMediaReview", types: [ + "OpenActive::Models::Schema::Review", + "URI", + ] + + # @return [OpenActive::Models::Schema::Rating,URI] + define_property :review_rating, as: "reviewRating", types: [ + "OpenActive::Models::Schema::Rating", + "URI", + ] + + # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::WebContent,String,OpenActive::Models::Schema::ListItem,URI] + define_property :negative_notes, as: "negativeNotes", types: [ + "OpenActive::Models::Schema::ItemList", + "OpenActive::Models::Schema::WebContent", + "string", + "OpenActive::Models::Schema::ListItem", + "URI", ] end end end end