Class DescriptorsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.labels.retentionlabels.item.descriptors.DescriptorsRequestBuilder
@Generated("com.microsoft.kiota")
public class DescriptorsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the descriptors property of the microsoft.graph.security.retentionLabel entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRepresents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.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
ConstructorsConstructorDescriptionDescriptorsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDescriptorsRequestBuilderand sets the default values.DescriptorsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDescriptorsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the authorityTemplate property of the microsoft.graph.security.filePlanDescriptor entity.Provides operations to manage the categoryTemplate property of the microsoft.graph.security.filePlanDescriptor entity.Provides operations to manage the citationTemplate property of the microsoft.graph.security.filePlanDescriptor entity.voiddelete()Delete navigation property descriptors for securityvoiddelete(Consumer<DescriptorsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property descriptors for securityProvides operations to manage the departmentTemplate property of the microsoft.graph.security.filePlanDescriptor entity.Provides operations to manage the filePlanReferenceTemplate property of the microsoft.graph.security.filePlanDescriptor entity.get()Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.get(Consumer<DescriptorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.patch(FilePlanDescriptor body) Update the navigation property descriptors in securitypatch(FilePlanDescriptor body, Consumer<DescriptorsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property descriptors in securitycom.microsoft.kiota.RequestInformationDelete navigation property descriptors for securitycom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<DescriptorsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property descriptors for securitycom.microsoft.kiota.RequestInformationRepresents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<DescriptorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.com.microsoft.kiota.RequestInformationUpdate the navigation property descriptors in securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(FilePlanDescriptor body, Consumer<DescriptorsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property descriptors in securityReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
DescriptorsRequestBuilder
public DescriptorsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDescriptorsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
DescriptorsRequestBuilder
public DescriptorsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDescriptorsRequestBuilderand 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
-
authorityTemplate
Provides operations to manage the authorityTemplate property of the microsoft.graph.security.filePlanDescriptor entity.- Returns:
- a
AuthorityTemplateRequestBuilder
-
categoryTemplate
Provides operations to manage the categoryTemplate property of the microsoft.graph.security.filePlanDescriptor entity.- Returns:
- a
CategoryTemplateRequestBuilder
-
citationTemplate
Provides operations to manage the citationTemplate property of the microsoft.graph.security.filePlanDescriptor entity.- Returns:
- a
CitationTemplateRequestBuilder
-
departmentTemplate
Provides operations to manage the departmentTemplate property of the microsoft.graph.security.filePlanDescriptor entity.- Returns:
- a
DepartmentTemplateRequestBuilder
-
filePlanReferenceTemplate
Provides operations to manage the filePlanReferenceTemplate property of the microsoft.graph.security.filePlanDescriptor entity.- Returns:
- a
FilePlanReferenceTemplateRequestBuilder
-
delete
public void delete()Delete navigation property descriptors for security- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<DescriptorsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property descriptors for security- 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
Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.- Returns:
- a
FilePlanDescriptor - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public FilePlanDescriptor get(@Nullable Consumer<DescriptorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FilePlanDescriptor - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property descriptors in security- Parameters:
body- The request body- Returns:
- a
FilePlanDescriptor - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public FilePlanDescriptor patch(@Nonnull FilePlanDescriptor body, @Nullable Consumer<DescriptorsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property descriptors in security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FilePlanDescriptor - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property descriptors for security- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<DescriptorsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property descriptors for security- 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()Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<DescriptorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.- 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 FilePlanDescriptor body) Update the navigation property descriptors in security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull FilePlanDescriptor body, @Nullable Consumer<DescriptorsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property descriptors in security- 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
DescriptorsRequestBuilder
-