public final class OrderBy
extends com.google.api.client.json.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 Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
OrderBy() |
| Modifier and Type | Method and Description |
|---|---|
OrderBy |
clone() |
java.lang.String |
getFieldName()
The field which to sort by.
|
java.lang.String |
getOrderType()
The order type.
|
java.lang.String |
getSortOrder()
The sorting order for the field.
|
OrderBy |
set(java.lang.String fieldName,
java.lang.Object value) |
OrderBy |
setFieldName(java.lang.String fieldName)
The field which to sort by.
|
OrderBy |
setOrderType(java.lang.String orderType)
The order type.
|
OrderBy |
setSortOrder(java.lang.String sortOrder)
The sorting order for the field.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getFieldName()
null for nonepublic OrderBy setFieldName(java.lang.String fieldName)
fieldName - fieldName or null for nonepublic java.lang.String getOrderType()
null for nonepublic OrderBy setOrderType(java.lang.String orderType)
orderType - orderType or null for nonepublic java.lang.String getSortOrder()
null for nonepublic OrderBy setSortOrder(java.lang.String sortOrder)
sortOrder - sortOrder or null for nonepublic OrderBy set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic OrderBy clone()
clone in class com.google.api.client.json.GenericJson