KnowledgeBaseWebReference Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. KnowledgeBaseReference - com.
azure. search. documents. knowledgebases. models. KnowledgeBaseWebReference
- com.
- com.
public final class KnowledgeBaseWebReference
extends KnowledgeBaseReference
Represents a web document reference.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromJson(JsonReader jsonReader)
Reads an instance of Knowledge |
| String |
getTitle()
Get the title property: The title of the web document. |
|
Knowledge |
getType()
Get the type property: The type of the reference. |
| String |
getUrl()
Get the url property: The url the reference data originated from. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from KnowledgeBaseReference
Methods inherited from java.lang.Object
Method Details
fromJson
public static KnowledgeBaseWebReference fromJson(JsonReader jsonReader)
Reads an instance of KnowledgeBaseWebReference from the JsonReader.
Parameters:
Returns:
Throws:
getTitle
public String getTitle()
Get the title property: The title of the web document.
Returns:
getType
public KnowledgeBaseReferenceType getType()
Get the type property: The type of the reference.
Overrides:
KnowledgeBaseWebReference.getType()Returns:
getUrl
public String getUrl()
Get the url property: The url the reference data originated from.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
KnowledgeBaseWebReference.toJson(JsonWriter jsonWriter)Parameters:
Throws: