rolesPlatformOrgsRolesUsersDesiredRolesRetrieveWithHttpInfo method
Performs an HTTP 'GET /api/roles/platform/orgs/{org}/roles/users/{username}/desired-roles/' operation and returns the Response.
Parameters:
Implementation
Future<Response> rolesPlatformOrgsRolesUsersDesiredRolesRetrieveWithHttpInfo(String org, String username,) async {
// ignore: prefer_const_declarations
final path = r'/api/roles/platform/orgs/{org}/roles/users/{username}/desired-roles/'
.replaceAll('{org}', org)
.replaceAll('{username}', username);
// 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,
);
}