Class MobileAppItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.deviceappmanagement.mobileapps.item.MobileAppItemRequestBuilder
@Generated("com.microsoft.kiota")
public class MobileAppItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead properties and relationships of the macOSLobApp 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
ConstructorsConstructorDescriptionMobileAppItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppItemRequestBuilderand sets the default values.MobileAppItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionassign()Provides operations to call the assign method.Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity.Provides operations to manage the categories property of the microsoft.graph.mobileApp entity.voiddelete()Deletes a iosLobApp.voiddelete(Consumer<MobileAppItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a iosLobApp.get()Read properties and relationships of the macOSLobApp object.get(Consumer<MobileAppItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the macOSLobApp object.Casts the previous resource to androidLobApp.Casts the previous resource to androidStoreApp.Casts the previous resource to iosLobApp.Casts the previous resource to iosStoreApp.Casts the previous resource to iosVppApp.Casts the previous resource to macOSDmgApp.Casts the previous resource to macOSLobApp.Casts the previous resource to managedAndroidLobApp.Casts the previous resource to managedIOSLobApp.Casts the previous resource to managedMobileLobApp.Casts the previous resource to microsoftStoreForBusinessApp.Casts the previous resource to win32LobApp.Casts the previous resource to windowsAppX.Casts the previous resource to windowsMobileMSI.Casts the previous resource to windowsUniversalAppX.Casts the previous resource to windowsWebApp.Update the properties of a managedIOSLobApp object.patch(MobileApp body, Consumer<MobileAppItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a managedIOSLobApp object.com.microsoft.kiota.RequestInformationDeletes a iosLobApp.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<MobileAppItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a iosLobApp.com.microsoft.kiota.RequestInformationRead properties and relationships of the macOSLobApp object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<MobileAppItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the macOSLobApp object.com.microsoft.kiota.RequestInformationUpdate the properties of a managedIOSLobApp object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(MobileApp body, Consumer<MobileAppItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a managedIOSLobApp object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
MobileAppItemRequestBuilder
public MobileAppItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
MobileAppItemRequestBuilder
public MobileAppItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppItemRequestBuilderand 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
-
assign
Provides operations to call the assign method.- Returns:
- a
AssignRequestBuilder
-
assignments
Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity.- Returns:
- a
AssignmentsRequestBuilder
-
categories
Provides operations to manage the categories property of the microsoft.graph.mobileApp entity.- Returns:
- a
CategoriesRequestBuilder
-
graphAndroidLobApp
Casts the previous resource to androidLobApp.- Returns:
- a
GraphAndroidLobAppRequestBuilder
-
graphAndroidStoreApp
Casts the previous resource to androidStoreApp.- Returns:
- a
GraphAndroidStoreAppRequestBuilder
-
graphIosLobApp
Casts the previous resource to iosLobApp.- Returns:
- a
GraphIosLobAppRequestBuilder
-
graphIosStoreApp
Casts the previous resource to iosStoreApp.- Returns:
- a
GraphIosStoreAppRequestBuilder
-
graphIosVppApp
Casts the previous resource to iosVppApp.- Returns:
- a
GraphIosVppAppRequestBuilder
-
graphMacOSDmgApp
Casts the previous resource to macOSDmgApp.- Returns:
- a
GraphMacOSDmgAppRequestBuilder
-
graphMacOSLobApp
Casts the previous resource to macOSLobApp.- Returns:
- a
GraphMacOSLobAppRequestBuilder
-
graphManagedAndroidLobApp
Casts the previous resource to managedAndroidLobApp.- Returns:
- a
GraphManagedAndroidLobAppRequestBuilder
-
graphManagedIOSLobApp
Casts the previous resource to managedIOSLobApp.- Returns:
- a
GraphManagedIOSLobAppRequestBuilder
-
graphManagedMobileLobApp
Casts the previous resource to managedMobileLobApp.- Returns:
- a
GraphManagedMobileLobAppRequestBuilder
-
graphMicrosoftStoreForBusinessApp
Casts the previous resource to microsoftStoreForBusinessApp. -
graphWin32LobApp
Casts the previous resource to win32LobApp.- Returns:
- a
GraphWin32LobAppRequestBuilder
-
graphWindowsAppX
Casts the previous resource to windowsAppX.- Returns:
- a
GraphWindowsAppXRequestBuilder
-
graphWindowsMobileMSI
Casts the previous resource to windowsMobileMSI.- Returns:
- a
GraphWindowsMobileMSIRequestBuilder
-
graphWindowsUniversalAppX
Casts the previous resource to windowsUniversalAppX.- Returns:
- a
GraphWindowsUniversalAppXRequestBuilder
-
graphWindowsWebApp
Casts the previous resource to windowsWebApp.- Returns:
- a
GraphWindowsWebAppRequestBuilder
-
delete
public void delete()Deletes a iosLobApp.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<MobileAppItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a iosLobApp.- 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
Read properties and relationships of the macOSLobApp object.- Returns:
- a
MobileApp - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public MobileApp get(@Nullable Consumer<MobileAppItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the macOSLobApp object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
MobileApp - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of a managedIOSLobApp object.- Parameters:
body- The request body- Returns:
- a
MobileApp - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public MobileApp patch(@Nonnull MobileApp body, @Nullable Consumer<MobileAppItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a managedIOSLobApp object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
MobileApp - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Deletes a iosLobApp.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<MobileAppItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a iosLobApp.- 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 properties and relationships of the macOSLobApp object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<MobileAppItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the macOSLobApp object.- 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 MobileApp body) Update the properties of a managedIOSLobApp object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull MobileApp body, @Nullable Consumer<MobileAppItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a managedIOSLobApp object.- 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
MobileAppItemRequestBuilder
-