Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<?php
namespace JasonRoman\NbaApi\Request\Data\Prod\Game;
use JasonRoman\NbaApi\Constraints as ApiAssert;
use JasonRoman\NbaApi\Params\GameIdParam;
use JasonRoman\NbaApi\Request\Data\Prod\AbstractDataProdRequest;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Get the mini-box score of a game. This does not include player statistics. Valid from 2014-2015 preseason and later.
*/
class MiniBoxscoreRequest extends AbstractDataProdRequest
{
const ENDPOINT = '/prod/v1/{gameDate}/{gameId}_mini_boxscore.json';
/**
* @Assert\NotBlank()
* @Assert\Type("\DateTime")
*
* @var \DateTime
*/
public $gameDate;
/**
* @Assert\NotBlank()
* @Assert\Type("string")
* @ApiAssert\ApiRegex(GameIdParam::FORMAT)
*
* @var string
*/
public $gameId;
}