Class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.driverestoreartifactsbulkadditionrequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder
@Generated("com.microsoft.kiota")
public class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession.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
ConstructorsConstructorDescriptionDriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderand sets the default values.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyDriveRestoreArtifactsBulkAdditionRequestId(String driveRestoreArtifactsBulkAdditionRequestId) Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity.count()Provides operations to count the resources in the collection.get()Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession.get(Consumer<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession.Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession.post(DriveRestoreArtifactsBulkAdditionRequest body, Consumer<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession.com.microsoft.kiota.RequestInformationGet a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession.com.microsoft.kiota.RequestInformationCreate a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession.com.microsoft.kiota.RequestInformationtoPostRequestInformation(DriveRestoreArtifactsBulkAdditionRequest body, Consumer<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder
public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder
public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderand 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
-
byDriveRestoreArtifactsBulkAdditionRequestId
@Nonnull public DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder byDriveRestoreArtifactsBulkAdditionRequestId(@Nonnull String driveRestoreArtifactsBulkAdditionRequestId) Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity.- Parameters:
driveRestoreArtifactsBulkAdditionRequestId- The unique identifier of driveRestoreArtifactsBulkAdditionRequest- Returns:
- a
DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder
-
get
Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size.- Returns:
- a
DriveRestoreArtifactsBulkAdditionRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public DriveRestoreArtifactsBulkAdditionRequestCollectionResponse get(@Nullable Consumer<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives 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
DriveRestoreArtifactsBulkAdditionRequestCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public DriveRestoreArtifactsBulkAdditionRequest post(@Nonnull DriveRestoreArtifactsBulkAdditionRequest body) Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions.- Parameters:
body- The request body- Returns:
- a
DriveRestoreArtifactsBulkAdditionRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public DriveRestoreArtifactsBulkAdditionRequest post(@Nonnull DriveRestoreArtifactsBulkAdditionRequest body, @Nullable Consumer<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DriveRestoreArtifactsBulkAdditionRequest - 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 driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives 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<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives 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 DriveRestoreArtifactsBulkAdditionRequest body) Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull DriveRestoreArtifactsBulkAdditionRequest body, @Nullable Consumer<DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession 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 DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder 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
DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder
-