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

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

There is a newer version: 1.11.66
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.*;

//
// TransportPolicyPeer - Source or destination for a transport policy
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class TransportPolicyPeer {
    public List athenzServices;
    public List ports;

    public TransportPolicyPeer setAthenzServices(List athenzServices) {
        this.athenzServices = athenzServices;
        return this;
    }
    public List getAthenzServices() {
        return athenzServices;
    }
    public TransportPolicyPeer setPorts(List ports) {
        this.ports = ports;
        return this;
    }
    public List getPorts() {
        return ports;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy