com.google.api.ads.dfp.v201111
Class DayPart

java.lang.Object
  extended by com.google.api.ads.dfp.v201111.DayPart
All Implemented Interfaces:
Serializable

public class DayPart
extends Object
implements Serializable

DayPart represents a time-period within a day of the week which is targeted by a LineItem.

See Also:
Serialized Form

Constructor Summary
DayPart()
           
DayPart(DayOfWeek dayOfWeek, TimeOfDay startTime, TimeOfDay endTime)
           
 
Method Summary
 boolean equals(Object obj)
           
 DayOfWeek getDayOfWeek()
          Gets the dayOfWeek value for this DayPart.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 TimeOfDay getEndTime()
          Gets the endTime value for this DayPart.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 TimeOfDay getStartTime()
          Gets the startTime value for this DayPart.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDayOfWeek(DayOfWeek dayOfWeek)
          Sets the dayOfWeek value for this DayPart.
 void setEndTime(TimeOfDay endTime)
          Sets the endTime value for this DayPart.
 void setStartTime(TimeOfDay startTime)
          Sets the startTime value for this DayPart.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayPart

public DayPart()

DayPart

public DayPart(DayOfWeek dayOfWeek,
               TimeOfDay startTime,
               TimeOfDay endTime)
Method Detail

getDayOfWeek

public DayOfWeek getDayOfWeek()
Gets the dayOfWeek value for this DayPart.

Returns:
dayOfWeek * Day of the week the target applies to. This field is required.

setDayOfWeek

public void setDayOfWeek(DayOfWeek dayOfWeek)
Sets the dayOfWeek value for this DayPart.

Parameters:
dayOfWeek - * Day of the week the target applies to. This field is required.

getStartTime

public TimeOfDay getStartTime()
Gets the startTime value for this DayPart.

Returns:
startTime * Represents the start time of the targeted period.

setStartTime

public void setStartTime(TimeOfDay startTime)
Sets the startTime value for this DayPart.

Parameters:
startTime - * Represents the start time of the targeted period.

getEndTime

public TimeOfDay getEndTime()
Gets the endTime value for this DayPart.

Returns:
endTime * Represents the end time of the targeted period.

setEndTime

public void setEndTime(TimeOfDay endTime)
Sets the endTime value for this DayPart.

Parameters:
endTime - * Represents the end time of the targeted 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 © 2011. All Rights Reserved.