ImportResult.cs 665 B

123456789101112131415161718192021222324252627282930
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace KdanCommon.Mixpanel.Data
  8. {
  9. public class ImportResult
  10. {
  11. [JsonProperty("code")]
  12. public int Code { get; set; }
  13. [JsonProperty("num_records_imported")]
  14. public int NumRecordsImported { get; set; }
  15. [JsonProperty("status")]
  16. public string Status { get; set; }
  17. }
  18. public class SetProfileResult
  19. {
  20. [JsonProperty("error")]
  21. public string Error { get; set; }
  22. [JsonProperty("status")]
  23. public int Status { get; set; }
  24. }
  25. }