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

net.anwiba.spatial.geo.json.v01_0.ErrorResponse Maven / Gradle / Ivy

//Copyright (c) 2012 by Andreas W. Bartels
package net.anwiba.spatial.geo.json.v01_0;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;

public class ErrorResponse {

    private final String type = "ErrorResponse";
    private Integer code = Integer.valueOf(0);
    private String[] message = null;

    @JsonProperty("type")
    public void setType(final String type) {
    }

    @JsonProperty("type")
    public String getType() {
        return this.type;
    }

    @JsonProperty("code")
    public void setCode(final Integer code) {
        Objects.requireNonNull(code);
        this.code = code;
    }

    @JsonProperty("code")
    public Integer getCode() {
        return this.code;
    }

    @JsonProperty("message")
    public void setMessage(final String[] message) {
        this.message = message;
    }

    @JsonProperty("message")
    public String[] getMessage() {
        return this.message;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy