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

namespace Keyapis\Vc\V1;

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

/**
 * Запрос удаления камеры
 *
 * Generated from protobuf message <code>keyapis.vc.v1.DeleteCameraRequest</code>
 */
class DeleteCameraRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Идентификатор камеры в vcfront.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>string uid = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $uid = '';
    /**
     * Флаг полного (безвозвратного) удаления камеры
     *
     * Generated from protobuf field <code>bool is_delete_permanently = 2;</code>
     */
    protected $is_delete_permanently = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $uid
     *           Идентификатор камеры в vcfront.
     *           # Тип: Guid
     *     @type bool $is_delete_permanently
     *           Флаг полного (безвозвратного) удаления камеры
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Vc\V1\KeyapisVcCameraV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Идентификатор камеры в vcfront.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>string uid = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getUid()
    {
        return $this->uid;
    }

    /**
     * Идентификатор камеры в vcfront.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>string uid = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setUid($var)
    {
        GPBUtil::checkString($var, True);
        $this->uid = $var;

        return $this;
    }

    /**
     * Флаг полного (безвозвратного) удаления камеры
     *
     * Generated from protobuf field <code>bool is_delete_permanently = 2;</code>
     * @return bool
     */
    public function getIsDeletePermanently()
    {
        return $this->is_delete_permanently;
    }

    /**
     * Флаг полного (безвозвратного) удаления камеры
     *
     * Generated from protobuf field <code>bool is_delete_permanently = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsDeletePermanently($var)
    {
        GPBUtil::checkBool($var);
        $this->is_delete_permanently = $var;

        return $this;
    }

}

