public final class Upload extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Analytics API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Upload() |
| Modifier and Type | Method and Description |
|---|---|
Upload |
clone() |
Long |
getAccountId()
Account Id to which this upload belongs.
|
String |
getCustomDataSourceId()
Custom data source Id to which this data import belongs.
|
List<String> |
getErrors()
Data import errors collection.
|
String |
getId()
A unique ID for this upload.
|
String |
getKind()
Resource type for Analytics upload.
|
String |
getStatus()
Upload status.
|
Upload |
set(String fieldName,
Object value) |
Upload |
setAccountId(Long accountId)
Account Id to which this upload belongs.
|
Upload |
setCustomDataSourceId(String customDataSourceId)
Custom data source Id to which this data import belongs.
|
Upload |
setErrors(List<String> errors)
Data import errors collection.
|
Upload |
setId(String id)
A unique ID for this upload.
|
Upload |
setKind(String kind)
Resource type for Analytics upload.
|
Upload |
setStatus(String status)
Upload status.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Long getAccountId()
null for nonepublic Upload setAccountId(Long accountId)
accountId - accountId or null for nonepublic String getCustomDataSourceId()
null for nonepublic Upload setCustomDataSourceId(String customDataSourceId)
customDataSourceId - customDataSourceId or null for nonepublic List<String> getErrors()
null for nonepublic Upload setErrors(List<String> errors)
errors - errors or null for nonepublic String getId()
null for nonepublic Upload setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Upload setKind(String kind)
kind - kind or null for nonepublic String getStatus()
null for nonepublic Upload setStatus(String status)
status - status or null for nonepublic Upload set(String fieldName, Object value)
set in class GenericJsonpublic Upload clone()
clone in class GenericJson