com.google.api.ads.dfp.axis.v201203
Class FrequencyCap

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201203.FrequencyCap
All Implemented Interfaces:
Serializable

public class FrequencyCap
extends Object
implements Serializable

Represents a limit on the number of times a single viewer can be exposed to the same LineItem in a specified time period.

See Also:
Serialized Form

Constructor Summary
FrequencyCap()
           
FrequencyCap(Integer maxImpressions, Integer numTimeUnits, TimeUnit timeUnit)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getMaxImpressions()
          Gets the maxImpressions value for this FrequencyCap.
 Integer getNumTimeUnits()
          Gets the numTimeUnits value for this FrequencyCap.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 TimeUnit getTimeUnit()
          Gets the timeUnit value for this FrequencyCap.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setMaxImpressions(Integer maxImpressions)
          Sets the maxImpressions value for this FrequencyCap.
 void setNumTimeUnits(Integer numTimeUnits)
          Sets the numTimeUnits value for this FrequencyCap.
 void setTimeUnit(TimeUnit timeUnit)
          Sets the timeUnit value for this FrequencyCap.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrequencyCap

public FrequencyCap()

FrequencyCap

public FrequencyCap(Integer maxImpressions,
                    Integer numTimeUnits,
                    TimeUnit timeUnit)
Method Detail

getMaxImpressions

public Integer getMaxImpressions()
Gets the maxImpressions value for this FrequencyCap.

Returns:
maxImpressions * The maximum number of impressions than can be served to a user within a specified time period.

setMaxImpressions

public void setMaxImpressions(Integer maxImpressions)
Sets the maxImpressions value for this FrequencyCap.

Parameters:
maxImpressions - * The maximum number of impressions than can be served to a user within a specified time period.

getNumTimeUnits

public Integer getNumTimeUnits()
Gets the numTimeUnits value for this FrequencyCap.

Returns:
numTimeUnits * The number of FrequencyCap#timeUnit to represent the total time period.

setNumTimeUnits

public void setNumTimeUnits(Integer numTimeUnits)
Sets the numTimeUnits value for this FrequencyCap.

Parameters:
numTimeUnits - * The number of FrequencyCap#timeUnit to represent the total time period.

getTimeUnit

public TimeUnit getTimeUnit()
Gets the timeUnit value for this FrequencyCap.

Returns:
timeUnit * The unit of time for specifying the time period.

setTimeUnit

public void setTimeUnit(TimeUnit timeUnit)
Sets the timeUnit value for this FrequencyCap.

Parameters:
timeUnit - * The unit of time for specifying the time period.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.