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

- old
+ new

@@ -6,76 +6,76 @@ # @return [String] def type "schema:Episode" end - # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI] - define_property :part_of_season, as: "partOfSeason", types: [ - "OpenActive::Models::Schema::CreativeWorkSeason", - "URI", + # @return [int,String,nil] + define_property :episode_number, as: "episodeNumber", types: [ + "int", + "string", + "null", ] # @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 [OpenActive::Models::Schema::Person,URI] - define_property :director, as: "director", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::VideoObject,URI] + define_property :trailer, as: "trailer", types: [ + "OpenActive::Models::Schema::VideoObject", "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", + # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI] + define_property :part_of_series, as: "partOfSeries", types: [ + "OpenActive::Models::Schema::CreativeWorkSeries", "URI", ] - # @return [String,int,nil] - define_property :episode_number, as: "episodeNumber", types: [ - "string", - "int", + # @return [ActiveSupport::Duration,URI,nil] + define_property :duration, as: "duration", types: [ + "DateInterval", + "URI", "null", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :actors, as: "actors", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI] + define_property :part_of_season, as: "partOfSeason", types: [ + "OpenActive::Models::Schema::CreativeWorkSeason", "URI", ] # @return [OpenActive::Models::Schema::Organization,URI] define_property :production_company, as: "productionCompany", types: [ "OpenActive::Models::Schema::Organization", "URI", ] - # @return [OpenActive::Models::Schema::VideoObject,URI] - define_property :trailer, as: "trailer", types: [ - "OpenActive::Models::Schema::VideoObject", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :actors, as: "actors", types: [ + "OpenActive::Models::Schema::Person", "URI", ] - # @return [OpenActive::Models::Schema::CreativeWorkSeries,URI] - define_property :part_of_series, as: "partOfSeries", types: [ - "OpenActive::Models::Schema::CreativeWorkSeries", + # @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 [ActiveSupport::Duration,URI,nil] - define_property :duration, as: "duration", types: [ - "DateInterval", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :directors, as: "directors", types: [ + "OpenActive::Models::Schema::Person", "URI", - "null", ] end end end end