public final class PricingSchedulePricingPeriod
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 |
|---|
PricingSchedulePricingPeriod() |
| Modifier and Type | Method and Description |
|---|---|
PricingSchedulePricingPeriod |
clone() |
com.google.api.client.util.DateTime |
getEndDate()
Pricing period end date.
|
java.lang.String |
getPricingComment()
Comments for this pricing period.
|
java.lang.Long |
getRateOrCostNanos()
Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000).
|
com.google.api.client.util.DateTime |
getStartDate()
Pricing period start date.
|
java.lang.Long |
getUnits()
Units of this pricing period.
|
PricingSchedulePricingPeriod |
set(java.lang.String fieldName,
java.lang.Object value) |
PricingSchedulePricingPeriod |
setEndDate(com.google.api.client.util.DateTime endDate)
Pricing period end date.
|
PricingSchedulePricingPeriod |
setPricingComment(java.lang.String pricingComment)
Comments for this pricing period.
|
PricingSchedulePricingPeriod |
setRateOrCostNanos(java.lang.Long rateOrCostNanos)
Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000).
|
PricingSchedulePricingPeriod |
setStartDate(com.google.api.client.util.DateTime startDate)
Pricing period start date.
|
PricingSchedulePricingPeriod |
setUnits(java.lang.Long units)
Units of this pricing period.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic com.google.api.client.util.DateTime getEndDate()
null for nonepublic PricingSchedulePricingPeriod setEndDate(com.google.api.client.util.DateTime endDate)
endDate - endDate or null for nonepublic java.lang.String getPricingComment()
null for nonepublic PricingSchedulePricingPeriod setPricingComment(java.lang.String pricingComment)
pricingComment - pricingComment or null for nonepublic java.lang.Long getRateOrCostNanos()
null for nonepublic PricingSchedulePricingPeriod setRateOrCostNanos(java.lang.Long rateOrCostNanos)
rateOrCostNanos - rateOrCostNanos or null for nonepublic com.google.api.client.util.DateTime getStartDate()
null for nonepublic PricingSchedulePricingPeriod setStartDate(com.google.api.client.util.DateTime startDate)
startDate - startDate or null for nonepublic java.lang.Long getUnits()
null for nonepublic PricingSchedulePricingPeriod setUnits(java.lang.Long units)
units - units or null for nonepublic PricingSchedulePricingPeriod set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PricingSchedulePricingPeriod clone()
clone in class com.google.api.client.json.GenericJson