Class MicrosoftGraphOnenotePage
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
onenotePage.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOnenotePage class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: onenotePage.byte[]content()Get the content property: The page's HTML content.Get the contentUrl property: The URL for the page's HTML content.Get the createdByAppId property: The unique identifier of the application that created the page.Get the lastModifiedDateTime property: The date and time when the page was last modified.level()Get the level property: The indentation level of the page.links()Get the links property: pageLinks.order()Get the order property: The order of the page within its parent section.Get the parentNotebook property: notebook.Get the parentSection property: onenoteSection.title()Get the title property: The title of the page.userTags()Get the userTags property: The userTags property.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenotePage.withContent(byte[] content) Set the content property: The page's HTML content.withContentUrl(String contentUrl) Set the contentUrl property: The URL for the page's HTML content.withCreatedByAppId(String createdByAppId) Set the createdByAppId property: The unique identifier of the application that created the page.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: The date and time when the page was created.Set the id property: Read-only.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The date and time when the page was last modified.Set the level property: The indentation level of the page.withLinks(MicrosoftGraphPageLinks links) Set the links property: pageLinks.Set the order property: The order of the page within its parent section.withParentNotebook(MicrosoftGraphNotebook parentNotebook) Set the parentNotebook property: notebook.withParentSection(MicrosoftGraphOnenoteSection parentSection) Set the parentSection property: onenoteSection.Set the self property: The endpoint where you can get details about the page.Set the title property: The title of the page.withUserTags(List<String> userTags) Set the userTags property: The userTags property.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntitySchemaObjectModel
createdDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityBaseModel
selfMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphOnenotePage
public MicrosoftGraphOnenotePage()Creates an instance of MicrosoftGraphOnenotePage class.
-
-
Method Details
-
content
public byte[] content()Get the content property: The page's HTML content.- Returns:
- the content value.
-
withContent
Set the content property: The page's HTML content.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
contentUrl
Get the contentUrl property: The URL for the page's HTML content. Read-only.- Returns:
- the contentUrl value.
-
withContentUrl
Set the contentUrl property: The URL for the page's HTML content. Read-only.- Parameters:
contentUrl- the contentUrl value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
createdByAppId
Get the createdByAppId property: The unique identifier of the application that created the page. Read-only.- Returns:
- the createdByAppId value.
-
withCreatedByAppId
Set the createdByAppId property: The unique identifier of the application that created the page. Read-only.- Parameters:
createdByAppId- the createdByAppId value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
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:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
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:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
level
Get the level property: The indentation level of the page. Read-only.- Returns:
- the level value.
-
withLevel
Set the level property: The indentation level of the page. Read-only.- Parameters:
level- the level value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
links
Get the links property: pageLinks.- Returns:
- the links value.
-
withLinks
Set the links property: pageLinks.- Parameters:
links- the links value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
order
Get the order property: The order of the page within its parent section. Read-only.- Returns:
- the order value.
-
withOrder
Set the order property: The order of the page within its parent section. Read-only.- Parameters:
order- the order value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
title
Get the title property: The title of the page.- Returns:
- the title value.
-
withTitle
Set the title property: The title of the page.- Parameters:
title- the title value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
userTags
Get the userTags property: The userTags property.- Returns:
- the userTags value.
-
withUserTags
Set the userTags property: The userTags property.- Parameters:
userTags- the userTags value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
parentNotebook
Get the parentNotebook property: notebook.- Returns:
- the parentNotebook value.
-
withParentNotebook
Set the parentNotebook property: notebook.- Parameters:
parentNotebook- the parentNotebook value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
parentSection
Get the parentSection property: onenoteSection.- Returns:
- the parentSection value.
-
withParentSection
Set the parentSection property: onenoteSection.- Parameters:
parentSection- the parentSection value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
additionalProperties
Get the additionalProperties property: onenotePage.- Overrides:
additionalPropertiesin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: onenotePage.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
withCreatedDateTime
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:
withCreatedDateTimein classMicrosoftGraphOnenoteEntitySchemaObjectModel- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntitySchemaObjectModel object itself.
-
withSelf
Set the self property: The endpoint where you can get details about the page. Read-only.- Overrides:
withSelfin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Parameters:
self- the self value to set.- Returns:
- the MicrosoftGraphOnenoteEntityBaseModel object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphOnenoteEntitySchemaObjectModel- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-