AutoApi.HeartRateState.name

You're seeing just the function name, go back to AutoApi.HeartRateState module for more information.