api.UpdateUserPasswordRequest */ class UpdateUserPasswordRequest extends \Google\Protobuf\Internal\Message { /** * User ID. * * Generated from protobuf field string user_id = 1; */ protected $user_id = ''; /** * Password to set. * * Generated from protobuf field string password = 2; */ protected $password = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $user_id * User ID. * @type string $password * Password to set. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\User::initOnce(); parent::__construct($data); } /** * User ID. * * Generated from protobuf field string user_id = 1; * @return string */ public function getUserId() { return $this->user_id; } /** * User ID. * * Generated from protobuf field string user_id = 1; * @param string $var * @return $this */ public function setUserId($var) { GPBUtil::checkString($var, True); $this->user_id = $var; return $this; } /** * Password to set. * * Generated from protobuf field string password = 2; * @return string */ public function getPassword() { return $this->password; } /** * Password to set. * * Generated from protobuf field string password = 2; * @param string $var * @return $this */ public function setPassword($var) { GPBUtil::checkString($var, True); $this->password = $var; return $this; } }