com.checkmarx.sdk.dto.cxgo.CreateScan Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cx-spring-boot-sdk Show documentation
Show all versions of cx-spring-boot-sdk Show documentation
Checkmarx Java Spring Boot SDK
package com.checkmarx.sdk.dto.cxgo;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class CreateScan {
@JsonProperty("project_id")
public Integer projectId;
@JsonProperty("engine_types")
public List engineTypes;
CreateScan(Integer projectId, List engineTypes) {
this.projectId = projectId;
this.engineTypes = engineTypes;
}
public static OdScanBuilder builder() {
return new OdScanBuilder();
}
@JsonProperty("project_id")
public Integer getProjectId() {
return this.projectId;
}
@JsonProperty("project_id")
public void setProjectId(Integer projectId) {
this.projectId = projectId;
}
@JsonProperty("engine_types")
public List getEngineTypes() {
return engineTypes;
}
@JsonProperty("engine_types")
public void setEngineTypes(List engineTypes) {
this.engineTypes = engineTypes;
}
public static class OdScanBuilder {
private Integer projectId;
private List engineTypes;
OdScanBuilder() {
}
public OdScanBuilder projectId(Integer projectId) {
this.projectId = projectId;
return this;
}
public OdScanBuilder engineTypes(List engineTypes) {
this.engineTypes = engineTypes;
return this;
}
public CreateScan build() {
return new CreateScan(projectId, engineTypes);
}
}
}