def update_shift(id, body, opts = {})
      data, _status_code, _headers = update_shift_with_http_info(id, body, opts)
      return data
    end
def update_shift(id, body, opts = {})
      data, _status_code, _headers = update_shift_with_http_info(id, body, opts)
      return data
    end
UpdateShift
 Updates an existing `Shift`.   When adding a `Break` to a `Shift`, any earlier `Breaks` in the `Shift` have  the `end_at` property set to a valid RFC-3339 datetime string.   When closing a `Shift`, all `Break` instances in the shift must be complete with `end_at` set on each `Break`.
 @param id ID of the object being updated.
 @param body An object containing the fields to POST for the request.  See the corresponding object definition for field details.
 @param [Hash] opts the optional parameters
 @return [UpdateShiftResponse]