Class AgreementFileVersionItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.agreements.item.file.localizations.item.versions.item.AgreementFileVersionItemRequestBuilder
@Generated("com.microsoft.kiota")
public class AgreementFileVersionItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead-only.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
ConstructorsConstructorDescriptionAgreementFileVersionItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAgreementFileVersionItemRequestBuilderand sets the default values.AgreementFileVersionItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAgreementFileVersionItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property versions for agreementsvoiddelete(Consumer<AgreementFileVersionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property versions for agreementsget()Read-only.get(Consumer<AgreementFileVersionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read-only.patch(AgreementFileVersion body) Update the navigation property versions in agreementspatch(AgreementFileVersion body, Consumer<AgreementFileVersionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property versions in agreementscom.microsoft.kiota.RequestInformationDelete navigation property versions for agreementscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<AgreementFileVersionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property versions for agreementscom.microsoft.kiota.RequestInformationRead-only.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AgreementFileVersionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read-only.com.microsoft.kiota.RequestInformationUpdate the navigation property versions in agreementscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(AgreementFileVersion body, Consumer<AgreementFileVersionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property versions in agreementsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AgreementFileVersionItemRequestBuilder
public AgreementFileVersionItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAgreementFileVersionItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AgreementFileVersionItemRequestBuilder
public AgreementFileVersionItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAgreementFileVersionItemRequestBuilderand 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 versions for agreements- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<AgreementFileVersionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property versions for agreements- 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
Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.- Returns:
- a
AgreementFileVersion - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public AgreementFileVersion get(@Nullable Consumer<AgreementFileVersionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AgreementFileVersion - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property versions in agreements- Parameters:
body- The request body- Returns:
- a
AgreementFileVersion - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public AgreementFileVersion patch(@Nonnull AgreementFileVersion body, @Nullable Consumer<AgreementFileVersionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property versions in agreements- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AgreementFileVersion - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property versions for agreements- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<AgreementFileVersionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property versions for agreements- 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-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AgreementFileVersionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.- 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 AgreementFileVersion body) Update the navigation property versions in agreements- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AgreementFileVersion body, @Nullable Consumer<AgreementFileVersionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property versions in agreements- 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
AgreementFileVersionItemRequestBuilder
-