Ejemplo n.º 1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.authToken)
            {
                hashcode = (hashcode * 397) + AuthToken.GetHashCode();
            }
            if (__isset.certificate)
            {
                hashcode = (hashcode * 397) + Certificate.GetHashCode();
            }
            if (__isset.verifier)
            {
                hashcode = (hashcode * 397) + Verifier.GetHashCode();
            }
            if (__isset.pinCode)
            {
                hashcode = (hashcode * 397) + PinCode.GetHashCode();
            }
            if (__isset.type)
            {
                hashcode = (hashcode * 397) + Type.GetHashCode();
            }
            if (__isset.lastPrimaryBindTime)
            {
                hashcode = (hashcode * 397) + LastPrimaryBindTime.GetHashCode();
            }
            if (__isset.displayMessage)
            {
                hashcode = (hashcode * 397) + DisplayMessage.GetHashCode();
            }
            if (__isset.sessionForSMSConfirm)
            {
                hashcode = (hashcode * 397) + SessionForSMSConfirm.GetHashCode();
            }
        }
        return(hashcode);
    }