<?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 PasswordManagementStatusInput
 * The password management status wrapper * @property null|string $passwordManagementErrorCode = null The password management status error code
 * @property null|string $passwordManagementMessage = null The password management error message
 * @property null|DiscoveryProtocolStatusEnumEnum $status = null The password management status
 * @property null|string $exceptionString = null The password management status exception
 */
final class PasswordManagementStatusInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        if ($name === 'status') {
            return new DiscoveryProtocolStatusEnumEnum($value);
        }

        return $value;
    }
}