public class CommandsApi
extends java.lang.Object
Constructor and Description |
---|
CommandsApi(CommandsService commandsService)
Constructs Commands API endpoint initialized with corresponding service class.
|
Modifier and Type | Method and Description |
---|---|
CommandsRequestExecutor |
fetch()
Provides executor that can be used to obtain commands.
|
public CommandsApi(CommandsService commandsService)
commandsService
- the commands API service.public CommandsRequestExecutor fetch()