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

- old
+ new

@@ -1,102 +1,102 @@ module OpenActive module Models module Schema - class TVSeries < ::OpenActive::Models::Schema::CreativeWork + class TVSeries < ::OpenActive::Models::Schema::CreativeWorkSeries # @!attribute type # @return [String] def type "schema:TVSeries" end - # @return [OpenActive::Models::Schema::Person,URI] - define_property :directors, as: "directors", types: [ - "OpenActive::Models::Schema::Person", + # @return [URI,OpenActive::Models::Schema::CreativeWorkSeason] + define_property :season, as: "season", types: [ "URI", + "OpenActive::Models::Schema::CreativeWorkSeason", ] # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI] - define_property :seasons, as: "seasons", types: [ + define_property :contains_season, as: "containsSeason", types: [ "OpenActive::Models::Schema::CreativeWorkSeason", "URI", ] - # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI] - define_property :season, as: "season", types: [ - "OpenActive::Models::Schema::CreativeWorkSeason", + # @return [OpenActive::Models::Schema::Country,URI] + define_property :country_of_origin, as: "countryOfOrigin", types: [ + "OpenActive::Models::Schema::Country", "URI", ] # @return [OpenActive::Models::Schema::Person,URI] - define_property :actor, as: "actor", types: [ + define_property :director, as: "director", types: [ "OpenActive::Models::Schema::Person", "URI", ] - # @return [int,nil] - define_property :number_of_seasons, as: "numberOfSeasons", types: [ - "int", - "null", - ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :director, as: "director", types: [ + define_property :actor, as: "actor", 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", + # @return [OpenActive::Models::Schema::VideoObject,URI] + define_property :trailer, as: "trailer", types: [ + "OpenActive::Models::Schema::VideoObject", "URI", ] + # @return [OpenActive::Models::Schema::Episode,URI] + define_property :episodes, as: "episodes", types: [ + "OpenActive::Models::Schema::Episode", + "URI", + ] + # @return [int,nil] define_property :number_of_episodes, as: "numberOfEpisodes", types: [ "int", "null", ] - # @return [OpenActive::Models::Schema::Episode,URI] - define_property :episodes, as: "episodes", types: [ - "OpenActive::Models::Schema::Episode", + # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI] + define_property :seasons, as: "seasons", 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::Person,URI] define_property :actors, as: "actors", types: [ "OpenActive::Models::Schema::Person", "URI", ] - # @return [OpenActive::Models::Schema::CreativeWorkSeason,URI] - define_property :contains_season, as: "containsSeason", types: [ - "OpenActive::Models::Schema::CreativeWorkSeason", + # @return [int,nil] + define_property :number_of_seasons, as: "numberOfSeasons", types: [ + "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::Episode,URI] define_property :episode, as: "episode", types: [ "OpenActive::Models::Schema::Episode", "URI", ] - # @return [OpenActive::Models::Schema::Country,URI] - define_property :country_of_origin, as: "countryOfOrigin", types: [ - "OpenActive::Models::Schema::Country", - "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 :directors, as: "directors", types: [ + "OpenActive::Models::Schema::Person", "URI", ] end end end