com.kallasoft.smugmug.api.json.v1_2_0.subcategories
Class Get.GetResponse

java.lang.Object
  extended by com.kallasoft.smugmug.api.json.AbstractResponse
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.kallasoft.smugmug.api.json.AbstractResponse
AbstractResponse.Error
 
Constructor Summary
Get.GetResponse(String responseText)
          Construct a response by parsing the necessary values out of the JSON response text.
 
Method Summary
 List<Category> getSubCategoryList()
          Used to get a list of the subcategories that belonged to the given category.
 String toString()
           
 
Methods inherited from class com.kallasoft.smugmug.api.json.AbstractResponse
getError, getMethod, getStat, isError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.