src/test/java/com/squareup/connect/api/LaborApiTest.java
@Test
    public void createShiftTest() throws ApiException {
        CreateShiftRequest body = null;
        CreateShiftResponse response = api.createShift(body);

        // TODO: test validations
    }
/**
     * CreateShift
     *
     * Creates a new &#x60;Shift&#x60;.   A &#x60;Shift&#x60; represents a complete work day for a single employee.  You must provide the following values in your request to this endpoint:  - &#x60;location_id&#x60; - &#x60;employee_id&#x60; - &#x60;start_at&#x60;  An attempt to create a new &#x60;Shift&#x60; can result in a &#x60;BAD_REQUEST&#x60; error when: - The &#x60;status&#x60; of the new &#x60;Shift&#x60; is &#x60;OPEN&#x60; and the employee has another  shift with an &#x60;OPEN&#x60; status.  - The &#x60;start_at&#x60; date is in the future - the &#x60;start_at&#x60; or &#x60;end_at&#x60; overlaps another shift for the same employee - If &#x60;Break&#x60;s are set in the request, a break &#x60;start_at&#x60; must not be before the &#x60;Shift.start_at&#x60;. A break &#x60;end_at&#x60; must not be after the &#x60;Shift.end_at&#x60;
     *
     * @throws ApiException
     *          if the Api call fails
     */
CreateShift
Creates a new `Shift`.   A `Shift` represents a complete work day for a single employee.

@throws ApiException
if the Api call fails
CreateShift Creates a new ` Shift ` . A ` Shift ` represents a complete work day for a single employee . @throws ApiException if the Api call fails
@Test
    public void createShiftTest() throws ApiException {
        CreateShiftRequest body = null;
        CreateShiftResponse response = api.createShift(body);
    }
@ Test public void createShiftTest ( ) throws ApiException { CreateShiftRequest body = null ; CreateShiftResponse response = api . createShift ( body ) ; }
CreateShift
 Creates a new &#x60;Shift&#x60;.
CreateShift Creates a new &#x60 ; Shift&#x60 ; .
// TODO: test validations