---
title: INGetAvailableRestaurantReservationBookingsIntent
framework: intents
role: symbol
role_heading: Class
path: intents/ingetavailablerestaurantreservationbookingsintent
---

# INGetAvailableRestaurantReservationBookingsIntent

A request for the time slots available for making a reservation.

## Declaration

```swift
class INGetAvailableRestaurantReservationBookingsIntent
```

## Overview

Overview An INGetAvailableRestaurantReservationBookingsIntent object asks you to generate details regarding the available time slots offered by a restaurant for a given party size. Maps sends this intent to your Intents extension when the user begins the booking process. You use this intent to obtain the initial details about the reservation request, including the number of people and the preferred date for the reservation. You use those details to identify potential time slots that can accommodate the party and return those time slots in your response object. To handle this intent, the handler object in your Intents extension must adopt the INGetAvailableRestaurantReservationBookingsIntentHandling protocol. Your handler should resolve and confirm any parameters and create an INGetAvailableRestaurantReservationBookingsIntentResponse object with the list of potential time slots. Additional Intent Attributes The following table lists additional attributes of this intent object:  |   |   |

## Topics

### Initializing the Intent Object

- [init(restaurant:partySize:preferredBooking:maximumNumberOfResults:earliestBookingDateForResults:latestBookingDateForResults:)](intents/ingetavailablerestaurantreservationbookingsintent/init(restaurant:partysize:preferredbooking:maximumnumberofresults:earliestbookingdateforresults:latestbookingdateforresults:).md)

### Getting the Restaurant

- [restaurant](intents/ingetavailablerestaurantreservationbookingsintent/restaurant.md)

### Getting the Reservation Details

- [partySize](intents/ingetavailablerestaurantreservationbookingsintent/partysize.md)
- [preferredBookingDateComponents](intents/ingetavailablerestaurantreservationbookingsintent/preferredbookingdatecomponents.md)

### Getting the Time Slot Constraints

- [earliestBookingDateForResults](intents/ingetavailablerestaurantreservationbookingsintent/earliestbookingdateforresults.md)
- [latestBookingDateForResults](intents/ingetavailablerestaurantreservationbookingsintent/latestbookingdateforresults.md)
- [maximumNumberOfResults](intents/ingetavailablerestaurantreservationbookingsintent/maximumnumberofresults.md)

### Initializers

- [init(restaurant:partySize:preferredBookingDateComponents:maximumNumberOfResults:earliestBookingDateForResults:latestBookingDateForResults:)](intents/ingetavailablerestaurantreservationbookingsintent/init(restaurant:partysize:preferredbookingdatecomponents:maximumnumberofresults:earliestbookingdateforresults:latestbookingdateforresults:).md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Get Available Restaurant Reservation Bookings

- [INGetAvailableRestaurantReservationBookingsIntentHandling](intents/ingetavailablerestaurantreservationbookingsintenthandling.md)
- [INGetAvailableRestaurantReservationBookingsIntentResponse](intents/ingetavailablerestaurantreservationbookingsintentresponse.md)
