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

- old
+ new

@@ -6,16 +6,34 @@ # @return [String] def type "schema:VideoObject" end + # @return [String] + define_property :embedded_text_caption, as: "embeddedTextCaption", types: [ + "string", + ] + # @return [OpenActive::Models::Schema::Person,URI] - define_property :directors, as: "directors", types: [ + define_property :director, as: "director", types: [ "OpenActive::Models::Schema::Person", "URI", ] + # @return [OpenActive::Models::Schema::Person,URI] + define_property :actor, as: "actor", types: [ + "OpenActive::Models::Schema::Person", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::MediaObject,URI] + define_property :caption, as: "caption", types: [ + "string", + "OpenActive::Models::Schema::MediaObject", + "URI", + ] + # @return [OpenActive::Models::Schema::ImageObject,URI] define_property :thumbnail, as: "thumbnail", types: [ "OpenActive::Models::Schema::ImageObject", "URI", ] @@ -24,22 +42,21 @@ define_property :transcript, as: "transcript", types: [ "string", ] # @return [String] - define_property :video_frame_size, as: "videoFrameSize", types: [ + define_property :video_quality, as: "videoQuality", types: [ "string", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :actor, as: "actor", types: [ - "OpenActive::Models::Schema::Person", - "URI", + # @return [String] + define_property :video_frame_size, as: "videoFrameSize", types: [ + "string", ] # @return [OpenActive::Models::Schema::Person,URI] - define_property :director, as: "director", types: [ + define_property :actors, as: "actors", types: [ "OpenActive::Models::Schema::Person", "URI", ] # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup,URI] @@ -47,23 +64,11 @@ "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::MusicGroup", "URI", ] - # @return [String] - define_property :video_quality, as: "videoQuality", types: [ - "string", - ] - - # @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: [ + define_property :directors, as: "directors", types: [ "OpenActive::Models::Schema::Person", "URI", ] end end