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

MicrosoftGraphOnenoteEntityHierarchyModel Class

public class MicrosoftGraphOnenoteEntityHierarchyModel
extends MicrosoftGraphOnenoteEntitySchemaObjectModel

onenoteEntityHierarchyModel.

Constructor Summary

Constructor Description
MicrosoftGraphOnenoteEntityHierarchyModel()

Creates an instance of MicrosoftGraphOnenoteEntityHierarchyModel class.

Method Summary

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

Get the additionalProperties property: onenoteEntityHierarchyModel.

MicrosoftGraphIdentitySet createdBy()

Get the createdBy property: identitySet.

String displayName()

Get the displayName property: The name of the notebook.

static MicrosoftGraphOnenoteEntityHierarchyModel fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenoteEntityHierarchyModel from the JsonReader.

MicrosoftGraphIdentitySet lastModifiedBy()

Get the lastModifiedBy property: identitySet.

OffsetDateTime lastModifiedDateTime()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOnenoteEntityHierarchyModel withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenoteEntityHierarchyModel.

MicrosoftGraphOnenoteEntityHierarchyModel withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

MicrosoftGraphOnenoteEntityHierarchyModel withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The date and time when the page was created.

MicrosoftGraphOnenoteEntityHierarchyModel withDisplayName(String displayName)

Set the displayName property: The name of the notebook.

MicrosoftGraphOnenoteEntityHierarchyModel withId(String id)

Set the id property: Read-only.

MicrosoftGraphOnenoteEntityHierarchyModel withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphOnenoteEntityHierarchyModel withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

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

MicrosoftGraphOnenoteEntityHierarchyModel withSelf(String self)

Set the self property: The endpoint where you can get details about the page.

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from MicrosoftGraphOnenoteEntityBaseModel

Methods inherited from MicrosoftGraphOnenoteEntitySchemaObjectModel

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnenoteEntityHierarchyModel

public MicrosoftGraphOnenoteEntityHierarchyModel()

Creates an instance of MicrosoftGraphOnenoteEntityHierarchyModel class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onenoteEntityHierarchyModel.

Overrides:

MicrosoftGraphOnenoteEntityHierarchyModel.additionalProperties()

Returns:

the additionalProperties value.

createdBy

public MicrosoftGraphIdentitySet createdBy()

Get the createdBy property: identitySet.

Returns:

the createdBy value.

displayName

public String displayName()

Get the displayName property: The name of the notebook.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphOnenoteEntityHierarchyModel fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenoteEntityHierarchyModel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastModifiedBy

public MicrosoftGraphIdentitySet lastModifiedBy()

Get the lastModifiedBy property: identitySet.

Returns:

the lastModifiedBy value.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime 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 lastModifiedDateTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOnenoteEntityHierarchyModel.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOnenoteEntityHierarchyModel.validate()

withAdditionalProperties

public MicrosoftGraphOnenoteEntityHierarchyModel withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenoteEntityHierarchyModel.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenoteEntityHierarchyModel object itself.

withCreatedBy

public MicrosoftGraphOnenoteEntityHierarchyModel withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Parameters:

createdBy - the createdBy value to set.

Returns:

the MicrosoftGraphOnenoteEntityHierarchyModel object itself.

withCreatedDateTime

public MicrosoftGraphOnenoteEntityHierarchyModel withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The date and time when the page was created. 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.

Overrides:

MicrosoftGraphOnenoteEntityHierarchyModel.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withDisplayName

public MicrosoftGraphOnenoteEntityHierarchyModel withDisplayName(String displayName)

Set the displayName property: The name of the notebook.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphOnenoteEntityHierarchyModel object itself.

withId

public MicrosoftGraphOnenoteEntityHierarchyModel withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOnenoteEntityHierarchyModel.withId(String id)

Parameters:

id

withLastModifiedBy

public MicrosoftGraphOnenoteEntityHierarchyModel withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Parameters:

lastModifiedBy - the lastModifiedBy value to set.

Returns:

the MicrosoftGraphOnenoteEntityHierarchyModel object itself.

withLastModifiedDateTime

public MicrosoftGraphOnenoteEntityHierarchyModel withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime 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:

lastModifiedDateTime - the lastModifiedDateTime value to set.

Returns:

the MicrosoftGraphOnenoteEntityHierarchyModel object itself.

withSelf

public MicrosoftGraphOnenoteEntityHierarchyModel withSelf(String self)

Set the self property: The endpoint where you can get details about the page. Read-only.

Overrides:

MicrosoftGraphOnenoteEntityHierarchyModel.withSelf(String self)

Parameters:

self

Applies to