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

            return
                ((
                     NofuBango == other.NofuBango ||
                     NofuBango != null &&
                     NofuBango.Equals(other.NofuBango)
                     ) &&
                 (
                     KakuninBango == other.KakuninBango ||
                     KakuninBango != null &&
                     KakuninBango.Equals(other.KakuninBango)
                 ));
        }