<?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 DeviceAgeRangeInput
 * Device age range object * @property null|HoursRangeInputInputType $ageRangeInHours = null Range of device age
 * @property null|string $label = null Text label for age range
 */
final class DeviceAgeRangeInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'ageRangeInHours') {
            return new HoursRangeInputInputType($value);
        }

        return $value;
    }
}