ATDataFlow.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // ATDataFlow.h
  3. // APRemoteLogging
  4. //
  5. // Created by 卡迩 on 2018/7/2.
  6. // Copyright © 2018年 Alipay. All rights reserved.
  7. //
  8. #import "ATEvent.h"
  9. /**
  10. * 流量监控日志模型
  11. */
  12. @interface ATDataFlow : ATEvent
  13. @property (nonatomic, strong) NSString *header; /**< 字段1,日志头,默认DF*/
  14. @property (nonatomic, strong) NSDate *timestamp; /**< 字段2,客户端日志时间*/
  15. @property (nonatomic, strong) NSString *platformId; /**< 字段3,客户端日志时间*/
  16. @property (nonatomic, strong) NSString *clientVersion;/**< 字段4,客户端版本*/
  17. @property (nonatomic, strong) NSString *userId; /**< 字段5,用户ID*/
  18. @property (nonatomic, strong) NSString *utdid; /**< 字段6,utdid设备ID*/
  19. @property (nonatomic, strong) NSString *networkType; /**< 字段7,网络类型*/
  20. @property (nonatomic, strong) NSString *dataFlowType; /**< 字段8,流量类型*/
  21. @property (nonatomic, strong) NSString *identifier; /**< 字段9,标识符*/
  22. @property (nonatomic, strong) NSString *size; /**< 字段10,大小*/
  23. @property (nonatomic, strong) NSString *owner; /**< 字段11,owner*/
  24. @property (nonatomic, strong) NSDictionary *extInfo; /**< 字段12,扩展参数*/
  25. @property (nonatomic, strong) NSString *systemVersion;/**< 字段13,操作系统版本号*/
  26. @property (nonatomic, strong) NSString *deviceModel; /**< 字段14,手机型号*/
  27. @property (nonatomic, strong) NSString *unusedInfo0; /**< 字段15,空*/
  28. @property (nonatomic, strong) NSString *unusedInfo1; /**< 字段16,空*/
  29. @property (nonatomic, strong) NSString *unusedInfo2; /**< 字段17,空*/
  30. @property (nonatomic, strong) NSString *unusedInfo3; /**< 字段18,空*/
  31. @property (nonatomic, strong) NSString *unusedInfo4; /**< 字段19,空*/
  32. @property (nonatomic, strong) NSString *logSequenceId;/**< 字段20,日志序列号*/
  33. @property (nonatomic, assign) AntLogLevel logLevel; /**< 字段21,日志等级,可用于控制日志上报*/
  34. @property (nonatomic, assign) unsigned long long sampleRate; /**< 字段22,当前抽样率0~1000,代表0.1%~100%*/
  35. @property (nonatomic, strong) NSString *logIDFA; /**< 字段23,IDFA值*/
  36. @end