<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/dial/v1/keyapis_dial_call_v1.proto

namespace Keyapis\Dial\V1;

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

/**
 * Запрос на передачу события об окончании группового звонка с домофона
 *
 * Generated from protobuf message <code>keyapis.dial.v1.PostCallCancelRequest</code>
 */
class PostCallCancelRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * СИП-аккаунт устройства
     *
     * Generated from protobuf field <code>string sip_account = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $sip_account = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $sip_account
     *           СИП-аккаунт устройства
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Dial\V1\KeyapisDialCallV1::initOnce();
        parent::__construct($data);
    }

    /**
     * СИП-аккаунт устройства
     *
     * Generated from protobuf field <code>string sip_account = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getSipAccount()
    {
        return $this->sip_account;
    }

    /**
     * СИП-аккаунт устройства
     *
     * Generated from protobuf field <code>string sip_account = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setSipAccount($var)
    {
        GPBUtil::checkString($var, True);
        $this->sip_account = $var;

        return $this;
    }

}

