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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceTypeprotected StringgetUrl(long businessId, boolean isList) protected StringgetUrl(long businessId, boolean isList, List<QueryBuilder> builders) protected StringgetUrl(long businessId, long resourceId) protected StringgetUrl(long businessId, long resourceId, IncludesQueryBuilder builder) Methods inherited from class net.amcintosh.freshbooks.resources.api.ProjectResource
getPathForList, getPathForSingle, handleListRequest, handleRequest, handleRequestMethods inherited from class net.amcintosh.freshbooks.resources.api.Resource
buildQueryString
-
Constructor Details
-
CommentResource
- Parameters:
freshBooksClient- Initialized instance of FreshBooksClient
-
-
Method Details
-
getResourceType
- Overrides:
getResourceTypein classProjectResource
-
getUrl
- Overrides:
getUrlin classProjectResource
-
getUrl
- Overrides:
getUrlin classProjectResource
-
getUrl
- Overrides:
getUrlin classProjectResource
-
getUrl
- Overrides:
getUrlin classProjectResource
-