java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identity.b2xuserflows.item.languages.item.defaultpages.DefaultPagesRequestBuilder

@Generated("com.microsoft.kiota") public class DefaultPagesRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity.
  • Constructor Details

    • DefaultPagesRequestBuilder

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

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

    • count

      @Nonnull public CountRequestBuilder count()
      Provides operations to count the resources in the collection.
      Returns:
      a CountRequestBuilder
    • byUserFlowLanguagePageId

      @Nonnull public UserFlowLanguagePageItemRequestBuilder byUserFlowLanguagePageId(@Nonnull String userFlowLanguagePageId)
      Provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity.
      Parameters:
      userFlowLanguagePageId - The unique identifier of userFlowLanguagePage
      Returns:
      a UserFlowLanguagePageItemRequestBuilder
    • get

      Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow.
      Returns:
      a UserFlowLanguagePageCollectionResponse
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a UserFlowLanguagePageCollectionResponse
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • post

      @Nullable public UserFlowLanguagePage post(@Nonnull UserFlowLanguagePage body)
      Create new navigation property to defaultPages for identity
      Parameters:
      body - The request body
      Returns:
      a UserFlowLanguagePage
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • post

      @Nullable public UserFlowLanguagePage post(@Nonnull UserFlowLanguagePage body, @Nullable Consumer<DefaultPagesRequestBuilder.PostRequestConfiguration> requestConfiguration)
      Create new navigation property to defaultPages for identity
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a UserFlowLanguagePage
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<DefaultPagesRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow.
      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 UserFlowLanguagePage body)
      Create new navigation property to defaultPages for identity
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPostRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull UserFlowLanguagePage body, @Nullable Consumer<DefaultPagesRequestBuilder.PostRequestConfiguration> requestConfiguration)
      Create new navigation property to defaultPages for identity
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public DefaultPagesRequestBuilder withUrl(@Nonnull String rawUrl)
      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 DefaultPagesRequestBuilder