Api\StructType\ApiVideoRequest::setOffset PHP 메소드

setOffset() 공개 메소드

Set Offset value
public setOffset ( integer $offset = null ) : ApiVideoRequest
$offset integer
리턴 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;
    }