MicrosoftGraphOnenoteSection 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. MicrosoftGraphOnenoteEntityHierarchyModel - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenoteSection
- com.
- com.
- com.
- com.
- com.
public final class MicrosoftGraphOnenoteSection
extends MicrosoftGraphOnenoteEntityHierarchyModel
onenoteSection.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOnenoteSection() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
isDefault()
Get the is |
Microsoft |
links()
Get the links property: section |
List<Microsoft |
pages()
Get the pages property: The collection of pages in the section. |
String |
pagesUrl()
Get the pages |
Microsoft |
parentNotebook()
Get the parent |
Microsoft |
parentSectionGroup()
Get the parent |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the created |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsDefault(Boolean isDefault)
Set the is |
Microsoft |
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the last |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withLinks(MicrosoftGraphSectionLinks links)
Set the links property: section |
Microsoft |
withPages(List<MicrosoftGraphOnenotePage> pages)
Set the pages property: The collection of pages in the section. |
Microsoft |
withPagesUrl(String pagesUrl)
Set the pages |
Microsoft |
withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parent |
Microsoft |
withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)
Set the parent |
Microsoft |
withSelf(String self)
Set the self property: The endpoint where you can get details about the page. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphOnenoteEntityBaseModel
Methods inherited from MicrosoftGraphOnenoteEntityHierarchyModel
Methods inherited from MicrosoftGraphOnenoteEntitySchemaObjectModel
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOnenoteSection
public MicrosoftGraphOnenoteSection()
Creates an instance of MicrosoftGraphOnenoteSection class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: onenoteSection.
Overrides:
MicrosoftGraphOnenoteSection.additionalProperties()Returns:
fromJson
public static MicrosoftGraphOnenoteSection fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOnenoteSection from the JsonReader.
Parameters:
Returns:
Throws:
isDefault
public Boolean isDefault()
Get the isDefault property: Indicates whether this is the user's default section. Read-only.
Returns:
links
public MicrosoftGraphSectionLinks links()
Get the links property: sectionLinks.
Returns:
pages
public List
Get the pages property: The collection of pages in the section. Read-only. Nullable.
Returns:
pagesUrl
public String pagesUrl()
Get the pagesUrl property: The pages endpoint where you can get details for all the pages in the section. Read-only.
Returns:
parentNotebook
public MicrosoftGraphNotebook parentNotebook()
Get the parentNotebook property: notebook.
Returns:
parentSectionGroup
public MicrosoftGraphSectionGroup parentSectionGroup()
Get the parentSectionGroup property: sectionGroup.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOnenoteSection.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOnenoteSection.validate()withAdditionalProperties
public MicrosoftGraphOnenoteSection withAdditionalProperties(Map
Set the additionalProperties property: onenoteSection.
Overrides:
MicrosoftGraphOnenoteSection.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withCreatedBy
public MicrosoftGraphOnenoteSection withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.
Overrides:
MicrosoftGraphOnenoteSection.withCreatedBy(MicrosoftGraphIdentitySet createdBy)Parameters:
withCreatedDateTime
public MicrosoftGraphOnenoteSection 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:
MicrosoftGraphOnenoteSection.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withDisplayName
public MicrosoftGraphOnenoteSection withDisplayName(String displayName)
Set the displayName property: The name of the notebook.
Overrides:
MicrosoftGraphOnenoteSection.withDisplayName(String displayName)Parameters:
withId
public MicrosoftGraphOnenoteSection withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphOnenoteSection.withId(String id)Parameters:
withIsDefault
public MicrosoftGraphOnenoteSection withIsDefault(Boolean isDefault)
Set the isDefault property: Indicates whether this is the user's default section. Read-only.
Parameters:
Returns:
withLastModifiedBy
public MicrosoftGraphOnenoteSection withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphOnenoteSection.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphOnenoteSection withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the notebook 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.
Overrides:
MicrosoftGraphOnenoteSection.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withLinks
public MicrosoftGraphOnenoteSection withLinks(MicrosoftGraphSectionLinks links)
Set the links property: sectionLinks.
Parameters:
Returns:
withPages
public MicrosoftGraphOnenoteSection withPages(List
Set the pages property: The collection of pages in the section. Read-only. Nullable.
Parameters:
Returns:
withPagesUrl
public MicrosoftGraphOnenoteSection withPagesUrl(String pagesUrl)
Set the pagesUrl property: The pages endpoint where you can get details for all the pages in the section. Read-only.
Parameters:
Returns:
withParentNotebook
public MicrosoftGraphOnenoteSection withParentNotebook(MicrosoftGraphNotebook parentNotebook)
Set the parentNotebook property: notebook.
Parameters:
Returns:
withParentSectionGroup
public MicrosoftGraphOnenoteSection withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)
Set the parentSectionGroup property: sectionGroup.
Parameters:
Returns:
withSelf
public MicrosoftGraphOnenoteSection withSelf(String self)
Set the self property: The endpoint where you can get details about the page. Read-only.
Overrides:
MicrosoftGraphOnenoteSection.withSelf(String self)Parameters: