MicrosoftGraphWorkbookComment Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphWorkbookComment
- com.
- com.
public final class MicrosoftGraphWorkbookComment
extends MicrosoftGraphEntity
workbookComment.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphWorkbookComment() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
content()
Get the content property: The content of comment. |
String |
contentType()
Get the content |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<Microsoft |
replies()
Get the replies property: Read-only. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withContent(String content)
Set the content property: The content of comment. |
Microsoft |
withContentType(String contentType)
Set the content |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withReplies(List<MicrosoftGraphWorkbookCommentReply> replies)
Set the replies property: Read-only. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphWorkbookComment
public MicrosoftGraphWorkbookComment()
Creates an instance of MicrosoftGraphWorkbookComment class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: workbookComment.
Overrides:
MicrosoftGraphWorkbookComment.additionalProperties()Returns:
content
public String content()
Get the content property: The content of comment.
Returns:
contentType
public String contentType()
Get the contentType property: Indicates the type for the comment.
Returns:
fromJson
public static MicrosoftGraphWorkbookComment fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphWorkbookComment from the JsonReader.
Parameters:
Returns:
Throws:
replies
public List
Get the replies property: Read-only. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphWorkbookComment.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphWorkbookComment.validate()withAdditionalProperties
public MicrosoftGraphWorkbookComment withAdditionalProperties(Map
Set the additionalProperties property: workbookComment.
Overrides:
MicrosoftGraphWorkbookComment.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withContent
public MicrosoftGraphWorkbookComment withContent(String content)
Set the content property: The content of comment.
Parameters:
Returns:
withContentType
public MicrosoftGraphWorkbookComment withContentType(String contentType)
Set the contentType property: Indicates the type for the comment.
Parameters:
Returns:
withId
public MicrosoftGraphWorkbookComment withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphWorkbookComment.withId(String id)Parameters:
withReplies
public MicrosoftGraphWorkbookComment withReplies(List
Set the replies property: Read-only. Nullable.
Parameters:
Returns:
Applies to
Azure SDK for Java