/// <summary> /// Returns true if OrgApacheSlingCommonsThreadsImplDefaultThreadPoolFactoryProperties instances are equal /// </summary> /// <param name="other">Instance of OrgApacheSlingCommonsThreadsImplDefaultThreadPoolFactoryProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(OrgApacheSlingCommonsThreadsImplDefaultThreadPoolFactoryProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( MinPoolSize == other.MinPoolSize || MinPoolSize != null && MinPoolSize.Equals(other.MinPoolSize) ) && ( MaxPoolSize == other.MaxPoolSize || MaxPoolSize != null && MaxPoolSize.Equals(other.MaxPoolSize) ) && ( QueueSize == other.QueueSize || QueueSize != null && QueueSize.Equals(other.QueueSize) ) && ( MaxThreadAge == other.MaxThreadAge || MaxThreadAge != null && MaxThreadAge.Equals(other.MaxThreadAge) ) && ( KeepAliveTime == other.KeepAliveTime || KeepAliveTime != null && KeepAliveTime.Equals(other.KeepAliveTime) ) && ( BlockPolicy == other.BlockPolicy || BlockPolicy != null && BlockPolicy.Equals(other.BlockPolicy) ) && ( ShutdownGraceful == other.ShutdownGraceful || ShutdownGraceful != null && ShutdownGraceful.Equals(other.ShutdownGraceful) ) && ( Daemon == other.Daemon || Daemon != null && Daemon.Equals(other.Daemon) ) && ( ShutdownWaitTime == other.ShutdownWaitTime || ShutdownWaitTime != null && ShutdownWaitTime.Equals(other.ShutdownWaitTime) ) && ( Priority == other.Priority || Priority != null && Priority.Equals(other.Priority) )); }