OrderBy Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<OrderBy> - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. OrderBy
- com.
- com.
public class OrderBy
Defines values for OrderBy.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Order |
NEWEST
Static value Newest for OrderBy. |
final Order |
OLDEST
Static value Oldest for OrderBy. |
final Order |
SUGGESTED
Static value Suggested for OrderBy. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Order |
fromString(String name)
Creates or finds a OrderBy from its string representation. |
Collection<Order |
values() |
Field Details
NEWEST
public static final OrderBy NEWEST= fromString("Newest")
Static value Newest for OrderBy.
OLDEST
public static final OrderBy OLDEST= fromString("Oldest")
Static value Oldest for OrderBy.
SUGGESTED
public static final OrderBy SUGGESTED= fromString("Suggested")
Static value Suggested for OrderBy.
Method Details
fromString
public static OrderBy fromString(String name)
Creates or finds a OrderBy from its string representation.
Parameters:
name
- a name to look for
Returns:
the corresponding OrderBy
values
public static Collection
Returns:
known OrderBy values