package com.rill.api;

public class DataPayload {

    public static enum Answer {
        YES,
        NO,
        UNKNOWN;
    }

    private Answer answer;
    private Object detail;

    public Answer getAnswer(){
        return answer;
    }

    public void setAnswer(Answer answer){
        this.answer = answer;
    }

    public Object getDetail(){
        return detail;
    }

    public void setDetail(Object detail){
        this.detail = detail;
    }
    
    @Override
    public String toString(){
        StringBuilder sb = new StringBuilder();
        return sb
            .append("[")
            .append(answer)
            .append("; ")
            .append(detail)
            .append("]")
            .toString();
    }

}
@@ -88,11 +88,12 @@
     
-YES
+TRUE
 ,%0A  
@@ -98,18 +98,21 @@
         
-NO
+FALSE
 ,%0A      
@@ -743,8 +743,9 @@
     %7D%0A%0A%7D
+%0A

rename responses