getRoleSetWithHttpInfo method
Retrieve a role set
Retrieves an existing role set by its key or ID.
Note: This method returns the HTTP Response.
Parameters:
- String roleSetKeyOrId (required): The key or ID of the role set
Implementation
Future<http.Response> getRoleSetWithHttpInfo(
String roleSetKeyOrId,
) async {
// ignore: prefer_const_declarations
final path = r'/role_sets/{role_set_key_or_id}'
.replaceAll('{role_set_key_or_id}', roleSetKeyOrId);
// 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,
);
}