Class SchemaRequestBuilder
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve the schema for a given synchronization job or template.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
ConstructorsConstructorDescriptionSchemaRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSchemaRequestBuilderand sets the default values.SchemaRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSchemaRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property schema for servicePrincipalsvoiddelete(Consumer<SchemaRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property schema for servicePrincipalsProvides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity.Provides operations to call the filterOperators method.Provides operations to call the functions method.get()Retrieve the schema for a given synchronization job or template.get(Consumer<SchemaRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the schema for a given synchronization job or template.Provides operations to call the parseExpression method.patch(SynchronizationSchema body) Update the synchronization schema for a given job or template.patch(SynchronizationSchema body, Consumer<SchemaRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the synchronization schema for a given job or template.com.microsoft.kiota.RequestInformationDelete navigation property schema for servicePrincipalscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<SchemaRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property schema for servicePrincipalscom.microsoft.kiota.RequestInformationRetrieve the schema for a given synchronization job or template.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SchemaRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the schema for a given synchronization job or template.com.microsoft.kiota.RequestInformationUpdate the synchronization schema for a given job or template.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(SynchronizationSchema body, Consumer<SchemaRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the synchronization schema for a given job or template.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SchemaRequestBuilder
public SchemaRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSchemaRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SchemaRequestBuilder
public SchemaRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSchemaRequestBuilderand 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
Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity.- Returns:
- a
DirectoriesRequestBuilder
-
filterOperators
Provides operations to call the filterOperators method.- Returns:
- a
FilterOperatorsRequestBuilder
-
functions
Provides operations to call the functions method.- Returns:
- a
FunctionsRequestBuilder
-
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
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
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 bodyrequestConfiguration- 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 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
SchemaRequestBuilder
-