Class RestPageResult<T>
- java.lang.Object
-
- com.alibaba.nacos.config.server.model.RestPageResult<T>
-
- Type Parameters:
T- data type
- All Implemented Interfaces:
Serializable
public class RestPageResult<T> extends Object implements Serializable
rest page result- Author:
- Nacos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestPageResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()intgetCurrentPage()TgetData()StringgetMessage()intgetPageSize()static longgetSerialversionuid()intgetTotal()voidsetCode(int code)voidsetCurrentPage(int currentPage)voidsetData(T data)voidsetMessage(String message)voidsetPageSize(int pageSize)voidsetTotal(int total)
-
-
-
Method Detail
-
getCode
public int getCode()
-
setCode
public void setCode(int code)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getTotal
public int getTotal()
-
setTotal
public void setTotal(int total)
-
getPageSize
public int getPageSize()
-
setPageSize
public void setPageSize(int pageSize)
-
getCurrentPage
public int getCurrentPage()
-
setCurrentPage
public void setCurrentPage(int currentPage)
-
getData
public T getData()
-
setData
public void setData(T data)
-
getSerialversionuid
public static long getSerialversionuid()
-
-