new PostRequest(path("set_azure_binding"))
.setParam("almSetting", request.getAlmSetting())
.setParam("project", request.getProject())
+ .setParam("projectName", request.getProjectName())
+ .setParam("repositoryName", request.getRepositoryName())
.setMediaType(MediaTypes.JSON)).content();
}
private String personalAccessToken;
private String url;
- /**
- * This is a mandatory parameter.
- */
public CreateAzureRequest setKey(String key) {
this.key = key;
return this;
}
- public String getKey() {
- return key;
- }
-
- /**
- * This is a mandatory parameter.
- */
public CreateAzureRequest setPersonalAccessToken(String personalAccessToken) {
this.personalAccessToken = personalAccessToken;
return this;
}
- public String getPersonalAccessToken() {
- return personalAccessToken;
- }
-
- /**
- * This is a mandatory parameter.
- */
public CreateAzureRequest setUrl(String url) {
this.url = url;
return this;
}
+ public String getKey() {
+ return key;
+ }
+
+ public String getPersonalAccessToken() {
+ return personalAccessToken;
+ }
+
public String getUrl() {
return url;
}
@Generated("sonar-ws-generator")
public class DeleteRequest {
- private String key;
+ private static String key;
+
+ public DeleteRequest(String key) {
+ this.key = key;
+ }
public String getKey() {
return key;
}
- /**
- * This is a mandatory parameter.
- */
- public DeleteRequest setKey(String key) {
- this.key = key;
- return this;
- }
}
private String almSetting;
private String project;
+ private String repositoryName;
+ private String projectName;
/**
* This is a mandatory parameter.
return project;
}
+ public String getRepositoryName() {
+ return repositoryName;
+ }
+
+ /**
+ * This is a mandatory parameter.
+ * @return
+ */
+ public SetAzureBindingRequest setRepositoryName(String repositoryName) {
+ this.repositoryName = repositoryName;
+ return this;
+ }
+
+ public String getProjectName() {
+ return projectName;
+ }
+
+ /**
+ * This is a mandatory parameter.
+ * @return
+ */
+ public SetAzureBindingRequest setProjectName(String projectName) {
+ this.projectName = projectName;
+ return this;
+ }
}