<?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 HelpExportPDFConfigInput
 * The Help PDF Export configuration options * @property null|bool $deepExport = null Flag to indicate that the export should contain not only the contents of the asked help item but also all linked items, meaning chapters/sections whose links exist on the base item
 * @property null|bool $numbered = null Flag to indicate that the export should show chapters and sections with numbers
 * @property null|PaperSizeTypeEnum $paperSizeType = null Document type: A4 or Letter
 * @property null|bool $toPrint = null Flag to indicate that the export be appropriate for print purposes meaning that it shall not contain links
 * @property null|bool $withTOC = null Flag to indicate that the export should contain a Table of Contents
 */
final class HelpExportPDFConfigInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'paperSizeType') {
            return new PaperSizeTypeEnum($value);
        }

        return $value;
    }
}