public static enum ListSuppressionsRequest.SortBy extends Enum<ListSuppressionsRequest.SortBy>
The field to sort by. The TIMECREATED
value returns the list in in
descending order by default. The EMAILADDRESS
value returns the list in
ascending order by default. Use the SortOrderQueryParam
to change the
direction of the returned list of items.
Enum Constant and Description |
---|
Emailaddress |
Timecreated |
Modifier and Type | Method and Description |
---|---|
static ListSuppressionsRequest.SortBy |
create(String key) |
String |
getValue() |
static ListSuppressionsRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListSuppressionsRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSuppressionsRequest.SortBy Timecreated
public static final ListSuppressionsRequest.SortBy Emailaddress
public static ListSuppressionsRequest.SortBy[] values()
for (ListSuppressionsRequest.SortBy c : ListSuppressionsRequest.SortBy.values()) System.out.println(c);
public static ListSuppressionsRequest.SortBy 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 String getValue()
public static ListSuppressionsRequest.SortBy create(String key)
Copyright © 2016–2022. All rights reserved.