Class MobileAppsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.deviceappmanagement.mobileapps.MobileAppsRequestBuilder
@Generated("com.microsoft.kiota")
public class MobileAppsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassList properties and relationships of the managedIOSStoreApp objects.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
ConstructorsConstructorDescriptionMobileAppsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppsRequestBuilderand sets the default values.MobileAppsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyMobileAppId(String mobileAppId) Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity.count()Provides operations to count the resources in the collection.get()List properties and relationships of the managedIOSStoreApp objects.get(Consumer<MobileAppsRequestBuilder.GetRequestConfiguration> requestConfiguration) List properties and relationships of the managedIOSStoreApp objects.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.Create a new managedIOSLobApp object.post(MobileApp body, Consumer<MobileAppsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new managedIOSLobApp object.com.microsoft.kiota.RequestInformationList properties and relationships of the managedIOSStoreApp objects.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<MobileAppsRequestBuilder.GetRequestConfiguration> requestConfiguration) List properties and relationships of the managedIOSStoreApp objects.com.microsoft.kiota.RequestInformationCreate a new managedIOSLobApp object.com.microsoft.kiota.RequestInformationtoPostRequestInformation(MobileApp body, Consumer<MobileAppsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new managedIOSLobApp object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
MobileAppsRequestBuilder
public MobileAppsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
MobileAppsRequestBuilder
public MobileAppsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMobileAppsRequestBuilderand 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
-
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
-
byMobileAppId
Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity.- Parameters:
mobileAppId- The unique identifier of mobileApp- Returns:
- a
MobileAppItemRequestBuilder
-
get
List properties and relationships of the managedIOSStoreApp objects.- Returns:
- a
MobileAppCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public MobileAppCollectionResponse get(@Nullable Consumer<MobileAppsRequestBuilder.GetRequestConfiguration> requestConfiguration) List properties and relationships of the managedIOSStoreApp objects.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
MobileAppCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create a new managedIOSLobApp object.- Parameters:
body- The request body- Returns:
- a
MobileApp - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public MobileApp post(@Nonnull MobileApp body, @Nullable Consumer<MobileAppsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new 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:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()List properties and relationships of the managedIOSStoreApp objects.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<MobileAppsRequestBuilder.GetRequestConfiguration> requestConfiguration) List properties and relationships of the managedIOSStoreApp objects.- 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 MobileApp body) Create a new managedIOSLobApp object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull MobileApp body, @Nullable Consumer<MobileAppsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new 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
MobileAppsRequestBuilder
-