<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: site/api_friend_delete.proto

namespace Zaly\Proto\Site;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 **
 * action: api.friend.delete
 *
 * Generated from protobuf message <code>site.ApiFriendDeleteRequest</code>
 */
class ApiFriendDeleteRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string toUserId = 1;</code>
     */
    private $toUserId = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $toUserId
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Site\ApiFriendDelete::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string toUserId = 1;</code>
     * @return string
     */
    public function getToUserId()
    {
        return $this->toUserId;
    }

    /**
     * Generated from protobuf field <code>string toUserId = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setToUserId($var)
    {
        GPBUtil::checkString($var, True);
        $this->toUserId = $var;

        return $this;
    }

}

