public class TransactionCommentService extends Object
| Constructor and Description |
|---|
TransactionCommentService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<TransactionComment> |
all(Long spaceId,
Long transactionId)
Find by transaction
Returns all comments of the transaction.
|
List<TransactionComment> |
all(Long spaceId,
Long transactionId,
Map<String,Object> params)
Find by transaction
Returns all comments of the transaction.
|
com.google.api.client.http.HttpResponse |
allForHttpResponse(Long spaceId,
Long transactionId) |
com.google.api.client.http.HttpResponse |
allForHttpResponse(Long spaceId,
Long transactionId,
Map<String,Object> params) |
TransactionComment |
create(Long spaceId,
TransactionCommentCreate entity)
Create
Creates the comment with the given properties.
|
TransactionComment |
create(Long spaceId,
TransactionCommentCreate entity,
Map<String,Object> params)
Create
Creates the comment with the given properties.
|
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
InputStream entity,
String mediaType) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
TransactionCommentCreate entity) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
TransactionCommentCreate entity,
Map<String,Object> params) |
void |
delete(Long spaceId,
Long id)
Delete
Deletes the comment with the given id.
|
void |
delete(Long spaceId,
Long id,
Map<String,Object> params)
Delete
Deletes the comment with the given id.
|
com.google.api.client.http.HttpResponse |
deleteForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
deleteForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
ApiClient |
getApiClient() |
void |
pin(Long spaceId,
Long id)
Pin
Pins the comment to the top.
|
void |
pin(Long spaceId,
Long id,
Map<String,Object> params)
Pin
Pins the comment to the top.
|
com.google.api.client.http.HttpResponse |
pinForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
pinForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
TransactionComment |
read(Long spaceId,
Long id)
Read
Reads the comment with the given 'id' and returns it.
|
TransactionComment |
read(Long spaceId,
Long id,
Map<String,Object> params)
Read
Reads the comment with the given 'id' and returns it.
|
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
void |
setApiClient(ApiClient apiClient) |
void |
unpin(Long spaceId,
Long id)
Unpin
Unpins the comment from the top.
|
void |
unpin(Long spaceId,
Long id,
Map<String,Object> params)
Unpin
Unpins the comment from the top.
|
com.google.api.client.http.HttpResponse |
unpinForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
unpinForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
TransactionComment |
update(Long spaceId,
TransactionCommentActive entity)
Update
This updates the comment with the given properties.
|
TransactionComment |
update(Long spaceId,
TransactionCommentActive entity,
Map<String,Object> params)
Update
This updates the comment with the given properties.
|
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
InputStream entity,
String mediaType) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
TransactionCommentActive entity) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
TransactionCommentActive entity,
Map<String,Object> params) |
public TransactionCommentService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<TransactionComment> all(Long spaceId, Long transactionId) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionId - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<TransactionComment> all(Long spaceId, Long transactionId, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionId - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse allForHttpResponse(Long spaceId, Long transactionId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse allForHttpResponse(Long spaceId, Long transactionId, Map<String,Object> params) throws IOException
IOExceptionpublic TransactionComment create(Long spaceId, TransactionCommentCreate entity) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - entity - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public TransactionComment create(Long spaceId, TransactionCommentCreate entity, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - entity - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, TransactionCommentCreate entity) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, InputStream entity, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, TransactionCommentCreate entity, Map<String,Object> params) throws IOException
IOExceptionpublic void delete(Long spaceId, Long id) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void delete(Long spaceId, Long id, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse deleteForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic void pin(Long spaceId, Long id) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void pin(Long spaceId, Long id, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse pinForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse pinForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic TransactionComment read(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public TransactionComment read(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse readForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse readForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic void unpin(Long spaceId, Long id) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void unpin(Long spaceId, Long id, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse unpinForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse unpinForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic TransactionComment update(Long spaceId, TransactionCommentActive entity) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - entity - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public TransactionComment update(Long spaceId, TransactionCommentActive entity, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - entity - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, TransactionCommentActive entity) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, InputStream entity, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, TransactionCommentActive entity, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2022. All rights reserved.