Class MicrosoftGraphDirectory
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectory
directory.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDirectory class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: directory.Get the administrativeUnits property: The administrativeUnits property.Get the deletedItems property: Recently deleted items.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: directory.withAdministrativeUnits(List<MicrosoftGraphAdministrativeUnit> administrativeUnits) Set the administrativeUnits property: The administrativeUnits property.withDeletedItems(List<MicrosoftGraphDirectoryObjectInner> deletedItems) Set the deletedItems property: Recently deleted items.Set the id property: Read-only.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphDirectory
public MicrosoftGraphDirectory()Creates an instance of MicrosoftGraphDirectory class.
-
-
Method Details
-
administrativeUnits
Get the administrativeUnits property: The administrativeUnits property.- Returns:
- the administrativeUnits value.
-
withAdministrativeUnits
public MicrosoftGraphDirectory withAdministrativeUnits(List<MicrosoftGraphAdministrativeUnit> administrativeUnits) Set the administrativeUnits property: The administrativeUnits property.- Parameters:
administrativeUnits- the administrativeUnits value to set.- Returns:
- the MicrosoftGraphDirectory object itself.
-
deletedItems
Get the deletedItems property: Recently deleted items. Read-only. Nullable.- Returns:
- the deletedItems value.
-
withDeletedItems
public MicrosoftGraphDirectory withDeletedItems(List<MicrosoftGraphDirectoryObjectInner> deletedItems) Set the deletedItems property: Recently deleted items. Read-only. Nullable.- Parameters:
deletedItems- the deletedItems value to set.- Returns:
- the MicrosoftGraphDirectory object itself.
-
additionalProperties
Get the additionalProperties property: directory.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: directory.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDirectory object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-