Class CommentDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.CommentDTO
-
public class CommentDTO extends Object
CommentDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommentDTO.EntryPointEnumGets or Sets entryPoint
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CATEGORYstatic StringSERIALIZED_NAME_COMMENTER_INFOstatic StringSERIALIZED_NAME_CONTENTstatic StringSERIALIZED_NAME_CREATED_BYstatic StringSERIALIZED_NAME_CREATED_TIMEstatic StringSERIALIZED_NAME_ENTRY_POINTstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_PARENT_COMMENT_IDstatic StringSERIALIZED_NAME_REPLIESstatic StringSERIALIZED_NAME_UPDATED_TIME
-
Constructor Summary
Constructors Constructor Description CommentDTO()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTENT
public static final String SERIALIZED_NAME_CONTENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_TIME
public static final String SERIALIZED_NAME_CREATED_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_BY
public static final String SERIALIZED_NAME_CREATED_BY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_TIME
public static final String SERIALIZED_NAME_UPDATED_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CATEGORY
public static final String SERIALIZED_NAME_CATEGORY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARENT_COMMENT_ID
public static final String SERIALIZED_NAME_PARENT_COMMENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENTRY_POINT
public static final String SERIALIZED_NAME_ENTRY_POINT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMMENTER_INFO
public static final String SERIALIZED_NAME_COMMENTER_INFO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REPLIES
public static final String SERIALIZED_NAME_REPLIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public CommentDTO id(String id)
-
setId
public void setId(String id)
-
content
public CommentDTO content(String content)
-
getContent
public String getContent()
Get content- Returns:
- content
-
setContent
public void setContent(String content)
-
createdTime
public CommentDTO createdTime(String createdTime)
-
setCreatedTime
public void setCreatedTime(String createdTime)
-
createdBy
public CommentDTO createdBy(String createdBy)
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
updatedTime
public CommentDTO updatedTime(String updatedTime)
-
setUpdatedTime
public void setUpdatedTime(String updatedTime)
-
category
public CommentDTO category(String category)
-
setCategory
public void setCategory(String category)
-
parentCommentId
public CommentDTO parentCommentId(String parentCommentId)
-
getParentCommentId
@Nullable public String getParentCommentId()
Get parentCommentId- Returns:
- parentCommentId
-
setParentCommentId
public void setParentCommentId(String parentCommentId)
-
entryPoint
public CommentDTO entryPoint(CommentDTO.EntryPointEnum entryPoint)
-
getEntryPoint
@Nullable public CommentDTO.EntryPointEnum getEntryPoint()
Get entryPoint- Returns:
- entryPoint
-
setEntryPoint
public void setEntryPoint(CommentDTO.EntryPointEnum entryPoint)
-
commenterInfo
public CommentDTO commenterInfo(CommenterInfoDTO commenterInfo)
-
getCommenterInfo
@Nullable public CommenterInfoDTO getCommenterInfo()
Get commenterInfo- Returns:
- commenterInfo
-
setCommenterInfo
public void setCommenterInfo(CommenterInfoDTO commenterInfo)
-
replies
public CommentDTO replies(CommentListDTO replies)
-
getReplies
@Nullable public CommentListDTO getReplies()
Get replies- Returns:
- replies
-
setReplies
public void setReplies(CommentListDTO replies)
-
-