Class IdentityProvidersRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identityproviders.IdentityProvidersRequestBuilder

@Generated("com.microsoft.kiota") public class IdentityProvidersRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of identityProvider entities.
  • Constructor Details

    • IdentityProvidersRequestBuilder

      public IdentityProvidersRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new IdentityProvidersRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • IdentityProvidersRequestBuilder

      public IdentityProvidersRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new IdentityProvidersRequestBuilder and 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

    • availableProviderTypes

      @Deprecated @Nonnull public AvailableProviderTypesRequestBuilder availableProviderTypes()
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Provides operations to call the availableProviderTypes method.
      Returns:
      a AvailableProviderTypesRequestBuilder
    • count

      @Deprecated @Nonnull public CountRequestBuilder count()
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Provides operations to count the resources in the collection.
      Returns:
      a CountRequestBuilder
    • byIdentityProviderId

      @Nonnull @Deprecated public IdentityProviderItemRequestBuilder byIdentityProviderId(@Nonnull String identityProviderId)
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Provides operations to manage the collection of identityProvider entities.
      Parameters:
      identityProviderId - The unique identifier of identityProvider
      Returns:
      a IdentityProviderItemRequestBuilder
    • get

      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Retrieve all identityProviders in the directory.
      Returns:
      a IdentityProviderCollectionResponse
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Retrieve all identityProviders in the directory.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a IdentityProviderCollectionResponse
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • post

      @Nullable @Deprecated public IdentityProvider post(@Nonnull IdentityProvider body)
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret.
      Parameters:
      body - The request body
      Returns:
      a IdentityProvider
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • post

      @Nullable @Deprecated public IdentityProvider post(@Nonnull IdentityProvider body, @Nullable Consumer<IdentityProvidersRequestBuilder.PostRequestConfiguration> requestConfiguration)
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a IdentityProvider
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • toGetRequestInformation

      @Nonnull @Deprecated public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Retrieve all identityProviders in the directory.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull @Deprecated public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<IdentityProvidersRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Retrieve all identityProviders in the directory.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPostRequestInformation

      @Nonnull @Deprecated public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull IdentityProvider body)
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret.
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPostRequestInformation

      @Nonnull @Deprecated public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull IdentityProvider body, @Nullable Consumer<IdentityProvidersRequestBuilder.PostRequestConfiguration> requestConfiguration)
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull @Deprecated public IdentityProvidersRequestBuilder withUrl(@Nonnull String rawUrl)
      Deprecated.
      The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15
      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 IdentityProvidersRequestBuilder