Class MapRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.places.item.graphbuilding.mapescaped.MapRequestBuilder
@Generated("com.microsoft.kiota")
public class MapRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the map property of the microsoft.graph.building entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet the map of a building in IMDF format.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
ConstructorsConstructorDescriptionMapRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMapRequestBuilderand sets the default values.MapRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMapRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete the map of a specific building.voiddelete(Consumer<MapRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the map of a specific building.Provides operations to manage the footprints property of the microsoft.graph.buildingMap entity.get()Get the map of a building in IMDF format.get(Consumer<MapRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the map of a building in IMDF format.levels()Provides operations to manage the levels property of the microsoft.graph.buildingMap entity.patch(BuildingMap body) Update the navigation property map in placespatch(BuildingMap body, Consumer<MapRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property map in placescom.microsoft.kiota.RequestInformationDelete the map of a specific building.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<MapRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the map of a specific building.com.microsoft.kiota.RequestInformationGet the map of a building in IMDF format.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<MapRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the map of a building in IMDF format.com.microsoft.kiota.RequestInformationUpdate the navigation property map in placescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(BuildingMap body, Consumer<MapRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property map in placesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
MapRequestBuilder
public MapRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMapRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
MapRequestBuilder
public MapRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMapRequestBuilderand 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
-
footprints
Provides operations to manage the footprints property of the microsoft.graph.buildingMap entity.- Returns:
- a
FootprintsRequestBuilder
-
levels
Provides operations to manage the levels property of the microsoft.graph.buildingMap entity.- Returns:
- a
LevelsRequestBuilder
-
delete
public void delete()Delete the map of a specific building.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<MapRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the map of a specific building.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Get the map of a building in IMDF format.- Returns:
- a
BuildingMap - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public BuildingMap get(@Nullable Consumer<MapRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the map of a building in IMDF format.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BuildingMap - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property map in places- Parameters:
body- The request body- Returns:
- a
BuildingMap - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public BuildingMap patch(@Nonnull BuildingMap body, @Nullable Consumer<MapRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property map in places- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BuildingMap - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete the map of a specific building.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<MapRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the map of a specific building.- 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()Get the map of a building in IMDF format.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<MapRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the map of a building in IMDF format.- 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 BuildingMap body) Update the navigation property map in places- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull BuildingMap body, @Nullable Consumer<MapRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property map in places- 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
MapRequestBuilder
-