gw.FskModulationInfo */ class FskModulationInfo extends \Google\Protobuf\Internal\Message { /** * Frequency deviation. * * Generated from protobuf field uint32 frequency_deviation = 1; */ protected $frequency_deviation = 0; /** * FSK datarate (bits / sec). * * Generated from protobuf field uint32 datarate = 2; */ protected $datarate = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $frequency_deviation * Frequency deviation. * @type int $datarate * FSK datarate (bits / sec). * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Gateway\Gw::initOnce(); parent::__construct($data); } /** * Frequency deviation. * * Generated from protobuf field uint32 frequency_deviation = 1; * @return int */ public function getFrequencyDeviation() { return $this->frequency_deviation; } /** * Frequency deviation. * * Generated from protobuf field uint32 frequency_deviation = 1; * @param int $var * @return $this */ public function setFrequencyDeviation($var) { GPBUtil::checkUint32($var); $this->frequency_deviation = $var; return $this; } /** * FSK datarate (bits / sec). * * Generated from protobuf field uint32 datarate = 2; * @return int */ public function getDatarate() { return $this->datarate; } /** * FSK datarate (bits / sec). * * Generated from protobuf field uint32 datarate = 2; * @param int $var * @return $this */ public function setDatarate($var) { GPBUtil::checkUint32($var); $this->datarate = $var; return $this; } }