/// <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)
                 ));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if ComDayCqReplicationImplTransportHttpProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqReplicationImplTransportHttpProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqReplicationImplTransportHttpProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

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