Package io.getstream.chat.java.models
Class Draft.GetDraftRequest
- java.lang.Object
-
- io.getstream.chat.java.models.framework.StreamRequest<Draft.GetDraftResponse>
-
- io.getstream.chat.java.models.Draft.GetDraftRequest
-
- Enclosing class:
- Draft
public static class Draft.GetDraftRequest extends StreamRequest<Draft.GetDraftResponse>
Request for getting a draft.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected retrofit2.Call<Draft.GetDraftResponse>
generateCall(Client client)
@NotNull Draft.GetDraftRequest
parentId(@Nullable java.lang.String parentId)
@NotNull Draft.GetDraftRequest
userId(@NotNull java.lang.String userId)
-
Methods inherited from class io.getstream.chat.java.models.framework.StreamRequest
getClient, request, requestAsync, withClient
-
-
-
-
Method Detail
-
userId
@NotNull public @NotNull Draft.GetDraftRequest userId(@NotNull @NotNull java.lang.String userId)
-
parentId
@NotNull public @NotNull Draft.GetDraftRequest parentId(@Nullable @Nullable java.lang.String parentId)
-
generateCall
protected retrofit2.Call<Draft.GetDraftResponse> generateCall(Client client) throws StreamException
- Specified by:
generateCall
in classStreamRequest<Draft.GetDraftResponse>
- Throws:
StreamException
-
-