<?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 DatabaseTableInput
 * A database table * @property mixed $creationTime = null The time when the service was detected for the first time.
 * @property null|DatabaseSchemaInputInputType $databaseSchema = null The owning database
 * @property mixed $maxSize = null The database table max size in bytes
 * @property null|string $name = null The database table name
 * @property mixed $rowCount = null The database table row count
 * @property mixed $size = null The database table size in bytes
 */
final class DatabaseTableInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'databaseSchema') {
            return new DatabaseSchemaInputInputType($value);
        }

        return $value;
    }
}