/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='operatorId'> /// </param> /// <param name='query'> /// </param> /// <param name='apiVersion'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <SkpLocationDto> > GetLocationsForOperatorAsync(this ISkpAPIv10 operations, int operatorId, GetSkpLocations query = default(GetSkpLocations), string apiVersion = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetLocationsForOperatorWithHttpMessagesAsync(operatorId, query, apiVersion, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }