com.google.api.ads.dfp.axis.v201204
Class RequiredError

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

public class RequiredError
extends ApiError
implements Serializable

Errors due to missing required field.

See Also:
Serialized Form

Constructor Summary
RequiredError()
           
RequiredError(String fieldPath, String trigger, String errorString, String apiErrorType, RequiredErrorReason reason)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 RequiredErrorReason getReason()
          Gets the reason value for this RequiredError.
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(RequiredErrorReason reason)
          Sets the reason value for this RequiredError.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201204.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

RequiredError

public RequiredError()

RequiredError

public RequiredError(String fieldPath,
                     String trigger,
                     String errorString,
                     String apiErrorType,
                     RequiredErrorReason reason)
Method Detail

getReason

public RequiredErrorReason getReason()
Gets the reason value for this RequiredError.

Returns:
reason * The error reason represented by an enum.

setReason

public void setReason(RequiredErrorReason reason)
Sets the reason value for this RequiredError.

Parameters:
reason - * The error reason represented by an enum.

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.