Class MicrosoftGraphOnenoteEntityHierarchyModel
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
- Direct Known Subclasses:
MicrosoftGraphNotebook,MicrosoftGraphOnenoteSection,MicrosoftGraphSectionGroup
public class MicrosoftGraphOnenoteEntityHierarchyModel
extends MicrosoftGraphOnenoteEntitySchemaObjectModel
onenoteEntityHierarchyModel.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOnenoteEntityHierarchyModel class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: onenoteEntityHierarchyModel.Get the createdBy property: identitySet.Get the displayName property: The name of the notebook.Get the lastModifiedBy property: identitySet.Get the lastModifiedDateTime property: The date and time when the notebook was last modified.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenoteEntityHierarchyModel.withCreatedBy(MicrosoftGraphIdentitySet createdBy) Set the createdBy property: identitySet.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: The date and time when the page was created.withDisplayName(String displayName) Set the displayName property: The name of the notebook.Set the id property: Read-only.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The date and time when the notebook was last modified.Set the self property: The endpoint where you can get details about the page.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
-
MicrosoftGraphOnenoteEntityHierarchyModel
public MicrosoftGraphOnenoteEntityHierarchyModel()Creates an instance of MicrosoftGraphOnenoteEntityHierarchyModel class.
-
-
Method Details
-
createdBy
Get the createdBy property: identitySet.- Returns:
- the createdBy value.
-
withCreatedBy
Set the createdBy property: identitySet.- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
displayName
Get the displayName property: The name of the notebook.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The name of the notebook.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
lastModifiedBy
Get the lastModifiedBy property: identitySet.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
public MicrosoftGraphOnenoteEntityHierarchyModel withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
lastModifiedDateTime
Get 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.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
public MicrosoftGraphOnenoteEntityHierarchyModel 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.- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
additionalProperties
Get the additionalProperties property: onenoteEntityHierarchyModel.- Overrides:
additionalPropertiesin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteEntityHierarchyModel withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenoteEntityHierarchyModel.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOnenoteEntitySchemaObjectModel- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
withCreatedDateTime
public MicrosoftGraphOnenoteEntityHierarchyModel 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
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.
-