MicrosoftGraphNotebook 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. MicrosoftGraphNotebook
- com.
- com.
- com.
- com.
- com.
public final class MicrosoftGraphNotebook
extends MicrosoftGraphOnenoteEntityHierarchyModel
notebook.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphNotebook() |
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 |
Boolean |
isShared()
Get the is |
Microsoft |
links()
Get the links property: notebook |
List<Microsoft |
sectionGroups()
Get the section |
String |
sectionGroupsUrl()
Get the section |
List<Microsoft |
sections()
Get the sections property: The sections in the notebook. |
String |
sectionsUrl()
Get the sections |
Json |
toJson(JsonWriter jsonWriter) |
Microsoft |
userRole()
Get the user |
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 |
withIsShared(Boolean isShared)
Set the is |
Microsoft |
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the last |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withLinks(MicrosoftGraphNotebookLinks links)
Set the links property: notebook |
Microsoft |
withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups)
Set the section |
Microsoft |
withSectionGroupsUrl(String sectionGroupsUrl)
Set the section |
Microsoft |
withSections(List<MicrosoftGraphOnenoteSection> sections)
Set the sections property: The sections in the notebook. |
Microsoft |
withSectionsUrl(String sectionsUrl)
Set the sections |
Microsoft |
withSelf(String self)
Set the self property: The endpoint where you can get details about the page. |
Microsoft |
withUserRole(MicrosoftGraphOnenoteUserRole userRole)
Set the user |
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphOnenoteEntityBaseModel
Methods inherited from MicrosoftGraphOnenoteEntityHierarchyModel
Methods inherited from MicrosoftGraphOnenoteEntitySchemaObjectModel
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphNotebook
public MicrosoftGraphNotebook()
Creates an instance of MicrosoftGraphNotebook class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: notebook.
Overrides:
MicrosoftGraphNotebook.additionalProperties()Returns:
fromJson
public static MicrosoftGraphNotebook fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphNotebook from the JsonReader.
Parameters:
Returns:
Throws:
isDefault
public Boolean isDefault()
Get the isDefault property: Indicates whether this is the user's default notebook. Read-only.
Returns:
isShared
public Boolean isShared()
Get the isShared property: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
Returns:
links
public MicrosoftGraphNotebookLinks links()
Get the links property: notebookLinks.
Returns:
sectionGroups
public List
Get the sectionGroups property: The section groups in the notebook. Read-only. Nullable.
Returns:
sectionGroupsUrl
public String sectionGroupsUrl()
Get the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
Returns:
sections
public List
Get the sections property: The sections in the notebook. Read-only. Nullable.
Returns:
sectionsUrl
public String sectionsUrl()
Get the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphNotebook.toJson(JsonWriter jsonWriter)Parameters:
Throws:
userRole
public MicrosoftGraphOnenoteUserRole userRole()
Get the userRole property: onenoteUserRole.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphNotebook.validate()withAdditionalProperties
public MicrosoftGraphNotebook withAdditionalProperties(Map
Set the additionalProperties property: notebook.
Overrides:
MicrosoftGraphNotebook.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withCreatedBy
public MicrosoftGraphNotebook withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.
Overrides:
MicrosoftGraphNotebook.withCreatedBy(MicrosoftGraphIdentitySet createdBy)Parameters:
withCreatedDateTime
public MicrosoftGraphNotebook 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:
MicrosoftGraphNotebook.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withDisplayName
public MicrosoftGraphNotebook withDisplayName(String displayName)
Set the displayName property: The name of the notebook.
Overrides:
MicrosoftGraphNotebook.withDisplayName(String displayName)Parameters:
withId
public MicrosoftGraphNotebook withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphNotebook.withId(String id)Parameters:
withIsDefault
public MicrosoftGraphNotebook withIsDefault(Boolean isDefault)
Set the isDefault property: Indicates whether this is the user's default notebook. Read-only.
Parameters:
Returns:
withIsShared
public MicrosoftGraphNotebook withIsShared(Boolean isShared)
Set the isShared property: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
Parameters:
Returns:
withLastModifiedBy
public MicrosoftGraphNotebook withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphNotebook.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphNotebook 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:
MicrosoftGraphNotebook.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withLinks
public MicrosoftGraphNotebook withLinks(MicrosoftGraphNotebookLinks links)
Set the links property: notebookLinks.
Parameters:
Returns:
withSectionGroups
public MicrosoftGraphNotebook withSectionGroups(List
Set the sectionGroups property: The section groups in the notebook. Read-only. Nullable.
Parameters:
Returns:
withSectionGroupsUrl
public MicrosoftGraphNotebook withSectionGroupsUrl(String sectionGroupsUrl)
Set the sectionGroupsUrl property: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
Parameters:
Returns:
withSections
public MicrosoftGraphNotebook withSections(List
Set the sections property: The sections in the notebook. Read-only. Nullable.
Parameters:
Returns:
withSectionsUrl
public MicrosoftGraphNotebook withSectionsUrl(String sectionsUrl)
Set the sectionsUrl property: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
Parameters:
Returns:
withSelf
public MicrosoftGraphNotebook withSelf(String self)
Set the self property: The endpoint where you can get details about the page. Read-only.
Overrides:
MicrosoftGraphNotebook.withSelf(String self)Parameters:
withUserRole
public MicrosoftGraphNotebook withUserRole(MicrosoftGraphOnenoteUserRole userRole)
Set the userRole property: onenoteUserRole.
Parameters:
Returns:
Applies to
Azure SDK for Java