class ZombieBattleground::Api::Requests::GetDecksRequest

Request validator for GetDecks

Attributes

deck_id[RW]

@!attribute [r] deck_id Optionally set the Deck's deck_id for filtered querying

@return [Integer]

@example

request.deck_id #=> 1

@api public

hero_id[RW]

@!attribute [r] hero_id Optionally set the Deck's hero_id for filtered querying

@return [Integer]

@example

request.hero_id #=> 1

@api public

id[RW]

@!attribute [r] id Optionally set the Deck's id for filtered querying

@return [Integer]

@example

request.id #=> 1

@api public

limit[RW]

@!attribute [r] limit Optionally set the limit for max Matches returned

@return [Integer]

@example

request.limit #=> 100

@api public

name[RW]

@!attribute [r] name Optionally set the Deck's name for filtered querying

@return [String]

@example

request.name #=> "Buzzkill"

@api public

page[RW]

@!attribute [r] page Optionally set the page number for filtered querying

@return [Integer]

@example

request.page #=> 1

@api public

primary_skill_id[RW]

@!attribute [r] primary_skill_id Optionally set the Deck's primary_skill_id for filtered querying

@return [Integer]

@example

request.primary_skill_id #=> 1

@api public

secondary_skill_id[RW]

@!attribute [r] secondary_skill_id Optionally set the Deck's secondary_skill_id for filtered querying

@return [Integer]

@example

request.secondary_skill_id #=> 1

@api public

user_id[RW]

@!attribute [r] user_id Optionally set the Deck's user_id for filtered querying

@return [String]

@example

request.user_id #=> "ZombieSlayer_5699"

@api public

version[RW]

@!attribute [r] version Optionally set the Deck's version for filtered querying

@return [String]

@example

request.version #=> "v3"

@api public

Public Instance Methods

uri() click to toggle source

The URI for the endpoint

@return [String]

@example

request.uri # => "decks"

@api public

# File lib/zombie_battleground/api/requests/get_decks_request.rb, line 148
def uri
  'decks'
end