public abstract class BaseModelObject extends ModelBase
Modifier and Type | Field and Description |
---|---|
protected BandwidthRestClient |
client |
dateFormat, properties
Modifier | Constructor and Description |
---|---|
protected |
BaseModelObject(BandwidthRestClient client,
org.json.simple.JSONObject jsonObject) |
protected |
BaseModelObject(BandwidthRestClient client,
String parentUri,
org.json.simple.JSONObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
protected BandwidthRestClient |
getClient() |
protected abstract String |
getUri() |
getId, getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, putProperty, toMap, updateProperties
protected final BandwidthRestClient client
protected BaseModelObject(BandwidthRestClient client, org.json.simple.JSONObject jsonObject)
protected BaseModelObject(BandwidthRestClient client, String parentUri, org.json.simple.JSONObject jsonObject)
protected BandwidthRestClient getClient()
protected abstract String getUri()
Copyright © 2014. All Rights Reserved.