blackListObj.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using ApiProcess.Models.bet;
  6. using Newtonsoft.Json;
  7. namespace ApiProcess.Models.balance
  8. {
  9. public class blackListObj
  10. {
  11. [JsonProperty("msisdn")]
  12. public string msisdn { get; set; }
  13. [JsonProperty("action")]
  14. public string action { get; set; }
  15. public override string ToString()
  16. {
  17. return JsonConvert.SerializeObject(this);
  18. }
  19. }
  20. public class blackImportDataList
  21. {
  22. [JsonProperty("type")]
  23. public string type { get; set; }
  24. [JsonProperty("serviceId")]
  25. public string serviceId { get; set; }
  26. [JsonProperty("campaignId")]
  27. public string campaignId { get; set; }
  28. [JsonProperty("users")]
  29. public string users { get; set; }
  30. [JsonProperty("data")]
  31. public blackListObj[] data { get; set; }
  32. public override string ToString()
  33. {
  34. return JsonConvert.SerializeObject(this);
  35. }
  36. }
  37. }