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
-
public final class MicrosoftGraphOnenotePage extends MicrosoftGraphOnenoteEntitySchemaObjectModel
onenotePage.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOnenotePage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: onenotePage.byte[]content()Get the content property: The page's HTML content.StringcontentUrl()Get the contentUrl property: The URL for the page's HTML content.StringcreatedByAppId()Get the createdByAppId property: The unique identifier of the application that created the page.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: The date and time when the page was last modified.Integerlevel()Get the level property: The indentation level of the page.MicrosoftGraphPageLinkslinks()Get the links property: pageLinks.Integerorder()Get the order property: The order of the page within its parent section.MicrosoftGraphNotebookparentNotebook()Get the parentNotebook property: notebook.MicrosoftGraphOnenoteSectionparentSection()Get the parentSection property: onenoteSection.Stringtitle()Get the title property: The title of the page.List<String>userTags()Get the userTags property: The userTags property.voidvalidate()Validates the instance.MicrosoftGraphOnenotePagewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: onenotePage.MicrosoftGraphOnenotePagewithContent(byte[] content)Set the content property: The page's HTML content.MicrosoftGraphOnenotePagewithContentUrl(String contentUrl)Set the contentUrl property: The URL for the page's HTML content.MicrosoftGraphOnenotePagewithCreatedByAppId(String createdByAppId)Set the createdByAppId property: The unique identifier of the application that created the page.MicrosoftGraphOnenotePagewithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphOnenotePagewithId(String id)Set the id property: Read-only.MicrosoftGraphOnenotePagewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The date and time when the page was last modified.MicrosoftGraphOnenotePagewithLevel(Integer level)Set the level property: The indentation level of the page.MicrosoftGraphOnenotePagewithLinks(MicrosoftGraphPageLinks links)Set the links property: pageLinks.MicrosoftGraphOnenotePagewithOrder(Integer order)Set the order property: The order of the page within its parent section.MicrosoftGraphOnenotePagewithParentNotebook(MicrosoftGraphNotebook parentNotebook)Set the parentNotebook property: notebook.MicrosoftGraphOnenotePagewithParentSection(MicrosoftGraphOnenoteSection parentSection)Set the parentSection property: onenoteSection.MicrosoftGraphOnenotePagewithSelf(String self)Set the self property: The endpoint where you can get details about the page.MicrosoftGraphOnenotePagewithTitle(String title)Set the title property: The title of the page.MicrosoftGraphOnenotePagewithUserTags(List<String> userTags)Set the userTags property: The userTags property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntitySchemaObjectModel
createdDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityBaseModel
self
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
content
public byte[] content()
Get the content property: The page's HTML content.- Returns:
- the content value.
-
withContent
public MicrosoftGraphOnenotePage withContent(byte[] content)
Set the content property: The page's HTML content.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
contentUrl
public String contentUrl()
Get the contentUrl property: The URL for the page's HTML content. Read-only.- Returns:
- the contentUrl value.
-
withContentUrl
public MicrosoftGraphOnenotePage withContentUrl(String contentUrl)
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
public String createdByAppId()
Get the createdByAppId property: The unique identifier of the application that created the page. Read-only.- Returns:
- the createdByAppId value.
-
withCreatedByAppId
public MicrosoftGraphOnenotePage withCreatedByAppId(String createdByAppId)
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
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:
- the lastModifiedDateTime value.
-
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:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
level
public Integer level()
Get the level property: The indentation level of the page. Read-only.- Returns:
- the level value.
-
withLevel
public MicrosoftGraphOnenotePage withLevel(Integer level)
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
public MicrosoftGraphPageLinks links()
Get the links property: pageLinks.- Returns:
- the links value.
-
withLinks
public MicrosoftGraphOnenotePage withLinks(MicrosoftGraphPageLinks links)
Set the links property: pageLinks.- Parameters:
links- the links value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
order
public Integer order()
Get the order property: The order of the page within its parent section. Read-only.- Returns:
- the order value.
-
withOrder
public MicrosoftGraphOnenotePage withOrder(Integer order)
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
public String title()
Get the title property: The title of the page.- Returns:
- the title value.
-
withTitle
public MicrosoftGraphOnenotePage withTitle(String title)
Set the title property: The title of the page.- Parameters:
title- the title value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
userTags
public List<String> userTags()
Get the userTags property: The userTags property.- Returns:
- the userTags value.
-
withUserTags
public MicrosoftGraphOnenotePage withUserTags(List<String> userTags)
Set the userTags property: The userTags property.- Parameters:
userTags- the userTags value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
parentNotebook
public MicrosoftGraphNotebook parentNotebook()
Get the parentNotebook property: notebook.- Returns:
- the parentNotebook value.
-
withParentNotebook
public MicrosoftGraphOnenotePage withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.- Parameters:
parentNotebook- the parentNotebook value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
parentSection
public MicrosoftGraphOnenoteSection parentSection()
Get the parentSection property: onenoteSection.- Returns:
- the parentSection value.
-
withParentSection
public MicrosoftGraphOnenotePage withParentSection(MicrosoftGraphOnenoteSection parentSection)
Set the parentSection property: onenoteSection.- Parameters:
parentSection- the parentSection value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: onenotePage.- Overrides:
additionalPropertiesin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenotePage withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenotePage.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenotePage object itself.
-
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:
withCreatedDateTimein classMicrosoftGraphOnenoteEntitySchemaObjectModel- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntitySchemaObjectModel object itself.
-
withSelf
public MicrosoftGraphOnenotePage withSelf(String self)
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
public MicrosoftGraphOnenotePage withId(String id)
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.
-
-