code: public ApiResponse<ApiSuccessResponse> supervisorRemoteMediaOperationWithHttpInfo(String dbid, String mediatype, String operationName, SupervisorPlaceData1 supervisorPlaceData) throws ApiException {
          com.squareup.okhttp.Call call = supervisorRemoteMediaOperationValidateBeforeCall(dbid, mediatype, operationName, supervisorPlaceData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Change the state of the agent specified by the dbid to operationName.
  Change the state of the agent specified by the dbid to operationName.
  @param dbid The dbid of the agent. (required)
  @param mediatype The media channel. (required)
  @param operationName Name of state to change to (required)
  @param supervisorPlaceData 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