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

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.MoveParticipantRequest</code>
 */
class MoveParticipantRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * room to move participant from
     *
     * Generated from protobuf field <code>string room = 1;</code>
     */
    protected $room = '';
    /**
     * identity of the participant to move to
     *
     * Generated from protobuf field <code>string identity = 2;</code>
     */
    protected $identity = '';
    /**
     * room to move participant to
     *
     * Generated from protobuf field <code>string destination_room = 3;</code>
     */
    protected $destination_room = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $room
     *           room to move participant from
     *     @type string $identity
     *           identity of the participant to move to
     *     @type string $destination_room
     *           room to move participant to
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitRoom::initOnce();
        parent::__construct($data);
    }

    /**
     * room to move participant from
     *
     * Generated from protobuf field <code>string room = 1;</code>
     * @return string
     */
    public function getRoom()
    {
        return $this->room;
    }

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

        return $this;
    }

    /**
     * identity of the participant to move to
     *
     * Generated from protobuf field <code>string identity = 2;</code>
     * @return string
     */
    public function getIdentity()
    {
        return $this->identity;
    }

    /**
     * identity of the participant to move to
     *
     * Generated from protobuf field <code>string identity = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setIdentity($var)
    {
        GPBUtil::checkString($var, True);
        $this->identity = $var;

        return $this;
    }

    /**
     * room to move participant to
     *
     * Generated from protobuf field <code>string destination_room = 3;</code>
     * @return string
     */
    public function getDestinationRoom()
    {
        return $this->destination_room;
    }

    /**
     * room to move participant to
     *
     * Generated from protobuf field <code>string destination_room = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setDestinationRoom($var)
    {
        GPBUtil::checkString($var, True);
        $this->destination_room = $var;

        return $this;
    }

}

