<?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 VideoControllerSlotInput
 * The video controller slot represents a slot for a video controller on the mainboard. * @property null|string $slotId = null The video controller slot id.
 * @property null|string $socketDesignation = null The video controller socket designation
 * @property null|VideoControllerInputInputType $videoController = null The video controller assigned to this slot
 */
final class VideoControllerSlotInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'videoController') {
            return new VideoControllerInputInputType($value);
        }

        return $value;
    }
}