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

- old
+ new

@@ -1,83 +1,83 @@ module OpenActive module Models module Schema - class VideoGame < ::OpenActive::Models::Schema::SoftwareApplication + class VideoGame < ::OpenActive::Models::Schema::Game # @!attribute type # @return [String] def type "schema:VideoGame" end # @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,URI] - define_property :actor, as: "actor", types: [ - "OpenActive::Models::Schema::Person", - "URI", - ] - - # @return [OpenActive::Models::Schema::VideoObject,URI] - define_property :trailer, as: "trailer", types: [ - "OpenActive::Models::Schema::VideoObject", - "URI", - ] - # @return [String] define_property :game_edition, as: "gameEdition", types: [ "string", ] - # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :cheat_code, as: "cheatCode", types: [ - "OpenActive::Models::Schema::CreativeWork", + # @return [URI,OpenActive::Models::Schema::Thing,String] + define_property :game_platform, as: "gamePlatform", types: [ "URI", + "OpenActive::Models::Schema::Thing", + "string", ] # @return [OpenActive::Models::Schema::GameServer,URI] define_property :game_server, as: "gameServer", types: [ "OpenActive::Models::Schema::GameServer", "URI", ] # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :game_tip, as: "gameTip", types: [ + define_property :cheat_code, as: "cheatCode", types: [ "OpenActive::Models::Schema::CreativeWork", "URI", ] + # @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", + "URI", + ] + # @return [OpenActive::Models::Schema::Person,URI] - define_property :actors, as: "actors", types: [ + define_property :directors, as: "directors", types: [ "OpenActive::Models::Schema::Person", "URI", ] + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :game_tip, as: "gameTip", types: [ + "OpenActive::Models::Schema::CreativeWork", + "URI", + ] + # @return [OpenActive::Enums::Schema::GamePlayMode,nil] define_property :play_mode, as: "playMode", types: [ "OpenActive::Enums::Schema::GamePlayMode", "null", ] - # @return [String,URI,OpenActive::Models::Schema::Thing] - define_property :game_platform, as: "gamePlatform", types: [ - "string", - "URI", - "OpenActive::Models::Schema::Thing", - ] - - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::MusicGroup,URI] - define_property :music_by, as: "musicBy", types: [ + # @return [OpenActive::Models::Schema::Person,URI] + define_property :director, as: "director", 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