com.google.api.ads.adwords.v201109.mcm
Class Alert

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

public class Alert
extends Object
implements Serializable

Alert for a single client. Triggering events are grouped by AlertType into the same alert with multiple Details.

See Also:
Serialized Form

Constructor Summary
Alert()
           
Alert(AlertSeverity alertSeverity, AlertType alertType, Long clientCustomerId, Detail[] details)
           
 
Method Summary
 boolean equals(Object obj)
           
 AlertSeverity getAlertSeverity()
          Gets the alertSeverity value for this Alert.
 AlertType getAlertType()
          Gets the alertType value for this Alert.
 Long getClientCustomerId()
          Gets the clientCustomerId value for this Alert.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Detail[] getDetails()
          Gets the details value for this Alert.
 Detail getDetails(int i)
           
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 setAlertSeverity(AlertSeverity alertSeverity)
          Sets the alertSeverity value for this Alert.
 void setAlertType(AlertType alertType)
          Sets the alertType value for this Alert.
 void setClientCustomerId(Long clientCustomerId)
          Sets the clientCustomerId value for this Alert.
 void setDetails(Detail[] details)
          Sets the details value for this Alert.
 void setDetails(int i, Detail _value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Alert

public Alert()

Alert

public Alert(AlertSeverity alertSeverity,
             AlertType alertType,
             Long clientCustomerId,
             Detail[] details)
Method Detail

getAlertSeverity

public AlertSeverity getAlertSeverity()
Gets the alertSeverity value for this Alert.

Returns:
alertSeverity

setAlertSeverity

public void setAlertSeverity(AlertSeverity alertSeverity)
Sets the alertSeverity value for this Alert.

Parameters:
alertSeverity -

getAlertType

public AlertType getAlertType()
Gets the alertType value for this Alert.

Returns:
alertType

setAlertType

public void setAlertType(AlertType alertType)
Sets the alertType value for this Alert.

Parameters:
alertType -

getClientCustomerId

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

Returns:
clientCustomerId * The 10-digit Customer ID of the client causing this alert.

setClientCustomerId

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

Parameters:
clientCustomerId - * The 10-digit Customer ID of the client causing this alert.

getDetails

public Detail[] getDetails()
Gets the details value for this Alert.

Returns:
details * List of Details sorted by most recent trigger time.

setDetails

public void setDetails(Detail[] details)
Sets the details value for this Alert.

Parameters:
details - * List of Details sorted by most recent trigger time.

getDetails

public Detail getDetails(int i)

setDetails

public void setDetails(int i,
                       Detail _value)

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.