All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkmarx.sdk.dto.cxgo.CreateScan Maven / Gradle / Ivy

There is a newer version: 0.6.16
Show newest version
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);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy