com.yahoo.athenz.msd.Workloads 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 com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
import com.yahoo.rdl.*;
//
// Workloads - list of workloads
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class Workloads {
public List workloadList;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List dynamicWorkloadList;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List staticWorkloadList;
public Workloads setWorkloadList(List workloadList) {
this.workloadList = workloadList;
return this;
}
public List getWorkloadList() {
return workloadList;
}
public Workloads setDynamicWorkloadList(List dynamicWorkloadList) {
this.dynamicWorkloadList = dynamicWorkloadList;
return this;
}
public List getDynamicWorkloadList() {
return dynamicWorkloadList;
}
public Workloads setStaticWorkloadList(List staticWorkloadList) {
this.staticWorkloadList = staticWorkloadList;
return this;
}
public List getStaticWorkloadList() {
return staticWorkloadList;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != Workloads.class) {
return false;
}
Workloads a = (Workloads) another;
if (workloadList == null ? a.workloadList != null : !workloadList.equals(a.workloadList)) {
return false;
}
if (dynamicWorkloadList == null ? a.dynamicWorkloadList != null : !dynamicWorkloadList.equals(a.dynamicWorkloadList)) {
return false;
}
if (staticWorkloadList == null ? a.staticWorkloadList != null : !staticWorkloadList.equals(a.staticWorkloadList)) {
return false;
}
}
return true;
}
}