public static enum ListAnnouncementsRequest.SortBy extends Enum<ListAnnouncementsRequest.SortBy> implements BmcEnum
The criteria to sort by. You can specify only one sort order.
Enum Constant and Description |
---|
AnnouncementType |
ReferenceTicketNumber |
Summary |
TimeCreated |
TimeOneValue |
TimeTwoValue |
Modifier and Type | Method and Description |
---|---|
static ListAnnouncementsRequest.SortBy |
create(String key) |
String |
getValue() |
static ListAnnouncementsRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListAnnouncementsRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListAnnouncementsRequest.SortBy TimeOneValue
public static final ListAnnouncementsRequest.SortBy TimeTwoValue
public static final ListAnnouncementsRequest.SortBy TimeCreated
public static final ListAnnouncementsRequest.SortBy ReferenceTicketNumber
public static final ListAnnouncementsRequest.SortBy Summary
public static final ListAnnouncementsRequest.SortBy AnnouncementType
public static ListAnnouncementsRequest.SortBy[] values()
for (ListAnnouncementsRequest.SortBy c : ListAnnouncementsRequest.SortBy.values()) System.out.println(c);
public static ListAnnouncementsRequest.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 ListAnnouncementsRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.