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() { var sb = new StringBuilder("TMessageBox("); bool __first = true; if (Id != null && __isset.id) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Id: "); Id.ToString(sb); } if (ChannelId != null && __isset.channelId) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ChannelId: "); ChannelId.ToString(sb); } if (__isset.lastSeq) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("LastSeq: "); LastSeq.ToString(sb); } if (__isset.unreadCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("UnreadCount: "); UnreadCount.ToString(sb); } if (__isset.lastModifiedTime) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("LastModifiedTime: "); LastModifiedTime.ToString(sb); } if (__isset.status) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Status: "); Status.ToString(sb); } if (__isset.midType) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("MidType: "); MidType.ToString(sb); } if (LastMessages != null && __isset.lastMessages) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("LastMessages: "); LastMessages.ToString(sb); } sb.Append(")"); return(sb.ToString()); }