<?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.LtiCustomDesign</code>
 */
class LtiCustomDesign extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional string primary_color = 1;</code>
     */
    protected $primary_color = null;
    /**
     * Generated from protobuf field <code>optional string secondary_color = 2;</code>
     */
    protected $secondary_color = null;
    /**
     * Generated from protobuf field <code>optional string background_color = 3;</code>
     */
    protected $background_color = null;
    /**
     * Generated from protobuf field <code>optional string custom_logo = 4;</code>
     */
    protected $custom_logo = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $primary_color
     *     @type string $secondary_color
     *     @type string $background_color
     *     @type string $custom_logo
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetLtiV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional string primary_color = 1;</code>
     * @return string
     */
    public function getPrimaryColor()
    {
        return isset($this->primary_color) ? $this->primary_color : '';
    }

    public function hasPrimaryColor()
    {
        return isset($this->primary_color);
    }

    public function clearPrimaryColor()
    {
        unset($this->primary_color);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string secondary_color = 2;</code>
     * @return string
     */
    public function getSecondaryColor()
    {
        return isset($this->secondary_color) ? $this->secondary_color : '';
    }

    public function hasSecondaryColor()
    {
        return isset($this->secondary_color);
    }

    public function clearSecondaryColor()
    {
        unset($this->secondary_color);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string background_color = 3;</code>
     * @return string
     */
    public function getBackgroundColor()
    {
        return isset($this->background_color) ? $this->background_color : '';
    }

    public function hasBackgroundColor()
    {
        return isset($this->background_color);
    }

    public function clearBackgroundColor()
    {
        unset($this->background_color);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string custom_logo = 4;</code>
     * @return string
     */
    public function getCustomLogo()
    {
        return isset($this->custom_logo) ? $this->custom_logo : '';
    }

    public function hasCustomLogo()
    {
        return isset($this->custom_logo);
    }

    public function clearCustomLogo()
    {
        unset($this->custom_logo);
    }

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

        return $this;
    }

}

