共用方式為


OrderBy Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<OrderBy>
      • com.microsoft.azure.cognitiveservices.vision.customvision.training.models.OrderBy

public class OrderBy

Defines values for OrderBy.

Field Summary

Modifier and Type Field and Description
final OrderBy NEWEST

Static value Newest for OrderBy.

final OrderBy OLDEST

Static value Oldest for OrderBy.

final OrderBy SUGGESTED

Static value Suggested for OrderBy.

Method Summary

Modifier and Type Method and Description
OrderBy fromString(String name)

Creates or finds a OrderBy from its string representation.

Collection<OrderBy> 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 values()

Returns:

known OrderBy values

Applies to