box-open-sdk 0.4.1

Box API client for Rust (open source, community, punk rock) — typed models, async managers, and a reqwest runtime with retry, backoff, and token refresh.
Documentation
<!-- Generated by box-gantry. DO NOT EDIT. -->
# FileWatermarksManager

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

## get_file_watermark

`GET /files/{file_id}/watermark`

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

**Returns:** `Watermark`

**Example**

```rust
let result = client.file_watermarks.get_file_watermark("FILE_ID".to_string()).await?;
```

## update_file_watermark

`PUT /files/{file_id}/watermark`

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

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

**Returns:** `Watermark`

**Example**

```rust
let result = client.file_watermarks.update_file_watermark("FILE_ID".to_string(), schemas::UpdateFileWatermarkRequest { /* … */ }).await?;
```

## delete_file_watermark

`DELETE /files/{file_id}/watermark`

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

**Returns:** no content

**Example**

```rust
client.file_watermarks.delete_file_watermark("FILE_ID".to_string()).await?;
```