<?php

declare (strict_types=1);
namespace idoit\Module\JDisc\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 DatabaseArchiveMeasurementAddonDialogPreferencesInput
 * Measurement addon preferences for database archiving. * @property bool $includeData Flag to include or exclude measurement data.
 * @property bool $includeFullHistory Flag to include or exclude full history of measurement records.
 * @property null|int $includeHistoryDuration = null Number of days to include history of measurement records for. 1 day means 24 hours back from the moment of archive creation.
 */
final class DatabaseArchiveMeasurementAddonDialogPreferencesInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        return $value;
    }
}