Class FileStorageContainerItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.storage.filestorage.containers.item.FileStorageContainerItemRequestBuilder
@Generated("com.microsoft.kiota")
public class FileStorageContainerItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the containers property of the microsoft.graph.fileStorage entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet containers from storageclassConfiguration 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
ConstructorsConstructorDescriptionFileStorageContainerItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFileStorageContainerItemRequestBuilderand sets the default values.FileStorageContainerItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFileStorageContainerItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionactivate()Provides operations to call the activate method.voiddelete()Delete navigation property containers for storagevoiddelete(Consumer<FileStorageContainerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property containers for storagedrive()Provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity.get()Get containers from storageget(Consumer<FileStorageContainerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get containers from storagelock()Provides operations to call the lock method.patch(FileStorageContainer body) Update the navigation property containers in storagepatch(FileStorageContainer body, Consumer<FileStorageContainerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property containers in storageProvides operations to call the permanentDelete method.Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity.Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity.restore()Provides operations to call the restore method.com.microsoft.kiota.RequestInformationDelete navigation property containers for storagecom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<FileStorageContainerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property containers for storagecom.microsoft.kiota.RequestInformationGet containers from storagecom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<FileStorageContainerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get containers from storagecom.microsoft.kiota.RequestInformationUpdate the navigation property containers in storagecom.microsoft.kiota.RequestInformationtoPatchRequestInformation(FileStorageContainer body, Consumer<FileStorageContainerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property containers in storageunlock()Provides operations to call the unlock method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
FileStorageContainerItemRequestBuilder
public FileStorageContainerItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFileStorageContainerItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
FileStorageContainerItemRequestBuilder
public FileStorageContainerItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFileStorageContainerItemRequestBuilderand 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
-
activate
Provides operations to call the activate method.- Returns:
- a
ActivateRequestBuilder
-
drive
Provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity.- Returns:
- a
DriveRequestBuilder
-
lock
Provides operations to call the lock method.- Returns:
- a
LockRequestBuilder
-
permanentDelete
Provides operations to call the permanentDelete method.- Returns:
- a
PermanentDeleteRequestBuilder
-
permissions
Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity.- Returns:
- a
PermissionsRequestBuilder
-
recycleBin
Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity.- Returns:
- a
RecycleBinRequestBuilder
-
restore
Provides operations to call the restore method.- Returns:
- a
RestoreRequestBuilder
-
unlock
Provides operations to call the unlock method.- Returns:
- a
UnlockRequestBuilder
-
delete
public void delete()Delete navigation property containers for storage- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<FileStorageContainerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property containers for storage- 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
Get containers from storage- Returns:
- a
FileStorageContainer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public FileStorageContainer get(@Nullable Consumer<FileStorageContainerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get containers from storage- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FileStorageContainer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property containers in storage- Parameters:
body- The request body- Returns:
- a
FileStorageContainer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public FileStorageContainer patch(@Nonnull FileStorageContainer body, @Nullable Consumer<FileStorageContainerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property containers in storage- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FileStorageContainer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property containers for storage- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<FileStorageContainerItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property containers for storage- 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()Get containers from storage- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<FileStorageContainerItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get containers from storage- 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 FileStorageContainer body) Update the navigation property containers in storage- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull FileStorageContainer body, @Nullable Consumer<FileStorageContainerItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property containers in storage- 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
FileStorageContainerItemRequestBuilder
-