com.google.api.ads.adwords.v201109.info
Class ApiUsageRecord

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

public class ApiUsageRecord
extends Object
implements Serializable

Data record for per client API units.

See Also:
Serialized Form

Constructor Summary
ApiUsageRecord()
           
ApiUsageRecord(String clientEmail, Long clientCustomerId, Long cost)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getClientCustomerId()
          Gets the clientCustomerId value for this ApiUsageRecord.
 String getClientEmail()
          Gets the clientEmail value for this ApiUsageRecord.
 Long getCost()
          Gets the cost value for this ApiUsageRecord.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
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 setClientCustomerId(Long clientCustomerId)
          Sets the clientCustomerId value for this ApiUsageRecord.
 void setClientEmail(String clientEmail)
          Sets the clientEmail value for this ApiUsageRecord.
 void setCost(Long cost)
          Sets the cost value for this ApiUsageRecord.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiUsageRecord

public ApiUsageRecord()

ApiUsageRecord

public ApiUsageRecord(String clientEmail,
                      Long clientCustomerId,
                      Long cost)
Method Detail

getClientEmail

public String getClientEmail()
Gets the clientEmail value for this ApiUsageRecord.

Returns:
clientEmail * The email address of the client

setClientEmail

public void setClientEmail(String clientEmail)
Sets the clientEmail value for this ApiUsageRecord.

Parameters:
clientEmail - * The email address of the client

getClientCustomerId

public Long getClientCustomerId()
Gets the clientCustomerId value for this ApiUsageRecord.

Returns:
clientCustomerId * The customer ID of the client

setClientCustomerId

public void setClientCustomerId(Long clientCustomerId)
Sets the clientCustomerId value for this ApiUsageRecord.

Parameters:
clientCustomerId - * The customer ID of the client

getCost

public Long getCost()
Gets the cost value for this ApiUsageRecord.

Returns:
cost * The cost of the API

setCost

public void setCost(Long cost)
Sets the cost value for this ApiUsageRecord.

Parameters:
cost - * The cost of the API

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.