Class DelegatedAdminCustomerItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.tenantrelationships.delegatedadmincustomers.item.DelegatedAdminCustomerItemRequestBuilder
@Generated("com.microsoft.kiota")
public class DelegatedAdminCustomerItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties of a delegatedAdminCustomer object.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionDelegatedAdminCustomerItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDelegatedAdminCustomerItemRequestBuilderand sets the default values.DelegatedAdminCustomerItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDelegatedAdminCustomerItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property delegatedAdminCustomers for tenantRelationshipsvoiddelete(Consumer<DelegatedAdminCustomerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property delegatedAdminCustomers for tenantRelationshipsget()Read the properties of a delegatedAdminCustomer object.get(Consumer<DelegatedAdminCustomerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties of a delegatedAdminCustomer object.patch(DelegatedAdminCustomer body) Update the navigation property delegatedAdminCustomers in tenantRelationshipspatch(DelegatedAdminCustomer body, Consumer<DelegatedAdminCustomerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property delegatedAdminCustomers in tenantRelationshipsProvides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity.com.microsoft.kiota.RequestInformationDelete navigation property delegatedAdminCustomers for tenantRelationshipscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<DelegatedAdminCustomerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property delegatedAdminCustomers for tenantRelationshipscom.microsoft.kiota.RequestInformationRead the properties of a delegatedAdminCustomer object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<DelegatedAdminCustomerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties of a delegatedAdminCustomer object.com.microsoft.kiota.RequestInformationUpdate the navigation property delegatedAdminCustomers in tenantRelationshipscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(DelegatedAdminCustomer body, Consumer<DelegatedAdminCustomerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property delegatedAdminCustomers in tenantRelationshipsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
DelegatedAdminCustomerItemRequestBuilder
public DelegatedAdminCustomerItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDelegatedAdminCustomerItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
DelegatedAdminCustomerItemRequestBuilder
public DelegatedAdminCustomerItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDelegatedAdminCustomerItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
serviceManagementDetails
Provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity.- Returns:
- a
ServiceManagementDetailsRequestBuilder
-
delete
public void delete()Delete navigation property delegatedAdminCustomers for tenantRelationships- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<DelegatedAdminCustomerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property delegatedAdminCustomers for tenantRelationships- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Read the properties of a delegatedAdminCustomer object.- Returns:
- a
DelegatedAdminCustomer - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public DelegatedAdminCustomer get(@Nullable Consumer<DelegatedAdminCustomerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties of a delegatedAdminCustomer object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DelegatedAdminCustomer - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property delegatedAdminCustomers in tenantRelationships- Parameters:
body- The request body- Returns:
- a
DelegatedAdminCustomer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public DelegatedAdminCustomer patch(@Nonnull DelegatedAdminCustomer body, @Nullable Consumer<DelegatedAdminCustomerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property delegatedAdminCustomers in tenantRelationships- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DelegatedAdminCustomer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property delegatedAdminCustomers for tenantRelationships- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<DelegatedAdminCustomerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property delegatedAdminCustomers for tenantRelationships- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Read the properties of a delegatedAdminCustomer object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<DelegatedAdminCustomerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties of a delegatedAdminCustomer object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull DelegatedAdminCustomer body) Update the navigation property delegatedAdminCustomers in tenantRelationships- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull DelegatedAdminCustomer body, @Nullable Consumer<DelegatedAdminCustomerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property delegatedAdminCustomers in tenantRelationships- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
DelegatedAdminCustomerItemRequestBuilder
-