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

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (TargetSquareMemberMid != null && __isset.targetSquareMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("TargetSquareMemberMid: ");
            TargetSquareMemberMid.ToString(sb);
        }
        if (UpdatedAttrs != null && __isset.updatedAttrs)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("UpdatedAttrs: ");
            UpdatedAttrs.ToString(sb);
        }
        if (Relation != null && __isset.relation)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Relation: ");
            Relation.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareEventNotifiedUpdateSquareMemberRelation(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (MyMemberMid != null && __isset.myMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("MyMemberMid: ");
            MyMemberMid.ToString(sb);
        }
        if (TargetSquareMemberMid != null && __isset.targetSquareMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("TargetSquareMemberMid: ");
            TargetSquareMemberMid.ToString(sb);
        }
        if (SquareMemberRelation != null && __isset.squareMemberRelation)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMemberRelation: ");
            SquareMemberRelation.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }