<?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 PhysicalDiskSlotInput
 * The physical disk slot represents the slot to which a disk is connected. * @property null|PhysicalDiskInputInputType $disk = null The physical disk assigned to this slot
 * @property null|string $slotId = null The physical disk slotid.
 * @property null|string $socketDesignation = null The physical disk socket designation
 */
final class PhysicalDiskSlotInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'disk') {
            return new PhysicalDiskInputInputType($value);
        }

        return $value;
    }
}