public override string ToString()
    {
        var  sb      = new StringBuilder("SquareEventNotifiedLeaveSquareChat(");
        bool __first = true;

        if (SquareChatMid != null && __isset.squareChatMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatMid: ");
            SquareChatMid.ToString(sb);
        }
        if (SquareMemberMid != null && __isset.squareMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMemberMid: ");
            SquareMemberMid.ToString(sb);
        }
        if (__isset.sayGoodbye)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SayGoodbye: ");
            SayGoodbye.ToString(sb);
        }
        if (SquareMember != null && __isset.squareMember)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMember: ");
            SquareMember.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
    public override string ToString()
    {
        var  sb      = new StringBuilder("LeaveSquareChatRequest(");
        bool __first = true;

        if (SquareChatMid != null && __isset.squareChatMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatMid: ");
            SquareChatMid.ToString(sb);
        }
        if (__isset.sayGoodbye)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SayGoodbye: ");
            SayGoodbye.ToString(sb);
        }
        if (__isset.squareChatMemberRevision)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatMemberRevision: ");
            SquareChatMemberRevision.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }