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

gen.org.tkit.apm.model.RestException Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
package gen.org.tkit.apm.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.json.bind.annotation.JsonbProperty;
import javax.validation.Valid;
import javax.validation.constraints.*;
import lombok.Data;

@Data
@lombok.ToString
@io.quarkus.runtime.annotations.RegisterForReflection
public class RestException {

  @JsonbProperty("code")
  public @Valid String code = null;

  @JsonbProperty("codeClass")
  public @Valid String codeClass = null;

  @JsonbProperty("message")
  public @Valid String message = null;

  @JsonbProperty("parameters")
  public @Valid List parameters = new ArrayList<>();

  @JsonbProperty("namedParameters")
  public @Valid Map namedParameters = new HashMap<>();
}