Api\StructType\ApiBannerInfo::setIsActive PHP Method

setIsActive() public method

Set IsActive value
public setIsActive ( string $isActive = null ) : ApiBannerInfo
$isActive string
return ApiBannerInfo
    public function setIsActive($isActive = null)
    {
        // validation for constraint: string
        if (!is_null($isActive) && !is_string($isActive)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($isActive)), __LINE__);
        }
        $this->IsActive = $isActive;
        return $this;
    }