@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode()); hashCode = prime * hashCode + ((getServiceName() == null) ? 0 : getServiceName().hashCode()); hashCode = prime * hashCode + ((getServiceUserName() == null) ? 0 : getServiceUserName().hashCode()); hashCode = prime * hashCode + ((getServicePassword() == null) ? 0 : getServicePassword().hashCode()); hashCode = prime * hashCode + ((getServiceSpecificCredentialId() == null) ? 0 : getServiceSpecificCredentialId().hashCode()); hashCode = prime * hashCode + ((getUserName() == null) ? 0 : getUserName().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getServiceSpecificCredential() == null) ? 0 : getServiceSpecificCredential().hashCode()); return hashCode; }
public ServiceSpecificCredential unmarshall(StaxUnmarshallerContext context) throws Exception { ServiceSpecificCredential serviceSpecificCredential = new ServiceSpecificCredential(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; serviceSpecificCredential.setCreateDate(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; serviceSpecificCredential.setServiceName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setServiceUserName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setServicePassword(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setServiceSpecificCredentialId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setUserName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateServiceSpecificCredentialResult == false) return false; CreateServiceSpecificCredentialResult other = (CreateServiceSpecificCredentialResult) obj; if (other.getServiceSpecificCredential() == null ^ this.getServiceSpecificCredential() == null) return false; if (other.getServiceSpecificCredential() != null && other.getServiceSpecificCredential().equals(this.getServiceSpecificCredential()) == false) return false; return true; }
public ServiceSpecificCredential unmarshall(StaxUnmarshallerContext context) throws Exception { ServiceSpecificCredential serviceSpecificCredential = new ServiceSpecificCredential(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; serviceSpecificCredential.setCreateDate(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; serviceSpecificCredential.setServiceName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setServiceUserName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setServicePassword(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setServiceSpecificCredentialId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setUserName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; serviceSpecificCredential.setStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ResetServiceSpecificCredentialResult == false) return false; ResetServiceSpecificCredentialResult other = (ResetServiceSpecificCredentialResult) obj; if (other.getServiceSpecificCredential() == null ^ this.getServiceSpecificCredential() == null) return false; if (other.getServiceSpecificCredential() != null && other.getServiceSpecificCredential().equals(this.getServiceSpecificCredential()) == false) return false; return true; }
return false; ServiceSpecificCredential other = (ServiceSpecificCredential) obj; if (other.getCreateDate() == null ^ this.getCreateDate() == null) return false; if (other.getCreateDate() != null && other.getCreateDate().equals(this.getCreateDate()) == false) return false; if (other.getServiceName() == null ^ this.getServiceName() == null) return false; if (other.getServiceName() != null && other.getServiceName().equals(this.getServiceName()) == false) return false; if (other.getServiceUserName() == null ^ this.getServiceUserName() == null) return false; if (other.getServiceUserName() != null && other.getServiceUserName().equals(this.getServiceUserName()) == false) return false; if (other.getServicePassword() == null ^ this.getServicePassword() == null) return false; if (other.getServicePassword() != null && other.getServicePassword().equals(this.getServicePassword()) == false) return false; if (other.getServiceSpecificCredentialId() == null ^ this.getServiceSpecificCredentialId() == null) return false; if (other.getServiceSpecificCredentialId() != null && other.getServiceSpecificCredentialId().equals(this.getServiceSpecificCredentialId()) == false) return false; if (other.getUserName() == null ^ this.getUserName() == null) return false; if (other.getUserName() != null && other.getUserName().equals(this.getUserName()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getServiceSpecificCredential() == null) ? 0 : getServiceSpecificCredential().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateServiceSpecificCredentialResult == false) return false; CreateServiceSpecificCredentialResult other = (CreateServiceSpecificCredentialResult) obj; if (other.getServiceSpecificCredential() == null ^ this.getServiceSpecificCredential() == null) return false; if (other.getServiceSpecificCredential() != null && other.getServiceSpecificCredential().equals(this.getServiceSpecificCredential()) == false) return false; return true; }
/** * 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 (getCreateDate() != null) sb.append("CreateDate: ").append(getCreateDate()).append(","); if (getServiceName() != null) sb.append("ServiceName: ").append(getServiceName()).append(","); if (getServiceUserName() != null) sb.append("ServiceUserName: ").append(getServiceUserName()).append(","); if (getServicePassword() != null) sb.append("ServicePassword: ").append("***Sensitive Data Redacted***").append(","); if (getServiceSpecificCredentialId() != null) sb.append("ServiceSpecificCredentialId: ").append(getServiceSpecificCredentialId()).append(","); if (getUserName() != null) sb.append("UserName: ").append(getUserName()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getServiceSpecificCredential() == null) ? 0 : getServiceSpecificCredential().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ResetServiceSpecificCredentialResult == false) return false; ResetServiceSpecificCredentialResult other = (ResetServiceSpecificCredentialResult) obj; if (other.getServiceSpecificCredential() == null ^ this.getServiceSpecificCredential() == null) return false; if (other.getServiceSpecificCredential() != null && other.getServiceSpecificCredential().equals(this.getServiceSpecificCredential()) == false) return false; return true; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode()); hashCode = prime * hashCode + ((getServiceName() == null) ? 0 : getServiceName().hashCode()); hashCode = prime * hashCode + ((getServiceUserName() == null) ? 0 : getServiceUserName().hashCode()); hashCode = prime * hashCode + ((getServicePassword() == null) ? 0 : getServicePassword().hashCode()); hashCode = prime * hashCode + ((getServiceSpecificCredentialId() == null) ? 0 : getServiceSpecificCredentialId().hashCode()); hashCode = prime * hashCode + ((getUserName() == null) ? 0 : getUserName().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getServiceSpecificCredential() == null) ? 0 : getServiceSpecificCredential().hashCode()); return hashCode; }
return false; ServiceSpecificCredential other = (ServiceSpecificCredential) obj; if (other.getCreateDate() == null ^ this.getCreateDate() == null) return false; if (other.getCreateDate() != null && other.getCreateDate().equals(this.getCreateDate()) == false) return false; if (other.getServiceName() == null ^ this.getServiceName() == null) return false; if (other.getServiceName() != null && other.getServiceName().equals(this.getServiceName()) == false) return false; if (other.getServiceUserName() == null ^ this.getServiceUserName() == null) return false; if (other.getServiceUserName() != null && other.getServiceUserName().equals(this.getServiceUserName()) == false) return false; if (other.getServicePassword() == null ^ this.getServicePassword() == null) return false; if (other.getServicePassword() != null && other.getServicePassword().equals(this.getServicePassword()) == false) return false; if (other.getServiceSpecificCredentialId() == null ^ this.getServiceSpecificCredentialId() == null) return false; if (other.getServiceSpecificCredentialId() != null && other.getServiceSpecificCredentialId().equals(this.getServiceSpecificCredentialId()) == false) return false; if (other.getUserName() == null ^ this.getUserName() == null) return false; if (other.getUserName() != null && other.getUserName().equals(this.getUserName()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
/** * 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 (getCreateDate() != null) sb.append("CreateDate: ").append(getCreateDate()).append(","); if (getServiceName() != null) sb.append("ServiceName: ").append(getServiceName()).append(","); if (getServiceUserName() != null) sb.append("ServiceUserName: ").append(getServiceUserName()).append(","); if (getServicePassword() != null) sb.append("ServicePassword: ").append("***Sensitive Data Redacted***").append(","); if (getServiceSpecificCredentialId() != null) sb.append("ServiceSpecificCredentialId: ").append(getServiceSpecificCredentialId()).append(","); if (getUserName() != null) sb.append("UserName: ").append(getUserName()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()); sb.append("}"); return sb.toString(); }