Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ws-notifications.proto 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // SonarQube, open source software quality management tool.
  2. // Copyright (C) 2008-2016 SonarSource
  3. // mailto:contact AT sonarsource DOT com
  4. //
  5. // SonarQube is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU Lesser General Public
  7. // License as published by the Free Software Foundation; either
  8. // version 3 of the License, or (at your option) any later version.
  9. //
  10. // SonarQube is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. // Lesser General Public License for more details.
  14. //
  15. // You should have received a copy of the GNU Lesser General Public License
  16. // along with this program; if not, write to the Free Software Foundation,
  17. // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. syntax = "proto2";
  19. package sonarqube.ws.notification;
  20. option java_package = "org.sonarqube.ws";
  21. option java_outer_classname = "Notifications";
  22. option optimize_for = SPEED;
  23. // WS api/notifications/list
  24. message ListResponse {
  25. repeated Notification notifications = 1;
  26. repeated string channels = 2;
  27. repeated string globalTypes = 3;
  28. repeated string perProjectTypes = 4;
  29. }
  30. message Notification {
  31. optional string channel = 1;
  32. optional string type = 2;
  33. optional string organization = 5;
  34. optional string project = 3;
  35. optional string projectName = 4;
  36. }