/// <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>
 /// 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);
     }
 }
Beispiel #3
0
 /// <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 (SlingServletSelectors != null)
         {
             hashCode = hashCode * 59 + SlingServletSelectors.GetHashCode();
         }
         if (ResourceWhitelist != null)
         {
             hashCode = hashCode * 59 + ResourceWhitelist.GetHashCode();
         }
         if (ResourceBlacklist != null)
         {
             hashCode = hashCode * 59 + ResourceBlacklist.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #4
0
        /// <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>
 /// 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 (SlingServletSelectors != null)
         {
             hashCode = hashCode * 59 + SlingServletSelectors.GetHashCode();
         }
         if (SlingServletExtensions != null)
         {
             hashCode = hashCode * 59 + SlingServletExtensions.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <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)
                 ));
        }
        /// <summary>
        /// Returns true if ComAdobeCqSocialScfEndpointsImplDefaultSocialGetServletProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeCqSocialScfEndpointsImplDefaultSocialGetServletProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeCqSocialScfEndpointsImplDefaultSocialGetServletProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     SlingServletSelectors == other.SlingServletSelectors ||
                     SlingServletSelectors != null &&
                     SlingServletSelectors.Equals(other.SlingServletSelectors)
                     ) &&
                 (
                     SlingServletExtensions == other.SlingServletExtensions ||
                     SlingServletExtensions != null &&
                     SlingServletExtensions.Equals(other.SlingServletExtensions)
                 ));
        }
        /// <summary>
        /// Returns true if ComAdobeCqSocialFilelibraryClientEndpointsFilelibraryDownloadGeProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeCqSocialFilelibraryClientEndpointsFilelibraryDownloadGeProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeCqSocialFilelibraryClientEndpointsFilelibraryDownloadGeProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     SlingServletSelectors == other.SlingServletSelectors ||
                     SlingServletSelectors != null &&
                     SlingServletSelectors.Equals(other.SlingServletSelectors)
                     ) &&
                 (
                     SlingServletExtensions == other.SlingServletExtensions ||
                     SlingServletExtensions != null &&
                     SlingServletExtensions.Equals(other.SlingServletExtensions)
                 ));
        }
Beispiel #10
0
        /// <summary>
        /// Returns true if OrgApacheSlingServletsGetImplVersionVersionInfoServletProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingServletsGetImplVersionVersionInfoServletProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingServletsGetImplVersionVersionInfoServletProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     SlingServletSelectors == other.SlingServletSelectors ||
                     SlingServletSelectors != null &&
                     SlingServletSelectors.Equals(other.SlingServletSelectors)
                     ) &&
                 (
                     EcmaSuport == other.EcmaSuport ||
                     EcmaSuport != null &&
                     EcmaSuport.Equals(other.EcmaSuport)
                 ));
        }