package com.mobile.auth.gatewayauth.model; import com.mobile.auth.gatewayauth.ExceptionProcessor; import com.nirvana.tools.jsoner.JSONUtils; import com.nirvana.tools.jsoner.Jsoner; import java.lang.reflect.Field; import java.util.List; import org.json.JSONObject; public class UploadLog implements Jsoner { private String end_time; private String level; private String start_time; @Override // com.nirvana.tools.jsoner.Jsoner public void fromJson(JSONObject jSONObject) { try { JSONUtils.fromJson(jSONObject, this, (List<Field>) null); } catch (Throwable th) { ExceptionProcessor.processException(th); } } public String getEnd_time() { try { return this.end_time; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public String getLevel() { try { return this.level; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public String getStart_time() { try { return this.start_time; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public void setEnd_time(String str) { try { this.end_time = str; } catch (Throwable th) { ExceptionProcessor.processException(th); } } public void setLevel(String str) { try { this.level = str; } catch (Throwable th) { ExceptionProcessor.processException(th); } } public void setStart_time(String str) { try { this.start_time = str; } catch (Throwable th) { ExceptionProcessor.processException(th); } } @Override // com.nirvana.tools.jsoner.Jsoner public JSONObject toJson() { try { return JSONUtils.toJson(this, null); } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public String toString() { try { return "UploadLog{end_time='" + this.end_time + '\'' + ", level='" + this.level + '\'' + ", start_time='" + this.start_time + '\'' + '}'; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } }