Class AddCommentRequest

java.lang.Object
org.sonarqube.ws.client.hotspots.AddCommentRequest

@Generated("sonar-ws-generator") public class AddCommentRequest extends Object
This is part of the internal API. This is a POST request.
Since:
8.1
See Also:
  • Constructor Details

    • AddCommentRequest

      public AddCommentRequest()
  • Method Details

    • setComment

      public AddCommentRequest setComment(String comment)
      This is a mandatory parameter. Example value: "This is safe because user input is validated by the calling code"
    • getComment

      public String getComment()
    • setHotspot

      public AddCommentRequest setHotspot(String hotspot)
      This is a mandatory parameter. Example value: "AU-TpxcA-iU5OvuD2FL0"
    • getHotspot

      public String getHotspot()