Class CustomTaskExtensionItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.lifecycleworkflows.customtaskextensions.item.CustomTaskExtensionItemRequestBuilder
@Generated("com.microsoft.kiota")
public class CustomTaskExtensionItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Configuration for the request such as headers, query parameters, and middleware options.class
Read the properties and relationships of a customTaskExtension object.class
Configuration for the request such as headers, query parameters, and middleware options.class
Configuration 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
ConstructorsConstructorDescriptionCustomTaskExtensionItemRequestBuilder
(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCustomTaskExtensionItemRequestBuilder
and sets the default values.CustomTaskExtensionItemRequestBuilder
(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCustomTaskExtensionItemRequestBuilder
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the createdBy property of the microsoft.graph.identityGovernance.customTaskExtension entity.void
delete()
Delete a customTaskExtension object.void
delete
(Consumer<CustomTaskExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a customTaskExtension object.get()
Read the properties and relationships of a customTaskExtension object.get
(Consumer<CustomTaskExtensionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a customTaskExtension object.Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.customTaskExtension entity.patch
(CustomTaskExtension body) Update the properties of a customTaskExtension object.patch
(CustomTaskExtension body, Consumer<CustomTaskExtensionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a customTaskExtension object.com.microsoft.kiota.RequestInformation
Delete a customTaskExtension object.com.microsoft.kiota.RequestInformation
toDeleteRequestInformation
(Consumer<CustomTaskExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a customTaskExtension object.com.microsoft.kiota.RequestInformation
Read the properties and relationships of a customTaskExtension object.com.microsoft.kiota.RequestInformation
toGetRequestInformation
(Consumer<CustomTaskExtensionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a customTaskExtension object.com.microsoft.kiota.RequestInformation
Update the properties of a customTaskExtension object.com.microsoft.kiota.RequestInformation
toPatchRequestInformation
(CustomTaskExtension body, Consumer<CustomTaskExtensionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a customTaskExtension object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
CustomTaskExtensionItemRequestBuilder
public CustomTaskExtensionItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCustomTaskExtensionItemRequestBuilder
and sets the default values.- Parameters:
pathParameters
- Path parameters for the requestrequestAdapter
- The request adapter to use to execute the requests.
-
CustomTaskExtensionItemRequestBuilder
public CustomTaskExtensionItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCustomTaskExtensionItemRequestBuilder
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
-
createdBy
Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.customTaskExtension entity.- Returns:
- a
CreatedByRequestBuilder
-
lastModifiedBy
Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.customTaskExtension entity.- Returns:
- a
LastModifiedByRequestBuilder
-
delete
public void delete()Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.- Throws:
ODataError
- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<CustomTaskExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.- Parameters:
requestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError
- When receiving a 4XX or 5XX status code- See Also:
-
get
Read the properties and relationships of a customTaskExtension object.- Returns:
- a
CustomTaskExtension
- Throws:
ODataError
- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public CustomTaskExtension get(@Nullable Consumer<CustomTaskExtensionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a customTaskExtension object.- Parameters:
requestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CustomTaskExtension
- Throws:
ODataError
- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of a customTaskExtension object.- Parameters:
body
- The request body- Returns:
- a
CustomTaskExtension
- Throws:
ODataError
- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public CustomTaskExtension patch(@Nonnull CustomTaskExtension body, @Nullable Consumer<CustomTaskExtensionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a customTaskExtension object.- Parameters:
body
- The request bodyrequestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CustomTaskExtension
- Throws:
ODataError
- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<CustomTaskExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.- 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 the properties and relationships of a customTaskExtension object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CustomTaskExtensionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a customTaskExtension 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 CustomTaskExtension body) Update the properties of a customTaskExtension object.- Parameters:
body
- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CustomTaskExtension body, @Nullable Consumer<CustomTaskExtensionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a customTaskExtension object.- 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
CustomTaskExtensionItemRequestBuilder
-