lib/openactive/models/schema/game_server.rb in openactive-0.1.2 vs lib/openactive/models/schema/game_server.rb in openactive-0.2.0
- old
+ new
@@ -6,24 +6,25 @@
# @return [String]
def type
"schema:GameServer"
end
- # @return [OpenActive::Enums::Schema::GameServerStatus,nil]
+ # @return [OpenActive::Models::Schema::GameServerStatus,URI]
define_property :server_status, as: "serverStatus", types: [
- "OpenActive::Enums::Schema::GameServerStatus",
- "null",
+ "OpenActive::Models::Schema::GameServerStatus",
+ "URI",
]
+ # @return [OpenActive::Models::Schema::VideoGame,URI]
+ define_property :game, as: "game", types: [
+ "OpenActive::Models::Schema::VideoGame",
+ "URI",
+ ]
+
# @return [int,nil]
define_property :players_online, as: "playersOnline", types: [
"int",
"null",
- ]
-
- # @return [OpenActive::Models::Schema::VideoGame]
- define_property :game, as: "game", types: [
- "OpenActive::Models::Schema::VideoGame",
]
end
end
end
end