com.yahoo.athenz.msd.DomainServices Maven / Gradle / Ivy
The 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.*;
//
// DomainServices - request type to search all workloads for a domain and
// selected list of its services
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DomainServices {
public String domainName;
public List serviceNames;
public DomainServices setDomainName(String domainName) {
this.domainName = domainName;
return this;
}
public String getDomainName() {
return domainName;
}
public DomainServices setServiceNames(List serviceNames) {
this.serviceNames = serviceNames;
return this;
}
public List getServiceNames() {
return serviceNames;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != DomainServices.class) {
return false;
}
DomainServices a = (DomainServices) another;
if (domainName == null ? a.domainName != null : !domainName.equals(a.domainName)) {
return false;
}
if (serviceNames == null ? a.serviceNames != null : !serviceNames.equals(a.serviceNames)) {
return false;
}
}
return true;
}
}