3 * Copyright (C) 2009-2023 SonarSource SA
4 * mailto:info AT sonarsource DOT com
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 3 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 package org.sonarqube.ws.client.almintegrations;
22 import javax.annotation.Generated;
25 * This is part of the internal API.
26 * This is a POST request.
27 * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/alm_integrations/webhook_github">Further information about this action online (including a response example)</a>
30 @Generated("sonar-ws-generator")
31 public class SendGithubCodeScanningAlertWebhookPayloadRequest {
32 private String payload;
33 private String githubEventHeader;
34 private String githubSignatureHeader;
35 private String githubSignature256Header;
38 * This is a mandatory parameter.
40 public SendGithubCodeScanningAlertWebhookPayloadRequest setPayload(String payload) {
41 this.payload = payload;
45 public String getPayload() {
50 * This is a mandatory parameter.
52 public SendGithubCodeScanningAlertWebhookPayloadRequest setGithubEventHeader(String header) {
53 this.githubEventHeader = header;
57 public String getGithubEventHeader() {
58 return githubEventHeader;
62 * This is a mandatory parameter.
64 public SendGithubCodeScanningAlertWebhookPayloadRequest setGithubSignatureHeader(String header) {
65 this.githubSignatureHeader = header;
69 public String getGithubSignatureHeader() {
70 return this.githubSignatureHeader;
74 * This is a mandatory parameter.
76 public SendGithubCodeScanningAlertWebhookPayloadRequest setGithubSignature256Header(String header) {
77 this.githubSignature256Header = header;
81 public String getGithubSignature256Header() {
82 return githubSignature256Header;