/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getApplicationQuota() != null) sb.append("ApplicationQuota: ").append(getApplicationQuota()).append(","); if (getApplicationVersionQuota() != null) sb.append("ApplicationVersionQuota: ").append(getApplicationVersionQuota()).append(","); if (getEnvironmentQuota() != null) sb.append("EnvironmentQuota: ").append(getEnvironmentQuota()).append(","); if (getConfigurationTemplateQuota() != null) sb.append("ConfigurationTemplateQuota: ").append(getConfigurationTemplateQuota()).append(","); if (getCustomPlatformQuota() != null) sb.append("CustomPlatformQuota: ").append(getCustomPlatformQuota()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplicationQuota() == null) ? 0 : getApplicationQuota().hashCode()); hashCode = prime * hashCode + ((getApplicationVersionQuota() == null) ? 0 : getApplicationVersionQuota().hashCode()); hashCode = prime * hashCode + ((getEnvironmentQuota() == null) ? 0 : getEnvironmentQuota().hashCode()); hashCode = prime * hashCode + ((getConfigurationTemplateQuota() == null) ? 0 : getConfigurationTemplateQuota().hashCode()); hashCode = prime * hashCode + ((getCustomPlatformQuota() == null) ? 0 : getCustomPlatformQuota().hashCode()); return hashCode; }
if (other.getApplicationVersionQuota() != null && other.getApplicationVersionQuota().equals(this.getApplicationVersionQuota()) == false) return false; if (other.getEnvironmentQuota() == null ^ this.getEnvironmentQuota() == null) return false; if (other.getEnvironmentQuota() != null && other.getEnvironmentQuota().equals(this.getEnvironmentQuota()) == false) return false; if (other.getConfigurationTemplateQuota() == null ^ this.getConfigurationTemplateQuota() == null)
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getApplicationQuota() != null) sb.append("ApplicationQuota: ").append(getApplicationQuota()).append(","); if (getApplicationVersionQuota() != null) sb.append("ApplicationVersionQuota: ").append(getApplicationVersionQuota()).append(","); if (getEnvironmentQuota() != null) sb.append("EnvironmentQuota: ").append(getEnvironmentQuota()).append(","); if (getConfigurationTemplateQuota() != null) sb.append("ConfigurationTemplateQuota: ").append(getConfigurationTemplateQuota()).append(","); if (getCustomPlatformQuota() != null) sb.append("CustomPlatformQuota: ").append(getCustomPlatformQuota()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplicationQuota() == null) ? 0 : getApplicationQuota().hashCode()); hashCode = prime * hashCode + ((getApplicationVersionQuota() == null) ? 0 : getApplicationVersionQuota().hashCode()); hashCode = prime * hashCode + ((getEnvironmentQuota() == null) ? 0 : getEnvironmentQuota().hashCode()); hashCode = prime * hashCode + ((getConfigurationTemplateQuota() == null) ? 0 : getConfigurationTemplateQuota().hashCode()); hashCode = prime * hashCode + ((getCustomPlatformQuota() == null) ? 0 : getCustomPlatformQuota().hashCode()); return hashCode; }
if (other.getApplicationVersionQuota() != null && other.getApplicationVersionQuota().equals(this.getApplicationVersionQuota()) == false) return false; if (other.getEnvironmentQuota() == null ^ this.getEnvironmentQuota() == null) return false; if (other.getEnvironmentQuota() != null && other.getEnvironmentQuota().equals(this.getEnvironmentQuota()) == false) return false; if (other.getConfigurationTemplateQuota() == null ^ this.getConfigurationTemplateQuota() == null)