MicrosoftGraphWorkbookCommentReply Class

public final class MicrosoftGraphWorkbookCommentReply
extends MicrosoftGraphEntity

workbookCommentReply.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookCommentReply()

Creates an instance of MicrosoftGraphWorkbookCommentReply class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: workbookCommentReply.

String content()

Get the content property: The content of a comment reply.

String contentType()

Get the contentType property: Indicates the type for the comment reply.

static MicrosoftGraphWorkbookCommentReply fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookCommentReply from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookCommentReply withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookCommentReply.

MicrosoftGraphWorkbookCommentReply withContent(String content)

Set the content property: The content of a comment reply.

MicrosoftGraphWorkbookCommentReply withContentType(String contentType)

Set the contentType property: Indicates the type for the comment reply.

MicrosoftGraphWorkbookCommentReply withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookCommentReply

public MicrosoftGraphWorkbookCommentReply()

Creates an instance of MicrosoftGraphWorkbookCommentReply class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookCommentReply.

Overrides:

MicrosoftGraphWorkbookCommentReply.additionalProperties()

Returns:

the additionalProperties value.

content

public String content()

Get the content property: The content of a comment reply.

Returns:

the content value.

contentType

public String contentType()

Get the contentType property: Indicates the type for the comment reply.

Returns:

the contentType value.

fromJson

public static MicrosoftGraphWorkbookCommentReply fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookCommentReply from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookCommentReply if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkbookCommentReply.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookCommentReply.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookCommentReply.validate()

withAdditionalProperties

public MicrosoftGraphWorkbookCommentReply withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookCommentReply.

Overrides:

MicrosoftGraphWorkbookCommentReply.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookCommentReply object itself.

withContent

public MicrosoftGraphWorkbookCommentReply withContent(String content)

Set the content property: The content of a comment reply.

Parameters:

content - the content value to set.

Returns:

the MicrosoftGraphWorkbookCommentReply object itself.

withContentType

public MicrosoftGraphWorkbookCommentReply withContentType(String contentType)

Set the contentType property: Indicates the type for the comment reply.

Parameters:

contentType - the contentType value to set.

Returns:

the MicrosoftGraphWorkbookCommentReply object itself.

withId

public MicrosoftGraphWorkbookCommentReply withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookCommentReply.withId(String id)

Parameters:

id

Applies to