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

MicrosoftGraphOnenoteEntityBaseModel Class

public class MicrosoftGraphOnenoteEntityBaseModel
extends MicrosoftGraphEntity

onenoteEntityBaseModel.

Constructor Summary

Constructor Description
MicrosoftGraphOnenoteEntityBaseModel()

Creates an instance of MicrosoftGraphOnenoteEntityBaseModel class.

Method Summary

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

Get the additionalProperties property: onenoteEntityBaseModel.

static MicrosoftGraphOnenoteEntityBaseModel fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenoteEntityBaseModel from the JsonReader.

String self()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOnenoteEntityBaseModel withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenoteEntityBaseModel.

MicrosoftGraphOnenoteEntityBaseModel withId(String id)

Set the id property: Read-only.

MicrosoftGraphOnenoteEntityBaseModel withSelf(String self)

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

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnenoteEntityBaseModel

public MicrosoftGraphOnenoteEntityBaseModel()

Creates an instance of MicrosoftGraphOnenoteEntityBaseModel class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onenoteEntityBaseModel.

Overrides:

MicrosoftGraphOnenoteEntityBaseModel.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphOnenoteEntityBaseModel fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenoteEntityBaseModel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

self

public String self()

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

Returns:

the self value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOnenoteEntityBaseModel.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOnenoteEntityBaseModel.validate()

withAdditionalProperties

public MicrosoftGraphOnenoteEntityBaseModel withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenoteEntityBaseModel.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenoteEntityBaseModel object itself.

withId

public MicrosoftGraphOnenoteEntityBaseModel withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOnenoteEntityBaseModel.withId(String id)

Parameters:

id

withSelf

public MicrosoftGraphOnenoteEntityBaseModel withSelf(String self)

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

Parameters:

self - the self value to set.

Returns:

the MicrosoftGraphOnenoteEntityBaseModel object itself.

Applies to