Class MicrosoftGraphDirectoryInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryInner
-
public final class MicrosoftGraphDirectoryInner extends MicrosoftGraphEntity
directory.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDirectoryInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: directory.List<MicrosoftGraphAdministrativeUnitInner>
administrativeUnits()
Get the administrativeUnits property: The administrativeUnits property.List<MicrosoftGraphDirectoryObjectInner>
deletedItems()
Get the deletedItems property: Recently deleted items.void
validate()
Validates the instance.MicrosoftGraphDirectoryInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: directory.MicrosoftGraphDirectoryInner
withAdministrativeUnits(List<MicrosoftGraphAdministrativeUnitInner> administrativeUnits)
Set the administrativeUnits property: The administrativeUnits property.MicrosoftGraphDirectoryInner
withDeletedItems(List<MicrosoftGraphDirectoryObjectInner> deletedItems)
Set the deletedItems property: Recently deleted items.MicrosoftGraphDirectoryInner
withId(String id)
Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
administrativeUnits
public List<MicrosoftGraphAdministrativeUnitInner> administrativeUnits()
Get the administrativeUnits property: The administrativeUnits property.- Returns:
- the administrativeUnits value.
-
withAdministrativeUnits
public MicrosoftGraphDirectoryInner withAdministrativeUnits(List<MicrosoftGraphAdministrativeUnitInner> administrativeUnits)
Set the administrativeUnits property: The administrativeUnits property.- Parameters:
administrativeUnits
- the administrativeUnits value to set.- Returns:
- the MicrosoftGraphDirectoryInner object itself.
-
deletedItems
public List<MicrosoftGraphDirectoryObjectInner> deletedItems()
Get the deletedItems property: Recently deleted items. Read-only. Nullable.- Returns:
- the deletedItems value.
-
withDeletedItems
public MicrosoftGraphDirectoryInner withDeletedItems(List<MicrosoftGraphDirectoryObjectInner> deletedItems)
Set the deletedItems property: Recently deleted items. Read-only. Nullable.- Parameters:
deletedItems
- the deletedItems value to set.- Returns:
- the MicrosoftGraphDirectoryInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: directory.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDirectoryInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: directory.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDirectoryInner object itself.
-
withId
public MicrosoftGraphDirectoryInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-