Package com.vonage.client.conversations
Class UpdateMemberRequest
java.lang.Object
com.vonage.client.conversations.UpdateMemberRequest
- All Implemented Interfaces:
Jsonable
Options for updating a membership using
ConversationsClient.updateMember(UpdateMemberRequest).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for constructing an UpdateMemberRequest. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateMemberRequest.Builderbuilder()Entry point for constructing an instance of this class.getCode()Reason code for leaving.Unique Conversation identifier.getFrom()TODO document this.Unique Member identifier.getState()State to transition the member into.getText()Reason text for leaving.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getState
State to transition the member into.- Returns:
- The updated state as an enum.
-
getFrom
TODO document this.- Returns:
- The from, or
nullif unspecified.
-
getCode
Reason code for leaving. Only applicable when getState() is MemberState.LEFT.- Returns:
- The reason code, or
nullif unspecified / not applicable.
-
getText
Reason text for leaving. Only applicable when getState() is MemberState.LEFT.- Returns:
- The reason text, or
nullif unspecified / not applicable.
-
getConversationId
Unique Conversation identifier.- Returns:
- The conversation ID.
-
getMemberId
Unique Member identifier.- Returns:
- The member ID.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
-