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.
  • Constructor Details

    • SynchronizationTemplateItemRequestBuilder

      public SynchronizationTemplateItemRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new SynchronizationTemplateItemRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • SynchronizationTemplateItemRequestBuilder

      public SynchronizationTemplateItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new SynchronizationTemplateItemRequestBuilder and 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

      @Nonnull public SchemaRequestBuilder 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

      @Nullable public SynchronizationTemplate get()
      Preconfigured synchronization settings for a particular application.
      Returns:
      a SynchronizationTemplate
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      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

      @Nullable public SynchronizationTemplate patch(@Nonnull SynchronizationTemplate body)
      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

      Update the navigation property templates in servicePrincipals
      Parameters:
      body - The request body
      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
    • 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public SynchronizationTemplateItemRequestBuilder withUrl(@Nonnull String rawUrl)
      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