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

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

public class AlertQuery
extends Object
implements Serializable

Querying criteria for getting alerts.

See Also:
Serialized Form

Constructor Summary
AlertQuery()
           
AlertQuery(ClientSpec clientSpec, FilterSpec filterSpec, AlertType[] types, AlertSeverity[] severities, TriggerTimeSpec triggerTimeSpec, String triggerTime, long[] clientCustomerIds)
           
 
Method Summary
 boolean equals(Object obj)
           
 long[] getClientCustomerIds()
          Gets the clientCustomerIds value for this AlertQuery.
 long getClientCustomerIds(int i)
           
 ClientSpec getClientSpec()
          Gets the clientSpec value for this AlertQuery.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 FilterSpec getFilterSpec()
          Gets the filterSpec value for this AlertQuery.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 AlertSeverity[] getSeverities()
          Gets the severities value for this AlertQuery.
 AlertSeverity getSeverities(int i)
           
 String getTriggerTime()
          Gets the triggerTime value for this AlertQuery.
 TriggerTimeSpec getTriggerTimeSpec()
          Gets the triggerTimeSpec value for this AlertQuery.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 AlertType[] getTypes()
          Gets the types value for this AlertQuery.
 AlertType getTypes(int i)
           
 int hashCode()
           
 void setClientCustomerIds(int i, long _value)
           
 void setClientCustomerIds(long[] clientCustomerIds)
          Sets the clientCustomerIds value for this AlertQuery.
 void setClientSpec(ClientSpec clientSpec)
          Sets the clientSpec value for this AlertQuery.
 void setFilterSpec(FilterSpec filterSpec)
          Sets the filterSpec value for this AlertQuery.
 void setSeverities(AlertSeverity[] severities)
          Sets the severities value for this AlertQuery.
 void setSeverities(int i, AlertSeverity _value)
           
 void setTriggerTime(String triggerTime)
          Sets the triggerTime value for this AlertQuery.
 void setTriggerTimeSpec(TriggerTimeSpec triggerTimeSpec)
          Sets the triggerTimeSpec value for this AlertQuery.
 void setTypes(AlertType[] types)
          Sets the types value for this AlertQuery.
 void setTypes(int i, AlertType _value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertQuery

public AlertQuery()

AlertQuery

public AlertQuery(ClientSpec clientSpec,
                  FilterSpec filterSpec,
                  AlertType[] types,
                  AlertSeverity[] severities,
                  TriggerTimeSpec triggerTimeSpec,
                  String triggerTime,
                  long[] clientCustomerIds)
Method Detail

getClientSpec

public ClientSpec getClientSpec()
Gets the clientSpec value for this AlertQuery.

Returns:
clientSpec * Specifies what clients to get alerts for. This field is required and should not be null.

setClientSpec

public void setClientSpec(ClientSpec clientSpec)
Sets the clientSpec value for this AlertQuery.

Parameters:
clientSpec - * Specifies what clients to get alerts for. This field is required and should not be null.

getFilterSpec

public FilterSpec getFilterSpec()
Gets the filterSpec value for this AlertQuery.

Returns:
filterSpec * Specifies whether/how to filter the result set based on whether the customer can manage. This field is required and should not be null.

setFilterSpec

public void setFilterSpec(FilterSpec filterSpec)
Sets the filterSpec value for this AlertQuery.

Parameters:
filterSpec - * Specifies whether/how to filter the result set based on whether the customer can manage. This field is required and should not be null.

getTypes

public AlertType[] getTypes()
Gets the types value for this AlertQuery.

Returns:
types * The specific types of Alerts to return. This field must not contain null elements.

setTypes

public void setTypes(AlertType[] types)
Sets the types value for this AlertQuery.

Parameters:
types - * The specific types of Alerts to return. This field must not contain null elements.

getTypes

public AlertType getTypes(int i)

setTypes

public void setTypes(int i,
                     AlertType _value)

getSeverities

public AlertSeverity[] getSeverities()
Gets the severities value for this AlertQuery.

Returns:
severities * This field must not contain null elements.

setSeverities

public void setSeverities(AlertSeverity[] severities)
Sets the severities value for this AlertQuery.

Parameters:
severities - * This field must not contain null elements.

getSeverities

public AlertSeverity getSeverities(int i)

setSeverities

public void setSeverities(int i,
                          AlertSeverity _value)

getTriggerTimeSpec

public TriggerTimeSpec getTriggerTimeSpec()
Gets the triggerTimeSpec value for this AlertQuery.

Returns:
triggerTimeSpec * Specifies what time interval for which to get alerts. This field is required and should not be null.

setTriggerTimeSpec

public void setTriggerTimeSpec(TriggerTimeSpec triggerTimeSpec)
Sets the triggerTimeSpec value for this AlertQuery.

Parameters:
triggerTimeSpec - * Specifies what time interval for which to get alerts. This field is required and should not be null.

getTriggerTime

public String getTriggerTime()
Gets the triggerTime value for this AlertQuery.

Returns:
triggerTime * If TriggerTimeSpec.CUSTOM_TIME is specified, only alerts generated after this time will be returned. String Format: yyyymmdd hhmmss zzz (e.g. 20100609 150223 UTC).

setTriggerTime

public void setTriggerTime(String triggerTime)
Sets the triggerTime value for this AlertQuery.

Parameters:
triggerTime - * If TriggerTimeSpec.CUSTOM_TIME is specified, only alerts generated after this time will be returned. String Format: yyyymmdd hhmmss zzz (e.g. 20100609 150223 UTC).

getClientCustomerIds

public long[] getClientCustomerIds()
Gets the clientCustomerIds value for this AlertQuery.

Returns:
clientCustomerIds * If ClientSpec.ID_LIST is specified, only alerts for the client accounts specified here will be returned. This field must contain distinct elements.

setClientCustomerIds

public void setClientCustomerIds(long[] clientCustomerIds)
Sets the clientCustomerIds value for this AlertQuery.

Parameters:
clientCustomerIds - * If ClientSpec.ID_LIST is specified, only alerts for the client accounts specified here will be returned. This field must contain distinct elements.

getClientCustomerIds

public long getClientCustomerIds(int i)

setClientCustomerIds

public void setClientCustomerIds(int i,
                                 long _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.