box-open-sdk 0.3.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. -->
# ShieldListsManager

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

## list

`GET /shield_lists`

**Returns:** `ShieldLists`

**Example**

```rust
let result = client.shield_lists.list().await?;
```

## create

`POST /shield_lists`

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

**Returns:** `ShieldList`

**Example**

```rust
let result = client.shield_lists.create(schemas::ShieldListsCreate { /* … */ }).await?;
```

## get

`GET /shield_lists/{shield_list_id}`

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

**Returns:** `ShieldList`

**Example**

```rust
let result = client.shield_lists.get("SHIELD_LIST_ID".to_string()).await?;
```

## update

`PUT /shield_lists/{shield_list_id}`

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

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

**Returns:** `ShieldList`

**Example**

```rust
let result = client.shield_lists.update("SHIELD_LIST_ID".to_string(), schemas::ShieldListsUpdate { /* … */ }).await?;
```

## delete

`DELETE /shield_lists/{shield_list_id}`

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

**Returns:** no content

**Example**

```rust
client.shield_lists.delete("SHIELD_LIST_ID".to_string()).await?;
```