code: public static <T> T unmarshal(InputStream is, final Class<T> type, Map<String, String> parameters) throws KubernetesClientException {
      return unmarshal(is, new TypeReference<T>() {
        @Override
        public Type getType() {
          return type;
        }
      }, parameters);
    }
docs: Unmarshals an {@link InputStream} optionally performing placeholder substitution to the stream.
  @param is              The {@link InputStream}.
  @param type            The type.
  @param parameters      A {@link Map} with parameters for placeholder substitution.
  @param <T>             Template argument denoting type
  @return returns de-serialized object
  @throws KubernetesClientException KubernetesClientException