gw.DownlinkTxAckItem */ class DownlinkTxAckItem extends \Google\Protobuf\Internal\Message { /** * The Ack status of this item. * * Generated from protobuf field .gw.TxAckStatus status = 1; */ protected $status = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $status * The Ack status of this item. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Gateway\Gw::initOnce(); parent::__construct($data); } /** * The Ack status of this item. * * Generated from protobuf field .gw.TxAckStatus status = 1; * @return int */ public function getStatus() { return $this->status; } /** * The Ack status of this item. * * Generated from protobuf field .gw.TxAckStatus status = 1; * @param int $var * @return $this */ public function setStatus($var) { GPBUtil::checkEnum($var, \Chirpstack\Gateway\TxAckStatus::class); $this->status = $var; return $this; } }