Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<?php
namespace JasonRoman\NbaApi\Request\Stats\Stats\Team;
use JasonRoman\NbaApi\Constraints as ApiAssert;
use JasonRoman\NbaApi\Params\LeagueIdParam;
use JasonRoman\NbaApi\Params\SeasonIdParam;
use JasonRoman\NbaApi\Params\TeamIdParam;
use JasonRoman\NbaApi\Request\Stats\Stats\AbstractStatsStatsRequest;
use Symfony\Component\Validator\Constraints as Assert;
class TeamHistoricalLeadersRequest extends AbstractStatsStatsRequest
{
const ENDPOINT = '/stats/teamhistoricalleaders';
/**
* @Assert\NotBlank()
* @Assert\Type("string")
* @ApiAssert\ApiRegex(LeagueIdParam::FORMAT)
*
* @var string
*/
public $leagueId;
/**
* @Assert\NotBlank()
* @Assert\Type("int")
* @ApiAssert\ApiRegex(SeasonIdParam::FORMAT)
*
* @var int
*/
public $seasonId;
/**
* @Assert\NotBlank()
* @Assert\Type("int")
* @Assert\Range(min = TeamIdParam::MIN_ALL, max = TeamIdParam::MAX)
*
* @var int
*/
public $teamId;
}