Class OrganizationItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.organization.item.OrganizationItemRequestBuilder
@Generated("com.microsoft.kiota")
public class OrganizationItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of organization entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead properties and relationships of the organization object.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
ConstructorsConstructorDescriptionOrganizationItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationItemRequestBuilderand sets the default values.OrganizationItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbranding()Provides operations to manage the branding property of the microsoft.graph.organization entity.Provides operations to manage the certificateBasedAuthConfiguration property of the microsoft.graph.organization entity.Provides operations to call the checkMemberGroups method.Provides operations to call the checkMemberObjects method.voiddelete()Delete entity from organizationvoiddelete(Consumer<OrganizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from organizationProvides operations to manage the extensions property of the microsoft.graph.organization entity.get()Read properties and relationships of the organization object.get(Consumer<OrganizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the organization object.Provides operations to call the getMemberGroups method.Provides operations to call the getMemberObjects method.patch(Organization body) Update the properties of the currently authenticated organization.patch(Organization body, Consumer<OrganizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the currently authenticated organization.restore()Provides operations to call the restore method.Provides operations to call the setMobileDeviceManagementAuthority method.com.microsoft.kiota.RequestInformationDelete entity from organizationcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<OrganizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from organizationcom.microsoft.kiota.RequestInformationRead properties and relationships of the organization object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<OrganizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the organization object.com.microsoft.kiota.RequestInformationUpdate the properties of the currently authenticated organization.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(Organization body, Consumer<OrganizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the currently authenticated organization.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
OrganizationItemRequestBuilder
public OrganizationItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
OrganizationItemRequestBuilder
public OrganizationItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationItemRequestBuilderand 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
-
branding
Provides operations to manage the branding property of the microsoft.graph.organization entity.- Returns:
- a
BrandingRequestBuilder
-
certificateBasedAuthConfiguration
Provides operations to manage the certificateBasedAuthConfiguration property of the microsoft.graph.organization entity. -
checkMemberGroups
Provides operations to call the checkMemberGroups method.- Returns:
- a
CheckMemberGroupsRequestBuilder
-
checkMemberObjects
Provides operations to call the checkMemberObjects method.- Returns:
- a
CheckMemberObjectsRequestBuilder
-
extensions
Provides operations to manage the extensions property of the microsoft.graph.organization entity.- Returns:
- a
ExtensionsRequestBuilder
-
getMemberGroups
Provides operations to call the getMemberGroups method.- Returns:
- a
GetMemberGroupsRequestBuilder
-
getMemberObjects
Provides operations to call the getMemberObjects method.- Returns:
- a
GetMemberObjectsRequestBuilder
-
restore
Provides operations to call the restore method.- Returns:
- a
RestoreRequestBuilder
-
setMobileDeviceManagementAuthority
@Nonnull public SetMobileDeviceManagementAuthorityRequestBuilder setMobileDeviceManagementAuthority()Provides operations to call the setMobileDeviceManagementAuthority method. -
delete
public void delete()Delete entity from organization- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<OrganizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from organization- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Read properties and relationships of the organization object.- Returns:
- a
Organization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Organization get(@Nullable Consumer<OrganizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the organization object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Organization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.- Parameters:
body- The request body- Returns:
- a
Organization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public Organization patch(@Nonnull Organization body, @Nullable Consumer<OrganizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Organization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete entity from organization- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<OrganizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from organization- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Read properties and relationships of the organization object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<OrganizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the organization object.- 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 Organization body) Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Organization body, @Nullable Consumer<OrganizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.- 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
OrganizationItemRequestBuilder
-