All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.mutiny.ext.web.handler.graphql.UploadScalar Maven / Gradle / Ivy

There is a newer version: 3.17.1
Show newest version
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.schema.GraphQLScalarType;

@io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.handler.graphql.UploadScalar.class)
public class UploadScalar {

  public static final io.smallrye.mutiny.vertx.TypeArg __TYPE_ARG = new io.smallrye.mutiny.vertx.TypeArg<>(    obj -> new UploadScalar((io.vertx.ext.web.handler.graphql.UploadScalar) obj),
    UploadScalar::getDelegate
  );

  private final io.vertx.ext.web.handler.graphql.UploadScalar delegate;
  
  public UploadScalar(io.vertx.ext.web.handler.graphql.UploadScalar delegate) {
    this.delegate = delegate;
  }

  public UploadScalar(Object delegate) {
    this.delegate = (io.vertx.ext.web.handler.graphql.UploadScalar)delegate;
  }

  /**
   * Empty constructor used by CDI, do not use this constructor directly.
   **/
  UploadScalar() {
    this.delegate = null;
  }

  public io.vertx.ext.web.handler.graphql.UploadScalar 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;
    UploadScalar that = (UploadScalar) o;
    return delegate.equals(that.delegate);
  }
  
  @Override
  public int hashCode() {
    return delegate.hashCode();
  }

  public static graphql.schema.GraphQLScalarType build() { 
    graphql.schema.GraphQLScalarType ret = io.vertx.ext.web.handler.graphql.UploadScalar.build();
    return ret;
  }

  public static  UploadScalar newInstance(io.vertx.ext.web.handler.graphql.UploadScalar arg) {
    return arg != null ? new UploadScalar(arg) : null;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy