Api\StructType\ApiVideoRequest::setOffset PHP Method

setOffset() public method

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