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

com.yahoo.athenz.zts.PolicyData 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.zts;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
import com.yahoo.rdl.*;

//
// PolicyData -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class PolicyData {
    public String domain;
    public List policies;

    public PolicyData setDomain(String domain) {
        this.domain = domain;
        return this;
    }
    public String getDomain() {
        return domain;
    }
    public PolicyData setPolicies(List policies) {
        this.policies = policies;
        return this;
    }
    public List getPolicies() {
        return policies;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy