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

com.yahoo.athenz.msd.TransportPolicyMatch 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.*;

//
// TransportPolicyMatch - Selector for the subject of a transport policy
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class TransportPolicyMatch {
    public TransportPolicySubject athenzService;
    public List conditions;

    public TransportPolicyMatch setAthenzService(TransportPolicySubject athenzService) {
        this.athenzService = athenzService;
        return this;
    }
    public TransportPolicySubject getAthenzService() {
        return athenzService;
    }
    public TransportPolicyMatch setConditions(List conditions) {
        this.conditions = conditions;
        return this;
    }
    public List getConditions() {
        return conditions;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy