class ZombieBattleground::Api::Requests::GetMatchesRequest
Request validator for GetMatches
Attributes
@!attribute [r] id Optionally set the Match's id for filtered querying
@return [Integer]
@example
request.id #=> 1
@api public
@!attribute [r] limit Optionally set the limit for max Matches returned
@return [Integer]
@example
request.limit #=> 100
@api public
@!attribute [r] page Optionally set the page number for filtered querying
@return [Integer]
@example
request.page #=> 1
@api public
@!attribute [r] player1_id
Optionally set the Match's player1_id
for filtered querying
@return [String]
@example
request.player1_id #=> "ZombieSlayer_16601021609396167139295300949176"
@api public
@!attribute [r] player2_id
Optionally set the Match's player2_id
for filtered querying
@return [String]
@example
request.player2_id #=> "ZombieSlayer_16601021609396167139295300949176"
@api public
@!attribute [r] status Optionally set the Match's status for filtered querying
@return [String]
@example
request.status #=> "Ended"
@api public
@!attribute [r] version Optionally set the Match's version for filtered querying
@return [String]
@example
request.version #=> "v3"
@api public
Public Instance Methods
The URI for the endpoint
@return [String]
@example
request.uri # => "matches"
@api public
# File lib/zombie_battleground/api/requests/get_matches_request.rb, line 132 def uri 'matches' end