getPhoneNumberWithHttpInfo method
Retrieve a phone number
Returns the details of a phone number
Note: This method returns the HTTP Response
.
Parameters:
- String phoneNumberId (required): The ID of the phone number to retrieve
Implementation
Future<http.Response> getPhoneNumberWithHttpInfo(
String phoneNumberId,
) async {
// ignore: prefer_const_declarations
final path = r'/phone_numbers/{phone_number_id}'
.replaceAll('{phone_number_id}', 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,
);
}