Esempio n. 1
0
        public override string ToString()
        {
            var sb   = new StringBuilder("QueueMessage(");
            int tmp3 = 0;

            if ((UniqueId != null) && __isset.uniqueId)
            {
                if (0 < tmp3++)
                {
                    sb.Append(", ");
                }
                sb.Append("UniqueId: ");
                UniqueId.ToString(sb);
            }
            if ((BusinessKey != null) && __isset.businessKey)
            {
                if (0 < tmp3++)
                {
                    sb.Append(", ");
                }
                sb.Append("BusinessKey: ");
                BusinessKey.ToString(sb);
            }
            if ((Base64Data != null) && __isset.base64Data)
            {
                if (0 < tmp3++)
                {
                    sb.Append(", ");
                }
                sb.Append("Base64Data: ");
                Base64Data.ToString(sb);
            }
            sb.Append(')');
            return(sb.ToString());
        }
Esempio n. 2
0
        public override string ToString()
        {
            var sb   = new StringBuilder("NotificationQueueRequest(");
            int tmp1 = 0;

            if ((UniqueId != null) && __isset.uniqueId)
            {
                if (0 < tmp1++)
                {
                    sb.Append(", ");
                }
                sb.Append("UniqueId: ");
                UniqueId.ToString(sb);
            }
            if ((BusinessKey != null) && __isset.businessKey)
            {
                if (0 < tmp1++)
                {
                    sb.Append(", ");
                }
                sb.Append("BusinessKey: ");
                BusinessKey.ToString(sb);
            }
            if ((Data != null) && __isset.data)
            {
                if (0 < tmp1++)
                {
                    sb.Append(", ");
                }
                sb.Append("Data: ");
                Data.ToString(sb);
            }
            sb.Append(')');
            return(sb.ToString());
        }
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return
         (GetType().ToString() + " #" + Id.ToString() + "( BusinessKey:"
          + BusinessKey.ToString().Replace(BIZKEYSEP, " ") + ")");
 }