.setParam("key", request.getKey())
.setParam("privateKey", request.getPrivateKey())
.setParam("url", request.getUrl())
+ .setParam("clientId", request.getClientId())
+ .setParam("clientSecret", request.getClientSecret())
.setMediaType(MediaTypes.JSON)).content();
}
.setParam("newKey", request.getNewKey())
.setParam("privateKey", request.getPrivateKey())
.setParam("url", request.getUrl())
+ .setParam("clientId", request.getClientId())
+ .setParam("clientSecret", request.getClientSecret())
.setMediaType(MediaTypes.JSON)).content();
}
}
*/
package org.sonarqube.ws.client.almsettings;
+import javax.annotation.CheckForNull;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
/**
* This is a POST request.
private String key;
private String privateKey;
private String url;
+ private String clientId;
+ private String clientSecret;
/**
* This is a mandatory parameter.
public String getUrl() {
return url;
}
+
+ public CreateGithubRequest setClientId(@Nullable String clientId) {
+ this.clientId = clientId;
+ return this;
+ }
+
+ @CheckForNull
+ public String getClientId() {
+ return clientId;
+ }
+
+ public CreateGithubRequest setClientSecret(@Nullable String clientSecret) {
+ this.clientSecret = clientSecret;
+ return this;
+ }
+
+ @CheckForNull
+ public String getClientSecret() {
+ return clientSecret;
+ }
}
*/
package org.sonarqube.ws.client.almsettings;
+import javax.annotation.CheckForNull;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
/**
* This is a POST request.
private String newKey;
private String privateKey;
private String url;
+ private String clientId;
+ private String clientSecret;
public String getAppId() {
return appId;
this.url = url;
return this;
}
+
+ public UpdateGithubRequest setClientId(@Nullable String clientId) {
+ this.clientId = clientId;
+ return this;
+ }
+
+ @CheckForNull
+ public String getClientId() {
+ return clientId;
+ }
+
+ public UpdateGithubRequest setClientSecret(@Nullable String clientSecret) {
+ this.clientSecret = clientSecret;
+ return this;
+ }
+
+ @CheckForNull
+ public String getClientSecret() {
+ return clientSecret;
+ }
}
optional string url = 2;
optional string appId = 3;
optional string privateKey = 4;
+ optional string clientId = 5;
+ optional string clientSecret = 6;
}
message AlmSettingAzure {