翰林优商.apk(点击下载) / LimitedInfo.java


package com.mobile.auth.gatewayauth.model.pns_vendor_query;

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 LimitedInfo implements Jsoner {
    private String is_limited;
    private int limit_count;
    private int limit_time_hour;
    private String msg;

    @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 getIs_limited() {
        try {
            return this.is_limited;
        } catch (Throwable th) {
            ExceptionProcessor.processException(th);
            return null;
        }
    }

    public int getLimit_count() {
        try {
            return this.limit_count;
        } catch (Throwable th) {
            ExceptionProcessor.processException(th);
            return -1;
        }
    }

    public int getLimit_time_hour() {
        try {
            return this.limit_time_hour;
        } catch (Throwable th) {
            ExceptionProcessor.processException(th);
            return -1;
        }
    }

    public String getMsg() {
        try {
            return this.msg;
        } catch (Throwable th) {
            ExceptionProcessor.processException(th);
            return null;
        }
    }

    public void setIs_limited(String str) {
        try {
            this.is_limited = str;
        } catch (Throwable th) {
            ExceptionProcessor.processException(th);
        }
    }

    public void setLimit_count(int i) {
        try {
            this.limit_count = i;
        } catch (Throwable th) {
            ExceptionProcessor.processException(th);
        }
    }

    public void setLimit_time_hour(int i) {
        try {
            this.limit_time_hour = i;
        } catch (Throwable th) {
            ExceptionProcessor.processException(th);
        }
    }

    public void setMsg(String str) {
        try {
            this.msg = 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;
        }
    }
}