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

- old
+ new

@@ -6,77 +6,77 @@ # @return [String] def type "schema:Clip" end - # @return [BigDecimal,OpenActive::Models::Schema::HyperTocEntry,URI,nil] - define_property :start_offset, as: "startOffset", types: [ - "Number", - "OpenActive::Models::Schema::HyperTocEntry", + # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI] + define_property :part_of_series, as: "partOfSeries", types: [ + "OpenActive::Models::Schema::CreativeWorkSeries", "URI", - "null", ] - # @return [BigDecimal,OpenActive::Models::Schema::HyperTocEntry,URI,nil] - define_property :end_offset, as: "endOffset", types: [ - "Number", - "OpenActive::Models::Schema::HyperTocEntry", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :actors, as: "actors", types: [ + "OpenActive::Models::Schema::Person", "URI", + ] + + # @return [String,int,nil] + define_property :clip_number, as: "clipNumber", types: [ + "string", + "int", "null", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :director, as: "director", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::HyperTocEntry,BigDecimal,URI,nil] + define_property :start_offset, as: "startOffset", types: [ + "OpenActive::Models::Schema::HyperTocEntry", + "Number", "URI", + "null", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :actor, as: "actor", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::HyperTocEntry,BigDecimal,URI,nil] + define_property :end_offset, as: "endOffset", types: [ + "OpenActive::Models::Schema::HyperTocEntry", + "Number", "URI", + "null", ] # @return [OpenActive::Models::Schema::Episode,URI] define_property :part_of_episode, as: "partOfEpisode", types: [ "OpenActive::Models::Schema::Episode", "URI", ] - # @return [String,int,nil] - define_property :clip_number, as: "clipNumber", types: [ - "string", - "int", - "null", + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup,URI] + define_property :music_by, as: "musicBy", types: [ + "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::MusicGroup", + "URI", ] - # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI] - define_property :part_of_series, as: "partOfSeries", types: [ - "OpenActive::Models::Schema::CreativeWorkSeries", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :directors, as: "directors", types: [ + "OpenActive::Models::Schema::Person", "URI", ] # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI] define_property :part_of_season, as: "partOfSeason", types: [ "OpenActive::Models::Schema::CreativeWorkSeason", "URI", ] # @return [OpenActive::Models::Schema::Person,URI] - define_property :actors, as: "actors", types: [ + 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::Person", - "OpenActive::Models::Schema::MusicGroup", - "URI", - ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :directors, as: "directors", types: [ + define_property :actor, as: "actor", types: [ "OpenActive::Models::Schema::Person", "URI", ] end end