public static enum ListRecommendationsRequest.SortBy extends Enum<ListRecommendationsRequest.SortBy>
The field to sort by. Only one sort order may be provided. Default order for riskLevel and timeCreated is descending. If no value is specified riskLevel is default.
| Enum Constant and Description |
|---|
RiskLevel |
TimeCreated |
| Modifier and Type | Method and Description |
|---|---|
static ListRecommendationsRequest.SortBy |
create(String key) |
String |
getValue() |
static ListRecommendationsRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListRecommendationsRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListRecommendationsRequest.SortBy RiskLevel
public static final ListRecommendationsRequest.SortBy TimeCreated
public static ListRecommendationsRequest.SortBy[] values()
for (ListRecommendationsRequest.SortBy c : ListRecommendationsRequest.SortBy.values()) System.out.println(c);
public static ListRecommendationsRequest.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 ListRecommendationsRequest.SortBy create(String key)
Copyright © 2016–2021. All rights reserved.