<?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 PasswordstateServerConnectionInput
 * This object contains information about a passwordstate server connection (either a systemwide connection or to a single list). * @property null|string $apiKey = null The api key to authenticate against the passwordstate server.
 * @property null|string $name = null The server's descriptive name as provided by the user.
 * @property mixed $passwordListId = null When the API refers to a password list id, then this passwordListId refers to the internal list id within passwordstate.
 * @property null|int $port = null The port that the server is listening on.
 * @property null|string $serverAddress = null The server's address (IP address or hostname).
 */
final class PasswordstateServerConnectionInputInputType extends InputType
{
    protected function decorate($name, $value)
    {
        if ($value === null) {
            return null;
        }

        return $value;
    }
}