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

            return
                ((
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                     ) &&
                 (
                     Type == other.Type ||
                     Type != null &&
                     Type.Equals(other.Type)
                 ) &&
                 (
                     ImportMode == other.ImportMode ||
                     ImportMode != null &&
                     ImportMode.Equals(other.ImportMode)
                 ) &&
                 (
                     AclHandling == other.AclHandling ||
                     AclHandling != null &&
                     AclHandling.Equals(other.AclHandling)
                 ) &&
                 (
                     PackageRoots == other.PackageRoots ||
                     PackageRoots != null &&
                     PackageRoots.Equals(other.PackageRoots)
                 ) &&
                 (
                     PackageFilters == other.PackageFilters ||
                     PackageFilters != null &&
                     PackageFilters.Equals(other.PackageFilters)
                 ) &&
                 (
                     PropertyFilters == other.PropertyFilters ||
                     PropertyFilters != null &&
                     PropertyFilters.Equals(other.PropertyFilters)
                 ) &&
                 (
                     TempFsFolder == other.TempFsFolder ||
                     TempFsFolder != null &&
                     TempFsFolder.Equals(other.TempFsFolder)
                 ) &&
                 (
                     UseBinaryReferences == other.UseBinaryReferences ||
                     UseBinaryReferences != null &&
                     UseBinaryReferences.Equals(other.UseBinaryReferences)
                 ) &&
                 (
                     AutoSaveThreshold == other.AutoSaveThreshold ||
                     AutoSaveThreshold != null &&
                     AutoSaveThreshold.Equals(other.AutoSaveThreshold)
                 ) &&
                 (
                     CleanupDelay == other.CleanupDelay ||
                     CleanupDelay != null &&
                     CleanupDelay.Equals(other.CleanupDelay)
                 ) &&
                 (
                     FileThreshold == other.FileThreshold ||
                     FileThreshold != null &&
                     FileThreshold.Equals(other.FileThreshold)
                 ) &&
                 (
                     MEGA_BYTES == other.MEGA_BYTES ||
                     MEGA_BYTES != null &&
                     MEGA_BYTES.Equals(other.MEGA_BYTES)
                 ) &&
                 (
                     UseOffHeapMemory == other.UseOffHeapMemory ||
                     UseOffHeapMemory != null &&
                     UseOffHeapMemory.Equals(other.UseOffHeapMemory)
                 ) &&
                 (
                     DigestAlgorithm == other.DigestAlgorithm ||
                     DigestAlgorithm != null &&
                     DigestAlgorithm.Equals(other.DigestAlgorithm)
                 ) &&
                 (
                     MonitoringQueueSize == other.MonitoringQueueSize ||
                     MonitoringQueueSize != null &&
                     MonitoringQueueSize.Equals(other.MonitoringQueueSize)
                 ) &&
                 (
                     PathsMapping == other.PathsMapping ||
                     PathsMapping != null &&
                     PathsMapping.Equals(other.PathsMapping)
                 ) &&
                 (
                     StrictImport == other.StrictImport ||
                     StrictImport != null &&
                     StrictImport.Equals(other.StrictImport)
                 ));
        }
Пример #2
0
        /// <summary>
        /// Returns true if OrgApacheSlingDistributionSerializationImplDistributionPackageBuProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingDistributionSerializationImplDistributionPackageBuProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingDistributionSerializationImplDistributionPackageBuProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                     ) &&
                 (
                     Type == other.Type ||
                     Type != null &&
                     Type.Equals(other.Type)
                 ) &&
                 (
                     FormatTarget == other.FormatTarget ||
                     FormatTarget != null &&
                     FormatTarget.Equals(other.FormatTarget)
                 ) &&
                 (
                     TempFsFolder == other.TempFsFolder ||
                     TempFsFolder != null &&
                     TempFsFolder.Equals(other.TempFsFolder)
                 ) &&
                 (
                     FileThreshold == other.FileThreshold ||
                     FileThreshold != null &&
                     FileThreshold.Equals(other.FileThreshold)
                 ) &&
                 (
                     MemoryUnit == other.MemoryUnit ||
                     MemoryUnit != null &&
                     MemoryUnit.Equals(other.MemoryUnit)
                 ) &&
                 (
                     UseOffHeapMemory == other.UseOffHeapMemory ||
                     UseOffHeapMemory != null &&
                     UseOffHeapMemory.Equals(other.UseOffHeapMemory)
                 ) &&
                 (
                     DigestAlgorithm == other.DigestAlgorithm ||
                     DigestAlgorithm != null &&
                     DigestAlgorithm.Equals(other.DigestAlgorithm)
                 ) &&
                 (
                     MonitoringQueueSize == other.MonitoringQueueSize ||
                     MonitoringQueueSize != null &&
                     MonitoringQueueSize.Equals(other.MonitoringQueueSize)
                 ) &&
                 (
                     CleanupDelay == other.CleanupDelay ||
                     CleanupDelay != null &&
                     CleanupDelay.Equals(other.CleanupDelay)
                 ) &&
                 (
                     PackageFilters == other.PackageFilters ||
                     PackageFilters != null &&
                     PackageFilters.Equals(other.PackageFilters)
                 ) &&
                 (
                     PropertyFilters == other.PropertyFilters ||
                     PropertyFilters != null &&
                     PropertyFilters.Equals(other.PropertyFilters)
                 ));
        }