<?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 ReportExcelExportConfiguration
 * Input parameters to generate report export file * @property null|ExcelExportConfigInputInputType $exportConfig = null The export configuration for type excel
 * @property null|ReportConfigInputType $reportConfig = null The report configuration
 */
final class ReportExcelExportConfigurationInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'exportConfig') {
            return new ExcelExportConfigInputInputType($value);
        }

        if ($name === 'reportConfig') {
            return new ReportConfigInputType($value);
        }

        return $value;
    }
}