---
title: INGetRestaurantGuestIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/ingetrestaurantguestintentresponse
---

# INGetRestaurantGuestIntentResponse

Your app’s response to a get restaurant guest intent.

## Declaration

```swift
class INGetRestaurantGuestIntentResponse
```

## Overview

Overview An INGetRestaurantGuestIntentResponse object contains the information about the current user along with preferences about whether to associate that user with any new reservations. You create this response when handling or confirming an INGetUserCurrentRestaurantReservationBookingsIntent object. Your response should contain information about the current user and information about how to display that user’s information in the interface used to make reservations. You create an INGetRestaurantGuestIntentResponse object in the confirm(getRestaurantGuest:completion:) and handle(getRestaurantGuest:completion:) methods of handler object. For more information about implementing your handler object, see INGetRestaurantGuestIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/ingetrestaurantguestintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/ingetrestaurantguestintentresponse/code.md)
- [INGetRestaurantGuestIntentResponseCode](intents/ingetrestaurantguestintentresponsecode.md)

### Specifying the Response Details

- [guest](intents/ingetrestaurantguestintentresponse/guest.md)
- [guestDisplayPreferences](intents/ingetrestaurantguestintentresponse/guestdisplaypreferences.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

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

## See Also

### Get Restaurant Guest

- [INGetRestaurantGuestIntentHandling](intents/ingetrestaurantguestintenthandling.md)
- [INGetRestaurantGuestIntent](intents/ingetrestaurantguestintent.md)
