package com.xmlstats.example;

import com.fasterxml.jackson.annotation.JsonRootName;

@JsonRootName("error")
public class XmlstatsError {

    private String code = null;

    private String description = null;

    // Empty constructor for json deserialization, could also use @JsonCreator
    public XmlstatsError() { }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}

@@ -24,16 +24,70 @@
 ample;%0A%0A
+import com.fasterxml.jackson.annotation.JsonProperty;%0A
 import c
@@ -255,24 +255,96 @@
 on = null;%0A%0A
+    @JsonProperty(%22request_url%22)%0A    private String requestUrl = null;%0A%0A
     // Empty
@@ -744,10 +744,159 @@
 %0A    %7D%0A%0A
+    public String getRequestUrl() %7B%0A        return requestUrl;%0A    %7D%0A%0A    public void setRequestUrl() %7B%0A        this.requestUrl = requestUrl;%0A    %7D%0A%0A
 %7D%0A

Add request_url property