com.yahoo.athenz.zts.DomainMetrics Maven / Gradle / Ivy
The 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.*;
//
// DomainMetrics -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DomainMetrics {
public String domainName;
public List metricList;
public DomainMetrics setDomainName(String domainName) {
this.domainName = domainName;
return this;
}
public String getDomainName() {
return domainName;
}
public DomainMetrics setMetricList(List metricList) {
this.metricList = metricList;
return this;
}
public List getMetricList() {
return metricList;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != DomainMetrics.class) {
return false;
}
DomainMetrics a = (DomainMetrics) another;
if (domainName == null ? a.domainName != null : !domainName.equals(a.domainName)) {
return false;
}
if (metricList == null ? a.metricList != null : !metricList.equals(a.metricList)) {
return false;
}
}
return true;
}
}