com.cx.restclient.cxArm.dto.Policy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cx-client-common Show documentation
Show all versions of cx-client-common Show documentation
Web client for interaction with Checkmarx SAST, SCA and OSA products
The newest version!
package com.cx.restclient.cxArm.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Galn on 7/5/2018.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Policy implements Serializable {
long policyId;
String policyName;
String ruleName;
String firstDetectionDate;
private List violations = new ArrayList();
public Policy() {
}
public Policy(long policyId, String policyName, String ruleName, List violations, String firstDate) {
this.policyId = policyId;
this.policyName = policyName;
this.ruleName = ruleName;
this.violations = violations;
this.firstDetectionDate = firstDate;
}
public long getPolicyId() {
return policyId;
}
public void setPolicyId(long policyId) {
this.policyId = policyId;
}
public String getPolicyName() {
return policyName;
}
public void setPolicyName(String policyName) {
this.policyName = policyName;
}
public List getViolations() {
return violations;
}
public void setViolations(List violations) {
this.violations = violations;
}
public String getRuleName() {
return ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
}
public String getFirstDetectionDate() {
return firstDetectionDate;
}
public void setFirstDetectionDate(String firstDetectionDate) {
this.firstDetectionDate = firstDetectionDate;
}
}