KnowledgeBaseMessageContent Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. KnowledgeBaseMessageContent
- com.
Implements
public class KnowledgeBaseMessageContent
implements JsonSerializable<KnowledgeBaseMessageContent>
Specifies the type of the message content.
Constructor Summary
| Constructor | Description |
|---|---|
| KnowledgeBaseMessageContent() |
Creates an instance of Knowledge |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromJson(JsonReader jsonReader)
Reads an instance of Knowledge |
|
Knowledge |
getType()
Get the type property: The type of the message. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
KnowledgeBaseMessageContent
public KnowledgeBaseMessageContent()
Creates an instance of KnowledgeBaseMessageContent class.
Method Details
fromJson
public static KnowledgeBaseMessageContent fromJson(JsonReader jsonReader)
Reads an instance of KnowledgeBaseMessageContent from the JsonReader.
Parameters:
Returns:
Throws:
getType
public KnowledgeBaseMessageContentType getType()
Get the type property: The type of the message.
Returns: