Class IdentityItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.external.connections.item.groups.item.members.item.IdentityItemRequestBuilder
@Generated("com.microsoft.kiota")
public class IdentityItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classA member added to an externalGroup.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
ConstructorsConstructorDescriptionIdentityItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityItemRequestBuilderand sets the default values.IdentityItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete an identity resource to remove the corresponding member from an externalGroup.voiddelete(Consumer<IdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an identity resource to remove the corresponding member from an externalGroup.get()A member added to an externalGroup.get(Consumer<IdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A member added to an externalGroup.Update the navigation property members in externalpatch(Identity body, Consumer<IdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property members in externalcom.microsoft.kiota.RequestInformationDelete an identity resource to remove the corresponding member from an externalGroup.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<IdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an identity resource to remove the corresponding member from an externalGroup.com.microsoft.kiota.RequestInformationA member added to an externalGroup.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<IdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A member added to an externalGroup.com.microsoft.kiota.RequestInformationUpdate the navigation property members in externalcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Identity body, Consumer<IdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property members in externalReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
IdentityItemRequestBuilder
public IdentityItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
IdentityItemRequestBuilder
public IdentityItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityItemRequestBuilderand 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
-
delete
public void delete()Delete an identity resource to remove the corresponding member from an externalGroup.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<IdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an identity resource to remove the corresponding member from an externalGroup.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.- Returns:
- a
Identity - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Identity get(@Nullable Consumer<IdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Identity - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property members in external- Parameters:
body- The request body- Returns:
- a
Identity - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Identity patch(@Nonnull Identity body, @Nullable Consumer<IdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property members in external- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Identity - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete an identity resource to remove the corresponding member from an externalGroup.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<IdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an identity resource to remove the corresponding member from an externalGroup.- 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()A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<IdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.- 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 Identity body) Update the navigation property members in external- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Identity body, @Nullable Consumer<IdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property members in external- 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
IdentityItemRequestBuilder
-