getConnectionWithHttpInfo method
Retrives informations about the connection
Returns the connection's info as an Connection objects. If an Internal Server Error occours, an Error object will be returned.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getConnectionWithHttpInfo(
String id, {
required String uuidToken,
}) async {
// ignore: prefer_const_declarations
final path = '${LbWriterEnvironment.getApiEndpoint(
iotUuid: uuidToken,
)}/connection/$id/';
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}