类 LogSearchResponse


  • public class LogSearchResponse
    extends Object
    日志搜索响应
    作者:
    frankcl
    • 字段详细资料

      • status

        public boolean status
      • totalCount

        public Long totalCount
      • message

        public String message
      • records

        public xin.manong.weapon.base.record.KVRecords records
    • 构造器详细资料

      • LogSearchResponse

        public LogSearchResponse()
    • 方法详细资料

      • buildError

        public static LogSearchResponse buildError​(String message)
        构建错误响应
        参数:
        message - 错误信息
        返回:
        错误响应对象
      • buildOK

        public static LogSearchResponse buildOK​(xin.manong.weapon.base.record.KVRecords records,
                                                Long totalCount)
        构建成功响应
        参数:
        records - 数据列表
        totalCount - 总数
        返回:
        成功响应对象