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: https://developers.google.com/api-client-library/java/google-http-java-client/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.
|
DateTime |
getUploadTime()
Time this file is uploaded.
|
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.
|
Upload |
setUploadTime(DateTime uploadTime)
Time this file is uploaded.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 DateTime getUploadTime()
null for nonepublic Upload setUploadTime(DateTime uploadTime)
uploadTime - uploadTime or null for nonepublic Upload set(String fieldName, Object value)
set in class GenericJsonpublic Upload clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.