void init(JSONObject jsonObject) { this.object = jsonObject; if (!jsonObject.isNull("media_id")) { this.mediaId = jsonObject.getString("media_id"); } if (!jsonObject.isNull("type")) { this.type = jsonObject.getString("type"); } if (!jsonObject.isNull("title")) { this.title = jsonObject.getString("title"); } if (!jsonObject.isNull("description")) { this.description = jsonObject.getString("description"); } if (!jsonObject.isNull("down_url")) { this.downURL = jsonObject.getString("down_url"); } if (!jsonObject.isNull("created_at")) { this.createTime = jsonObject.getLong("created_at"); } }