Class IdentityProviderRequest

java.lang.Object
com.microsoft.graph.http.BaseRequest<IdentityProvider>
com.microsoft.graph.requests.IdentityProviderRequest
All Implemented Interfaces:
com.microsoft.graph.http.IHttpRequest

@Deprecated public class IdentityProviderRequest extends com.microsoft.graph.http.BaseRequest<IdentityProvider>
Deprecated.
The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API.
The class for the Identity Provider Request.
  • Constructor Details

    • IdentityProviderRequest

      public IdentityProviderRequest(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions)
      Deprecated.
      The request for the IdentityProvider
      Parameters:
      requestUrl - the request URL
      client - the service client
      requestOptions - the options for this request
  • Method Details

    • getAsync

      @Nonnull public CompletableFuture<IdentityProvider> getAsync()
      Deprecated.
      Gets the IdentityProvider from the service
      Returns:
      a future with the result
    • get

      @Nullable public IdentityProvider get() throws com.microsoft.graph.core.ClientException
      Deprecated.
      Gets the IdentityProvider from the service
      Returns:
      the IdentityProvider from the request
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • deleteAsync

      @Nonnull public CompletableFuture<IdentityProvider> deleteAsync()
      Deprecated.
      Delete this item from the service
      Returns:
      a future with the deletion result
    • delete

      @Nullable public IdentityProvider delete() throws com.microsoft.graph.core.ClientException
      Deprecated.
      Delete this item from the service
      Returns:
      the resulting response if the service returns anything on deletion
      Throws:
      com.microsoft.graph.core.ClientException - if there was an exception during the delete operation
    • patchAsync

      @Nonnull public CompletableFuture<IdentityProvider> patchAsync(@Nonnull IdentityProvider sourceIdentityProvider)
      Deprecated.
      Patches this IdentityProvider with a source
      Parameters:
      sourceIdentityProvider - the source object with updates
      Returns:
      a future with the result
    • patch

      @Nullable public IdentityProvider patch(@Nonnull IdentityProvider sourceIdentityProvider) throws com.microsoft.graph.core.ClientException
      Deprecated.
      Patches this IdentityProvider with a source
      Parameters:
      sourceIdentityProvider - the source object with updates
      Returns:
      the updated IdentityProvider
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • postAsync

      @Nonnull public CompletableFuture<IdentityProvider> postAsync(@Nonnull IdentityProvider newIdentityProvider)
      Deprecated.
      Creates a IdentityProvider with a new object
      Parameters:
      newIdentityProvider - the new object to create
      Returns:
      a future with the result
    • post

      @Nullable public IdentityProvider post(@Nonnull IdentityProvider newIdentityProvider) throws com.microsoft.graph.core.ClientException
      Deprecated.
      Creates a IdentityProvider with a new object
      Parameters:
      newIdentityProvider - the new object to create
      Returns:
      the created IdentityProvider
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • putAsync

      @Nonnull public CompletableFuture<IdentityProvider> putAsync(@Nonnull IdentityProvider newIdentityProvider)
      Deprecated.
      Creates a IdentityProvider with a new object
      Parameters:
      newIdentityProvider - the object to create/update
      Returns:
      a future with the result
    • put

      @Nullable public IdentityProvider put(@Nonnull IdentityProvider newIdentityProvider) throws com.microsoft.graph.core.ClientException
      Deprecated.
      Creates a IdentityProvider with a new object
      Parameters:
      newIdentityProvider - the object to create/update
      Returns:
      the created IdentityProvider
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • select

      @Nonnull public IdentityProviderRequest select(@Nonnull String value)
      Deprecated.
      Sets the select clause for the request
      Parameters:
      value - the select clause
      Returns:
      the updated request
    • expand

      @Nonnull public IdentityProviderRequest expand(@Nonnull String value)
      Deprecated.
      Sets the expand clause for the request
      Parameters:
      value - the expand clause
      Returns:
      the updated request