Class ContactedReviewersRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.accessreviews.definitions.item.instances.item.contactedreviewers.ContactedReviewersRequestBuilder
@Generated("com.microsoft.kiota")
public class ContactedReviewersRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet the reviewers for an access review instance, irrespective of whether or not they have received a notification.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
ConstructorsConstructorDescriptionContactedReviewersRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newContactedReviewersRequestBuilderand sets the default values.ContactedReviewersRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newContactedReviewersRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyAccessReviewReviewerId(String accessReviewReviewerId) Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity.count()Provides operations to count the resources in the collection.get()Get the reviewers for an access review instance, irrespective of whether or not they have received a notification.get(Consumer<ContactedReviewersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the reviewers for an access review instance, irrespective of whether or not they have received a notification.post(AccessReviewReviewer body) Create new navigation property to contactedReviewers for identityGovernancepost(AccessReviewReviewer body, Consumer<ContactedReviewersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to contactedReviewers for identityGovernancecom.microsoft.kiota.RequestInformationGet the reviewers for an access review instance, irrespective of whether or not they have received a notification.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ContactedReviewersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the reviewers for an access review instance, irrespective of whether or not they have received a notification.com.microsoft.kiota.RequestInformationCreate new navigation property to contactedReviewers for identityGovernancecom.microsoft.kiota.RequestInformationtoPostRequestInformation(AccessReviewReviewer body, Consumer<ContactedReviewersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to contactedReviewers for identityGovernanceReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ContactedReviewersRequestBuilder
public ContactedReviewersRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newContactedReviewersRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ContactedReviewersRequestBuilder
public ContactedReviewersRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newContactedReviewersRequestBuilderand 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
-
byAccessReviewReviewerId
@Nonnull public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@Nonnull String accessReviewReviewerId) Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity.- Parameters:
accessReviewReviewerId- The unique identifier of accessReviewReviewer- Returns:
- a
AccessReviewReviewerItemRequestBuilder
-
get
Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties.- Returns:
- a
AccessReviewReviewerCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public AccessReviewReviewerCollectionResponse get(@Nullable Consumer<ContactedReviewersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AccessReviewReviewerCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create new navigation property to contactedReviewers for identityGovernance- Parameters:
body- The request body- Returns:
- a
AccessReviewReviewer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public AccessReviewReviewer post(@Nonnull AccessReviewReviewer body, @Nullable Consumer<ContactedReviewersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to contactedReviewers for identityGovernance- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AccessReviewReviewer - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ContactedReviewersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull AccessReviewReviewer body) Create new navigation property to contactedReviewers for identityGovernance- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull AccessReviewReviewer body, @Nullable Consumer<ContactedReviewersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to contactedReviewers for identityGovernance- 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
ContactedReviewersRequestBuilder
-