com.google.api.ads.adwords.v201109.cm
Class PolicyViolationKey

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.PolicyViolationKey
All Implemented Interfaces:
Serializable

public class PolicyViolationKey
extends Object
implements Serializable

Key of the violation. The key is used for referring to a violation when filing an exemption request.

See Also:
Serialized Form

Constructor Summary
PolicyViolationKey()
           
PolicyViolationKey(String policyName, String violatingText)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getPolicyName()
          Gets the policyName value for this PolicyViolationKey.
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
 String getViolatingText()
          Gets the violatingText value for this PolicyViolationKey.
 int hashCode()
           
 void setPolicyName(String policyName)
          Sets the policyName value for this PolicyViolationKey.
 void setViolatingText(String violatingText)
          Sets the violatingText value for this PolicyViolationKey.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyViolationKey

public PolicyViolationKey()

PolicyViolationKey

public PolicyViolationKey(String policyName,
                          String violatingText)
Method Detail

getPolicyName

public String getPolicyName()
Gets the policyName value for this PolicyViolationKey.

Returns:
policyName * Unique id of the violated policy. This field is required and should not be null.

setPolicyName

public void setPolicyName(String policyName)
Sets the policyName value for this PolicyViolationKey.

Parameters:
policyName - * Unique id of the violated policy. This field is required and should not be null.

getViolatingText

public String getViolatingText()
Gets the violatingText value for this PolicyViolationKey.

Returns:
violatingText * The text that violates the policy if specified. Otherwise, refers to the policy in general (e.g. when requesting to be exempt from the whole policy). May be null for criterion exemptions, in which case this refers to the whole policy. Must be specified for ad exemptions.

setViolatingText

public void setViolatingText(String violatingText)
Sets the violatingText value for this PolicyViolationKey.

Parameters:
violatingText - * The text that violates the policy if specified. Otherwise, refers to the policy in general (e.g. when requesting to be exempt from the whole policy). May be null for criterion exemptions, in which case this refers to the whole policy. Must be specified for ad exemptions.

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.