Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 709 Bytes
<?php
namespace JasonRoman\NbaApi\Request\Nba\Wsc\Video;
use JasonRoman\NbaApi\Request\Nba\Wsc\AbstractNbaWscRequest;
use JasonRoman\NbaApi\Response\ResponseType;
use Symfony\Component\Validator\Constraints as Assert;
class VideoRequest extends AbstractNbaWscRequest
{
const ENDPOINT = '/video/wsc/league/{videoId}.xml';
const DEFAULT_RESPONSE_TYPE = ResponseType::XML;
/**
* @Assert\NotBlank()
* @Assert\Type("string")
* @Assert\Uuid(strict = false)
*/
public $videoId;
/**
* {@inheritdoc}
*/
public static function getExampleValues(): array
{
return [
'videoId' => '087a6075-00fc-187d-3f9b-10023abe58a3',
];
}
}
You can’t perform that action at this time.