io.vertx.mutiny.ext.web.handler.graphql.ExecutionInputBuilderWithContext Maven / Gradle / Ivy
package io.vertx.mutiny.ext.web.handler.graphql;
import java.util.Map;
import java.util.stream.Collectors;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.vertx.TypeArg;
import io.vertx.codegen.annotations.Fluent;
import io.smallrye.common.annotation.CheckReturnValue;
import graphql.ExecutionInput.Builder;
/**
* Holds a with a contextual object.
*
*
* NOTE: This class has been automatically generated from the {@link io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext original} non Mutiny-ified interface using Vert.x codegen.
*/
@io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext.class)
public class ExecutionInputBuilderWithContext {
public static final io.smallrye.mutiny.vertx.TypeArg __TYPE_ARG = new io.smallrye.mutiny.vertx.TypeArg<>( obj -> new ExecutionInputBuilderWithContext((io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext) obj),
ExecutionInputBuilderWithContext::getDelegate
);
private final io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext delegate;
public final io.smallrye.mutiny.vertx.TypeArg __typeArg_0;
public ExecutionInputBuilderWithContext(io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext delegate) {
this.delegate = delegate;
this.__typeArg_0 = io.smallrye.mutiny.vertx.TypeArg.unknown(); }
public ExecutionInputBuilderWithContext(Object delegate, TypeArg typeArg_0) {
this.delegate = (io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext)delegate;
this.__typeArg_0 = typeArg_0;
}
public ExecutionInputBuilderWithContext(io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext delegate, io.smallrye.mutiny.vertx.TypeArg typeArg_0) {
this.delegate = delegate;
this.__typeArg_0 = typeArg_0;
}
/**
* Empty constructor used by CDI, do not use this constructor directly.
**/
ExecutionInputBuilderWithContext() {
this.delegate = null;
this.__typeArg_0 = io.smallrye.mutiny.vertx.TypeArg.unknown(); }
public io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext getDelegate() {
return delegate;
}
@Override
public String toString() {
return delegate.toString();
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ExecutionInputBuilderWithContext that = (ExecutionInputBuilderWithContext) o;
return delegate.equals(that.delegate);
}
@Override
public int hashCode() {
return delegate.hashCode();
}
/**
* @return the contextual object
*/
public C context() {
C ret = (C)__typeArg_0.wrap(delegate.context());
return ret;
}
/**
* @return the GraphQL execution input builder
*/
public graphql.ExecutionInput.Builder builder() {
graphql.ExecutionInput.Builder ret = delegate.builder();
return ret;
}
public static ExecutionInputBuilderWithContext newInstance(io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext arg) {
return arg != null ? new ExecutionInputBuilderWithContext(arg) : null;
}
public static ExecutionInputBuilderWithContext newInstance(io.vertx.ext.web.handler.graphql.ExecutionInputBuilderWithContext arg, io.smallrye.mutiny.vertx.TypeArg __typeArg_C) {
return arg != null ? new ExecutionInputBuilderWithContext(arg, __typeArg_C) : null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy