com.google.api.ads.dfp.axis.v201206
Class AppliedLabel

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

public class AppliedLabel
extends Object
implements Serializable

Represents a Label that can be applied to an entity. To negate an inherited label, create an AppliedLabel with labelId as the inherited label's ID and isNegated set to true.

See Also:
Serialized Form

Constructor Summary
AppliedLabel()
           
AppliedLabel(Long labelId, Boolean isNegated)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Boolean getIsNegated()
          Gets the isNegated value for this AppliedLabel.
 Long getLabelId()
          Gets the labelId value for this AppliedLabel.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setIsNegated(Boolean isNegated)
          Sets the isNegated value for this AppliedLabel.
 void setLabelId(Long labelId)
          Sets the labelId value for this AppliedLabel.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppliedLabel

public AppliedLabel()

AppliedLabel

public AppliedLabel(Long labelId,
                    Boolean isNegated)
Method Detail

getLabelId

public Long getLabelId()
Gets the labelId value for this AppliedLabel.

Returns:
labelId * The ID of a created Label.

setLabelId

public void setLabelId(Long labelId)
Sets the labelId value for this AppliedLabel.

Parameters:
labelId - * The ID of a created Label.

getIsNegated

public Boolean getIsNegated()
Gets the isNegated value for this AppliedLabel.

Returns:
isNegated * isNegated should be set to true to negate the effects of labelId.

setIsNegated

public void setIsNegated(Boolean isNegated)
Sets the isNegated value for this AppliedLabel.

Parameters:
isNegated - * isNegated should be set to true to negate the effects of labelId.

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.