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
Constructors Constructor Description MicrosoftGraphOnenoteEntityHierarchyModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: onenoteEntityHierarchyModel.MicrosoftGraphIdentitySet
createdBy()
Get the createdBy property: identitySet.String
displayName()
Get the displayName property: The name of the notebook.MicrosoftGraphIdentitySet
lastModifiedBy()
Get the lastModifiedBy property: identitySet.OffsetDateTime
lastModifiedDateTime()
Get the lastModifiedDateTime property: The date and time when the notebook was last modified.void
validate()
Validates the instance.MicrosoftGraphOnenoteEntityHierarchyModel
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteEntityHierarchyModel.MicrosoftGraphOnenoteEntityHierarchyModel
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.MicrosoftGraphOnenoteEntityHierarchyModel
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphOnenoteEntityHierarchyModel
withDisplayName(String displayName)
Set the displayName property: The name of the notebook.MicrosoftGraphOnenoteEntityHierarchyModel
withId(String id)
Set the id property: Read-only.MicrosoftGraphOnenoteEntityHierarchyModel
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.MicrosoftGraphOnenoteEntityHierarchyModel
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the notebook was last modified.MicrosoftGraphOnenoteEntityHierarchyModel
withSelf(String self)
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
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
-
createdBy
public MicrosoftGraphIdentitySet createdBy()
Get the createdBy property: identitySet.- Returns:
- the createdBy value.
-
withCreatedBy
public MicrosoftGraphOnenoteEntityHierarchyModel withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
displayName
public String displayName()
Get the displayName property: The name of the notebook.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphOnenoteEntityHierarchyModel withDisplayName(String displayName)
Set the displayName property: The name of the notebook.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphOnenoteEntityHierarchyModel object itself.
-
lastModifiedBy
public MicrosoftGraphIdentitySet 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
public OffsetDateTime 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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: onenoteEntityHierarchyModel.- Overrides:
additionalProperties
in classMicrosoftGraphOnenoteEntitySchemaObjectModel
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteEntityHierarchyModel withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteEntityHierarchyModel.- Overrides:
withAdditionalProperties
in 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:
withCreatedDateTime
in classMicrosoftGraphOnenoteEntitySchemaObjectModel
- Parameters:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOnenoteEntitySchemaObjectModel object itself.
-
withSelf
public MicrosoftGraphOnenoteEntityHierarchyModel 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 MicrosoftGraphOnenoteEntityHierarchyModel 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.
-
-