com.cx.restclient.cxArm.dto.Violation Maven / Gradle / Ivy
package com.cx.restclient.cxArm.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
import java.util.Date;
import static com.cx.restclient.common.ShragaUtils.formatDate;
/**
* Created by Galn on 7/5/2018.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Violation implements Serializable {
private String ruleId;
private String ruleName;
private Long firstDetectionDateByArm;
private String findingId;
private String scanId;
private String provider;
private String owningTeam;
private String nativeId;
private String type;
private String name;
private String source;
private String sourceId;
private String severity;
private long date;
private Double riskScore;
private String status;
private String state;
private String policyName;
public String getRuleId() {
return ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
}
public String getRuleName() {
return ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
}
public Long getFirstDetectionDateByArm() {
return firstDetectionDateByArm;
}
public void setFirstDetectionDateByArm(Long firstDetectionDateByArm) {
this.firstDetectionDateByArm = firstDetectionDateByArm;
}
public String getFindingId() {
return findingId;
}
public void setFindingId(String findingId) {
this.findingId = findingId;
}
public String getScanId() {
return scanId;
}
public void setScanId(String scanId) {
this.scanId = scanId;
}
public String getProvider() {
return provider;
}
public void setProvider(String provider) {
this.provider = provider;
}
public String getOwningTeam() {
return owningTeam;
}
public void setOwningTeam(String owningTeam) {
this.owningTeam = owningTeam;
}
public String getNativeId() {
return nativeId;
}
public void setNativeId(String nativeId) {
this.nativeId = nativeId;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public String getSourceId() {
return sourceId;
}
public void setSourceId(String sourceId) {
this.sourceId = sourceId;
}
public String getSeverity() {
return severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
public long getDate() {
return date;
}
public void setDate(long date) {
this.date = date;
}
public Double getRiskScore() {
return riskScore;
}
public void setRiskScore(Double riskScore) {
this.riskScore = riskScore;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getPolicyName() {
return policyName;
}
public void setPolicyName(String policyName) {
this.policyName = policyName;
}
}