public void Initialize(JSONValue json) { if (json.ContainsKey("type")) { this.type = json["type"].AsString(); } if (json.ContainsKey("id")) { this.id = json["id"].AsString(); } }