public final class Flight
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 DCM/DFA Reporting And Trafficking 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 |
|---|
Flight() |
| Modifier and Type | Method and Description |
|---|---|
Flight |
clone() |
com.google.api.client.util.DateTime |
getEndDate()
Inventory item flight end date.
|
java.lang.Long |
getRateOrCost()
Rate or cost of this flight.
|
com.google.api.client.util.DateTime |
getStartDate()
Inventory item flight start date.
|
java.lang.Long |
getUnits()
Units of this flight.
|
Flight |
set(java.lang.String fieldName,
java.lang.Object value) |
Flight |
setEndDate(com.google.api.client.util.DateTime endDate)
Inventory item flight end date.
|
Flight |
setRateOrCost(java.lang.Long rateOrCost)
Rate or cost of this flight.
|
Flight |
setStartDate(com.google.api.client.util.DateTime startDate)
Inventory item flight start date.
|
Flight |
setUnits(java.lang.Long units)
Units of this flight.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic com.google.api.client.util.DateTime getEndDate()
null for nonepublic Flight setEndDate(com.google.api.client.util.DateTime endDate)
endDate - endDate or null for nonepublic java.lang.Long getRateOrCost()
null for nonepublic Flight setRateOrCost(java.lang.Long rateOrCost)
rateOrCost - rateOrCost or null for nonepublic com.google.api.client.util.DateTime getStartDate()
null for nonepublic Flight setStartDate(com.google.api.client.util.DateTime startDate)
startDate - startDate or null for nonepublic java.lang.Long getUnits()
null for nonepublic Flight setUnits(java.lang.Long units)
units - units or null for nonepublic Flight set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Flight clone()
clone in class com.google.api.client.json.GenericJson