src/main/java/com/squareup/connect/api/V1EmployeesApi.java
public CompleteResponse<List<V1Employee>>listEmployeesWithHttpInfo(String order, String beginUpdatedAt, String endUpdatedAt, String beginCreatedAt, String endCreatedAt, String status, String externalId, Integer limit, String batchToken) throws ApiException {
    Object localVarPostBody = null;
    
    // create path and map variables
    String localVarPath = "/v1/me/employees";

    // query params
    List<Pair> localVarQueryParams = new ArrayList<Pair>();
    Map<String, String> localVarHeaderParams = new HashMap<String, String>();
    Map<String, Object> localVarFormParams = new HashMap<String, Object>();
    localVarHeaderParams.put("Square-Version", "2019-11-20");
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", order));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "begin_updated_at", beginUpdatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "end_updated_at", endUpdatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "begin_created_at", beginCreatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "end_created_at", endCreatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", status));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "external_id", externalId));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "batch_token", batchToken));

    
    
    final String[] localVarAccepts = {
      "application/json"
    };
    final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);

    final String[] localVarContentTypes = {
      "application/json"
    };
    final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);

    String[] localVarAuthNames = new String[] { "oauth2" };

    GenericType<List<V1Employee>> localVarReturnType = new GenericType<List<V1Employee>>() {};
    return (CompleteResponse<List<V1Employee>>)apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
  }
/**
   * ListEmployees
   * Provides summary information for all of a business&#39;s employees.
   * @param order The order in which employees are listed in the response, based on their created_at field.      Default value: ASC (optional)
   * @param beginUpdatedAt If filtering results by their updated_at field, the beginning of the requested reporting period, in ISO 8601 format (optional)
   * @param endUpdatedAt If filtering results by there updated_at field, the end of the requested reporting period, in ISO 8601 format. (optional)
   * @param beginCreatedAt If filtering results by their created_at field, the beginning of the requested reporting period, in ISO 8601 format. (optional)
   * @param endCreatedAt If filtering results by their created_at field, the end of the requested reporting period, in ISO 8601 format. (optional)
   * @param status If provided, the endpoint returns only employee entities with the specified status (ACTIVE or INACTIVE). (optional)
   * @param externalId If provided, the endpoint returns only employee entities with the specified external_id. (optional)
   * @param limit The maximum integer number of employee entities to return in a single response. Default 100, maximum 200. (optional)
   * @param batchToken A pagination cursor to retrieve the next set of results for your original query to the endpoint. (optional)
   * @return CompleteResponse<List<V1Employee>>
   * @throws ApiException if fails to make API call
   */
