DocumentMermaidFigure Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. DocumentFigure - com.
azure. ai. contentunderstanding. models. DocumentMermaidFigure
- com.
- com.
public final class DocumentMermaidFigure
extends DocumentFigure
Figure containing a diagram, such as a flowchart or network diagram.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
| String |
getContent()
Get the content property: Diagram content represented using [Mermaid syntax](https://mermaid. |
|
Document |
getKind()
Get the kind property: Figure kind. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from DocumentFigure
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentMermaidFigure fromJson(JsonReader jsonReader)
Reads an instance of DocumentMermaidFigure from the JsonReader.
Parameters:
Returns:
Throws:
getContent
public String getContent()
Get the content property: Diagram content represented using [Mermaid syntax](https://mermaid.js.org/intro/).
Returns:
getKind
public DocumentFigureKind getKind()
Get the kind property: Figure kind.
Overrides:
DocumentMermaidFigure.getKind()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DocumentMermaidFigure.toJson(JsonWriter jsonWriter)Parameters:
Throws: