getPhoneNumberWithHttpInfo method
Performs an HTTP 'GET /phone/numbers/{phoneNumberId}' operation and returns the Response
.
Parameters:
- String phoneNumberId (required):
Implementation
Future<Response> getPhoneNumberWithHttpInfo(String phoneNumberId,) async {
// ignore: prefer_const_declarations
final path = r'/phone/numbers/{phoneNumberId}'
.replaceAll('{phoneNumberId}', phoneNumberId);
// 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,
);
}