Class ApplicationsWithAppIdRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.applicationswithappid.ApplicationsWithAppIdRequestBuilder
@Generated("com.microsoft.kiota")
public class ApplicationsWithAppIdRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of application entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet the properties and relationships of an application 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
ConstructorsConstructorDescriptionApplicationsWithAppIdRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newApplicationsWithAppIdRequestBuilderand sets the default values.ApplicationsWithAppIdRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter, String appId) Instantiates a newApplicationsWithAppIdRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete an application object.voiddelete(Consumer<ApplicationsWithAppIdRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an application object.get()Get the properties and relationships of an application object.get(Consumer<ApplicationsWithAppIdRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an application object.patch(Application body) Create a new application object if it doesn't exist, or update the properties of an existing application object.patch(Application body, Consumer<ApplicationsWithAppIdRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new application object if it doesn't exist, or update the properties of an existing application object.com.microsoft.kiota.RequestInformationDelete an application object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ApplicationsWithAppIdRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an application object.com.microsoft.kiota.RequestInformationGet the properties and relationships of an application object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ApplicationsWithAppIdRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an application object.com.microsoft.kiota.RequestInformationCreate a new application object if it doesn't exist, or update the properties of an existing application object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(Application body, Consumer<ApplicationsWithAppIdRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new application object if it doesn't exist, or update the properties of an existing application object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ApplicationsWithAppIdRequestBuilder
public ApplicationsWithAppIdRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter, @Nullable String appId) Instantiates a newApplicationsWithAppIdRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.appId- Alternate key of application
-
ApplicationsWithAppIdRequestBuilder
public ApplicationsWithAppIdRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newApplicationsWithAppIdRequestBuilderand 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
-
delete
public void delete()Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<ApplicationsWithAppIdRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.- 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
Get the properties and relationships of an application object.- Returns:
- a
Application - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Application get(@Nullable Consumer<ApplicationsWithAppIdRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an application object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Application - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Create a new application object if it doesn't exist, or update the properties of an existing application object.- Parameters:
body- The request body- Returns:
- a
Application - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public Application patch(@Nonnull Application body, @Nullable Consumer<ApplicationsWithAppIdRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new application object if it doesn't exist, or update the properties of an existing application object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Application - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ApplicationsWithAppIdRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.- 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 the properties and relationships of an application object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ApplicationsWithAppIdRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an application 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 Application body) Create a new application object if it doesn't exist, or update the properties of an existing application object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Application body, @Nullable Consumer<ApplicationsWithAppIdRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new application object if it doesn't exist, or update the properties of an existing application 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
ApplicationsWithAppIdRequestBuilder
-