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

            return
                ((
                     PurgeCompleted == other.PurgeCompleted ||
                     PurgeCompleted != null &&
                     PurgeCompleted.Equals(other.PurgeCompleted)
                     ) &&
                 (
                     CompletedAge == other.CompletedAge ||
                     CompletedAge != null &&
                     CompletedAge.Equals(other.CompletedAge)
                 ) &&
                 (
                     PurgeActive == other.PurgeActive ||
                     PurgeActive != null &&
                     PurgeActive.Equals(other.PurgeActive)
                 ) &&
                 (
                     ActiveAge == other.ActiveAge ||
                     ActiveAge != null &&
                     ActiveAge.Equals(other.ActiveAge)
                 ) &&
                 (
                     SaveThreshold == other.SaveThreshold ||
                     SaveThreshold != null &&
                     SaveThreshold.Equals(other.SaveThreshold)
                 ));
        }