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

MicrosoftGraphRecentNotebook Class

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

Implements

public final class MicrosoftGraphRecentNotebook
implements JsonSerializable<MicrosoftGraphRecentNotebook>

recentNotebook.

Constructor Summary

Constructor Description
MicrosoftGraphRecentNotebook()

Creates an instance of MicrosoftGraphRecentNotebook class.

Method Summary

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

Get the additionalProperties property: recentNotebook.

String displayName()

Get the displayName property: The name of the notebook.

static MicrosoftGraphRecentNotebook fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRecentNotebook from the JsonReader.

OffsetDateTime lastAccessedTime()

Get the lastAccessedTime property: The date and time when the notebook was last modified.

MicrosoftGraphRecentNotebookLinks links()

Get the links property: recentNotebookLinks.

MicrosoftGraphOnenoteSourceService sourceService()

Get the sourceService property: onenoteSourceService.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphRecentNotebook withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: recentNotebook.

MicrosoftGraphRecentNotebook withDisplayName(String displayName)

Set the displayName property: The name of the notebook.

MicrosoftGraphRecentNotebook withLastAccessedTime(OffsetDateTime lastAccessedTime)

Set the lastAccessedTime property: The date and time when the notebook was last modified.

MicrosoftGraphRecentNotebook withLinks(MicrosoftGraphRecentNotebookLinks links)

Set the links property: recentNotebookLinks.

MicrosoftGraphRecentNotebook withSourceService(MicrosoftGraphOnenoteSourceService sourceService)

Set the sourceService property: onenoteSourceService.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphRecentNotebook

public MicrosoftGraphRecentNotebook()

Creates an instance of MicrosoftGraphRecentNotebook class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: recentNotebook.

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The name of the notebook.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphRecentNotebook fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRecentNotebook from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastAccessedTime

public OffsetDateTime lastAccessedTime()

Get the lastAccessedTime property: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.

Returns:

the lastAccessedTime value.

links

public MicrosoftGraphRecentNotebookLinks links()

Get the links property: recentNotebookLinks.

Returns:

the links value.

sourceService

public MicrosoftGraphOnenoteSourceService sourceService()

Get the sourceService property: onenoteSourceService.

Returns:

the sourceService value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphRecentNotebook withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: recentNotebook.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphRecentNotebook object itself.

withDisplayName

public MicrosoftGraphRecentNotebook withDisplayName(String displayName)

Set the displayName property: The name of the notebook.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphRecentNotebook object itself.

withLastAccessedTime

public MicrosoftGraphRecentNotebook withLastAccessedTime(OffsetDateTime lastAccessedTime)

Set the lastAccessedTime property: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.

Parameters:

lastAccessedTime - the lastAccessedTime value to set.

Returns:

the MicrosoftGraphRecentNotebook object itself.

withLinks

public MicrosoftGraphRecentNotebook withLinks(MicrosoftGraphRecentNotebookLinks links)

Set the links property: recentNotebookLinks.

Parameters:

links - the links value to set.

Returns:

the MicrosoftGraphRecentNotebook object itself.

withSourceService

public MicrosoftGraphRecentNotebook withSourceService(MicrosoftGraphOnenoteSourceService sourceService)

Set the sourceService property: onenoteSourceService.

Parameters:

sourceService - the sourceService value to set.

Returns:

the MicrosoftGraphRecentNotebook object itself.

Applies to