Class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.solutions.backuprestore.exchangerestoresessions.item.mailboxrestoreartifactsbulkadditionrequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder
@Generated("com.microsoft.kiota")
public class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession.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
ConstructorsConstructorDescriptionMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderand sets the default values.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyMailboxRestoreArtifactsBulkAdditionRequestId(String mailboxRestoreArtifactsBulkAdditionRequestId) Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity.count()Provides operations to count the resources in the collection.get()Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession.get(Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession.Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession.post(MailboxRestoreArtifactsBulkAdditionRequest body, Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession.com.microsoft.kiota.RequestInformationGet a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession.com.microsoft.kiota.RequestInformationCreate a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession.com.microsoft.kiota.RequestInformationtoPostRequestInformation(MailboxRestoreArtifactsBulkAdditionRequest body, Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder
public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder
public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderand 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
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byMailboxRestoreArtifactsBulkAdditionRequestId
@Nonnull public MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder byMailboxRestoreArtifactsBulkAdditionRequestId(@Nonnull String mailboxRestoreArtifactsBulkAdditionRequestId) Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity.- Parameters:
mailboxRestoreArtifactsBulkAdditionRequestId- The unique identifier of mailboxRestoreArtifactsBulkAdditionRequest- Returns:
- a
MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder
-
get
Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size.- Returns:
- a
MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse get(@Nullable Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public MailboxRestoreArtifactsBulkAdditionRequest post(@Nonnull MailboxRestoreArtifactsBulkAdditionRequest body) Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions:- Parameters:
body- The request body- Returns:
- a
MailboxRestoreArtifactsBulkAdditionRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public MailboxRestoreArtifactsBulkAdditionRequest post(@Nonnull MailboxRestoreArtifactsBulkAdditionRequest body, @Nullable Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions:- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
MailboxRestoreArtifactsBulkAdditionRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull MailboxRestoreArtifactsBulkAdditionRequest body) Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions:- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull MailboxRestoreArtifactsBulkAdditionRequest body, @Nullable Consumer<MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions:- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
@Nonnull public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder withUrl(@Nonnull String rawUrl) 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
MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder
-