types.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. // The basic response with data | 基础带数据信息
  4. // swagger:model BaseDataInfo
  5. type BaseDataInfo struct {
  6. // Error code | 错误代码
  7. Code int `json:"code"`
  8. // Message | 提示信息
  9. Msg string `json:"msg"`
  10. // Data | 数据
  11. Data string `json:"data,omitempty"`
  12. }
  13. // The basic response with data | 基础带数据信息
  14. // swagger:model BaseListInfo
  15. type BaseListInfo struct {
  16. // The total number of data | 数据总数
  17. Total uint64 `json:"total"`
  18. // Data | 数据
  19. Data string `json:"data,omitempty"`
  20. }
  21. // The basic response without data | 基础不带数据信息
  22. // swagger:model BaseMsgResp
  23. type BaseMsgResp struct {
  24. // Error code | 错误代码
  25. Code int `json:"code"`
  26. // Message | 提示信息
  27. Msg string `json:"msg"`
  28. }
  29. // The page request parameters | 列表请求参数
  30. // swagger:model PageInfo
  31. type PageInfo struct {
  32. // Page number | 第几页
  33. // required : true
  34. // min : 0
  35. Page uint64 `json:"page" validate:"required,number,gt=0"`
  36. // Page size | 单页数据行数
  37. // required : true
  38. // max : 100000
  39. PageSize uint64 `json:"pageSize" validate:"required,number,lt=100000"`
  40. }
  41. // Basic ID request | 基础ID参数请求
  42. // swagger:model IDReq
  43. type IDReq struct {
  44. // ID
  45. // Required: true
  46. Id uint64 `json:"id" validate:"number"`
  47. }
  48. // Basic IDs request | 基础ID数组参数请求
  49. // swagger:model IDsReq
  50. type IDsReq struct {
  51. // IDs
  52. // Required: true
  53. Ids []uint64 `json:"ids"`
  54. }
  55. // Basic ID request | 基础ID地址参数请求
  56. // swagger:model IDPathReq
  57. type IDPathReq struct {
  58. // ID
  59. // Required: true
  60. Id uint64 `path:"id"`
  61. }
  62. // Basic ID request (int32) | 基础ID参数请求 (int32)
  63. // swagger:model IDInt32Req
  64. type IDInt32Req struct {
  65. // ID
  66. // Required: true
  67. Id int32 `json:"id" validate:"number"`
  68. }
  69. // Basic IDs request (int32) | 基础ID数组参数请求 (int32)
  70. // swagger:model IDsInt32Req
  71. type IDsInt32Req struct {
  72. // IDs
  73. // Required: true
  74. Ids []int32 `json:"ids"`
  75. }
  76. // Basic ID request (int32) | 基础ID地址参数请求 (int32)
  77. // swagger:model IDInt32PathReq
  78. type IDInt32PathReq struct {
  79. // ID
  80. // Required: true
  81. Id int32 `path:"id"`
  82. }
  83. // Basic ID request (uint32) | 基础ID参数请求 (uint32)
  84. // swagger:model IDUint32Req
  85. type IDUint32Req struct {
  86. // ID
  87. // Required: true
  88. Id uint32 `json:"id" validate:"number"`
  89. }
  90. // Basic IDs request (uint32) | 基础ID数组参数请求 (uint32)
  91. // swagger:model IDsUint32Req
  92. type IDsUint32Req struct {
  93. // IDs
  94. // Required: true
  95. Ids []uint32 `json:"ids"`
  96. }
  97. // Basic ID request (uint32) | 基础ID地址参数请求 (uint32)
  98. // swagger:model IDUint32PathReq
  99. type IDUint32PathReq struct {
  100. // ID
  101. // Required: true
  102. Id uint32 `path:"id"`
  103. }
  104. // Basic ID request (int64) | 基础ID参数请求 (int64)
  105. // swagger:model IDInt64Req
  106. type IDInt64Req struct {
  107. // ID
  108. // Required: true
  109. Id int64 `json:"id" validate:"number"`
  110. }
  111. // Basic IDs request (int64) | 基础ID数组参数请求 (int64)
  112. // swagger:model IDsInt64Req
  113. type IDsInt64Req struct {
  114. // IDs
  115. // Required: true
  116. Ids []int64 `json:"ids"`
  117. }
  118. // Basic ID request (int64) | 基础ID地址参数请求 (int64)
  119. // swagger:model IDInt64PathReq
  120. type IDInt64PathReq struct {
  121. // ID
  122. // Required: true
  123. Id int64 `path:"id"`
  124. }
  125. // Basic UUID request in path | 基础UUID地址参数请求
  126. // swagger:model UUIDPathReq
  127. type UUIDPathReq struct {
  128. // ID
  129. // Required: true
  130. Id string `path:"id"`
  131. }
  132. // Basic UUID request | 基础UUID参数请求
  133. // swagger:model UUIDReq
  134. type UUIDReq struct {
  135. // ID
  136. // required : true
  137. // max length : 36
  138. // min length : 36
  139. Id string `json:"id" validate:"required,len=36"`
  140. }
  141. // Basic UUID array request | 基础UUID数组参数请求
  142. // swagger:model UUIDsReq
  143. type UUIDsReq struct {
  144. // Ids
  145. // Required: true
  146. Ids []string `json:"ids"`
  147. }
  148. // The base ID response data | 基础ID信息
  149. // swagger:model BaseIDInfo
  150. type BaseIDInfo struct {
  151. // ID
  152. Id *uint64 `json:"id,optional"`
  153. // Create date | 创建日期
  154. CreatedAt *int64 `json:"createdAt,optional"`
  155. // Update date | 更新日期
  156. UpdatedAt *int64 `json:"updatedAt,optional"`
  157. }
  158. // The base ID response data (int64) | 基础ID信息 (int64)
  159. // swagger:model BaseIDInt64Info
  160. type BaseIDInt64Info struct {
  161. // ID
  162. Id *int64 `json:"id,optional"`
  163. // Create date | 创建日期
  164. CreatedAt *int64 `json:"createdAt,optional"`
  165. // Update date | 更新日期
  166. UpdatedAt *int64 `json:"updatedAt,optional"`
  167. }
  168. // The base ID response data (int32) | 基础ID信息 (int32)
  169. // swagger:model BaseIDInt32Info
  170. type BaseIDInt32Info struct {
  171. // ID
  172. Id *int32 `json:"id,optional"`
  173. // Create date | 创建日期
  174. CreatedAt *int64 `json:"createdAt,optional"`
  175. // Update date | 更新日期
  176. UpdatedAt *int64 `json:"updatedAt,optional"`
  177. }
  178. // The base ID response data (uint32) | 基础ID信息 (uint32)
  179. // swagger:model BaseIDUint32Info
  180. type BaseIDUint32Info struct {
  181. // ID
  182. Id *uint32 `json:"id,optional"`
  183. // Create date | 创建日期
  184. CreatedAt *int64 `json:"createdAt,optional"`
  185. // Update date | 更新日期
  186. UpdatedAt *int64 `json:"updatedAt,optional"`
  187. }
  188. // The base UUID response data | 基础UUID信息
  189. // swagger:model BaseUUIDInfo
  190. type BaseUUIDInfo struct {
  191. // ID
  192. Id *string `json:"id,optional"`
  193. // Create date | 创建日期
  194. CreatedAt *int64 `json:"createdAt,optional"`
  195. // Update date | 更新日期
  196. UpdatedAt *int64 `json:"updatedAt,optional"`
  197. }
  198. // The response data of server information | Server信息
  199. // swagger:model ServerInfo
  200. type ServerInfo struct {
  201. BaseIDInfo
  202. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  203. Status *uint8 `json:"status,optional"`
  204. // 名称
  205. Name *string `json:"name,optional"`
  206. // 公网ip
  207. PublicIp *string `json:"publicIp,optional"`
  208. // 内网ip
  209. PrivateIp *string `json:"privateIp,optional"`
  210. // 管理端口
  211. AdminPort *string `json:"adminPort,optional"`
  212. }
  213. // The response data of server list | Server列表数据
  214. // swagger:model ServerListResp
  215. type ServerListResp struct {
  216. BaseDataInfo
  217. // Server list data | Server列表数据
  218. Data ServerListInfo `json:"data"`
  219. }
  220. // Server list data | Server列表数据
  221. // swagger:model ServerListInfo
  222. type ServerListInfo struct {
  223. BaseListInfo
  224. // The API list data | Server列表数据
  225. Data []ServerInfo `json:"data"`
  226. }
  227. // Get server list request params | Server列表请求参数
  228. // swagger:model ServerListReq
  229. type ServerListReq struct {
  230. PageInfo
  231. // 名称
  232. Name *string `json:"name,optional"`
  233. // 公网ip
  234. PublicIp *string `json:"publicIp,optional"`
  235. // 内网ip
  236. PrivateIp *string `json:"privateIp,optional"`
  237. }
  238. // Server information response | Server信息返回体
  239. // swagger:model ServerInfoResp
  240. type ServerInfoResp struct {
  241. BaseDataInfo
  242. // Server information | Server数据
  243. Data ServerInfo `json:"data"`
  244. }
  245. // The response data of wx information | Wx信息
  246. // swagger:model WxInfo
  247. type WxInfo struct {
  248. BaseIDInfo
  249. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  250. Status *uint8 `json:"status,optional"`
  251. // 服务器id
  252. ServerId *uint64 `json:"serverId,optional"`
  253. // 端口号
  254. Port *string `json:"port,optional"`
  255. // 进程号
  256. ProcessId *string `json:"processId,optional"`
  257. // 回调地址
  258. Callback *string `json:"callback,optional"`
  259. // 微信id
  260. Wxid *string `json:"wxid,optional"`
  261. // 微信账号
  262. Account *string `json:"account,optional"`
  263. // 微信昵称
  264. Nickname *string `json:"nickname,optional"`
  265. // 手机号
  266. Tel *string `json:"tel,optional"`
  267. // 微信头像
  268. HeadBig *string `json:"headBig,optional"`
  269. }
  270. // The response data of wx list | Wx列表数据
  271. // swagger:model WxListResp
  272. type WxListResp struct {
  273. BaseDataInfo
  274. // Wx list data | Wx列表数据
  275. Data WxListInfo `json:"data"`
  276. }
  277. // Wx list data | Wx列表数据
  278. // swagger:model WxListInfo
  279. type WxListInfo struct {
  280. BaseListInfo
  281. // The API list data | Wx列表数据
  282. Data []WxInfo `json:"data"`
  283. }
  284. // Get wx list request params | Wx列表请求参数
  285. // swagger:model WxListReq
  286. type WxListReq struct {
  287. PageInfo
  288. // 端口号
  289. Port *string `json:"port,optional"`
  290. // 进程号
  291. ProcessId *string `json:"processId,optional"`
  292. // 回调地址
  293. Callback *string `json:"callback,optional"`
  294. }
  295. // Wx information response | Wx信息返回体
  296. // swagger:model WxInfoResp
  297. type WxInfoResp struct {
  298. BaseDataInfo
  299. // Wx information | Wx数据
  300. Data WxInfo `json:"data"`
  301. }
  302. type LoginQRStatus struct {
  303. // 登陆二维码
  304. QRCode string `json:"qRCode,optional"`
  305. // 登陆二维码状态
  306. Status string `json:"status,optional"`
  307. // 登陆二维码状态描述
  308. StatusDesc string `json:"statusDesc,optional"`
  309. }
  310. // 刷新登陆二维码请求参数
  311. // swagger:model RefreshLoginQRReq
  312. type RefreshLoginQRReq struct {
  313. // 服务器id
  314. ServerId *uint64 `json:"serverId,optional"`
  315. // 端口号
  316. Port *string `json:"port,optional"`
  317. // 回调地址
  318. Callback *string `json:"callback,optional"`
  319. }
  320. // 刷新登陆二维码返回参数
  321. // swagger:model RefreshLoginQRResp
  322. type RefreshLoginQRResp struct {
  323. BaseDataInfo
  324. // 二维码Base64
  325. Data LoginQRStatus `json:"data,optional"`
  326. }
  327. // 发送微信文本消息请求参数
  328. // swagger:model SendTextMsgReq
  329. type SendTextMsgReq struct {
  330. // 属主微信id
  331. WxWxid *string `json:"wxWxid"`
  332. // 微信id 公众号微信ID
  333. Wxid *string `json:"wxid"`
  334. // 微信文本消息内容
  335. Msg *string `json:"msg"`
  336. }
  337. // 发送微信图片消息请求参数
  338. // swagger:model SendPicMsgReq
  339. type SendPicMsgReq struct {
  340. // 属主微信id
  341. WxWxid *string `json:"wxWxid"`
  342. // 微信id 公众号微信ID
  343. Wxid *string `json:"wxid"`
  344. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  345. Picpath *string `json:"picpath"`
  346. // 微信图片自定义名称(此属性只有网络图片有)
  347. Diyfilename *string `json:"diyfilename,optional"`
  348. }
  349. // 发送微信图片(本地)请求参数
  350. // swagger:model SendPicMsgLocalReq
  351. type SendPicMsgLocalReq struct {
  352. // 属主微信id
  353. WxWxid *string `json:"wxWxid"`
  354. // 微信id 公众号微信ID
  355. Wxid *string `json:"wxid"`
  356. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  357. Picpath *string `json:"picpath"`
  358. }
  359. // The response data of contact list | Contact列表数据
  360. // swagger:model ContactListResp
  361. type ContactListResp struct {
  362. BaseDataInfo
  363. // Contact list data | Contact列表数据
  364. Data ContactListInfo `json:"data"`
  365. }
  366. // Contact list data | Contact列表数据
  367. // swagger:model ContactListInfo
  368. type ContactListInfo struct {
  369. BaseListInfo
  370. // The API list data | Contact列表数据
  371. Data []ContactInfo `json:"data"`
  372. }
  373. // Get contact list request params | Contact列表请求参数
  374. // swagger:model ContactListReq
  375. type ContactListReq struct {
  376. PageInfo
  377. // Label ID list | 标签ID列表
  378. LabelIDs []uint64 `json:"labelIDs,optional"`
  379. // 属主微信id
  380. WxWxid *string `json:"wxWxid,optional"`
  381. // 微信id 公众号微信ID
  382. Wxid *string `json:"wxid,optional"`
  383. // 微信账号
  384. Account *string `json:"account,optional"`
  385. }
  386. // Contact information response | Contact信息返回体
  387. // swagger:model ContactInfoResp
  388. type ContactInfoResp struct {
  389. BaseDataInfo
  390. // Contact information | Contact数据
  391. Data ContactInfo `json:"data"`
  392. }
  393. // ContactLabelList | Contact标签列表
  394. type ContactLabelList struct {
  395. // label
  396. Label *string `json:"label,optional"`
  397. // value
  398. Value *uint64 `json:"value,optional"`
  399. }
  400. // The response data of contact information | Contact信息
  401. // swagger:model ContactInfo
  402. type ContactInfo struct {
  403. BaseIDInfo
  404. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  405. Status *uint8 `json:"status,optional"`
  406. // 属主微信id
  407. WxWxid *string `json:"wxWxid,optional"`
  408. // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
  409. Type *int `json:"type,optional"`
  410. // 微信id 公众号微信ID
  411. Wxid *string `json:"wxid,optional"`
  412. // 微信账号
  413. Account *string `json:"account,optional"`
  414. // 微信昵称 群备注名称
  415. Nickname *string `json:"nickname,optional"`
  416. // 备注名
  417. Markname *string `json:"markname,optional"`
  418. // 头像
  419. Headimg *string `json:"headimg,optional"`
  420. // 性别 0未知 1男 2女
  421. Sex *int `json:"sex,optional"`
  422. // 星标 65/67=星标 1/3=未星标
  423. Starrole *string `json:"starrole,optional"`
  424. // 不让他看我的朋友圈 0可以看 1不让看
  425. Dontseeit *int `json:"dontseeit,optional"`
  426. // 不看他的朋友圈 0可以看 1不看 1=开启了不看他 128/129=仅聊天
  427. Dontseeme *int `json:"dontseeme,optional"`
  428. // 所属标签id清单,多开会用逗号隔开
  429. Lag *string `json:"lag,optional"`
  430. // 群组id
  431. Gid *string `json:"gid,optional"`
  432. // 群组名称
  433. Gname *string `json:"gname,optional"`
  434. // v3数据
  435. V3 *string `json:"v3,optional"`
  436. // Label Relationships | 标签关系
  437. LabelRelationships []ContactLabelList `json:"labelRelationships,optional"`
  438. }
  439. // The response data of label information | Label信息
  440. // swagger:model LabelInfo
  441. type LabelInfo struct {
  442. BaseIDInfo
  443. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  444. Status *uint8 `json:"status,optional"`
  445. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  446. Type *int `json:"type,optional"`
  447. // 标签名称
  448. Name *string `json:"name,optional"`
  449. // 标签来源:1后台创建 2个微同步
  450. From *int `json:"from,optional"`
  451. // 标签模式:1动态 2静态
  452. Mode *int `json:"mode,optional"`
  453. // 标签的触达条件
  454. Conditions *string `json:"conditions,optional"`
  455. // Label Relationships | 标签关系
  456. LabelRelationships []LabelRelationshipInfo `json:"labelRelationships,optional"`
  457. }
  458. // The response data of label relationship information | LabelRelationship信息
  459. // swagger:model LabelRelationshipInfo
  460. type LabelRelationshipInfo struct {
  461. BaseIDInfo
  462. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  463. Status *uint8 `json:"status,optional"`
  464. // 标签 ID
  465. LabelId *uint64 `json:"labelId,optional"`
  466. // 联系人 ID
  467. ContactId *uint64 `json:"contactId,optional"`
  468. // Contact information | 联系人信息
  469. Contact ContactInfo `json:"contact,optional"`
  470. // Label information | 标签信息
  471. Label LabelInfo `json:"label,optional"`
  472. }
  473. // The response data of label relationship information | LabelRelationship信息
  474. // swagger:model LabelRelationshipsInfo
  475. type LabelRelationshipsInfo struct {
  476. BaseIDInfo
  477. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  478. Status *uint8 `json:"status,optional"`
  479. // 标签 ID
  480. LabelIds []uint64 `json:"labelIds,optional"`
  481. // 联系人 ID
  482. ContactId *uint64 `json:"contactId,optional"`
  483. }
  484. // The response data of label relationship list | LabelRelationship列表数据
  485. // swagger:model LabelRelationshipListResp
  486. type LabelRelationshipListResp struct {
  487. BaseDataInfo
  488. // LabelRelationship list data | LabelRelationship列表数据
  489. Data LabelRelationshipListInfo `json:"data"`
  490. }
  491. // LabelRelationship list data | LabelRelationship列表数据
  492. // swagger:model LabelRelationshipListInfo
  493. type LabelRelationshipListInfo struct {
  494. BaseListInfo
  495. // The API list data | LabelRelationship列表数据
  496. Data []LabelRelationshipInfo `json:"data"`
  497. }
  498. // Get label relationship list request params | LabelRelationship列表请求参数
  499. // swagger:model LabelRelationshipListReq
  500. type LabelRelationshipListReq struct {
  501. PageInfo
  502. }
  503. // LabelRelationship information response | LabelRelationship信息返回体
  504. // swagger:model LabelRelationshipInfoResp
  505. type LabelRelationshipInfoResp struct {
  506. BaseDataInfo
  507. // LabelRelationship information | LabelRelationship数据
  508. Data LabelRelationshipInfo `json:"data"`
  509. }
  510. // The response data of message information | Message信息
  511. // swagger:model MessageInfo
  512. type MessageInfo struct {
  513. BaseIDInfo
  514. // 属主微信id
  515. WxWxid *string `json:"wxWxid"`
  516. // 微信id 公众号微信ID
  517. Wxid *string `json:"wxid"`
  518. // 微信消息内容
  519. Msg *string `json:"msg"`
  520. }
  521. // The response data of message list | Message列表数据
  522. // swagger:model MessageListResp
  523. type MessageListResp struct {
  524. BaseDataInfo
  525. // Message list data | Message列表数据
  526. Data MessageListInfo `json:"data"`
  527. }
  528. // Message list data | Message列表数据
  529. // swagger:model MessageListInfo
  530. type MessageListInfo struct {
  531. BaseListInfo
  532. // The API list data | Message列表数据
  533. Data []MessageInfo `json:"data"`
  534. }
  535. // Get message list request params | Message列表请求参数
  536. // swagger:model MessageListReq
  537. type MessageListReq struct {
  538. PageInfo
  539. // 属主微信id
  540. WxWxid *string `json:"wxWxid,optional"`
  541. // 微信id 公众号微信ID
  542. Wxid *string `json:"wxid,optional"`
  543. }
  544. // Message information response | Message信息返回体
  545. // swagger:model MessageInfoResp
  546. type MessageInfoResp struct {
  547. BaseDataInfo
  548. // Message information | Message数据
  549. Data MessageInfo `json:"data"`
  550. }
  551. // The response data of label list | Label列表数据
  552. // swagger:model LabelSelectListResp
  553. type LabelSelectListResp struct {
  554. BaseDataInfo
  555. // Label list data | Label列表数据
  556. Data []LabelSelectListInfo `json:"data"`
  557. }
  558. // The response data of label list | Label列表数据
  559. // swagger:model LabelListResp
  560. type LabelListResp struct {
  561. BaseDataInfo
  562. // Label list data | Label列表数据
  563. Data LabelListInfo `json:"data"`
  564. }
  565. // Label list data | Label列表数据
  566. // swagger:model LabelListInfo
  567. type LabelListInfo struct {
  568. BaseListInfo
  569. // The API list data | Label列表数据
  570. Data []LabelInfo `json:"data"`
  571. }
  572. // Get label list request params | Label列表请求参数
  573. // swagger:model LabelListReq
  574. type LabelListReq struct {
  575. PageInfo
  576. // Label ID list | Label ID列表
  577. LabelIDs []uint64 `json:"labelIDs,optional"`
  578. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  579. Type *int `json:"type,optional"`
  580. // 标签名称
  581. Name *string `json:"name,optional"`
  582. // 标签来源:1后台创建 2个微同步
  583. From *int `json:"from,optional"`
  584. // 标签模式:1动态 2静态
  585. Mode *int `json:"mode,optional"`
  586. }
  587. // Label information response | Label信息返回体
  588. // swagger:model LabelInfoResp
  589. type LabelInfoResp struct {
  590. BaseDataInfo
  591. // Label information | Label数据
  592. Data LabelInfo `json:"data"`
  593. }
  594. // swagger:model LabelSelectListInfo
  595. type LabelSelectListInfo struct {
  596. // label
  597. Label *string `json:"label,optional"`
  598. // value
  599. Value *uint64 `json:"value,optional"`
  600. }