public static enum ListSendersRequest.SortBy extends Enum<ListSendersRequest.SortBy> implements BmcEnum
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 ListSendersRequest.SortBy |
create(String key) |
String |
getValue() |
static ListSendersRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListSendersRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSendersRequest.SortBy Timecreated
public static final ListSendersRequest.SortBy Emailaddress
public static ListSendersRequest.SortBy[] values()
for (ListSendersRequest.SortBy c : ListSendersRequest.SortBy.values()) System.out.println(c);
public static ListSendersRequest.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 static ListSendersRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.