> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SoftDeny

## Supported Types

###

```go theme={null}
softDeny := components.CreateSoftDenyStr(string{/* values here */})
```

### ArmorRule

```go theme={null}
softDeny := components.CreateSoftDenyArmorRule(components.ArmorRule{/* values here */})
```

## Union Discrimination

Use the `Type` field to determine which variant is active, then access the corresponding field:

```go theme={null}
switch softDeny.Type {
	case components.SoftDenyTypeStr:
		// softDeny.Str is populated
	case components.SoftDenyTypeArmorRule:
		// softDeny.ArmorRule is populated
}
```
