public class PresetsApi
extends java.lang.Object
Constructor and Description |
---|
PresetsApi(PresetsService presetsService)
Constructs Presets API endpoint initialized with corresponding service class.
|
Modifier and Type | Method and Description |
---|---|
PresetsRequestExecutor |
fetch()
Provides executor that can be used to obtain presets.
|
PresetRequestExecutor |
fetch(java.lang.String name)
Provides executor that can be used to obtain single preset by name.
|
public PresetsApi(PresetsService presetsService)
presetsService
- the presets API service.public PresetRequestExecutor fetch(java.lang.String name)
name
- the preset's name.public PresetsRequestExecutor fetch()