Class SynchronizationTemplateItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.serviceprincipals.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 servicePrincipalsvoiddelete(Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for servicePrincipalsget()Preconfigured synchronization settings for a particular application.get(Consumer<SynchronizationTemplateItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Preconfigured synchronization settings for a particular application.patch(SynchronizationTemplate body) Update the navigation property templates in servicePrincipalspatch(SynchronizationTemplate body, Consumer<SynchronizationTemplateItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property templates in servicePrincipalsschema()Provides operations to manage the schema property of the microsoft.graph.synchronizationTemplate entity.com.microsoft.kiota.RequestInformationDelete navigation property templates for servicePrincipalscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for servicePrincipalscom.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 the navigation property templates in servicePrincipalscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(SynchronizationTemplate body, Consumer<SynchronizationTemplateItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property templates in servicePrincipalsReturns 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 servicePrincipals- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for servicePrincipals- 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 the navigation property templates in servicePrincipals- Parameters:
body- The request body- Returns:
- a
SynchronizationTemplate - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public SynchronizationTemplate patch(@Nonnull SynchronizationTemplate body, @Nullable Consumer<SynchronizationTemplateItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property templates in servicePrincipals- 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
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property templates for servicePrincipals- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<SynchronizationTemplateItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property templates for servicePrincipals- 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 the navigation property templates in servicePrincipals- 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 the navigation property templates in servicePrincipals- 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
-