public enum RocketChatRestApiV1 extends Enum<RocketChatRestApiV1>
| Enum Constant and Description |
|---|
ChannelsInfo
Retrieves a list of all the channels in the server.
|
ChannelsList
Retrieves a list of all the channels in the server.
|
PostMessage
Retrieves a list of all the channels in the server.
|
UsersInfo
Retrieves the user information from the server.
|
UsersList
Retrieves a list of all the users in the server.
|
| Modifier and Type | Method and Description |
|---|---|
HttpMethods |
getHttpMethod()
Gets the
http method which should be used. |
String |
getMethodName()
Gets the method name to be called to the server.
|
boolean |
requiresAuth()
Check whether the method requires authentication or not.
|
static RocketChatRestApiV1 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RocketChatRestApiV1[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RocketChatRestApiV1 UsersList
public static final RocketChatRestApiV1 UsersInfo
public static final RocketChatRestApiV1 ChannelsList
public static final RocketChatRestApiV1 ChannelsInfo
public static final RocketChatRestApiV1 PostMessage
public static RocketChatRestApiV1[] values()
for (RocketChatRestApiV1 c : RocketChatRestApiV1.values()) System.out.println(c);
public static RocketChatRestApiV1 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 getMethodName()
public HttpMethods getHttpMethod()
http method which should be used.http method to be usedpublic boolean requiresAuth()
Copyright © 2016. All rights reserved.