Class JoinRequestRequestBuilder
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet the status of a tenant joining a multitenant organization.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
ConstructorsConstructorDescriptionJoinRequestRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newJoinRequestRequestBuilderand sets the default values.JoinRequestRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newJoinRequestRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()Get the status of a tenant joining a multitenant organization.get(Consumer<JoinRequestRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the status of a tenant joining a multitenant organization.Join a multitenant organization, after the owner of the multitenant organization has added your tenant to the multitenant organization as pending.patch(MultiTenantOrganizationJoinRequestRecord body, 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.com.microsoft.kiota.RequestInformationGet the status of a tenant joining a multitenant organization.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<JoinRequestRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the status of a tenant joining a multitenant organization.com.microsoft.kiota.RequestInformationJoin a multitenant organization, after the owner of the multitenant organization has added your tenant to the multitenant organization as pending.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(MultiTenantOrganizationJoinRequestRecord body, 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.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
JoinRequestRequestBuilder
public JoinRequestRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newJoinRequestRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
JoinRequestRequestBuilder
public JoinRequestRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newJoinRequestRequestBuilderand 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
@Nullable public MultiTenantOrganizationJoinRequestRecord get(@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
MultiTenantOrganizationJoinRequestRecord - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public MultiTenantOrganizationJoinRequestRecord patch(@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
MultiTenantOrganizationJoinRequestRecord - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public MultiTenantOrganizationJoinRequestRecord patch(@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 bodyrequestConfiguration- 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 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
JoinRequestRequestBuilder
-