/** * 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 (getThingTypeName() != null) sb.append("ThingTypeName: ").append(getThingTypeName()).append(","); if (getThingTypeId() != null) sb.append("ThingTypeId: ").append(getThingTypeId()).append(","); if (getThingTypeArn() != null) sb.append("ThingTypeArn: ").append(getThingTypeArn()).append(","); if (getThingTypeProperties() != null) sb.append("ThingTypeProperties: ").append(getThingTypeProperties()).append(","); if (getThingTypeMetadata() != null) sb.append("ThingTypeMetadata: ").append(getThingTypeMetadata()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingTypeName() == null) ? 0 : getThingTypeName().hashCode()); hashCode = prime * hashCode + ((getThingTypeId() == null) ? 0 : getThingTypeId().hashCode()); hashCode = prime * hashCode + ((getThingTypeArn() == null) ? 0 : getThingTypeArn().hashCode()); hashCode = prime * hashCode + ((getThingTypeProperties() == null) ? 0 : getThingTypeProperties().hashCode()); hashCode = prime * hashCode + ((getThingTypeMetadata() == null) ? 0 : getThingTypeMetadata().hashCode()); return hashCode; }
if (other.getThingTypeProperties() != null && other.getThingTypeProperties().equals(this.getThingTypeProperties()) == false) return false; if (other.getThingTypeMetadata() == null ^ this.getThingTypeMetadata() == null) return false; if (other.getThingTypeMetadata() != null && other.getThingTypeMetadata().equals(this.getThingTypeMetadata()) == false) return false; return true;
/** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getThingTypeName() != null) sb.append("thingTypeName: " + getThingTypeName() + ","); if (getThingTypeId() != null) sb.append("thingTypeId: " + getThingTypeId() + ","); if (getThingTypeArn() != null) sb.append("thingTypeArn: " + getThingTypeArn() + ","); if (getThingTypeProperties() != null) sb.append("thingTypeProperties: " + getThingTypeProperties() + ","); if (getThingTypeMetadata() != null) sb.append("thingTypeMetadata: " + getThingTypeMetadata()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingTypeName() == null) ? 0 : getThingTypeName().hashCode()); hashCode = prime * hashCode + ((getThingTypeId() == null) ? 0 : getThingTypeId().hashCode()); hashCode = prime * hashCode + ((getThingTypeArn() == null) ? 0 : getThingTypeArn().hashCode()); hashCode = prime * hashCode + ((getThingTypeProperties() == null) ? 0 : getThingTypeProperties().hashCode()); hashCode = prime * hashCode + ((getThingTypeMetadata() == null) ? 0 : getThingTypeMetadata().hashCode()); return hashCode; }
&& other.getThingTypeProperties().equals(this.getThingTypeProperties()) == false) return false; if (other.getThingTypeMetadata() == null ^ this.getThingTypeMetadata() == null) return false; if (other.getThingTypeMetadata() != null && other.getThingTypeMetadata().equals(this.getThingTypeMetadata()) == 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 (getThingTypeName() != null) sb.append("ThingTypeName: ").append(getThingTypeName()).append(","); if (getThingTypeId() != null) sb.append("ThingTypeId: ").append(getThingTypeId()).append(","); if (getThingTypeArn() != null) sb.append("ThingTypeArn: ").append(getThingTypeArn()).append(","); if (getThingTypeProperties() != null) sb.append("ThingTypeProperties: ").append(getThingTypeProperties()).append(","); if (getThingTypeMetadata() != null) sb.append("ThingTypeMetadata: ").append(getThingTypeMetadata()); sb.append("}"); return sb.toString(); }
/** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getThingTypeName() != null) sb.append("thingTypeName: " + getThingTypeName() + ","); if (getThingTypeId() != null) sb.append("thingTypeId: " + getThingTypeId() + ","); if (getThingTypeArn() != null) sb.append("thingTypeArn: " + getThingTypeArn() + ","); if (getThingTypeProperties() != null) sb.append("thingTypeProperties: " + getThingTypeProperties() + ","); if (getThingTypeMetadata() != null) sb.append("thingTypeMetadata: " + getThingTypeMetadata()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingTypeName() == null) ? 0 : getThingTypeName().hashCode()); hashCode = prime * hashCode + ((getThingTypeId() == null) ? 0 : getThingTypeId().hashCode()); hashCode = prime * hashCode + ((getThingTypeArn() == null) ? 0 : getThingTypeArn().hashCode()); hashCode = prime * hashCode + ((getThingTypeProperties() == null) ? 0 : getThingTypeProperties().hashCode()); hashCode = prime * hashCode + ((getThingTypeMetadata() == null) ? 0 : getThingTypeMetadata().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingTypeName() == null) ? 0 : getThingTypeName().hashCode()); hashCode = prime * hashCode + ((getThingTypeId() == null) ? 0 : getThingTypeId().hashCode()); hashCode = prime * hashCode + ((getThingTypeArn() == null) ? 0 : getThingTypeArn().hashCode()); hashCode = prime * hashCode + ((getThingTypeProperties() == null) ? 0 : getThingTypeProperties().hashCode()); hashCode = prime * hashCode + ((getThingTypeMetadata() == null) ? 0 : getThingTypeMetadata().hashCode()); return hashCode; }
if (other.getThingTypeProperties() != null && other.getThingTypeProperties().equals(this.getThingTypeProperties()) == false) return false; if (other.getThingTypeMetadata() == null ^ this.getThingTypeMetadata() == null) return false; if (other.getThingTypeMetadata() != null && other.getThingTypeMetadata().equals(this.getThingTypeMetadata()) == false) return false; return true;
&& other.getThingTypeProperties().equals(this.getThingTypeProperties()) == false) return false; if (other.getThingTypeMetadata() == null ^ this.getThingTypeMetadata() == null) return false; if (other.getThingTypeMetadata() != null && other.getThingTypeMetadata().equals(this.getThingTypeMetadata()) == false) return false; return true;