Miners.Miner| Constructor and Description |
|---|
MinersImpl(String clientId,
String pickaxeId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
WebUtil webUtil)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Miners.Miner> |
all()
Returns all of the miners.
|
Optional<Miners.Miner> |
one(int minerId)
Returns one
Miners.Miner. |
Optional<Miners.Miner> |
update(int minerId,
String name,
String apiIp,
String platform,
String minerType,
String serial,
boolean compress)
Updates the miner with the provided parameters.
|
public List<Miners.Miner> all()
Minerspublic Optional<Miners.Miner> one(int minerId)
MinersMiners.Miner.public Optional<Miners.Miner> update(int minerId, String name, String apiIp, String platform, String minerType, String serial, boolean compress)
Minersupdate in interface MinersminerId - The miner ID.name - The name.apiIp - The API IP (leave null to not update).platform - The platform.minerType - The miner type.serial - The serial (leave null to not update).compress - If the request should be compressed.Miners.Miner.Copyright © 2025 OBM, LLC. All rights reserved.