Package de.blackrose01.endpoint
Enum EndpointPrivate
- java.lang.Object
-
- java.lang.Enum<EndpointPrivate>
-
- de.blackrose01.endpoint.EndpointPrivate
-
- All Implemented Interfaces:
Endpoint,Serializable,Comparable<EndpointPrivate>
public enum EndpointPrivate extends Enum<EndpointPrivate> implements Endpoint
private api endpoints
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Feed_FollowFollowListList_EntryPeopleRateReviewReview_Video
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUri()return URI of endpointStringtoString()should return stringified objectstatic EndpointPrivatevalueOf(String name)Returns the enum constant of this type with the specified name.static EndpointPrivate[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Feed_Follow
public static final EndpointPrivate Feed_Follow
-
Follow
public static final EndpointPrivate Follow
-
List
public static final EndpointPrivate List
-
List_Entry
public static final EndpointPrivate List_Entry
-
People
public static final EndpointPrivate People
-
Rate
public static final EndpointPrivate Rate
-
Review
public static final EndpointPrivate Review
-
Review_Video
public static final EndpointPrivate Review_Video
-
-
Method Detail
-
values
public static EndpointPrivate[] 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 (EndpointPrivate c : EndpointPrivate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndpointPrivate 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
-
getUri
public String getUri()
return URI of endpoint
-
-