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

        if (SnsUserId != null && __isset.snsUserId)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SnsUserId: ");
            SnsUserId.ToString(sb);
        }
        if (SnsUserName != null && __isset.snsUserName)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SnsUserName: "******", ");
            }
            __first = false;
            sb.Append("Email: ");
            Email.ToString(sb);
        }
        if (ThumbnailUrl != null && __isset.thumbnailUrl)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ThumbnailUrl: ");
            ThumbnailUrl.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Exemplo n.º 2
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SnsFriend(");
        bool __first = true;

        if (SnsUserId != null && __isset.snsUserId)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SnsUserId: ");
            SnsUserId.ToString(sb);
        }
        if (SnsUserName != null && __isset.snsUserName)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SnsUserName: "******", ");
            }
            __first = false;
            sb.Append("SnsIdType: ");
            SnsIdType.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }