walletCheckExists.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using CommonObj.model;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace CommonObj.lotoModel
  7. {
  8. public class result
  9. {
  10. [JsonProperty("accountState")]
  11. public string AccountState { get; set; }
  12. [JsonProperty("role")]
  13. public string Role { get; set; }
  14. [JsonProperty("msisdn")]
  15. public string Msisdn { get; set; }
  16. [JsonProperty("registerDate")]
  17. public string RegisterDate { get; set; }
  18. public override string ToString()
  19. {
  20. return JsonConvert.SerializeObject(this);
  21. }
  22. }
  23. public class walletCheckExists
  24. {
  25. [JsonProperty("status")]
  26. public string Status { get; set; }
  27. [JsonProperty("timestamp")]
  28. public string Timestamp { get; set; }
  29. [JsonProperty("message")]
  30. public string Message { get; set; }
  31. [JsonProperty("result")]
  32. public result Result { get; set; }
  33. public override string ToString()
  34. {
  35. return JsonConvert.SerializeObject(this);
  36. }
  37. }
  38. }