你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphOnenotePage Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenoteEntityBaseModel - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenoteEntitySchemaObjectModel - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenotePage
- com.
- com.
- com.
- com.
public final class MicrosoftGraphOnenotePage
extends MicrosoftGraphOnenoteEntitySchemaObjectModel
onenotePage.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOnenotePage() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
byte[] |
content()
Get the content property: The page's HTML content. |
String |
contentUrl()
Get the content |
String |
createdByAppId()
Get the created |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
lastModifiedDateTime()
Get the last |
Integer |
level()
Get the level property: The indentation level of the page. |
Microsoft |
links()
Get the links property: page |
Integer |
order()
Get the order property: The order of the page within its parent section. |
Microsoft |
parentNotebook()
Get the parent |
Microsoft |
parentSection()
Get the parent |
String |
title()
Get the title property: The title of the page. |
Json |
toJson(JsonWriter jsonWriter) |
List<String> |
userTags()
Get the user |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withContent(byte[] content)
Set the content property: The page's HTML content. |
Microsoft |
withContentUrl(String contentUrl)
Set the content |
Microsoft |
withCreatedByAppId(String createdByAppId)
Set the created |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withLevel(Integer level)
Set the level property: The indentation level of the page. |
Microsoft |
withLinks(MicrosoftGraphPageLinks links)
Set the links property: page |
Microsoft |
withOrder(Integer order)
Set the order property: The order of the page within its parent section. |
Microsoft |
withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parent |
Microsoft |
withParentSection(MicrosoftGraphOnenoteSection parentSection)
Set the parent |
Microsoft |
withSelf(String self)
Set the self property: The endpoint where you can get details about the page. |
Microsoft |
withTitle(String title)
Set the title property: The title of the page. |
Microsoft |
withUserTags(List<String> userTags)
Set the user |
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphOnenoteEntityBaseModel
Methods inherited from MicrosoftGraphOnenoteEntitySchemaObjectModel
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOnenotePage
public MicrosoftGraphOnenotePage()
Creates an instance of MicrosoftGraphOnenotePage class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: onenotePage.
Overrides:
MicrosoftGraphOnenotePage.additionalProperties()Returns:
content
public byte[] content()
Get the content property: The page's HTML content.
Returns:
contentUrl
public String contentUrl()
Get the contentUrl property: The URL for the page's HTML content. Read-only.
Returns:
createdByAppId
public String createdByAppId()
Get the createdByAppId property: The unique identifier of the application that created the page. Read-only.
Returns:
fromJson
public static MicrosoftGraphOnenotePage fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOnenotePage from the JsonReader.
Parameters:
Returns:
Throws:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The date and time when the page 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:
level
public Integer level()
Get the level property: The indentation level of the page. Read-only.
Returns:
links
public MicrosoftGraphPageLinks links()
Get the links property: pageLinks.
Returns:
order
public Integer order()
Get the order property: The order of the page within its parent section. Read-only.
Returns:
parentNotebook
public MicrosoftGraphNotebook parentNotebook()
Get the parentNotebook property: notebook.
Returns:
parentSection
public MicrosoftGraphOnenoteSection parentSection()
Get the parentSection property: onenoteSection.
Returns:
title
public String title()
Get the title property: The title of the page.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOnenotePage.toJson(JsonWriter jsonWriter)Parameters:
Throws:
userTags
public List
Get the userTags property: The userTags property.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOnenotePage.validate()withAdditionalProperties
public MicrosoftGraphOnenotePage withAdditionalProperties(Map
Set the additionalProperties property: onenotePage.
Overrides:
MicrosoftGraphOnenotePage.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withContent
public MicrosoftGraphOnenotePage withContent(byte[] content)
Set the content property: The page's HTML content.
Parameters:
Returns:
withContentUrl
public MicrosoftGraphOnenotePage withContentUrl(String contentUrl)
Set the contentUrl property: The URL for the page's HTML content. Read-only.
Parameters:
Returns:
withCreatedByAppId
public MicrosoftGraphOnenotePage withCreatedByAppId(String createdByAppId)
Set the createdByAppId property: The unique identifier of the application that created the page. Read-only.
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphOnenotePage 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:
MicrosoftGraphOnenotePage.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withId
public MicrosoftGraphOnenotePage withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphOnenotePage.withId(String id)Parameters:
withLastModifiedDateTime
public MicrosoftGraphOnenotePage withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the page 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:
Returns:
withLevel
public MicrosoftGraphOnenotePage withLevel(Integer level)
Set the level property: The indentation level of the page. Read-only.
Parameters:
Returns:
withLinks
public MicrosoftGraphOnenotePage withLinks(MicrosoftGraphPageLinks links)
Set the links property: pageLinks.
Parameters:
Returns:
withOrder
public MicrosoftGraphOnenotePage withOrder(Integer order)
Set the order property: The order of the page within its parent section. Read-only.
Parameters:
Returns:
withParentNotebook
public MicrosoftGraphOnenotePage withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.
Parameters:
Returns:
withParentSection
public MicrosoftGraphOnenotePage withParentSection(MicrosoftGraphOnenoteSection parentSection)
Set the parentSection property: onenoteSection.
Parameters:
Returns:
withSelf
public MicrosoftGraphOnenotePage withSelf(String self)
Set the self property: The endpoint where you can get details about the page. Read-only.
Overrides:
MicrosoftGraphOnenotePage.withSelf(String self)Parameters:
withTitle
public MicrosoftGraphOnenotePage withTitle(String title)
Set the title property: The title of the page.
Parameters:
Returns:
withUserTags
public MicrosoftGraphOnenotePage withUserTags(List
Set the userTags property: The userTags property.
Parameters:
Returns: