Api\StructType\ApiVideoRequest::setCount PHP Method

setCount() public method

Set Count value
public setCount ( integer $count = null ) : ApiVideoRequest
$count integer
return ApiVideoRequest
    public function setCount($count = null)
    {
        // validation for constraint: int
        if (!is_null($count) && !is_numeric($count)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($count)), __LINE__);
        }
        $this->Count = $count;
        return $this;
    }