public class AnalyticsResponse extends ExpandResponse
{
"kind": "urlshortener#url",
"id": "http://goo.gl/fbsS",
"longUrl": "http://www.google.com/",
"status": "OK",
"created": "2009-12-13T07:22:55.000+00:00",
"analytics": {
"allTime": {
"shortUrlClicks": "3227",
"longUrlClicks": "9358",
"referrers": [ { "count": "2160", "id": "Unknown/empty" }, ... ],
"countries": [ { "count": "1022", "id": "US" } , ... ],
"browsers": [ { "count": "1025", "id": "Firefox" }, ... ],
"platforms": [ { "count": "2278", "id": "Windows" }, ... ]
},
"month": { ... },
"week": { ... },
"day": { ... },
"twoHours": { ... }
}
}
kind, longUrl, shortUrl, statuserror| Constructor and Description |
|---|
AnalyticsResponse() |
| Modifier and Type | Method and Description |
|---|---|
pl.project13.jgoogl.response.v1.AnalyticsResponse.AnalyticsMap |
getAnalytics() |
Date |
getCreatedAt() |
void |
setAnalytics(pl.project13.jgoogl.response.v1.AnalyticsResponse.AnalyticsMap analytics) |
void |
setCreatedAt(Date createdAt) |
String |
toString() |
getKind, getLongUrl, getShortUrl, getStatus, setKind, setLongUrl, setShortUrl, setStatusgetError, hasErrors, setErrorpublic Date getCreatedAt()
public void setCreatedAt(Date createdAt)
public pl.project13.jgoogl.response.v1.AnalyticsResponse.AnalyticsMap getAnalytics()
public void setAnalytics(pl.project13.jgoogl.response.v1.AnalyticsResponse.AnalyticsMap analytics)
public String toString()
toString in class ExpandResponseCopyright © 2011-2013. All Rights Reserved.