<?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 ScheduledTaskComHandlerActionInput
 * The action associated with the scheduled task * @property null|string $comHandler = null The COM handler
 * @property null|string $data = null Additional data for the COM handler action
 * @property null|ScheduledTaskInputInputType $scheduledTask = null The action's scheduled task.
 */
final class ScheduledTaskComHandlerActionInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'scheduledTask') {
            return new ScheduledTaskInputInputType($value);
        }

        return $value;
    }
}