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

- old
+ new

@@ -6,30 +6,33 @@ # @return [String] def type "schema:ImageObject" end - # @return [String,OpenActive::Models::Schema::MediaObject] - define_property :caption, as: "caption", types: [ - "string", - "OpenActive::Models::Schema::MediaObject", - ] - - # @return [OpenActive::Models::Schema::ImageObject] - define_property :thumbnail, as: "thumbnail", types: [ - "OpenActive::Models::Schema::ImageObject", - ] - # @return [Boolean,nil] define_property :representative_of_page, as: "representativeOfPage", types: [ "bool", "null", ] - # @return [String,OpenActive::Models::Schema::PropertyValue] + # @return [OpenActive::Models::Schema::ImageObject,URI] + define_property :thumbnail, as: "thumbnail", types: [ + "OpenActive::Models::Schema::ImageObject", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::PropertyValue,URI] define_property :exif_data, as: "exifData", types: [ "string", "OpenActive::Models::Schema::PropertyValue", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::MediaObject,URI] + define_property :caption, as: "caption", types: [ + "string", + "OpenActive::Models::Schema::MediaObject", + "URI", ] end end end end