Sha256: b2013e53efcf8616ca3cf5d912ebb3bf0474ec50eed53062983f3ad668a10dfd

Contents?: true

Size: 821 Bytes

Versions: 4

Compression:

Stored size: 821 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class GameServer < ::OpenActive::Models::Schema::Intangible
        # @!attribute type
        # @return [String]
        def type
          "schema:GameServer"
        end

        # @return [OpenActive::Models::Schema::GameServerStatus,URI]
        define_property :server_status, as: "serverStatus", types: [
          "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",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/game_server.rb
openactive-0.2.2 lib/openactive/models/schema/game_server.rb
openactive-0.2.1 lib/openactive/models/schema/game_server.rb
openactive-0.2.0 lib/openactive/models/schema/game_server.rb