code: public ApiResponse<ApiSuccessResponse> readyAgentStateWithHttpInfo(MediaReadyData mediaReadyData) throws ApiException {
          com.squareup.okhttp.Call call = readyAgentStateValidateBeforeCall(mediaReadyData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Set the agent state to Ready
  Set the current agent&#39;s state to Ready on all media channels.
  @param mediaReadyData Request parameters. (optional)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body