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

com.cx.restclient.cxArm.dto.Policy Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy