Sha256: c1348778e02eaa9af6c873e8c35def0140143f39bc5fe88a1da89da9f5349b6a

Contents?: true

Size: 799 Bytes

Versions: 4

Compression:

Stored size: 799 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::Enums::Schema::GameServerStatus,nil]
        define_property :server_status, as: "serverStatus", types: [
          "OpenActive::Enums::Schema::GameServerStatus",
          "null",
        ]

        # @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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/game_server.rb
openactive-0.1.1 lib/openactive/models/schema/game_server.rb
openactive-0.1.0 lib/openactive/models/schema/game_server.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/game_server.rb