public override string ToString() { StringBuilder __sb = new StringBuilder("SquareEventNotificationMessage("); bool __first = true; if (SquareChatMid != null && __isset.squareChatMid) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SquareChatMid: "); __sb.Append(SquareChatMid); } if (SquareMessage != null && __isset.squareMessage) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SquareMessage: "); __sb.Append(SquareMessage == null ? "<null>" : SquareMessage.ToString()); } if (SenderDisplayName != null && __isset.senderDisplayName) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SenderDisplayName: "); __sb.Append(SenderDisplayName); } if (__isset.unreadCount) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("UnreadCount: "); __sb.Append(UnreadCount); } if (__isset.requiredToFetchChatEvents) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("RequiredToFetchChatEvents: "); __sb.Append(RequiredToFetchChatEvents); } __sb.Append(")"); return(__sb.ToString()); }
public override string ToString() { var sb = new StringBuilder("SquareEventNotificationMessage("); bool __first = true; if (SquareChatMid != null && __isset.squareChatMid) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareChatMid: "); SquareChatMid.ToString(sb); } if (SquareMessage != null && __isset.squareMessage) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareMessage: "); SquareMessage.ToString(sb); } if (SenderDisplayName != null && __isset.senderDisplayName) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SenderDisplayName: "); SenderDisplayName.ToString(sb); } if (__isset.unreadCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("UnreadCount: "); UnreadCount.ToString(sb); } if (__isset.requiredToFetchChatEvents) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("RequiredToFetchChatEvents: "); RequiredToFetchChatEvents.ToString(sb); } sb.Append(")"); return(sb.ToString()); }
public override string ToString() { StringBuilder __sb = new StringBuilder("SquareEventSendMessage("); bool __first = true; if (SquareChatMid != null && __isset.squareChatMid) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SquareChatMid: "); __sb.Append(SquareChatMid); } if (SquareMessage != null && __isset.squareMessage) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SquareMessage: "); __sb.Append(SquareMessage == null ? "<null>" : SquareMessage.ToString()); } if (__isset.reqSeq) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("ReqSeq: "); __sb.Append(ReqSeq); } __sb.Append(")"); return(__sb.ToString()); }
public override string ToString() { var sb = new StringBuilder("SquareEventSendMessage("); bool __first = true; if (SquareChatMid != null && __isset.squareChatMid) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareChatMid: "); SquareChatMid.ToString(sb); } if (SquareMessage != null && __isset.squareMessage) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareMessage: "); SquareMessage.ToString(sb); } if (__isset.reqSeq) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ReqSeq: "); ReqSeq.ToString(sb); } sb.Append(")"); return(sb.ToString()); }