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

            return
                ((
                     KakuninBango == other.KakuninBango ||
                     KakuninBango != null &&
                     KakuninBango.Equals(other.KakuninBango)
                     ) &&
                 (
                     NofuBango == other.NofuBango ||
                     NofuBango != null &&
                     NofuBango.Equals(other.NofuBango)
                 ) &&
                 (
                     NofuGaku == other.NofuGaku ||
                     NofuGaku != null &&
                     NofuGaku.Equals(other.NofuGaku)
                 ) &&
                 (
                     NofuJohoHakkoNichiji == other.NofuJohoHakkoNichiji ||
                     NofuJohoHakkoNichiji != null &&
                     NofuJohoHakkoNichiji.Equals(other.NofuJohoHakkoNichiji)
                 ) &&
                 (
                     NofuJokyo == other.NofuJokyo ||
                     NofuJokyo != null &&
                     NofuJokyo.Equals(other.NofuJokyo)
                 ) &&
                 (
                     NofuKikanSaishuNengappi == other.NofuKikanSaishuNengappi ||
                     NofuKikanSaishuNengappi != null &&
                     NofuKikanSaishuNengappi.Equals(other.NofuKikanSaishuNengappi)
                 ) &&
                 (
                     NofuNichiji == other.NofuNichiji ||
                     NofuNichiji != null &&
                     NofuNichiji.Equals(other.NofuNichiji)
                 ) &&
                 (
                     ShunoKikanBango == other.ShunoKikanBango ||
                     ShunoKikanBango != null &&
                     ShunoKikanBango.Equals(other.ShunoKikanBango)
                 ));
        }