.setParam("url", request.getUrl())
.setParam("clientId", request.getClientId())
.setParam("clientSecret", request.getClientSecret())
+ .setParam("webhookSecret", request.getWebhookSecret())
.setMediaType(MediaTypes.JSON)).content();
}
private String url;
private String clientId;
private String clientSecret;
+ private String webhookSecret;
/**
* This is a mandatory parameter.
public String getClientSecret() {
return clientSecret;
}
+
+ public CreateGithubRequest setWebhookSecret(@Nullable String webhookSecret) {
+ this.webhookSecret = webhookSecret;
+ return this;
+ }
+
+ @CheckForNull
+ public String getWebhookSecret() {
+ return webhookSecret;
+ }
}