Class RequestEvent
-
- All Implemented Interfaces:
public class RequestEvent extends Event
-
-
Constructor Summary
Constructors Constructor Description RequestEvent()
-
Method Summary
Modifier and Type Method Description final StringgetRequestType()final UnitsetRequestType(@SerializedName(value = "request_type") String requestType)final LonggetUserId()final UnitsetUserId(@SerializedName(value = "user_id") Long userId)final StringgetComment()final UnitsetComment(@SerializedName(value = "comment", alternate = {"message"}) String comment)final StringgetFlag()final UnitsetFlag(@SerializedName(value = "flag") String flag)-
Methods inherited from class cn.evolvefield.onebot.sdk.event.Event
getPostType, getSelfId, getTime, setPostType, setSelfId, setTime, time, timeInSecond -
Methods inherited from class cn.evolvefield.onebot.sdk.action.JsonContainer
getJson -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRequestType
final String getRequestType()
-
setRequestType
final Unit setRequestType(@SerializedName(value = "request_type") String requestType)
-
getComment
final String getComment()
-
setComment
final Unit setComment(@SerializedName(value = "comment", alternate = {"message"}) String comment)
-
-
-
-