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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.ChangeVisibilityRes</code>
 */
class ChangeVisibilityRes extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string room_id = 1;</code>
     */
    protected $room_id = '';
    /**
     * Generated from protobuf field <code>optional bool visible_notepad = 2;</code>
     */
    protected $visible_notepad = null;
    /**
     * Generated from protobuf field <code>optional bool visible_white_board = 3;</code>
     */
    protected $visible_white_board = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $room_id
     *     @type bool $visible_notepad
     *     @type bool $visible_white_board
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetCommonApi::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string room_id = 1;</code>
     * @return string
     */
    public function getRoomId()
    {
        return $this->room_id;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool visible_notepad = 2;</code>
     * @return bool
     */
    public function getVisibleNotepad()
    {
        return isset($this->visible_notepad) ? $this->visible_notepad : false;
    }

    public function hasVisibleNotepad()
    {
        return isset($this->visible_notepad);
    }

    public function clearVisibleNotepad()
    {
        unset($this->visible_notepad);
    }

    /**
     * Generated from protobuf field <code>optional bool visible_notepad = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setVisibleNotepad($var)
    {
        GPBUtil::checkBool($var);
        $this->visible_notepad = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool visible_white_board = 3;</code>
     * @return bool
     */
    public function getVisibleWhiteBoard()
    {
        return isset($this->visible_white_board) ? $this->visible_white_board : false;
    }

    public function hasVisibleWhiteBoard()
    {
        return isset($this->visible_white_board);
    }

    public function clearVisibleWhiteBoard()
    {
        unset($this->visible_white_board);
    }

    /**
     * Generated from protobuf field <code>optional bool visible_white_board = 3;</code>
     * @param bool $var
     * @return $this
     */
    public function setVisibleWhiteBoard($var)
    {
        GPBUtil::checkBool($var);
        $this->visible_white_board = $var;

        return $this;
    }

}

