public override string ToString() { var sb = new StringBuilder("UpdateBuddyProfileResult("); bool __first = true; if (RequestId != null && __isset.requestId) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("RequestId: "); RequestId.ToString(sb); } if (__isset.state) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("State: "); State.ToString(sb); } if (__isset.eventNo) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("EventNo: "); EventNo.ToString(sb); } if (__isset.receiverCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ReceiverCount: "); ReceiverCount.ToString(sb); } if (__isset.successCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SuccessCount: "); SuccessCount.ToString(sb); } if (__isset.failCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("FailCount: "); FailCount.ToString(sb); } if (__isset.cancelCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("CancelCount: "); CancelCount.ToString(sb); } if (__isset.unregisterCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("UnregisterCount: "); UnregisterCount.ToString(sb); } if (__isset.timestamp) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Timestamp: "); Timestamp.ToString(sb); } if (Message != null && __isset.message) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Message: "); Message.ToString(sb); } sb.Append(")"); return(sb.ToString()); }
public void sendClientRequest(RequestId id, SFSObject dataObject) { string extCmd = id.ToString(); smartFox.Send(new ExtensionRequest(extCmd, dataObject, smartFox.LastJoinedRoom)); }
public override string ToString() { var sb = new StringBuilder("MessageCommitResult("); bool __first = true; if (RequestId != null && __isset.requestId) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("RequestId: "); RequestId.ToString(sb); } if (__isset.state) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("State: "); State.ToString(sb); } if (MessageStoreRequestId != null && __isset.messageStoreRequestId) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("MessageStoreRequestId: "); MessageStoreRequestId.ToString(sb); } if (MessageIds != null && __isset.messageIds) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("MessageIds: "); MessageIds.ToString(sb); } if (__isset.receiverCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ReceiverCount: "); ReceiverCount.ToString(sb); } if (__isset.successCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SuccessCount: "); SuccessCount.ToString(sb); } if (__isset.failCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("FailCount: "); FailCount.ToString(sb); } if (__isset.blockCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("BlockCount: "); BlockCount.ToString(sb); } if (__isset.unregisteredCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("UnregisteredCount: "); UnregisteredCount.ToString(sb); } if (__isset.unrelatedCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("UnrelatedCount: "); UnrelatedCount.ToString(sb); } if (ErrorDescription != null && __isset.errorDescription) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ErrorDescription: "); ErrorDescription.ToString(sb); } sb.Append(")"); return(sb.ToString()); }
public string GetForCacheKeyValue() { return(RequestId.ToString()); }