<?php

declare (strict_types=1);
namespace idoit\Module\SyneticsJdisc\Graphql\Schema\Model;

use Axtiva\FlexibleGraphql\Type\InputType;

/**
 * This code is @generated by axtiva/flexible-graphql-php do not edit it
 * PHP representation of graphql type TabDescriptionInput
 * A tab description * @property null|BuiltInReportEnum $reportId = null The tab report id
 * @property null|string $tabTitleKey = null The tab title key
 */
final class TabDescriptionInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'reportId') {
            return new BuiltInReportEnum($value);
        }

        return $value;
    }
}