* The assistant association. *
*/ private AssistantAssociationData assistantAssociation; /** ** The assistant association. *
* * @param assistantAssociation * The assistant association. */ public void setAssistantAssociation(AssistantAssociationData assistantAssociation) { this.assistantAssociation = assistantAssociation; } /** ** The assistant association. *
* * @return The assistant association. */ public AssistantAssociationData getAssistantAssociation() { return this.assistantAssociation; } /** ** The assistant association. *
* * @param assistantAssociation * The assistant association. * @return Returns a reference to this object so that method calls can be chained together. */ public GetAssistantAssociationResult withAssistantAssociation(AssistantAssociationData assistantAssociation) { setAssistantAssociation(assistantAssociation); return this; } /** * 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 (getAssistantAssociation() != null) sb.append("AssistantAssociation: ").append(getAssistantAssociation()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetAssistantAssociationResult == false) return false; GetAssistantAssociationResult other = (GetAssistantAssociationResult) obj; if (other.getAssistantAssociation() == null ^ this.getAssistantAssociation() == null) return false; if (other.getAssistantAssociation() != null && other.getAssistantAssociation().equals(this.getAssistantAssociation()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAssistantAssociation() == null) ? 0 : getAssistantAssociation().hashCode()); return hashCode; } @Override public GetAssistantAssociationResult clone() { try { return (GetAssistantAssociationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }