<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: livekit_connector_whatsapp.proto

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.DialWhatsAppCallResponse</code>
 */
class DialWhatsAppCallResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Call ID sent by Meta
     *
     * Generated from protobuf field <code>string whatsapp_call_id = 1;</code>
     */
    protected $whatsapp_call_id = '';
    /**
     * The name of the LiveKit room that the call is connected to
     *
     * Generated from protobuf field <code>string room_name = 2;</code>
     */
    protected $room_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $whatsapp_call_id
     *           Call ID sent by Meta
     *     @type string $room_name
     *           The name of the LiveKit room that the call is connected to
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitConnectorWhatsapp::initOnce();
        parent::__construct($data);
    }

    /**
     * Call ID sent by Meta
     *
     * Generated from protobuf field <code>string whatsapp_call_id = 1;</code>
     * @return string
     */
    public function getWhatsappCallId()
    {
        return $this->whatsapp_call_id;
    }

    /**
     * Call ID sent by Meta
     *
     * Generated from protobuf field <code>string whatsapp_call_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setWhatsappCallId($var)
    {
        GPBUtil::checkString($var, True);
        $this->whatsapp_call_id = $var;

        return $this;
    }

    /**
     * The name of the LiveKit room that the call is connected to
     *
     * Generated from protobuf field <code>string room_name = 2;</code>
     * @return string
     */
    public function getRoomName()
    {
        return $this->room_name;
    }

    /**
     * The name of the LiveKit room that the call is connected to
     *
     * 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;
    }

}

