Exemple #1
0
    public override string ToString()
    {
        StringBuilder __sb    = new StringBuilder("SquareEventNotifiedInviteIntoSquareChat(");
        bool          __first = true;

        if (SquareChatMid != null && __isset.squareChatMid)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("SquareChatMid: ");
            __sb.Append(SquareChatMid);
        }
        if (Invitees != null && __isset.invitees)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("Invitees: ");
            __sb.Append(Invitees);
        }
        if (Invitor != null && __isset.invitor)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("Invitor: ");
            __sb.Append(Invitor == null ? "<null>" : Invitor.ToString());
        }
        if (InvitorRelation != null && __isset.invitorRelation)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("InvitorRelation: ");
            __sb.Append(InvitorRelation == null ? "<null>" : InvitorRelation.ToString());
        }
        __sb.Append(")");
        return(__sb.ToString());
    }
Exemple #2
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareEventNotifiedInviteIntoSquareChat(");
        bool __first = true;

        if (SquareChatMid != null && __isset.squareChatMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatMid: ");
            SquareChatMid.ToString(sb);
        }
        if (Invitees != null && __isset.invitees)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Invitees: ");
            Invitees.ToString(sb);
        }
        if (Invitor != null && __isset.invitor)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Invitor: ");
            Invitor.ToString(sb);
        }
        if (InvitorRelation != null && __isset.invitorRelation)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("InvitorRelation: ");
            InvitorRelation.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }