Package com.microsoft.graph.requests
Class AdministrativeUnitRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<AdministrativeUnit>
com.microsoft.graph.requests.AdministrativeUnitRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class AdministrativeUnitRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<AdministrativeUnit>
The class for the Administrative Unit Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionAdministrativeUnitRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the AdministrativeUnit -
Method Summary
Modifier and TypeMethodDescriptionbuildRequest
(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 builder to execute the methodGets a builder to execute the methodGets a request builder for the Extension collectionextensions
(String id) Gets a request builder for the Extension itemGets a builder to execute the methodGets a builder to execute the methodmembers()
Gets a request builder for the DirectoryObject collectionGets a request builder for the DirectoryObject 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 collectionmembersAsGroup
(String id) Gets a request builder for the Group itemGets a request builder for the OrgContact collectionGets a request builder for the OrgContact itemGets a request builder for the ServicePrincipal collectionGets a request builder for the ServicePrincipal itemGets a request builder for the User collectionmembersAsUser
(String id) Gets a request builder for the User itemrestore()
Gets a builder to execute the methodGets a request builder for the ScopedRoleMembership collectionGets a request builder for the ScopedRoleMembership itemMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
AdministrativeUnitRequestBuilder
public AdministrativeUnitRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the AdministrativeUnit- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public AdministrativeUnitRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the AdministrativeUnitRequest instance
-
buildRequest
@Nonnull public AdministrativeUnitRequest 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 AdministrativeUnitRequest instance
-
members
Gets a request builder for the DirectoryObject collection- Returns:
- the collection request builder
-
members
Gets a request builder for the DirectoryObject item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
membersAsUser
Gets a request builder for the User collection- Returns:
- the collection request builder
-
membersAsUser
Gets a request builder for the User item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
membersAsGroup
Gets a request builder for the Group collection- Returns:
- the collection request builder
-
membersAsGroup
Gets a request builder for the Group item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
membersAsApplication
Gets a request builder for the Application collection- Returns:
- the collection request builder
-
membersAsApplication
Gets a request builder for the Application item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
membersAsServicePrincipal
Gets a request builder for the ServicePrincipal collection- Returns:
- the collection request builder
-
membersAsServicePrincipal
Gets a request builder for the ServicePrincipal item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
membersAsDevice
Gets a request builder for the Device collection- Returns:
- the collection request builder
-
membersAsDevice
Gets a request builder for the Device item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
membersAsOrgContact
Gets a request builder for the OrgContact collection- Returns:
- the collection request builder
-
membersAsOrgContact
Gets a request builder for the OrgContact item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
scopedRoleMembers
Gets a request builder for the ScopedRoleMembership collection- Returns:
- the collection request builder
-
scopedRoleMembers
Gets a request builder for the ScopedRoleMembership item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
extensions
Gets a request builder for the Extension collection- Returns:
- the collection request builder
-
extensions
Gets a request builder for the Extension item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
checkMemberGroups
@Nonnull public DirectoryObjectCheckMemberGroupsCollectionRequestBuilder checkMemberGroups(@Nonnull DirectoryObjectCheckMemberGroupsParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder collection
-
checkMemberObjects
@Nonnull public DirectoryObjectCheckMemberObjectsCollectionRequestBuilder checkMemberObjects(@Nonnull DirectoryObjectCheckMemberObjectsParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder collection
-
getMemberGroups
@Nonnull public DirectoryObjectGetMemberGroupsCollectionRequestBuilder getMemberGroups(@Nonnull DirectoryObjectGetMemberGroupsParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder collection
-
getMemberObjects
@Nonnull public DirectoryObjectGetMemberObjectsCollectionRequestBuilder getMemberObjects(@Nonnull DirectoryObjectGetMemberObjectsParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder collection
-
restore
Gets a builder to execute the method- Returns:
- the request builder
-