Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (27 sloc) 790 Bytes
<?php
namespace JasonRoman\NbaApi\Request\Stats\Stats\Charts;
use JasonRoman\NbaApi\Constraints as ApiAssert;
use JasonRoman\NbaApi\Params\GameIdParam;
use JasonRoman\NbaApi\Params\Stats\RunTypeParam;
use JasonRoman\NbaApi\Request\Stats\Stats\AbstractStatsStatsRequest;
use Symfony\Component\Validator\Constraints as Assert;
class WinProbabilityPlayByPlayRequest extends AbstractStatsStatsRequest
{
const ENDPOINT = '/stats/winprobabilitypbp';
/**
* @Assert\NotBlank()
* @Assert\Type("string")
* @ApiAssert\ApiRegex(GameIdParam::FORMAT)
*
* @var string
*/
public $gameId;
/**
* @Assert\NotBlank()
* @Assert\Type("string")
* @ApiAssert\ApiChoice(RunTypeParam::OPTIONS)
*
* @var string
*/
public $runType;
}
You can’t perform that action at this time.