Class SynchronizationTemplateItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.applications.item.synchronization.templates.item.SynchronizationTemplateItemRequestBuilder
@Generated("com.microsoft.kiota")
public class SynchronizationTemplateItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the templates property of the microsoft.graph.synchronization entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classPreconfigured synchronization settings for a particular application.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
ConstructorsConstructorDescriptionSynchronizationTemplateItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationTemplateItemRequestBuilderand sets the default values.SynchronizationTemplateItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationTemplateItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property templates for applicationsvoiddelete(Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for applicationsget()Preconfigured synchronization settings for a particular application.get(Consumer<SynchronizationTemplateItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Preconfigured synchronization settings for a particular application.patch(SynchronizationTemplate body) Update (override) the synchronization template associated with a given application.patch(SynchronizationTemplate body, Consumer<SynchronizationTemplateItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update (override) the synchronization template associated with a given application.schema()Provides operations to manage the schema property of the microsoft.graph.synchronizationTemplate entity.com.microsoft.kiota.RequestInformationDelete navigation property templates for applicationscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for applicationscom.microsoft.kiota.RequestInformationPreconfigured synchronization settings for a particular application.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SynchronizationTemplateItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Preconfigured synchronization settings for a particular application.com.microsoft.kiota.RequestInformationUpdate (override) the synchronization template associated with a given application.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(SynchronizationTemplate body, Consumer<SynchronizationTemplateItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update (override) the synchronization template associated with a given application.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SynchronizationTemplateItemRequestBuilder
public SynchronizationTemplateItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationTemplateItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SynchronizationTemplateItemRequestBuilder
public SynchronizationTemplateItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationTemplateItemRequestBuilderand 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
-
schema
Provides operations to manage the schema property of the microsoft.graph.synchronizationTemplate entity.- Returns:
- a
SchemaRequestBuilder
-
delete
public void delete()Delete navigation property templates for applications- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for applications- 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
Preconfigured synchronization settings for a particular application.- Returns:
- a
SynchronizationTemplate - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public SynchronizationTemplate get(@Nullable Consumer<SynchronizationTemplateItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Preconfigured synchronization settings for a particular application.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SynchronizationTemplate - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update (override) the synchronization template associated with a given application.- Parameters:
body- The request body- Returns:
- a
SynchronizationTemplate - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public SynchronizationTemplate patch(@Nonnull SynchronizationTemplate body, @Nullable Consumer<SynchronizationTemplateItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update (override) the synchronization template associated with a given application.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SynchronizationTemplate - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property templates for applications- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for applications- 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()Preconfigured synchronization settings for a particular application.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SynchronizationTemplateItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Preconfigured synchronization settings for a particular application.- 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 SynchronizationTemplate body) Update (override) the synchronization template associated with a given application.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull SynchronizationTemplate body, @Nullable Consumer<SynchronizationTemplateItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update (override) the synchronization template associated with a given application.- 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
SynchronizationTemplateItemRequestBuilder
-