Class SubjectRightsRequestItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.subjectrightsrequests.item.SubjectRightsRequestItemRequestBuilder
@Generated("com.microsoft.kiota")
public class SubjectRightsRequestItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet subjectRightsRequests from securityclassConfiguration 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
ConstructorsConstructorDescriptionSubjectRightsRequestItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubjectRightsRequestItemRequestBuilderand sets the default values.SubjectRightsRequestItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubjectRightsRequestItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity.approversWithUserPrincipalName(String userPrincipalName) Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity.Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity.collaboratorsWithUserPrincipalName(String userPrincipalName) Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity.voiddelete()Delete navigation property subjectRightsRequests for securityvoiddelete(Consumer<SubjectRightsRequestItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property subjectRightsRequests for securityget()Get subjectRightsRequests from securityget(Consumer<SubjectRightsRequestItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get subjectRightsRequests from securityProvides operations to call the getFinalAttachment method.Provides operations to call the getFinalReport method.notes()Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity.patch(SubjectRightsRequest body) Update the navigation property subjectRightsRequests in securitypatch(SubjectRightsRequest body, Consumer<SubjectRightsRequestItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property subjectRightsRequests in securityteam()Provides operations to manage the team property of the microsoft.graph.subjectRightsRequest entity.com.microsoft.kiota.RequestInformationDelete navigation property subjectRightsRequests for securitycom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<SubjectRightsRequestItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property subjectRightsRequests for securitycom.microsoft.kiota.RequestInformationGet subjectRightsRequests from securitycom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SubjectRightsRequestItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get subjectRightsRequests from securitycom.microsoft.kiota.RequestInformationUpdate the navigation property subjectRightsRequests in securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(SubjectRightsRequest body, Consumer<SubjectRightsRequestItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property subjectRightsRequests in securityReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SubjectRightsRequestItemRequestBuilder
public SubjectRightsRequestItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubjectRightsRequestItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SubjectRightsRequestItemRequestBuilder
public SubjectRightsRequestItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSubjectRightsRequestItemRequestBuilderand 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
-
approvers
Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity.- Returns:
- a
ApproversRequestBuilder
-
collaborators
Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity.- Returns:
- a
CollaboratorsRequestBuilder
-
getFinalAttachment
Provides operations to call the getFinalAttachment method.- Returns:
- a
GetFinalAttachmentRequestBuilder
-
getFinalReport
Provides operations to call the getFinalReport method.- Returns:
- a
GetFinalReportRequestBuilder
-
notes
Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity.- Returns:
- a
NotesRequestBuilder
-
team
Provides operations to manage the team property of the microsoft.graph.subjectRightsRequest entity.- Returns:
- a
TeamRequestBuilder
-
approversWithUserPrincipalName
@Nonnull public ApproversWithUserPrincipalNameRequestBuilder approversWithUserPrincipalName(@Nonnull String userPrincipalName) Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity.- Parameters:
userPrincipalName- Alternate key of user- Returns:
- a
ApproversWithUserPrincipalNameRequestBuilder
-
collaboratorsWithUserPrincipalName
@Nonnull public CollaboratorsWithUserPrincipalNameRequestBuilder collaboratorsWithUserPrincipalName(@Nonnull String userPrincipalName) Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity.- Parameters:
userPrincipalName- Alternate key of user- Returns:
- a
CollaboratorsWithUserPrincipalNameRequestBuilder
-
delete
public void delete()Delete navigation property subjectRightsRequests for security- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<SubjectRightsRequestItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property subjectRightsRequests 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
Get subjectRightsRequests from security- Returns:
- a
SubjectRightsRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public SubjectRightsRequest get(@Nullable Consumer<SubjectRightsRequestItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get subjectRightsRequests from security- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SubjectRightsRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property subjectRightsRequests in security- Parameters:
body- The request body- Returns:
- a
SubjectRightsRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public SubjectRightsRequest patch(@Nonnull SubjectRightsRequest body, @Nullable Consumer<SubjectRightsRequestItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property subjectRightsRequests in security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SubjectRightsRequest - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property subjectRightsRequests for security- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<SubjectRightsRequestItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property subjectRightsRequests 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()Get subjectRightsRequests from security- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SubjectRightsRequestItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get subjectRightsRequests from security- 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 SubjectRightsRequest body) Update the navigation property subjectRightsRequests in security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull SubjectRightsRequest body, @Nullable Consumer<SubjectRightsRequestItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property subjectRightsRequests 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
SubjectRightsRequestItemRequestBuilder
-