package com.mobile.auth.gatewayauth.model.psc_info_upload; 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 Module implements Jsoner { private String vendor_access_id; private String vendor_access_secret; private String vendor_key; @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 getVendor_access_id() { try { return this.vendor_access_id; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public String getVendor_access_secret() { try { return this.vendor_access_secret; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public String getVendor_key() { try { return this.vendor_key; } catch (Throwable th) { ExceptionProcessor.processException(th); return null; } } public void setVendor_access_id(String str) { try { this.vendor_access_id = str; } catch (Throwable th) { ExceptionProcessor.processException(th); } } public void setVendor_access_secret(String str) { try { this.vendor_access_secret = str; } catch (Throwable th) { ExceptionProcessor.processException(th); } } public void setVendor_key(String str) { try { this.vendor_key = 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; } } }