洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
4.5 KiB

8 months ago
  1. //
  2. // APBBehavLogModel.h
  3. // BioAuthEngine
  4. //
  5. // Created by yukun.tyk on 3/15/16.
  6. // Copyright © 2016 DTF. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <BioAuthEngine/APBConfig.h>
  10. //JSON
  11. #ifndef SUPPORT_PB
  12. @interface BisClientInfo : NSObject
  13. @property (nonatomic,strong) NSString* model;
  14. @property (nonatomic,strong) NSString* os;
  15. @property (nonatomic,strong) NSString* osVer;
  16. @property (nonatomic,strong) NSString* clientVer;
  17. @end
  18. @interface BisBehavToken : NSObject
  19. @property (nonatomic,strong) NSString* token;
  20. @property (nonatomic,strong) NSString* type;
  21. @property (nonatomic,strong) NSString* sampleMode;
  22. @property (nonatomic,strong) NSString* uid;
  23. @property (nonatomic,strong) NSString* apdid;
  24. @property (nonatomic,strong) NSString* appid;
  25. @property (nonatomic,strong) NSString* behid;
  26. @property (nonatomic,strong) NSString* bizid;
  27. @property (nonatomic,strong) NSString* verifyid;
  28. @property (nonatomic,strong) NSString* vtoken;
  29. @property (nonatomic,strong) NSString* apdidToken;
  30. @end
  31. @interface BisBehavCommon : NSObject
  32. @property (nonatomic,strong) NSString* invtp;
  33. @property (nonatomic,strong) NSString* tm;
  34. @property (nonatomic,strong) NSString* retry;
  35. @end
  36. @interface BisBehavTask : NSObject
  37. @property (nonatomic,strong) NSString* name;
  38. @property (nonatomic,strong) NSString* idx;
  39. @property (nonatomic,strong) NSString* dur;
  40. @property (nonatomic,strong) NSString* quality;
  41. @property (nonatomic,strong) NSString* extInfo;
  42. @end
  43. @interface BisBehavLog : NSObject
  44. @property (nonatomic,strong) BisClientInfo* clientInfo;
  45. @property (nonatomic,strong) BisBehavToken* behavToken;
  46. @property (nonatomic,strong) BisBehavCommon* behavCommon;
  47. @property (nonatomic,strong) NSMutableArray * behavTask;
  48. @end
  49. //PB
  50. #else
  51. #ifdef __cplusplus
  52. extern "C"{
  53. #endif
  54. #import <APProtocolBuffers/ProtocolBuffers.h>
  55. #ifdef __cplusplus
  56. }
  57. #endif
  58. @class BisBehavCommon;
  59. @class BisBehavLog;
  60. @class BisBehavTask;
  61. @class BisBehavToken;
  62. @class BisClientInfo;
  63. @interface BisClientInfo : APDPBGeneratedMessage
  64. @property (readonly) BOOL hasModel;
  65. @property (readonly) BOOL hasOs;
  66. @property (readonly) BOOL hasOsVer;
  67. @property (readonly) BOOL hasClientVer;
  68. @property (nonatomic,strong) NSString* model;
  69. @property (nonatomic,strong) NSString* os;
  70. @property (nonatomic,strong) NSString* osVer;
  71. @property (nonatomic,strong) NSString* clientVer;
  72. @end
  73. @interface BisBehavToken : APDPBGeneratedMessage
  74. @property (readonly) BOOL hasToken;
  75. @property (readonly) BOOL hasType;
  76. @property (readonly) BOOL hasSampleMode;
  77. @property (readonly) BOOL hasUid;
  78. @property (readonly) BOOL hasApdid;
  79. @property (readonly) BOOL hasAppid;
  80. @property (readonly) BOOL hasBehid;
  81. @property (readonly) BOOL hasBizid;
  82. @property (readonly) BOOL hasVerifyid;
  83. @property (readonly) BOOL hasVtoken;
  84. @property (readonly) BOOL hasApdidToken;
  85. @property (nonatomic,strong) NSString* token;
  86. @property (nonatomic) SInt32 type;
  87. @property (nonatomic) SInt32 sampleMode;
  88. @property (nonatomic,strong) NSString* uid;
  89. @property (nonatomic,strong) NSString* apdid;
  90. @property (nonatomic,strong) NSString* appid;
  91. @property (nonatomic,strong) NSString* behid;
  92. @property (nonatomic,strong) NSString* bizid;
  93. @property (nonatomic,strong) NSString* verifyid;
  94. @property (nonatomic,strong) NSString* vtoken;
  95. @property (nonatomic,strong) NSString* apdidToken;
  96. @end
  97. @interface BisBehavCommon : APDPBGeneratedMessage
  98. @property (readonly) BOOL hasInvtp;
  99. @property (readonly) BOOL hasTm;
  100. @property (readonly) BOOL hasRetry;
  101. @property (nonatomic,strong) NSString* invtp;
  102. @property (nonatomic,strong) NSString* tm;
  103. @property (nonatomic,strong) NSString* retry;
  104. @end
  105. @interface BisBehavTask : APDPBGeneratedMessage
  106. @property (readonly) BOOL hasName;
  107. @property (readonly) BOOL hasIdx;
  108. @property (readonly) BOOL hasDur;
  109. @property (readonly) BOOL hasQuality;
  110. @property (readonly) BOOL hasExtInfo;
  111. @property (nonatomic,strong) NSString* name;
  112. @property (nonatomic,strong) NSString* idx;
  113. @property (nonatomic)SInt32 dur;
  114. @property (nonatomic)SInt32 quality;
  115. @property (nonatomic,strong) NSString* extInfo;
  116. @end
  117. @interface BisBehavLog : APDPBGeneratedMessage
  118. @property (readonly) BOOL hasClientInfo;
  119. @property (readonly) BOOL hasBehavToken;
  120. @property (readonly) BOOL hasBehavCommon;
  121. @property (readonly) BOOL hasExtAttr;
  122. @property (nonatomic,strong) BisClientInfo* clientInfo ;
  123. @property (nonatomic,strong) BisBehavToken* behavToken ;
  124. @property (nonatomic,strong) BisBehavCommon* behavCommon ;
  125. @property (nonatomic,strong) NSMutableArray<BisBehavTask*>* behavTask ;
  126. @property (nonatomic,strong) PBMapStringString* extAttr ;
  127. @end
  128. #endif