getCommentTextWithHttpInfo method
Future<Response>
getCommentTextWithHttpInfo(
- String tenantId,
- String commentId, [
- GetCommentTextOptions? options
Performs an HTTP 'GET /comments/{tenantId}/{commentId}/text' operation and returns the Response.
Parameters:
Implementation
Future<Response> getCommentTextWithHttpInfo(String tenantId, String commentId, [ GetCommentTextOptions? options ]) async {
final editKey = options?.editKey;
final sso = options?.sso;
// ignore: prefer_const_declarations
final path = r'/comments/{tenantId}/{commentId}/text'
.replaceAll('{tenantId}', tenantId)
.replaceAll('{commentId}', commentId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (editKey != null) {
queryParams.addAll(_queryParams('', 'editKey', editKey));
}
if (sso != null) {
queryParams.addAll(_queryParams('', 'sso', sso));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}