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

            return
                ((
                     JmxObjectname == other.JmxObjectname ||
                     JmxObjectname != null &&
                     JmxObjectname.Equals(other.JmxObjectname)
                     ) &&
                 (
                     PropertyMeasureEnabled == other.PropertyMeasureEnabled ||
                     PropertyMeasureEnabled != null &&
                     PropertyMeasureEnabled.Equals(other.PropertyMeasureEnabled)
                 ) &&
                 (
                     PropertyName == other.PropertyName ||
                     PropertyName != null &&
                     PropertyName.Equals(other.PropertyName)
                 ) &&
                 (
                     PropertyMaxWaitMs == other.PropertyMaxWaitMs ||
                     PropertyMaxWaitMs != null &&
                     PropertyMaxWaitMs.Equals(other.PropertyMaxWaitMs)
                 ) &&
                 (
                     PropertyMaxRate == other.PropertyMaxRate ||
                     PropertyMaxRate != null &&
                     PropertyMaxRate.Equals(other.PropertyMaxRate)
                 ) &&
                 (
                     FulltextMeasureEnabled == other.FulltextMeasureEnabled ||
                     FulltextMeasureEnabled != null &&
                     FulltextMeasureEnabled.Equals(other.FulltextMeasureEnabled)
                 ) &&
                 (
                     FulltextName == other.FulltextName ||
                     FulltextName != null &&
                     FulltextName.Equals(other.FulltextName)
                 ) &&
                 (
                     FulltextMaxWaitMs == other.FulltextMaxWaitMs ||
                     FulltextMaxWaitMs != null &&
                     FulltextMaxWaitMs.Equals(other.FulltextMaxWaitMs)
                 ) &&
                 (
                     FulltextMaxRate == other.FulltextMaxRate ||
                     FulltextMaxRate != null &&
                     FulltextMaxRate.Equals(other.FulltextMaxRate)
                 ));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if ComDayCqDamCoreImplJmxAssetUpdateMonitorImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamCoreImplJmxAssetUpdateMonitorImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamCoreImplJmxAssetUpdateMonitorImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     JmxObjectname == other.JmxObjectname ||
                     JmxObjectname != null &&
                     JmxObjectname.Equals(other.JmxObjectname)
                     ) &&
                 (
                     Active == other.Active ||
                     Active != null &&
                     Active.Equals(other.Active)
                 ));
        }