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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)protected retrofit2.Call<Draft.GetDraftResponse>generateCall(Client client)@NotNull java.lang.StringgetChannelId()@NotNull java.lang.StringgetChannelType()@Nullable java.lang.StringgetParentId()@Nullable java.lang.StringgetUserId()inthashCode()@NotNull Draft.GetDraftRequestparentId(@Nullable java.lang.String parentId)@NotNull Draft.GetDraftRequestuserId(@NotNull java.lang.String userId)-
Methods inherited from class io.getstream.chat.java.models.framework.StreamRequest
getClient, request, requestAsync, withClient, withUserToken
-
-
-
-
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:
generateCallin classStreamRequest<Draft.GetDraftResponse>- Throws:
StreamException
-
getChannelType
@NotNull public @NotNull java.lang.String getChannelType()
-
getChannelId
@NotNull public @NotNull java.lang.String getChannelId()
-
getUserId
@Nullable public @Nullable java.lang.String getUserId()
-
getParentId
@Nullable public @Nullable java.lang.String getParentId()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-