code: public ApiSuccessResponse notReadyAgentState(NotReadyForAgentData notReadyForAgentData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = notReadyAgentStateWithHttpInfo(notReadyForAgentData);
          return resp.getData();
      }
docs: Set the agent state to Not Ready
  Set the current agent&#39;s state to Not Ready on all media channels.
  @param notReadyForAgentData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body