|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.techventus.server.voice.datatypes.Settings
@Deprecated public class Settings
Holds all settings of the gVoice account and can return it as String, as lists or as json-string Most Lists also have a .toJson() method
Constructor Summary | |
---|---|
Settings(java.lang.String json,
boolean useJSONParser,
boolean saveMode)
Deprecated. |
Method Summary | |
---|---|
java.util.List<java.lang.Integer> |
getActiveForwardingList()
Deprecated. |
java.lang.String |
getBaseUrl()
Deprecated. |
int |
getDefaultGreetingId()
Deprecated. |
java.util.List<DisabledId> |
getDisabledIdList()
Deprecated. |
java.util.List<EmailAddress> |
getEmailAddressList()
Deprecated. |
java.util.List<java.lang.String> |
getGroupListSimple()
Deprecated. |
java.util.List<Group> |
getGroupSettingsList()
Deprecated. |
java.util.List<PhoneOld> |
getPhoneList()
Deprecated. |
int[] |
getPhoneListSimple()
Deprecated. |
java.util.List<Greeting> |
getVoicemailGreetingsList()
Deprecated. |
java.util.List<WebCallButton> |
getWebCallButtonList()
Deprecated. |
java.lang.String |
toJson()
Deprecated. Make a JSON text of the Settings. |
java.lang.String |
toJson(int indentFactor)
Deprecated. Make a prettyprinted JSON text of this JSONObject. |
java.lang.String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Settings(java.lang.String json, boolean useJSONParser, boolean saveMode)
json
- useJSONParser
- - uses the json.org json parsersaveMode
- - check if each key exists before trying to parse it(in JSON Parser mode)Method Detail |
---|
public java.lang.String toJson(int indentFactor) throws gvjava.org.json.JSONException
Warning: This method assumes that the data structure is acyclical.
indentFactor
- The number of spaces to add to each level of
indentation.
{
(left brace) and ending
with }
(right brace).
gvjava.org.json.JSONException
- if using identFactor > 0 and If the object contains an invalid number.public java.lang.String toJson()
Warning: This method assumes that the data structure is acyclical.
{
(left brace) and ending
with }
(right brace).public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<java.lang.String> getGroupListSimple()
public int[] getPhoneListSimple()
public java.util.List<PhoneOld> getPhoneList()
public java.util.List<Greeting> getVoicemailGreetingsList()
public java.util.List<Group> getGroupSettingsList()
public java.util.List<DisabledId> getDisabledIdList()
public java.util.List<WebCallButton> getWebCallButtonList()
public int getDefaultGreetingId()
public java.util.List<EmailAddress> getEmailAddressList()
public java.lang.String getBaseUrl()
public java.util.List<java.lang.Integer> getActiveForwardingList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |