public static enum ListNewsReportsRequest.SortBy extends Enum<ListNewsReportsRequest.SortBy> implements BmcEnum
News report list sort options. If fields
parameter is selected, the sortBy
parameter must be one of the fields specified.
Enum Constant and Description |
---|
Name |
NewsFrequency |
Modifier and Type | Method and Description |
---|---|
static ListNewsReportsRequest.SortBy |
create(String key) |
String |
getValue() |
static ListNewsReportsRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListNewsReportsRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListNewsReportsRequest.SortBy Name
public static final ListNewsReportsRequest.SortBy NewsFrequency
public static ListNewsReportsRequest.SortBy[] values()
for (ListNewsReportsRequest.SortBy c : ListNewsReportsRequest.SortBy.values()) System.out.println(c);
public static ListNewsReportsRequest.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 ListNewsReportsRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.