Package zendesk.support
Class CommentsResponse
- java.lang.Object
-
- zendesk.support.ResponseWrapper
-
- zendesk.support.CommentsResponse
-
public class CommentsResponse extends ResponseWrapper
This is a class model for a response for requesting comments for a request. This object will be created byRequestProvider- See Also:
- Getting Comments
-
-
Constructor Summary
Constructors Constructor and Description CommentsResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<CommentResponse>getComments()Gets the comments in the responsejava.util.List<Organization>getOrganizations()Gets the organizations that theusersbelong tojava.util.List<User>getUsers()Gets the users who made the comments inCommentsResponse.getComments()-
Methods inherited from class zendesk.support.ResponseWrapper
getCount, getNextPage, getPreviousPage
-
-
-
-
Method Detail
-
getComments
public java.util.List<CommentResponse> getComments()
Gets the comments in the response- Returns:
- the comments in the response
-
getUsers
public java.util.List<User> getUsers()
Gets the users who made the comments inCommentsResponse.getComments()- Returns:
- the users who made the comments
-
getOrganizations
public java.util.List<Organization> getOrganizations()
Gets the organizations that theusersbelong to- Returns:
- the organisations that the users belong to who made comments
-
-