# AtsDtoTypeInfo Properties

- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Type: [AtsDtoTypeInfo](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo.md)
- Kind: `Properties`
- Members: `6`

Represents a DTO type discovered from [AspireDto] attributes. Used for generating TypeScript interfaces for DTOs.

## ClrType

- Name: `ClrType`
- Modifiers: `nullable` `get; init`
- Returns: `Type?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the CLR type reference for direct type access.

```csharp
public Type? ClrType { get; init; }
```

## Description

- Name: `Description`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets a description of this DTO type.

```csharp
public string? Description { get; init; }
```

## Documentation

- Name: `Documentation`
- Modifiers: `nullable` `get; init`
- Returns: [AtsDocumentationInfo?](/reference/api/csharp/aspire.typesystem/atsdocumentationinfo.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the XML documentation captured for this DTO type.

```csharp
public AtsDocumentationInfo? Documentation { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the simple type name (for interface name generation).

```csharp
public string Name { get; init; }
```

## Properties

- Name: `Properties`
- Modifiers: `get; init`
- Returns: [IReadOnlyList<AtsDtoPropertyInfo>](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the properties of this DTO.

```csharp
public IReadOnlyList<AtsDtoPropertyInfo> Properties { get; init; }
```

## TypeId

- Name: `TypeId`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the ATS type ID for this DTO.

```csharp
public string TypeId { get; init; }
```
