<?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 MobileBroadbandDeviceInput
 * A mobile broadband device (modem) * @property null|string $cellularClass = null The cellular class
 * @property null|string $description = null The description.
 * @property null|string $fwVersion = null The modem fw version
 * @property null|string $guid = null The unique id
 * @property null|string $homeProviderName = null The home provider name
 * @property null|string $imei = null The imei number
 * @property null|string $manufacturer = null The modem manufacturer
 * @property null|string $model = null The modem model
 * @property null|string $name = null The name.
 * @property null|string $providerName = null The provider name
 * @property null|int $signalStrength = null The signal strength in percent
 * @property null|SimCardInputInputType $simCard = null The SIM card
 */
final class MobileBroadbandDeviceInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'simCard') {
            return new SimCardInputInputType($value);
        }

        return $value;
    }
}