Enum ListInvoicesRequest.SortOrder
- java.lang.Object
-
- java.lang.Enum<ListInvoicesRequest.SortOrder>
-
- com.oracle.bmc.ospgateway.requests.ListInvoicesRequest.SortOrder
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListInvoicesRequest.SortOrder>
- Enclosing class:
- ListInvoicesRequest
public static enum ListInvoicesRequest.SortOrder extends Enum<ListInvoicesRequest.SortOrder> implements BmcEnum
The sort order to use (ascending or descending).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListInvoicesRequest.SortOrder
create(String key)
String
getValue()
static ListInvoicesRequest.SortOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListInvoicesRequest.SortOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Asc
public static final ListInvoicesRequest.SortOrder Asc
-
Desc
public static final ListInvoicesRequest.SortOrder Desc
-
-
Method Detail
-
values
public static ListInvoicesRequest.SortOrder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ListInvoicesRequest.SortOrder c : ListInvoicesRequest.SortOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListInvoicesRequest.SortOrder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static ListInvoicesRequest.SortOrder create(String key)
-
-