Class IdentityAccountsItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.identities.identityaccounts.item.IdentityAccountsItemRequestBuilder
@Generated("com.microsoft.kiota")
public class IdentityAccountsItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of a single identity security account 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
ConstructorsConstructorDescriptionIdentityAccountsItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityAccountsItemRequestBuilderand sets the default values.IdentityAccountsItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityAccountsItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property identityAccounts for securityvoiddelete(Consumer<IdentityAccountsItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property identityAccounts for securityget()Read the properties and relationships of a single identity security account object.get(Consumer<IdentityAccountsItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a single identity security account object.Provides operations to call the invokeAction method.patch(IdentityAccounts body) Update the navigation property identityAccounts in securitypatch(IdentityAccounts body, Consumer<IdentityAccountsItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property identityAccounts in securitycom.microsoft.kiota.RequestInformationDelete navigation property identityAccounts for securitycom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<IdentityAccountsItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property identityAccounts for securitycom.microsoft.kiota.RequestInformationRead the properties and relationships of a single identity security account object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<IdentityAccountsItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a single identity security account object.com.microsoft.kiota.RequestInformationUpdate the navigation property identityAccounts in securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(IdentityAccounts body, Consumer<IdentityAccountsItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property identityAccounts in securityReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
IdentityAccountsItemRequestBuilder
public IdentityAccountsItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityAccountsItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
IdentityAccountsItemRequestBuilder
public IdentityAccountsItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityAccountsItemRequestBuilderand 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
-
microsoftGraphSecurityInvokeAction
@Nonnull public MicrosoftGraphSecurityInvokeActionRequestBuilder microsoftGraphSecurityInvokeAction()Provides operations to call the invokeAction method. -
delete
public void delete()Delete navigation property identityAccounts for security- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<IdentityAccountsItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property identityAccounts for security- 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 and relationships of a single identity security account object. This allows retrieving information about available identity accounts.- Returns:
- a
IdentityAccounts - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public IdentityAccounts get(@Nullable Consumer<IdentityAccountsItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
IdentityAccounts - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property identityAccounts in security- Parameters:
body- The request body- Returns:
- a
IdentityAccounts - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public IdentityAccounts patch(@Nonnull IdentityAccounts body, @Nullable Consumer<IdentityAccountsItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property identityAccounts in security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
IdentityAccounts - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property identityAccounts for security- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<IdentityAccountsItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property identityAccounts for security- 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 and relationships of a single identity security account object. This allows retrieving information about available identity accounts.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<IdentityAccountsItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts.- 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 IdentityAccounts body) Update the navigation property identityAccounts in security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull IdentityAccounts body, @Nullable Consumer<IdentityAccountsItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property identityAccounts in security- 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
IdentityAccountsItemRequestBuilder
-