com.yahoo.athenz.zms.DependentServiceResourceGroup Maven / Gradle / Ivy
The newest version!
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zms;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
import com.yahoo.rdl.*;
//
// DependentServiceResourceGroup -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DependentServiceResourceGroup {
public String service;
public String domain;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List resourceGroups;
public DependentServiceResourceGroup setService(String service) {
this.service = service;
return this;
}
public String getService() {
return service;
}
public DependentServiceResourceGroup setDomain(String domain) {
this.domain = domain;
return this;
}
public String getDomain() {
return domain;
}
public DependentServiceResourceGroup setResourceGroups(List resourceGroups) {
this.resourceGroups = resourceGroups;
return this;
}
public List getResourceGroups() {
return resourceGroups;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != DependentServiceResourceGroup.class) {
return false;
}
DependentServiceResourceGroup a = (DependentServiceResourceGroup) another;
if (service == null ? a.service != null : !service.equals(a.service)) {
return false;
}
if (domain == null ? a.domain != null : !domain.equals(a.domain)) {
return false;
}
if (resourceGroups == null ? a.resourceGroups != null : !resourceGroups.equals(a.resourceGroups)) {
return false;
}
}
return true;
}
}