<?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.LtiClaims</code>
 */
class LtiClaims extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string user_id = 1;</code>
     */
    protected $user_id = '';
    /**
     * Generated from protobuf field <code>string name = 2;</code>
     */
    protected $name = '';
    /**
     * Generated from protobuf field <code>bool is_admin = 3;</code>
     */
    protected $is_admin = false;
    /**
     * Generated from protobuf field <code>string room_id = 4;</code>
     */
    protected $room_id = '';
    /**
     * Generated from protobuf field <code>string room_title = 5;</code>
     */
    protected $room_title = '';
    /**
     * Generated from protobuf field <code>.plugnmeet.LtiCustomParameters lti_custom_parameters = 6;</code>
     */
    protected $lti_custom_parameters = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $user_id
     *     @type string $name
     *     @type bool $is_admin
     *     @type string $room_id
     *     @type string $room_title
     *     @type \Mynaparrot\PlugnmeetProto\LtiCustomParameters $lti_custom_parameters
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetLtiV1::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string name = 2;</code>
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool is_admin = 3;</code>
     * @return bool
     */
    public function getIsAdmin()
    {
        return $this->is_admin;
    }

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

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>string room_id = 4;</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>string room_title = 5;</code>
     * @return string
     */
    public function getRoomTitle()
    {
        return $this->room_title;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.plugnmeet.LtiCustomParameters lti_custom_parameters = 6;</code>
     * @return \Mynaparrot\PlugnmeetProto\LtiCustomParameters|null
     */
    public function getLtiCustomParameters()
    {
        return $this->lti_custom_parameters;
    }

    public function hasLtiCustomParameters()
    {
        return isset($this->lti_custom_parameters);
    }

    public function clearLtiCustomParameters()
    {
        unset($this->lti_custom_parameters);
    }

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

        return $this;
    }

}

