DocumentAnnotationComment Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. DocumentAnnotationComment
- com.
Implements
public final class DocumentAnnotationComment
implements JsonSerializable<DocumentAnnotationComment>
Comment associated with a document annotation.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
| String |
getAuthor()
Get the author property: Author of the comment. |
|
Offset |
getCreatedAt()
Get the created |
|
Offset |
getLastModifiedAt()
Get the last |
| String |
getMessage()
Get the message property: Comment message in Markdown. |
| List<String> |
getTags()
Get the tags property: Tags associated with the comment. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentAnnotationComment fromJson(JsonReader jsonReader)
Reads an instance of DocumentAnnotationComment from the JsonReader.
Parameters:
Returns:
Throws:
getAuthor
public String getAuthor()
Get the author property: Author of the comment.
Returns:
getCreatedAt
public OffsetDateTime getCreatedAt()
Get the createdAt property: Date and time when the comment was created.
Returns:
getLastModifiedAt
public OffsetDateTime getLastModifiedAt()
Get the lastModifiedAt property: Date and time when the comment was last modified.
Returns:
getMessage
public String getMessage()
Get the message property: Comment message in Markdown.
Returns:
getTags
public List<String> getTags()
Get the tags property: Tags associated with the comment.
Returns: