public enum TimePeriod extends Enum<TimePeriod>
total - Data is rolled up to totals covering the specified time. daily - Grouped by day weekly - Grouped by week monthly - Grouped by month summarize/daily - Grouped by day, data is rolled up across all breakdowns summarize/weekly - Grouped by week, data is rolled up across all breakdowns summarize/monthly - Grouped by month, data is rolled up across all breakdowns NOTE: When using daily, weekly, or monthly for the time_period, you must include at least one filter
| Enum Constant and Description |
|---|
DAILY |
MONTHLY |
SUMMARIZE_DAILY |
SUMMARIZE_MONTHLY |
SUMMARIZE_WEEKLY |
TOTAL |
WEEKLY |
| Modifier and Type | Method and Description |
|---|---|
static TimePeriod |
fromString(String value)
Returns the TimePeriod.
|
String |
getStringValue() |
static TimePeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimePeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimePeriod TOTAL
public static final TimePeriod DAILY
public static final TimePeriod WEEKLY
public static final TimePeriod MONTHLY
public static final TimePeriod SUMMARIZE_DAILY
public static final TimePeriod SUMMARIZE_WEEKLY
public static final TimePeriod SUMMARIZE_MONTHLY
public static TimePeriod[] values()
for (TimePeriod c : TimePeriod.values()) System.out.println(c);
public static TimePeriod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TimePeriod fromString(String value)
value - the value is string typepublic String getStringValue()
Copyright © 2022. All rights reserved.