public ApiResponse<ApiSuccessResponse> setFocusTimeMediaWithHttpInfo(String mediatype, String id, SetFocusTimeData1 setFocusTimeData) throws ApiException {
        com.squareup.okhttp.Call call = setFocusTimeMediaValidateBeforeCall(mediatype, id, setFocusTimeData, null, null);
        Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
public ApiResponse < ApiSuccessResponse > setFocusTimeMediaWithHttpInfo ( String mediatype , String id , SetFocusTimeData1 setFocusTimeData ) throws ApiException { com . squareup . okhttp . Call call = setFocusTimeMediaValidateBeforeCall ( mediatype , id , setFocusTimeData , null , null ) ; Type localVarReturnType = new TypeToken < ApiSuccessResponse > ( ) { } . getType ( ) ; return apiClient . execute ( call , localVarReturnType ) ; }
Set the focus time of interaction
Set the focus time to the specified interaction.
@param mediatype media-type of interaction (required)
@param id id of interaction (required)
@param setFocusTimeData Request parameters. (required)
@return ApiResponse&lt;ApiSuccessResponse&gt;
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body