---
title: "init(reservationContainerReference:reservationItemReferences:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/ingetreservationdetailsintent/init(reservationcontainerreference:reservationitemreferences:)"
---

# init(reservationContainerReference:reservationItemReferences:)

Creates an intent that describes the reservation.

## Declaration

```swift
init(reservationContainerReference: INSpeakableString?, reservationItemReferences: [INSpeakableString]?)
```

## Parameters

- `reservationContainerReference`: An doc://com.apple.sirikit/documentation/Intents/INSpeakableString that uniquely identifies the doc://com.apple.sirikit/documentation/Intents/INGetReservationDetailsIntent/reservationItemReferences array.
- `reservationItemReferences`: An array of doc://com.apple.sirikit/documentation/Intents/INSpeakableString objects in which each object uniquely identifies a single reservation.

## Return Value

Return Value An initialized intent object or nil if the object could not be created.

## Discussion

Discussion The INGetReservationDetailsIntent object should include information about the reservation that accurately represents the content, where to find it, and where to add it.
