java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.serviceprincipals.item.synchronization.jobs.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.synchronizationJob 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 servicePrincipals
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete

      public void delete(@Nullable Consumer<SchemaRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property schema 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 SynchronizationSchema get()
      Retrieve the schema for a given synchronization job or template.
      Returns:
      a SynchronizationSchema
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      @Nullable public SynchronizationSchema get(@Nullable Consumer<SchemaRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Retrieve the schema for a given synchronization job or 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
      See Also:
    • patch

      @Nullable public SynchronizationSchema patch(@Nonnull SynchronizationSchema body)
      Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.
      Parameters:
      body - The request body
      Returns:
      a SynchronizationSchema
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

      @Nullable public SynchronizationSchema patch(@Nonnull SynchronizationSchema body, @Nullable Consumer<SchemaRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.
      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
      See Also:
    • toDeleteRequestInformation

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

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

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SchemaRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Retrieve the schema for a given synchronization job or 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 synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.
      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 synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.
      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