Class MicrosoftGraphWorkbookComment
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookComment
workbookComment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphWorkbookComment class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: workbookComment.content()Get the content property: The content of comment.Get the contentType property: Indicates the type for the comment.replies()Get the replies property: Read-only.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookComment.withContent(String content) Set the content property: The content of comment.withContentType(String contentType) Set the contentType property: Indicates the type for the comment.Set the id property: Read-only.Set the replies property: Read-only.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphWorkbookComment
public MicrosoftGraphWorkbookComment()Creates an instance of MicrosoftGraphWorkbookComment class.
-
-
Method Details
-
content
Get the content property: The content of comment.- Returns:
- the content value.
-
withContent
Set the content property: The content of comment.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphWorkbookComment object itself.
-
contentType
Get the contentType property: Indicates the type for the comment.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: Indicates the type for the comment.- Parameters:
contentType- the contentType value to set.- Returns:
- the MicrosoftGraphWorkbookComment object itself.
-
replies
Get the replies property: Read-only. Nullable.- Returns:
- the replies value.
-
withReplies
Set the replies property: Read-only. Nullable.- Parameters:
replies- the replies value to set.- Returns:
- the MicrosoftGraphWorkbookComment object itself.
-
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
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.
-