water.bindings.pojos.JobV3 Maven / Gradle / Ivy
package water.bindings.pojos;
import com.google.gson.Gson;
public class JobV3 extends RequestSchema {
/** Job Key */
public JobKeyV3 key;
/** Job description */
public String description;
/** job status */
public String status;
/** progress, from 0 to 1 */
public float progress;
/** current progress status description */
public String progress_msg;
/** Start time */
public long start_time;
/** Runtime in milliseconds */
public long msec;
/** destination key */
public KeyV3 dest;
/** exception */
public String[] warnings;
/** exception */
public String exception;
/** stacktrace */
public String stacktrace;
/** ready for view */
public boolean ready_for_view;
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
public String _exclude_fields = "";
*/
public JobV3() {
key = null;
description = "";
status = "";
progress = 0.0f;
progress_msg = "";
start_time = 0L;
msec = 0L;
dest = null;
warnings = null;
exception = "";
stacktrace = "";
ready_for_view = false;
_exclude_fields = "";
}
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}