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

        if (Square != null && __isset.square)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Square: ");
            sb.Append(Square == null ? "<null>" : Square.ToString());
        }
        if (SquareAuthority != null && __isset.squareAuthority)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareAuthority: ");
            sb.Append(SquareAuthority == null ? "<null>" : SquareAuthority.ToString());
        }
        if (SquareStatus != null && __isset.squareStatus)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareStatus: ");
            sb.Append(SquareStatus == null ? "<null>" : SquareStatus.ToString());
        }
        if (SquareMember != null && __isset.squareMember)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMember: ");
            sb.Append(SquareMember == null ? "<null>" : SquareMember.ToString());
        }
        if (SquareFeatureSet != null && __isset.squareFeatureSet)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareFeatureSet: ");
            sb.Append(SquareFeatureSet == null ? "<null>" : SquareFeatureSet.ToString());
        }
        sb.Append(")");
        return(sb.ToString());
    }
Ejemplo n.º 2
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("FindSquareByInvitationTicketResponse(");
        bool __first = true;

        if (Square != null && __isset.square)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Square: ");
            sb.Append(Square == null ? "<null>" : Square.ToString());
        }
        if (MyMembership != null && __isset.myMembership)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("MyMembership: ");
            sb.Append(MyMembership == null ? "<null>" : MyMembership.ToString());
        }
        if (SquareAuthority != null && __isset.squareAuthority)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareAuthority: ");
            sb.Append(SquareAuthority == null ? "<null>" : SquareAuthority.ToString());
        }
        if (SquareStatus != null && __isset.squareStatus)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareStatus: ");
            sb.Append(SquareStatus == null ? "<null>" : SquareStatus.ToString());
        }
        sb.Append(")");
        return(sb.ToString());
    }
Ejemplo n.º 3
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("JoinSquareResponse(");
        bool __first = true;

        if (Square != null && __isset.square)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Square: ");
            Square.ToString(sb);
        }
        if (SquareAuthority != null && __isset.squareAuthority)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareAuthority: ");
            SquareAuthority.ToString(sb);
        }
        if (SquareStatus != null && __isset.squareStatus)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareStatus: ");
            SquareStatus.ToString(sb);
        }
        if (SquareMember != null && __isset.squareMember)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMember: ");
            SquareMember.ToString(sb);
        }
        if (SquareFeatureSet != null && __isset.squareFeatureSet)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareFeatureSet: ");
            SquareFeatureSet.ToString(sb);
        }
        if (NoteStatus != null && __isset.noteStatus)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("NoteStatus: ");
            NoteStatus.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Ejemplo n.º 4
0
    public override string ToString()
    {
        StringBuilder __sb    = new StringBuilder("GetSquareResponse(");
        bool          __first = true;

        if (Square != null && __isset.square)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("Square: ");
            __sb.Append(Square == null ? "<null>" : Square.ToString());
        }
        if (MyMembership != null && __isset.myMembership)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("MyMembership: ");
            __sb.Append(MyMembership == null ? "<null>" : MyMembership.ToString());
        }
        if (SquareAuthority != null && __isset.squareAuthority)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("SquareAuthority: ");
            __sb.Append(SquareAuthority == null ? "<null>" : SquareAuthority.ToString());
        }
        if (SquareStatus != null && __isset.squareStatus)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("SquareStatus: ");
            __sb.Append(SquareStatus == null ? "<null>" : SquareStatus.ToString());
        }
        if (SquareFeatureSet != null && __isset.squareFeatureSet)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("SquareFeatureSet: ");
            __sb.Append(SquareFeatureSet == null ? "<null>" : SquareFeatureSet.ToString());
        }
        if (NoteStatus != null && __isset.noteStatus)
        {
            if (!__first)
            {
                __sb.Append(", ");
            }
            __first = false;
            __sb.Append("NoteStatus: ");
            __sb.Append(NoteStatus == null ? "<null>" : NoteStatus.ToString());
        }
        __sb.Append(")");
        return(__sb.ToString());
    }