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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.LtiCustomParameters</code>
 */
class LtiCustomParameters extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional uint64 room_duration = 1;</code>
     */
    protected $room_duration = null;
    /**
     * Generated from protobuf field <code>optional bool allow_polls = 2;</code>
     */
    protected $allow_polls = null;
    /**
     * Generated from protobuf field <code>optional bool allow_shared_note_pad = 3;</code>
     */
    protected $allow_shared_note_pad = null;
    /**
     * Generated from protobuf field <code>optional bool allow_breakout_room = 4;</code>
     */
    protected $allow_breakout_room = null;
    /**
     * Generated from protobuf field <code>optional bool allow_recording = 5;</code>
     */
    protected $allow_recording = null;
    /**
     * Generated from protobuf field <code>optional bool allow_rtmp = 6;</code>
     */
    protected $allow_rtmp = null;
    /**
     * Generated from protobuf field <code>optional bool allow_view_other_webcams = 7;</code>
     */
    protected $allow_view_other_webcams = null;
    /**
     * Generated from protobuf field <code>optional bool allow_view_other_users_list = 8;</code>
     */
    protected $allow_view_other_users_list = null;
    /**
     * Generated from protobuf field <code>optional bool mute_on_start = 9;</code>
     */
    protected $mute_on_start = null;
    /**
     * Generated from protobuf field <code>.plugnmeet.LtiCustomDesign lti_custom_design = 10;</code>
     */
    protected $lti_custom_design = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $room_duration
     *     @type bool $allow_polls
     *     @type bool $allow_shared_note_pad
     *     @type bool $allow_breakout_room
     *     @type bool $allow_recording
     *     @type bool $allow_rtmp
     *     @type bool $allow_view_other_webcams
     *     @type bool $allow_view_other_users_list
     *     @type bool $mute_on_start
     *     @type \Mynaparrot\PlugnmeetProto\LtiCustomDesign $lti_custom_design
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetLtiV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional uint64 room_duration = 1;</code>
     * @return int|string
     */
    public function getRoomDuration()
    {
        return isset($this->room_duration) ? $this->room_duration : 0;
    }

    public function hasRoomDuration()
    {
        return isset($this->room_duration);
    }

    public function clearRoomDuration()
    {
        unset($this->room_duration);
    }

    /**
     * Generated from protobuf field <code>optional uint64 room_duration = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setRoomDuration($var)
    {
        GPBUtil::checkUint64($var);
        $this->room_duration = $var;

        return $this;
    }

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

    public function hasAllowPolls()
    {
        return isset($this->allow_polls);
    }

    public function clearAllowPolls()
    {
        unset($this->allow_polls);
    }

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

        return $this;
    }

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

    public function hasAllowSharedNotePad()
    {
        return isset($this->allow_shared_note_pad);
    }

    public function clearAllowSharedNotePad()
    {
        unset($this->allow_shared_note_pad);
    }

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

        return $this;
    }

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

    public function hasAllowBreakoutRoom()
    {
        return isset($this->allow_breakout_room);
    }

    public function clearAllowBreakoutRoom()
    {
        unset($this->allow_breakout_room);
    }

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

        return $this;
    }

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

    public function hasAllowRecording()
    {
        return isset($this->allow_recording);
    }

    public function clearAllowRecording()
    {
        unset($this->allow_recording);
    }

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

        return $this;
    }

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

    public function hasAllowRtmp()
    {
        return isset($this->allow_rtmp);
    }

    public function clearAllowRtmp()
    {
        unset($this->allow_rtmp);
    }

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

        return $this;
    }

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

    public function hasAllowViewOtherWebcams()
    {
        return isset($this->allow_view_other_webcams);
    }

    public function clearAllowViewOtherWebcams()
    {
        unset($this->allow_view_other_webcams);
    }

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

        return $this;
    }

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

    public function hasAllowViewOtherUsersList()
    {
        return isset($this->allow_view_other_users_list);
    }

    public function clearAllowViewOtherUsersList()
    {
        unset($this->allow_view_other_users_list);
    }

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

        return $this;
    }

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

    public function hasMuteOnStart()
    {
        return isset($this->mute_on_start);
    }

    public function clearMuteOnStart()
    {
        unset($this->mute_on_start);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.plugnmeet.LtiCustomDesign lti_custom_design = 10;</code>
     * @return \Mynaparrot\PlugnmeetProto\LtiCustomDesign|null
     */
    public function getLtiCustomDesign()
    {
        return $this->lti_custom_design;
    }

    public function hasLtiCustomDesign()
    {
        return isset($this->lti_custom_design);
    }

    public function clearLtiCustomDesign()
    {
        unset($this->lti_custom_design);
    }

    /**
     * Generated from protobuf field <code>.plugnmeet.LtiCustomDesign lti_custom_design = 10;</code>
     * @param \Mynaparrot\PlugnmeetProto\LtiCustomDesign $var
     * @return $this
     */
    public function setLtiCustomDesign($var)
    {
        GPBUtil::checkMessage($var, \Mynaparrot\PlugnmeetProto\LtiCustomDesign::class);
        $this->lti_custom_design = $var;

        return $this;
    }

}

