public class FrequencyCap extends Object
LineItem in a specified time period.
Java class for FrequencyCap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FrequencyCap">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="maxImpressions" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="numTimeUnits" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="timeUnit" type="{https://www.google.com/apis/ads/publisher/v201802}TimeUnit" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
maxImpressions |
protected Integer |
numTimeUnits |
protected TimeUnit |
timeUnit |
| Constructor and Description |
|---|
FrequencyCap() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxImpressions()
Gets the value of the maxImpressions property.
|
Integer |
getNumTimeUnits()
Gets the value of the numTimeUnits property.
|
TimeUnit |
getTimeUnit()
Gets the value of the timeUnit property.
|
void |
setMaxImpressions(Integer value)
Sets the value of the maxImpressions property.
|
void |
setNumTimeUnits(Integer value)
Sets the value of the numTimeUnits property.
|
void |
setTimeUnit(TimeUnit value)
Sets the value of the timeUnit property.
|
protected Integer maxImpressions
protected Integer numTimeUnits
protected TimeUnit timeUnit
public Integer getMaxImpressions()
Integerpublic void setMaxImpressions(Integer value)
value - allowed object is
Integerpublic Integer getNumTimeUnits()
Integerpublic void setNumTimeUnits(Integer value)
value - allowed object is
Integerpublic TimeUnit getTimeUnit()
TimeUnitCopyright © 2018. All Rights Reserved.