<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RoomPlan",
  "identifier" : "/documentation/RoomPlan/CapturedRoom/AttributesCodableRepresentation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RoomPlan"
    ],
    "preciseIdentifier" : "s:8RoomPlan08CapturedA0V31AttributesCodableRepresentationV"
  },
  "title" : "CapturedRoom.AttributesCodableRepresentation"
}
-->

# CapturedRoom.AttributesCodableRepresentation

A serializable set of details that describe an object in the room.

```
struct AttributesCodableRepresentation
```

## Overview

}

## Topics

### Creating an attributes codable representation

[`init(from: any Decoder) throws`](/documentation/RoomPlan/CapturedRoom/AttributesCodableRepresentation/init(from:))

Deserializes an attributes codable representation from the given decoder.

[`init(attributes: [any CapturedRoomAttribute])`](/documentation/RoomPlan/CapturedRoom/AttributesCodableRepresentation/init(attributes:))

Creates an attributes codable representation with the given collection of object attributes.

### Accessing room attributes

[`let attributes: [any CapturedRoomAttribute]`](/documentation/RoomPlan/CapturedRoom/AttributesCodableRepresentation/attributes)

A collection of object attributes.

### Serializing an attributes codable representation

## Relationships

### Conforms To

[`Encodable`](/documentation/Swift/Encodable)

[`Decodable`](/documentation/Swift/Decodable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)