No Description

FKLogTransformEntity.h 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // FKLogEntity.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 16/4/13.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * 应答日志参数实体
  11. */
  12. @interface FKLogTransformEntity : NSObject
  13. @property (nonatomic, strong) NSString *net;
  14. /** 返回logCode定义:
  15. 404: Not Found
  16. 502: Bad Gateway
  17. 600: High Delay
  18. */
  19. @property (nonatomic, strong) NSString *code;
  20. @property (nonatomic, strong) NSString *rtt;
  21. @property (nonatomic, strong) NSString *size;
  22. /**
  23. * JSON字符串, 健值对如下
  24. method : get/post
  25. url : http://ip/link-site/api/user_score/get_share_user_score.json
  26. para : 请求参数
  27. status : 404/502
  28. desc : error description
  29. */
  30. @property (nonatomic, strong) NSString *extString;
  31. - (instancetype)initWithRTT:(NSInteger)rtt
  32. size:(NSString *)size
  33. method:(NSString *)method
  34. url:(NSString *)url
  35. para:(NSDictionary *)para
  36. status:(NSInteger)status
  37. desc:(NSString *)desc;
  38. @end