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. -->
# DocgenManager

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

## get_job

`GET /docgen_jobs/{job_id}`

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

**Returns:** `DocGenJob`

**Example**

```rust
let result = client.docgen.get_job("JOB_ID".to_string()).await?;
```

## list_jobs

`GET /docgen_jobs`

| Parameter | In | Type | Required |
|---|---|---|---|
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |

**Returns:** `DocGenJobsFull`

**Example**

```rust
let mut pages = client.docgen.list_jobs(None);
while let Some(item) = pages.next().await {
    // use item
}
```

Paginated — `list_jobs(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).

## list_batch_job

`GET /docgen_batch_jobs/{batch_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `batch_id` | path | `String` | yes |
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |

**Returns:** `DocGenJobs`

**Example**

```rust
let mut pages = client.docgen.list_batch_job("BATCH_ID".to_string(), None);
while let Some(item) = pages.next().await {
    // use item
}
```

Paginated — `list_batch_job(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).

## create_batches

`POST /docgen_batches`

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

**Returns:** `DocGenBatchBase`

**Example**

```rust
let result = client.docgen.create_batches(schemas::DocGenBatchCreateRequest { /* … */ }).await?;
```