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

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.SipDTMF</code>
 */
class SipDTMF extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint32 code = 3;</code>
     */
    protected $code = 0;
    /**
     * Generated from protobuf field <code>string digit = 4;</code>
     */
    protected $digit = '';

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

    /**
     * Generated from protobuf field <code>uint32 code = 3;</code>
     * @return int
     */
    public function getCode()
    {
        return $this->code;
    }

    /**
     * Generated from protobuf field <code>uint32 code = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setCode($var)
    {
        GPBUtil::checkUint32($var);
        $this->code = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string digit = 4;</code>
     * @return string
     */
    public function getDigit()
    {
        return $this->digit;
    }

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

        return $this;
    }

}

