<?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 DiscoveryPaasStatusInput
 * Platform as a Service (PaaS) Discovery status * @property null|iterable|PaasItemStatusInputInputType[] $items = null items
 * @property null|string $majorMessage = null majorMessage
 */
final class DiscoveryPaasStatusInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'items') {
            return (function($value) {foreach($value as $v) yield ($v === null ? null : new PaasItemStatusInputInputType($v)); })($value);
        }

        return $value;
    }
}