public enum RequestType extends Enum<RequestType>
| Enum Constant and Description |
|---|
ANSWERS
Request question answers.
|
CATEGORIES
Request categories.
|
FEEDBACK
Request feedback.
|
PHOTOS
Request for photos.
|
PRODUCTS
Request for products
|
PROFILES
Request profiles.
|
QUESTIONS
Request questions.
|
REVIEW_COMMENTS
Request review comments.
|
REVIEWS
Request product reviews.
|
STATISTICS
Request statistics.
|
STORIES
Request stories.
|
STORY_COMMENTS
Request story comments.
|
VIDEOS
Request for videos.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Get the name used for display requests.
|
String |
getSubmissionName()
Get the name used for submission requests.
|
static RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestType REVIEWS
public static final RequestType QUESTIONS
public static final RequestType ANSWERS
public static final RequestType STORIES
public static final RequestType REVIEW_COMMENTS
public static final RequestType STORY_COMMENTS
public static final RequestType PROFILES
public static final RequestType PHOTOS
public static final RequestType VIDEOS
public static final RequestType PRODUCTS
public static final RequestType CATEGORIES
public static final RequestType STATISTICS
public static final RequestType FEEDBACK
public static RequestType[] values()
for (RequestType c : RequestType.values()) System.out.println(c);
public static RequestType 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 String getDisplayName()
public String getSubmissionName()
Copyright © 2016. All Rights Reserved.