package csdk.glucustomersupport; import csdk.glucustomersupport.util.ISerializableJsonObject; import csdk.glucustomersupport.util.JsonUtil; import org.json.JSONException; import org.json.JSONStringer; /* loaded from: classes4.dex */ public class NotificationCountEvent implements ISerializableJsonObject { public final int count; public final Throwable error; public NotificationCountEvent(int i, Throwable th) { this.count = i; this.error = th; } @Override // csdk.glucustomersupport.util.ISerializableJsonObject public void write(JSONStringer jSONStringer) throws JSONException { JsonUtil.optKeyValue(jSONStringer, "count", Integer.valueOf(this.count)); JsonUtil.optKeyValue(jSONStringer, "error", this.error); } }