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

            return
                ((
                     Data == other.Data ||
                     Data != null &&
                     Data.Equals(other.Data)
                     ) &&
                 (
                     TokishoCode == other.TokishoCode ||
                     TokishoCode != null &&
                     TokishoCode.Equals(other.TokishoCode)
                 ) &&
                 (
                     Seq == other.Seq ||
                     Seq != null &&
                     Seq.Equals(other.Seq)
                 ) &&
                 (
                     Total == other.Total ||
                     Total != null &&
                     Total.Equals(other.Total)
                 ));
        }
        /// <summary>
        /// Returns true if ConfirmBukkenJohoRequestBukkenJohos instances are equal
        /// </summary>
        /// <param name="other">Instance of ConfirmBukkenJohoRequestBukkenJohos to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ConfirmBukkenJohoRequestBukkenJohos other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     BukkenKubun == other.BukkenKubun ||
                     BukkenKubun != null &&
                     BukkenKubun.Equals(other.BukkenKubun)
                     ) &&
                 (
                     BukkenShubetsu == other.BukkenShubetsu ||
                     BukkenShubetsu != null &&
                     BukkenShubetsu.Equals(other.BukkenShubetsu)
                 ) &&
                 (
                     BukkenJotai == other.BukkenJotai ||
                     BukkenJotai != null &&
                     BukkenJotai.Equals(other.BukkenJotai)
                 ) &&
                 (
                     ChibanKuikiJoho == other.ChibanKuikiJoho ||
                     ChibanKuikiJoho != null &&
                     ChibanKuikiJoho.Equals(other.ChibanKuikiJoho)
                 ) &&
                 (
                     ChibanKaokuBangoJoho == other.ChibanKaokuBangoJoho ||
                     ChibanKaokuBangoJoho != null &&
                     ChibanKaokuBangoJoho.Equals(other.ChibanKaokuBangoJoho)
                 ) &&
                 (
                     FudosanBango == other.FudosanBango ||
                     FudosanBango != null &&
                     FudosanBango.Equals(other.FudosanBango)
                 ) &&
                 (
                     HeisaNengappi == other.HeisaNengappi ||
                     HeisaNengappi != null &&
                     HeisaNengappi.Equals(other.HeisaNengappi)
                 ) &&
                 (
                     TokishoCode == other.TokishoCode ||
                     TokishoCode != null &&
                     TokishoCode.Equals(other.TokishoCode)
                 ) &&
                 (
                     TetsuzukiID == other.TetsuzukiID ||
                     TetsuzukiID != null &&
                     TetsuzukiID.Equals(other.TetsuzukiID)
                 ));
        }