box-open-sdk 0.2.0

Community, unofficial Box API client for Rust — typed models, async managers, and a reqwest runtime with retry, backoff, and token refresh.
Documentation
<!-- Generated by box-gantry. DO NOT EDIT. -->
# FileClassificationsManager

Reach these methods through the `file_classifications` field on `client::Client`.

## get

`GET /files/{file_id}/metadata/enterprise/securityClassification-6VMVochwUWo`

| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |

**Returns:** `Classification`

**Example**

```rust
let result = client.file_classifications.get("FILE_ID".to_string()).await?;
```

## update

`PUT /files/{file_id}/metadata/enterprise/securityClassification-6VMVochwUWo`

| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |

**Request body** (`application/json-patch+json`): `Vec<FileClassificationUpdateRequest>`

**Returns:** `Classification`

**Example**

```rust
let result = client.file_classifications.update("FILE_ID".to_string(), vec![]).await?;
```

## create

`POST /files/{file_id}/metadata/enterprise/securityClassification-6VMVochwUWo`

| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |

**Request body** (`application/json`): `FileClassificationCreateRequest`

**Returns:** `Classification`

**Example**

```rust
let result = client.file_classifications.create("FILE_ID".to_string(), schemas::FileClassificationCreateRequest { /* … */ }).await?;
```

## delete

`DELETE /files/{file_id}/metadata/enterprise/securityClassification-6VMVochwUWo`

| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |

**Returns:** no content

**Example**

```rust
client.file_classifications.delete("FILE_ID".to_string()).await?;
```