Class BookingBusinessesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.solutions.bookingbusinesses.BookingBusinessesRequestBuilder
@Generated("com.microsoft.kiota")
public class BookingBusinessesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet a collection of bookingBusiness objects that has been created for the tenant.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
ConstructorsConstructorDescriptionBookingBusinessesRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBookingBusinessesRequestBuilderand sets the default values.BookingBusinessesRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBookingBusinessesRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyBookingBusinessId(String bookingBusinessId) Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity.count()Provides operations to count the resources in the collection.get()Get a collection of bookingBusiness objects that has been created for the tenant.get(Consumer<BookingBusinessesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of bookingBusiness objects that has been created for the tenant.post(BookingBusiness body) Create a new Microsoft Bookings business in a tenant.post(BookingBusiness body, Consumer<BookingBusinessesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new Microsoft Bookings business in a tenant.com.microsoft.kiota.RequestInformationGet a collection of bookingBusiness objects that has been created for the tenant.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<BookingBusinessesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of bookingBusiness objects that has been created for the tenant.com.microsoft.kiota.RequestInformationCreate a new Microsoft Bookings business in a tenant.com.microsoft.kiota.RequestInformationtoPostRequestInformation(BookingBusiness body, Consumer<BookingBusinessesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new Microsoft Bookings business in a tenant.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
BookingBusinessesRequestBuilder
public BookingBusinessesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBookingBusinessesRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
BookingBusinessesRequestBuilder
public BookingBusinessesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBookingBusinessesRequestBuilderand 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
-
byBookingBusinessId
@Nonnull public BookingBusinessItemRequestBuilder byBookingBusinessId(@Nonnull String bookingBusinessId) Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity.- Parameters:
bookingBusinessId- The unique identifier of bookingBusiness- Returns:
- a
BookingBusinessItemRequestBuilder
-
get
Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.- Returns:
- a
BookingBusinessCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public BookingBusinessCollectionResponse get(@Nullable Consumer<BookingBusinessesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BookingBusinessCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.- Parameters:
body- The request body- Returns:
- a
BookingBusiness - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public BookingBusiness post(@Nonnull BookingBusiness body, @Nullable Consumer<BookingBusinessesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BookingBusiness - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<BookingBusinessesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.- 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 BookingBusiness body) Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull BookingBusiness body, @Nullable Consumer<BookingBusinessesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.- 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
BookingBusinessesRequestBuilder
-