public JsonValue ToJson(JsonSerializer serializer) { var json = new JsonObject(); Id.Serialize(json, serializer, "id"); Description.Serialize(json, serializer, "description"); IdModel.Serialize(json, serializer, "idModel"); CallbackUrl.Serialize(json, serializer, "callbackURL"); Active.Serialize(json, serializer, "active"); return(json); }