Class RunsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.RunsRequestBuilder
@Generated("com.microsoft.kiota")
public class RunsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet a list of the run objects and their properties for a lifecycle workflow.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
ConstructorsConstructorDescriptionRunsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRunsRequestBuilderand sets the default values.RunsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRunsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.count()Provides operations to count the resources in the collection.get()Get a list of the run objects and their properties for a lifecycle workflow.get(Consumer<RunsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the run objects and their properties for a lifecycle workflow.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(OffsetDateTime endDateTime, OffsetDateTime startDateTime) Provides operations to call the summary method.com.microsoft.kiota.RequestInformationGet a list of the run objects and their properties for a lifecycle workflow.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<RunsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the run objects and their properties for a lifecycle workflow.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
RunsRequestBuilder
public RunsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRunsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
RunsRequestBuilder
public RunsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRunsRequestBuilderand 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
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byRunId
Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.- Parameters:
runId- The unique identifier of run- Returns:
- a
RunItemRequestBuilder
-
get
Get a list of the run objects and their properties for a lifecycle workflow.- Returns:
- a
RunCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public RunCollectionResponse get(@Nullable Consumer<RunsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the run objects and their properties for a lifecycle workflow.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RunCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime
@Nonnull public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@Nonnull OffsetDateTime endDateTime, @Nonnull OffsetDateTime startDateTime) Provides operations to call the summary method.- Parameters:
endDateTime- Usage: endDateTime={endDateTime}startDateTime- Usage: startDateTime={startDateTime}- Returns:
- a
MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get a list of the run objects and their properties for a lifecycle workflow.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<RunsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the run objects and their properties for a lifecycle workflow.- Parameters:
requestConfiguration- 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
RunsRequestBuilder
-