public class ContentActionFileRequestExecutor extends FileRequestExecutor
ActionsApi
. Use this class if you want to fetch content
action files, for example:
IKontaktCloud kontaktCloud = KontaktCloud.newInstance();
FileData file = kontaktCloud.actions().fileOf(actionId).execute();
Constructor and Description |
---|
ContentActionFileRequestExecutor(ActionsService actionsService,
java.util.UUID id)
Constructs request executor initialized with corresponding service class and action's id.
|
Modifier and Type | Method and Description |
---|---|
protected retrofit2.Call<okhttp3.ResponseBody> |
prepareCall()
Prepares a request to execute.
|
execute, execute
public ContentActionFileRequestExecutor(ActionsService actionsService, java.util.UUID id)
actionsService
- the actions API service.id
- the action's unique identifier.protected retrofit2.Call<okhttp3.ResponseBody> prepareCall()
prepareCall
in class FileRequestExecutor