com.askfast.askfastapi.model.Answer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of askfast-api-java Show documentation
Show all versions of askfast-api-java Show documentation
AskFast Library to use the AskFast system
package com.askfast.askfastapi.model;
import java.util.UUID;
import com.askfast.model.ModelBase;
public class Answer extends ModelBase {
private String answer_id;
private String answer_text;
private String callback;
public Answer(){
}
public Answer(String answer_text){
this(answer_text, null);
}
public Answer(String answer_text, String callback){
this.answer_id = UUID.randomUUID().toString();
this.answer_text = answer_text;
this.callback = callback;
}
public String getAnswer_id() {
return this.answer_id;
}
public String getAnswer_text() {
return this.answer_text;
}
public String getCallback() {
return this.callback;
}
public void setAnswer_id(String answer_id) {
this.answer_id = answer_id;
}
public void setAnswer_text(String answer_text) {
this.answer_text = answer_text;
}
public void setCallback(String callback) {
this.callback = callback;
}
public static Answer fromJSON(String json)
{
return fromJSON( json, Answer.class );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy