/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='code'> /// </param> /// <param name='language'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <LMSApplicationCoreViewModelStudentsStudentViewModel> GetStudentByParentAccessCodeAsync(this IStudentApi operations, string code, string language, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetStudentByParentAccessCodeWithHttpMessagesAsync(code, language, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }