<?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 DomainStatusInput
 * DomainStatus * @property null|int $currentPos = null currentPos
 * @property mixed $cycleId = null cycleId
 * @property null|string $domainName = null domainName
 * @property null|int $members = null members
 * @property null|DiscoveryQueueSourceEnum $source = null source
 */
final class DomainStatusInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'source') {
            return new DiscoveryQueueSourceEnum($value);
        }

        return $value;
    }
}