Class MicrosoftGraphWorkbookComment
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookComment
-
public final class MicrosoftGraphWorkbookComment extends MicrosoftGraphEntity
workbookComment.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphWorkbookComment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: workbookComment.Stringcontent()Get the content property: The content of comment.StringcontentType()Get the contentType property: Indicates the type for the comment.List<MicrosoftGraphWorkbookCommentReply>replies()Get the replies property: Read-only.voidvalidate()Validates the instance.MicrosoftGraphWorkbookCommentwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: workbookComment.MicrosoftGraphWorkbookCommentwithContent(String content)Set the content property: The content of comment.MicrosoftGraphWorkbookCommentwithContentType(String contentType)Set the contentType property: Indicates the type for the comment.MicrosoftGraphWorkbookCommentwithId(String id)Set the id property: Read-only.MicrosoftGraphWorkbookCommentwithReplies(List<MicrosoftGraphWorkbookCommentReply> replies)Set the replies property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
content
public String content()
Get the content property: The content of comment.- Returns:
- the content value.
-
withContent
public MicrosoftGraphWorkbookComment withContent(String content)
Set the content property: The content of comment.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphWorkbookComment object itself.
-
contentType
public String contentType()
Get the contentType property: Indicates the type for the comment.- Returns:
- the contentType value.
-
withContentType
public MicrosoftGraphWorkbookComment withContentType(String contentType)
Set the contentType property: Indicates the type for the comment.- Parameters:
contentType- the contentType value to set.- Returns:
- the MicrosoftGraphWorkbookComment object itself.
-
replies
public List<MicrosoftGraphWorkbookCommentReply> replies()
Get the replies property: Read-only. Nullable.- Returns:
- the replies value.
-
withReplies
public MicrosoftGraphWorkbookComment withReplies(List<MicrosoftGraphWorkbookCommentReply> replies)
Set the replies property: Read-only. Nullable.- Parameters:
replies- the replies value to set.- Returns:
- the MicrosoftGraphWorkbookComment object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: workbookComment.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookComment withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookComment.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookComment object itself.
-
withId
public MicrosoftGraphWorkbookComment withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-