/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (AuthImsClientSecret != null) { hashCode = hashCode * 59 + AuthImsClientSecret.GetHashCode(); } if (CustomizerType != null) { hashCode = hashCode * 59 + CustomizerType.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComAdobeGraniteAuthImsImplIMSAccessTokenRequestCustomizerImplProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeGraniteAuthImsImplIMSAccessTokenRequestCustomizerImplProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeGraniteAuthImsImplIMSAccessTokenRequestCustomizerImplProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( AuthImsClientSecret == other.AuthImsClientSecret || AuthImsClientSecret != null && AuthImsClientSecret.Equals(other.AuthImsClientSecret) ) && ( CustomizerType == other.CustomizerType || CustomizerType != null && CustomizerType.Equals(other.CustomizerType) )); }