/// <summary>
 /// Get a collection of the active goals
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='types'>
 /// The goal types(e.g Steps, CaloriesBurned) filter.
 /// </param>
 /// <param name='windowTypes'>
 /// The goal window types(e.g Daily, Weekly) filter.
 /// </param>
 public static GoalsResponse GetActive(this IGoals operations, string types = default(string), string windowTypes = default(string))
 {
     return(operations.GetActiveAsync(types, windowTypes).GetAwaiter().GetResult());
 }