Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Directory
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the administrativeUnits property value.Gets the attributeSets property value.Gets the customSecurityAttributeDefinitions property value.Gets the deletedItems property value.Gets the deviceLocalCredentials property value.Gets the federationConfigurations property value.The deserialization information for the current modelGets the onPremisesSynchronization property value.Gets the subscriptions property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the administrativeUnits property value.void
setAttributeSets
(List<AttributeSet> value) Sets the attributeSets property value.void
Sets the customSecurityAttributeDefinitions property value.void
setDeletedItems
(List<DirectoryObject> value) Sets the deletedItems property value.void
Sets the deviceLocalCredentials property value.void
Sets the federationConfigurations property value.void
Sets the onPremisesSynchronization property value.void
setSubscriptions
(List<CompanySubscription> value) Sets the subscriptions property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Directory
public Directory()Instantiates a newDirectory
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
Gets the administrativeUnits property value. Conceptual container for user and group directory objects.- Returns:
- a
List<AdministrativeUnit>
-
getAttributeSets
Gets the attributeSets property value. Group of related custom security attribute definitions.- Returns:
- a
List<AttributeSet>
-
getCustomSecurityAttributeDefinitions
Gets the customSecurityAttributeDefinitions property value. Schema of a custom security attributes (key-value pairs).- Returns:
- a
List<CustomSecurityAttributeDefinition>
-
getDeletedItems
Gets the deletedItems property value. Recently deleted items. Read-only. Nullable.- Returns:
- a
List<DirectoryObject>
-
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
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 -
setAdministrativeUnits
Sets the administrativeUnits property value. Conceptual container for user and group directory objects.- Parameters:
value
- Value to set for the administrativeUnits property.
-
setAttributeSets
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
Sets the deletedItems property value. Recently deleted items. Read-only. Nullable.- Parameters:
value
- Value to set for the deletedItems property.
-
setDeviceLocalCredentials
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
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
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
Sets the subscriptions property value. List of commercial subscriptions that an organization acquired.- Parameters:
value
- Value to set for the subscriptions property.
-