public static enum SearchEndpoint.IndexType extends Enum<SearchEndpoint.IndexType>
| Enum Constant and Description |
|---|
DOWNLOADS
Sort by downloads
|
FOLLOWS
Sort by follows
|
NEWEST
Sort by newest
|
RELEVANCE
Sort by relevance
|
UPDATED
Sort by updated
|
| Modifier and Type | Method and Description |
|---|---|
static SearchEndpoint.IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchEndpoint.IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="relevance") public static final SearchEndpoint.IndexType RELEVANCE
@SerializedName(value="downloads") public static final SearchEndpoint.IndexType DOWNLOADS
@SerializedName(value="follows") public static final SearchEndpoint.IndexType FOLLOWS
@SerializedName(value="newest") public static final SearchEndpoint.IndexType NEWEST
@SerializedName(value="updated") public static final SearchEndpoint.IndexType UPDATED
public static SearchEndpoint.IndexType[] values()
for (SearchEndpoint.IndexType c : SearchEndpoint.IndexType.values()) System.out.println(c);
public static SearchEndpoint.IndexType 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 © 2026. All rights reserved.