constraintsWithHttpInfo method
Get configuration constraints
Retrive the configuration's constraints like the forbidden ports, allowed versions etc.
Note: This method returns the HTTP Response.
Parameters:
- String uuidToken: Used for remote connections to device
Implementation
Future<Response> constraintsWithHttpInfo({
String? uuidToken,
}) async {
final path =
'${LogbotEnvironment.getApiEndpoint(iotUuid: uuidToken!, servicePort: LogbotEnvironment.servicePort)}/config/constraints';
// ignore: prefer_final_locals
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,
);
}