uraus.kku.Request.RequestPublicSendSms
*/
class RequestPublicSendSms extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int64 type = 1;
*/
protected $type = 0;
/**
* Generated from protobuf field string mobile = 2;
*/
protected $mobile = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $type
* @type string $mobile
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Proto\Game::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int64 type = 1;
* @return int|string
*/
public function getType()
{
return $this->type;
}
/**
* Generated from protobuf field int64 type = 1;
* @param int|string $var
* @return $this
*/
public function setType($var)
{
GPBUtil::checkInt64($var);
$this->type = $var;
return $this;
}
/**
* Generated from protobuf field string mobile = 2;
* @return string
*/
public function getMobile()
{
return $this->mobile;
}
/**
* Generated from protobuf field string mobile = 2;
* @param string $var
* @return $this
*/
public function setMobile($var)
{
GPBUtil::checkString($var, True);
$this->mobile = $var;
return $this;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RequestPublicSendSms::class, \Uraus\Kku\Request_RequestPublicSendSms::class);