code: public ApiSuccessResponse setAgentStateReady(ReadyData readyData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = setAgentStateReadyWithHttpInfo(readyData);
          return resp.getData();
      }
docs: Set the agent state to Ready
  Set the current agent&#39;s state to Ready on the voice channel.
  @param readyData  (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body