Class CommentResource
java.lang.Object
net.amcintosh.freshbooks.resources.api.Resource
net.amcintosh.freshbooks.resources.api.ProjectResource
net.amcintosh.freshbooks.resources.api.CommentResource
- Direct Known Subclasses:
Services
Handles resources under the `/comments` which are project-like endpoints.
Thus, these are handled identically to `/projects` endpoints.
-
Field Summary
Fields inherited from class net.amcintosh.freshbooks.resources.api.Resource
freshBooksClient
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceType
protected String
getUrl
(long businessId, boolean isList) protected String
getUrl
(long businessId, boolean isList, List<QueryBuilder> builders) protected String
getUrl
(long businessId, long resourceId) protected String
getUrl
(long businessId, long resourceId, IncludesQueryBuilder builder) Methods inherited from class net.amcintosh.freshbooks.resources.api.ProjectResource
getPathForList, getPathForSingle, handleListRequest, handleRequest, handleRequest
Methods inherited from class net.amcintosh.freshbooks.resources.api.Resource
buildQueryString
-
Constructor Details
-
CommentResource
- Parameters:
freshBooksClient
- Initialized instance of FreshBooksClient
-
-
Method Details
-
getResourceType
- Overrides:
getResourceType
in classProjectResource
-
getUrl
- Overrides:
getUrl
in classProjectResource
-
getUrl
- Overrides:
getUrl
in classProjectResource
-
getUrl
- Overrides:
getUrl
in classProjectResource
-
getUrl
- Overrides:
getUrl
in classProjectResource
-