-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathSendMessageResponse.java
More file actions
42 lines (36 loc) · 1.1 KB
/
SendMessageResponse.java
File metadata and controls
42 lines (36 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.json;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Internal response object from sending a message.
* <p>
* This is a low-level class for JSON-RPC communication containing the message
* ID assigned by the server.
*
* @see SendMessageRequest
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public final class SendMessageResponse {
@JsonProperty("messageId")
private String messageId;
/**
* Gets the message ID assigned by the server.
*
* @return the message ID
*/
public String getMessageId() {
return messageId;
}
/**
* Sets the message ID.
*
* @param messageId
* the message ID
*/
public void setMessageId(String messageId) {
this.messageId = messageId;
}
}