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

- old
+ new

@@ -6,59 +6,66 @@ # @return [String] def type "schema:VideoObject" end - # @return [OpenActive::Models::Schema::Person] - define_property :actors, as: "actors", types: [ + # @return [OpenActive::Models::Schema::Person,URI] + define_property :directors, as: "directors", types: [ "OpenActive::Models::Schema::Person", + "URI", ] - # @return [String,OpenActive::Models::Schema::MediaObject] - define_property :caption, as: "caption", types: [ - "string", - "OpenActive::Models::Schema::MediaObject", - ] - - # @return [OpenActive::Models::Schema::ImageObject] + # @return [OpenActive::Models::Schema::ImageObject,URI] define_property :thumbnail, as: "thumbnail", types: [ "OpenActive::Models::Schema::ImageObject", + "URI", ] # @return [String] define_property :transcript, as: "transcript", types: [ "string", ] - # @return [OpenActive::Models::Schema::Person] - define_property :director, as: "director", types: [ - "OpenActive::Models::Schema::Person", - ] - # @return [String] - define_property :video_quality, as: "videoQuality", types: [ + define_property :video_frame_size, as: "videoFrameSize", types: [ "string", ] - # @return [OpenActive::Models::Schema::Person] - define_property :directors, as: "directors", types: [ + # @return [OpenActive::Models::Schema::Person,URI] + define_property :actor, as: "actor", types: [ "OpenActive::Models::Schema::Person", + "URI", ] - # @return [OpenActive::Models::Schema::MusicGroup,OpenActive::Models::Schema::Person] + # @return [OpenActive::Models::Schema::Person,URI] + define_property :director, as: "director", types: [ + "OpenActive::Models::Schema::Person", + "URI", + ] + + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup,URI] define_property :music_by, as: "musicBy", types: [ - "OpenActive::Models::Schema::MusicGroup", "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::MusicGroup", + "URI", ] # @return [String] - define_property :video_frame_size, as: "videoFrameSize", types: [ + define_property :video_quality, as: "videoQuality", types: [ "string", ] - # @return [OpenActive::Models::Schema::Person] - define_property :actor, as: "actor", types: [ + # @return [String,OpenActive::Models::Schema::MediaObject,URI] + define_property :caption, as: "caption", types: [ + "string", + "OpenActive::Models::Schema::MediaObject", + "URI", + ] + + # @return [OpenActive::Models::Schema::Person,URI] + define_property :actors, as: "actors", types: [ "OpenActive::Models::Schema::Person", + "URI", ] end end end end