<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSItem/SetAttributesRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSItemSetAttributesRequest"
  },
  "title" : "FSItem.SetAttributesRequest"
}
-->

# FSItem.SetAttributesRequest

A request to set attributes on an item.

```
class SetAttributesRequest
```

## Overview

Methods that take attributes use this type to receive attribute values and to indicate which attributes they support.
The various members of the parent type, [`FSItem.Attributes`](/documentation/FSKit/FSItem/Attributes), contain the values of the attributes to set.

Modify the [`consumedAttributes`](/documentation/FSKit/FSItem/SetAttributesRequest/consumedAttributes) property to indicate which attributes your file system successfully used.
FSKit calls the [`wasAttributeConsumed(_:)`](/documentation/FSKit/FSItem/SetAttributesRequest/wasAttributeConsumed(_:)) method to determine whether the file system successfully used a given attribute.
Only set the attributes that your file system supports.

## Topics

### Inspecting used attributes

[`consumedAttributes`](/documentation/FSKit/FSItem/SetAttributesRequest/consumedAttributes)

The attributes successfully used by the file system.

[`wasAttributeConsumed(_:)`](/documentation/FSKit/FSItem/SetAttributesRequest/wasAttributeConsumed(_:))

A method that indicates whether the file system used the given attribute.

[`FSItem.Attribute`](/documentation/FSKit/FSItem/Attribute)

A value that indicates a set of item attributes to get or set.



---

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)