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

- old
+ new

@@ -6,66 +6,75 @@ # @return [String] def type "schema:VideoGame" end - # @return [OpenActive::Models::Schema::CreativeWork] - define_property :game_tip, as: "gameTip", types: [ - "OpenActive::Models::Schema::CreativeWork", - ] - - # @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 [URI,OpenActive::Models::Schema::Thing,String] - define_property :game_platform, as: "gamePlatform", types: [ + # @return [OpenActive::Models::Schema::GameServer,URI] + define_property :game_server, as: "gameServer", types: [ + "OpenActive::Models::Schema::GameServer", "URI", - "OpenActive::Models::Schema::Thing", - "string", ] - # @return [OpenActive::Models::Schema::Person] - define_property :director, as: "director", types: [ - "OpenActive::Models::Schema::Person", - ] - # @return [OpenActive::Enums::Schema::GamePlayMode,nil] define_property :play_mode, as: "playMode", types: [ "OpenActive::Enums::Schema::GamePlayMode", "null", ] - # @return [OpenActive::Models::Schema::Person] - define_property :directors, as: "directors", types: [ + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :game_tip, as: "gameTip", types: [ + "OpenActive::Models::Schema::CreativeWork", + "URI", + ] + + # @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 [OpenActive::Models::Schema::GameServer] - define_property :game_server, as: "gameServer", types: [ - "OpenActive::Models::Schema::GameServer", + # @return [OpenActive::Models::Schema::Thing,URI,String] + define_property :game_platform, as: "gamePlatform", types: [ + "OpenActive::Models::Schema::Thing", + "URI", + "string", ] - # @return [OpenActive::Models::Schema::CreativeWork] - define_property :cheat_code, as: "cheatCode", types: [ - "OpenActive::Models::Schema::CreativeWork", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :actors, as: "actors", types: [ + "OpenActive::Models::Schema::Person", + "URI", ] - # @return [OpenActive::Models::Schema::VideoObject] + # @return [OpenActive::Models::Schema::VideoObject,URI] define_property :trailer, as: "trailer", types: [ "OpenActive::Models::Schema::VideoObject", + "URI", ] - # @return [OpenActive::Models::Schema::Person] - define_property :actor, as: "actor", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :cheat_code, as: "cheatCode", types: [ + "OpenActive::Models::Schema::CreativeWork", + "URI", ] end end end end