java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.applications.item.synchronization.templates.item.schema.SchemaRequestBuilder

@Generated("com.microsoft.kiota") public class SchemaRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the schema property of the microsoft.graph.synchronizationTemplate entity.
  • Constructor Details

    • SchemaRequestBuilder

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

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

    • directories

      @Nonnull public DirectoriesRequestBuilder directories()
      Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity.
      Returns:
      a DirectoriesRequestBuilder
    • filterOperators

      @Nonnull public FilterOperatorsRequestBuilder filterOperators()
      Provides operations to call the filterOperators method.
      Returns:
      a FilterOperatorsRequestBuilder
    • functions

      @Nonnull public FunctionsRequestBuilder functions()
      Provides operations to call the functions method.
      Returns:
      a FunctionsRequestBuilder
    • parseExpression

      @Nonnull public ParseExpressionRequestBuilder parseExpression()
      Provides operations to call the parseExpression method.
      Returns:
      a ParseExpressionRequestBuilder
    • delete

      public void delete()
      Delete navigation property schema for applications
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete

      public void delete(@Nullable Consumer<SchemaRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property schema 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

      @Nullable public SynchronizationSchema get()
      Default synchronization schema for the jobs based on this template.
      Returns:
      a SynchronizationSchema
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public SynchronizationSchema get(@Nullable Consumer<SchemaRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Default synchronization schema for the jobs based on this template.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a SynchronizationSchema
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public SynchronizationSchema patch(@Nonnull SynchronizationSchema body)
      Update the navigation property schema in applications
      Parameters:
      body - The request body
      Returns:
      a SynchronizationSchema
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public SynchronizationSchema patch(@Nonnull SynchronizationSchema body, @Nullable Consumer<SchemaRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property schema in applications
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a SynchronizationSchema
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete navigation property schema for applications
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<SchemaRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property schema 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()
      Default synchronization schema for the jobs based on this template.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SchemaRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Default synchronization schema for the jobs based on this template.
      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 SynchronizationSchema body)
      Update the navigation property schema in applications
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull SynchronizationSchema body, @Nullable Consumer<SchemaRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property schema in applications
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

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