public boolean isEmpty() { return getOutAverageLinkshare() == null && getOutAverageUpperlimit() == null && getOutAverageRealtime() == null; }
public boolean isEmpty() { return hostNetworkQosProperties.isEmpty(); }
public void setOutAverageLinkshare(Integer outAverageLinkshare) { hostNetworkQosProperties.setOutAverageLinkshare(outAverageLinkshare); }
public void setOutAverageRealtime(Integer outAverageRealtime) { hostNetworkQosProperties.setOutAverageRealtime(outAverageRealtime); }
public Integer getOutAverageUpperlimit() { return hostNetworkQosProperties.getOutAverageUpperlimit(); }
public Integer getOutAverageLinkshare() { return hostNetworkQosProperties.getOutAverageLinkshare(); }
public void setOutAverageUpperlimit(Integer outAverageUpperlimit) { hostNetworkQosProperties.setOutAverageUpperlimit(outAverageUpperlimit); }
public Integer getOutAverageRealtime() { return hostNetworkQosProperties.getOutAverageRealtime(); }
public static HostNetworkQos fromAnonymousHostNetworkQos(AnonymousHostNetworkQos hostNetworkQos) { if (hostNetworkQos == null) { return null; } HostNetworkQos result = new HostNetworkQos(); result.setId(hostNetworkQos.getId()); result.hostNetworkQosProperties = new HostNetworkQosProperties(hostNetworkQos.getHostNetworkQosProperties()); return result; }
public void setOutAverageRealtime(Integer outAverageRealtime) { hostNetworkQosProperties.setOutAverageRealtime(outAverageRealtime); }
public Integer getOutAverageUpperlimit() { return hostNetworkQosProperties.getOutAverageUpperlimit(); }
public Integer getOutAverageLinkshare() { return hostNetworkQosProperties.getOutAverageLinkshare(); }
public void setOutAverageUpperlimit(Integer outAverageUpperlimit) { hostNetworkQosProperties.setOutAverageUpperlimit(outAverageUpperlimit); }
public Integer getOutAverageRealtime() { return hostNetworkQosProperties.getOutAverageRealtime(); }
@Override public int hashCode() { return Objects.hash(getOutAverageLinkshare(), getOutAverageUpperlimit(), getOutAverageRealtime()); } }
public boolean isEmpty() { return hostNetworkQosProperties.isEmpty(); }
public void setOutAverageLinkshare(Integer outAverageLinkshare) { hostNetworkQosProperties.setOutAverageLinkshare(outAverageLinkshare); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof HostNetworkQosProperties)) { return false; } HostNetworkQosProperties that = (HostNetworkQosProperties) o; return Objects.equals(getOutAverageLinkshare(), that.getOutAverageLinkshare()) && Objects.equals(getOutAverageUpperlimit(), that.getOutAverageUpperlimit()) && Objects.equals(getOutAverageRealtime(), that.getOutAverageRealtime()); }