Class AuthoredNoteItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.subjectrightsrequests.item.notes.item.AuthoredNoteItemRequestBuilder
@Generated("com.microsoft.kiota")
public class AuthoredNoteItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classList of notes associated with the request.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
ConstructorsConstructorDescriptionAuthoredNoteItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthoredNoteItemRequestBuilderand sets the default values.AuthoredNoteItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthoredNoteItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property notes for securityvoiddelete(Consumer<AuthoredNoteItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property notes for securityget()List of notes associated with the request.get(Consumer<AuthoredNoteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) List of notes associated with the request.patch(AuthoredNote body) Update the navigation property notes in securitypatch(AuthoredNote body, Consumer<AuthoredNoteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property notes in securitycom.microsoft.kiota.RequestInformationDelete navigation property notes for securitycom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<AuthoredNoteItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property notes for securitycom.microsoft.kiota.RequestInformationList of notes associated with the request.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AuthoredNoteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) List of notes associated with the request.com.microsoft.kiota.RequestInformationUpdate the navigation property notes in securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(AuthoredNote body, Consumer<AuthoredNoteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property notes in securityReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AuthoredNoteItemRequestBuilder
public AuthoredNoteItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthoredNoteItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AuthoredNoteItemRequestBuilder
public AuthoredNoteItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthoredNoteItemRequestBuilderand 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
-
delete
public void delete()Delete navigation property notes for security- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<AuthoredNoteItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property notes 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
List of notes associated with the request.- Returns:
- a
AuthoredNote - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public AuthoredNote get(@Nullable Consumer<AuthoredNoteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) List of notes associated with the request.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AuthoredNote - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property notes in security- Parameters:
body- The request body- Returns:
- a
AuthoredNote - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public AuthoredNote patch(@Nonnull AuthoredNote body, @Nullable Consumer<AuthoredNoteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property notes in security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AuthoredNote - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property notes for security- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<AuthoredNoteItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property notes 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()List of notes associated with the request.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AuthoredNoteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) List of notes associated with the request.- 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 AuthoredNote body) Update the navigation property notes in security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AuthoredNote body, @Nullable Consumer<AuthoredNoteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property notes 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
AuthoredNoteItemRequestBuilder
-