Class FilterOperatorsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.filteroperators.FilterOperatorsRequestBuilder
@Generated("com.microsoft.kiota")
public class FilterOperatorsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of filterOperatorSchema entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet entities from filterOperatorsclassConfiguration 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
ConstructorsConstructorDescriptionFilterOperatorsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFilterOperatorsRequestBuilderand sets the default values.FilterOperatorsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFilterOperatorsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyFilterOperatorSchemaId(String filterOperatorSchemaId) Provides operations to manage the collection of filterOperatorSchema entities.count()Provides operations to count the resources in the collection.get()Get entities from filterOperatorsget(Consumer<FilterOperatorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get entities from filterOperatorspost(FilterOperatorSchema body) Add new entity to filterOperatorspost(FilterOperatorSchema body, Consumer<FilterOperatorsRequestBuilder.PostRequestConfiguration> requestConfiguration) Add new entity to filterOperatorscom.microsoft.kiota.RequestInformationGet entities from filterOperatorscom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<FilterOperatorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get entities from filterOperatorscom.microsoft.kiota.RequestInformationAdd new entity to filterOperatorscom.microsoft.kiota.RequestInformationtoPostRequestInformation(FilterOperatorSchema body, Consumer<FilterOperatorsRequestBuilder.PostRequestConfiguration> requestConfiguration) Add new entity to filterOperatorsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
FilterOperatorsRequestBuilder
public FilterOperatorsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFilterOperatorsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
FilterOperatorsRequestBuilder
public FilterOperatorsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFilterOperatorsRequestBuilderand 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
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byFilterOperatorSchemaId
@Nonnull public FilterOperatorSchemaItemRequestBuilder byFilterOperatorSchemaId(@Nonnull String filterOperatorSchemaId) Provides operations to manage the collection of filterOperatorSchema entities.- Parameters:
filterOperatorSchemaId- The unique identifier of filterOperatorSchema- Returns:
- a
FilterOperatorSchemaItemRequestBuilder
-
get
Get entities from filterOperators- Returns:
- a
FilterOperatorSchemaCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public FilterOperatorSchemaCollectionResponse get(@Nullable Consumer<FilterOperatorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get entities from filterOperators- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FilterOperatorSchemaCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
Add new entity to filterOperators- Parameters:
body- The request body- Returns:
- a
FilterOperatorSchema - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public FilterOperatorSchema post(@Nonnull FilterOperatorSchema body, @Nullable Consumer<FilterOperatorsRequestBuilder.PostRequestConfiguration> requestConfiguration) Add new entity to filterOperators- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FilterOperatorSchema - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get entities from filterOperators- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<FilterOperatorsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get entities from filterOperators- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull FilterOperatorSchema body) Add new entity to filterOperators- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull FilterOperatorSchema body, @Nullable Consumer<FilterOperatorsRequestBuilder.PostRequestConfiguration> requestConfiguration) Add new entity to filterOperators- 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
FilterOperatorsRequestBuilder
-