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

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

            return
                ((
                     FieldWhitelist == other.FieldWhitelist ||
                     FieldWhitelist != null &&
                     FieldWhitelist.Equals(other.FieldWhitelist)
                     ) &&
                 (
                     SitePathFilters == other.SitePathFilters ||
                     SitePathFilters != null &&
                     SitePathFilters.Equals(other.SitePathFilters)
                 ) &&
                 (
                     SitePackageGroup == other.SitePackageGroup ||
                     SitePackageGroup != null &&
                     SitePackageGroup.Equals(other.SitePackageGroup)
                 ));
        }
 /// <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 (FieldWhitelist != null)
         {
             hashCode = hashCode * 59 + FieldWhitelist.GetHashCode();
         }
         if (AttachmentTypeBlacklist != null)
         {
             hashCode = hashCode * 59 + AttachmentTypeBlacklist.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 (FieldWhitelist != null)
         {
             hashCode = hashCode * 59 + FieldWhitelist.GetHashCode();
         }
         if (SitePathFilters != null)
         {
             hashCode = hashCode * 59 + SitePathFilters.GetHashCode();
         }
         if (SitePackageGroup != null)
         {
             hashCode = hashCode * 59 + SitePackageGroup.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if ComAdobeCqSocialFilelibraryClientEndpointsImplFileLibraryOperaProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeCqSocialFilelibraryClientEndpointsImplFileLibraryOperaProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeCqSocialFilelibraryClientEndpointsImplFileLibraryOperaProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

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

            return
                ((
                     FieldWhitelist == other.FieldWhitelist ||
                     FieldWhitelist != null &&
                     FieldWhitelist.Equals(other.FieldWhitelist)
                     ) &&
                 (
                     AttachmentTypeBlacklist == other.AttachmentTypeBlacklist ||
                     AttachmentTypeBlacklist != null &&
                     AttachmentTypeBlacklist.Equals(other.AttachmentTypeBlacklist)
                 ));
        }