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.String
contentUrl()
Get the contentUrl property: The URL for the page's HTML content.String
createdByAppId()
Get the createdByAppId property: The unique identifier of the application that created the page.OffsetDateTime
lastModifiedDateTime()
Get the lastModifiedDateTime property: The date and time when the page was last modified.Integer
level()
Get the level property: The indentation level of the page.MicrosoftGraphPageLinks
links()
Get the links property: pageLinks.Integer
order()
Get the order property: The order of the page within its parent section.MicrosoftGraphNotebook
parentNotebook()
Get the parentNotebook property: notebook.MicrosoftGraphOnenoteSection
parentSection()
Get the parentSection property: onenoteSection.String
title()
Get the title property: The title of the page.List<String>
userTags()
Get the userTags property: The userTags property.void
validate()
Validates the instance.MicrosoftGraphOnenotePage
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenotePage.MicrosoftGraphOnenotePage
withContent(byte[] content)
Set the content property: The page's HTML content.MicrosoftGraphOnenotePage
withContentUrl(String contentUrl)
Set the contentUrl property: The URL for the page's HTML content.MicrosoftGraphOnenotePage
withCreatedByAppId(String createdByAppId)
Set the createdByAppId property: The unique identifier of the application that created the page.MicrosoftGraphOnenotePage
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphOnenotePage
withId(String id)
Set the id property: Read-only.MicrosoftGraphOnenotePage
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the page was last modified.MicrosoftGraphOnenotePage
withLevel(Integer level)
Set the level property: The indentation level of the page.MicrosoftGraphOnenotePage
withLinks(MicrosoftGraphPageLinks links)
Set the links property: pageLinks.MicrosoftGraphOnenotePage
withOrder(Integer order)
Set the order property: The order of the page within its parent section.MicrosoftGraphOnenotePage
withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.MicrosoftGraphOnenotePage
withParentSection(MicrosoftGraphOnenoteSection parentSection)
Set the parentSection property: onenoteSection.MicrosoftGraphOnenotePage
withSelf(String self)
Set the self property: The endpoint where you can get details about the page.MicrosoftGraphOnenotePage
withTitle(String title)
Set the title property: The title of the page.MicrosoftGraphOnenotePage
withUserTags(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:
additionalProperties
in classMicrosoftGraphOnenoteEntitySchemaObjectModel
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenotePage withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenotePage.- Overrides:
withAdditionalProperties
in 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:
withCreatedDateTime
in 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:
withSelf
in 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:
withId
in classMicrosoftGraphOnenoteEntitySchemaObjectModel
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphOnenoteEntitySchemaObjectModel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-