com.kallasoft.smugmug.api.json.v1_2_0.subcategories
Class Get.GetResponse
java.lang.Object
com.kallasoft.smugmug.api.json.AbstractResponse
com.kallasoft.smugmug.api.json.v1_2_0.subcategories.Get.GetResponse
- Direct Known Subclasses:
- Get.GetResponse
- Enclosing class:
- Get
public class Get.GetResponse
- extends AbstractResponse
Class used to represent the response for the smugmug.subcategories.get
method call.
- Version:
- 1.2.0
- Author:
- Riyad Kalla
|
Constructor Summary |
Get.GetResponse(String responseText)
Construct a response by parsing the necessary values out of the JSON
response text. |
Get.GetResponse
public Get.GetResponse(String responseText)
throws RuntimeJSONException
- Construct a response by parsing the necessary values out of the JSON
response text.
- Parameters:
responseText - The JSON-formatted response text that came back from the
SmugMug API call.
- Throws:
RuntimeJSONException - if an error occurs while parsing the JSON response text.
toString
public String toString()
- Overrides:
toString in class AbstractResponse
getSubCategoryList
public List<Category> getSubCategoryList()
- Used to get a list of the subcategories that belonged to the given
category.
- Returns:
- a list of the subcategories that belonged to the given
category.