/// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (NofuJokyo != null)
         {
             hashCode = hashCode * 59 + NofuJokyo.GetHashCode();
         }
         if (SaishuKoshinNichiji != null)
         {
             hashCode = hashCode * 59 + SaishuKoshinNichiji.GetHashCode();
         }
         if (ShinseiBango != null)
         {
             hashCode = hashCode * 59 + ShinseiBango.GetHashCode();
         }
         if (ShoriJokyo != null)
         {
             hashCode = hashCode * 59 + ShoriJokyo.GetHashCode();
         }
         if (Tsusu != null)
         {
             hashCode = hashCode * 59 + Tsusu.GetHashCode();
         }
         if (UketsukeNengappi != null)
         {
             hashCode = hashCode * 59 + UketsukeNengappi.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if EncryptNofuJohoResponse instances are equal
        /// </summary>
        /// <param name="other">Instance of EncryptNofuJohoResponse to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(EncryptNofuJohoResponse other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

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

            return
                ((
                     NofuJokyo == other.NofuJokyo ||
                     NofuJokyo != null &&
                     NofuJokyo.Equals(other.NofuJokyo)
                     ) &&
                 (
                     SaishuKoshinNichiji == other.SaishuKoshinNichiji ||
                     SaishuKoshinNichiji != null &&
                     SaishuKoshinNichiji.Equals(other.SaishuKoshinNichiji)
                 ) &&
                 (
                     ShinseiBango == other.ShinseiBango ||
                     ShinseiBango != null &&
                     ShinseiBango.Equals(other.ShinseiBango)
                 ) &&
                 (
                     ShoriJokyo == other.ShoriJokyo ||
                     ShoriJokyo != null &&
                     ShoriJokyo.Equals(other.ShoriJokyo)
                 ) &&
                 (
                     Tsusu == other.Tsusu ||
                     Tsusu != null &&
                     Tsusu.Equals(other.Tsusu)
                 ) &&
                 (
                     UketsukeNengappi == other.UketsukeNengappi ||
                     UketsukeNengappi != null &&
                     UketsukeNengappi.Equals(other.UketsukeNengappi)
                 ));
        }
Ejemplo n.º 5
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (KakuninBango != null)
         {
             hashCode = hashCode * 59 + KakuninBango.GetHashCode();
         }
         if (NofuBango != null)
         {
             hashCode = hashCode * 59 + NofuBango.GetHashCode();
         }
         if (NofuGaku != null)
         {
             hashCode = hashCode * 59 + NofuGaku.GetHashCode();
         }
         if (NofuJohoHakkoNichiji != null)
         {
             hashCode = hashCode * 59 + NofuJohoHakkoNichiji.GetHashCode();
         }
         if (NofuJokyo != null)
         {
             hashCode = hashCode * 59 + NofuJokyo.GetHashCode();
         }
         if (NofuKikanSaishuNengappi != null)
         {
             hashCode = hashCode * 59 + NofuKikanSaishuNengappi.GetHashCode();
         }
         if (NofuNichiji != null)
         {
             hashCode = hashCode * 59 + NofuNichiji.GetHashCode();
         }
         if (ShunoKikanBango != null)
         {
             hashCode = hashCode * 59 + ShunoKikanBango.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (EncryptedNofuJoho != null)
         {
             hashCode = hashCode * 59 + EncryptedNofuJoho.GetHashCode();
         }
         if (NofuJokyo != null)
         {
             hashCode = hashCode * 59 + NofuJokyo.GetHashCode();
         }
         if (NofuNichiji != null)
         {
             hashCode = hashCode * 59 + NofuNichiji.GetHashCode();
         }
         return(hashCode);
     }
 }