ListEmployees
Provides summary information for all of a business's employees.
@param order The order in which employees are listed in the response, based on their created_at field.      Default value: ASC (optional)
@param beginUpdatedAt If filtering results by their updated_at field, the beginning of the requested reporting period, in ISO 8601 format (optional)
@param endUpdatedAt If filtering results by there updated_at field, the end of the requested reporting period, in ISO 8601 format. (optional)
@param beginCreatedAt If filtering results by their created_at field, the beginning of the requested reporting period, in ISO 8601 format. (optional)
@param endCreatedAt If filtering results by their created_at field, the end of the requested reporting period, in ISO 8601 format. (optional)
@param status If provided, the endpoint returns only employee entities with the specified status (ACTIVE or INACTIVE). (optional)
@param externalId If provided, the endpoint returns only employee entities with the specified external_id. (optional)
@param limit The maximum integer number of employee entities to return in a single response. Default 100, maximum 200. (optional)
@param batchToken A pagination cursor to retrieve the next set of results for your original query to the endpoint. (optional)
@return CompleteResponse>
@throws ApiException if fails to make API call
ListEmployees Provides summary information for all of a business ' s employees . @param order The order in which employees are listed in the response based on their created_at field . Default value : ASC ( optional ) @param beginUpdatedAt If filtering results by their updated_at field the beginning of the requested reporting period in ISO 8601 format ( optional ) @param endUpdatedAt If filtering results by there updated_at field the end of the requested reporting period in ISO 8601 format . ( optional ) @param beginCreatedAt If filtering results by their created_at field the beginning of the requested reporting period in ISO 8601 format . ( optional ) @param endCreatedAt If filtering results by their created_at field the end of the requested reporting period in ISO 8601 format . ( optional ) @param status If provided the endpoint returns only employee entities with the specified status ( ACTIVE or INACTIVE ) . ( optional ) @param externalId If provided the endpoint returns only employee entities with the specified external_id . ( optional ) @param limit The maximum integer number of employee entities to return in a single response . Default 100 maximum 200 . ( optional ) @param batchToken A pagination cursor to retrieve the next set of results for your original query to the endpoint . ( optional ) @return CompleteResponse > @throws ApiException if fails to make API call
public CompleteResponse<List<V1Employee>>listEmployeesWithHttpInfo(String order, String beginUpdatedAt, String endUpdatedAt, String beginCreatedAt, String endCreatedAt, String status, String externalId, Integer limit, String batchToken) throws ApiException {
    Object localVarPostBody = null;
    String localVarPath = "/v1/me/employees";
    List<Pair> localVarQueryParams = new ArrayList<Pair>();
    Map<String, String> localVarHeaderParams = new HashMap<String, String>();
    Map<String, Object> localVarFormParams = new HashMap<String, Object>();
    localVarHeaderParams.put("Square-Version", "2019-11-20");
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", order));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "begin_updated_at", beginUpdatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "end_updated_at", endUpdatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "begin_created_at", beginCreatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "end_created_at", endCreatedAt));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", status));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "external_id", externalId));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
    localVarQueryParams.addAll(apiClient.parameterToPairs("", "batch_token", batchToken));
    final String[] localVarAccepts = {
      "application/json"
    };
    final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
    final String[] localVarContentTypes = {
      "application/json"
    };
    final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
    String[] localVarAuthNames = new String[] { "oauth2" };
    GenericType<List<V1Employee>> localVarReturnType = new GenericType<List<V1Employee>>() {};
    return (CompleteResponse<List<V1Employee>>)apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
  }
public CompleteResponse < List < V1Employee > > listEmployeesWithHttpInfo ( String order , String beginUpdatedAt , String endUpdatedAt , String beginCreatedAt , String endCreatedAt , String status , String externalId , Integer limit , String batchToken ) throws ApiException { Object localVarPostBody = null ; String localVarPath = "/v1/me/employees" ; List < Pair > localVarQueryParams = new ArrayList < Pair > ( ) ; Map < String , String > localVarHeaderParams = new HashMap < String , String > ( ) ; Map < String , Object > localVarFormParams = new HashMap < String , Object > ( ) ; localVarHeaderParams . put ( "Square-Version" , "2019-11-20" ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "order" , order ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "begin_updated_at" , beginUpdatedAt ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "end_updated_at" , endUpdatedAt ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "begin_created_at" , beginCreatedAt ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "end_created_at" , endCreatedAt ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "status" , status ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "external_id" , externalId ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "limit" , limit ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "batch_token" , batchToken ) ) ; final String [ ] localVarAccepts = { "application/json" } ; final String localVarAccept = apiClient . selectHeaderAccept ( localVarAccepts ) ; final String [ ] localVarContentTypes = { "application/json" } ; final String localVarContentType = apiClient . selectHeaderContentType ( localVarContentTypes ) ; String [ ] localVarAuthNames = new String [ ] { "oauth2" } ; GenericType < List < V1Employee > > localVarReturnType = new GenericType < List < V1Employee > > ( ) { } ; return ( CompleteResponse < List < V1Employee > > ) apiClient . invokeAPI ( localVarPath , "GET" , localVarQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , localVarReturnType ) ; }
ListEmployees
 Provides summary information for all of a business&#39;s employees.
ListEmployees Provides summary information for all of a business&#39 ; s employees .
// create path and map variables // query params