public class CommentListDTO extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_COUNT |
static String |
SERIALIZED_NAME_LIST |
static String |
SERIALIZED_NAME_PAGINATION |
| Constructor and Description |
|---|
CommentListDTO() |
| Modifier and Type | Method and Description |
|---|---|
CommentListDTO |
count(Integer count) |
boolean |
equals(Object o) |
Integer |
getCount()
Number of Comments returned.
|
List<CommentDTO> |
getList()
Get list
|
PaginationDTO |
getPagination()
Get pagination
|
int |
hashCode() |
CommentListDTO |
list(List<CommentDTO> list) |
CommentListDTO |
pagination(PaginationDTO pagination) |
void |
setCount(Integer count) |
void |
setList(List<CommentDTO> list) |
void |
setPagination(PaginationDTO pagination) |
String |
toString() |
public static final String SERIALIZED_NAME_COUNT
public static final String SERIALIZED_NAME_LIST
public static final String SERIALIZED_NAME_PAGINATION
public CommentListDTO count(Integer count)
public void setCount(Integer count)
public CommentListDTO list(List<CommentDTO> list)
@Nullable public List<CommentDTO> getList()
public void setList(List<CommentDTO> list)
public CommentListDTO pagination(PaginationDTO pagination)
@Nullable public PaginationDTO getPagination()
public void setPagination(PaginationDTO pagination)
Copyright © 2021 WSO2 Inc. All rights reserved.