@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformArn() == null) ? 0 : getPlatformArn().hashCode()); hashCode = prime * hashCode + ((getPlatformOwner() == null) ? 0 : getPlatformOwner().hashCode()); hashCode = prime * hashCode + ((getPlatformStatus() == null) ? 0 : getPlatformStatus().hashCode()); hashCode = prime * hashCode + ((getPlatformCategory() == null) ? 0 : getPlatformCategory().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemName() == null) ? 0 : getOperatingSystemName().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemVersion() == null) ? 0 : getOperatingSystemVersion().hashCode()); hashCode = prime * hashCode + ((getSupportedTierList() == null) ? 0 : getSupportedTierList().hashCode()); hashCode = prime * hashCode + ((getSupportedAddonList() == null) ? 0 : getSupportedAddonList().hashCode()); return hashCode; }
public PlatformSummary unmarshall(StaxUnmarshallerContext context) throws Exception { PlatformSummary platformSummary = new PlatformSummary(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; platformSummary.setPlatformArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setPlatformOwner(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setPlatformStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setPlatformCategory(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setOperatingSystemName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setOperatingSystemVersion(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.withSupportedTierList(new ArrayList<String>()); continue; platformSummary.withSupportedTierList(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.withSupportedAddonList(new ArrayList<String>());
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeletePlatformVersionResult == false) return false; DeletePlatformVersionResult other = (DeletePlatformVersionResult) obj; if (other.getPlatformSummary() == null ^ this.getPlatformSummary() == null) return false; if (other.getPlatformSummary() != null && other.getPlatformSummary().equals(this.getPlatformSummary()) == false) return false; return true; }
public PlatformSummary unmarshall(StaxUnmarshallerContext context) throws Exception { PlatformSummary platformSummary = new PlatformSummary(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; platformSummary.setPlatformArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setPlatformOwner(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setPlatformStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setPlatformCategory(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setOperatingSystemName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.setOperatingSystemVersion(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.withSupportedTierList(new ArrayList<String>()); continue; platformSummary.withSupportedTierList(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformSummary.withSupportedAddonList(new ArrayList<String>());
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreatePlatformVersionResult == false) return false; CreatePlatformVersionResult other = (CreatePlatformVersionResult) obj; if (other.getPlatformSummary() == null ^ this.getPlatformSummary() == null) return false; if (other.getPlatformSummary() != null && other.getPlatformSummary().equals(this.getPlatformSummary()) == false) return false; if (other.getBuilder() == null ^ this.getBuilder() == null) return false; if (other.getBuilder() != null && other.getBuilder().equals(this.getBuilder()) == false) return false; return true; }
return false; PlatformSummary other = (PlatformSummary) obj; if (other.getPlatformArn() == null ^ this.getPlatformArn() == null) return false; if (other.getPlatformArn() != null && other.getPlatformArn().equals(this.getPlatformArn()) == false) return false; if (other.getPlatformOwner() == null ^ this.getPlatformOwner() == null) return false; if (other.getPlatformOwner() != null && other.getPlatformOwner().equals(this.getPlatformOwner()) == false) return false; if (other.getPlatformStatus() == null ^ this.getPlatformStatus() == null) return false; if (other.getPlatformStatus() != null && other.getPlatformStatus().equals(this.getPlatformStatus()) == false) return false; if (other.getPlatformCategory() == null ^ this.getPlatformCategory() == null) return false; if (other.getPlatformCategory() != null && other.getPlatformCategory().equals(this.getPlatformCategory()) == false) return false; if (other.getOperatingSystemName() == null ^ this.getOperatingSystemName() == null) return false; if (other.getOperatingSystemName() != null && other.getOperatingSystemName().equals(this.getOperatingSystemName()) == false) return false; if (other.getOperatingSystemVersion() == null ^ this.getOperatingSystemVersion() == null) return false; if (other.getOperatingSystemVersion() != null && other.getOperatingSystemVersion().equals(this.getOperatingSystemVersion()) == false) return false; if (other.getSupportedTierList() == null ^ this.getSupportedTierList() == null) return false; if (other.getSupportedTierList() != null && other.getSupportedTierList().equals(this.getSupportedTierList()) == false)
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeletePlatformVersionResult == false) return false; DeletePlatformVersionResult other = (DeletePlatformVersionResult) obj; if (other.getPlatformSummary() == null ^ this.getPlatformSummary() == null) return false; if (other.getPlatformSummary() != null && other.getPlatformSummary().equals(this.getPlatformSummary()) == false) return false; return true; }
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPlatformArn() != null) sb.append("PlatformArn: ").append(getPlatformArn()).append(","); if (getPlatformOwner() != null) sb.append("PlatformOwner: ").append(getPlatformOwner()).append(","); if (getPlatformStatus() != null) sb.append("PlatformStatus: ").append(getPlatformStatus()).append(","); if (getPlatformCategory() != null) sb.append("PlatformCategory: ").append(getPlatformCategory()).append(","); if (getOperatingSystemName() != null) sb.append("OperatingSystemName: ").append(getOperatingSystemName()).append(","); if (getOperatingSystemVersion() != null) sb.append("OperatingSystemVersion: ").append(getOperatingSystemVersion()).append(","); if (getSupportedTierList() != null) sb.append("SupportedTierList: ").append(getSupportedTierList()).append(","); if (getSupportedAddonList() != null) sb.append("SupportedAddonList: ").append(getSupportedAddonList()); sb.append("}"); return sb.toString();
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreatePlatformVersionResult == false) return false; CreatePlatformVersionResult other = (CreatePlatformVersionResult) obj; if (other.getPlatformSummary() == null ^ this.getPlatformSummary() == null) return false; if (other.getPlatformSummary() != null && other.getPlatformSummary().equals(this.getPlatformSummary()) == false) return false; if (other.getBuilder() == null ^ this.getBuilder() == null) return false; if (other.getBuilder() != null && other.getBuilder().equals(this.getBuilder()) == false) return false; return true; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformArn() == null) ? 0 : getPlatformArn().hashCode()); hashCode = prime * hashCode + ((getPlatformOwner() == null) ? 0 : getPlatformOwner().hashCode()); hashCode = prime * hashCode + ((getPlatformStatus() == null) ? 0 : getPlatformStatus().hashCode()); hashCode = prime * hashCode + ((getPlatformCategory() == null) ? 0 : getPlatformCategory().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemName() == null) ? 0 : getOperatingSystemName().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemVersion() == null) ? 0 : getOperatingSystemVersion().hashCode()); hashCode = prime * hashCode + ((getSupportedTierList() == null) ? 0 : getSupportedTierList().hashCode()); hashCode = prime * hashCode + ((getSupportedAddonList() == null) ? 0 : getSupportedAddonList().hashCode()); return hashCode; }
return false; PlatformSummary other = (PlatformSummary) obj; if (other.getPlatformArn() == null ^ this.getPlatformArn() == null) return false; if (other.getPlatformArn() != null && other.getPlatformArn().equals(this.getPlatformArn()) == false) return false; if (other.getPlatformOwner() == null ^ this.getPlatformOwner() == null) return false; if (other.getPlatformOwner() != null && other.getPlatformOwner().equals(this.getPlatformOwner()) == false) return false; if (other.getPlatformStatus() == null ^ this.getPlatformStatus() == null) return false; if (other.getPlatformStatus() != null && other.getPlatformStatus().equals(this.getPlatformStatus()) == false) return false; if (other.getPlatformCategory() == null ^ this.getPlatformCategory() == null) return false; if (other.getPlatformCategory() != null && other.getPlatformCategory().equals(this.getPlatformCategory()) == false) return false; if (other.getOperatingSystemName() == null ^ this.getOperatingSystemName() == null) return false; if (other.getOperatingSystemName() != null && other.getOperatingSystemName().equals(this.getOperatingSystemName()) == false) return false; if (other.getOperatingSystemVersion() == null ^ this.getOperatingSystemVersion() == null) return false; if (other.getOperatingSystemVersion() != null && other.getOperatingSystemVersion().equals(this.getOperatingSystemVersion()) == false) return false; if (other.getSupportedTierList() == null ^ this.getSupportedTierList() == null) return false; if (other.getSupportedTierList() != null && other.getSupportedTierList().equals(this.getSupportedTierList()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPlatformArn() != null) sb.append("PlatformArn: ").append(getPlatformArn()).append(","); if (getPlatformOwner() != null) sb.append("PlatformOwner: ").append(getPlatformOwner()).append(","); if (getPlatformStatus() != null) sb.append("PlatformStatus: ").append(getPlatformStatus()).append(","); if (getPlatformCategory() != null) sb.append("PlatformCategory: ").append(getPlatformCategory()).append(","); if (getOperatingSystemName() != null) sb.append("OperatingSystemName: ").append(getOperatingSystemName()).append(","); if (getOperatingSystemVersion() != null) sb.append("OperatingSystemVersion: ").append(getOperatingSystemVersion()).append(","); if (getSupportedTierList() != null) sb.append("SupportedTierList: ").append(getSupportedTierList()).append(","); if (getSupportedAddonList() != null) sb.append("SupportedAddonList: ").append(getSupportedAddonList()); sb.append("}"); return sb.toString();