public class Subscriptions extends Object
| Constructor and Description |
|---|
Subscriptions(HashMap<String,Integer> remainingScansPerPlan)
Instantiates a new Subscriptions.
|
| Modifier and Type | Method and Description |
|---|---|
static Subscriptions |
fromJson(String json)
From json subscriptions.
|
HashMap<String,Integer> |
getRemainingScansPerPlan()
Gets remaining scans per plan.
|
void |
setScanId(HashMap<String,Integer> remainingScansPerPlan)
Sets scan id.
|
String |
toString() |
public static Subscriptions fromJson(String json) throws com.github.cliftonlabs.json_simple.JsonException
json - the jsoncom.github.cliftonlabs.json_simple.JsonException - the json exceptionpublic HashMap<String,Integer> getRemainingScansPerPlan()
public void setScanId(HashMap<String,Integer> remainingScansPerPlan)
remainingScansPerPlan - the remaining scans per planCopyright © 2016–2020. All rights reserved.