Package com.oracle.bmc.devops.requests
Enum GetRepositoryRequest.Fields
- java.lang.Object
-
- java.lang.Enum<GetRepositoryRequest.Fields>
-
- com.oracle.bmc.devops.requests.GetRepositoryRequest.Fields
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GetRepositoryRequest.Fields>
- Enclosing class:
- GetRepositoryRequest
public static enum GetRepositoryRequest.Fields extends Enum<GetRepositoryRequest.Fields> implements BmcEnum
Fields parameter can contain multiple flags useful in deciding the API functionality.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BranchCount
CommitCount
SizeInBytes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRepositoryRequest.Fields
create(String key)
String
getValue()
static GetRepositoryRequest.Fields
valueOf(String name)
Returns the enum constant of this type with the specified name.static GetRepositoryRequest.Fields[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BranchCount
public static final GetRepositoryRequest.Fields BranchCount
-
CommitCount
public static final GetRepositoryRequest.Fields CommitCount
-
SizeInBytes
public static final GetRepositoryRequest.Fields SizeInBytes
-
-
Method Detail
-
values
public static GetRepositoryRequest.Fields[] 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 (GetRepositoryRequest.Fields c : GetRepositoryRequest.Fields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetRepositoryRequest.Fields 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 GetRepositoryRequest.Fields create(String key)
-
-