Class GraphRoomRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder
@Generated("com.microsoft.kiota")
public class GraphRoomRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Casts the previous resource to room.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet a collection of the specified type of place objects defined in the tenant.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
ConstructorsConstructorDescriptionGraphRoomRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphRoomRequestBuilderand sets the default values.GraphRoomRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphRoomRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()Get a collection of the specified type of place objects defined in the tenant.get(Consumer<GraphRoomRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of the specified type of place objects defined in the tenant.com.microsoft.kiota.RequestInformationGet a collection of the specified type of place objects defined in the tenant.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<GraphRoomRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of the specified type of place objects defined in the tenant.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
GraphRoomRequestBuilder
public GraphRoomRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphRoomRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
GraphRoomRequestBuilder
public GraphRoomRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGraphRoomRequestBuilderand 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
-
get
Get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare.- Returns:
- a
Room - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Room get(@Nullable Consumer<GraphRoomRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Room - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<GraphRoomRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare.- Parameters:
requestConfiguration- 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
GraphRoomRequestBuilder
-