/// <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 (ServiceName != null) { hashCode = hashCode * 59 + ServiceName.GetHashCode(); } if (SlingServletResourceTypes != null) { hashCode = hashCode * 59 + SlingServletResourceTypes.GetHashCode(); } if (SlingServletSelectors != null) { hashCode = hashCode * 59 + SlingServletSelectors.GetHashCode(); } if (SlingServletMethods != null) { hashCode = hashCode * 59 + SlingServletMethods.GetHashCode(); } if (FormsFormchooserservletAdvansesearchRequire != null) { hashCode = hashCode * 59 + FormsFormchooserservletAdvansesearchRequire.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComDayCqDamCoreImplServletBinaryProviderServletProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqDamCoreImplServletBinaryProviderServletProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqDamCoreImplServletBinaryProviderServletProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SlingServletResourceTypes == other.SlingServletResourceTypes || SlingServletResourceTypes != null && SlingServletResourceTypes.Equals(other.SlingServletResourceTypes) ) && ( SlingServletMethods == other.SlingServletMethods || SlingServletMethods != null && SlingServletMethods.Equals(other.SlingServletMethods) ) && ( CqDamDrmEnable == other.CqDamDrmEnable || CqDamDrmEnable != null && CqDamDrmEnable.Equals(other.CqDamDrmEnable) )); }
/// <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 (SlingServletResourceTypes != null) { hashCode = hashCode * 59 + SlingServletResourceTypes.GetHashCode(); } if (SlingServletMethods != null) { hashCode = hashCode * 59 + SlingServletMethods.GetHashCode(); } if (SlingServletExtensions != null) { hashCode = hashCode * 59 + SlingServletExtensions.GetHashCode(); } if (SlingServletSelectors != null) { hashCode = hashCode * 59 + SlingServletSelectors.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComDayCqDamCoreImplServletMetadataGetServletProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqDamCoreImplServletMetadataGetServletProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqDamCoreImplServletMetadataGetServletProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SlingServletResourceTypes == other.SlingServletResourceTypes || SlingServletResourceTypes != null && SlingServletResourceTypes.Equals(other.SlingServletResourceTypes) ) && ( SlingServletMethods == other.SlingServletMethods || SlingServletMethods != null && SlingServletMethods.Equals(other.SlingServletMethods) ) && ( SlingServletExtensions == other.SlingServletExtensions || SlingServletExtensions != null && SlingServletExtensions.Equals(other.SlingServletExtensions) ) && ( SlingServletSelectors == other.SlingServletSelectors || SlingServletSelectors != null && SlingServletSelectors.Equals(other.SlingServletSelectors) )); }
/// <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 (SlingServletResourceTypes != null) { hashCode = hashCode * 59 + SlingServletResourceTypes.GetHashCode(); } if (SlingServletMethods != null) { hashCode = hashCode * 59 + SlingServletMethods.GetHashCode(); } if (SlingServletSelectors != null) { hashCode = hashCode * 59 + SlingServletSelectors.GetHashCode(); } if (DownloadConfig != null) { hashCode = hashCode * 59 + DownloadConfig.GetHashCode(); } if (ViewSelector != null) { hashCode = hashCode * 59 + ViewSelector.GetHashCode(); } if (SendEmail != null) { hashCode = hashCode * 59 + SendEmail.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComDayCqWcmFoundationFormsImplMailServletProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqWcmFoundationFormsImplMailServletProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqWcmFoundationFormsImplMailServletProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SlingServletResourceTypes == other.SlingServletResourceTypes || SlingServletResourceTypes != null && SlingServletResourceTypes.Equals(other.SlingServletResourceTypes) ) && ( SlingServletSelectors == other.SlingServletSelectors || SlingServletSelectors != null && SlingServletSelectors.Equals(other.SlingServletSelectors) ) && ( ResourceWhitelist == other.ResourceWhitelist || ResourceWhitelist != null && ResourceWhitelist.Equals(other.ResourceWhitelist) ) && ( ResourceBlacklist == other.ResourceBlacklist || ResourceBlacklist != null && ResourceBlacklist.Equals(other.ResourceBlacklist) )); }
/// <summary> /// Returns true if ComDayCqDamCoreImplServletResourceCollectionServletProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqDamCoreImplServletResourceCollectionServletProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqDamCoreImplServletResourceCollectionServletProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SlingServletResourceTypes == other.SlingServletResourceTypes || SlingServletResourceTypes != null && SlingServletResourceTypes.Equals(other.SlingServletResourceTypes) ) && ( SlingServletMethods == other.SlingServletMethods || SlingServletMethods != null && SlingServletMethods.Equals(other.SlingServletMethods) ) && ( SlingServletSelectors == other.SlingServletSelectors || SlingServletSelectors != null && SlingServletSelectors.Equals(other.SlingServletSelectors) ) && ( DownloadConfig == other.DownloadConfig || DownloadConfig != null && DownloadConfig.Equals(other.DownloadConfig) ) && ( ViewSelector == other.ViewSelector || ViewSelector != null && ViewSelector.Equals(other.ViewSelector) ) && ( SendEmail == other.SendEmail || SendEmail != null && SendEmail.Equals(other.SendEmail) )); }
/// <summary> /// Returns true if ComDayCqWcmFoundationFormsImplFormChooserServletProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqWcmFoundationFormsImplFormChooserServletProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqWcmFoundationFormsImplFormChooserServletProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ServiceName == other.ServiceName || ServiceName != null && ServiceName.Equals(other.ServiceName) ) && ( SlingServletResourceTypes == other.SlingServletResourceTypes || SlingServletResourceTypes != null && SlingServletResourceTypes.Equals(other.SlingServletResourceTypes) ) && ( SlingServletSelectors == other.SlingServletSelectors || SlingServletSelectors != null && SlingServletSelectors.Equals(other.SlingServletSelectors) ) && ( SlingServletMethods == other.SlingServletMethods || SlingServletMethods != null && SlingServletMethods.Equals(other.SlingServletMethods) ) && ( FormsFormchooserservletAdvansesearchRequire == other.FormsFormchooserservletAdvansesearchRequire || FormsFormchooserservletAdvansesearchRequire != null && FormsFormchooserservletAdvansesearchRequire.Equals(other.FormsFormchooserservletAdvansesearchRequire) )); }