package com.mobile.auth.gatewayauth.model.psc_certify_id; import com.mobile.auth.gatewayauth.ExceptionProcessor; import com.nirvana.tools.jsoner.JSONUtils; import com.nirvana.tools.jsoner.Jsoner; import com.nirvana.tools.jsoner.JsonerTag; import java.lang.reflect.Field; import java.util.List; import org.json.JSONObject; public class GetCertifyIdTopData implements Jsoner { @JsonerTag(keyName = "certify_id") private String certifyId; @JsonerTag(keyName = "valid_time") private String validTime; @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 getCertifyId() { try { return this.certifyId; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public String getValidTime() { try { return this.validTime; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public void setCertifyId(String str) { try { this.certifyId = str; } catch (Throwable th) { ExceptionProcessor.processException(th); } } public void setValidTime(String str) { try { this.validTime = 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; } } }