com.google.api.ads.adwords.lib.jaxb.v201109_1
Enum ReportDefinitionDateRangeType

java.lang.Object
  extended by java.lang.Enum<ReportDefinitionDateRangeType>
      extended by com.google.api.ads.adwords.lib.jaxb.v201109_1.ReportDefinitionDateRangeType
All Implemented Interfaces:
Serializable, Comparable<ReportDefinitionDateRangeType>

public enum ReportDefinitionDateRangeType
extends Enum<ReportDefinitionDateRangeType>

Java class for ReportDefinition.DateRangeType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ReportDefinition.DateRangeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="TODAY"/>
     <enumeration value="YESTERDAY"/>
     <enumeration value="LAST_7_DAYS"/>
     <enumeration value="LAST_WEEK"/>
     <enumeration value="LAST_BUSINESS_WEEK"/>
     <enumeration value="THIS_MONTH"/>
     <enumeration value="LAST_MONTH"/>
     <enumeration value="ALL_TIME"/>
     <enumeration value="CUSTOM_DATE"/>
     <enumeration value="LAST_14_DAYS"/>
     <enumeration value="LAST_30_DAYS"/>
     <enumeration value="THIS_WEEK_SUN_TODAY"/>
     <enumeration value="THIS_WEEK_MON_TODAY"/>
     <enumeration value="LAST_WEEK_SUN_SAT"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ALL_TIME
           
CUSTOM_DATE
           
LAST_14_DAYS
           
LAST_30_DAYS
           
LAST_7_DAYS
           
LAST_BUSINESS_WEEK
           
LAST_MONTH
           
LAST_WEEK
           
LAST_WEEK_SUN_SAT
           
THIS_MONTH
           
THIS_WEEK_MON_TODAY
           
THIS_WEEK_SUN_TODAY
           
TODAY
           
YESTERDAY
           
 
Method Summary
static ReportDefinitionDateRangeType fromValue(String v)
           
 String value()
           
static ReportDefinitionDateRangeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReportDefinitionDateRangeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TODAY

public static final ReportDefinitionDateRangeType TODAY

YESTERDAY

public static final ReportDefinitionDateRangeType YESTERDAY

LAST_7_DAYS

public static final ReportDefinitionDateRangeType LAST_7_DAYS

LAST_WEEK

public static final ReportDefinitionDateRangeType LAST_WEEK

LAST_BUSINESS_WEEK

public static final ReportDefinitionDateRangeType LAST_BUSINESS_WEEK

THIS_MONTH

public static final ReportDefinitionDateRangeType THIS_MONTH

LAST_MONTH

public static final ReportDefinitionDateRangeType LAST_MONTH

ALL_TIME

public static final ReportDefinitionDateRangeType ALL_TIME

CUSTOM_DATE

public static final ReportDefinitionDateRangeType CUSTOM_DATE

LAST_14_DAYS

public static final ReportDefinitionDateRangeType LAST_14_DAYS

LAST_30_DAYS

public static final ReportDefinitionDateRangeType LAST_30_DAYS

THIS_WEEK_SUN_TODAY

public static final ReportDefinitionDateRangeType THIS_WEEK_SUN_TODAY

THIS_WEEK_MON_TODAY

public static final ReportDefinitionDateRangeType THIS_WEEK_MON_TODAY

LAST_WEEK_SUN_SAT

public static final ReportDefinitionDateRangeType LAST_WEEK_SUN_SAT
Method Detail

values

public static ReportDefinitionDateRangeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReportDefinitionDateRangeType c : ReportDefinitionDateRangeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReportDefinitionDateRangeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static ReportDefinitionDateRangeType fromValue(String v)


Copyright © 2012. All Rights Reserved.