com.kallasoft.smugmug.api.json.v1_2_0.users
Class GetTransferStats.GetTransferStatsResponse

java.lang.Object
  extended by com.kallasoft.smugmug.api.json.AbstractResponse
      extended by com.kallasoft.smugmug.api.json.v1_2_0.users.GetTransferStats.GetTransferStatsResponse
Direct Known Subclasses:
GetTransferStats.GetTransferStatsResponse
Enclosing class:
GetTransferStats

public class GetTransferStats.GetTransferStatsResponse
extends AbstractResponse

Class used to represent the response for the smugmug.users.getTransferStats 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
GetTransferStats.GetTransferStatsResponse(String responseText)
          Construct a response by parsing the necessary values out of the JSON response text.
 
Method Summary
 List<AlbumTransferStats> getAlbumTransferStatsList()
          Used to retrieve the list of AlbumTransferStatss that contain transfer statistics for each album.
 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

GetTransferStats.GetTransferStatsResponse

public GetTransferStats.GetTransferStatsResponse(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

getAlbumTransferStatsList

public List<AlbumTransferStats> getAlbumTransferStatsList()
Used to retrieve the list of AlbumTransferStatss that contain transfer statistics for each album.

Returns:
the list of AlbumTransferStatss that contain transfer statistics for each album.