/// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='employeesActiveOnOrAfterDate'>
 /// Employees must have an active employment on or after this date
 /// This parameter is required
 /// </param>
 /// <param name='pageNumber'>
 /// The number of the page to return (1 is the first page).
 /// </param>
 /// <param name='pageSize'>
 /// Number of objects per page.
 /// </param>
 /// <param name='inlineCount'>
 /// A flag indicating if total number of items should be included.
 /// </param>
 /// <param name='schoolCode'>
 /// The school code for which to get data.
 /// </param>
 /// <param name='areaOfResponsibilityId'>
 /// Option for also querying employees by area of responsibility
 /// </param>
 /// <param name='xSelectedSchoolCode'>
 /// Selected school code, used when multiple impersonation permissions are
 /// available on the token
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PagedResponseEmployeeExternalResponse> GetAsync(this IActiveEmployeesExternal operations, System.DateTime employeesActiveOnOrAfterDate, int pageNumber, int pageSize, bool inlineCount, string schoolCode, System.Guid?areaOfResponsibilityId = default(System.Guid?), string xSelectedSchoolCode = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(employeesActiveOnOrAfterDate, pageNumber, pageSize, inlineCount, schoolCode, areaOfResponsibilityId, xSelectedSchoolCode, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='employeesActiveOnOrAfterDate'>
 /// Employees must have an active employment on or after this date
 /// This parameter is required
 /// </param>
 /// <param name='pageNumber'>
 /// The number of the page to return (1 is the first page).
 /// </param>
 /// <param name='pageSize'>
 /// Number of objects per page.
 /// </param>
 /// <param name='inlineCount'>
 /// A flag indicating if total number of items should be included.
 /// </param>
 /// <param name='schoolCode'>
 /// The school code for which to get data.
 /// </param>
 /// <param name='areaOfResponsibilityId'>
 /// Option for also querying employees by area of responsibility
 /// </param>
 /// <param name='xSelectedSchoolCode'>
 /// Selected school code, used when multiple impersonation permissions are
 /// available on the token
 /// </param>
 public static PagedResponseEmployeeExternalResponse Get(this IActiveEmployeesExternal operations, System.DateTime employeesActiveOnOrAfterDate, int pageNumber, int pageSize, bool inlineCount, string schoolCode, System.Guid?areaOfResponsibilityId = default(System.Guid?), string xSelectedSchoolCode = default(string))
 {
     return(operations.GetAsync(employeesActiveOnOrAfterDate, pageNumber, pageSize, inlineCount, schoolCode, areaOfResponsibilityId, xSelectedSchoolCode).GetAwaiter().GetResult());
 }