Class Directory

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Directory
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Directory extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • Directory

      public Directory()
      Instantiates a new Directory and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static Directory createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a Directory
    • getAdministrativeUnits

      @Nullable public List<AdministrativeUnit> getAdministrativeUnits()
      Gets the administrativeUnits property value. Conceptual container for user and group directory objects.
      Returns:
      a List<AdministrativeUnit>
    • getAttributeSets

      @Nullable public List<AttributeSet> getAttributeSets()
      Gets the attributeSets property value. Group of related custom security attribute definitions.
      Returns:
      a List<AttributeSet>
    • getCustomSecurityAttributeDefinitions

      @Nullable public List<CustomSecurityAttributeDefinition> getCustomSecurityAttributeDefinitions()
      Gets the customSecurityAttributeDefinitions property value. Schema of a custom security attributes (key-value pairs).
      Returns:
      a List<CustomSecurityAttributeDefinition>
    • getDeletedItems

      @Nullable public List<DirectoryObject> getDeletedItems()
      Gets the deletedItems property value. Recently deleted items. Read-only. Nullable.
      Returns:
      a List<DirectoryObject>
    • getDeviceLocalCredentials

      @Nullable public List<DeviceLocalCredentialInfo> getDeviceLocalCredentials()
      Gets the deviceLocalCredentials property value. The credentials of the device's local administrator account backed up to Microsoft Entra ID.
      Returns:
      a List<DeviceLocalCredentialInfo>
    • getFederationConfigurations

      @Nullable public List<IdentityProviderBase> getFederationConfigurations()
      Gets the federationConfigurations property value. Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.
      Returns:
      a List<IdentityProviderBase>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getOnPremisesSynchronization

      @Nullable public List<OnPremisesDirectorySynchronization> getOnPremisesSynchronization()
      Gets the onPremisesSynchronization property value. A container for on-premises directory synchronization functionalities that are available for the organization.
      Returns:
      a List<OnPremisesDirectorySynchronization>
    • getSubscriptions

      @Nullable public List<CompanySubscription> getSubscriptions()
      Gets the subscriptions property value. List of commercial subscriptions that an organization acquired.
      Returns:
      a List<CompanySubscription>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdministrativeUnits

      public void setAdministrativeUnits(@Nullable List<AdministrativeUnit> value)
      Sets the administrativeUnits property value. Conceptual container for user and group directory objects.
      Parameters:
      value - Value to set for the administrativeUnits property.
    • setAttributeSets

      public void setAttributeSets(@Nullable List<AttributeSet> value)
      Sets the attributeSets property value. Group of related custom security attribute definitions.
      Parameters:
      value - Value to set for the attributeSets property.
    • setCustomSecurityAttributeDefinitions

      public void setCustomSecurityAttributeDefinitions(@Nullable List<CustomSecurityAttributeDefinition> value)
      Sets the customSecurityAttributeDefinitions property value. Schema of a custom security attributes (key-value pairs).
      Parameters:
      value - Value to set for the customSecurityAttributeDefinitions property.
    • setDeletedItems

      public void setDeletedItems(@Nullable List<DirectoryObject> value)
      Sets the deletedItems property value. Recently deleted items. Read-only. Nullable.
      Parameters:
      value - Value to set for the deletedItems property.
    • setDeviceLocalCredentials

      public void setDeviceLocalCredentials(@Nullable List<DeviceLocalCredentialInfo> value)
      Sets the deviceLocalCredentials property value. The credentials of the device's local administrator account backed up to Microsoft Entra ID.
      Parameters:
      value - Value to set for the deviceLocalCredentials property.
    • setFederationConfigurations

      public void setFederationConfigurations(@Nullable List<IdentityProviderBase> value)
      Sets the federationConfigurations property value. Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.
      Parameters:
      value - Value to set for the federationConfigurations property.
    • setOnPremisesSynchronization

      public void setOnPremisesSynchronization(@Nullable List<OnPremisesDirectorySynchronization> value)
      Sets the onPremisesSynchronization property value. A container for on-premises directory synchronization functionalities that are available for the organization.
      Parameters:
      value - Value to set for the onPremisesSynchronization property.
    • setSubscriptions

      public void setSubscriptions(@Nullable List<CompanySubscription> value)
      Sets the subscriptions property value. List of commercial subscriptions that an organization acquired.
      Parameters:
      value - Value to set for the subscriptions property.