@Override
public Mono<ListUserManagedSpacesResponse> listManagedSpaces(ListUserManagedSpacesRequest request) {
return get(request, ListUserManagedSpacesResponse.class, builder -> builder.pathSegment("v2", "users", request.getUserId(), "managed_spaces"))
.checkpoint();
}
<BUG>@Override
public Mono<ListUserSpacesResponse> listSpaces(ListUserSpacesRequest request) {</BUG>
return get(request, ListUserSpacesResponse.class, builder -> builder.pathSegment("v2", "users", request.getUserId(), "spaces"))
.checkpoint();
}

@Override
public Mono<AssociateUserAuditedSpaceResponse> associateAuditedSpace(AssociateUserAuditedSpaceRequest request) {
return put(request, AssociateUserAuditedSpaceResponse.class, builder -> builder.pathSegment("v2", "users", request.getUserId(), "audited_spaces", request.getAuditedSpaceId()))
.checkpoint();
}
