你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphOnenotePagePreview Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenotePagePreview

Implements

public final class MicrosoftGraphOnenotePagePreview
implements JsonSerializable<MicrosoftGraphOnenotePagePreview>

onenotePagePreview.

Constructor Summary

Constructor Description
MicrosoftGraphOnenotePagePreview()

Creates an instance of MicrosoftGraphOnenotePagePreview class.

Method Summary

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

Get the additionalProperties property: onenotePagePreview.

static MicrosoftGraphOnenotePagePreview fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenotePagePreview from the JsonReader.

MicrosoftGraphOnenotePagePreviewLinks links()

Get the links property: onenotePagePreviewLinks.

String previewText()

Get the previewText property: The previewText property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOnenotePagePreview withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenotePagePreview.

MicrosoftGraphOnenotePagePreview withLinks(MicrosoftGraphOnenotePagePreviewLinks links)

Set the links property: onenotePagePreviewLinks.

MicrosoftGraphOnenotePagePreview withPreviewText(String previewText)

Set the previewText property: The previewText property.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnenotePagePreview

public MicrosoftGraphOnenotePagePreview()

Creates an instance of MicrosoftGraphOnenotePagePreview class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onenotePagePreview.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphOnenotePagePreview fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenotePagePreview from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOnenotePagePreview 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 MicrosoftGraphOnenotePagePreview.

links

public MicrosoftGraphOnenotePagePreviewLinks links()

Get the links property: onenotePagePreviewLinks.

Returns:

the links value.

previewText

public String previewText()

Get the previewText property: The previewText property.

Returns:

the previewText value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphOnenotePagePreview withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenotePagePreview.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenotePagePreview object itself.

withLinks

public MicrosoftGraphOnenotePagePreview withLinks(MicrosoftGraphOnenotePagePreviewLinks links)

Set the links property: onenotePagePreviewLinks.

Parameters:

links - the links value to set.

Returns:

the MicrosoftGraphOnenotePagePreview object itself.

withPreviewText

public MicrosoftGraphOnenotePagePreview withPreviewText(String previewText)

Set the previewText property: The previewText property.

Parameters:

previewText - the previewText value to set.

Returns:

the MicrosoftGraphOnenotePagePreview object itself.

Applies to