rv.data.API_v1_Preroll_Response.ActivatePrerollItem
*/
class ActivatePrerollItem extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field bool success = 1;
*/
protected $success = false;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $success
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Preroll::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field bool success = 1;
* @return bool
*/
public function getSuccess()
{
return $this->success;
}
/**
* Generated from protobuf field bool success = 1;
* @param bool $var
* @return $this
*/
public function setSuccess($var)
{
GPBUtil::checkBool($var);
$this->success = $var;
return $this;
}
}