# Types.ListDocTemplatesInput

Input type describing one doc-gen template search, by object type, tags or both.

> Kind: Apex type · Updated: 2026-10-05

Custom Apex type representing one input entry for Client.getDocGenTemplates(). Set the object type, the tags, or both.

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| objectType | String | optional | API name of the Salesforce object the templates are built on, for example Opportunity. Leave it null to search by tags across every object. |
| tags | List&lt;String&gt; | optional | Tags to match. Matching ignores case. At most 50 tags. |
| tagMatchType | String | optional | ANY returns templates with at least one of the tags, ALL returns templates with every tag. Used only when tags is set. |

## Constructors

```apex
global ListDocTemplatesInput(
  String objectType
)
```

```apex
global ListDocTemplatesInput(
  String objectType,
  List<String> tags,
  String tagMatchType
)
```
