Ejemplo n.º 1
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("UserAuthStatus(");
        bool __first = true;

        if (__isset.phoneNumberRegistered)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("PhoneNumberRegistered: ");
            PhoneNumberRegistered.ToString(sb);
        }
        if (RegisteredSnsIdTypes != null && __isset.registeredSnsIdTypes)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("RegisteredSnsIdTypes: ");
            RegisteredSnsIdTypes.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Ejemplo n.º 2
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SnsIdUserStatus(");
        bool __first = true;

        if (__isset.userExisting)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("UserExisting: ");
            UserExisting.ToString(sb);
        }
        if (__isset.phoneNumberRegistered)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("PhoneNumberRegistered: ");
            PhoneNumberRegistered.ToString(sb);
        }
        if (__isset.sameDevice)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SameDevice: ");
            SameDevice.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }