com.yahoo.athenz.zts.Workload Maven / Gradle / Ivy
//
// 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.*;
//
// Workload -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class Workload {
public String domainName;
public String serviceName;
public String uuid;
public List ipAddresses;
public String hostname;
public String provider;
public Timestamp updateTime;
public Timestamp certExpiryTime;
public Workload setDomainName(String domainName) {
this.domainName = domainName;
return this;
}
public String getDomainName() {
return domainName;
}
public Workload setServiceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
public String getServiceName() {
return serviceName;
}
public Workload setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return uuid;
}
public Workload setIpAddresses(List ipAddresses) {
this.ipAddresses = ipAddresses;
return this;
}
public List getIpAddresses() {
return ipAddresses;
}
public Workload setHostname(String hostname) {
this.hostname = hostname;
return this;
}
public String getHostname() {
return hostname;
}
public Workload setProvider(String provider) {
this.provider = provider;
return this;
}
public String getProvider() {
return provider;
}
public Workload setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
return this;
}
public Timestamp getUpdateTime() {
return updateTime;
}
public Workload setCertExpiryTime(Timestamp certExpiryTime) {
this.certExpiryTime = certExpiryTime;
return this;
}
public Timestamp getCertExpiryTime() {
return certExpiryTime;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != Workload.class) {
return false;
}
Workload a = (Workload) another;
if (domainName == null ? a.domainName != null : !domainName.equals(a.domainName)) {
return false;
}
if (serviceName == null ? a.serviceName != null : !serviceName.equals(a.serviceName)) {
return false;
}
if (uuid == null ? a.uuid != null : !uuid.equals(a.uuid)) {
return false;
}
if (ipAddresses == null ? a.ipAddresses != null : !ipAddresses.equals(a.ipAddresses)) {
return false;
}
if (hostname == null ? a.hostname != null : !hostname.equals(a.hostname)) {
return false;
}
if (provider == null ? a.provider != null : !provider.equals(a.provider)) {
return false;
}
if (updateTime == null ? a.updateTime != null : !updateTime.equals(a.updateTime)) {
return false;
}
if (certExpiryTime == null ? a.certExpiryTime != null : !certExpiryTime.equals(a.certExpiryTime)) {
return false;
}
}
return true;
}
}