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

            return
                ((
                     ConnectorPingTimeout == other.ConnectorPingTimeout ||
                     ConnectorPingTimeout != null &&
                     ConnectorPingTimeout.Equals(other.ConnectorPingTimeout)
                     ) &&
                 (
                     ConnectorPingInterval == other.ConnectorPingInterval ||
                     ConnectorPingInterval != null &&
                     ConnectorPingInterval.Equals(other.ConnectorPingInterval)
                 ) &&
                 (
                     DiscoveryLiteCheckInterval == other.DiscoveryLiteCheckInterval ||
                     DiscoveryLiteCheckInterval != null &&
                     DiscoveryLiteCheckInterval.Equals(other.DiscoveryLiteCheckInterval)
                 ) &&
                 (
                     ClusterSyncServiceTimeout == other.ClusterSyncServiceTimeout ||
                     ClusterSyncServiceTimeout != null &&
                     ClusterSyncServiceTimeout.Equals(other.ClusterSyncServiceTimeout)
                 ) &&
                 (
                     ClusterSyncServiceInterval == other.ClusterSyncServiceInterval ||
                     ClusterSyncServiceInterval != null &&
                     ClusterSyncServiceInterval.Equals(other.ClusterSyncServiceInterval)
                 ) &&
                 (
                     EnableSyncToken == other.EnableSyncToken ||
                     EnableSyncToken != null &&
                     EnableSyncToken.Equals(other.EnableSyncToken)
                 ) &&
                 (
                     MinEventDelay == other.MinEventDelay ||
                     MinEventDelay != null &&
                     MinEventDelay.Equals(other.MinEventDelay)
                 ) &&
                 (
                     SocketConnectTimeout == other.SocketConnectTimeout ||
                     SocketConnectTimeout != null &&
                     SocketConnectTimeout.Equals(other.SocketConnectTimeout)
                 ) &&
                 (
                     SoTimeout == other.SoTimeout ||
                     SoTimeout != null &&
                     SoTimeout.Equals(other.SoTimeout)
                 ) &&
                 (
                     TopologyConnectorUrls == other.TopologyConnectorUrls ||
                     TopologyConnectorUrls != null &&
                     TopologyConnectorUrls.Equals(other.TopologyConnectorUrls)
                 ) &&
                 (
                     TopologyConnectorWhitelist == other.TopologyConnectorWhitelist ||
                     TopologyConnectorWhitelist != null &&
                     TopologyConnectorWhitelist.Equals(other.TopologyConnectorWhitelist)
                 ) &&
                 (
                     AutoStopLocalLoopEnabled == other.AutoStopLocalLoopEnabled ||
                     AutoStopLocalLoopEnabled != null &&
                     AutoStopLocalLoopEnabled.Equals(other.AutoStopLocalLoopEnabled)
                 ) &&
                 (
                     GzipConnectorRequestsEnabled == other.GzipConnectorRequestsEnabled ||
                     GzipConnectorRequestsEnabled != null &&
                     GzipConnectorRequestsEnabled.Equals(other.GzipConnectorRequestsEnabled)
                 ) &&
                 (
                     HmacEnabled == other.HmacEnabled ||
                     HmacEnabled != null &&
                     HmacEnabled.Equals(other.HmacEnabled)
                 ) &&
                 (
                     EnableEncryption == other.EnableEncryption ||
                     EnableEncryption != null &&
                     EnableEncryption.Equals(other.EnableEncryption)
                 ) &&
                 (
                     SharedKey == other.SharedKey ||
                     SharedKey != null &&
                     SharedKey.Equals(other.SharedKey)
                 ) &&
                 (
                     HmacSharedKeyTTL == other.HmacSharedKeyTTL ||
                     HmacSharedKeyTTL != null &&
                     HmacSharedKeyTTL.Equals(other.HmacSharedKeyTTL)
                 ) &&
                 (
                     BackoffStandbyFactor == other.BackoffStandbyFactor ||
                     BackoffStandbyFactor != null &&
                     BackoffStandbyFactor.Equals(other.BackoffStandbyFactor)
                 ) &&
                 (
                     BackoffStableFactor == other.BackoffStableFactor ||
                     BackoffStableFactor != null &&
                     BackoffStableFactor.Equals(other.BackoffStableFactor)
                 ));
        }