Package com.microsoft.graph.requests
Class DirectoryRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Directory>
com.microsoft.graph.requests.DirectoryRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Directory Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionDirectoryRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Directory -
Method Summary
Modifier and TypeMethodDescriptionGets a request builder for the AdministrativeUnit collectionGets a request builder for the AdministrativeUnit itemGets a request builder for the AttributeSet collectionattributeSets(String id) Gets a request builder for the AttributeSet itembuildRequest(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionsGets a request builder for the CustomSecurityAttributeDefinition collectionGets a request builder for the CustomSecurityAttributeDefinition itemGets a request builder for the DirectoryObject collectiondeletedItems(String id) Gets a request builder for the DirectoryObject itemGets a request builder for the AdministrativeUnit collectionGets a request builder for the AdministrativeUnit itemGets a request builder for the Application collectionGets a request builder for the Application itemGets a request builder for the Device collectionGets a request builder for the Device itemGets a request builder for the Group collectionGets a request builder for the Group itemGets a request builder for the ServicePrincipal collectionGets a request builder for the ServicePrincipal itemGets a request builder for the User collectionGets a request builder for the User itemGets a request builder for the IdentityProviderBase collectionGets a request builder for the IdentityProviderBase itemGets a request builder for the OnPremisesDirectorySynchronization collectionGets a request builder for the OnPremisesDirectorySynchronization itemMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
DirectoryRequestBuilder
public DirectoryRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Directory- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public DirectoryRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the DirectoryRequest instance
-
buildRequest
@Nonnull public DirectoryRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions- the options for this request- Returns:
- the DirectoryRequest instance
-
administrativeUnits
Gets a request builder for the AdministrativeUnit collection- Returns:
- the collection request builder
-
administrativeUnits
Gets a request builder for the AdministrativeUnit item- Parameters:
id- the item identifier- Returns:
- the request builder
-
attributeSets
Gets a request builder for the AttributeSet collection- Returns:
- the collection request builder
-
attributeSets
Gets a request builder for the AttributeSet item- Parameters:
id- the item identifier- Returns:
- the request builder
-
customSecurityAttributeDefinitions
@Nonnull public CustomSecurityAttributeDefinitionCollectionRequestBuilder customSecurityAttributeDefinitions()Gets a request builder for the CustomSecurityAttributeDefinition collection- Returns:
- the collection request builder
-
customSecurityAttributeDefinitions
@Nonnull public CustomSecurityAttributeDefinitionRequestBuilder customSecurityAttributeDefinitions(@Nonnull String id) Gets a request builder for the CustomSecurityAttributeDefinition item- Parameters:
id- the item identifier- Returns:
- the request builder
-
deletedItems
Gets a request builder for the DirectoryObject collection- Returns:
- the collection request builder
-
deletedItems
Gets a request builder for the DirectoryObject item- Parameters:
id- the item identifier- Returns:
- the request builder
-
deletedItemsAsUser
Gets a request builder for the User collection- Returns:
- the collection request builder
-
deletedItemsAsUser
Gets a request builder for the User item- Parameters:
id- the item identifier- Returns:
- the request builder
-
deletedItemsAsGroup
Gets a request builder for the Group collection- Returns:
- the collection request builder
-
deletedItemsAsGroup
Gets a request builder for the Group item- Parameters:
id- the item identifier- Returns:
- the request builder
-
deletedItemsAsApplication
Gets a request builder for the Application collection- Returns:
- the collection request builder
-
deletedItemsAsApplication
Gets a request builder for the Application item- Parameters:
id- the item identifier- Returns:
- the request builder
-
deletedItemsAsServicePrincipal
Gets a request builder for the ServicePrincipal collection- Returns:
- the collection request builder
-
deletedItemsAsServicePrincipal
Gets a request builder for the ServicePrincipal item- Parameters:
id- the item identifier- Returns:
- the request builder
-
deletedItemsAsAdministrativeUnit
Gets a request builder for the AdministrativeUnit collection- Returns:
- the collection request builder
-
deletedItemsAsAdministrativeUnit
@Nonnull public AdministrativeUnitRequestBuilder deletedItemsAsAdministrativeUnit(@Nonnull String id) Gets a request builder for the AdministrativeUnit item- Parameters:
id- the item identifier- Returns:
- the request builder
-
deletedItemsAsDevice
Gets a request builder for the Device collection- Returns:
- the collection request builder
-
deletedItemsAsDevice
Gets a request builder for the Device item- Parameters:
id- the item identifier- Returns:
- the request builder
-
federationConfigurations
Gets a request builder for the IdentityProviderBase collection- Returns:
- the collection request builder
-
federationConfigurations
Gets a request builder for the IdentityProviderBase item- Parameters:
id- the item identifier- Returns:
- the request builder
-
onPremisesSynchronization
@Nonnull public OnPremisesDirectorySynchronizationCollectionRequestBuilder onPremisesSynchronization()Gets a request builder for the OnPremisesDirectorySynchronization collection- Returns:
- the collection request builder
-
onPremisesSynchronization
@Nonnull public OnPremisesDirectorySynchronizationRequestBuilder onPremisesSynchronization(@Nonnull String id) Gets a request builder for the OnPremisesDirectorySynchronization item- Parameters:
id- the item identifier- Returns:
- the request builder
-