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

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

public class StringLengthError
extends ApiError
implements Serializable

Errors for Strings which do not meet given length constraints.

See Also:
Serialized Form

Constructor Summary
StringLengthError()
           
StringLengthError(String fieldPath, String trigger, String errorString, String apiErrorType, StringLengthErrorReason reason)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 StringLengthErrorReason getReason()
          Gets the reason value for this StringLengthError.
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 setReason(StringLengthErrorReason reason)
          Sets the reason value for this StringLengthError.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201203.ApiError
getApiErrorType, getErrorString, getFieldPath, getTrigger, setApiErrorType, setErrorString, setFieldPath, setTrigger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringLengthError

public StringLengthError()

StringLengthError

public StringLengthError(String fieldPath,
                         String trigger,
                         String errorString,
                         String apiErrorType,
                         StringLengthErrorReason reason)
Method Detail

getReason

public StringLengthErrorReason getReason()
Gets the reason value for this StringLengthError.

Returns:
reason

setReason

public void setReason(StringLengthErrorReason reason)
Sets the reason value for this StringLengthError.

Parameters:
reason -

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class ApiError

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.