public enum ReturnType extends Enum<ReturnType>
ServiceMethod
annotation to indicate if a
method is expected to return a single item or a collectionEnum Constant and Description |
---|
COLLECTION |
LONG_RUNNING_OPERATION |
SINGLE |
Modifier and Type | Method and Description |
---|---|
static ReturnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnType SINGLE
public static final ReturnType COLLECTION
public static final ReturnType LONG_RUNNING_OPERATION
public static ReturnType[] values()
public static ReturnType 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 nullCopyright © 2021 Microsoft Corporation. All rights reserved.