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.MicrosoftGraphIdentitySetcreatedBy()Get the createdBy property: identitySet.StringdisplayName()Get the displayName property: The name of the notebook.MicrosoftGraphIdentitySetlastModifiedBy()Get the lastModifiedBy property: identitySet.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: The date and time when the notebook was last modified.voidvalidate()Validates the instance.MicrosoftGraphOnenoteEntityHierarchyModelwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: onenoteEntityHierarchyModel.MicrosoftGraphOnenoteEntityHierarchyModelwithCreatedBy(MicrosoftGraphIdentitySet createdBy)Set the createdBy property: identitySet.MicrosoftGraphOnenoteEntityHierarchyModelwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The date and time when the page was created.MicrosoftGraphOnenoteEntityHierarchyModelwithDisplayName(String displayName)Set the displayName property: The name of the notebook.MicrosoftGraphOnenoteEntityHierarchyModelwithId(String id)Set the id property: Read-only.MicrosoftGraphOnenoteEntityHierarchyModelwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphOnenoteEntityHierarchyModelwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The date and time when the notebook was last modified.MicrosoftGraphOnenoteEntityHierarchyModelwithSelf(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:
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
public MicrosoftGraphOnenoteEntityHierarchyModel withSelf(String self)
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
public MicrosoftGraphOnenoteEntityHierarchyModel withId(String id)
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.
-
-