> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# InputsContent2 - Go SDK

> InputsContent2 type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

## Supported Types

###

```go lines theme={null}
inputsContent2 := components.CreateInputsContent2ArrayOfInputsContent1([]components.InputsContent1{/* values here */})
```

###

```go lines theme={null}
inputsContent2 := components.CreateInputsContent2Str(string{/* values here */})
```

###

```go lines theme={null}
inputsContent2 := components.CreateInputsContent2Any(any{/* values here */})
```

## Union Discrimination

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

```go lines theme={null}
switch inputsContent2.Type {
	case components.InputsContent2TypeArrayOfInputsContent1:
		// inputsContent2.ArrayOfInputsContent1 is populated
	case components.InputsContent2TypeStr:
		// inputsContent2.Str is populated
	case components.InputsContent2TypeAny:
		// inputsContent2.Any is populated
}
```
