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

com.yahoo.athenz.msd.TransportPolicyRules Maven / Gradle / Ivy

There is a newer version: 1.12.5
Show newest version
//
// This file generated by rdl 1.5.2. Do not modify!
//

package com.yahoo.athenz.msd;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
import com.yahoo.rdl.*;

//
// TransportPolicyRules - Transport policy containing ingress and egress rules
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class TransportPolicyRules {
    public List ingress;
    public List egress;

    public TransportPolicyRules setIngress(List ingress) {
        this.ingress = ingress;
        return this;
    }
    public List getIngress() {
        return ingress;
    }
    public TransportPolicyRules setEgress(List egress) {
        this.egress = egress;
        return this;
    }
    public List getEgress() {
        return egress;
    }

    @Override
    public boolean equals(Object another) {
        if (this != another) {
            if (another == null || another.getClass() != TransportPolicyRules.class) {
                return false;
            }
            TransportPolicyRules a = (TransportPolicyRules) another;
            if (ingress == null ? a.ingress != null : !ingress.equals(a.ingress)) {
                return false;
            }
            if (egress == null ? a.egress != null : !egress.equals(a.egress)) {
                return false;
            }
        }
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy