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

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

            return
                ((
                     DiffPath == other.DiffPath ||
                     DiffPath != null &&
                     DiffPath.Equals(other.DiffPath)
                     ) &&
                 (
                     ServiceName == other.ServiceName ||
                     ServiceName != null &&
                     ServiceName.Equals(other.ServiceName)
                 ) &&
                 (
                     ServiceUserTarget == other.ServiceUserTarget ||
                     ServiceUserTarget != null &&
                     ServiceUserTarget.Equals(other.ServiceUserTarget)
                 ));
        }
Exemplo n.º 3
0
        /// <summary>
        /// Returns true if ComAdobeGraniteDistributionCoreImplDiffDiffChangesObserverProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeGraniteDistributionCoreImplDiffDiffChangesObserverProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeGraniteDistributionCoreImplDiffDiffChangesObserverProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Enabled == other.Enabled ||
                     Enabled != null &&
                     Enabled.Equals(other.Enabled)
                     ) &&
                 (
                     AgentName == other.AgentName ||
                     AgentName != null &&
                     AgentName.Equals(other.AgentName)
                 ) &&
                 (
                     DiffPath == other.DiffPath ||
                     DiffPath != null &&
                     DiffPath.Equals(other.DiffPath)
                 ) &&
                 (
                     ObservedPath == other.ObservedPath ||
                     ObservedPath != null &&
                     ObservedPath.Equals(other.ObservedPath)
                 ) &&
                 (
                     ServiceName == other.ServiceName ||
                     ServiceName != null &&
                     ServiceName.Equals(other.ServiceName)
                 ) &&
                 (
                     PropertyNames == other.PropertyNames ||
                     PropertyNames != null &&
                     PropertyNames.Equals(other.PropertyNames)
                 ) &&
                 (
                     DistributionDelay == other.DistributionDelay ||
                     DistributionDelay != null &&
                     DistributionDelay.Equals(other.DistributionDelay)
                 ) &&
                 (
                     ServiceUserTarget == other.ServiceUserTarget ||
                     ServiceUserTarget != null &&
                     ServiceUserTarget.Equals(other.ServiceUserTarget)
                 ));
        }