java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.tenantrelationships.multitenantorganization.joinrequest.JoinRequestRequestBuilder

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

    • JoinRequestRequestBuilder

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

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

    • get

      Get the status of a tenant joining a multitenant organization.
      Returns:
      a MultiTenantOrganizationJoinRequestRecord
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      Get the status of a tenant joining a multitenant organization.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a MultiTenantOrganizationJoinRequestRecord
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

      Join a multitenant organization, after the owner of the multitenant organization has added your tenant to the multitenant organization as pending. Before a tenant added to a multitenant organization can participate in the multitenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait up to 2 hours before joining a multitenant organization is completed.
      Parameters:
      body - The request body
      Returns:
      a MultiTenantOrganizationJoinRequestRecord
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

      Join a multitenant organization, after the owner of the multitenant organization has added your tenant to the multitenant organization as pending. Before a tenant added to a multitenant organization can participate in the multitenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait up to 2 hours before joining a multitenant organization is completed.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a MultiTenantOrganizationJoinRequestRecord
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Get the status of a tenant joining a multitenant organization.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<JoinRequestRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Get the status of a tenant joining a multitenant organization.
      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 MultiTenantOrganizationJoinRequestRecord body)
      Join a multitenant organization, after the owner of the multitenant organization has added your tenant to the multitenant organization as pending. Before a tenant added to a multitenant organization can participate in the multitenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait up to 2 hours before joining a multitenant organization is completed.
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull MultiTenantOrganizationJoinRequestRecord body, @Nullable Consumer<JoinRequestRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Join a multitenant organization, after the owner of the multitenant organization has added your tenant to the multitenant organization as pending. Before a tenant added to a multitenant organization can participate in the multitenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait up to 2 hours before joining a multitenant organization is completed.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public JoinRequestRequestBuilder 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 JoinRequestRequestBuilder