public static enum ListWorkersRequest.SortBy extends Enum<ListWorkersRequest.SortBy> implements BmcEnum
The field to sort by. Only one sort order may be provided. Default order of displayName is ascending. Default order of timeCreated, timeUpdated and timeLastSyncup is descending. The displayName sort by is case-sensitive.
Enum Constant and Description |
---|
DisplayName |
Name |
Priority |
Status |
TimeCreated |
TimeLastSyncup |
TimeUpdated |
Modifier and Type | Method and Description |
---|---|
static ListWorkersRequest.SortBy |
create(String key) |
String |
getValue() |
static ListWorkersRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListWorkersRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListWorkersRequest.SortBy DisplayName
public static final ListWorkersRequest.SortBy Name
public static final ListWorkersRequest.SortBy Status
public static final ListWorkersRequest.SortBy Priority
public static final ListWorkersRequest.SortBy TimeCreated
public static final ListWorkersRequest.SortBy TimeUpdated
public static final ListWorkersRequest.SortBy TimeLastSyncup
public static ListWorkersRequest.SortBy[] values()
for (ListWorkersRequest.SortBy c : ListWorkersRequest.SortBy.values()) System.out.println(c);
public static ListWorkersRequest.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 ListWorkersRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.