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

            return
                ((
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                     ) &&
                 (
                     Endpoints == other.Endpoints ||
                     Endpoints != null &&
                     Endpoints.Equals(other.Endpoints)
                 ) &&
                 (
                     PullItems == other.PullItems ||
                     PullItems != null &&
                     PullItems.Equals(other.PullItems)
                 ) &&
                 (
                     PackageBuilderTarget == other.PackageBuilderTarget ||
                     PackageBuilderTarget != null &&
                     PackageBuilderTarget.Equals(other.PackageBuilderTarget)
                 ) &&
                 (
                     TransportSecretProviderTarget == other.TransportSecretProviderTarget ||
                     TransportSecretProviderTarget != null &&
                     TransportSecretProviderTarget.Equals(other.TransportSecretProviderTarget)
                 ));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingDistributionAgentImplSyncDistributionAgentFactoryProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                     ) &&
                 (
                     Title == other.Title ||
                     Title != null &&
                     Title.Equals(other.Title)
                 ) &&
                 (
                     Details == other.Details ||
                     Details != null &&
                     Details.Equals(other.Details)
                 ) &&
                 (
                     Enabled == other.Enabled ||
                     Enabled != null &&
                     Enabled.Equals(other.Enabled)
                 ) &&
                 (
                     ServiceName == other.ServiceName ||
                     ServiceName != null &&
                     ServiceName.Equals(other.ServiceName)
                 ) &&
                 (
                     LogLevel == other.LogLevel ||
                     LogLevel != null &&
                     LogLevel.Equals(other.LogLevel)
                 ) &&
                 (
                     QueueProcessingEnabled == other.QueueProcessingEnabled ||
                     QueueProcessingEnabled != null &&
                     QueueProcessingEnabled.Equals(other.QueueProcessingEnabled)
                 ) &&
                 (
                     PassiveQueues == other.PassiveQueues ||
                     PassiveQueues != null &&
                     PassiveQueues.Equals(other.PassiveQueues)
                 ) &&
                 (
                     PackageExporterEndpoints == other.PackageExporterEndpoints ||
                     PackageExporterEndpoints != null &&
                     PackageExporterEndpoints.Equals(other.PackageExporterEndpoints)
                 ) &&
                 (
                     PackageImporterEndpoints == other.PackageImporterEndpoints ||
                     PackageImporterEndpoints != null &&
                     PackageImporterEndpoints.Equals(other.PackageImporterEndpoints)
                 ) &&
                 (
                     RetryStrategy == other.RetryStrategy ||
                     RetryStrategy != null &&
                     RetryStrategy.Equals(other.RetryStrategy)
                 ) &&
                 (
                     RetryAttempts == other.RetryAttempts ||
                     RetryAttempts != null &&
                     RetryAttempts.Equals(other.RetryAttempts)
                 ) &&
                 (
                     PullItems == other.PullItems ||
                     PullItems != null &&
                     PullItems.Equals(other.PullItems)
                 ) &&
                 (
                     HttpConnTimeout == other.HttpConnTimeout ||
                     HttpConnTimeout != null &&
                     HttpConnTimeout.Equals(other.HttpConnTimeout)
                 ) &&
                 (
                     RequestAuthorizationStrategyTarget == other.RequestAuthorizationStrategyTarget ||
                     RequestAuthorizationStrategyTarget != null &&
                     RequestAuthorizationStrategyTarget.Equals(other.RequestAuthorizationStrategyTarget)
                 ) &&
                 (
                     TransportSecretProviderTarget == other.TransportSecretProviderTarget ||
                     TransportSecretProviderTarget != null &&
                     TransportSecretProviderTarget.Equals(other.TransportSecretProviderTarget)
                 ) &&
                 (
                     PackageBuilderTarget == other.PackageBuilderTarget ||
                     PackageBuilderTarget != null &&
                     PackageBuilderTarget.Equals(other.PackageBuilderTarget)
                 ) &&
                 (
                     TriggersTarget == other.TriggersTarget ||
                     TriggersTarget != null &&
                     TriggersTarget.Equals(other.TriggersTarget)
                 ));
        }