# DlStatus

    enum DlStatus

Door lock statuses.
- `


  ### [success](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO7successyA2GmF)


  ` The operation was successful.

  #### Declaration

  Swift

      case success

- `


  ### [failure](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO7failureyA2GmF)


  ` The operation failed.

  #### Declaration

  Swift

      case failure

- `


  ### [duplicate](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO9duplicateyA2GmF)


  ` The provided credential is a duplicate of an existing entry.

  #### Declaration

  Swift

      case duplicate

- `


  ### [occupied](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO8occupiedyA2GmF)


  ` The provided User ID, Credential ID, or entry location is already occupied. The entry might
  need to be deleted or a different ID or location chosen.

  #### Declaration

  Swift

      case occupied

- `


  ### [invalidField](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO12invalidFieldyA2GmF)


  ` The operation failed due to its referring to an invalid field.

  #### Declaration

  Swift

      case invalidField

- `


  ### [resourceExhausted](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO17resourceExhaustedyA2GmF)


  ` The operation failed because a resource has been exhausted.

  #### Declaration

  Swift

      case resourceExhausted

- `


  ### [notFound](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO8notFoundyA2GmF)


  ` The operation failed because the specified resource was not found.

  #### Declaration

  Swift

      case notFound

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/DlStatus#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV8DlStatusO8rawValueAGSgs6UInt64V_tcfc)


  ` Creates a new instance with the specified raw value.

  If there is no value of the type that corresponds with the specified raw
  value, this initializer returns `nil`. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      print(PaperSize(rawValue: "Legal"))
      // Prints "Optional(PaperSize.Legal)"

      print(PaperSize(rawValue: "Tabloid"))
      // Prints "nil"

  #### Declaration

  Swift

      init?(rawValue: UInt64)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |