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

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.TransferSIPParticipantRequest</code>
 */
class TransferSIPParticipantRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string participant_identity = 1;</code>
     */
    protected $participant_identity = '';
    /**
     * Generated from protobuf field <code>string room_name = 2;</code>
     */
    protected $room_name = '';
    /**
     * Generated from protobuf field <code>string transfer_to = 3;</code>
     */
    protected $transfer_to = '';
    /**
     * Optionally play dialtone to the SIP participant as an audible indicator of being transferred
     *
     * Generated from protobuf field <code>bool play_dialtone = 4;</code>
     */
    protected $play_dialtone = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $participant_identity
     *     @type string $room_name
     *     @type string $transfer_to
     *     @type bool $play_dialtone
     *           Optionally play dialtone to the SIP participant as an audible indicator of being transferred
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitSip::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string room_name = 2;</code>
     * @return string
     */
    public function getRoomName()
    {
        return $this->room_name;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string transfer_to = 3;</code>
     * @return string
     */
    public function getTransferTo()
    {
        return $this->transfer_to;
    }

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

        return $this;
    }

    /**
     * Optionally play dialtone to the SIP participant as an audible indicator of being transferred
     *
     * Generated from protobuf field <code>bool play_dialtone = 4;</code>
     * @return bool
     */
    public function getPlayDialtone()
    {
        return $this->play_dialtone;
    }

    /**
     * Optionally play dialtone to the SIP participant as an audible indicator of being transferred
     *
     * Generated from protobuf field <code>bool play_dialtone = 4;</code>
     * @param bool $var
     * @return $this
     */
    public function setPlayDialtone($var)
    {
        GPBUtil::checkBool($var);
        $this->play_dialtone = $var;

        return $this;
    }

}

