# AtsDtoTypeInfo

- Kind: `class`
- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Version: `13.4.0`
- Namespace: `Aspire.TypeSystem`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

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

## Definition

```csharp
namespace Aspire.TypeSystem;

public sealed class AtsDtoTypeInfo
{
    // ...
}
```

## Constructors

- [AtsDtoTypeInfo](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo/constructors.md#constructor)

## Properties

- [ClrType](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo/properties.md#clrtype) : `Type?` `get; init` -- Gets or sets the CLR type reference for direct type access.
- [Description](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo/properties.md#description) : `string?` `get; init` -- Gets or sets a description of this DTO type.
- [Documentation](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo/properties.md#documentation) : [AtsDocumentationInfo?](/reference/api/csharp/aspire.typesystem/atsdocumentationinfo.md) `get; init` -- Gets or sets the XML documentation captured for this DTO type.
- [Name](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo/properties.md#name) : `string` `get; init` -- Gets or sets the simple type name (for interface name generation).
- [Properties](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo/properties.md#properties) : [IReadOnlyList<AtsDtoPropertyInfo>](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo.md) `get; init` -- Gets or sets the properties of this DTO.
- [TypeId](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo/properties.md#typeid) : `string` `get; init` -- Gets or sets the ATS type ID for this DTO.
