Class ApplicationItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.applications.item.ApplicationItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ApplicationItemRequestBuilder
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
ConstructorsConstructorDescriptionApplicationItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newApplicationItemRequestBuilderand sets the default values.ApplicationItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newApplicationItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionaddKey()Provides operations to call the addKey method.Provides operations to call the addPassword method.Provides operations to manage the appManagementPolicies property of the microsoft.graph.application entity.Provides operations to call the checkMemberGroups method.Provides operations to call the checkMemberObjects method.Provides operations to manage the createdOnBehalfOf property of the microsoft.graph.application entity.voiddelete()Delete an application object.voiddelete(Consumer<ApplicationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an application object.Provides operations to manage the extensionProperties property of the microsoft.graph.application entity.Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity.Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity.get()Get the properties and relationships of an application object.get(Consumer<ApplicationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an application object.Provides operations to call the getMemberGroups method.Provides operations to call the getMemberObjects method.Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity.logo()Provides operations to manage the media for the application entity.owners()Provides operations to manage the owners property of the microsoft.graph.application entity.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<ApplicationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new application object if it doesn't exist, or update the properties of an existing application object.Provides operations to call the removeKey method.Provides operations to call the removePassword method.restore()Provides operations to call the restore method.Provides operations to call the setVerifiedPublisher method.Provides operations to manage the synchronization property of the microsoft.graph.application entity.com.microsoft.kiota.RequestInformationDelete an application object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ApplicationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an application object.com.microsoft.kiota.RequestInformationGet the properties and relationships of an application object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ApplicationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an application object.Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.application entity.Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.application entity.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<ApplicationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new application object if it doesn't exist, or update the properties of an existing application object.Provides operations to call the unsetVerifiedPublisher method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ApplicationItemRequestBuilder
public ApplicationItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newApplicationItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ApplicationItemRequestBuilder
public ApplicationItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newApplicationItemRequestBuilderand 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
-
addKey
Provides operations to call the addKey method.- Returns:
- a
AddKeyRequestBuilder
-
addPassword
Provides operations to call the addPassword method.- Returns:
- a
AddPasswordRequestBuilder
-
appManagementPolicies
Provides operations to manage the appManagementPolicies property of the microsoft.graph.application entity.- Returns:
- a
AppManagementPoliciesRequestBuilder
-
checkMemberGroups
Provides operations to call the checkMemberGroups method.- Returns:
- a
CheckMemberGroupsRequestBuilder
-
checkMemberObjects
Provides operations to call the checkMemberObjects method.- Returns:
- a
CheckMemberObjectsRequestBuilder
-
createdOnBehalfOf
Provides operations to manage the createdOnBehalfOf property of the microsoft.graph.application entity.- Returns:
- a
CreatedOnBehalfOfRequestBuilder
-
extensionProperties
Provides operations to manage the extensionProperties property of the microsoft.graph.application entity.- Returns:
- a
ExtensionPropertiesRequestBuilder
-
federatedIdentityCredentials
Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity.- Returns:
- a
FederatedIdentityCredentialsRequestBuilder
-
getMemberGroups
Provides operations to call the getMemberGroups method.- Returns:
- a
GetMemberGroupsRequestBuilder
-
getMemberObjects
Provides operations to call the getMemberObjects method.- Returns:
- a
GetMemberObjectsRequestBuilder
-
homeRealmDiscoveryPolicies
Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity.- Returns:
- a
HomeRealmDiscoveryPoliciesRequestBuilder
-
logo
Provides operations to manage the media for the application entity.- Returns:
- a
LogoRequestBuilder
-
owners
Provides operations to manage the owners property of the microsoft.graph.application entity.- Returns:
- a
OwnersRequestBuilder
-
removeKey
Provides operations to call the removeKey method.- Returns:
- a
RemoveKeyRequestBuilder
-
removePassword
Provides operations to call the removePassword method.- Returns:
- a
RemovePasswordRequestBuilder
-
restore
Provides operations to call the restore method.- Returns:
- a
RestoreRequestBuilder
-
setVerifiedPublisher
Provides operations to call the setVerifiedPublisher method.- Returns:
- a
SetVerifiedPublisherRequestBuilder
-
synchronization
Provides operations to manage the synchronization property of the microsoft.graph.application entity.- Returns:
- a
SynchronizationRequestBuilder
-
tokenIssuancePolicies
Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.application entity.- Returns:
- a
TokenIssuancePoliciesRequestBuilder
-
tokenLifetimePolicies
Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.application entity.- Returns:
- a
TokenLifetimePoliciesRequestBuilder
-
unsetVerifiedPublisher
Provides operations to call the unsetVerifiedPublisher method.- Returns:
- a
UnsetVerifiedPublisherRequestBuilder
-
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<ApplicationItemRequestBuilder.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:
-
federatedIdentityCredentialsWithName
@Nonnull public FederatedIdentityCredentialsWithNameRequestBuilder federatedIdentityCredentialsWithName(@Nonnull String name) Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity.- Parameters:
name- Alternate key of federatedIdentityCredential- Returns:
- a
FederatedIdentityCredentialsWithNameRequestBuilder
-
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<ApplicationItemRequestBuilder.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<ApplicationItemRequestBuilder.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<ApplicationItemRequestBuilder.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<ApplicationItemRequestBuilder.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<ApplicationItemRequestBuilder.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
ApplicationItemRequestBuilder
-