Example #1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.type)
            {
                hashcode = (hashcode * 397) + Type.GetHashCode();
            }
            if (__isset.dialedNumber)
            {
                hashcode = (hashcode * 397) + DialedNumber.GetHashCode();
            }
            if (__isset.serviceDomain)
            {
                hashcode = (hashcode * 397) + ServiceDomain.GetHashCode();
            }
            if (__isset.productType)
            {
                hashcode = (hashcode * 397) + ProductType.GetHashCode();
            }
            if (__isset.productName)
            {
                hashcode = (hashcode * 397) + ProductName.GetHashCode();
            }
            if (__isset.multipleProduct)
            {
                hashcode = (hashcode * 397) + MultipleProduct.GetHashCode();
            }
            if (__isset.callerIdStatus)
            {
                hashcode = (hashcode * 397) + CallerIdStatus.GetHashCode();
            }
            if (__isset.balance)
            {
                hashcode = (hashcode * 397) + Balance.GetHashCode();
            }
            if (__isset.unit)
            {
                hashcode = (hashcode * 397) + Unit.GetHashCode();
            }
            if (__isset.rate)
            {
                hashcode = (hashcode * 397) + Rate.GetHashCode();
            }
            if (__isset.displayCode)
            {
                hashcode = (hashcode * 397) + DisplayCode.GetHashCode();
            }
            if (__isset.calledNumber)
            {
                hashcode = (hashcode * 397) + CalledNumber.GetHashCode();
            }
            if (__isset.calleeNationalNumber)
            {
                hashcode = (hashcode * 397) + CalleeNationalNumber.GetHashCode();
            }
            if (__isset.calleeCallingCode)
            {
                hashcode = (hashcode * 397) + CalleeCallingCode.GetHashCode();
            }
            if (__isset.rateDivision)
            {
                hashcode = (hashcode * 397) + RateDivision.GetHashCode();
            }
            if (__isset.adMaxMin)
            {
                hashcode = (hashcode * 397) + AdMaxMin.GetHashCode();
            }
            if (__isset.adRemains)
            {
                hashcode = (hashcode * 397) + AdRemains.GetHashCode();
            }
            if (__isset.adSessionId)
            {
                hashcode = (hashcode * 397) + AdSessionId.GetHashCode();
            }
        }
        return(hashcode);
    }
Example #2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.seq)
            {
                hashcode = (hashcode * 397) + Seq.GetHashCode();
            }
            if (__isset.type)
            {
                hashcode = (hashcode * 397) + Type.GetHashCode();
            }
            if (__isset.dialedNumber)
            {
                hashcode = (hashcode * 397) + DialedNumber.GetHashCode();
            }
            if (__isset.calledNumber)
            {
                hashcode = (hashcode * 397) + CalledNumber.GetHashCode();
            }
            if (__isset.toMid)
            {
                hashcode = (hashcode * 397) + ToMid.GetHashCode();
            }
            if (__isset.toName)
            {
                hashcode = (hashcode * 397) + ToName.GetHashCode();
            }
            if (__isset.setupTime)
            {
                hashcode = (hashcode * 397) + SetupTime.GetHashCode();
            }
            if (__isset.startTime)
            {
                hashcode = (hashcode * 397) + StartTime.GetHashCode();
            }
            if (__isset.endTime)
            {
                hashcode = (hashcode * 397) + EndTime.GetHashCode();
            }
            if (__isset.duration)
            {
                hashcode = (hashcode * 397) + Duration.GetHashCode();
            }
            if (__isset.terminate)
            {
                hashcode = (hashcode * 397) + Terminate.GetHashCode();
            }
            if (__isset.productType)
            {
                hashcode = (hashcode * 397) + ProductType.GetHashCode();
            }
            if (__isset.charge)
            {
                hashcode = (hashcode * 397) + Charge.GetHashCode();
            }
            if (__isset.unit)
            {
                hashcode = (hashcode * 397) + Unit.GetHashCode();
            }
            if (__isset.result)
            {
                hashcode = (hashcode * 397) + Result.GetHashCode();
            }
        }
        return(hashcode);
    }