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

            return
                ((
                     Enable == other.Enable ||
                     Enable != null &&
                     Enable.Equals(other.Enable)
                     ) &&
                 (
                     Ttl1 == other.Ttl1 ||
                     Ttl1 != null &&
                     Ttl1.Equals(other.Ttl1)
                 ) &&
                 (
                     Ttl2 == other.Ttl2 ||
                     Ttl2 != null &&
                     Ttl2.Equals(other.Ttl2)
                 ));
        }
Пример #2
0
        public override bool Equals(object o)
        {
            if (!(o is UsageStatistics))
            {
                return(false);
            }
            UsageStatistics v = o as UsageStatistics;

            if (!Enable.Equals(v.Enable))
            {
                return(false);
            }
            if (!UsageStatsInfo.Equals(v.UsageStatsInfo))
            {
                return(false);
            }
            return(true);
        }
Пример #3
0
        public override bool Equals(object o)
        {
            if (!(o is RssFeed))
            {
                return(false);
            }
            RssFeed v = o as RssFeed;

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

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

            return
                ((
                     Enable == other.Enable ||
                     Enable != null &&
                     Enable.Equals(other.Enable)
                     ) &&
                 (
                     AgentConfiguration == other.AgentConfiguration ||
                     AgentConfiguration != null &&
                     AgentConfiguration.Equals(other.AgentConfiguration)
                 ) &&
                 (
                     ContextPath == other.ContextPath ||
                     ContextPath != null &&
                     ContextPath.Equals(other.ContextPath)
                 ) &&
                 (
                     DisabledCipherSuites == other.DisabledCipherSuites ||
                     DisabledCipherSuites != null &&
                     DisabledCipherSuites.Equals(other.DisabledCipherSuites)
                 ) &&
                 (
                     EnabledCipherSuites == other.EnabledCipherSuites ||
                     EnabledCipherSuites != null &&
                     EnabledCipherSuites.Equals(other.EnabledCipherSuites)
                 ));
        }