openstatus.status_report.v1.DeleteStatusReportResponse */ class DeleteStatusReportResponse extends \Google\Protobuf\Internal\Message { /** * Whether the deletion was successful. * * Generated from protobuf field bool success = 1 [json_name = "success"]; */ protected $success = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $success * Whether the deletion was successful. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\StatusReport\V1\Service::initOnce(); parent::__construct($data); } /** * Whether the deletion was successful. * * Generated from protobuf field bool success = 1 [json_name = "success"]; * @return bool */ public function getSuccess() { return $this->success; } /** * Whether the deletion was successful. * * Generated from protobuf field bool success = 1 [json_name = "success"]; * @param bool $var * @return $this */ public function setSuccess(bool $var) { $this->success = $var; return $this; } }