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

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

public class SoapResponseHeader
extends Object
implements Serializable

Defines the elements within the header of a SOAP response.

See Also:
Serialized Form

Constructor Summary
SoapResponseHeader()
           
SoapResponseHeader(String requestId, String serviceName, String methodName, Long operations, Long responseTime, Long units)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getMethodName()
          Gets the methodName value for this SoapResponseHeader.
 Long getOperations()
          Gets the operations value for this SoapResponseHeader.
 String getRequestId()
          Gets the requestId value for this SoapResponseHeader.
 Long getResponseTime()
          Gets the responseTime value for this SoapResponseHeader.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getServiceName()
          Gets the serviceName value for this SoapResponseHeader.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 Long getUnits()
          Gets the units value for this SoapResponseHeader.
 int hashCode()
           
 void setMethodName(String methodName)
          Sets the methodName value for this SoapResponseHeader.
 void setOperations(Long operations)
          Sets the operations value for this SoapResponseHeader.
 void setRequestId(String requestId)
          Sets the requestId value for this SoapResponseHeader.
 void setResponseTime(Long responseTime)
          Sets the responseTime value for this SoapResponseHeader.
 void setServiceName(String serviceName)
          Sets the serviceName value for this SoapResponseHeader.
 void setUnits(Long units)
          Sets the units value for this SoapResponseHeader.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapResponseHeader

public SoapResponseHeader()

SoapResponseHeader

public SoapResponseHeader(String requestId,
                          String serviceName,
                          String methodName,
                          Long operations,
                          Long responseTime,
                          Long units)
Method Detail

getRequestId

public String getRequestId()
Gets the requestId value for this SoapResponseHeader.

Returns:
requestId * Unique id that identifies this request. If developers have any support issues, sending us this id will enable us to find their request more easily.

setRequestId

public void setRequestId(String requestId)
Sets the requestId value for this SoapResponseHeader.

Parameters:
requestId - * Unique id that identifies this request. If developers have any support issues, sending us this id will enable us to find their request more easily.

getServiceName

public String getServiceName()
Gets the serviceName value for this SoapResponseHeader.

Returns:
serviceName * The name of the service being invoked.

setServiceName

public void setServiceName(String serviceName)
Sets the serviceName value for this SoapResponseHeader.

Parameters:
serviceName - * The name of the service being invoked.

getMethodName

public String getMethodName()
Gets the methodName value for this SoapResponseHeader.

Returns:
methodName * The name of the method being invoked.

setMethodName

public void setMethodName(String methodName)
Sets the methodName value for this SoapResponseHeader.

Parameters:
methodName - * The name of the method being invoked.

getOperations

public Long getOperations()
Gets the operations value for this SoapResponseHeader.

Returns:
operations * Number of operations performed for this SOAP request.

setOperations

public void setOperations(Long operations)
Sets the operations value for this SoapResponseHeader.

Parameters:
operations - * Number of operations performed for this SOAP request.

getResponseTime

public Long getResponseTime()
Gets the responseTime value for this SoapResponseHeader.

Returns:
responseTime * Elapsed time in milliseconds between the AdWords API receiving the request and sending the response.

setResponseTime

public void setResponseTime(Long responseTime)
Sets the responseTime value for this SoapResponseHeader.

Parameters:
responseTime - * Elapsed time in milliseconds between the AdWords API receiving the request and sending the response.

getUnits

public Long getUnits()
Gets the units value for this SoapResponseHeader.

Returns:
units * Total number of API units the SOAP request used.

setUnits

public void setUnits(Long units)
Sets the units value for this SoapResponseHeader.

Parameters:
units - * Total number of API units the SOAP request used.

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.