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

namespace Keyapis\Vc\V1\PostCompanyImpersonationResponse;

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

/**
 * Имперсонационная ссылка
 *
 * Generated from protobuf message <code>keyapis.vc.v1.PostCompanyImpersonationResponse.CompanyImpersonation</code>
 */
class CompanyImpersonation extends \Google\Protobuf\Internal\Message
{
    /**
     * Одноразовая ссылка для имперсонации
     *
     * Generated from protobuf field <code>string url = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $url = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $url
     *           Одноразовая ссылка для имперсонации
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Vc\V1\KeyapisVcCompanyV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Одноразовая ссылка для имперсонации
     *
     * Generated from protobuf field <code>string url = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * Одноразовая ссылка для имперсонации
     *
     * Generated from protobuf field <code>string url = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->url = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompanyImpersonation::class, \Keyapis\Vc\V1\PostCompanyImpersonationResponse_CompanyImpersonation::class);

